<commit_before>import { Component, View, CORE_DIRECTIVES, FORM_DIRECTIVES, Inject } from 'angular2/angular2';
import { Router, ROUTER_DIRECTIVES, RouteParams } from 'angular2/router';

import { Client } from '../../../services/api';
import { CARDS } from '../../../controllers/cards/cards';
import { Material } from '../../../directives/material';
import { BlogCard } from '../../../plugins/blog/blog-card';

@Component({
  selector: 'minds-channel-modules',
  inputs: ['type', '_owner: owner', 'limit'],
  host: {
    'class': 'mdl-card mdl-shadow--2dp',
    '[hidden]': 'items.length == 0'
  },
  providers: [ Client ]
})
@View({
  template: `

    <div class="mdl-card__title">
      <h2 class="mdl-card__title-text" style="text-transform:capitalize">{{type}}s</h2>
    </div>

    <div class="mdl-card__supporting-text mdl-color-text--grey-600 minds-channel-media-sidebard" style="min-height:0;" *ng-if="type != 'blog'">
      <a *ng-for="#object of items" [router-link]="['/Archive-View', {guid: object.guid}]" [ng-style]="{'background-image': 'url(' + object.thumbnail_src + ')'}" >
      </a>
    </div>
    <div *ng-if="type == 'blog'" class="mdl-card__supporting-text"  style="min-height:0;">
      <minds-card-blog [object]="blog" *ng-for="#blog of items" class="mdl-card mdl-shadow--2dp" style="margin-bottom:8px">
        {{blog.title}}
      </minds-card-blog>
    </div>
    <div class="mdl-spinner mdl-js-spinner is-active minds-channel-sidebar-loader" [mdl] [hidden]="!inProgress"></div>

    <ng-content></ng-content>

  `,
  directives: [ ROUTER_DIRECTIVES, CORE_DIRECTIVES, CARDS, BlogCard, Material ]
})

export class ChannelModules {

  items : Array<any> = [];<commit_msg>(feat): no padding on channel blogs<commit_after>import { Component, View, CORE_DIRECTIVES, FORM_DIRECTIVES, Inject } from 'angular2/angular2';
import { Router, ROUTER_DIRECTIVES, RouteParams } from 'angular2/router';

import { Client } from '../../../services/api';
import { CARDS } from '../../../controllers/cards/cards';
import { Material } from '../../../directives/material';
import { BlogCard } from '../../../plugins/blog/blog-card';

@Component({
  selector: 'minds-channel-modules',
  inputs: ['type', '_owner: owner', 'limit'],
  host: {
    'class': 'mdl-card mdl-shadow--2dp',
    '[hidden]': 'items.length == 0'
  },
  providers: [ Client ]
})
@View({
  template: `

    <div class="mdl-card__title">
      <h2 class="mdl-card__title-text" style="text-transform:capitalize">{{type}}s</h2>
    </div>

    <div class="mdl-card__supporting-text mdl-color-text--grey-600 minds-channel-media-sidebard" style="min-height:0;" *ng-if="type != 'blog'">
      <a *ng-for="#object of items" [router-link]="['/Archive-View', {guid: object.guid}]" [ng-style]="{'background-image': 'url(' + object.thumbnail_src + ')'}" >
      </a>
    </div>
    <div *ng-if="type == 'blog'" style="min-height:0;">
      <minds-card-blog [object]="blog" *ng-for="#blog of items" class="mdl-card" style="border-radius:0;">
        {{blog.title}}
      </minds-card-blog>
    </div>
    <div class="mdl-spinner mdl-js-spinner is-active minds-channel-sidebar-loader" [mdl] [hidden]="!inProgress"></div>

    <ng-content></ng-content>

  `,
  directives: [ ROUTER_DIRECTIVES, CORE_DIRECTIVES, CARDS, BlogCard, Material ]
})

export class ChannelModules {

  items : Array<any> = [];
{'fraction_non_alphanumeric': 0.21381774865991662, 'fraction_numerical': 0.008040500297796307, 'mean_word_length': 3.7577903682719547, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, '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': '3623476', 'n_tokens_mistral': 1205, 'n_tokens_neox': 1183, 'n_words': 221}