1(($, Drupal, drupalSettings, once) => { 2 Drupal.behaviors.svg_theme_components_didomi = { 3 attach: function attach(context) { 4 once('cp_didomi_js', 'body', context).forEach(() => { 5 6 (function(){function i(e){if(!window.frames[e]){if(document.body&&document.body.firstChild){ 7 var t=document.body;var n=document.createElement('iframe');n.style.display='none';n.name=e;n.title=e; 8 t.insertBefore(n,t.firstChild);}else{setTimeout(function(){i(e);},5);}}}function e(n,o,r,f,s){ 9 function e(e,t,n,i){if(typeof n!=='function'){return}if(!window[o]){window[o]=[]}var a=false; 10 if(s){a=s(e,i,n)}if(!a){window[o].push({command:e,version:t,callback:n,parameter:i})}}e.stub=true;e.stubVersion=2; 11 function t(i){if(!window[n]||window[n].stub!==true){return}if(!i.data){return}var a=typeof i.data==='string'; 12 var e;try{e=a?JSON.parse(i.data):i.data}catch(t){return}if(e[r]){var o=e[r]; 13 window[n](o.command,o.version,function(e,t){var n={};n[f]={returnValue:e,success:t,callId:o.callId}; 14 if(i.source){i.source.postMessage(a?JSON.stringify(n):n,'*')}},o.parameter)}}if(typeof window[n]!=='function'){ 15 window[n]=e;if(window.addEventListener){window.addEventListener('message',t,false)}else{ 16 window.attachEvent('onmessage',t)}}}e('__tcfapi','__tcfapiBuffer','__tcfapiCall','__tcfapiReturn'); 17 i('__tcfapiLocator')})(); 18 19 (function(){(function(e,i,o){var n=document.createElement('link');n.rel='preconnect';n.as='script'; 20 var t=document.createElement('link');t.rel='dns-prefetch';t.as='script';var r=document.createElement('script'); 21 r.id='spcloader';r.type='text/javascript';r['async']=true;r.charset='utf-8'; 22 window.didomiConfig=window.didomiConfig||{};window.didomiConfig.sdkPath=window.didomiConfig.sdkPath||o||'https://sdk.privacy-center.org/'; 23 var d=window.didomiConfig.sdkPath; 24 var a=d+e+'/loader.js?target_type=notice&target='+i; 25 if(window.didomiConfig&&window.didomiConfig.user){var c=window.didomiConfig.user;var s=c.country;var f=c.region; 26 if(s){a=a+'&country='+s;if(f){a=a+'®ion='+f;}}}n.href=d;t.href=d; 27 r.src=a;var m=document.getElementsByTagName('script')[0];m.parentNode.insertBefore(n,m);m.parentNode.insertBefore(t,m); 28 m.parentNode.insertBefore(r,m);})(drupalSettings.svg_theme_components_cp_didomi.didomi_api_key, drupalSettings.svg_theme_components_cp_didomi.didomi_id)})(); 29 }); 30 } 31 }; 32})(jQuery, Drupal, drupalSettings, once);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.