@charmland/gem 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -784,11 +784,11 @@ function _Debug_crash_UNUSED(identifier, fact1, fact2, fact3, fact4)
784
784
 
785
785
  function _Debug_regionToString(region)
786
786
  {
787
- if (region.c0.ao === region.a$.ao)
787
+ if (region.c1.ao === region.a$.ao)
788
788
  {
789
- return 'on line ' + region.c0.ao;
789
+ return 'on line ' + region.c1.ao;
790
790
  }
791
- return 'on lines ' + region.c0.ao + ' through ' + region.a$.ao;
791
+ return 'on lines ' + region.c1.ao + ' through ' + region.a$.ao;
792
792
  }
793
793
 
794
794
 
@@ -1861,9 +1861,9 @@ var _Platform_worker = F4(function(impl, flagDecoder, debugMetadata, args)
1861
1861
  return _Platform_initialize(
1862
1862
  flagDecoder,
1863
1863
  args,
1864
- impl.b6,
1865
- impl.da,
1866
- impl.c1,
1864
+ impl.b7,
1865
+ impl.db,
1866
+ impl.c2,
1867
1867
  function() { return function() {} }
1868
1868
  );
1869
1869
  });
@@ -3951,11 +3951,11 @@ var _Browser_element = _Debugger_element || F4(function(impl, flagDecoder, debug
3951
3951
  return _Platform_initialize(
3952
3952
  flagDecoder,
3953
3953
  args,
3954
- impl.b6,
3955
- impl.da,
3956
- impl.c1,
3954
+ impl.b7,
3955
+ impl.db,
3956
+ impl.c2,
3957
3957
  function(sendToApp, initialModel) {
3958
- var view = impl.dc;
3958
+ var view = impl.dd;
3959
3959
  /**/
3960
3960
  var domNode = args['node'];
3961
3961
  //*/
@@ -3987,12 +3987,12 @@ var _Browser_document = _Debugger_document || F4(function(impl, flagDecoder, deb
3987
3987
  return _Platform_initialize(
3988
3988
  flagDecoder,
3989
3989
  args,
3990
- impl.b6,
3991
- impl.da,
3992
- impl.c1,
3990
+ impl.b7,
3991
+ impl.db,
3992
+ impl.c2,
3993
3993
  function(sendToApp, initialModel) {
3994
3994
  var divertHrefToApp = impl.aQ && impl.aQ(sendToApp)
3995
- var view = impl.dc;
3995
+ var view = impl.dd;
3996
3996
  var title = _VirtualDom_doc.title;
3997
3997
  var bodyNode = _VirtualDom_doc.body;
3998
3998
  var currNode = _VirtualDom_virtualize(bodyNode);
@@ -4000,7 +4000,7 @@ var _Browser_document = _Debugger_document || F4(function(impl, flagDecoder, deb
4000
4000
  {
4001
4001
  _VirtualDom_divertHrefToApp = divertHrefToApp;
4002
4002
  var doc = view(model);
4003
- var nextNode = _VirtualDom_node('body')(_List_Nil)(doc.bu);
4003
+ var nextNode = _VirtualDom_node('body')(_List_Nil)(doc.bv);
4004
4004
  var patches = _VirtualDom_diff(currNode, nextNode);
4005
4005
  bodyNode = _VirtualDom_applyPatches(bodyNode, currNode, patches, sendToApp);
4006
4006
  currNode = nextNode;
@@ -4061,8 +4061,8 @@ function _Browser_makeAnimator(model, draw)
4061
4061
 
4062
4062
  function _Browser_application(impl)
4063
4063
  {
4064
- var onUrlChange = impl.cI;
4065
- var onUrlRequest = impl.cJ;
4064
+ var onUrlChange = impl.cJ;
4065
+ var onUrlRequest = impl.cK;
4066
4066
  var key = function() { key.a(onUrlChange(_Browser_getUrl())); };
4067
4067
 
4068
4068
  return _Browser_document({
@@ -4092,13 +4092,13 @@ function _Browser_application(impl)
4092
4092
  }
4093
4093
  });
4094
4094
  },
4095
- b6: function(flags)
4095
+ b7: function(flags)
4096
4096
  {
4097
- return A3(impl.b6, flags, _Browser_getUrl(), key);
4097
+ return A3(impl.b7, flags, _Browser_getUrl(), key);
4098
4098
  },
4099
- dc: impl.dc,
4100
- da: impl.da,
4101
- c1: impl.c1
4099
+ dd: impl.dd,
4100
+ db: impl.db,
4101
+ c2: impl.c2
4102
4102
  });
4103
4103
  }
4104
4104
 
@@ -4164,17 +4164,17 @@ var _Browser_decodeEvent = F2(function(decoder, event)
4164
4164
  function _Browser_visibilityInfo()
4165
4165
  {
4166
4166
  return (typeof _VirtualDom_doc.hidden !== 'undefined')
4167
- ? { an: 'hidden', bz: 'visibilitychange' }
4167
+ ? { an: 'hidden', bA: 'visibilitychange' }
4168
4168
  :
4169
4169
  (typeof _VirtualDom_doc.mozHidden !== 'undefined')
4170
- ? { an: 'mozHidden', bz: 'mozvisibilitychange' }
4170
+ ? { an: 'mozHidden', bA: 'mozvisibilitychange' }
4171
4171
  :
4172
4172
  (typeof _VirtualDom_doc.msHidden !== 'undefined')
4173
- ? { an: 'msHidden', bz: 'msvisibilitychange' }
4173
+ ? { an: 'msHidden', bA: 'msvisibilitychange' }
4174
4174
  :
4175
4175
  (typeof _VirtualDom_doc.webkitHidden !== 'undefined')
4176
- ? { an: 'webkitHidden', bz: 'webkitvisibilitychange' }
4177
- : { an: 'hidden', bz: 'visibilitychange' };
4176
+ ? { an: 'webkitHidden', bA: 'webkitvisibilitychange' }
4177
+ : { an: 'hidden', bA: 'visibilitychange' };
4178
4178
  }
4179
4179
 
4180
4180
 
@@ -4255,11 +4255,11 @@ var _Browser_call = F2(function(functionName, id)
4255
4255
  function _Browser_getViewport()
4256
4256
  {
4257
4257
  return {
4258
- cV: _Browser_getScene(),
4259
- dd: {
4258
+ cW: _Browser_getScene(),
4259
+ de: {
4260
4260
  aE: _Browser_window.pageXOffset,
4261
4261
  bm: _Browser_window.pageYOffset,
4262
- dg: _Browser_doc.documentElement.clientWidth,
4262
+ dh: _Browser_doc.documentElement.clientWidth,
4263
4263
  a4: _Browser_doc.documentElement.clientHeight
4264
4264
  }
4265
4265
  };
@@ -4270,7 +4270,7 @@ function _Browser_getScene()
4270
4270
  var body = _Browser_doc.body;
4271
4271
  var elem = _Browser_doc.documentElement;
4272
4272
  return {
4273
- dg: Math.max(body.scrollWidth, body.offsetWidth, elem.scrollWidth, elem.offsetWidth, elem.clientWidth),
4273
+ dh: Math.max(body.scrollWidth, body.offsetWidth, elem.scrollWidth, elem.offsetWidth, elem.clientWidth),
4274
4274
  a4: Math.max(body.scrollHeight, body.offsetHeight, elem.scrollHeight, elem.offsetHeight, elem.clientHeight)
4275
4275
  };
4276
4276
  }
@@ -4294,14 +4294,14 @@ function _Browser_getViewportOf(id)
4294
4294
  return _Browser_withNode(id, function(node)
4295
4295
  {
4296
4296
  return {
4297
- cV: {
4298
- dg: node.scrollWidth,
4297
+ cW: {
4298
+ dh: node.scrollWidth,
4299
4299
  a4: node.scrollHeight
4300
4300
  },
4301
- dd: {
4301
+ de: {
4302
4302
  aE: node.scrollLeft,
4303
4303
  bm: node.scrollTop,
4304
- dg: node.clientWidth,
4304
+ dh: node.clientWidth,
4305
4305
  a4: node.clientHeight
4306
4306
  }
4307
4307
  };
@@ -4332,17 +4332,17 @@ function _Browser_getElement(id)
4332
4332
  var x = _Browser_window.pageXOffset;
4333
4333
  var y = _Browser_window.pageYOffset;
4334
4334
  return {
4335
- cV: _Browser_getScene(),
4336
- dd: {
4335
+ cW: _Browser_getScene(),
4336
+ de: {
4337
4337
  aE: x,
4338
4338
  bm: y,
4339
- dg: _Browser_doc.documentElement.clientWidth,
4339
+ dh: _Browser_doc.documentElement.clientWidth,
4340
4340
  a4: _Browser_doc.documentElement.clientHeight
4341
4341
  },
4342
4342
  a_: {
4343
4343
  aE: x + rect.left,
4344
4344
  bm: y + rect.top,
4345
- dg: rect.width,
4345
+ dh: rect.width,
4346
4346
  a4: rect.height
4347
4347
  }
4348
4348
  };
@@ -5220,7 +5220,7 @@ var $elm$core$Dict$get = F2(
5220
5220
  });
5221
5221
  var $author$project$Gem$Page$byRoute = F2(
5222
5222
  function (site_, route) {
5223
- return A2($elm$core$Dict$get, route, site_.cN);
5223
+ return A2($elm$core$Dict$get, route, site_.cO);
5224
5224
  });
5225
5225
  var $elm$json$Json$Decode$decodeValue = _Json_run;
5226
5226
  var $elm$core$List$filter = F2(
@@ -5255,7 +5255,7 @@ var $elm$core$Maybe$withDefault = F2(
5255
5255
  var $author$project$Gem$Page$firstDoc = function (site_) {
5256
5256
  return A2(
5257
5257
  $elm$core$Maybe$withDefault,
5258
- {a: 'docs', c: site_.ap.p, aK: _List_Nil, aO: '', aB: '/'},
5258
+ {b: 'docs', c: site_.ap.p, aK: _List_Nil, aO: '', aB: '/'},
5259
5259
  $elm$core$List$head(site_.M));
5260
5260
  };
5261
5261
  var $elm$core$List$sortBy = _List_sortBy;
@@ -5304,45 +5304,46 @@ var $author$project$Gem$App$docsIndex = F2(
5304
5304
  $elm$core$List$filter,
5305
5305
  function (_v0) {
5306
5306
  var doc = _v0.b;
5307
- return _Utils_eq(doc.a, docId);
5307
+ return _Utils_eq(doc.b, docId);
5308
5308
  },
5309
5309
  A2($elm$core$List$indexedMap, $elm$core$Tuple$pair, site.M)))));
5310
5310
  });
5311
5311
  var $elm$core$Dict$RBEmpty_elm_builtin = {$: -2};
5312
5312
  var $elm$core$Dict$empty = $elm$core$Dict$RBEmpty_elm_builtin;
5313
5313
  var $author$project$Gem$App$emptySite = {
5314
+ bs: '/',
5314
5315
  aY: {
5315
- a1: {bt: '', bB: _List_Nil, bF: _List_Nil, bV: false, bW: false, v: 'Gem'},
5316
+ a1: {bu: '', bC: _List_Nil, bG: _List_Nil, bW: false, bX: false, v: 'Gem'},
5316
5317
  a3: {bp: _List_Nil, M: true, a7: true, u: true, o: true},
5317
- c7: {K: true, cK: true}
5318
+ c8: {K: true, cL: true}
5318
5319
  },
5319
- bE: _List_Nil,
5320
+ bF: _List_Nil,
5320
5321
  M: _List_fromArray(
5321
5322
  [
5322
- {a: 'docs', c: 'Gem', aK: _List_Nil, aO: '', aB: '/'}
5323
+ {b: 'docs', c: 'Gem', aK: _List_Nil, aO: '', aB: '/'}
5323
5324
  ]),
5324
5325
  aH: _List_Nil,
5325
- ap: {am: '', bT: $elm$core$Maybe$Nothing, a1: $elm$core$Maybe$Nothing, a6: 'en', a7: 'Gem', ce: $elm$core$Maybe$Nothing, p: 'Gem', I: ''},
5326
- cN: $elm$core$Dict$empty,
5326
+ ap: {am: '', bU: $elm$core$Maybe$Nothing, a1: $elm$core$Maybe$Nothing, a6: 'en', a7: 'Gem', cf: $elm$core$Maybe$Nothing, p: 'Gem', I: ''},
5327
+ cO: $elm$core$Dict$empty,
5327
5328
  o: 'dark',
5328
5329
  as: true
5329
5330
  };
5330
5331
  var $carlsson87$spring$Spring$Spring = $elm$core$Basics$identity;
5331
5332
  var $carlsson87$spring$Spring$create = function (x) {
5332
- return {c3: x.c3, bk: x.bk, aa: 0};
5333
+ return {c4: x.c4, bk: x.bk, aa: 0};
5333
5334
  };
5334
5335
  var $author$project$Ui$Burger$init = {
5335
5336
  aN: false,
5336
5337
  y: $carlsson87$spring$Spring$create(
5337
- {c3: 0, bk: 0})
5338
+ {c4: 0, bk: 0})
5338
5339
  };
5339
5340
  var $author$project$Ui$CopyButton$init = {ad: $elm$core$Maybe$Nothing};
5340
5341
  var $author$project$Ui$Search$init = function (id) {
5341
- return {U: false, a: id, cX: 0};
5342
+ return {U: false, b: id, cY: 0};
5342
5343
  };
5343
5344
  var $author$project$Ui$Tabs$init = F3(
5344
5345
  function (id, activeIndex, active) {
5345
- return {d: active, ac: activeIndex, an: false, a: id, _: $elm$core$Maybe$Nothing};
5346
+ return {d: active, ac: activeIndex, an: false, b: id, _: $elm$core$Maybe$Nothing};
5346
5347
  });
5347
5348
  var $elm$core$Basics$composeL = F3(
5348
5349
  function (g, f, x) {
@@ -5389,7 +5390,7 @@ var $author$project$Gem$App$measureAnchors = function (anchors) {
5389
5390
  $elm$core$Task$map2,
5390
5391
  F2(
5391
5392
  function (positions, viewport) {
5392
- return {aA: positions, aC: viewport.cV.a4, aD: viewport.dd.a4};
5393
+ return {aA: positions, aC: viewport.cW.a4, aD: viewport.de.a4};
5393
5394
  }),
5394
5395
  $elm$core$Task$sequence(
5395
5396
  A2(
@@ -5406,30 +5407,39 @@ var $author$project$Gem$App$measureAnchors = function (anchors) {
5406
5407
  $elm$browser$Browser$Dom$getViewport));
5407
5408
  };
5408
5409
  var $elm$core$Platform$Cmd$none = $elm$core$Platform$Cmd$batch(_List_Nil);
5409
- var $elm$core$Basics$negate = function (n) {
5410
- return -n;
5411
- };
5412
- var $elm$core$String$dropRight = F2(
5413
- function (n, string) {
5414
- return (n < 1) ? string : A3($elm$core$String$slice, 0, -n, string);
5415
- });
5416
- var $elm$core$String$endsWith = _String_endsWith;
5417
- var $author$project$Gem$App$normalize = function (path) {
5418
- return (($elm$core$String$length(path) > 1) && A2($elm$core$String$endsWith, '/', path)) ? A2($elm$core$String$dropRight, 1, path) : ((path === '') ? '/' : path);
5419
- };
5420
5410
  var $author$project$Gem$App$pageAnchors = function (page) {
5421
5411
  if (!page.$) {
5422
5412
  var item = page.a;
5423
5413
  return A2(
5424
5414
  $elm$core$List$map,
5425
5415
  function ($) {
5426
- return $.a;
5416
+ return $.b;
5427
5417
  },
5428
- item.c6);
5418
+ item.c7);
5429
5419
  } else {
5430
5420
  return _List_Nil;
5431
5421
  }
5432
5422
  };
5423
+ var $elm$core$Basics$negate = function (n) {
5424
+ return -n;
5425
+ };
5426
+ var $elm$core$String$dropRight = F2(
5427
+ function (n, string) {
5428
+ return (n < 1) ? string : A3($elm$core$String$slice, 0, -n, string);
5429
+ });
5430
+ var $elm$core$String$endsWith = _String_endsWith;
5431
+ var $author$project$Gem$Page$normalizeRoute = function (path) {
5432
+ return (path === '') ? '/' : ((($elm$core$String$length(path) > 1) && A2($elm$core$String$endsWith, '/', path)) ? A2($elm$core$String$dropRight, 1, path) : path);
5433
+ };
5434
+ var $author$project$Gem$Page$routeOf = F2(
5435
+ function (site_, path) {
5436
+ var basePath = site_.bs;
5437
+ var withoutBase = (basePath === '/') ? path : (A2($elm$core$String$startsWith, basePath, path) ? ('/' + A2(
5438
+ $elm$core$String$dropLeft,
5439
+ $elm$core$String$length(basePath),
5440
+ path)) : (_Utils_eq(path + '/', basePath) ? '/' : path));
5441
+ return $author$project$Gem$Page$normalizeRoute(withoutBase);
5442
+ });
5433
5443
  var $author$project$Gem$App$ScrolledTo = function (a) {
5434
5444
  return {$: 23, a: a};
5435
5445
  };
@@ -5463,7 +5473,7 @@ var $author$project$Gem$App$landingRoute = function (model) {
5463
5473
  function ($) {
5464
5474
  return $.aB;
5465
5475
  },
5466
- $elm$core$List$head(model.b.M)));
5476
+ $elm$core$List$head(model.a.M)));
5467
5477
  };
5468
5478
  var $author$project$Gem$App$documentTitle = function (model) {
5469
5479
  var _v0 = model.C;
@@ -5471,11 +5481,22 @@ var $author$project$Gem$App$documentTitle = function (model) {
5471
5481
  var page = _v0.a;
5472
5482
  return _Utils_eq(
5473
5483
  page.n,
5474
- $author$project$Gem$App$landingRoute(model)) ? model.b.ap.p : (page.p + (' · ' + model.b.ap.p));
5484
+ $author$project$Gem$App$landingRoute(model)) ? model.a.ap.p : (page.p + (' · ' + model.a.ap.p));
5475
5485
  } else {
5476
- return model.b.ap.p;
5486
+ return model.a.ap.p;
5477
5487
  }
5478
5488
  };
5489
+ var $elm$core$Basics$not = _Basics_not;
5490
+ var $author$project$Gem$Page$isRootAbsolute = function (value) {
5491
+ return A2($elm$core$String$startsWith, '/', value) && (!A2($elm$core$String$startsWith, '//', value));
5492
+ };
5493
+ var $author$project$Gem$Page$href = F2(
5494
+ function (site_, value) {
5495
+ var basePath = site_.bs;
5496
+ return ((basePath === '/') || (!$author$project$Gem$Page$isRootAbsolute(value))) ? value : _Utils_ap(
5497
+ A2($elm$core$String$dropRight, 1, basePath),
5498
+ value);
5499
+ });
5479
5500
  var $author$project$Gem$App$ogPath = function (page) {
5480
5501
  return (page.n === '/') ? '/og/index.png' : ('/og' + (page.n + '.png'));
5481
5502
  };
@@ -5504,10 +5525,10 @@ var $author$project$Gem$Ports$setMeta = _Platform_outgoingPort(
5504
5525
  $elm$json$Json$Encode$string($.am)),
5505
5526
  _Utils_Tuple2(
5506
5527
  'image',
5507
- $elm$json$Json$Encode$string($.b4)),
5528
+ $elm$json$Json$Encode$string($.b5)),
5508
5529
  _Utils_Tuple2(
5509
5530
  'keywords',
5510
- $elm$json$Json$Encode$string($.b9)),
5531
+ $elm$json$Json$Encode$string($.ca)),
5511
5532
  _Utils_Tuple2(
5512
5533
  'title',
5513
5534
  $elm$json$Json$Encode$string($.p)),
@@ -5520,7 +5541,7 @@ var $author$project$Gem$App$setMeta = function (model) {
5520
5541
  var page = model.C;
5521
5542
  var description = A2(
5522
5543
  $elm$core$Maybe$withDefault,
5523
- model.b.ap.am,
5544
+ model.a.ap.am,
5524
5545
  A2(
5525
5546
  $elm$core$Maybe$map,
5526
5547
  function (item) {
@@ -5530,38 +5551,44 @@ var $author$project$Gem$App$setMeta = function (model) {
5530
5551
  return $author$project$Gem$Ports$setMeta(
5531
5552
  {
5532
5553
  am: description,
5533
- b4: A2(
5534
- $elm$core$Maybe$withDefault,
5535
- '/og/index.png',
5536
- A2($elm$core$Maybe$map, $author$project$Gem$App$ogPath, page)),
5537
- b9: A2(
5554
+ b5: A2(
5555
+ $author$project$Gem$Page$href,
5556
+ model.a,
5557
+ A2(
5558
+ $elm$core$Maybe$withDefault,
5559
+ '/og/index.png',
5560
+ A2($elm$core$Maybe$map, $author$project$Gem$App$ogPath, page))),
5561
+ ca: A2(
5538
5562
  $elm$core$Maybe$withDefault,
5539
5563
  '',
5540
5564
  A2(
5541
5565
  $elm$core$Maybe$map,
5542
5566
  function (item) {
5543
- return A2($elm$core$String$join, ', ', item.c2);
5567
+ return A2($elm$core$String$join, ', ', item.c3);
5544
5568
  },
5545
5569
  page)),
5546
5570
  p: $author$project$Gem$App$documentTitle(model),
5547
5571
  I: A2(
5548
- $elm$core$Maybe$withDefault,
5549
- '/',
5572
+ $author$project$Gem$Page$href,
5573
+ model.a,
5550
5574
  A2(
5551
- $elm$core$Maybe$map,
5552
- function ($) {
5553
- return $.n;
5554
- },
5555
- page))
5575
+ $elm$core$Maybe$withDefault,
5576
+ '/',
5577
+ A2(
5578
+ $elm$core$Maybe$map,
5579
+ function ($) {
5580
+ return $.n;
5581
+ },
5582
+ page)))
5556
5583
  });
5557
5584
  };
5558
5585
  var $author$project$Gem$Page$Meta = F8(
5559
5586
  function (title, description, url, lang, logo, logoImage, footer, editUrl) {
5560
- return {am: description, bT: editUrl, a1: footer, a6: lang, a7: logo, ce: logoImage, p: title, I: url};
5587
+ return {am: description, bU: editUrl, a1: footer, a6: lang, a7: logo, cf: logoImage, p: title, I: url};
5561
5588
  });
5562
- var $author$project$Gem$Page$Site = F8(
5563
- function (meta, pages, docs, entries, colors, theme, themeSystem, chrome) {
5564
- return {aY: chrome, bE: colors, M: docs, aH: entries, ap: meta, cN: pages, o: theme, as: themeSystem};
5589
+ var $author$project$Gem$Page$Site = F9(
5590
+ function (meta, pages, docs, entries, colors, theme, themeSystem, chrome, base) {
5591
+ return {bs: base, aY: chrome, bF: colors, M: docs, aH: entries, ap: meta, cO: pages, o: theme, as: themeSystem};
5565
5592
  });
5566
5593
  var $elm$json$Json$Decode$field = _Json_decodeField;
5567
5594
  var $elm$json$Json$Decode$at = F2(
@@ -5571,11 +5598,11 @@ var $elm$json$Json$Decode$at = F2(
5571
5598
  var $elm$json$Json$Decode$bool = _Json_decodeBool;
5572
5599
  var $author$project$Gem$Page$Chrome = F3(
5573
5600
  function (header, toolbar, footer) {
5574
- return {a1: footer, a3: header, c7: toolbar};
5601
+ return {a1: footer, a3: header, c8: toolbar};
5575
5602
  });
5576
5603
  var $author$project$Gem$Page$FooterConfig = F6(
5577
5604
  function (enabled, text, blurb, chips, columns, eof) {
5578
- return {bt: blurb, bB: chips, bF: columns, bV: enabled, bW: eof, v: text};
5605
+ return {bu: blurb, bC: chips, bG: columns, bW: enabled, bX: eof, v: text};
5579
5606
  });
5580
5607
  var $author$project$Gem$Page$HeaderConfig = F5(
5581
5608
  function (logo, search, theme, docs, actions) {
@@ -5583,15 +5610,15 @@ var $author$project$Gem$Page$HeaderConfig = F5(
5583
5610
  });
5584
5611
  var $author$project$Gem$Page$ToolbarConfig = F2(
5585
5612
  function (copy, openIn) {
5586
- return {K: copy, cK: openIn};
5613
+ return {K: copy, cL: openIn};
5587
5614
  });
5588
5615
  var $author$project$Gem$Page$ChromeColumn = F2(
5589
5616
  function (heading, links) {
5590
- return {b1: heading, cd: links};
5617
+ return {b2: heading, ce: links};
5591
5618
  });
5592
5619
  var $author$project$Gem$Page$ChromeLink = F2(
5593
5620
  function (label, href) {
5594
- return {b2: href, c: label};
5621
+ return {b3: href, c: label};
5595
5622
  });
5596
5623
  var $elm$json$Json$Decode$string = _Json_decodeString;
5597
5624
  var $author$project$Gem$Page$link = A3(
@@ -5739,7 +5766,7 @@ var $author$project$Gem$Page$chrome = A4(
5739
5766
  ])));
5740
5767
  var $author$project$Gem$Page$Color = F3(
5741
5768
  function (name, light, dark) {
5742
- return {bM: dark, cb: light, cg: name};
5769
+ return {bN: dark, cc: light, ch: name};
5743
5770
  });
5744
5771
  var $elm$json$Json$Decode$maybe = function (decoder) {
5745
5772
  return $elm$json$Json$Decode$oneOf(
@@ -5759,7 +5786,7 @@ var $author$project$Gem$Page$color = A4(
5759
5786
  A2($elm$json$Json$Decode$field, 'dark', $elm$json$Json$Decode$string)));
5760
5787
  var $author$project$Gem$Page$Doc = F5(
5761
5788
  function (id, label, prefix, root, nav) {
5762
- return {a: id, c: label, aK: nav, aO: prefix, aB: root};
5789
+ return {b: id, c: label, aK: nav, aO: prefix, aB: root};
5763
5790
  });
5764
5791
  var $author$project$Gem$Page$Category = function (a) {
5765
5792
  return {$: 1, a: a};
@@ -5779,7 +5806,7 @@ function $author$project$Gem$Page$cyclic$nav() {
5779
5806
  F4(
5780
5807
  function (id, label, collapsed, items) {
5781
5808
  return $author$project$Gem$Page$Category(
5782
- {G: collapsed, a: id, b8: items, c: label});
5809
+ {G: collapsed, b: id, b9: items, c: label});
5783
5810
  }),
5784
5811
  A2($elm$json$Json$Decode$field, 'id', $elm$json$Json$Decode$string),
5785
5812
  A2($elm$json$Json$Decode$field, 'label', $elm$json$Json$Decode$string),
@@ -5820,11 +5847,11 @@ var $author$project$Gem$Page$doc = A6(
5820
5847
  $elm$json$Json$Decode$list($author$project$Gem$Page$nav)));
5821
5848
  var $author$project$Gem$Page$Entry = F6(
5822
5849
  function (route, title, summary, tags, text, sections) {
5823
- return {n: route, cW: sections, aS: summary, c2: tags, v: text, p: title};
5850
+ return {n: route, cX: sections, aS: summary, c3: tags, v: text, p: title};
5824
5851
  });
5825
5852
  var $author$project$Gem$Page$Section = F3(
5826
5853
  function (id, label, text) {
5827
- return {a: id, c: label, v: text};
5854
+ return {b: id, c: label, v: text};
5828
5855
  });
5829
5856
  var $author$project$Gem$Page$section = A4(
5830
5857
  $elm$json$Json$Decode$map3,
@@ -5848,6 +5875,81 @@ var $author$project$Gem$Page$entry = A7(
5848
5875
  'sections',
5849
5876
  $elm$json$Json$Decode$list($author$project$Gem$Page$section)));
5850
5877
  var $elm$json$Json$Decode$map8 = _Json_map8;
5878
+ var $author$project$Gem$Page$before = F2(
5879
+ function (marker, text) {
5880
+ return A2(
5881
+ $elm$core$Maybe$withDefault,
5882
+ '',
5883
+ $elm$core$List$head(
5884
+ A2($elm$core$String$split, marker, text)));
5885
+ });
5886
+ var $elm$core$List$isEmpty = function (xs) {
5887
+ if (!xs.b) {
5888
+ return true;
5889
+ } else {
5890
+ return false;
5891
+ }
5892
+ };
5893
+ var $elm$core$String$toLower = _String_toLower;
5894
+ var $author$project$Gem$Page$isHttpUrl = function (value) {
5895
+ var lower = $elm$core$String$toLower(value);
5896
+ return A2($elm$core$String$startsWith, 'http://', lower) || A2($elm$core$String$startsWith, 'https://', lower);
5897
+ };
5898
+ var $elm$core$String$trim = _String_trim;
5899
+ var $elm$core$List$drop = F2(
5900
+ function (n, list) {
5901
+ drop:
5902
+ while (true) {
5903
+ if (n <= 0) {
5904
+ return list;
5905
+ } else {
5906
+ if (!list.b) {
5907
+ return list;
5908
+ } else {
5909
+ var x = list.a;
5910
+ var xs = list.b;
5911
+ var $temp$n = n - 1,
5912
+ $temp$list = xs;
5913
+ n = $temp$n;
5914
+ list = $temp$list;
5915
+ continue drop;
5916
+ }
5917
+ }
5918
+ }
5919
+ });
5920
+ var $author$project$Gem$Page$urlPath = function (url) {
5921
+ var afterScheme = A2(
5922
+ $elm$core$String$join,
5923
+ '://',
5924
+ A2(
5925
+ $elm$core$List$drop,
5926
+ 1,
5927
+ A2($elm$core$String$split, '://', url)));
5928
+ var pathParts = A2(
5929
+ $elm$core$List$drop,
5930
+ 1,
5931
+ A2($elm$core$String$split, '/', afterScheme));
5932
+ return '/' + A2($elm$core$String$join, '/', pathParts);
5933
+ };
5934
+ var $author$project$Gem$Page$normalizeBase = function (raw) {
5935
+ var trimmed = $elm$core$String$trim(raw);
5936
+ if ($elm$core$String$isEmpty(trimmed) || (trimmed === '/')) {
5937
+ return '/';
5938
+ } else {
5939
+ var pathOnly = $author$project$Gem$Page$isHttpUrl(trimmed) ? $author$project$Gem$Page$urlPath(trimmed) : trimmed;
5940
+ var clean = A2(
5941
+ $author$project$Gem$Page$before,
5942
+ '#',
5943
+ A2($author$project$Gem$Page$before, '?', pathOnly));
5944
+ var segments = A2(
5945
+ $elm$core$List$filter,
5946
+ function (segment) {
5947
+ return !$elm$core$String$isEmpty(segment);
5948
+ },
5949
+ A2($elm$core$String$split, '/', clean));
5950
+ return $elm$core$List$isEmpty(segments) ? '/' : ('/' + (A2($elm$core$String$join, '/', segments) + '/'));
5951
+ }
5952
+ };
5851
5953
  var $elm$json$Json$Decode$null = _Json_decodeNull;
5852
5954
  var $elm$json$Json$Decode$nullable = function (decoder) {
5853
5955
  return $elm$json$Json$Decode$oneOf(
@@ -5859,7 +5961,7 @@ var $elm$json$Json$Decode$nullable = function (decoder) {
5859
5961
  };
5860
5962
  var $author$project$Gem$Page$Page = F9(
5861
5963
  function (route, slug, source, title, summary, description, tags, toc, blocks) {
5862
- return {bs: blocks, am: description, n: route, cZ: slug, c_: source, aS: summary, c2: tags, p: title, c6: toc};
5964
+ return {bt: blocks, am: description, n: route, c_: slug, c$: source, aS: summary, c3: tags, p: title, c7: toc};
5863
5965
  });
5864
5966
  var $author$project$Gem$Node$BlockComponent = F3(
5865
5967
  function (a, b, c) {
@@ -6096,8 +6198,8 @@ function $author$project$Gem$Node$cyclic$inline() {
6096
6198
  return A2(
6097
6199
  $author$project$Gem$Node$Link,
6098
6200
  {
6099
- bY: $author$project$Gem$Node$isExternal(href),
6100
- b2: href,
6201
+ bZ: $author$project$Gem$Node$isExternal(href),
6202
+ b3: href,
6101
6203
  p: title
6102
6204
  },
6103
6205
  nodes);
@@ -6116,7 +6218,7 @@ function $author$project$Gem$Node$cyclic$inline() {
6116
6218
  F3(
6117
6219
  function (src, alt, title) {
6118
6220
  return $author$project$Gem$Node$Image(
6119
- {bq: alt, c$: src, p: title});
6221
+ {bq: alt, c0: src, p: title});
6120
6222
  }),
6121
6223
  A2($elm$json$Json$Decode$field, 'src', $elm$json$Json$Decode$string),
6122
6224
  A2($elm$json$Json$Decode$field, 'alt', $elm$json$Json$Decode$string),
@@ -6149,7 +6251,7 @@ $author$project$Gem$Node$cyclic$inline = function () {
6149
6251
  var $elm$json$Json$Decode$int = _Json_decodeInt;
6150
6252
  var $author$project$Gem$Node$Token = F4(
6151
6253
  function (text, color, italic, bold) {
6152
- return {bv: bold, bD: color, b7: italic, v: text};
6254
+ return {bw: bold, bE: color, b8: italic, v: text};
6153
6255
  });
6154
6256
  var $author$project$Gem$Node$token = A5(
6155
6257
  $elm$json$Json$Decode$map4,
@@ -6198,7 +6300,7 @@ function $author$project$Gem$Node$cyclic$block() {
6198
6300
  F3(
6199
6301
  function (lang, title, lines) {
6200
6302
  return $author$project$Gem$Node$CodeBlock(
6201
- {a6: lang, cc: lines, p: title});
6303
+ {a6: lang, cd: lines, p: title});
6202
6304
  }),
6203
6305
  $elm$json$Json$Decode$maybe(
6204
6306
  A2($elm$json$Json$Decode$field, 'lang', $elm$json$Json$Decode$string)),
@@ -6215,7 +6317,7 @@ function $author$project$Gem$Node$cyclic$block() {
6215
6317
  F3(
6216
6318
  function (ordered, start, items) {
6217
6319
  return $author$project$Gem$Node$ListBlock(
6218
- {b8: items, cM: ordered, c0: start});
6320
+ {b9: items, cN: ordered, c1: start});
6219
6321
  }),
6220
6322
  A2($elm$json$Json$Decode$field, 'ordered', $elm$json$Json$Decode$bool),
6221
6323
  $elm$json$Json$Decode$oneOf(
@@ -6245,7 +6347,7 @@ function $author$project$Gem$Node$cyclic$block() {
6245
6347
  F2(
6246
6348
  function (head, rows) {
6247
6349
  return $author$project$Gem$Node$Table(
6248
- {b0: head, cU: rows});
6350
+ {b1: head, cV: rows});
6249
6351
  }),
6250
6352
  A2(
6251
6353
  $elm$json$Json$Decode$field,
@@ -6290,7 +6392,7 @@ $author$project$Gem$Node$cyclic$block = function () {
6290
6392
  var $author$project$Gem$Node$blocks = $elm$json$Json$Decode$list($author$project$Gem$Node$block);
6291
6393
  var $author$project$Gem$Page$Heading = F3(
6292
6394
  function (depth, id, text) {
6293
- return {bN: depth, a: id, v: text};
6395
+ return {bO: depth, b: id, v: text};
6294
6396
  });
6295
6397
  var $author$project$Gem$Page$heading = A4(
6296
6398
  $elm$json$Json$Decode$map3,
@@ -6330,106 +6432,119 @@ var $author$project$Gem$Page$pagesByRoute = function (pages) {
6330
6432
  $elm$core$Dict$empty,
6331
6433
  pages);
6332
6434
  };
6333
- var $author$project$Gem$Page$site = A9(
6334
- $elm$json$Json$Decode$map8,
6335
- $author$project$Gem$Page$Site,
6435
+ var $author$project$Gem$Page$site = A3(
6436
+ $elm$json$Json$Decode$map2,
6437
+ F2(
6438
+ function (build, baseRaw) {
6439
+ return build(
6440
+ $author$project$Gem$Page$normalizeBase(baseRaw));
6441
+ }),
6336
6442
  A9(
6337
6443
  $elm$json$Json$Decode$map8,
6338
- $author$project$Gem$Page$Meta,
6339
- A2(
6340
- $elm$json$Json$Decode$at,
6341
- _List_fromArray(
6342
- ['site', 'title']),
6343
- $elm$json$Json$Decode$string),
6444
+ $author$project$Gem$Page$Site,
6445
+ A9(
6446
+ $elm$json$Json$Decode$map8,
6447
+ $author$project$Gem$Page$Meta,
6448
+ A2(
6449
+ $elm$json$Json$Decode$at,
6450
+ _List_fromArray(
6451
+ ['site', 'title']),
6452
+ $elm$json$Json$Decode$string),
6453
+ A2(
6454
+ $elm$json$Json$Decode$at,
6455
+ _List_fromArray(
6456
+ ['site', 'description']),
6457
+ $elm$json$Json$Decode$string),
6458
+ A2(
6459
+ $elm$json$Json$Decode$at,
6460
+ _List_fromArray(
6461
+ ['site', 'url']),
6462
+ $elm$json$Json$Decode$string),
6463
+ A2(
6464
+ $elm$json$Json$Decode$at,
6465
+ _List_fromArray(
6466
+ ['site', 'lang']),
6467
+ $elm$json$Json$Decode$string),
6468
+ A2(
6469
+ $elm$json$Json$Decode$at,
6470
+ _List_fromArray(
6471
+ ['site', 'logo']),
6472
+ $elm$json$Json$Decode$string),
6473
+ $elm$json$Json$Decode$oneOf(
6474
+ _List_fromArray(
6475
+ [
6476
+ A2(
6477
+ $elm$json$Json$Decode$at,
6478
+ _List_fromArray(
6479
+ ['site', 'logoImage']),
6480
+ $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string)),
6481
+ $elm$json$Json$Decode$succeed($elm$core$Maybe$Nothing)
6482
+ ])),
6483
+ A2(
6484
+ $elm$json$Json$Decode$at,
6485
+ _List_fromArray(
6486
+ ['site', 'footer']),
6487
+ $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string)),
6488
+ $elm$json$Json$Decode$oneOf(
6489
+ _List_fromArray(
6490
+ [
6491
+ A2(
6492
+ $elm$json$Json$Decode$at,
6493
+ _List_fromArray(
6494
+ ['site', 'editUrl']),
6495
+ $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string)),
6496
+ $elm$json$Json$Decode$succeed($elm$core$Maybe$Nothing)
6497
+ ]))),
6344
6498
  A2(
6345
- $elm$json$Json$Decode$at,
6346
- _List_fromArray(
6347
- ['site', 'description']),
6348
- $elm$json$Json$Decode$string),
6499
+ $elm$json$Json$Decode$map,
6500
+ $author$project$Gem$Page$pagesByRoute,
6501
+ A2(
6502
+ $elm$json$Json$Decode$field,
6503
+ 'pages',
6504
+ $elm$json$Json$Decode$list($author$project$Gem$Page$page))),
6349
6505
  A2(
6350
- $elm$json$Json$Decode$at,
6351
- _List_fromArray(
6352
- ['site', 'url']),
6353
- $elm$json$Json$Decode$string),
6506
+ $elm$json$Json$Decode$field,
6507
+ 'docs',
6508
+ $elm$json$Json$Decode$list($author$project$Gem$Page$doc)),
6354
6509
  A2(
6355
- $elm$json$Json$Decode$at,
6356
- _List_fromArray(
6357
- ['site', 'lang']),
6358
- $elm$json$Json$Decode$string),
6510
+ $elm$json$Json$Decode$field,
6511
+ 'search',
6512
+ $elm$json$Json$Decode$list($author$project$Gem$Page$entry)),
6359
6513
  A2(
6360
- $elm$json$Json$Decode$at,
6361
- _List_fromArray(
6362
- ['site', 'logo']),
6363
- $elm$json$Json$Decode$string),
6514
+ $elm$json$Json$Decode$field,
6515
+ 'colors',
6516
+ $elm$json$Json$Decode$list($author$project$Gem$Page$color)),
6364
6517
  $elm$json$Json$Decode$oneOf(
6365
6518
  _List_fromArray(
6366
6519
  [
6367
6520
  A2(
6368
6521
  $elm$json$Json$Decode$at,
6369
6522
  _List_fromArray(
6370
- ['site', 'logoImage']),
6371
- $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string)),
6372
- $elm$json$Json$Decode$succeed($elm$core$Maybe$Nothing)
6523
+ ['theme', 'mode']),
6524
+ $elm$json$Json$Decode$string),
6525
+ $elm$json$Json$Decode$succeed('dark')
6373
6526
  ])),
6374
- A2(
6375
- $elm$json$Json$Decode$at,
6376
- _List_fromArray(
6377
- ['site', 'footer']),
6378
- $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string)),
6379
6527
  $elm$json$Json$Decode$oneOf(
6380
6528
  _List_fromArray(
6381
6529
  [
6382
6530
  A2(
6383
6531
  $elm$json$Json$Decode$at,
6384
6532
  _List_fromArray(
6385
- ['site', 'editUrl']),
6386
- $elm$json$Json$Decode$nullable($elm$json$Json$Decode$string)),
6387
- $elm$json$Json$Decode$succeed($elm$core$Maybe$Nothing)
6388
- ]))),
6389
- A2(
6390
- $elm$json$Json$Decode$map,
6391
- $author$project$Gem$Page$pagesByRoute,
6533
+ ['theme', 'system']),
6534
+ $elm$json$Json$Decode$bool),
6535
+ $elm$json$Json$Decode$succeed(false)
6536
+ ])),
6392
6537
  A2(
6393
- $elm$json$Json$Decode$field,
6394
- 'pages',
6395
- $elm$json$Json$Decode$list($author$project$Gem$Page$page))),
6396
- A2(
6397
- $elm$json$Json$Decode$field,
6398
- 'docs',
6399
- $elm$json$Json$Decode$list($author$project$Gem$Page$doc)),
6400
- A2(
6401
- $elm$json$Json$Decode$field,
6402
- 'search',
6403
- $elm$json$Json$Decode$list($author$project$Gem$Page$entry)),
6404
- A2(
6405
- $elm$json$Json$Decode$field,
6406
- 'colors',
6407
- $elm$json$Json$Decode$list($author$project$Gem$Page$color)),
6408
- $elm$json$Json$Decode$oneOf(
6409
- _List_fromArray(
6410
- [
6411
- A2(
6412
- $elm$json$Json$Decode$at,
6413
- _List_fromArray(
6414
- ['theme', 'mode']),
6415
- $elm$json$Json$Decode$string),
6416
- $elm$json$Json$Decode$succeed('dark')
6417
- ])),
6538
+ $elm$json$Json$Decode$at,
6539
+ _List_fromArray(
6540
+ ['chrome']),
6541
+ $author$project$Gem$Page$chrome)),
6418
6542
  $elm$json$Json$Decode$oneOf(
6419
6543
  _List_fromArray(
6420
6544
  [
6421
- A2(
6422
- $elm$json$Json$Decode$at,
6423
- _List_fromArray(
6424
- ['theme', 'system']),
6425
- $elm$json$Json$Decode$bool),
6426
- $elm$json$Json$Decode$succeed(false)
6427
- ])),
6428
- A2(
6429
- $elm$json$Json$Decode$at,
6430
- _List_fromArray(
6431
- ['chrome']),
6432
- $author$project$Gem$Page$chrome));
6545
+ A2($elm$json$Json$Decode$field, 'base', $elm$json$Json$Decode$string),
6546
+ $elm$json$Json$Decode$succeed('/')
6547
+ ])));
6433
6548
  var $elm$core$List$append = F2(
6434
6549
  function (xs, ys) {
6435
6550
  if (!ys.b) {
@@ -6446,7 +6561,6 @@ var $elm$core$List$concatMap = F2(
6446
6561
  return $elm$core$List$concat(
6447
6562
  A2($elm$core$List$map, f, list));
6448
6563
  });
6449
- var $elm$core$String$trim = _String_trim;
6450
6564
  var $author$project$Gem$App$nonEmpty = function (value) {
6451
6565
  return $elm$core$String$isEmpty(
6452
6566
  $elm$core$String$trim(value)) ? $elm$core$Maybe$Nothing : $elm$core$Maybe$Just(value);
@@ -6456,13 +6570,12 @@ var $author$project$Gem$App$snippetFor = function (text) {
6456
6570
  return $elm$core$String$isEmpty(trimmed) ? $elm$core$Maybe$Nothing : (($elm$core$String$length(trimmed) > 110) ? $elm$core$Maybe$Just(
6457
6571
  A2($elm$core$String$left, 107, trimmed) + '…') : $elm$core$Maybe$Just(trimmed));
6458
6572
  };
6459
- var $elm$core$String$toLower = _String_toLower;
6460
6573
  var $author$project$Gem$App$sectionHit = F2(
6461
6574
  function (entry, section) {
6462
6575
  return {
6463
6576
  L: $elm$core$Maybe$Just(entry.p),
6464
6577
  c: $elm$core$String$isEmpty(section.c) ? entry.p : section.c,
6465
- n: $elm$core$String$isEmpty(section.a) ? entry.n : (entry.n + ('#' + section.a)),
6578
+ n: $elm$core$String$isEmpty(section.b) ? entry.n : (entry.n + ('#' + section.b)),
6466
6579
  aj: $author$project$Gem$App$snippetFor(section.v),
6467
6580
  v: $elm$core$String$toLower(section.c + (' ' + (entry.p + (' ' + section.v))))
6468
6581
  };
@@ -6480,7 +6593,7 @@ var $author$project$Gem$App$pageHits = function (entry) {
6480
6593
  A2(
6481
6594
  $elm$core$List$map,
6482
6595
  $author$project$Gem$App$sectionHit(entry),
6483
- entry.cW));
6596
+ entry.cX));
6484
6597
  };
6485
6598
  var $author$project$Gem$App$siteIndex = function (site) {
6486
6599
  return A2($elm$core$List$concatMap, $author$project$Gem$App$pageHits, site.aH);
@@ -6497,11 +6610,11 @@ var $author$project$Gem$App$init = F4(
6497
6610
  var page = A2(
6498
6611
  $author$project$Gem$Page$byRoute,
6499
6612
  site,
6500
- $author$project$Gem$App$normalize(url.aq));
6613
+ A2($author$project$Gem$Page$routeOf, site, url.aq));
6501
6614
  var doc = A2(
6502
6615
  $author$project$Gem$Page$docFor,
6503
6616
  site,
6504
- $author$project$Gem$App$normalize(url.aq));
6617
+ A2($author$project$Gem$Page$routeOf, site, url.aq));
6505
6618
  var model = {
6506
6619
  E: $elm$core$Maybe$Nothing,
6507
6620
  T: false,
@@ -6513,8 +6626,8 @@ var $author$project$Gem$App$init = F4(
6513
6626
  l: A3(
6514
6627
  $author$project$Ui$Tabs$init,
6515
6628
  'docs-tabs',
6516
- A2($author$project$Gem$App$docsIndex, site, doc.a),
6517
- doc.a),
6629
+ A2($author$project$Gem$App$docsIndex, site, doc.b),
6630
+ doc.b),
6518
6631
  ay: $elm$core$Maybe$Nothing,
6519
6632
  N: false,
6520
6633
  az: $author$project$Gem$App$siteIndex(site),
@@ -6524,8 +6637,8 @@ var $author$project$Gem$App$init = F4(
6524
6637
  k: A3(
6525
6638
  $author$project$Ui$Tabs$init,
6526
6639
  'burger-docs-tabs',
6527
- A2($author$project$Gem$App$docsIndex, site, doc.a),
6528
- doc.a),
6640
+ A2($author$project$Gem$App$docsIndex, site, doc.b),
6641
+ doc.b),
6529
6642
  z: A3(
6530
6643
  $author$project$Ui$Tabs$init,
6531
6644
  'burger-theme-tabs',
@@ -6537,7 +6650,7 @@ var $author$project$Gem$App$init = F4(
6537
6650
  Z: 0,
6538
6651
  u: $author$project$Ui$Search$init('gem-search'),
6539
6652
  x: false,
6540
- b: site,
6653
+ a: site,
6541
6654
  ar: slots,
6542
6655
  o: site.o,
6543
6656
  D: A3(
@@ -6585,7 +6698,7 @@ var $author$project$Gem$App$init = F4(
6585
6698
  Z: 0,
6586
6699
  u: $author$project$Ui$Search$init('gem-search'),
6587
6700
  x: false,
6588
- b: $author$project$Gem$App$emptySite,
6701
+ a: $author$project$Gem$App$emptySite,
6589
6702
  ar: slots,
6590
6703
  o: 'dark',
6591
6704
  D: A3($author$project$Ui$Tabs$init, 'docs-theme-tabs', 1, 'dark'),
@@ -6930,7 +7043,7 @@ var $author$project$Ui$Burger$Frame = function (a) {
6930
7043
  };
6931
7044
  var $carlsson87$spring$Spring$equilibrium = function (_v0) {
6932
7045
  var x = _v0;
6933
- return _Utils_eq(x.bk, x.c3) && (!x.aa);
7046
+ return _Utils_eq(x.bk, x.c4) && (!x.aa);
6934
7047
  };
6935
7048
  var $elm$browser$Browser$AnimationManager$Delta = function (a) {
6936
7049
  return {$: 1, a: a};
@@ -7119,7 +7232,6 @@ var $elm$core$Basics$always = F2(
7119
7232
  function (a, _v0) {
7120
7233
  return a;
7121
7234
  });
7122
- var $elm$core$Basics$not = _Basics_not;
7123
7235
  var $elm$browser$Browser$AnimationManager$onAnimationFrame = function (tagger) {
7124
7236
  return $elm$browser$Browser$AnimationManager$subscription(
7125
7237
  $elm$browser$Browser$AnimationManager$Time(tagger));
@@ -7246,12 +7358,12 @@ var $author$project$Gem$App$activeAt = F2(
7246
7358
  });
7247
7359
  var $author$project$Gem$App$chatbots = _List_fromArray(
7248
7360
  [
7249
- {a: 'chatgpt', c: 'Open in ChatGPT', X: 'https://chatgpt.com/?q='},
7250
- {a: 'claude', c: 'Open in Claude', X: 'https://claude.ai/new?q='},
7251
- {a: 'perplexity', c: 'Open in Perplexity', X: 'https://www.perplexity.ai/search?q='},
7252
- {a: 'copilot', c: 'Open in Copilot', X: 'https://copilot.microsoft.com/?q='},
7253
- {a: 'you', c: 'Open in You.com', X: 'https://you.com/search?q='},
7254
- {a: 'phind', c: 'Open in Phind', X: 'https://www.phind.com/search?q='}
7361
+ {b: 'chatgpt', c: 'Open in ChatGPT', X: 'https://chatgpt.com/?q='},
7362
+ {b: 'claude', c: 'Open in Claude', X: 'https://claude.ai/new?q='},
7363
+ {b: 'perplexity', c: 'Open in Perplexity', X: 'https://www.perplexity.ai/search?q='},
7364
+ {b: 'copilot', c: 'Open in Copilot', X: 'https://copilot.microsoft.com/?q='},
7365
+ {b: 'you', c: 'Open in You.com', X: 'https://you.com/search?q='},
7366
+ {b: 'phind', c: 'Open in Phind', X: 'https://www.phind.com/search?q='}
7255
7367
  ]);
7256
7368
  var $elm$url$Url$percentEncode = _Url_percentEncode;
7257
7369
  var $author$project$Gem$App$chatbotUrl = F2(
@@ -7270,7 +7382,7 @@ var $author$project$Gem$App$chatbotUrl = F2(
7270
7382
  A2(
7271
7383
  $elm$core$List$filter,
7272
7384
  function (bot) {
7273
- return _Utils_eq(bot.a, botId);
7385
+ return _Utils_eq(bot.b, botId);
7274
7386
  },
7275
7387
  $author$project$Gem$App$chatbots)))),
7276
7388
  $elm$url$Url$percentEncode(prompt));
@@ -7278,7 +7390,7 @@ var $author$project$Gem$App$chatbotUrl = F2(
7278
7390
  var $author$project$Ui$Burger$Closed = {$: 1};
7279
7391
  var $carlsson87$spring$Spring$Config = $elm$core$Basics$identity;
7280
7392
  var $carlsson87$spring$Spring$config = function (x) {
7281
- return {ax: 0.05, b$: x.b$, c4: x.c4};
7393
+ return {ax: 0.05, b0: x.b0, c5: x.c5};
7282
7394
  };
7283
7395
  var $carlsson87$spring$Spring$setEquilibriumThreshold = F2(
7284
7396
  function (equilibriumThreshold, _v0) {
@@ -7291,7 +7403,7 @@ var $author$project$Ui$Burger$drawerSpring = A2(
7291
7403
  $carlsson87$spring$Spring$setEquilibriumThreshold,
7292
7404
  0.001,
7293
7405
  $carlsson87$spring$Spring$config(
7294
- {b$: 20, c4: 210}));
7406
+ {b0: 20, c5: 210}));
7295
7407
  var $elm$core$Basics$abs = function (n) {
7296
7408
  return (n < 0) ? (-n) : n;
7297
7409
  };
@@ -7300,16 +7412,16 @@ var $carlsson87$spring$Spring$update = F3(
7300
7412
  var cfg = _v0;
7301
7413
  var x = _v1;
7302
7414
  if ((_Utils_cmp(
7303
- $elm$core$Basics$abs(x.bk - x.c3),
7415
+ $elm$core$Basics$abs(x.bk - x.c4),
7304
7416
  cfg.ax) < 0) && (_Utils_cmp(
7305
7417
  $elm$core$Basics$abs(x.aa),
7306
7418
  cfg.ax) < 0)) {
7307
7419
  return _Utils_update(
7308
7420
  x,
7309
- {bk: x.c3, aa: 0});
7421
+ {bk: x.c4, aa: 0});
7310
7422
  } else {
7311
7423
  var deltaSeconds = deltaMs / 1000;
7312
- var acc = deltaSeconds * (((x.c3 - x.bk) * cfg.c4) - (x.aa * cfg.b$));
7424
+ var acc = deltaSeconds * (((x.c4 - x.bk) * cfg.c5) - (x.aa * cfg.b0));
7313
7425
  var newVelocity = x.aa + acc;
7314
7426
  return _Utils_update(
7315
7427
  x,
@@ -7331,7 +7443,7 @@ var $author$project$Ui$Burger$update = F2(
7331
7443
  aN: !model.aN,
7332
7444
  y: $carlsson87$spring$Spring$create(
7333
7445
  {
7334
- c3: model.aN ? 0 : 1,
7446
+ c4: model.aN ? 0 : 1,
7335
7447
  bk: $carlsson87$spring$Spring$value(model.y)
7336
7448
  })
7337
7449
  }),
@@ -7344,7 +7456,7 @@ var $author$project$Ui$Burger$update = F2(
7344
7456
  aN: false,
7345
7457
  y: $carlsson87$spring$Spring$create(
7346
7458
  {
7347
- c3: 0,
7459
+ c4: 0,
7348
7460
  bk: $carlsson87$spring$Spring$value(model.y)
7349
7461
  })
7350
7462
  }),
@@ -7374,7 +7486,7 @@ var $author$project$Gem$App$docAt = F3(
7374
7486
  A2(
7375
7487
  $elm$core$List$filter,
7376
7488
  function (doc) {
7377
- return _Utils_eq(doc.a, id);
7489
+ return _Utils_eq(doc.b, id);
7378
7490
  },
7379
7491
  site.M)));
7380
7492
  });
@@ -7389,12 +7501,15 @@ var $author$project$Gem$App$docNavigation = F3(
7389
7501
  A2(
7390
7502
  $elm$core$List$filter,
7391
7503
  function (doc) {
7392
- return _Utils_eq(doc.a, after.d);
7504
+ return _Utils_eq(doc.b, after.d);
7393
7505
  },
7394
- model.b.M));
7506
+ model.a.M));
7395
7507
  if (!_v0.$) {
7396
7508
  var doc = _v0.a;
7397
- return (!_Utils_eq(doc.a, model.i.a)) ? A2($elm$browser$Browser$Navigation$pushUrl, model.ag, doc.aB) : $elm$core$Platform$Cmd$none;
7509
+ return (!_Utils_eq(doc.b, model.i.b)) ? A2(
7510
+ $elm$browser$Browser$Navigation$pushUrl,
7511
+ model.ag,
7512
+ A2($author$project$Gem$Page$href, model.a, doc.aB)) : $elm$core$Platform$Cmd$none;
7398
7513
  } else {
7399
7514
  return $elm$core$Platform$Cmd$none;
7400
7515
  }
@@ -7406,6 +7521,13 @@ var $elm$core$Platform$Cmd$map = _Platform_map;
7406
7521
  var $author$project$Gem$Page$markdownPath = function (target) {
7407
7522
  return (target.n === '/') ? '/index.md' : (target.n + '.md');
7408
7523
  };
7524
+ var $author$project$Gem$Page$markdownHref = F2(
7525
+ function (site_, target) {
7526
+ return A2(
7527
+ $author$project$Gem$Page$href,
7528
+ site_,
7529
+ $author$project$Gem$Page$markdownPath(target));
7530
+ });
7409
7531
  var $elm$core$Task$map3 = F4(
7410
7532
  function (func, taskA, taskB, taskC) {
7411
7533
  return A2(
@@ -7438,7 +7560,7 @@ var $author$project$Ui$Dropdown$measure = F2(
7438
7560
  var button = _v1.a;
7439
7561
  var menu = _v1.b;
7440
7562
  var viewport = _v1.c;
7441
- var spaceBelow = (viewport.dd.a4 - button.a_.bm) - button.a_.a4;
7563
+ var spaceBelow = (viewport.de.a4 - button.a_.bm) - button.a_.a4;
7442
7564
  var menuHeight = menu.a_.a4;
7443
7565
  var shouldFlip = (_Utils_cmp(spaceBelow, menuHeight) < 0) && (_Utils_cmp(button.a_.bm, menuHeight) > 0);
7444
7566
  return toMsg(shouldFlip);
@@ -7547,7 +7669,7 @@ var $author$project$Gem$App$pageUrl = function (model) {
7547
7669
  var page = _v0.a;
7548
7670
  return _Utils_ap(
7549
7671
  $author$project$Gem$App$origin(model),
7550
- $author$project$Gem$Page$markdownPath(page));
7672
+ A2($author$project$Gem$Page$markdownHref, model.a, page));
7551
7673
  } else {
7552
7674
  return $author$project$Gem$App$origin(model);
7553
7675
  }
@@ -7562,7 +7684,7 @@ var $author$project$Gem$App$resyncTabs = F3(
7562
7684
  });
7563
7685
  var $author$project$Gem$Ports$saveTheme = _Platform_outgoingPort('saveTheme', $elm$json$Json$Encode$string);
7564
7686
  var $author$project$Gem$App$searchEnabled = function (model) {
7565
- return model.b.aY.a3.u;
7687
+ return model.a.aY.a3.u;
7566
7688
  };
7567
7689
  var $elm$core$Process$sleep = _Process_sleep;
7568
7690
  var $author$project$Gem$App$syncDocsTabs = F5(
@@ -7613,7 +7735,7 @@ var $author$project$Ui$Search$update = F2(
7613
7735
  return _Utils_Tuple2(
7614
7736
  _Utils_update(
7615
7737
  model,
7616
- {U: true, cX: 0}),
7738
+ {U: true, cY: 0}),
7617
7739
  $elm$core$Platform$Cmd$none);
7618
7740
  case 1:
7619
7741
  return _Utils_Tuple2(
@@ -7628,7 +7750,7 @@ var $author$project$Ui$Search$update = F2(
7628
7750
  return _Utils_Tuple2(
7629
7751
  _Utils_update(
7630
7752
  model,
7631
- {cX: 0}),
7753
+ {cY: 0}),
7632
7754
  $elm$core$Platform$Cmd$none);
7633
7755
  } else {
7634
7756
  var step = up ? (-1) : 1;
@@ -7636,7 +7758,7 @@ var $author$project$Ui$Search$update = F2(
7636
7758
  _Utils_update(
7637
7759
  model,
7638
7760
  {
7639
- cX: A2($elm$core$Basics$modBy, count, (model.cX + count) + step)
7761
+ cY: A2($elm$core$Basics$modBy, count, (model.cY + count) + step)
7640
7762
  }),
7641
7763
  $elm$core$Platform$Cmd$none);
7642
7764
  }
@@ -7659,7 +7781,7 @@ var $author$project$Ui$Tabs$measure = F2(
7659
7781
  $elm$core$Task$map2,
7660
7782
  F2(
7661
7783
  function (track, button) {
7662
- return _Utils_Tuple2(button.a_.aE - track.a_.aE, button.a_.dg);
7784
+ return _Utils_Tuple2(button.a_.aE - track.a_.aE, button.a_.dh);
7663
7785
  }),
7664
7786
  $elm$browser$Browser$Dom$getElement(id),
7665
7787
  $elm$browser$Browser$Dom$getElement(buttonId));
@@ -7677,7 +7799,7 @@ var $author$project$Ui$Tabs$update = F2(
7677
7799
  A2(
7678
7800
  $elm$core$Task$attempt,
7679
7801
  $author$project$Ui$Tabs$Measured(index),
7680
- A2($author$project$Ui$Tabs$measure, model.a, index)));
7802
+ A2($author$project$Ui$Tabs$measure, model.b, index)));
7681
7803
  case 1:
7682
7804
  if (!msg.b.$) {
7683
7805
  var index = msg.a;
@@ -7706,7 +7828,7 @@ var $author$project$Ui$Tabs$update = F2(
7706
7828
  A2(
7707
7829
  $elm$core$Task$attempt,
7708
7830
  $author$project$Ui$Tabs$Measured(model.ac),
7709
- A2($author$project$Ui$Tabs$measure, model.a, model.ac)));
7831
+ A2($author$project$Ui$Tabs$measure, model.b, model.ac)));
7710
7832
  }
7711
7833
  });
7712
7834
  var $author$project$Gem$App$update = F2(
@@ -7732,31 +7854,31 @@ var $author$project$Gem$App$update = F2(
7732
7854
  var url = msg.a;
7733
7855
  var page = A2(
7734
7856
  $author$project$Gem$Page$byRoute,
7735
- model.b,
7736
- $author$project$Gem$App$normalize(url.aq));
7857
+ model.a,
7858
+ A2($author$project$Gem$Page$routeOf, model.a, url.aq));
7737
7859
  var doc = A2(
7738
7860
  $author$project$Gem$Page$docFor,
7739
- model.b,
7740
- $author$project$Gem$App$normalize(url.aq));
7861
+ model.a,
7862
+ A2($author$project$Gem$Page$routeOf, model.a, url.aq));
7741
7863
  var next = _Utils_update(
7742
7864
  model,
7743
7865
  {
7744
7866
  E: $elm$core$Maybe$Nothing,
7745
7867
  q: model.af ? model.q : $author$project$Gem$App$closeBurger(model.q),
7746
7868
  i: doc,
7747
- l: (!_Utils_eq(doc.a, model.i.a)) ? A3(
7869
+ l: (!_Utils_eq(doc.b, model.i.b)) ? A3(
7748
7870
  $author$project$Ui$Tabs$init,
7749
7871
  'docs-tabs',
7750
- A2($author$project$Gem$App$docsIndex, model.b, doc.a),
7751
- doc.a) : model.l,
7872
+ A2($author$project$Gem$App$docsIndex, model.a, doc.b),
7873
+ doc.b) : model.l,
7752
7874
  N: false,
7753
7875
  af: false,
7754
7876
  ah: $elm$core$Maybe$Nothing,
7755
- k: (!_Utils_eq(doc.a, model.i.a)) ? A3(
7877
+ k: (!_Utils_eq(doc.b, model.i.b)) ? A3(
7756
7878
  $author$project$Ui$Tabs$init,
7757
7879
  'burger-docs-tabs',
7758
- A2($author$project$Gem$App$docsIndex, model.b, doc.a),
7759
- doc.a) : model.k,
7880
+ A2($author$project$Gem$App$docsIndex, model.a, doc.b),
7881
+ doc.b) : model.k,
7760
7882
  C: page,
7761
7883
  P: false,
7762
7884
  m: '',
@@ -7798,7 +7920,10 @@ var $author$project$Gem$App$update = F2(
7798
7920
  _Utils_update(
7799
7921
  model,
7800
7922
  {m: '', u: search, x: false}),
7801
- A2($elm$browser$Browser$Navigation$pushUrl, model.ag, route));
7923
+ A2(
7924
+ $elm$browser$Browser$Navigation$pushUrl,
7925
+ model.ag,
7926
+ A2($author$project$Gem$Page$href, model.a, route)));
7802
7927
  } else {
7803
7928
  return _Utils_Tuple2(
7804
7929
  _Utils_update(
@@ -7883,9 +8008,9 @@ var $author$project$Gem$App$update = F2(
7883
8008
  _Utils_update(
7884
8009
  model,
7885
8010
  {
7886
- i: A3($author$project$Gem$App$docAt, model.b, docsTabs.d, model.i),
8011
+ i: A3($author$project$Gem$App$docAt, model.a, docsTabs.d, model.i),
7887
8012
  l: docsTabs,
7888
- k: A5($author$project$Gem$App$syncDocsTabs, model.b, model.k, 'burger-docs-tabs', model.l.d, docsTabs.d)
8013
+ k: A5($author$project$Gem$App$syncDocsTabs, model.a, model.k, 'burger-docs-tabs', model.l.d, docsTabs.d)
7889
8014
  }),
7890
8015
  $elm$core$Platform$Cmd$batch(
7891
8016
  _List_fromArray(
@@ -7903,8 +8028,8 @@ var $author$project$Gem$App$update = F2(
7903
8028
  _Utils_update(
7904
8029
  model,
7905
8030
  {
7906
- i: A3($author$project$Gem$App$docAt, model.b, menuDocsTabs.d, model.i),
7907
- l: A5($author$project$Gem$App$syncDocsTabs, model.b, model.l, 'docs-tabs', model.k.d, menuDocsTabs.d),
8031
+ i: A3($author$project$Gem$App$docAt, model.a, menuDocsTabs.d, model.i),
8032
+ l: A5($author$project$Gem$App$syncDocsTabs, model.a, model.l, 'docs-tabs', model.k.d, menuDocsTabs.d),
7908
8033
  af: switching,
7909
8034
  k: menuDocsTabs
7910
8035
  }),
@@ -7924,7 +8049,7 @@ var $author$project$Gem$App$update = F2(
7924
8049
  _Utils_update(
7925
8050
  model,
7926
8051
  {
7927
- z: changed ? A3($author$project$Gem$App$resyncTabs, model.b.as, 'burger-theme-tabs', themeTabs.d) : model.z,
8052
+ z: changed ? A3($author$project$Gem$App$resyncTabs, model.a.as, 'burger-theme-tabs', themeTabs.d) : model.z,
7928
8053
  o: themeTabs.d,
7929
8054
  D: themeTabs
7930
8055
  }),
@@ -7946,7 +8071,7 @@ var $author$project$Gem$App$update = F2(
7946
8071
  {
7947
8072
  z: menuTabs,
7948
8073
  o: menuTabs.d,
7949
- D: changed ? A3($author$project$Gem$App$resyncTabs, model.b.as, 'docs-theme-tabs', menuTabs.d) : model.D
8074
+ D: changed ? A3($author$project$Gem$App$resyncTabs, model.a.as, 'docs-theme-tabs', menuTabs.d) : model.D
7950
8075
  }),
7951
8076
  $elm$core$Platform$Cmd$batch(
7952
8077
  _List_fromArray(
@@ -7991,7 +8116,7 @@ var $author$project$Gem$App$update = F2(
7991
8116
  _List_fromArray(
7992
8117
  [
7993
8118
  $author$project$Gem$Ports$copyMarkdown(
7994
- $author$project$Gem$Page$markdownPath(page)),
8119
+ A2($author$project$Gem$Page$markdownHref, model.a, page)),
7995
8120
  A2(
7996
8121
  $elm$core$Task$perform,
7997
8122
  function (_v13) {
@@ -8083,13 +8208,6 @@ var $elm$html$Html$Attributes$stringProperty = F2(
8083
8208
  var $elm$html$Html$Attributes$class = $elm$html$Html$Attributes$stringProperty('className');
8084
8209
  var $elm$html$Html$code = _VirtualDom_node('code');
8085
8210
  var $elm$html$Html$div = _VirtualDom_node('div');
8086
- var $elm$core$List$isEmpty = function (xs) {
8087
- if (!xs.b) {
8088
- return true;
8089
- } else {
8090
- return false;
8091
- }
8092
- };
8093
8211
  var $elm$html$Html$span = _VirtualDom_node('span');
8094
8212
  var $elm$virtual_dom$VirtualDom$text = _VirtualDom_text;
8095
8213
  var $elm$html$Html$text = $elm$virtual_dom$VirtualDom$text;
@@ -8203,7 +8321,7 @@ var $author$project$Gem$Render$token = function (value) {
8203
8321
  $elm$html$Html$span,
8204
8322
  _Utils_ap(
8205
8323
  function () {
8206
- var _v0 = value.bD;
8324
+ var _v0 = value.bE;
8207
8325
  if (!_v0.$) {
8208
8326
  var color = _v0.a;
8209
8327
  return _List_fromArray(
@@ -8215,11 +8333,11 @@ var $author$project$Gem$Render$token = function (value) {
8215
8333
  }
8216
8334
  }(),
8217
8335
  _Utils_ap(
8218
- value.b7 ? _List_fromArray(
8336
+ value.b8 ? _List_fromArray(
8219
8337
  [
8220
8338
  A2($elm$html$Html$Attributes$style, 'font-style', 'italic')
8221
8339
  ]) : _List_Nil,
8222
- value.bv ? _List_fromArray(
8340
+ value.bw ? _List_fromArray(
8223
8341
  [
8224
8342
  A2($elm$html$Html$Attributes$style, 'font-weight', '620')
8225
8343
  ]) : _List_Nil)),
@@ -8326,9 +8444,9 @@ var $author$project$Ui$Button$view = function (config) {
8326
8444
  _Utils_Tuple2(cls, true)
8327
8445
  ]);
8328
8446
  },
8329
- $author$project$Ui$Button$sizeClass(config.cY)));
8447
+ $author$project$Ui$Button$sizeClass(config.cZ)));
8330
8448
  var label = function () {
8331
- var _v0 = config.bw;
8449
+ var _v0 = config.bx;
8332
8450
  if (!_v0.$) {
8333
8451
  var busyLabel = _v0.a;
8334
8452
  return busyLabel;
@@ -8345,13 +8463,13 @@ var $author$project$Ui$Button$view = function (config) {
8345
8463
  A2(
8346
8464
  $elm$core$List$cons,
8347
8465
  _Utils_Tuple2(
8348
- $author$project$Ui$Button$variantClass(config.db),
8466
+ $author$project$Ui$Button$variantClass(config.dc),
8349
8467
  true),
8350
8468
  sizeAttrs)),
8351
8469
  $elm$html$Html$Attributes$disabled(
8352
- config.bO || (!_Utils_eq(config.bw, $elm$core$Maybe$Nothing))),
8470
+ config.bP || (!_Utils_eq(config.bx, $elm$core$Maybe$Nothing))),
8353
8471
  $elm$html$Html$Attributes$type_('button'),
8354
- $elm$html$Html$Events$onClick(config.co)
8472
+ $elm$html$Html$Events$onClick(config.cp)
8355
8473
  ]),
8356
8474
  config.aV),
8357
8475
  function (icon) {
@@ -8371,7 +8489,7 @@ var $author$project$Ui$Button$view = function (config) {
8371
8489
  A2(
8372
8490
  $elm$core$Maybe$map,
8373
8491
  $elm$html$Html$map($elm$core$Basics$never),
8374
- config.b3)))));
8492
+ config.b4)))));
8375
8493
  };
8376
8494
  var $author$project$Gem$App$languageButton = function (name) {
8377
8495
  return $author$project$Ui$Button$view(
@@ -8382,14 +8500,14 @@ var $author$project$Gem$App$languageButton = function (name) {
8382
8500
  A2($elm$html$Html$Attributes$attribute, 'tabindex', '-1'),
8383
8501
  A2($elm$html$Html$Attributes$attribute, 'aria-hidden', 'true')
8384
8502
  ]),
8385
- bw: $elm$core$Maybe$Nothing,
8386
- bO: false,
8387
- b3: $elm$core$Maybe$Nothing,
8503
+ bx: $elm$core$Maybe$Nothing,
8504
+ bP: false,
8505
+ b4: $elm$core$Maybe$Nothing,
8388
8506
  c: name,
8389
- co: $author$project$Gem$App$Noop,
8390
- cY: 2,
8391
- db: 1,
8392
- df: false
8507
+ cp: $author$project$Gem$App$Noop,
8508
+ cZ: 2,
8509
+ dc: 1,
8510
+ dg: false
8393
8511
  });
8394
8512
  };
8395
8513
  var $elm$html$Html$pre = _VirtualDom_node('pre');
@@ -9174,7 +9292,7 @@ var $author$project$Gem$App$codeView = F2(
9174
9292
  A2(
9175
9293
  $elm$html$Html$code,
9176
9294
  _List_Nil,
9177
- $author$project$Gem$Render$codeLines(code.cc))
9295
+ $author$project$Gem$Render$codeLines(code.cd))
9178
9296
  ]))
9179
9297
  ]))
9180
9298
  ]));
@@ -9416,7 +9534,7 @@ var $author$project$Gem$App$results = function (model) {
9416
9534
  function (entry) {
9417
9535
  return A2($author$project$Gem$App$inDoc, model.i, entry.n);
9418
9536
  },
9419
- model.b.aH))) : A2(
9537
+ model.a.aH))) : A2(
9420
9538
  $elm$core$List$map,
9421
9539
  A2($elm$core$Basics$composeR, $elm$core$Tuple$second, toItem),
9422
9540
  A2(
@@ -9436,7 +9554,7 @@ var $author$project$Gem$Shell$docsChoices = function (config) {
9436
9554
  return A2(
9437
9555
  $elm$core$List$map,
9438
9556
  function (doc) {
9439
- return {b3: $elm$core$Maybe$Nothing, c: doc.c, bk: doc.a};
9557
+ return {b4: $elm$core$Maybe$Nothing, c: doc.c, bk: doc.b};
9440
9558
  },
9441
9559
  config.M);
9442
9560
  };
@@ -9476,7 +9594,7 @@ var $author$project$Ui$Tabs$view = F2(
9476
9594
  }
9477
9595
  }();
9478
9596
  var sizeClass = function () {
9479
- var _v1 = config.cY;
9597
+ var _v1 = config.cZ;
9480
9598
  switch (_v1) {
9481
9599
  case 0:
9482
9600
  return _List_Nil;
@@ -9506,7 +9624,7 @@ var $author$project$Ui$Tabs$view = F2(
9506
9624
  _Utils_eq(choice.bk, model.d))
9507
9625
  ])),
9508
9626
  $elm$html$Html$Attributes$id(
9509
- model.a + ('-' + $elm$core$String$fromInt(index))),
9627
+ model.b + ('-' + $elm$core$String$fromInt(index))),
9510
9628
  $elm$html$Html$Attributes$type_('button'),
9511
9629
  A2($elm$html$Html$Attributes$attribute, 'role', 'tab'),
9512
9630
  A2(
@@ -9517,7 +9635,7 @@ var $author$project$Ui$Tabs$view = F2(
9517
9635
  A2($author$project$Ui$Tabs$Select, index, choice.bk))
9518
9636
  ]),
9519
9637
  function () {
9520
- var _v0 = choice.b3;
9638
+ var _v0 = choice.b4;
9521
9639
  if (!_v0.$) {
9522
9640
  var icon = _v0.a;
9523
9641
  return _List_fromArray(
@@ -9547,7 +9665,7 @@ var $author$project$Ui$Tabs$view = F2(
9547
9665
  'measured',
9548
9666
  !_Utils_eq(model._, $elm$core$Maybe$Nothing)),
9549
9667
  sizeClass))),
9550
- $elm$html$Html$Attributes$id(model.a),
9668
+ $elm$html$Html$Attributes$id(model.b),
9551
9669
  A2($elm$html$Html$Attributes$attribute, 'role', 'tablist')
9552
9670
  ]),
9553
9671
  config.aV),
@@ -9558,7 +9676,7 @@ var $author$project$Ui$Tabs$view = F2(
9558
9676
  var $author$project$Gem$Shell$menuDocsTabsView = function (config) {
9559
9677
  return ($elm$core$List$length(config.M) < 2) ? $elm$html$Html$text('') : A2(
9560
9678
  $elm$html$Html$map,
9561
- config.cy,
9679
+ config.cz,
9562
9680
  A2(
9563
9681
  $author$project$Ui$Tabs$view,
9564
9682
  {
@@ -9567,7 +9685,7 @@ var $author$project$Gem$Shell$menuDocsTabsView = function (config) {
9567
9685
  $elm$html$Html$Attributes$class('docs-tabs')
9568
9686
  ]),
9569
9687
  aw: $author$project$Gem$Shell$docsChoices(config),
9570
- cY: 1
9688
+ cZ: 1
9571
9689
  },
9572
9690
  config.k));
9573
9691
  };
@@ -9650,7 +9768,7 @@ var $author$project$Gem$Shell$themeChoices = function (system) {
9650
9768
  _List_fromArray(
9651
9769
  [
9652
9770
  {
9653
- b3: $elm$core$Maybe$Just(
9771
+ b4: $elm$core$Maybe$Just(
9654
9772
  $author$project$Gem$Shell$themeIcon('light')),
9655
9773
  c: '',
9656
9774
  bk: 'light'
@@ -9660,7 +9778,7 @@ var $author$project$Gem$Shell$themeChoices = function (system) {
9660
9778
  system ? _List_fromArray(
9661
9779
  [
9662
9780
  {
9663
- b3: $elm$core$Maybe$Just(
9781
+ b4: $elm$core$Maybe$Just(
9664
9782
  $author$project$Gem$Shell$themeIcon('system')),
9665
9783
  c: '',
9666
9784
  bk: 'system'
@@ -9669,7 +9787,7 @@ var $author$project$Gem$Shell$themeChoices = function (system) {
9669
9787
  _List_fromArray(
9670
9788
  [
9671
9789
  {
9672
- b3: $elm$core$Maybe$Just(
9790
+ b4: $elm$core$Maybe$Just(
9673
9791
  $author$project$Gem$Shell$themeIcon('dark')),
9674
9792
  c: '',
9675
9793
  bk: 'dark'
@@ -9677,19 +9795,19 @@ var $author$project$Gem$Shell$themeChoices = function (system) {
9677
9795
  ])));
9678
9796
  };
9679
9797
  var $author$project$Gem$Shell$burgerControls = function (config) {
9680
- var chrome = config.b.aY.a3;
9798
+ var chrome = config.a.aY.a3;
9681
9799
  var parts = _Utils_ap(
9682
9800
  chrome.o ? _List_fromArray(
9683
9801
  [
9684
9802
  A2(
9685
9803
  $elm$html$Html$map,
9686
- config.cz,
9804
+ config.cA,
9687
9805
  A2(
9688
9806
  $author$project$Ui$Tabs$view,
9689
9807
  {
9690
9808
  aV: _List_Nil,
9691
- aw: $author$project$Gem$Shell$themeChoices(config.b.as),
9692
- cY: 1
9809
+ aw: $author$project$Gem$Shell$themeChoices(config.a.as),
9810
+ cZ: 1
9693
9811
  },
9694
9812
  config.z))
9695
9813
  ]) : _List_Nil,
@@ -9720,7 +9838,7 @@ var $elm$html$Html$Attributes$src = function (url) {
9720
9838
  };
9721
9839
  var $author$project$Gem$Shell$logoView = F2(
9722
9840
  function (label, config) {
9723
- var _v0 = config.b.ap.ce;
9841
+ var _v0 = config.a.ap.cf;
9724
9842
  if (!_v0.$) {
9725
9843
  var src = _v0.a;
9726
9844
  return A3(
@@ -9729,7 +9847,8 @@ var $author$project$Gem$Shell$logoView = F2(
9729
9847
  _List_fromArray(
9730
9848
  [
9731
9849
  $elm$html$Html$Attributes$class('site-logo'),
9732
- $elm$html$Html$Attributes$src(src),
9850
+ $elm$html$Html$Attributes$src(
9851
+ A2($author$project$Gem$Page$href, config.a, src)),
9733
9852
  $elm$html$Html$Attributes$alt(label)
9734
9853
  ]),
9735
9854
  _List_Nil);
@@ -9747,23 +9866,20 @@ var $author$project$Ui$Sidebar$Group = F3(
9747
9866
  var $author$project$Ui$Sidebar$Href = function (a) {
9748
9867
  return {$: 0, a: a};
9749
9868
  };
9750
- var $author$project$Gem$Shell$normalize = function (path) {
9751
- var trimmed = (($elm$core$String$length(path) > 1) && A2($elm$core$String$endsWith, '/', path)) ? A2($elm$core$String$dropRight, 1, path) : path;
9752
- return (trimmed === '') ? '/' : trimmed;
9753
- };
9754
9869
  var $author$project$Gem$Shell$isActive = F2(
9755
- function (path, route) {
9870
+ function (config, route) {
9756
9871
  return _Utils_eq(
9757
- $author$project$Gem$Shell$normalize(path),
9758
- $author$project$Gem$Shell$normalize(route));
9872
+ A2($author$project$Gem$Page$routeOf, config.a, config.I.aq),
9873
+ route);
9759
9874
  });
9760
9875
  var $author$project$Gem$Shell$navItem = F3(
9761
9876
  function (config, label, route) {
9762
9877
  return {
9763
- d: A2($author$project$Gem$Shell$isActive, config.I.aq, route),
9764
- b3: $elm$core$Maybe$Nothing,
9878
+ d: A2($author$project$Gem$Shell$isActive, config, route),
9879
+ b4: $elm$core$Maybe$Nothing,
9765
9880
  c: label,
9766
- c3: $author$project$Ui$Sidebar$Href(route)
9881
+ c4: $author$project$Ui$Sidebar$Href(
9882
+ A2($author$project$Gem$Page$href, config.a, route))
9767
9883
  };
9768
9884
  });
9769
9885
  var $author$project$Gem$Shell$pageItem = F2(
@@ -9785,15 +9901,15 @@ var $author$project$Gem$Shell$categorySection = F2(
9785
9901
  return $elm$core$Maybe$Just(
9786
9902
  A3(
9787
9903
  $author$project$Ui$Sidebar$Group,
9788
- {ag: category.a, c: category.c},
9904
+ {ag: category.b, c: category.c},
9789
9905
  A2(
9790
9906
  $elm$core$List$filterMap,
9791
9907
  $author$project$Gem$Shell$pageItem(config),
9792
- category.b8),
9908
+ category.b9),
9793
9909
  A2(
9794
9910
  $elm$core$List$filterMap,
9795
9911
  $author$project$Gem$Shell$categorySection(config),
9796
- category.b8)));
9912
+ category.b9)));
9797
9913
  }
9798
9914
  });
9799
9915
  var $author$project$Gem$Shell$sections = function (config) {
@@ -9906,7 +10022,7 @@ var $elm$html$Html$Attributes$href = function (url) {
9906
10022
  };
9907
10023
  var $author$project$Ui$Sidebar$itemNode = function (item) {
9908
10024
  var targetAttrs = function () {
9909
- var _v1 = item.c3;
10025
+ var _v1 = item.c4;
9910
10026
  if (!_v1.$) {
9911
10027
  var href = _v1.a;
9912
10028
  return _List_fromArray(
@@ -9923,7 +10039,7 @@ var $author$project$Ui$Sidebar$itemNode = function (item) {
9923
10039
  }
9924
10040
  }();
9925
10041
  var content = function () {
9926
- var _v0 = item.b3;
10042
+ var _v0 = item.b4;
9927
10043
  if (!_v0.$) {
9928
10044
  var icon = _v0.a;
9929
10045
  return _List_fromArray(
@@ -10104,7 +10220,7 @@ var $author$project$Ui$Sidebar$view = function (config) {
10104
10220
  _List_fromArray(
10105
10221
  [
10106
10222
  _Utils_Tuple2('sidebar', true),
10107
- _Utils_Tuple2('narrow', config.ch)
10223
+ _Utils_Tuple2('narrow', config.ci)
10108
10224
  ]))
10109
10225
  ]),
10110
10226
  config.aV),
@@ -10118,8 +10234,8 @@ var $author$project$Ui$Sidebar$view = function (config) {
10118
10234
  ]),
10119
10235
  A2(
10120
10236
  $elm$core$List$concatMap,
10121
- A2($author$project$Ui$Sidebar$sectionNode, config.cH, config.G),
10122
- config.cW)),
10237
+ A2($author$project$Ui$Sidebar$sectionNode, config.cI, config.G),
10238
+ config.cX)),
10123
10239
  function () {
10124
10240
  var _v0 = config.a1;
10125
10241
  if (!_v0.$) {
@@ -10147,9 +10263,9 @@ var $author$project$Gem$Shell$sidebarView = F2(
10147
10263
  aV: attributes,
10148
10264
  G: config.G,
10149
10265
  a1: $elm$core$Maybe$Nothing,
10150
- ch: false,
10151
- cH: $elm$core$Maybe$Just(config.cH),
10152
- cW: $author$project$Gem$Shell$sections(config)
10266
+ ci: false,
10267
+ cI: $elm$core$Maybe$Just(config.cI),
10268
+ cX: $author$project$Gem$Shell$sections(config)
10153
10269
  });
10154
10270
  });
10155
10271
  var $author$project$Ui$Burger$closeIcon = A2(
@@ -10254,7 +10370,7 @@ var $author$project$Ui$Burger$view = F2(
10254
10370
  _List_fromArray(
10255
10371
  [
10256
10372
  $elm$html$Html$Attributes$class('burger-overlay'),
10257
- $elm$html$Html$Events$onClick(config.cp)
10373
+ $elm$html$Html$Events$onClick(config.cq)
10258
10374
  ]),
10259
10375
  _List_Nil),
10260
10376
  A2(
@@ -10305,7 +10421,7 @@ var $author$project$Ui$Burger$view = F2(
10305
10421
  [
10306
10422
  $elm$html$Html$Attributes$type_('button'),
10307
10423
  $elm$html$Html$Attributes$class('burger-close'),
10308
- $elm$html$Html$Events$onClick(config.cp),
10424
+ $elm$html$Html$Events$onClick(config.cq),
10309
10425
  A2($elm$html$Html$Attributes$attribute, 'aria-label', 'Close menu'),
10310
10426
  A2($elm$html$Html$Attributes$attribute, 'aria-controls', 'burger-drawer')
10311
10427
  ]),
@@ -10379,10 +10495,10 @@ var $author$project$Gem$Shell$drawer = function (config) {
10379
10495
  ]),
10380
10496
  _List_fromArray(
10381
10497
  [
10382
- A2($author$project$Gem$Shell$logoView, config.b.ap.a7, config)
10498
+ A2($author$project$Gem$Shell$logoView, config.a.ap.a7, config)
10383
10499
  ]))),
10384
- cp: config.cl($author$project$Ui$Burger$Closed),
10385
- aM: config.cl($author$project$Ui$Burger$Toggled)
10500
+ cq: config.cm($author$project$Ui$Burger$Closed),
10501
+ aM: config.cm($author$project$Ui$Burger$Toggled)
10386
10502
  },
10387
10503
  config.q);
10388
10504
  };
@@ -10431,7 +10547,7 @@ var $author$project$Gem$CharmSticker$view = A2(
10431
10547
  ]))
10432
10548
  ]));
10433
10549
  var $author$project$Gem$Shell$footerView = function (config) {
10434
- var footer = config.b.aY.a1;
10550
+ var footer = config.a.aY.a1;
10435
10551
  var column = function (view_) {
10436
10552
  return A2(
10437
10553
  $elm$html$Html$div,
@@ -10449,7 +10565,7 @@ var $author$project$Gem$Shell$footerView = function (config) {
10449
10565
  ]),
10450
10566
  _List_fromArray(
10451
10567
  [
10452
- $elm$html$Html$text(view_.b1)
10568
+ $elm$html$Html$text(view_.b2)
10453
10569
  ])),
10454
10570
  A2(
10455
10571
  $elm$html$Html$ul,
@@ -10466,7 +10582,8 @@ var $author$project$Gem$Shell$footerView = function (config) {
10466
10582
  $elm$html$Html$a,
10467
10583
  _List_fromArray(
10468
10584
  [
10469
- $elm$html$Html$Attributes$href(link.b2)
10585
+ $elm$html$Html$Attributes$href(
10586
+ A2($author$project$Gem$Page$href, config.a, link.b3))
10470
10587
  ]),
10471
10588
  _List_fromArray(
10472
10589
  [
@@ -10474,7 +10591,7 @@ var $author$project$Gem$Shell$footerView = function (config) {
10474
10591
  ]))
10475
10592
  ]));
10476
10593
  },
10477
- view_.cd))
10594
+ view_.ce))
10478
10595
  ]));
10479
10596
  };
10480
10597
  var brand = A2(
@@ -10495,7 +10612,7 @@ var $author$project$Gem$Shell$footerView = function (config) {
10495
10612
  ]),
10496
10613
  _List_fromArray(
10497
10614
  [$author$project$Gem$CharmSticker$view])),
10498
- $elm$core$String$isEmpty(footer.bt) ? $elm$html$Html$text('') : A2(
10615
+ $elm$core$String$isEmpty(footer.bu) ? $elm$html$Html$text('') : A2(
10499
10616
  $elm$html$Html$p,
10500
10617
  _List_fromArray(
10501
10618
  [
@@ -10503,9 +10620,9 @@ var $author$project$Gem$Shell$footerView = function (config) {
10503
10620
  ]),
10504
10621
  _List_fromArray(
10505
10622
  [
10506
- $elm$html$Html$text(footer.bt)
10623
+ $elm$html$Html$text(footer.bu)
10507
10624
  ])),
10508
- $elm$core$List$isEmpty(footer.bB) ? $elm$html$Html$text('') : A2(
10625
+ $elm$core$List$isEmpty(footer.bC) ? $elm$html$Html$text('') : A2(
10509
10626
  $elm$html$Html$div,
10510
10627
  _List_fromArray(
10511
10628
  [
@@ -10525,9 +10642,9 @@ var $author$project$Gem$Shell$footerView = function (config) {
10525
10642
  $elm$html$Html$text(chip)
10526
10643
  ]));
10527
10644
  },
10528
- footer.bB))
10645
+ footer.bC))
10529
10646
  ]));
10530
- return (!footer.bV) ? $elm$html$Html$text('') : A2(
10647
+ return (!footer.bW) ? $elm$html$Html$text('') : A2(
10531
10648
  $elm$html$Html$footer,
10532
10649
  _List_fromArray(
10533
10650
  [
@@ -10544,7 +10661,7 @@ var $author$project$Gem$Shell$footerView = function (config) {
10544
10661
  A2(
10545
10662
  $elm$core$List$cons,
10546
10663
  brand,
10547
- A2($elm$core$List$map, column, footer.bF))),
10664
+ A2($elm$core$List$map, column, footer.bG))),
10548
10665
  A2(
10549
10666
  $elm$html$Html$div,
10550
10667
  _List_fromArray(
@@ -10559,7 +10676,7 @@ var $author$project$Gem$Shell$footerView = function (config) {
10559
10676
  _List_fromArray(
10560
10677
  [
10561
10678
  $elm$html$Html$text(
10562
- A2($elm$core$Maybe$withDefault, '', config.b.ap.a1))
10679
+ A2($elm$core$Maybe$withDefault, '', config.a.ap.a1))
10563
10680
  ])),
10564
10681
  A2(
10565
10682
  $elm$html$Html$a,
@@ -10578,7 +10695,7 @@ var $author$project$Gem$Shell$footerView = function (config) {
10578
10695
  var $author$project$Gem$Shell$docsTabsView = function (config) {
10579
10696
  return ($elm$core$List$length(config.M) < 2) ? $elm$html$Html$text('') : A2(
10580
10697
  $elm$html$Html$map,
10581
- config.cv,
10698
+ config.cw,
10582
10699
  A2(
10583
10700
  $author$project$Ui$Tabs$view,
10584
10701
  {
@@ -10587,14 +10704,14 @@ var $author$project$Gem$Shell$docsTabsView = function (config) {
10587
10704
  $elm$html$Html$Attributes$class('docs-tabs')
10588
10705
  ]),
10589
10706
  aw: $author$project$Gem$Shell$docsChoices(config),
10590
- cY: 1
10707
+ cZ: 1
10591
10708
  },
10592
10709
  config.l));
10593
10710
  };
10594
10711
  var $author$project$Ui$Button$Compact = 1;
10595
10712
  var $author$project$Ui$Button$viewLink = F2(
10596
10713
  function (config, href) {
10597
- var wideAttrs = config.df ? _List_fromArray(
10714
+ var wideAttrs = config.dg ? _List_fromArray(
10598
10715
  [
10599
10716
  _Utils_Tuple2('wide', true)
10600
10717
  ]) : _List_Nil;
@@ -10609,8 +10726,8 @@ var $author$project$Ui$Button$viewLink = F2(
10609
10726
  _Utils_Tuple2(cls, true)
10610
10727
  ]);
10611
10728
  },
10612
- $author$project$Ui$Button$sizeClass(config.cY)));
10613
- var disabledAttrs = config.bO ? _List_fromArray(
10729
+ $author$project$Ui$Button$sizeClass(config.cZ)));
10730
+ var disabledAttrs = config.bP ? _List_fromArray(
10614
10731
  [
10615
10732
  A2($elm$html$Html$Attributes$attribute, 'aria-disabled', 'true')
10616
10733
  ]) : _List_Nil;
@@ -10623,7 +10740,7 @@ var $author$project$Ui$Button$viewLink = F2(
10623
10740
  A2(
10624
10741
  $elm$core$List$cons,
10625
10742
  _Utils_Tuple2(
10626
- $author$project$Ui$Button$variantClass(config.db),
10743
+ $author$project$Ui$Button$variantClass(config.dc),
10627
10744
  true),
10628
10745
  _Utils_ap(sizeAttrs, wideAttrs))),
10629
10746
  $elm$html$Html$Attributes$href(href)
@@ -10649,25 +10766,26 @@ var $author$project$Ui$Button$viewLink = F2(
10649
10766
  A2(
10650
10767
  $elm$core$Maybe$map,
10651
10768
  $elm$html$Html$map($elm$core$Basics$never),
10652
- config.b3))))));
10769
+ config.b4))))));
10770
+ });
10771
+ var $author$project$Gem$Shell$headerAction = F2(
10772
+ function (config, action) {
10773
+ return A2(
10774
+ $author$project$Ui$Button$viewLink,
10775
+ {
10776
+ aV: _List_fromArray(
10777
+ [
10778
+ $elm$html$Html$Attributes$class('docs-header-action')
10779
+ ]),
10780
+ bP: false,
10781
+ b4: $elm$core$Maybe$Nothing,
10782
+ c: action.c,
10783
+ cZ: 1,
10784
+ dc: 1,
10785
+ dg: false
10786
+ },
10787
+ A2($author$project$Gem$Page$href, config.a, action.b3));
10653
10788
  });
10654
- var $author$project$Gem$Shell$headerAction = function (action) {
10655
- return A2(
10656
- $author$project$Ui$Button$viewLink,
10657
- {
10658
- aV: _List_fromArray(
10659
- [
10660
- $elm$html$Html$Attributes$class('docs-header-action')
10661
- ]),
10662
- bO: false,
10663
- b3: $elm$core$Maybe$Nothing,
10664
- c: action.c,
10665
- cY: 1,
10666
- db: 1,
10667
- df: false
10668
- },
10669
- action.b2);
10670
- };
10671
10789
  var $author$project$Ui$Icon$Search = 17;
10672
10790
  var $author$project$Gem$Shell$searchToggle = function (config) {
10673
10791
  return A2(
@@ -10678,7 +10796,7 @@ var $author$project$Gem$Shell$searchToggle = function (config) {
10678
10796
  $elm$html$Html$Attributes$type_('button'),
10679
10797
  $elm$html$Html$Attributes$title('Search (Ctrl/Cmd K)'),
10680
10798
  A2($elm$html$Html$Attributes$attribute, 'aria-label', 'Search'),
10681
- $elm$html$Html$Events$onClick(config.cD)
10799
+ $elm$html$Html$Events$onClick(config.cE)
10682
10800
  ]),
10683
10801
  _List_fromArray(
10684
10802
  [
@@ -10686,7 +10804,7 @@ var $author$project$Gem$Shell$searchToggle = function (config) {
10686
10804
  ]));
10687
10805
  };
10688
10806
  var $author$project$Gem$Shell$header = function (config) {
10689
- var chrome = config.b.aY.a3;
10807
+ var chrome = config.a.aY.a3;
10690
10808
  return A2(
10691
10809
  $elm$html$Html$div,
10692
10810
  _List_fromArray(
@@ -10706,11 +10824,12 @@ var $author$project$Gem$Shell$header = function (config) {
10706
10824
  _List_fromArray(
10707
10825
  [
10708
10826
  $elm$html$Html$Attributes$class('docs-header-title'),
10709
- $elm$html$Html$Attributes$href(config.i.aB)
10827
+ $elm$html$Html$Attributes$href(
10828
+ A2($author$project$Gem$Page$href, config.a, config.i.aB))
10710
10829
  ]),
10711
10830
  _List_fromArray(
10712
10831
  [
10713
- A2($author$project$Gem$Shell$logoView, config.b.ap.a7, config)
10832
+ A2($author$project$Gem$Shell$logoView, config.a.ap.a7, config)
10714
10833
  ])) : $elm$html$Html$text('')
10715
10834
  ]),
10716
10835
  _List_fromArray(
@@ -10722,20 +10841,23 @@ var $author$project$Gem$Shell$header = function (config) {
10722
10841
  $elm$html$Html$Attributes$class('docs-header-end')
10723
10842
  ]),
10724
10843
  _Utils_ap(
10725
- A2($elm$core$List$map, $author$project$Gem$Shell$headerAction, chrome.bp),
10844
+ A2(
10845
+ $elm$core$List$map,
10846
+ $author$project$Gem$Shell$headerAction(config),
10847
+ chrome.bp),
10726
10848
  _List_fromArray(
10727
10849
  [
10728
10850
  chrome.u ? $author$project$Gem$Shell$searchToggle(config) : $elm$html$Html$text(''),
10729
10851
  chrome.M ? $author$project$Gem$Shell$docsTabsView(config) : $elm$html$Html$text(''),
10730
10852
  chrome.o ? A2(
10731
10853
  $elm$html$Html$map,
10732
- config.cF,
10854
+ config.cG,
10733
10855
  A2(
10734
10856
  $author$project$Ui$Tabs$view,
10735
10857
  {
10736
10858
  aV: _List_Nil,
10737
- aw: $author$project$Gem$Shell$themeChoices(config.b.as),
10738
- cY: 1
10859
+ aw: $author$project$Gem$Shell$themeChoices(config.a.as),
10860
+ cZ: 1
10739
10861
  },
10740
10862
  config.D)) : $elm$html$Html$text('')
10741
10863
  ])))
@@ -10792,8 +10914,8 @@ var $author$project$Gem$Render$codeBlocks = function (children) {
10792
10914
  return $elm$core$Maybe$Just(
10793
10915
  {
10794
10916
  a6: code.a6,
10795
- cc: code.cc,
10796
- v: $author$project$Gem$Render$linesToText(code.cc),
10917
+ cd: code.cd,
10918
+ v: $author$project$Gem$Render$linesToText(code.cd),
10797
10919
  p: code.p
10798
10920
  });
10799
10921
  } else {
@@ -10913,10 +11035,39 @@ var $elm$html$Html$del = _VirtualDom_node('del');
10913
11035
  var $elm$html$Html$em = _VirtualDom_node('em');
10914
11036
  var $elm$html$Html$img = _VirtualDom_node('img');
10915
11037
  var $elm$html$Html$Attributes$rel = _VirtualDom_attribute('rel');
11038
+ var $elm$core$Dict$map = F2(
11039
+ function (func, dict) {
11040
+ if (dict.$ === -2) {
11041
+ return $elm$core$Dict$RBEmpty_elm_builtin;
11042
+ } else {
11043
+ var color = dict.a;
11044
+ var key = dict.b;
11045
+ var value = dict.c;
11046
+ var left = dict.d;
11047
+ var right = dict.e;
11048
+ return A5(
11049
+ $elm$core$Dict$RBNode_elm_builtin,
11050
+ color,
11051
+ key,
11052
+ A2(func, key, value),
11053
+ A2($elm$core$Dict$map, func, left),
11054
+ A2($elm$core$Dict$map, func, right));
11055
+ }
11056
+ });
11057
+ var $author$project$Gem$Render$rewriteProps = F2(
11058
+ function (rewrite, props) {
11059
+ return A2(
11060
+ $elm$core$Dict$map,
11061
+ F2(
11062
+ function (key, value) {
11063
+ return ((key === 'href') || ((key === 'src') || (key === 'poster'))) ? rewrite(value) : value;
11064
+ }),
11065
+ props);
11066
+ });
10916
11067
  var $elm$html$Html$strong = _VirtualDom_node('strong');
10917
11068
  var $elm$html$Html$Attributes$target = $elm$html$Html$Attributes$stringProperty('target');
10918
- var $author$project$Gem$Render$inline = F2(
10919
- function (slots, node) {
11069
+ var $author$project$Gem$Render$inline = F3(
11070
+ function (rewrite, slots, node) {
10920
11071
  switch (node.$) {
10921
11072
  case 0:
10922
11073
  var text = node.a;
@@ -10938,19 +11089,19 @@ var $author$project$Gem$Render$inline = F2(
10938
11089
  return A2(
10939
11090
  $elm$html$Html$strong,
10940
11091
  _List_Nil,
10941
- A2($author$project$Gem$Render$inlines, slots, children));
11092
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, children));
10942
11093
  case 3:
10943
11094
  var children = node.a;
10944
11095
  return A2(
10945
11096
  $elm$html$Html$em,
10946
11097
  _List_Nil,
10947
- A2($author$project$Gem$Render$inlines, slots, children));
11098
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, children));
10948
11099
  case 4:
10949
11100
  var children = node.a;
10950
11101
  return A2(
10951
11102
  $elm$html$Html$del,
10952
11103
  _List_Nil,
10953
- A2($author$project$Gem$Render$inlines, slots, children));
11104
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, children));
10954
11105
  case 5:
10955
11106
  var link = node.a;
10956
11107
  var children = node.b;
@@ -10961,17 +11112,18 @@ var $author$project$Gem$Render$inline = F2(
10961
11112
  $elm$html$Html$Attributes$class('md-link'),
10962
11113
  A2(
10963
11114
  $elm$core$List$cons,
10964
- $elm$html$Html$Attributes$href(link.b2),
11115
+ $elm$html$Html$Attributes$href(
11116
+ rewrite(link.b3)),
10965
11117
  A2(
10966
11118
  $elm$core$List$cons,
10967
11119
  $elm$html$Html$Attributes$title(
10968
11120
  A2($elm$core$Maybe$withDefault, '', link.p)),
10969
- link.bY ? _List_fromArray(
11121
+ link.bZ ? _List_fromArray(
10970
11122
  [
10971
11123
  $elm$html$Html$Attributes$target('_blank'),
10972
11124
  $elm$html$Html$Attributes$rel('noreferrer')
10973
11125
  ]) : _List_Nil))),
10974
- A2($author$project$Gem$Render$inlines, slots, children));
11126
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, children));
10975
11127
  case 6:
10976
11128
  var image = node.a;
10977
11129
  return A2(
@@ -10979,7 +11131,8 @@ var $author$project$Gem$Render$inline = F2(
10979
11131
  _List_fromArray(
10980
11132
  [
10981
11133
  $elm$html$Html$Attributes$class('md-image'),
10982
- $elm$html$Html$Attributes$src(image.c$),
11134
+ $elm$html$Html$Attributes$src(
11135
+ rewrite(image.c0)),
10983
11136
  $elm$html$Html$Attributes$alt(image.bq),
10984
11137
  $elm$html$Html$Attributes$title(
10985
11138
  A2($elm$core$Maybe$withDefault, '', image.p))
@@ -10994,15 +11147,15 @@ var $author$project$Gem$Render$inline = F2(
10994
11147
  return A3(
10995
11148
  slots.aF,
10996
11149
  tag,
10997
- props,
10998
- A2($author$project$Gem$Render$inlines, slots, children));
11150
+ A2($author$project$Gem$Render$rewriteProps, rewrite, props),
11151
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, children));
10999
11152
  }
11000
11153
  });
11001
- var $author$project$Gem$Render$inlines = F2(
11002
- function (slots, list) {
11154
+ var $author$project$Gem$Render$inlinesWithHref = F3(
11155
+ function (rewrite, slots, list) {
11003
11156
  return A2(
11004
11157
  $elm$core$List$map,
11005
- $author$project$Gem$Render$inline(slots),
11158
+ A2($author$project$Gem$Render$inline, rewrite, slots),
11006
11159
  list);
11007
11160
  });
11008
11161
  var $elm$html$Html$ol = _VirtualDom_node('ol');
@@ -11018,8 +11171,8 @@ var $elm$html$Html$td = _VirtualDom_node('td');
11018
11171
  var $elm$html$Html$th = _VirtualDom_node('th');
11019
11172
  var $elm$html$Html$thead = _VirtualDom_node('thead');
11020
11173
  var $elm$html$Html$tr = _VirtualDom_node('tr');
11021
- var $author$project$Gem$Render$tableView = F2(
11022
- function (slots, table) {
11174
+ var $author$project$Gem$Render$tableView = F3(
11175
+ function (rewrite, slots, table) {
11023
11176
  return A2(
11024
11177
  $elm$html$Html$div,
11025
11178
  _List_fromArray(
@@ -11047,9 +11200,9 @@ var $author$project$Gem$Render$tableView = F2(
11047
11200
  return A2(
11048
11201
  $elm$html$Html$th,
11049
11202
  _List_Nil,
11050
- A2($author$project$Gem$Render$inlines, slots, cell));
11203
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, cell));
11051
11204
  },
11052
- table.b0))
11205
+ table.b1))
11053
11206
  ])),
11054
11207
  A2(
11055
11208
  $elm$html$Html$tbody,
@@ -11066,16 +11219,16 @@ var $author$project$Gem$Render$tableView = F2(
11066
11219
  return A2(
11067
11220
  $elm$html$Html$td,
11068
11221
  _List_Nil,
11069
- A2($author$project$Gem$Render$inlines, slots, cell));
11222
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, cell));
11070
11223
  },
11071
11224
  row));
11072
11225
  },
11073
- table.cU))
11226
+ table.cV))
11074
11227
  ]))
11075
11228
  ]));
11076
11229
  });
11077
- var $author$project$Gem$Render$block = F3(
11078
- function (slots, codeView, node) {
11230
+ var $author$project$Gem$Render$block = F4(
11231
+ function (rewrite, slots, codeView, node) {
11079
11232
  switch (node.$) {
11080
11233
  case 0:
11081
11234
  var depth = node.a;
@@ -11085,7 +11238,7 @@ var $author$project$Gem$Render$block = F3(
11085
11238
  $author$project$Gem$Render$heading,
11086
11239
  depth,
11087
11240
  id,
11088
- A2($author$project$Gem$Render$inlines, slots, children));
11241
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, children));
11089
11242
  case 1:
11090
11243
  var children = node.a;
11091
11244
  return A2(
@@ -11094,19 +11247,19 @@ var $author$project$Gem$Render$block = F3(
11094
11247
  [
11095
11248
  $elm$html$Html$Attributes$class('md-p')
11096
11249
  ]),
11097
- A2($author$project$Gem$Render$inlines, slots, children));
11250
+ A3($author$project$Gem$Render$inlinesWithHref, rewrite, slots, children));
11098
11251
  case 2:
11099
11252
  var code = node.a;
11100
11253
  return codeView(
11101
11254
  {
11102
11255
  a6: code.a6,
11103
- cc: code.cc,
11104
- v: $author$project$Gem$Render$linesToText(code.cc),
11256
+ cd: code.cd,
11257
+ v: $author$project$Gem$Render$linesToText(code.cd),
11105
11258
  p: code.p
11106
11259
  });
11107
11260
  case 3:
11108
11261
  var list = node.a;
11109
- return A3($author$project$Gem$Render$listBlock, slots, codeView, list);
11262
+ return A4($author$project$Gem$Render$listBlock, rewrite, slots, codeView, list);
11110
11263
  case 4:
11111
11264
  var children = node.a;
11112
11265
  return A2(
@@ -11115,10 +11268,10 @@ var $author$project$Gem$Render$block = F3(
11115
11268
  [
11116
11269
  $elm$html$Html$Attributes$class('md-quote')
11117
11270
  ]),
11118
- A3($author$project$Gem$Render$blocks, slots, codeView, children));
11271
+ A4($author$project$Gem$Render$blocksWithHref, rewrite, slots, codeView, children));
11119
11272
  case 5:
11120
11273
  var table = node.a;
11121
- return A2($author$project$Gem$Render$tableView, slots, table);
11274
+ return A3($author$project$Gem$Render$tableView, rewrite, slots, table);
11122
11275
  case 6:
11123
11276
  return A2($elm$html$Html$hr, _List_Nil, _List_Nil);
11124
11277
  case 7:
@@ -11147,13 +11300,13 @@ var $author$project$Gem$Render$block = F3(
11147
11300
  var _v1 = $author$project$Gem$Render$cardGroups(children);
11148
11301
  if (!_v1.$) {
11149
11302
  var groups = _v1.a;
11150
- return A3($author$project$Gem$Render$cardsGroupView, slots, codeView, groups);
11303
+ return A4($author$project$Gem$Render$cardsGroupView, rewrite, slots, codeView, groups);
11151
11304
  } else {
11152
11305
  return A3(
11153
11306
  slots.aF,
11154
11307
  'ui-cards',
11155
- props,
11156
- A3($author$project$Gem$Render$blocks, slots, codeView, children));
11308
+ A2($author$project$Gem$Render$rewriteProps, rewrite, props),
11309
+ A4($author$project$Gem$Render$blocksWithHref, rewrite, slots, codeView, children));
11157
11310
  }
11158
11311
  default:
11159
11312
  var tag = node.a;
@@ -11162,20 +11315,20 @@ var $author$project$Gem$Render$block = F3(
11162
11315
  return A3(
11163
11316
  slots.aF,
11164
11317
  tag,
11165
- props,
11166
- A3($author$project$Gem$Render$blocks, slots, codeView, children));
11318
+ A2($author$project$Gem$Render$rewriteProps, rewrite, props),
11319
+ A4($author$project$Gem$Render$blocksWithHref, rewrite, slots, codeView, children));
11167
11320
  }
11168
11321
  }
11169
11322
  });
11170
- var $author$project$Gem$Render$blocks = F3(
11171
- function (slots, codeView, list) {
11323
+ var $author$project$Gem$Render$blocksWithHref = F4(
11324
+ function (rewrite, slots, codeView, list) {
11172
11325
  return A2(
11173
11326
  $elm$core$List$map,
11174
- A2($author$project$Gem$Render$block, slots, codeView),
11327
+ A3($author$project$Gem$Render$block, rewrite, slots, codeView),
11175
11328
  list);
11176
11329
  });
11177
- var $author$project$Gem$Render$cardsGroupView = F3(
11178
- function (slots, codeView, groups) {
11330
+ var $author$project$Gem$Render$cardsGroupView = F4(
11331
+ function (rewrite, slots, codeView, groups) {
11179
11332
  return A2(
11180
11333
  $elm$html$Html$div,
11181
11334
  _List_fromArray(
@@ -11240,30 +11393,30 @@ var $author$project$Gem$Render$cardsGroupView = F3(
11240
11393
  [
11241
11394
  $elm$html$Html$Attributes$class('cards')
11242
11395
  ]),
11243
- A3($author$project$Gem$Render$blocks, slots, codeView, group.aW))
11396
+ A4($author$project$Gem$Render$blocksWithHref, rewrite, slots, codeView, group.aW))
11244
11397
  ]));
11245
11398
  }),
11246
11399
  groups)));
11247
11400
  });
11248
- var $author$project$Gem$Render$listBlock = F3(
11249
- function (slots, codeView, list) {
11401
+ var $author$project$Gem$Render$listBlock = F4(
11402
+ function (rewrite, slots, codeView, list) {
11250
11403
  var children = A2(
11251
11404
  $elm$core$List$map,
11252
11405
  function (item) {
11253
11406
  return A2(
11254
11407
  $elm$html$Html$li,
11255
11408
  _List_Nil,
11256
- A3($author$project$Gem$Render$blocks, slots, codeView, item));
11409
+ A4($author$project$Gem$Render$blocksWithHref, rewrite, slots, codeView, item));
11257
11410
  },
11258
- list.b8);
11259
- return list.cM ? A2(
11411
+ list.b9);
11412
+ return list.cN ? A2(
11260
11413
  $elm$html$Html$ol,
11261
11414
  A2(
11262
11415
  $elm$core$List$cons,
11263
11416
  $elm$html$Html$Attributes$class('md-ol'),
11264
- (list.c0 !== 1) ? _List_fromArray(
11417
+ (list.c1 !== 1) ? _List_fromArray(
11265
11418
  [
11266
- $elm$html$Html$Attributes$start(list.c0)
11419
+ $elm$html$Html$Attributes$start(list.c1)
11267
11420
  ]) : _List_Nil),
11268
11421
  children) : A2(
11269
11422
  $elm$html$Html$ul,
@@ -11290,12 +11443,12 @@ var $author$project$Gem$Shell$lede = function (page) {
11290
11443
  };
11291
11444
  var $author$project$Gem$Shell$chatbots = _List_fromArray(
11292
11445
  [
11293
- {a: 'chatgpt', c: 'Open in ChatGPT'},
11294
- {a: 'claude', c: 'Open in Claude'},
11295
- {a: 'perplexity', c: 'Open in Perplexity'},
11296
- {a: 'copilot', c: 'Open in Copilot'},
11297
- {a: 'you', c: 'Open in You.com'},
11298
- {a: 'phind', c: 'Open in Phind'}
11446
+ {b: 'chatgpt', c: 'Open in ChatGPT'},
11447
+ {b: 'claude', c: 'Open in Claude'},
11448
+ {b: 'perplexity', c: 'Open in Perplexity'},
11449
+ {b: 'copilot', c: 'Open in Copilot'},
11450
+ {b: 'you', c: 'Open in You.com'},
11451
+ {b: 'phind', c: 'Open in Phind'}
11299
11452
  ]);
11300
11453
  var $author$project$Ui$Dropdown$option = F2(
11301
11454
  function (label, value) {
@@ -11314,7 +11467,7 @@ var $author$project$Ui$Dropdown$actionNodes = function (maybeAction) {
11314
11467
  [
11315
11468
  $elm$html$Html$Attributes$class('action'),
11316
11469
  $elm$html$Html$Attributes$type_('button'),
11317
- $elm$html$Html$Events$onClick(cfg.co)
11470
+ $elm$html$Html$Events$onClick(cfg.cp)
11318
11471
  ]),
11319
11472
  _List_fromArray(
11320
11473
  [
@@ -11484,9 +11637,9 @@ var $author$project$Ui$Dropdown$searchNodes = function (maybeSearch) {
11484
11637
  [
11485
11638
  $elm$html$Html$Attributes$type_('search'),
11486
11639
  $elm$html$Html$Attributes$class('query'),
11487
- $elm$html$Html$Attributes$placeholder(cfg.cP),
11640
+ $elm$html$Html$Attributes$placeholder(cfg.cQ),
11488
11641
  $elm$html$Html$Attributes$value(cfg.m),
11489
- $elm$html$Html$Events$onInput(cfg.cx)
11642
+ $elm$html$Html$Events$onInput(cfg.cy)
11490
11643
  ]),
11491
11644
  _List_Nil),
11492
11645
  A2(
@@ -11500,7 +11653,7 @@ var $author$project$Ui$Dropdown$searchNodes = function (maybeSearch) {
11500
11653
  _Utils_Tuple2('visible', hasText)
11501
11654
  ])),
11502
11655
  $elm$html$Html$Attributes$type_('button'),
11503
- $elm$html$Html$Events$onClick(cfg.cn),
11656
+ $elm$html$Html$Events$onClick(cfg.co),
11504
11657
  A2($elm$html$Html$Attributes$attribute, 'aria-label', 'Clear search'),
11505
11658
  A2(
11506
11659
  $elm$html$Html$Attributes$attribute,
@@ -11520,12 +11673,12 @@ var $author$project$Ui$Dropdown$view = function (config) {
11520
11673
  A2(
11521
11674
  $elm$core$List$filter,
11522
11675
  function (o) {
11523
- return _Utils_eq(o.bk, config.cX);
11676
+ return _Utils_eq(o.bk, config.cY);
11524
11677
  },
11525
- config.cL));
11678
+ config.cM));
11526
11679
  var selectedLabel = A2(
11527
11680
  $elm$core$Maybe$withDefault,
11528
- $elm$core$String$isEmpty(config.c8) ? 'Select…' : config.c8,
11681
+ $elm$core$String$isEmpty(config.c9) ? 'Select…' : config.c9,
11529
11682
  A2(
11530
11683
  $elm$core$Maybe$map,
11531
11684
  function ($) {
@@ -11558,14 +11711,14 @@ var $author$project$Ui$Dropdown$view = function (config) {
11558
11711
  var filtered = function () {
11559
11712
  if ($elm$core$String$isEmpty(
11560
11713
  $elm$core$String$trim(query))) {
11561
- return config.cL;
11714
+ return config.cM;
11562
11715
  } else {
11563
11716
  var needle = $elm$core$String$toLower(
11564
11717
  $elm$core$String$trim(query));
11565
11718
  return A2(
11566
11719
  $elm$core$List$filter,
11567
11720
  $author$project$Ui$Dropdown$matchesQuery(needle),
11568
- config.cL);
11721
+ config.cM);
11569
11722
  }
11570
11723
  }();
11571
11724
  return A2(
@@ -11573,14 +11726,14 @@ var $author$project$Ui$Dropdown$view = function (config) {
11573
11726
  _Utils_ap(
11574
11727
  _List_fromArray(
11575
11728
  [
11576
- $elm$html$Html$Attributes$id(config.a),
11729
+ $elm$html$Html$Attributes$id(config.b),
11577
11730
  $elm$html$Html$Attributes$classList(
11578
11731
  _List_fromArray(
11579
11732
  [
11580
11733
  _Utils_Tuple2('dropdown', true),
11581
11734
  _Utils_Tuple2('open', config.aN),
11582
- _Utils_Tuple2('flip', config.b_),
11583
- _Utils_Tuple2('compact', config.bG)
11735
+ _Utils_Tuple2('flip', config.b$),
11736
+ _Utils_Tuple2('compact', config.bH)
11584
11737
  ]))
11585
11738
  ]),
11586
11739
  config.aV),
@@ -11590,7 +11743,7 @@ var $author$project$Ui$Dropdown$view = function (config) {
11590
11743
  $elm$html$Html$button,
11591
11744
  _List_fromArray(
11592
11745
  [
11593
- $elm$html$Html$Attributes$id(config.a + '-button'),
11746
+ $elm$html$Html$Attributes$id(config.b + '-button'),
11594
11747
  $elm$html$Html$Events$onClick(config.aM),
11595
11748
  A2($elm$html$Html$Attributes$attribute, 'aria-haspopup', 'true'),
11596
11749
  A2($elm$html$Html$Attributes$attribute, 'aria-label', selectedLabel),
@@ -11600,7 +11753,7 @@ var $author$project$Ui$Dropdown$view = function (config) {
11600
11753
  config.aN ? 'true' : 'false')
11601
11754
  ]),
11602
11755
  function () {
11603
- var _v0 = config.c9;
11756
+ var _v0 = config.da;
11604
11757
  if (!_v0.$) {
11605
11758
  var icon = _v0.a;
11606
11759
  return _List_fromArray(
@@ -11635,12 +11788,12 @@ var $author$project$Ui$Dropdown$view = function (config) {
11635
11788
  _List_fromArray(
11636
11789
  [
11637
11790
  $elm$html$Html$Attributes$class('menu'),
11638
- $elm$html$Html$Attributes$id(config.a + '-menu')
11791
+ $elm$html$Html$Attributes$id(config.b + '-menu')
11639
11792
  ]),
11640
11793
  _Utils_ap(
11641
11794
  $author$project$Ui$Dropdown$searchNodes(config.u),
11642
11795
  _Utils_ap(
11643
- A5($author$project$Ui$Dropdown$optionNodes, filtered, config.cE, query, hasAction, config.cX),
11796
+ A5($author$project$Ui$Dropdown$optionNodes, filtered, config.cF, query, hasAction, config.cY),
11644
11797
  $author$project$Ui$Dropdown$actionNodes(config.bo))))
11645
11798
  ]));
11646
11799
  };
@@ -11652,22 +11805,22 @@ var $author$project$Gem$Shell$aiDropdown = function (config) {
11652
11805
  [
11653
11806
  $elm$html$Html$Attributes$class('ai-dropdown')
11654
11807
  ]),
11655
- bG: true,
11656
- b_: config.T,
11657
- a: 'ai-dropdown',
11658
- cE: config.cj,
11659
- aM: config.ck,
11808
+ bH: true,
11809
+ b$: config.T,
11810
+ b: 'ai-dropdown',
11811
+ cF: config.ck,
11812
+ aM: config.cl,
11660
11813
  aN: config.F,
11661
- cL: A2(
11814
+ cM: A2(
11662
11815
  $elm$core$List$map,
11663
11816
  function (bot) {
11664
- return A2($author$project$Ui$Dropdown$option, bot.c, bot.a);
11817
+ return A2($author$project$Ui$Dropdown$option, bot.c, bot.b);
11665
11818
  },
11666
11819
  $author$project$Gem$Shell$chatbots),
11667
11820
  u: $elm$core$Maybe$Nothing,
11668
- cX: '',
11669
- c8: 'Open in',
11670
- c9: $elm$core$Maybe$Just(
11821
+ cY: '',
11822
+ c9: 'Open in',
11823
+ da: $elm$core$Maybe$Just(
11671
11824
  $author$project$Ui$Icon$view(1))
11672
11825
  });
11673
11826
  };
@@ -11683,25 +11836,25 @@ var $author$project$Gem$Shell$copyPageButton = function (config) {
11683
11836
  _Utils_Tuple2('done', config.P)
11684
11837
  ]))
11685
11838
  ]),
11686
- bw: $elm$core$Maybe$Nothing,
11687
- bO: false,
11688
- b3: $elm$core$Maybe$Just(
11839
+ bx: $elm$core$Maybe$Nothing,
11840
+ bP: false,
11841
+ b4: $elm$core$Maybe$Just(
11689
11842
  config.P ? $author$project$Ui$Icon$view(3) : $author$project$Ui$Icon$view(4)),
11690
11843
  c: config.P ? 'Copied' : 'Copy page',
11691
- co: config.ct,
11692
- cY: 1,
11693
- db: 1,
11694
- df: false
11844
+ cp: config.cu,
11845
+ cZ: 1,
11846
+ dc: 1,
11847
+ dg: false
11695
11848
  });
11696
11849
  };
11697
11850
  var $author$project$Gem$Shell$toolbarActions = function (config) {
11698
- var toolbar = config.b.aY.c7;
11851
+ var toolbar = config.a.aY.c8;
11699
11852
  return _Utils_ap(
11700
11853
  toolbar.K ? _List_fromArray(
11701
11854
  [
11702
11855
  $author$project$Gem$Shell$copyPageButton(config)
11703
11856
  ]) : _List_Nil,
11704
- toolbar.cK ? _List_fromArray(
11857
+ toolbar.cL ? _List_fromArray(
11705
11858
  [
11706
11859
  $author$project$Gem$Shell$aiDropdown(config)
11707
11860
  ]) : _List_Nil);
@@ -11719,7 +11872,7 @@ var $author$project$Gem$Shell$pageActions = function (config) {
11719
11872
  var $author$project$Ui$Icon$ExternalLink = 5;
11720
11873
  var $author$project$Gem$Shell$editLink = F2(
11721
11874
  function (config, page) {
11722
- var _v0 = config.b.ap.bT;
11875
+ var _v0 = config.a.ap.bU;
11723
11876
  if (!_v0.$) {
11724
11877
  var base = _v0.a;
11725
11878
  var prefix = A2($elm$core$String$endsWith, '/', base) ? base : (base + '/');
@@ -11729,7 +11882,7 @@ var $author$project$Gem$Shell$editLink = F2(
11729
11882
  [
11730
11883
  $elm$html$Html$Attributes$class('docs-edit'),
11731
11884
  $elm$html$Html$Attributes$href(
11732
- _Utils_ap(prefix, page.c_)),
11885
+ _Utils_ap(prefix, page.c$)),
11733
11886
  $elm$html$Html$Attributes$target('_blank'),
11734
11887
  $elm$html$Html$Attributes$rel('noopener noreferrer')
11735
11888
  ]),
@@ -11744,15 +11897,29 @@ var $author$project$Gem$Shell$editLink = F2(
11744
11897
  });
11745
11898
  var $author$project$Gem$Shell$pageMarkdownUrl = F2(
11746
11899
  function (config, page) {
11747
- var raw = $elm$core$String$trim(config.b.ap.I);
11748
- var origin = A2($elm$core$String$endsWith, '/', raw) ? A2($elm$core$String$dropRight, 1, raw) : raw;
11749
- return $elm$core$String$isEmpty(origin) ? $author$project$Gem$Page$markdownPath(page) : _Utils_ap(
11750
- origin,
11751
- $author$project$Gem$Page$markdownPath(page));
11900
+ var raw = $elm$core$String$trim(config.a.ap.I);
11901
+ var markdown = A2($author$project$Gem$Page$markdownHref, config.a, page);
11902
+ var candidate = A2($elm$core$String$contains, '://', raw) ? raw : ('https://' + raw);
11903
+ if ($elm$core$String$isEmpty(raw)) {
11904
+ return markdown;
11905
+ } else {
11906
+ var _v0 = $elm$url$Url$fromString(candidate);
11907
+ if (!_v0.$) {
11908
+ var parsed = _v0.a;
11909
+ return _Utils_ap(
11910
+ $elm$url$Url$toString(
11911
+ _Utils_update(
11912
+ parsed,
11913
+ {a2: $elm$core$Maybe$Nothing, aq: '', m: $elm$core$Maybe$Nothing})),
11914
+ markdown);
11915
+ } else {
11916
+ return markdown;
11917
+ }
11918
+ }
11752
11919
  });
11753
11920
  var $author$project$Gem$Shell$eofBand = F2(
11754
11921
  function (config, page) {
11755
- if (!config.b.aY.a1.bW) {
11922
+ if (!config.a.aY.a1.bX) {
11756
11923
  return $elm$html$Html$text('');
11757
11924
  } else {
11758
11925
  var command = 'glow -p ' + A2($author$project$Gem$Shell$pageMarkdownUrl, config, page);
@@ -11808,7 +11975,7 @@ var $author$project$Gem$Shell$eofBand = F2(
11808
11975
  ])),
11809
11976
  A2(
11810
11977
  $elm$html$Html$map,
11811
- config.cr,
11978
+ config.cs,
11812
11979
  A2(
11813
11980
  $author$project$Ui$CopyButton$view,
11814
11981
  {
@@ -11819,7 +11986,7 @@ var $author$project$Gem$Shell$eofBand = F2(
11819
11986
  c: 'Copy command',
11820
11987
  v: command
11821
11988
  },
11822
- config.bL))
11989
+ config.bM))
11823
11990
  ])),
11824
11991
  A2(
11825
11992
  $elm$html$Html$span,
@@ -11836,7 +12003,7 @@ var $author$project$Gem$Shell$eofBand = F2(
11836
12003
  });
11837
12004
  var $author$project$Gem$Shell$pageTail = F2(
11838
12005
  function (config, page) {
11839
- return (config.b.aY.a1.bW || (!_Utils_eq(config.b.ap.bT, $elm$core$Maybe$Nothing))) ? A2(
12006
+ return (config.a.aY.a1.bX || (!_Utils_eq(config.a.ap.bU, $elm$core$Maybe$Nothing))) ? A2(
11840
12007
  $elm$html$Html$div,
11841
12008
  _List_fromArray(
11842
12009
  [
@@ -11856,7 +12023,7 @@ var $author$project$Gem$Shell$flatten = function (config) {
11856
12023
  [page.n]);
11857
12024
  } else {
11858
12025
  var category = item.a;
11859
- return A2($elm$core$List$concatMap, routeOf, category.b8);
12026
+ return A2($elm$core$List$concatMap, routeOf, category.b9);
11860
12027
  }
11861
12028
  };
11862
12029
  var routes = A2($elm$core$List$concatMap, routeOf, config.aK);
@@ -11867,39 +12034,23 @@ var $author$project$Gem$Shell$flatten = function (config) {
11867
12034
  function (entry) {
11868
12035
  return _Utils_eq(entry.n, route);
11869
12036
  },
11870
- config.b.aH));
12037
+ config.a.aH));
11871
12038
  };
11872
12039
  return A2($elm$core$List$filterMap, entryFor, routes);
11873
12040
  };
11874
- var $elm$core$List$drop = F2(
11875
- function (n, list) {
11876
- drop:
11877
- while (true) {
11878
- if (n <= 0) {
11879
- return list;
11880
- } else {
11881
- if (!list.b) {
11882
- return list;
11883
- } else {
11884
- var x = list.a;
11885
- var xs = list.b;
11886
- var $temp$n = n - 1,
11887
- $temp$list = xs;
11888
- n = $temp$n;
11889
- list = $temp$list;
11890
- continue drop;
11891
- }
11892
- }
11893
- }
11894
- });
11895
12041
  var $author$project$Gem$Shell$itemAt = F2(
11896
12042
  function (index, items) {
11897
12043
  return $elm$core$List$head(
11898
12044
  A2($elm$core$List$drop, index, items));
11899
12045
  });
11900
- var $author$project$Gem$Shell$pageNavItem = function (entry) {
11901
- return {am: entry.aS, b2: entry.n, p: entry.p};
11902
- };
12046
+ var $author$project$Gem$Shell$pageNavItem = F2(
12047
+ function (config, entry) {
12048
+ return {
12049
+ am: entry.aS,
12050
+ b3: A2($author$project$Gem$Page$href, config.a, entry.n),
12051
+ p: entry.p
12052
+ };
12053
+ });
11903
12054
  var $author$project$Ui$PageNav$itemView = F3(
11904
12055
  function (directionLabel, directionClass, item) {
11905
12056
  return A2(
@@ -11907,7 +12058,7 @@ var $author$project$Ui$PageNav$itemView = F3(
11907
12058
  _List_fromArray(
11908
12059
  [
11909
12060
  $elm$html$Html$Attributes$class('page-nav-link ' + directionClass),
11910
- $elm$html$Html$Attributes$href(item.b2)
12061
+ $elm$html$Html$Attributes$href(item.b3)
11911
12062
  ]),
11912
12063
  _List_fromArray(
11913
12064
  [
@@ -11956,7 +12107,7 @@ var $author$project$Ui$PageNav$view = function (config) {
11956
12107
  _List_fromArray(
11957
12108
  [
11958
12109
  function () {
11959
- var _v0 = config.cQ;
12110
+ var _v0 = config.cR;
11960
12111
  if (!_v0.$) {
11961
12112
  var item = _v0.a;
11962
12113
  return A3($author$project$Ui$PageNav$itemView, 'Previous', 'prev', item);
@@ -11965,7 +12116,7 @@ var $author$project$Ui$PageNav$view = function (config) {
11965
12116
  }
11966
12117
  }(),
11967
12118
  function () {
11968
- var _v1 = config.ci;
12119
+ var _v1 = config.cj;
11969
12120
  if (!_v1.$) {
11970
12121
  var item = _v1.a;
11971
12122
  return A3($author$project$Ui$PageNav$itemView, 'Next', 'next', item);
@@ -12004,8 +12155,14 @@ var $author$project$Gem$Shell$pager = F2(
12004
12155
  return (_Utils_eq(previous, $elm$core$Maybe$Nothing) && _Utils_eq(next, $elm$core$Maybe$Nothing)) ? $elm$html$Html$text('') : $author$project$Ui$PageNav$view(
12005
12156
  {
12006
12157
  aV: _List_Nil,
12007
- ci: A2($elm$core$Maybe$map, $author$project$Gem$Shell$pageNavItem, next),
12008
- cQ: A2($elm$core$Maybe$map, $author$project$Gem$Shell$pageNavItem, previous)
12158
+ cj: A2(
12159
+ $elm$core$Maybe$map,
12160
+ $author$project$Gem$Shell$pageNavItem(config),
12161
+ next),
12162
+ cR: A2(
12163
+ $elm$core$Maybe$map,
12164
+ $author$project$Gem$Shell$pageNavItem(config),
12165
+ previous)
12009
12166
  });
12010
12167
  });
12011
12168
  var $elm$html$Html$aside = _VirtualDom_node('aside');
@@ -12017,10 +12174,10 @@ var $author$project$Gem$Shell$buildToc = F2(
12017
12174
  } else {
12018
12175
  var first = headings.a;
12019
12176
  var rest = headings.b;
12020
- if (_Utils_cmp(first.bN, level) < 0) {
12177
+ if (_Utils_cmp(first.bO, level) < 0) {
12021
12178
  return _Utils_Tuple2(_List_Nil, headings);
12022
12179
  } else {
12023
- var _v1 = A2($author$project$Gem$Shell$buildToc, first.bN + 1, rest);
12180
+ var _v1 = A2($author$project$Gem$Shell$buildToc, first.bO + 1, rest);
12024
12181
  var children = _v1.a;
12025
12182
  var afterChildren = _v1.b;
12026
12183
  var _v2 = A2($author$project$Gem$Shell$buildToc, level, afterChildren);
@@ -12029,7 +12186,7 @@ var $author$project$Gem$Shell$buildToc = F2(
12029
12186
  return _Utils_Tuple2(
12030
12187
  A2(
12031
12188
  $elm$core$List$cons,
12032
- {bA: children, b2: '#' + first.a, c: first.v},
12189
+ {bB: children, b3: '#' + first.b, c: first.v},
12033
12190
  siblings),
12034
12191
  remaining);
12035
12192
  }
@@ -12058,7 +12215,7 @@ var $author$project$Ui$ToC$itemsView = F2(
12058
12215
  'active',
12059
12216
  _Utils_eq(
12060
12217
  active,
12061
- $elm$core$Maybe$Just(item.b2)))
12218
+ $elm$core$Maybe$Just(item.b3)))
12062
12219
  ]))
12063
12220
  ]),
12064
12221
  _Utils_ap(
@@ -12068,16 +12225,16 @@ var $author$project$Ui$ToC$itemsView = F2(
12068
12225
  $elm$html$Html$a,
12069
12226
  _List_fromArray(
12070
12227
  [
12071
- $elm$html$Html$Attributes$href(item.b2)
12228
+ $elm$html$Html$Attributes$href(item.b3)
12072
12229
  ]),
12073
12230
  _List_fromArray(
12074
12231
  [
12075
12232
  $elm$html$Html$text(item.c)
12076
12233
  ]))
12077
12234
  ]),
12078
- $elm$core$List$isEmpty(item.bA) ? _List_Nil : _List_fromArray(
12235
+ $elm$core$List$isEmpty(item.bB) ? _List_Nil : _List_fromArray(
12079
12236
  [
12080
- A2($author$project$Ui$ToC$itemsView, active, item.bA)
12237
+ A2($author$project$Ui$ToC$itemsView, active, item.bB)
12081
12238
  ])));
12082
12239
  },
12083
12240
  items));
@@ -12146,7 +12303,7 @@ var $author$project$Ui$ToC$view = function (config) {
12146
12303
  _Utils_Tuple2(
12147
12304
  'collapsible',
12148
12305
  function () {
12149
- var _v0 = config.bP;
12306
+ var _v0 = config.bQ;
12150
12307
  if (!_v0.$) {
12151
12308
  return true;
12152
12309
  } else {
@@ -12156,7 +12313,7 @@ var $author$project$Ui$ToC$view = function (config) {
12156
12313
  _Utils_Tuple2(
12157
12314
  'open',
12158
12315
  function () {
12159
- var _v1 = config.bP;
12316
+ var _v1 = config.bQ;
12160
12317
  if (!_v1.$) {
12161
12318
  var d = _v1.a;
12162
12319
  return d.aN;
@@ -12170,15 +12327,15 @@ var $author$project$Ui$ToC$view = function (config) {
12170
12327
  config.aV),
12171
12328
  A2(
12172
12329
  $elm$core$List$cons,
12173
- A2($author$project$Ui$ToC$titleView, config.bP, config.p),
12330
+ A2($author$project$Ui$ToC$titleView, config.bQ, config.p),
12174
12331
  _List_fromArray(
12175
12332
  [
12176
- A2($author$project$Ui$ToC$itemsView, config.d, config.b8)
12333
+ A2($author$project$Ui$ToC$itemsView, config.d, config.b9)
12177
12334
  ])));
12178
12335
  };
12179
12336
  var $author$project$Gem$Shell$tocView = F2(
12180
12337
  function (config, page) {
12181
- return $elm$core$List$isEmpty(page.c6) ? $elm$html$Html$text('') : A2(
12338
+ return $elm$core$List$isEmpty(page.c7) ? $elm$html$Html$text('') : A2(
12182
12339
  $elm$html$Html$aside,
12183
12340
  _List_fromArray(
12184
12341
  [
@@ -12198,9 +12355,9 @@ var $author$project$Gem$Shell$tocView = F2(
12198
12355
  {
12199
12356
  d: config.E,
12200
12357
  aV: _List_Nil,
12201
- bP: $elm$core$Maybe$Just(
12202
- {aM: config.cG, aN: config.R}),
12203
- b8: $author$project$Gem$Shell$tocTree(page.c6),
12358
+ bQ: $elm$core$Maybe$Just(
12359
+ {aM: config.cH, aN: config.R}),
12360
+ b9: $author$project$Gem$Shell$tocTree(page.c7),
12204
12361
  p: 'On this page'
12205
12362
  })
12206
12363
  ]))
@@ -12277,7 +12434,8 @@ var $author$project$Gem$Shell$pageView = function (config) {
12277
12434
  _List_fromArray(
12278
12435
  [
12279
12436
  $elm$html$Html$Attributes$class('md-link'),
12280
- $elm$html$Html$Attributes$href(config.i.aB)
12437
+ $elm$html$Html$Attributes$href(
12438
+ A2($author$project$Gem$Page$href, config.a, config.i.aB))
12281
12439
  ]),
12282
12440
  _List_fromArray(
12283
12441
  [
@@ -12334,7 +12492,12 @@ var $author$project$Gem$Shell$pageView = function (config) {
12334
12492
  [
12335
12493
  $elm$html$Html$Attributes$class('md')
12336
12494
  ]),
12337
- A3($author$project$Gem$Render$blocks, config.ar, config.bC, page.bs))
12495
+ A4(
12496
+ $author$project$Gem$Render$blocksWithHref,
12497
+ $author$project$Gem$Page$href(config.a),
12498
+ config.ar,
12499
+ config.bD,
12500
+ page.bt))
12338
12501
  ]),
12339
12502
  _Utils_ap(
12340
12503
  _List_fromArray(
@@ -12388,7 +12551,7 @@ var $author$project$Gem$Shell$searchHint = F2(
12388
12551
  });
12389
12552
  var $author$project$Ui$Modal$view = function (config) {
12390
12553
  var widthStyle = function () {
12391
- var _v2 = config.cf;
12554
+ var _v2 = config.cg;
12392
12555
  if (!_v2.$) {
12393
12556
  var px = _v2.a;
12394
12557
  return _List_fromArray(
@@ -12403,7 +12566,7 @@ var $author$project$Ui$Modal$view = function (config) {
12403
12566
  }
12404
12567
  }();
12405
12568
  var closeChip = function () {
12406
- var _v1 = config.bQ;
12569
+ var _v1 = config.bR;
12407
12570
  if (!_v1.$) {
12408
12571
  var onDismiss = _v1.a;
12409
12572
  return _List_fromArray(
@@ -12436,7 +12599,7 @@ var $author$project$Ui$Modal$view = function (config) {
12436
12599
  }
12437
12600
  }();
12438
12601
  var backdrop = function () {
12439
- var _v0 = config.bQ;
12602
+ var _v0 = config.bR;
12440
12603
  if (!_v0.$) {
12441
12604
  var onDismiss = _v0.a;
12442
12605
  return _List_fromArray(
@@ -12485,7 +12648,7 @@ var $author$project$Ui$Modal$view = function (config) {
12485
12648
  $elm$html$Html$Attributes$class('modal')
12486
12649
  ]),
12487
12650
  _Utils_ap(widthStyle, config.aV)),
12488
- _Utils_ap(closeChip, config.bJ))
12651
+ _Utils_ap(closeChip, config.bK))
12489
12652
  ])));
12490
12653
  };
12491
12654
  var $author$project$Ui$Search$Focused = {$: 0};
@@ -12638,8 +12801,8 @@ var $author$project$Ui$Search$queryNeedles = function (query) {
12638
12801
  };
12639
12802
  var $author$project$Ui$Search$view = F2(
12640
12803
  function (config, model) {
12641
- var itemCount = $elm$core$List$length(config.b8);
12642
- var selected = (!itemCount) ? 0 : A2($elm$core$Basics$modBy, itemCount, model.cX);
12804
+ var itemCount = $elm$core$List$length(config.b9);
12805
+ var selected = (!itemCount) ? 0 : A2($elm$core$Basics$modBy, itemCount, model.cY);
12643
12806
  var resultNode = F2(
12644
12807
  function (index, item) {
12645
12808
  return A2(
@@ -12659,7 +12822,7 @@ var $author$project$Ui$Search$view = F2(
12659
12822
  'mousedown',
12660
12823
  $elm$json$Json$Decode$succeed(
12661
12824
  _Utils_Tuple2(
12662
- config.c5(
12825
+ config.c6(
12663
12826
  $author$project$Ui$Search$Select(item.bk)),
12664
12827
  true)))
12665
12828
  ]),
@@ -12722,7 +12885,7 @@ var $author$project$Ui$Search$view = F2(
12722
12885
  }()
12723
12886
  ]));
12724
12887
  });
12725
- var menu = (model.U || config.cO) ? _List_fromArray(
12888
+ var menu = (model.U || config.cP) ? _List_fromArray(
12726
12889
  [
12727
12890
  A2(
12728
12891
  $elm$html$Html$div,
@@ -12730,7 +12893,7 @@ var $author$project$Ui$Search$view = F2(
12730
12893
  [
12731
12894
  $elm$html$Html$Attributes$class('search-menu')
12732
12895
  ]),
12733
- $elm$core$List$isEmpty(config.b8) ? _List_fromArray(
12896
+ $elm$core$List$isEmpty(config.b9) ? _List_fromArray(
12734
12897
  [
12735
12898
  A2(
12736
12899
  $elm$html$Html$div,
@@ -12740,13 +12903,13 @@ var $author$project$Ui$Search$view = F2(
12740
12903
  ]),
12741
12904
  _List_fromArray(
12742
12905
  [
12743
- $elm$html$Html$text(config.bU)
12906
+ $elm$html$Html$text(config.bV)
12744
12907
  ]))
12745
- ]) : A2($elm$core$List$indexedMap, resultNode, config.b8))
12908
+ ]) : A2($elm$core$List$indexedMap, resultNode, config.b9))
12746
12909
  ]) : _List_Nil;
12747
12910
  var selectedValue = function () {
12748
12911
  var _v2 = $elm$core$List$head(
12749
- A2($elm$core$List$drop, selected, config.b8));
12912
+ A2($elm$core$List$drop, selected, config.b9));
12750
12913
  if (!_v2.$) {
12751
12914
  var item = _v2.a;
12752
12915
  return $elm$core$Maybe$Just(item.bk);
@@ -12756,7 +12919,7 @@ var $author$project$Ui$Search$view = F2(
12756
12919
  function ($) {
12757
12920
  return $.bk;
12758
12921
  },
12759
- $elm$core$List$head(config.b8));
12922
+ $elm$core$List$head(config.b9));
12760
12923
  }
12761
12924
  }();
12762
12925
  var hasText = !$elm$core$String$isEmpty(config.m);
@@ -12770,16 +12933,16 @@ var $author$project$Ui$Search$view = F2(
12770
12933
  [
12771
12934
  _Utils_Tuple2('search', true)
12772
12935
  ])),
12773
- $elm$html$Html$Attributes$id(model.a),
12936
+ $elm$html$Html$Attributes$id(model.b),
12774
12937
  function () {
12775
12938
  if (!selectedValue.$) {
12776
12939
  var value = selectedValue.a;
12777
12940
  return $elm$html$Html$Events$onSubmit(
12778
- config.c5(
12941
+ config.c6(
12779
12942
  $author$project$Ui$Search$Select(value)));
12780
12943
  } else {
12781
12944
  return $elm$html$Html$Events$onSubmit(
12782
- config.c5($author$project$Ui$Search$Focused));
12945
+ config.c6($author$project$Ui$Search$Focused));
12783
12946
  }
12784
12947
  }()
12785
12948
  ]),
@@ -12793,15 +12956,15 @@ var $author$project$Ui$Search$view = F2(
12793
12956
  [
12794
12957
  $elm$html$Html$Attributes$type_('search'),
12795
12958
  $elm$html$Html$Attributes$class('search-input'),
12796
- $elm$html$Html$Attributes$id(model.a + '-input'),
12797
- $elm$html$Html$Attributes$placeholder(config.cP),
12959
+ $elm$html$Html$Attributes$id(model.b + '-input'),
12960
+ $elm$html$Html$Attributes$placeholder(config.cQ),
12798
12961
  $elm$html$Html$Attributes$value(config.m),
12799
12962
  $elm$html$Html$Attributes$autocomplete(false),
12800
- $elm$html$Html$Events$onInput(config.cx),
12963
+ $elm$html$Html$Events$onInput(config.cy),
12801
12964
  $elm$html$Html$Events$onFocus(
12802
- config.c5($author$project$Ui$Search$Focused)),
12965
+ config.c6($author$project$Ui$Search$Focused)),
12803
12966
  $elm$html$Html$Events$onBlur(
12804
- config.c5($author$project$Ui$Search$Blurred)),
12967
+ config.c6($author$project$Ui$Search$Blurred)),
12805
12968
  A2(
12806
12969
  $elm$html$Html$Events$preventDefaultOn,
12807
12970
  'keydown',
@@ -12812,14 +12975,14 @@ var $author$project$Ui$Search$view = F2(
12812
12975
  case 'ArrowUp':
12813
12976
  return $elm$json$Json$Decode$succeed(
12814
12977
  _Utils_Tuple2(
12815
- config.c5(
12978
+ config.c6(
12816
12979
  $author$project$Ui$Search$Move(
12817
12980
  {aG: itemCount, aT: true})),
12818
12981
  true));
12819
12982
  case 'ArrowDown':
12820
12983
  return $elm$json$Json$Decode$succeed(
12821
12984
  _Utils_Tuple2(
12822
- config.c5(
12985
+ config.c6(
12823
12986
  $author$project$Ui$Search$Move(
12824
12987
  {aG: itemCount, aT: false})),
12825
12988
  true));
@@ -12841,7 +13004,7 @@ var $author$project$Ui$Search$view = F2(
12841
13004
  _Utils_Tuple2('visible', hasText)
12842
13005
  ])),
12843
13006
  $elm$html$Html$Attributes$type_('button'),
12844
- $elm$html$Html$Events$onClick(config.cn),
13007
+ $elm$html$Html$Events$onClick(config.co),
12845
13008
  A2($elm$html$Html$Attributes$attribute, 'aria-label', 'Clear search'),
12846
13009
  A2(
12847
13010
  $elm$html$Html$Attributes$attribute,
@@ -12862,7 +13025,7 @@ var $author$project$Gem$Shell$searchModal = function (config) {
12862
13025
  [
12863
13026
  $elm$html$Html$Attributes$class('search-modal')
12864
13027
  ]),
12865
- bJ: _List_fromArray(
13028
+ bK: _List_fromArray(
12866
13029
  [
12867
13030
  A2(
12868
13031
  $elm$html$Html$div,
@@ -12879,14 +13042,14 @@ var $author$project$Gem$Shell$searchModal = function (config) {
12879
13042
  [
12880
13043
  $elm$html$Html$Attributes$class('search-modal-field')
12881
13044
  ]),
12882
- bU: 'No matches',
12883
- b8: config.cS,
12884
- cn: config.cn,
12885
- cx: config.cA,
12886
- cO: true,
12887
- cP: 'Search pages and headings…',
13045
+ bV: 'No matches',
13046
+ b9: config.cT,
13047
+ co: config.co,
13048
+ cy: config.cB,
13049
+ cP: true,
13050
+ cQ: 'Search pages and headings…',
12888
13051
  m: config.m,
12889
- c5: config.cC
13052
+ c6: config.cD
12890
13053
  },
12891
13054
  config.u),
12892
13055
  A2(
@@ -12896,7 +13059,7 @@ var $author$project$Gem$Shell$searchModal = function (config) {
12896
13059
  $elm$html$Html$Attributes$class('search-close'),
12897
13060
  $elm$html$Html$Attributes$type_('button'),
12898
13061
  A2($elm$html$Html$Attributes$attribute, 'aria-label', 'Close search'),
12899
- $elm$html$Html$Events$onClick(config.cB)
13062
+ $elm$html$Html$Events$onClick(config.cC)
12900
13063
  ]),
12901
13064
  _List_fromArray(
12902
13065
  [
@@ -12928,8 +13091,8 @@ var $author$project$Gem$Shell$searchModal = function (config) {
12928
13091
  'close')
12929
13092
  ]))
12930
13093
  ]),
12931
- bQ: $elm$core$Maybe$Just(config.cB),
12932
- cf: $elm$core$Maybe$Just(42)
13094
+ bR: $elm$core$Maybe$Just(config.cC),
13095
+ cg: $elm$core$Maybe$Just(42)
12933
13096
  });
12934
13097
  };
12935
13098
  var $author$project$Gem$Shell$sidebar = function (config) {
@@ -12950,17 +13113,17 @@ var $author$project$Gem$Shell$tokenStyles = function (colors) {
12950
13113
  A2(
12951
13114
  $elm$core$List$map,
12952
13115
  function (color) {
12953
- return color.cg + (':' + (pick(color) + ';'));
13116
+ return color.ch + (':' + (pick(color) + ';'));
12954
13117
  },
12955
13118
  colors));
12956
13119
  };
12957
13120
  var light = '{' + (define(
12958
13121
  function (color) {
12959
- return A2($elm$core$Maybe$withDefault, 'inherit', color.cb);
13122
+ return A2($elm$core$Maybe$withDefault, 'inherit', color.cc);
12960
13123
  }) + '}');
12961
13124
  var dark = '{' + (define(
12962
13125
  function (color) {
12963
- return A2($elm$core$Maybe$withDefault, 'inherit', color.bM);
13126
+ return A2($elm$core$Maybe$withDefault, 'inherit', color.bN);
12964
13127
  }) + '}');
12965
13128
  return ':root' + (dark + (':root[data-theme=\u0022dark\u0022]' + (dark + (':root[data-theme=\u0022light\u0022]' + light))));
12966
13129
  }
@@ -12981,7 +13144,7 @@ var $author$project$Gem$Shell$view = function (config) {
12981
13144
  _List_fromArray(
12982
13145
  [
12983
13146
  $elm$html$Html$text(
12984
- $author$project$Gem$Shell$tokenStyles(config.b.bE))
13147
+ $author$project$Gem$Shell$tokenStyles(config.a.bF))
12985
13148
  ])),
12986
13149
  $author$project$Gem$Shell$header(config),
12987
13150
  A2(
@@ -13011,7 +13174,7 @@ var $author$project$Gem$Shell$view = function (config) {
13011
13174
  };
13012
13175
  var $author$project$Gem$App$view = function (model) {
13013
13176
  return {
13014
- bu: _List_fromArray(
13177
+ bv: _List_fromArray(
13015
13178
  [
13016
13179
  function () {
13017
13180
  var _v0 = model.ay;
@@ -13034,39 +13197,39 @@ var $author$project$Gem$App$view = function (model) {
13034
13197
  T: model.T,
13035
13198
  F: model.F,
13036
13199
  q: model.q,
13037
- bC: $author$project$Gem$App$codeView(model),
13200
+ bD: $author$project$Gem$App$codeView(model),
13038
13201
  G: model.G,
13039
- bL: model.K,
13202
+ bM: model.K,
13040
13203
  i: model.i,
13041
- M: model.b.M,
13204
+ M: model.a.M,
13042
13205
  l: model.l,
13043
13206
  N: model.N,
13044
13207
  k: model.k,
13045
13208
  z: model.z,
13046
13209
  aK: model.i.aK,
13047
- cj: $author$project$Gem$App$AiPicked,
13048
- ck: $author$project$Gem$App$AiToggled,
13049
- cl: $author$project$Gem$App$BurgerMsg,
13050
- cn: $author$project$Gem$App$QueryCleared,
13051
- cr: $author$project$Gem$App$CopyMsg,
13052
- ct: $author$project$Gem$App$CopyPage,
13053
- cv: $author$project$Gem$App$DocsTabsMsg,
13054
- cy: $author$project$Gem$App$MenuDocsTabsMsg,
13055
- cz: $author$project$Gem$App$MenuTabsMsg,
13056
- cA: $author$project$Gem$App$QueryChanged,
13057
- cB: $author$project$Gem$App$SearchClosed,
13058
- cC: $author$project$Gem$App$SearchMsg,
13059
- cD: $author$project$Gem$App$SearchOpened,
13060
- cF: $author$project$Gem$App$ThemeTabsMsg,
13061
- cG: $author$project$Gem$App$TocToggled,
13062
- cH: $author$project$Gem$App$GroupToggled,
13210
+ ck: $author$project$Gem$App$AiPicked,
13211
+ cl: $author$project$Gem$App$AiToggled,
13212
+ cm: $author$project$Gem$App$BurgerMsg,
13213
+ co: $author$project$Gem$App$QueryCleared,
13214
+ cs: $author$project$Gem$App$CopyMsg,
13215
+ cu: $author$project$Gem$App$CopyPage,
13216
+ cw: $author$project$Gem$App$DocsTabsMsg,
13217
+ cz: $author$project$Gem$App$MenuDocsTabsMsg,
13218
+ cA: $author$project$Gem$App$MenuTabsMsg,
13219
+ cB: $author$project$Gem$App$QueryChanged,
13220
+ cC: $author$project$Gem$App$SearchClosed,
13221
+ cD: $author$project$Gem$App$SearchMsg,
13222
+ cE: $author$project$Gem$App$SearchOpened,
13223
+ cG: $author$project$Gem$App$ThemeTabsMsg,
13224
+ cH: $author$project$Gem$App$TocToggled,
13225
+ cI: $author$project$Gem$App$GroupToggled,
13063
13226
  C: model.C,
13064
13227
  P: model.P,
13065
13228
  m: model.m,
13066
- cS: $author$project$Gem$App$results(model),
13229
+ cT: $author$project$Gem$App$results(model),
13067
13230
  u: model.u,
13068
13231
  x: model.x,
13069
- b: model.b,
13232
+ a: model.a,
13070
13233
  ar: model.ar,
13071
13234
  D: model.D,
13072
13235
  R: model.R,
@@ -13081,12 +13244,12 @@ var $author$project$Gem$App$view = function (model) {
13081
13244
  var $author$project$Gem$App$app = function (slots) {
13082
13245
  return $elm$browser$Browser$application(
13083
13246
  {
13084
- b6: $author$project$Gem$App$init(slots),
13085
- cI: $author$project$Gem$App$ChangedUrl,
13086
- cJ: $author$project$Gem$App$ClickedLink,
13087
- c1: $author$project$Gem$App$subscriptions,
13088
- da: $author$project$Gem$App$update,
13089
- dc: $author$project$Gem$App$view
13247
+ b7: $author$project$Gem$App$init(slots),
13248
+ cJ: $author$project$Gem$App$ChangedUrl,
13249
+ cK: $author$project$Gem$App$ClickedLink,
13250
+ c2: $author$project$Gem$App$subscriptions,
13251
+ db: $author$project$Gem$App$update,
13252
+ dd: $author$project$Gem$App$view
13090
13253
  });
13091
13254
  };
13092
13255
  var $author$project$Ui$Badge$Label = 0;
@@ -13306,7 +13469,7 @@ var $author$project$Ui$Card$view = function (card) {
13306
13469
  $elm$html$Html$text(card.am)
13307
13470
  ]))
13308
13471
  ]);
13309
- var _v0 = card.b2;
13472
+ var _v0 = card.b3;
13310
13473
  if (!_v0.$) {
13311
13474
  var href = _v0.a;
13312
13475
  return A2(
@@ -13362,7 +13525,7 @@ var $author$project$Ui$Stat$view = function (config) {
13362
13525
  $elm$html$Html$text(config.bk)
13363
13526
  ])),
13364
13527
  function () {
13365
- var _v0 = config.by;
13528
+ var _v0 = config.bz;
13366
13529
  if (!_v0.$) {
13367
13530
  var caption = _v0.a;
13368
13531
  return A2(
@@ -13406,7 +13569,7 @@ var $author$project$Gem$Components$default = {
13406
13569
  return $author$project$Ui$Stat$view(
13407
13570
  {
13408
13571
  aV: _List_Nil,
13409
- by: A2($author$project$Gem$Components$maybeText, props, 'label'),
13572
+ bz: A2($author$project$Gem$Components$maybeText, props, 'label'),
13410
13573
  bk: A2($author$project$Gem$Components$text, props, 'value')
13411
13574
  });
13412
13575
  case 'kbd':
@@ -13437,7 +13600,7 @@ var $author$project$Gem$Components$default = {
13437
13600
  return $author$project$Ui$Card$view(
13438
13601
  {
13439
13602
  am: A2($author$project$Gem$Components$text, props, 'desc'),
13440
- b2: A2($author$project$Gem$Components$maybeText, props, 'href'),
13603
+ b3: A2($author$project$Gem$Components$maybeText, props, 'href'),
13441
13604
  p: A2($author$project$Gem$Components$text, props, 'title')
13442
13605
  });
13443
13606
  case 'ui-cards':
@@ -13522,7 +13685,7 @@ var $author$project$Ui$Banner$kindClass = function (kind) {
13522
13685
  };
13523
13686
  var $author$project$Ui$Banner$view = function (config) {
13524
13687
  var dismissHtml = function () {
13525
- var _v1 = config.cu;
13688
+ var _v1 = config.cv;
13526
13689
  if (!_v1.$) {
13527
13690
  var onDismiss = _v1.a;
13528
13691
  return _List_fromArray(
@@ -13555,7 +13718,7 @@ var $author$project$Ui$Banner$view = function (config) {
13555
13718
  _List_fromArray(
13556
13719
  [
13557
13720
  $elm$html$Html$Attributes$type_('button'),
13558
- $elm$html$Html$Events$onClick(action.co)
13721
+ $elm$html$Html$Events$onClick(action.cp)
13559
13722
  ]),
13560
13723
  _List_fromArray(
13561
13724
  [
@@ -13585,7 +13748,7 @@ var $author$project$Ui$Banner$view = function (config) {
13585
13748
  _Utils_Tuple2(cls, true)
13586
13749
  ]);
13587
13750
  },
13588
- $author$project$Ui$Banner$kindClass(config.ca)))))
13751
+ $author$project$Ui$Banner$kindClass(config.cb)))))
13589
13752
  ]),
13590
13753
  _Utils_ap(
13591
13754
  _List_fromArray(
@@ -13605,7 +13768,7 @@ var $author$project$Ui$Banner$view = function (config) {
13605
13768
  _List_Nil,
13606
13769
  _List_fromArray(
13607
13770
  [
13608
- $elm$html$Html$text(config.bu)
13771
+ $elm$html$Html$text(config.bv)
13609
13772
  ]))
13610
13773
  ]),
13611
13774
  _Utils_ap(actionHtml, dismissHtml)));
@@ -13622,23 +13785,23 @@ var $author$project$Gem$Components$withInteractive = F2(
13622
13785
  return $author$project$Ui$Button$view(
13623
13786
  {
13624
13787
  aV: _List_Nil,
13625
- bw: $elm$core$Maybe$Nothing,
13626
- bO: A2($author$project$Gem$Components$flag, props, 'disabled'),
13627
- b3: $elm$core$Maybe$Nothing,
13788
+ bx: $elm$core$Maybe$Nothing,
13789
+ bP: A2($author$project$Gem$Components$flag, props, 'disabled'),
13790
+ b4: $elm$core$Maybe$Nothing,
13628
13791
  c: A2($author$project$Gem$Components$text, props, 'label'),
13629
- co: noop,
13630
- cY: $author$project$Gem$Components$buttonSize(props),
13631
- db: $author$project$Gem$Components$buttonVariant(props),
13632
- df: false
13792
+ cp: noop,
13793
+ cZ: $author$project$Gem$Components$buttonSize(props),
13794
+ dc: $author$project$Gem$Components$buttonVariant(props),
13795
+ dg: false
13633
13796
  });
13634
13797
  case 'ui-banner':
13635
13798
  return $author$project$Ui$Banner$view(
13636
13799
  {
13637
13800
  bo: $elm$core$Maybe$Nothing,
13638
13801
  aV: _List_Nil,
13639
- bu: A2($author$project$Gem$Components$text, props, 'body'),
13640
- ca: $author$project$Gem$Components$bannerKind(props),
13641
- cu: $elm$core$Maybe$Nothing,
13802
+ bv: A2($author$project$Gem$Components$text, props, 'body'),
13803
+ cb: $author$project$Gem$Components$bannerKind(props),
13804
+ cv: $elm$core$Maybe$Nothing,
13642
13805
  p: A2($author$project$Gem$Components$text, props, 'title')
13643
13806
  });
13644
13807
  default: