$('#{{ oUIBlock.GetId() }}').activity_panel({
    datetime_format: {{ oUIBlock.GetDateTimeFormatForJSWidget()|json_encode|raw }},
    datetimes_reformat_limit: {{ oUIBlock.GetDatetimesReformatLimit() }},
    {% if oUIBlock.HasTransactionId() %}transaction_id: {{ oUIBlock.GetTransactionId()|var_export }},{% endif %}
    lock_enabled: {{ oUIBlock.IsLockEnabled()|var_export }},
    lock_watcher_period: {{ oUIBlock.GetLockWatcherPeriod() }},
    lock_endpoint: {{ oUIBlock.GetLockEndpoint()|var_export|raw }},
    save_state_endpoint: {{ oUIBlock.GetSaveStateEndpoint()|var_export|raw }},
    last_loaded_entries_ids: {{ oUIBlock.GetLastEntryIds()|json_encode|raw }},
    load_more_entries_endpoint: {{ oUIBlock.GetLoadMoreEntriesEndpoint()|var_export|raw }},
});