PageSourceSearch

https://www.mynetball.co.nz/Content/ckeditor/sportyFontConfig.js?v=%2025-Sep-2026%2011:00%20%20(863)

js mynetball.co.nz collected 2026-09-25 09:21:31 UTC 3,563 bytes, 83 lines download raw bytes

1// Shared font list for all CKEditor 4 instances.
2// Loaded once after ckeditor.js, then each *_config.js calls CKEDITOR.sportyFontConfig.apply(config)
3// so the font dropdown is configured from a single source of truth.
4(function () {
5    if (typeof CKEDITOR === 'undefined') {
6        return;
7    }
8
9    CKEDITOR.sportyFontConfig = CKEDITOR.sportyFontConfig || {};
10
11    CKEDITOR.sportyFontConfig.apply = function (config) {
12        var amaticFont = 'Amatic SC;';
13        if ($("#createNewsletterForm").length > 0 || $("#emailDatabaseModal").length > 0) {
14            amaticFont = '';
15        }
16
17        var fontOrgId = $('#OrganisationId').val();
18        var camptonFont = fontOrgId == 23003 ? 'Campton/Campton, sans-serif;' : '';
19
20        config.font_names = amaticFont +
21            'Amasis MT W01/amasis mt w01, sans-serif;' +
22            'Amasis MT W01 Bold/amasis mt w01 bold, sans-serif;' +
23            'Amasis MT W01 Italic/amasis mt w01 italic, sans-serif;' +
24            'Amasis MT W01 Bold Italic/amasis mt w01 bold italic, sans-serif;' +
25            'Amasis MT Std Black/amasis mt std black, sans-serif;' +
26            'Amasis MT Std Black Italic/amasis mt std black italic, sans-serif;' +
27            'Amboy/amboy-black, sans-serif;' +
28            'Alverata/alverata, serif;' +
29            'Arial/Arial, Helvetica, sans-serif;' +
30            'Arial Black/Arial Black, Arial, Helvetica, sans-serif;' +
31            'Arvo;' +
32            camptonFont +
33            'Comic Sans MS/Comic Sans MS, cursive;' +
34            'Congenial/congenial,sans-serif;' +
35            'Courier New/Courier New, Courier, monospace;' +
36            'Exo2/Exo2;' +
37            'Archivo/Archivo, sans-serif;' +
38            'Georgia/Georgia, serif;' +
39            'Helvetica;' +
40            'Impact/Impact, Charcoal, sans-serif;' +
41            'Lato;' +
42            'Lato Thin/Lato Thin, Lato;' +
43            'Lucida Console/Lucida Console, Monaco, monospace;' +
44            'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
45            'Montserrat;' +
46            'MS Sans Serif/MS Sans Serif, Geneva, sans-serif;' +
47            'Nunito;' +
48            'Nunito Sans;' +
49            'Omnes/omnes-pro,sans-serif;' +
50            'Open Sans;' +
51            'Oswald;' +
52            'Palatino Linotype/Palatino Linotype,Book Antiqua,Palatino, serif;' +
53            'Playfair Display;' +
54            'Poppins Extra Bold/Poppins Extra Bold, Poppins;' +
55            'Quicksand;' +
56            'Raleway;' +
57            'Roboto/Roboto, Arial;' +
58            'Roboto Light/Roboto Light, Arial;' +
59            'Roboto Slab;' +
60            'Spectral/Spectral, sans-serif;' +
61            'Tahoma/Tahoma, Geneva, sans-serif;' +
62            'Times New Roman/Times New Roman, Times, serif;' +
63            'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
64            'Verdana/Verdana, Geneva, sans-serif;';
65
66        if (fontOrgId == 15776 || fontOrgId == 16000 || fontOrgId == 13957) {
67            config.font_names += 'Hurme Geometric Sans;';
68        }
69
70        if (fontOrgId == 22016 || fontOrgId == 15776 || fontOrgId == 22338) {
71            config.font_names += 'Bebas Neue Pro;';
72        }
73
74        if (fontOrgId == 22223 || fontOrgId == 22230) {
75            config.font_names += 'Sequel;';
76        }
77
78        if (fontOrgId == 10249) {
79            config.font_names += 'Founders Grotesk/Founders Grotesk, sans-serif;';
80            config.font_names += 'Founders Grotesk Condensed Semibold/Founders Grotesk Condensed Semibold, sans-serif;';
81        }
82    };
83})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.