It is a block that loads the Cookie Consent scripts from One Trust in your application.
One Trust Scripts:
<!-- OneTrust Cookies Consent Notice -->
<script type="text/javascript" src="https://cdn.cookielaw.org/consent/XXXXXX/OtAutoBlock.js" ></script>
<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" data-document-language="true" type="text/javascript" charset="UTF-8" data-domain-script="XXXXXX" ></script>
<script type="text/javascript"> function OptanonWrapper() { } </script>
Cookie Preferences Button:
<!-- OneTrust Cookies Settings button -->
<button id="ot-sdk-btn" class="ot-sdk-show-settings">Cookie Settings</button>
Obs 1: If your environment has the CSP active it is also necessary to configure to be able to load the scripts. Here are the configurations necessary:
Obs 2: You need to configure the content in One Trust.