initial commit

This commit is contained in:
Debian
2026-06-03 04:18:36 +07:00
commit a5569ce2a0
220 changed files with 30797 additions and 0 deletions
@@ -0,0 +1,17 @@
<script src="https://js.pusher.com/7.2.0/pusher.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@joeattardi/emoji-button@3.0.3/dist/index.min.js"></script>
<script >
// Gloabl Chatify variables from PHP to JS
window.chatify = {
name: "{{ config('chatify.name') }}",
sounds: {!! json_encode(config('chatify.sounds')) !!},
allowedImages: {!! json_encode(config('chatify.attachments.allowed_images')) !!},
allowedFiles: {!! json_encode(config('chatify.attachments.allowed_files')) !!},
maxUploadSize: {{ Chatify::getMaxUploadSize() }},
pusher: {!! json_encode(config('chatify.pusher')) !!},
pusherAuthEndpoint: '{{route("pusher.auth")}}'
};
window.chatify.allAllowedExtensions = chatify.allowedImages.concat(chatify.allowedFiles);
</script>
<script src="{{ asset('js/chatify/utils.js') }}"></script>
<script src="{{ asset('js/chatify/code.js') }}"></script>