1"use strict";(()=>{var u="nech-js-processed",p=(e,n)=>{(function(t,r){t.behaviors[e]={attach:function(o,s){let i=jQuery(o).find(n.selector).not(`.${u}`);n.attach?.(o,{settings:s,empty:!(i.length>0)}),i.each((y,h)=>{let a=jQuery(h);a.addClass(u);let l=n.instance?.(a);typeof l=="function"&&new MutationObserver((v,m)=>{(!a[0]||!document.body.contains(a[0]))&&(l(),m.disconnect())}).observe(document.body,{childList:!0,subtree:!0})})},detach:function(o,s){let i=jQuery(o).find(n.selector);n.detach?.(o,{settings:s,empty:!(i.length>0)})}}})(Drupal,once)};var f=[".pdf",".doc",".docx",".xls",".xlsx",".ppt",".pptx",".zip",".rar",".txt",".csv",".odt",".ods",".odp"];function x(e){if(f.some(t=>e.toLowerCase().endsWith(t)))return!0;if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!1;if(e.startsWith("http://")||e.startsWith("https://"))try{let t=new URL(e),r=new URL(window.location.href);return t.hostname!==r.hostname}catch{return!1}return!1}function d(e){e.find("a").each(function(){let t=jQuery(this),r=t.attr("href");if(!r||t.attr("target"))return;if(x(r)){t.attr("target","_blank"),t.attr("rel","noopener noreferrer");let o=t.attr("aria-label");if(o)t.attr("aria-label",`${o} (ouvre dans un nouvel onglet)`);else{let s=t.text();t.attr("aria-label",`${s} (ouvre dans un nouvel onglet)`)}}})}(function(e,n){p("rich_text_module",{selector:".rich_text_module",attach(t){n(this.selector,t).each(function(){n(this).find(".rich_text, .rich_text_image").each(function(){d(n(this))})})}})})(Drupal,jQuery);})(); 2//# sourceMappingURL=rich_text_module.js.map
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.