Version Description
- New: Previews in font menu. View screenshot.
- New: Search to filter font list.
- New: Updated Google Fonts.
- New: Google Fonts update in preview without page reload.
- New: Simplified plugin loader with nice notices for old WordPress versions.
- New: Update scripts to convert old font format to new format.
- Note: The update is well-tested, but in case of any issues, the upgrade script backs up old settings in
wp_options
for 30 days as_transient_storm-styles-THEME-NAME-pre-1.1.0
.
Download this release
Release Info
Developer | pdclark |
Plugin | Styles |
Version | 1.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.18 to 1.1
- classes/styles-control-text.php +17 -41
- classes/styles-font-menu/classes/markdown/License.text +36 -0
- classes/styles-font-menu/classes/markdown/License.txt +36 -0
- classes/styles-font-menu/classes/markdown/PHP Markdown Extra Readme.txt +879 -0
- classes/styles-font-menu/classes/markdown/PHP Markdown Readme.txt +785 -0
- classes/styles-font-menu/classes/markdown/markdown.php +1743 -0
- classes/styles-font-menu/classes/sfm-admin.php +55 -0
- classes/styles-font-menu/classes/sfm-group-google.php +189 -0
- classes/styles-font-menu/classes/sfm-group-standard.php +36 -0
- classes/styles-font-menu/classes/sfm-group.php +39 -0
- classes/styles-font-menu/classes/sfm-image-preview.php +146 -0
- classes/styles-font-menu/classes/sfm-plugin.php +169 -0
- classes/styles-font-menu/classes/sfm-single-google.php +262 -0
- classes/styles-font-menu/classes/sfm-single-standard.php +115 -0
- classes/styles-font-menu/css/styles-font-menu.css +46 -0
- classes/styles-font-menu/img/example-output.gif +0 -0
- classes/styles-font-menu/img/live-demo.png +0 -0
- classes/styles-font-menu/js/chosen/chosen-sprite.png +0 -0
- classes/styles-font-menu/js/chosen/chosen-sprite@2x.png +0 -0
- classes/styles-font-menu/js/chosen/chosen.css +430 -0
- classes/styles-font-menu/js/chosen/chosen.jquery.js +1166 -0
- classes/styles-font-menu/js/chosen/chosen.jquery.min.js +2 -0
- classes/styles-font-menu/js/chosen/chosen.min.css +3 -0
- classes/styles-font-menu/js/google-fonts-api-fallback.json +1 -0
- classes/styles-font-menu/js/styles-font-menu.js +124 -0
- classes/styles-font-menu/plugin.php +52 -0
- classes/styles-font-menu/readme.md +68 -0
- classes/styles-font-menu/styles-fonts/png/abeezee-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/abel-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/abrilfatface-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/aclonica-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/acme-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/actor-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/adamina-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/adventpro-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/aguafinascript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/akronim-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/aladin-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/aldrich-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alef-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alegreya-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alegreyasc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alexbrush-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alfaslabone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alice-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alike-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/alikeangular-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/allan-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/allerta-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/allertastencil-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/allura-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/almendra-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/almendradisplay-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/almendrasc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/amarante-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/amaranth-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/amaticsc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/amethysta-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/anaheim-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/andada-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/andika-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/annieuseyourtelescope-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/anonymouspro-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/antic-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/anticdidone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/anticslab-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/anton-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/arapey-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/arbutus-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/arbutusslab-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/architectsdaughter-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/archivoblack-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/archivonarrow-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/arimo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/arizonia-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/armata-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/artifika-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/arvo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/asap-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/asset-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/astloch-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/asul-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/atomicage-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/aubrey-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/audiowide-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/autourone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/average-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/averagesans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/averiagruesalibre-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/averialibre-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/averiasanslibre-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/averiaseriflibre-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/badscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/balthazar-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bangers-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/basic-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/baumans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/belgrano-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/belleza-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/benchnine-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bentham-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/berkshireswash-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bevan-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bigelowrules-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bigshotone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bilbo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bilboswashcaps-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bitter-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/blackopsone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bonbon-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/boogaloo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bowlbyone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bowlbyonesc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/brawler-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/breeserif-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bubblegumsans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/bubblerone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/buda-300.png +0 -0
- classes/styles-font-menu/styles-fonts/png/buenard-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/butcherman-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/butterflykids-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cabin-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cabincondensed-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cabinsketch-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/caesardressing-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cagliostro-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/calligraffitti-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cambo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/candal-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cantarell-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cantataone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cantoraone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/capriola-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cardo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/carme-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/carroisgothic-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/carroisgothicsc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/carterone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/caudex-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cedarvillecursive-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cevicheone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/changaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/chango-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/chauphilomeneone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/chelaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/chelseamarket-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cherrycreamsoda-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cherryswash-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/chewy-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/chicle-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/chivo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cinzel-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cinzeldecorative-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/clickerscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/coda-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/codacaption-800.png +0 -0
- classes/styles-font-menu/styles-fonts/png/codystar-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/combo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/comfortaa-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/comingsoon-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/concertone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/condiment-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/contrailone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/convergence-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cookie-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/copse-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/corben-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/courgette-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cousine-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/coustard-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/coveredbyyourgrace-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/craftygirls-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/creepster-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/creteround-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/crimsontext-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/croissantone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/crushed-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cuprum-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cutive-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/cutivemono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/damion-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/dancingscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/dawningofanewday-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/daysone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/delius-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/deliusswashcaps-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/deliusunicase-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/dellarespira-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/denkone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/devonshire-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/didactgothic-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/diplomata-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/diplomatasc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/domine-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/donegalone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/doppioone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/dorsa-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/dosis-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/droidsans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/droidsansmono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/droidserif-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/drsugiyama-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/durusans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/dynalight-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/eaglelake-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/eater-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ebgaramond-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/economica-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/electrolize-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/elsie-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/elsieswashcaps-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/emblemaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/emilyscandy-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/engagement-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/englebert-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/enriqueta-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ericaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/esteban-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/euphoriascript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ewert-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/exo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/expletussans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fanwoodtext-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fascinate-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fascinateinline-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fasterone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/faunaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/federant-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/federo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/felipa-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fenix-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fingerpaint-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fjallaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fjordone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/flamenco-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/flavors-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fondamento-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fontdinerswanky-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/forum-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/francoisone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/freckleface-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/frederickathegreat-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fredokaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fresca-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/frijole-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fruktur-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/fugazone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gabriela-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gafata-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/galdeano-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/galindo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gentiumbasic-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gentiumbookbasic-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/geo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/geostar-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/geostarfill-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/germaniaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gildadisplay-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/giveyouglory-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/glassantiqua-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/glegoo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gloriahallelujah-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/goblinone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gochihand-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gorditas-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/goudybookletter1911-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/graduate-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/grandhotel-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gravitasone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/greatvibes-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/griffy-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gruppo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/gudea-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/habibi-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/hammersmithone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/hanalei-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/hanaleifill-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/handlee-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/happymonkey-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/headlandone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/hennypenny-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/herrvonmuellerhoff-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/holtwoodonesc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/homemadeapple-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/homenaje-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/iceberg-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/iceland-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfelldoublepica-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfelldoublepicasc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfelldwpica-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfelldwpicasc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfellenglish-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfellenglishsc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfellfrenchcanon-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfellfrenchcanonsc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfellgreatprimer-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imfellgreatprimersc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/imprima-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/inconsolata-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/inder-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/indieflower-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/inika-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/irishgrover-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/istokweb-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/italiana-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/italianno-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/jacquesfrancois-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/jacquesfrancoisshadow-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/jimnightshade-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/jockeyone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/jollylodger-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/josefinsans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/josefinslab-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/jotione-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/judson-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/julee-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/juliussansone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/junge-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/jura-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/justanotherhand-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/justmeagaindownhere-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kameron-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/karla-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kaushanscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kavoon-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/keaniaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kellyslab-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kenia-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kiteone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/knewave-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kottaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kranky-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kreon-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kristi-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/kronaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/labelleaurore-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lancelot-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lato-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/leaguescript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/leckerlione-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ledger-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lekton-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lemon-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/librebaskerville-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lifesavers-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lilitaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lilyscriptone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/limelight-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lindenhill-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lobster-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lobstertwo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/londrinaoutline-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/londrinashadow-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/londrinasketch-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/londrinasolid-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lora-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lovedbytheking-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/loversquarrel-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/loveyalikeasister-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/luckiestguy-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lusitana-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/lustria-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/macondo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/macondoswashcaps-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/magra-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/maidenorange-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mako-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/marcellus-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/marcellussc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/marckscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/margarine-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/markoone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/marmelad-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/marvel-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mate-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/matesc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mavenpro-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mclaren-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/meddon-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/medievalsharp-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/medulaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/megrim-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/meiescript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/merienda-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/meriendaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/merriweather-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/merriweathersans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/metalmania-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/metamorphous-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/metrophobic-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/michroma-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/milonga-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/miltonian-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/miltoniantattoo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/miniver-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/missfajardose-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/modernantiqua-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/molengo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/molle-italic.png +0 -0
- classes/styles-font-menu/styles-fonts/png/monda-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/monofett-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/monoton-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/monsieurladoulaise-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/montaga-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/montez-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/montserrat-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/montserratalternates-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/montserratsubrayada-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mountainsofchristmas-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mousememoirs-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mrbedfort-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mrdafoe-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mrdehaviland-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mrssaintdelafield-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mrssheppards-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/muli-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/mysteryquest-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/neucha-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/neuton-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/newrocker-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/newscycle-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/niconne-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/nixieone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/nobile-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/norican-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/nosifer-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/nothingyoucoulddo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/noticiatext-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/notosans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/notoserif-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novacut-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novaflat-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novamono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novaoval-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novaround-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novascript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novaslim-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/novasquare-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/numans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/nunito-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/offside-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oldenburg-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oldstandardtt-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oleoscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oleoscriptswashcaps-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/opensans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/opensanscondensed-300.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oranienbaum-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/orbitron-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oregano-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/orienta-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/originalsurfer-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oswald-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/overlock-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/overlocksc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/overtherainbow-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ovo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oxygen-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/oxygenmono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pacifico-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/paprika-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/parisienne-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/passeroone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/passionone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pathwaygothicone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/patrickhand-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/patrickhandsc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/patuaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/paytoneone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/peralta-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/permanentmarker-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/petitformalscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/petrona-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/philosopher-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/piedra-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pinyonscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pirataone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/plaster-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/play-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/playball-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/playfairdisplay-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/playfairdisplaysc-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/podkova-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/poiretone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pollerone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/poly-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pompiere-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pontanosans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/portlligatsans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/portlligatslab-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/prata-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/pressstart2p-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/princesssofia-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/prociono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/prostoone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ptmono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ptsans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ptsanscaption-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ptsansnarrow-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ptserif-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ptserifcaption-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/puritan-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/purplepurse-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/quando-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/quantico-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/quattrocento-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/quattrocentosans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/questrial-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/quicksand-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/quintessential-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/qwigley-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/racingsansone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/radley-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/raleway-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ralewaydots-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rambla-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rammettoone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ranchers-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rancho-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rationale-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/redressed-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/reeniebeanie-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/revalia-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ribeye-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ribeyemarrow-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/righteous-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/risque-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/roboto-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/robotocondensed-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/robotoslab-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rochester-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rocksalt-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rokkitt-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/romanesco-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ropasans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rosario-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rosarivo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rougescript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ruda-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rufina-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rugeboogie-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ruluko-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rumraisin-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ruslandisplay-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/russoone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ruthie-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/rye-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sacramento-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sail-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/salsa-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sanchez-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sancreek-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sansitaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sarina-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/satisfy-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/scada-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/schoolbell-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/seaweedscript-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sevillana-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/seymourone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/shadowsintolight-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/shadowsintolighttwo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/shanti-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/share-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sharetech-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sharetechmono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/shojumaru-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/shortstack-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sigmarone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/signika-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/signikanegative-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/simonetta-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sintony-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sirinstencil-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sixcaps-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/skranji-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/slackey-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/smokum-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/smythe-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sniglet-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/snippet-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/snowburstone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sofadione-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sofia-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sonsieone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sortsmillgoudy-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sourcecodepro-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sourcesanspro-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/specialelite-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/spicyrice-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/spinnaker-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/spirax-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/squadaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/stalemate-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/stalinistone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/stardosstencil-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/stintultracondensed-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/stintultraexpanded-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/stoke-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/strait-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sueellenfrancisco-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/sunshiney-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/supermercadoone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/swankyandmoomoo-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/syncopate-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/tangerine-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/tauri-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/telex-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/tenorsans-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/textmeone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/thegirlnextdoor-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/tienne-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/tinos-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/titanone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/titilliumweb-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/tradewinds-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/trocchi-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/trochut-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/trykker-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/tulpenone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ubuntu-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ubuntucondensed-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ubuntumono-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/ultra-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/uncialantiqua-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/underdog-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/unicaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/unifrakturcook-700.png +0 -0
- classes/styles-font-menu/styles-fonts/png/unifrakturmaguntia-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/unkempt-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/unlock-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/unna-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/vampiroone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/varela-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/varelaround-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/vastshadow-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/vibur-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/vidaloka-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/viga-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/voces-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/volkhov-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/vollkorn-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/voltaire-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/vt323-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/waitingforthesunrise-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/wallpoet-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/walterturncoat-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/warnes-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/wellfleet-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/wendyone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/wireone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/yanonekaffeesatz-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/yellowtail-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/yesevaone-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/yesteryear-regular.png +0 -0
- classes/styles-font-menu/styles-fonts/png/zeyada-regular.png +0 -0
- classes/styles-font-menu/views/menu.php +27 -0
- classes/styles-font-menu/views/readme.php +116 -0
- classes/styles-plugin.php +57 -10
- classes/styles-upgrade.php +103 -0
- classes/upgrade/1.1.0.php +165 -0
- css/styles-customize.css +4 -18
- js/post-message-part-text.js +15 -1
- js/styles-customize-controls.js +8 -14
- readme.txt +24 -5
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- styles.php +21 -32
classes/styles-control-text.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
3 |
class Styles_Control_Text extends Styles_Control {
|
4 |
var $suffix = 'text';
|
5 |
|
@@ -8,9 +10,6 @@ class Styles_Control_Text extends Styles_Control {
|
|
8 |
var $template_font_size = 'font-size: $valuepx;';
|
9 |
var $template_font_family = 'font-family: $value;';
|
10 |
|
11 |
-
static $families = array( 'Arial' => 'Arial, Helvetica, sans-serif', 'Bookman' => 'Bookman, Palatino, Georgia, serif', 'Century Gothic' => '"Century Gothic", Helvetica, Arial, sans-serif', 'Comic Sans MS' => '"Comic Sans MS", Arial, sans-serif', 'Courier' => 'Courier, monospace', 'Garamond' => 'Garamond, Palatino, Georgia, serif', 'Georgia' => 'Georgia, Times, serif', 'Helvetica' => 'Helvetica, Arial, sans-serif', 'Lucida Grande' => '"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif', 'Palatino' => 'Palatino, Georgia, serif', 'Tahoma' => 'Tahoma, Verdana, Helvetica, sans-serif', 'Times' => 'Times, Georgia, serif', 'Trebuchet MS' => '"Trebuchet MS", Tahoma, Helvetica, sans-serif', 'Verdana' => 'Verdana, Tahoma, sans-serif', );
|
12 |
-
static $google_families = array( 'Abel' => 'Abel', 'Aclonica' => 'Aclonica', 'Actor' => 'Actor', 'Allan' => 'Allan:bold', 'Allerta' => 'Allerta', 'Allerta Stencil' => 'Allerta+Stencil', 'Amaranth' => 'Amaranth:700,400,italic700,italic400', 'Andika' => 'Andika', 'Angkor' => 'Angkor', 'Annie Use Your Telescope' => 'Annie+Use+Your+Telescope', 'Anonymous Pro' => 'Anonymous+Pro:bold,italicbold,normal,italic', 'Anton' => 'Anton', 'Architects Daughter' => 'Architects+Daughter', 'Arimo' => 'Arimo:italicbold,bold,normal,italic', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo:italic,bold,italicbold,normal', 'Asset' => 'Asset', 'Astloch' => 'Astloch:normal,bold', 'Aubrey' => 'Aubrey', 'Bangers' => 'Bangers', 'Battambang' => 'Battambang:bold,normal', 'Bayon' => 'Bayon', 'Bentham' => 'Bentham', 'Bevan' => 'Bevan', 'Bigshot One' => 'Bigshot+One', 'Black Ops One' => 'Black+Ops+One', 'Bokor' => 'Bokor', 'Bowlby One' => 'Bowlby+One', 'Bowlby One SC' => 'Bowlby+One+SC', 'Brawler' => 'Brawler', 'Buda' => 'Buda:300', 'Cabin' => 'Cabin:italic600,500,italicbold,italic500,italic400,400,600,bold', 'Cabin Sketch' => 'Cabin+Sketch:bold', 'Calligraffitti' => 'Calligraffitti', 'Candal' => 'Candal', 'Cantarell' => 'Cantarell:italic,bold,italicbold,normal', 'Cardo' => 'Cardo', 'Carme' => 'Carme', 'Carter One' => 'Carter+One', 'Caudex' => 'Caudex:italic,italic700,400,700', 'Cedarville Cursive' => 'Cedarville+Cursive', 'Chenla' => 'Chenla', 'Cherry Cream Soda' => 'Cherry+Cream+Soda', 'Chewy' => 'Chewy', 'Coda' => 'Coda:800', 'Coda Caption' => 'Coda+Caption:800', 'Coming Soon' => 'Coming+Soon', 'Content' => 'Content:bold,normal', 'Copse' => 'Copse', 'Corben' => 'Corben:700', 'Comfortaa' => 'Comfortaa', 'Cousine' => 'Cousine:italic,normal,italicbold,bold', 'Covered By Your Grace' => 'Covered+By+Your+Grace', 'Crafty Girls' => 'Crafty+Girls', 'Crimson Text' => 'Crimson+Text:700,italic400,400,italic600,italic700,600', 'Crushed' => 'Crushed', 'Cuprum' => 'Cuprum', 'Damion' => 'Damion', 'Dancing Script' => 'Dancing+Script:bold,normal', 'Dangrek' => 'Dangrek', 'Dawning of a New Day' => 'Dawning+of+a+New+Day', 'Delius' => 'Delius:400', 'Delius Swash Caps' => 'Delius+Swash+Caps:400', 'Delius Unicase' => 'Delius+Unicase:400', 'Didact Gothic' => 'Didact+Gothic', 'Droid Arabic Kufi' => 'Droid+Arabic+Kufi:bold,normal', 'Droid Arabic Naskh' => 'Droid+Arabic+Naskh:normal,bold', 'Droid Sans' => 'Droid+Sans:bold,normal', 'Droid Sans Mono' => 'Droid+Sans+Mono', 'Droid Sans Thai' => 'Droid+Sans+Thai:bold,normal', 'Droid Serif' => 'Droid+Serif:bold,normal,italicbold,italic', 'Droid Serif Thai' => 'Droid+Serif+Thai:bold,normal', 'EB Garamond' => 'EB+Garamond', 'Expletus Sans' => 'Expletus+Sans:500,italic600,600,italic400,italic700,700,400,italic500', 'Federo' => 'Federo', 'Fontdiner Swanky' => 'Fontdiner+Swanky', 'Forum' => 'Forum', 'Francois One' => 'Francois+One', 'Freehand' => 'Freehand', 'GFS Didot' => 'GFS+Didot', 'GFS Neohellenic' => 'GFS+Neohellenic:italic,italicbold,normal,bold', 'Gentium Basic' => 'Gentium+Basic:italicbold,bold,normal,italic', 'Geo' => 'Geo:normal,oblique', 'Geostar' => 'Geostar', 'Geostar Fill' => 'Geostar+Fill', 'Give You Glory' => 'Give+You+Glory', 'Gloria Hallelujah' => 'Gloria+Hallelujah', 'Goblin One' => 'Goblin+One', 'Goudy Bookletter 1911' => 'Goudy+Bookletter+1911', 'Gravitas One' => 'Gravitas+One', 'Gruppo' => 'Gruppo', 'Hammersmith One' => 'Hammersmith+One', 'Hanuman' => 'Hanuman:normal,bold', 'Holtwood One SC' => 'Holtwood+One+SC', 'Homemade Apple' => 'Homemade+Apple', 'IM Fell DW Pica' => 'IM+Fell+DW+Pica:italic,normal', 'IM Fell DW Pica SC' => 'IM+Fell+DW+Pica+SC', 'IM Fell Double Pica' => 'IM+Fell+Double+Pica:normal,italic', 'IM Fell Double Pica SC' => 'IM+Fell+Double+Pica+SC', 'IM Fell English' => 'IM+Fell+English:italic,normal', 'IM Fell English SC' => 'IM+Fell+English+SC', 'IM Fell French Canon' => 'IM+Fell+French+Canon:italic,normal', 'IM Fell French Canon SC' => 'IM+Fell+French+Canon+SC', 'IM Fell Great Primer' => 'IM+Fell+Great+Primer:italic,normal', 'IM Fell Great Primer SC' => 'IM+Fell+Great+Primer+SC', 'Inconsolata' => 'Inconsolata', 'Indie Flower' => 'Indie+Flower', 'Irish Grover' => 'Irish+Grover', 'Irish Growler' => 'Irish+Growler', 'Istok Web' => 'Istok+Web:italic700,400,700,italic400', 'Josefin Sans' => 'Josefin+Sans:italic600,italic100,600,italic400,700,italic700,100,italic300,400,300', 'Josefin Sans Std Light' => 'Josefin+Sans+Std+Light', 'Josefin Slab' => 'Josefin+Slab:100,italic600,700,italic400,600,italic100,italic300,300,400,italic700', 'Judson' => 'Judson:700,italic400,400', 'Jura' => 'Jura:400,500,600,300', 'Just Another Hand' => 'Just+Another+Hand', 'Just Me Again Down Here' => 'Just+Me+Again+Down+Here', 'Kameron' => 'Kameron:400,700', 'Kelly Slab' => 'Kelly+Slab', 'Kenia' => 'Kenia', 'Khmer' => 'Khmer', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon:700,400,300', 'Kristi' => 'Kristi', 'La Belle Aurore' => 'La+Belle+Aurore', 'Lato' => 'Lato:italic300,300,900,700,italic100,100,italic700,400,italic900,italic400', 'League Script' => 'League+Script:400', 'Leckerli One' => 'Leckerli+One', 'Lekton' => 'Lekton:italic,400,700', 'Limelight' => 'Limelight', 'Lobster' => 'Lobster', 'Lobster Two' => 'Lobster+Two:italic400,700,400,italic700', 'Lora' => 'Lora:italic,normal,bold,italicbold', 'Love Ya Like A Sister' => 'Love+Ya+Like+A+Sister', 'Loved by the King' => 'Loved+by+the+King', 'Luckiest Guy' => 'Luckiest+Guy', 'Maiden Orange' => 'Maiden+Orange', 'Mako' => 'Mako', 'Marvel' => 'Marvel:400,700,italic700,italic400', 'Maven Pro' => 'Maven+Pro:700,900,500,400', 'Meddon' => 'Meddon', 'MedievalSharp' => 'MedievalSharp', 'Megrim' => 'Megrim', 'Merriweather' => 'Merriweather:700,900,400,300', 'Metal' => 'Metal', 'Metrophobic' => 'Metrophobic', 'Miama' => 'Miama', 'Michroma' => 'Michroma', 'Miltonian' => 'Miltonian', 'Miltonian Tattoo' => 'Miltonian+Tattoo', 'Modern Antiqua' => 'Modern+Antiqua', 'Molengo' => 'Molengo', 'Monofett' => 'Monofett', 'Moul' => 'Moul', 'Moulpali' => 'Moulpali', 'Mountains of Christmas' => 'Mountains+of+Christmas', 'Muli' => 'Muli:italic400,400,italic300,300', 'Nanum Brush Script' => 'Nanum+Brush+Script', 'Nanum Gothic' => 'Nanum+Gothic:800,700,normal', 'Nanum Gothic Coding' => 'Nanum+Gothic+Coding:normal,700', 'Nanum Myeongjo' => 'Nanum+Myeongjo:700,normal,800', 'Nanum Pen Script' => 'Nanum+Pen+Script', 'Neucha' => 'Neucha', 'Neuton' => 'Neuton:italic,normal', 'Neuton Cursive' => 'Neuton+Cursive', 'News Cycle' => 'News+Cycle', 'Nixie One' => 'Nixie+One', 'Nobile' => 'Nobile:700,italic500,400,italic700,500,italic400', 'Nothing You Could Do' => 'Nothing+You+Could+Do', 'Nova Cut' => 'Nova+Cut', 'Nova Flat' => 'Nova+Flat', 'Nova Mono' => 'Nova+Mono', 'Nova Oval' => 'Nova+Oval', 'Nova Round' => 'Nova+Round', 'Nova Script' => 'Nova+Script', 'Nova Slim' => 'Nova+Slim', 'Nova Square' => 'Nova+Square', 'Nunito' => 'Nunito:700,300,400', 'OFL Sorts Mill Goudy TT' => 'OFL+Sorts+Mill+Goudy+TT:italic,normal', 'OFL Sorts Mill Goudy TT' => 'OFL+Sorts+Mill+Goudy+TT:italic,normal', 'Odor Mean Chey' => 'Odor+Mean+Chey', 'Old Standard TT' => 'Old+Standard+TT:italic,bold,normal', 'Open Sans' => 'Open+Sans:italic300,italic800,600,300,italic400,italic600,italic700,700,800,400', 'Open Sans Condensed' => 'Open+Sans+Condensed:italic300,300', 'Orbitron' => 'Orbitron:500,900,400,700', 'Oswald' => 'Oswald', 'Over the Rainbow' => 'Over+the+Rainbow', 'Ovo' => 'Ovo', 'PT Sans' => 'PT+Sans:italic,bold,normal,italicbold', 'PT Sans Caption' => 'PT+Sans+Caption:normal,bold', 'PT Sans Narrow' => 'PT+Sans+Narrow:normal,bold', 'PT Serif' => 'PT+Serif:italic,normal,bold,italicbold', 'PT Serif Caption' => 'PT+Serif+Caption:normal,italic', 'Pacifico' => 'Pacifico', 'Patrick Hand' => 'Patrick+Hand', 'Paytone One' => 'Paytone+One', 'Pecita' => 'Pecita', 'Permanent Marker' => 'Permanent+Marker', 'Philosopher' => 'Philosopher:bold,normal,italic,italicbold', 'Play' => 'Play:bold,normal', 'Playfair Display' => 'Playfair+Display', 'Podkova' => 'Podkova', 'Pompiere' => 'Pompiere', 'Preahvihear' => 'Preahvihear', 'Puritan' => 'Puritan:bold,italic,italicbold,normal', 'Quattrocento' => 'Quattrocento', 'Quattrocento Sans' => 'Quattrocento+Sans', 'Radley' => 'Radley', 'Raleway' => 'Raleway:100', 'Rationale' => 'Rationale', 'Redressed' => 'Redressed', 'Reenie Beanie' => 'Reenie+Beanie', 'Rochester' => 'Rochester', 'Rock Salt' => 'Rock+Salt', 'Rokkitt' => 'Rokkitt:700,400', 'Rosario' => 'Rosario', 'Ruslan Display' => 'Ruslan+Display', 'Schoolbell' => 'Schoolbell', 'Shadows Into Light' => 'Shadows+Into+Light', 'Shanti' => 'Shanti', 'Siamreap' => 'Siamreap', 'Siemreap' => 'Siemreap', 'Sigmar One' => 'Sigmar+One', 'Six Caps' => 'Six+Caps', 'Slackey' => 'Slackey', 'Smokum' => 'Smokum', 'Smythe' => 'Smythe', 'Sniglet' => 'Sniglet:800', 'Snippet' => 'Snippet', 'Special Elite' => 'Special+Elite', 'Stardos Stencil' => 'Stardos+Stencil:normal,bold', 'Sue Ellen Francisco' => 'Sue+Ellen+Francisco', 'Sunshiney' => 'Sunshiney', 'Suwannaphum' => 'Suwannaphum', 'Swanky and Moo Moo' => 'Swanky+and+Moo+Moo', 'Syncopate' => 'Syncopate:normal,bold', 'Tangerine' => 'Tangerine:normal,bold', 'Taprom' => 'Taprom', 'Tenor Sans' => 'Tenor+Sans', 'Terminal Dosis Light' => 'Terminal+Dosis+Light', 'Thabit' => 'Thabit:italic,italicbold,normal,bold', 'The Girl Next Door' => 'The+Girl+Next+Door', 'Tienne' => 'Tienne:400,900,700', 'Tinos' => 'Tinos:italicbold,normal,italic,bold', 'Tulpen One' => 'Tulpen+One', 'Ubuntu' => 'Ubuntu:bold,300,normal,italicbold,italic,italic500,500,italic300', 'Ultra' => 'Ultra', 'UnifrakturCook' => 'UnifrakturCook:bold', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unna' => 'Unna', 'VT323' => 'VT323', 'Varela' => 'Varela', 'Varela Round' => 'Varela+Round', 'Vibur' => 'Vibur', 'Vollkorn' => 'Vollkorn:bold,italic,italicbold,normal', 'Waiting for the Sunrise' => 'Waiting+for+the+Sunrise', 'Wallpoet' => 'Wallpoet', 'Walter Turncoat' => 'Walter+Turncoat', 'Wire One' => 'Wire+One', 'Yanone Kaffeesatz' => 'Yanone+Kaffeesatz:700,200,400,300', 'Yellowtail' => 'Yellowtail', 'Yeseva One' => 'Yeseva+One', 'Zeyada' => 'Zeyada', /*'jsMath cmbx10' => 'jsMath+cmbx10', 'jsMath cmex10' => 'jsMath+cmex10', 'jsMath cmmi10' => 'jsMath+cmmi10', 'jsMath cmr10' => 'jsMath+cmr10', 'jsMath cmsy10' => 'jsMath+cmsy10', 'jsMath cmti10' => 'jsMath+cmti10',*/ );
|
13 |
-
|
14 |
public function __construct( $group, $element ) {
|
15 |
parent::__construct( $group, $element );
|
16 |
|
@@ -34,7 +33,7 @@ class Styles_Control_Text extends Styles_Control {
|
|
34 |
$setting_size = $this->setting . '[font_size]';
|
35 |
|
36 |
$args_family = $this->get_setting_args( 'font_family' );
|
37 |
-
unset( $args_family['transport'] );
|
38 |
$setting_family = $this->setting . '[font_family]';
|
39 |
|
40 |
$wp_customize->add_setting( $setting_size, $args_size );
|
@@ -97,19 +96,15 @@ class Styles_Control_Text extends Styles_Control {
|
|
97 |
if ( !$value ) { return ''; }
|
98 |
if ( is_array( $value ) ) { $value = $value['font_family']; }
|
99 |
|
100 |
-
|
|
|
|
|
|
|
|
|
101 |
|
102 |
-
|
103 |
-
$value = self::$families[ $value ];
|
104 |
-
|
105 |
-
}else if ( array_key_exists( $value, self::$google_families ) ) {
|
106 |
-
|
107 |
-
// Google Font families
|
108 |
global $storm_styles;
|
109 |
-
$
|
110 |
-
// Add Google Font @import to beginning of CSS
|
111 |
-
$storm_styles->css->google_fonts[ $value ] = "@import url(//fonts.googleapis.com/css?family=$src);\r";
|
112 |
-
|
113 |
}
|
114 |
|
115 |
$css = '';
|
@@ -127,11 +122,12 @@ class Styles_Control_Text extends Styles_Control {
|
|
127 |
|
128 |
public function post_message( $js ) {
|
129 |
$setting_font_size = $this->setting . '[font_size]';
|
|
|
130 |
$selector = str_replace( "'", "\'", $this->selector );
|
131 |
|
132 |
$js .= str_replace(
|
133 |
-
array( '@setting_font_size@', '@selector@' ),
|
134 |
-
array( $setting_font_size, $selector ),
|
135 |
file_get_contents( STYLES_DIR . '/js/post-message-part-text.js' )
|
136 |
);
|
137 |
|
@@ -166,32 +162,12 @@ class Styles_Customize_Text_Control extends WP_Customize_Control {
|
|
166 |
public function font_family() {
|
167 |
$saved_value = $this->value( 'font_family' );
|
168 |
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
}
|
173 |
|
174 |
-
|
175 |
-
if ( empty( $value ) ) continue;
|
176 |
-
$fonts[esc_attr( $name )] = $name;
|
177 |
-
}
|
178 |
|
179 |
-
?>
|
180 |
-
|
181 |
-
<label>
|
182 |
-
<select <?php $this->link( 'font_family' ); ?> class="styles-font-family" data-selected="<?php echo $saved_value ?>">
|
183 |
-
<option class="label first" value="">Select Font</option>
|
184 |
-
|
185 |
-
<option class="label" value="">Standard Fonts</option>
|
186 |
-
<?php foreach ( Styles_Control_Text::$families as $name => $value ) : if ( empty( $value ) ) continue; ?>
|
187 |
-
<option value='<?php esc_attr_e( $name ) ?>' <?php selected( $name, $saved_value ) ?> ><?php echo $name ?></option>
|
188 |
-
<?php endforeach; ?>
|
189 |
-
|
190 |
-
<option class="label" value="">Google Fonts</option>
|
191 |
-
<?php // Google fonts populated by styles-customize.js to save bandwidth ?>
|
192 |
-
</select>
|
193 |
-
</label>
|
194 |
-
<?php
|
195 |
}
|
196 |
}
|
197 |
|
1 |
<?php
|
2 |
|
3 |
+
require_once dirname( __FILE__ ) . '/styles-font-menu/plugin.php';
|
4 |
+
|
5 |
class Styles_Control_Text extends Styles_Control {
|
6 |
var $suffix = 'text';
|
7 |
|
10 |
var $template_font_size = 'font-size: $valuepx;';
|
11 |
var $template_font_family = 'font-family: $value;';
|
12 |
|
|
|
|
|
|
|
13 |
public function __construct( $group, $element ) {
|
14 |
parent::__construct( $group, $element );
|
15 |
|
33 |
$setting_size = $this->setting . '[font_size]';
|
34 |
|
35 |
$args_family = $this->get_setting_args( 'font_family' );
|
36 |
+
// unset( $args_family['transport'] );
|
37 |
$setting_family = $this->setting . '[font_family]';
|
38 |
|
39 |
$wp_customize->add_setting( $setting_size, $args_size );
|
96 |
if ( !$value ) { return ''; }
|
97 |
if ( is_array( $value ) ) { $value = $value['font_family']; }
|
98 |
|
99 |
+
// Todo: Validate this!!!
|
100 |
+
$font = json_decode( $value );
|
101 |
+
if ( !empty( $font->family ) ) {
|
102 |
+
$value = $font->family;
|
103 |
+
}
|
104 |
|
105 |
+
if ( isset( $font->import_family ) ) {
|
|
|
|
|
|
|
|
|
|
|
106 |
global $storm_styles;
|
107 |
+
$storm_styles->css->google_fonts[ $value ] = "@import url(//fonts.googleapis.com/css?family={$font->import_family});\r";
|
|
|
|
|
|
|
108 |
}
|
109 |
|
110 |
$css = '';
|
122 |
|
123 |
public function post_message( $js ) {
|
124 |
$setting_font_size = $this->setting . '[font_size]';
|
125 |
+
$setting_font_family = $this->setting . '[font_family]';
|
126 |
$selector = str_replace( "'", "\'", $this->selector );
|
127 |
|
128 |
$js .= str_replace(
|
129 |
+
array( '@setting_font_size@', '@setting_font_family@', '@selector@' ),
|
130 |
+
array( $setting_font_size, $setting_font_family, $selector ),
|
131 |
file_get_contents( STYLES_DIR . '/js/post-message-part-text.js' )
|
132 |
);
|
133 |
|
162 |
public function font_family() {
|
163 |
$saved_value = $this->value( 'font_family' );
|
164 |
|
165 |
+
ob_start();
|
166 |
+
$this->link( 'font_family' );
|
167 |
+
$attributes = ob_get_clean();
|
|
|
168 |
|
169 |
+
do_action( 'styles_font_menu', $attributes, $saved_value );
|
|
|
|
|
|
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
}
|
172 |
}
|
173 |
|
classes/styles-font-menu/classes/markdown/License.text
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
PHP Markdown
|
2 |
+
Copyright (c) 2004-2013 Michel Fortin
|
3 |
+
<http://michelf.ca/>
|
4 |
+
All rights reserved.
|
5 |
+
|
6 |
+
Based on Markdown
|
7 |
+
Copyright (c) 2003-2006 John Gruber
|
8 |
+
<http://daringfireball.net/>
|
9 |
+
All rights reserved.
|
10 |
+
|
11 |
+
Redistribution and use in source and binary forms, with or without
|
12 |
+
modification, are permitted provided that the following conditions are
|
13 |
+
met:
|
14 |
+
|
15 |
+
* Redistributions of source code must retain the above copyright notice,
|
16 |
+
this list of conditions and the following disclaimer.
|
17 |
+
|
18 |
+
* Redistributions in binary form must reproduce the above copyright
|
19 |
+
notice, this list of conditions and the following disclaimer in the
|
20 |
+
documentation and/or other materials provided with the distribution.
|
21 |
+
|
22 |
+
* Neither the name "Markdown" nor the names of its contributors may
|
23 |
+
be used to endorse or promote products derived from this software
|
24 |
+
without specific prior written permission.
|
25 |
+
|
26 |
+
This software is provided by the copyright holders and contributors "as
|
27 |
+
is" and any express or implied warranties, including, but not limited
|
28 |
+
to, the implied warranties of merchantability and fitness for a
|
29 |
+
particular purpose are disclaimed. In no event shall the copyright owner
|
30 |
+
or contributors be liable for any direct, indirect, incidental, special,
|
31 |
+
exemplary, or consequential damages (including, but not limited to,
|
32 |
+
procurement of substitute goods or services; loss of use, data, or
|
33 |
+
profits; or business interruption) however caused and on any theory of
|
34 |
+
liability, whether in contract, strict liability, or tort (including
|
35 |
+
negligence or otherwise) arising in any way out of the use of this
|
36 |
+
software, even if advised of the possibility of such damage.
|
classes/styles-font-menu/classes/markdown/License.txt
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
PHP Markdown & Extra
|
2 |
+
Copyright (c) 2004-2013 Michel Fortin
|
3 |
+
<http://michelf.ca/>
|
4 |
+
All rights reserved.
|
5 |
+
|
6 |
+
Based on Markdown
|
7 |
+
Copyright (c) 2003-2006 John Gruber
|
8 |
+
<http://daringfireball.net/>
|
9 |
+
All rights reserved.
|
10 |
+
|
11 |
+
Redistribution and use in source and binary forms, with or without
|
12 |
+
modification, are permitted provided that the following conditions are
|
13 |
+
met:
|
14 |
+
|
15 |
+
* Redistributions of source code must retain the above copyright notice,
|
16 |
+
this list of conditions and the following disclaimer.
|
17 |
+
|
18 |
+
* Redistributions in binary form must reproduce the above copyright
|
19 |
+
notice, this list of conditions and the following disclaimer in the
|
20 |
+
documentation and/or other materials provided with the distribution.
|
21 |
+
|
22 |
+
* Neither the name "Markdown" nor the names of its contributors may
|
23 |
+
be used to endorse or promote products derived from this software
|
24 |
+
without specific prior written permission.
|
25 |
+
|
26 |
+
This software is provided by the copyright holders and contributors "as
|
27 |
+
is" and any express or implied warranties, including, but not limited
|
28 |
+
to, the implied warranties of merchantability and fitness for a
|
29 |
+
particular purpose are disclaimed. In no event shall the copyright owner
|
30 |
+
or contributors be liable for any direct, indirect, incidental, special,
|
31 |
+
exemplary, or consequential damages (including, but not limited to,
|
32 |
+
procurement of substitute goods or services; loss of use, data, or
|
33 |
+
profits; or business interruption) however caused and on any theory of
|
34 |
+
liability, whether in contract, strict liability, or tort (including
|
35 |
+
negligence or otherwise) arising in any way out of the use of this
|
36 |
+
software, even if advised of the possibility of such damage.
|
classes/styles-font-menu/classes/markdown/PHP Markdown Extra Readme.txt
ADDED
@@ -0,0 +1,879 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
PHP Markdown Extra
|
2 |
+
==================
|
3 |
+
|
4 |
+
Version 1.2.7 - 11 Apr 2013
|
5 |
+
|
6 |
+
by Michel Fortin
|
7 |
+
<http://michelf.ca/>
|
8 |
+
|
9 |
+
based on Markdown by John Gruber
|
10 |
+
<http://daringfireball.net/>
|
11 |
+
|
12 |
+
|
13 |
+
Introduction
|
14 |
+
------------
|
15 |
+
|
16 |
+
This is a special version of PHP Markdown with extra features. See
|
17 |
+
<http://michelf.com/projects/php-markdown/extra/> for details.
|
18 |
+
|
19 |
+
Markdown is a text-to-HTML conversion tool for web writers. Markdown
|
20 |
+
allows you to write using an easy-to-read, easy-to-write plain text
|
21 |
+
format, then convert it to structurally valid XHTML (or HTML).
|
22 |
+
|
23 |
+
"Markdown" is two things: a plain text markup syntax, and a software
|
24 |
+
tool, written in Perl, that converts the plain text markup to HTML.
|
25 |
+
PHP Markdown is a port to PHP of the original Markdown program by
|
26 |
+
John Gruber.
|
27 |
+
|
28 |
+
PHP Markdown can work as a plug-in for WordPress, as a modifier for
|
29 |
+
the Smarty templating engine, or as a replacement for Textile
|
30 |
+
formatting in any software that supports Textile.
|
31 |
+
|
32 |
+
Full documentation of Markdown's syntax is available on John's
|
33 |
+
Markdown page: <http://daringfireball.net/projects/markdown/>
|
34 |
+
|
35 |
+
|
36 |
+
Installation and Requirement
|
37 |
+
----------------------------
|
38 |
+
|
39 |
+
PHP Markdown requires PHP version 4.0.5 or later.
|
40 |
+
|
41 |
+
Before PHP 5.3.7, pcre.backtrack_limit defaults to 100 000, which is too small
|
42 |
+
in many situations. You might need to set it to higher values. Later PHP
|
43 |
+
releases defaults to 1 000 000, which is usually fine.
|
44 |
+
|
45 |
+
|
46 |
+
### WordPress ###
|
47 |
+
|
48 |
+
PHP Markdown works with [WordPress][wp], version 1.2 or later.
|
49 |
+
|
50 |
+
[wp]: http://wordpress.org/
|
51 |
+
|
52 |
+
1. To use PHP Markdown with WordPress, place the "markdown.php" file
|
53 |
+
in the "plugins" folder. This folder is located inside
|
54 |
+
"wp-content" at the root of your site:
|
55 |
+
|
56 |
+
(site home)/wp-content/plugins/
|
57 |
+
|
58 |
+
2. Activate the plugin with the administrative interface of
|
59 |
+
WordPress. In the "Plugins" section you will now find Markdown.
|
60 |
+
To activate the plugin, click on the "Activate" button on the
|
61 |
+
same line as Markdown. Your entries will now be formatted by
|
62 |
+
PHP Markdown.
|
63 |
+
|
64 |
+
3. To post Markdown content, you'll first have to disable the
|
65 |
+
"visual" editor in the User section of WordPress.
|
66 |
+
|
67 |
+
You can configure PHP Markdown to not apply to the comments on your
|
68 |
+
WordPress weblog. See the "Configuration" section below.
|
69 |
+
|
70 |
+
It is not possible at this time to apply a different set of
|
71 |
+
filters to different entries. All your entries will be formatted by
|
72 |
+
PHP Markdown. This is a limitation of WordPress. If your old entries
|
73 |
+
are written in HTML (as opposed to another formatting syntax, like
|
74 |
+
Textile), they'll probably stay fine after installing Markdown.
|
75 |
+
|
76 |
+
|
77 |
+
### Replacing Textile in TextPattern ###
|
78 |
+
|
79 |
+
[TextPattern][tp] use [Textile][tx] to format your text. You can
|
80 |
+
replace Textile by Markdown in TextPattern without having to change
|
81 |
+
any code by using the *Textile Compatibility Mode*. This may work
|
82 |
+
with other software that expect Textile too.
|
83 |
+
|
84 |
+
[tx]: http://www.textism.com/tools/textile/
|
85 |
+
[tp]: http://www.textpattern.com/
|
86 |
+
|
87 |
+
1. Rename the "markdown.php" file to "classTextile.php". This will
|
88 |
+
make PHP Markdown behave as if it was the actual Textile parser.
|
89 |
+
|
90 |
+
2. Replace the "classTextile.php" file TextPattern installed in your
|
91 |
+
web directory. It can be found in the "lib" directory:
|
92 |
+
|
93 |
+
(site home)/textpattern/lib/
|
94 |
+
|
95 |
+
Contrary to Textile, Markdown does not convert quotes to curly ones
|
96 |
+
and does not convert multiple hyphens (`--` and `---`) into en- and
|
97 |
+
em-dashes. If you use PHP Markdown in Textile Compatibility Mode, you
|
98 |
+
can solve this problem by installing the "smartypants.php" file from
|
99 |
+
[PHP SmartyPants][psp] beside the "classTextile.php" file. The Textile
|
100 |
+
Compatibility Mode function will use SmartyPants automatically without
|
101 |
+
further modification.
|
102 |
+
|
103 |
+
[psp]: http://michelf.ca/projects/php-smartypants/
|
104 |
+
|
105 |
+
|
106 |
+
### In Your Own Programs ###
|
107 |
+
|
108 |
+
You can use PHP Markdown easily in your current PHP program. Simply
|
109 |
+
include the file and then call the Markdown function on the text you
|
110 |
+
want to convert:
|
111 |
+
|
112 |
+
include_once "markdown.php";
|
113 |
+
$my_html = Markdown($my_text);
|
114 |
+
|
115 |
+
If you wish to use PHP Markdown with another text filter function
|
116 |
+
built to parse HTML, you should filter the text *after* the Markdown
|
117 |
+
function call. This is an example with [PHP SmartyPants][psp]:
|
118 |
+
|
119 |
+
$my_html = SmartyPants(Markdown($my_text));
|
120 |
+
|
121 |
+
|
122 |
+
### With Smarty ###
|
123 |
+
|
124 |
+
If your program use the [Smarty][sm] template engine, PHP Markdown
|
125 |
+
can now be used as a modifier for your templates. Rename "markdown.php"
|
126 |
+
to "modifier.markdown.php" and put it in your smarty plugins folder.
|
127 |
+
|
128 |
+
[sm]: http://smarty.php.net/
|
129 |
+
|
130 |
+
If you are using MovableType 3.1 or later, the Smarty plugin folder is
|
131 |
+
located at `(MT CGI root)/php/extlib/smarty/plugins`. This will allow
|
132 |
+
Markdown to work on dynamic pages.
|
133 |
+
|
134 |
+
|
135 |
+
### Updating Markdown in Other Programs ###
|
136 |
+
|
137 |
+
Many web applications now ship with PHP Markdown, or have plugins to
|
138 |
+
perform the conversion to HTML. You can update PHP Markdown -- or
|
139 |
+
replace it with PHP Markdown Extra -- in many of these programs by
|
140 |
+
swapping the old "markdown.php" file for the new one.
|
141 |
+
|
142 |
+
Here is a short non-exhaustive list of some programs and where they
|
143 |
+
hide the "markdown.php" file.
|
144 |
+
|
145 |
+
| Program | Path to Markdown
|
146 |
+
| ------- | ----------------
|
147 |
+
| [Pivot][] | `(site home)/pivot/includes/markdown/`
|
148 |
+
|
149 |
+
If you're unsure if you can do this with your application, ask the
|
150 |
+
developer, or wait for the developer to update his application or
|
151 |
+
plugin with the new version of PHP Markdown.
|
152 |
+
|
153 |
+
[Pivot]: http://pivotlog.net/
|
154 |
+
|
155 |
+
|
156 |
+
Configuration
|
157 |
+
-------------
|
158 |
+
|
159 |
+
By default, PHP Markdown produces XHTML output for tags with empty
|
160 |
+
elements. E.g.:
|
161 |
+
|
162 |
+
<br />
|
163 |
+
|
164 |
+
Markdown can be configured to produce HTML-style tags; e.g.:
|
165 |
+
|
166 |
+
<br>
|
167 |
+
|
168 |
+
To do this, you must edit the "MARKDOWN_EMPTY_ELEMENT_SUFFIX"
|
169 |
+
definition below the "Global default settings" header at the start of
|
170 |
+
the "markdown.php" file.
|
171 |
+
|
172 |
+
|
173 |
+
### WordPress-Specific Settings ###
|
174 |
+
|
175 |
+
By default, the Markdown plugin applies to both posts and comments on
|
176 |
+
your WordPress weblog. To deactivate one or the other, edit the
|
177 |
+
`MARKDOWN_WP_POSTS` or `MARKDOWN_WP_COMMENTS` definitions under the
|
178 |
+
"WordPress settings" header at the start of the "markdown.php" file.
|
179 |
+
|
180 |
+
|
181 |
+
Bugs
|
182 |
+
----
|
183 |
+
|
184 |
+
To file bug reports please send email to:
|
185 |
+
<michel.fortin@michelf.ca>
|
186 |
+
|
187 |
+
Please include with your report: (1) the example input; (2) the output you
|
188 |
+
expected; (3) the output PHP Markdown actually produced.
|
189 |
+
|
190 |
+
If you have a problem where Markdown gives you an empty result, first check
|
191 |
+
that the backtrack limit is not too low by running `php --info | grep pcre`.
|
192 |
+
See Installation and Requirement above for details.
|
193 |
+
|
194 |
+
|
195 |
+
Version History
|
196 |
+
---------------
|
197 |
+
|
198 |
+
Extra 1.2.7 (11 Apr 2013):
|
199 |
+
|
200 |
+
* Added optional class and id attributes to images and links using the same
|
201 |
+
syntax as for headers:
|
202 |
+
|
203 |
+
[link](url){#id .class}
|
204 |
+
![img](url){#id .class}
|
205 |
+
|
206 |
+
It work too for reference-style links and images. In this case you need
|
207 |
+
to put those attributes at the reference definition:
|
208 |
+
|
209 |
+
[link][linkref] or [linkref]
|
210 |
+
![img][linkref]
|
211 |
+
|
212 |
+
[linkref]: url "optional title" {#id .class}
|
213 |
+
|
214 |
+
* Fixed a PHP notice message triggered when some table column separator
|
215 |
+
markers are missing on the separator line below column headers.
|
216 |
+
|
217 |
+
|
218 |
+
1.0.1q (11 Apr 2013):
|
219 |
+
|
220 |
+
* Fixed a small mistake that could cause the parser to retain an invalid
|
221 |
+
state related to parsing links across multiple runs. This was never
|
222 |
+
observed (that I know of), but it's still worth fixing.
|
223 |
+
|
224 |
+
|
225 |
+
Extra 1.2.6 (13 Jan 2013):
|
226 |
+
|
227 |
+
* Headers can now have a class attribute. You can add a class inside the
|
228 |
+
extra attribute block which can optionally be put after a header:
|
229 |
+
|
230 |
+
### Header ### {#id .class1 .class2}
|
231 |
+
|
232 |
+
Spaces between components in the brace is optional.
|
233 |
+
|
234 |
+
* Fenced code blocks can also have a class and an id attribute. If you only
|
235 |
+
need to apply a class (typically to indicate the language of a code
|
236 |
+
snippet), you can write it like this:
|
237 |
+
|
238 |
+
~~~ html
|
239 |
+
<b>bold</b>
|
240 |
+
~~~
|
241 |
+
|
242 |
+
or like this:
|
243 |
+
|
244 |
+
~~~ .html
|
245 |
+
<b>bold</b>
|
246 |
+
~~~
|
247 |
+
|
248 |
+
There is a new configuration option `MARKDOWN_CODE_CLASS_PREFIX` you can
|
249 |
+
use if you need to append a prefix to the class name.
|
250 |
+
|
251 |
+
You might also opt to use an extra attribute block just like for headers:
|
252 |
+
|
253 |
+
~~~ {.html #id .codeclass}
|
254 |
+
<b>bold</b>
|
255 |
+
~~~
|
256 |
+
|
257 |
+
Note that class names added this way are not affected by the
|
258 |
+
MARKDOWN_CODE_CLASS_PREFIX.
|
259 |
+
|
260 |
+
A code block creates a `pre` HTML element containing a `code` element.
|
261 |
+
The `code` HTML element is the one that receives the attribute. If for
|
262 |
+
some reason you need attributes to be applied to the enclosing `pre`
|
263 |
+
element instead, you can set the MARKDOWN_CODE_ATTR_ON_PRE configuration
|
264 |
+
variable to true.
|
265 |
+
|
266 |
+
* Fixed an issue were consecutive fenced code blocks containing HTML-like
|
267 |
+
code would confuse the parser.
|
268 |
+
|
269 |
+
* Multiple references to the same footnote are now allowed.
|
270 |
+
|
271 |
+
* Fixed an issue where no_markup mode was ineffective.
|
272 |
+
|
273 |
+
|
274 |
+
1.0.1p (13 Jan 2013):
|
275 |
+
|
276 |
+
* Fixed an issue where some XML-style empty tags (such as `<br/>`) were not
|
277 |
+
recognized correctly as such when inserted into Markdown-formatted text.
|
278 |
+
|
279 |
+
* The following HTML 5 elements are treated as block elements when at the
|
280 |
+
root of an HTML block: `article`, `section`, `nav`, `aside`, `hgroup`,
|
281 |
+
`header`, `footer`, and `figure`. `svg` too.
|
282 |
+
|
283 |
+
|
284 |
+
1.0.1o (8 Jan 2012):
|
285 |
+
|
286 |
+
* Silenced a new warning introduced around PHP 5.3 complaining about
|
287 |
+
POSIX characters classes not being implemented. PHP Markdown does not
|
288 |
+
use POSIX character classes, but it nevertheless trigged that warning.
|
289 |
+
|
290 |
+
|
291 |
+
Extra 1.2.5 (8 Jan 2012):
|
292 |
+
|
293 |
+
* Fixed an issue preventing fenced code blocks indented inside lists items
|
294 |
+
and elsewhere from being interpreted correctly.
|
295 |
+
|
296 |
+
* Fixed an issue where HTML tags inside fenced code blocks were sometime
|
297 |
+
not encoded with entities.
|
298 |
+
|
299 |
+
|
300 |
+
1.0.1n (10 Oct 2009):
|
301 |
+
|
302 |
+
* Enabled reference-style shortcut links. Now you can write reference-style
|
303 |
+
links with less brakets:
|
304 |
+
|
305 |
+
This is [my website].
|
306 |
+
|
307 |
+
[my website]: http://example.com/
|
308 |
+
|
309 |
+
This was added in the 1.0.2 betas, but commented out in the 1.0.1 branch,
|
310 |
+
waiting for the feature to be officialized. [But half of the other Markdown
|
311 |
+
implementations are supporting this syntax][half], so it makes sense for
|
312 |
+
compatibility's sake to allow it in PHP Markdown too.
|
313 |
+
|
314 |
+
[half]: http://babelmark.bobtfish.net/?markdown=This+is+%5Bmy+website%5D.%0D%0A%09%09%0D%0A%5Bmy+website%5D%3A+http%3A%2F%2Fexample.com%2F%0D%0A&src=1&dest=2
|
315 |
+
|
316 |
+
* Now accepting many valid email addresses in autolinks that were
|
317 |
+
previously rejected, such as:
|
318 |
+
|
319 |
+
<abc+mailbox/department=shipping@example.com>
|
320 |
+
<!#$%&'*+-/=?^_`.{|}~@example.com>
|
321 |
+
<"abc@def"@example.com>
|
322 |
+
<"Fred Bloggs"@example.com>
|
323 |
+
<jsmith@[192.0.2.1]>
|
324 |
+
|
325 |
+
* Now accepting spaces in URLs for inline and reference-style links. Such
|
326 |
+
URLs need to be surrounded by angle brakets. For instance:
|
327 |
+
|
328 |
+
[link text](<http://url/with space> "optional title")
|
329 |
+
|
330 |
+
[link text][ref]
|
331 |
+
[ref]: <http://url/with space> "optional title"
|
332 |
+
|
333 |
+
There is still a quirk which may prevent this from working correctly with
|
334 |
+
relative URLs in inline-style links however.
|
335 |
+
|
336 |
+
* Fix for adjacent list of different kind where the second list could
|
337 |
+
end as a sublist of the first when not separated by an empty line.
|
338 |
+
|
339 |
+
* Fixed a bug where inline-style links wouldn't be recognized when the link
|
340 |
+
definition contains a line break between the url and the title.
|
341 |
+
|
342 |
+
* Fixed a bug where tags where the name contains an underscore aren't parsed
|
343 |
+
correctly.
|
344 |
+
|
345 |
+
* Fixed some corner-cases mixing underscore-ephasis and asterisk-emphasis.
|
346 |
+
|
347 |
+
|
348 |
+
Extra 1.2.4 (10 Oct 2009):
|
349 |
+
|
350 |
+
* Fixed a problem where unterminated tags in indented code blocks could
|
351 |
+
prevent proper escaping of characaters in the code block.
|
352 |
+
|
353 |
+
|
354 |
+
Extra 1.2.3 (31 Dec 2008):
|
355 |
+
|
356 |
+
* In WordPress pages featuring more than one post, footnote id prefixes are
|
357 |
+
now automatically applied with the current post ID to avoid clashes
|
358 |
+
between footnotes belonging to different posts.
|
359 |
+
|
360 |
+
* Fix for a bug introduced in Extra 1.2 where block-level HTML tags where
|
361 |
+
not detected correctly, thus the addition of erroneous `<p>` tags and
|
362 |
+
interpretation of their content as Markdown-formatted instead of
|
363 |
+
HTML-formatted.
|
364 |
+
|
365 |
+
|
366 |
+
Extra 1.2.2 (21 Jun 2008):
|
367 |
+
|
368 |
+
* Fixed a problem where abbreviation definitions, footnote
|
369 |
+
definitions and link references were stripped inside
|
370 |
+
fenced code blocks.
|
371 |
+
|
372 |
+
* Fixed a bug where characters such as `"` in abbreviation
|
373 |
+
definitions weren't properly encoded to HTML entities.
|
374 |
+
|
375 |
+
* Fixed a bug where double quotes `"` were not correctly encoded
|
376 |
+
as HTML entities when used inside a footnote reference id.
|
377 |
+
|
378 |
+
|
379 |
+
1.0.1m (21 Jun 2008):
|
380 |
+
|
381 |
+
* Lists can now have empty items.
|
382 |
+
|
383 |
+
* Rewrote the emphasis and strong emphasis parser to fix some issues
|
384 |
+
with odly placed and overlong markers.
|
385 |
+
|
386 |
+
|
387 |
+
Extra 1.2.1 (27 May 2008):
|
388 |
+
|
389 |
+
* Fixed a problem where Markdown headers and horizontal rules were
|
390 |
+
transformed into their HTML equivalent inside fenced code blocks.
|
391 |
+
|
392 |
+
|
393 |
+
Extra 1.2 (11 May 2008):
|
394 |
+
|
395 |
+
* Added fenced code block syntax which don't require indentation
|
396 |
+
and can start and end with blank lines. A fenced code block
|
397 |
+
starts with a line of consecutive tilde (~) and ends on the
|
398 |
+
next line with the same number of consecutive tilde. Here's an
|
399 |
+
example:
|
400 |
+
|
401 |
+
~~~~~~~~~~~~
|
402 |
+
Hello World!
|
403 |
+
~~~~~~~~~~~~
|
404 |
+
|
405 |
+
* Rewrote parts of the HTML block parser to better accomodate
|
406 |
+
fenced code blocks.
|
407 |
+
|
408 |
+
* Footnotes may now be referenced from within another footnote.
|
409 |
+
|
410 |
+
* Added programatically-settable parser property `predef_attr` for
|
411 |
+
predefined attribute definitions.
|
412 |
+
|
413 |
+
* Fixed an issue where an indented code block preceded by a blank
|
414 |
+
line containing some other whitespace would confuse the HTML
|
415 |
+
block parser into creating an HTML block when it should have
|
416 |
+
been code.
|
417 |
+
|
418 |
+
|
419 |
+
1.0.1l (11 May 2008):
|
420 |
+
|
421 |
+
* Now removing the UTF-8 BOM at the start of a document, if present.
|
422 |
+
|
423 |
+
* Now accepting capitalized URI schemes (such as HTTP:) in automatic
|
424 |
+
links, such as `<HTTP://EXAMPLE.COM/>`.
|
425 |
+
|
426 |
+
* Fixed a problem where `<hr@example.com>` was seen as a horizontal
|
427 |
+
rule instead of an automatic link.
|
428 |
+
|
429 |
+
* Fixed an issue where some characters in Markdown-generated HTML
|
430 |
+
attributes weren't properly escaped with entities.
|
431 |
+
|
432 |
+
* Fix for code blocks as first element of a list item. Previously,
|
433 |
+
this didn't create any code block for item 2:
|
434 |
+
|
435 |
+
* Item 1 (regular paragraph)
|
436 |
+
|
437 |
+
* Item 2 (code block)
|
438 |
+
|
439 |
+
* A code block starting on the second line of a document wasn't seen
|
440 |
+
as a code block. This has been fixed.
|
441 |
+
|
442 |
+
* Added programatically-settable parser properties `predef_urls` and
|
443 |
+
`predef_titles` for predefined URLs and titles for reference-style
|
444 |
+
links. To use this, your PHP code must call the parser this way:
|
445 |
+
|
446 |
+
$parser = new Markdwon_Parser;
|
447 |
+
$parser->predef_urls = array('linkref' => 'http://example.com');
|
448 |
+
$html = $parser->transform($text);
|
449 |
+
|
450 |
+
You can then use the URL as a normal link reference:
|
451 |
+
|
452 |
+
[my link][linkref]
|
453 |
+
[my link][linkRef]
|
454 |
+
|
455 |
+
Reference names in the parser properties *must* be lowercase.
|
456 |
+
Reference names in the Markdown source may have any case.
|
457 |
+
|
458 |
+
* Added `setup` and `teardown` methods which can be used by subclassers
|
459 |
+
as hook points to arrange the state of some parser variables before and
|
460 |
+
after parsing.
|
461 |
+
|
462 |
+
|
463 |
+
Extra 1.1.7 (26 Sep 2007):
|
464 |
+
|
465 |
+
1.0.1k (26 Sep 2007):
|
466 |
+
|
467 |
+
* Fixed a problem introduced in 1.0.1i where three or more identical
|
468 |
+
uppercase letters, as well as a few other symbols, would trigger
|
469 |
+
a horizontal line.
|
470 |
+
|
471 |
+
|
472 |
+
Extra 1.1.6 (4 Sep 2007):
|
473 |
+
|
474 |
+
1.0.1j (4 Sep 2007):
|
475 |
+
|
476 |
+
* Fixed a problem introduced in 1.0.1i where the closing `code` and
|
477 |
+
`pre` tags at the end of a code block were appearing in the wrong
|
478 |
+
order.
|
479 |
+
|
480 |
+
* Overriding configuration settings by defining constants from an
|
481 |
+
external before markdown.php is included is now possible without
|
482 |
+
producing a PHP warning.
|
483 |
+
|
484 |
+
|
485 |
+
Extra 1.1.5 (31 Aug 2007):
|
486 |
+
|
487 |
+
1.0.1i (31 Aug 2007):
|
488 |
+
|
489 |
+
* Fixed a problem where an escaped backslash before a code span
|
490 |
+
would prevent the code span from being created. This should now
|
491 |
+
work as expected:
|
492 |
+
|
493 |
+
Litteral backslash: \\`code span`
|
494 |
+
|
495 |
+
* Overall speed improvements, especially with long documents.
|
496 |
+
|
497 |
+
|
498 |
+
Extra 1.1.4 (3 Aug 2007):
|
499 |
+
|
500 |
+
1.0.1h (3 Aug 2007):
|
501 |
+
|
502 |
+
* Added two properties (`no_markup` and `no_entities`) to the parser
|
503 |
+
allowing HTML tags and entities to be disabled.
|
504 |
+
|
505 |
+
* Fix for a problem introduced in 1.0.1g where posting comments in
|
506 |
+
WordPress would trigger PHP warnings and cause some markup to be
|
507 |
+
incorrectly filtered by the kses filter in WordPress.
|
508 |
+
|
509 |
+
|
510 |
+
Extra 1.1.3 (3 Jul 2007):
|
511 |
+
|
512 |
+
* Fixed a performance problem when parsing some invalid HTML as an HTML
|
513 |
+
block which was resulting in too much recusion and a segmentation fault
|
514 |
+
for long documents.
|
515 |
+
|
516 |
+
* The markdown="" attribute now accepts unquoted values.
|
517 |
+
|
518 |
+
* Fixed an issue where underscore-emphasis didn't work when applied on the
|
519 |
+
first or the last word of an element having the markdown="1" or
|
520 |
+
markdown="span" attribute set unless there was some surrounding whitespace.
|
521 |
+
This didn't work:
|
522 |
+
|
523 |
+
<p markdown="1">_Hello_ _world_</p>
|
524 |
+
|
525 |
+
Now it does produce emphasis as expected.
|
526 |
+
|
527 |
+
* Fixed an issue preventing footnotes from working when the parser's
|
528 |
+
footnote id prefix variable (fn_id_prefix) is not empty.
|
529 |
+
|
530 |
+
* Fixed a performance problem where the regular expression for strong
|
531 |
+
emphasis introduced in version 1.1 could sometime be long to process,
|
532 |
+
give slightly wrong results, and in some circumstances could remove
|
533 |
+
entirely the content for a whole paragraph.
|
534 |
+
|
535 |
+
* Fixed an issue were abbreviations tags could be incorrectly added
|
536 |
+
inside URLs and title of links.
|
537 |
+
|
538 |
+
* Placing footnote markers inside a link, resulting in two nested links, is
|
539 |
+
no longer allowed.
|
540 |
+
|
541 |
+
|
542 |
+
1.0.1g (3 Jul 2007):
|
543 |
+
|
544 |
+
* Fix for PHP 5 compiled without the mbstring module. Previous fix to
|
545 |
+
calculate the length of UTF-8 strings in `detab` when `mb_strlen` is
|
546 |
+
not available was only working with PHP 4.
|
547 |
+
|
548 |
+
* Fixed a problem with WordPress 2.x where full-content posts in RSS feeds
|
549 |
+
were not processed correctly by Markdown.
|
550 |
+
|
551 |
+
* Now supports URLs containing literal parentheses for inline links
|
552 |
+
and images, such as:
|
553 |
+
|
554 |
+
[WIMP](http://en.wikipedia.org/wiki/WIMP_(computing))
|
555 |
+
|
556 |
+
Such parentheses may be arbitrarily nested, but must be
|
557 |
+
balanced. Unbalenced parentheses are allowed however when the URL
|
558 |
+
when escaped or when the URL is enclosed in angle brakets `<>`.
|
559 |
+
|
560 |
+
* Fixed a performance problem where the regular expression for strong
|
561 |
+
emphasis introduced in version 1.0.1d could sometime be long to process,
|
562 |
+
give slightly wrong results, and in some circumstances could remove
|
563 |
+
entirely the content for a whole paragraph.
|
564 |
+
|
565 |
+
* Some change in version 1.0.1d made possible the incorrect nesting of
|
566 |
+
anchors within each other. This is now fixed.
|
567 |
+
|
568 |
+
* Fixed a rare issue where certain MD5 hashes in the content could
|
569 |
+
be changed to their corresponding text. For instance, this:
|
570 |
+
|
571 |
+
The MD5 value for "+" is "26b17225b626fb9238849fd60eabdf60".
|
572 |
+
|
573 |
+
was incorrectly changed to this in previous versions of PHP Markdown:
|
574 |
+
|
575 |
+
<p>The MD5 value for "+" is "+".</p>
|
576 |
+
|
577 |
+
* Now convert escaped characters to their numeric character
|
578 |
+
references equivalent.
|
579 |
+
|
580 |
+
This fix an integration issue with SmartyPants and backslash escapes.
|
581 |
+
Since Markdown and SmartyPants have some escapable characters in common,
|
582 |
+
it was sometime necessary to escape them twice. Previously, two
|
583 |
+
backslashes were sometime required to prevent Markdown from "eating" the
|
584 |
+
backslash before SmartyPants sees it:
|
585 |
+
|
586 |
+
Here are two hyphens: \\--
|
587 |
+
|
588 |
+
Now, only one backslash will do:
|
589 |
+
|
590 |
+
Here are two hyphens: \--
|
591 |
+
|
592 |
+
|
593 |
+
Extra 1.1.2 (7 Feb 2007)
|
594 |
+
|
595 |
+
* Fixed an issue where headers preceded too closely by a paragraph
|
596 |
+
(with no blank line separating them) where put inside the paragraph.
|
597 |
+
|
598 |
+
* Added the missing TextileRestricted method that was added to regular
|
599 |
+
PHP Markdown since 1.0.1d but which I forgot to add to Extra.
|
600 |
+
|
601 |
+
|
602 |
+
1.0.1f (7 Feb 2007):
|
603 |
+
|
604 |
+
* Fixed an issue with WordPress where manually-entered excerpts, but
|
605 |
+
not the auto-generated ones, would contain nested paragraphs.
|
606 |
+
|
607 |
+
* Fixed an issue introduced in 1.0.1d where headers and blockquotes
|
608 |
+
preceded too closely by a paragraph (not separated by a blank line)
|
609 |
+
where incorrectly put inside the paragraph.
|
610 |
+
|
611 |
+
* Fixed an issue introduced in 1.0.1d in the tokenizeHTML method where
|
612 |
+
two consecutive code spans would be merged into one when together they
|
613 |
+
form a valid tag in a multiline paragraph.
|
614 |
+
|
615 |
+
* Fixed an long-prevailing issue where blank lines in code blocks would
|
616 |
+
be doubled when the code block is in a list item.
|
617 |
+
|
618 |
+
This was due to the list processing functions relying on artificially
|
619 |
+
doubled blank lines to correctly determine when list items should
|
620 |
+
contain block-level content. The list item processing model was thus
|
621 |
+
changed to avoid the need for double blank lines.
|
622 |
+
|
623 |
+
* Fixed an issue with `<% asp-style %>` instructions used as inline
|
624 |
+
content where the opening `<` was encoded as `<`.
|
625 |
+
|
626 |
+
* Fixed a parse error occuring when PHP is configured to accept
|
627 |
+
ASP-style delimiters as boundaries for PHP scripts.
|
628 |
+
|
629 |
+
* Fixed a bug introduced in 1.0.1d where underscores in automatic links
|
630 |
+
got swapped with emphasis tags.
|
631 |
+
|
632 |
+
|
633 |
+
Extra 1.1.1 (28 Dec 2006)
|
634 |
+
|
635 |
+
* Fixed a problem where whitespace at the end of the line of an atx-style
|
636 |
+
header would cause tailing `#` to appear as part of the header's content.
|
637 |
+
This was caused by a small error in the regex that handles the definition
|
638 |
+
for the id attribute in PHP Markdown Extra.
|
639 |
+
|
640 |
+
* Fixed a problem where empty abbreviations definitions would eat the
|
641 |
+
following line as its definition.
|
642 |
+
|
643 |
+
* Fixed an issue with calling the Markdown parser repetitivly with text
|
644 |
+
containing footnotes. The footnote hashes were not reinitialized properly.
|
645 |
+
|
646 |
+
|
647 |
+
1.0.1e (28 Dec 2006)
|
648 |
+
|
649 |
+
* Added support for internationalized domain names for email addresses in
|
650 |
+
automatic link. Improved the speed at which email addresses are converted
|
651 |
+
to entities. Thanks to Milian Wolff for his optimisations.
|
652 |
+
|
653 |
+
* Made deterministic the conversion to entities of email addresses in
|
654 |
+
automatic links. This means that a given email address will always be
|
655 |
+
encoded the same way.
|
656 |
+
|
657 |
+
* PHP Markdown will now use its own function to calculate the length of an
|
658 |
+
UTF-8 string in `detab` when `mb_strlen` is not available instead of
|
659 |
+
giving a fatal error.
|
660 |
+
|
661 |
+
|
662 |
+
Extra 1.1 (1 Dec 2006)
|
663 |
+
|
664 |
+
* Added a syntax for footnotes.
|
665 |
+
|
666 |
+
* Added an experimental syntax to define abbreviations.
|
667 |
+
|
668 |
+
|
669 |
+
1.0.1d (1 Dec 2006)
|
670 |
+
|
671 |
+
* Fixed a bug where inline images always had an empty title attribute. The
|
672 |
+
title attribute is now present only when explicitly defined.
|
673 |
+
|
674 |
+
* Link references definitions can now have an empty title, previously if the
|
675 |
+
title was defined but left empty the link definition was ignored. This can
|
676 |
+
be useful if you want an empty title attribute in images to hide the
|
677 |
+
tooltip in Internet Explorer.
|
678 |
+
|
679 |
+
* Made `detab` aware of UTF-8 characters. UTF-8 multi-byte sequences are now
|
680 |
+
correctly mapped to one character instead of the number of bytes.
|
681 |
+
|
682 |
+
* Fixed a small bug with WordPress where WordPress' default filter `wpautop`
|
683 |
+
was not properly deactivated on comment text, resulting in hard line breaks
|
684 |
+
where Markdown do not prescribes them.
|
685 |
+
|
686 |
+
* Added a `TextileRestrited` method to the textile compatibility mode. There
|
687 |
+
is no restriction however, as Markdown does not have a restricted mode at
|
688 |
+
this point. This should make PHP Markdown work again in the latest
|
689 |
+
versions of TextPattern.
|
690 |
+
|
691 |
+
* Converted PHP Markdown to a object-oriented design.
|
692 |
+
|
693 |
+
* Changed span and block gamut methods so that they loop over a
|
694 |
+
customizable list of methods. This makes subclassing the parser a more
|
695 |
+
interesting option for creating syntax extensions.
|
696 |
+
|
697 |
+
* Also added a "document" gamut loop which can be used to hook document-level
|
698 |
+
methods (like for striping link definitions).
|
699 |
+
|
700 |
+
* Changed all methods which were inserting HTML code so that they now return
|
701 |
+
a hashed representation of the code. New methods `hashSpan` and `hashBlock`
|
702 |
+
are used to hash respectivly span- and block-level generated content. This
|
703 |
+
has a couple of significant effects:
|
704 |
+
|
705 |
+
1. It prevents invalid nesting of Markdown-generated elements which
|
706 |
+
could occur occuring with constructs like `*something [link*][1]`.
|
707 |
+
2. It prevents problems occuring with deeply nested lists on which
|
708 |
+
paragraphs were ill-formed.
|
709 |
+
3. It removes the need to call `hashHTMLBlocks` twice during the the
|
710 |
+
block gamut.
|
711 |
+
|
712 |
+
Hashes are turned back to HTML prior output.
|
713 |
+
|
714 |
+
* Made the block-level HTML parser smarter using a specially-crafted regular
|
715 |
+
expression capable of handling nested tags.
|
716 |
+
|
717 |
+
* Solved backtick issues in tag attributes by rewriting the HTML tokenizer to
|
718 |
+
be aware of code spans. All these lines should work correctly now:
|
719 |
+
|
720 |
+
<span attr='`ticks`'>bar</span>
|
721 |
+
<span attr='``double ticks``'>bar</span>
|
722 |
+
`<test a="` content of attribute `">`
|
723 |
+
|
724 |
+
* Changed the parsing of HTML comments to match simply from `<!--` to `-->`
|
725 |
+
instead using of the more complicated SGML-style rule with paired `--`.
|
726 |
+
This is how most browsers parse comments and how XML defines them too.
|
727 |
+
|
728 |
+
* `<address>` has been added to the list of block-level elements and is now
|
729 |
+
treated as an HTML block instead of being wrapped within paragraph tags.
|
730 |
+
|
731 |
+
* Now only trim trailing newlines from code blocks, instead of trimming
|
732 |
+
all trailing whitespace characters.
|
733 |
+
|
734 |
+
* Fixed bug where this:
|
735 |
+
|
736 |
+
[text](http://m.com "title" )
|
737 |
+
|
738 |
+
wasn't working as expected, because the parser wasn't allowing for spaces
|
739 |
+
before the closing paren.
|
740 |
+
|
741 |
+
* Filthy hack to support markdown='1' in div tags.
|
742 |
+
|
743 |
+
* _DoAutoLinks() now supports the 'dict://' URL scheme.
|
744 |
+
|
745 |
+
* PHP- and ASP-style processor instructions are now protected as
|
746 |
+
raw HTML blocks.
|
747 |
+
|
748 |
+
<? ... ?>
|
749 |
+
<% ... %>
|
750 |
+
|
751 |
+
* Fix for escaped backticks still triggering code spans:
|
752 |
+
|
753 |
+
There are two raw backticks here: \` and here: \`, not a code span
|
754 |
+
|
755 |
+
|
756 |
+
Extra 1.0 - 5 September 2005
|
757 |
+
|
758 |
+
* Added support for setting the id attributes for headers like this:
|
759 |
+
|
760 |
+
Header 1 {#header1}
|
761 |
+
========
|
762 |
+
|
763 |
+
## Header 2 ## {#header2}
|
764 |
+
|
765 |
+
This only work only for headers for now.
|
766 |
+
|
767 |
+
* Tables will now work correctly as the first element of a definition
|
768 |
+
list. For example, this input:
|
769 |
+
|
770 |
+
Term
|
771 |
+
|
772 |
+
: Header | Header
|
773 |
+
------- | -------
|
774 |
+
Cell | Cell
|
775 |
+
|
776 |
+
used to produce no definition list and a table where the first
|
777 |
+
header was named ": Header". This is now fixed.
|
778 |
+
|
779 |
+
* Fix for a problem where a paragraph following a table was not
|
780 |
+
placed between `<p>` tags.
|
781 |
+
|
782 |
+
|
783 |
+
Extra 1.0b4 - 1 August 2005
|
784 |
+
|
785 |
+
* Fixed some issues where whitespace around HTML blocks were trigging
|
786 |
+
empty paragraph tags.
|
787 |
+
|
788 |
+
* Fixed an HTML block parsing issue that would cause a block element
|
789 |
+
following a code span or block with unmatched opening bracket to be
|
790 |
+
placed inside a paragraph.
|
791 |
+
|
792 |
+
* Removed some PHP notices that could appear when parsing definition
|
793 |
+
lists and tables with PHP notice reporting flag set.
|
794 |
+
|
795 |
+
|
796 |
+
Extra 1.0b3 - 29 July 2005
|
797 |
+
|
798 |
+
* Definition lists now require a blank line before each term. Solves
|
799 |
+
an ambiguity where the last line of lazy-indented definitions could
|
800 |
+
be mistaken by PHP Markdown as a new term in the list.
|
801 |
+
|
802 |
+
* Definition lists now support multiple terms per definition.
|
803 |
+
|
804 |
+
* Some special tags were replaced in the output by their md5 hash
|
805 |
+
key. Things such as this now work as expected:
|
806 |
+
|
807 |
+
## Header <?php echo $number ?> ##
|
808 |
+
|
809 |
+
|
810 |
+
Extra 1.0b2 - 26 July 2005
|
811 |
+
|
812 |
+
* Definition lists can now take two or more definitions for one term.
|
813 |
+
This should have been the case before, but a bug prevented this
|
814 |
+
from working right.
|
815 |
+
|
816 |
+
* Fixed a problem where single column table with a pipe only at the
|
817 |
+
end where not parsed as table. Here is such a table:
|
818 |
+
|
819 |
+
| header
|
820 |
+
| ------
|
821 |
+
| cell
|
822 |
+
|
823 |
+
* Fixed problems with empty cells in the first column of a table with
|
824 |
+
no leading pipe, like this one:
|
825 |
+
|
826 |
+
header | header
|
827 |
+
------ | ------
|
828 |
+
| cell
|
829 |
+
|
830 |
+
* Code spans containing pipes did not within a table. This is now
|
831 |
+
fixed by parsing code spans before splitting rows into cells.
|
832 |
+
|
833 |
+
* Added the pipe character to the backlash escape character lists.
|
834 |
+
|
835 |
+
Extra 1.0b1 (25 Jun 2005)
|
836 |
+
|
837 |
+
* First public release of PHP Markdown Extra.
|
838 |
+
|
839 |
+
|
840 |
+
Copyright and License
|
841 |
+
---------------------
|
842 |
+
|
843 |
+
PHP Markdown & Extra
|
844 |
+
Copyright (c) 2004-2013 Michel Fortin
|
845 |
+
<http://michelf.ca/>
|
846 |
+
All rights reserved.
|
847 |
+
|
848 |
+
Based on Markdown
|
849 |
+
Copyright (c) 2003-2005 John Gruber
|
850 |
+
<http://daringfireball.net/>
|
851 |
+
All rights reserved.
|
852 |
+
|
853 |
+
Redistribution and use in source and binary forms, with or without
|
854 |
+
modification, are permitted provided that the following conditions are
|
855 |
+
met:
|
856 |
+
|
857 |
+
* Redistributions of source code must retain the above copyright
|
858 |
+
notice, this list of conditions and the following disclaimer.
|
859 |
+
|
860 |
+
* Redistributions in binary form must reproduce the above copyright
|
861 |
+
notice, this list of conditions and the following disclaimer in the
|
862 |
+
documentation and/or other materials provided with the
|
863 |
+
distribution.
|
864 |
+
|
865 |
+
* Neither the name "Markdown" nor the names of its contributors may
|
866 |
+
be used to endorse or promote products derived from this software
|
867 |
+
without specific prior written permission.
|
868 |
+
|
869 |
+
This software is provided by the copyright holders and contributors "as
|
870 |
+
is" and any express or implied warranties, including, but not limited
|
871 |
+
to, the implied warranties of merchantability and fitness for a
|
872 |
+
particular purpose are disclaimed. In no event shall the copyright owner
|
873 |
+
or contributors be liable for any direct, indirect, incidental, special,
|
874 |
+
exemplary, or consequential damages (including, but not limited to,
|
875 |
+
procurement of substitute goods or services; loss of use, data, or
|
876 |
+
profits; or business interruption) however caused and on any theory of
|
877 |
+
liability, whether in contract, strict liability, or tort (including
|
878 |
+
negligence or otherwise) arising in any way out of the use of this
|
879 |
+
software, even if advised of the possibility of such damage.
|
classes/styles-font-menu/classes/markdown/PHP Markdown Readme.txt
ADDED
@@ -0,0 +1,785 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
PHP Markdown
|
2 |
+
============
|
3 |
+
|
4 |
+
Version 1.0.1p - 11 Apr 2013
|
5 |
+
|
6 |
+
by Michel Fortin
|
7 |
+
<http://michelf.ca/>
|
8 |
+
|
9 |
+
based on work by John Gruber
|
10 |
+
<http://daringfireball.net/>
|
11 |
+
|
12 |
+
|
13 |
+
Introduction
|
14 |
+
------------
|
15 |
+
|
16 |
+
Markdown is a text-to-HTML conversion tool for web writers. Markdown
|
17 |
+
allows you to write using an easy-to-read, easy-to-write plain text
|
18 |
+
format, then convert it to structurally valid XHTML (or HTML).
|
19 |
+
|
20 |
+
"Markdown" is two things: a plain text markup syntax, and a software
|
21 |
+
tool, written in Perl, that converts the plain text markup to HTML.
|
22 |
+
PHP Markdown is a port to PHP of the original Markdown program by
|
23 |
+
John Gruber.
|
24 |
+
|
25 |
+
PHP Markdown can work as a plug-in for WordPress, as a modifier for
|
26 |
+
the Smarty templating engine, or as a replacement for Textile
|
27 |
+
formatting in any software that supports Textile.
|
28 |
+
|
29 |
+
Full documentation of Markdown's syntax is available on John's
|
30 |
+
Markdown page: <http://daringfireball.net/projects/markdown/>
|
31 |
+
|
32 |
+
|
33 |
+
Installation and Requirement
|
34 |
+
----------------------------
|
35 |
+
|
36 |
+
PHP Markdown requires PHP version 4.0.5 or later.
|
37 |
+
|
38 |
+
Before PHP 5.3.7, pcre.backtrack_limit defaults to 100 000, which is too small
|
39 |
+
in many situations. You might need to set it to higher values. Later PHP
|
40 |
+
releases defaults to 1 000 000, which is usually fine.
|
41 |
+
|
42 |
+
|
43 |
+
### WordPress ###
|
44 |
+
|
45 |
+
PHP Markdown works with [WordPress][wp], version 1.2 or later.
|
46 |
+
|
47 |
+
[wp]: http://wordpress.org/
|
48 |
+
|
49 |
+
1. To use PHP Markdown with WordPress, place the "markdown.php" file
|
50 |
+
in the "plugins" folder. This folder is located inside
|
51 |
+
"wp-content" at the root of your site:
|
52 |
+
|
53 |
+
(site home)/wp-content/plugins/
|
54 |
+
|
55 |
+
2. Activate the plugin with the administrative interface of
|
56 |
+
WordPress. In the "Plugins" section you will now find Markdown.
|
57 |
+
To activate the plugin, click on the "Activate" button on the
|
58 |
+
same line as Markdown. Your entries will now be formatted by
|
59 |
+
PHP Markdown.
|
60 |
+
|
61 |
+
3. To post Markdown content, you'll first have to disable the
|
62 |
+
"visual" editor in the User section of WordPress.
|
63 |
+
|
64 |
+
You can configure PHP Markdown to not apply to the comments on your
|
65 |
+
WordPress weblog. See the "Configuration" section below.
|
66 |
+
|
67 |
+
It is not possible at this time to apply a different set of
|
68 |
+
filters to different entries. All your entries will be formatted by
|
69 |
+
PHP Markdown. This is a limitation of WordPress. If your old entries
|
70 |
+
are written in HTML (as opposed to another formatting syntax, like
|
71 |
+
Textile), they'll probably stay fine after installing Markdown.
|
72 |
+
|
73 |
+
|
74 |
+
### Replacing Textile in TextPattern ###
|
75 |
+
|
76 |
+
[TextPattern][tp] use [Textile][tx] to format your text. You can
|
77 |
+
replace Textile by Markdown in TextPattern without having to change
|
78 |
+
any code by using the *Textile Compatibility Mode*. This may work
|
79 |
+
with other software that expect Textile too.
|
80 |
+
|
81 |
+
[tx]: http://www.textism.com/tools/textile/
|
82 |
+
[tp]: http://www.textpattern.com/
|
83 |
+
|
84 |
+
1. Rename the "markdown.php" file to "classTextile.php". This will
|
85 |
+
make PHP Markdown behave as if it was the actual Textile parser.
|
86 |
+
|
87 |
+
2. Replace the "classTextile.php" file TextPattern installed in your
|
88 |
+
web directory. It can be found in the "lib" directory:
|
89 |
+
|
90 |
+
(site home)/textpattern/lib/
|
91 |
+
|
92 |
+
Contrary to Textile, Markdown does not convert quotes to curly ones
|
93 |
+
and does not convert multiple hyphens (`--` and `---`) into en- and
|
94 |
+
em-dashes. If you use PHP Markdown in Textile Compatibility Mode, you
|
95 |
+
can solve this problem by installing the "smartypants.php" file from
|
96 |
+
[PHP SmartyPants][psp] beside the "classTextile.php" file. The Textile
|
97 |
+
Compatibility Mode function will use SmartyPants automatically without
|
98 |
+
further modification.
|
99 |
+
|
100 |
+
[psp]: http://michelf.ca/projects/php-smartypants/
|
101 |
+
|
102 |
+
|
103 |
+
### Updating Markdown in Other Programs ###
|
104 |
+
|
105 |
+
Many web applications now ship with PHP Markdown, or have plugins to
|
106 |
+
perform the conversion to HTML. You can update PHP Markdown in many of
|
107 |
+
these programs by swapping the old "markdown.php" file for the new one.
|
108 |
+
|
109 |
+
Here is a short non-exhaustive list of some programs and where they
|
110 |
+
hide the "markdown.php" file.
|
111 |
+
|
112 |
+
| Program | Path to Markdown
|
113 |
+
| ------- | ----------------
|
114 |
+
| [Pivot][] | `(site home)/pivot/includes/markdown/markdown.php`
|
115 |
+
|
116 |
+
If you're unsure if you can do this with your application, ask the
|
117 |
+
developer, or wait for the developer to update his application or
|
118 |
+
plugin with the new version of PHP Markdown.
|
119 |
+
|
120 |
+
[Pivot]: http://pivotlog.net/
|
121 |
+
|
122 |
+
|
123 |
+
### In Your Own Programs ###
|
124 |
+
|
125 |
+
You can use PHP Markdown easily in your current PHP program. Simply
|
126 |
+
include the file and then call the Markdown function on the text you
|
127 |
+
want to convert:
|
128 |
+
|
129 |
+
include_once "markdown.php";
|
130 |
+
$my_html = Markdown($my_text);
|
131 |
+
|
132 |
+
If you wish to use PHP Markdown with another text filter function
|
133 |
+
built to parse HTML, you should filter the text *after* the Markdown
|
134 |
+
function call. This is an example with [PHP SmartyPants][psp]:
|
135 |
+
|
136 |
+
$my_html = SmartyPants(Markdown($my_text));
|
137 |
+
|
138 |
+
|
139 |
+
### With Smarty ###
|
140 |
+
|
141 |
+
If your program use the [Smarty][sm] template engine, PHP Markdown
|
142 |
+
can now be used as a modifier for your templates. Rename "markdown.php"
|
143 |
+
to "modifier.markdown.php" and put it in your smarty plugins folder.
|
144 |
+
|
145 |
+
[sm]: http://smarty.php.net/
|
146 |
+
|
147 |
+
If you are using MovableType 3.1 or later, the Smarty plugin folder is
|
148 |
+
located at `(MT CGI root)/php/extlib/smarty/plugins`. This will allow
|
149 |
+
Markdown to work on dynamic pages.
|
150 |
+
|
151 |
+
|
152 |
+
Configuration
|
153 |
+
-------------
|
154 |
+
|
155 |
+
By default, PHP Markdown produces XHTML output for tags with empty
|
156 |
+
elements. E.g.:
|
157 |
+
|
158 |
+
<br />
|
159 |
+
|
160 |
+
Markdown can be configured to produce HTML-style tags; e.g.:
|
161 |
+
|
162 |
+
<br>
|
163 |
+
|
164 |
+
To do this, you must edit the "MARKDOWN_EMPTY_ELEMENT_SUFFIX"
|
165 |
+
definition below the "Global default settings" header at the start of
|
166 |
+
the "markdown.php" file.
|
167 |
+
|
168 |
+
|
169 |
+
### WordPress-Specific Settings ###
|
170 |
+
|
171 |
+
By default, the Markdown plugin applies to both posts and comments on
|
172 |
+
your WordPress weblog. To deactivate one or the other, edit the
|
173 |
+
`MARKDOWN_WP_POSTS` or `MARKDOWN_WP_COMMENTS` definitions under the
|
174 |
+
"WordPress settings" header at the start of the "markdown.php" file.
|
175 |
+
|
176 |
+
|
177 |
+
Bugs
|
178 |
+
----
|
179 |
+
|
180 |
+
To file bug reports please send email to:
|
181 |
+
<michel.fortin@michelf.ca>
|
182 |
+
|
183 |
+
Please include with your report: (1) the example input; (2) the output you
|
184 |
+
expected; (3) the output PHP Markdown actually produced.
|
185 |
+
|
186 |
+
If you have a problem where Markdown gives you an empty result, first check
|
187 |
+
that the backtrack limit is not too low by running `php --info | grep pcre`.
|
188 |
+
See Installation and Requirement above for details.
|
189 |
+
|
190 |
+
|
191 |
+
Version History
|
192 |
+
---------------
|
193 |
+
|
194 |
+
1.0.1q (11 Apr 2013):
|
195 |
+
|
196 |
+
* Fixed a small mistake that could cause the parser to retain an invalid
|
197 |
+
state related to parsing links across multiple runs. This was never
|
198 |
+
observed (that I know of), but it's still worth fixing.
|
199 |
+
|
200 |
+
|
201 |
+
1.0.1p (13 Jan 2013):
|
202 |
+
|
203 |
+
* Fixed an issue where some XML-style empty tags (such as `<br/>`) were not
|
204 |
+
recognized correctly as such when inserted into Markdown-formatted text.
|
205 |
+
|
206 |
+
* The following HTML 5 elements are treated as block elements when at the
|
207 |
+
root of an HTML block: `article`, `section`, `nav`, `aside`, `hgroup`,
|
208 |
+
`header`, `footer`, and `figure`. `svg` too.
|
209 |
+
|
210 |
+
|
211 |
+
1.0.1o (8 Jan 2012):
|
212 |
+
|
213 |
+
* Silenced a new warning introduced around PHP 5.3 complaining about
|
214 |
+
POSIX characters classes not being implemented. PHP Markdown does not
|
215 |
+
use POSIX character classes, but it nevertheless trigged that warning.
|
216 |
+
|
217 |
+
|
218 |
+
1.0.1n (10 Oct 2009):
|
219 |
+
|
220 |
+
* Enabled reference-style shortcut links. Now you can write reference-style
|
221 |
+
links with less brakets:
|
222 |
+
|
223 |
+
This is [my website].
|
224 |
+
|
225 |
+
[my website]: http://example.com/
|
226 |
+
|
227 |
+
This was added in the 1.0.2 betas, but commented out in the 1.0.1 branch,
|
228 |
+
waiting for the feature to be officialized. [But half of the other Markdown
|
229 |
+
implementations are supporting this syntax][half], so it makes sense for
|
230 |
+
compatibility's sake to allow it in PHP Markdown too.
|
231 |
+
|
232 |
+
[half]: http://babelmark.bobtfish.net/?markdown=This+is+%5Bmy+website%5D.%0D%0A%09%09%0D%0A%5Bmy+website%5D%3A+http%3A%2F%2Fexample.com%2F%0D%0A&src=1&dest=2
|
233 |
+
|
234 |
+
* Now accepting many valid email addresses in autolinks that were
|
235 |
+
previously rejected, such as:
|
236 |
+
|
237 |
+
<abc+mailbox/department=shipping@example.com>
|
238 |
+
<!#$%&'*+-/=?^_`.{|}~@example.com>
|
239 |
+
<"abc@def"@example.com>
|
240 |
+
<"Fred Bloggs"@example.com>
|
241 |
+
<jsmith@[192.0.2.1]>
|
242 |
+
|
243 |
+
* Now accepting spaces in URLs for inline and reference-style links. Such
|
244 |
+
URLs need to be surrounded by angle brakets. For instance:
|
245 |
+
|
246 |
+
[link text](<http://url/with space> "optional title")
|
247 |
+
|
248 |
+
[link text][ref]
|
249 |
+
[ref]: <http://url/with space> "optional title"
|
250 |
+
|
251 |
+
There is still a quirk which may prevent this from working correctly with
|
252 |
+
relative URLs in inline-style links however.
|
253 |
+
|
254 |
+
* Fix for adjacent list of different kind where the second list could
|
255 |
+
end as a sublist of the first when not separated by an empty line.
|
256 |
+
|
257 |
+
* Fixed a bug where inline-style links wouldn't be recognized when the link
|
258 |
+
definition contains a line break between the url and the title.
|
259 |
+
|
260 |
+
* Fixed a bug where tags where the name contains an underscore aren't parsed
|
261 |
+
correctly.
|
262 |
+
|
263 |
+
* Fixed some corner-cases mixing underscore-ephasis and asterisk-emphasis.
|
264 |
+
|
265 |
+
|
266 |
+
1.0.1m (21 Jun 2008):
|
267 |
+
|
268 |
+
* Lists can now have empty items.
|
269 |
+
|
270 |
+
* Rewrote the emphasis and strong emphasis parser to fix some issues
|
271 |
+
with odly placed and overlong markers.
|
272 |
+
|
273 |
+
|
274 |
+
1.0.1l (11 May 2008):
|
275 |
+
|
276 |
+
* Now removing the UTF-8 BOM at the start of a document, if present.
|
277 |
+
|
278 |
+
* Now accepting capitalized URI schemes (such as HTTP:) in automatic
|
279 |
+
links, such as `<HTTP://EXAMPLE.COM/>`.
|
280 |
+
|
281 |
+
* Fixed a problem where `<hr@example.com>` was seen as a horizontal
|
282 |
+
rule instead of an automatic link.
|
283 |
+
|
284 |
+
* Fixed an issue where some characters in Markdown-generated HTML
|
285 |
+
attributes weren't properly escaped with entities.
|
286 |
+
|
287 |
+
* Fix for code blocks as first element of a list item. Previously,
|
288 |
+
this didn't create any code block for item 2:
|
289 |
+
|
290 |
+
* Item 1 (regular paragraph)
|
291 |
+
|
292 |
+
* Item 2 (code block)
|
293 |
+
|
294 |
+
* A code block starting on the second line of a document wasn't seen
|
295 |
+
as a code block. This has been fixed.
|
296 |
+
|
297 |
+
* Added programatically-settable parser properties `predef_urls` and
|
298 |
+
`predef_titles` for predefined URLs and titles for reference-style
|
299 |
+
links. To use this, your PHP code must call the parser this way:
|
300 |
+
|
301 |
+
$parser = new Markdwon_Parser;
|
302 |
+
$parser->predef_urls = array('linkref' => 'http://example.com');
|
303 |
+
$html = $parser->transform($text);
|
304 |
+
|
305 |
+
You can then use the URL as a normal link reference:
|
306 |
+
|
307 |
+
[my link][linkref]
|
308 |
+
[my link][linkRef]
|
309 |
+
|
310 |
+
Reference names in the parser properties *must* be lowercase.
|
311 |
+
Reference names in the Markdown source may have any case.
|
312 |
+
|
313 |
+
* Added `setup` and `teardown` methods which can be used by subclassers
|
314 |
+
as hook points to arrange the state of some parser variables before and
|
315 |
+
after parsing.
|
316 |
+
|
317 |
+
|
318 |
+
1.0.1k (26 Sep 2007):
|
319 |
+
|
320 |
+
* Fixed a problem introduced in 1.0.1i where three or more identical
|
321 |
+
uppercase letters, as well as a few other symbols, would trigger
|
322 |
+
a horizontal line.
|
323 |
+
|
324 |
+
|
325 |
+
1.0.1j (4 Sep 2007):
|
326 |
+
|
327 |
+
* Fixed a problem introduced in 1.0.1i where the closing `code` and
|
328 |
+
`pre` tags at the end of a code block were appearing in the wrong
|
329 |
+
order.
|
330 |
+
|
331 |
+
* Overriding configuration settings by defining constants from an
|
332 |
+
external before markdown.php is included is now possible without
|
333 |
+
producing a PHP warning.
|
334 |
+
|
335 |
+
|
336 |
+
1.0.1i (31 Aug 2007):
|
337 |
+
|
338 |
+
* Fixed a problem where an escaped backslash before a code span
|
339 |
+
would prevent the code span from being created. This should now
|
340 |
+
work as expected:
|
341 |
+
|
342 |
+
Litteral backslash: \\`code span`
|
343 |
+
|
344 |
+
* Overall speed improvements, especially with long documents.
|
345 |
+
|
346 |
+
|
347 |
+
1.0.1h (3 Aug 2007):
|
348 |
+
|
349 |
+
* Added two properties (`no_markup` and `no_entities`) to the parser
|
350 |
+
allowing HTML tags and entities to be disabled.
|
351 |
+
|
352 |
+
* Fix for a problem introduced in 1.0.1g where posting comments in
|
353 |
+
WordPress would trigger PHP warnings and cause some markup to be
|
354 |
+
incorrectly filtered by the kses filter in WordPress.
|
355 |
+
|
356 |
+
|
357 |
+
1.0.1g (3 Jul 2007):
|
358 |
+
|
359 |
+
* Fix for PHP 5 compiled without the mbstring module. Previous fix to
|
360 |
+
calculate the length of UTF-8 strings in `detab` when `mb_strlen` is
|
361 |
+
not available was only working with PHP 4.
|
362 |
+
|
363 |
+
* Fixed a problem with WordPress 2.x where full-content posts in RSS feeds
|
364 |
+
were not processed correctly by Markdown.
|
365 |
+
|
366 |
+
* Now supports URLs containing literal parentheses for inline links
|
367 |
+
and images, such as:
|
368 |
+
|
369 |
+
[WIMP](http://en.wikipedia.org/wiki/WIMP_(computing))
|
370 |
+
|
371 |
+
Such parentheses may be arbitrarily nested, but must be
|
372 |
+
balanced. Unbalenced parentheses are allowed however when the URL
|
373 |
+
when escaped or when the URL is enclosed in angle brakets `<>`.
|
374 |
+
|
375 |
+
* Fixed a performance problem where the regular expression for strong
|
376 |
+
emphasis introduced in version 1.0.1d could sometime be long to process,
|
377 |
+
give slightly wrong results, and in some circumstances could remove
|
378 |
+
entirely the content for a whole paragraph.
|
379 |
+
|
380 |
+
* Some change in version 1.0.1d made possible the incorrect nesting of
|
381 |
+
anchors within each other. This is now fixed.
|
382 |
+
|
383 |
+
* Fixed a rare issue where certain MD5 hashes in the content could
|
384 |
+
be changed to their corresponding text. For instance, this:
|
385 |
+
|
386 |
+
The MD5 value for "+" is "26b17225b626fb9238849fd60eabdf60".
|
387 |
+
|
388 |
+
was incorrectly changed to this in previous versions of PHP Markdown:
|
389 |
+
|
390 |
+
<p>The MD5 value for "+" is "+".</p>
|
391 |
+
|
392 |
+
* Now convert escaped characters to their numeric character
|
393 |
+
references equivalent.
|
394 |
+
|
395 |
+
This fix an integration issue with SmartyPants and backslash escapes.
|
396 |
+
Since Markdown and SmartyPants have some escapable characters in common,
|
397 |
+
it was sometime necessary to escape them twice. Previously, two
|
398 |
+
backslashes were sometime required to prevent Markdown from "eating" the
|
399 |
+
backslash before SmartyPants sees it:
|
400 |
+
|
401 |
+
Here are two hyphens: \\--
|
402 |
+
|
403 |
+
Now, only one backslash will do:
|
404 |
+
|
405 |
+
Here are two hyphens: \--
|
406 |
+
|
407 |
+
|
408 |
+
1.0.1f (7 Feb 2007):
|
409 |
+
|
410 |
+
* Fixed an issue with WordPress where manually-entered excerpts, but
|
411 |
+
not the auto-generated ones, would contain nested paragraphs.
|
412 |
+
|
413 |
+
* Fixed an issue introduced in 1.0.1d where headers and blockquotes
|
414 |
+
preceded too closely by a paragraph (not separated by a blank line)
|
415 |
+
where incorrectly put inside the paragraph.
|
416 |
+
|
417 |
+
* Fixed an issue introduced in 1.0.1d in the tokenizeHTML method where
|
418 |
+
two consecutive code spans would be merged into one when together they
|
419 |
+
form a valid tag in a multiline paragraph.
|
420 |
+
|
421 |
+
* Fixed an long-prevailing issue where blank lines in code blocks would
|
422 |
+
be doubled when the code block is in a list item.
|
423 |
+
|
424 |
+
This was due to the list processing functions relying on artificially
|
425 |
+
doubled blank lines to correctly determine when list items should
|
426 |
+
contain block-level content. The list item processing model was thus
|
427 |
+
changed to avoid the need for double blank lines.
|
428 |
+
|
429 |
+
* Fixed an issue with `<% asp-style %>` instructions used as inline
|
430 |
+
content where the opening `<` was encoded as `<`.
|
431 |
+
|
432 |
+
* Fixed a parse error occuring when PHP is configured to accept
|
433 |
+
ASP-style delimiters as boundaries for PHP scripts.
|
434 |
+
|
435 |
+
* Fixed a bug introduced in 1.0.1d where underscores in automatic links
|
436 |
+
got swapped with emphasis tags.
|
437 |
+
|
438 |
+
|
439 |
+
1.0.1e (28 Dec 2006)
|
440 |
+
|
441 |
+
* Added support for internationalized domain names for email addresses in
|
442 |
+
automatic link. Improved the speed at which email addresses are converted
|
443 |
+
to entities. Thanks to Milian Wolff for his optimisations.
|
444 |
+
|
445 |
+
* Made deterministic the conversion to entities of email addresses in
|
446 |
+
automatic links. This means that a given email address will always be
|
447 |
+
encoded the same way.
|
448 |
+
|
449 |
+
* PHP Markdown will now use its own function to calculate the length of an
|
450 |
+
UTF-8 string in `detab` when `mb_strlen` is not available instead of
|
451 |
+
giving a fatal error.
|
452 |
+
|
453 |
+
|
454 |
+
1.0.1d (1 Dec 2006)
|
455 |
+
|
456 |
+
* Fixed a bug where inline images always had an empty title attribute. The
|
457 |
+
title attribute is now present only when explicitly defined.
|
458 |
+
|
459 |
+
* Link references definitions can now have an empty title, previously if the
|
460 |
+
title was defined but left empty the link definition was ignored. This can
|
461 |
+
be useful if you want an empty title attribute in images to hide the
|
462 |
+
tooltip in Internet Explorer.
|
463 |
+
|
464 |
+
* Made `detab` aware of UTF-8 characters. UTF-8 multi-byte sequences are now
|
465 |
+
correctly mapped to one character instead of the number of bytes.
|
466 |
+
|
467 |
+
* Fixed a small bug with WordPress where WordPress' default filter `wpautop`
|
468 |
+
was not properly deactivated on comment text, resulting in hard line breaks
|
469 |
+
where Markdown do not prescribes them.
|
470 |
+
|
471 |
+
* Added a `TextileRestrited` method to the textile compatibility mode. There
|
472 |
+
is no restriction however, as Markdown does not have a restricted mode at
|
473 |
+
this point. This should make PHP Markdown work again in the latest
|
474 |
+
versions of TextPattern.
|
475 |
+
|
476 |
+
* Converted PHP Markdown to a object-oriented design.
|
477 |
+
|
478 |
+
* Changed span and block gamut methods so that they loop over a
|
479 |
+
customizable list of methods. This makes subclassing the parser a more
|
480 |
+
interesting option for creating syntax extensions.
|
481 |
+
|
482 |
+
* Also added a "document" gamut loop which can be used to hook document-level
|
483 |
+
methods (like for striping link definitions).
|
484 |
+
|
485 |
+
* Changed all methods which were inserting HTML code so that they now return
|
486 |
+
a hashed representation of the code. New methods `hashSpan` and `hashBlock`
|
487 |
+
are used to hash respectivly span- and block-level generated content. This
|
488 |
+
has a couple of significant effects:
|
489 |
+
|
490 |
+
1. It prevents invalid nesting of Markdown-generated elements which
|
491 |
+
could occur occuring with constructs like `*something [link*][1]`.
|
492 |
+
2. It prevents problems occuring with deeply nested lists on which
|
493 |
+
paragraphs were ill-formed.
|
494 |
+
3. It removes the need to call `hashHTMLBlocks` twice during the the
|
495 |
+
block gamut.
|
496 |
+
|
497 |
+
Hashes are turned back to HTML prior output.
|
498 |
+
|
499 |
+
* Made the block-level HTML parser smarter using a specially-crafted regular
|
500 |
+
expression capable of handling nested tags.
|
501 |
+
|
502 |
+
* Solved backtick issues in tag attributes by rewriting the HTML tokenizer to
|
503 |
+
be aware of code spans. All these lines should work correctly now:
|
504 |
+
|
505 |
+
<span attr='`ticks`'>bar</span>
|
506 |
+
<span attr='``double ticks``'>bar</span>
|
507 |
+
`<test a="` content of attribute `">`
|
508 |
+
|
509 |
+
* Changed the parsing of HTML comments to match simply from `<!--` to `-->`
|
510 |
+
instead using of the more complicated SGML-style rule with paired `--`.
|
511 |
+
This is how most browsers parse comments and how XML defines them too.
|
512 |
+
|
513 |
+
* `<address>` has been added to the list of block-level elements and is now
|
514 |
+
treated as an HTML block instead of being wrapped within paragraph tags.
|
515 |
+
|
516 |
+
* Now only trim trailing newlines from code blocks, instead of trimming
|
517 |
+
all trailing whitespace characters.
|
518 |
+
|
519 |
+
* Fixed bug where this:
|
520 |
+
|
521 |
+
[text](http://m.com "title" )
|
522 |
+
|
523 |
+
wasn't working as expected, because the parser wasn't allowing for spaces
|
524 |
+
before the closing paren.
|
525 |
+
|
526 |
+
* Filthy hack to support markdown='1' in div tags.
|
527 |
+
|
528 |
+
* _DoAutoLinks() now supports the 'dict://' URL scheme.
|
529 |
+
|
530 |
+
* PHP- and ASP-style processor instructions are now protected as
|
531 |
+
raw HTML blocks.
|
532 |
+
|
533 |
+
<? ... ?>
|
534 |
+
<% ... %>
|
535 |
+
|
536 |
+
* Fix for escaped backticks still triggering code spans:
|
537 |
+
|
538 |
+
There are two raw backticks here: \` and here: \`, not a code span
|
539 |
+
|
540 |
+
|
541 |
+
1.0.1c (9 Dec 2005)
|
542 |
+
|
543 |
+
* Fixed a problem occurring with PHP 5.1.1 due to a small
|
544 |
+
change to strings variable replacement behaviour in
|
545 |
+
this version.
|
546 |
+
|
547 |
+
|
548 |
+
1.0.1b (6 Jun 2005)
|
549 |
+
|
550 |
+
* Fixed a bug where an inline image followed by a reference link would
|
551 |
+
give a completely wrong result.
|
552 |
+
|
553 |
+
* Fix for escaped backticks still triggering code spans:
|
554 |
+
|
555 |
+
There are two raw backticks here: \` and here: \`, not a code span
|
556 |
+
|
557 |
+
* Fix for an ordered list following an unordered list, and the
|
558 |
+
reverse. There is now a loop in _DoList that does the two
|
559 |
+
separately.
|
560 |
+
|
561 |
+
* Fix for nested sub-lists in list-paragraph mode. Previously we got
|
562 |
+
a spurious extra level of `<p>` tags for something like this:
|
563 |
+
|
564 |
+
* this
|
565 |
+
|
566 |
+
* sub
|
567 |
+
|
568 |
+
that
|
569 |
+
|
570 |
+
* Fixed some incorrect behaviour with emphasis. This will now work
|
571 |
+
as it should:
|
572 |
+
|
573 |
+
*test **thing***
|
574 |
+
**test *thing***
|
575 |
+
***thing* test**
|
576 |
+
***thing** test*
|
577 |
+
|
578 |
+
Name: __________
|
579 |
+
Address: _______
|
580 |
+
|
581 |
+
* Correct a small bug in `_TokenizeHTML` where a Doctype declaration
|
582 |
+
was not seen as HTML.
|
583 |
+
|
584 |
+
* Major rewrite of the WordPress integration code that should
|
585 |
+
correct many problems by preventing default WordPress filters from
|
586 |
+
tampering with Markdown-formatted text. More details here:
|
587 |
+
<http://michelf.ca/weblog/2005/wordpress-text-flow-vs-markdown/>
|
588 |
+
|
589 |
+
|
590 |
+
1.0.1a (15 Apr 2005)
|
591 |
+
|
592 |
+
* Fixed an issue where PHP warnings were trigged when converting
|
593 |
+
text with list items running on PHP 4.0.6. This was comming from
|
594 |
+
the `rtrim` function which did not support the second argument
|
595 |
+
prior version 4.1. Replaced by a regular expression.
|
596 |
+
|
597 |
+
* Markdown now filter correctly post excerpts and comment
|
598 |
+
excerpts in WordPress.
|
599 |
+
|
600 |
+
* Automatic links and some code sample were "corrected" by
|
601 |
+
the balenceTag filter in WordPress meant to ensure HTML
|
602 |
+
is well formed. This new version of PHP Markdown postpone this
|
603 |
+
filter so that it runs after Markdown.
|
604 |
+
|
605 |
+
* Blockquote syntax and some code sample were stripped by
|
606 |
+
a new WordPress 1.5 filter meant to remove unwanted HTML
|
607 |
+
in comments. This new version of PHP Markdown postpone this
|
608 |
+
filter so that it runs after Markdown.
|
609 |
+
|
610 |
+
|
611 |
+
1.0.1 (16 Dec 2004):
|
612 |
+
|
613 |
+
* Changed the syntax rules for code blocks and spans. Previously,
|
614 |
+
backslash escapes for special Markdown characters were processed
|
615 |
+
everywhere other than within inline HTML tags. Now, the contents of
|
616 |
+
code blocks and spans are no longer processed for backslash escapes.
|
617 |
+
This means that code blocks and spans are now treated literally,
|
618 |
+
with no special rules to worry about regarding backslashes.
|
619 |
+
|
620 |
+
**IMPORTANT**: This breaks the syntax from all previous versions of
|
621 |
+
Markdown. Code blocks and spans involving backslash characters will
|
622 |
+
now generate different output than before.
|
623 |
+
|
624 |
+
Implementation-wise, this change was made by moving the call to
|
625 |
+
`_EscapeSpecialChars()` from the top-level `Markdown()` function to
|
626 |
+
within `_RunSpanGamut()`.
|
627 |
+
|
628 |
+
* Significants performance improvement in `_DoHeader`, `_Detab`
|
629 |
+
and `_TokenizeHTML`.
|
630 |
+
|
631 |
+
* Added `>`, `+`, and `-` to the list of backslash-escapable
|
632 |
+
characters. These should have been done when these characters
|
633 |
+
were added as unordered list item markers.
|
634 |
+
|
635 |
+
* Inline links using `<` and `>` URL delimiters weren't working:
|
636 |
+
|
637 |
+
like [this](<http://example.com/>)
|
638 |
+
|
639 |
+
Fixed by moving `_DoAutoLinks()` after `_DoAnchors()` in
|
640 |
+
`_RunSpanGamut()`.
|
641 |
+
|
642 |
+
* Fixed bug where auto-links were being processed within code spans:
|
643 |
+
|
644 |
+
like this: `<http://example.com/>`
|
645 |
+
|
646 |
+
Fixed by moving `_DoAutoLinks()` from `_RunBlockGamut()` to
|
647 |
+
`_RunSpanGamut()`.
|
648 |
+
|
649 |
+
* Sort-of fixed a bug where lines in the middle of hard-wrapped
|
650 |
+
paragraphs, which lines look like the start of a list item,
|
651 |
+
would accidentally trigger the creation of a list. E.g. a
|
652 |
+
paragraph that looked like this:
|
653 |
+
|
654 |
+
I recommend upgrading to version
|
655 |
+
8. Oops, now this line is treated
|
656 |
+
as a sub-list.
|
657 |
+
|
658 |
+
This is fixed for top-level lists, but it can still happen for
|
659 |
+
sub-lists. E.g., the following list item will not be parsed
|
660 |
+
properly:
|
661 |
+
|
662 |
+
* I recommend upgrading to version
|
663 |
+
8. Oops, now this line is treated
|
664 |
+
as a sub-list.
|
665 |
+
|
666 |
+
Given Markdown's list-creation rules, I'm not sure this can
|
667 |
+
be fixed.
|
668 |
+
|
669 |
+
* Fix for horizontal rules preceded by 2 or 3 spaces or followed by
|
670 |
+
trailing spaces and tabs.
|
671 |
+
|
672 |
+
* Standalone HTML comments are now handled; previously, they'd get
|
673 |
+
wrapped in a spurious `<p>` tag.
|
674 |
+
|
675 |
+
* `_HashHTMLBlocks()` now tolerates trailing spaces and tabs following
|
676 |
+
HTML comments and `<hr/>` tags.
|
677 |
+
|
678 |
+
* Changed special case pattern for hashing `<hr>` tags in
|
679 |
+
`_HashHTMLBlocks()` so that they must occur within three spaces
|
680 |
+
of left margin. (With 4 spaces or a tab, they should be
|
681 |
+
code blocks, but weren't before this fix.)
|
682 |
+
|
683 |
+
* Auto-linked email address can now optionally contain
|
684 |
+
a 'mailto:' protocol. I.e. these are equivalent:
|
685 |
+
|
686 |
+
<mailto:user@example.com>
|
687 |
+
<user@example.com>
|
688 |
+
|
689 |
+
* Fixed annoying bug where nested lists would wind up with
|
690 |
+
spurious (and invalid) `<p>` tags.
|
691 |
+
|
692 |
+
* Changed `_StripLinkDefinitions()` so that link definitions must
|
693 |
+
occur within three spaces of the left margin. Thus if you indent
|
694 |
+
a link definition by four spaces or a tab, it will now be a code
|
695 |
+
block.
|
696 |
+
|
697 |
+
* You can now write empty links:
|
698 |
+
|
699 |
+
[like this]()
|
700 |
+
|
701 |
+
and they'll be turned into anchor tags with empty href attributes.
|
702 |
+
This should have worked before, but didn't.
|
703 |
+
|
704 |
+
* `***this***` and `___this___` are now turned into
|
705 |
+
|
706 |
+
<strong><em>this</em></strong>
|
707 |
+
|
708 |
+
Instead of
|
709 |
+
|
710 |
+
<strong><em>this</strong></em>
|
711 |
+
|
712 |
+
which isn't valid.
|
713 |
+
|
714 |
+
* Fixed problem for links defined with urls that include parens, e.g.:
|
715 |
+
|
716 |
+
[1]: http://sources.wikipedia.org/wiki/Middle_East_Policy_(Chomsky)
|
717 |
+
|
718 |
+
"Chomsky" was being erroneously treated as the URL's title.
|
719 |
+
|
720 |
+
* Double quotes in the title of an inline link used to give strange
|
721 |
+
results (incorrectly made entities). Fixed.
|
722 |
+
|
723 |
+
* Tabs are now correctly changed into spaces. Previously, only
|
724 |
+
the first tab was converted. In code blocks, the second one was too,
|
725 |
+
but was not always correctly aligned.
|
726 |
+
|
727 |
+
* Fixed a bug where a tab character inserted after a quote on the same
|
728 |
+
line could add a slash before the quotes.
|
729 |
+
|
730 |
+
This is "before" [tab] and "after" a tab.
|
731 |
+
|
732 |
+
Previously gave this result:
|
733 |
+
|
734 |
+
<p>This is \"before\" [tab] and "after" a tab.</p>
|
735 |
+
|
736 |
+
* Removed a call to `htmlentities`. This fixes a bug where multibyte
|
737 |
+
characters present in the title of a link reference could lead to
|
738 |
+
invalid utf-8 characters.
|
739 |
+
|
740 |
+
* Changed a regular expression in `_TokenizeHTML` that could lead to
|
741 |
+
a segmentation fault with PHP 4.3.8 on Linux.
|
742 |
+
|
743 |
+
* Fixed some notices that could show up if PHP error reporting
|
744 |
+
E_NOTICE flag was set.
|
745 |
+
|
746 |
+
|
747 |
+
Copyright and License
|
748 |
+
---------------------
|
749 |
+
|
750 |
+
PHP Markdown
|
751 |
+
Copyright (c) 2004-2013 Michel Fortin
|
752 |
+
<http://michelf.ca/>
|
753 |
+
All rights reserved.
|
754 |
+
|
755 |
+
Based on Markdown
|
756 |
+
Copyright (c) 2003-2006 John Gruber
|
757 |
+
<http://daringfireball.net/>
|
758 |
+
All rights reserved.
|
759 |
+
|
760 |
+
Redistribution and use in source and binary forms, with or without
|
761 |
+
modification, are permitted provided that the following conditions are
|
762 |
+
met:
|
763 |
+
|
764 |
+
* Redistributions of source code must retain the above copyright notice,
|
765 |
+
this list of conditions and the following disclaimer.
|
766 |
+
|
767 |
+
* Redistributions in binary form must reproduce the above copyright
|
768 |
+
notice, this list of conditions and the following disclaimer in the
|
769 |
+
documentation and/or other materials provided with the distribution.
|
770 |
+
|
771 |
+
* Neither the name "Markdown" nor the names of its contributors may
|
772 |
+
be used to endorse or promote products derived from this software
|
773 |
+
without specific prior written permission.
|
774 |
+
|
775 |
+
This software is provided by the copyright holders and contributors "as
|
776 |
+
is" and any express or implied warranties, including, but not limited
|
777 |
+
to, the implied warranties of merchantability and fitness for a
|
778 |
+
particular purpose are disclaimed. In no event shall the copyright owner
|
779 |
+
or contributors be liable for any direct, indirect, incidental, special,
|
780 |
+
exemplary, or consequential damages (including, but not limited to,
|
781 |
+
procurement of substitute goods or services; loss of use, data, or
|
782 |
+
profits; or business interruption) however caused and on any theory of
|
783 |
+
liability, whether in contract, strict liability, or tort (including
|
784 |
+
negligence or otherwise) arising in any way out of the use of this
|
785 |
+
software, even if advised of the possibility of such damage.
|
classes/styles-font-menu/classes/markdown/markdown.php
ADDED
@@ -0,0 +1,1743 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
#
|
3 |
+
# Markdown - A text-to-HTML conversion tool for web writers
|
4 |
+
#
|
5 |
+
# PHP Markdown
|
6 |
+
# Copyright (c) 2004-2013 Michel Fortin
|
7 |
+
# <http://michelf.ca/projects/php-markdown/>
|
8 |
+
#
|
9 |
+
# Original Markdown
|
10 |
+
# Copyright (c) 2004-2006 John Gruber
|
11 |
+
# <http://daringfireball.net/projects/markdown/>
|
12 |
+
#
|
13 |
+
|
14 |
+
|
15 |
+
define( 'MARKDOWN_VERSION', "1.0.1q" ); # 11 Apr 2013
|
16 |
+
|
17 |
+
|
18 |
+
#
|
19 |
+
# Global default settings:
|
20 |
+
#
|
21 |
+
|
22 |
+
# Change to ">" for HTML output
|
23 |
+
@define( 'MARKDOWN_EMPTY_ELEMENT_SUFFIX', " />");
|
24 |
+
|
25 |
+
# Define the width of a tab for code blocks.
|
26 |
+
@define( 'MARKDOWN_TAB_WIDTH', 4 );
|
27 |
+
|
28 |
+
|
29 |
+
#
|
30 |
+
# WordPress settings:
|
31 |
+
#
|
32 |
+
|
33 |
+
# Change to false to remove Markdown from posts and/or comments.
|
34 |
+
@define( 'MARKDOWN_WP_POSTS', true );
|
35 |
+
@define( 'MARKDOWN_WP_COMMENTS', true );
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
### Standard Function Interface ###
|
40 |
+
|
41 |
+
@define( 'MARKDOWN_PARSER_CLASS', 'Markdown_Parser' );
|
42 |
+
|
43 |
+
function Markdown($text) {
|
44 |
+
#
|
45 |
+
# Initialize the parser and return the result of its transform method.
|
46 |
+
#
|
47 |
+
# Setup static parser variable.
|
48 |
+
static $parser;
|
49 |
+
if (!isset($parser)) {
|
50 |
+
$parser_class = MARKDOWN_PARSER_CLASS;
|
51 |
+
$parser = new $parser_class;
|
52 |
+
}
|
53 |
+
|
54 |
+
# Transform text using parser.
|
55 |
+
return $parser->transform($text);
|
56 |
+
}
|
57 |
+
|
58 |
+
|
59 |
+
### WordPress Plugin Interface ###
|
60 |
+
|
61 |
+
/*
|
62 |
+
Plugin Name: Markdown
|
63 |
+
Plugin URI: http://michelf.ca/projects/php-markdown/
|
64 |
+
Description: <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> allows you to write using an easy-to-read, easy-to-write plain text format. Based on the original Perl version by <a href="http://daringfireball.net/">John Gruber</a>. <a href="http://michelf.ca/projects/php-markdown/">More...</a>
|
65 |
+
Version: 1.0.1q
|
66 |
+
Author: Michel Fortin
|
67 |
+
Author URI: http://michelf.ca/
|
68 |
+
*/
|
69 |
+
|
70 |
+
if (isset($wp_version)) {
|
71 |
+
# More details about how it works here:
|
72 |
+
# <http://michelf.ca/weblog/2005/wordpress-text-flow-vs-markdown/>
|
73 |
+
|
74 |
+
# Post content and excerpts
|
75 |
+
# - Remove WordPress paragraph generator.
|
76 |
+
# - Run Markdown on excerpt, then remove all tags.
|
77 |
+
# - Add paragraph tag around the excerpt, but remove it for the excerpt rss.
|
78 |
+
if (MARKDOWN_WP_POSTS) {
|
79 |
+
remove_filter('the_content', 'wpautop');
|
80 |
+
remove_filter('the_content_rss', 'wpautop');
|
81 |
+
remove_filter('the_excerpt', 'wpautop');
|
82 |
+
add_filter('the_content', 'Markdown', 6);
|
83 |
+
add_filter('the_content_rss', 'Markdown', 6);
|
84 |
+
add_filter('get_the_excerpt', 'Markdown', 6);
|
85 |
+
add_filter('get_the_excerpt', 'trim', 7);
|
86 |
+
add_filter('the_excerpt', 'mdwp_add_p');
|
87 |
+
add_filter('the_excerpt_rss', 'mdwp_strip_p');
|
88 |
+
|
89 |
+
remove_filter('content_save_pre', 'balanceTags', 50);
|
90 |
+
remove_filter('excerpt_save_pre', 'balanceTags', 50);
|
91 |
+
add_filter('the_content', 'balanceTags', 50);
|
92 |
+
add_filter('get_the_excerpt', 'balanceTags', 9);
|
93 |
+
}
|
94 |
+
|
95 |
+
# Comments
|
96 |
+
# - Remove WordPress paragraph generator.
|
97 |
+
# - Remove WordPress auto-link generator.
|
98 |
+
# - Scramble important tags before passing them to the kses filter.
|
99 |
+
# - Run Markdown on excerpt then remove paragraph tags.
|
100 |
+
if (MARKDOWN_WP_COMMENTS) {
|
101 |
+
remove_filter('comment_text', 'wpautop', 30);
|
102 |
+
remove_filter('comment_text', 'make_clickable');
|
103 |
+
add_filter('pre_comment_content', 'Markdown', 6);
|
104 |
+
add_filter('pre_comment_content', 'mdwp_hide_tags', 8);
|
105 |
+
add_filter('pre_comment_content', 'mdwp_show_tags', 12);
|
106 |
+
add_filter('get_comment_text', 'Markdown', 6);
|
107 |
+
add_filter('get_comment_excerpt', 'Markdown', 6);
|
108 |
+
add_filter('get_comment_excerpt', 'mdwp_strip_p', 7);
|
109 |
+
|
110 |
+
global $mdwp_hidden_tags, $mdwp_placeholders;
|
111 |
+
$mdwp_hidden_tags = explode(' ',
|
112 |
+
'<p> </p> <pre> </pre> <ol> </ol> <ul> </ul> <li> </li>');
|
113 |
+
$mdwp_placeholders = explode(' ', str_rot13(
|
114 |
+
'pEj07ZbbBZ U1kqgh4w4p pre2zmeN6K QTi31t9pre ol0MP1jzJR '.
|
115 |
+
'ML5IjmbRol ulANi1NsGY J7zRLJqPul liA8ctl16T K9nhooUHli'));
|
116 |
+
}
|
117 |
+
|
118 |
+
function mdwp_add_p($text) {
|
119 |
+
if (!preg_match('{^$|^<(p|ul|ol|dl|pre|blockquote)>}i', $text)) {
|
120 |
+
$text = '<p>'.$text.'</p>';
|
121 |
+
$text = preg_replace('{\n{2,}}', "</p>\n\n<p>", $text);
|
122 |
+
}
|
123 |
+
return $text;
|
124 |
+
}
|
125 |
+
|
126 |
+
function mdwp_strip_p($t) { return preg_replace('{</?p>}i', '', $t); }
|
127 |
+
|
128 |
+
function mdwp_hide_tags($text) {
|
129 |
+
global $mdwp_hidden_tags, $mdwp_placeholders;
|
130 |
+
return str_replace($mdwp_hidden_tags, $mdwp_placeholders, $text);
|
131 |
+
}
|
132 |
+
function mdwp_show_tags($text) {
|
133 |
+
global $mdwp_hidden_tags, $mdwp_placeholders;
|
134 |
+
return str_replace($mdwp_placeholders, $mdwp_hidden_tags, $text);
|
135 |
+
}
|
136 |
+
}
|
137 |
+
|
138 |
+
|
139 |
+
### bBlog Plugin Info ###
|
140 |
+
|
141 |
+
function identify_modifier_markdown() {
|
142 |
+
return array(
|
143 |
+
'name' => 'markdown',
|
144 |
+
'type' => 'modifier',
|
145 |
+
'nicename' => 'Markdown',
|
146 |
+
'description' => 'A text-to-HTML conversion tool for web writers',
|
147 |
+
'authors' => 'Michel Fortin and John Gruber',
|
148 |
+
'licence' => 'BSD-like',
|
149 |
+
'version' => MARKDOWN_VERSION,
|
150 |
+
'help' => '<a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> allows you to write using an easy-to-read, easy-to-write plain text format. Based on the original Perl version by <a href="http://daringfireball.net/">John Gruber</a>. <a href="http://michelf.ca/projects/php-markdown/">More...</a>'
|
151 |
+
);
|
152 |
+
}
|
153 |
+
|
154 |
+
|
155 |
+
### Smarty Modifier Interface ###
|
156 |
+
|
157 |
+
function smarty_modifier_markdown($text) {
|
158 |
+
return Markdown($text);
|
159 |
+
}
|
160 |
+
|
161 |
+
|
162 |
+
### Textile Compatibility Mode ###
|
163 |
+
|
164 |
+
# Rename this file to "classTextile.php" and it can replace Textile everywhere.
|
165 |
+
|
166 |
+
if (strcasecmp(substr(__FILE__, -16), "classTextile.php") == 0) {
|
167 |
+
# Try to include PHP SmartyPants. Should be in the same directory.
|
168 |
+
@include_once 'smartypants.php';
|
169 |
+
# Fake Textile class. It calls Markdown instead.
|
170 |
+
class Textile {
|
171 |
+
function TextileThis($text, $lite='', $encode='') {
|
172 |
+
if ($lite == '' && $encode == '') $text = Markdown($text);
|
173 |
+
if (function_exists('SmartyPants')) $text = SmartyPants($text);
|
174 |
+
return $text;
|
175 |
+
}
|
176 |
+
# Fake restricted version: restrictions are not supported for now.
|
177 |
+
function TextileRestricted($text, $lite='', $noimage='') {
|
178 |
+
return $this->TextileThis($text, $lite);
|
179 |
+
}
|
180 |
+
# Workaround to ensure compatibility with TextPattern 4.0.3.
|
181 |
+
function blockLite($text) { return $text; }
|
182 |
+
}
|
183 |
+
}
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
#
|
188 |
+
# Markdown Parser Class
|
189 |
+
#
|
190 |
+
|
191 |
+
class Markdown_Parser {
|
192 |
+
|
193 |
+
### Configuration Variables ###
|
194 |
+
|
195 |
+
# Change to ">" for HTML output.
|
196 |
+
var $empty_element_suffix = MARKDOWN_EMPTY_ELEMENT_SUFFIX;
|
197 |
+
var $tab_width = MARKDOWN_TAB_WIDTH;
|
198 |
+
|
199 |
+
# Change to `true` to disallow markup or entities.
|
200 |
+
var $no_markup = false;
|
201 |
+
var $no_entities = false;
|
202 |
+
|
203 |
+
# Predefined urls and titles for reference links and images.
|
204 |
+
var $predef_urls = array();
|
205 |
+
var $predef_titles = array();
|
206 |
+
|
207 |
+
|
208 |
+
### Parser Implementation ###
|
209 |
+
|
210 |
+
# Regex to match balanced [brackets].
|
211 |
+
# Needed to insert a maximum bracked depth while converting to PHP.
|
212 |
+
var $nested_brackets_depth = 6;
|
213 |
+
var $nested_brackets_re;
|
214 |
+
|
215 |
+
var $nested_url_parenthesis_depth = 4;
|
216 |
+
var $nested_url_parenthesis_re;
|
217 |
+
|
218 |
+
# Table of hash values for escaped characters:
|
219 |
+
var $escape_chars = '\`*_{}[]()>#+-.!';
|
220 |
+
var $escape_chars_re;
|
221 |
+
|
222 |
+
|
223 |
+
function Markdown_Parser() {
|
224 |
+
#
|
225 |
+
# Constructor function. Initialize appropriate member variables.
|
226 |
+
#
|
227 |
+
$this->_initDetab();
|
228 |
+
$this->prepareItalicsAndBold();
|
229 |
+
|
230 |
+
$this->nested_brackets_re =
|
231 |
+
str_repeat('(?>[^\[\]]+|\[', $this->nested_brackets_depth).
|
232 |
+
str_repeat('\])*', $this->nested_brackets_depth);
|
233 |
+
|
234 |
+
$this->nested_url_parenthesis_re =
|
235 |
+
str_repeat('(?>[^()\s]+|\(', $this->nested_url_parenthesis_depth).
|
236 |
+
str_repeat('(?>\)))*', $this->nested_url_parenthesis_depth);
|
237 |
+
|
238 |
+
$this->escape_chars_re = '['.preg_quote($this->escape_chars).']';
|
239 |
+
|
240 |
+
# Sort document, block, and span gamut in ascendent priority order.
|
241 |
+
asort($this->document_gamut);
|
242 |
+
asort($this->block_gamut);
|
243 |
+
asort($this->span_gamut);
|
244 |
+
}
|
245 |
+
|
246 |
+
|
247 |
+
# Internal hashes used during transformation.
|
248 |
+
var $urls = array();
|
249 |
+
var $titles = array();
|
250 |
+
var $html_hashes = array();
|
251 |
+
|
252 |
+
# Status flag to avoid invalid nesting.
|
253 |
+
var $in_anchor = false;
|
254 |
+
|
255 |
+
|
256 |
+
function setup() {
|
257 |
+
#
|
258 |
+
# Called before the transformation process starts to setup parser
|
259 |
+
# states.
|
260 |
+
#
|
261 |
+
# Clear global hashes.
|
262 |
+
$this->urls = $this->predef_urls;
|
263 |
+
$this->titles = $this->predef_titles;
|
264 |
+
$this->html_hashes = array();
|
265 |
+
|
266 |
+
$this->in_anchor = false;
|
267 |
+
}
|
268 |
+
|
269 |
+
function teardown() {
|
270 |
+
#
|
271 |
+
# Called after the transformation process to clear any variable
|
272 |
+
# which may be taking up memory unnecessarly.
|
273 |
+
#
|
274 |
+
$this->urls = array();
|
275 |
+
$this->titles = array();
|
276 |
+
$this->html_hashes = array();
|
277 |
+
}
|
278 |
+
|
279 |
+
|
280 |
+
function transform($text) {
|
281 |
+
#
|
282 |
+
# Main function. Performs some preprocessing on the input text
|
283 |
+
# and pass it through the document gamut.
|
284 |
+
#
|
285 |
+
$this->setup();
|
286 |
+
|
287 |
+
# Remove UTF-8 BOM and marker character in input, if present.
|
288 |
+
$text = preg_replace('{^\xEF\xBB\xBF|\x1A}', '', $text);
|
289 |
+
|
290 |
+
# Standardize line endings:
|
291 |
+
# DOS to Unix and Mac to Unix
|
292 |
+
$text = preg_replace('{\r\n?}', "\n", $text);
|
293 |
+
|
294 |
+
# Make sure $text ends with a couple of newlines:
|
295 |
+
$text .= "\n\n";
|
296 |
+
|
297 |
+
# Convert all tabs to spaces.
|
298 |
+
$text = $this->detab($text);
|
299 |
+
|
300 |
+
# Turn block-level HTML blocks into hash entries
|
301 |
+
$text = $this->hashHTMLBlocks($text);
|
302 |
+
|
303 |
+
# Strip any lines consisting only of spaces and tabs.
|
304 |
+
# This makes subsequent regexen easier to write, because we can
|
305 |
+
# match consecutive blank lines with /\n+/ instead of something
|
306 |
+
# contorted like /[ ]*\n+/ .
|
307 |
+
$text = preg_replace('/^[ ]+$/m', '', $text);
|
308 |
+
|
309 |
+
# Run document gamut methods.
|
310 |
+
foreach ($this->document_gamut as $method => $priority) {
|
311 |
+
$text = $this->$method($text);
|
312 |
+
}
|
313 |
+
|
314 |
+
$this->teardown();
|
315 |
+
|
316 |
+
return $text . "\n";
|
317 |
+
}
|
318 |
+
|
319 |
+
var $document_gamut = array(
|
320 |
+
# Strip link definitions, store in hashes.
|
321 |
+
"stripLinkDefinitions" => 20,
|
322 |
+
|
323 |
+
"runBasicBlockGamut" => 30,
|
324 |
+
);
|
325 |
+
|
326 |
+
|
327 |
+
function stripLinkDefinitions($text) {
|
328 |
+
#
|
329 |
+
# Strips link definitions from text, stores the URLs and titles in
|
330 |
+
# hash references.
|
331 |
+
#
|
332 |
+
$less_than_tab = $this->tab_width - 1;
|
333 |
+
|
334 |
+
# Link defs are in the form: ^[id]: url "optional title"
|
335 |
+
$text = preg_replace_callback('{
|
336 |
+
^[ ]{0,'.$less_than_tab.'}\[(.+)\][ ]?: # id = $1
|
337 |
+
[ ]*
|
338 |
+
\n? # maybe *one* newline
|
339 |
+
[ ]*
|
340 |
+
(?:
|
341 |
+
<(.+?)> # url = $2
|
342 |
+
|
|
343 |
+
(\S+?) # url = $3
|
344 |
+
)
|
345 |
+
[ ]*
|
346 |
+
\n? # maybe one newline
|
347 |
+
[ ]*
|
348 |
+
(?:
|
349 |
+
(?<=\s) # lookbehind for whitespace
|
350 |
+
["(]
|
351 |
+
(.*?) # title = $4
|
352 |
+
[")]
|
353 |
+
[ ]*
|
354 |
+
)? # title is optional
|
355 |
+
(?:\n+|\Z)
|
356 |
+
}xm',
|
357 |
+
array(&$this, '_stripLinkDefinitions_callback'),
|
358 |
+
$text);
|
359 |
+
return $text;
|
360 |
+
}
|
361 |
+
function _stripLinkDefinitions_callback($matches) {
|
362 |
+
$link_id = strtolower($matches[1]);
|
363 |
+
$url = $matches[2] == '' ? $matches[3] : $matches[2];
|
364 |
+
$this->urls[$link_id] = $url;
|
365 |
+
$this->titles[$link_id] =& $matches[4];
|
366 |
+
return ''; # String that will replace the block
|
367 |
+
}
|
368 |
+
|
369 |
+
|
370 |
+
function hashHTMLBlocks($text) {
|
371 |
+
if ($this->no_markup) return $text;
|
372 |
+
|
373 |
+
$less_than_tab = $this->tab_width - 1;
|
374 |
+
|
375 |
+
# Hashify HTML blocks:
|
376 |
+
# We only want to do this for block-level HTML tags, such as headers,
|
377 |
+
# lists, and tables. That's because we still want to wrap <p>s around
|
378 |
+
# "paragraphs" that are wrapped in non-block-level tags, such as anchors,
|
379 |
+
# phrase emphasis, and spans. The list of tags we're looking for is
|
380 |
+
# hard-coded:
|
381 |
+
#
|
382 |
+
# * List "a" is made of tags which can be both inline or block-level.
|
383 |
+
# These will be treated block-level when the start tag is alone on
|
384 |
+
# its line, otherwise they're not matched here and will be taken as
|
385 |
+
# inline later.
|
386 |
+
# * List "b" is made of tags which are always block-level;
|
387 |
+
#
|
388 |
+
$block_tags_a_re = 'ins|del';
|
389 |
+
$block_tags_b_re = 'p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|address|'.
|
390 |
+
'script|noscript|form|fieldset|iframe|math|svg|'.
|
391 |
+
'article|section|nav|aside|hgroup|header|footer|'.
|
392 |
+
'figure';
|
393 |
+
|
394 |
+
# Regular expression for the content of a block tag.
|
395 |
+
$nested_tags_level = 4;
|
396 |
+
$attr = '
|
397 |
+
(?> # optional tag attributes
|
398 |
+
\s # starts with whitespace
|
399 |
+
(?>
|
400 |
+
[^>"/]+ # text outside quotes
|
401 |
+
|
|
402 |
+
/+(?!>) # slash not followed by ">"
|
403 |
+
|
|
404 |
+
"[^"]*" # text inside double quotes (tolerate ">")
|
405 |
+
|
|
406 |
+
\'[^\']*\' # text inside single quotes (tolerate ">")
|
407 |
+
)*
|
408 |
+
)?
|
409 |
+
';
|
410 |
+
$content =
|
411 |
+
str_repeat('
|
412 |
+
(?>
|
413 |
+
[^<]+ # content without tag
|
414 |
+
|
|
415 |
+
<\2 # nested opening tag
|
416 |
+
'.$attr.' # attributes
|
417 |
+
(?>
|
418 |
+
/>
|
419 |
+
|
|
420 |
+
>', $nested_tags_level). # end of opening tag
|
421 |
+
'.*?'. # last level nested tag content
|
422 |
+
str_repeat('
|
423 |
+
</\2\s*> # closing nested tag
|
424 |
+
)
|
425 |
+
|
|
426 |
+
<(?!/\2\s*> # other tags with a different name
|
427 |
+
)
|
428 |
+
)*',
|
429 |
+
$nested_tags_level);
|
430 |
+
$content2 = str_replace('\2', '\3', $content);
|
431 |
+
|
432 |
+
# First, look for nested blocks, e.g.:
|
433 |
+
# <div>
|
434 |
+
# <div>
|
435 |
+
# tags for inner block must be indented.
|
436 |
+
# </div>
|
437 |
+
# </div>
|
438 |
+
#
|
439 |
+
# The outermost tags must start at the left margin for this to match, and
|
440 |
+
# the inner nested divs must be indented.
|
441 |
+
# We need to do this before the next, more liberal match, because the next
|
442 |
+
# match will start at the first `<div>` and stop at the first `</div>`.
|
443 |
+
$text = preg_replace_callback('{(?>
|
444 |
+
(?>
|
445 |
+
(?<=\n\n) # Starting after a blank line
|
446 |
+
| # or
|
447 |
+
\A\n? # the beginning of the doc
|
448 |
+
)
|
449 |
+
( # save in $1
|
450 |
+
|
451 |
+
# Match from `\n<tag>` to `</tag>\n`, handling nested tags
|
452 |
+
# in between.
|
453 |
+
|
454 |
+
[ ]{0,'.$less_than_tab.'}
|
455 |
+
<('.$block_tags_b_re.')# start tag = $2
|
456 |
+
'.$attr.'> # attributes followed by > and \n
|
457 |
+
'.$content.' # content, support nesting
|
458 |
+
</\2> # the matching end tag
|
459 |
+
[ ]* # trailing spaces/tabs
|
460 |
+
(?=\n+|\Z) # followed by a newline or end of document
|
461 |
+
|
462 |
+
| # Special version for tags of group a.
|
463 |
+
|
464 |
+
[ ]{0,'.$less_than_tab.'}
|
465 |
+
<('.$block_tags_a_re.')# start tag = $3
|
466 |
+
'.$attr.'>[ ]*\n # attributes followed by >
|
467 |
+
'.$content2.' # content, support nesting
|
468 |
+
</\3> # the matching end tag
|
469 |
+
[ ]* # trailing spaces/tabs
|
470 |
+
(?=\n+|\Z) # followed by a newline or end of document
|
471 |
+
|
472 |
+
| # Special case just for <hr />. It was easier to make a special
|
473 |
+
# case than to make the other regex more complicated.
|
474 |
+
|
475 |
+
[ ]{0,'.$less_than_tab.'}
|
476 |
+
<(hr) # start tag = $2
|
477 |
+
'.$attr.' # attributes
|
478 |
+
/?> # the matching end tag
|
479 |
+
[ ]*
|
480 |
+
(?=\n{2,}|\Z) # followed by a blank line or end of document
|
481 |
+
|
482 |
+
| # Special case for standalone HTML comments:
|
483 |
+
|
484 |
+
[ ]{0,'.$less_than_tab.'}
|
485 |
+
(?s:
|
486 |
+
<!-- .*? -->
|
487 |
+
)
|
488 |
+
[ ]*
|
489 |
+
(?=\n{2,}|\Z) # followed by a blank line or end of document
|
490 |
+
|
491 |
+
| # PHP and ASP-style processor instructions (<? and <%)
|
492 |
+
|
493 |
+
[ ]{0,'.$less_than_tab.'}
|
494 |
+
(?s:
|
495 |
+
<([?%]) # $2
|
496 |
+
.*?
|
497 |
+
\2>
|
498 |
+
)
|
499 |
+
[ ]*
|
500 |
+
(?=\n{2,}|\Z) # followed by a blank line or end of document
|
501 |
+
|
502 |
+
)
|
503 |
+
)}Sxmi',
|
504 |
+
array(&$this, '_hashHTMLBlocks_callback'),
|
505 |
+
$text);
|
506 |
+
|
507 |
+
return $text;
|
508 |
+
}
|
509 |
+
function _hashHTMLBlocks_callback($matches) {
|
510 |
+
$text = $matches[1];
|
511 |
+
$key = $this->hashBlock($text);
|
512 |
+
return "\n\n$key\n\n";
|
513 |
+
}
|
514 |
+
|
515 |
+
|
516 |
+
function hashPart($text, $boundary = 'X') {
|
517 |
+
#
|
518 |
+
# Called whenever a tag must be hashed when a function insert an atomic
|
519 |
+
# element in the text stream. Passing $text to through this function gives
|
520 |
+
# a unique text-token which will be reverted back when calling unhash.
|
521 |
+
#
|
522 |
+
# The $boundary argument specify what character should be used to surround
|
523 |
+
# the token. By convension, "B" is used for block elements that needs not
|
524 |
+
# to be wrapped into paragraph tags at the end, ":" is used for elements
|
525 |
+
# that are word separators and "X" is used in the general case.
|
526 |
+
#
|
527 |
+
# Swap back any tag hash found in $text so we do not have to `unhash`
|
528 |
+
# multiple times at the end.
|
529 |
+
$text = $this->unhash($text);
|
530 |
+
|
531 |
+
# Then hash the block.
|
532 |
+
static $i = 0;
|
533 |
+
$key = "$boundary\x1A" . ++$i . $boundary;
|
534 |
+
$this->html_hashes[$key] = $text;
|
535 |
+
return $key; # String that will replace the tag.
|
536 |
+
}
|
537 |
+
|
538 |
+
|
539 |
+
function hashBlock($text) {
|
540 |
+
#
|
541 |
+
# Shortcut function for hashPart with block-level boundaries.
|
542 |
+
#
|
543 |
+
return $this->hashPart($text, 'B');
|
544 |
+
}
|
545 |
+
|
546 |
+
|
547 |
+
var $block_gamut = array(
|
548 |
+
#
|
549 |
+
# These are all the transformations that form block-level
|
550 |
+
# tags like paragraphs, headers, and list items.
|
551 |
+
#
|
552 |
+
"doHeaders" => 10,
|
553 |
+
"doHorizontalRules" => 20,
|
554 |
+
|
555 |
+
"doLists" => 40,
|
556 |
+
"doCodeBlocks" => 50,
|
557 |
+
"doBlockQuotes" => 60,
|
558 |
+
);
|
559 |
+
|
560 |
+
function runBlockGamut($text) {
|
561 |
+
#
|
562 |
+
# Run block gamut tranformations.
|
563 |
+
#
|
564 |
+
# We need to escape raw HTML in Markdown source before doing anything
|
565 |
+
# else. This need to be done for each block, and not only at the
|
566 |
+
# begining in the Markdown function since hashed blocks can be part of
|
567 |
+
# list items and could have been indented. Indented blocks would have
|
568 |
+
# been seen as a code block in a previous pass of hashHTMLBlocks.
|
569 |
+
$text = $this->hashHTMLBlocks($text);
|
570 |
+
|
571 |
+
return $this->runBasicBlockGamut($text);
|
572 |
+
}
|
573 |
+
|
574 |
+
function runBasicBlockGamut($text) {
|
575 |
+
#
|
576 |
+
# Run block gamut tranformations, without hashing HTML blocks. This is
|
577 |
+
# useful when HTML blocks are known to be already hashed, like in the first
|
578 |
+
# whole-document pass.
|
579 |
+
#
|
580 |
+
foreach ($this->block_gamut as $method => $priority) {
|
581 |
+
$text = $this->$method($text);
|
582 |
+
}
|
583 |
+
|
584 |
+
# Finally form paragraph and restore hashed blocks.
|
585 |
+
$text = $this->formParagraphs($text);
|
586 |
+
|
587 |
+
return $text;
|
588 |
+
}
|
589 |
+
|
590 |
+
|
591 |
+
function doHorizontalRules($text) {
|
592 |
+
# Do Horizontal Rules:
|
593 |
+
return preg_replace(
|
594 |
+
'{
|
595 |
+
^[ ]{0,3} # Leading space
|
596 |
+
([-*_]) # $1: First marker
|
597 |
+
(?> # Repeated marker group
|
598 |
+
[ ]{0,2} # Zero, one, or two spaces.
|
599 |
+
\1 # Marker character
|
600 |
+
){2,} # Group repeated at least twice
|
601 |
+
[ ]* # Tailing spaces
|
602 |
+
$ # End of line.
|
603 |
+
}mx',
|
604 |
+
"\n".$this->hashBlock("<hr$this->empty_element_suffix")."\n",
|
605 |
+
$text);
|
606 |
+
}
|
607 |
+
|
608 |
+
|
609 |
+
var $span_gamut = array(
|
610 |
+
#
|
611 |
+
# These are all the transformations that occur *within* block-level
|
612 |
+
# tags like paragraphs, headers, and list items.
|
613 |
+
#
|
614 |
+
# Process character escapes, code spans, and inline HTML
|
615 |
+
# in one shot.
|
616 |
+
"parseSpan" => -30,
|
617 |
+
|
618 |
+
# Process anchor and image tags. Images must come first,
|
619 |
+
# because ![foo][f] looks like an anchor.
|
620 |
+
"doImages" => 10,
|
621 |
+
"doAnchors" => 20,
|
622 |
+
|
623 |
+
# Make links out of things like `<http://example.com/>`
|
624 |
+
# Must come after doAnchors, because you can use < and >
|
625 |
+
# delimiters in inline links like [this](<url>).
|
626 |
+
"doAutoLinks" => 30,
|
627 |
+
"encodeAmpsAndAngles" => 40,
|
628 |
+
|
629 |
+
"doItalicsAndBold" => 50,
|
630 |
+
"doHardBreaks" => 60,
|
631 |
+
);
|
632 |
+
|
633 |
+
function runSpanGamut($text) {
|
634 |
+
#
|
635 |
+
# Run span gamut tranformations.
|
636 |
+
#
|
637 |
+
foreach ($this->span_gamut as $method => $priority) {
|
638 |
+
$text = $this->$method($text);
|
639 |
+
}
|
640 |
+
|
641 |
+
return $text;
|
642 |
+
}
|
643 |
+
|
644 |
+
|
645 |
+
function doHardBreaks($text) {
|
646 |
+
# Do hard breaks:
|
647 |
+
return preg_replace_callback('/ {2,}\n/',
|
648 |
+
array(&$this, '_doHardBreaks_callback'), $text);
|
649 |
+
}
|
650 |
+
function _doHardBreaks_callback($matches) {
|
651 |
+
return $this->hashPart("<br$this->empty_element_suffix\n");
|
652 |
+
}
|
653 |
+
|
654 |
+
|
655 |
+
function doAnchors($text) {
|
656 |
+
#
|
657 |
+
# Turn Markdown link shortcuts into XHTML <a> tags.
|
658 |
+
#
|
659 |
+
if ($this->in_anchor) return $text;
|
660 |
+
$this->in_anchor = true;
|
661 |
+
|
662 |
+
#
|
663 |
+
# First, handle reference-style links: [link text] [id]
|
664 |
+
#
|
665 |
+
$text = preg_replace_callback('{
|
666 |
+
( # wrap whole match in $1
|
667 |
+
\[
|
668 |
+
('.$this->nested_brackets_re.') # link text = $2
|
669 |
+
\]
|
670 |
+
|
671 |
+
[ ]? # one optional space
|
672 |
+
(?:\n[ ]*)? # one optional newline followed by spaces
|
673 |
+
|
674 |
+
\[
|
675 |
+
(.*?) # id = $3
|
676 |
+
\]
|
677 |
+
)
|
678 |
+
}xs',
|
679 |
+
array(&$this, '_doAnchors_reference_callback'), $text);
|
680 |
+
|
681 |
+
#
|
682 |
+
# Next, inline-style links: [link text](url "optional title")
|
683 |
+
#
|
684 |
+
$text = preg_replace_callback('{
|
685 |
+
( # wrap whole match in $1
|
686 |
+
\[
|
687 |
+
('.$this->nested_brackets_re.') # link text = $2
|
688 |
+
\]
|
689 |
+
\( # literal paren
|
690 |
+
[ \n]*
|
691 |
+
(?:
|
692 |
+
<(.+?)> # href = $3
|
693 |
+
|
|
694 |
+
('.$this->nested_url_parenthesis_re.') # href = $4
|
695 |
+
)
|
696 |
+
[ \n]*
|
697 |
+
( # $5
|
698 |
+
([\'"]) # quote char = $6
|
699 |
+
(.*?) # Title = $7
|
700 |
+
\6 # matching quote
|
701 |
+
[ \n]* # ignore any spaces/tabs between closing quote and )
|
702 |
+
)? # title is optional
|
703 |
+
\)
|
704 |
+
)
|
705 |
+
}xs',
|
706 |
+
array(&$this, '_doAnchors_inline_callback'), $text);
|
707 |
+
|
708 |
+
#
|
709 |
+
# Last, handle reference-style shortcuts: [link text]
|
710 |
+
# These must come last in case you've also got [link text][1]
|
711 |
+
# or [link text](/foo)
|
712 |
+
#
|
713 |
+
$text = preg_replace_callback('{
|
714 |
+
( # wrap whole match in $1
|
715 |
+
\[
|
716 |
+
([^\[\]]+) # link text = $2; can\'t contain [ or ]
|
717 |
+
\]
|
718 |
+
)
|
719 |
+
}xs',
|
720 |
+
array(&$this, '_doAnchors_reference_callback'), $text);
|
721 |
+
|
722 |
+
$this->in_anchor = false;
|
723 |
+
return $text;
|
724 |
+
}
|
725 |
+
function _doAnchors_reference_callback($matches) {
|
726 |
+
$whole_match = $matches[1];
|
727 |
+
$link_text = $matches[2];
|
728 |
+
$link_id =& $matches[3];
|
729 |
+
|
730 |
+
if ($link_id == "") {
|
731 |
+
# for shortcut links like [this][] or [this].
|
732 |
+
$link_id = $link_text;
|
733 |
+
}
|
734 |
+
|
735 |
+
# lower-case and turn embedded newlines into spaces
|
736 |
+
$link_id = strtolower($link_id);
|
737 |
+
$link_id = preg_replace('{[ ]?\n}', ' ', $link_id);
|
738 |
+
|
739 |
+
if (isset($this->urls[$link_id])) {
|
740 |
+
$url = $this->urls[$link_id];
|
741 |
+
$url = $this->encodeAttribute($url);
|
742 |
+
|
743 |
+
$result = "<a href=\"$url\"";
|
744 |
+
if ( isset( $this->titles[$link_id] ) ) {
|
745 |
+
$title = $this->titles[$link_id];
|
746 |
+
$title = $this->encodeAttribute($title);
|
747 |
+
$result .= " title=\"$title\"";
|
748 |
+
}
|
749 |
+
|
750 |
+
$link_text = $this->runSpanGamut($link_text);
|
751 |
+
$result .= ">$link_text</a>";
|
752 |
+
$result = $this->hashPart($result);
|
753 |
+
}
|
754 |
+
else {
|
755 |
+
$result = $whole_match;
|
756 |
+
}
|
757 |
+
return $result;
|
758 |
+
}
|
759 |
+
function _doAnchors_inline_callback($matches) {
|
760 |
+
$whole_match = $matches[1];
|
761 |
+
$link_text = $this->runSpanGamut($matches[2]);
|
762 |
+
$url = $matches[3] == '' ? $matches[4] : $matches[3];
|
763 |
+
$title =& $matches[7];
|
764 |
+
|
765 |
+
$url = $this->encodeAttribute($url);
|
766 |
+
|
767 |
+
$result = "<a href=\"$url\"";
|
768 |
+
if (isset($title)) {
|
769 |
+
$title = $this->encodeAttribute($title);
|
770 |
+
$result .= " title=\"$title\"";
|
771 |
+
}
|
772 |
+
|
773 |
+
$link_text = $this->runSpanGamut($link_text);
|
774 |
+
$result .= ">$link_text</a>";
|
775 |
+
|
776 |
+
return $this->hashPart($result);
|
777 |
+
}
|
778 |
+
|
779 |
+
|
780 |
+
function doImages($text) {
|
781 |
+
#
|
782 |
+
# Turn Markdown image shortcuts into <img> tags.
|
783 |
+
#
|
784 |
+
#
|
785 |
+
# First, handle reference-style labeled images: ![alt text][id]
|
786 |
+
#
|
787 |
+
$text = preg_replace_callback('{
|
788 |
+
( # wrap whole match in $1
|
789 |
+
!\[
|
790 |
+
('.$this->nested_brackets_re.') # alt text = $2
|
791 |
+
\]
|
792 |
+
|
793 |
+
[ ]? # one optional space
|
794 |
+
(?:\n[ ]*)? # one optional newline followed by spaces
|
795 |
+
|
796 |
+
\[
|
797 |
+
(.*?) # id = $3
|
798 |
+
\]
|
799 |
+
|
800 |
+
)
|
801 |
+
}xs',
|
802 |
+
array(&$this, '_doImages_reference_callback'), $text);
|
803 |
+
|
804 |
+
#
|
805 |
+
# Next, handle inline images: ![alt text](url "optional title")
|
806 |
+
# Don't forget: encode * and _
|
807 |
+
#
|
808 |
+
$text = preg_replace_callback('{
|
809 |
+
( # wrap whole match in $1
|
810 |
+
!\[
|
811 |
+
('.$this->nested_brackets_re.') # alt text = $2
|
812 |
+
\]
|
813 |
+
\s? # One optional whitespace character
|
814 |
+
\( # literal paren
|
815 |
+
[ \n]*
|
816 |
+
(?:
|
817 |
+
<(\S*)> # src url = $3
|
818 |
+
|
|
819 |
+
('.$this->nested_url_parenthesis_re.') # src url = $4
|
820 |
+
)
|
821 |
+
[ \n]*
|
822 |
+
( # $5
|
823 |
+
([\'"]) # quote char = $6
|
824 |
+
(.*?) # title = $7
|
825 |
+
\6 # matching quote
|
826 |
+
[ \n]*
|
827 |
+
)? # title is optional
|
828 |
+
\)
|
829 |
+
)
|
830 |
+
}xs',
|
831 |
+
array(&$this, '_doImages_inline_callback'), $text);
|
832 |
+
|
833 |
+
return $text;
|
834 |
+
}
|
835 |
+
function _doImages_reference_callback($matches) {
|
836 |
+
$whole_match = $matches[1];
|
837 |
+
$alt_text = $matches[2];
|
838 |
+
$link_id = strtolower($matches[3]);
|
839 |
+
|
840 |
+
if ($link_id == "") {
|
841 |
+
$link_id = strtolower($alt_text); # for shortcut links like ![this][].
|
842 |
+
}
|
843 |
+
|
844 |
+
$alt_text = $this->encodeAttribute($alt_text);
|
845 |
+
if (isset($this->urls[$link_id])) {
|
846 |
+
$url = $this->encodeAttribute($this->urls[$link_id]);
|
847 |
+
$result = "<img src=\"$url\" alt=\"$alt_text\"";
|
848 |
+
if (isset($this->titles[$link_id])) {
|
849 |
+
$title = $this->titles[$link_id];
|
850 |
+
$title = $this->encodeAttribute($title);
|
851 |
+
$result .= " title=\"$title\"";
|
852 |
+
}
|
853 |
+
$result .= $this->empty_element_suffix;
|
854 |
+
$result = $this->hashPart($result);
|
855 |
+
}
|
856 |
+
else {
|
857 |
+
# If there's no such link ID, leave intact:
|
858 |
+
$result = $whole_match;
|
859 |
+
}
|
860 |
+
|
861 |
+
return $result;
|
862 |
+
}
|
863 |
+
function _doImages_inline_callback($matches) {
|
864 |
+
$whole_match = $matches[1];
|
865 |
+
$alt_text = $matches[2];
|
866 |
+
$url = $matches[3] == '' ? $matches[4] : $matches[3];
|
867 |
+
$title =& $matches[7];
|
868 |
+
|
869 |
+
$alt_text = $this->encodeAttribute($alt_text);
|
870 |
+
$url = $this->encodeAttribute($url);
|
871 |
+
$result = "<img src=\"$url\" alt=\"$alt_text\"";
|
872 |
+
if (isset($title)) {
|
873 |
+
$title = $this->encodeAttribute($title);
|
874 |
+
$result .= " title=\"$title\""; # $title already quoted
|
875 |
+
}
|
876 |
+
$result .= $this->empty_element_suffix;
|
877 |
+
|
878 |
+
return $this->hashPart($result);
|
879 |
+
}
|
880 |
+
|
881 |
+
|
882 |
+
function doHeaders($text) {
|
883 |
+
# Setext-style headers:
|
884 |
+
# Header 1
|
885 |
+
# ========
|
886 |
+
#
|
887 |
+
# Header 2
|
888 |
+
# --------
|
889 |
+
#
|
890 |
+
$text = preg_replace_callback('{ ^(.+?)[ ]*\n(=+|-+)[ ]*\n+ }mx',
|
891 |
+
array(&$this, '_doHeaders_callback_setext'), $text);
|
892 |
+
|
893 |
+
# atx-style headers:
|
894 |
+
# # Header 1
|
895 |
+
# ## Header 2
|
896 |
+
# ## Header 2 with closing hashes ##
|
897 |
+
# ...
|
898 |
+
# ###### Header 6
|
899 |
+
#
|
900 |
+
$text = preg_replace_callback('{
|
901 |
+
^(\#{1,6}) # $1 = string of #\'s
|
902 |
+
[ ]*
|
903 |
+
(.+?) # $2 = Header text
|
904 |
+
[ ]*
|
905 |
+
\#* # optional closing #\'s (not counted)
|
906 |
+
\n+
|
907 |
+
}xm',
|
908 |
+
array(&$this, '_doHeaders_callback_atx'), $text);
|
909 |
+
|
910 |
+
return $text;
|
911 |
+
}
|
912 |
+
function _doHeaders_callback_setext($matches) {
|
913 |
+
# Terrible hack to check we haven't found an empty list item.
|
914 |
+
if ($matches[2] == '-' && preg_match('{^-(?: |$)}', $matches[1]))
|
915 |
+
return $matches[0];
|
916 |
+
|
917 |
+
$level = $matches[2]{0} == '=' ? 1 : 2;
|
918 |
+
$block = "<h$level>".$this->runSpanGamut($matches[1])."</h$level>";
|
919 |
+
return "\n" . $this->hashBlock($block) . "\n\n";
|
920 |
+
}
|
921 |
+
function _doHeaders_callback_atx($matches) {
|
922 |
+
$level = strlen($matches[1]);
|
923 |
+
$block = "<h$level>".$this->runSpanGamut($matches[2])."</h$level>";
|
924 |
+
return "\n" . $this->hashBlock($block) . "\n\n";
|
925 |
+
}
|
926 |
+
|
927 |
+
|
928 |
+
function doLists($text) {
|
929 |
+
#
|
930 |
+
# Form HTML ordered (numbered) and unordered (bulleted) lists.
|
931 |
+
#
|
932 |
+
$less_than_tab = $this->tab_width - 1;
|
933 |
+
|
934 |
+
# Re-usable patterns to match list item bullets and number markers:
|
935 |
+
$marker_ul_re = '[*+-]';
|
936 |
+
$marker_ol_re = '\d+[\.]';
|
937 |
+
$marker_any_re = "(?:$marker_ul_re|$marker_ol_re)";
|
938 |
+
|
939 |
+
$markers_relist = array(
|
940 |
+
$marker_ul_re => $marker_ol_re,
|
941 |
+
$marker_ol_re => $marker_ul_re,
|
942 |
+
);
|
943 |
+
|
944 |
+
foreach ($markers_relist as $marker_re => $other_marker_re) {
|
945 |
+
# Re-usable pattern to match any entirel ul or ol list:
|
946 |
+
$whole_list_re = '
|
947 |
+
( # $1 = whole list
|
948 |
+
( # $2
|
949 |
+
([ ]{0,'.$less_than_tab.'}) # $3 = number of spaces
|
950 |
+
('.$marker_re.') # $4 = first list item marker
|
951 |
+
[ ]+
|
952 |
+
)
|
953 |
+
(?s:.+?)
|
954 |
+
( # $5
|
955 |
+
\z
|
956 |
+
|
|
957 |
+
\n{2,}
|
958 |
+
(?=\S)
|
959 |
+
(?! # Negative lookahead for another list item marker
|
960 |
+
[ ]*
|
961 |
+
'.$marker_re.'[ ]+
|
962 |
+
)
|
963 |
+
|
|
964 |
+
(?= # Lookahead for another kind of list
|
965 |
+
\n
|
966 |
+
\3 # Must have the same indentation
|
967 |
+
'.$other_marker_re.'[ ]+
|
968 |
+
)
|
969 |
+
)
|
970 |
+
)
|
971 |
+
'; // mx
|
972 |
+
|
973 |
+
# We use a different prefix before nested lists than top-level lists.
|
974 |
+
# See extended comment in _ProcessListItems().
|
975 |
+
|
976 |
+
if ($this->list_level) {
|
977 |
+
$text = preg_replace_callback('{
|
978 |
+
^
|
979 |
+
'.$whole_list_re.'
|
980 |
+
}mx',
|
981 |
+
array(&$this, '_doLists_callback'), $text);
|
982 |
+
}
|
983 |
+
else {
|
984 |
+
$text = preg_replace_callback('{
|
985 |
+
(?:(?<=\n)\n|\A\n?) # Must eat the newline
|
986 |
+
'.$whole_list_re.'
|
987 |
+
}mx',
|
988 |
+
array(&$this, '_doLists_callback'), $text);
|
989 |
+
}
|
990 |
+
}
|
991 |
+
|
992 |
+
return $text;
|
993 |
+
}
|
994 |
+
function _doLists_callback($matches) {
|
995 |
+
# Re-usable patterns to match list item bullets and number markers:
|
996 |
+
$marker_ul_re = '[*+-]';
|
997 |
+
$marker_ol_re = '\d+[\.]';
|
998 |
+
$marker_any_re = "(?:$marker_ul_re|$marker_ol_re)";
|
999 |
+
|
1000 |
+
$list = $matches[1];
|
1001 |
+
$list_type = preg_match("/$marker_ul_re/", $matches[4]) ? "ul" : "ol";
|
1002 |
+
|
1003 |
+
$marker_any_re = ( $list_type == "ul" ? $marker_ul_re : $marker_ol_re );
|
1004 |
+
|
1005 |
+
$list .= "\n";
|
1006 |
+
$result = $this->processListItems($list, $marker_any_re);
|
1007 |
+
|
1008 |
+
$result = $this->hashBlock("<$list_type>\n" . $result . "</$list_type>");
|
1009 |
+
return "\n". $result ."\n\n";
|
1010 |
+
}
|
1011 |
+
|
1012 |
+
var $list_level = 0;
|
1013 |
+
|
1014 |
+
function processListItems($list_str, $marker_any_re) {
|
1015 |
+
#
|
1016 |
+
# Process the contents of a single ordered or unordered list, splitting it
|
1017 |
+
# into individual list items.
|
1018 |
+
#
|
1019 |
+
# The $this->list_level global keeps track of when we're inside a list.
|
1020 |
+
# Each time we enter a list, we increment it; when we leave a list,
|
1021 |
+
# we decrement. If it's zero, we're not in a list anymore.
|
1022 |
+
#
|
1023 |
+
# We do this because when we're not inside a list, we want to treat
|
1024 |
+
# something like this:
|
1025 |
+
#
|
1026 |
+
# I recommend upgrading to version
|
1027 |
+
# 8. Oops, now this line is treated
|
1028 |
+
# as a sub-list.
|
1029 |
+
#
|
1030 |
+
# As a single paragraph, despite the fact that the second line starts
|
1031 |
+
# with a digit-period-space sequence.
|
1032 |
+
#
|
1033 |
+
# Whereas when we're inside a list (or sub-list), that line will be
|
1034 |
+
# treated as the start of a sub-list. What a kludge, huh? This is
|
1035 |
+
# an aspect of Markdown's syntax that's hard to parse perfectly
|
1036 |
+
# without resorting to mind-reading. Perhaps the solution is to
|
1037 |
+
# change the syntax rules such that sub-lists must start with a
|
1038 |
+
# starting cardinal number; e.g. "1." or "a.".
|
1039 |
+
|
1040 |
+
$this->list_level++;
|
1041 |
+
|
1042 |
+
# trim trailing blank lines:
|
1043 |
+
$list_str = preg_replace("/\n{2,}\\z/", "\n", $list_str);
|
1044 |
+
|
1045 |
+
$list_str = preg_replace_callback('{
|
1046 |
+
(\n)? # leading line = $1
|
1047 |
+
(^[ ]*) # leading whitespace = $2
|
1048 |
+
('.$marker_any_re.' # list marker and space = $3
|
1049 |
+
(?:[ ]+|(?=\n)) # space only required if item is not empty
|
1050 |
+
)
|
1051 |
+
((?s:.*?)) # list item text = $4
|
1052 |
+
(?:(\n+(?=\n))|\n) # tailing blank line = $5
|
1053 |
+
(?= \n* (\z | \2 ('.$marker_any_re.') (?:[ ]+|(?=\n))))
|
1054 |
+
}xm',
|
1055 |
+
array(&$this, '_processListItems_callback'), $list_str);
|
1056 |
+
|
1057 |
+
$this->list_level--;
|
1058 |
+
return $list_str;
|
1059 |
+
}
|
1060 |
+
function _processListItems_callback($matches) {
|
1061 |
+
$item = $matches[4];
|
1062 |
+
$leading_line =& $matches[1];
|
1063 |
+
$leading_space =& $matches[2];
|
1064 |
+
$marker_space = $matches[3];
|
1065 |
+
$tailing_blank_line =& $matches[5];
|
1066 |
+
|
1067 |
+
if ($leading_line || $tailing_blank_line ||
|
1068 |
+
preg_match('/\n{2,}/', $item))
|
1069 |
+
{
|
1070 |
+
# Replace marker with the appropriate whitespace indentation
|
1071 |
+
$item = $leading_space . str_repeat(' ', strlen($marker_space)) . $item;
|
1072 |
+
$item = $this->runBlockGamut($this->outdent($item)."\n");
|
1073 |
+
}
|
1074 |
+
else {
|
1075 |
+
# Recursion for sub-lists:
|
1076 |
+
$item = $this->doLists($this->outdent($item));
|
1077 |
+
$item = preg_replace('/\n+$/', '', $item);
|
1078 |
+
$item = $this->runSpanGamut($item);
|
1079 |
+
}
|
1080 |
+
|
1081 |
+
return "<li>" . $item . "</li>\n";
|
1082 |
+
}
|
1083 |
+
|
1084 |
+
|
1085 |
+
function doCodeBlocks($text) {
|
1086 |
+
#
|
1087 |
+
# Process Markdown `<pre><code>` blocks.
|
1088 |
+
#
|
1089 |
+
$text = preg_replace_callback('{
|
1090 |
+
(?:\n\n|\A\n?)
|
1091 |
+
( # $1 = the code block -- one or more lines, starting with a space/tab
|
1092 |
+
(?>
|
1093 |
+
[ ]{'.$this->tab_width.'} # Lines must start with a tab or a tab-width of spaces
|
1094 |
+
.*\n+
|
1095 |
+
)+
|
1096 |
+
)
|
1097 |
+
((?=^[ ]{0,'.$this->tab_width.'}\S)|\Z) # Lookahead for non-space at line-start, or end of doc
|
1098 |
+
}xm',
|
1099 |
+
array(&$this, '_doCodeBlocks_callback'), $text);
|
1100 |
+
|
1101 |
+
return $text;
|
1102 |
+
}
|
1103 |
+
function _doCodeBlocks_callback($matches) {
|
1104 |
+
$codeblock = $matches[1];
|
1105 |
+
|
1106 |
+
$codeblock = $this->outdent($codeblock);
|
1107 |
+
$codeblock = htmlspecialchars($codeblock, ENT_NOQUOTES);
|
1108 |
+
|
1109 |
+
# trim leading newlines and trailing newlines
|
1110 |
+
$codeblock = preg_replace('/\A\n+|\n+\z/', '', $codeblock);
|
1111 |
+
|
1112 |
+
$codeblock = "<pre><code>$codeblock\n</code></pre>";
|
1113 |
+
return "\n\n".$this->hashBlock($codeblock)."\n\n";
|
1114 |
+
}
|
1115 |
+
|
1116 |
+
|
1117 |
+
function makeCodeSpan($code) {
|
1118 |
+
#
|
1119 |
+
# Create a code span markup for $code. Called from handleSpanToken.
|
1120 |
+
#
|
1121 |
+
$code = htmlspecialchars(trim($code), ENT_NOQUOTES);
|
1122 |
+
return $this->hashPart("<code>$code</code>");
|
1123 |
+
}
|
1124 |
+
|
1125 |
+
|
1126 |
+
var $em_relist = array(
|
1127 |
+
'' => '(?:(?<!\*)\*(?!\*)|(?<!_)_(?!_))(?=\S|$)(?![\.,:;]\s)',
|
1128 |
+
'*' => '(?<=\S|^)(?<!\*)\*(?!\*)',
|
1129 |
+
'_' => '(?<=\S|^)(?<!_)_(?!_)',
|
1130 |
+
);
|
1131 |
+
var $strong_relist = array(
|
1132 |
+
'' => '(?:(?<!\*)\*\*(?!\*)|(?<!_)__(?!_))(?=\S|$)(?![\.,:;]\s)',
|
1133 |
+
'**' => '(?<=\S|^)(?<!\*)\*\*(?!\*)',
|
1134 |
+
'__' => '(?<=\S|^)(?<!_)__(?!_)',
|
1135 |
+
);
|
1136 |
+
var $em_strong_relist = array(
|
1137 |
+
'' => '(?:(?<!\*)\*\*\*(?!\*)|(?<!_)___(?!_))(?=\S|$)(?![\.,:;]\s)',
|
1138 |
+
'***' => '(?<=\S|^)(?<!\*)\*\*\*(?!\*)',
|
1139 |
+
'___' => '(?<=\S|^)(?<!_)___(?!_)',
|
1140 |
+
);
|
1141 |
+
var $em_strong_prepared_relist;
|
1142 |
+
|
1143 |
+
function prepareItalicsAndBold() {
|
1144 |
+
#
|
1145 |
+
# Prepare regular expressions for searching emphasis tokens in any
|
1146 |
+
# context.
|
1147 |
+
#
|
1148 |
+
foreach ($this->em_relist as $em => $em_re) {
|
1149 |
+
foreach ($this->strong_relist as $strong => $strong_re) {
|
1150 |
+
# Construct list of allowed token expressions.
|
1151 |
+
$token_relist = array();
|
1152 |
+
if (isset($this->em_strong_relist["$em$strong"])) {
|
1153 |
+
$token_relist[] = $this->em_strong_relist["$em$strong"];
|
1154 |
+
}
|
1155 |
+
$token_relist[] = $em_re;
|
1156 |
+
$token_relist[] = $strong_re;
|
1157 |
+
|
1158 |
+
# Construct master expression from list.
|
1159 |
+
$token_re = '{('. implode('|', $token_relist) .')}';
|
1160 |
+
$this->em_strong_prepared_relist["$em$strong"] = $token_re;
|
1161 |
+
}
|
1162 |
+
}
|
1163 |
+
}
|
1164 |
+
|
1165 |
+
function doItalicsAndBold($text) {
|
1166 |
+
$token_stack = array('');
|
1167 |
+
$text_stack = array('');
|
1168 |
+
$em = '';
|
1169 |
+
$strong = '';
|
1170 |
+
$tree_char_em = false;
|
1171 |
+
|
1172 |
+
while (1) {
|
1173 |
+
#
|
1174 |
+
# Get prepared regular expression for seraching emphasis tokens
|
1175 |
+
# in current context.
|
1176 |
+
#
|
1177 |
+
$token_re = $this->em_strong_prepared_relist["$em$strong"];
|
1178 |
+
|
1179 |
+
#
|
1180 |
+
# Each loop iteration search for the next emphasis token.
|
1181 |
+
# Each token is then passed to handleSpanToken.
|
1182 |
+
#
|
1183 |
+
$parts = preg_split($token_re, $text, 2, PREG_SPLIT_DELIM_CAPTURE);
|
1184 |
+
$text_stack[0] .= $parts[0];
|
1185 |
+
$token =& $parts[1];
|
1186 |
+
$text =& $parts[2];
|
1187 |
+
|
1188 |
+
if (empty($token)) {
|
1189 |
+
# Reached end of text span: empty stack without emitting.
|
1190 |
+
# any more emphasis.
|
1191 |
+
while ($token_stack[0]) {
|
1192 |
+
$text_stack[1] .= array_shift($token_stack);
|
1193 |
+
$text_stack[0] .= array_shift($text_stack);
|
1194 |
+
}
|
1195 |
+
break;
|
1196 |
+
}
|
1197 |
+
|
1198 |
+
$token_len = strlen($token);
|
1199 |
+
if ($tree_char_em) {
|
1200 |
+
# Reached closing marker while inside a three-char emphasis.
|
1201 |
+
if ($token_len == 3) {
|
1202 |
+
# Three-char closing marker, close em and strong.
|
1203 |
+
array_shift($token_stack);
|
1204 |
+
$span = array_shift($text_stack);
|
1205 |
+
$span = $this->runSpanGamut($span);
|
1206 |
+
$span = "<strong><em>$span</em></strong>";
|
1207 |
+
$text_stack[0] .= $this->hashPart($span);
|
1208 |
+
$em = '';
|
1209 |
+
$strong = '';
|
1210 |
+
} else {
|
1211 |
+
# Other closing marker: close one em or strong and
|
1212 |
+
# change current token state to match the other
|
1213 |
+
$token_stack[0] = str_repeat($token{0}, 3-$token_len);
|
1214 |
+
$tag = $token_len == 2 ? "strong" : "em";
|
1215 |
+
$span = $text_stack[0];
|
1216 |
+
$span = $this->runSpanGamut($span);
|
1217 |
+
$span = "<$tag>$span</$tag>";
|
1218 |
+
$text_stack[0] = $this->hashPart($span);
|
1219 |
+
$$tag = ''; # $$tag stands for $em or $strong
|
1220 |
+
}
|
1221 |
+
$tree_char_em = false;
|
1222 |
+
} else if ($token_len == 3) {
|
1223 |
+
if ($em) {
|
1224 |
+
# Reached closing marker for both em and strong.
|
1225 |
+
# Closing strong marker:
|
1226 |
+
for ($i = 0; $i < 2; ++$i) {
|
1227 |
+
$shifted_token = array_shift($token_stack);
|
1228 |
+
$tag = strlen($shifted_token) == 2 ? "strong" : "em";
|
1229 |
+
$span = array_shift($text_stack);
|
1230 |
+
$span = $this->runSpanGamut($span);
|
1231 |
+
$span = "<$tag>$span</$tag>";
|
1232 |
+
$text_stack[0] .= $this->hashPart($span);
|
1233 |
+
$$tag = ''; # $$tag stands for $em or $strong
|
1234 |
+
}
|
1235 |
+
} else {
|
1236 |
+
# Reached opening three-char emphasis marker. Push on token
|
1237 |
+
# stack; will be handled by the special condition above.
|
1238 |
+
$em = $token{0};
|
1239 |
+
$strong = "$em$em";
|
1240 |
+
array_unshift($token_stack, $token);
|
1241 |
+
array_unshift($text_stack, '');
|
1242 |
+
$tree_char_em = true;
|
1243 |
+
}
|
1244 |
+
} else if ($token_len == 2) {
|
1245 |
+
if ($strong) {
|
1246 |
+
# Unwind any dangling emphasis marker:
|
1247 |
+
if (strlen($token_stack[0]) == 1) {
|
1248 |
+
$text_stack[1] .= array_shift($token_stack);
|
1249 |
+
$text_stack[0] .= array_shift($text_stack);
|
1250 |
+
}
|
1251 |
+
# Closing strong marker:
|
1252 |
+
array_shift($token_stack);
|
1253 |
+
$span = array_shift($text_stack);
|
1254 |
+
$span = $this->runSpanGamut($span);
|
1255 |
+
$span = "<strong>$span</strong>";
|
1256 |
+
$text_stack[0] .= $this->hashPart($span);
|
1257 |
+
$strong = '';
|
1258 |
+
} else {
|
1259 |
+
array_unshift($token_stack, $token);
|
1260 |
+
array_unshift($text_stack, '');
|
1261 |
+
$strong = $token;
|
1262 |
+
}
|
1263 |
+
} else {
|
1264 |
+
# Here $token_len == 1
|
1265 |
+
if ($em) {
|
1266 |
+
if (strlen($token_stack[0]) == 1) {
|
1267 |
+
# Closing emphasis marker:
|
1268 |
+
array_shift($token_stack);
|
1269 |
+
$span = array_shift($text_stack);
|
1270 |
+
$span = $this->runSpanGamut($span);
|
1271 |
+
$span = "<em>$span</em>";
|
1272 |
+
$text_stack[0] .= $this->hashPart($span);
|
1273 |
+
$em = '';
|
1274 |
+
} else {
|
1275 |
+
$text_stack[0] .= $token;
|
1276 |
+
}
|
1277 |
+
} else {
|
1278 |
+
array_unshift($token_stack, $token);
|
1279 |
+
array_unshift($text_stack, '');
|
1280 |
+
$em = $token;
|
1281 |
+
}
|
1282 |
+
}
|
1283 |
+
}
|
1284 |
+
return $text_stack[0];
|
1285 |
+
}
|
1286 |
+
|
1287 |
+
|
1288 |
+
function doBlockQuotes($text) {
|
1289 |
+
$text = preg_replace_callback('/
|
1290 |
+
( # Wrap whole match in $1
|
1291 |
+
(?>
|
1292 |
+
^[ ]*>[ ]? # ">" at the start of a line
|
1293 |
+
.+\n # rest of the first line
|
1294 |
+
(.+\n)* # subsequent consecutive lines
|
1295 |
+
\n* # blanks
|
1296 |
+
)+
|
1297 |
+
)
|
1298 |
+
/xm',
|
1299 |
+
array(&$this, '_doBlockQuotes_callback'), $text);
|
1300 |
+
|
1301 |
+
return $text;
|
1302 |
+
}
|
1303 |
+
function _doBlockQuotes_callback($matches) {
|
1304 |
+
$bq = $matches[1];
|
1305 |
+
# trim one level of quoting - trim whitespace-only lines
|
1306 |
+
$bq = preg_replace('/^[ ]*>[ ]?|^[ ]+$/m', '', $bq);
|
1307 |
+
$bq = $this->runBlockGamut($bq); # recurse
|
1308 |
+
|
1309 |
+
$bq = preg_replace('/^/m', " ", $bq);
|
1310 |
+
# These leading spaces cause problem with <pre> content,
|
1311 |
+
# so we need to fix that:
|
1312 |
+
$bq = preg_replace_callback('{(\s*<pre>.+?</pre>)}sx',
|
1313 |
+
array(&$this, '_doBlockQuotes_callback2'), $bq);
|
1314 |
+
|
1315 |
+
return "\n". $this->hashBlock("<blockquote>\n$bq\n</blockquote>")."\n\n";
|
1316 |
+
}
|
1317 |
+
function _doBlockQuotes_callback2($matches) {
|
1318 |
+
$pre = $matches[1];
|
1319 |
+
$pre = preg_replace('/^ /m', '', $pre);
|
1320 |
+
return $pre;
|
1321 |
+
}
|
1322 |
+
|
1323 |
+
|
1324 |
+
function formParagraphs($text) {
|
1325 |
+
#
|
1326 |
+
# Params:
|
1327 |
+
# $text - string to process with html <p> tags
|
1328 |
+
#
|
1329 |
+
# Strip leading and trailing lines:
|
1330 |
+
$text = preg_replace('/\A\n+|\n+\z/', '', $text);
|
1331 |
+
|
1332 |
+
$grafs = preg_split('/\n{2,}/', $text, -1, PREG_SPLIT_NO_EMPTY);
|
1333 |
+
|
1334 |
+
#
|
1335 |
+
# Wrap <p> tags and unhashify HTML blocks
|
1336 |
+
#
|
1337 |
+
foreach ($grafs as $key => $value) {
|
1338 |
+
if (!preg_match('/^B\x1A[0-9]+B$/', $value)) {
|
1339 |
+
# Is a paragraph.
|
1340 |
+
$value = $this->runSpanGamut($value);
|
1341 |
+
$value = preg_replace('/^([ ]*)/', "<p>", $value);
|
1342 |
+
$value .= "</p>";
|
1343 |
+
$grafs[$key] = $this->unhash($value);
|
1344 |
+
}
|
1345 |
+
else {
|
1346 |
+
# Is a block.
|
1347 |
+
# Modify elements of @grafs in-place...
|
1348 |
+
$graf = $value;
|
1349 |
+
$block = $this->html_hashes[$graf];
|
1350 |
+
$graf = $block;
|
1351 |
+
// if (preg_match('{
|
1352 |
+
// \A
|
1353 |
+
// ( # $1 = <div> tag
|
1354 |
+
// <div \s+
|
1355 |
+
// [^>]*
|
1356 |
+
// \b
|
1357 |
+
// markdown\s*=\s* ([\'"]) # $2 = attr quote char
|
1358 |
+
// 1
|
1359 |
+
// \2
|
1360 |
+
// [^>]*
|
1361 |
+
// >
|
1362 |
+
// )
|
1363 |
+
// ( # $3 = contents
|
1364 |
+
// .*
|
1365 |
+
// )
|
1366 |
+
// (</div>) # $4 = closing tag
|
1367 |
+
// \z
|
1368 |
+
// }xs', $block, $matches))
|
1369 |
+
// {
|
1370 |
+
// list(, $div_open, , $div_content, $div_close) = $matches;
|
1371 |
+
//
|
1372 |
+
// # We can't call Markdown(), because that resets the hash;
|
1373 |
+
// # that initialization code should be pulled into its own sub, though.
|
1374 |
+
// $div_content = $this->hashHTMLBlocks($div_content);
|
1375 |
+
//
|
1376 |
+
// # Run document gamut methods on the content.
|
1377 |
+
// foreach ($this->document_gamut as $method => $priority) {
|
1378 |
+
// $div_content = $this->$method($div_content);
|
1379 |
+
// }
|
1380 |
+
//
|
1381 |
+
// $div_open = preg_replace(
|
1382 |
+
// '{\smarkdown\s*=\s*([\'"]).+?\1}', '', $div_open);
|
1383 |
+
//
|
1384 |
+
// $graf = $div_open . "\n" . $div_content . "\n" . $div_close;
|
1385 |
+
// }
|
1386 |
+
$grafs[$key] = $graf;
|
1387 |
+
}
|
1388 |
+
}
|
1389 |
+
|
1390 |
+
return implode("\n\n", $grafs);
|
1391 |
+
}
|
1392 |
+
|
1393 |
+
|
1394 |
+
function encodeAttribute($text) {
|
1395 |
+
#
|
1396 |
+
# Encode text for a double-quoted HTML attribute. This function
|
1397 |
+
# is *not* suitable for attributes enclosed in single quotes.
|
1398 |
+
#
|
1399 |
+
$text = $this->encodeAmpsAndAngles($text);
|
1400 |
+
$text = str_replace('"', '"', $text);
|
1401 |
+
return $text;
|
1402 |
+
}
|
1403 |
+
|
1404 |
+
|
1405 |
+
function encodeAmpsAndAngles($text) {
|
1406 |
+
#
|
1407 |
+
# Smart processing for ampersands and angle brackets that need to
|
1408 |
+
# be encoded. Valid character entities are left alone unless the
|
1409 |
+
# no-entities mode is set.
|
1410 |
+
#
|
1411 |
+
if ($this->no_entities) {
|
1412 |
+
$text = str_replace('&', '&', $text);
|
1413 |
+
} else {
|
1414 |
+
# Ampersand-encoding based entirely on Nat Irons's Amputator
|
1415 |
+
# MT plugin: <http://bumppo.net/projects/amputator/>
|
1416 |
+
$text = preg_replace('/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/',
|
1417 |
+
'&', $text);;
|
1418 |
+
}
|
1419 |
+
# Encode remaining <'s
|
1420 |
+
$text = str_replace('<', '<', $text);
|
1421 |
+
|
1422 |
+
return $text;
|
1423 |
+
}
|
1424 |
+
|
1425 |
+
|
1426 |
+
function doAutoLinks($text) {
|
1427 |
+
$text = preg_replace_callback('{<((https?|ftp|dict):[^\'">\s]+)>}i',
|
1428 |
+
array(&$this, '_doAutoLinks_url_callback'), $text);
|
1429 |
+
|
1430 |
+
# Email addresses: <address@domain.foo>
|
1431 |
+
$text = preg_replace_callback('{
|
1432 |
+
<
|
1433 |
+
(?:mailto:)?
|
1434 |
+
(
|
1435 |
+
(?:
|
1436 |
+
[-!#$%&\'*+/=?^_`.{|}~\w\x80-\xFF]+
|
1437 |
+
|
|
1438 |
+
".*?"
|
1439 |
+
)
|
1440 |
+
\@
|
1441 |
+
(?:
|
1442 |
+
[-a-z0-9\x80-\xFF]+(\.[-a-z0-9\x80-\xFF]+)*\.[a-z]+
|
1443 |
+
|
|
1444 |
+
\[[\d.a-fA-F:]+\] # IPv4 & IPv6
|
1445 |
+
)
|
1446 |
+
)
|
1447 |
+
>
|
1448 |
+
}xi',
|
1449 |
+
array(&$this, '_doAutoLinks_email_callback'), $text);
|
1450 |
+
|
1451 |
+
return $text;
|
1452 |
+
}
|
1453 |
+
function _doAutoLinks_url_callback($matches) {
|
1454 |
+
$url = $this->encodeAttribute($matches[1]);
|
1455 |
+
$link = "<a href=\"$url\">$url</a>";
|
1456 |
+
return $this->hashPart($link);
|
1457 |
+
}
|
1458 |
+
function _doAutoLinks_email_callback($matches) {
|
1459 |
+
$address = $matches[1];
|
1460 |
+
$link = $this->encodeEmailAddress($address);
|
1461 |
+
return $this->hashPart($link);
|
1462 |
+
}
|
1463 |
+
|
1464 |
+
|
1465 |
+
function encodeEmailAddress($addr) {
|
1466 |
+
#
|
1467 |
+
# Input: an email address, e.g. "foo@example.com"
|
1468 |
+
#
|
1469 |
+
# Output: the email address as a mailto link, with each character
|
1470 |
+
# of the address encoded as either a decimal or hex entity, in
|
1471 |
+
# the hopes of foiling most address harvesting spam bots. E.g.:
|
1472 |
+
#
|
1473 |
+
# <p><a href="mailto:foo
|
1474 |
+
# @example.co
|
1475 |
+
# m">foo@exampl
|
1476 |
+
# e.com</a></p>
|
1477 |
+
#
|
1478 |
+
# Based by a filter by Matthew Wickline, posted to BBEdit-Talk.
|
1479 |
+
# With some optimizations by Milian Wolff.
|
1480 |
+
#
|
1481 |
+
$addr = "mailto:" . $addr;
|
1482 |
+
$chars = preg_split('/(?<!^)(?!$)/', $addr);
|
1483 |
+
$seed = (int)abs(crc32($addr) / strlen($addr)); # Deterministic seed.
|
1484 |
+
|
1485 |
+
foreach ($chars as $key => $char) {
|
1486 |
+
$ord = ord($char);
|
1487 |
+
# Ignore non-ascii chars.
|
1488 |
+
if ($ord < 128) {
|
1489 |
+
$r = ($seed * (1 + $key)) % 100; # Pseudo-random function.
|
1490 |
+
# roughly 10% raw, 45% hex, 45% dec
|
1491 |
+
# '@' *must* be encoded. I insist.
|
1492 |
+
if ($r > 90 && $char != '@') /* do nothing */;
|
1493 |
+
else if ($r < 45) $chars[$key] = '&#x'.dechex($ord).';';
|
1494 |
+
else $chars[$key] = '&#'.$ord.';';
|
1495 |
+
}
|
1496 |
+
}
|
1497 |
+
|
1498 |
+
$addr = implode('', $chars);
|
1499 |
+
$text = implode('', array_slice($chars, 7)); # text without `mailto:`
|
1500 |
+
$addr = "<a href=\"$addr\">$text</a>";
|
1501 |
+
|
1502 |
+
return $addr;
|
1503 |
+
}
|
1504 |
+
|
1505 |
+
|
1506 |
+
function parseSpan($str) {
|
1507 |
+
#
|
1508 |
+
# Take the string $str and parse it into tokens, hashing embeded HTML,
|
1509 |
+
# escaped characters and handling code spans.
|
1510 |
+
#
|
1511 |
+
$output = '';
|
1512 |
+
|
1513 |
+
$span_re = '{
|
1514 |
+
(
|
1515 |
+
\\\\'.$this->escape_chars_re.'
|
1516 |
+
|
|
1517 |
+
(?<![`\\\\])
|
1518 |
+
`+ # code span marker
|
1519 |
+
'.( $this->no_markup ? '' : '
|
1520 |
+
|
|
1521 |
+
<!-- .*? --> # comment
|
1522 |
+
|
|
1523 |
+
<\?.*?\?> | <%.*?%> # processing instruction
|
1524 |
+
|
|
1525 |
+
<[!$]?[-a-zA-Z0-9:_]+ # regular tags
|
1526 |
+
(?>
|
1527 |
+
\s
|
1528 |
+
(?>[^"\'>]+|"[^"]*"|\'[^\']*\')*
|
1529 |
+
)?
|
1530 |
+
>
|
1531 |
+
|
|
1532 |
+
<[-a-zA-Z0-9:_]+\s*/> # xml-style empty tag
|
1533 |
+
|
|
1534 |
+
</[-a-zA-Z0-9:_]+\s*> # closing tag
|
1535 |
+
').'
|
1536 |
+
)
|
1537 |
+
}xs';
|
1538 |
+
|
1539 |
+
while (1) {
|
1540 |
+
#
|
1541 |
+
# Each loop iteration seach for either the next tag, the next
|
1542 |
+
# openning code span marker, or the next escaped character.
|
1543 |
+
# Each token is then passed to handleSpanToken.
|
1544 |
+
#
|
1545 |
+
$parts = preg_split($span_re, $str, 2, PREG_SPLIT_DELIM_CAPTURE);
|
1546 |
+
|
1547 |
+
# Create token from text preceding tag.
|
1548 |
+
if ($parts[0] != "") {
|
1549 |
+
$output .= $parts[0];
|
1550 |
+
}
|
1551 |
+
|
1552 |
+
# Check if we reach the end.
|
1553 |
+
if (isset($parts[1])) {
|
1554 |
+
$output .= $this->handleSpanToken($parts[1], $parts[2]);
|
1555 |
+
$str = $parts[2];
|
1556 |
+
}
|
1557 |
+
else {
|
1558 |
+
break;
|
1559 |
+
}
|
1560 |
+
}
|
1561 |
+
|
1562 |
+
return $output;
|
1563 |
+
}
|
1564 |
+
|
1565 |
+
|
1566 |
+
function handleSpanToken($token, &$str) {
|
1567 |
+
#
|
1568 |
+
# Handle $token provided by parseSpan by determining its nature and
|
1569 |
+
# returning the corresponding value that should replace it.
|
1570 |
+
#
|
1571 |
+
switch ($token{0}) {
|
1572 |
+
case "\\":
|
1573 |
+
return $this->hashPart("&#". ord($token{1}). ";");
|
1574 |
+
case "`":
|
1575 |
+
# Search for end marker in remaining text.
|
1576 |
+
if (preg_match('/^(.*?[^`])'.preg_quote($token).'(?!`)(.*)$/sm',
|
1577 |
+
$str, $matches))
|
1578 |
+
{
|
1579 |
+
$str = $matches[2];
|
1580 |
+
$codespan = $this->makeCodeSpan($matches[1]);
|
1581 |
+
return $this->hashPart($codespan);
|
1582 |
+
}
|
1583 |
+
return $token; // return as text since no ending marker found.
|
1584 |
+
default:
|
1585 |
+
return $this->hashPart($token);
|
1586 |
+
}
|
1587 |
+
}
|
1588 |
+
|
1589 |
+
|
1590 |
+
function outdent($text) {
|
1591 |
+
#
|
1592 |
+
# Remove one level of line-leading tabs or spaces
|
1593 |
+
#
|
1594 |
+
return preg_replace('/^(\t|[ ]{1,'.$this->tab_width.'})/m', '', $text);
|
1595 |
+
}
|
1596 |
+
|
1597 |
+
|
1598 |
+
# String length function for detab. `_initDetab` will create a function to
|
1599 |
+
# hanlde UTF-8 if the default function does not exist.
|
1600 |
+
var $utf8_strlen = 'mb_strlen';
|
1601 |
+
|
1602 |
+
function detab($text) {
|
1603 |
+
#
|
1604 |
+
# Replace tabs with the appropriate amount of space.
|
1605 |
+
#
|
1606 |
+
# For each line we separate the line in blocks delemited by
|
1607 |
+
# tab characters. Then we reconstruct every line by adding the
|
1608 |
+
# appropriate number of space between each blocks.
|
1609 |
+
|
1610 |
+
$text = preg_replace_callback('/^.*\t.*$/m',
|
1611 |
+
array(&$this, '_detab_callback'), $text);
|
1612 |
+
|
1613 |
+
return $text;
|
1614 |
+
}
|
1615 |
+
function _detab_callback($matches) {
|
1616 |
+
$line = $matches[0];
|
1617 |
+
$strlen = $this->utf8_strlen; # strlen function for UTF-8.
|
1618 |
+
|
1619 |
+
# Split in blocks.
|
1620 |
+
$blocks = explode("\t", $line);
|
1621 |
+
# Add each blocks to the line.
|
1622 |
+
$line = $blocks[0];
|
1623 |
+
unset($blocks[0]); # Do not add first block twice.
|
1624 |
+
foreach ($blocks as $block) {
|
1625 |
+
# Calculate amount of space, insert spaces, insert block.
|
1626 |
+
$amount = $this->tab_width -
|
1627 |
+
$strlen($line, 'UTF-8') % $this->tab_width;
|
1628 |
+
$line .= str_repeat(" ", $amount) . $block;
|
1629 |
+
}
|
1630 |
+
return $line;
|
1631 |
+
}
|
1632 |
+
function _initDetab() {
|
1633 |
+
#
|
1634 |
+
# Check for the availability of the function in the `utf8_strlen` property
|
1635 |
+
# (initially `mb_strlen`). If the function is not available, create a
|
1636 |
+
# function that will loosely count the number of UTF-8 characters with a
|
1637 |
+
# regular expression.
|
1638 |
+
#
|
1639 |
+
if (function_exists($this->utf8_strlen)) return;
|
1640 |
+
$this->utf8_strlen = create_function('$text', 'return preg_match_all(
|
1641 |
+
"/[\\\\x00-\\\\xBF]|[\\\\xC0-\\\\xFF][\\\\x80-\\\\xBF]*/",
|
1642 |
+
$text, $m);');
|
1643 |
+
}
|
1644 |
+
|
1645 |
+
|
1646 |
+
function unhash($text) {
|
1647 |
+
#
|
1648 |
+
# Swap back in all the tags hashed by _HashHTMLBlocks.
|
1649 |
+
#
|
1650 |
+
return preg_replace_callback('/(.)\x1A[0-9]+\1/',
|
1651 |
+
array(&$this, '_unhash_callback'), $text);
|
1652 |
+
}
|
1653 |
+
function _unhash_callback($matches) {
|
1654 |
+
return $this->html_hashes[$matches[0]];
|
1655 |
+
}
|
1656 |
+
|
1657 |
+
}
|
1658 |
+
|
1659 |
+
/*
|
1660 |
+
|
1661 |
+
PHP Markdown
|
1662 |
+
============
|
1663 |
+
|
1664 |
+
Description
|
1665 |
+
-----------
|
1666 |
+
|
1667 |
+
This is a PHP translation of the original Markdown formatter written in
|
1668 |
+
Perl by John Gruber.
|
1669 |
+
|
1670 |
+
Markdown is a text-to-HTML filter; it translates an easy-to-read /
|
1671 |
+
easy-to-write structured text format into HTML. Markdown's text format
|
1672 |
+
is mostly similar to that of plain text email, and supports features such
|
1673 |
+
as headers, *emphasis*, code blocks, blockquotes, and links.
|
1674 |
+
|
1675 |
+
Markdown's syntax is designed not as a generic markup language, but
|
1676 |
+
specifically to serve as a front-end to (X)HTML. You can use span-level
|
1677 |
+
HTML tags anywhere in a Markdown document, and you can use block level
|
1678 |
+
HTML tags (like <div> and <table> as well).
|
1679 |
+
|
1680 |
+
For more information about Markdown's syntax, see:
|
1681 |
+
|
1682 |
+
<http://daringfireball.net/projects/markdown/>
|
1683 |
+
|
1684 |
+
|
1685 |
+
Bugs
|
1686 |
+
----
|
1687 |
+
|
1688 |
+
To file bug reports please send email to:
|
1689 |
+
|
1690 |
+
<michel.fortin@michelf.ca>
|
1691 |
+
|
1692 |
+
Please include with your report: (1) the example input; (2) the output you
|
1693 |
+
expected; (3) the output Markdown actually produced.
|
1694 |
+
|
1695 |
+
|
1696 |
+
Version History
|
1697 |
+
---------------
|
1698 |
+
|
1699 |
+
See the readme file for detailed release notes for this version.
|
1700 |
+
|
1701 |
+
|
1702 |
+
Copyright and License
|
1703 |
+
---------------------
|
1704 |
+
|
1705 |
+
PHP Markdown
|
1706 |
+
Copyright (c) 2004-2013 Michel Fortin
|
1707 |
+
<http://michelf.ca/>
|
1708 |
+
All rights reserved.
|
1709 |
+
|
1710 |
+
Based on Markdown
|
1711 |
+
Copyright (c) 2003-2006 John Gruber
|
1712 |
+
<http://daringfireball.net/>
|
1713 |
+
All rights reserved.
|
1714 |
+
|
1715 |
+
Redistribution and use in source and binary forms, with or without
|
1716 |
+
modification, are permitted provided that the following conditions are
|
1717 |
+
met:
|
1718 |
+
|
1719 |
+
* Redistributions of source code must retain the above copyright notice,
|
1720 |
+
this list of conditions and the following disclaimer.
|
1721 |
+
|
1722 |
+
* Redistributions in binary form must reproduce the above copyright
|
1723 |
+
notice, this list of conditions and the following disclaimer in the
|
1724 |
+
documentation and/or other materials provided with the distribution.
|
1725 |
+
|
1726 |
+
* Neither the name "Markdown" nor the names of its contributors may
|
1727 |
+
be used to endorse or promote products derived from this software
|
1728 |
+
without specific prior written permission.
|
1729 |
+
|
1730 |
+
This software is provided by the copyright holders and contributors "as
|
1731 |
+
is" and any express or implied warranties, including, but not limited
|
1732 |
+
to, the implied warranties of merchantability and fitness for a
|
1733 |
+
particular purpose are disclaimed. In no event shall the copyright owner
|
1734 |
+
or contributors be liable for any direct, indirect, incidental, special,
|
1735 |
+
exemplary, or consequential damages (including, but not limited to,
|
1736 |
+
procurement of substitute goods or services; loss of use, data, or
|
1737 |
+
profits; or business interruption) however caused and on any theory of
|
1738 |
+
liability, whether in contract, strict liability, or tort (including
|
1739 |
+
negligence or otherwise) arising in any way out of the use of this
|
1740 |
+
software, even if advised of the possibility of such damage.
|
1741 |
+
|
1742 |
+
*/
|
1743 |
+
?>
|
classes/styles-font-menu/classes/sfm-admin.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class SFM_Admin {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @var Styles_Font_Menu Pointer to parent/wrapper object.
|
7 |
+
*/
|
8 |
+
var $plugin;
|
9 |
+
|
10 |
+
/**
|
11 |
+
* @var string Slug for readme at /wp-admin/plugins.php?page=$readme_page_slug
|
12 |
+
*/
|
13 |
+
var $readme_page_slug = 'styles-font-menu';
|
14 |
+
|
15 |
+
public function __construct( $plugin ) {
|
16 |
+
$this->plugin = $plugin;
|
17 |
+
|
18 |
+
// Readme page
|
19 |
+
add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
|
20 |
+
add_action( 'admin_menu', array( $this, 'add_readme_page' ) );
|
21 |
+
add_action( 'network_admin_menu', array( $this, 'add_readme_page' ) );
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Add additional links to the plugin row
|
26 |
+
* If we're not running as a plugin, this won't do anything,
|
27 |
+
* because plugin_basename won't match any active plugin path.
|
28 |
+
*/
|
29 |
+
public function plugin_row_meta( $meta, $basename ) {
|
30 |
+
if ( $basename == $this->plugin->plugin_basename ) {
|
31 |
+
$meta[] = '<a href="' . network_admin_url( 'plugins.php?page=' . $this->readme_page_slug ) . '">How to use this plugin</a>';
|
32 |
+
}
|
33 |
+
return $meta;
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Display readme and working example in WordPress admin
|
38 |
+
* Does not add a menu item
|
39 |
+
* @link /wp-admin/plugins.php?page=styles-font-menu
|
40 |
+
*/
|
41 |
+
public function add_readme_page() {
|
42 |
+
add_submenu_page( null, 'Font Menu', 'Font Menu', 'manage_options', $this->readme_page_slug, array( $this, 'get_view_readme' ) );
|
43 |
+
}
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Display views/readme.php, which modifies readme.md to show a working example.
|
47 |
+
*/
|
48 |
+
public function get_view_readme() {
|
49 |
+
if ( !function_exists( 'Markdown' ) ) {
|
50 |
+
require_once dirname( __FILE__ ) . '/markdown/markdown.php';
|
51 |
+
}
|
52 |
+
$this->plugin->get_view( 'readme' );
|
53 |
+
}
|
54 |
+
|
55 |
+
}
|
classes/styles-font-menu/classes/sfm-group-google.php
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class SFM_Group_Google extends SFM_Group {
|
4 |
+
|
5 |
+
const font_api_url = 'https://www.googleapis.com/webfonts/v1/webfonts';
|
6 |
+
const import_template = "@import url(//fonts.googleapis.com/css?family=@import_family@);/r";
|
7 |
+
|
8 |
+
/**
|
9 |
+
* @example Override with <code>add_filter( 'styles_google_fonts_cache_interval', function(){ return 60*60*24*1; } );</code>
|
10 |
+
* @var int Seconds before cache expires. Defaults to 15 days.
|
11 |
+
*/
|
12 |
+
var $cache_interval;
|
13 |
+
|
14 |
+
/**
|
15 |
+
* @var stdClass Response from Google API listing all fonts
|
16 |
+
*/
|
17 |
+
protected $font_data;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* @var array Array of SFM_Single_Google instances instantiated from $font_data
|
21 |
+
*/
|
22 |
+
protected $fonts;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* @var string CSS for display of font previews in the menu.
|
26 |
+
*/
|
27 |
+
protected $menu_css;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Values to pass to javascript
|
31 |
+
*/
|
32 |
+
protected $option_values;
|
33 |
+
|
34 |
+
/**
|
35 |
+
* @var string path to JSON backup of Google API response. In case API fails or is unavailable.
|
36 |
+
*/
|
37 |
+
protected $api_fallback_file;
|
38 |
+
|
39 |
+
public function __construct() {
|
40 |
+
$this->cache_interval = apply_filters( 'styles_google_fonts_cache_interval', 60*60*24*15 ); // 15 days
|
41 |
+
$this->api_fallback_file = dirname( dirname( __FILE__ ) ) . '/js/google-fonts-api-fallback.json';
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Fires when accessing $this->font_data from outside the class.
|
46 |
+
*/
|
47 |
+
public function get_font_data() {
|
48 |
+
// If we already processed fonts, return them.
|
49 |
+
if ( !empty( $this->font_data ) ) {
|
50 |
+
return $this->font_data;
|
51 |
+
}
|
52 |
+
|
53 |
+
// If fonts are cached in the transient, return them.
|
54 |
+
$this->font_data = get_transient( 'styles_google_fonts' );
|
55 |
+
if ( false !== $this->font_data ) {
|
56 |
+
return $this->font_data;
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* If no cache, try connecting to Google API
|
61 |
+
* Requires API key be set:
|
62 |
+
*
|
63 |
+
* @example
|
64 |
+
* add_filter( 'styles_google_font_api', create_function('', "return 'XXXXXXXX';" ) );
|
65 |
+
*/
|
66 |
+
$this->font_data = $this->remote_get_google_api();
|
67 |
+
|
68 |
+
// If Google API failed, use the fallback file.
|
69 |
+
if ( !is_object( $this->font_data ) || !is_array( $this->font_data->items ) ) {
|
70 |
+
$this->font_data = $this->get_api_fallback();
|
71 |
+
return $this->font_data;
|
72 |
+
}
|
73 |
+
|
74 |
+
// API returned some good data. Cache it to the transient
|
75 |
+
// and update the fallback file.
|
76 |
+
set_transient( 'styles_google_font_data', $this->font_data, $this->cache_interval );
|
77 |
+
$this->set_api_fallback();
|
78 |
+
|
79 |
+
return $this->font_data;
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Fires when accessing $this->fonts from outside the class.
|
84 |
+
*/
|
85 |
+
public function get_fonts() {
|
86 |
+
if ( !empty( $this->fonts ) ) { return $this->fonts; }
|
87 |
+
|
88 |
+
$fonts = array();
|
89 |
+
|
90 |
+
foreach ( (array) $this->get_font_data()->items as $font ){
|
91 |
+
// Exclude non-latin fonts
|
92 |
+
if ( !in_array('latin', $font->subsets ) ) { continue; }
|
93 |
+
|
94 |
+
$fonts[] = new SFM_Single_Google( array(
|
95 |
+
'family' => $font->family,
|
96 |
+
'name' => $font->family,
|
97 |
+
'variants' => $font->variants,
|
98 |
+
'files' => $font->files,
|
99 |
+
) );
|
100 |
+
|
101 |
+
}
|
102 |
+
|
103 |
+
$this->fonts = $fonts;
|
104 |
+
|
105 |
+
return $this->fonts;
|
106 |
+
}
|
107 |
+
|
108 |
+
/**
|
109 |
+
* Get individual font by name
|
110 |
+
*
|
111 |
+
* @return SFM_Single_Google
|
112 |
+
*/
|
113 |
+
public function get_font_by_name( $name ) {
|
114 |
+
if ( empty( $name ) ) {
|
115 |
+
wp_die( 'Please specify a font family to preview.');
|
116 |
+
}
|
117 |
+
|
118 |
+
foreach ( $this->get_fonts() as $font ) {
|
119 |
+
if ( $name == $font->family ) {
|
120 |
+
return $font;
|
121 |
+
}
|
122 |
+
}
|
123 |
+
return false;
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Strip out unecessary metadata for passing to javascript
|
128 |
+
*
|
129 |
+
* @param array $font Font metadata, such as array( 'key', 'import_family', 'font_family', 'font_name' )
|
130 |
+
* @return array Same array, stripped of extra keys
|
131 |
+
*/
|
132 |
+
public function get_option_values() {
|
133 |
+
if ( !empty( $this->option_values ) ) { return $this->option_values; }
|
134 |
+
|
135 |
+
foreach ( $this->get_fonts() as $font ) {
|
136 |
+
$this->option_values[ 'fonts' ][] = $font->get_option_values();
|
137 |
+
}
|
138 |
+
|
139 |
+
$this->option_values[ 'import_template' ] = self::import_template;
|
140 |
+
$this->option_values[ 'admin_ajax' ] = admin_url( 'admin-ajax.php' );
|
141 |
+
|
142 |
+
return $this->option_values;
|
143 |
+
}
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Connect to the remote Google API. Fall back to get_api_fallback on failure.
|
147 |
+
*/
|
148 |
+
public function remote_get_google_api() {
|
149 |
+
// API key must be set with this filter
|
150 |
+
$api_key = apply_filters( 'styles_google_font_api', false );
|
151 |
+
|
152 |
+
// Bail if no API key is set
|
153 |
+
if ( false === $api_key ) { return $this->get_api_fallback(); }
|
154 |
+
|
155 |
+
// Construct request
|
156 |
+
$url = add_query_arg( 'sort', apply_filters( 'styles_google_font_sort', 'popularity' ), self::font_api_url );
|
157 |
+
$url = add_query_arg( 'key', $api_key, $url );
|
158 |
+
$response = wp_remote_get( $url );
|
159 |
+
|
160 |
+
// If response is an error, use the fallback file
|
161 |
+
if ( is_a( $response, 'WP_Error') ) { return $this->get_api_fallback(); }
|
162 |
+
|
163 |
+
return json_decode( $response['body'] );
|
164 |
+
}
|
165 |
+
|
166 |
+
/**
|
167 |
+
* If the we don't have a Google API key, or the request fails,
|
168 |
+
* use the contents of this file instead.
|
169 |
+
*
|
170 |
+
* @todo Rework this and set_api_fallback to use transients and write to disk using WP_Filesystem so we don't have two caching mechanisms going on at once.
|
171 |
+
*/
|
172 |
+
public function get_api_fallback() {
|
173 |
+
$this->fonts = json_decode( file_get_contents( $this->api_fallback_file ) );
|
174 |
+
return $this->fonts;
|
175 |
+
}
|
176 |
+
|
177 |
+
/**
|
178 |
+
* Save Google Fonts API response to file for cases where we
|
179 |
+
* don't have an API key or the API request fails
|
180 |
+
*
|
181 |
+
* @todo Write with WP_Filesystem instead of file_put_contents
|
182 |
+
*/
|
183 |
+
public function set_api_fallback() {
|
184 |
+
if ( !empty( $this->font_data ) && is_writable( $this->api_fallback_file ) ) {
|
185 |
+
file_put_contents( $this->api_fallback_file, json_encode( $this->font_data ) );
|
186 |
+
}
|
187 |
+
}
|
188 |
+
|
189 |
+
}
|
classes/styles-font-menu/classes/sfm-group-standard.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class SFM_Group_Standard extends SFM_Group {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @var array Font name (key) => font-family stack (value)
|
7 |
+
*/
|
8 |
+
protected $font_data = array( 'Arial' => 'Arial, Helvetica, sans-serif', 'Bookman' => 'Bookman, Palatino, Georgia, serif', 'Century Gothic' => '"Century Gothic", Helvetica, Arial, sans-serif', 'Comic Sans MS' => '"Comic Sans MS", Arial, sans-serif', 'Courier' => 'Courier, monospace', 'Garamond' => 'Garamond, Palatino, Georgia, serif', 'Georgia' => 'Georgia, Times, serif', 'Helvetica' => 'Helvetica, Arial, sans-serif', 'Lucida Grande' => '"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif', 'Palatino' => 'Palatino, Georgia, serif', 'Tahoma' => 'Tahoma, Verdana, Helvetica, sans-serif', 'Times' => 'Times, Georgia, serif', 'Trebuchet MS' => '"Trebuchet MS", Tahoma, Helvetica, sans-serif', 'Verdana' => 'Verdana, Tahoma, sans-serif', );
|
9 |
+
|
10 |
+
/**
|
11 |
+
* @var string|bool If @imports are needed, this holds the template. Else, false.
|
12 |
+
*/
|
13 |
+
protected $import_template = false;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* @var array Array of Styles_Font objects.
|
17 |
+
*/
|
18 |
+
protected $fonts;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Fires when accessing $this->fonts from outside the class.
|
22 |
+
*/
|
23 |
+
public function get_fonts() {
|
24 |
+
if ( !empty( $this->fonts ) ) { return $this->fonts; }
|
25 |
+
|
26 |
+
foreach ( (array) $this->font_data as $name => $family ){
|
27 |
+
$this->fonts[] = new SFM_Single_Standard( array(
|
28 |
+
'family' => $family,
|
29 |
+
'name' => $name,
|
30 |
+
) );
|
31 |
+
}
|
32 |
+
|
33 |
+
return $this->fonts;
|
34 |
+
}
|
35 |
+
|
36 |
+
}
|
classes/styles-font-menu/classes/sfm-group.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
abstract class SFM_Group {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* If client tries to access variables directly, pass to get() method
|
7 |
+
*/
|
8 |
+
public function __get( $target ) {
|
9 |
+
return $this->get( $target );
|
10 |
+
}
|
11 |
+
|
12 |
+
/**
|
13 |
+
* If a get_XXX method exists for a variable, use it.
|
14 |
+
* Otherwise, return the variable value
|
15 |
+
*/
|
16 |
+
public function get( $target = 'fonts' ) {
|
17 |
+
$method = 'get_' . $target;
|
18 |
+
if ( method_exists( $this, $method ) ) {
|
19 |
+
return $this->$method();
|
20 |
+
}else if ( isset( $this->$target ) ){
|
21 |
+
return $this->$target;
|
22 |
+
}else {
|
23 |
+
return false;
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
public function get_menu_css() {
|
28 |
+
if ( !empty( $this->menu_css ) ) {
|
29 |
+
return $this->menu_css;
|
30 |
+
}
|
31 |
+
|
32 |
+
foreach( $this->get_fonts() as $font ) {
|
33 |
+
$this->menu_css .= $font->get_menu_css();
|
34 |
+
}
|
35 |
+
|
36 |
+
return $this->menu_css;
|
37 |
+
}
|
38 |
+
|
39 |
+
}
|
classes/styles-font-menu/classes/sfm-image-preview.php
ADDED
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class SFM_Image_Preview {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @var string $_GET key that triggers this class to run
|
7 |
+
*/
|
8 |
+
protected $action_key = 'styles-font-preview';
|
9 |
+
|
10 |
+
/**
|
11 |
+
* @var array Display attributes for the preview image and font
|
12 |
+
*/
|
13 |
+
var $preview_attributes = array(
|
14 |
+
'font_size' => 28,
|
15 |
+
'left_margin' => 3,
|
16 |
+
'width' => 400,
|
17 |
+
'height' => 64,
|
18 |
+
'background_color' => array( 255, 255, 255 ),
|
19 |
+
'font_color' => array( 0, 0, 0 ),
|
20 |
+
);
|
21 |
+
|
22 |
+
public function __construct() {
|
23 |
+
add_action( 'wp_ajax_styles-font-preview', array( $this, 'wp_ajax_styles_font_preview' ) );
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Load Google font specified in $_GET request.
|
28 |
+
*
|
29 |
+
* @param string $_GET['font-family'] Required. Name of the font to render
|
30 |
+
* @param string $_GET['variant'] Optional. Name of the variant to render
|
31 |
+
* @return null Output URL to image as string
|
32 |
+
*/
|
33 |
+
public function wp_ajax_styles_font_preview() {
|
34 |
+
$plugin = SFM_Plugin::get_instance();
|
35 |
+
$font_family = ( isset( $_GET[ 'font-family' ] ) ) ? $_GET[ 'font-family' ] : false;
|
36 |
+
|
37 |
+
// Load font family from Google Fonts
|
38 |
+
$this->font = $plugin->google_fonts->get_font_by_name( $font_family );
|
39 |
+
|
40 |
+
if ( !$this->font ) {
|
41 |
+
wp_die( 'Font not found: ' . $this->font_family );
|
42 |
+
}
|
43 |
+
|
44 |
+
// Output PNG URL
|
45 |
+
if ( !$this->font->get_png_url() ) {
|
46 |
+
$this->generate_image();
|
47 |
+
}
|
48 |
+
|
49 |
+
echo $this->font->get_png_url();
|
50 |
+
exit;
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Create PNG of font name written with font TTF.
|
55 |
+
*/
|
56 |
+
public function generate_image() {
|
57 |
+
$width = $height = $font_size = $left_margin = $background_color = $font_color = false;
|
58 |
+
extract( $this->preview_attributes, EXTR_IF_EXISTS );
|
59 |
+
|
60 |
+
// Text Mask
|
61 |
+
$mask = imageCreate($width, $height);
|
62 |
+
|
63 |
+
$background = imageColorAllocate($mask, $background_color[0], $background_color[1], $background_color[2]);
|
64 |
+
$foreground = imageColorAllocate($mask, $font_color[0], $font_color[1], $font_color[2]);
|
65 |
+
|
66 |
+
$ttf_path = $this->font->maybe_get_remote_ttf();
|
67 |
+
if ( !file_exists( $ttf_path ) ) {
|
68 |
+
wp_die( 'Could not load $ttf_path: ' . $ttf_path );
|
69 |
+
}
|
70 |
+
|
71 |
+
// Text
|
72 |
+
$y = $this->get_centered_y_coordinate( $font_size, $ttf_path, $this->font->family );
|
73 |
+
imagettftext($mask, $font_size, 0, $left_margin, $y, $foreground, $ttf_path, $this->font->family );
|
74 |
+
|
75 |
+
// White fill
|
76 |
+
$white = imageCreate($width, $height);
|
77 |
+
$background = imageColorAllocate($white, $background_color[0], $background_color[1], $background_color[2]);
|
78 |
+
|
79 |
+
// Image
|
80 |
+
$image = imagecreatetruecolor($width, $height);
|
81 |
+
imagesavealpha( $image, true );
|
82 |
+
imagefill( $image, 0, 0, imagecolorallocatealpha( $image, 0, 0, 0, 127 ) );
|
83 |
+
|
84 |
+
// Apply Mask to Image
|
85 |
+
for( $x = 0; $x < $width; $x++ ) {
|
86 |
+
for( $y = 0; $y < $height; $y++ ) {
|
87 |
+
$alpha = imagecolorsforindex( $mask, imagecolorat( $mask, $x, $y ) );
|
88 |
+
$alpha = 127 - floor( $alpha[ 'red' ] / 2 );
|
89 |
+
$color = imagecolorsforindex( $white, imagecolorat( $white, $x, $y ) );
|
90 |
+
imagesetpixel( $image, $x, $y, imagecolorallocatealpha( $image, $color[ 'red' ], $color[ 'green' ], $color[ 'blue' ], $alpha ) );
|
91 |
+
}
|
92 |
+
}
|
93 |
+
|
94 |
+
ob_start();
|
95 |
+
imagePNG($image);
|
96 |
+
$image = ob_get_clean();
|
97 |
+
|
98 |
+
$this->save_image( $image );
|
99 |
+
|
100 |
+
// header("Content-type: image/png");
|
101 |
+
// echo $image;
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Calculate y-coordinate for centering text vertically.
|
106 |
+
*
|
107 |
+
* @link http://stackoverflow.com/a/15001168
|
108 |
+
* @return int y-coordinate
|
109 |
+
*/
|
110 |
+
public function get_centered_y_coordinate( $fontsize, $font, $text ) {
|
111 |
+
$dims = imagettfbbox($fontsize, 0, $font, $text);
|
112 |
+
|
113 |
+
$ascent = abs($dims[7]);
|
114 |
+
$descent = abs($dims[1]);
|
115 |
+
|
116 |
+
// $width = abs( $dims[0] ) + abs( $dims[2] );
|
117 |
+
|
118 |
+
$height = $ascent + $descent;
|
119 |
+
$image_height = $this->preview_attributes['height'];
|
120 |
+
|
121 |
+
$y = ( ( $image_height/2 ) - ( $height/2 ) ) + $ascent;
|
122 |
+
|
123 |
+
return $y;
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Save preview image file.
|
128 |
+
*/
|
129 |
+
public function save_image( $image ) {
|
130 |
+
if ( !function_exists('WP_Filesystem')) { require ABSPATH . 'wp-admin/includes/file.php'; }
|
131 |
+
global $wp_filesystem; WP_Filesystem();
|
132 |
+
|
133 |
+
$dir = dirname( $this->font->get_png_cache_path() );
|
134 |
+
|
135 |
+
if ( !is_dir( $dir ) && !wp_mkdir_p( $dir ) ) {
|
136 |
+
wp_die( "Please check permissions. Could not create directory $dir" );
|
137 |
+
}
|
138 |
+
|
139 |
+
$image_file = $wp_filesystem->put_contents( $this->font->get_png_cache_path(), $image, FS_CHMOD_FILE ); // predefined mode settings for WP files
|
140 |
+
|
141 |
+
if ( !$image_file ) {
|
142 |
+
wp_die( "Please check permissions. Could not write image to $dir" );
|
143 |
+
}
|
144 |
+
}
|
145 |
+
|
146 |
+
}
|
classes/styles-font-menu/classes/sfm-plugin.php
ADDED
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once dirname(__FILE__) . '/sfm-admin.php';
|
4 |
+
require_once dirname(__FILE__) . '/sfm-group.php';
|
5 |
+
require_once dirname(__FILE__) . '/sfm-group-standard.php';
|
6 |
+
require_once dirname(__FILE__) . '/sfm-group-google.php';
|
7 |
+
require_once dirname(__FILE__) . '/sfm-single-standard.php';
|
8 |
+
require_once dirname(__FILE__) . '/sfm-single-google.php';
|
9 |
+
require_once dirname(__FILE__) . '/sfm-image-preview.php';
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Controller class
|
13 |
+
* Holds instances of models in vars
|
14 |
+
* Loads views from views/ directory
|
15 |
+
*
|
16 |
+
* Follows the Singleton pattern. @see http://jumping-duck.com/tutorial/wordpress-plugin-structure/
|
17 |
+
* @example Access plugin instance with $font_dropdown = SFM_Plugin::get_instance();
|
18 |
+
*/
|
19 |
+
class SFM_Plugin {
|
20 |
+
|
21 |
+
/**
|
22 |
+
* @var string The plugin version.
|
23 |
+
*/
|
24 |
+
var $version = '1.0';
|
25 |
+
|
26 |
+
/**
|
27 |
+
* @var Styles_Font_Menu Instance of the class.
|
28 |
+
*/
|
29 |
+
protected static $instance = false;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* @var string Class to apply to menu element and prefix to selectors.
|
33 |
+
*/
|
34 |
+
public $menu_class = 'sfm';
|
35 |
+
|
36 |
+
/**
|
37 |
+
* @var SFM_Admin Methods for WordPress admin user interface.
|
38 |
+
*/
|
39 |
+
var $admin;
|
40 |
+
|
41 |
+
/**
|
42 |
+
* @var SFM_Group_Standard Web standard font families and CSS font stacks.
|
43 |
+
*/
|
44 |
+
var $standard_fonts;
|
45 |
+
|
46 |
+
/**
|
47 |
+
* @var SFM_Group_Google Connects to Google Font API.
|
48 |
+
*/
|
49 |
+
var $google_fonts;
|
50 |
+
|
51 |
+
/**
|
52 |
+
* @var SFM_Image_Preview Generate image preview of a font.
|
53 |
+
*/
|
54 |
+
var $image_preview;
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Set with site_url() because we might not be running as a plugin.
|
58 |
+
*
|
59 |
+
* @var string URL for the styles-font-menu directory.
|
60 |
+
*/
|
61 |
+
var $plugin_url;
|
62 |
+
|
63 |
+
/**
|
64 |
+
* Set with dirname(__FILE__) because we might not be running as a plugin.
|
65 |
+
*
|
66 |
+
* @var string Path for the styles-font-menu directory.
|
67 |
+
*/
|
68 |
+
var $plugin_directory;
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Intentionally inaccurate if we're running as a plugin.
|
72 |
+
*
|
73 |
+
* @var string Plugin basename, only if we're running as a plugin.
|
74 |
+
*/
|
75 |
+
var $plugin_basename;
|
76 |
+
|
77 |
+
/**
|
78 |
+
* print_scripts() runs as late as possible to avoid processing Google Fonts.
|
79 |
+
* This prevents running multiple times.
|
80 |
+
*
|
81 |
+
* @var bool Whether we have already registered scripts or not.
|
82 |
+
*/
|
83 |
+
var $scripts_printed = false;
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Don't use this. Use ::get_instance() instead.
|
87 |
+
*/
|
88 |
+
public function __construct() {
|
89 |
+
if ( !self::$instance ) {
|
90 |
+
$message = '<code>' . __CLASS__ . '</code> is a singleton.<br/> Please get an instantiate it with <code>' . __CLASS__ . '::get_instance();</code>';
|
91 |
+
wp_die( $message );
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
public static function get_instance() {
|
96 |
+
if ( !is_a( self::$instance, __CLASS__ ) ) {
|
97 |
+
self::$instance = true;
|
98 |
+
self::$instance = new self();
|
99 |
+
self::$instance->init();
|
100 |
+
}
|
101 |
+
return self::$instance;
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Initial setup. Called by get_instance.
|
106 |
+
*/
|
107 |
+
protected function init() {
|
108 |
+
$this->plugin_directory = dirname( dirname( __FILE__ ) );
|
109 |
+
$this->plugin_url = site_url( str_replace( ABSPATH, '', $this->plugin_directory ) );
|
110 |
+
$this->plugin_basename = plugin_basename( $this->plugin_directory . '/plugin.php' );
|
111 |
+
|
112 |
+
$this->admin = new SFM_Admin( $this );
|
113 |
+
$this->google_fonts = new SFM_Group_Google();
|
114 |
+
$this->standard_fonts = new SFM_Group_Standard();
|
115 |
+
$this->image_preview = new SFM_Image_Preview();
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Output dropdown menu anywhere styles_font_menu action is called.
|
119 |
+
* @example <code>do_action( 'styles_font_menu' );</code>
|
120 |
+
*/
|
121 |
+
add_action( 'styles_font_menu', array( $this, 'get_view_menu' ), 10, 2 );
|
122 |
+
}
|
123 |
+
|
124 |
+
public function print_scripts() {
|
125 |
+
if ( $this->scripts_printed ) { return false; }
|
126 |
+
|
127 |
+
wp_register_script( 'styles-chosen', $this->plugin_url . '/js/chosen/chosen.jquery.min.js', array( 'jquery' ), $this->version );
|
128 |
+
wp_register_script( 'styles-font-menu', $this->plugin_url . '/js/styles-font-menu.js', array( 'jquery', 'styles-chosen' ), $this->version );
|
129 |
+
wp_register_style( 'styles-chosen', $this->plugin_url . '/js/chosen/chosen.css', array(), $this->version );
|
130 |
+
wp_register_style( 'styles-font-menu', $this->plugin_url . '/css/styles-font-menu.css', array(), $this->version );
|
131 |
+
// wp_register_style( 'styles-chosen', $this->plugin_url . '/js/chosen/chosen.min.css', array(), $this->version );
|
132 |
+
|
133 |
+
// Pass Google Font Families to javascript
|
134 |
+
// This saves on bandwidth by outputing them once,
|
135 |
+
// then appending them to all <select> elements client-side
|
136 |
+
wp_localize_script( 'styles-font-menu', 'styles_google_options', $this->google_fonts->option_values );
|
137 |
+
|
138 |
+
// Output scripts and dependencies
|
139 |
+
// Tracks whether dependencies have already been output
|
140 |
+
wp_print_scripts( array( 'styles-font-menu' ) );
|
141 |
+
wp_print_styles( array( 'styles-chosen' ) );
|
142 |
+
wp_print_styles( array( 'styles-font-menu' ) );
|
143 |
+
|
144 |
+
// Generated scripts for font previews
|
145 |
+
echo '<style>' . $this->standard_fonts->get_menu_css() . '</style>';
|
146 |
+
|
147 |
+
$this->scripts_printed = true;
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Display views/menu.php
|
152 |
+
*/
|
153 |
+
public function get_view_menu( $attributes = '', $value = false ) {
|
154 |
+
$args = compact( 'attributes', 'value' );
|
155 |
+
$this->get_view( 'menu', $args );
|
156 |
+
}
|
157 |
+
|
158 |
+
/**
|
159 |
+
* Display any view from the views/ directory.
|
160 |
+
* Allows views to have access to $this
|
161 |
+
*/
|
162 |
+
public function get_view( $file = 'menu', $args = array() ) {
|
163 |
+
extract( $args );
|
164 |
+
$file = dirname( dirname( __FILE__ ) ) . "/views/$file.php";
|
165 |
+
if ( file_exists( $file ) ) {
|
166 |
+
include $file;
|
167 |
+
}
|
168 |
+
}
|
169 |
+
}
|
classes/styles-font-menu/classes/sfm-single-google.php
ADDED
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class SFM_Single_Google extends SFM_Single_Standard {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @var array Variant names
|
7 |
+
*/
|
8 |
+
protected $variants;
|
9 |
+
|
10 |
+
/**
|
11 |
+
* @var array Info on active variant, for image previews
|
12 |
+
*/
|
13 |
+
protected $variant;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* @var array URLs to TTF files with variants as array keys.
|
17 |
+
*/
|
18 |
+
protected $files;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Path and URL to the plugin directory and uploads directory
|
22 |
+
*/
|
23 |
+
protected $file_paths;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* @string Variation of name for insertion into @import CSS string.
|
27 |
+
*/
|
28 |
+
protected $import_family;
|
29 |
+
|
30 |
+
protected $png_url;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Values for this font that should go into JSON encoded <option> values
|
34 |
+
*/
|
35 |
+
protected $option_value_whitelist = array( 'family', 'name', 'import_family', 'classname', 'png_url' );
|
36 |
+
|
37 |
+
/**
|
38 |
+
* @var array Options to pass to javascript
|
39 |
+
*/
|
40 |
+
protected $options;
|
41 |
+
|
42 |
+
public function __construct( $args = array() ) {
|
43 |
+
parent::__construct( $args );
|
44 |
+
|
45 |
+
$this->variants = $args['variants'];
|
46 |
+
$this->files = $args['files'];
|
47 |
+
$this->import_family = $this->get_import_family();
|
48 |
+
}
|
49 |
+
|
50 |
+
public function get_import_family() {
|
51 |
+
return str_replace( ' ', '+', $this->family ) . ':' . implode( ',', $this->variants );
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* This function can lead to get_remote_ttf
|
56 |
+
* For that reason, it shouldn't be called on init
|
57 |
+
* Right now, it's only called in an AJAX request for a font preview
|
58 |
+
*/
|
59 |
+
public function get_variant( $variant_request = false ) {
|
60 |
+
if ( isset( $this->variant ) ) {
|
61 |
+
return $this->variant;
|
62 |
+
}
|
63 |
+
|
64 |
+
if ( empty( $variant_request ) && isset( $_GET['variant'] ) ) {
|
65 |
+
$variant_request = $_GET['variant'];
|
66 |
+
}
|
67 |
+
|
68 |
+
if ( empty( $variant_request ) ) {
|
69 |
+
// No variant requested. Give default.
|
70 |
+
if ( in_array( 'regular', (array) $this->variants ) ) {
|
71 |
+
$variant_name = 'regular';
|
72 |
+
}else {
|
73 |
+
$variant_name = $this->variants[0];
|
74 |
+
}
|
75 |
+
}else if ( in_array( $variant_request, (array) $this->variants ) ) {
|
76 |
+
// Variant requested and found
|
77 |
+
$variant_name = $variant;
|
78 |
+
}
|
79 |
+
|
80 |
+
if ( !$variant_name ) {
|
81 |
+
// Requested a variant, but none found
|
82 |
+
$variants = implode( '</li><li>', array_keys( (array) $this->variants ) );
|
83 |
+
wp_die( 'Variant not found. Variants: <ul><li>' . $variants . '</li></ul>' );
|
84 |
+
}
|
85 |
+
|
86 |
+
// Variant meta
|
87 |
+
$this->variant = array();
|
88 |
+
$this->variant['name'] = $variant_name;
|
89 |
+
$this->variant['filename'] = $this->get_nicename() . '-' . $variant_name;
|
90 |
+
$this->variant['png_path'] = $this->get_png_path();
|
91 |
+
$this->variant['png_url'] = $this->get_png_url();
|
92 |
+
$this->variant['ttf_path'] = $this->get_ttf_path();
|
93 |
+
$this->variant['ttf_url'] = $this->get_ttf_url();
|
94 |
+
|
95 |
+
return $this->variant;
|
96 |
+
}
|
97 |
+
|
98 |
+
public function get_file_paths() {
|
99 |
+
if ( isset( $this->file_paths ) ) {
|
100 |
+
return $this->file_paths;
|
101 |
+
}
|
102 |
+
|
103 |
+
$plugin = SFM_Plugin::get_instance();
|
104 |
+
|
105 |
+
$uploads = wp_upload_dir();
|
106 |
+
$fonts_dir = '/styles-fonts';
|
107 |
+
|
108 |
+
$this->file_paths = array(
|
109 |
+
'plugin' => array(
|
110 |
+
'path' => $plugin->plugin_directory . $fonts_dir,
|
111 |
+
'url' => $plugin->plugin_url . $fonts_dir,
|
112 |
+
),
|
113 |
+
'uploads' => array(
|
114 |
+
'path' => $uploads['basedir'] . $fonts_dir,
|
115 |
+
'url' => $uploads['baseurl'] . $fonts_dir,
|
116 |
+
),
|
117 |
+
);
|
118 |
+
return $this->file_paths;
|
119 |
+
}
|
120 |
+
|
121 |
+
/**
|
122 |
+
* @return string Path or URL to file if it exists in paths listed in get_file_paths()
|
123 |
+
*/
|
124 |
+
public function get_file( $path_or_url = 'path', $ext = 'png', $return_cache_path = false ) {
|
125 |
+
$variant = $this->get_variant();
|
126 |
+
|
127 |
+
$target = "/$ext/" . $variant['filename'] . ".$ext";
|
128 |
+
$locations = $this->get_file_paths();
|
129 |
+
|
130 |
+
foreach ( $locations as $location ) {
|
131 |
+
$path = $location[ 'path' ] . $target;
|
132 |
+
$url = $location[ 'url' ] . $target;
|
133 |
+
|
134 |
+
if ( file_exists( $path ) ) {
|
135 |
+
if ( 'path' == $path_or_url ) {
|
136 |
+
return $path;
|
137 |
+
}else {
|
138 |
+
return $url;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
if ( $return_cache_path ) {
|
144 |
+
return $locations['uploads']['path'] . $target;
|
145 |
+
}
|
146 |
+
|
147 |
+
return false;
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* @return string URL of image preview PNG for the active variant
|
152 |
+
*/
|
153 |
+
public function get_png_url() {
|
154 |
+
return $this->get_file( 'url', 'png' );
|
155 |
+
}
|
156 |
+
|
157 |
+
/**
|
158 |
+
* @return string path of image preview PNG for the active variant
|
159 |
+
*/
|
160 |
+
public function get_png_path() {
|
161 |
+
return $this->get_file( 'path', 'png');
|
162 |
+
}
|
163 |
+
|
164 |
+
public function get_png_cache_path() {
|
165 |
+
return $this->get_file( 'path', 'png', true );
|
166 |
+
}
|
167 |
+
|
168 |
+
/**
|
169 |
+
* @return string path of TTF for the active variant
|
170 |
+
*/
|
171 |
+
public function get_ttf_path() {
|
172 |
+
return $this->get_file( 'path', 'ttf' );
|
173 |
+
}
|
174 |
+
|
175 |
+
public function get_ttf_cache_path() {
|
176 |
+
return $this->get_file( 'path', 'ttf', true );
|
177 |
+
}
|
178 |
+
|
179 |
+
/**
|
180 |
+
* @return string Remote (google) URL of TTF for the active variant
|
181 |
+
*/
|
182 |
+
public function get_ttf_url() {
|
183 |
+
$variant = $this->get_variant();
|
184 |
+
$variant_name = $variant['name'];
|
185 |
+
|
186 |
+
return $this->files->{$variant_name};
|
187 |
+
}
|
188 |
+
|
189 |
+
/**
|
190 |
+
* @return string sanatized font family name for use in file names.
|
191 |
+
*/
|
192 |
+
public function get_nicename() {
|
193 |
+
if ( isset( $this->nicename ) ) {
|
194 |
+
return $this->nicename;
|
195 |
+
}
|
196 |
+
$this->nicename = strtolower( preg_replace( '/[^a-zA-Z0-9]/', '', $this->family ) );
|
197 |
+
return $this->nicename;
|
198 |
+
}
|
199 |
+
|
200 |
+
/**
|
201 |
+
* @return string path to the cached or downloaded TTF file
|
202 |
+
*/
|
203 |
+
public function maybe_get_remote_ttf() {
|
204 |
+
$ttf_path = $this->get_ttf_path();
|
205 |
+
|
206 |
+
if ( file_exists( $ttf_path ) ) {
|
207 |
+
return $ttf_path;
|
208 |
+
}else {
|
209 |
+
return $this->get_remote_ttf();
|
210 |
+
}
|
211 |
+
}
|
212 |
+
|
213 |
+
/**
|
214 |
+
* @return string path to the cached TTF file received from remote request.
|
215 |
+
*/
|
216 |
+
public function get_remote_ttf() {
|
217 |
+
// Load filesystem
|
218 |
+
if ( !function_exists('WP_Filesystem')) { require ABSPATH . 'wp-admin/includes/file.php'; }
|
219 |
+
global $wp_filesystem;
|
220 |
+
WP_Filesystem();
|
221 |
+
|
222 |
+
// Create cache directory
|
223 |
+
$dir = dirname( $this->get_ttf_path() );
|
224 |
+
if ( !is_dir( $dir ) && !wp_mkdir_p( $dir ) ) {
|
225 |
+
wp_die( "Please check permissions. Could not create directory $dir" );
|
226 |
+
}
|
227 |
+
|
228 |
+
// Cache remote TTF to filesystem
|
229 |
+
$ttf_file_path = $wp_filesystem->put_contents(
|
230 |
+
$this->get_ttf_cache_path(),
|
231 |
+
$this->get_remote_ttf_contents(),
|
232 |
+
FS_CHMOD_FILE // predefined mode settings for WP files
|
233 |
+
);
|
234 |
+
|
235 |
+
// Check file saved
|
236 |
+
if ( !$ttf_file_path ) {
|
237 |
+
wp_die( "Please check permissions. Could not write font to $dir" );
|
238 |
+
}
|
239 |
+
|
240 |
+
return $this->get_ttf_path();
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* @return binary The active variant's TTF file contents
|
245 |
+
*/
|
246 |
+
public function get_remote_ttf_contents() {
|
247 |
+
$ttf_url = $this->get_ttf_url();
|
248 |
+
|
249 |
+
if ( empty( $ttf_url ) ) {
|
250 |
+
wp_die( 'Font URL not set.' );
|
251 |
+
}
|
252 |
+
|
253 |
+
$response = wp_remote_get( $ttf_url );
|
254 |
+
|
255 |
+
if ( is_a( $response, 'WP_Error') ) {
|
256 |
+
wp_die( "Attempt to get remote font returned an error.<br/>$ttf_url" );
|
257 |
+
}
|
258 |
+
|
259 |
+
return $response['body'];
|
260 |
+
}
|
261 |
+
|
262 |
+
}
|
classes/styles-font-menu/classes/sfm-single-standard.php
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class SFM_Single_Standard {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @var string Name of the font
|
7 |
+
*/
|
8 |
+
protected $name;
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Font family stack for output as CSS value
|
12 |
+
*/
|
13 |
+
protected $family;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* CSS class for output in Menu stylesheet
|
17 |
+
*/
|
18 |
+
protected $classname;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Values for this font that should go into JSON encoded <option> values
|
22 |
+
*/
|
23 |
+
protected $option_value_whitelist = array( 'family', 'name' );
|
24 |
+
|
25 |
+
public function __construct( $args ) {
|
26 |
+
$this->name = $args['name'];
|
27 |
+
$this->family = $args['family'];
|
28 |
+
$this->classname = $this->get_classname();
|
29 |
+
}
|
30 |
+
|
31 |
+
/**
|
32 |
+
* When we echo this class, output encoded JSON values
|
33 |
+
*
|
34 |
+
* @return string JSON string of values
|
35 |
+
*/
|
36 |
+
public function __tostring() {
|
37 |
+
return json_encode( $this->get_option_values() );
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* If client tries to access variables directly, pass to get() method
|
42 |
+
*/
|
43 |
+
public function __get( $target ) {
|
44 |
+
return $this->get( $target );
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* If a get_XXX method exists for a variable, use it.
|
49 |
+
* Otherwise, return the variable value
|
50 |
+
*/
|
51 |
+
public function get( $target = 'fonts' ) {
|
52 |
+
$method = 'get_' . $target;
|
53 |
+
if ( method_exists( $this, $method ) ) {
|
54 |
+
return $this->$method();
|
55 |
+
}else if ( isset( $this->$target ) ){
|
56 |
+
return $this->$target;
|
57 |
+
}else {
|
58 |
+
return false;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
/**
|
63 |
+
* Similar to WordPress sanatize_key.
|
64 |
+
*
|
65 |
+
* @param string $key Name of a font.
|
66 |
+
* @return string Lowercase alphanumeric name of font without spaces.
|
67 |
+
*/
|
68 |
+
public function sanatize_key( $key ) {
|
69 |
+
return strtolower( preg_replace( '/[^a-zA-Z0-9]/', '', $key ) );
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Strip out unecessary metadata <select> option values
|
74 |
+
*
|
75 |
+
* @param array $font Font metadata, such as array( 'key', 'import_family', 'font_family', 'font_name' )
|
76 |
+
* @return array Same array, stripped of extra keys
|
77 |
+
*/
|
78 |
+
public function get_option_values() {
|
79 |
+
$option_values = array();
|
80 |
+
|
81 |
+
foreach ( $this->option_value_whitelist as $key ) {
|
82 |
+
$value = $this->get( $key );
|
83 |
+
if ( !empty( $value ) ) {
|
84 |
+
$option_values[ $key ] = $value;
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
return $option_values;
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* Get CSS class for output in stylesheet
|
93 |
+
*
|
94 |
+
* @return string CSS selector
|
95 |
+
*/
|
96 |
+
public function get_classname() {
|
97 |
+
if ( !empty( $this->classname ) ) {
|
98 |
+
return $this->classname;
|
99 |
+
}
|
100 |
+
$this->classname = $this->sanatize_key( $this->name );
|
101 |
+
|
102 |
+
return $this->classname;
|
103 |
+
}
|
104 |
+
|
105 |
+
public function get_selector(){
|
106 |
+
$plugin = SFM_Plugin::get_instance();
|
107 |
+
|
108 |
+
return '.' . $plugin->menu_class . ' .' . $this->get_classname();
|
109 |
+
}
|
110 |
+
|
111 |
+
public function get_menu_css() {
|
112 |
+
return $this->get_selector() . "{font-family:{$this->family}}" . PHP_EOL;
|
113 |
+
}
|
114 |
+
|
115 |
+
}
|
classes/styles-font-menu/css/styles-font-menu.css
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Admin Readme */
|
2 |
+
#styles-font-menu-readme > ul {
|
3 |
+
list-style-type: disc;
|
4 |
+
margin-left: 30px;
|
5 |
+
}
|
6 |
+
|
7 |
+
/* Menu height */
|
8 |
+
.sfm .chosen-results {
|
9 |
+
max-height: 400px !important;
|
10 |
+
}
|
11 |
+
|
12 |
+
/* Standard Font */
|
13 |
+
.sfm .sf {
|
14 |
+
font-size: 36px;
|
15 |
+
height:52px;
|
16 |
+
line-height: 52px !important;
|
17 |
+
white-space: nowrap;
|
18 |
+
}
|
19 |
+
.sfm .sf:hover {
|
20 |
+
color: #21759B;
|
21 |
+
}
|
22 |
+
|
23 |
+
/* Google Font */
|
24 |
+
.sfm .gf {
|
25 |
+
height:64px;
|
26 |
+
text-indent: -9999px;
|
27 |
+
overflow:hidden;
|
28 |
+
background-repeat: no-repeat;
|
29 |
+
}
|
30 |
+
|
31 |
+
img.sfm-preview {
|
32 |
+
margin: 0;
|
33 |
+
padding:0;
|
34 |
+
border: 0;
|
35 |
+
}
|
36 |
+
|
37 |
+
.sfm-preview, .sfm .gf {
|
38 |
+
background-color: #000;
|
39 |
+
}
|
40 |
+
|
41 |
+
.sfm-preview:hover, .sfm .gf:hover {
|
42 |
+
background-color: #21759B;
|
43 |
+
}
|
44 |
+
.sfm .chosen-results li {
|
45 |
+
padding:0 !important;
|
46 |
+
}
|
classes/styles-font-menu/img/example-output.gif
ADDED
Binary file
|
classes/styles-font-menu/img/live-demo.png
ADDED
Binary file
|
classes/styles-font-menu/js/chosen/chosen-sprite.png
ADDED
Binary file
|
classes/styles-font-menu/js/chosen/chosen-sprite@2x.png
ADDED
Binary file
|
classes/styles-font-menu/js/chosen/chosen.css
ADDED
@@ -0,0 +1,430 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* @group Base */
|
2 |
+
.chosen-container {
|
3 |
+
position: relative;
|
4 |
+
display: inline-block;
|
5 |
+
vertical-align: middle;
|
6 |
+
font-size: 13px;
|
7 |
+
zoom: 1;
|
8 |
+
*display: inline;
|
9 |
+
-webkit-user-select: none;
|
10 |
+
-moz-user-select: none;
|
11 |
+
user-select: none;
|
12 |
+
}
|
13 |
+
.chosen-container .chosen-drop {
|
14 |
+
position: absolute;
|
15 |
+
top: 100%;
|
16 |
+
left: -9999px;
|
17 |
+
z-index: 1010;
|
18 |
+
-webkit-box-sizing: border-box;
|
19 |
+
-moz-box-sizing: border-box;
|
20 |
+
box-sizing: border-box;
|
21 |
+
width: 100%;
|
22 |
+
border: 1px solid #aaa;
|
23 |
+
border-top: 0;
|
24 |
+
background: #fff;
|
25 |
+
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
26 |
+
}
|
27 |
+
.chosen-container.chosen-with-drop .chosen-drop {
|
28 |
+
left: 0;
|
29 |
+
}
|
30 |
+
.chosen-container a {
|
31 |
+
cursor: pointer;
|
32 |
+
}
|
33 |
+
|
34 |
+
/* @end */
|
35 |
+
/* @group Single Chosen */
|
36 |
+
.chosen-container-single .chosen-single {
|
37 |
+
position: relative;
|
38 |
+
display: block;
|
39 |
+
overflow: hidden;
|
40 |
+
padding: 0 0 0 8px;
|
41 |
+
height: 23px;
|
42 |
+
border: 1px solid #aaa;
|
43 |
+
border-radius: 5px;
|
44 |
+
background-color: #fff;
|
45 |
+
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
|
46 |
+
background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
47 |
+
background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
48 |
+
background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
49 |
+
background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
|
50 |
+
background-clip: padding-box;
|
51 |
+
box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
|
52 |
+
color: #444;
|
53 |
+
text-decoration: none;
|
54 |
+
white-space: nowrap;
|
55 |
+
line-height: 24px;
|
56 |
+
}
|
57 |
+
.chosen-container-single .chosen-default {
|
58 |
+
color: #999;
|
59 |
+
}
|
60 |
+
.chosen-container-single .chosen-single span {
|
61 |
+
display: block;
|
62 |
+
overflow: hidden;
|
63 |
+
margin-right: 26px;
|
64 |
+
text-overflow: ellipsis;
|
65 |
+
white-space: nowrap;
|
66 |
+
}
|
67 |
+
.chosen-container-single .chosen-single-with-deselect span {
|
68 |
+
margin-right: 38px;
|
69 |
+
}
|
70 |
+
.chosen-container-single .chosen-single abbr {
|
71 |
+
position: absolute;
|
72 |
+
top: 6px;
|
73 |
+
right: 26px;
|
74 |
+
display: block;
|
75 |
+
width: 12px;
|
76 |
+
height: 12px;
|
77 |
+
background: url('chosen-sprite.png') -42px 1px no-repeat;
|
78 |
+
font-size: 1px;
|
79 |
+
}
|
80 |
+
.chosen-container-single .chosen-single abbr:hover {
|
81 |
+
background-position: -42px -10px;
|
82 |
+
}
|
83 |
+
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
|
84 |
+
background-position: -42px -10px;
|
85 |
+
}
|
86 |
+
.chosen-container-single .chosen-single div {
|
87 |
+
position: absolute;
|
88 |
+
top: 0;
|
89 |
+
right: 0;
|
90 |
+
display: block;
|
91 |
+
width: 18px;
|
92 |
+
height: 100%;
|
93 |
+
}
|
94 |
+
.chosen-container-single .chosen-single div b {
|
95 |
+
display: block;
|
96 |
+
width: 100%;
|
97 |
+
height: 100%;
|
98 |
+
background: url('chosen-sprite.png') no-repeat 0px 2px;
|
99 |
+
}
|
100 |
+
.chosen-container-single .chosen-search {
|
101 |
+
position: relative;
|
102 |
+
z-index: 1010;
|
103 |
+
margin: 0;
|
104 |
+
padding: 3px 4px;
|
105 |
+
white-space: nowrap;
|
106 |
+
}
|
107 |
+
.chosen-container-single .chosen-search input[type="text"] {
|
108 |
+
-webkit-box-sizing: border-box;
|
109 |
+
-moz-box-sizing: border-box;
|
110 |
+
box-sizing: border-box;
|
111 |
+
margin: 1px 0;
|
112 |
+
padding: 4px 20px 4px 5px;
|
113 |
+
width: 100%;
|
114 |
+
height: auto;
|
115 |
+
outline: 0;
|
116 |
+
border: 1px solid #aaa;
|
117 |
+
background: white url('chosen-sprite.png') no-repeat 100% -20px;
|
118 |
+
background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
119 |
+
background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
120 |
+
background: url('chosen-sprite.png') no-repeat 100% -20px, -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
121 |
+
background: url('chosen-sprite.png') no-repeat 100% -20px, -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
122 |
+
background: url('chosen-sprite.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
|
123 |
+
font-size: 1em;
|
124 |
+
font-family: sans-serif;
|
125 |
+
line-height: normal;
|
126 |
+
border-radius: 0;
|
127 |
+
}
|
128 |
+
.chosen-container-single .chosen-drop {
|
129 |
+
margin-top: -1px;
|
130 |
+
border-radius: 0 0 4px 4px;
|
131 |
+
background-clip: padding-box;
|
132 |
+
}
|
133 |
+
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
|
134 |
+
position: absolute;
|
135 |
+
left: -9999px;
|
136 |
+
}
|
137 |
+
|
138 |
+
/* @end */
|
139 |
+
/* @group Results */
|
140 |
+
.chosen-container .chosen-results {
|
141 |
+
position: relative;
|
142 |
+
overflow-x: hidden;
|
143 |
+
overflow-y: auto;
|
144 |
+
margin: 0 4px 4px 0;
|
145 |
+
padding: 0 0 0 4px;
|
146 |
+
max-height: 240px;
|
147 |
+
-webkit-overflow-scrolling: touch;
|
148 |
+
}
|
149 |
+
.chosen-container .chosen-results li {
|
150 |
+
display: none;
|
151 |
+
margin: 0;
|
152 |
+
padding: 5px 6px;
|
153 |
+
list-style: none;
|
154 |
+
line-height: 15px;
|
155 |
+
}
|
156 |
+
.chosen-container .chosen-results li.active-result {
|
157 |
+
display: list-item;
|
158 |
+
cursor: pointer;
|
159 |
+
}
|
160 |
+
.chosen-container .chosen-results li.disabled-result {
|
161 |
+
display: list-item;
|
162 |
+
color: #ccc;
|
163 |
+
cursor: default;
|
164 |
+
}
|
165 |
+
.chosen-container .chosen-results li.highlighted {
|
166 |
+
/*background-color: #3875d7;
|
167 |
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
|
168 |
+
background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
169 |
+
background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
170 |
+
background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
|
171 |
+
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
|
172 |
+
color: #fff;*/
|
173 |
+
}
|
174 |
+
.chosen-container .chosen-results li.no-results {
|
175 |
+
display: list-item;
|
176 |
+
background: #f4f4f4;
|
177 |
+
}
|
178 |
+
.chosen-container .chosen-results li.group-result {
|
179 |
+
display: list-item;
|
180 |
+
font-weight: bold;
|
181 |
+
cursor: default;
|
182 |
+
}
|
183 |
+
.chosen-container .chosen-results li.group-option {
|
184 |
+
padding-left: 15px;
|
185 |
+
}
|
186 |
+
.chosen-container .chosen-results li em {
|
187 |
+
font-style: normal;
|
188 |
+
text-decoration: underline;
|
189 |
+
}
|
190 |
+
|
191 |
+
/* @end */
|
192 |
+
/* @group Multi Chosen */
|
193 |
+
.chosen-container-multi .chosen-choices {
|
194 |
+
position: relative;
|
195 |
+
overflow: hidden;
|
196 |
+
-webkit-box-sizing: border-box;
|
197 |
+
-moz-box-sizing: border-box;
|
198 |
+
box-sizing: border-box;
|
199 |
+
margin: 0;
|
200 |
+
padding: 0;
|
201 |
+
width: 100%;
|
202 |
+
height: auto !important;
|
203 |
+
height: 1%;
|
204 |
+
border: 1px solid #aaa;
|
205 |
+
background-color: #fff;
|
206 |
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
207 |
+
background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
208 |
+
background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
209 |
+
background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
210 |
+
background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
|
211 |
+
cursor: text;
|
212 |
+
}
|
213 |
+
.chosen-container-multi .chosen-choices li {
|
214 |
+
float: left;
|
215 |
+
list-style: none;
|
216 |
+
}
|
217 |
+
.chosen-container-multi .chosen-choices li.search-field {
|
218 |
+
margin: 0;
|
219 |
+
padding: 0;
|
220 |
+
white-space: nowrap;
|
221 |
+
}
|
222 |
+
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
|
223 |
+
margin: 1px 0;
|
224 |
+
padding: 5px;
|
225 |
+
height: 15px;
|
226 |
+
outline: 0;
|
227 |
+
border: 0 !important;
|
228 |
+
background: transparent !important;
|
229 |
+
box-shadow: none;
|
230 |
+
color: #666;
|
231 |
+
font-size: 100%;
|
232 |
+
font-family: sans-serif;
|
233 |
+
line-height: normal;
|
234 |
+
border-radius: 0;
|
235 |
+
}
|
236 |
+
.chosen-container-multi .chosen-choices li.search-field .default {
|
237 |
+
color: #999;
|
238 |
+
}
|
239 |
+
.chosen-container-multi .chosen-choices li.search-choice {
|
240 |
+
position: relative;
|
241 |
+
margin: 3px 0 3px 5px;
|
242 |
+
padding: 3px 20px 3px 5px;
|
243 |
+
border: 1px solid #aaa;
|
244 |
+
border-radius: 3px;
|
245 |
+
/*background-color: #e4e4e4;
|
246 |
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
247 |
+
background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
248 |
+
background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
249 |
+
background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
250 |
+
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);*/
|
251 |
+
background-clip: padding-box;
|
252 |
+
box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
253 |
+
color: #333;
|
254 |
+
line-height: 13px;
|
255 |
+
cursor: default;
|
256 |
+
}
|
257 |
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
258 |
+
position: absolute;
|
259 |
+
top: 4px;
|
260 |
+
right: 3px;
|
261 |
+
display: block;
|
262 |
+
width: 12px;
|
263 |
+
height: 12px;
|
264 |
+
background: url('chosen-sprite.png') -42px 1px no-repeat;
|
265 |
+
font-size: 1px;
|
266 |
+
}
|
267 |
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
|
268 |
+
background-position: -42px -10px;
|
269 |
+
}
|
270 |
+
.chosen-container-multi .chosen-choices li.search-choice-disabled {
|
271 |
+
padding-right: 5px;
|
272 |
+
border: 1px solid #ccc;
|
273 |
+
background-color: #e4e4e4;
|
274 |
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
|
275 |
+
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
276 |
+
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
277 |
+
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
278 |
+
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
|
279 |
+
color: #666;
|
280 |
+
}
|
281 |
+
.chosen-container-multi .chosen-choices li.search-choice-focus {
|
282 |
+
background: #d4d4d4;
|
283 |
+
}
|
284 |
+
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
|
285 |
+
background-position: -42px -10px;
|
286 |
+
}
|
287 |
+
.chosen-container-multi .chosen-results {
|
288 |
+
margin: 0;
|
289 |
+
padding: 0;
|
290 |
+
}
|
291 |
+
.chosen-container-multi .chosen-drop .result-selected {
|
292 |
+
display: list-item;
|
293 |
+
color: #ccc;
|
294 |
+
cursor: default;
|
295 |
+
}
|
296 |
+
|
297 |
+
/* @end */
|
298 |
+
/* @group Active */
|
299 |
+
.chosen-container-active .chosen-single {
|
300 |
+
border: 1px solid #5897fb;
|
301 |
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
302 |
+
}
|
303 |
+
.chosen-container-active.chosen-with-drop .chosen-single {
|
304 |
+
border: 1px solid #aaa;
|
305 |
+
-moz-border-radius-bottomright: 0;
|
306 |
+
border-bottom-right-radius: 0;
|
307 |
+
-moz-border-radius-bottomleft: 0;
|
308 |
+
border-bottom-left-radius: 0;
|
309 |
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
|
310 |
+
background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
311 |
+
background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
312 |
+
background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%);
|
313 |
+
background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
|
314 |
+
box-shadow: 0 1px 0 #fff inset;
|
315 |
+
}
|
316 |
+
.chosen-container-active.chosen-with-drop .chosen-single div {
|
317 |
+
border-left: none;
|
318 |
+
background: transparent;
|
319 |
+
}
|
320 |
+
.chosen-container-active.chosen-with-drop .chosen-single div b {
|
321 |
+
background-position: -18px 2px;
|
322 |
+
}
|
323 |
+
.chosen-container-active .chosen-choices {
|
324 |
+
border: 1px solid #5897fb;
|
325 |
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
326 |
+
}
|
327 |
+
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
|
328 |
+
color: #111 !important;
|
329 |
+
}
|
330 |
+
|
331 |
+
/* @end */
|
332 |
+
/* @group Disabled Support */
|
333 |
+
.chosen-disabled {
|
334 |
+
opacity: 0.5 !important;
|
335 |
+
cursor: default;
|
336 |
+
}
|
337 |
+
.chosen-disabled .chosen-single {
|
338 |
+
cursor: default;
|
339 |
+
}
|
340 |
+
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
341 |
+
cursor: default;
|
342 |
+
}
|
343 |
+
|
344 |
+
/* @end */
|
345 |
+
/* @group Right to Left */
|
346 |
+
.chosen-rtl {
|
347 |
+
text-align: right;
|
348 |
+
}
|
349 |
+
.chosen-rtl .chosen-single {
|
350 |
+
overflow: visible;
|
351 |
+
padding: 0 8px 0 0;
|
352 |
+
}
|
353 |
+
.chosen-rtl .chosen-single span {
|
354 |
+
margin-right: 0;
|
355 |
+
margin-left: 26px;
|
356 |
+
direction: rtl;
|
357 |
+
}
|
358 |
+
.chosen-rtl .chosen-single-with-deselect span {
|
359 |
+
margin-left: 38px;
|
360 |
+
}
|
361 |
+
.chosen-rtl .chosen-single div {
|
362 |
+
right: auto;
|
363 |
+
left: 3px;
|
364 |
+
}
|
365 |
+
.chosen-rtl .chosen-single abbr {
|
366 |
+
right: auto;
|
367 |
+
left: 26px;
|
368 |
+
}
|
369 |
+
.chosen-rtl .chosen-choices li {
|
370 |
+
float: right;
|
371 |
+
}
|
372 |
+
.chosen-rtl .chosen-choices li.search-field input[type="text"] {
|
373 |
+
direction: rtl;
|
374 |
+
}
|
375 |
+
.chosen-rtl .chosen-choices li.search-choice {
|
376 |
+
margin: 3px 5px 3px 0;
|
377 |
+
padding: 3px 5px 3px 19px;
|
378 |
+
}
|
379 |
+
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
|
380 |
+
right: auto;
|
381 |
+
left: 4px;
|
382 |
+
}
|
383 |
+
.chosen-rtl.chosen-container-single-nosearch .chosen-search,
|
384 |
+
.chosen-rtl .chosen-drop {
|
385 |
+
left: 9999px;
|
386 |
+
}
|
387 |
+
.chosen-rtl.chosen-container-single .chosen-results {
|
388 |
+
margin: 0 0 4px 4px;
|
389 |
+
padding: 0 4px 0 0;
|
390 |
+
}
|
391 |
+
.chosen-rtl .chosen-results li.group-option {
|
392 |
+
padding-right: 15px;
|
393 |
+
padding-left: 0;
|
394 |
+
}
|
395 |
+
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
|
396 |
+
border-right: none;
|
397 |
+
}
|
398 |
+
.chosen-rtl .chosen-search input[type="text"] {
|
399 |
+
padding: 4px 5px 4px 20px;
|
400 |
+
background: white url('chosen-sprite.png') no-repeat -30px -20px;
|
401 |
+
background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
402 |
+
background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
403 |
+
background: url('chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
404 |
+
background: url('chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
|
405 |
+
background: url('chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
|
406 |
+
direction: rtl;
|
407 |
+
}
|
408 |
+
.chosen-rtl.chosen-container-single .chosen-single div b {
|
409 |
+
background-position: 6px 2px;
|
410 |
+
}
|
411 |
+
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
|
412 |
+
background-position: -12px 2px;
|
413 |
+
}
|
414 |
+
|
415 |
+
/* @end */
|
416 |
+
/* @group Retina compatibility */
|
417 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
|
418 |
+
.chosen-rtl .chosen-search input[type="text"],
|
419 |
+
.chosen-container-single .chosen-single abbr,
|
420 |
+
.chosen-container-single .chosen-single div b,
|
421 |
+
.chosen-container-single .chosen-search input[type="text"],
|
422 |
+
.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
|
423 |
+
.chosen-container .chosen-results-scroll-down span,
|
424 |
+
.chosen-container .chosen-results-scroll-up span {
|
425 |
+
background-image: url('chosen-sprite@2x.png') !important;
|
426 |
+
background-size: 52px 37px !important;
|
427 |
+
background-repeat: no-repeat !important;
|
428 |
+
}
|
429 |
+
}
|
430 |
+
/* @end */
|
classes/styles-font-menu/js/chosen/chosen.jquery.js
ADDED
@@ -0,0 +1,1166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Chosen, a Select Box Enhancer for jQuery and Prototype
|
2 |
+
// by Patrick Filler for Harvest, http://getharvest.com
|
3 |
+
//
|
4 |
+
// Version 1.0.0
|
5 |
+
// Full source at https://github.com/harvesthq/chosen
|
6 |
+
// Copyright (c) 2011 Harvest http://getharvest.com
|
7 |
+
|
8 |
+
// MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
|
9 |
+
// This file is generated by `grunt build`, do not edit it by hand.
|
10 |
+
(function() {
|
11 |
+
var $, AbstractChosen, Chosen, SelectParser, _ref,
|
12 |
+
__hasProp = {}.hasOwnProperty,
|
13 |
+
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
|
14 |
+
|
15 |
+
SelectParser = (function() {
|
16 |
+
function SelectParser() {
|
17 |
+
this.options_index = 0;
|
18 |
+
this.parsed = [];
|
19 |
+
}
|
20 |
+
|
21 |
+
SelectParser.prototype.add_node = function(child) {
|
22 |
+
if (child.nodeName.toUpperCase() === "OPTGROUP") {
|
23 |
+
return this.add_group(child);
|
24 |
+
} else {
|
25 |
+
return this.add_option(child);
|
26 |
+
}
|
27 |
+
};
|
28 |
+
|
29 |
+
SelectParser.prototype.add_group = function(group) {
|
30 |
+
var group_position, option, _i, _len, _ref, _results;
|
31 |
+
|
32 |
+
group_position = this.parsed.length;
|
33 |
+
this.parsed.push({
|
34 |
+
array_index: group_position,
|
35 |
+
group: true,
|
36 |
+
label: this.escapeExpression(group.label),
|
37 |
+
children: 0,
|
38 |
+
disabled: group.disabled
|
39 |
+
});
|
40 |
+
_ref = group.childNodes;
|
41 |
+
_results = [];
|
42 |
+
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
43 |
+
option = _ref[_i];
|
44 |
+
_results.push(this.add_option(option, group_position, group.disabled));
|
45 |
+
}
|
46 |
+
return _results;
|
47 |
+
};
|
48 |
+
|
49 |
+
SelectParser.prototype.add_option = function(option, group_position, group_disabled) {
|
50 |
+
if (option.nodeName.toUpperCase() === "OPTION") {
|
51 |
+
if (option.text !== "") {
|
52 |
+
if (group_position != null) {
|
53 |
+
this.parsed[group_position].children += 1;
|
54 |
+
}
|
55 |
+
this.parsed.push({
|
56 |
+
array_index: this.parsed.length,
|
57 |
+
options_index: this.options_index,
|
58 |
+
value: option.value,
|
59 |
+
text: option.text,
|
60 |
+
html: option.innerHTML,
|
61 |
+
selected: option.selected,
|
62 |
+
disabled: group_disabled === true ? group_disabled : option.disabled,
|
63 |
+
group_array_index: group_position,
|
64 |
+
classes: option.className,
|
65 |
+
style: option.style.cssText
|
66 |
+
});
|
67 |
+
} else {
|
68 |
+
this.parsed.push({
|
69 |
+
array_index: this.parsed.length,
|
70 |
+
options_index: this.options_index,
|
71 |
+
empty: true
|
72 |
+
});
|
73 |
+
}
|
74 |
+
return this.options_index += 1;
|
75 |
+
}
|
76 |
+
};
|
77 |
+
|
78 |
+
SelectParser.prototype.escapeExpression = function(text) {
|
79 |
+
var map, unsafe_chars;
|
80 |
+
|
81 |
+
if ((text == null) || text === false) {
|
82 |
+
return "";
|
83 |
+
}
|
84 |
+
if (!/[\&\<\>\"\'\`]/.test(text)) {
|
85 |
+
return text;
|
86 |
+
}
|
87 |
+
map = {
|
88 |
+
"<": "<",
|
89 |
+
">": ">",
|
90 |
+
'"': """,
|
91 |
+
"'": "'",
|
92 |
+
"`": "`"
|
93 |
+
};
|
94 |
+
unsafe_chars = /&(?!\w+;)|[\<\>\"\'\`]/g;
|
95 |
+
return text.replace(unsafe_chars, function(chr) {
|
96 |
+
return map[chr] || "&";
|
97 |
+
});
|
98 |
+
};
|
99 |
+
|
100 |
+
return SelectParser;
|
101 |
+
|
102 |
+
})();
|
103 |
+
|
104 |
+
SelectParser.select_to_array = function(select) {
|
105 |
+
var child, parser, _i, _len, _ref;
|
106 |
+
|
107 |
+
parser = new SelectParser();
|
108 |
+
_ref = select.childNodes;
|
109 |
+
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
110 |
+
child = _ref[_i];
|
111 |
+
parser.add_node(child);
|
112 |
+
}
|
113 |
+
return parser.parsed;
|
114 |
+
};
|
115 |
+
|
116 |
+
AbstractChosen = (function() {
|
117 |
+
function AbstractChosen(form_field, options) {
|
118 |
+
this.form_field = form_field;
|
119 |
+
this.options = options != null ? options : {};
|
120 |
+
if (!AbstractChosen.browser_is_supported()) {
|
121 |
+
return;
|
122 |
+
}
|
123 |
+
this.is_multiple = this.form_field.multiple;
|
124 |
+
this.set_default_text();
|
125 |
+
this.set_default_values();
|
126 |
+
this.setup();
|
127 |
+
this.set_up_html();
|
128 |
+
this.register_observers();
|
129 |
+
}
|
130 |
+
|
131 |
+
AbstractChosen.prototype.set_default_values = function() {
|
132 |
+
var _this = this;
|
133 |
+
|
134 |
+
this.click_test_action = function(evt) {
|
135 |
+
return _this.test_active_click(evt);
|
136 |
+
};
|
137 |
+
this.activate_action = function(evt) {
|
138 |
+
return _this.activate_field(evt);
|
139 |
+
};
|
140 |
+
this.active_field = false;
|
141 |
+
this.mouse_on_container = false;
|
142 |
+
this.results_showing = false;
|
143 |
+
this.result_highlighted = null;
|
144 |
+
this.result_single_selected = null;
|
145 |
+
this.allow_single_deselect = (this.options.allow_single_deselect != null) && (this.form_field.options[0] != null) && this.form_field.options[0].text === "" ? this.options.allow_single_deselect : false;
|
146 |
+
this.disable_search_threshold = this.options.disable_search_threshold || 0;
|
147 |
+
this.disable_search = this.options.disable_search || false;
|
148 |
+
this.enable_split_word_search = this.options.enable_split_word_search != null ? this.options.enable_split_word_search : true;
|
149 |
+
this.group_search = this.options.group_search != null ? this.options.group_search : true;
|
150 |
+
this.search_contains = this.options.search_contains || false;
|
151 |
+
this.single_backstroke_delete = this.options.single_backstroke_delete != null ? this.options.single_backstroke_delete : true;
|
152 |
+
this.max_selected_options = this.options.max_selected_options || Infinity;
|
153 |
+
this.inherit_select_classes = this.options.inherit_select_classes || false;
|
154 |
+
this.display_selected_options = this.options.display_selected_options != null ? this.options.display_selected_options : true;
|
155 |
+
return this.display_disabled_options = this.options.display_disabled_options != null ? this.options.display_disabled_options : true;
|
156 |
+
};
|
157 |
+
|
158 |
+
AbstractChosen.prototype.set_default_text = function() {
|
159 |
+
if (this.form_field.getAttribute("data-placeholder")) {
|
160 |
+
this.default_text = this.form_field.getAttribute("data-placeholder");
|
161 |
+
} else if (this.is_multiple) {
|
162 |
+
this.default_text = this.options.placeholder_text_multiple || this.options.placeholder_text || AbstractChosen.default_multiple_text;
|
163 |
+
} else {
|
164 |
+
this.default_text = this.options.placeholder_text_single || this.options.placeholder_text || AbstractChosen.default_single_text;
|
165 |
+
}
|
166 |
+
return this.results_none_found = this.form_field.getAttribute("data-no_results_text") || this.options.no_results_text || AbstractChosen.default_no_result_text;
|
167 |
+
};
|
168 |
+
|
169 |
+
AbstractChosen.prototype.mouse_enter = function() {
|
170 |
+
return this.mouse_on_container = true;
|
171 |
+
};
|
172 |
+
|
173 |
+
AbstractChosen.prototype.mouse_leave = function() {
|
174 |
+
return this.mouse_on_container = false;
|
175 |
+
};
|
176 |
+
|
177 |
+
AbstractChosen.prototype.input_focus = function(evt) {
|
178 |
+
var _this = this;
|
179 |
+
|
180 |
+
if (this.is_multiple) {
|
181 |
+
if (!this.active_field) {
|
182 |
+
return setTimeout((function() {
|
183 |
+
return _this.container_mousedown();
|
184 |
+
}), 50);
|
185 |
+
}
|
186 |
+
} else {
|
187 |
+
if (!this.active_field) {
|
188 |
+
return this.activate_field();
|
189 |
+
}
|
190 |
+
}
|
191 |
+
};
|
192 |
+
|
193 |
+
AbstractChosen.prototype.input_blur = function(evt) {
|
194 |
+
var _this = this;
|
195 |
+
|
196 |
+
if (!this.mouse_on_container) {
|
197 |
+
this.active_field = false;
|
198 |
+
return setTimeout((function() {
|
199 |
+
return _this.blur_test();
|
200 |
+
}), 100);
|
201 |
+
}
|
202 |
+
};
|
203 |
+
|
204 |
+
AbstractChosen.prototype.results_option_build = function(options) {
|
205 |
+
var content, data, _i, _len, _ref;
|
206 |
+
|
207 |
+
content = '';
|
208 |
+
_ref = this.results_data;
|
209 |
+
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
210 |
+
data = _ref[_i];
|
211 |
+
if (data.group) {
|
212 |
+
content += this.result_add_group(data);
|
213 |
+
} else {
|
214 |
+
content += this.result_add_option(data);
|
215 |
+
}
|
216 |
+
if (options != null ? options.first : void 0) {
|
217 |
+
if (data.selected && this.is_multiple) {
|
218 |
+
this.choice_build(data);
|
219 |
+
} else if (data.selected && !this.is_multiple) {
|
220 |
+
this.single_set_selected_text(data.text);
|
221 |
+
}
|
222 |
+
}
|
223 |
+
}
|
224 |
+
return content;
|
225 |
+
};
|
226 |
+
|
227 |
+
AbstractChosen.prototype.result_add_option = function(option) {
|
228 |
+
var classes, style;
|
229 |
+
|
230 |
+
if (!option.search_match) {
|
231 |
+
return '';
|
232 |
+
}
|
233 |
+
if (!this.include_option_in_results(option)) {
|
234 |
+
return '';
|
235 |
+
}
|
236 |
+
classes = [];
|
237 |
+
if (!option.disabled && !(option.selected && this.is_multiple)) {
|
238 |
+
classes.push("active-result");
|
239 |
+
}
|
240 |
+
if (option.disabled && !(option.selected && this.is_multiple)) {
|
241 |
+
classes.push("disabled-result");
|
242 |
+
}
|
243 |
+
if (option.selected) {
|
244 |
+
classes.push("result-selected");
|
245 |
+
}
|
246 |
+
if (option.group_array_index != null) {
|
247 |
+
classes.push("group-option");
|
248 |
+
}
|
249 |
+
if (option.classes !== "") {
|
250 |
+
classes.push(option.classes);
|
251 |
+
}
|
252 |
+
style = option.style.cssText !== "" ? " style=\"" + option.style + "\"" : "";
|
253 |
+
return "<li class=\"" + (classes.join(' ')) + "\"" + style + " data-option-array-index=\"" + option.array_index + "\">" + option.search_text + "</li>";
|
254 |
+
};
|
255 |
+
|
256 |
+
AbstractChosen.prototype.result_add_group = function(group) {
|
257 |
+
if (!(group.search_match || group.group_match)) {
|
258 |
+
return '';
|
259 |
+
}
|
260 |
+
if (!(group.active_options > 0)) {
|
261 |
+
return '';
|
262 |
+
}
|
263 |
+
return "<li class=\"group-result\">" + group.search_text + "</li>";
|
264 |
+
};
|
265 |
+
|
266 |
+
AbstractChosen.prototype.results_update_field = function() {
|
267 |
+
this.set_default_text();
|
268 |
+
if (!this.is_multiple) {
|
269 |
+
this.results_reset_cleanup();
|
270 |
+
}
|
271 |
+
this.result_clear_highlight();
|
272 |
+
this.result_single_selected = null;
|
273 |
+
this.results_build();
|
274 |
+
if (this.results_showing) {
|
275 |
+
return this.winnow_results();
|
276 |
+
}
|
277 |
+
};
|
278 |
+
|
279 |
+
AbstractChosen.prototype.results_toggle = function() {
|
280 |
+
if (this.results_showing) {
|
281 |
+
return this.results_hide();
|
282 |
+
} else {
|
283 |
+
return this.results_show();
|
284 |
+
}
|
285 |
+
};
|
286 |
+
|
287 |
+
AbstractChosen.prototype.results_search = function(evt) {
|
288 |
+
if (this.results_showing) {
|
289 |
+
return this.winnow_results();
|
290 |
+
} else {
|
291 |
+
return this.results_show();
|
292 |
+
}
|
293 |
+
};
|
294 |
+
|
295 |
+
AbstractChosen.prototype.winnow_results = function() {
|
296 |
+
var escapedSearchText, option, regex, regexAnchor, results, results_group, searchText, startpos, text, zregex, _i, _len, _ref;
|
297 |
+
|
298 |
+
this.no_results_clear();
|
299 |
+
results = 0;
|
300 |
+
searchText = this.get_search_text();
|
301 |
+
escapedSearchText = searchText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
302 |
+
regexAnchor = this.search_contains ? "" : "^";
|
303 |
+
regex = new RegExp(regexAnchor + escapedSearchText, 'i');
|
304 |
+
zregex = new RegExp(escapedSearchText, 'i');
|
305 |
+
_ref = this.results_data;
|
306 |
+
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
307 |
+
option = _ref[_i];
|
308 |
+
option.search_match = false;
|
309 |
+
results_group = null;
|
310 |
+
if (this.include_option_in_results(option)) {
|
311 |
+
if (option.group) {
|
312 |
+
option.group_match = false;
|
313 |
+
option.active_options = 0;
|
314 |
+
}
|
315 |
+
if ((option.group_array_index != null) && this.results_data[option.group_array_index]) {
|
316 |
+
results_group = this.results_data[option.group_array_index];
|
317 |
+
if (results_group.active_options === 0 && results_group.search_match) {
|
318 |
+
results += 1;
|
319 |
+
}
|
320 |
+
results_group.active_options += 1;
|
321 |
+
}
|
322 |
+
if (!(option.group && !this.group_search)) {
|
323 |
+
option.search_text = option.group ? option.label : option.html;
|
324 |
+
option.search_match = this.search_string_match(option.search_text, regex);
|
325 |
+
if (option.search_match && !option.group) {
|
326 |
+
results += 1;
|
327 |
+
}
|
328 |
+
if (option.search_match) {
|
329 |
+
if (searchText.length) {
|
330 |
+
startpos = option.search_text.search(zregex);
|
331 |
+
text = option.search_text.substr(0, startpos + searchText.length) + '</em>' + option.search_text.substr(startpos + searchText.length);
|
332 |
+
option.search_text = text.substr(0, startpos) + '<em>' + text.substr(startpos);
|
333 |
+
}
|
334 |
+
if (results_group != null) {
|
335 |
+
results_group.group_match = true;
|
336 |
+
}
|
337 |
+
} else if ((option.group_array_index != null) && this.results_data[option.group_array_index].search_match) {
|
338 |
+
option.search_match = true;
|
339 |
+
}
|
340 |
+
}
|
341 |
+
}
|
342 |
+
}
|
343 |
+
this.result_clear_highlight();
|
344 |
+
if (results < 1 && searchText.length) {
|
345 |
+
this.update_results_content("");
|
346 |
+
return this.no_results(searchText);
|
347 |
+
} else {
|
348 |
+
this.update_results_content(this.results_option_build());
|
349 |
+
return this.winnow_results_set_highlight();
|
350 |
+
}
|
351 |
+
};
|
352 |
+
|
353 |
+
AbstractChosen.prototype.search_string_match = function(search_string, regex) {
|
354 |
+
var part, parts, _i, _len;
|
355 |
+
|
356 |
+
if (regex.test(search_string)) {
|
357 |
+
return true;
|
358 |
+
} else if (this.enable_split_word_search && (search_string.indexOf(" ") >= 0 || search_string.indexOf("[") === 0)) {
|
359 |
+
parts = search_string.replace(/\[|\]/g, "").split(" ");
|
360 |
+
if (parts.length) {
|
361 |
+
for (_i = 0, _len = parts.length; _i < _len; _i++) {
|
362 |
+
part = parts[_i];
|
363 |
+
if (regex.test(part)) {
|
364 |
+
return true;
|
365 |
+
}
|
366 |
+
}
|
367 |
+
}
|
368 |
+
}
|
369 |
+
};
|
370 |
+
|
371 |
+
AbstractChosen.prototype.choices_count = function() {
|
372 |
+
var option, _i, _len, _ref;
|
373 |
+
|
374 |
+
if (this.selected_option_count != null) {
|
375 |
+
return this.selected_option_count;
|
376 |
+
}
|
377 |
+
this.selected_option_count = 0;
|
378 |
+
_ref = this.form_field.options;
|
379 |
+
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
380 |
+
option = _ref[_i];
|
381 |
+
if (option.selected) {
|
382 |
+
this.selected_option_count += 1;
|
383 |
+
}
|
384 |
+
}
|
385 |
+
return this.selected_option_count;
|
386 |
+
};
|
387 |
+
|
388 |
+
AbstractChosen.prototype.choices_click = function(evt) {
|
389 |
+
evt.preventDefault();
|
390 |
+
if (!(this.results_showing || this.is_disabled)) {
|
391 |
+
return this.results_show();
|
392 |
+
}
|
393 |
+
};
|
394 |
+
|
395 |
+
AbstractChosen.prototype.keyup_checker = function(evt) {
|
396 |
+
var stroke, _ref;
|
397 |
+
|
398 |
+
stroke = (_ref = evt.which) != null ? _ref : evt.keyCode;
|
399 |
+
this.search_field_scale();
|
400 |
+
switch (stroke) {
|
401 |
+
case 8:
|
402 |
+
if (this.is_multiple && this.backstroke_length < 1 && this.choices_count() > 0) {
|
403 |
+
return this.keydown_backstroke();
|
404 |
+
} else if (!this.pending_backstroke) {
|
405 |
+
this.result_clear_highlight();
|
406 |
+
return this.results_search();
|
407 |
+
}
|
408 |
+
break;
|
409 |
+
case 13:
|
410 |
+
evt.preventDefault();
|
411 |
+
if (this.results_showing) {
|
412 |
+
return this.result_select(evt);
|
413 |
+
}
|
414 |
+
break;
|
415 |
+
case 27:
|
416 |
+
if (this.results_showing) {
|
417 |
+
this.results_hide();
|
418 |
+
}
|
419 |
+
return true;
|
420 |
+
case 9:
|
421 |
+
case 38:
|
422 |
+
case 40:
|
423 |
+
case 16:
|
424 |
+
case 91:
|
425 |
+
case 17:
|
426 |
+
break;
|
427 |
+
default:
|
428 |
+
return this.results_search();
|
429 |
+
}
|
430 |
+
};
|
431 |
+
|
432 |
+
AbstractChosen.prototype.container_width = function() {
|
433 |
+
if (this.options.width != null) {
|
434 |
+
return this.options.width;
|
435 |
+
} else {
|
436 |
+
return "" + this.form_field.offsetWidth + "px";
|
437 |
+
}
|
438 |
+
};
|
439 |
+
|
440 |
+
AbstractChosen.prototype.include_option_in_results = function(option) {
|
441 |
+
if (this.is_multiple && (!this.display_selected_options && option.selected)) {
|
442 |
+
return false;
|
443 |
+
}
|
444 |
+
if (!this.display_disabled_options && option.disabled) {
|
445 |
+
return false;
|
446 |
+
}
|
447 |
+
if (option.empty) {
|
448 |
+
return false;
|
449 |
+
}
|
450 |
+
return true;
|
451 |
+
};
|
452 |
+
|
453 |
+
AbstractChosen.browser_is_supported = function() {
|
454 |
+
if (window.navigator.appName === "Microsoft Internet Explorer") {
|
455 |
+
return document.documentMode >= 8;
|
456 |
+
}
|
457 |
+
if (/iP(od|hone)/i.test(window.navigator.userAgent)) {
|
458 |
+
return false;
|
459 |
+
}
|
460 |
+
if (/Android/i.test(window.navigator.userAgent)) {
|
461 |
+
if (/Mobile/i.test(window.navigator.userAgent)) {
|
462 |
+
return false;
|
463 |
+
}
|
464 |
+
}
|
465 |
+
return true;
|
466 |
+
};
|
467 |
+
|
468 |
+
AbstractChosen.default_multiple_text = "Select Some Options";
|
469 |
+
|
470 |
+
AbstractChosen.default_single_text = "Select an Option";
|
471 |
+
|
472 |
+
AbstractChosen.default_no_result_text = "No results match";
|
473 |
+
|
474 |
+
return AbstractChosen;
|
475 |
+
|
476 |
+
})();
|
477 |
+
|
478 |
+
$ = jQuery;
|
479 |
+
|
480 |
+
$.fn.extend({
|
481 |
+
chosen: function(options) {
|
482 |
+
if (!AbstractChosen.browser_is_supported()) {
|
483 |
+
return this;
|
484 |
+
}
|
485 |
+
return this.each(function(input_field) {
|
486 |
+
var $this, chosen;
|
487 |
+
|
488 |
+
$this = $(this);
|
489 |
+
chosen = $this.data('chosen');
|
490 |
+
if (options === 'destroy' && chosen) {
|
491 |
+
chosen.destroy();
|
492 |
+
} else if (!chosen) {
|
493 |
+
$this.data('chosen', new Chosen(this, options));
|
494 |
+
}
|
495 |
+
});
|
496 |
+
}
|
497 |
+
});
|
498 |
+
|
499 |
+
Chosen = (function(_super) {
|
500 |
+
__extends(Chosen, _super);
|
501 |
+
|
502 |
+
function Chosen() {
|
503 |
+
_ref = Chosen.__super__.constructor.apply(this, arguments);
|
504 |
+
return _ref;
|
505 |
+
}
|
506 |
+
|
507 |
+
Chosen.prototype.setup = function() {
|
508 |
+
this.form_field_jq = $(this.form_field);
|
509 |
+
this.current_selectedIndex = this.form_field.selectedIndex;
|
510 |
+
return this.is_rtl = this.form_field_jq.hasClass("chosen-rtl");
|
511 |
+
};
|
512 |
+
|
513 |
+
Chosen.prototype.set_up_html = function() {
|
514 |
+
var container_classes, container_props;
|
515 |
+
|
516 |
+
container_classes = ["chosen-container"];
|
517 |
+
container_classes.push("chosen-container-" + (this.is_multiple ? "multi" : "single"));
|
518 |
+
if (this.inherit_select_classes && this.form_field.className) {
|
519 |
+
container_classes.push(this.form_field.className);
|
520 |
+
}
|
521 |
+
if (this.is_rtl) {
|
522 |
+
container_classes.push("chosen-rtl");
|
523 |
+
}
|
524 |
+
container_props = {
|
525 |
+
'class': container_classes.join(' '),
|
526 |
+
'style': "width: " + (this.container_width()) + ";",
|
527 |
+
'title': this.form_field.title
|
528 |
+
};
|
529 |
+
if (this.form_field.id.length) {
|
530 |
+
container_props.id = this.form_field.id.replace(/[^\w]/g, '_') + "_chosen";
|
531 |
+
}
|
532 |
+
this.container = $("<div />", container_props);
|
533 |
+
if (this.is_multiple) {
|
534 |
+
this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="' + this.default_text + '" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>');
|
535 |
+
} else {
|
536 |
+
this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>' + this.default_text + '</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>');
|
537 |
+
}
|
538 |
+
this.form_field_jq.hide().after(this.container);
|
539 |
+
this.dropdown = this.container.find('div.chosen-drop').first();
|
540 |
+
this.search_field = this.container.find('input').first();
|
541 |
+
this.search_results = this.container.find('ul.chosen-results').first();
|
542 |
+
this.search_field_scale();
|
543 |
+
this.search_no_results = this.container.find('li.no-results').first();
|
544 |
+
if (this.is_multiple) {
|
545 |
+
this.search_choices = this.container.find('ul.chosen-choices').first();
|
546 |
+
this.search_container = this.container.find('li.search-field').first();
|
547 |
+
} else {
|
548 |
+
this.search_container = this.container.find('div.chosen-search').first();
|
549 |
+
this.selected_item = this.container.find('.chosen-single').first();
|
550 |
+
}
|
551 |
+
this.results_build();
|
552 |
+
this.set_tab_index();
|
553 |
+
this.set_label_behavior();
|
554 |
+
return this.form_field_jq.trigger("chosen:ready", {
|
555 |
+
chosen: this
|
556 |
+
});
|
557 |
+
};
|
558 |
+
|
559 |
+
Chosen.prototype.register_observers = function() {
|
560 |
+
var _this = this;
|
561 |
+
|
562 |
+
this.container.bind('mousedown.chosen', function(evt) {
|
563 |
+
_this.container_mousedown(evt);
|
564 |
+
});
|
565 |
+
this.container.bind('mouseup.chosen', function(evt) {
|
566 |
+
_this.container_mouseup(evt);
|
567 |
+
});
|
568 |
+
this.container.bind('mouseenter.chosen', function(evt) {
|
569 |
+
_this.mouse_enter(evt);
|
570 |
+
});
|
571 |
+
this.container.bind('mouseleave.chosen', function(evt) {
|
572 |
+
_this.mouse_leave(evt);
|
573 |
+
});
|
574 |
+
this.search_results.bind('mouseup.chosen', function(evt) {
|
575 |
+
_this.search_results_mouseup(evt);
|
576 |
+
});
|
577 |
+
this.search_results.bind('mouseover.chosen', function(evt) {
|
578 |
+
_this.search_results_mouseover(evt);
|
579 |
+
});
|
580 |
+
this.search_results.bind('mouseout.chosen', function(evt) {
|
581 |
+
_this.search_results_mouseout(evt);
|
582 |
+
});
|
583 |
+
this.search_results.bind('mousewheel.chosen DOMMouseScroll.chosen', function(evt) {
|
584 |
+
_this.search_results_mousewheel(evt);
|
585 |
+
});
|
586 |
+
this.form_field_jq.bind("chosen:updated.chosen", function(evt) {
|
587 |
+
_this.results_update_field(evt);
|
588 |
+
});
|
589 |
+
this.form_field_jq.bind("chosen:activate.chosen", function(evt) {
|
590 |
+
_this.activate_field(evt);
|
591 |
+
});
|
592 |
+
this.form_field_jq.bind("chosen:open.chosen", function(evt) {
|
593 |
+
_this.container_mousedown(evt);
|
594 |
+
});
|
595 |
+
this.search_field.bind('blur.chosen', function(evt) {
|
596 |
+
_this.input_blur(evt);
|
597 |
+
});
|
598 |
+
this.search_field.bind('keyup.chosen', function(evt) {
|
599 |
+
_this.keyup_checker(evt);
|
600 |
+
});
|
601 |
+
this.search_field.bind('keydown.chosen', function(evt) {
|
602 |
+
_this.keydown_checker(evt);
|
603 |
+
});
|
604 |
+
this.search_field.bind('focus.chosen', function(evt) {
|
605 |
+
_this.input_focus(evt);
|
606 |
+
});
|
607 |
+
if (this.is_multiple) {
|
608 |
+
return this.search_choices.bind('click.chosen', function(evt) {
|
609 |
+
_this.choices_click(evt);
|
610 |
+
});
|
611 |
+
} else {
|
612 |
+
return this.container.bind('click.chosen', function(evt) {
|
613 |
+
evt.preventDefault();
|
614 |
+
});
|
615 |
+
}
|
616 |
+
};
|
617 |
+
|
618 |
+
Chosen.prototype.destroy = function() {
|
619 |
+
$(document).unbind("click.chosen", this.click_test_action);
|
620 |
+
if (this.search_field[0].tabIndex) {
|
621 |
+
this.form_field_jq[0].tabIndex = this.search_field[0].tabIndex;
|
622 |
+
}
|
623 |
+
this.container.remove();
|
624 |
+
this.form_field_jq.removeData('chosen');
|
625 |
+
return this.form_field_jq.show();
|
626 |
+
};
|
627 |
+
|
628 |
+
Chosen.prototype.search_field_disabled = function() {
|
629 |
+
this.is_disabled = this.form_field_jq[0].disabled;
|
630 |
+
if (this.is_disabled) {
|
631 |
+
this.container.addClass('chosen-disabled');
|
632 |
+
this.search_field[0].disabled = true;
|
633 |
+
if (!this.is_multiple) {
|
634 |
+
this.selected_item.unbind("focus.chosen", this.activate_action);
|
635 |
+
}
|
636 |
+
return this.close_field();
|
637 |
+
} else {
|
638 |
+
this.container.removeClass('chosen-disabled');
|
639 |
+
this.search_field[0].disabled = false;
|
640 |
+
if (!this.is_multiple) {
|
641 |
+
return this.selected_item.bind("focus.chosen", this.activate_action);
|
642 |
+
}
|
643 |
+
}
|
644 |
+
};
|
645 |
+
|
646 |
+
Chosen.prototype.container_mousedown = function(evt) {
|
647 |
+
if (!this.is_disabled) {
|
648 |
+
if (evt && evt.type === "mousedown" && !this.results_showing) {
|
649 |
+
evt.preventDefault();
|
650 |
+
}
|
651 |
+
if (!((evt != null) && ($(evt.target)).hasClass("search-choice-close"))) {
|
652 |
+
if (!this.active_field) {
|
653 |
+
if (this.is_multiple) {
|
654 |
+
this.search_field.val("");
|
655 |
+
}
|
656 |
+
$(document).bind('click.chosen', this.click_test_action);
|
657 |
+
this.results_show();
|
658 |
+
} else if (!this.is_multiple && evt && (($(evt.target)[0] === this.selected_item[0]) || $(evt.target).parents("a.chosen-single").length)) {
|
659 |
+
evt.preventDefault();
|
660 |
+
this.results_toggle();
|
661 |
+
}
|
662 |
+
return this.activate_field();
|
663 |
+
}
|
664 |
+
}
|
665 |
+
};
|
666 |
+
|
667 |
+
Chosen.prototype.container_mouseup = function(evt) {
|
668 |
+
if (evt.target.nodeName === "ABBR" && !this.is_disabled) {
|
669 |
+
return this.results_reset(evt);
|
670 |
+
}
|
671 |
+
};
|
672 |
+
|
673 |
+
Chosen.prototype.search_results_mousewheel = function(evt) {
|
674 |
+
var delta, _ref1, _ref2;
|
675 |
+
|
676 |
+
delta = -((_ref1 = evt.originalEvent) != null ? _ref1.wheelDelta : void 0) || ((_ref2 = evt.originialEvent) != null ? _ref2.detail : void 0);
|
677 |
+
if (delta != null) {
|
678 |
+
evt.preventDefault();
|
679 |
+
if (evt.type === 'DOMMouseScroll') {
|
680 |
+
delta = delta * 40;
|
681 |
+
}
|
682 |
+
return this.search_results.scrollTop(delta + this.search_results.scrollTop());
|
683 |
+
}
|
684 |
+
};
|
685 |
+
|
686 |
+
Chosen.prototype.blur_test = function(evt) {
|
687 |
+
if (!this.active_field && this.container.hasClass("chosen-container-active")) {
|
688 |
+
return this.close_field();
|
689 |
+
}
|
690 |
+
};
|
691 |
+
|
692 |
+
Chosen.prototype.close_field = function() {
|
693 |
+
$(document).unbind("click.chosen", this.click_test_action);
|
694 |
+
this.active_field = false;
|
695 |
+
this.results_hide();
|
696 |
+
this.container.removeClass("chosen-container-active");
|
697 |
+
this.clear_backstroke();
|
698 |
+
this.show_search_field_default();
|
699 |
+
return this.search_field_scale();
|
700 |
+
};
|
701 |
+
|
702 |
+
Chosen.prototype.activate_field = function() {
|
703 |
+
this.container.addClass("chosen-container-active");
|
704 |
+
this.active_field = true;
|
705 |
+
this.search_field.val(this.search_field.val());
|
706 |
+
return this.search_field.focus();
|
707 |
+
};
|
708 |
+
|
709 |
+
Chosen.prototype.test_active_click = function(evt) {
|
710 |
+
if (this.container.is($(evt.target).closest('.chosen-container'))) {
|
711 |
+
return this.active_field = true;
|
712 |
+
} else {
|
713 |
+
return this.close_field();
|
714 |
+
}
|
715 |
+
};
|
716 |
+
|
717 |
+
Chosen.prototype.results_build = function() {
|
718 |
+
this.parsing = true;
|
719 |
+
this.selected_option_count = null;
|
720 |
+
this.results_data = SelectParser.select_to_array(this.form_field);
|
721 |
+
if (this.is_multiple) {
|
722 |
+
this.search_choices.find("li.search-choice").remove();
|
723 |
+
} else if (!this.is_multiple) {
|
724 |
+
this.single_set_selected_text();
|
725 |
+
if (this.disable_search || this.form_field.options.length <= this.disable_search_threshold) {
|
726 |
+
this.search_field[0].readOnly = true;
|
727 |
+
this.container.addClass("chosen-container-single-nosearch");
|
728 |
+
} else {
|
729 |
+
this.search_field[0].readOnly = false;
|
730 |
+
this.container.removeClass("chosen-container-single-nosearch");
|
731 |
+
}
|
732 |
+
}
|
733 |
+
this.update_results_content(this.results_option_build({
|
734 |
+
first: true
|
735 |
+
}));
|
736 |
+
this.search_field_disabled();
|
737 |
+
this.show_search_field_default();
|
738 |
+
this.search_field_scale();
|
739 |
+
return this.parsing = false;
|
740 |
+
};
|
741 |
+
|
742 |
+
Chosen.prototype.result_do_highlight = function(el) {
|
743 |
+
var high_bottom, high_top, maxHeight, visible_bottom, visible_top;
|
744 |
+
|
745 |
+
if (el.length) {
|
746 |
+
this.result_clear_highlight();
|
747 |
+
this.result_highlight = el;
|
748 |
+
this.result_highlight.addClass("highlighted");
|
749 |
+
maxHeight = parseInt(this.search_results.css("maxHeight"), 10);
|
750 |
+
visible_top = this.search_results.scrollTop();
|
751 |
+
visible_bottom = maxHeight + visible_top;
|
752 |
+
high_top = this.result_highlight.position().top + this.search_results.scrollTop();
|
753 |
+
high_bottom = high_top + this.result_highlight.outerHeight();
|
754 |
+
if (high_bottom >= visible_bottom) {
|
755 |
+
return this.search_results.scrollTop((high_bottom - maxHeight) > 0 ? high_bottom - maxHeight : 0);
|
756 |
+
} else if (high_top < visible_top) {
|
757 |
+
return this.search_results.scrollTop(high_top);
|
758 |
+
}
|
759 |
+
}
|
760 |
+
};
|
761 |
+
|
762 |
+
Chosen.prototype.result_clear_highlight = function() {
|
763 |
+
if (this.result_highlight) {
|
764 |
+
this.result_highlight.removeClass("highlighted");
|
765 |
+
}
|
766 |
+
return this.result_highlight = null;
|
767 |
+
};
|
768 |
+
|
769 |
+
Chosen.prototype.results_show = function() {
|
770 |
+
if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
|
771 |
+
this.form_field_jq.trigger("chosen:maxselected", {
|
772 |
+
chosen: this
|
773 |
+
});
|
774 |
+
return false;
|
775 |
+
}
|
776 |
+
this.container.addClass("chosen-with-drop");
|
777 |
+
this.form_field_jq.trigger("chosen:showing_dropdown", {
|
778 |
+
chosen: this
|
779 |
+
});
|
780 |
+
this.results_showing = true;
|
781 |
+
this.search_field.focus();
|
782 |
+
this.search_field.val(this.search_field.val());
|
783 |
+
return this.winnow_results();
|
784 |
+
};
|
785 |
+
|
786 |
+
Chosen.prototype.update_results_content = function(content) {
|
787 |
+
return this.search_results.html(content);
|
788 |
+
};
|
789 |
+
|
790 |
+
Chosen.prototype.results_hide = function() {
|
791 |
+
if (this.results_showing) {
|
792 |
+
this.result_clear_highlight();
|
793 |
+
this.container.removeClass("chosen-with-drop");
|
794 |
+
this.form_field_jq.trigger("chosen:hiding_dropdown", {
|
795 |
+
chosen: this
|
796 |
+
});
|
797 |
+
}
|
798 |
+
return this.results_showing = false;
|
799 |
+
};
|
800 |
+
|
801 |
+
Chosen.prototype.set_tab_index = function(el) {
|
802 |
+
var ti;
|
803 |
+
|
804 |
+
if (this.form_field.tabIndex) {
|
805 |
+
ti = this.form_field.tabIndex;
|
806 |
+
this.form_field.tabIndex = -1;
|
807 |
+
return this.search_field[0].tabIndex = ti;
|
808 |
+
}
|
809 |
+
};
|
810 |
+
|
811 |
+
Chosen.prototype.set_label_behavior = function() {
|
812 |
+
var _this = this;
|
813 |
+
|
814 |
+
this.form_field_label = this.form_field_jq.parents("label");
|
815 |
+
if (!this.form_field_label.length && this.form_field.id.length) {
|
816 |
+
this.form_field_label = $("label[for='" + this.form_field.id + "']");
|
817 |
+
}
|
818 |
+
if (this.form_field_label.length > 0) {
|
819 |
+
return this.form_field_label.bind('click.chosen', function(evt) {
|
820 |
+
if (_this.is_multiple) {
|
821 |
+
return _this.container_mousedown(evt);
|
822 |
+
} else {
|
823 |
+
return _this.activate_field();
|
824 |
+
}
|
825 |
+
});
|
826 |
+
}
|
827 |
+
};
|
828 |
+
|
829 |
+
Chosen.prototype.show_search_field_default = function() {
|
830 |
+
if (this.is_multiple && this.choices_count() < 1 && !this.active_field) {
|
831 |
+
this.search_field.val(this.default_text);
|
832 |
+
return this.search_field.addClass("default");
|
833 |
+
} else {
|
834 |
+
this.search_field.val("");
|
835 |
+
return this.search_field.removeClass("default");
|
836 |
+
}
|
837 |
+
};
|
838 |
+
|
839 |
+
Chosen.prototype.search_results_mouseup = function(evt) {
|
840 |
+
var target;
|
841 |
+
|
842 |
+
target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first();
|
843 |
+
if (target.length) {
|
844 |
+
this.result_highlight = target;
|
845 |
+
this.result_select(evt);
|
846 |
+
return this.search_field.focus();
|
847 |
+
}
|
848 |
+
};
|
849 |
+
|
850 |
+
Chosen.prototype.search_results_mouseover = function(evt) {
|
851 |
+
var target;
|
852 |
+
|
853 |
+
target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first();
|
854 |
+
if (target) {
|
855 |
+
return this.result_do_highlight(target);
|
856 |
+
}
|
857 |
+
};
|
858 |
+
|
859 |
+
Chosen.prototype.search_results_mouseout = function(evt) {
|
860 |
+
if ($(evt.target).hasClass("active-result" || $(evt.target).parents('.active-result').first())) {
|
861 |
+
return this.result_clear_highlight();
|
862 |
+
}
|
863 |
+
};
|
864 |
+
|
865 |
+
Chosen.prototype.choice_build = function(item) {
|
866 |
+
var choice, close_link,
|
867 |
+
_this = this;
|
868 |
+
|
869 |
+
choice = $('<li />', {
|
870 |
+
"class": "search-choice"
|
871 |
+
}).html("<span>" + item.html + "</span>");
|
872 |
+
if (item.disabled) {
|
873 |
+
choice.addClass('search-choice-disabled');
|
874 |
+
} else {
|
875 |
+
close_link = $('<a />', {
|
876 |
+
"class": 'search-choice-close',
|
877 |
+
'data-option-array-index': item.array_index
|
878 |
+
});
|
879 |
+
close_link.bind('click.chosen', function(evt) {
|
880 |
+
return _this.choice_destroy_link_click(evt);
|
881 |
+
});
|
882 |
+
choice.append(close_link);
|
883 |
+
}
|
884 |
+
return this.search_container.before(choice);
|
885 |
+
};
|
886 |
+
|
887 |
+
Chosen.prototype.choice_destroy_link_click = function(evt) {
|
888 |
+
evt.preventDefault();
|
889 |
+
evt.stopPropagation();
|
890 |
+
if (!this.is_disabled) {
|
891 |
+
return this.choice_destroy($(evt.target));
|
892 |
+
}
|
893 |
+
};
|
894 |
+
|
895 |
+
Chosen.prototype.choice_destroy = function(link) {
|
896 |
+
if (this.result_deselect(link[0].getAttribute("data-option-array-index"))) {
|
897 |
+
this.show_search_field_default();
|
898 |
+
if (this.is_multiple && this.choices_count() > 0 && this.search_field.val().length < 1) {
|
899 |
+
this.results_hide();
|
900 |
+
}
|
901 |
+
link.parents('li').first().remove();
|
902 |
+
return this.search_field_scale();
|
903 |
+
}
|
904 |
+
};
|
905 |
+
|
906 |
+
Chosen.prototype.results_reset = function() {
|
907 |
+
this.form_field.options[0].selected = true;
|
908 |
+
this.selected_option_count = null;
|
909 |
+
this.single_set_selected_text();
|
910 |
+
this.show_search_field_default();
|
911 |
+
this.results_reset_cleanup();
|
912 |
+
this.form_field_jq.trigger("change");
|
913 |
+
if (this.active_field) {
|
914 |
+
return this.results_hide();
|
915 |
+
}
|
916 |
+
};
|
917 |
+
|
918 |
+
Chosen.prototype.results_reset_cleanup = function() {
|
919 |
+
this.current_selectedIndex = this.form_field.selectedIndex;
|
920 |
+
return this.selected_item.find("abbr").remove();
|
921 |
+
};
|
922 |
+
|
923 |
+
Chosen.prototype.result_select = function(evt) {
|
924 |
+
var high, item, selected_index;
|
925 |
+
|
926 |
+
if (this.result_highlight) {
|
927 |
+
high = this.result_highlight;
|
928 |
+
this.result_clear_highlight();
|
929 |
+
if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
|
930 |
+
this.form_field_jq.trigger("chosen:maxselected", {
|
931 |
+
chosen: this
|
932 |
+
});
|
933 |
+
return false;
|
934 |
+
}
|
935 |
+
if (this.is_multiple) {
|
936 |
+
high.removeClass("active-result");
|
937 |
+
} else {
|
938 |
+
if (this.result_single_selected) {
|
939 |
+
this.result_single_selected.removeClass("result-selected");
|
940 |
+
selected_index = this.result_single_selected[0].getAttribute('data-option-array-index');
|
941 |
+
this.results_data[selected_index].selected = false;
|
942 |
+
}
|
943 |
+
this.result_single_selected = high;
|
944 |
+
}
|
945 |
+
high.addClass("result-selected");
|
946 |
+
item = this.results_data[high[0].getAttribute("data-option-array-index")];
|
947 |
+
item.selected = true;
|
948 |
+
this.form_field.options[item.options_index].selected = true;
|
949 |
+
this.selected_option_count = null;
|
950 |
+
if (this.is_multiple) {
|
951 |
+
this.choice_build(item);
|
952 |
+
} else {
|
953 |
+
this.single_set_selected_text(item.text);
|
954 |
+
}
|
955 |
+
if (!((evt.metaKey || evt.ctrlKey) && this.is_multiple)) {
|
956 |
+
this.results_hide();
|
957 |
+
}
|
958 |
+
this.search_field.val("");
|
959 |
+
if (this.is_multiple || this.form_field.selectedIndex !== this.current_selectedIndex) {
|
960 |
+
this.form_field_jq.trigger("change", {
|
961 |
+
'selected': this.form_field.options[item.options_index].value
|
962 |
+
});
|
963 |
+
}
|
964 |
+
this.current_selectedIndex = this.form_field.selectedIndex;
|
965 |
+
return this.search_field_scale();
|
966 |
+
}
|
967 |
+
};
|
968 |
+
|
969 |
+
Chosen.prototype.single_set_selected_text = function(text) {
|
970 |
+
if (text == null) {
|
971 |
+
text = this.default_text;
|
972 |
+
}
|
973 |
+
if (text === this.default_text) {
|
974 |
+
this.selected_item.addClass("chosen-default");
|
975 |
+
} else {
|
976 |
+
this.single_deselect_control_build();
|
977 |
+
this.selected_item.removeClass("chosen-default");
|
978 |
+
}
|
979 |
+
return this.selected_item.find("span").text(text);
|
980 |
+
};
|
981 |
+
|
982 |
+
Chosen.prototype.result_deselect = function(pos) {
|
983 |
+
var result_data;
|
984 |
+
|
985 |
+
result_data = this.results_data[pos];
|
986 |
+
if (!this.form_field.options[result_data.options_index].disabled) {
|
987 |
+
result_data.selected = false;
|
988 |
+
this.form_field.options[result_data.options_index].selected = false;
|
989 |
+
this.selected_option_count = null;
|
990 |
+
this.result_clear_highlight();
|
991 |
+
if (this.results_showing) {
|
992 |
+
this.winnow_results();
|
993 |
+
}
|
994 |
+
this.form_field_jq.trigger("change", {
|
995 |
+
deselected: this.form_field.options[result_data.options_index].value
|
996 |
+
});
|
997 |
+
this.search_field_scale();
|
998 |
+
return true;
|
999 |
+
} else {
|
1000 |
+
return false;
|
1001 |
+
}
|
1002 |
+
};
|
1003 |
+
|
1004 |
+
Chosen.prototype.single_deselect_control_build = function() {
|
1005 |
+
if (!this.allow_single_deselect) {
|
1006 |
+
return;
|
1007 |
+
}
|
1008 |
+
if (!this.selected_item.find("abbr").length) {
|
1009 |
+
this.selected_item.find("span").first().after("<abbr class=\"search-choice-close\"></abbr>");
|
1010 |
+
}
|
1011 |
+
return this.selected_item.addClass("chosen-single-with-deselect");
|
1012 |
+
};
|
1013 |
+
|
1014 |
+
Chosen.prototype.get_search_text = function() {
|
1015 |
+
if (this.search_field.val() === this.default_text) {
|
1016 |
+
return "";
|
1017 |
+
} else {
|
1018 |
+
return $('<div/>').text($.trim(this.search_field.val())).html();
|
1019 |
+
}
|
1020 |
+
};
|
1021 |
+
|
1022 |
+
Chosen.prototype.winnow_results_set_highlight = function() {
|
1023 |
+
var do_high, selected_results;
|
1024 |
+
|
1025 |
+
selected_results = !this.is_multiple ? this.search_results.find(".result-selected.active-result") : [];
|
1026 |
+
do_high = selected_results.length ? selected_results.first() : this.search_results.find(".active-result").first();
|
1027 |
+
if (do_high != null) {
|
1028 |
+
return this.result_do_highlight(do_high);
|
1029 |
+
}
|
1030 |
+
};
|
1031 |
+
|
1032 |
+
Chosen.prototype.no_results = function(terms) {
|
1033 |
+
var no_results_html;
|
1034 |
+
|
1035 |
+
no_results_html = $('<li class="no-results">' + this.results_none_found + ' "<span></span>"</li>');
|
1036 |
+
no_results_html.find("span").first().html(terms);
|
1037 |
+
return this.search_results.append(no_results_html);
|
1038 |
+
};
|
1039 |
+
|
1040 |
+
Chosen.prototype.no_results_clear = function() {
|
1041 |
+
return this.search_results.find(".no-results").remove();
|
1042 |
+
};
|
1043 |
+
|
1044 |
+
Chosen.prototype.keydown_arrow = function() {
|
1045 |
+
var next_sib;
|
1046 |
+
|
1047 |
+
if (this.results_showing && this.result_highlight) {
|
1048 |
+
next_sib = this.result_highlight.nextAll("li.active-result").first();
|
1049 |
+
if (next_sib) {
|
1050 |
+
return this.result_do_highlight(next_sib);
|
1051 |
+
}
|
1052 |
+
} else {
|
1053 |
+
return this.results_show();
|
1054 |
+
}
|
1055 |
+
};
|
1056 |
+
|
1057 |
+
Chosen.prototype.keyup_arrow = function() {
|
1058 |
+
var prev_sibs;
|
1059 |
+
|
1060 |
+
if (!this.results_showing && !this.is_multiple) {
|
1061 |
+
return this.results_show();
|
1062 |
+
} else if (this.result_highlight) {
|
1063 |
+
prev_sibs = this.result_highlight.prevAll("li.active-result");
|
1064 |
+
if (prev_sibs.length) {
|
1065 |
+
return this.result_do_highlight(prev_sibs.first());
|
1066 |
+
} else {
|
1067 |
+
if (this.choices_count() > 0) {
|
1068 |
+
this.results_hide();
|
1069 |
+
}
|
1070 |
+
return this.result_clear_highlight();
|
1071 |
+
}
|
1072 |
+
}
|
1073 |
+
};
|
1074 |
+
|
1075 |
+
Chosen.prototype.keydown_backstroke = function() {
|
1076 |
+
var next_available_destroy;
|
1077 |
+
|
1078 |
+
if (this.pending_backstroke) {
|
1079 |
+
this.choice_destroy(this.pending_backstroke.find("a").first());
|
1080 |
+
return this.clear_backstroke();
|
1081 |
+
} else {
|
1082 |
+
next_available_destroy = this.search_container.siblings("li.search-choice").last();
|
1083 |
+
if (next_available_destroy.length && !next_available_destroy.hasClass("search-choice-disabled")) {
|
1084 |
+
this.pending_backstroke = next_available_destroy;
|
1085 |
+
if (this.single_backstroke_delete) {
|
1086 |
+
return this.keydown_backstroke();
|
1087 |
+
} else {
|
1088 |
+
return this.pending_backstroke.addClass("search-choice-focus");
|
1089 |
+
}
|
1090 |
+
}
|
1091 |
+
}
|
1092 |
+
};
|
1093 |
+
|
1094 |
+
Chosen.prototype.clear_backstroke = function() {
|
1095 |
+
if (this.pending_backstroke) {
|
1096 |
+
this.pending_backstroke.removeClass("search-choice-focus");
|
1097 |
+
}
|
1098 |
+
return this.pending_backstroke = null;
|
1099 |
+
};
|
1100 |
+
|
1101 |
+
Chosen.prototype.keydown_checker = function(evt) {
|
1102 |
+
var stroke, _ref1;
|
1103 |
+
|
1104 |
+
stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode;
|
1105 |
+
this.search_field_scale();
|
1106 |
+
if (stroke !== 8 && this.pending_backstroke) {
|
1107 |
+
this.clear_backstroke();
|
1108 |
+
}
|
1109 |
+
switch (stroke) {
|
1110 |
+
case 8:
|
1111 |
+
this.backstroke_length = this.search_field.val().length;
|
1112 |
+
break;
|
1113 |
+
case 9:
|
1114 |
+
if (this.results_showing && !this.is_multiple) {
|
1115 |
+
this.result_select(evt);
|
1116 |
+
}
|
1117 |
+
this.mouse_on_container = false;
|
1118 |
+
break;
|
1119 |
+
case 13:
|
1120 |
+
evt.preventDefault();
|
1121 |
+
break;
|
1122 |
+
case 38:
|
1123 |
+
evt.preventDefault();
|
1124 |
+
this.keyup_arrow();
|
1125 |
+
break;
|
1126 |
+
case 40:
|
1127 |
+
evt.preventDefault();
|
1128 |
+
this.keydown_arrow();
|
1129 |
+
break;
|
1130 |
+
}
|
1131 |
+
};
|
1132 |
+
|
1133 |
+
Chosen.prototype.search_field_scale = function() {
|
1134 |
+
var div, f_width, h, style, style_block, styles, w, _i, _len;
|
1135 |
+
|
1136 |
+
if (this.is_multiple) {
|
1137 |
+
h = 0;
|
1138 |
+
w = 0;
|
1139 |
+
style_block = "position:absolute; left: -1000px; top: -1000px; display:none;";
|
1140 |
+
styles = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'text-transform', 'letter-spacing'];
|
1141 |
+
for (_i = 0, _len = styles.length; _i < _len; _i++) {
|
1142 |
+
style = styles[_i];
|
1143 |
+
style_block += style + ":" + this.search_field.css(style) + ";";
|
1144 |
+
}
|
1145 |
+
div = $('<div />', {
|
1146 |
+
'style': style_block
|
1147 |
+
});
|
1148 |
+
div.text(this.search_field.val());
|
1149 |
+
$('body').append(div);
|
1150 |
+
w = div.width() + 25;
|
1151 |
+
div.remove();
|
1152 |
+
f_width = this.container.outerWidth();
|
1153 |
+
if (w > f_width - 10) {
|
1154 |
+
w = f_width - 10;
|
1155 |
+
}
|
1156 |
+
return this.search_field.css({
|
1157 |
+
'width': w + 'px'
|
1158 |
+
});
|
1159 |
+
}
|
1160 |
+
};
|
1161 |
+
|
1162 |
+
return Chosen;
|
1163 |
+
|
1164 |
+
})(AbstractChosen);
|
1165 |
+
|
1166 |
+
}).call(this);
|
classes/styles-font-menu/js/chosen/chosen.jquery.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* Chosen v1.0.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
|
2 |
+
!function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),children:0,disabled:a.disabled}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"<",">":">",'"':""","'":"'","`":"`"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.text));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match?this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=""!==a.style.cssText?' style="'+a.style+'"':"",'<li class="'+b.join(" ")+'"'+c+' data-option-array-index="'+a.array_index+'">'+a.search_text+"</li>"):"":""},AbstractChosen.prototype.result_add_group=function(a){return a.search_match||a.group_match?a.active_options>0?'<li class="group-result">'+a.search_text+"</li>":"":""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;for(this.no_results_clear(),e=0,g=this.get_search_text(),a=g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),d=this.search_contains?"":"^",c=new RegExp(d+a,"i"),j=new RegExp(a,"i"),m=this.results_data,k=0,l=m.length;l>k;k++)b=m[k],b.search_match=!1,f=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(f=this.results_data[b.group_array_index],0===f.active_options&&f.search_match&&(e+=1),f.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.html,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(e+=1),b.search_match?(g.length&&(h=b.search_text.search(j),i=b.search_text.substr(0,h+g.length)+"</em>"+b.search_text.substr(h+g.length),b.search_text=i.substr(0,h)+"<em>"+i.substr(h)),null!=f&&(f.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>e&&g.length?(this.update_results_content(""),this.no_results(g)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d?d.destroy():d||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",c),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'):this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(document).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(document).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b,c,d;return b=-(null!=(c=a.originalEvent)?c.wheelDelta:void 0)||(null!=(d=a.originialEvent)?d.detail:void 0),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(document).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){return this.container.is(a(b.target).closest(".chosen-container"))?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results())},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a("<li />",{"class":"search-choice"}).html("<span>"+b.html+"</span>"),b.disabled?c.addClass("search-choice-disabled"):(d=a("<a />",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.form_field.options[0].selected=!0,this.selected_option_count=null,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c,d;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):(this.result_single_selected&&(this.result_single_selected.removeClass("result-selected"),d=this.result_single_selected[0].getAttribute("data-option-array-index"),this.results_data[d].selected=!1),this.result_single_selected=b),b.addClass("result-selected"),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(c.text),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),c.find("span").first().html(b),this.search_results.append(c)},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("<div />",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}.call(this);
|
classes/styles-font-menu/js/chosen/chosen.min.css
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
/* Chosen v1.0.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
|
2 |
+
|
3 |
+
.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:23px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:#fff url(chosen-sprite.png) no-repeat 100% -20px;background:url(chosen-sprite.png) no-repeat 100% -20px,-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url(chosen-sprite.png) no-repeat 100% -20px,-webkit-linear-gradient(#eee 1%,#fff 15%);background:url(chosen-sprite.png) no-repeat 100% -20px,-moz-linear-gradient(#eee 1%,#fff 15%);background:url(chosen-sprite.png) no-repeat 100% -20px,-o-linear-gradient(#eee 1%,#fff 15%);background:url(chosen-sprite.png) no-repeat 100% -20px,linear-gradient(#eee 1%,#fff 15%);font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:5px;height:15px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#666;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-field .default{color:#999}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px,-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url(chosen-sprite.png) no-repeat -30px -20px,-webkit-linear-gradient(#eee 1%,#fff 15%);background:url(chosen-sprite.png) no-repeat -30px -20px,-moz-linear-gradient(#eee 1%,#fff 15%);background:url(chosen-sprite.png) no-repeat -30px -20px,-o-linear-gradient(#eee 1%,#fff 15%);background:url(chosen-sprite.png) no-repeat -30px -20px,linear-gradient(#eee 1%,#fff 15%);direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
|
classes/styles-font-menu/js/google-fonts-api-fallback.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"kind":"webfonts#webfontList","items":[{"kind":"webfonts#webfont","family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v6","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/DXI1ORHCpsQm3Vp6mXoaTS3USBnSvpkopQaUR-2r7iU.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/PRmiXeptR36kaC0GEAetxi9-WlPSxbfiI49GsXo3q0g.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/IgZJs4-7SA1XX_edsoXWog.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/O4NhV7_qs9r9seTo7fnsVKCWcynf_cDxXwCLxiixG1c.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/MTP_ySUJH_bn48VBG8sNSi3USBnSvpkopQaUR-2r7iU.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/PRmiXeptR36kaC0GEAetxpZ7xm-Bj30Bj2KNdXDzSZg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/k3k702ZOKiLJc3WVjuplzC3USBnSvpkopQaUR-2r7iU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/PRmiXeptR36kaC0GEAetxne1Pd76Vl7zRpE7NLJQ7XU.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/EInbV5DfGHOiMmvb1Xr-hi3USBnSvpkopQaUR-2r7iU.ttf","800italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensans\/v6\/PRmiXeptR36kaC0GEAetxg89PwPrYLaRFJ-HNCU9NbA.ttf"}},{"kind":"webfonts#webfont","family":"Oswald","variants":["300","regular","700"],"subsets":["latin-ext","latin"],"version":"v7","lastModified":"2012-10-03","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oswald\/v7\/y3tZpCdiRD4oNRRYFcAR5Q.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oswald\/v7\/uLEd2g2vJglLPfsBF91DCg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oswald\/v7\/7wj8ldV_5Ti37rHa0m1DDw.ttf"}},{"kind":"webfonts#webfont","family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v9","lastModified":"2013-07-31","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/7MygqTe2zs9YkP0adA9QQQ.ttf","100italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/T1xnudodhcgwXCmZQ490TPesZW2xOQ-xsNqO47m55DA.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/dtpHsbgPEm2lVWciJZ0P-A.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/iE8HhaRzdhPxC93dOdA056CWcynf_cDxXwCLxiixG1c.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/W5F8_SL0XFawnjxHGsZjJA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/hcKoSgxdnKlbH5dlTwKbow.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/Uxzkqj-MIMWle-XP2pDNAA.ttf","500italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/daIfzbEw-lbjMyv4rMUUTqCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/bdHGHleUa-ndQCOrdpfxfw.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/owYYXKukxFDFjr0ZO8NXh6CWcynf_cDxXwCLxiixG1c.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/H1vB34nOKWXqzKotq25pcg.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/roboto\/v9\/b9PWBSMHrT2zM5FgUdtu0aCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Droid Sans","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/droidsans\/v3\/rS9BT6-asrfjpkcV3DXf__esZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/droidsans\/v3\/EFpQQyG9GqCrobXxL-KRMQJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin"],"version":"v6","lastModified":"2012-07-25","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/Upp-ka9rLQmHYCsFgwL-eg.ttf","100italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/zLegi10uS_9-fnUDISl0KA.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/Ja02qOppOVq9jeRjWekbHg.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/dVebFcn7EV7wAKwgYestUg.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/h7rISIcQapZBpei-sXwIwg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/P_dJOFJylV3A870UIOtr0w.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/iX_QxBBZLhNj5JHlTzHQzg.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/WFcZakHrrCKeUJxHA4T_gw.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/8TPEV6NbYWZlNsXjbYVv7w.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lato\/v6\/draWperrI7n2xi35Cl08fA.ttf"}},{"kind":"webfonts#webfont","family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v6","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensanscondensed\/v6\/gk5FxslNkTTHtojXrkp-xEMwSSh38KQVJx4ABtsZTnA.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensanscondensed\/v6\/jIXlqT1WKafUSwj6s9AzV4_LkTZ_uhAwfmGJ084hlvM.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/opensanscondensed\/v6\/gk5FxslNkTTHtojXrkp-xBEM87DM3yorPOrvA-vB930.ttf"}},{"kind":"webfonts#webfont","family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v5","lastModified":"2013-05-29","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsans\/v5\/UFoEz2uiuMypUGZL1NKoeg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsans\/v5\/yls9EYWOd496wiu7qzfgNg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsans\/v5\/F51BEgHuR0tYHxF0bD4vwvesZW2xOQ-xsNqO47m55DA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsans\/v5\/lILlYDvubYemzYzN7GbLkC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Droid Serif","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/droidserif\/v3\/DgAtPy6rIVa2Zx3Xh9KaNaCWcynf_cDxXwCLxiixG1c.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/droidserif\/v3\/cj2hUnSRBhwmSPr9kS5890eOrDcLawS7-ssYqLr2Xp4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/droidserif\/v3\/QQt14e8dY39u-eYBZmppwXe1Pd76Vl7zRpE7NLJQ7XU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/droidserif\/v3\/c92rD_x0V1LslSFt3-QEps_zJjSACmk0BRPxQqhnNLU.ttf"}},{"kind":"webfonts#webfont","family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic","greek-ext"],"version":"v4","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/7-wH0j2QCTHKgp7vLh9-sQ.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/j-TYDdXcC_eQzhhp386SjaCWcynf_cDxXwCLxiixG1c.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/lhhB5ZCwEkBRbHMSnYuKyA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/b9hP8wd30SygxZjGGk4DCQ.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/bMbHEMwSUmkzcK2x_74QbA.ttf","500italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/NWdMogIO7U6AtEM4dDdf_aCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/B7BtHjNYwAp3HgLNagENOQ.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntu\/v4\/pqisLQoeO9YTDCNnlQ9bf6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v8","lastModified":"2013-07-31","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotocondensed\/v8\/b9QBgL0iMZfDSpmcXcE8nJRhFVcex_hajThhFkHyhYk.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotocondensed\/v8\/mg0cGfGRUERshzBlvqxeAPYa9bgCHecWXGgisnodcS0.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotocondensed\/v8\/Zd2E9abXLFGSr9G3YK2MsKDbm6fPDOZJsR8PmdG62gY.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotocondensed\/v8\/BP5K8ZAJv9qEbmuFp8RpJY_eiqgTfYGaH0bJiUDZ5GA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotocondensed\/v8\/b9QBgL0iMZfDSpmcXcE8nPOYkGiSOYDq_T7HbIOV1hA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotocondensed\/v8\/mg0cGfGRUERshzBlvqxeAE2zk2RGRC3SlyyLLQfjS_8.ttf"}},{"kind":"webfonts#webfont","family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin-ext","latin","vietnamese"],"version":"v6","lastModified":"2013-09-26","files":{"200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/toadOcfmlt9b38dHJxOBGKXvKVW_haheDNrHjziJZVk.ttf","200italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/fpTVHK8qsXbIeTHTrnQH6OptKU7UIBg2hLM7eMTU8bI.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/toadOcfmlt9b38dHJxOBGFP7R5lD_au4SZC6Ks_vyWs.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/fpTVHK8qsXbIeTHTrnQH6DUpNKoQAsDux-Todp8f29w.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/ODelI1aHBYDBqgeIAH2zlNRl0pGnog23EMYRrBmUzJQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/M2Jd71oPJhLKp0zdtTvoMwRX4TIfMQQEXLu74GftruE.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/toadOcfmlt9b38dHJxOBGOiMeWyi5E_-XkTgB5psiDg.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/fpTVHK8qsXbIeTHTrnQH6Pp6lGoTTgjlW0sC4r900Co.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/toadOcfmlt9b38dHJxOBGPgXsetDviZcdR5OzC1KPcw.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/fpTVHK8qsXbIeTHTrnQH6LVT4locI09aamSzFGQlDMY.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/toadOcfmlt9b38dHJxOBGBA_awHl7mXRjE_LQVochcU.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcesanspro\/v6\/fpTVHK8qsXbIeTHTrnQH6A0NcF6HPGWR298uWIdxWv0.ttf"}},{"kind":"webfonts#webfont","family":"PT Sans Narrow","variants":["regular","700"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v4","lastModified":"2013-05-29","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsansnarrow\/v4\/UyYrYy3ltEffJV9QueSi4ZTvAuddT2xDMbdz0mdLyZY.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsansnarrow\/v4\/Q_pTky3Sc3ubRibGToTAYsLtdzs3iyjn_YuT226ZsLU.ttf"}},{"kind":"webfonts#webfont","family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin"],"version":"v6","lastModified":"2012-09-14","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/UDfD6oxBaBnmFJwQ7XAFNw.ttf","200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/LAQwev4hdCtYkOYX4Oc7nPesZW2xOQ-xsNqO47m55DA.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/2VvSZU2kb4DZwFfRM4fLQPesZW2xOQ-xsNqO47m55DA.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/_dCzxpXzIS3sL-gdJWAP8A.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/348gn6PEmbLDWlHbbV15d_esZW2xOQ-xsNqO47m55DA.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/M7no6oPkwKYJkedjB1wqEvesZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/VGEV9-DrblisWOWLbK-1XPesZW2xOQ-xsNqO47m55DA.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/mMh0JrsYMXcLO69jgJwpUvesZW2xOQ-xsNqO47m55DA.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/raleway\/v6\/ajQQGcDBLcyLpaUfD76UuPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Yanone Kaffeesatz","variants":["200","300","regular","700"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/yanonekaffeesatz\/v4\/We_iSDqttE3etzfdfhuPRbq92v6XxU4pSv06GI0NsGc.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/yanonekaffeesatz\/v4\/We_iSDqttE3etzfdfhuPRZlIwXPiNoNT_wxzJ2t3mTE.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/yanonekaffeesatz\/v4\/YDAoLskQQ5MOAgvHUQCcLdXn3cHbFGWU4T2HrSN6JF4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/yanonekaffeesatz\/v4\/We_iSDqttE3etzfdfhuPRf2R4S6PlKaGXWPfWpHpcl0.ttf"}},{"kind":"webfonts#webfont","family":"Lobster","variants":["regular"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lobster\/v5\/9LpJGtNuM1D8FAZ2BkJH2Q.ttf"}},{"kind":"webfonts#webfont","family":"Lora","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lora\/v5\/aXJ7KVIGcejEy1abawZazg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lora\/v5\/AN2EZaj2tFRpyveuNn9BOg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lora\/v5\/enKND5SfzQKkggBA_VnT1A.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lora\/v5\/ivs9j3kYU65pR9QD9YFdzQ.ttf"}},{"kind":"webfonts#webfont","family":"Oxygen","variants":["300","regular","700"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-10-31","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oxygen\/v2\/lZ31r0bR1Bzt_DfGZu1S8A.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oxygen\/v2\/uhoyAE7XlQL22abzQieHjw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oxygen\/v2\/yLqkmDwuNtt5pSqsJmhyrg.ttf"}},{"kind":"webfonts#webfont","family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v5","lastModified":"2013-07-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arimo\/v5\/Gpeo80g-5ji2CcyXWnzh7g.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arimo\/v5\/_OdGbnX2-qQ96C4OjhyuPw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arimo\/v5\/ZItXugREyvV9LnbY_gxAmw.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arimo\/v5\/__nOLWqmeXdhfr0g7GaFePesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arvo\/v5\/vvWPwz-PlZEwjOOIKqoZzA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arvo\/v5\/id5a4BCjbenl5Gkqonw_Rw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arvo\/v5\/OB3FDST7U38u3OjPK_vvRQ.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arvo\/v5\/Hvl2MuWoXLaCy2v6MD4Yvw.ttf"}},{"kind":"webfonts#webfont","family":"Bitter","variants":["regular","italic","700"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bitter\/v4\/w_BNdJvVZDRmqy5aSfB2kQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bitter\/v4\/TC0FZEVzXQIGgzmRfKPZbA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bitter\/v4\/4dUtr_4BvHuoRU35suyOAg.ttf"}},{"kind":"webfonts#webfont","family":"Montserrat","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montserrat\/v3\/Kqy6-utIpx_30Xzecmeo8_esZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montserrat\/v3\/IQHow_FEYlDC4Gzy_m8fcgJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Play","variants":["regular","700"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic","greek-ext"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/play\/v3\/GWvfObW8LhtsOX333MCpBg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/play\/v3\/crPhg6I0alLI-MpB3vW-zw.ttf"}},{"kind":"webfonts#webfont","family":"Rokkitt","variants":["regular","700"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rokkitt\/v5\/GMA7Z_ToF8uSvpZAgnp_VQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rokkitt\/v5\/gxlo-sr3rPmvgSixYog_ofesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Francois One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v6","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/francoisone\/v6\/bYbkq2nU2TSx4SwFbz5sCC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v1","lastModified":"2013-04-17","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notosans\/v1\/0Ue9FiUJwVhi4NGfHJS5uA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notosans\/v1\/dLcNKMgJ1H5RVoZFraDz0qCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notosans\/v1\/PIbvSEyHEdL91QLOQRnZ1y3USBnSvpkopQaUR-2r7iU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notosans\/v1\/9Z3uUWMRR7crzm1TjRicDne1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"Nunito","variants":["300","regular","700"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nunito\/v4\/zXQvrWBJqUooM7Xv98MrQw.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nunito\/v4\/ySZTeT3IuzJj0GK6uGpbBg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nunito\/v4\/aEdlqgMuYbpe4U3TnqOQMA.ttf"}},{"kind":"webfonts#webfont","family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2013-05-22","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/ZvcMqxEwPfh2qDWBPxn6nqcQoVhARpoaILP7amxE_8g.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/EYh7Vl4ywhowqULgRdYwICna0FLWfcB-J_SAYmcAXaI.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/RFda8w1V0eDZheqfcyQ4EC3USBnSvpkopQaUR-2r7iU.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/So5lHxHT37p2SS4-t60SlPMZXuCXbOrAvx5R0IT5Oyo.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/ZvcMqxEwPfh2qDWBPxn6nkD2ttfZwueP-QU272T9-k4.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/EYh7Vl4ywhowqULgRdYwIPAs9-1nE9qOqhChW0m4nDE.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/ZvcMqxEwPfh2qDWBPxn6nqObDOjC3UL77puoeHsE3fw.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweather\/v5\/EYh7Vl4ywhowqULgRdYwIBd0_s6jQr9r5s5OZYvtzBY.ttf"}},{"kind":"webfonts#webfont","family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v5","lastModified":"2013-05-29","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptserif\/v5\/sAo427rn3-QL9sWCbMZXhA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptserif\/v5\/9khWhKzhpkH0OkNnBKS3n_esZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptserif\/v5\/kyZw18tqQ5if-_wpmxxOeKCWcynf_cDxXwCLxiixG1c.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptserif\/v5\/Foydq9xJp--nfYIx2TBz9QJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Shadows Into Light","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/shadowsintolight\/v3\/clhLqOv7MXn459PTh0gXYAW_5bEze-iLRNvGrRpJsfM.ttf"}},{"kind":"webfonts#webfont","family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dosis\/v1\/ztftab0r6hcd7AeurUGrSQ.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dosis\/v1\/awIB6L0h5mb0plIKorXmuA.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dosis\/v1\/rJRlixu-w0JZ1MyhJpao_Q.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dosis\/v1\/ruEXDOFMxDPGnjCBKRqdAQ.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dosis\/v1\/KNAswRNwm3tfONddYyidxg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dosis\/v1\/AEEAj0ONidK8NQQMBBlSig.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dosis\/v1\/nlrKd8E69vvUU39XGsvR7Q.ttf"}},{"kind":"webfonts#webfont","family":"Cuprum","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin","cyrillic"],"version":"v4","lastModified":"2012-08-02","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cuprum\/v4\/JgXs0F_UiaEdAS74msmFNg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cuprum\/v4\/cLEz0KV6OxInnktSzpk58g.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cuprum\/v4\/6tl3_FkDeXSD72oEHuJh4w.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cuprum\/v4\/bnkXaBfoYvaJ75axRPSwVKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Cabin","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/XeuAFYo2xAPHxZGBbQtHhA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/0tJ9k3DI5xC4GBgs1E_Jxw.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/HgsCQ-k3_Z_uQ86aFolNBg.ttf","500italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/50sjhrGE0njyO-7mGDhGP_esZW2xOQ-xsNqO47m55DA.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/eUDAvKhBtmTCkeVBsFk34A.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/sFQpQDBd3G2om0Nl5dD2CvesZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/4EKhProuY1hq_WCAomq9Dg.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabin\/v4\/K83QKi8MOKLEqj6bgZ7LrfesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-06","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/librebaskerville\/v1\/pR0sBQVcY0JZc_ciXjFsKyyZRYCSvpCzQKuMWnP5NDY.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/librebaskerville\/v1\/QHIOz1iKF3bIEzRdDFaf5QnhapNS5Oi8FPrBRDLbsW4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/librebaskerville\/v1\/kH7K4InNTm7mmOXXjrA5v-xuswJKUVpBRfYFpz0W3Iw.ttf"}},{"kind":"webfonts#webfont","family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-03","files":{"200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/anMUvcNT0H1YN4FII8wprzOdCrLccoxq42eaxM802O0.ttf","200italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/RZunN20OBmkvrU7sA4GPPj4N98U-66ThNJvtgddRfBE.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/anMUvcNT0H1YN4FII8wpr9ZAkYT8DuUZELiKLwMGWAo.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/RZunN20OBmkvrU7sA4GPPrfzCkqg7ORZlRf2cc4mXu8.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/7XUFZ5tgS-tD6QamInJTcTyagQBwYgYywpS70xNq8SQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/r9OmwyQxrgzUAhaLET_KO-ixohbIP6lHkU-1Mgq95cY.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/anMUvcNT0H1YN4FII8wpr28K9dEd5Ue-HTQrlA7E2xQ.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/RZunN20OBmkvrU7sA4GPPgOhzTSndyK8UWja2yJjKLc.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/anMUvcNT0H1YN4FII8wpr2-6tpSbB9YhmWtmd1_gi_U.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/RZunN20OBmkvrU7sA4GPPio3LEw-4MM8Ao2j9wPOfpw.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titilliumweb\/v1\/anMUvcNT0H1YN4FII8wpr7L0GmZLri-m-nfoo0Vul4Y.ttf"}},{"kind":"webfonts#webfont","family":"Abel","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/abel\/v3\/RpUKfqNxoyNe_ka23bzQ2A.ttf"}},{"kind":"webfonts#webfont","family":"Crafty Girls","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/craftygirls\/v2\/0Sv8UWFFdhQmesHL32H8oy3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Ubuntu Condensed","variants":["regular"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic","greek-ext"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntucondensed\/v3\/DBCt-NXN57MTAFjitYxdrKDbm6fPDOZJsR8PmdG62gY.ttf"}},{"kind":"webfonts#webfont","family":"Anton","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anton\/v3\/XIbCenm-W0IRHWYIh7CGUQ.ttf"}},{"kind":"webfonts#webfont","family":"Merriweather Sans","variants":["300","300italic","regular","italic","700","700italic","800","800italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2013-06-12","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/6LmGj5dOJopQKEkt88Gowan5N8K-_DP0e9e_v51obXQ.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/nAqt4hiqwq3tzCecpgPmVdytE4nGXk2hYD5nJ740tBw.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/AKu1CjQ4qnV8MUltkAX3sOAj_ty82iuwwDTNEYXGiyQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/3Mz4hOHzs2npRMG3B1ascZ32VBCoA_HLsn85tSWZmdo.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/6LmGj5dOJopQKEkt88GowbqxG25nQNOioCZSK4sU-CA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/nAqt4hiqwq3tzCecpgPmVbuqAJxizi8Dk_SK5et7kMg.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/6LmGj5dOJopQKEkt88GowYufzO2zUYSj5LqoJ3UGkco.ttf","800italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merriweathersans\/v2\/nAqt4hiqwq3tzCecpgPmVdDmPrYMy3aZO4LmnZsxTQw.ttf"}},{"kind":"webfonts#webfont","family":"Fjalla One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fjallaone\/v1\/3b7vWCfOZsU53vMa8LWsf_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Archivo Narrow","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-12-17","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/archivonarrow\/v2\/DsLzC9scoPnrGiwYYMQXppTvAuddT2xDMbdz0mdLyZY.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/archivonarrow\/v2\/vqsrtPCpTU3tJlKfuXP5zUpmlyBQEFfdE6dERLXdQGQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/archivonarrow\/v2\/M__Wu4PAmHf4YZvQM8tWsMLtdzs3iyjn_YuT226ZsLU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/archivonarrow\/v2\/wG6O733y5zHl4EKCOh8rSTg5KB8MNJ4uPAETq9naQO8.ttf"}},{"kind":"webfonts#webfont","family":"Maven Pro","variants":["regular","500","700","900"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mavenpro\/v4\/sqPJIFG4gqsjl-0q_46Gbw.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mavenpro\/v4\/SQVfzoJBbj9t3aVcmbspRi3USBnSvpkopQaUR-2r7iU.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mavenpro\/v4\/uDssvmXgp7Nj3i336k_dSi3USBnSvpkopQaUR-2r7iU.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mavenpro\/v4\/-91TwiFzqeL1F7Kh91APwS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Roboto Slab","variants":["100","300","regular","700"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v2","lastModified":"2013-07-31","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotoslab\/v2\/MEz38VLIFL-t46JUtkIEgIAWxXGWZ3yJw6KhWS7MxOk.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotoslab\/v2\/dazS1PrQQuCxC3iOAJFEJS9-WlPSxbfiI49GsXo3q0g.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotoslab\/v2\/3__ulTNA7unv0UtplybPiqCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/robotoslab\/v2\/dazS1PrQQuCxC3iOAJFEJXe1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"Josefin Sans","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/q9w3H4aeBxj0hZ8Osfi3d8SVQ0giZ-l_NELu3lgGyYw.ttf","100italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/s7-P1gqRNRNn-YWdOYnAOXXcj1rQwlNLIS625o-SrL0.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/C6HYlRF50SGJq1XyXj04z6cQoVhARpoaILP7amxE_8g.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/ppse0J9fKSaoxCIIJb33Gyna0FLWfcB-J_SAYmcAXaI.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/xgzbb53t8j-Mo-vYa23n5i3USBnSvpkopQaUR-2r7iU.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/q9w3H4aeBxj0hZ8Osfi3d_MZXuCXbOrAvx5R0IT5Oyo.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/C6HYlRF50SGJq1XyXj04z2v8CylhIUtwUiYO7Z2wXbE.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/ppse0J9fKSaoxCIIJb33G4R-5-urNOGAobhAyctHvW8.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/C6HYlRF50SGJq1XyXj04z0D2ttfZwueP-QU272T9-k4.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinsans\/v3\/ppse0J9fKSaoxCIIJb33G_As9-1nE9qOqhChW0m4nDE.ttf"}},{"kind":"webfonts#webfont","family":"Special Elite","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/specialelite\/v3\/9-wW4zu3WNoD5Fjka35Jm4jjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Signika","variants":["300","regular","600","700"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signika\/v3\/0wDPonOzsYeEo-1KO78w4fesZW2xOQ-xsNqO47m55DA.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signika\/v3\/WvDswbww0oAtvBg2l1L-9w.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signika\/v3\/lQMOF6NUN2ooR7WvB7tADvesZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signika\/v3\/lEcnfPBICWJPv5BbVNnFJPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Pacifico","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pacifico\/v4\/GIrpeRY1r5CzbfL8r182lw.ttf"}},{"kind":"webfonts#webfont","family":"Indie Flower","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/indieflower\/v4\/10JVD_humAd5zP2yrFqw6i3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Asap","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/asap\/v1\/2lf-1MDR8tsTpEtvJmr2hA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/asap\/v1\/mwxNHf8QS8gNWCAMwkJNIg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/asap\/v1\/o5RUA7SsJ80M8oDFBnrDbg.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/asap\/v1\/_rZz9y2oXc09jT5T6BexLQ.ttf"}},{"kind":"webfonts#webfont","family":"Dancing Script","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dancingscript\/v3\/DK0eTGXiZjN6yA8zAEyM2RnpV0hQCek3EmWnCPrvGRM.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dancingscript\/v3\/KGBfwabt0ZRLA5W1ywjowb_dAmXiKjTPGCuO6G2MbfA.ttf"}},{"kind":"webfonts#webfont","family":"Coming Soon","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/comingsoon\/v3\/Yz2z3IAe2HSQAOWsSG8COKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Questrial","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/questrial\/v3\/MoHHaw_WwNs_hd9ob1zTVw.ttf"}},{"kind":"webfonts#webfont","family":"Alegreya","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-08-08","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreya\/v4\/62J3atXd6bvMU4qO_ca-eA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreya\/v4\/cbshnQGxwmlHBjUil7DaIfesZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreya\/v4\/5oZtdI5-wQwgAFrd9erCsaCWcynf_cDxXwCLxiixG1c.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreya\/v4\/IWi8e5bpnqhMRsZKTcTUWgJKKGfqHaYFsRG-T3ceEVo.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreya\/v4\/oQeMxX-vxGImzDgX6nxA7KCWcynf_cDxXwCLxiixG1c.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreya\/v4\/-L71QLH_XqgYWaI1GbOVhp0EAVxt0G0biEntp43Qt6E.ttf"}},{"kind":"webfonts#webfont","family":"Vollkorn","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vollkorn\/v3\/IiexqYAeh8uII223thYx3w.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vollkorn\/v3\/UuIzosgR1ovBhJFdwVp3fvesZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vollkorn\/v3\/gOwQjJVGXlDOONC12hVoBqCWcynf_cDxXwCLxiixG1c.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vollkorn\/v3\/KNiAlx6phRqXCwnZZG51JAJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Kreon","variants":["300","regular","700"],"subsets":["latin"],"version":"v6","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kreon\/v6\/HKtJRiq5C2zbq5N1IX32sA.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kreon\/v6\/zA_IZt0u0S3cvHJu-n1oEg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kreon\/v6\/jh0dSmaPodjxISiblIUTkw.ttf"}},{"kind":"webfonts#webfont","family":"News Cycle","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v9","lastModified":"2012-08-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/newscycle\/v9\/xyMAr8VfiUzIOvS1abHJO_esZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/newscycle\/v9\/G28Ny31cr5orMqEQy6ljtwJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Armata","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/armata\/v3\/1H8FwGgIRrbYtxSfXhOHlQ.ttf"}},{"kind":"webfonts#webfont","family":"Muli","variants":["300","300italic","regular","italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/muli\/v4\/VJw4F3ZHRAZ7Hmg3nQu5YQ.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/muli\/v4\/s-NKMCru8HiyjEt0ZDoBoA.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/muli\/v4\/KJiP6KznxbALQgfJcDdPAw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/muli\/v4\/Cg0K_IWANs9xkNoxV7H1_w.ttf"}},{"kind":"webfonts#webfont","family":"Playfair Display","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin-ext","latin","cyrillic"],"version":"v7","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplay\/v7\/2NBgzUtEeyB-Xtpr9bm1CV6uyC_qD11hrFQ6EGgTJWI.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplay\/v7\/9MkijrV-dEJ0-_NWV7E6NzMsbnvDNEBX25F5HWk9AhI.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplay\/v7\/UC3ZEjagJi85gF9qFaBgICsv6SrURqJprbhH_C1Mw8w.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplay\/v7\/n7G4PqJvFP2Kubl0VBLDECsYW3XoOVcYyYdp9NzzS9E.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplay\/v7\/UC3ZEjagJi85gF9qFaBgIKqwMe2wjvZrAR44M0BJZ48.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplay\/v7\/n7G4PqJvFP2Kubl0VBLDEC0JfJ4xmm7j1kL6D7mPxrA.ttf"}},{"kind":"webfonts#webfont","family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/economica\/v1\/G4rJRujzZbq9Nxngu9l3hg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/economica\/v1\/p5O9AVeUqx_n35xQRinNYaCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/economica\/v1\/UK4l2VEpwjv3gdcwbwXE9C3USBnSvpkopQaUR-2r7iU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/economica\/v1\/ac5dlUsedQ03RqGOeay-3Xe1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/istokweb\/v5\/RYLSjEXQ0nNtLLc4n7--dQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/istokweb\/v5\/kvcT2SlTjmGbC3YlZxmrl6CWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/istokweb\/v5\/2koEo4AKFSvK4B52O_Mwai3USBnSvpkopQaUR-2r7iU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/istokweb\/v5\/ycQ3g52ELrh3o_HYCNNUw3e1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabincondensed\/v4\/B0txb0blf2N29WdYPJjMSiQPsWWoiv__AzYJ9Zzn9II.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabincondensed\/v4\/Ez4zJbsGr2BgXcNUWBVgEARL_-ABKXdjsJSPT0lc2Bk.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabincondensed\/v4\/Ez4zJbsGr2BgXcNUWBVgELS5sSASxc8z4EQTQj7DCAI.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabincondensed\/v4\/Ez4zJbsGr2BgXcNUWBVgEMAWgzcA047xWLixhLCofl8.ttf"}},{"kind":"webfonts#webfont","family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marvel\/v3\/Fg1dO8tWVb-MlyqhsbXEkg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marvel\/v3\/HzyjFB-oR5usrc7Lxz9g8w.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marvel\/v3\/WrHDBL1RupWGo2UcdgxB3Q.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marvel\/v3\/Gzf5NT09Y6xskdQRj2kz1qCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Exo","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/RI7A9uwjRmPbVp0n8e-Jvg.ttf","100italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/qtGyZZlWb2EEvby3ZPosxw.ttf","200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/F8OfC_swrRRxpFt-tlXZQg.ttf","200italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/fr4HBfXHYiIngW2_bhlgRw.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/SBrN7TKUqgGUvfxqHqsnNw.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/3gmiLjBegIfcDLISjTGA1g.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/eUEzTFueNXRVhbt4PEB8kQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/cfgolWisMSURhpQeVHl_NA.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/jCg6DmGGXt_OVyp5ofQHPw.ttf","500italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/lo5eTdCNJZQVN08p8RnzAQ.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/q_SG5kXUmOcIvFpgtdZnlw.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/0cExa8K_pxS2lTuMr68XUA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/3_jwsL4v9uHjl5Q37G57mw.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/0me55yJIxd5vyQ9bF7SsiA.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/yLPuxBuV0lzqibRJyooOJg.ttf","800italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/n3LejeKVj_8gtZq5fIgNYw.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/97d0nd6Yv4-SA_X92xAuZA.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/exo\/v1\/JHTkQVhzyLtkY13Ye95TJQ.ttf"}},{"kind":"webfonts#webfont","family":"Comfortaa","variants":["300","regular","700"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/comfortaa\/v4\/r_tUZNl0G8xCoOmp_JkSCi3USBnSvpkopQaUR-2r7iU.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/comfortaa\/v4\/lZx6C1VViPgSOhCBUP7hXA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/comfortaa\/v4\/fND5XPYKrF2tQDwwfWZJIy3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Inconsolata","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v6","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/inconsolata\/v6\/7bMKuoy6Nh0ft0SHnIGMuaCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/inconsolata\/v6\/AIed271kqQlcIRSOnQH0yXe1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"PT Sans Caption","variants":["regular","700"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v6","lastModified":"2013-05-29","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsanscaption\/v6\/OXYTDOzBcXU8MTNBvBHeSW8by34Z3mUMtM-o4y-SHCY.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptsanscaption\/v6\/Q-gJrFokeE7JydPpxASt25tc0eyfI4QDEsobEEpk_hA.ttf"}},{"kind":"webfonts#webfont","family":"Quicksand","variants":["300","regular","700"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quicksand\/v2\/qhfoJiLu10kFjChCCTvGlC3USBnSvpkopQaUR-2r7iU.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quicksand\/v2\/Ngv3fIJjKB7sD-bTUGIFCA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quicksand\/v2\/32nyIRHyCu6iqEka_hbKsi3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cantarell\/v3\/p5ydP_uWQ5lsFzcP_XVMEw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cantarell\/v3\/DTCLtOSqP-7dgM-V_xKUjqCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cantarell\/v3\/Yir4ZDsCn4g1kWopdg-ehC3USBnSvpkopQaUR-2r7iU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cantarell\/v3\/weehrwMeZBXb0QyrWnRwFXe1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"Changa One","variants":["regular","italic"],"subsets":["latin"],"version":"v6","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/changaone\/v6\/dr4qjce4W3kxFrZRkVD87fesZW2xOQ-xsNqO47m55DA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/changaone\/v6\/wJVQlUs1lAZel-WdTo2U9y3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Squada One","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/squadaone\/v2\/3tzGuaJdD65cZVgfQzN8uvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Nobile","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nobile\/v4\/lC_lPi1ddtN38iXTCRh6ow.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nobile\/v4\/vGmrpKzWQQSrb-PR6FWBIA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nobile\/v4\/9p6M-Yrg_r_QPmSD1skrOg.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nobile\/v4\/oQ1eYPaXV638N03KvsNvyKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/philosopher\/v4\/oZLTrB9jmJsyV0u_T0TKEaCWcynf_cDxXwCLxiixG1c.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/philosopher\/v4\/_9Hnc_gz9k7Qq6uKaeHKmUeOrDcLawS7-ssYqLr2Xp4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/philosopher\/v4\/napvkewXG9Gqby5vwGHICHe1Pd76Vl7zRpE7NLJQ7XU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/philosopher\/v4\/PuKlryTcvTj7-qZWfLCFIM_zJjSACmk0BRPxQqhnNLU.ttf"}},{"kind":"webfonts#webfont","family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin","vietnamese"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/noticiatext\/v3\/wdyV6x3eKpdeUPQ7BJ5uUC3USBnSvpkopQaUR-2r7iU.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/noticiatext\/v3\/dAuxVpkYE_Q_IwIm6elsKPMZXuCXbOrAvx5R0IT5Oyo.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/noticiatext\/v3\/pEko-RqEtp45bE2P80AAKUD2ttfZwueP-QU272T9-k4.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/noticiatext\/v3\/-rQ7V8ARjf28_b7kRa0JuvAs9-1nE9qOqhChW0m4nDE.ttf"}},{"kind":"webfonts#webfont","family":"Gudea","variants":["regular","italic","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gudea\/v1\/S-4QqBlkMPiiA3jNeCR5yw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gudea\/v1\/7mNgsGw_vfS-uUgRVXNDSw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gudea\/v1\/lsip4aiWhJ9bx172Y9FN_w.ttf"}},{"kind":"webfonts#webfont","family":"Telex","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/telex\/v1\/24-3xP9ywYeHOcFU3iGk8A.ttf"}},{"kind":"webfonts#webfont","family":"Bree Serif","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/breeserif\/v2\/5h9crBVIrvZqgf34FHcnEfesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Monda","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-06","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/monda\/v1\/qFMHZ9zvR6B_gnoIgosPrw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/monda\/v1\/EVOzZUyc_j1w2GuTgTAW1g.ttf"}},{"kind":"webfonts#webfont","family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/etsUjZYO8lTLU85lDhZwUsSVQ0giZ-l_NELu3lgGyYw.ttf","100italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/8BjDChqLgBF3RJKfwHIYh3Xcj1rQwlNLIS625o-SrL0.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/NbE6ykYuM2IyEwxQxOIi2KcQoVhARpoaILP7amxE_8g.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/af9sBoKGPbGO0r21xJulyyna0FLWfcB-J_SAYmcAXaI.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/46aYWdgz-1oFX11flmyEfS3USBnSvpkopQaUR-2r7iU.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/etsUjZYO8lTLU85lDhZwUvMZXuCXbOrAvx5R0IT5Oyo.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/NbE6ykYuM2IyEwxQxOIi2Gv8CylhIUtwUiYO7Z2wXbE.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/af9sBoKGPbGO0r21xJuly4R-5-urNOGAobhAyctHvW8.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/NbE6ykYuM2IyEwxQxOIi2ED2ttfZwueP-QU272T9-k4.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/josefinslab\/v3\/af9sBoKGPbGO0r21xJuly_As9-1nE9qOqhChW0m4nDE.ttf"}},{"kind":"webfonts#webfont","family":"Pontano Sans","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pontanosans\/v1\/gTHiwyxi6S7iiHpqAoiE3C3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ropasans\/v2\/Gba7ZzVBuhg6nX_AoSwlkQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ropasans\/v2\/V1zbhZQscNrh63dy5Jk2nqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Playball","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playball\/v3\/3hOFiQm_EUzycTpcN9uz4w.ttf"}},{"kind":"webfonts#webfont","family":"Chewy","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chewy\/v4\/hcDN5cvQdIu6Bx4mg_TSyw.ttf"}},{"kind":"webfonts#webfont","family":"Luckiest Guy","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/luckiestguy\/v3\/5718gH8nDy3hFVihOpkY5C3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Voltaire","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/voltaire\/v3\/WvqBzaGEBbRV-hrahwO2cA.ttf"}},{"kind":"webfonts#webfont","family":"Fredoka One","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fredokaone\/v1\/QKfwXi-z-KtJAlnO2ethYqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Patua One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-08-08","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/patuaone\/v3\/njZwotTYjswR4qdhsW-kJw.ttf"}},{"kind":"webfonts#webfont","family":"Droid Sans Mono","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/droidsansmono\/v4\/ns-m2xQYezAtqh7ai59hJcwD6PD0c3_abh9zHKQtbGU.ttf"}},{"kind":"webfonts#webfont","family":"Jockey One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jockeyone\/v3\/cAucnOZLvFo07w2AbufBCfesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Rock Salt","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rocksalt\/v3\/Zy7JF9h9WbhD9V3SFMQ1UQ.ttf"}},{"kind":"webfonts#webfont","family":"Calligraffitti","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/calligraffitti\/v4\/vLVN2Y-z65rVu1R7lWdvyDXz_orj3gX0_NzfmYulrko.ttf"}},{"kind":"webfonts#webfont","family":"Amatic SC","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amaticsc\/v3\/MldbRWLFytvqxU1y81xSVg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amaticsc\/v3\/IDnkRTPGcrSVo50UyYNK7y3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Unkempt","variants":["regular","700"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/unkempt\/v4\/NLLBeNSspr0RGs71R5LHWA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/unkempt\/v4\/V7H-GCl9bgwGwqFqTTgDHvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Handlee","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/handlee\/v2\/6OfkXkyC0E5NZN80ED8u3A.ttf"}},{"kind":"webfonts#webfont","family":"Tangerine","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tangerine\/v3\/DTPeM3IROhnkz7aYG2a9sA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tangerine\/v3\/UkFsr-RwJB_d2l9fIWsx3i3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Quattrocento","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quattrocento\/v4\/WZDISdyil4HsmirlOdBRFC3USBnSvpkopQaUR-2r7iU.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quattrocento\/v4\/Uvi-cRwyvqFpl9j3oT2mqkD2ttfZwueP-QU272T9-k4.ttf"}},{"kind":"webfonts#webfont","family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/shadowsintolighttwo\/v1\/gDxHeefcXIo-lOuZFCn2xVQrZk-Pga5KeEE_oZjkQjQ.ttf"}},{"kind":"webfonts#webfont","family":"Crete Round","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/creteround\/v2\/B8EwN421qqOCCT8vOH4wJ6CWcynf_cDxXwCLxiixG1c.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/creteround\/v2\/5xAt7XK2vkUdjhGtt98unUeOrDcLawS7-ssYqLr2Xp4.ttf"}},{"kind":"webfonts#webfont","family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cherrycreamsoda\/v3\/OrD-AUnFcZeeKa6F_c0_WxOiHiuAPYA9ry3O1RG2XIU.ttf"}},{"kind":"webfonts#webfont","family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quattrocentosans\/v5\/efd6FGWWGX5Z3ztwLBrG9eAj_ty82iuwwDTNEYXGiyQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quattrocentosans\/v5\/8PXYbvM__bjl0rBnKiByg532VBCoA_HLsn85tSWZmdo.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quattrocentosans\/v5\/tXSgPxDl7Lk8Zr_5qX8FIbqxG25nQNOioCZSK4sU-CA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quattrocentosans\/v5\/8N1PdXpbG6RtFvTjl-5E7buqAJxizi8Dk_SK5et7kMg.ttf"}},{"kind":"webfonts#webfont","family":"EB Garamond","variants":["regular"],"subsets":["latin-ext","latin","vietnamese","cyrillic-ext","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ebgaramond\/v4\/CDR0kuiFK7I1OZ2hSdR7G6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Molengo","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/molengo\/v4\/jcjgeGuzv83I55AzOTpXNQ.ttf"}},{"kind":"webfonts#webfont","family":"Permanent Marker","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/permanentmarker\/v2\/9vYsg5VgPHKK8SXYbf3sMol14xj5tdg9OHF8w4E7StQ.ttf"}},{"kind":"webfonts#webfont","family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oldstandardtt\/v4\/n6RTCDcIPWSE8UNBa4k-DLcB5jyhm1VsHs65c3QNDr0.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oldstandardtt\/v4\/QQT_AUSp4AV4dpJfIN7U5PWrQzeMtsHf8QsWQ2cZg3c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oldstandardtt\/v4\/5Ywdce7XEbTSbxs__4X1_HJqbZqK7TdZ58X80Q_Lw8Y.ttf"}},{"kind":"webfonts#webfont","family":"Happy Monkey","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/happymonkey\/v2\/c2o0ps8nkBmaOYctqBq1rS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Kotta One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kottaone\/v1\/AB2Q7hVw6niJYDgLvFXu5w.ttf"}},{"kind":"webfonts#webfont","family":"Black Ops One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/blackopsone\/v4\/2XW-DmDsGbDLE372KrMW1Yjjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/crimsontext\/v3\/3IFMwfRa07i-auYR-B-zNS3USBnSvpkopQaUR-2r7iU.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/crimsontext\/v3\/a5QZnvmn5amyNI-t2BMkWPMZXuCXbOrAvx5R0IT5Oyo.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/crimsontext\/v3\/rEy5tGc5HdXy56Xvd4f3I2v8CylhIUtwUiYO7Z2wXbE.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/crimsontext\/v3\/4j4TR-EfnvCt43InYpUNDIR-5-urNOGAobhAyctHvW8.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/crimsontext\/v3\/rEy5tGc5HdXy56Xvd4f3I0D2ttfZwueP-QU272T9-k4.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/crimsontext\/v3\/4j4TR-EfnvCt43InYpUNDPAs9-1nE9qOqhChW0m4nDE.ttf"}},{"kind":"webfonts#webfont","family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lobstertwo\/v4\/xb9aY4w9ceh8JRzobID1naCWcynf_cDxXwCLxiixG1c.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lobstertwo\/v4\/Ul_16MSbfayQv1I4QhLEoEeOrDcLawS7-ssYqLr2Xp4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lobstertwo\/v4\/bmdxOflBqMqjEC0-kGsIiHe1Pd76Vl7zRpE7NLJQ7XU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lobstertwo\/v4\/LEkN2_no_6kFvRfiBZ8xpM_zJjSACmk0BRPxQqhnNLU.ttf"}},{"kind":"webfonts#webfont","family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbookbasic\/v3\/IRFxB2matTxrjZt6a3FUnrWDjKAyldGEr6eEi2MBNeY.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbookbasic\/v3\/qHqW2lwKO8-uTfIkh8FsUfXfjMwrYnmPVsQth2IcAPY.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbookbasic\/v3\/T2vUYmWzlqUtgLYdlemGnaWESMHIjnSjm9UUxYtEOko.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbookbasic\/v3\/632u7TMIoFDWQYUaHFUp5PA2A9KyRZEkn4TZVuhsWRM.ttf"}},{"kind":"webfonts#webfont","family":"Varela Round","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/varelaround\/v3\/APH4jr0uSos5wiut5cpjri3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"BenchNine","variants":["300","regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-03","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/benchnine\/v1\/ah9xtUy9wLQ3qnWa2p-piS3USBnSvpkopQaUR-2r7iU.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/benchnine\/v1\/h3OAlYqU3aOeNkuXgH2Q2w.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/benchnine\/v1\/qZpi6ZVZg3L2RL_xoBLxWS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Cantata One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cantataone\/v2\/-a5FDvnBqaBMDaGgZYnEfqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Poiret One","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/poiretone\/v1\/dWcYed048E5gHGDIt8i1CPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Righteous","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/righteous\/v2\/0nRRWM_gCGCt2S-BCfN8WQ.ttf"}},{"kind":"webfonts#webfont","family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/karla\/v2\/78UgGRwJFkhqaoFimqoKpQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/karla\/v2\/51UBKly9RQOnOkj95ZwEFw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/karla\/v2\/JS501sZLxZ4zraLQdncOUA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/karla\/v2\/3YDyi09gQjCRh-5-SVhTTvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Satisfy","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/satisfy\/v3\/PRlyepkd-JCGHiN8e9WV2w.ttf"}},{"kind":"webfonts#webfont","family":"Paytone One","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/paytoneone\/v5\/3WCxC7JAJjQHQVoIE0ZwvqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Orbitron","variants":["regular","500","700","900"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/orbitron\/v3\/DY8swouAZjR3RaUPRf0HDQ.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/orbitron\/v3\/p-y_ffzMdo5JN_7ia0vYEqCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/orbitron\/v3\/PS9_6SLkY1Y6OgPO3APr6qCWcynf_cDxXwCLxiixG1c.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/orbitron\/v3\/2I3-8i9hT294TE_pyjy9SaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Passion One","variants":["regular","700","900"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/passionone\/v3\/1UIK1tg3bKJ4J3o35M4heqCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/passionone\/v3\/feOcYDy2R-f3Ysy72PYJ2ne1Pd76Vl7zRpE7NLJQ7XU.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/passionone\/v3\/feOcYDy2R-f3Ysy72PYJ2ienaqEuufTBk9XMKnKmgDA.ttf"}},{"kind":"webfonts#webfont","family":"Oleo Script","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oleoscript\/v2\/21stZcmPyzbQVXtmGegyqKCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oleoscript\/v2\/hudNQFKFl98JdNnlo363fne1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2013-05-22","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/justmeagaindownhere\/v5\/sN06iTc9ITubLTgXoG-kc3M9eVLpVTSK6TqZTIgBrWQ.ttf"}},{"kind":"webfonts#webfont","family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amaranth\/v3\/7VcBog22JBHsHXHdnnycTA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amaranth\/v3\/UrJlRY9LcVERJSvggsdBqPesZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amaranth\/v3\/j5OFHqadfxyLnQRxFeox6qCWcynf_cDxXwCLxiixG1c.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amaranth\/v3\/BHyuYFj9nqLFNvOvGh0xTwJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Leckerli One","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-08-08","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/leckerlione\/v4\/S2Y_iLrItTu8kIJTkS7DrC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Carme","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/carme\/v4\/08E0NP1eRBEyFRUadmMfgA.ttf"}},{"kind":"webfonts#webfont","family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/waitingforthesunrise\/v4\/eNfH7kLpF1PZWpsetF-ha9TChrNgrDiT3Zy6yGf3FnM.ttf"}},{"kind":"webfonts#webfont","family":"Electrolize","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/electrolize\/v2\/yFVu5iokC-nt4B1Cyfxb9aCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Varela","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/varela\/v4\/ON7qs0cKUUixhhDFXlZUjw.ttf"}},{"kind":"webfonts#webfont","family":"Patrick Hand","variants":["regular"],"subsets":["latin-ext","latin","vietnamese"],"version":"v7","lastModified":"2013-02-27","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/patrickhand\/v7\/9BG3JJgt_HlF3NpEUehL0C3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v1","lastModified":"2013-04-17","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notoserif\/v1\/zW6mc7bC1CWw8dH0yxY8JfesZW2xOQ-xsNqO47m55DA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notoserif\/v1\/HQXBIwLHsOJCNEQeX9kNzy3USBnSvpkopQaUR-2r7iU.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notoserif\/v1\/lJAvZoKA5NttpPc9yc6lPQJKKGfqHaYFsRG-T3ceEVo.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/notoserif\/v1\/Wreg0Be4tcFGM2t6VWytvED2ttfZwueP-QU272T9-k4.ttf"}},{"kind":"webfonts#webfont","family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/share\/v1\/1ytD7zSb_-g9I2GG67vmVw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/share\/v1\/a9YGdQWFRlNJ0zClJVaY3Q.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/share\/v1\/XrU8e7a1YKurguyY2azk1Q.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/share\/v1\/A992-bLVYwAflKu6iaznufesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Doppio One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/doppioone\/v1\/WHZ3HJQotpk_4aSMNBo_t_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Reenie Beanie","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/reeniebeanie\/v3\/ljpKc6CdXusL1cnGUSamX4jjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Walter Turncoat","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/walterturncoat\/v3\/sG9su5g4GXy1KP73cU3hvQplL2YwNeota48DxFlGDUo.ttf"}},{"kind":"webfonts#webfont","family":"Marck Script","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marckscript\/v4\/O_D1NAZVOFOobLbVtW3bci3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Allerta","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/allerta\/v4\/s9FOEuiJFTNbMe06ifzV8g.ttf"}},{"kind":"webfonts#webfont","family":"Syncopate","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/syncopate\/v3\/RQVwO52fAH6MI764EcaYtw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/syncopate\/v3\/S5z8ixiOoC4WJ1im6jAlYC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Sanchez","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sanchez\/v1\/BEL8ao-E2LJ5eHPLB2UAiw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sanchez\/v1\/iSrhkWLexUZzDeNxNEHtzA.ttf"}},{"kind":"webfonts#webfont","family":"Arapey","variants":["regular","italic"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arapey\/v2\/dqu823lrSYn8T2gApTdslA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arapey\/v2\/pY-Xi5JNBpaWxy2tZhEm5A.ttf"}},{"kind":"webfonts#webfont","family":"Chivo","variants":["regular","italic","900","900italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chivo\/v4\/L88PEuzS9eRfHRZhAPhZyw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chivo\/v4\/Oe3-Q-a2kBzPnhHck_baMg.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chivo\/v4\/JAdkiWd46QCW4vOsj3dzTA.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chivo\/v4\/LoszYnE86q2wJEOjCigBQ_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Bevan","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-08-08","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bevan\/v4\/Rtg3zDsCeQiaJ_Qno22OJA.ttf"}},{"kind":"webfonts#webfont","family":"Archivo Black","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/archivoblack\/v1\/WoAoVT7K3k7hHfxKbvB6B51XQG8isOYYJhPIYAyrESQ.ttf"}},{"kind":"webfonts#webfont","family":"Rationale","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rationale\/v4\/7M2eN-di0NGLQse7HzJRfg.ttf"}},{"kind":"webfonts#webfont","family":"Kameron","variants":["regular","700"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kameron\/v4\/9r8HYhqDSwcq9WMjupL82A.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kameron\/v4\/rabVVbzlflqvmXJUFlKnu_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gloriahallelujah\/v4\/CA1k7SlXcY5kvI81M_R28Q3RdPdyebSUyJECJouPsvA.ttf"}},{"kind":"webfonts#webfont","family":"Russo One","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/russoone\/v1\/zfwxZ--UhUc7FVfgT21PRQ.ttf"}},{"kind":"webfonts#webfont","family":"Damion","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/damion\/v3\/13XtECwKxhD_VrOqXL4SiA.ttf"}},{"kind":"webfonts#webfont","family":"Actor","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/actor\/v3\/ugMf40CrRK6Jf6Yz_xNSmQ.ttf"}},{"kind":"webfonts#webfont","family":"Coda","variants":["regular","800"],"subsets":["latin"],"version":"v7","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/coda\/v7\/yHDvulhg-P-p2KRgRrnUYw.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/coda\/v7\/6ZIw0sbALY0KTMWllZB3hQ.ttf"}},{"kind":"webfonts#webfont","family":"Didact Gothic","variants":["regular"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic","greek-ext"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/didactgothic\/v4\/v8_72sD3DYMKyM0dn3LtWotBLojGU5Qdl8-5NL4v70w.ttf"}},{"kind":"webfonts#webfont","family":"Spirax","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/spirax\/v2\/IOKqhk-Ccl7y31yDsePPkw.ttf"}},{"kind":"webfonts#webfont","family":"Viga","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/viga\/v2\/uD87gDbhS7frHLX4uL6agg.ttf"}},{"kind":"webfonts#webfont","family":"Pathway Gothic One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-06-12","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pathwaygothicone\/v1\/Lqv9ztoTUV8Q0FmQZzPqaA6A6xIYD7vYcYDop1i-K-c.ttf"}},{"kind":"webfonts#webfont","family":"Source Code Pro","variants":["200","300","regular","500","600","700","900"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2013-01-23","files":{"200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcecodepro\/v3\/leqv3v-yTsJNC7nFznSMqaXvKVW_haheDNrHjziJZVk.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcecodepro\/v3\/leqv3v-yTsJNC7nFznSMqVP7R5lD_au4SZC6Ks_vyWs.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcecodepro\/v3\/mrl8jkM18OlOQN8JLgasD9Rl0pGnog23EMYRrBmUzJQ.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcecodepro\/v3\/leqv3v-yTsJNC7nFznSMqX63uKwMO11Of4rJWV582wg.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcecodepro\/v3\/leqv3v-yTsJNC7nFznSMqeiMeWyi5E_-XkTgB5psiDg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcecodepro\/v3\/leqv3v-yTsJNC7nFznSMqfgXsetDviZcdR5OzC1KPcw.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sourcecodepro\/v3\/leqv3v-yTsJNC7nFznSMqRA_awHl7mXRjE_LQVochcU.ttf"}},{"kind":"webfonts#webfont","family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","latin-ext","latin","greek-ext"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cardo\/v5\/jbkF2_R0FKUEZTq5dwSknQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cardo\/v5\/pcv4Np9tUkq0YREYUcEEJQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cardo\/v5\/lQN30weILimrKvp8rZhF1w.ttf"}},{"kind":"webfonts#webfont","family":"Pinyon Script","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pinyonscript\/v3\/TzghnhfCn7TuE73f-CBQ0CeUSrabuTpOsMEiRLtKwk0.ttf"}},{"kind":"webfonts#webfont","family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/coveredbyyourgrace\/v3\/6ozZp4BPlrbDRWPe3EBGA6CVUMdvnk-GcAiZQrX9Gek.ttf"}},{"kind":"webfonts#webfont","family":"Copse","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/copse\/v3\/wikLrtPGjZDvZ5w2i5HLWg.ttf"}},{"kind":"webfonts#webfont","family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/goudybookletter1911\/v3\/l5lwlGTN3pEY5Bf-rQEuIIjNDsyURsIKu4GSfvSE4mA.ttf"}},{"kind":"webfonts#webfont","family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v5","lastModified":"2013-07-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tinos\/v5\/EqpUbkVmutfwZ0PjpoGwCg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tinos\/v5\/slfyzlasCr9vTsaP4lUh9A.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tinos\/v5\/vHXfhX8jZuQruowfon93yQ.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tinos\/v5\/M6kfzvDMM0CdxdraoFpG6vesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Just Another Hand","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/justanotherhand\/v4\/fKV8XYuRNNagXr38eqbRf99BnJIEGrvoojniP57E51c.ttf"}},{"kind":"webfonts#webfont","family":"Architects Daughter","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/architectsdaughter\/v3\/RXTgOOQ9AAtaVOHxx0IUBMCy0EhZjHzu-y0e6uLf4Fg.ttf"}},{"kind":"webfonts#webfont","family":"Schoolbell","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/schoolbell\/v3\/95-3djEuubb3cJx-6E7j4vesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Enriqueta","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/enriqueta\/v2\/_p90TrIwR1SC-vDKtmrv6A.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/enriqueta\/v2\/I27Pb-wEGH2ajLYP0QrtSC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Lusitana","variants":["regular","700"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lusitana\/v1\/l1h9VDomkwbdzbPdmLcUIw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lusitana\/v1\/GWtZyUsONxgkdl3Mc1P7FKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Radley","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v6","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/radley\/v6\/FgE9di09a-mXGzAIyI6Q9Q.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/radley\/v6\/Z_JcACuPAOO2f9kzQcGRug.ttf"}},{"kind":"webfonts#webfont","family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nothingyoucoulddo\/v3\/jpk1K3jbJoyoK0XKaSyQAf-TpkXjXYGWiJZAEtBRjPU.ttf"}},{"kind":"webfonts#webfont","family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overlock\/v2\/Z8oYsGi88-E1cUB8YBFMAg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overlock\/v2\/rq6EacukHROOBrFrK_zF6_esZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overlock\/v2\/Fexr8SqXM8Bm_gEVUA7AKaCWcynf_cDxXwCLxiixG1c.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overlock\/v2\/wFWnYgeXKYBks6gEUwYnfAJKKGfqHaYFsRG-T3ceEVo.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overlock\/v2\/YPJCVTT8ZbG3899l_-KIGqCWcynf_cDxXwCLxiixG1c.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overlock\/v2\/iOZhxT2zlg7W5ij_lb-oDp0EAVxt0G0biEntp43Qt6E.ttf"}},{"kind":"webfonts#webfont","family":"Marmelad","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marmelad\/v3\/jI0_FBlSOIRLL0ePWOhOwQ.ttf"}},{"kind":"webfonts#webfont","family":"The Girl Next Door","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/thegirlnextdoor\/v4\/cWRA4JVGeEcHGcPl5hmX7kzo0nFFoM60ux_D9BUymX4.ttf"}},{"kind":"webfonts#webfont","family":"Aldrich","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/aldrich\/v3\/kMMW1S56gFx7RP_mW1g-Eg.ttf"}},{"kind":"webfonts#webfont","family":"Antic Slab","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anticslab\/v1\/PSbJCTKkAS7skPdkd7AKEvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Julius Sans One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/juliussansone\/v1\/iU65JP9acQHPDLkdalCF7jjVlsJB_M_Q_LtZxsoxvlw.ttf"}},{"kind":"webfonts#webfont","family":"Homemade Apple","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/homemadeapple\/v3\/yg3UMEsefgZ8IHz_ryz86BiPOmFWYV1WlrJkRafc4c0.ttf"}},{"kind":"webfonts#webfont","family":"PT Serif Caption","variants":["regular","italic"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v5","lastModified":"2013-05-29","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptserifcaption\/v5\/7xkFOeTxxO1GMC1suOUYWVsRioCqs5fohhaYel24W3k.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptserifcaption\/v5\/0kfPsmrmTSgiec7u_Wa0DB1mqvzPHelJwRcF_s_EUM0.ttf"}},{"kind":"webfonts#webfont","family":"Rochester","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rochester\/v3\/bnj8tmQBiOkdji_G_yvypg.ttf"}},{"kind":"webfonts#webfont","family":"Kaushan Script","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kaushanscript\/v1\/qx1LSqts-NtiKcLw4N03IBnpV0hQCek3EmWnCPrvGRM.ttf"}},{"kind":"webfonts#webfont","family":"Metamorphous","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/metamorphous\/v3\/wGqUKXRinIYggz-BTRU9ei3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Sintony","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-02-27","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sintony\/v1\/IDhCijoIMev2L6Lg5QsduQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sintony\/v1\/zVXQB1wqJn6PE4dWXoYpvPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signikanegative\/v2\/q5TOjIw4CenPw6C-TW06FjYFXpUPtCmIEFDvjUnLLaI.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signikanegative\/v2\/Z-Q1hzbY8uAo3TpTyPFMXVM1lnCWMnren5_v6047e5A.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signikanegative\/v2\/q5TOjIw4CenPw6C-TW06FrKLaDJM01OezSVA2R_O3qI.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/signikanegative\/v2\/q5TOjIw4CenPw6C-TW06FpYzPxtVvobH1w3hEppR8WI.ttf"}},{"kind":"webfonts#webfont","family":"Jura","variants":["300","regular","500","600"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic","greek-ext"],"version":"v4","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jura\/v4\/Rqx_xy1UnN0C7wD3FUSyPQ.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jura\/v4\/YAWMwF3sN0KCbynMq-Yr_Q.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jura\/v4\/16xhfjHCiaLj3tsqqgmtGg.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jura\/v4\/iwseduOwJSdY8wQ1Y6CJdA.ttf"}},{"kind":"webfonts#webfont","family":"Bangers","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bangers\/v4\/WAffdge5w99Xif-DLeqmcA.ttf"}},{"kind":"webfonts#webfont","family":"Glegoo","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/glegoo\/v1\/2tf-h3n2A_SNYXEO0C8bKw.ttf"}},{"kind":"webfonts#webfont","family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rambla\/v1\/YaTmpvm5gFg_ShJKTQmdzg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rambla\/v1\/mhUgsKmp0qw3uATdDDAuwA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rambla\/v1\/C5VZH8BxQKmnBuoC00UPpw.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rambla\/v1\/ziMzUZya6QahrKONSI1TzqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic","greek-ext"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntumono\/v3\/EgeuS9OtEmA0y_JRo03MQaCWcynf_cDxXwCLxiixG1c.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntumono\/v3\/KAKuHXAHZOeECOWAHsRKA0eOrDcLawS7-ssYqLr2Xp4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntumono\/v3\/ceqTZGKHipo8pJj4molytne1Pd76Vl7zRpE7NLJQ7XU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ubuntumono\/v3\/n_d8tv_JOIiYyMXR4eaV9c_zJjSACmk0BRPxQqhnNLU.ttf"}},{"kind":"webfonts#webfont","family":"Neucha","variants":["regular"],"subsets":["latin","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/neucha\/v4\/bijdhB-TzQdtpl0ykhGh4Q.ttf"}},{"kind":"webfonts#webfont","family":"Allerta Stencil","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/allertastencil\/v4\/CdSZfRtHbQrBohqmzSdDYFf2eT4jUldwg_9fgfY_tHc.ttf"}},{"kind":"webfonts#webfont","family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sortsmillgoudy\/v3\/JzRrPKdwEnE8F1TDmDLMUlIL2Qjg-Xlsg_fhGbe2P5U.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sortsmillgoudy\/v3\/UUu1lKiy4hRmBWk599VL1TYNkCNSzLyoucKmbTguvr0.ttf"}},{"kind":"webfonts#webfont","family":"Hammersmith One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/hammersmithone\/v4\/FWNn6ITYqL6or7ZTmBxRhjjVlsJB_M_Q_LtZxsoxvlw.ttf"}},{"kind":"webfonts#webfont","family":"Six Caps","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sixcaps\/v4\/_XeDnO0HOV8Er9u97If1tQ.ttf"}},{"kind":"webfonts#webfont","family":"Sansita One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sansitaone\/v3\/xWqf68oB50JXqGIRR0h2hqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fontdinerswanky\/v3\/8_GxIO5ixMtn5P6COsF3TlBjMPLzPAFJwRBn-s1U7kA.ttf"}},{"kind":"webfonts#webfont","family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/scada\/v1\/iZNC3ZEYwe3je6H-28d5Ug.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/scada\/v1\/PCGyLT1qNawkOUQ3uHFhBw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/scada\/v1\/t6XNWdMdVWUz93EuRVmifQ.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/scada\/v1\/kLrBIf7V4mDMwcd_Yw7-D_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Rancho","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rancho\/v3\/ekp3-4QykC4--6KaslRgHA.ttf"}},{"kind":"webfonts#webfont","family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-07-25","files":{"200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/neuton\/v5\/DA3Mkew3XqSkPpi1f4tJow.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/neuton\/v5\/xrc_aZ2hx-gdeV0mlY8Vww.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/neuton\/v5\/9R-MGIOQUdjAVeB6nE6PcQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/neuton\/v5\/uVMT3JOB5BNFi3lgPp6kEg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/neuton\/v5\/gnWpkWY7DirkKiovncYrfg.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/neuton\/v5\/XPzBQV4lY6enLxQG9cF1jw.ttf"}},{"kind":"webfonts#webfont","family":"Metrophobic","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/metrophobic\/v3\/SaglWZWCrrv_D17u1i4v_aCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Sancreek","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sancreek\/v4\/8ZacBMraWMvHly4IJI3esw.ttf"}},{"kind":"webfonts#webfont","family":"Great Vibes","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/greatvibes\/v1\/4Mi5RG_9LjQYrTU55GN_L6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Cinzel","variants":["regular","700","900"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cinzel\/v1\/GF7dy_Nc-a6EaHYSyGd-EA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cinzel\/v1\/nYcFQ6_3pf_6YDrOFjBR8Q.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cinzel\/v1\/FTBj72ozM2cEOSxiVsRb3A.ttf"}},{"kind":"webfonts#webfont","family":"Limelight","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/limelight\/v4\/5dTfN6igsXjLjOy8QQShcg.ttf"}},{"kind":"webfonts#webfont","family":"Rosario","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v7","lastModified":"2013-05-22","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rosario\/v7\/bL-cEh8dXtDupB2WccA2LA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rosario\/v7\/pkflNy18HEuVVx4EOjeb_Q.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rosario\/v7\/nrS6PJvDWN42RP4TFWccd_esZW2xOQ-xsNqO47m55DA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rosario\/v7\/EOgFX2Va5VGrkhn_eDpIRS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/volkhov\/v5\/MDIZAofe1T_J3un5Kgo8zg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/volkhov\/v5\/1rTjmztKEpbkKH06JwF8Yw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/volkhov\/v5\/L8PbKS-kEoLHm7nP--NCzPesZW2xOQ-xsNqO47m55DA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/volkhov\/v5\/W6oG0QDDjCgj0gmsHE520C3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Racing Sans One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/racingsansone\/v1\/1r3DpWaCiT7y3PD4KgkNyDjVlsJB_M_Q_LtZxsoxvlw.ttf"}},{"kind":"webfonts#webfont","family":"Crushed","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/crushed\/v3\/aHwSejs3Kt0Lg95u7j32jA.ttf"}},{"kind":"webfonts#webfont","family":"Michroma","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/michroma\/v4\/0c2XrW81_QsiKV8T9thumA.ttf"}},{"kind":"webfonts#webfont","family":"Alfa Slab One","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alfaslabone\/v2\/Qx6FPcitRwTC_k88tLPc-Yjjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Pompiere","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pompiere\/v3\/o_va2p9CD5JfmFohAkGZIA.ttf"}},{"kind":"webfonts#webfont","family":"Inder","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/inder\/v2\/C38TwecLTfKxIHDc_Adcrw.ttf"}},{"kind":"webfonts#webfont","family":"Fredericka the Great","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/frederickathegreat\/v2\/7Es8Lxoku-e5eOZWpxw18nrnet6gXN1McwdQxS1dVrI.ttf"}},{"kind":"webfonts#webfont","family":"Lemon","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lemon\/v2\/wed1nNu4LNSu-3RoRVUhUw.ttf"}},{"kind":"webfonts#webfont","family":"Share Tech","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sharetech\/v1\/Dq3DuZ5_0SW3oEfAWFpen_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Domine","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-06","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/domine\/v1\/wfVIgamVFjMNQAEWurCiHA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/domine\/v1\/phBcG1ZbQFxUIt18hPVxnw.ttf"}},{"kind":"webfonts#webfont","family":"Shanti","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/shanti\/v4\/lc4nG_JG6Q-2FQSOMMhb_w.ttf"}},{"kind":"webfonts#webfont","family":"Bad Script","variants":["regular"],"subsets":["latin","cyrillic"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/badscript\/v2\/cRyUs0nJ2eMQFHwBsZNRXfesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/puritan\/v4\/wv_RtgVBSCn-or2MC0n4Kg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/puritan\/v4\/BqZX8Tp200LeMv1KlzXgLQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/puritan\/v4\/pJS2SdwI0SCiVnO0iQSFT_esZW2xOQ-xsNqO47m55DA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/puritan\/v4\/rFG3XkMJL75nUNZwCEIJqC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/abeezee\/v1\/mE5BOuZKGln_Ex0uYKpIaw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/abeezee\/v1\/kpplLynmYgP0YtlJA3atRw.ttf"}},{"kind":"webfonts#webfont","family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","cyrillic-ext","cyrillic","greek-ext"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anonymouspro\/v3\/Zhfjj_gat3waL4JSju74E-V_5zh5b-_HiooIRUBwn1A.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anonymouspro\/v3\/q0u6LFHwttnT_69euiDbWKwIsuKDCXG0NQm7BvAgx-c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anonymouspro\/v3\/WDf5lZYgdmmKhO8E1AQud--Cz_5MeePnXDAcLNWyBME.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anonymouspro\/v3\/_fVr_XGln-cetWSUc-JpfA1LL9bfs7wyIp6F8OC9RxA.ttf"}},{"kind":"webfonts#webfont","family":"Carrois Gothic","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/carroisgothic\/v1\/GCgb7bssGpwp7V5ynxmWy2x3d0cwUleGuRTmCYfCUaM.ttf"}},{"kind":"webfonts#webfont","family":"Judson","variants":["regular","italic","700"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/judson\/v4\/znM1AAs0eytUaJzf1CrYZQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/judson\/v4\/GVqQW9P52ygW-ySq-CLwAA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/judson\/v4\/he4a2LwiPJc7r8x0oKCKiA.ttf"}},{"kind":"webfonts#webfont","family":"Magra","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/magra\/v1\/hoZ13bwCXBxuGZqAudgc5A.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/magra\/v1\/6fOM5sq5cIn8D0RjX8Lztw.ttf"}},{"kind":"webfonts#webfont","family":"Sunshiney","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sunshiney\/v3\/kaWOb4pGbwNijM7CkxK1sQ.ttf"}},{"kind":"webfonts#webfont","family":"Vidaloka","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vidaloka\/v5\/C6Nul0ogKUWkx356rrt9RA.ttf"}},{"kind":"webfonts#webfont","family":"Slackey","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/slackey\/v3\/evRIMNhGVCRJvCPv4kteeA.ttf"}},{"kind":"webfonts#webfont","family":"Montserrat Alternates","variants":["regular","700"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montserratalternates\/v1\/z2n1Sjxk9souK3HCtdHuklPuEVRGaG9GCQnmM16YWq0.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montserratalternates\/v1\/YENqOGAVzwIHjYNjmKuAZpeqBKvsAhm-s2I4RVSXFfc.ttf"}},{"kind":"webfonts#webfont","family":"Tauri","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-02-27","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tauri\/v1\/XIWeYJDXNqiVNej0zEqtGg.ttf"}},{"kind":"webfonts#webfont","family":"Coustard","variants":["regular","900"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/coustard\/v3\/iO2Rs5PmqAEAXoU3SkMVBg.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/coustard\/v3\/W02OCWO6OfMUHz6aVyegQ6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Convergence","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/convergence\/v2\/eykrGz1NN_YpQmkAZjW-qKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Cookie","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cookie\/v4\/HxeUC62y_YdDbiFlze357A.ttf"}},{"kind":"webfonts#webfont","family":"Boogaloo","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/boogaloo\/v3\/4Wu1tvFMoB80fSu8qLgQfQ.ttf"}},{"kind":"webfonts#webfont","family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbasic\/v4\/KCktj43blvLkhOTolFn-MYtBLojGU5Qdl8-5NL4v70w.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbasic\/v4\/qoFz4NSMaYC2UmsMAG3lyTj3mvXnCeAk09uTtmkJGRc.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbasic\/v4\/2qL6yulgGf0wwgOp-UqGyLNuTeOOLg3nUymsEEGmdO0.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gentiumbasic\/v4\/8N9-c_aQDJ8LbI1NGVMrwtswO1vWwP9exiF8s0wqW10.ttf"}},{"kind":"webfonts#webfont","family":"Fugaz One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fugazone\/v3\/5tteVDCwxsr8-5RuSiRWOw.ttf"}},{"kind":"webfonts#webfont","family":"Merienda One","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/meriendaone\/v4\/bCA-uDdUx6nTO8SjzCLXvS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabinsketch\/v5\/d9fijO34zQajqQvl3YHRCS3USBnSvpkopQaUR-2r7iU.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cabinsketch\/v5\/ki3SSN5HMOO0-IOLOj069ED2ttfZwueP-QU272T9-k4.ttf"}},{"kind":"webfonts#webfont","family":"Contrail One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/contrailone\/v3\/b41KxjgiyqX-hkggANDU6C3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Gochi Hand","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gochihand\/v4\/KT1-WxgHsittJ34_20IfAPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Alike","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alike\/v4\/Ho8YpRKNk_202fwDiGNIyw.ttf"}},{"kind":"webfonts#webfont","family":"Courgette","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/courgette\/v1\/2YO0EYtyE9HUPLZprahpZA.ttf"}},{"kind":"webfonts#webfont","family":"Lekton","variants":["regular","italic","700"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lekton\/v4\/r483JYmxf5PjIm4jVAm8Yg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lekton\/v4\/_UbDIPBA1wDqSbhp-OED7A.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lekton\/v4\/WZw-uL8WTkx3SBVfTlevXQ.ttf"}},{"kind":"webfonts#webfont","family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","greek-ext"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/caudex\/v3\/PWEexiHLDmQbn2b1OPZWfg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/caudex\/v3\/XjMZF6XCisvV3qapD4oJdw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/caudex\/v3\/PetCI4GyQ5Q3LiOzUu_mMg.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/caudex\/v3\/yT8YeHLjaJvQXlUEYOA8gqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Give You Glory","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/giveyouglory\/v3\/DFEWZFgGmfseyIdGRJAxuBwwkpSPZdvjnMtysdqprfI.ttf"}},{"kind":"webfonts#webfont","family":"Parisienne","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/parisienne\/v1\/TW74B5QISJNx9moxGlmJfvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Petit Formal Script","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/petitformalscript\/v1\/OEZwr2-ovBsq2n3ACCKoEvVPl2Gjtxj0D6F7QLy1VQc.ttf"}},{"kind":"webfonts#webfont","family":"Mako","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mako\/v4\/z5zSLmfPlv1uTVAdmJBLXg.ttf"}},{"kind":"webfonts#webfont","family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"100":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adventpro\/v1\/87-JOpSUecTG50PBYK4ysi3USBnSvpkopQaUR-2r7iU.ttf","200":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adventpro\/v1\/URTSSjIp0Wr-GrjxFdFWnGeudeTO44zf-ht3k-KNzwg.ttf","300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adventpro\/v1\/sJaBfJYSFgoB80OL1_66m0eOrDcLawS7-ssYqLr2Xp4.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adventpro\/v1\/1NxMBeKVcNNH2H46AUR3wfesZW2xOQ-xsNqO47m55DA.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adventpro\/v1\/7kBth2-rT8tP40RmMMXMLJp-63r6doWhTEbsfBIRJ7A.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adventpro\/v1\/3Jo-2maCzv2QLzQBzaKHV_pTEJqju4Hz1txDWij77d4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adventpro\/v1\/M4I6QiICt-ey_wZTpR2gKwJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/loveyalikeasister\/v4\/LzkxWS-af0Br2Sk_YgSJY-ad1xEP8DQfgfY8MH9aBUg.ttf"}},{"kind":"webfonts#webfont","family":"Cutive","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cutive\/v4\/G2bW-ImyOCwKxBkLyz39YQ.ttf"}},{"kind":"webfonts#webfont","family":"Snippet","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-08-08","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/snippet\/v3\/eUcYMLq2GtHZovLlQH_9kA.ttf"}},{"kind":"webfonts#webfont","family":"Wendy One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/wendyone\/v1\/R8CJT2oDXdMk_ZtuHTxoxw.ttf"}},{"kind":"webfonts#webfont","family":"Loved by the King","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lovedbytheking\/v3\/wg03xD4cWigj4YDufLBSr8io2AFEwwMpu7y5KyiyAJc.ttf"}},{"kind":"webfonts#webfont","family":"Prata","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/prata\/v3\/3gmx8r842loRRm9iQkCDGg.ttf"}},{"kind":"webfonts#webfont","family":"Andika","variants":["regular"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/andika\/v3\/oe-ag1G0lcqZ3IXfeEgaGg.ttf"}},{"kind":"webfonts#webfont","family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/unifrakturmaguntia\/v4\/7KWy3ymCVR_xfAvvcIXm3-kdNg30GQauG_DE-tMYtWk.ttf"}},{"kind":"webfonts#webfont","family":"Arbutus Slab","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arbutusslab\/v1\/6k3Yp6iS9l4jRIpynA8qMy3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Gruppo","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gruppo\/v4\/pS_JM0cK_piBZve-lfUq9w.ttf"}},{"kind":"webfonts#webfont","family":"Kavoon","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-01-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kavoon\/v1\/382m-6baKXqJFQjEgobt6Q.ttf"}},{"kind":"webfonts#webfont","family":"Nixie One","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-08-01","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nixieone\/v4\/h6kQfmzm0Shdnp3eswRaqQ.ttf"}},{"kind":"webfonts#webfont","family":"Carter One","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/carterone\/v5\/5X_LFvdbcB7OBG7hBgZ7fPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Kranky","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kranky\/v3\/C8dxxTS99-fZ84vWk8SDrg.ttf"}},{"kind":"webfonts#webfont","family":"Kristi","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kristi\/v4\/aRsgBQrkQkMlu4UPSnJyOQ.ttf"}},{"kind":"webfonts#webfont","family":"Delius","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/delius\/v3\/TQA163qafki2-gV-B6F_ag.ttf"}},{"kind":"webfonts#webfont","family":"Berkshire Swash","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/berkshireswash\/v1\/4RZJjVRPjYnC2939hKCAimKfbtsIjCZP_edQljX9gR0.ttf"}},{"kind":"webfonts#webfont","family":"Merienda","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merienda\/v1\/MYY6Og1qZlOQtPW2G95Y3A.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/merienda\/v1\/GlwcvRLlgiVE2MBFQ4r0sKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Anaheim","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anaheim\/v1\/t-z8aXHMpgI2gjN_rIflKA.ttf"}},{"kind":"webfonts#webfont","family":"Homenaje","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/homenaje\/v2\/v0YBU0iBRrGdVjDNQILxtA.ttf"}},{"kind":"webfonts#webfont","family":"Alice","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alice\/v4\/wZTAfivekBqIg-rk63nFvQ.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellenglish\/v3\/xwIisCqGFi8pff-oa9uSVHGNmx1fDm-u2eBJHQkdrmk.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellenglish\/v3\/Z3cnIAI_L3XTRfz4JuZKbuewladMPCWTthtMv9cPS-c.ttf"}},{"kind":"webfonts#webfont","family":"Days One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/daysone\/v3\/kzwZjNhc1iabMsrc_hKBIA.ttf"}},{"kind":"webfonts#webfont","family":"Abril Fatface","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/abrilfatface\/v5\/X1g_KwGeBV3ajZIXQ9VnDojjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Salsa","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/salsa\/v3\/BnpUCBmYdvggScEPs5JbpA.ttf"}},{"kind":"webfonts#webfont","family":"Trocchi","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/trocchi\/v1\/uldNPaKrUGVeGCVsmacLwA.ttf"}},{"kind":"webfonts#webfont","family":"Bentham","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bentham\/v3\/5-Mo8Fe7yg5tzV0GlQIuzQ.ttf"}},{"kind":"webfonts#webfont","family":"Quando","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quando\/v1\/03nDiEZuO2-h3xvtG6UmHg.ttf"}},{"kind":"webfonts#webfont","family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quantico\/v2\/pwSnP8Xpaix2rIz99HrSlQ.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quantico\/v2\/KQhDd2OsZi6HiITUeFQ2U_esZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quantico\/v2\/OVZZzjcZ3Hkq2ojVcUtDjaCWcynf_cDxXwCLxiixG1c.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quantico\/v2\/HeCYRcZbdRso3ZUu01ELbQJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Ovo","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ovo\/v4\/mFg27dimu3s9t09qjCwB1g.ttf"}},{"kind":"webfonts#webfont","family":"Allan","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/allan\/v4\/T3lemhgZmLQkQI2Qc2bQHA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/allan\/v4\/zSxQiwo7wgnr7KkMXhSiag.ttf"}},{"kind":"webfonts#webfont","family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mountainsofchristmas\/v5\/dVGBFPwd6G44IWDbQtPew2Auds3jz1Fxb61CgfaGDr4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mountainsofchristmas\/v5\/PymufKtHszoLrY0uiAYKNM9cPTbSBTrQyTa5TWAe3vE.ttf"}},{"kind":"webfonts#webfont","family":"Orienta","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/orienta\/v1\/_NKSk93mMs0xsqtfjCsB3Q.ttf"}},{"kind":"webfonts#webfont","family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cedarvillecursive\/v3\/cuCe6HrkcqrWTWTUE7dw-41zwq9-z_Lf44CzRAA0d0Y.ttf"}},{"kind":"webfonts#webfont","family":"Englebert","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/englebert\/v1\/sll38iOvOuarDTYBchlP3Q.ttf"}},{"kind":"webfonts#webfont","family":"Alex Brush","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alexbrush\/v3\/ooh3KJFbKJSUoIRWfiu8o_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Tenor Sans","variants":["regular"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tenorsans\/v4\/dUBulmjNJJInvK5vL7O9yfesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["greek","latin-ext","latin","vietnamese","cyrillic-ext","cyrillic","greek-ext"],"version":"v6","lastModified":"2013-08-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cousine\/v6\/GYX4bPXObJNJo63QJEUnLg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cousine\/v6\/1WtIuajLoo8vjVwsrZ3eOg.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cousine\/v6\/FXEOnNUcCzhdtoBxiq-lovesZW2xOQ-xsNqO47m55DA.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cousine\/v6\/y_AZ5Sz-FwL1lux2xLSTZS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Short Stack","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/shortstack\/v3\/v4dXPI0Rm8XN9gk4SDdqlqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Skranji","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/skranji\/v1\/jnOLPS0iZmDL7dfWnW3nIw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/skranji\/v1\/Lcrhg-fviVkxiEgoadsI1vesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Ultra","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ultra\/v4\/OW8uXkOstRADuhEmGOFQLA.ttf"}},{"kind":"webfonts#webfont","family":"Brawler","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/brawler\/v3\/3gfSw6imxQnQxweVITqUrg.ttf"}},{"kind":"webfonts#webfont","family":"Yellowtail","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/yellowtail\/v3\/HLrU6lhCTjXfLZ7X60LcB_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Sofia","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sofia\/v2\/Imnvx0Ag9r6iDBFUY5_RaQ.ttf"}},{"kind":"webfonts#webfont","family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/portlligatslab\/v2\/CUEdhRk7oC7up0p6t0g4PxLSPACXvawUYCBEnHsOe30.ttf"}},{"kind":"webfonts#webfont","family":"Audiowide","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/audiowide\/v1\/yGcwRZB6VmoYhPUYT-mEow.ttf"}},{"kind":"webfonts#webfont","family":"Geo","variants":["regular","italic"],"subsets":["latin"],"version":"v5","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/geo\/v5\/mJuJYk5Pww84B4uHAQ1XaA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/geo\/v5\/8_r1wToF7nPdDuX1qxel6Q.ttf"}},{"kind":"webfonts#webfont","family":"Adamina","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/adamina\/v4\/RUQfOodOMiVVYqFZcSlT9w.ttf"}},{"kind":"webfonts#webfont","family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chauphilomeneone\/v1\/KKc5egCL-a2fFVoOA2x6tBFi5dxgSTdxqnMJgWkBJcg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chauphilomeneone\/v1\/eJj1PY_iN4KiIuyOvtMHJP6uyLkxyiC4WcYA74sfquE.ttf"}},{"kind":"webfonts#webfont","family":"Nova Square","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novasquare\/v5\/BcBzXoaDzYX78rquGXVuSqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Kelly Slab","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kellyslab\/v3\/F_2oS1e9XdYx1MAi8XEVefesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Poly","variants":["regular","italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/poly\/v4\/bcMAuiacS2qkd54BcwW6_Q.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/poly\/v4\/Zkx-eIlZSjKUrPGYhV5PeA.ttf"}},{"kind":"webfonts#webfont","family":"Wire One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/wireone\/v3\/sRLhaQOQpWnvXwIx0CycQw.ttf"}},{"kind":"webfonts#webfont","family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stardosstencil\/v3\/ygEOyTW9a6u4fi4OXEZeTFf2eT4jUldwg_9fgfY_tHc.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stardosstencil\/v3\/h4ExtgvoXhPtv9Ieqd-XC81wDCbBgmIo8UyjIhmkeSM.ttf"}},{"kind":"webfonts#webfont","family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sueellenfrancisco\/v4\/TwHX4vSxMUnJUdEz1JIgrhzazJzPVbGl8jnf1tisRz4.ttf"}},{"kind":"webfonts#webfont","family":"Norican","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/norican\/v1\/SHnSqhYAWG5sZTWcPzEHig.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfelldwpica\/v3\/W81bfaWiUicLSPbJhW-ATsA5qm663gJGVdtpamafG5A.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfelldwpica\/v3\/alQJ8SK5aSOZVaelYoyT4PL2asmh5DlYQYCosKo6yQs.ttf"}},{"kind":"webfonts#webfont","family":"Strait","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/strait\/v1\/m4W73ViNmProETY2ybc-Bg.ttf"}},{"kind":"webfonts#webfont","family":"Ruda","variants":["regular","700","900"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ruda\/v4\/jPEIPB7DM2DNK_uBGv2HGw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ruda\/v4\/JABOu1SYOHcGXVejUq4w6g.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ruda\/v4\/Uzusv-enCjoIrznlJJaBRw.ttf"}},{"kind":"webfonts#webfont","family":"Yesteryear","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/yesteryear\/v2\/dv09hP_ZrdjVOfZQXKXuZvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Coda Caption","variants":["800"],"subsets":["latin"],"version":"v5","lastModified":"2012-08-01","files":{"800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/codacaption\/v5\/YDl6urZh-DUFhiMBTgAnz_qsay_1ZmRGmC8pVRdIfAg.ttf"}},{"kind":"webfonts#webfont","family":"Tienne","variants":["regular","700","900"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tienne\/v5\/-IIfDl701C0z7-fy2kmGvA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tienne\/v5\/JvoCDOlyOSEyYGRwCyfs3g.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tienne\/v5\/FBano5T521OWexj2iRYLMw.ttf"}},{"kind":"webfonts#webfont","family":"Poller One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pollerone\/v3\/dkctmDlTPcZ6boC8662RA_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Tulpen One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tulpenone\/v3\/lwcTfVIEVxpZLZlWzR5baPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Fenix","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fenix\/v1\/Ak8wR3VSlAN7VN_eMeJj7Q.ttf"}},{"kind":"webfonts#webfont","family":"Spinnaker","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/spinnaker\/v5\/MQdIXivKITpjROUdiN6Jgg.ttf"}},{"kind":"webfonts#webfont","family":"Sacramento","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sacramento\/v1\/_kv-qycSHMNdhjiv0Kj7BvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Baumans","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/baumans\/v2\/o0bFdPW1H5kd5saqqOcoVg.ttf"}},{"kind":"webfonts#webfont","family":"Podkova","variants":["regular","700"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/podkova\/v5\/eylljyGVfB8ZUQjYY3WZRQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/podkova\/v5\/SqW4aa8m_KVrOgYSydQ33vesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Allura","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/allura\/v1\/4hcqgZanyuJ2gMYWffIR6A.ttf"}},{"kind":"webfonts#webfont","family":"Montez","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montez\/v3\/kx58rLOWQQLGFM4pDHv5Ng.ttf"}},{"kind":"webfonts#webfont","family":"Cantora One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cantoraone\/v2\/oI-DS62RbHI8ZREjp73ehqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cinzeldecorative\/v1\/fmgK7oaJJIXAkhd9798yQgT5USbJx2F82lQbogPy2bY.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cinzeldecorative\/v1\/pXhIVnhFtL_B9Vb1wq2F95-YYVDmZkJErg0zgx9XuZI.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cinzeldecorative\/v1\/pXhIVnhFtL_B9Vb1wq2F97Khqbv0zQZa0g-9HOXAalU.ttf"}},{"kind":"webfonts#webfont","family":"Prosto One","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/prostoone\/v1\/bsqnAElAqk9kX7eABTRFJPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Marcellus SC","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marcellussc\/v1\/_jugwxhkkynrvsfrxVx8gS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Quintessential","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/quintessential\/v1\/mmk6ioesnTrEky_Zb92E5s02lXbtMOtZWfuxKeMZO8Q.ttf"}},{"kind":"webfonts#webfont","family":"Aclonica","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/aclonica\/v3\/M6pHZMPwK3DiBSlo3jwAKQ.ttf"}},{"kind":"webfonts#webfont","family":"La Belle Aurore","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/labelleaurore\/v3\/Irdbc4ASuUoWDjd_Wc3md123K2iuuhwZgaKapkyRTY8.ttf"}},{"kind":"webfonts#webfont","family":"Average Sans","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averagesans\/v1\/dnU3R-5A_43y5bIyLztPsS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Acme","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/acme\/v2\/-J6XNtAHPZBEbsifCdBt-g.ttf"}},{"kind":"webfonts#webfont","family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplaysc\/v1\/G0-tvBxd4eQRdwFKB8dRkcpjYTDWIvcAwAccqeW9uNM.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplaysc\/v1\/myuYiFR-4NTrUT4w6TKls2klJsJYggW8rlNoTOTuau0.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplaysc\/v1\/5ggqGkvWJU_TtW2W8cEubA-Amcyomnuy4WsCiPxGHjw.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplaysc\/v1\/6X0OQrQhEEnPo56RalREX4krgPi80XvBcbTwmz-rgmU.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplaysc\/v1\/5ggqGkvWJU_TtW2W8cEubKXL3C32k275YmX_AcBPZ7w.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/playfairdisplaysc\/v1\/6X0OQrQhEEnPo56RalREX8Zag2q3ssKz8uH1RU4a9gs.ttf"}},{"kind":"webfonts#webfont","family":"Krona One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kronaone\/v1\/zcQj4ljqTo166AdourlF9w.ttf"}},{"kind":"webfonts#webfont","family":"Graduate","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/graduate\/v1\/JpAmYLHqcIh9_Ff35HHwiA.ttf"}},{"kind":"webfonts#webfont","family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"],"version":"v6","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/deliusunicase\/v6\/b2sKujV3Q48RV2PQ0k1vqu6rPKfVZo7L2bERcf0BDns.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/deliusunicase\/v6\/7FTMTITcb4dxUp99FAdTqNy5weKXdcrx-wE0cgECMq8.ttf"}},{"kind":"webfonts#webfont","family":"Forum","variants":["regular"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/forum\/v4\/MZUpsq1VfLrqv8eSDcbrrQ.ttf"}},{"kind":"webfonts#webfont","family":"Nova Round","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novaround\/v5\/7-cK3Ari_8XYYFgVMxVhDvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Maiden Orange","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/maidenorange\/v3\/ZhKIA2SPisEwdhW7g0RUWojjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Hanuman","variants":["regular","700"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/hanuman\/v5\/hRhwOGGmElJSl6KSPvEnOQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/hanuman\/v5\/lzzXZ2l84x88giDrbfq76vesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Bowlby One SC","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bowlbyonesc\/v5\/8ZkeXftTuzKBtmxOYXoRedDkZCMxWJecxjvKm2f8MJw.ttf"}},{"kind":"webfonts#webfont","family":"Alegreya SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreyasc\/v3\/3ozeFnTbygMK6PfHh8B-iqCWcynf_cDxXwCLxiixG1c.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreyasc\/v3\/GOqmv3FLsJ2r6ZALMZVBmkeOrDcLawS7-ssYqLr2Xp4.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreyasc\/v3\/M9OIREoxDkvynwTpBAYUq3e1Pd76Vl7zRpE7NLJQ7XU.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreyasc\/v3\/5PCoU7IUfCicpKBJtBmP6c_zJjSACmk0BRPxQqhnNLU.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreyasc\/v3\/M9OIREoxDkvynwTpBAYUqyenaqEuufTBk9XMKnKmgDA.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alegreyasc\/v3\/5PCoU7IUfCicpKBJtBmP6U_yTOUGsoC54csJe1b-IRw.ttf"}},{"kind":"webfonts#webfont","family":"Antic","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/antic\/v4\/hEa8XCNM7tXGzD0Uk0AipA.ttf"}},{"kind":"webfonts#webfont","family":"Megrim","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/megrim\/v4\/e-9jVUC9lv1zxaFQARuftw.ttf"}},{"kind":"webfonts#webfont","family":"Numans","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/numans\/v3\/g5snI2p6OEjjTNmTHyBdiQ.ttf"}},{"kind":"webfonts#webfont","family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/annieuseyourtelescope\/v3\/2cuiO5VmaR09C8SLGEQjGqbp7mtG8sPlcZvOaO8HBak.ttf"}},{"kind":"webfonts#webfont","family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dawningofanewday\/v4\/JiDsRhiKZt8uz3NJ5xA06gXLnohmOYWQZqo_sW8GLTk.ttf"}},{"kind":"webfonts#webfont","family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/deliusswashcaps\/v5\/uXyrEUnoWApxIOICunRq7yIrxb5zDVgU2N3VzXm7zq4.ttf"}},{"kind":"webfonts#webfont","family":"Unica One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/unicaone\/v1\/KbYKlhWMDpatWViqDkNQgA.ttf"}},{"kind":"webfonts#webfont","family":"Fauna One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-06-12","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/faunaone\/v1\/8kL-wpAPofcAMELI_5NRnQ.ttf"}},{"kind":"webfonts#webfont","family":"Dorsa","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dorsa\/v4\/wCc3cUe6XrmG2LQE6GlIrw.ttf"}},{"kind":"webfonts#webfont","family":"Cherry Swash","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cherryswash\/v1\/HqOk7C7J1TZ5i3L-ejF0vi3USBnSvpkopQaUR-2r7iU.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cherryswash\/v1\/-CfyMyQqfucZPQNB0nvYyED2ttfZwueP-QU272T9-k4.ttf"}},{"kind":"webfonts#webfont","family":"Federo","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/federo\/v5\/JPhe1S2tujeyaR79gXBLeQ.ttf"}},{"kind":"webfonts#webfont","family":"Sonsie One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sonsieone\/v2\/KSP7xT1OSy0q2ob6RQOTWPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Grand Hotel","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-06","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/grandhotel\/v1\/C_A8HiFZjXPpnMt38XnK7qCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Corben","variants":["regular","700"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/corben\/v5\/tTysMZkt-j8Y5yhkgsoajQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/corben\/v5\/lirJaFSQWdGQuV--fksg5g.ttf"}},{"kind":"webfonts#webfont","family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/gegTSDBDs5le3g6uxU1ZsX8f0n03UdmQgF_CLvNR2vg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/Y-erXmY0b6DU_i2Qu0hTJj4G9C9ttb0Oz5Cvf0qOitE.ttf","500":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/cl6rhMY77Ilk8lB_uYRRwAqQmZ7VjhwksfpNVG0pqGc.ttf","500italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/sRBNtc46w65uJE451UYmW87DCVO6wo6i5LKIyZDzK40.ttf","600":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/cl6rhMY77Ilk8lB_uYRRwCvj1tU7IJMS3CS9kCx2B3U.ttf","600italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/sRBNtc46w65uJE451UYmW8yKH23ZS6zCKOFHG0e_4JE.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/cl6rhMY77Ilk8lB_uYRRwFCbmAUID8LN-q3pJpOk3Ys.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/expletussans\/v4\/sRBNtc46w65uJE451UYmW5F66r9C4AnxxlBlGd7xY4g.ttf"}},{"kind":"webfonts#webfont","family":"Knewave","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/knewave\/v2\/KGHM4XWr4iKnBMqzZLkPBg.ttf"}},{"kind":"webfonts#webfont","family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/swankyandmoomoo\/v3\/orVNZ9kDeE3lWp3U3YELu9DVLKqNC3_XMNHhr8S94FU.ttf"}},{"kind":"webfonts#webfont","family":"Over the Rainbow","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overtherainbow\/v4\/6gp-gkpI2kie2dHQQLM2jQBdxkZd83xOSx-PAQ2QmiI.ttf"}},{"kind":"webfonts#webfont","family":"Clicker Script","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/clickerscript\/v1\/Zupmk8XwADjufGxWB9KThBnpV0hQCek3EmWnCPrvGRM.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell English SC","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellenglishsc\/v3\/h3Tn6yWfw4b5qaLD1RWvz5ATixNthKRRR1XVH3rJNiw.ttf"}},{"kind":"webfonts#webfont","family":"Redressed","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/redressed\/v3\/3aZ5sTBppH3oSm5SabegtA.ttf"}},{"kind":"webfonts#webfont","family":"Niconne","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/niconne\/v3\/ZA-mFw2QNXodx5y7kfELBg.ttf"}},{"kind":"webfonts#webfont","family":"Patrick Hand SC","variants":["regular"],"subsets":["latin-ext","latin","vietnamese"],"version":"v1","lastModified":"2013-02-27","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/patrickhandsc\/v1\/OYFWCgfCR-7uHIovjUZXsbAgSRh1LpJXlLfl8IbsmHg.ttf"}},{"kind":"webfonts#webfont","family":"Lustria","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lustria\/v1\/gXAk0s4ai0X-TAOhYzZd1w.ttf"}},{"kind":"webfonts#webfont","family":"Headland One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/headlandone\/v1\/iGmBeOvQGfq9DSbjJ8jDVy3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Sigmar One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-08-08","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sigmarone\/v3\/oh_5NxD5JBZksdo2EntKefesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Galdeano","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/galdeano\/v3\/ZKFMQI6HxEG1jOT0UGSZUg.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfelldwpicasc\/v3\/xBKKJV4z2KsrtQnmjGO17JZ9RBdEL0H9o5qzT1Rtof4.ttf"}},{"kind":"webfonts#webfont","family":"Lilita One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lilitaone\/v1\/vTxJQjbNV6BCBHx8sGDCVvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Basic","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/basic\/v2\/hNII2mS5Dxw5C0u_m3mXgA.ttf"}},{"kind":"webfonts#webfont","family":"Rye","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rye\/v1\/VUrJlpPpSZxspl3w_yNOrQ.ttf"}},{"kind":"webfonts#webfont","family":"Press Start 2P","variants":["regular"],"subsets":["greek","latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pressstart2p\/v1\/8Lg6LX8-ntOHUQnvQ0E7o1jfl3W46Sz5gOkEVhcFWF4.ttf"}},{"kind":"webfonts#webfont","family":"Creepster","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/creepster\/v2\/0vdr5kWJ6aJlOg5JvxnXzQ.ttf"}},{"kind":"webfonts#webfont","family":"Capriola","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/capriola\/v1\/JxXPlkdzWwF9Cwelbvi9jA.ttf"}},{"kind":"webfonts#webfont","family":"MedievalSharp","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/medievalsharp\/v5\/85X_PjV6tftJ0-rX7KYQkOe45sJkivqprK7VkUlzfg0.ttf"}},{"kind":"webfonts#webfont","family":"Mr Dafoe","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mrdafoe\/v2\/s32Q1S6ZkT7EaX53mUirvQ.ttf"}},{"kind":"webfonts#webfont","family":"Londrina Solid","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/londrinasolid\/v1\/yysorIEiYSBb0ylZjg791MR125CwGqh8XBqkBzea0LA.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellfrenchcanon\/v3\/iKB0WL1BagSpNPz3NLMdsJ3V2FNpBrlLSvqUnERhBP8.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellfrenchcanon\/v3\/owCuNQkLLFW7TBBPJbMnhRa-QL94KdW80H29tcyld2A.ttf"}},{"kind":"webfonts#webfont","family":"Codystar","variants":["300","regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/codystar\/v1\/EVaUzfJkcb8Zqx9kzQLXqqCWcynf_cDxXwCLxiixG1c.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/codystar\/v1\/EN-CPFKYowSI7SuR7-0cZA.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfelldoublepica\/v3\/yN1wY_01BkQnO0LYAhXdUol14jEdVOhEmvtCMCVwYak.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfelldoublepica\/v3\/64odUh2hAw8D9dkFKTlWYq0AWwkgdQfsRHec8TYi4mI.ttf"}},{"kind":"webfonts#webfont","family":"Meddon","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/meddon\/v4\/f8zJO98uu2EtSj9p7ci9RA.ttf"}},{"kind":"webfonts#webfont","family":"VT323","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vt323\/v4\/ITU2YQfM073o1iYK3nSOmQ.ttf"}},{"kind":"webfonts#webfont","family":"Holtwood One SC","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/holtwoodonesc\/v4\/sToOq3cIxbfnhbEkgYNuBbAgSRh1LpJXlLfl8IbsmHg.ttf"}},{"kind":"webfonts#webfont","family":"Chelsea Market","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chelseamarket\/v1\/qSdzwh2A4BbNemy78sJLfAAI1i8fIftCBXsBF2v9UMI.ttf"}},{"kind":"webfonts#webfont","family":"Imprima","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imprima\/v1\/eRjquWLjwLGnTEhLH7u3kA.ttf"}},{"kind":"webfonts#webfont","family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novamono\/v4\/6-SChr5ZIaaasJFBkgrLNw.ttf"}},{"kind":"webfonts#webfont","family":"GFS Didot","variants":["regular"],"subsets":["greek"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gfsdidot\/v3\/jQKxZy2RU-h9tkPZcRVluA.ttf"}},{"kind":"webfonts#webfont","family":"Andada","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/andada\/v4\/rSFaDqNNQBRw3y19MB5Y4w.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellgreatprimersc\/v3\/A313vRj97hMMGFjt6rgSJtRg-ciw1Y27JeXb2Zv4lZQ.ttf"}},{"kind":"webfonts#webfont","family":"Italianno","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/italianno\/v3\/HsyHnLpKf8uP7aMpDQHZmg.ttf"}},{"kind":"webfonts#webfont","family":"Junge","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/junge\/v1\/j4IXCXtxrw9qIBheercp3A.ttf"}},{"kind":"webfonts#webfont","family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"],"version":"v6","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/miltoniantattoo\/v6\/1oU_8OGYwW46eh02YHydn2uk0YtI6thZkz1Hmh-odwg.ttf"}},{"kind":"webfonts#webfont","family":"Voces","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/voces\/v1\/QoBH6g6yKgNIgvL8A2aE2Q.ttf"}},{"kind":"webfonts#webfont","family":"Unna","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/unna\/v5\/UAS0AM7AmbdCNY_80xyAZQ.ttf"}},{"kind":"webfonts#webfont","family":"Finger Paint","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fingerpaint\/v1\/m_ZRbiY-aPb13R3DWPBGXy3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Mate SC","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/matesc\/v2\/-YkIT2TZoPZF6pawKzDpWw.ttf"}},{"kind":"webfonts#webfont","family":"Amethysta","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amethysta\/v1\/1jEo9tOFIJDolAUpBnWbnA.ttf"}},{"kind":"webfonts#webfont","family":"Smokum","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/smokum\/v3\/8YP4BuAcy97X8WfdKfxVRw.ttf"}},{"kind":"webfonts#webfont","family":"Iceland","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/iceland\/v2\/kq3uTMGgvzWGNi39B_WxGA.ttf"}},{"kind":"webfonts#webfont","family":"Belleza","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/belleza\/v1\/wchA3BWJlVqvIcSeNZyXew.ttf"}},{"kind":"webfonts#webfont","family":"Bowlby One","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bowlbyone\/v4\/eKpHjHfjoxM2bX36YNucefesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Oxygen Mono","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oxygenmono\/v1\/DigTu7k4b7OmM8ubt1Qza6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oleoscriptswashcaps\/v1\/vdWhGqsBUAP-FF3NOYTe4iMF4kXAPemmyaDpMXQ31P0.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oleoscriptswashcaps\/v1\/HMO3ftxA9AU5floml9c755reFYaXZ4zuJXJ8fr8OO1g.ttf"}},{"kind":"webfonts#webfont","family":"Euphoria Script","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/euphoriascript\/v1\/c4XB4Iijj_NvSsCF4I0O2MxLhO8OSNnfAp53LK1_iRs.ttf"}},{"kind":"webfonts#webfont","family":"Geostar Fill","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/geostarfill\/v3\/Y5ovXPPOHYTfQzK2aM-hui3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Average","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/average\/v1\/aHUibBqdDbVYl5FM48pxyQ.ttf"}},{"kind":"webfonts#webfont","family":"Rammetto One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rammettoone\/v2\/mh0uQ1tV8QgSx9v_KyEYPC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Candal","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/candal\/v3\/x44dDW28zK7GR1gGDBmj9g.ttf"}},{"kind":"webfonts#webfont","family":"PT Mono","variants":["regular"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v1","lastModified":"2013-04-10","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ptmono\/v1\/QUbM8H9yJK5NhpQ0REO6Wg.ttf"}},{"kind":"webfonts#webfont","family":"Vast Shadow","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vastshadow\/v3\/io4hqKX3ibiqQQjYfW0-h6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/simonetta\/v2\/fN8puNuahBo4EYMQgp12Yg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/simonetta\/v2\/ynxQ3FqfF_Nziwy3T9ZwL6CWcynf_cDxXwCLxiixG1c.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/simonetta\/v2\/22EwvvJ2r1VwVCxit5LcVi3USBnSvpkopQaUR-2r7iU.ttf","900italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/simonetta\/v2\/WUXOpCgBZaRPrWtMCpeKoienaqEuufTBk9XMKnKmgDA.ttf"}},{"kind":"webfonts#webfont","family":"Wellfleet","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/wellfleet\/v1\/J5tOx72iFRPgHYpbK9J4XQ.ttf"}},{"kind":"webfonts#webfont","family":"Wallpoet","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/wallpoet\/v4\/hmum4WuBN4A0Z_7367NDIg.ttf"}},{"kind":"webfonts#webfont","family":"Buda","variants":["300"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/buda\/v3\/hLtAmNUmEMJH2yx7NGUjnA.ttf"}},{"kind":"webfonts#webfont","family":"Ruslan Display","variants":["regular"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ruslandisplay\/v4\/SREdhlyLNUfU1VssRBfs3rgH88D3l9N4auRNHrNS708.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellfrenchcanonsc\/v3\/kA3bS19-tQbeT_iG32EZmaiyyzHwYrAbmNulTz423iM.ttf"}},{"kind":"webfonts#webfont","family":"Monoton","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/monoton\/v3\/aCz8ja_bE4dg-7agSvExdw.ttf"}},{"kind":"webfonts#webfont","family":"Zeyada","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/zeyada\/v3\/hmonmGYYFwqTZQfG2nRswQ.ttf"}},{"kind":"webfonts#webfont","family":"Oranienbaum","variants":["regular"],"subsets":["latin-ext","latin","cyrillic-ext","cyrillic"],"version":"v1","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oranienbaum\/v1\/M98jYwCSn0PaFhXXgviCoaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Qwigley","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/qwigley\/v3\/aDqxws-KubFID85TZHFouw.ttf"}},{"kind":"webfonts#webfont","family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/trochut\/v1\/6Y65B0x-2JsnYt16OH5omw.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/trochut\/v1\/pczUwr4ZFvC79TgNO5cZng.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/trochut\/v1\/lWqNOv6ISR8ehNzGLFLnJ_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fanwoodtext\/v3\/hDNDHUlsSb8bgnEmDp4T_i3USBnSvpkopQaUR-2r7iU.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fanwoodtext\/v3\/0J3SBbkMZqBV-3iGxs5E9_MZXuCXbOrAvx5R0IT5Oyo.ttf"}},{"kind":"webfonts#webfont","family":"Medula One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/medulaone\/v3\/AasPgDQak81dsTGQHc5zUPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Mouse Memoirs","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mousememoirs\/v1\/NBFaaJFux_j0AQbAsW3QeH8f0n03UdmQgF_CLvNR2vg.ttf"}},{"kind":"webfonts#webfont","family":"Pirata One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/pirataone\/v1\/WnbD86B4vB2ckYcL7oxuhvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Nosifer","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nosifer\/v2\/7eJGoIuHRrtcG00j6CptSA.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellgreatprimer\/v3\/AL8ALGNthei20f9Cu3e93rgeX3ROgtTz44CitKAxzKI.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfellgreatprimer\/v3\/1a-artkXMVg682r7TTxVY1_YG2SFv8Ma7CxRl1S3o7g.ttf"}},{"kind":"webfonts#webfont","family":"Overlock SC","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/overlocksc\/v2\/8D7HYDsvS_g1GhBnlHzgzaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Marcellus","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/marcellus\/v1\/UjiLZzumxWC9whJ86UtaYw.ttf"}},{"kind":"webfonts#webfont","family":"Vibur","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vibur\/v4\/xB9aKsUbJo68XP0bAg2iLw.ttf"}},{"kind":"webfonts#webfont","family":"UnifrakturCook","variants":["700"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/unifrakturcook\/v5\/ASwh69ykD8iaoYijVEU6RrWZkcsCTHKV51zmcUsafQ0.ttf"}},{"kind":"webfonts#webfont","family":"Denk One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/denkone\/v1\/TdXOeA4eA_hEx4W8Sh9wPw.ttf"}},{"kind":"webfonts#webfont","family":"Julee","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/julee\/v3\/CAib-jsUsSO8SvVRnE9fHA.ttf"}},{"kind":"webfonts#webfont","family":"Sniglet","variants":["regular","800"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2013-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sniglet\/v4\/XWhyQLHH4SpCVsHRPRgu9w.ttf","800":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sniglet\/v4\/NLF91nBmcEfkBgcEWbHFa_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Dynalight","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dynalight\/v2\/-CWsIe8OUDWTIHjSAh41kA.ttf"}},{"kind":"webfonts#webfont","family":"Fjord One","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fjordone\/v2\/R_YHK8au2uFPw5tNu5N7zw.ttf"}},{"kind":"webfonts#webfont","family":"Artifika","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/artifika\/v3\/Ekfp4H4QG7D-WsABDOyj8g.ttf"}},{"kind":"webfonts#webfont","family":"Oldenburg","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oldenburg\/v1\/dqA_M_uoCVXZbCO-oKBTnQ.ttf"}},{"kind":"webfonts#webfont","family":"Petrona","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/petrona\/v2\/nnQwxlP6dhrGovYEFtemTg.ttf"}},{"kind":"webfonts#webfont","family":"Donegal One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/donegalone\/v1\/6kN4-fDxz7T9s5U61HwfF6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Irish Grover","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/irishgrover\/v3\/kUp7uUPooL-KsLGzeVJbBC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"League Script","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/leaguescript\/v4\/wnRFLvfabWK_DauqppD6vSeUSrabuTpOsMEiRLtKwk0.ttf"}},{"kind":"webfonts#webfont","family":"Goblin One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/goblinone\/v3\/331XtzoXgpVEvNTVcBJ_C_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Buenard","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/buenard\/v3\/NSpMPGKAUgrLrlstYVvIXQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/buenard\/v3\/yUlGE115dGr7O9w9FlP3UvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/imfelldoublepicasc\/v3\/jkrUtrLFpMw4ZazhfkKsGwc4LoC4OJUqLw9omnT3VOU.ttf"}},{"kind":"webfonts#webfont","family":"Bubblegum Sans","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bubblegumsans\/v2\/Y9iTUUNz6lbl6TrvV4iwsytnKWgpfO2iSkLzTz-AABg.ttf"}},{"kind":"webfonts#webfont","family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lindenhill\/v3\/UgsC0txqd-E1yjvjutwm_KCWcynf_cDxXwCLxiixG1c.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lindenhill\/v3\/OcS3bZcu8vJvIDH8Zic83keOrDcLawS7-ssYqLr2Xp4.ttf"}},{"kind":"webfonts#webfont","family":"Belgrano","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/belgrano\/v3\/iq8DUa2s7g6WRCeMiFrmtQ.ttf"}},{"kind":"webfonts#webfont","family":"Mate","variants":["regular","italic"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mate\/v2\/ooFviPcJ6hZP5bAE71Cawg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mate\/v2\/5XwW6_cbisGvCX5qmNiqfA.ttf"}},{"kind":"webfonts#webfont","family":"Della Respira","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dellarespira\/v1\/F4E6Lo_IZ6L9AJCcbqtDVeDcg5akpSnIcsPhLOFv7l8.ttf"}},{"kind":"webfonts#webfont","family":"Astloch","variants":["regular","700"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/astloch\/v3\/fmbitVmHYLQP7MGPuFgpag.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/astloch\/v3\/aPkhM2tL-tz1jX6aX2rvo_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Shojumaru","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/shojumaru\/v1\/WP8cxonzQQVAoI3RJQ2wug.ttf"}},{"kind":"webfonts#webfont","family":"Yeseva One","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v6","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/yesevaone\/v6\/eenQQxvpzSA80JmisGcgX_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Lovers Quarrel","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/loversquarrel\/v1\/gipdZ8b7pKb89MzQLAtJHLHLxci2ElvNEmOB303HLk0.ttf"}},{"kind":"webfonts#webfont","family":"Kenia","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-08-01","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kenia\/v5\/OLM9-XfITK9PsTLKbGBrwg.ttf"}},{"kind":"webfonts#webfont","family":"Alef","variants":["regular","700"],"subsets":["latin"],"version":"v1","lastModified":"2013-05-22","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alef\/v1\/ENvZ_P0HBDQxNZYCQO0lUA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alef\/v1\/VDgZJhEwudtOzOFQpZ8MEA.ttf"}},{"kind":"webfonts#webfont","family":"Ranchers","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ranchers\/v1\/9ya8CZYhqT66VERfjQ7eLA.ttf"}},{"kind":"webfonts#webfont","family":"Henny Penny","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/hennypenny\/v1\/XRgo3ogXyi3tpsFfjImRF6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Mr De Haviland","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mrdehaviland\/v2\/fD8y4L6PJ4vqDk7z8Y8e27v4lrhng1lzu7-weKO6cw8.ttf"}},{"kind":"webfonts#webfont","family":"Sail","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sail\/v3\/iuEoG6kt-bePGvtdpL0GUQ.ttf"}},{"kind":"webfonts#webfont","family":"Nova Flat","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novaflat\/v5\/pK7a0CoGzI684qe_XSHBqQ.ttf"}},{"kind":"webfonts#webfont","family":"Esteban","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/esteban\/v1\/ESyhLgqDDyK5JcFPp2svDw.ttf"}},{"kind":"webfonts#webfont","family":"Amarante","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/amarante\/v1\/2dQHjIBWSpydit5zkJZnOw.ttf"}},{"kind":"webfonts#webfont","family":"Molle","variants":["italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-26","files":{"italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/molle\/v1\/9XTdCsjPXifLqo5et-YoGA.ttf"}},{"kind":"webfonts#webfont","family":"Nova Script","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novascript\/v5\/dEvxQDLgx1M1TKY-NmBWYaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Prociono","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/prociono\/v3\/43ZYDHWogdFeNBWTl6ksmw.ttf"}},{"kind":"webfonts#webfont","family":"Milonga","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-06","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/milonga\/v1\/dzNdIUSTGFmy2ahovDRcWg.ttf"}},{"kind":"webfonts#webfont","family":"Monofett","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/monofett\/v3\/C6K5L799Rgxzg2brgOaqAw.ttf"}},{"kind":"webfonts#webfont","family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gfsneohellenic\/v4\/B4xRqbn-tANVqVgamMsSDiayCZa0z7CpFzlkqoCHztc.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gfsneohellenic\/v4\/KnaWrO4awITAqigQIIYXKkCTdomiyJpIzPbEbIES3rU.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gfsneohellenic\/v4\/7HwjPQa7qNiOsnUce2h4448_BwCLZY3eDSV6kppAwI8.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gfsneohellenic\/v4\/FwWjoX6XqT-szJFyqsu_GYFF0fM4h-krcpQk7emtCpE.ttf"}},{"kind":"webfonts#webfont","family":"Asset","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/asset\/v3\/hfPmqY-JzuR1lULlQf9iTg.ttf"}},{"kind":"webfonts#webfont","family":"Rufina","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rufina\/v1\/s9IFr_fIemiohfZS-ZRDbQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rufina\/v1\/D0RUjXFr55y4MVZY2Ww_RA.ttf"}},{"kind":"webfonts#webfont","family":"Nova Slim","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novaslim\/v5\/rPYXC81_VL2EW-4CzBX65g.ttf"}},{"kind":"webfonts#webfont","family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/portlligatsans\/v2\/CUEdhRk7oC7up0p6t0g4P6mASEpx5X0ZpsuJOuvfOGA.ttf"}},{"kind":"webfonts#webfont","family":"Cutive Mono","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cutivemono\/v1\/ncWQtFVKcSs8OW798v30k6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Bigshot One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bigshotone\/v3\/wSyZjBNTWDQHnvWE2jt6j6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Snowburst One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-17","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/snowburstone\/v1\/zSQzKOPukXRux2oTqfYJjIjjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Smythe","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/smythe\/v4\/yACD1gy_MpbB9Ft42fUvYw.ttf"}},{"kind":"webfonts#webfont","family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stintultracondensed\/v2\/8DqLK6-YSClFZt3u3EgOUYelbRYnLTTQA1Z5cVLnsI4.ttf"}},{"kind":"webfonts#webfont","family":"Gravitas One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gravitasone\/v3\/nBHdBv6zVNU8MtP6w9FwTS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Flamenco","variants":["300","regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/flamenco\/v3\/x9iI5CogvuZVCGoRHwXuo6CWcynf_cDxXwCLxiixG1c.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/flamenco\/v3\/HC0ugfLLgt26I5_BWD1PZA.ttf"}},{"kind":"webfonts#webfont","family":"Gorditas","variants":["regular","700"],"subsets":["latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gorditas\/v1\/uMgZhXUyH6qNGF3QsjQT5Q.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gorditas\/v1\/6-XCeknmxaon8AUqVkMnHaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Raleway Dots","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ralewaydots\/v1\/lhLgmWCRcyz-QXo8LCzTfC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Rouge Script","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rougescript\/v2\/AgXDSqZJmy12qS0ixjs6Vy3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Alike Angular","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/alikeangular\/v3\/OpeCu4xxI3qO1C7CZcJtPT3XH2uEnVI__ynTBvNyki8.ttf"}},{"kind":"webfonts#webfont","family":"Life Savers","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-12-17","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lifesavers\/v3\/g49cUDk4Y1P0G5NMkMAm7qCWcynf_cDxXwCLxiixG1c.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lifesavers\/v3\/THQKqChyYUm97rNPVFdGGXe1Pd76Vl7zRpE7NLJQ7XU.ttf"}},{"kind":"webfonts#webfont","family":"Montaga","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montaga\/v1\/PwTwUboiD-M4-mFjZfJs2A.ttf"}},{"kind":"webfonts#webfont","family":"Ruthie","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ruthie\/v3\/vJ2LorukHSbWYoEs5juivg.ttf"}},{"kind":"webfonts#webfont","family":"Aladin","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/aladin\/v2\/PyuJ5cVHkduO0j5fAMKvAA.ttf"}},{"kind":"webfonts#webfont","family":"Bilbo","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bilbo\/v3\/-ty-lPs5H7OIucWbnpFrkA.ttf"}},{"kind":"webfonts#webfont","family":"Duru Sans","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/durusans\/v3\/R1xHvAOARPh8_so9_UKw1w.ttf"}},{"kind":"webfonts#webfont","family":"Londrina Shadow","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/londrinashadow\/v1\/dNYuzPS_7eYgXFJBzMoKdbw6Z3rVA5KDSi7aQxS92Nk.ttf"}},{"kind":"webfonts#webfont","family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jacquesfrancoisshadow\/v1\/V14y0H3vq56fY9SV4OL_FASt0D_oLVawA8L8b9iKjbs.ttf"}},{"kind":"webfonts#webfont","family":"Arizonia","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arizonia\/v3\/yzJqkHZqryZBTM7RKYV9Wg.ttf"}},{"kind":"webfonts#webfont","family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/elsieswashcaps\/v1\/9L3hIJMPCf6sxCltnxd6X2YeFSdnSpRYv5h9gpdlD1g.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/elsieswashcaps\/v1\/iZnus9qif0tR5pGaDv5zdKoKBWBozTtxi30NfZDOXXU.ttf"}},{"kind":"webfonts#webfont","family":"Modern Antiqua","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/modernantiqua\/v3\/8qX_tr6Xzy4t9fvZDXPkh6rFJ4O13IHVxZbM6yoslpo.ttf"}},{"kind":"webfonts#webfont","family":"Nova Oval","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novaoval\/v5\/VuukVpKP8BwUf8o9W5LYQQ.ttf"}},{"kind":"webfonts#webfont","family":"Iceberg","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/iceberg\/v1\/p2XVm4M-N0AOEEOymFKC5w.ttf"}},{"kind":"webfonts#webfont","family":"Cambo","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cambo\/v2\/PnwpRuTdkYCf8qk4ajmNRA.ttf"}},{"kind":"webfonts#webfont","family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/carroisgothicsc\/v1\/bVp4nhwFIXU-r3LqUR8DSJTdPW1ioadGi2uRiKgJVCY.ttf"}},{"kind":"webfonts#webfont","family":"Miniver","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/miniver\/v2\/4yTQohOH_cWKRS5laRFhYg.ttf"}},{"kind":"webfonts#webfont","family":"Lancelot","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lancelot\/v2\/XMT7T_oo_MQUGAnU2v-sdA.ttf"}},{"kind":"webfonts#webfont","family":"Concert One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/concertone\/v4\/N5IWCIGhUNdPZn_efTxKN6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Seaweed Script","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/seaweedscript\/v1\/eorWAPpOvvWrPw5IHwE60BnpV0hQCek3EmWnCPrvGRM.ttf"}},{"kind":"webfonts#webfont","family":"Kite One","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/kiteone\/v1\/8ojWmgUc97m0f_i6sTqLoQ.ttf"}},{"kind":"webfonts#webfont","family":"Griffy","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/griffy\/v1\/vWkyYGBSyE5xjnShNtJtzw.ttf"}},{"kind":"webfonts#webfont","family":"Gabriela","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-03-07","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gabriela\/v1\/B-2ZfbAO3HDrxqV6lR5tdA.ttf"}},{"kind":"webfonts#webfont","family":"Nova Cut","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/novacut\/v5\/6q12jWcBvj0KO2cMRP97tA.ttf"}},{"kind":"webfonts#webfont","family":"Cagliostro","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cagliostro\/v2\/i85oXbtdSatNEzss99bpj_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Rosarivo","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rosarivo\/v1\/EmPiINK0qyqc7KSsNjJamA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rosarivo\/v1\/u3VuWsWQlX1pDqsbz4paNPesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Passero One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/passeroone\/v5\/Yc-7nH5deCCv9Ed0MMnAQqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Miltonian","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/miltonian\/v5\/Z4HrYZyqm0BnNNzcCUfzoQ.ttf"}},{"kind":"webfonts#webfont","family":"Geostar","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/geostar\/v3\/A8WQbhQbpYx3GWWaShJ9GA.ttf"}},{"kind":"webfonts#webfont","family":"Stoke","variants":["300","regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-08-08","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stoke\/v3\/Sell9475FOS8jUqQsfFsUQ.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stoke\/v3\/A7qJNoqOm2d6o1E6e0yUFg.ttf"}},{"kind":"webfonts#webfont","family":"Aubrey","variants":["regular"],"subsets":["latin"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/aubrey\/v5\/zo9w8klO8bmOQIMajQ2aTA.ttf"}},{"kind":"webfonts#webfont","family":"Federant","variants":["regular"],"subsets":["latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/federant\/v4\/tddZFSiGvxICNOGra0i5aA.ttf"}},{"kind":"webfonts#webfont","family":"Oregano","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oregano\/v1\/UiLhqNixVv2EpjRoBG6axA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/oregano\/v1\/_iwqGEht6XsAuEaCbYG64Q.ttf"}},{"kind":"webfonts#webfont","family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiasanslibre\/v1\/_9-jTfQjaBsWAF_yp5z-V4CP_KG_g80s1KXiBtJHoNc.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiasanslibre\/v1\/o7BEIK-fG3Ykc5Rzteh88YuyGu4JqttndUh4gRKxic0.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiasanslibre\/v1\/yRJpjT39KxACO9F31mj_LqV8_KRn4epKAjTFK1s1fsg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiasanslibre\/v1\/COEzR_NPBSUOl3pFwPbPoCZU2HnUZT1xVKaIrHDioao.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiasanslibre\/v1\/_9-jTfQjaBsWAF_yp5z-V8QwVOrz1y5GihpZmtKLhlI.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiasanslibre\/v1\/o7BEIK-fG3Ykc5Rzteh88bXy1DXgmJcVtKjM5UWamMs.ttf"}},{"kind":"webfonts#webfont","family":"Ruluko","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ruluko\/v1\/lv4cMwJtrx_dzmlK5SDc1g.ttf"}},{"kind":"webfonts#webfont","family":"Ledger","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ledger\/v1\/G432jp-tahOfWHbCYkI0jw.ttf"}},{"kind":"webfonts#webfont","family":"Atomic Age","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/atomicage\/v3\/WvBMe4FxANIKpo6Oi0mVJ_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Chela One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chelaone\/v1\/h5O0dEnpnIq6jQnWxZybrA.ttf"}},{"kind":"webfonts#webfont","family":"Text Me One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/textmeone\/v1\/9em_3ckd_P5PQkP4aDyDLqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Lily Script One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-06-12","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/lilyscriptone\/v1\/uPWsLVW8uiXqIBnE8ZwGPDjVlsJB_M_Q_LtZxsoxvlw.ttf"}},{"kind":"webfonts#webfont","family":"Gilda Display","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gildadisplay\/v1\/8yAVUZLLZ3wb7dSsjix0CADHmap7fRWINAsw8-RaxNg.ttf"}},{"kind":"webfonts#webfont","family":"Supermercado One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/supermercadoone\/v3\/kMGPVTNFiFEp1U274uBMb4mm5hmSKNFf3C5YoMa-lrM.ttf"}},{"kind":"webfonts#webfont","family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v4","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bilboswashcaps\/v4\/UB_-crLvhx-PwGKW1oosDmYeFSdnSpRYv5h9gpdlD1g.ttf"}},{"kind":"webfonts#webfont","family":"Engagement","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/engagement\/v2\/4Uz0Jii7oVPcaFRYmbpU6vesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Jolly Lodger","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jollylodger\/v1\/RX8HnkBgaEKQSHQyP9itiS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Croissant One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/croissantone\/v1\/mPjsOObnC77fp1cvZlOfIYjjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Paprika","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/paprika\/v1\/b-VpyoRSieBdB5BPJVF8HQ.ttf"}},{"kind":"webfonts#webfont","family":"Trade Winds","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/tradewinds\/v2\/sDOCVgAxw6PEUi2xdMsoDaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Italiana","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/italiana\/v1\/dt95fkCSTOF-c6QNjwSycA.ttf"}},{"kind":"webfonts#webfont","family":"Condiment","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/condiment\/v1\/CstmdiPpgFSV0FUNL5LrJA.ttf"}},{"kind":"webfonts#webfont","family":"Aguafina Script","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/aguafinascript\/v2\/65g7cgMtMGnNlNyq_Z6CvMxLhO8OSNnfAp53LK1_iRs.ttf"}},{"kind":"webfonts#webfont","family":"Caesar Dressing","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/caesardressing\/v2\/2T_WzBgE2Xz3FsyJMq34T9gR43u4FvCuJwIfF5Zxl6Y.ttf"}},{"kind":"webfonts#webfont","family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averialibre\/v1\/r6hGL8sSLm4dTzOPXgx5XacQoVhARpoaILP7amxE_8g.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averialibre\/v1\/I6wAYuAvOgT7el2ePj2nkina0FLWfcB-J_SAYmcAXaI.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averialibre\/v1\/rYVgHZZQICWnhjguGsBspC3USBnSvpkopQaUR-2r7iU.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averialibre\/v1\/1etzuoNxVHR8F533EkD1WfMZXuCXbOrAvx5R0IT5Oyo.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averialibre\/v1\/r6hGL8sSLm4dTzOPXgx5XUD2ttfZwueP-QU272T9-k4.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averialibre\/v1\/I6wAYuAvOgT7el2ePj2nkvAs9-1nE9qOqhChW0m4nDE.ttf"}},{"kind":"webfonts#webfont","family":"McLaren","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mclaren\/v1\/OprvTGxaiINBKW_1_U0eoQ.ttf"}},{"kind":"webfonts#webfont","family":"Mrs Sheppards","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mrssheppards\/v2\/2WFsWMV3VUeCz6UVH7UjCn8f0n03UdmQgF_CLvNR2vg.ttf"}},{"kind":"webfonts#webfont","family":"Mystery Quest","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mysteryquest\/v1\/467jJvg0c7HgucvBB9PLDyeUSrabuTpOsMEiRLtKwk0.ttf"}},{"kind":"webfonts#webfont","family":"Devonshire","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/devonshire\/v2\/I3ct_2t12SYizP8ZC-KFi_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Glass Antiqua","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/glassantiqua\/v1\/0yLrXKplgdUDIMz5TnCHNODcg5akpSnIcsPhLOFv7l8.ttf"}},{"kind":"webfonts#webfont","family":"Fresca","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fresca\/v2\/2q7Qm9sCo1tWvVgSDVWNIw.ttf"}},{"kind":"webfonts#webfont","family":"Battambang","variants":["regular","700"],"subsets":["khmer"],"version":"v6","lastModified":"2013-06-12","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/battambang\/v6\/MzrUfQLefYum5vVGM3EZVPesZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/battambang\/v6\/dezbRtMzfzAA99DmrCYRMgJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Keania One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/keaniaone\/v1\/PACrDKZWngXzgo-ucl6buvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Autour One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/autourone\/v1\/2xmQBcg7FN72jaQRFZPIDvesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"300":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiaseriflibre\/v2\/yvITAdr5D1nlsdFswJAb8SmC4gFJ2PHmfdVKEd_5S9M.ttf","300italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiaseriflibre\/v2\/YOLFXyye4sZt6AZk1QybCG2okl0bU63CauowU4iApig.ttf","regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiaseriflibre\/v2\/fdtF30xa_Erw0zAzOoG4BZqY66i8AUyI16fGqw0iAew.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiaseriflibre\/v2\/o9qhvK9iT5iDWfyhQUe-6Ru_b0bTq5iipbJ9hhgHJ6U.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiaseriflibre\/v2\/yvITAdr5D1nlsdFswJAb8Q50KV5TaOVolur4zV2iZsg.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiaseriflibre\/v2\/YOLFXyye4sZt6AZk1QybCNxohRXP4tNDqG3X4Hqn21k.ttf"}},{"kind":"webfonts#webfont","family":"Piedra","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/piedra\/v2\/owf-AvEEyAj9LJ2tVZ_3Mw.ttf"}},{"kind":"webfonts#webfont","family":"Joti One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jotione\/v1\/P3r_Th0ESHJdzunsvWgUfQ.ttf"}},{"kind":"webfonts#webfont","family":"Jacques Francois","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jacquesfrancois\/v1\/_-0XWPQIW6tOzTHg4KaJ_M13D_4KM32Q4UmTSjpuNGQ.ttf"}},{"kind":"webfonts#webfont","family":"Inika","variants":["regular","700"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/inika\/v1\/eZCrULQGaIxkrRoGz_DjhQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/inika\/v1\/bl3ZoTyrWsFun2zYbsgJrA.ttf"}},{"kind":"webfonts#webfont","family":"Trykker","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/trykker\/v2\/YiVrVJpBFN7I1l_CWk6yYQ.ttf"}},{"kind":"webfonts#webfont","family":"Khmer","variants":["regular"],"subsets":["khmer"],"version":"v6","lastModified":"2013-06-12","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/khmer\/v6\/vWaBJIbaQuBNz02ALIKJ3A.ttf"}},{"kind":"webfonts#webfont","family":"Titan One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/titanone\/v1\/FbvpRvzfV_oipS0De3iAZg.ttf"}},{"kind":"webfonts#webfont","family":"Chango","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chango\/v2\/3W3AeMMtRTH08t5qLOjBmg.ttf"}},{"kind":"webfonts#webfont","family":"Bigelow Rules","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bigelowrules\/v1\/FEJCPLwo07FS-6SK6Al50X8f0n03UdmQgF_CLvNR2vg.ttf"}},{"kind":"webfonts#webfont","family":"Fondamento","variants":["regular","italic"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fondamento\/v2\/6LWXcjT1B7bnWluAOSNfMPesZW2xOQ-xsNqO47m55DA.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fondamento\/v2\/y6TmwhSbZ8rYq7OTFyo7OS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Offside","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/offside\/v1\/v0C913SB8wqQUvcu1faUqw.ttf"}},{"kind":"webfonts#webfont","family":"Risque","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/risque\/v1\/92RnElGnl8yHP97-KV3Fyg.ttf"}},{"kind":"webfonts#webfont","family":"Gafata","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2013-03-07","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/gafata\/v2\/aTFqlki_3Dc3geo-FxHTvQ.ttf"}},{"kind":"webfonts#webfont","family":"Habibi","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/habibi\/v2\/YYyqXF6pWpL7kmKgS_2iUA.ttf"}},{"kind":"webfonts#webfont","family":"Balthazar","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/balthazar\/v2\/WgbaSIs6dJAGXJ0qbz2xlw.ttf"}},{"kind":"webfonts#webfont","family":"Eagle Lake","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/eaglelake\/v1\/ZKlYin7caemhx9eSg6RvPfesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Spicy Rice","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/spicyrice\/v2\/WGCtz7cLoggXARPi9OGD6_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stintultraexpanded\/v1\/FeigX-wDDgHMCKuhekhedQ7dxr0N5HY0cZKknTIL6n4.ttf"}},{"kind":"webfonts#webfont","family":"Emilys Candy","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/emilyscandy\/v1\/PofLVm6v1SwZGOzC8s-I3S3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mrssaintdelafield\/v1\/vuWagfFT7bj9lFtZOFBwmjHMBelqWf3tJeGyts2SmKU.ttf"}},{"kind":"webfonts#webfont","family":"Stalemate","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stalemate\/v1\/wQLCnG0qB6mOu2Wit2dt_w.ttf"}},{"kind":"webfonts#webfont","family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montserratsubrayada\/v1\/nzoCWCz0e9c7Mr2Gl8bbgrJymm6ilkk9f0nDA_sC_qk.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/montserratsubrayada\/v1\/wf-IKpsHcfm0C9uaz9IeGJvEcF1LWArDbGWgKZSH9go.ttf"}},{"kind":"webfonts#webfont","family":"Suwannaphum","variants":["regular"],"subsets":["khmer"],"version":"v6","lastModified":"2013-06-12","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/suwannaphum\/v6\/1jIPOyXied3T79GCnSlCN6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Emblema One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/emblemaone\/v2\/7IlBUjBWPIiw7cr_O2IfSaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Sevillana","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sevillana\/v1\/6m1Nh35oP7YEt00U80Smiw.ttf"}},{"kind":"webfonts#webfont","family":"Share Tech Mono","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sharetechmono\/v1\/RQxK-3RA0Lnf3gnnnNrAscwD6PD0c3_abh9zHKQtbGU.ttf"}},{"kind":"webfonts#webfont","family":"Antic Didone","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/anticdidone\/v1\/r3nJcTDuOluOL6LGDV1vRy3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Original Surfer","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/originalsurfer\/v2\/gdHw6HpSIN4D6Xt7pi1-qIkEz33TDwAZczo_6fY7eg0.ttf"}},{"kind":"webfonts#webfont","family":"Rum Raisin","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rumraisin\/v1\/kDiL-ntDOEq26B7kYM7cx_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Preahvihear","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/preahvihear\/v5\/82tDI-xTc53CxxOzEG4hDaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Meie Script","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-23","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/meiescript\/v1\/oTIWE5MmPye-rCyVp_6KEqCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Bubbler One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bubblerone\/v1\/e8S0qevkZAFaBybtt_SU4qCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Sarina","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sarina\/v2\/XYtRfaSknHIU3NHdfTdXoQ.ttf"}},{"kind":"webfonts#webfont","family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin-ext","latin"],"version":"v5","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/almendra\/v5\/PDpbB-ZF7deXAAEYPkQOeg.ttf","italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/almendra\/v5\/CNWLyiDucqVKVgr4EMidi_esZW2xOQ-xsNqO47m55DA.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/almendra\/v5\/ZpLdQMj7Q2AFio4nNO6A76CWcynf_cDxXwCLxiixG1c.ttf","700italic":"http:\/\/themes.googleusercontent.com\/static\/fonts\/almendra\/v5\/-tXHKMcnn6FqrhJV3l1e3QJKKGfqHaYFsRG-T3ceEVo.ttf"}},{"kind":"webfonts#webfont","family":"Nokora","variants":["regular","700"],"subsets":["khmer"],"version":"v6","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nokora\/v6\/dRyz1JfnyKPNaRcBNX9F9A.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/nokora\/v6\/QMqqa4QEOhQpiig3cAPmbQ.ttf"}},{"kind":"webfonts#webfont","family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/monsieurladoulaise\/v2\/IMAdMj6Eq9jZ46CPctFtMKP61oAqTJXlx5ZVOBmcPdM.ttf"}},{"kind":"webfonts#webfont","family":"Sofadi One","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sofadione\/v1\/nirf4G12IcJ6KI8Eoj119fesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Germania One","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/germaniaone\/v1\/3_6AyUql_-FbDi1e68jHdC3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Asul","variants":["regular","700"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/asul\/v2\/9qpsNR_OOwyOYyo2N0IbBw.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/asul\/v2\/uO8uNmxaq87-DdPmkEg5Gg.ttf"}},{"kind":"webfonts#webfont","family":"Butterfly Kids","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/butterflykids\/v1\/J4NTF5M25htqeTffYImtlUZaDk62iwTBnbnvwSjZciA.ttf"}},{"kind":"webfonts#webfont","family":"Princess Sofia","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/princesssofia\/v1\/8g5l8r9BM0t1QsXLTajDe-wjmA7ie-lFcByzHGRhCIg.ttf"}},{"kind":"webfonts#webfont","family":"Londrina Sketch","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/londrinasketch\/v1\/p7Ai06aT1Ycp_D2fyE3z69d6z_uhFGnpCOifUY1fJQo.ttf"}},{"kind":"webfonts#webfont","family":"Sirin Stencil","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/sirinstencil\/v1\/pRpLdo0SawzO7MoBpvowsImg74kgS1F7KeR8rWhYwkU.ttf"}},{"kind":"webfonts#webfont","family":"Peralta","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-08","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/peralta\/v1\/cTJX5KEuc0GKRU9NXSm-8Q.ttf"}},{"kind":"webfonts#webfont","family":"Galindo","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/galindo\/v1\/2lafAS_ZEfB33OJryhXDUg.ttf"}},{"kind":"webfonts#webfont","family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/macondoswashcaps\/v1\/SsSR706z-MlvEH7_LS6JAPkkgYRHs6GSG949m-K6x2k.ttf"}},{"kind":"webfonts#webfont","family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/odormeanchey\/v5\/GK3E7EjPoBkeZhYshGFo0eVKG8sq4NyGgdteJLvqLDs.ttf"}},{"kind":"webfonts#webfont","family":"Purple Purse","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/purplepurse\/v1\/Q5heFUrdmei9axbMITxxxS3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Chicle","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chicle\/v2\/xg4q57Ut9ZmyFwLp51JLgg.ttf"}},{"kind":"webfonts#webfont","family":"Arbutus","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/arbutus\/v2\/Go_hurxoUsn5MnqNVQgodQ.ttf"}},{"kind":"webfonts#webfont","family":"Felipa","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/felipa\/v1\/SeyfyFZY7abAQXGrOIYnYg.ttf"}},{"kind":"webfonts#webfont","family":"Flavors","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/flavors\/v2\/SPJi5QclATvon8ExcKGRvQ.ttf"}},{"kind":"webfonts#webfont","family":"Margarine","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/margarine\/v1\/DJnJwIrcO_cGkjSzY3MERw.ttf"}},{"kind":"webfonts#webfont","family":"Bokor","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bokor\/v5\/uAKdo0A85WW23Gs6mcbw7A.ttf"}},{"kind":"webfonts#webfont","family":"Eater","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/eater\/v2\/gm6f3OmYEdbs3lPQtUfBkA.ttf"}},{"kind":"webfonts#webfont","family":"Dangrek","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/dangrek\/v5\/LOaFhBT-EHNxZjV8DAW_ew.ttf"}},{"kind":"webfonts#webfont","family":"New Rocker","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-06","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/newrocker\/v1\/EFUWzHJedEkpW399zYOHofesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Ewert","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ewert\/v1\/Em8hrzuzSbfHcTVqMjbAQg.ttf"}},{"kind":"webfonts#webfont","family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/averiagruesalibre\/v1\/10vbZTOoN6T8D-nvDzwRFyXcKHuZXlCN8VkWHpkUzKM.ttf"}},{"kind":"webfonts#webfont","family":"Revalia","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/revalia\/v1\/1TKw66fF5_poiL0Ktgo4_A.ttf"}},{"kind":"webfonts#webfont","family":"Fascinate","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fascinate\/v2\/ZE0637WWkBPKt1AmFaqD3Q.ttf"}},{"kind":"webfonts#webfont","family":"Freehand","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/freehand\/v5\/uEBQxvA0lnn_BrD6krlxMw.ttf"}},{"kind":"webfonts#webfont","family":"Ribeye","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ribeye\/v2\/e5w3VE8HnWBln4Ll6lUj3Q.ttf"}},{"kind":"webfonts#webfont","family":"Taprom","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/taprom\/v5\/-KByU3BaUsyIvQs79qFObg.ttf"}},{"kind":"webfonts#webfont","family":"Dr Sugiyama","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/drsugiyama\/v2\/S5Yx3MIckgoyHhhS4C9Tv6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Elsie","variants":["regular","900"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-12-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/elsie\/v1\/gwspePauE45BJu6Ok1QrfQ.ttf","900":"http:\/\/themes.googleusercontent.com\/static\/fonts\/elsie\/v1\/1t-9f0N2NFYwAgN7oaISqg.ttf"}},{"kind":"webfonts#webfont","family":"Marko One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/markoone\/v3\/hpP7j861sOAco43iDc4n4w.ttf"}},{"kind":"webfonts#webfont","family":"Moul","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/moul\/v5\/Kb0ALQnfyXawP1a_P_gpTQ.ttf"}},{"kind":"webfonts#webfont","family":"Content","variants":["regular","700"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/content\/v5\/l8qaLjygvOkDEU2G6-cjfQ.ttf","700":"http:\/\/themes.googleusercontent.com\/static\/fonts\/content\/v5\/7PivP8Zvs2qn6F6aNbSQe_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Frijole","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/frijole\/v2\/L2MfZse-2gCascuD-nLhWg.ttf"}},{"kind":"webfonts#webfont","family":"Underdog","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/underdog\/v1\/gBv9yjez_-5PnTprHWq0ig.ttf"}},{"kind":"webfonts#webfont","family":"Freckle Face","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/freckleface\/v1\/7-B8j9BPJgazdHIGqPNv8y3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Bayon","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bayon\/v5\/yTubusjTnpNRZwA4_50iVw.ttf"}},{"kind":"webfonts#webfont","family":"Combo","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/combo\/v1\/Nab98KjR3JZSSPGtzLyXNw.ttf"}},{"kind":"webfonts#webfont","family":"Metal Mania","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-08-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/metalmania\/v2\/isriV_rAUgj6bPWPN6l9QKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Angkor","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/angkor\/v5\/DLpLgIS-8F10ecwKqCm95Q.ttf"}},{"kind":"webfonts#webfont","family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/uncialantiqua\/v1\/F-leefDiFwQXsyd6eaSllqrFJ4O13IHVxZbM6yoslpo.ttf"}},{"kind":"webfonts#webfont","family":"Ribeye Marrow","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ribeyemarrow\/v3\/q7cBSA-4ErAXBCDFPrhlY0cTNmV93fYG7UKgsLQNQWs.ttf"}},{"kind":"webfonts#webfont","family":"Akronim","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/akronim\/v1\/qA0L2CSArk3tuOWE1AR1DA.ttf"}},{"kind":"webfonts#webfont","family":"Seymour One","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-10-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/seymourone\/v1\/HrdG2AEG_870Xb7xBVv6C6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Romanesco","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-08-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/romanesco\/v1\/2udIjUrpK_CPzYSxRVzD4Q.ttf"}},{"kind":"webfonts#webfont","family":"Diplomata","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/diplomata\/v1\/u-ByBiKgN6rTMA36H3kcKg.ttf"}},{"kind":"webfonts#webfont","family":"Jim Nightshade","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/jimnightshade\/v1\/_n43lYHXVWNgXegdYRIK9CF1W_bo0EdycfH0kHciIic.ttf"}},{"kind":"webfonts#webfont","family":"Ruge Boogie","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/rugeboogie\/v3\/U-TTmltL8aENLVIqYbI5QaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Stalinist One","variants":["regular"],"subsets":["latin-ext","latin","cyrillic"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/stalinistone\/v1\/ltOD4Zj3WJDXYjAIR-9vZojjx0o0jr6fNXxPgYh_a8Q.ttf"}},{"kind":"webfonts#webfont","family":"Faster One","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-10-31","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fasterone\/v1\/YxTOW2sf56uxD1T7byP5K_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Almendra SC","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/almendrasc\/v2\/IuiLd8Fm9I6raSalxMoWeaCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Mr Bedfort","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/mrbedfort\/v1\/81bGgHTRikLs_puEGshl7_esZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Macondo","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/macondo\/v1\/G6yPNUscRPQ8ufBXs_8yRQ.ttf"}},{"kind":"webfonts#webfont","family":"Koulen","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/koulen\/v5\/AAYOK8RSRO7FTskTzFuzNw.ttf"}},{"kind":"webfonts#webfont","family":"Londrina Outline","variants":["regular"],"subsets":["latin"],"version":"v1","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/londrinaoutline\/v1\/lls08GOa1eT74p072l1AWJmp8DTZ6iHear7UV05iykg.ttf"}},{"kind":"webfonts#webfont","family":"Vampiro One","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/vampiroone\/v1\/OVDs4gY4WpS5u3Qd1gXRW6CWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/herrvonmuellerhoff\/v2\/mmy24EUmk4tjm4gAEjUd7NLGIYrUsBdh-JWHYgiDiMU.ttf"}},{"kind":"webfonts#webfont","family":"Moulpali","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/moulpali\/v5\/diD74BprGhmVkJoerKmrKA.ttf"}},{"kind":"webfonts#webfont","family":"Miss Fajardose","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/missfajardose\/v2\/WcXjlQPKn6nBfr8LY3ktNu6rPKfVZo7L2bERcf0BDns.ttf"}},{"kind":"webfonts#webfont","family":"Ceviche One","variants":["regular"],"subsets":["latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/cevicheone\/v3\/WOaXIMBD4VYMy39MsobJhKCWcynf_cDxXwCLxiixG1c.ttf"}},{"kind":"webfonts#webfont","family":"Diplomata SC","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-26","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/diplomatasc\/v1\/JdVwAwfE1a_pahXjk5qpNi3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Bonbon","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/bonbon\/v2\/IW3u1yzG1knyW5oz0s9_6Q.ttf"}},{"kind":"webfonts#webfont","family":"Metal","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/metal\/v5\/zA3UOP13ooQcxjv04BZX5g.ttf"}},{"kind":"webfonts#webfont","family":"Butcherman","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/butcherman\/v3\/bxiJmD567sPBVpJsT0XR0vesZW2xOQ-xsNqO47m55DA.ttf"}},{"kind":"webfonts#webfont","family":"Erica One","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/ericaone\/v2\/cIBnH2VAqQMIGYAcE4ufvQ.ttf"}},{"kind":"webfonts#webfont","family":"Fascinate Inline","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fascinateinline\/v2\/lRguYfMfWArflkm5aOQ5QJmp8DTZ6iHear7UV05iykg.ttf"}},{"kind":"webfonts#webfont","family":"Hanalei Fill","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/hanaleifill\/v1\/5uPeWLnaDdtm4UBG26Ds6C3USBnSvpkopQaUR-2r7iU.ttf"}},{"kind":"webfonts#webfont","family":"Unlock","variants":["regular"],"subsets":["latin"],"version":"v2","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/unlock\/v2\/rXEQzK7uIAlhoyoAEiMy1w.ttf"}},{"kind":"webfonts#webfont","family":"Plaster","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v3","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/plaster\/v3\/O4QG9Z5116CXyfJdR9zxLw.ttf"}},{"kind":"webfonts#webfont","family":"Siemreap","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/siemreap\/v5\/JSK-mOIsXwxo-zE9XDDl_g.ttf"}},{"kind":"webfonts#webfont","family":"Fruktur","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2013-01-16","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fruktur\/v1\/PnQvfEi1LssAvhJsCwH__w.ttf"}},{"kind":"webfonts#webfont","family":"Almendra Display","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/almendradisplay\/v1\/2Zuu97WJ_ez-87yz5Ai8fF6uyC_qD11hrFQ6EGgTJWI.ttf"}},{"kind":"webfonts#webfont","family":"Chenla","variants":["regular"],"subsets":["khmer"],"version":"v5","lastModified":"2012-07-25","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/chenla\/v5\/aLNpdAUDq2MZbWz2U1a16g.ttf"}},{"kind":"webfonts#webfont","family":"Warnes","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-09-14","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/warnes\/v1\/MXG7_Phj4YpzAXxKGItuBw.ttf"}},{"kind":"webfonts#webfont","family":"Fasthand","variants":["regular"],"subsets":["khmer"],"version":"v3","lastModified":"2012-10-03","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/fasthand\/v3\/6XAagHH_KmpZL67wTvsETQ.ttf"}},{"kind":"webfonts#webfont","family":"Hanalei","variants":["regular"],"subsets":["latin-ext","latin"],"version":"v1","lastModified":"2012-11-28","files":{"regular":"http:\/\/themes.googleusercontent.com\/static\/fonts\/hanalei\/v1\/Sx8vVMBnXSQyK6Cn0CBJ3A.ttf"}}]}
|
classes/styles-font-menu/js/styles-font-menu.js
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery( document ).ready( function( $ ){
|
2 |
+
|
3 |
+
// Add Google Fonts and Chosen to select elements
|
4 |
+
$('select.sfm').stylesFontDropdown();
|
5 |
+
|
6 |
+
});
|
7 |
+
|
8 |
+
(function( $, google_fonts ) {
|
9 |
+
/**
|
10 |
+
* Build Google Fonts option list only once
|
11 |
+
*/
|
12 |
+
var google_styles = '<style>';
|
13 |
+
var google_options = "<optgroup class='google-fonts' label='Google Fonts'>";
|
14 |
+
var is_readme = ( $('#styles-font-menu-readme').length > 0 );
|
15 |
+
|
16 |
+
for (var i=0; i < google_fonts.fonts.length; i++){
|
17 |
+
// Don't show if no preview
|
18 |
+
if ( !is_readme && undefined === google_fonts.fonts[i].png_url ) {
|
19 |
+
continue;
|
20 |
+
}
|
21 |
+
|
22 |
+
google_options += "<option class='gf " + google_fonts.fonts[i].classname + "' value='" + JSON.stringify( google_fonts.fonts[i] ) + "'>" + google_fonts.fonts[i].name + "</option>";
|
23 |
+
|
24 |
+
google_styles += ".sfm ." + google_fonts.fonts[i].classname + " { background-image: url(" + google_fonts.fonts[i].png_url + "); }\r";
|
25 |
+
}
|
26 |
+
google_options += "</optgroup>";
|
27 |
+
google_styles += "</style>";
|
28 |
+
|
29 |
+
$('head').append( google_styles );
|
30 |
+
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Define jQuery plugin to act on and attach to select elements
|
34 |
+
*/
|
35 |
+
$.stylesFontDropdown = function(element, options) {
|
36 |
+
|
37 |
+
var plugin = this,
|
38 |
+
$element = $(element);
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Default settings. Override by passing object to stylesFontDropdown()
|
42 |
+
*/
|
43 |
+
var defaults = {
|
44 |
+
"chosen_settings": {
|
45 |
+
"allow_single_deselect": true,
|
46 |
+
"inherit_select_classes": true,
|
47 |
+
"width": "280px"
|
48 |
+
}
|
49 |
+
};
|
50 |
+
|
51 |
+
plugin.settings = {};
|
52 |
+
|
53 |
+
plugin.init = function() {
|
54 |
+
plugin.settings = $.extend({}, defaults, options);
|
55 |
+
|
56 |
+
plugin.populate_google_fonts();
|
57 |
+
|
58 |
+
plugin.set_selected_option();
|
59 |
+
|
60 |
+
$element.chosen( plugin.settings.chosen_settings );
|
61 |
+
};
|
62 |
+
|
63 |
+
plugin.populate_google_fonts = function() {
|
64 |
+
$element.append( google_options ).each( function(){
|
65 |
+
// If a selected option is set in <option data-selected="XXX">, select it.
|
66 |
+
// @todo Not sure why this is here. Carried over from old Styles text selector. Check back when connecting to database.
|
67 |
+
var selected = $(this).data('selected');
|
68 |
+
$(this).find( 'option[value="' + selected + '"]' ).attr('selected', 'selected');
|
69 |
+
} );
|
70 |
+
};
|
71 |
+
|
72 |
+
plugin.set_selected_option = function() {
|
73 |
+
var value = JSON.stringify( $element.data( 'selected' ) );
|
74 |
+
|
75 |
+
$element.find('option').each( function(){
|
76 |
+
if ( value == $(this).val() ) {
|
77 |
+
$(this).attr('selected', 'selected');
|
78 |
+
}
|
79 |
+
|
80 |
+
});
|
81 |
+
};
|
82 |
+
|
83 |
+
plugin.preview_font_change = function( $target_elements ) {
|
84 |
+
// Clear font-family if nothing selected
|
85 |
+
if ( '' === $element.val() ) {
|
86 |
+
$target_elements.css('font-family', '');
|
87 |
+
return true;
|
88 |
+
}
|
89 |
+
|
90 |
+
// Convert JSON string value to JSON object
|
91 |
+
var font = JSON.parse( $element.val() );
|
92 |
+
|
93 |
+
plugin.maybe_add_at_import_to_head( font );
|
94 |
+
|
95 |
+
// Update font-family
|
96 |
+
$target_elements.css('font-family', font.family );
|
97 |
+
};
|
98 |
+
|
99 |
+
plugin.maybe_add_at_import_to_head = function( font ) {
|
100 |
+
// Add @import to <head> if needed
|
101 |
+
if ( undefined !== font.import_family ) {
|
102 |
+
var atImport = google_fonts.import_template.replace( '@import_family@', font.import_family );
|
103 |
+
$( '<style>' ).append( atImport ).appendTo( 'head' );
|
104 |
+
}
|
105 |
+
};
|
106 |
+
|
107 |
+
plugin.init();
|
108 |
+
|
109 |
+
};
|
110 |
+
|
111 |
+
/**
|
112 |
+
* Attach this plugin instance to the target elements
|
113 |
+
* Access later with $('select.styles-font-menu').data('stylesFontDropdown');
|
114 |
+
*/
|
115 |
+
$.fn.stylesFontDropdown = function(options) {
|
116 |
+
return this.each(function() {
|
117 |
+
if (undefined === $(this).data('stylesFontDropdown')) {
|
118 |
+
var plugin = new $.stylesFontDropdown(this, options);
|
119 |
+
$(this).data('stylesFontDropdown', plugin);
|
120 |
+
}
|
121 |
+
});
|
122 |
+
};
|
123 |
+
|
124 |
+
})( jQuery, styles_google_options );
|
classes/styles-font-menu/plugin.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Styles: Font Menu
|
4 |
+
Plugin URI: http://github.com/stylesplugin/styles-font-menu
|
5 |
+
Description: Display an up-to-date menu of Google Fonts. Include it in your own plugins and themes, or install as a plugin for testing and a live demo. Uses the Chosen library to allow menu search and styles.
|
6 |
+
Version: 1.0
|
7 |
+
Author: Brainstorm Media
|
8 |
+
Author URI: http://brainstormmedia.com
|
9 |
+
License: GPLv2
|
10 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
+
*/
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Only include library in admin by default. Override with the filter
|
15 |
+
*
|
16 |
+
* @example add_filter( 'styles_font_menu_include_on_frontend', '__return_true' );
|
17 |
+
*/
|
18 |
+
if (
|
19 |
+
apply_filters( 'styles_font_menu_include_on_frontend', is_admin() )
|
20 |
+
&& !class_exists( 'SFM_Plugin' )
|
21 |
+
&& version_compare( $GLOBALS['wp_version'], '3.4', '>=' )
|
22 |
+
) {
|
23 |
+
|
24 |
+
require_once dirname( __FILE__ ) . '/classes/sfm-plugin.php';
|
25 |
+
|
26 |
+
if ( did_action( 'init' ) ) {
|
27 |
+
SFM_Plugin::get_instance();
|
28 |
+
}else {
|
29 |
+
add_action( 'init', 'SFM_Plugin::get_instance' );
|
30 |
+
}
|
31 |
+
|
32 |
+
}else if (
|
33 |
+
apply_filters( 'styles_font_menu_exit_on_php_version_error', true )
|
34 |
+
&& !function_exists( 'styles_font_menu_wp_version_notice' )
|
35 |
+
) {
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Exit and warn by default. Use the filter to disable exiting,
|
39 |
+
* or add your own behavior and return false.
|
40 |
+
*
|
41 |
+
* @example add_filter( 'styles_font_menu_include_on_frontend', '__return_false' );
|
42 |
+
*/
|
43 |
+
function styles_font_menu_wp_version_notice() {
|
44 |
+
echo sprintf(
|
45 |
+
'<div class="error"><p>%s<a href="http://codex.wordpress.org/Upgrading_WordPress">%s</a></p></div>',
|
46 |
+
__( 'Styles Font Menu requires WordPress 3.4 or newer.', 'styles-font-menu' ),
|
47 |
+
__( 'Please update.', 'styles-font-menu' )
|
48 |
+
);
|
49 |
+
}
|
50 |
+
add_action( 'admin_notices', 'styles_font_menu_wp_version_notice' );
|
51 |
+
|
52 |
+
}
|
classes/styles-font-menu/readme.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## Example output
|
2 |
+
|
3 |
+
![Example output](https://raw.github.com/stylesplugin/styles-font-dropdown/master/img/example-output.gif?v3)
|
4 |
+
|
5 |
+
This menu can be displayed in your templates with this code: `do_action( 'styles_font_menu' );`
|
6 |
+
|
7 |
+
## Live Demo
|
8 |
+
|
9 |
+
To view a live demo of the menu in action, install and activate this WordPress plugin. Once activated, you can click the "How to use this plugin" link to view a working example.
|
10 |
+
|
11 |
+
![Example output](https://raw.github.com/stylesplugin/styles-font-menu/master/img/live-demo.png)
|
12 |
+
|
13 |
+
## Including in plugins and themes
|
14 |
+
|
15 |
+
Styles Font Dropdown has been packaged as a plugin only for testing purposes. In real world use, you should put it in your own theme or plugin, then include it with `include 'styles-font-menu/plugin.php';`
|
16 |
+
|
17 |
+
## Select Menu Values
|
18 |
+
|
19 |
+
**Standard Fonts**
|
20 |
+
|
21 |
+
For standard fonts, the option value is set to a font stack, such as `Arial, Helvetica, sans-serif`, suitable for output as the value of a CSS `font-family` declaration.
|
22 |
+
|
23 |
+
**Google Fonts**
|
24 |
+
|
25 |
+
For Google fonts, the option value is set to the URL fragment that can be passed as an `@import` request. For example, `Droid+Sans:regular,700`
|
26 |
+
|
27 |
+
This value should be inserted into an `@import url(//fonts.googleapis.com/css?family=$value);` declaration at the top of your CSS.
|
28 |
+
|
29 |
+
For example, final output for Droid Sans would be `@import url(//fonts.googleapis.com/css?family=Droid+Sans:regular,700);`
|
30 |
+
|
31 |
+
## Google Fonts API
|
32 |
+
|
33 |
+
**Automatic Updates**
|
34 |
+
|
35 |
+
If you [get a Google Fonts API key][1], you can enable auto-updates of the Google font list. By default, it caches and updates every 15 days.
|
36 |
+
|
37 |
+
The API key can be set in your local environment, or for all your users. If you enable it only for development, the values will update `wp-content/plugins/styles-font-menu/js/google-fonts-api-fallback.json` for users who do not have API access.
|
38 |
+
|
39 |
+
**Setting your API key**
|
40 |
+
|
41 |
+
Once you [get a Google Fonts API key][1], you can set it with `add_filter( 'styles_google_font_api', create_function('', "return 'YOUR_KEY_HERE';" ) );`
|
42 |
+
|
43 |
+
## Changing the cache interval
|
44 |
+
|
45 |
+
The default is 15 days. You can change the cache interval by setting this filter with a timeout (in seconds): `add_filter( 'styles_google_fonts_cache_interval', create_function('', 'return 60*60*24*15;' ) );`
|
46 |
+
|
47 |
+
## Changing the font order
|
48 |
+
|
49 |
+
Google Fonts are ordered by popularity by default. This seemed reasonable, since there are hundreds of fonts, and anything that doesn't appear at top would likely be found with the search field. If you would like change the default ordering, you can use the filter `add_filter( 'styles_google_font_sort', create_function( '', 'return "alpha";'));`
|
50 |
+
|
51 |
+
The possible sorting values are:
|
52 |
+
|
53 |
+
* **alpha**: Sort the list alphabetically
|
54 |
+
* **date**: Sort the list by date added (most recent font added or updated first)
|
55 |
+
* **popularity**: Sort the list by popularity (most popular family first)
|
56 |
+
* **style**: Sort the list by number of styles available (family with most styles first)
|
57 |
+
* **trending**: Sort the list by families seeing growth in usage (family seeing the most growth first)
|
58 |
+
|
59 |
+
Note that you may need to flush your transients for the new sort order to appear immediately.
|
60 |
+
|
61 |
+
[Read more about the Google Fonts developer API](https://developers.google.com/fonts/docs/getting_started).
|
62 |
+
|
63 |
+
## About the drop-down menu
|
64 |
+
|
65 |
+
The dropdown menu uses [Chosen](http://harvesthq.github.io/chosen/) by Harvest.
|
66 |
+
|
67 |
+
[1]: https://code.google.com/apis/console
|
68 |
+
|
classes/styles-font-menu/styles-fonts/png/abeezee-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/abel-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/abrilfatface-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/aclonica-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/acme-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/actor-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/adamina-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/adventpro-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/aguafinascript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/akronim-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/aladin-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/aldrich-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alef-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alegreya-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alegreyasc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alexbrush-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alfaslabone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alice-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alike-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/alikeangular-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/allan-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/allerta-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/allertastencil-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/allura-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/almendra-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/almendradisplay-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/almendrasc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/amarante-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/amaranth-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/amaticsc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/amethysta-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/anaheim-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/andada-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/andika-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/annieuseyourtelescope-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/anonymouspro-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/antic-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/anticdidone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/anticslab-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/anton-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/arapey-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/arbutus-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/arbutusslab-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/architectsdaughter-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/archivoblack-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/archivonarrow-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/arimo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/arizonia-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/armata-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/artifika-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/arvo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/asap-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/asset-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/astloch-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/asul-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/atomicage-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/aubrey-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/audiowide-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/autourone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/average-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/averagesans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/averiagruesalibre-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/averialibre-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/averiasanslibre-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/averiaseriflibre-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/badscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/balthazar-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bangers-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/basic-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/baumans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/belgrano-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/belleza-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/benchnine-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bentham-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/berkshireswash-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bevan-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bigelowrules-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bigshotone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bilbo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bilboswashcaps-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bitter-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/blackopsone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bonbon-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/boogaloo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bowlbyone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bowlbyonesc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/brawler-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/breeserif-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bubblegumsans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/bubblerone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/buda-300.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/buenard-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/butcherman-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/butterflykids-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cabin-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cabincondensed-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cabinsketch-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/caesardressing-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cagliostro-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/calligraffitti-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cambo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/candal-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cantarell-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cantataone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cantoraone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/capriola-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cardo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/carme-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/carroisgothic-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/carroisgothicsc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/carterone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/caudex-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cedarvillecursive-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cevicheone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/changaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/chango-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/chauphilomeneone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/chelaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/chelseamarket-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cherrycreamsoda-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cherryswash-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/chewy-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/chicle-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/chivo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cinzel-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cinzeldecorative-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/clickerscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/coda-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/codacaption-800.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/codystar-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/combo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/comfortaa-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/comingsoon-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/concertone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/condiment-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/contrailone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/convergence-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cookie-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/copse-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/corben-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/courgette-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cousine-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/coustard-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/coveredbyyourgrace-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/craftygirls-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/creepster-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/creteround-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/crimsontext-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/croissantone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/crushed-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cuprum-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cutive-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/cutivemono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/damion-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/dancingscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/dawningofanewday-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/daysone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/delius-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/deliusswashcaps-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/deliusunicase-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/dellarespira-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/denkone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/devonshire-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/didactgothic-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/diplomata-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/diplomatasc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/domine-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/donegalone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/doppioone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/dorsa-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/dosis-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/droidsans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/droidsansmono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/droidserif-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/drsugiyama-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/durusans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/dynalight-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/eaglelake-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/eater-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ebgaramond-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/economica-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/electrolize-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/elsie-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/elsieswashcaps-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/emblemaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/emilyscandy-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/engagement-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/englebert-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/enriqueta-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ericaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/esteban-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/euphoriascript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ewert-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/exo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/expletussans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fanwoodtext-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fascinate-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fascinateinline-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fasterone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/faunaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/federant-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/federo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/felipa-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fenix-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fingerpaint-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fjallaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fjordone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/flamenco-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/flavors-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fondamento-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fontdinerswanky-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/forum-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/francoisone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/freckleface-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/frederickathegreat-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fredokaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fresca-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/frijole-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fruktur-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/fugazone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gabriela-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gafata-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/galdeano-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/galindo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gentiumbasic-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gentiumbookbasic-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/geo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/geostar-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/geostarfill-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/germaniaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gildadisplay-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/giveyouglory-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/glassantiqua-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/glegoo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gloriahallelujah-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/goblinone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gochihand-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gorditas-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/goudybookletter1911-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/graduate-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/grandhotel-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gravitasone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/greatvibes-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/griffy-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gruppo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/gudea-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/habibi-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/hammersmithone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/hanalei-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/hanaleifill-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/handlee-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/happymonkey-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/headlandone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/hennypenny-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/herrvonmuellerhoff-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/holtwoodonesc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/homemadeapple-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/homenaje-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/iceberg-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/iceland-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfelldoublepica-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfelldoublepicasc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfelldwpica-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfelldwpicasc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfellenglish-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfellenglishsc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfellfrenchcanon-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfellfrenchcanonsc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfellgreatprimer-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imfellgreatprimersc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/imprima-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/inconsolata-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/inder-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/indieflower-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/inika-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/irishgrover-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/istokweb-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/italiana-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/italianno-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/jacquesfrancois-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/jacquesfrancoisshadow-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/jimnightshade-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/jockeyone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/jollylodger-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/josefinsans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/josefinslab-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/jotione-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/judson-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/julee-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/juliussansone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/junge-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/jura-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/justanotherhand-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/justmeagaindownhere-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kameron-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/karla-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kaushanscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kavoon-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/keaniaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kellyslab-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kenia-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kiteone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/knewave-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kottaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kranky-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kreon-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kristi-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/kronaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/labelleaurore-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lancelot-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lato-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/leaguescript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/leckerlione-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ledger-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lekton-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lemon-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/librebaskerville-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lifesavers-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lilitaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lilyscriptone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/limelight-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lindenhill-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lobster-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lobstertwo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/londrinaoutline-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/londrinashadow-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/londrinasketch-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/londrinasolid-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lora-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lovedbytheking-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/loversquarrel-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/loveyalikeasister-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/luckiestguy-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lusitana-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/lustria-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/macondo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/macondoswashcaps-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/magra-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/maidenorange-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mako-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/marcellus-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/marcellussc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/marckscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/margarine-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/markoone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/marmelad-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/marvel-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mate-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/matesc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mavenpro-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mclaren-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/meddon-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/medievalsharp-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/medulaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/megrim-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/meiescript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/merienda-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/meriendaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/merriweather-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/merriweathersans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/metalmania-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/metamorphous-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/metrophobic-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/michroma-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/milonga-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/miltonian-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/miltoniantattoo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/miniver-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/missfajardose-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/modernantiqua-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/molengo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/molle-italic.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/monda-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/monofett-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/monoton-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/monsieurladoulaise-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/montaga-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/montez-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/montserrat-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/montserratalternates-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/montserratsubrayada-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mountainsofchristmas-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mousememoirs-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mrbedfort-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mrdafoe-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mrdehaviland-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mrssaintdelafield-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mrssheppards-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/muli-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/mysteryquest-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/neucha-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/neuton-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/newrocker-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/newscycle-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/niconne-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/nixieone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/nobile-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/norican-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/nosifer-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/nothingyoucoulddo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/noticiatext-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/notosans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/notoserif-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novacut-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novaflat-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novamono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novaoval-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novaround-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novascript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novaslim-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/novasquare-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/numans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/nunito-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/offside-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oldenburg-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oldstandardtt-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oleoscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oleoscriptswashcaps-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/opensans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/opensanscondensed-300.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oranienbaum-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/orbitron-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oregano-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/orienta-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/originalsurfer-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oswald-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/overlock-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/overlocksc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/overtherainbow-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ovo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oxygen-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/oxygenmono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pacifico-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/paprika-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/parisienne-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/passeroone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/passionone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pathwaygothicone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/patrickhand-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/patrickhandsc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/patuaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/paytoneone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/peralta-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/permanentmarker-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/petitformalscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/petrona-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/philosopher-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/piedra-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pinyonscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pirataone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/plaster-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/play-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/playball-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/playfairdisplay-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/playfairdisplaysc-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/podkova-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/poiretone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pollerone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/poly-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pompiere-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pontanosans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/portlligatsans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/portlligatslab-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/prata-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/pressstart2p-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/princesssofia-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/prociono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/prostoone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ptmono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ptsans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ptsanscaption-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ptsansnarrow-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ptserif-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ptserifcaption-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/puritan-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/purplepurse-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/quando-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/quantico-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/quattrocento-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/quattrocentosans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/questrial-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/quicksand-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/quintessential-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/qwigley-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/racingsansone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/radley-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/raleway-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ralewaydots-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rambla-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rammettoone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ranchers-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rancho-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rationale-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/redressed-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/reeniebeanie-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/revalia-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ribeye-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ribeyemarrow-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/righteous-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/risque-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/roboto-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/robotocondensed-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/robotoslab-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rochester-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rocksalt-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rokkitt-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/romanesco-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ropasans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rosario-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rosarivo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rougescript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ruda-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rufina-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rugeboogie-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ruluko-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rumraisin-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ruslandisplay-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/russoone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ruthie-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/rye-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sacramento-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sail-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/salsa-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sanchez-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sancreek-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sansitaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sarina-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/satisfy-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/scada-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/schoolbell-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/seaweedscript-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sevillana-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/seymourone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/shadowsintolight-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/shadowsintolighttwo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/shanti-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/share-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sharetech-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sharetechmono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/shojumaru-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/shortstack-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sigmarone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/signika-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/signikanegative-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/simonetta-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sintony-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sirinstencil-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sixcaps-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/skranji-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/slackey-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/smokum-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/smythe-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sniglet-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/snippet-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/snowburstone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sofadione-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sofia-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sonsieone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sortsmillgoudy-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sourcecodepro-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sourcesanspro-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/specialelite-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/spicyrice-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/spinnaker-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/spirax-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/squadaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/stalemate-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/stalinistone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/stardosstencil-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/stintultracondensed-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/stintultraexpanded-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/stoke-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/strait-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sueellenfrancisco-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/sunshiney-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/supermercadoone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/swankyandmoomoo-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/syncopate-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/tangerine-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/tauri-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/telex-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/tenorsans-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/textmeone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/thegirlnextdoor-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/tienne-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/tinos-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/titanone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/titilliumweb-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/tradewinds-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/trocchi-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/trochut-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/trykker-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/tulpenone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ubuntu-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ubuntucondensed-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ubuntumono-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/ultra-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/uncialantiqua-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/underdog-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/unicaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/unifrakturcook-700.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/unifrakturmaguntia-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/unkempt-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/unlock-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/unna-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/vampiroone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/varela-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/varelaround-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/vastshadow-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/vibur-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/vidaloka-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/viga-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/voces-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/volkhov-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/vollkorn-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/voltaire-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/vt323-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/waitingforthesunrise-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/wallpoet-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/walterturncoat-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/warnes-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/wellfleet-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/wendyone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/wireone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/yanonekaffeesatz-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/yellowtail-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/yesevaone-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/yesteryear-regular.png
ADDED
Binary file
|
classes/styles-font-menu/styles-fonts/png/zeyada-regular.png
ADDED
Binary file
|
classes/styles-font-menu/views/menu.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Load Google Fonts and scripts only once and as late as possible
|
3 |
+
$this->print_scripts();
|
4 |
+
|
5 |
+
// Passed arguments: do_action( 'styles_font_menu', $attributes, $value );
|
6 |
+
?>
|
7 |
+
|
8 |
+
<select <?php echo $attributes ?> class="<?php echo $this->menu_class ?>" data-selected="<?php esc_attr_e( $value ) ?>" data-placeholder="Select a Font...">
|
9 |
+
<option value=""></option>
|
10 |
+
|
11 |
+
<optgroup label="Standard Fonts">
|
12 |
+
<?php foreach ( $this->standard_fonts->fonts as $font ): ?>
|
13 |
+
<option class="sf <?php echo $font->classname ?>" value="<?php esc_attr_e( $font ) ?>"><?php echo $font->name ?></option>
|
14 |
+
<?php endforeach; ?>
|
15 |
+
</optgroup>
|
16 |
+
|
17 |
+
<?php /*
|
18 |
+
Google Fonts loaded by styles-font-menu.js
|
19 |
+
|
20 |
+
This is done for performance reasons. The list is 600+ fonts.
|
21 |
+
In cases where the dropdown is used multiple times on one page,
|
22 |
+
outputting the HTML server-side can result in a page of several megabytes.
|
23 |
+
|
24 |
+
This avoids that by outputting the list once in javascript,
|
25 |
+
then building the menus with javascript on the client-side.
|
26 |
+
*/ ?>
|
27 |
+
</select>
|
classes/styles-font-menu/views/readme.php
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="wrap" id="styles-font-menu-readme">
|
2 |
+
|
3 |
+
<?php screen_icon(); ?>
|
4 |
+
<h2><?php _e('Font Menu', 'styles-font-menu'); ?></h2>
|
5 |
+
|
6 |
+
<p><a href="#" id="generate-previews">Generate Missing Font Previews</a></p>
|
7 |
+
|
8 |
+
<h3 class="example-output">Example output</h3>
|
9 |
+
<p><?php do_action( 'styles_font_menu' ); ?></p>
|
10 |
+
|
11 |
+
<?php echo Markdown( file_get_contents( dirname( dirname( __FILE__ ) ) . '/readme.md' ) ); ?>
|
12 |
+
|
13 |
+
|
14 |
+
</div>
|
15 |
+
|
16 |
+
<script>
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Change heading font-family on menu change event
|
20 |
+
*/
|
21 |
+
(function($){
|
22 |
+
|
23 |
+
var $headings = $( 'h2,h3', '#styles-font-menu-readme' );
|
24 |
+
|
25 |
+
$('select.sfm').change( function(){
|
26 |
+
$(this).data('stylesFontDropdown').preview_font_change( $headings );
|
27 |
+
});
|
28 |
+
|
29 |
+
})(jQuery);
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Generate Font Previews
|
33 |
+
*/
|
34 |
+
(function($){
|
35 |
+
|
36 |
+
var preview_gen = {
|
37 |
+
"max_connections": 6,
|
38 |
+
"google_fonts": [],
|
39 |
+
"done": false,
|
40 |
+
|
41 |
+
"init": function(){
|
42 |
+
$.each( styles_google_options.fonts, function( index, font ){
|
43 |
+
// Only generate missing previews
|
44 |
+
if ( undefined === font.png_url ) {
|
45 |
+
preview_gen.google_fonts.push( font.name )
|
46 |
+
}
|
47 |
+
});
|
48 |
+
|
49 |
+
$('#generate-previews').click( function(){
|
50 |
+
for (var i = 0; i < preview_gen.max_connections; i++ ) {
|
51 |
+
preview_gen.generate_preview();
|
52 |
+
};
|
53 |
+
return false;
|
54 |
+
} );
|
55 |
+
|
56 |
+
// Testing
|
57 |
+
// setTimeout( function(){ $('#generate-previews').click(); }, 500 );
|
58 |
+
},
|
59 |
+
|
60 |
+
"generate_preview": function(){
|
61 |
+
|
62 |
+
if ( preview_gen.done ) {
|
63 |
+
return;
|
64 |
+
}
|
65 |
+
|
66 |
+
if ( 0 == preview_gen.google_fonts.length && !preview_gen.done ) {
|
67 |
+
preview_gen.done = true;
|
68 |
+
$('#generate-previews').after( '<p>Done</p>' );
|
69 |
+
return;
|
70 |
+
}
|
71 |
+
|
72 |
+
var name = preview_gen.google_fonts.pop(),
|
73 |
+
$status_text;
|
74 |
+
|
75 |
+
$status_text = $( '<p>Generating ' + name + '<br/></p>' );
|
76 |
+
$('#generate-previews').after( $status_text );
|
77 |
+
|
78 |
+
$.get( styles_google_options.admin_ajax, {
|
79 |
+
"action": "styles-font-preview",
|
80 |
+
"font-family": name
|
81 |
+
}, function( data, textStatus, jqXHR ){
|
82 |
+
|
83 |
+
var img = $('<img>').attr( 'src', data ).addClass('sfm-preview');
|
84 |
+
|
85 |
+
$status_text.append( img );
|
86 |
+
|
87 |
+
preview_gen.generate_preview();
|
88 |
+
|
89 |
+
} );
|
90 |
+
}
|
91 |
+
|
92 |
+
}
|
93 |
+
|
94 |
+
preview_gen.init();
|
95 |
+
|
96 |
+
})(jQuery);
|
97 |
+
|
98 |
+
/**
|
99 |
+
* Modify readme.md content:
|
100 |
+
* - Hide directions on how to get to this page
|
101 |
+
* - Hide menu screenshot (live demo displayed above)
|
102 |
+
*/
|
103 |
+
(function($){
|
104 |
+
|
105 |
+
// Remove image of example output
|
106 |
+
$('h3.example-output').nextAll('h2').first().remove();
|
107 |
+
$('img[src*="example-output.gif"]').remove();
|
108 |
+
|
109 |
+
// Remove directions on how to get to this demo
|
110 |
+
var $demo = $('h2:contains(Live Demo)');
|
111 |
+
$demo.nextUntil('h2').remove();
|
112 |
+
$demo.remove();
|
113 |
+
|
114 |
+
})(jQuery);
|
115 |
+
|
116 |
+
</script>
|
classes/styles-plugin.php
CHANGED
@@ -4,6 +4,11 @@
|
|
4 |
* Plugin wrapper
|
5 |
**/
|
6 |
class Styles_Plugin {
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
/**
|
9 |
* Plugin Version
|
@@ -13,16 +18,6 @@ class Styles_Plugin {
|
|
13 |
* @var string
|
14 |
**/
|
15 |
var $version = '1.0.18';
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Plugin DB version
|
19 |
-
*
|
20 |
-
* Holds the current plugin database version.
|
21 |
-
* Not the same as the current plugin version.
|
22 |
-
*
|
23 |
-
* @var string
|
24 |
-
**/
|
25 |
-
var $db_version = '1.0';
|
26 |
|
27 |
/**
|
28 |
* @var Styles_CSS
|
@@ -39,6 +34,11 @@ class Styles_Plugin {
|
|
39 |
*/
|
40 |
var $admin;
|
41 |
|
|
|
|
|
|
|
|
|
|
|
42 |
/**
|
43 |
* @var Styles_Child
|
44 |
*/
|
@@ -51,7 +51,33 @@ class Styles_Plugin {
|
|
51 |
*/
|
52 |
var $body_class = 'styles';
|
53 |
|
|
|
|
|
|
|
54 |
public function __construct() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
require_once dirname( __FILE__ ) . '/styles-helpers.php';
|
57 |
|
@@ -92,8 +118,12 @@ class Styles_Plugin {
|
|
92 |
if ( !is_a( $this->admin, 'Styles_Admin') ) {
|
93 |
|
94 |
require_once dirname( __FILE__ ) . '/styles-admin.php';
|
|
|
95 |
|
96 |
$this->admin = new Styles_Admin( $this );
|
|
|
|
|
|
|
97 |
}
|
98 |
}
|
99 |
|
@@ -171,6 +201,23 @@ class Styles_Plugin {
|
|
171 |
return $classes;
|
172 |
}
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
/**
|
175 |
* Increase memory limit; for logged-in users only.
|
176 |
* Not the same as increasing memory *usage*.
|
4 |
* Plugin wrapper
|
5 |
**/
|
6 |
class Styles_Plugin {
|
7 |
+
|
8 |
+
/**
|
9 |
+
* @var Styles_Plugin Instance of this class.
|
10 |
+
*/
|
11 |
+
private static $instance = false;
|
12 |
|
13 |
/**
|
14 |
* Plugin Version
|
18 |
* @var string
|
19 |
**/
|
20 |
var $version = '1.0.18';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
/**
|
23 |
* @var Styles_CSS
|
34 |
*/
|
35 |
var $admin;
|
36 |
|
37 |
+
/**
|
38 |
+
* @var Styles_Upgrade
|
39 |
+
*/
|
40 |
+
var $upgrade;
|
41 |
+
|
42 |
/**
|
43 |
* @var Styles_Child
|
44 |
*/
|
51 |
*/
|
52 |
var $body_class = 'styles';
|
53 |
|
54 |
+
/**
|
55 |
+
* Don't use this. Use ::get_instance() instead.
|
56 |
+
*/
|
57 |
public function __construct() {
|
58 |
+
if ( !self::$instance ) {
|
59 |
+
$message = '<code>' . __CLASS__ . '</code> is a singleton.<br/> Please get an instantiate it with <code>' . __CLASS__ . '::get_instance();</code>';
|
60 |
+
wp_die( $message );
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Maybe instantiate, then return instance of this class.
|
66 |
+
* @return Styles_Plugin Controller instance.
|
67 |
+
*/
|
68 |
+
public static function get_instance() {
|
69 |
+
if ( !is_a( self::$instance, __CLASS__ ) ) {
|
70 |
+
self::$instance = true;
|
71 |
+
self::$instance = new self();
|
72 |
+
self::$instance->init();
|
73 |
+
}
|
74 |
+
return self::$instance;
|
75 |
+
}
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Initial setup. Called by get_instance.
|
79 |
+
*/
|
80 |
+
protected function init() {
|
81 |
|
82 |
require_once dirname( __FILE__ ) . '/styles-helpers.php';
|
83 |
|
118 |
if ( !is_a( $this->admin, 'Styles_Admin') ) {
|
119 |
|
120 |
require_once dirname( __FILE__ ) . '/styles-admin.php';
|
121 |
+
require_once dirname( __FILE__ ) . '/styles-upgrade.php';
|
122 |
|
123 |
$this->admin = new Styles_Admin( $this );
|
124 |
+
|
125 |
+
$this->upgrade = new Styles_Upgrade();
|
126 |
+
add_action( 'admin_init', array( $this->upgrade, 'maybe_upgrade' ) );
|
127 |
}
|
128 |
}
|
129 |
|
201 |
return $classes;
|
202 |
}
|
203 |
|
204 |
+
public function get_option( $key = 'version' ) {
|
205 |
+
$options = get_option( 'storm-styles' );
|
206 |
+
if ( isset( $options[ $key ] ) ) {
|
207 |
+
return $options[ $key ];
|
208 |
+
}else {
|
209 |
+
return false;
|
210 |
+
}
|
211 |
+
}
|
212 |
+
|
213 |
+
public function set_option( $key, $value ) {
|
214 |
+
$options = get_option( 'storm-styles' );
|
215 |
+
|
216 |
+
$options[ $key ] = $value;
|
217 |
+
|
218 |
+
update_option( 'storm-styles', $options );
|
219 |
+
}
|
220 |
+
|
221 |
/**
|
222 |
* Increase memory limit; for logged-in users only.
|
223 |
* Not the same as increasing memory *usage*.
|
classes/styles-upgrade.php
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Styles_Upgrade {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @var Styles_Plugin Instance of the plugin controller.
|
7 |
+
*/
|
8 |
+
var $plugin;
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Plugin DB version
|
12 |
+
*
|
13 |
+
* Holds the current plugin database version.
|
14 |
+
* Not the same as the current plugin version.
|
15 |
+
*
|
16 |
+
* @var string
|
17 |
+
**/
|
18 |
+
var $db_version = '1.1';
|
19 |
+
|
20 |
+
public function __construct() {
|
21 |
+
$this->plugin = Styles_Plugin::get_instance();
|
22 |
+
}
|
23 |
+
|
24 |
+
public function maybe_upgrade() {
|
25 |
+
if ( version_compare ( $this->plugin->get_option('db_version'), $this->db_version, '!=' ) ) {
|
26 |
+
$this->check_upgrade();
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Check if an upgrade is needed
|
32 |
+
*
|
33 |
+
* @return none
|
34 |
+
*/
|
35 |
+
public function check_upgrade() {
|
36 |
+
|
37 |
+
if ( $this->version_compare( array( '1.1.0' => '<' ) ) ) {
|
38 |
+
|
39 |
+
// Upgrades for versions below 1.1.0
|
40 |
+
require_once dirname(__FILE__) . '/upgrade/1.1.0.php';
|
41 |
+
|
42 |
+
// Check for additional upgrade
|
43 |
+
$this->check_upgrade();
|
44 |
+
|
45 |
+
} //else if ( $this->version_compare ( array( '0.5.0' => '>', 'X.Y.Z' => '<' ) ) ) {}
|
46 |
+
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Compare Versions
|
51 |
+
*
|
52 |
+
* @author Matt Martz <matt@sivel.net>
|
53 |
+
* @param array Array of the version you want to compare to the version stored in the database as the key and the operator as the value
|
54 |
+
* @return bool
|
55 |
+
*/
|
56 |
+
function version_compare ( $versions ) {
|
57 |
+
foreach ( $versions as $version => $operator ) {
|
58 |
+
if ( version_compare ( $this->plugin->get_option('db_version'), $version, $operator ) )
|
59 |
+
$response = true;
|
60 |
+
else
|
61 |
+
$response = false;
|
62 |
+
}
|
63 |
+
return $response;
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Used by child upgrade scripts to iterate over all sites in network.
|
68 |
+
* @return void
|
69 |
+
*/
|
70 |
+
public function upgrade_network() {
|
71 |
+
global $wpdb;
|
72 |
+
|
73 |
+
if( is_multisite() ){
|
74 |
+
|
75 |
+
$blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
|
76 |
+
|
77 |
+
foreach( (array) $blog_ids as $id ) {
|
78 |
+
switch_to_blog( $id );
|
79 |
+
$this->upgrade_site();
|
80 |
+
restore_current_blog();
|
81 |
+
}
|
82 |
+
}else {
|
83 |
+
|
84 |
+
$this->upgrade_site();
|
85 |
+
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
public function backup_before_upgrade( $option_key, $before_version ) {
|
90 |
+
|
91 |
+
$old_options = get_option( $option_key );
|
92 |
+
|
93 |
+
set_transient(
|
94 |
+
"$option_key-pre-$before_version",
|
95 |
+
$old_options,
|
96 |
+
30 * (60*60*24) // 30 * (1 day)
|
97 |
+
);
|
98 |
+
|
99 |
+
return $old_options;
|
100 |
+
|
101 |
+
}
|
102 |
+
|
103 |
+
}
|
classes/upgrade/1.1.0.php
ADDED
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Upgrades from versions below 1.1.0
|
4 |
+
*/
|
5 |
+
|
6 |
+
new Styles_Upgrade_1_1_0();
|
7 |
+
|
8 |
+
class Styles_Upgrade_1_1_0 extends Styles_Upgrade {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* New version number to set when this upgrade is over.
|
12 |
+
* This must be correct, or the updater will run in an infinite loop.
|
13 |
+
*
|
14 |
+
* @var string
|
15 |
+
*/
|
16 |
+
const NEW_DB_VERSION = '1.1.0';
|
17 |
+
|
18 |
+
/**
|
19 |
+
* @var array Options before the upgrade scripts.
|
20 |
+
*/
|
21 |
+
var $old_options;
|
22 |
+
|
23 |
+
/**
|
24 |
+
* @var SFM_Plugin Instance of Styles Font Menu
|
25 |
+
*/
|
26 |
+
var $font_menu;
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Fonts found in settings, but not found in Standard or Google Fonts.
|
30 |
+
* Likely non-latin fonts.
|
31 |
+
*
|
32 |
+
* @var array
|
33 |
+
*/
|
34 |
+
var $unrecognized_fonts = array();
|
35 |
+
|
36 |
+
function __construct() {
|
37 |
+
parent::__construct();
|
38 |
+
|
39 |
+
require_once dirname( dirname( __FILE__ ) ) . '/styles-font-menu/plugin.php';
|
40 |
+
$this->font_menu = SFM_Plugin::get_instance();
|
41 |
+
|
42 |
+
add_action( 'admin_notices', array( $this, 'admin_notices' ) );
|
43 |
+
|
44 |
+
// Defined in parent class.
|
45 |
+
// Runs $this->upgrade_site() on single site or all sites in network.
|
46 |
+
$this->upgrade_network();
|
47 |
+
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Find all theme options in this site and run updates
|
52 |
+
* @return void
|
53 |
+
*/
|
54 |
+
public function upgrade_site() {
|
55 |
+
global $wpdb;
|
56 |
+
|
57 |
+
$plugin = Styles_Plugin::get_instance();
|
58 |
+
|
59 |
+
// Get option keys for all Styles theme settings
|
60 |
+
$query = "SELECT option_name
|
61 |
+
FROM $wpdb->options
|
62 |
+
WHERE option_name LIKE 'storm-styles-%'
|
63 |
+
AND option_name NOT LIKE 'storm-styles-%-css'
|
64 |
+
";
|
65 |
+
|
66 |
+
$option_keys = $wpdb->get_col( $query );
|
67 |
+
|
68 |
+
foreach( $option_keys as $option_key ) {
|
69 |
+
|
70 |
+
$this->old_options = $this->backup_before_upgrade( $option_key, '1.1.0' );
|
71 |
+
|
72 |
+
$this->upgrade_font_families( $option_key );
|
73 |
+
}
|
74 |
+
|
75 |
+
// This must be updated to avoid the updater running in an infinite loop
|
76 |
+
$plugin->set_option( 'db_version', self::NEW_DB_VERSION );
|
77 |
+
}
|
78 |
+
|
79 |
+
/**
|
80 |
+
* Upgrade text controls to use new JSON format from styles-font-menu
|
81 |
+
* @param string $option_key Option key in wp_options
|
82 |
+
* @return void
|
83 |
+
*/
|
84 |
+
public function upgrade_font_families( $option_key ) {
|
85 |
+
|
86 |
+
$groups = get_option( $option_key );
|
87 |
+
|
88 |
+
foreach( $groups as $group_id => &$fields ) {
|
89 |
+
foreach( $fields as $field_id => &$values ) {
|
90 |
+
|
91 |
+
if(
|
92 |
+
'_text' !== substr( $field_id, -5 ) // Only process text fields
|
93 |
+
|| !isset( $values['font_family'] ) // Avoid notice that should never happen
|
94 |
+
|| empty( $values['font_family'] ) // Skip empty fields
|
95 |
+
) {
|
96 |
+
continue;
|
97 |
+
}
|
98 |
+
|
99 |
+
$new_font_family = $this->upgrade_standard_fonts( $values );
|
100 |
+
|
101 |
+
// If no Standard Font found, check Google Fonts
|
102 |
+
if ( empty( $new_font_family ) ) {
|
103 |
+
$new_font_family = $this->upgrade_google_fonts( $values );
|
104 |
+
}
|
105 |
+
|
106 |
+
if ( false === $new_font_family && !empty( $values['font_family'] ) ) {
|
107 |
+
|
108 |
+
$this->unrecognized_fonts[] = $values['font_family'];
|
109 |
+
|
110 |
+
}
|
111 |
+
|
112 |
+
$values['font_family'] = $new_font_family;
|
113 |
+
|
114 |
+
}
|
115 |
+
}
|
116 |
+
|
117 |
+
update_option( $option_key, $groups );
|
118 |
+
}
|
119 |
+
|
120 |
+
public function upgrade_standard_fonts( $values ) {
|
121 |
+
$standard_fonts = $this->font_menu->standard_fonts->get_fonts();
|
122 |
+
foreach( $standard_fonts as $font ) {
|
123 |
+
if ( $values['font_family'] == $font->name ) {
|
124 |
+
|
125 |
+
return $font->__tostring();
|
126 |
+
|
127 |
+
}
|
128 |
+
}
|
129 |
+
|
130 |
+
return false;
|
131 |
+
}
|
132 |
+
|
133 |
+
public function upgrade_google_fonts( $values ) {
|
134 |
+
$google_fonts = $this->font_menu->google_fonts->get_fonts();
|
135 |
+
|
136 |
+
foreach( $google_fonts as $font ) {
|
137 |
+
if ( $values['font_family'] == $font->name ) {
|
138 |
+
|
139 |
+
return $font->__tostring();
|
140 |
+
|
141 |
+
}
|
142 |
+
}
|
143 |
+
|
144 |
+
return false;
|
145 |
+
}
|
146 |
+
|
147 |
+
public function admin_notices() {
|
148 |
+
if ( !empty( $this->unrecognized_fonts ) ) {
|
149 |
+
$fonts = implode( ', ', $this->unrecognized_fonts );
|
150 |
+
?>
|
151 |
+
<div class="updated">
|
152 |
+
<p>
|
153 |
+
<?php _e( 'These fonts were not able to be upgraded:', 'styles' ); ?>
|
154 |
+
<br/>
|
155 |
+
<code><?php echo $fonts ?></code>
|
156 |
+
</p>
|
157 |
+
<p>
|
158 |
+
<?php _e( 'Sorry for the inconvenience. Only Latin fonts are supported in this version of Styles. Please use another font.', 'styles' ); ?>
|
159 |
+
</p>
|
160 |
+
</div>
|
161 |
+
<?php
|
162 |
+
}
|
163 |
+
}
|
164 |
+
|
165 |
+
}
|
css/styles-customize.css
CHANGED
@@ -10,25 +10,12 @@ span.styles-type {
|
|
10 |
/* Styles_Customize_Text_Control */
|
11 |
|
12 |
#customize-controls input.styles-font-size {
|
13 |
-
width:
|
14 |
}
|
15 |
|
16 |
-
.
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
.styles-font-family option.label {
|
21 |
-
font-family: Helvetica, Arial, sans-serif;
|
22 |
-
font-size: 11px;
|
23 |
-
color: #666;
|
24 |
-
font-style: normal;
|
25 |
-
font-weight: normal;
|
26 |
-
text-indent: 0;
|
27 |
-
margin-top: 10px;
|
28 |
-
}
|
29 |
-
|
30 |
-
.styles-font-family option.first {
|
31 |
-
margin-top: 0;
|
32 |
}
|
33 |
|
34 |
/* Notices */
|
@@ -36,7 +23,6 @@ span.styles-type {
|
|
36 |
background: #FFFFDF;
|
37 |
}
|
38 |
|
39 |
-
|
40 |
/* Subsection */
|
41 |
|
42 |
/*
|
10 |
/* Styles_Customize_Text_Control */
|
11 |
|
12 |
#customize-controls input.styles-font-size {
|
13 |
+
width: 40px;
|
14 |
}
|
15 |
|
16 |
+
.sfm {
|
17 |
+
width: 100% !important;
|
18 |
+
margin-top:8px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
|
21 |
/* Notices */
|
23 |
background: #FFFFDF;
|
24 |
}
|
25 |
|
|
|
26 |
/* Subsection */
|
27 |
|
28 |
/*
|
js/post-message-part-text.js
CHANGED
@@ -1,6 +1,20 @@
|
|
1 |
wp.customize( '@setting_font_size@', function( value ) {
|
2 |
value.bind( function( newval ) {
|
3 |
-
if ( false
|
4 |
$('@selector@').css('font-size', newval );
|
5 |
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
} );
|
1 |
wp.customize( '@setting_font_size@', function( value ) {
|
2 |
value.bind( function( newval ) {
|
3 |
+
if ( false === newval ) { newval = ''; }else { newval = newval + 'px'; }
|
4 |
$('@selector@').css('font-size', newval );
|
5 |
} );
|
6 |
+
} );
|
7 |
+
|
8 |
+
wp.customize( '@setting_font_family@', function( value ) {
|
9 |
+
value.bind( function( newval ) {
|
10 |
+
var font = JSON.parse( newval );
|
11 |
+
|
12 |
+
if ( undefined !== font.import_family ) {
|
13 |
+
var template = "@import url(//fonts.googleapis.com/css?family=@import_family@);/r";
|
14 |
+
var atImport = template.replace( '@import_family@', font.import_family );
|
15 |
+
$( '<style>' ).append( atImport ).appendTo( 'head' );
|
16 |
+
}
|
17 |
+
|
18 |
+
$('@selector@').css('font-family', font.family );
|
19 |
+
} );
|
20 |
} );
|
js/styles-customize-controls.js
CHANGED
@@ -42,22 +42,16 @@ jQuery( document ).ready( function ( $ ) {
|
|
42 |
});
|
43 |
}
|
44 |
|
45 |
-
|
46 |
/**
|
47 |
-
*
|
48 |
-
*
|
49 |
*/
|
50 |
-
function
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
google_options += "<option value='" + name + "'>" + name + "</option>";
|
56 |
-
});
|
57 |
-
|
58 |
-
$( 'select.styles-font-family' ).append( google_options ).each( function(){
|
59 |
-
var selected = $(this).data('selected');
|
60 |
-
$(this).find( 'option[value="' + selected + '"]' ).attr('selected', 'selected');
|
61 |
} );
|
62 |
}
|
63 |
|
42 |
});
|
43 |
}
|
44 |
|
45 |
+
chosen_fix_overflow();
|
46 |
/**
|
47 |
+
* Set overflow and height on section wrapping font menu
|
48 |
+
* Allows menu to spill out without messing up rest of layout
|
49 |
*/
|
50 |
+
function chosen_fix_overflow() {
|
51 |
+
$('select.sfm').bind( 'chosen:showing_dropdown', function(){
|
52 |
+
var $wrapper = $(this).parent().parent();
|
53 |
+
$wrapper.css( 'height', $wrapper.height() +'px' );
|
54 |
+
$wrapper.css('overflow', 'visible');
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
} );
|
56 |
}
|
57 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Author URI: http://brainstormmedia.com
|
|
5 |
Tags: css, stylesheet, appearance, customize, customizer, colors, color picker, background, fonts, google fonts, user interface, twenty ten, twenty eleven, twenty twelve, twenty thirteen
|
6 |
Requires at least: 3.4
|
7 |
Tested up to: 3.6
|
8 |
-
Stable tag: 1.
|
9 |
|
10 |
Be creative with colors and fonts. Styles changes everything.
|
11 |
|
@@ -21,7 +21,7 @@ http://youtube.com/watch?v=CpKiZEqpcr8
|
|
21 |
|
22 |
* Instant previews
|
23 |
* Text size
|
24 |
-
* Google Fonts
|
25 |
* Text colors
|
26 |
* Border colors
|
27 |
* Background colors
|
@@ -60,8 +60,9 @@ Styles and options for all built-in WordPress themes are free. More themes are a
|
|
60 |
== Screenshots ==
|
61 |
|
62 |
1. TwentyEleven header settings.
|
63 |
-
|
64 |
-
|
|
|
65 |
|
66 |
== Frequently Asked Questions ==
|
67 |
|
@@ -90,6 +91,16 @@ No! Styles is very careful about only loading what is needed to get its job done
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
= 1.0.18 =
|
94 |
|
95 |
* Fix: Revert [settings change made in 1.0.15](https://github.com/stylesplugin/styles/commit/bb723d489f8f91fee6b15ec4dcf03df8dfebcee3). This was causing some users to no longer see their old settings.
|
@@ -222,4 +233,12 @@ No! Styles is very careful about only loading what is needed to get its job done
|
|
222 |
|
223 |
== Upgrade Notice ==
|
224 |
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
Tags: css, stylesheet, appearance, customize, customizer, colors, color picker, background, fonts, google fonts, user interface, twenty ten, twenty eleven, twenty twelve, twenty thirteen
|
6 |
Requires at least: 3.4
|
7 |
Tested up to: 3.6
|
8 |
+
Stable tag: 1.1
|
9 |
|
10 |
Be creative with colors and fonts. Styles changes everything.
|
11 |
|
21 |
|
22 |
* Instant previews
|
23 |
* Text size
|
24 |
+
* Google Fonts with previews and search
|
25 |
* Text colors
|
26 |
* Border colors
|
27 |
* Background colors
|
60 |
== Screenshots ==
|
61 |
|
62 |
1. TwentyEleven header settings.
|
63 |
+
1. Google Fonts with preview and search.
|
64 |
+
1. All TwentyEleven sections.
|
65 |
+
1. TwentyEleven menu settings.
|
66 |
|
67 |
== Frequently Asked Questions ==
|
68 |
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 1.1 =
|
95 |
+
|
96 |
+
* New: Previews in font menu. [View screenshot](https://raw.github.com/stylesplugin/styles-font-dropdown/master/img/example-output.gif?v3).
|
97 |
+
* New: Search to filter font list.
|
98 |
+
* New: Updated Google Fonts.
|
99 |
+
* New: Google Fonts update in preview without page reload.
|
100 |
+
* New: Simplified plugin loader with nice notices for old WordPress versions.
|
101 |
+
* New: Update scripts to convert old font format to new format.
|
102 |
+
* Note: The update is well-tested, but in case of any issues, the upgrade script backs up old settings in `wp_options` for 30 days as `_transient_storm-styles-THEME-NAME-pre-1.1.0`.
|
103 |
+
|
104 |
= 1.0.18 =
|
105 |
|
106 |
* Fix: Revert [settings change made in 1.0.15](https://github.com/stylesplugin/styles/commit/bb723d489f8f91fee6b15ec4dcf03df8dfebcee3). This was causing some users to no longer see their old settings.
|
233 |
|
234 |
== Upgrade Notice ==
|
235 |
|
236 |
+
= 1.1 =
|
237 |
+
|
238 |
+
* New: Previews in font menu. [View screenshot](https://raw.github.com/stylesplugin/styles-font-dropdown/master/img/example-output.gif?v3).
|
239 |
+
* New: Search to filter font list.
|
240 |
+
* New: Updated Google Fonts.
|
241 |
+
* New: Google Fonts update in preview without page reload.
|
242 |
+
* New: Simplified plugin loader with nice notices for old WordPress versions.
|
243 |
+
* New: Update scripts to convert old font format to new format.
|
244 |
+
* Note: The update is well-tested, but in case of any issues, the upgrade script backs up old settings in `wp_options` for 30 days as `_transient_storm-styles-THEME-NAME-pre-1.1.0`.
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
screenshot-4.png
ADDED
Binary file
|
styles.php
CHANGED
@@ -3,46 +3,35 @@
|
|
3 |
Plugin Name: Styles
|
4 |
Plugin URI: http://stylesplugin.com
|
5 |
Description: Change the appearance of your theme using the <a href="customize.php">WordPress Customizer</a>. Styles changes everything.
|
6 |
-
Version: 1.
|
7 |
Author: Brainstorm Media
|
8 |
Author URI: http://brainstormmedia.com
|
|
|
|
|
9 |
*/
|
10 |
|
11 |
-
|
12 |
-
* Copyright 2013 Brainstorm Media
|
13 |
-
*
|
14 |
-
* This program is free software; you can redistribute it and/or modify
|
15 |
-
* it under the terms of the GNU General Public License as published by
|
16 |
-
* the Free Software Foundation; either version 2 of the License, or
|
17 |
-
* (at your option) any later version.
|
18 |
-
*
|
19 |
-
* This program is distributed in the hope that it will be useful,
|
20 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22 |
-
* GNU General Public License for more details.
|
23 |
-
*
|
24 |
-
* You should have received a copy of the GNU General Public License
|
25 |
-
* along with this program; if not, write to the Free Software
|
26 |
-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
27 |
-
*/
|
28 |
-
|
29 |
-
function styles_plugin_init() {
|
30 |
-
global $storm_styles;
|
31 |
-
|
32 |
-
if ( is_admin() ) {
|
33 |
-
global $wp_version;
|
34 |
-
$styles_exit_msg = esc_html__( 'Styles requires WordPress 3.4 or newer. <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update.</a>', 'styles' );
|
35 |
-
if ( version_compare( $wp_version, "3.4", "<" ) ) {
|
36 |
-
exit( $styles_exit_msg );
|
37 |
-
}
|
38 |
-
}
|
39 |
|
40 |
if ( !defined( 'STYLES_BASENAME' ) ) define( 'STYLES_BASENAME', plugin_basename( __FILE__ ) );
|
41 |
if ( !defined( 'STYLES_DIR' ) ) define( 'STYLES_DIR', dirname( __FILE__ ) );
|
42 |
|
43 |
require dirname ( __FILE__ ) . '/classes/styles-plugin.php';
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
}
|
48 |
-
add_action( 'plugins_loaded', 'styles_plugin_init' );
|
3 |
Plugin Name: Styles
|
4 |
Plugin URI: http://stylesplugin.com
|
5 |
Description: Change the appearance of your theme using the <a href="customize.php">WordPress Customizer</a>. Styles changes everything.
|
6 |
+
Version: 1.1
|
7 |
Author: Brainstorm Media
|
8 |
Author URI: http://brainstormmedia.com
|
9 |
+
License: GPLv2
|
10 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
*/
|
12 |
|
13 |
+
if ( version_compare( $GLOBALS['wp_version'], '3.4', '>=' ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
if ( !defined( 'STYLES_BASENAME' ) ) define( 'STYLES_BASENAME', plugin_basename( __FILE__ ) );
|
16 |
if ( !defined( 'STYLES_DIR' ) ) define( 'STYLES_DIR', dirname( __FILE__ ) );
|
17 |
|
18 |
require dirname ( __FILE__ ) . '/classes/styles-plugin.php';
|
19 |
+
|
20 |
+
add_action( 'plugins_loaded', 'Styles_Plugin::get_instance' );
|
21 |
+
|
22 |
+
}else if ( is_admin() ) {
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Notify user if WordPress is older than version 3.4.
|
26 |
+
* @return void
|
27 |
+
*/
|
28 |
+
function styles_wp_version_notice() {
|
29 |
+
echo sprintf(
|
30 |
+
'<div class="error"><p>%s<a href="http://codex.wordpress.org/Upgrading_WordPress">%s</a></p></div>',
|
31 |
+
__( 'Styles requires WordPress 3.4 or newer.', 'styles' ),
|
32 |
+
__( 'Please update.', 'styles' )
|
33 |
+
);
|
34 |
+
}
|
35 |
+
add_action( 'admin_notices', 'styles_wp_version_notice' );
|
36 |
|
37 |
}
|
|