<commit_before>'use strict';

angular.module('billynApp.core')
  .config(function ($stateProvider, $urlRouterProvider) {

    $urlRouterProvider.when(
      '/wechat',
      '/wechat/auth');

    $stateProvider
      .state('wechat', {
        url: '/wechat',
        template: '<div ui-view=""></div>',
        controller: 'WechatController',
        controllerAs: 'vm',
        resolve: {
        }
      })
      .state('wechat.bind', {
        url: '/bind',
        templateUrl: 'components/wechat/views/bind.html',
        controller: 'WechatController',
        controllerAs: 'vm',
        authenticate: true
      })
      .state('wechat.auth', {
        url: '/auth',
        templateUrl: 'components/wechat/views/auth.html',
        controller: 'WechatController',
        controllerAs: 'vm',
        authenticate: true,
        resolve: {
          currentUser: function ($q, $stateParams, $rootScope, BUser, $cookies) {
            if ($stateParams.openid) {<commit_msg>set bind page auth to false<commit_after>'use strict';

angular.module('billynApp.core')
  .config(function ($stateProvider, $urlRouterProvider) {

    $urlRouterProvider.when(
      '/wechat',
      '/wechat/auth');

    $stateProvider
      .state('wechat', {
        url: '/wechat',
        template: '<div ui-view=""></div>',
        controller: 'WechatController',
        controllerAs: 'vm',
        resolve: {
        }
      })
      .state('wechat.bind', {
        url: '/bind',
        templateUrl: 'components/wechat/views/bind.html',
        controller: 'WechatController',
        controllerAs: 'vm',
        authenticate: false
      })
      .state('wechat.auth', {
        url: '/auth',
        templateUrl: 'components/wechat/views/auth.html',
        controller: 'WechatController',
        controllerAs: 'vm',
        authenticate: true,
        resolve: {
          currentUser: function ($q, $stateParams, $rootScope, BUser, $cookies) {
            if ($stateParams.openid) {
{'fraction_non_alphanumeric': 0.15275670207384925, 'fraction_numerical': 0.0, 'mean_word_length': 2.2426229508196722, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7046585', 'n_tokens_mistral': 588, 'n_tokens_neox': 581, 'n_words': 111}