<commit_before>import { Component, OnInit, HostBinding } from '@angular/core';

import {
  sequence,
  trigger,
  stagger,
  animate,
  style,
  group,
  query,
  transition,
  keyframes,
  animateChild } from '@angular/animations';

import instagram from '../../assets/json/instagram_feed.json';
import nomadlist from '../../assets/json/nomadlist_feed.json';

const homeTransition = trigger('homeTransition', [
  transition(':enter', group([
    query('.block', style({ opacity: 0 }), {optional: true}),
    query('.block', stagger(100, [
      style({ transform: 'translateY(10px)' }),
      animate('0.6s cubic-bezier(.75,-0.48,.26,1.52)', style({transform: 'translateY(0px)', opacity: 1})),
    ]), {optional: true}),
    query('.scrollHelper', sequence([
      style({ opacity: 0 }),
      animate('150ms', style({ opacity: 1 })),
    ]), {optional: true}),
  ])),
  transition(':leave', group([
    query('.block', stagger(100, [
      style({ transform: 'translateY(0px)', opacity: 1 }),
      animate('0.6s cubic-bezier(.75,-0.48,.26,1.52)', style({transform: 'translateY(60px)', opacity: 0})),
    ]), {optional: true}),
    query('.scrollHelper', sequence([
      style({ opacity: 1 }),
      animate('0.3s', style({ opacity: 0 })),
    ]), {optional: true}),
  ]))
]);

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.scss'],
  animations: [ homeTransition ]
})
export class HomeComponent implements OnInit {

  hasIntersectionObservable: Boolean;
  instagram = { data: instagram.data.slice(0, 8) };
  nomadlist = nomadlist;
  now: Date = new Date(new Date().toLocaleString("en-US", {timeZone: nomadlist.location.now.timezone}));
  diff: number =(new Date().getUTCHours() - new Date(new Date().toLocaleString("en-US", {timeZone: nomadlist.location.now.timezone})).getHours()) * -1;
<commit_msg>Remove socials from app loading<commit_after>import { Component, OnInit, HostBinding } from '@angular/core';

import {
  sequence,
  trigger,
  stagger,
  animate,
  style,
  group,
  query,
  transition,
  keyframes,
  animateChild } from '@angular/animations';

// import instagram from '../../assets/json/instagram_feed.json';
// import nomadlist from '../../assets/json/nomadlist_feed.json';

const homeTransition = trigger('homeTransition', [
  transition(':enter', group([
    query('.block', style({ opacity: 0 }), {optional: true}),
    query('.block', stagger(100, [
      style({ transform: 'translateY(10px)' }),
      animate('0.6s cubic-bezier(.75,-0.48,.26,1.52)', style({transform: 'translateY(0px)', opacity: 1})),
    ]), {optional: true}),
    query('.scrollHelper', sequence([
      style({ opacity: 0 }),
      animate('150ms', style({ opacity: 1 })),
    ]), {optional: true}),
  ])),
  transition(':leave', group([
    query('.block', stagger(100, [
      style({ transform: 'translateY(0px)', opacity: 1 }),
      animate('0.6s cubic-bezier(.75,-0.48,.26,1.52)', style({transform: 'translateY(60px)', opacity: 0})),
    ]), {optional: true}),
    query('.scrollHelper', sequence([
      style({ opacity: 1 }),
      animate('0.3s', style({ opacity: 0 })),
    ]), {optional: true}),
  ]))
]);

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.scss'],
  animations: [ homeTransition ]
})
export class HomeComponent implements OnInit {

  hasIntersectionObservable: Boolean;
  // instagram = { data: instagram.data.slice(0, 8) };
  // nomadlist = nomadlist;
  now: Date = new Date(new Date().toLocaleString("en-US", {timeZone: nomadlist.location.now.timezone}));
  diff: number =(new Date().getUTCHours() - new Date(new Date().toLocaleString("en-US", {timeZone: nomadlist.location.now.timezone})).getHours()) * -1;

{'fraction_non_alphanumeric': 0.20095693779904306, 'fraction_numerical': 0.02764486975013291, 'mean_word_length': 4.078272604588394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7196581', 'n_tokens_mistral': 1278, 'n_tokens_neox': 1213, 'n_words': 262}