<commit_before>{{#with profile}}

<div class="content-column">

  <h1>{{name}}</h1>

  {{#if packages}}
    <h2 class="undecorated">
      <a id="packages" href="#packages">
        {{pluralize packages.count "Packages" true}} by {{name}}
      </a>
    </h2>
    <ul class="bullet-free collaborated-packages">
      {{#each packages.items}}
        <li>
          {{#if isPrivate}}<i class="icon-lock"></i>{{/if}}
          <a href="/package/{{name}}">{{truncate name 50}}</a>
          {{#if version}}- <strong>v{{version}}</strong>{{/if}}
          {{#if description}}- {{description}}{{/if}}
        </li>
      {{/each}}
      {{#if packages.hasMore}}
        <a href="#" class="button fetch-more-packages">view more packages</a>
      {{/if}}
    </ul>
  {{/if}}

  {{#if stars}}
    <h2 class="undecorated">
      <a id="starred" href="#starred">
        {{pluralize stars.length "Packages" true}} starred by {{name}}
      </a>
    </h2>
    <ul class="bullet-free starred-packages">
      {{#each stars}}
        <li>
          <a href="/package/{{this}}">{{truncate this 50}}</a> {{description}}
        </li>
      {{/each}}
    </ul>
  {{/if}}
</div>

<div class="sidebar">

  {{#if isSelf}}
    <a href="http://en.gravatar.com/emails/" class="avatar">
      <img src="{{#if avatar.large}}{{avatar.large}}{{else}}{{avatar.medium}}{{/if}}">
    </a>
  {{else}}
    <a href="/~{{name}}" class="avatar">
      <img src="{{#if avatar.large}}{{avatar.large}}{{else}}{{avatar.medium}}{{/if}}">
    </a>
  {{/if}}

  {{#if isSelf}}
    <h2>Your Account</h2>

    <ul class="vanilla-list profile-edit-links profile-sidebar-links">
      {{#if isPaid}}
        <li><a href="/settings/billing">manage billing</a></li>
      {{else}}
        <li><a href="/settings/billing">sign up for private modules</a></li>
      {{/if}}
      {{#if ../../features.org_billing}}
        <li><a href="/org/create">create an organization</a></li>
      {{/if}}
      <li><a href="/profile-edit">update your profile</a></li>
    </ul>

    {{> email-verify-nag}}
  {{/if}}

  {{#unless isSelf}}
  {{#if resource.fullname}}
    <h2 class="fullname">{{resource.fullname}}</h2>
  {{/if}}

  <ul class="vanilla-list profile-sidebar-links">

    {{#if emailObfuscated}}
      <li class="email">
        <a href="#" data-email={{emailObfuscated}}>obfuscated</a>
      </li>
    {{/if}}

    {{#with resource}}

      {{#if homepage}}
        <li class="homepage">
          <a href="{{homepage}}">{{schemeless homepage}}</a>
        </li>
      {{/if}}

      {{#if github}}
        <li class="github">
          <a href="https://github.com/{{github}}">@{{github}}</a> on GitHub
        </li>
      {{/if}}

      {{#if twitter}}
        <li class="twitter">
          <a href="https://twitter.com/{{twitter}}">@{{twitter}}</a> on Twitter
        </li>
      {{/if}}

      {{#if freenode}}
        <li class="freenode">
          <a href="irc://chat.freenode.net/npm">{{freenode}}</a> on freenode
        </li>
      {{/if}}

    {{/with}}

    <li class="npm">
      <a href="/~{{name}}">@{{name}}</a> on npm
    </li>

  </ul>
  {{/unless}}

</div>

{{/with}}<commit_msg>View the public content no matter what<commit_after>{{#with profile}}

<div class="content-column">

  <h1>{{name}}</h1>

  {{#if packages}}
    <h2 class="undecorated">
      <a id="packages" href="#packages">
        {{pluralize packages.count "Packages" true}} by {{name}}
      </a>
    </h2>
    <ul class="bullet-free collaborated-packages">
      {{#each packages.items}}
        <li>
          {{#if isPrivate}}<i class="icon-lock"></i>{{/if}}
          <a href="/package/{{name}}">{{truncate name 50}}</a>
          {{#if version}}- <strong>v{{version}}</strong>{{/if}}
          {{#if description}}- {{description}}{{/if}}
        </li>
      {{/each}}
      {{#if packages.hasMore}}
        <a href="#" class="button fetch-more-packages">view more packages</a>
      {{/if}}
    </ul>
  {{/if}}

  {{#if stars}}
    <h2 class="undecorated">
      <a id="starred" href="#starred">
        {{pluralize stars.length "Packages" true}} starred by {{name}}
      </a>
    </h2>
    <ul class="bullet-free starred-packages">
      {{#each stars}}
        <li>
          <a href="/package/{{this}}">{{truncate this 50}}</a> {{description}}
        </li>
      {{/each}}
    </ul>
  {{/if}}
</div>

<div class="sidebar">

  {{#if isSelf}}
    <a href="http://en.gravatar.com/emails/" class="avatar">
      <img src="{{#if avatar.large}}{{avatar.large}}{{else}}{{avatar.medium}}{{/if}}">
    </a>
  {{else}}
    <a href="/~{{name}}" class="avatar">
      <img src="{{#if avatar.large}}{{avatar.large}}{{else}}{{avatar.medium}}{{/if}}">
    </a>
  {{/if}}

  {{#if isSelf}}
    <h2>Your Account</h2>

    <ul class="vanilla-list profile-edit-links profile-sidebar-links">
      {{#if isPaid}}
        <li><a href="/settings/billing">manage billing</a></li>
      {{else}}
        <li><a href="/settings/billing">sign up for private modules</a></li>
      {{/if}}
      {{#if ../../features.org_billing}}
        <li><a href="/org/create">create an organization</a></li>
      {{/if}}
      <li><a href="/profile-edit">update your profile</a></li>
    </ul>

    {{> email-verify-nag}}
  {{/if}}

  {{#if resource.fullname}}
    <h2 class="fullname">{{resource.fullname}}</h2>
  {{/if}}

  <ul class="vanilla-list profile-sidebar-links">

    {{#if emailObfuscated}}
      <li class="email">
        <a href="#" data-email={{emailObfuscated}}>obfuscated</a>
      </li>
    {{/if}}

    {{#with resource}}

      {{#if homepage}}
        <li class="homepage">
          <a href="{{homepage}}">{{schemeless homepage}}</a>
        </li>
      {{/if}}

      {{#if github}}
        <li class="github">
          <a href="https://github.com/{{github}}">@{{github}}</a> on GitHub
        </li>
      {{/if}}

      {{#if twitter}}
        <li class="twitter">
          <a href="https://twitter.com/{{twitter}}">@{{twitter}}</a> on Twitter
        </li>
      {{/if}}

      {{#if freenode}}
        <li class="freenode">
          <a href="irc://chat.freenode.net/npm">{{freenode}}</a> on freenode
        </li>
      {{/if}}

    {{/with}}

    <li class="npm">
      <a href="/~{{name}}">@{{name}}</a> on npm
    </li>

  </ul>

</div>

{{/with}}
{'fraction_non_alphanumeric': 0.2496823379923761, 'fraction_numerical': 0.0044472681067344345, 'mean_word_length': 2.4579901153212522, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 0, '>': 177, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2103638', 'n_tokens_mistral': 2315, 'n_tokens_neox': 2194, 'n_words': 424}