@php $config = getModuleActivationStatus(); $component_maps = [ 'dstw' => [ 'name' => 'spinandwin', 'btn' => 'heading.btn_spin', ], 'spinandwin' => [ 'name' => 'spinandwin', 'btn' => 'heading.btn_spin', ], 'scratchcard' => [ 'name' => 'scratchcard', 'btn' => 'heading.btn_scratch_again', ], 'riddle' => [ 'name' => 'riddle', 'btn' => 'heading.btn_start', ], 'clicktowin' => [ 'name' => 'clicktowin', 'btn' => 'heading.btn_start', ], 'dsc' => [ 'name' => 'stampcard', 'btn' => 'heading.btn_start', ], 'slotmachine' => [ 'name' => 'slotmachine', 'btn' => 'heading.btn_start', ], ]; $proj = config('sys.config'); $campaign_name = getCampaignName(); @endphp
@include('components.stampcard.popup.entries_list')
{!! trans_or('heading.campaign_title', config('sys.campaign_name') ?? 'campaign title') !!}
@if ($is_show_point ?? true) @if (config('sys.has_bg_points'))
{{ __('heading.title_points') }}:
@else
{{ __('heading.title_points') }}:
@endif @endif {{-- @if ($is_show_chance || !filter_var($config['dsc']) )--}} {{-- @endif--}}
{{ __('heading.title_tries_left') }}:
{!! $slot !!}
{{-- main stuff put here --}} {{-- main game --}} {{--
--}}
@foreach ($component_maps as $key => $attr) @if ($config[$key]) @php $name = 'main.games.' . $attr['name']; @endphp @slot('bottom')
@endslot
@endif @endforeach {{-- input promo code button --}} {{-- --}} {{-- scan QR button --}} @if(config('sys.whatsapp.link')) Upload more receipts on WhatsApp to get more chances @endif
{{ __('label.msg_no_main_game') }}
{{-- challenge shortcut --}}
{{ config($proj.'.game_footer_message') }}
@if($permit_copy = getCustomizeViewPath('permit_copy')) @component("components.main.customizes.{$permit_copy}") @endcomponent @endif
{{-- promo code input popup --}} {{-- @component(getPopupLayout(), ['id' => 'popup_promo_code'])
{{!! __('messages.promocode_popup_desc_one') !!}}

You have met the maximum redemption for the week, please try again next week.

@endcomponent --}} {{-- QR scan popup --}} @component(getPopupLayout(), ['id' => 'popup_qr_scan']) {{-- default = "tap to start", shown when we cannot open the camera without a gesture --}}
{!! __('heading.btn_scan_qr') !!}

{!! __('label.qr_scan_hint') !!}

{{-- live scanner --}}
{!! __('heading.btn_scan_qr') !!}

{!! __('label.qr_scan_hint') !!}

{{-- offscreen frame buffer used by the decoder --}}

{{ __('label.loading') }}...

{{ __('label.loading') }}...

{{ __('messages.promocode_popup_desc_one') }}

{{-- camera blocked / unsupported / in-app webview --}}
{{ __('label.camera_unavailable') }}

{{ __('label.btn_open_in_browser') }}
{{ __('messages.invalid_qr_code_title') }}

@endcomponent @section('style') @endsection @section('script') @parent @endsection