⋯ 13 hidden lines@@ -528,106 +601,106 @@ func viewLink(p DiffView, view, label, key, href string) templ.Component { 528 }() 601 }() 529 } 602 } 530 ctx = templ.InitializeContext(ctx) 603 ctx = templ.InitializeContext(ctx) 531 - templ_7745c5c3_Var21 := templ.GetChildren(ctx) 604 + templ_7745c5c3_Var24 := templ.GetChildren(ctx) 532 - if templ_7745c5c3_Var21 == nil { 605 + if templ_7745c5c3_Var24 == nil { 533 - templ_7745c5c3_Var21 = templ.NopComponent 606 + templ_7745c5c3_Var24 = templ.NopComponent 534 } 607 } 535 ctx = templ.ClearChildren(ctx) 608 ctx = templ.ClearChildren(ctx) 536 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "<a href=\"" ) 609 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "<a href=\"" ) 537 if templ_7745c5c3_Err != nil { 610 if templ_7745c5c3_Err != nil { 538 return templ_7745c5c3_Err 611 return templ_7745c5c3_Err 539 } 612 } 540 - var templ_7745c5c3_Var22 templ.SafeURL 613 + var templ_7745c5c3_Var25 templ.SafeURL 541 - templ_7745c5c3_Var22, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(href)) 614 + templ_7745c5c3_Var25, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(href)) 542 if templ_7745c5c3_Err != nil { 615 if templ_7745c5c3_Err != nil { 543 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 120, Col: 28} 616 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 138, Col: 28} 544 } 617 } 545 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var22)) 618 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var25)) 546 if templ_7745c5c3_Err != nil { 619 if templ_7745c5c3_Err != nil { 547 return templ_7745c5c3_Err 620 return templ_7745c5c3_Err 548 } 621 } 549 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "\" class=\"btn vbtn\" data-view=\"" ) 622 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "\" class=\"btn vbtn\" data-view=\"" ) 550 if templ_7745c5c3_Err != nil { 623 if templ_7745c5c3_Err != nil { 551 return templ_7745c5c3_Err 624 return templ_7745c5c3_Err 552 } 625 } 553 - var templ_7745c5c3_Var23 string 626 + var templ_7745c5c3_Var26 string 554 - templ_7745c5c3_Var23, templ_7745c5c3_Err = templ.ResolveAttributeValue(view) 627 + templ_7745c5c3_Var26, templ_7745c5c3_Err = templ.ResolveAttributeValue(view) 555 if templ_7745c5c3_Err != nil { 628 if templ_7745c5c3_Err != nil { 556 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 122, Col: 18} 629 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 140, Col: 18} 557 } 630 } 558 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var23) 631 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var26) 559 if templ_7745c5c3_Err != nil { 632 if templ_7745c5c3_Err != nil { 560 return templ_7745c5c3_Err 633 return templ_7745c5c3_Err 561 } 634 } 562 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "\" aria-keyshortcuts=\"" ) 635 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "\" aria-keyshortcuts=\"" ) 563 if templ_7745c5c3_Err != nil { 636 if templ_7745c5c3_Err != nil { 564 return templ_7745c5c3_Err 637 return templ_7745c5c3_Err 565 } 638 } 566 - var templ_7745c5c3_Var24 string 639 + var templ_7745c5c3_Var27 string 567 - templ_7745c5c3_Var24, templ_7745c5c3_Err = templ.ResolveAttributeValue(key) 640 + templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.ResolveAttributeValue(key) 568 if templ_7745c5c3_Err != nil { 641 if templ_7745c5c3_Err != nil { 569 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 123, Col: 25} 642 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 141, Col: 25} 570 } 643 } 571 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var24) 644 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var27) 572 if templ_7745c5c3_Err != nil { 645 if templ_7745c5c3_Err != nil { 573 return templ_7745c5c3_Err 646 return templ_7745c5c3_Err 574 } 647 } 575 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\"" ) 648 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "\"" ) 576 if templ_7745c5c3_Err != nil { 649 if templ_7745c5c3_Err != nil { 577 return templ_7745c5c3_Err 650 return templ_7745c5c3_Err 578 } 651 } 579 if p.View == view { 652 if p.View == view { 580 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, " aria-current=\"true\"" ) 653 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, " aria-current=\"true\"" ) 581 if templ_7745c5c3_Err != nil { 654 if templ_7745c5c3_Err != nil { 582 return templ_7745c5c3_Err 655 return templ_7745c5c3_Err 583 } 656 } 584 } 657 } 585 if p.Both { 658 if p.Both { 586 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, " data-fire=\"" ) 659 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, " data-fire=\"" ) 587 if templ_7745c5c3_Err != nil { 660 if templ_7745c5c3_Err != nil { 588 return templ_7745c5c3_Err 661 return templ_7745c5c3_Err 589 } 662 } 590 - var templ_7745c5c3_Var25 string 663 + var templ_7745c5c3_Var28 string 591 - templ_7745c5c3_Var25, templ_7745c5c3_Err = templ.ResolveAttributeValue(view) 664 + templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.ResolveAttributeValue(view) 592 if templ_7745c5c3_Err != nil { 665 if templ_7745c5c3_Err != nil { 593 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 128, Col: 19} 666 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 146, Col: 19} 594 } 667 } 595 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var25) 668 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var28) 596 if templ_7745c5c3_Err != nil { 669 if templ_7745c5c3_Err != nil { 597 return templ_7745c5c3_Err 670 return templ_7745c5c3_Err 598 } 671 } 599 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "\" :aria-current=\"q('#diffs').attr['data-diff'] === this.dataset.view ? 'true' : false\"" ) 672 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "\" :aria-current=\"q('#diffs').attr['data-diff'] === this.dataset.view ? 'true' : false\"" ) 600 if templ_7745c5c3_Err != nil { 673 if templ_7745c5c3_Err != nil { 601 return templ_7745c5c3_Err 674 return templ_7745c5c3_Err 602 } 675 } 603 } 676 } 604 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, ">" ) 677 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, ">" ) 605 if templ_7745c5c3_Err != nil { 678 if templ_7745c5c3_Err != nil { 606 return templ_7745c5c3_Err 679 return templ_7745c5c3_Err 607 } 680 } 608 - var templ_7745c5c3_Var26 string 681 + var templ_7745c5c3_Var29 string 609 - templ_7745c5c3_Var26, templ_7745c5c3_Err = templ.JoinStringErrs(label) 682 + templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(label) 610 if templ_7745c5c3_Err != nil { 683 if templ_7745c5c3_Err != nil { 611 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 131, Col: 9} 684 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 149, Col: 9} 612 } 685 } 613 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var26)) 686 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) 614 if templ_7745c5c3_Err != nil { 687 if templ_7745c5c3_Err != nil { 615 return templ_7745c5c3_Err 688 return templ_7745c5c3_Err 616 } 689 } 617 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "<kbd aria-hidden=\"true\">" ) 690 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "<kbd aria-hidden=\"true\">" ) 618 if templ_7745c5c3_Err != nil { 691 if templ_7745c5c3_Err != nil { 619 return templ_7745c5c3_Err 692 return templ_7745c5c3_Err 620 } 693 } 621 - var templ_7745c5c3_Var27 string 694 + var templ_7745c5c3_Var30 string 622 - templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(key) 695 + templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(key) 623 if templ_7745c5c3_Err != nil { 696 if templ_7745c5c3_Err != nil { 624 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 131, Col: 40} 697 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 149, Col: 40} 625 } 698 } 626 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27)) 699 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) 627 if templ_7745c5c3_Err != nil { 700 if templ_7745c5c3_Err != nil { 628 return templ_7745c5c3_Err 701 return templ_7745c5c3_Err 629 } 702 } 630 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "</kbd></a>" ) 703 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "</kbd></a>" ) 631 if templ_7745c5c3_Err != nil { 704 if templ_7745c5c3_Err != nil { 632 return templ_7745c5c3_Err 705 return templ_7745c5c3_Err 633 } 706 } ⋯ 17 hidden lines@@ -682,83 +755,83 @@ func personView(pr Person) templ.Component { 682 }() 755 }() 683 } 756 } 684 ctx = templ.InitializeContext(ctx) 757 ctx = templ.InitializeContext(ctx) 685 - templ_7745c5c3_Var29 := templ.GetChildren(ctx) 758 + templ_7745c5c3_Var32 := templ.GetChildren(ctx) 686 - if templ_7745c5c3_Var29 == nil { 759 + if templ_7745c5c3_Var32 == nil { 687 - templ_7745c5c3_Var29 = templ.NopComponent 760 + templ_7745c5c3_Var32 = templ.NopComponent 688 } 761 } 689 ctx = templ.ClearChildren(ctx) 762 ctx = templ.ClearChildren(ctx) 690 - var templ_7745c5c3_Var30 string 763 + var templ_7745c5c3_Var33 string 691 - templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(pr.Name) 764 + templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(pr.Name) 692 if templ_7745c5c3_Err != nil { 765 if templ_7745c5c3_Err != nil { 693 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 143, Col: 10} 766 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 161, Col: 10} 694 } 767 } 695 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) 768 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) 696 if templ_7745c5c3_Err != nil { 769 if templ_7745c5c3_Err != nil { 697 return templ_7745c5c3_Err 770 return templ_7745c5c3_Err 698 } 771 } 699 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, " " ) 772 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, " " ) 700 if templ_7745c5c3_Err != nil { 773 if templ_7745c5c3_Err != nil { 701 return templ_7745c5c3_Err 774 return templ_7745c5c3_Err 702 } 775 } 703 if pr.WhenAt != "" { 776 if pr.WhenAt != "" { 704 - var templ_7745c5c3_Var31 string 777 + var templ_7745c5c3_Var34 string 705 - templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 778 + templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 706 if templ_7745c5c3_Err != nil { 779 if templ_7745c5c3_Err != nil { 707 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 145, Col: 10} 780 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 163, Col: 10} 708 } 781 } 709 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) 782 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var34)) 710 if templ_7745c5c3_Err != nil { 783 if templ_7745c5c3_Err != nil { 711 return templ_7745c5c3_Err 784 return templ_7745c5c3_Err 712 } 785 } 713 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "<time datetime=\"" ) 786 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "<time datetime=\"" ) 714 if templ_7745c5c3_Err != nil { 787 if templ_7745c5c3_Err != nil { 715 return templ_7745c5c3_Err 788 return templ_7745c5c3_Err 716 } 789 } 717 - var templ_7745c5c3_Var32 string 790 + var templ_7745c5c3_Var35 string 718 - templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.ResolveAttributeValue(pr.WhenAt) 791 + templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.ResolveAttributeValue(pr.WhenAt) 719 if templ_7745c5c3_Err != nil { 792 if templ_7745c5c3_Err != nil { 720 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 145, Col: 38} 793 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 163, Col: 38} 721 } 794 } 722 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var32) 795 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var35) 723 if templ_7745c5c3_Err != nil { 796 if templ_7745c5c3_Err != nil { 724 return templ_7745c5c3_Err 797 return templ_7745c5c3_Err 725 } 798 } 726 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "\" title=\"" ) 799 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "\" title=\"" ) 727 if templ_7745c5c3_Err != nil { 800 if templ_7745c5c3_Err != nil { 728 return templ_7745c5c3_Err 801 return templ_7745c5c3_Err 729 } 802 } 730 - var templ_7745c5c3_Var33 string 803 + var templ_7745c5c3_Var36 string 731 - templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.ResolveAttributeValue(pr.Abs) 804 + templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.ResolveAttributeValue(pr.Abs) 732 if templ_7745c5c3_Err != nil { 805 if templ_7745c5c3_Err != nil { 733 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 145, Col: 55} 806 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 163, Col: 55} 734 } 807 } 735 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var33) 808 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var36) 736 if templ_7745c5c3_Err != nil { 809 if templ_7745c5c3_Err != nil { 737 return templ_7745c5c3_Err 810 return templ_7745c5c3_Err 738 } 811 } 739 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "\">" ) 812 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "\">" ) 740 if templ_7745c5c3_Err != nil { 813 if templ_7745c5c3_Err != nil { 741 return templ_7745c5c3_Err 814 return templ_7745c5c3_Err 742 } 815 } 743 - var templ_7745c5c3_Var34 string 816 + var templ_7745c5c3_Var37 string 744 - templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.JoinStringErrs(pr.When) 817 + templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.JoinStringErrs(pr.When) 745 if templ_7745c5c3_Err != nil { 818 if templ_7745c5c3_Err != nil { 746 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 145, Col: 67} 819 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 163, Col: 67} 747 } 820 } 748 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var34)) 821 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var37)) 749 if templ_7745c5c3_Err != nil { 822 if templ_7745c5c3_Err != nil { 750 return templ_7745c5c3_Err 823 return templ_7745c5c3_Err 751 } 824 } 752 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "</time>" ) 825 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "</time>" ) 753 if templ_7745c5c3_Err != nil { 826 if templ_7745c5c3_Err != nil { 754 return templ_7745c5c3_Err 827 return templ_7745c5c3_Err 755 } 828 } 756 - var templ_7745c5c3_Var35 string 829 + var templ_7745c5c3_Var38 string 757 - templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinStringErrs(" · " + pr.Abs) 830 + templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(" · " + pr.Abs) 758 if templ_7745c5c3_Err != nil { 831 if templ_7745c5c3_Err != nil { 759 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 145, Col: 93} 832 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 163, Col: 93} 760 } 833 } 761 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35)) 834 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38)) 762 if templ_7745c5c3_Err != nil { 835 if templ_7745c5c3_Err != nil { 763 return templ_7745c5c3_Err 836 return templ_7745c5c3_Err 764 } 837 } ⋯ 19 hidden lines@@ -835,236 +908,236 @@ func FileList(files []DiffFile) templ.Component { 835 }() 908 }() 836 } 909 } 837 ctx = templ.InitializeContext(ctx) 910 ctx = templ.InitializeContext(ctx) 838 - templ_7745c5c3_Var38 := templ.GetChildren(ctx) 911 + templ_7745c5c3_Var41 := templ.GetChildren(ctx) 839 - if templ_7745c5c3_Var38 == nil { 912 + if templ_7745c5c3_Var41 == nil { 840 - templ_7745c5c3_Var38 = templ.NopComponent 913 + templ_7745c5c3_Var41 = templ.NopComponent 841 } 914 } 842 ctx = templ.ClearChildren(ctx) 915 ctx = templ.ClearChildren(ctx) 843 if len(files) > fileFilterMin { 916 if len(files) > fileFilterMin { 844 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "<div class=\"ffilter\"><label for=\"files-filter\" class=\"sr\">filter the changed files</label> <input id=\"files-filter\" type=\"search\" placeholder=\"Filter files…\" autocomplete=\"off\" data-pick=\".files > li\" hx-on:input=\"ermite.filter(this)\"></div>" ) 917 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "<div class=\"ffilter\"><label for=\"files-filter\" class=\"sr\">filter the changed files</label> <input id=\"files-filter\" type=\"search\" placeholder=\"Filter files…\" autocomplete=\"off\" data-pick=\".files > li\" hx-on:input=\"ermite.filter(this)\"></div>" ) 845 if templ_7745c5c3_Err != nil { 918 if templ_7745c5c3_Err != nil { 846 return templ_7745c5c3_Err 919 return templ_7745c5c3_Err 847 } 920 } 848 } 921 } 849 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "<ol class=\"files\" aria-label=\"Changed files\">" ) 922 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "<ol class=\"files\" aria-label=\"Changed files\">" ) 850 if templ_7745c5c3_Err != nil { 923 if templ_7745c5c3_Err != nil { 851 return templ_7745c5c3_Err 924 return templ_7745c5c3_Err 852 } 925 } 853 for _, f := range files { 926 for _, f := range files { 854 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "<li><a href=\"" ) 927 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "<li><a href=\"" ) 855 if templ_7745c5c3_Err != nil { 928 if templ_7745c5c3_Err != nil { 856 return templ_7745c5c3_Err 929 return templ_7745c5c3_Err 857 } 930 } 858 - var templ_7745c5c3_Var39 templ.SafeURL 931 + var templ_7745c5c3_Var42 templ.SafeURL 859 - templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("#" + f.ID)) 932 + templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("#" + f.ID)) 860 if templ_7745c5c3_Err != nil { 933 if templ_7745c5c3_Err != nil { 861 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 176, Col: 37} 934 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 194, Col: 37} 862 } 935 } 863 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39)) 936 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42)) 864 if templ_7745c5c3_Err != nil { 937 if templ_7745c5c3_Err != nil { 865 return templ_7745c5c3_Err 938 return templ_7745c5c3_Err 866 } 939 } 867 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "\" title=\"" ) 940 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "\" title=\"" ) 868 if templ_7745c5c3_Err != nil { 941 if templ_7745c5c3_Err != nil { 869 return templ_7745c5c3_Err 942 return templ_7745c5c3_Err 870 } 943 } 871 - var templ_7745c5c3_Var40 string 944 + var templ_7745c5c3_Var43 string 872 - templ_7745c5c3_Var40, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Path) 945 + templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Path) 873 if templ_7745c5c3_Err != nil { 946 if templ_7745c5c3_Err != nil { 874 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 177, Col: 19} 947 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 195, Col: 19} 875 } 948 } 876 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var40) 949 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var43) 877 if templ_7745c5c3_Err != nil { 950 if templ_7745c5c3_Err != nil { 878 return templ_7745c5c3_Err 951 return templ_7745c5c3_Err 879 } 952 } 880 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "\" hx-on:click=\"(window.ermiteMR?.openFile || ermite.openFile)(this.hash.slice(1))\"><span class=\"st\" data-st=\"" ) 953 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "\" hx-on:click=\"(window.ermiteMR?.openFile || ermite.openFile)(this.hash.slice(1))\"><span class=\"st\" data-st=\"" ) 881 if templ_7745c5c3_Err != nil { 954 if templ_7745c5c3_Err != nil { 882 return templ_7745c5c3_Err 955 return templ_7745c5c3_Err 883 } 956 } 884 - var templ_7745c5c3_Var41 string 957 + var templ_7745c5c3_Var44 string 885 - templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Status) 958 + templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Status) 886 if templ_7745c5c3_Err != nil { 959 if templ_7745c5c3_Err != nil { 887 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 180, Col: 40} 960 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 198, Col: 40} 888 } 961 } 889 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var41) 962 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var44) 890 if templ_7745c5c3_Err != nil { 963 if templ_7745c5c3_Err != nil { 891 return templ_7745c5c3_Err 964 return templ_7745c5c3_Err 892 } 965 } 893 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "\" title=\"" ) 966 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "\" title=\"" ) 894 if templ_7745c5c3_Err != nil { 967 if templ_7745c5c3_Err != nil { 895 return templ_7745c5c3_Err 968 return templ_7745c5c3_Err 896 } 969 } 897 - var templ_7745c5c3_Var42 string 970 + var templ_7745c5c3_Var45 string 898 - templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.ResolveAttributeValue(statusName(f.Status)) 971 + templ_7745c5c3_Var45, templ_7745c5c3_Err = templ.ResolveAttributeValue(statusName(f.Status)) 899 if templ_7745c5c3_Err != nil { 972 if templ_7745c5c3_Err != nil { 900 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 180, Col: 71} 973 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 198, Col: 71} 901 } 974 } 902 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var42) 975 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var45) 903 if templ_7745c5c3_Err != nil { 976 if templ_7745c5c3_Err != nil { 904 return templ_7745c5c3_Err 977 return templ_7745c5c3_Err 905 } 978 } 906 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "\">" ) 979 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "\">" ) 907 if templ_7745c5c3_Err != nil { 980 if templ_7745c5c3_Err != nil { 908 return templ_7745c5c3_Err 981 return templ_7745c5c3_Err 909 } 982 } 910 - var templ_7745c5c3_Var43 string 983 + var templ_7745c5c3_Var46 string 911 - templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(f.Status) 984 + templ_7745c5c3_Var46, templ_7745c5c3_Err = templ.JoinStringErrs(f.Status) 912 if templ_7745c5c3_Err != nil { 985 if templ_7745c5c3_Err != nil { 913 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 180, Col: 84} 986 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 198, Col: 84} 914 } 987 } 915 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) 988 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var46)) 916 if templ_7745c5c3_Err != nil { 989 if templ_7745c5c3_Err != nil { 917 return templ_7745c5c3_Err 990 return templ_7745c5c3_Err 918 } 991 } 919 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</span> <span class=\"nm\"><span class=\"p\">" ) 992 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "</span> <span class=\"nm\"><span class=\"p\">" ) 920 if templ_7745c5c3_Err != nil { 993 if templ_7745c5c3_Err != nil { 921 return templ_7745c5c3_Err 994 return templ_7745c5c3_Err 922 } 995 } 923 - var templ_7745c5c3_Var44 string 996 + var templ_7745c5c3_Var47 string 924 - templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.JoinStringErrs(f.Name) 997 + templ_7745c5c3_Var47, templ_7745c5c3_Err = templ.JoinStringErrs(f.Name) 925 if templ_7745c5c3_Err != nil { 998 if templ_7745c5c3_Err != nil { 926 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 181, Col: 46} 999 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 199, Col: 46} 927 } 1000 } 928 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var44)) 1001 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var47)) 929 if templ_7745c5c3_Err != nil { 1002 if templ_7745c5c3_Err != nil { 930 return templ_7745c5c3_Err 1003 return templ_7745c5c3_Err 931 } 1004 } 932 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</span>" ) 1005 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "</span>" ) 933 if templ_7745c5c3_Err != nil { 1006 if templ_7745c5c3_Err != nil { 934 return templ_7745c5c3_Err 1007 return templ_7745c5c3_Err 935 } 1008 } 936 - var templ_7745c5c3_Var45 string 1009 + var templ_7745c5c3_Var48 string 937 - templ_7745c5c3_Var45, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1010 + templ_7745c5c3_Var48, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 938 if templ_7745c5c3_Err != nil { 1011 if templ_7745c5c3_Err != nil { 939 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 181, Col: 60} 1012 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 199, Col: 60} 940 } 1013 } 941 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var45)) 1014 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var48)) 942 if templ_7745c5c3_Err != nil { 1015 if templ_7745c5c3_Err != nil { 943 return templ_7745c5c3_Err 1016 return templ_7745c5c3_Err 944 } 1017 } 945 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "<span class=\"d\"><bdi>" ) 1018 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "<span class=\"d\"><bdi>" ) 946 if templ_7745c5c3_Err != nil { 1019 if templ_7745c5c3_Err != nil { 947 return templ_7745c5c3_Err 1020 return templ_7745c5c3_Err 948 } 1021 } 949 - var templ_7745c5c3_Var46 string 1022 + var templ_7745c5c3_Var49 string 950 - templ_7745c5c3_Var46, templ_7745c5c3_Err = templ.JoinStringErrs(f.Dir) 1023 + templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinStringErrs(f.Dir) 951 if templ_7745c5c3_Err != nil { 1024 if templ_7745c5c3_Err != nil { 952 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 181, Col: 90} 1025 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 199, Col: 90} 953 } 1026 } 954 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var46)) 1027 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) 955 if templ_7745c5c3_Err != nil { 1028 if templ_7745c5c3_Err != nil { 956 return templ_7745c5c3_Err 1029 return templ_7745c5c3_Err 957 } 1030 } 958 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</bdi></span></span> " ) 1031 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "</bdi></span></span> " ) 959 if templ_7745c5c3_Err != nil { 1032 if templ_7745c5c3_Err != nil { 960 return templ_7745c5c3_Err 1033 return templ_7745c5c3_Err 961 } 1034 } 962 if f.OpenNotes > 0 { 1035 if f.OpenNotes > 0 { 963 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "<span class=\"cn\" title=\"" ) 1036 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "<span class=\"cn\" title=\"" ) 964 if templ_7745c5c3_Err != nil { 1037 if templ_7745c5c3_Err != nil { 965 return templ_7745c5c3_Err 1038 return templ_7745c5c3_Err 966 } 1039 } 967 - var templ_7745c5c3_Var47 string 1040 + var templ_7745c5c3_Var50 string 968 - templ_7745c5c3_Var47, templ_7745c5c3_Err = templ.ResolveAttributeValue(plural(f.OpenNotes, "open comment" , "open comments" )) 1041 + templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.ResolveAttributeValue(plural(f.OpenNotes, "open comment" , "open comments" )) 969 if templ_7745c5c3_Err != nil { 1042 if templ_7745c5c3_Err != nil { 970 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 183, Col: 83} 1043 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 201, Col: 83} 971 } 1044 } 972 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var47) 1045 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var50) 973 if templ_7745c5c3_Err != nil { 1046 if templ_7745c5c3_Err != nil { 974 return templ_7745c5c3_Err 1047 return templ_7745c5c3_Err 975 } 1048 } 976 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "\">" ) 1049 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "\">" ) 977 if templ_7745c5c3_Err != nil { 1050 if templ_7745c5c3_Err != nil { 978 return templ_7745c5c3_Err 1051 return templ_7745c5c3_Err 979 } 1052 } 980 - var templ_7745c5c3_Var48 string 1053 + var templ_7745c5c3_Var51 string 981 - templ_7745c5c3_Var48, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.OpenNotes)) 1054 + templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.OpenNotes)) 982 if templ_7745c5c3_Err != nil { 1055 if templ_7745c5c3_Err != nil { 983 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 183, Col: 105} 1056 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 201, Col: 105} 984 } 1057 } 985 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var48)) 1058 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) 986 if templ_7745c5c3_Err != nil { 1059 if templ_7745c5c3_Err != nil { 987 return templ_7745c5c3_Err 1060 return templ_7745c5c3_Err 988 } 1061 } 989 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "</span> " ) 1062 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "</span> " ) 990 if templ_7745c5c3_Err != nil { 1063 if templ_7745c5c3_Err != nil { 991 return templ_7745c5c3_Err 1064 return templ_7745c5c3_Err 992 } 1065 } 993 } else if f.Notes > 0 { 1066 } else if f.Notes > 0 { 994 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "<span class=\"cn done\" title=\"" ) 1067 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "<span class=\"cn done\" title=\"" ) 995 if templ_7745c5c3_Err != nil { 1068 if templ_7745c5c3_Err != nil { 996 return templ_7745c5c3_Err 1069 return templ_7745c5c3_Err 997 } 1070 } 998 - var templ_7745c5c3_Var49 string 1071 + var templ_7745c5c3_Var52 string 999 - templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.ResolveAttributeValue(plural(f.Notes, "resolved comment" , "resolved comments" )) 1072 + templ_7745c5c3_Var52, templ_7745c5c3_Err = templ.ResolveAttributeValue(plural(f.Notes, "resolved comment" , "resolved comments" )) 1000 if templ_7745c5c3_Err != nil { 1073 if templ_7745c5c3_Err != nil { 1001 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 185, Col: 92} 1074 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 203, Col: 92} 1002 } 1075 } 1003 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var49) 1076 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var52) 1004 if templ_7745c5c3_Err != nil { 1077 if templ_7745c5c3_Err != nil { 1005 return templ_7745c5c3_Err 1078 return templ_7745c5c3_Err 1006 } 1079 } 1007 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "\">" ) 1080 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "\">" ) 1008 if templ_7745c5c3_Err != nil { 1081 if templ_7745c5c3_Err != nil { 1009 return templ_7745c5c3_Err 1082 return templ_7745c5c3_Err 1010 } 1083 } 1011 - var templ_7745c5c3_Var50 string 1084 + var templ_7745c5c3_Var53 string 1012 - templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Notes)) 1085 + templ_7745c5c3_Var53, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Notes)) 1013 if templ_7745c5c3_Err != nil { 1086 if templ_7745c5c3_Err != nil { 1014 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 185, Col: 110} 1087 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 203, Col: 110} 1015 } 1088 } 1016 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) 1089 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var53)) 1017 if templ_7745c5c3_Err != nil { 1090 if templ_7745c5c3_Err != nil { 1018 return templ_7745c5c3_Err 1091 return templ_7745c5c3_Err 1019 } 1092 } 1020 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "</span> " ) 1093 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "</span> " ) 1021 if templ_7745c5c3_Err != nil { 1094 if templ_7745c5c3_Err != nil { 1022 return templ_7745c5c3_Err 1095 return templ_7745c5c3_Err 1023 } 1096 } 1024 } 1097 } 1025 if f.Bin { 1098 if f.Bin { 1026 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "<span class=\"n mute\">bin</span>" ) 1099 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "<span class=\"n mute\">bin</span>" ) 1027 if templ_7745c5c3_Err != nil { 1100 if templ_7745c5c3_Err != nil { 1028 return templ_7745c5c3_Err 1101 return templ_7745c5c3_Err 1029 } 1102 } 1030 } else { 1103 } else { 1031 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "<span class=\"n\"><span class=\"plus\">+" ) 1104 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "<span class=\"n\"><span class=\"plus\">+" ) 1032 if templ_7745c5c3_Err != nil { 1105 if templ_7745c5c3_Err != nil { 1033 return templ_7745c5c3_Err 1106 return templ_7745c5c3_Err 1034 } 1107 } 1035 - var templ_7745c5c3_Var51 string 1108 + var templ_7745c5c3_Var54 string 1036 - templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Add)) 1109 + templ_7745c5c3_Var54, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Add)) 1037 if templ_7745c5c3_Err != nil { 1110 if templ_7745c5c3_Err != nil { 1038 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 190, Col: 55} 1111 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 208, Col: 55} 1039 } 1112 } 1040 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) 1113 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var54)) 1041 if templ_7745c5c3_Err != nil { 1114 if templ_7745c5c3_Err != nil { 1042 return templ_7745c5c3_Err 1115 return templ_7745c5c3_Err 1043 } 1116 } 1044 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "</span> <span class=\"minus\">-" ) 1117 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "</span> <span class=\"minus\">-" ) 1045 if templ_7745c5c3_Err != nil { 1118 if templ_7745c5c3_Err != nil { 1046 return templ_7745c5c3_Err 1119 return templ_7745c5c3_Err 1047 } 1120 } 1048 - var templ_7745c5c3_Var52 string 1121 + var templ_7745c5c3_Var55 string 1049 - templ_7745c5c3_Var52, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Del)) 1122 + templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Del)) 1050 if templ_7745c5c3_Err != nil { 1123 if templ_7745c5c3_Err != nil { 1051 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 190, Col: 99} 1124 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 208, Col: 99} 1052 } 1125 } 1053 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var52)) 1126 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) 1054 if templ_7745c5c3_Err != nil { 1127 if templ_7745c5c3_Err != nil { 1055 return templ_7745c5c3_Err 1128 return templ_7745c5c3_Err 1056 } 1129 } 1057 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "</span></span>" ) 1130 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "</span></span>" ) 1058 if templ_7745c5c3_Err != nil { 1131 if templ_7745c5c3_Err != nil { 1059 return templ_7745c5c3_Err 1132 return templ_7745c5c3_Err 1060 } 1133 } 1061 } 1134 } 1062 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "</a></li>" ) 1135 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "</a></li>" ) 1063 if templ_7745c5c3_Err != nil { 1136 if templ_7745c5c3_Err != nil { 1064 return templ_7745c5c3_Err 1137 return templ_7745c5c3_Err 1065 } 1138 } 1066 } 1139 } 1067 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "</ol>" ) 1140 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "</ol>" ) 1068 if templ_7745c5c3_Err != nil { 1141 if templ_7745c5c3_Err != nil { 1069 return templ_7745c5c3_Err 1142 return templ_7745c5c3_Err 1070 } 1143 } ⋯ 21 hidden lines@@ -1092,270 +1165,283 @@ func DiffFileView(f DiffFile, p DiffView) templ.Component { 1092 }() 1165 }() 1093 } 1166 } 1094 ctx = templ.InitializeContext(ctx) 1167 ctx = templ.InitializeContext(ctx) 1095 - templ_7745c5c3_Var53 := templ.GetChildren(ctx) 1168 + templ_7745c5c3_Var56 := templ.GetChildren(ctx) 1096 - if templ_7745c5c3_Var53 == nil { 1169 + if templ_7745c5c3_Var56 == nil { 1097 - templ_7745c5c3_Var53 = templ.NopComponent 1170 + templ_7745c5c3_Var56 = templ.NopComponent 1098 } 1171 } 1099 ctx = templ.ClearChildren(ctx) 1172 ctx = templ.ClearChildren(ctx) 1100 - var templ_7745c5c3_Var54 = []any{"dfile" , "lnw-" + itoa(f.Digits)} 1173 + var templ_7745c5c3_Var57 = []any{"dfile" , "lnw-" + itoa(f.Digits)} 1101 - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var54...) 1174 + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var57...) 1102 if templ_7745c5c3_Err != nil { 1175 if templ_7745c5c3_Err != nil { 1103 return templ_7745c5c3_Err 1176 return templ_7745c5c3_Err 1104 } 1177 } 1105 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "<details class=\"" ) 1178 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "<details class=\"" ) 1106 if templ_7745c5c3_Err != nil { 1179 if templ_7745c5c3_Err != nil { 1107 return templ_7745c5c3_Err 1180 return templ_7745c5c3_Err 1108 } 1181 } 1109 - var templ_7745c5c3_Var55 string 1182 + var templ_7745c5c3_Var58 string 1110 - templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var54).String()) 1183 + templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var57).String()) 1111 if templ_7745c5c3_Err != nil { 1184 if templ_7745c5c3_Err != nil { 1112 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 1185 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 1113 } 1186 } 1114 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var55) 1187 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var58) 1115 if templ_7745c5c3_Err != nil { 1188 if templ_7745c5c3_Err != nil { 1116 return templ_7745c5c3_Err 1189 return templ_7745c5c3_Err 1117 } 1190 } 1118 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "\" id=\"" ) 1191 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "\" id=\"" ) 1119 if templ_7745c5c3_Err != nil { 1192 if templ_7745c5c3_Err != nil { 1120 return templ_7745c5c3_Err 1193 return templ_7745c5c3_Err 1121 } 1194 } 1122 - var templ_7745c5c3_Var56 string 1195 + var templ_7745c5c3_Var59 string 1123 - templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ID) 1196 + templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ID) 1124 if templ_7745c5c3_Err != nil { 1197 if templ_7745c5c3_Err != nil { 1125 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 205, Col: 11} 1198 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 223, Col: 11} 1126 } 1199 } 1127 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var56) 1200 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var59) 1128 if templ_7745c5c3_Err != nil { 1201 if templ_7745c5c3_Err != nil { 1129 return templ_7745c5c3_Err 1202 return templ_7745c5c3_Err 1130 } 1203 } 1131 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, "\" data-file" ) 1204 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "\" data-file=\"" ) 1205 + if templ_7745c5c3_Err != nil { 1206 + return templ_7745c5c3_Err 1207 + } 1208 + var templ_7745c5c3_Var60 string 1209 + templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Key) 1210 + if templ_7745c5c3_Err != nil { 1211 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 224, Col: 19} 1212 + } 1213 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var60) 1214 + if templ_7745c5c3_Err != nil { 1215 + return templ_7745c5c3_Err 1216 + } 1217 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "\"" ) 1132 if templ_7745c5c3_Err != nil { 1218 if templ_7745c5c3_Err != nil { 1133 return templ_7745c5c3_Err 1219 return templ_7745c5c3_Err 1134 } 1220 } 1135 if f.Open { 1221 if f.Open { 1136 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, " open" ) 1222 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, " open" ) 1137 if templ_7745c5c3_Err != nil { 1223 if templ_7745c5c3_Err != nil { 1138 return templ_7745c5c3_Err 1224 return templ_7745c5c3_Err 1139 } 1225 } 1140 } 1226 } 1141 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, "><summary><span class=\"st\">" ) 1227 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "><summary><span class=\"st\">" ) 1142 if templ_7745c5c3_Err != nil { 1228 if templ_7745c5c3_Err != nil { 1143 return templ_7745c5c3_Err 1229 return templ_7745c5c3_Err 1144 } 1230 } 1145 - var templ_7745c5c3_Var57 string 1231 + var templ_7745c5c3_Var61 string 1146 - templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.JoinStringErrs(f.Status) 1232 + templ_7745c5c3_Var61, templ_7745c5c3_Err = templ.JoinStringErrs(f.Status) 1147 if templ_7745c5c3_Err != nil { 1233 if templ_7745c5c3_Err != nil { 1148 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 212, Col: 30} 1234 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 230, Col: 30} 1149 } 1235 } 1150 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var57)) 1236 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var61)) 1151 if templ_7745c5c3_Err != nil { 1237 if templ_7745c5c3_Err != nil { 1152 return templ_7745c5c3_Err 1238 return templ_7745c5c3_Err 1153 } 1239 } 1154 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "</span>" ) 1240 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "</span>" ) 1155 if templ_7745c5c3_Err != nil { 1241 if templ_7745c5c3_Err != nil { 1156 return templ_7745c5c3_Err 1242 return templ_7745c5c3_Err 1157 } 1243 } 1158 - var templ_7745c5c3_Var58 string 1244 + var templ_7745c5c3_Var62 string 1159 - templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1245 + templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1160 if templ_7745c5c3_Err != nil { 1246 if templ_7745c5c3_Err != nil { 1161 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 212, Col: 44} 1247 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 230, Col: 44} 1162 } 1248 } 1163 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var58)) 1249 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) 1164 if templ_7745c5c3_Err != nil { 1250 if templ_7745c5c3_Err != nil { 1165 return templ_7745c5c3_Err 1251 return templ_7745c5c3_Err 1166 } 1252 } 1167 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "<span class=\"p\">" ) 1253 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "<span class=\"p\">" ) 1168 if templ_7745c5c3_Err != nil { 1254 if templ_7745c5c3_Err != nil { 1169 return templ_7745c5c3_Err 1255 return templ_7745c5c3_Err 1170 } 1256 } 1171 - var templ_7745c5c3_Var59 string 1257 + var templ_7745c5c3_Var63 string 1172 - templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(f.Path) 1258 + templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(f.Path) 1173 if templ_7745c5c3_Err != nil { 1259 if templ_7745c5c3_Err != nil { 1174 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 212, Col: 70} 1260 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 230, Col: 70} 1175 } 1261 } 1176 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) 1262 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) 1177 if templ_7745c5c3_Err != nil { 1263 if templ_7745c5c3_Err != nil { 1178 return templ_7745c5c3_Err 1264 return templ_7745c5c3_Err 1179 } 1265 } 1180 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "</span>" ) 1266 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "</span>" ) 1181 if templ_7745c5c3_Err != nil { 1267 if templ_7745c5c3_Err != nil { 1182 return templ_7745c5c3_Err 1268 return templ_7745c5c3_Err 1183 } 1269 } 1184 - var templ_7745c5c3_Var60 string 1270 + var templ_7745c5c3_Var64 string 1185 - templ_7745c5c3_Var60, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1271 + templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1186 if templ_7745c5c3_Err != nil { 1272 if templ_7745c5c3_Err != nil { 1187 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 212, Col: 84} 1273 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 230, Col: 84} 1188 } 1274 } 1189 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var60)) 1275 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var64)) 1190 if templ_7745c5c3_Err != nil { 1276 if templ_7745c5c3_Err != nil { 1191 return templ_7745c5c3_Err 1277 return templ_7745c5c3_Err 1192 } 1278 } 1193 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "<span class=\"plus\">+" ) 1279 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "<span class=\"plus\">+" ) 1194 if templ_7745c5c3_Err != nil { 1280 if templ_7745c5c3_Err != nil { 1195 return templ_7745c5c3_Err 1281 return templ_7745c5c3_Err 1196 } 1282 } 1197 - var templ_7745c5c3_Var61 string 1283 + var templ_7745c5c3_Var65 string 1198 - templ_7745c5c3_Var61, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Add)) 1284 + templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Add)) 1199 if templ_7745c5c3_Err != nil { 1285 if templ_7745c5c3_Err != nil { 1200 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 212, Col: 119} 1286 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 230, Col: 119} 1201 } 1287 } 1202 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var61)) 1288 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) 1203 if templ_7745c5c3_Err != nil { 1289 if templ_7745c5c3_Err != nil { 1204 return templ_7745c5c3_Err 1290 return templ_7745c5c3_Err 1205 } 1291 } 1206 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "</span>" ) 1292 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, "</span>" ) 1207 if templ_7745c5c3_Err != nil { 1293 if templ_7745c5c3_Err != nil { 1208 return templ_7745c5c3_Err 1294 return templ_7745c5c3_Err 1209 } 1295 } 1210 - var templ_7745c5c3_Var62 string 1296 + var templ_7745c5c3_Var66 string 1211 - templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1297 + templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1212 if templ_7745c5c3_Err != nil { 1298 if templ_7745c5c3_Err != nil { 1213 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 212, Col: 133} 1299 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 230, Col: 133} 1214 } 1300 } 1215 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) 1301 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var66)) 1216 if templ_7745c5c3_Err != nil { 1302 if templ_7745c5c3_Err != nil { 1217 return templ_7745c5c3_Err 1303 return templ_7745c5c3_Err 1218 } 1304 } 1219 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "<span class=\"minus\">-" ) 1305 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, "<span class=\"minus\">-" ) 1220 if templ_7745c5c3_Err != nil { 1306 if templ_7745c5c3_Err != nil { 1221 return templ_7745c5c3_Err 1307 return templ_7745c5c3_Err 1222 } 1308 } 1223 - var templ_7745c5c3_Var63 string 1309 + var templ_7745c5c3_Var67 string 1224 - templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Del)) 1310 + templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(f.Del)) 1225 if templ_7745c5c3_Err != nil { 1311 if templ_7745c5c3_Err != nil { 1226 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 212, Col: 169} 1312 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 230, Col: 169} 1227 } 1313 } 1228 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) 1314 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) 1229 if templ_7745c5c3_Err != nil { 1315 if templ_7745c5c3_Err != nil { 1230 return templ_7745c5c3_Err 1316 return templ_7745c5c3_Err 1231 } 1317 } 1232 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "</span> " ) 1318 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, "</span> " ) 1233 if templ_7745c5c3_Err != nil { 1319 if templ_7745c5c3_Err != nil { 1234 return templ_7745c5c3_Err 1320 return templ_7745c5c3_Err 1235 } 1321 } 1236 if f.Note != "" { 1322 if f.Note != "" { 1237 - var templ_7745c5c3_Var64 string 1323 + var templ_7745c5c3_Var68 string 1238 - templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1324 + templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinStringErrs(" " ) 1239 if templ_7745c5c3_Err != nil { 1325 if templ_7745c5c3_Err != nil { 1240 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 214, Col: 9} 1326 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 232, Col: 9} 1241 } 1327 } 1242 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var64)) 1328 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) 1243 if templ_7745c5c3_Err != nil { 1329 if templ_7745c5c3_Err != nil { 1244 return templ_7745c5c3_Err 1330 return templ_7745c5c3_Err 1245 } 1331 } 1246 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "<span class=\"note\">" ) 1332 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, "<span class=\"note\">" ) 1247 if templ_7745c5c3_Err != nil { 1333 if templ_7745c5c3_Err != nil { 1248 return templ_7745c5c3_Err 1334 return templ_7745c5c3_Err 1249 } 1335 } 1250 - var templ_7745c5c3_Var65 string 1336 + var templ_7745c5c3_Var69 string 1251 - templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(f.Note) 1337 + templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.JoinStringErrs(f.Note) 1252 if templ_7745c5c3_Err != nil { 1338 if templ_7745c5c3_Err != nil { 1253 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 214, Col: 38} 1339 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 232, Col: 38} 1254 } 1340 } 1255 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) 1341 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var69)) 1256 if templ_7745c5c3_Err != nil { 1342 if templ_7745c5c3_Err != nil { 1257 return templ_7745c5c3_Err 1343 return templ_7745c5c3_Err 1258 } 1344 } 1259 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "</span>" ) 1345 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 116, "</span>" ) 1260 if templ_7745c5c3_Err != nil { 1346 if templ_7745c5c3_Err != nil { 1261 return templ_7745c5c3_Err 1347 return templ_7745c5c3_Err 1262 } 1348 } 1263 } 1349 } 1264 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "</summary> " ) 1350 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "</summary> " ) 1265 if templ_7745c5c3_Err != nil { 1351 if templ_7745c5c3_Err != nil { 1266 return templ_7745c5c3_Err 1352 return templ_7745c5c3_Err 1267 } 1353 } 1268 if f.Lazy { 1354 if f.Lazy { 1269 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, " " ) 1355 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 118, " " ) 1270 if templ_7745c5c3_Err != nil { 1356 if templ_7745c5c3_Err != nil { 1271 return templ_7745c5c3_Err 1357 return templ_7745c5c3_Err 1272 } 1358 } 1273 - var templ_7745c5c3_Var66 = []any{"dlazy" , "dlazy-" + itoa(f.Height)} 1359 + var templ_7745c5c3_Var70 = []any{"dlazy" , "dlazy-" + itoa(f.Height)} 1274 - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var66...) 1360 + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var70...) 1275 if templ_7745c5c3_Err != nil { 1361 if templ_7745c5c3_Err != nil { 1276 return templ_7745c5c3_Err 1362 return templ_7745c5c3_Err 1277 } 1363 } 1278 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, "<div class=\"" ) 1364 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, "<div class=\"" ) 1279 if templ_7745c5c3_Err != nil { 1365 if templ_7745c5c3_Err != nil { 1280 return templ_7745c5c3_Err 1366 return templ_7745c5c3_Err 1281 } 1367 } 1282 - var templ_7745c5c3_Var67 string 1368 + var templ_7745c5c3_Var71 string 1283 - templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var66).String()) 1369 + templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var70).String()) 1284 if templ_7745c5c3_Err != nil { 1370 if templ_7745c5c3_Err != nil { 1285 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 1371 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 1286 } 1372 } 1287 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var67) 1373 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var71) 1288 if templ_7745c5c3_Err != nil { 1374 if templ_7745c5c3_Err != nil { 1289 return templ_7745c5c3_Err 1375 return templ_7745c5c3_Err 1290 } 1376 } 1291 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, "\" data-src=\"" ) 1377 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, "\" data-src=\"" ) 1292 if templ_7745c5c3_Err != nil { 1378 if templ_7745c5c3_Err != nil { 1293 return templ_7745c5c3_Err 1379 return templ_7745c5c3_Err 1294 } 1380 } 1295 - var templ_7745c5c3_Var68 string 1381 + var templ_7745c5c3_Var72 string 1296 - templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Src) 1382 + templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Src) 1297 if templ_7745c5c3_Err != nil { 1383 if templ_7745c5c3_Err != nil { 1298 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 221, Col: 69} 1384 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 239, Col: 69} 1299 } 1385 } 1300 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var68) 1386 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var72) 1301 if templ_7745c5c3_Err != nil { 1387 if templ_7745c5c3_Err != nil { 1302 return templ_7745c5c3_Err 1388 return templ_7745c5c3_Err 1303 } 1389 } 1304 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, "\" data-notes=\"" ) 1390 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 121, "\" data-notes=\"" ) 1305 if templ_7745c5c3_Err != nil { 1391 if templ_7745c5c3_Err != nil { 1306 return templ_7745c5c3_Err 1392 return templ_7745c5c3_Err 1307 } 1393 } 1308 - var templ_7745c5c3_Var69 string 1394 + var templ_7745c5c3_Var73 string 1309 - templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Comments) 1395 + templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Comments) 1310 if templ_7745c5c3_Err != nil { 1396 if templ_7745c5c3_Err != nil { 1311 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 221, Col: 95} 1397 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 239, Col: 95} 1312 } 1398 } 1313 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var69) 1399 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var73) 1314 if templ_7745c5c3_Err != nil { 1400 if templ_7745c5c3_Err != nil { 1315 return templ_7745c5c3_Err 1401 return templ_7745c5c3_Err 1316 } 1402 } 1317 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 116, "\"><a href=\"" ) 1403 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 122, "\"><a href=\"" ) 1318 if templ_7745c5c3_Err != nil { 1404 if templ_7745c5c3_Err != nil { 1319 return templ_7745c5c3_Err 1405 return templ_7745c5c3_Err 1320 } 1406 } 1321 - var templ_7745c5c3_Var70 templ.SafeURL 1407 + var templ_7745c5c3_Var74 templ.SafeURL 1322 - templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("?from=" + itoa(f.From) + "#" + f.ID)) 1408 + templ_7745c5c3_Var74, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL("?from=" + itoa(f.From) + "#" + f.ID)) 1323 if templ_7745c5c3_Err != nil { 1409 if templ_7745c5c3_Err != nil { 1324 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 222, Col: 65} 1410 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 240, Col: 65} 1325 } 1411 } 1326 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) 1412 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var74)) 1327 if templ_7745c5c3_Err != nil { 1413 if templ_7745c5c3_Err != nil { 1328 return templ_7745c5c3_Err 1414 return templ_7745c5c3_Err 1329 } 1415 } 1330 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "\">show this file</a></div>" ) 1416 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 123, "\">show this file</a></div>" ) 1331 if templ_7745c5c3_Err != nil { 1417 if templ_7745c5c3_Err != nil { 1332 return templ_7745c5c3_Err 1418 return templ_7745c5c3_Err 1333 } 1419 } 1334 } else if len(f.Hunks) > 0 { 1420 } else if len(f.Hunks) > 0 { 1335 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 118, "<div class=\"dscroll\">" ) 1421 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 124, "<div class=\"dscroll\">" ) 1336 if templ_7745c5c3_Err != nil { 1422 if templ_7745c5c3_Err != nil { 1337 return templ_7745c5c3_Err 1423 return templ_7745c5c3_Err 1338 } 1424 } 1339 if p.ShowUnified { 1425 if p.ShowUnified { 1340 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, "<table class=\"dt uni\" aria-label=\"" ) 1426 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 125, "<table class=\"dt uni\" aria-label=\"" ) 1341 if templ_7745c5c3_Err != nil { 1427 if templ_7745c5c3_Err != nil { 1342 return templ_7745c5c3_Err 1428 return templ_7745c5c3_Err 1343 } 1429 } 1344 - var templ_7745c5c3_Var71 string 1430 + var templ_7745c5c3_Var75 string 1345 - templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Path + ", unified" ) 1431 + templ_7745c5c3_Var75, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Path + ", unified" ) 1346 if templ_7745c5c3_Err != nil { 1432 if templ_7745c5c3_Err != nil { 1347 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 227, Col: 60} 1433 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 245, Col: 60} 1348 } 1434 } 1349 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var71) 1435 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var75) 1350 if templ_7745c5c3_Err != nil { 1436 if templ_7745c5c3_Err != nil { 1351 return templ_7745c5c3_Err 1437 return templ_7745c5c3_Err 1352 } 1438 } 1353 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, "\">" ) 1439 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 126, "\">" ) 1354 if templ_7745c5c3_Err != nil { 1440 if templ_7745c5c3_Err != nil { 1355 return templ_7745c5c3_Err 1441 return templ_7745c5c3_Err 1356 } 1442 } 1357 for _, h := range f.Hunks { 1443 for _, h := range f.Hunks { 1358 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 121, "<tbody>" ) 1444 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 127, "<tbody>" ) 1359 if templ_7745c5c3_Err != nil { 1445 if templ_7745c5c3_Err != nil { 1360 return templ_7745c5c3_Err 1446 return templ_7745c5c3_Err 1361 } 1447 } ⋯ 20 hidden lines@@ -1720,64 +1806,64 @@ func gapRow(g DiffGap, cols int) templ.Component { 1720 }() 1806 }() 1721 } 1807 } 1722 ctx = templ.InitializeContext(ctx) 1808 ctx = templ.InitializeContext(ctx) 1723 - templ_7745c5c3_Var81 := templ.GetChildren(ctx) 1809 + templ_7745c5c3_Var85 := templ.GetChildren(ctx) 1724 - if templ_7745c5c3_Var81 == nil { 1810 + if templ_7745c5c3_Var85 == nil { 1725 - templ_7745c5c3_Var81 = templ.NopComponent 1811 + templ_7745c5c3_Var85 = templ.NopComponent 1726 } 1812 } 1727 ctx = templ.ClearChildren(ctx) 1813 ctx = templ.ClearChildren(ctx) 1728 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 157, "<tr class=\"gap\" data-js data-gap=\"" ) 1814 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "<tr class=\"gap\" data-js data-gap=\"" ) 1729 if templ_7745c5c3_Err != nil { 1815 if templ_7745c5c3_Err != nil { 1730 return templ_7745c5c3_Err 1816 return templ_7745c5c3_Err 1731 } 1817 } 1732 - var templ_7745c5c3_Var82 string 1818 + var templ_7745c5c3_Var86 string 1733 - templ_7745c5c3_Var82, templ_7745c5c3_Err = templ.ResolveAttributeValue(g.Key) 1819 + templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.ResolveAttributeValue(g.Key) 1734 if templ_7745c5c3_Err != nil { 1820 if templ_7745c5c3_Err != nil { 1735 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 324, Col: 41} 1821 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 342, Col: 41} 1736 } 1822 } 1737 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var82) 1823 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var86) 1738 if templ_7745c5c3_Err != nil { 1824 if templ_7745c5c3_Err != nil { 1739 return templ_7745c5c3_Err 1825 return templ_7745c5c3_Err 1740 } 1826 } 1741 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "\"><td colspan=\"" ) 1827 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "\"><td colspan=\"" ) 1742 if templ_7745c5c3_Err != nil { 1828 if templ_7745c5c3_Err != nil { 1743 return templ_7745c5c3_Err 1829 return templ_7745c5c3_Err 1744 } 1830 } 1745 - var templ_7745c5c3_Var83 string 1831 + var templ_7745c5c3_Var87 string 1746 - templ_7745c5c3_Var83, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(cols)) 1832 + templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(cols)) 1747 if templ_7745c5c3_Err != nil { 1833 if templ_7745c5c3_Err != nil { 1748 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 325, Col: 26} 1834 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 343, Col: 26} 1749 } 1835 } 1750 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var83) 1836 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var87) 1751 if templ_7745c5c3_Err != nil { 1837 if templ_7745c5c3_Err != nil { 1752 return templ_7745c5c3_Err 1838 return templ_7745c5c3_Err 1753 } 1839 } 1754 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, "\"><button type=\"button\" data-src=\"" ) 1840 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "\"><button type=\"button\" data-src=\"" ) 1755 if templ_7745c5c3_Err != nil { 1841 if templ_7745c5c3_Err != nil { 1756 return templ_7745c5c3_Err 1842 return templ_7745c5c3_Err 1757 } 1843 } 1758 - var templ_7745c5c3_Var84 string 1844 + var templ_7745c5c3_Var88 string 1759 - templ_7745c5c3_Var84, templ_7745c5c3_Err = templ.ResolveAttributeValue(g.Src) 1845 + templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.ResolveAttributeValue(g.Src) 1760 if templ_7745c5c3_Err != nil { 1846 if templ_7745c5c3_Err != nil { 1761 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 326, Col: 41} 1847 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 344, Col: 41} 1762 } 1848 } 1763 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var84) 1849 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var88) 1764 if templ_7745c5c3_Err != nil { 1850 if templ_7745c5c3_Err != nil { 1765 return templ_7745c5c3_Err 1851 return templ_7745c5c3_Err 1766 } 1852 } 1767 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, "\"><span aria-hidden=\"true\">⋯</span> " ) 1853 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "\"><span aria-hidden=\"true\">⋯</span> " ) 1768 if templ_7745c5c3_Err != nil { 1854 if templ_7745c5c3_Err != nil { 1769 return templ_7745c5c3_Err 1855 return templ_7745c5c3_Err 1770 } 1856 } 1771 - var templ_7745c5c3_Var85 string 1857 + var templ_7745c5c3_Var89 string 1772 - templ_7745c5c3_Var85, templ_7745c5c3_Err = templ.JoinStringErrs(g.Label()) 1858 + templ_7745c5c3_Var89, templ_7745c5c3_Err = templ.JoinStringErrs(g.Label()) 1773 if templ_7745c5c3_Err != nil { 1859 if templ_7745c5c3_Err != nil { 1774 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 327, Col: 51} 1860 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 345, Col: 51} 1775 } 1861 } 1776 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var85)) 1862 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var89)) 1777 if templ_7745c5c3_Err != nil { 1863 if templ_7745c5c3_Err != nil { 1778 return templ_7745c5c3_Err 1864 return templ_7745c5c3_Err 1779 } 1865 } 1780 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, "</button></td></tr>" ) 1866 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, "</button></td></tr>" ) 1781 if templ_7745c5c3_Err != nil { 1867 if templ_7745c5c3_Err != nil { 1782 return templ_7745c5c3_Err 1868 return templ_7745c5c3_Err 1783 } 1869 } ⋯ 19 hidden lines@@ -1803,56 +1889,56 @@ func DiffContext(c ContextRows) templ.Component { 1803 }() 1889 }() 1804 } 1890 } 1805 ctx = templ.InitializeContext(ctx) 1891 ctx = templ.InitializeContext(ctx) 1806 - templ_7745c5c3_Var86 := templ.GetChildren(ctx) 1892 + templ_7745c5c3_Var90 := templ.GetChildren(ctx) 1807 - if templ_7745c5c3_Var86 == nil { 1893 + if templ_7745c5c3_Var90 == nil { 1808 - templ_7745c5c3_Var86 = templ.NopComponent 1894 + templ_7745c5c3_Var90 = templ.NopComponent 1809 } 1895 } 1810 ctx = templ.ClearChildren(ctx) 1896 ctx = templ.ClearChildren(ctx) 1811 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "<table><tbody data-for=\"uni\">" ) 1897 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, "<table><tbody data-for=\"uni\">" ) 1812 if templ_7745c5c3_Err != nil { 1898 if templ_7745c5c3_Err != nil { 1813 return templ_7745c5c3_Err 1899 return templ_7745c5c3_Err 1814 } 1900 } 1815 for _, ln := range c.Lines { 1901 for _, ln := range c.Lines { 1816 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "<tr class=\"ctx\"><td class=\"ln\">" ) 1902 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "<tr class=\"ctx\"><td class=\"ln\">" ) 1817 if templ_7745c5c3_Err != nil { 1903 if templ_7745c5c3_Err != nil { 1818 return templ_7745c5c3_Err 1904 return templ_7745c5c3_Err 1819 } 1905 } 1820 - var templ_7745c5c3_Var87 string 1906 + var templ_7745c5c3_Var91 string 1821 - templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.JoinStringErrs(ln.Old) 1907 + templ_7745c5c3_Var91, templ_7745c5c3_Err = templ.JoinStringErrs(ln.Old) 1822 if templ_7745c5c3_Err != nil { 1908 if templ_7745c5c3_Err != nil { 1823 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 340, Col: 28} 1909 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 358, Col: 28} 1824 } 1910 } 1825 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var87)) 1911 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var91)) 1826 if templ_7745c5c3_Err != nil { 1912 if templ_7745c5c3_Err != nil { 1827 return templ_7745c5c3_Err 1913 return templ_7745c5c3_Err 1828 } 1914 } 1829 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "</td><td class=\"ln\">" ) 1915 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "</td><td class=\"ln\">" ) 1830 if templ_7745c5c3_Err != nil { 1916 if templ_7745c5c3_Err != nil { 1831 return templ_7745c5c3_Err 1917 return templ_7745c5c3_Err 1832 } 1918 } 1833 - var templ_7745c5c3_Var88 string 1919 + var templ_7745c5c3_Var92 string 1834 - templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.JoinStringErrs(ln.New) 1920 + templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.JoinStringErrs(ln.New) 1835 if templ_7745c5c3_Err != nil { 1921 if templ_7745c5c3_Err != nil { 1836 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 341, Col: 28} 1922 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 359, Col: 28} 1837 } 1923 } 1838 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var88)) 1924 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var92)) 1839 if templ_7745c5c3_Err != nil { 1925 if templ_7745c5c3_Err != nil { 1840 return templ_7745c5c3_Err 1926 return templ_7745c5c3_Err 1841 } 1927 } 1842 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "</td><td class=\"m\">" ) 1928 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "</td><td class=\"m\">" ) 1843 if templ_7745c5c3_Err != nil { 1929 if templ_7745c5c3_Err != nil { 1844 return templ_7745c5c3_Err 1930 return templ_7745c5c3_Err 1845 } 1931 } 1846 - var templ_7745c5c3_Var89 string 1932 + var templ_7745c5c3_Var93 string 1847 - templ_7745c5c3_Var89, templ_7745c5c3_Err = templ.JoinStringErrs(ln.Mark) 1933 + templ_7745c5c3_Var93, templ_7745c5c3_Err = templ.JoinStringErrs(ln.Mark) 1848 if templ_7745c5c3_Err != nil { 1934 if templ_7745c5c3_Err != nil { 1849 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 342, Col: 28} 1935 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 360, Col: 28} 1850 } 1936 } 1851 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var89)) 1937 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var93)) 1852 if templ_7745c5c3_Err != nil { 1938 if templ_7745c5c3_Err != nil { 1853 return templ_7745c5c3_Err 1939 return templ_7745c5c3_Err 1854 } 1940 } 1855 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "</td><td class=\"tx chroma\">" ) 1941 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "</td><td class=\"tx chroma\">" ) 1856 if templ_7745c5c3_Err != nil { 1942 if templ_7745c5c3_Err != nil { 1857 return templ_7745c5c3_Err 1943 return templ_7745c5c3_Err 1858 } 1944 } ⋯ 8 hidden lines@@ -1969,64 +2055,64 @@ func splitSide(ln *DiffLine, old bool) templ.Component { 1969 return templ_7745c5c3_Err 2055 return templ_7745c5c3_Err 1970 } 2056 } 1971 } 2057 } 1972 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "</td>" ) 2058 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "</td>" ) 1973 if templ_7745c5c3_Err != nil { 2059 if templ_7745c5c3_Err != nil { 1974 return templ_7745c5c3_Err 2060 return templ_7745c5c3_Err 1975 } 2061 } 1976 - var templ_7745c5c3_Var93 = []any{"m" , ln.Kind, templ.KV("sel" , ln.Selected)} 2062 + var templ_7745c5c3_Var97 = []any{"m" , ln.Kind, templ.KV("sel" , ln.Selected)} 1977 - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var93...) 2063 + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var97...) 1978 if templ_7745c5c3_Err != nil { 2064 if templ_7745c5c3_Err != nil { 1979 return templ_7745c5c3_Err 2065 return templ_7745c5c3_Err 1980 } 2066 } 1981 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "<td class=\"" ) 2067 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "<td class=\"" ) 1982 if templ_7745c5c3_Err != nil { 2068 if templ_7745c5c3_Err != nil { 1983 return templ_7745c5c3_Err 2069 return templ_7745c5c3_Err 1984 } 2070 } 1985 - var templ_7745c5c3_Var94 string 2071 + var templ_7745c5c3_Var98 string 1986 - templ_7745c5c3_Var94, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var93).String()) 2072 + templ_7745c5c3_Var98, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var97).String()) 1987 if templ_7745c5c3_Err != nil { 2073 if templ_7745c5c3_Err != nil { 1988 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 2074 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 1989 } 2075 } 1990 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var94) 2076 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var98) 1991 if templ_7745c5c3_Err != nil { 2077 if templ_7745c5c3_Err != nil { 1992 return templ_7745c5c3_Err 2078 return templ_7745c5c3_Err 1993 } 2079 } 1994 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "\">" ) 2080 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 183, "\">" ) 1995 if templ_7745c5c3_Err != nil { 2081 if templ_7745c5c3_Err != nil { 1996 return templ_7745c5c3_Err 2082 return templ_7745c5c3_Err 1997 } 2083 } 1998 - var templ_7745c5c3_Var95 string 2084 + var templ_7745c5c3_Var99 string 1999 - templ_7745c5c3_Var95, templ_7745c5c3_Err = templ.JoinStringErrs(ln.Mark) 2085 + templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(ln.Mark) 2000 if templ_7745c5c3_Err != nil { 2086 if templ_7745c5c3_Err != nil { 2001 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 379, Col: 68} 2087 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 397, Col: 68} 2002 } 2088 } 2003 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var95)) 2089 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) 2004 if templ_7745c5c3_Err != nil { 2090 if templ_7745c5c3_Err != nil { 2005 return templ_7745c5c3_Err 2091 return templ_7745c5c3_Err 2006 } 2092 } 2007 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "</td>" ) 2093 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 184, "</td>" ) 2008 if templ_7745c5c3_Err != nil { 2094 if templ_7745c5c3_Err != nil { 2009 return templ_7745c5c3_Err 2095 return templ_7745c5c3_Err 2010 } 2096 } 2011 - var templ_7745c5c3_Var96 = []any{"tx" , "chroma" , ln.Kind, templ.KV("sel" , ln.Selected)} 2097 + var templ_7745c5c3_Var100 = []any{"tx" , "chroma" , ln.Kind, templ.KV("sel" , ln.Selected)} 2012 - templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var96...) 2098 + templ_7745c5c3_Err = templ.RenderCSSItems(ctx, templ_7745c5c3_Buffer, templ_7745c5c3_Var100...) 2013 if templ_7745c5c3_Err != nil { 2099 if templ_7745c5c3_Err != nil { 2014 return templ_7745c5c3_Err 2100 return templ_7745c5c3_Err 2015 } 2101 } 2016 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, "<td class=\"" ) 2102 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 185, "<td class=\"" ) 2017 if templ_7745c5c3_Err != nil { 2103 if templ_7745c5c3_Err != nil { 2018 return templ_7745c5c3_Err 2104 return templ_7745c5c3_Err 2019 } 2105 } 2020 - var templ_7745c5c3_Var97 string 2106 + var templ_7745c5c3_Var101 string 2021 - templ_7745c5c3_Var97, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var96).String()) 2107 + templ_7745c5c3_Var101, templ_7745c5c3_Err = templ.ResolveAttributeValue(templ.CSSClasses(templ_7745c5c3_Var100).String()) 2022 if templ_7745c5c3_Err != nil { 2108 if templ_7745c5c3_Err != nil { 2023 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 2109 return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/diff.templ` , Line: 1, Col: 0} 2024 } 2110 } 2025 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var97) 2111 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var101) 2026 if templ_7745c5c3_Err != nil { 2112 if templ_7745c5c3_Err != nil { 2027 return templ_7745c5c3_Err 2113 return templ_7745c5c3_Err 2028 } 2114 } 2029 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "\">" ) 2115 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 186, "\">" ) 2030 if templ_7745c5c3_Err != nil { 2116 if templ_7745c5c3_Err != nil { 2031 return templ_7745c5c3_Err 2117 return templ_7745c5c3_Err 2032 } 2118 }