<commit_before><script id="IntercomSettingsScriptTag">
  window.intercomSettings = {
    email: "{{ current_player.email }}",
    created_at: {{ current_player.datecreated|date:"U" }},
    name: "{{ current_player.name }}",
    user_hash: "{{ current_player.get_intercom_hash }}",
    widget: {
    	activator: '#IntercomDefaultWidget'
  	},
    role: "{{ teamplayer.role }}",
    team: "{{ teamplayer.team.name }}",
    app_id: "a7af8a497dc2485b4c3cca4b011160715ea89921"
  };
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://api.intercom.io/api/js/library.js';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}};})()</script><commit_msg>respect unsubscribe from e-mails<commit_after><script id="IntercomSettingsScriptTag">
  window.intercomSettings = {
    email: "{{ current_player.email }}",
    created_at: {{ current_player.datecreated|date:"U" }},
    name: "{{ current_player.name }}",
    user_hash: "{{ current_player.get_intercom_hash }}",
    widget: {
    	activator: '#IntercomDefaultWidget'
  	},
    role: "{{ teamplayer.role }}",
    team: "{{ teamplayer.team.name }}",
    app_id: "a7af8a497dc2485b4c3cca4b011160715ea89921",
    unsubscribed_from_emails: {% if not current_player.receive_email %}true{% else %}false{% endif %},
  };
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://api.intercom.io/api/js/library.js';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}};})()</script>
{'fraction_non_alphanumeric': 0.21116614137775777, 'fraction_numerical': 0.024313372354795137, 'mean_word_length': 7.169117647058823, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '3082290', 'n_tokens_mistral': 835, 'n_tokens_neox': 802, 'n_words': 70}