kaschber 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,441 +1,2 @@
1
- a,
2
- abbr,
3
- acronym,
4
- address,
5
- applet,
6
- article,
7
- aside,
8
- audio,
9
- big,
10
- blockquote,
11
- body,
12
- canvas,
13
- caption,
14
- cite,
15
- code,
16
- dd,
17
- del,
18
- details,
19
- dfn,
20
- div,
21
- dl,
22
- dt,
23
- em,
24
- embed,
25
- fieldset,
26
- figcaption,
27
- figure,
28
- footer,
29
- form,
30
- h1,
31
- h2,
32
- h3,
33
- h4,
34
- h5,
35
- h6,
36
- header,
37
- hgroup,
38
- html,
39
- iframe,
40
- img,
41
- ins,
42
- kbd,
43
- label,
44
- legend,
45
- li,
46
- mark,
47
- menu,
48
- nav,
49
- object,
50
- ol,
51
- output,
52
- p,
53
- pre,
54
- q,
55
- ruby,
56
- s,
57
- samp,
58
- section,
59
- small,
60
- span,
61
- strike,
62
- strong,
63
- sub,
64
- summary,
65
- sup,
66
- table,
67
- tbody,
68
- td,
69
- tfoot,
70
- th,
71
- thead,
72
- time,
73
- tr,
74
- tt,
75
- ul,
76
- var,
77
- video {
78
- border: 0;
79
- font: inherit;
80
- font-size: 100%;
81
- margin: 0;
82
- padding: 0;
83
- vertical-align: baseline;
84
- }
85
- body {
86
- line-height: 1;
87
- }
88
- ol,
89
- ul {
90
- list-style: none;
91
- }
92
- blockquote,
93
- q {
94
- quotes: none;
95
- }
96
- blockquote:after,
97
- blockquote:before,
98
- q:after,
99
- q:before {
100
- content: "";
101
- content: none;
102
- }
103
- img {
104
- display: block;
105
- height: auto;
106
- max-width: 100%;
107
- }
108
- html {
109
- -ms-text-size-adjust: 100%;
110
- -webkit-text-size-adjust: 100%;
111
- box-sizing: border-box;
112
- font-family: sans-serif;
113
- }
114
- *,
115
- :after,
116
- :before {
117
- box-sizing: inherit;
118
- }
119
- a {
120
- background-color: transparent;
121
- }
122
- a:active,
123
- a:hover {
124
- outline: 0;
125
- }
126
- b,
127
- strong {
128
- font-weight: 700;
129
- }
130
- dfn,
131
- em,
132
- i {
133
- font-style: italic;
134
- }
135
- h1 {
136
- font-size: 2em;
137
- margin: 0.67em 0;
138
- }
139
- small {
140
- font-size: 80%;
141
- }
142
- sub,
143
- sup {
144
- font-size: 75%;
145
- line-height: 0;
146
- position: relative;
147
- vertical-align: baseline;
148
- }
149
- sup {
150
- top: -0.5em;
151
- }
152
- sub {
153
- bottom: -0.25em;
154
- }
155
- img {
156
- border: 0;
157
- }
158
- svg:not(:root) {
159
- overflow: hidden;
160
- }
161
- mark {
162
- background-color: #fdffb6;
163
- }
164
- code,
165
- kbd,
166
- pre,
167
- samp {
168
- font-family: monospace, monospace;
169
- font-size: 1em;
170
- }
171
- kbd {
172
- background: #f6f8fa;
173
- border: 1px solid rgba(124, 139, 154, 0.25);
174
- border-radius: 6px;
175
- box-shadow: inset 0 -1px 0 rgba(124, 139, 154, 0.25);
176
- font-family: var(--font-mono);
177
- font-size: 1.5rem;
178
- padding: 3px 5px;
179
- }
180
- @media (max-width: 600px) {
181
- kbd {
182
- font-size: 1.3rem;
183
- }
184
- }
185
- button,
186
- input,
187
- optgroup,
188
- select,
189
- textarea {
190
- color: inherit;
191
- font: inherit;
192
- margin: 0;
193
- }
194
- button {
195
- border: none;
196
- overflow: visible;
197
- }
198
- button,
199
- select {
200
- text-transform: none;
201
- }
202
- button,
203
- html input[type="button"],
204
- input[type="reset"],
205
- input[type="submit"] {
206
- -webkit-appearance: button;
207
- cursor: pointer;
208
- }
209
- button[disabled],
210
- html input[disabled] {
211
- cursor: default;
212
- }
213
- button::-moz-focus-inner,
214
- input::-moz-focus-inner {
215
- border: 0;
216
- padding: 0;
217
- }
218
- input {
219
- line-height: normal;
220
- }
221
- input:focus {
222
- outline: none;
223
- }
224
- input[type="checkbox"],
225
- input[type="radio"] {
226
- box-sizing: border-box;
227
- padding: 0;
228
- }
229
- input[type="number"]::-webkit-inner-spin-button,
230
- input[type="number"]::-webkit-outer-spin-button {
231
- height: auto;
232
- }
233
- input[type="search"] {
234
- -webkit-appearance: textfield;
235
- box-sizing: content-box;
236
- }
237
- input[type="search"]::-webkit-search-cancel-button,
238
- input[type="search"]::-webkit-search-decoration {
239
- -webkit-appearance: none;
240
- }
241
- legend {
242
- border: 0;
243
- padding: 0;
244
- }
245
- textarea {
246
- overflow: auto;
247
- }
248
- table {
249
- border-collapse: collapse;
250
- border-spacing: 0;
251
- }
252
- td,
253
- th {
254
- padding: 0;
255
- }
256
- html {
257
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
258
- font-size: 62.5%;
259
- }
260
- body {
261
- -webkit-font-smoothing: antialiased;
262
- -moz-osx-font-smoothing: grayscale;
263
- -moz-font-feature-settings: "liga" on;
264
- background: #fff;
265
- color: var(--color-darkgrey);
266
- font-family: var(--font-sans);
267
- font-size: 1.6rem;
268
- font-style: normal;
269
- font-weight: 400;
270
- letter-spacing: 0;
271
- line-height: 1.6em;
272
- text-rendering: optimizeLegibility;
273
- }
274
- ::-moz-selection {
275
- background: #daf2fd;
276
- text-shadow: none;
277
- }
278
- ::selection {
279
- background: #daf2fd;
280
- text-shadow: none;
281
- }
282
- hr {
283
- border: 0;
284
- border-top: 1px solid #f0f0f0;
285
- display: block;
286
- height: 1px;
287
- margin: 2.5em 0 3.5em;
288
- padding: 0;
289
- position: relative;
290
- width: 100%;
291
- }
292
- audio,
293
- canvas,
294
- iframe,
295
- img,
296
- svg,
297
- video {
298
- vertical-align: middle;
299
- }
300
- fieldset {
301
- border: 0;
302
- margin: 0;
303
- padding: 0;
304
- }
305
- textarea {
306
- resize: vertical;
307
- }
308
- ::not(.gh-content) blockquote,
309
- ::not(.gh-content) dl,
310
- ::not(.gh-content) ol,
311
- ::not(.gh-content) p,
312
- ::not(.gh-content) ul {
313
- margin: 0 0 1.5em;
314
- }
315
- ol,
316
- ul {
317
- padding-left: 1.3em;
318
- padding-right: 1.5em;
319
- }
320
- ol ol,
321
- ol ul,
322
- ul ol,
323
- ul ul {
324
- margin: 0.5em 0 1em;
325
- }
326
- ul {
327
- list-style: disc;
328
- }
329
- ol {
330
- list-style: decimal;
331
- }
332
- ol,
333
- ul {
334
- max-width: 100%;
335
- }
336
- li {
337
- line-height: 1.6em;
338
- padding-left: 0.3em;
339
- }
340
- li + li {
341
- margin-top: 0.5em;
342
- }
343
- dt {
344
- color: #daf2fd;
345
- float: left;
346
- font-weight: 500;
347
- margin: 0 20px 0 0;
348
- text-align: right;
349
- width: 120px;
350
- }
351
- dd {
352
- margin: 0 0 5px;
353
- text-align: left;
354
- }
355
- blockquote {
356
- border-left: #daf2fd;
357
- margin: 1.5em 0;
358
- padding: 0 1.6em;
359
- }
360
- blockquote small {
361
- display: inline-block;
362
- font-size: 0.9em;
363
- margin: 0.8em 0 0.8em 1.5em;
364
- opacity: 0.8;
365
- }
366
- blockquote small:before {
367
- content: "\2014 \00A0";
368
- }
369
- blockquote cite {
370
- font-weight: 700;
371
- }
372
- blockquote cite a {
373
- font-weight: 400;
374
- }
375
- a {
376
- color: #15171a;
377
- text-decoration: none;
378
- }
379
- h1,
380
- h2,
381
- h3,
382
- h4,
383
- h5,
384
- h6 {
385
- font-weight: 600;
386
- letter-spacing: -0.01em;
387
- line-height: 1.15;
388
- margin-top: 0;
389
- text-rendering: optimizeLegibility;
390
- }
391
- h1 {
392
- font-size: 4.8rem;
393
- font-weight: 700;
394
- letter-spacing: -0.015em;
395
- margin: 0 0 0.5em;
396
- }
397
- @media (max-width: 600px) {
398
- h1 {
399
- font-size: 2.8rem;
400
- }
401
- }
402
- h2 {
403
- font-size: 2.8rem;
404
- font-weight: 700;
405
- margin: 1.5em 0 0.5em;
406
- }
407
- @media (max-width: 600px) {
408
- h2 {
409
- font-size: 2.3rem;
410
- }
411
- }
412
- h3 {
413
- font-size: 2.4rem;
414
- font-weight: 600;
415
- margin: 1.5em 0 0.5em;
416
- }
417
- @media (max-width: 600px) {
418
- h3 {
419
- font-size: 1.7rem;
420
- }
421
- }
422
- h4 {
423
- font-size: 2rem;
424
- margin: 1.5em 0 0.5em;
425
- }
426
- @media (max-width: 600px) {
427
- h4 {
428
- font-size: 1.7rem;
429
- }
430
- }
431
- h5 {
432
- font-size: 2rem;
433
- }
434
- h5,
435
- h6 {
436
- margin: 1.5em 0 0.5em;
437
- }
438
- h6 {
439
- font-size: 1.8rem;
440
- }
441
- /*# sourceMappingURL=global.css.map */
1
+ a,abbr,acronym,address,applet,article,aside,audio,big,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,ul,var,video{border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}img{display:block;height:auto;max-width:100%}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;box-sizing:border-box;font-family:sans-serif}*,:after,:before{box-sizing:inherit}a{background-color:transparent}a:active,a:hover{outline:0}b,strong{font-weight:700}dfn,em,i{font-style:italic}h1{font-size:2em;margin:.67em 0}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}mark{background-color:#fdffb6}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}kbd{background:#f6f8fa;border:1px solid rgba(124,139,154,.25);border-radius:6px;box-shadow:inset 0 -1px 0 rgba(124,139,154,.25);font-family:var(--font-mono);font-size:1.5rem;padding:3px 5px}@media (max-width:600px){kbd{font-size:1.3rem}}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{border:none;overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input:focus{outline:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}legend{border:0;padding:0}textarea{overflow:auto}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{-webkit-tap-highlight-color:rgba(0,0,0,0);font-size:62.5%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-font-feature-settings:"liga" on;background:#fff;color:var(--color-darkgrey);font-family:var(--font-sans);font-size:1.6rem;font-style:normal;font-weight:400;letter-spacing:0;line-height:1.6em;text-rendering:optimizeLegibility}::-moz-selection{background:#daf2fd;text-shadow:none}::selection{background:#daf2fd;text-shadow:none}hr{border:0;border-top:1px solid #f0f0f0;display:block;height:1px;margin:2.5em 0 3.5em;padding:0;position:relative;width:100%}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}::not(.gh-content) blockquote,::not(.gh-content) dl,::not(.gh-content) ol,::not(.gh-content) p,::not(.gh-content) ul{margin:0 0 1.5em}ol,ul{padding-left:1.3em;padding-right:1.5em}ol ol,ol ul,ul ol,ul ul{margin:.5em 0 1em}ul{list-style:disc}ol{list-style:decimal}ol,ul{max-width:100%}li{line-height:1.6em;padding-left:.3em}li+li{margin-top:.5em}dt{color:#daf2fd;float:left;font-weight:500;margin:0 20px 0 0;text-align:right;width:120px}dd{margin:0 0 5px;text-align:left}blockquote{border-left:#daf2fd;margin:1.5em 0;padding:0 1.6em}blockquote small{display:inline-block;font-size:.9em;margin:.8em 0 .8em 1.5em;opacity:.8}blockquote small:before{content:"\2014 \00A0"}blockquote cite{font-weight:700}blockquote cite a{font-weight:400}a{color:#15171a;text-decoration:none}h1,h2,h3,h4,h5,h6{font-weight:600;letter-spacing:-.01em;line-height:1.15;margin-top:0;text-rendering:optimizeLegibility}h1{font-size:4.8rem;font-weight:700;letter-spacing:-.015em;margin:0 0 .5em}@media (max-width:600px){h1{font-size:2.8rem}}h2{font-size:2.8rem;font-weight:700;margin:1.5em 0 .5em}@media (max-width:600px){h2{font-size:2.3rem}}h3{font-size:2.4rem;font-weight:600;margin:1.5em 0 .5em}@media (max-width:600px){h3{font-size:1.7rem}}h4{font-size:2rem;margin:1.5em 0 .5em}@media (max-width:600px){h4{font-size:1.7rem}}h5{font-size:2rem}h5,h6{margin:1.5em 0 .5em}h6{font-size:1.8rem}
2
+ /*# sourceMappingURL=global.css.map */
@@ -1,119 +1,2 @@
1
- !(function (o) {
2
- "use strict";
3
- (o.fn.fitVids = function (e) {
4
- var t,
5
- i,
6
- n = { customSelector: null, ignore: null };
7
- return (
8
- document.getElementById("fit-vids-style") ||
9
- ((t = document.head || document.getElementsByTagName("head")[0]),
10
- ((i = document.createElement("div")).innerHTML =
11
- '<p>x</p><style id="fit-vids-style">.fluid-width-video-container{flex-grow: 1;width:100%;}.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>'),
12
- t.appendChild(i.childNodes[1])),
13
- e && o.extend(n, e),
14
- this.each(function () {
15
- var e = [
16
- 'iframe[src*="player.vimeo.com"]',
17
- 'iframe[src*="youtube.com"]',
18
- 'iframe[src*="youtube-nocookie.com"]',
19
- 'iframe[src*="kickstarter.com"][src*="video.html"]',
20
- "object",
21
- "embed",
22
- ],
23
- r = (n.customSelector && e.push(n.customSelector), ".fitvidsignore"),
24
- e =
25
- (n.ignore && (r = r + ", " + n.ignore), o(this).find(e.join(",")));
26
- (e = (e = e.not("object object")).not(r)).each(function () {
27
- var e,
28
- t,
29
- i = o(this);
30
- 0 < i.parents(r).length ||
31
- ("embed" === this.tagName.toLowerCase() &&
32
- i.parent("object").length) ||
33
- i.parent(".fluid-width-video-wrapper").length ||
34
- (i.css("height") ||
35
- i.css("width") ||
36
- (!isNaN(i.attr("height")) && !isNaN(i.attr("width"))) ||
37
- (i.attr("height", 9), i.attr("width", 16)),
38
- (e =
39
- ("object" === this.tagName.toLowerCase() ||
40
- (i.attr("height") && !isNaN(parseInt(i.attr("height"), 10)))
41
- ? parseInt(i.attr("height"), 10)
42
- : i.height()) /
43
- (isNaN(parseInt(i.attr("width"), 10))
44
- ? i.width()
45
- : parseInt(i.attr("width"), 10))),
46
- i.attr("name") ||
47
- ((t = "fitvid" + o.fn.fitVids._count),
48
- i.attr("name", t),
49
- o.fn.fitVids._count++),
50
- i
51
- .wrap(
52
- '<div class="fluid-width-video-container"><div class="fluid-width-video-wrapper"></div></div>'
53
- )
54
- .parent(".fluid-width-video-wrapper")
55
- .css("padding-top", 100 * e + "%"),
56
- i.removeAttr("height").removeAttr("width"));
57
- });
58
- })
59
- );
60
- }),
61
- (o.fn.fitVids._count = 0);
62
- })(window.jQuery || window.Zepto),
63
- (function (t, i) {
64
- var r,
65
- n,
66
- o,
67
- d,
68
- s,
69
- a,
70
- c,
71
- l = i.querySelector("link[rel=next]");
72
- function h() {
73
- var e;
74
- 404 === this.status
75
- ? (t.removeEventListener("scroll", p),
76
- t.removeEventListener("resize", m))
77
- : (this.response
78
- .querySelectorAll("article.post-card")
79
- .forEach(function (e) {
80
- r.appendChild(i.importNode(e, !0));
81
- }),
82
- (e = this.response.querySelector("link[rel=next]"))
83
- ? (l.href = e.href)
84
- : (t.removeEventListener("scroll", p),
85
- t.removeEventListener("resize", m)),
86
- (c = i.documentElement.scrollHeight),
87
- (d = o = !1));
88
- }
89
- function e() {
90
- var e;
91
- d ||
92
- (s + a <= c - n
93
- ? (o = !1)
94
- : ((d = !0),
95
- ((e = new t.XMLHttpRequest()).responseType = "document"),
96
- e.addEventListener("load", h),
97
- e.open("GET", l.href),
98
- e.send(null)));
99
- }
100
- function u() {
101
- o || t.requestAnimationFrame(e), (o = !0);
102
- }
103
- function p() {
104
- (s = t.scrollY), u();
105
- }
106
- function m() {
107
- (a = t.innerHeight), (c = i.documentElement.scrollHeight), u();
108
- }
109
- l &&
110
- (r = i.querySelector(".post-feed")) &&
111
- ((d = o = !(n = 300)),
112
- (s = t.scrollY),
113
- (a = t.innerHeight),
114
- (c = i.documentElement.scrollHeight),
115
- t.addEventListener("scroll", p, { passive: !0 }),
116
- t.addEventListener("resize", m),
117
- u());
118
- })(window, document);
119
- //# sourceMappingURL=kaschber.js.map
1
+ !function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var r=i[o];n&&n[r]&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(t,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function r(e,t){for(var i in t)e[i]=t[i];return e}function s(e,t,i){var n,o;return this instanceof s?(n="string"==typeof(n=e)?document.querySelectorAll(e):n)?(this.elements=(o=n,Array.isArray(o)?o:"object"==typeof o&&"number"==typeof o.length?h.call(o):[o]),this.options=r({},this.options),"function"==typeof t?i=t:r(this.options,t),i&&this.on("always",i),this.getImages(),d&&(this.jqDeferred=new d.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(n||e)):new s(e,t,i)}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var d=t.jQuery,a=t.console,h=Array.prototype.slice,c=((s.prototype=Object.create(e.prototype)).options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var r=e.querySelectorAll(this.options.background),n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}},{1:!0,9:!0,11:!0});return s.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},s.prototype.addImage=function(e){e=new i(e);this.images.push(e)},s.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},s.prototype.check=function(){function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},s.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((d=e).fn.imagesLoaded=function(e,t){return new s(this,e,t).jqDeferred.promise(d(this))})})(),s}),function(r){"use strict";r.fn.fitVids=function(e){var t,i,o={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(t=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-container{flex-grow: 1;width:100%;}.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',t.appendChild(i.childNodes[1])),e&&r.extend(o,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],n=(o.customSelector&&e.push(o.customSelector),".fitvidsignore"),e=(o.ignore&&(n=n+", "+o.ignore),r(this).find(e.join(",")));(e=(e=e.not("object object")).not(n)).each(function(){var e,t,i=r(this);0<i.parents(n).length||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16)),e=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10)),i.attr("name")||(t="fitvid"+r.fn.fitVids._count,i.attr("name",t),r.fn.fitVids._count++),i.wrap('<div class="fluid-width-video-container"><div class="fluid-width-video-wrapper"></div></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),i.removeAttr("height").removeAttr("width"))})})},r.fn.fitVids._count=0}(window.jQuery||window.Zepto),function(){const n=window.matchMedia("(max-width: 991px)"),o=document.querySelector(".gh-head-menu"),r=o.querySelector(".nav");if(r){var e=document.querySelector(".gh-head-logo");const t=r.innerHTML,i=(n.matches&&r.querySelectorAll("li").forEach(function(e,t){e.style.transitionDelay=.03*(t+1)+"s"}),function(){if(!n.matches){for(var e=[];r.offsetWidth+64>o.offsetWidth;){if(!r.lastElementChild)return;e.unshift(r.lastElementChild),r.lastElementChild.remove()}if(e.length){const t=document.createElement("button"),i=(t.setAttribute("class","nav-more-toggle"),t.setAttribute("aria-label","More"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="currentColor"><path d="M21.333 16c0-1.473 1.194-2.667 2.667-2.667v0c1.473 0 2.667 1.194 2.667 2.667v0c0 1.473-1.194 2.667-2.667 2.667v0c-1.473 0-2.667-1.194-2.667-2.667v0zM13.333 16c0-1.473 1.194-2.667 2.667-2.667v0c1.473 0 2.667 1.194 2.667 2.667v0c0 1.473-1.194 2.667-2.667 2.667v0c-1.473 0-2.667-1.194-2.667-2.667v0zM5.333 16c0-1.473 1.194-2.667 2.667-2.667v0c1.473 0 2.667 1.194 2.667 2.667v0c0 1.473-1.194 2.667-2.667 2.667v0c-1.473 0-2.667-1.194-2.667-2.667v0z"></path></svg>',document.createElement("div"));i.setAttribute("class","gh-dropdown"),10<=e.length?(document.body.classList.add("is-dropdown-mega"),i.style.gridTemplateRows="repeat("+Math.ceil(e.length/2)+", 1fr)"):document.body.classList.remove("is-dropdown-mega"),e.forEach(function(e){i.appendChild(e)}),t.appendChild(i),r.appendChild(t),document.body.classList.add("is-dropdown-loaded"),t.addEventListener("click",function(){document.body.classList.toggle("is-dropdown-open")}),window.addEventListener("click",function(e){!t.contains(e.target)&&document.body.classList.contains("is-dropdown-open")&&document.body.classList.remove("is-dropdown-open")})}else document.body.classList.add("is-dropdown-loaded")}});imagesLoaded(e,function(){i()}),window.addEventListener("resize",function(){setTimeout(function(){r.innerHTML=t,i()},1)})}}(),function(t,i){var n,o,r,s,d,a,h,c;function l(){var e;404===this.status?(t.removeEventListener("scroll",m),t.removeEventListener("resize",p)):(this.response.querySelectorAll("article.post-card").forEach(function(e){o.appendChild(i.importNode(e,!0))}),(e=this.response.querySelector("link[rel=next]"))?n.href=e.href:(t.removeEventListener("scroll",m),t.removeEventListener("resize",p)),c=i.documentElement.scrollHeight,d=s=!1)}function e(){var e;d||(a+h<=c-r?s=!1:(d=!0,(e=new t.XMLHttpRequest).responseType="document",e.addEventListener("load",l),e.open("GET",n.href),e.send(null)))}function u(){s||t.requestAnimationFrame(e),s=!0}function m(){a=t.scrollY,u()}function p(){h=t.innerHeight,c=i.documentElement.scrollHeight,u()}i.documentElement.classList.contains("no-infinite-scroll")||(n=i.querySelector("link[rel=next]"))&&(o=i.querySelector(".post-feed"))&&(d=s=!(r=300),a=t.scrollY,h=t.innerHeight,c=i.documentElement.scrollHeight,t.addEventListener("scroll",m,{passive:!0}),t.addEventListener("resize",p),u())}(window,document);
2
+ //# sourceMappingURL=kaschber.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["jquery.fitvids.js","infinitescroll.js"],"names":["$","fn","fitVids","options","head","div","settings","customSelector","ignore","document","getElementById","getElementsByTagName","createElement","innerHTML","appendChild","childNodes","extend","this","each","selectors","ignoreList","push","$allVideos","find","join","not","aspectRatio","videoName","$this","parents","length","tagName","toLowerCase","parent","css","isNaN","attr","parseInt","height","width","_count","wrap","removeAttr","window","jQuery","Zepto","feedElement","buffer","ticking","loading","lastScrollY","lastWindowHeight","lastDocumentHeight","nextElement","querySelector","onPageLoad","resNextElement","status","removeEventListener","onScroll","onResize","response","querySelectorAll","forEach","item","importNode","href","documentElement","scrollHeight","onUpdate","xhr","XMLHttpRequest","responseType","addEventListener","open","send","requestTick","requestAnimationFrame","scrollY","innerHeight","passive"],"mappings":"AAYA,CAAA,SAAAA,GAEA,aAEAA,EAAAC,GAAAC,QAAA,SAAAC,GACA,IAOAC,EAEAC,EATAC,EAAA,CACAC,eAAA,KACAC,OAAA,IACA,EAeA,OAbAC,SAAAC,eAAA,gBAAA,IAEAN,EAAAK,SAAAL,MAAAK,SAAAE,qBAAA,MAAA,EAAA,IAEAN,EAAAI,SAAAG,cAAA,KAAA,GACAC,UAAA,oUACAT,EAAAU,YAAAT,EAAAU,WAAA,EAAA,GAGAZ,GACAH,EAAAgB,OAAAV,EAAAH,CAAA,EAGAc,KAAAC,KAAA,WACA,IAAAC,EAAA,CACA,kCACA,6BACA,sCACA,oDACA,SACA,SAOAC,GAJAd,EAAAC,gBACAY,EAAAE,KAAAf,EAAAC,cAAA,EAGA,kBAMAe,GAJAhB,EAA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A3C,EAAA0D,gBAAAC,aAwEAzB,EAAA8B,iBAAA,SAAAd,EAAA,CAAAqB,QAAA,CAAA,CAAA,CAAA,EACArC,EAAA8B,iBAAA,SAAAb,CAAA,EAEAgB,EAAA,EACA,EAAAjC,OAAAlC,QAAA","file":"kaschber.js","sourcesContent":["/*jshint browser:true */\n/*!\n* FitVids 1.3\n*\n*\n* Copyright 2017, Chris Coyier + Dave Rupert + Ghost Foundation\n* This is an unofficial release, ported by John O'Nolan\n* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/\n* Released under the MIT license\n*\n*/\n\n;(function( $ ){\n\n 'use strict';\n\n $.fn.fitVids = function( options ) {\n var settings = {\n customSelector: null,\n ignore: null\n };\n\n if(!document.getElementById('fit-vids-style')) {\n // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js\n var head = document.head || document.getElementsByTagName('head')[0];\n var css = '.fluid-width-video-container{flex-grow: 1;width:100%;}.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';\n var div = document.createElement(\"div\");\n div.innerHTML = '<p>x</p><style id=\"fit-vids-style\">' + css + '</style>';\n head.appendChild(div.childNodes[1]);\n }\n\n if ( options ) {\n $.extend( settings, options );\n }\n\n return this.each(function(){\n var selectors = [\n 'iframe[src*=\"player.vimeo.com\"]',\n 'iframe[src*=\"youtube.com\"]',\n 'iframe[src*=\"youtube-nocookie.com\"]',\n 'iframe[src*=\"kickstarter.com\"][src*=\"video.html\"]',\n 'object',\n 'embed'\n ];\n\n if (settings.customSelector) {\n selectors.push(settings.customSelector);\n }\n\n var ignoreList = '.fitvidsignore';\n\n if(settings.ignore) {\n ignoreList = ignoreList + ', ' + settings.ignore;\n }\n\n var $allVideos = $(this).find(selectors.join(','));\n $allVideos = $allVideos.not('object object'); // SwfObj conflict patch\n $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.\n\n $allVideos.each(function(){\n var $this = $(this);\n if($this.parents(ignoreList).length > 0) {\n return; // Disable FitVids on this video.\n }\n if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }\n if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width'))))\n {\n $this.attr('height', 9);\n $this.attr('width', 16);\n }\n var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),\n width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),\n aspectRatio = height / width;\n if(!$this.attr('name')){\n var videoName = 'fitvid' + $.fn.fitVids._count;\n $this.attr('name', videoName);\n $.fn.fitVids._count++;\n }\n $this.wrap('<div class=\"fluid-width-video-container\"><div class=\"fluid-width-video-wrapper\"></div></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+'%');\n $this.removeAttr('height').removeAttr('width');\n });\n });\n };\n\n // Internal counter for unique video names.\n $.fn.fitVids._count = 0;\n\n// Works with either jQuery or Zepto\n})( window.jQuery || window.Zepto );\n","/* eslint-env browser */\n\n/**\n * Infinite Scroll\n * Used on all pages where there is a list of posts (homepage, tag index, etc).\n *\n * When the page is scrolled to 300px from the bottom, the next page of posts\n * is fetched by following the the <link rel=\"next\" href=\"...\"> that is output\n * by {{ghost_head}}.\n *\n * The individual post items are extracted from the fetched pages by looking for\n * a wrapper element with the class \"post-card\". Any found elements are appended\n * to the element with the class \"post-feed\" in the currently viewed page.\n */\n\n (function (window, document) {\n // next link element\n var nextElement = document.querySelector('link[rel=next]');\n if (!nextElement) {\n return;\n }\n\n // post feed element\n var feedElement = document.querySelector('.post-feed');\n if (!feedElement) {\n return;\n }\n\n var buffer = 300;\n\n var ticking = false;\n var loading = false;\n\n var lastScrollY = window.scrollY;\n var lastWindowHeight = window.innerHeight;\n var lastDocumentHeight = document.documentElement.scrollHeight;\n\n function onPageLoad() {\n if (this.status === 404) {\n window.removeEventListener('scroll', onScroll);\n window.removeEventListener('resize', onResize);\n return;\n }\n\n // append contents\n var postElements = this.response.querySelectorAll('article.post-card');\n postElements.forEach(function (item) {\n // document.importNode is important, without it the item's owner\n // document will be different which can break resizing of\n // `object-fit: cover` images in Safari\n feedElement.appendChild(document.importNode(item, true));\n });\n\n // set next link\n var resNextElement = this.response.querySelector('link[rel=next]');\n if (resNextElement) {\n nextElement.href = resNextElement.href;\n } else {\n window.removeEventListener('scroll', onScroll);\n window.removeEventListener('resize', onResize);\n }\n\n // sync status\n lastDocumentHeight = document.documentElement.scrollHeight;\n ticking = false;\n loading = false;\n }\n\n function onUpdate() {\n // return if already loading\n if (loading) {\n return;\n }\n\n // return if not scroll to the bottom\n if (lastScrollY + lastWindowHeight <= lastDocumentHeight - buffer) {\n ticking = false;\n return;\n }\n\n loading = true;\n\n var xhr = new window.XMLHttpRequest();\n xhr.responseType = 'document';\n\n xhr.addEventListener('load', onPageLoad);\n\n xhr.open('GET', nextElement.href);\n xhr.send(null);\n }\n\n function requestTick() {\n ticking || window.requestAnimationFrame(onUpdate);\n ticking = true;\n }\n\n function onScroll() {\n lastScrollY = window.scrollY;\n requestTick();\n }\n\n function onResize() {\n lastWindowHeight = window.innerHeight;\n lastDocumentHeight = document.documentElement.scrollHeight;\n requestTick();\n }\n\n window.addEventListener('scroll', onScroll, {passive: true});\n window.addEventListener('resize', onResize);\n\n requestTick();\n})(window, document);\n"]}
1
+ {"version":3,"sources":["imagesloaded.pkgd.min.js","jquery.fitvids.js","dropdown.js","infinitescroll.js"],"names":["e","t","define","amd","module","exports","EvEmitter","window","this","prototype","on","n","i","_events","indexOf","push","once","_onceEvents","off","length","splice","emitEvent","slice","o","r","apply","allOff","require","imagesLoaded","s","document","querySelectorAll","elements","Array","isArray","d","call","options","getImages","h","jqDeferred","Deferred","setTimeout","check","bind","a","error","img","url","element","Image","jQuery","console","u","Object","create","images","forEach","addElementImages","nodeName","addImage","background","addElementBackgroundImages","nodeType","1","9","11","getComputedStyle","exec","backgroundImage","addBackground","progress","progressedCount","hasAnyBroken","complete","isLoaded","notify","debug","log","isComplete","getIsImageComplete","confirm","naturalWidth","proxyImage","addEventListener","src","handleEvent","type","onload","unbindEvents","onerror","removeEventListener","makeJQueryPlugin","fn","promise","$","fitVids","head","div","settings","customSelector","ignore","getElementById","getElementsByTagName","createElement","innerHTML","appendChild","childNodes","extend","each","selectors","ignoreList","$allVideos","find","join","not","aspectRatio","videoName","$this","parents","tagName","toLowerCase","parent","css","isNaN","attr","parseInt","height","width","_count","wrap","removeAttr","Zepto","mediaQuery","matchMedia","menu","querySelector","nav","logo","navHTML","makeDropdown","matches","item","index","style","transitionDelay","submenuItems","offsetWidth","lastElementChild","unshift","remove","toggle","wrapper","setAttribute","body","classList","add","gridTemplateRows","Math","ceil","child","contains","target","nextElement","feedElement","buffer","ticking","loading","lastScrollY","lastWindowHeight","lastDocumentHeight","onPageLoad","resNextElement","status","onScroll","onResize","response","importNode","href","documentElement","scrollHeight","onUpdate","xhr","XMLHttpRequest","responseType","open","send","requestTick","requestAnimationFrame","scrollY","innerHeight","passive"],"mappings":"AAMA,CAAA,SAAAA,EAAAC,GAAA,YAAA,OAAAC,QAAAA,OAAAC,IAAAD,OAAA,wBAAAD,CAAA,EAAA,UAAA,OAAAG,QAAAA,OAAAC,QAAAD,OAAAC,QAAAJ,EAAA,EAAAD,EAAAM,UAAAL,EAAA,CAAA,EAAA,aAAA,OAAAM,OAAAA,OAAAC,KAAA,WAAA,SAAAR,KAAA,IAAAC,EAAAD,EAAAS,UAAA,OAAAR,EAAAS,GAAA,SAAAV,EAAAC,GAAA,IAAAU,EAAA,GAAAX,GAAAC,EAAA,MAAA,CAAA,IAAAU,GAAAC,EAAAJ,KAAAK,QAAAL,KAAAK,SAAA,IAAAb,GAAAY,EAAAZ,IAAA,IAAAc,QAAA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IAEA,IAYAC,EAZAf,IAKAC,EAAAC,GAAAC,EAAAL,EACAC,EAAA,CAAA,GAIAC,EAAA,CAAA,GAEAe,EAAA,IAAA/K,EAAAgL,gBACAC,aAAA,WAEAF,EAAAlG,iBAAA,OAAAuF,CAAA,EAEAW,EAAAG,KAAA,MAAAtB,EAAAe,IAAA,EACAI,EAAAI,KAAA,IAAA,GACA,CAEA,SAAAC,IACArB,GAAA/J,EAAAqL,sBAAAP,CAAA,EACAf,EAAA,CAAA,CACA,CAEA,SAAAQ,IACAN,EAAAjK,EAAAsL,QACAF,EAAA,CACA,CAEA,SAAAZ,IACAN,EAAAlK,EAAAuL,YACApB,EAAA5I,EAAAqJ,gBAAAC,aACAO,EAAA,CACA,CA3FA7J,EAAAqJ,gBAAAxB,UAAAM,SAAA,oBAAA,IAGAE,EAAArI,EAAA0G,cAAA,gBAAA,KAMA4B,EAAAtI,EAAA0G,cAAA,YAAA,KAQA+B,EADAD,EAAA,EAFAD,EAAA,KAKAG,EAAAjK,EAAAsL,QACApB,EAAAlK,EAAAuL,YACApB,EAAA5I,EAAAqJ,gBAAAC,aAwEA7K,EAAA6E,iBAAA,SAAA0F,EAAA,CAAAiB,QAAA,CAAA,CAAA,CAAA,EACAxL,EAAA6E,iBAAA,SAAA2F,CAAA,EAEAY,EAAA,EACA,EAAApL,OAAAuB,QAAA","file":"kaschber.js","sourcesContent":["/*!\n * imagesLoaded PACKAGED v4.1.4\n * JavaScript is all like \"You images are done yet or what?\"\n * MIT License\n */\n\n!function(e,t){\"function\"==typeof define&&define.amd?define(\"ev-emitter/ev-emitter\",t):\"object\"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}(\"undefined\"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){\"use strict\";\"function\"==typeof define&&define.amd?define([\"ev-emitter/ev-emitter\"],function(i){return t(e,i)}):\"object\"==typeof module&&module.exports?module.exports=t(e,require(\"ev-emitter\")):e.imagesLoaded=t(e,e.EvEmitter)}(\"undefined\"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e){if(Array.isArray(e))return e;var t=\"object\"==typeof e&&\"number\"==typeof e.length;return t?d.call(e):[e]}function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var s=e;return\"string\"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=n(s),this.options=i({},this.options),\"function\"==typeof t?r=t:i(this.options,t),r&&this.on(\"always\",r),this.getImages(),h&&(this.jqDeferred=new h.Deferred),void setTimeout(this.check.bind(this))):void a.error(\"Bad element for imagesLoaded \"+(s||e))}function r(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var h=e.jQuery,a=e.console,d=Array.prototype.slice;o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){\"IMG\"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&u[t]){for(var i=e.querySelectorAll(\"img\"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if(\"string\"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\\((['\"])?(.*?)\\1\\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new r(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},o.prototype.check=function(){function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once(\"progress\",e),t.check()}):void this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent(\"progress\",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log(\"progress: \"+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?\"fail\":\"done\";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent(\"always\",[this]),this.jqDeferred){var t=this.hasAnyBroken?\"reject\":\"resolve\";this.jqDeferred[t](this)}},r.prototype=Object.create(t.prototype),r.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,\"naturalWidth\"):(this.proxyImage=new Image,this.proxyImage.addEventListener(\"load\",this),this.proxyImage.addEventListener(\"error\",this),this.img.addEventListener(\"load\",this),this.img.addEventListener(\"error\",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},r.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent(\"progress\",[this,this.img,t])},r.prototype.handleEvent=function(e){var t=\"on\"+e.type;this[t]&&this[t](e)},r.prototype.onload=function(){this.confirm(!0,\"onload\"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,\"onerror\"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener(\"load\",this),this.proxyImage.removeEventListener(\"error\",this),this.img.removeEventListener(\"load\",this),this.img.removeEventListener(\"error\",this)},s.prototype=Object.create(r.prototype),s.prototype.check=function(){this.img.addEventListener(\"load\",this),this.img.addEventListener(\"error\",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,\"naturalWidth\"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener(\"load\",this),this.img.removeEventListener(\"error\",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent(\"progress\",[this,this.element,t])},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(h=t,h.fn.imagesLoaded=function(e,t){var i=new o(this,e,t);return i.jqDeferred.promise(h(this))})},o.makeJQueryPlugin(),o});","/*jshint browser:true */\n/*!\n* FitVids 1.3\n*\n*\n* Copyright 2017, Chris Coyier + Dave Rupert + Ghost Foundation\n* This is an unofficial release, ported by John O'Nolan\n* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/\n* Released under the MIT license\n*\n*/\n\n;(function( $ ){\n\n 'use strict';\n\n $.fn.fitVids = function( options ) {\n var settings = {\n customSelector: null,\n ignore: null\n };\n\n if(!document.getElementById('fit-vids-style')) {\n // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js\n var head = document.head || document.getElementsByTagName('head')[0];\n var css = '.fluid-width-video-container{flex-grow: 1;width:100%;}.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';\n var div = document.createElement(\"div\");\n div.innerHTML = '<p>x</p><style id=\"fit-vids-style\">' + css + '</style>';\n head.appendChild(div.childNodes[1]);\n }\n\n if ( options ) {\n $.extend( settings, options );\n }\n\n return this.each(function(){\n var selectors = [\n 'iframe[src*=\"player.vimeo.com\"]',\n 'iframe[src*=\"youtube.com\"]',\n 'iframe[src*=\"youtube-nocookie.com\"]',\n 'iframe[src*=\"kickstarter.com\"][src*=\"video.html\"]',\n 'object',\n 'embed'\n ];\n\n if (settings.customSelector) {\n selectors.push(settings.customSelector);\n }\n\n var ignoreList = '.fitvidsignore';\n\n if(settings.ignore) {\n ignoreList = ignoreList + ', ' + settings.ignore;\n }\n\n var $allVideos = $(this).find(selectors.join(','));\n $allVideos = $allVideos.not('object object'); // SwfObj conflict patch\n $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.\n\n $allVideos.each(function(){\n var $this = $(this);\n if($this.parents(ignoreList).length > 0) {\n return; // Disable FitVids on this video.\n }\n if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }\n if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width'))))\n {\n $this.attr('height', 9);\n $this.attr('width', 16);\n }\n var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),\n width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),\n aspectRatio = height / width;\n if(!$this.attr('name')){\n var videoName = 'fitvid' + $.fn.fitVids._count;\n $this.attr('name', videoName);\n $.fn.fitVids._count++;\n }\n $this.wrap('<div class=\"fluid-width-video-container\"><div class=\"fluid-width-video-wrapper\"></div></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+'%');\n $this.removeAttr('height').removeAttr('width');\n });\n });\n };\n\n // Internal counter for unique video names.\n $.fn.fitVids._count = 0;\n\n// Works with either jQuery or Zepto\n})( window.jQuery || window.Zepto );\n","(function () {\n const mediaQuery = window.matchMedia('(max-width: 991px)');\n\n const menu = document.querySelector('.gh-head-menu');\n const nav = menu.querySelector('.nav');\n if (!nav) return;\n\n const logo = document.querySelector('.gh-head-logo');\n const navHTML = nav.innerHTML;\n\n if (mediaQuery.matches) {\n const items = nav.querySelectorAll('li');\n items.forEach(function (item, index) {\n item.style.transitionDelay = 0.03 * (index + 1) + 's';\n });\n }\n\n const makeDropdown = function () {\n if (mediaQuery.matches) return;\n const submenuItems = [];\n\n while ((nav.offsetWidth + 64) > menu.offsetWidth) {\n if (nav.lastElementChild) {\n submenuItems.unshift(nav.lastElementChild);\n nav.lastElementChild.remove();\n } else {\n return;\n }\n }\n\n if (!submenuItems.length) {\n document.body.classList.add('is-dropdown-loaded');\n return;\n }\n\n const toggle = document.createElement('button');\n toggle.setAttribute('class', 'nav-more-toggle');\n toggle.setAttribute('aria-label', 'More');\n toggle.innerHTML = '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" fill=\"currentColor\"><path d=\"M21.333 16c0-1.473 1.194-2.667 2.667-2.667v0c1.473 0 2.667 1.194 2.667 2.667v0c0 1.473-1.194 2.667-2.667 2.667v0c-1.473 0-2.667-1.194-2.667-2.667v0zM13.333 16c0-1.473 1.194-2.667 2.667-2.667v0c1.473 0 2.667 1.194 2.667 2.667v0c0 1.473-1.194 2.667-2.667 2.667v0c-1.473 0-2.667-1.194-2.667-2.667v0zM5.333 16c0-1.473 1.194-2.667 2.667-2.667v0c1.473 0 2.667 1.194 2.667 2.667v0c0 1.473-1.194 2.667-2.667 2.667v0c-1.473 0-2.667-1.194-2.667-2.667v0z\"></path></svg>';\n\n const wrapper = document.createElement('div');\n wrapper.setAttribute('class', 'gh-dropdown');\n\n if (submenuItems.length >= 10) {\n document.body.classList.add('is-dropdown-mega');\n wrapper.style.gridTemplateRows = 'repeat(' + Math.ceil(submenuItems.length / 2) + ', 1fr)';\n } else {\n document.body.classList.remove('is-dropdown-mega');\n }\n\n submenuItems.forEach(function (child) {\n wrapper.appendChild(child);\n });\n\n toggle.appendChild(wrapper);\n nav.appendChild(toggle);\n\n document.body.classList.add('is-dropdown-loaded');\n\n toggle.addEventListener('click', function () {\n document.body.classList.toggle('is-dropdown-open');\n });\n\n window.addEventListener('click', function (e) {\n if (!toggle.contains(e.target) && document.body.classList.contains('is-dropdown-open')) {\n document.body.classList.remove('is-dropdown-open');\n }\n });\n }\n\n imagesLoaded(logo, function () {\n makeDropdown();\n });\n\n window.addEventListener('resize', function () {\n setTimeout(function () {\n nav.innerHTML = navHTML;\n makeDropdown();\n }, 1);\n });\n})();\n","/* eslint-env browser */\n\n/**\n * Infinite Scroll\n * Used on all pages where there is a list of posts (homepage, tag index, etc).\n *\n * When the page is scrolled to 300px from the bottom, the next page of posts\n * is fetched by following the the <link rel=\"next\" href=\"...\"> that is output\n * by {{ghost_head}}.\n *\n * The individual post items are extracted from the fetched pages by looking for\n * a wrapper element with the class \"post-card\". Any found elements are appended\n * to the element with the class \"post-feed\" in the currently viewed page.\n */\n\n(function (window, document) {\n if (document.documentElement.classList.contains('no-infinite-scroll')) return;\n\n // next link element\n var nextElement = document.querySelector('link[rel=next]');\n if (!nextElement) {\n return;\n }\n\n // post feed element\n var feedElement = document.querySelector('.post-feed');\n if (!feedElement) {\n return;\n }\n\n var buffer = 300;\n\n var ticking = false;\n var loading = false;\n\n var lastScrollY = window.scrollY;\n var lastWindowHeight = window.innerHeight;\n var lastDocumentHeight = document.documentElement.scrollHeight;\n\n function onPageLoad() {\n if (this.status === 404) {\n window.removeEventListener('scroll', onScroll);\n window.removeEventListener('resize', onResize);\n return;\n }\n\n // append contents\n var postElements = this.response.querySelectorAll('article.post-card');\n postElements.forEach(function (item) {\n // document.importNode is important, without it the item's owner\n // document will be different which can break resizing of\n // `object-fit: cover` images in Safari\n feedElement.appendChild(document.importNode(item, true));\n });\n\n // set next link\n var resNextElement = this.response.querySelector('link[rel=next]');\n if (resNextElement) {\n nextElement.href = resNextElement.href;\n } else {\n window.removeEventListener('scroll', onScroll);\n window.removeEventListener('resize', onResize);\n }\n\n // sync status\n lastDocumentHeight = document.documentElement.scrollHeight;\n ticking = false;\n loading = false;\n }\n\n function onUpdate() {\n // return if already loading\n if (loading) {\n return;\n }\n\n // return if not scroll to the bottom\n if (lastScrollY + lastWindowHeight <= lastDocumentHeight - buffer) {\n ticking = false;\n return;\n }\n\n loading = true;\n\n var xhr = new window.XMLHttpRequest();\n xhr.responseType = 'document';\n\n xhr.addEventListener('load', onPageLoad);\n\n xhr.open('GET', nextElement.href);\n xhr.send(null);\n }\n\n function requestTick() {\n ticking || window.requestAnimationFrame(onUpdate);\n ticking = true;\n }\n\n function onScroll() {\n lastScrollY = window.scrollY;\n requestTick();\n }\n\n function onResize() {\n lastWindowHeight = window.innerHeight;\n lastDocumentHeight = document.documentElement.scrollHeight;\n requestTick();\n }\n\n window.addEventListener('scroll', onScroll, {passive: true});\n window.addEventListener('resize', onResize);\n\n requestTick();\n})(window, document);\n"]}