<!-- last load data -->
<div id="wtaiLastLoadData" data-bind="scope: 'wtaiLastLoadData'"></div>
<script type="text/x-magento-init">
    {
        "#wtaiLastLoadData": {
            "WriteTextAI_WriteTextAI/js/grid/last-load-data": {
                "entityType": "<?php echo $block->escapeJs($block->getEntityType()); ?>",
                "getNeededDataUrl": "<?= $block->escapeJs($block->getUrl('wtai/settings/neededData')) ?>"
            }
        }
    }
</script>
