{!! g7_meta_generator_tag() !!}
{{ config('app.name', '그누보드7') }}
@include('partials.template-externals-head') @if(empty($activeUserTemplate)) @include('partials.error-fallback-styles') @endif @if(!empty($activeUserTemplate))
@endif
@if(empty($activeUserTemplate)) @include('partials.error-fallback-ui') @endif
@if(!empty($activeUserTemplate)) @include('partials.template-externals-scripts', ['position' => 'before-core']) {{-- 코어 엔진 + 템플릿 컴포넌트 번들 로드 → 초기화 (재시도 + 폴백 UI) --}} @include('partials.bootstrap-scripts', [ 'templateType' => 'user', 'coreEngineSrc' => asset('build/core/template-engine.min.js') . '?v=' . filemtime(public_path('build/core/template-engine.min.js')), 'componentsSrc' => '/api/templates/assets/' . $activeUserTemplate . '/js/components.iife.js?v=' . $extensionCacheVersion, 'initConfig' => array_filter([ 'templateId' => $activeUserTemplate, 'templateType' => 'user', 'locale' => app()->getLocale(), 'debug' => (bool) config('app.debug'), 'websocket' => config('broadcasting.connections.reverb.key') ? [ 'appKey' => config('broadcasting.connections.reverb.key'), 'host' => config('g7.websocket.client.host', config('broadcasting.connections.reverb.options.host', 'localhost')), 'port' => (int) config('g7.websocket.client.port', config('broadcasting.connections.reverb.options.port', 80)), 'scheme' => config('g7.websocket.client.scheme', config('broadcasting.connections.reverb.options.scheme', 'https')), ] : null, ], fn ($value) => $value !== null), ]) @include('partials.template-externals-scripts', ['position' => 'body-end']) @endif