PageSourceSearch

https://www.renesas.com/sites/default/files/js/js_bwQS6Ouzk1exPpdu…Rd2phqu_ElpG9NzbPLl8wUWlQGt2whlKAqJ7AebmA1D

js renesas.com collected 2026-09-24 08:37:37 UTC 43,679 bytes, 54 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(()=>{window.RenesasAnnouncer={id:"renesas-announcer",init:function(){let n=`
3      <div id="${window.RenesasAnnouncer.id}-assertive" aria-live="assertive" class="visually-hidden"></div>
4      <div id="${window.RenesasAnnouncer.id}-polite" aria-live="polite" class="visually-hidden"></div>
5    `;document.body.insertAdjacentHTML("beforeend",n),window.RenesasAnnouncer.initialized=!0},announce:function(n,e="assertive"){window.RenesasAnnouncer.initialized||window.RenesasAnnouncer.init(),document.getElementById(`${window.RenesasAnnouncer.id}-${e}`).innerHTML=n}};})();
6;
7(()=>{(function(q,y,b,L){"use strict";let E=new Event("change"),C=null;q.behaviors.idt_sample={attach(t,r){this.preprocessResponsive(t),this.urlCacheBusting(t),this.addSampleEvent(t,r),this.alterInlineManagedFileFieldMessages(),this.disableRemoveButtonManagedFileField(),Array.prototype.hasOwnProperty("includes")||Object.defineProperty(Array.prototype,"includes",{enumerable:!1,value:e=>this.filter(a=>a===e).length>0});let o=this.getParameterByName("debug");if(t?.dataset?.sampleMessage){t.querySelector(".sample-throbber")?.remove(),document.getElementById("sample-links-table")&&b.close();let e=t.getAttribute("id")+"-message";b.load(e,{className:"sample-message-wrapper",closeButton:!1,onShow(){L.announce(window.Drupal.t("Opened modal to get Sample of selected product")),document.getElementById(e).querySelector("a.close").addEventListener("click",a=>{b.close(),a.preventDefault()})},onClose(){L.announce(window.Drupal.t("Collapsed modal to get Sample of selected product")),typeof window.refreshCYD=="function"&&window.refreshCYD()}})}if(y("getSamplesButton",t.querySelectorAll(".get-samples-button")).forEach(e=>{e.addEventListener("click",a=>{a.preventDefault(),b.show("sample-links-table",{onShow(){q.behaviors.idt_sample.addSampleEvent(t,r)}})})}),!document.querySelectorAll(".idt-sample-cart-form, .idt-sample-cart-checkout-form").length)return;y("inputCartNumberInput",t.querySelectorAll('.idt-sample-cart-form input[type="number"]')).forEach(e=>{e.addEventListener("click",a=>{let s=r.idt_sample.max_quantity||99999,c=r.idt_sample.min_quantity||1;e.value<c&&(e.value=c),e.value>s&&(e.value=s),e.value=Math.floor(e.value)})}),y("inputCartNumberInputKey",t.querySelectorAll('.idt-sample-cart-form input[type="number"], .idt-sample-cart-checkout-form input[type="number"]')).forEach(e=>{e.addEventListener("keydown",a=>{let s=a.which||a.keyCode;if(s===190||s===110||a.which===86&&(a.ctrlKey||a.metaKey))return!1})});let n=(e,a)=>{document.querySelectorAll(e).forEach(s=>{let c=s.querySelector("label"),u=s.querySelector("input");a?(s.classList.add("form-item--required"),c.classList.add("js-form-required"),u?.setAttribute("required","true")):(s.classList.remove("form-item--required"),c.classList.remove("js-form-required"),u?.removeAttribute("required","true"))})},i=()=>{let e=document.querySelector('[name="delivery_info[shipping_address][shipping_address][country_code]"]')?.value;document.querySelectorAll(".js-form-item-usci,.js-form-item-crn").forEach(a=>{e==="CN"?(a.style.removeProperty("display"),a.classList.add("form-item--required"),a.querySelector("label")?.classList.add("js-form-required","form-required"),a.querySelector("input")?.setAttribute("required","required")):(a.style.setProperty("display","none"),a.classList.remove("form-item--required"),a.querySelector("label")?.classList.remove("js-form-required","form-required"),a.querySelector("input")?.removeAttribute("required"))})},d=function(){let e=document.getElementById("edit-ecf");e&&(h()?(e.style.removeProperty("display"),n(".form-item--ecf-ecf-wrapper-ecf-is-military-use",!0),n(".form-item--ecf-ecf-wrapper-ecf-business-purpose",!0),n(".form-item--ecf-ecf-wrapper-ecf-parent-company-website",!0)):(e.style.setProperty("display","none"),n(".form-item--ecf-ecf-wrapper-ecf-is-military-use",!1),n(".form-item--ecf-ecf-wrapper-ecf-business-purpose",!1),n(".form-item--ecf-ecf-wrapper-ecf-parent-company-website",!1))
7)},h=()=>{let e=document.querySelector('[name="delivery_info[shipping_address][shipping_address][country_code]"]')?.value,a=document.querySelector('[name="is_eccn"]')?.value+"";return[a.indexOf("Y")!==-1,a.indexOf("N")!==-1&&!r?.idt_sample?.wc?.includes(e),!r?.idt_sample?.wc?.includes(e)].includes(!0)},l=()=>{document.querySelector('[name="delivery_info[shipping_contact_info][same_as_contact_information]"]').checked&&(document.querySelector('[name="delivery_info[shipping_contact_info][email]"]').value=document.querySelector('[name="contact_info[email]"]').value,document.querySelector('[name="delivery_info[shipping_contact_info][first_name]"]').value=document.querySelector('[name="contact_info[first_name]"]').value,document.querySelector('[name="delivery_info[shipping_contact_info][last_name]"]').value=document.querySelector('[name="contact_info[last_name]"]').value,document.querySelector('[name="delivery_info[shipping_contact_info][company]"]').value=document.querySelector('[name="contact_info[company]"]').value,document.querySelector('[name="delivery_info[shipping_contact_info][phone]"]').value=document.querySelector('[name="contact_info[phone]"]').value)};t.querySelectorAll('[name="delivery_info[shipping_contact_info][same_as_contact_information]"]').forEach(e=>{e.addEventListener("change",()=>{let a=e.parentNode;a.parentNode.childNodes.forEach(s=>{s instanceof HTMLElement&&s!==a&&(e.checked?s.style.setProperty("display","none"):s.style.removeProperty("display"))}),l()}),e.dispatchEvent(E)});let v=()=>{document.querySelector('[name="delivery_info[shipping_contact_info][same_as_contact_information]"]')?.checked&&l()};t.querySelectorAll("#edit-contact-info input").forEach(e=>{e.addEventListener("keyup",v),e.addEventListener("change",v)});let _=()=>{let e=document.querySelector('[name="company_address[country_code]"]'),a=document.querySelector('[name="delivery_info[shipping_address][shipping_address][country_code]"]');document.querySelector('[name="delivery_info[shipping_address][same_as_company_address]"]')?.checked&&e?.value===a?.value&&(document.querySelector('[name="delivery_info[shipping_address][shipping_address][address_line1]"]').value=document.querySelector('[name="company_address[address_line1]"]').value,document.querySelector('[name="delivery_info[shipping_address][shipping_address][address_line2]"]').value=document.querySelector('[name="company_address[address_line2]"]').value,document.querySelector('[name="delivery_info[shipping_address][shipping_address][locality]"]').value=document.querySelector('[name="company_address[locality]"]').value,document.querySelector('[name="delivery_info[shipping_address][shipping_address][postal_code]"]').value=document.querySelector('[name="company_address[postal_code]"]').value,document.querySelector('[name="delivery_info[shipping_address][shipping_address][administrative_area]"]').value=document.querySelector('[name="company_address[administrative_area]"]').value),i(),d()};t.parentNode?.querySelector('.form-item [name="delivery_info[shipping_address][same_as_company_address]"]')&&_();let g=()=>{document.querySelector('[name="delivery_info[shipping_address][same_as_company_address]"]')?.checked&&_()};t.querySelectorAll('fieldset[id^="edit-company-address"] input, fieldset[id^="edit-company-address"] select').forEach(e=>{e instanceof HTMLInputElement?(e.addEventListener("keyup",g),e.addEventListener("change",g)):e instanceof HTMLSelectElement&&e.getAttribute("name")==="company_address[country_code]"&&e.addEventListener("change",g)});let M=t.querySelector('input[name="delivery_info[shipping_address][same_as_company_address]"]');M?.addEventListener("change",e=>{if(e.target?.checked){let a=e.target.parentNode;a.parentNode.childNodes.forEach(u=>{u instanceof HTMLElement&&u!==a&&u.style.setProperty("display","none")});let s=document.querySelector('[name="company_address[country_code]"]'),c=document.querySelector('[name="delivery_info[shipping_address][shipping_address][country_code]"]');c.value!==s.value?(c.value=s.value,setTimeout(()=>c.dispatchEvent(E),0)):_()}else{let a=e.target.parentNode;
7a.parentNode.childNodes.forEach(s=>{s instanceof HTMLElement&&s!==a&&s.style.removeProperty("display")})}}),M?.dispatchEvent(E),i(),d();let T=document.querySelector('select[name="target_application"]');if(y("target_once",T).forEach(e=>{e.addEventListener("change",()=>{let a=document.querySelector('select[name="end_product"]');if(typeof r.idt_sample.target[e.value]<"u")if(a.querySelectorAll("option").forEach(s=>{r.idt_sample.target[e.value].indexOf(s.getAttribute("value"))!==-1?(s.style.removeProperty("display"),s.removeAttribute("disabled"),s.classList.add("available")):(s.style.setProperty("display","none"),s.setAttribute("disabled","disabled"),s.classList.remove("available"))}),o){let s=q.behaviors.idt_sample.random(a.querySelectorAll("option.available"));a.value=s.getAttribute("value")}else r.idt_sample.target[e.value].indexOf(a.value)===-1&&(a.value=null,a.reportValidity());else a.querySelectorAll("option").forEach(s=>{s.style.removeProperty("display"),s.classList.add("available")})}),e.dispatchEvent(E)}),t.querySelectorAll('option[value="CN"][selected]').forEach((e,a)=>{if(e.parentNode.getAttribute("name")!=="delivery_info[shipping_address][shipping_address][country_code]"&&e.parentNode.getAttribute("name")!=="company_address[country_code]")return;let s,c,u;e.parentNode.getAttribute("name")==="delivery_info[shipping_address][shipping_address][country_code]"?(s=".js-form-item-delivery-info-shipping-address-shipping-address-country-code",c=".js-form-item-delivery-info-shipping-address-shipping-address-administrative-area",u=".js-form-item-delivery-info-shipping-address-shipping-address-locality"):(s=".js-form-item-company-address-country-code",c=".js-form-item-company-address-administrative-area",u=".js-form-item-company-address-locality");let m=e.closest(s).parentNode,f=m.parentNode.querySelector(c).parentNode,p=m.parentNode.querySelector(u);(!m.nextSibling||m.nextSibling!==f)&&(f.appendChild(p),m.appendChild(f))}),r.idt_sample.military!==void 0){let e=document.getElementById("edit-checkout"),a=s=>{let c=document.querySelector('select[name="end_product"]'),u=c.options[c.selectedIndex]?.text,m=document.getElementById("edit-ecf"),f=!0,p=m;for(;p&&p!==document;)p.style.getPropertyValue("display")!=="none"&&p.style.getPropertyValue("visibility")!=="hidden"?p=p.parentNode:(f=!1,p=null);f&&r.idt_sample.military[0].includes(u)&&(b.loadHTML({html:"<p>"+r.idt_sample.military[1]+"</p>",className:"sample-military-message"}),s.preventDefault())};y("clickSubmitHandler",e).forEach(s=>{s.addEventListener("click",a)})}[["delivery_info[shipping_address][shipping_address][address_line1]","delivery_info[shipping_address][shipping_address][address_line1]",70,"address",!0],["delivery_info[shipping_address][shipping_address][address_line2]","delivery_info[shipping_address][shipping_address][address_line2]",70,"address",!0],["company_address[address_line1]","company_address[address_line1]",70,"address",!0],["company_address[address_line2]","company_address[address_line2]",70,"address",!0],["contact_info[first_name]","contact_info[last_name]",35,"name",!1],["delivery_info[shipping_contact_info][first_name]","delivery_info[shipping_contact_info][last_name]",35,"name",!1],["delivery_info[shipping_address][shipping_address][locality]","delivery_info[shipping_address][shipping_address][locality]",70,"city",!0],["company_address[locality]","company_address[locality]",70,"city",!1]].forEach(e=>{document.querySelectorAll('input[name="'+e[0]+'"], input[name="'+e[1]+'"]').forEach(a=>{["keydown","change","input"].forEach(s=>{a.addEventListener(s,c=>{let u=document.querySelector('input[name="'+e[0]+'"]'),m=document.querySelector('input[name="'+e[1]+'"]'),f=u.getAttribute("id")===a.getAttribute("id")?1:2,p=0,A=0,S=c.which;if(u&&(p=u.value.length),m&&(A=m.value.length),p+A>e[2]&&!(S===8||S===8||S===27||S===46||S>=35&&S<=40)){c.preventDefault(),f===1?a.value=a.value.substring(0,e[2]-A):a.value=a.value.substring(0,e[2]-p),document.querySelectorAll(".input-error-message").forEach(j=>{j.remove()});let k=document.createElement("div");k.classList.add("input-error-message");let N="";e[4]?N=window.Drupal.t("The amount of characters of the this field should be no more than @chars",{"@name":e[3],"@chars":e[4]?e[2]/2:e[2]}):N=window.Drupal.t("The combined amount of characters of the @name fields should be no more than @chars",{"@name":e[3],"@chars":e[4]?e[2]/2:e[2]}),a.parentNode.insertAfter(k,a),setTimeout(k.remove,5e3)}})})})})},addSampleEvent(t,r){this.updateSamplesCartMenu(),y("sampleLinks",t.querySelectorAll(".get-samples-table a.sample:not(.loaded)")).forEac
7h(o=>{o.addEventListener("click",n=>{n.preventDefault();let i=q.ajax({url:r.idt_sample.add_product_url,base:!1,element:!1,submit:{nid:r.idt_sample_nid??0,sample_id:o.dataset.partId},progress:!1});o.classList.add("loaded"),i.options.complete=q.behaviors.completeYourDesignBlock.attach,i.execute()})})},filterInput(t){let r="which"in t?t.which:t.keyCode;return r!==69&&r!==101},handlePaste(t){let r,o;r=t.clipboardData||window.clipboardData,o=r.getData("Text").toUpperCase(),o.indexOf("E")>-1&&(t.stopPropagation(),t.preventDefault())},getParameterByName(t,r){r||(r=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var o=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)"),n=o.exec(r);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},random(t){let r=Math.floor(Math.random()*t.length);return t[r]},preprocessResponsive(t){t.querySelectorAll(".check-inventory-results").forEach(r=>{let o=[];r.querySelectorAll("thead th").forEach(n=>{n.querySelectorAll(".visually-hidden").forEach(i=>{i.remove()}),o.push(n.textContent.trim()+":")}),r.querySelectorAll("tbody td").forEach(n=>{let i=document.createElement("div");n.childNodes.forEach(d=>{i.appendChild(d)}),n.appendChild(i),n.setAttribute("data-heading",o[n.cellIndex])})})},urlCacheBusting(){let t=window.location.toString(),r=/\/sample-request+/,o=/([?&])t=[^?&]+/,n=document.querySelectorAll(".idt-sample-cart-form, .idt-sample-cart-checkout-form").length;if(!t.match(o)&&t.match(r)&&n){let i=window.crypto.randomUUID(),d=window.navigator.userAgent,h=d.indexOf("MSIE "),l=d.indexOf("Trident/");(h>0||l>0)&&(i=Math.floor(Math.random()*67865432987)+Date.now()),t=t+(t.indexOf("?")!==-1?"&t=":"?t=")+i}window.history.replaceState(null,null,t)},updateSamplesCartMenu(){let t=document.querySelectorAll(".sample-cart-menu-link");!t.length||C||(C=setTimeout(()=>{try{let r=window.Cookies.get("renesas_sample_cart_items");if(!r)return;let o=JSON.parse(r),n=Object.keys(o).length;if(n===0){window.Cookies.remove("renesas_sample_cart_items");return}let i=n>9,d=i?"9+":String(n),h=window.Drupal.t("Samples (@count)",{"@count":d});t.forEach(l=>{l.classList.toggle("more-than-9",i),l.setAttribute("data-count",d),l.setAttribute("title",h)})}finally{C=null}},0))},alterInlineManagedFileFieldMessages(){y("alterInlineManagedFileFieldMessages",document.querySelectorAll("form .js-form-type-managed-file")).forEac
7h(t=>{new MutationObserver(o=>{o.forEach(n=>{n.addedNodes.forEach(i=>{if(i.nodeType===1&&i.classList.contains("file-upload-js-error")){let d=t.previousElementSibling||null;(!d||!d.classList?.contains("messages-block-wrapper"))&&(d=document.createElement("div"),d.classList.add("rgrid-wrapper"),d.classList.add("messages-block-wrapper"),t.before(d));let h=i.innerHTML,l=document.createElement("div");l.className="messages messages--with-icon messages--error file-upload-message",l.setAttribute("role","alert"),l.setAttribute("aria-label","Error message");let v=document.createElement("h2");v.className="visually-hidden",v.textContent="Error message";let _=document.createElement("div");_.className="messages__icon",_.innerHTML='<span class="ricon-emergency-home"></span>';let w=document.createElement("div");w.className="messages__item",w.innerHTML=h,l.appendChild(v),l.appendChild(_),l.appendChild(w),d.childNodes.forEach(g=>{g instanceof HTMLElement&&g.remove()}),d.appendChild(l),i.remove()}})})}).observe(t,{childList:!0,subtree:!0})})},disableRemoveButtonManagedFileField(){y("disableRemoveButtonManagedFileField",document.querySelectorAll(".idt-sample-cart-checkout-form .js-form-type-managed-file .js-form-submit[name$=_remove_button]")).forEach(t=>{let r=t.parentNode;if(!r)return;let o=r.querySelectorAll('input[type="checkbox"]'),n=()=>{let i=!1;o.forEach(d=>{d.checked&&(i=!0)}),i?(t.removeAttribute("disabled"),t.classList.remove("is-disabled")):(t.setAttribute("disabled","disabled"),t.classList.add("is-disabled"))};o.length?(n(),o.forEach(i=>{i.addEventListener("change",n)})):(t.setAttribute("disabled","disabled"),t.classList.add("is-disabled"))})}}})(Drupal,once,RenesasMicroModal,RenesasAnnouncer);})();
8;
9/* @license MIT https://raw.githubusercontent.com/js-cookie/js-cookie/v3.0.5/LICENSE */
10!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o;};}());}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o];}return e;}var t=function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof (i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c;}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break;}catch(e){}}return e?o[e]:o;}},remove:function(t,n){r(t,"",e({},n,{expires:-1}));},withAttributes:function(n){return t(this.converter,e({},this.attributes,n));},withConverter:function(n){return t(e({},this.converter,n),this.attributes);}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}});}({read:function(e){return '"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent);}},{path:"/"});return t;}));;
11/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
12((v,y,d)=>{function g(t){if(!(t instanceof Element||t instanceof Document||t instanceof DocumentFragment))throw new TypeError("Expected Element, Document or DocumentFragment");return t.querySelectorAll('a[href], area[href], button:not([disabled]), input:not([type="hidden"]):not([disabled]), select:not([disabled]), textarea:not([disabled]), iframe, object, embed, [tabindex]:not([tabindex="-1"]), [contenteditable]')}if(v.behaviors.renesas_megamenu={mql:window.matchMedia("(min-width: 1024px)"),menu:document.querySelector("div.megamenu"),backdrop:document.querySelector(".menu-backdrop"),hamburgerButton:document.querySelector("#main-menu-toggle"),attach(t){this.init(t)},init(t){const r=this,s=y.renesas.menu_endpoint;t.querySelectorAll(".submenu-template").forEach(a=>{a.parentNode.appendChild(a.content),a.remove()});const o=new Event("click");let i=!1;const h=a=>{const e=a.querySelector(".submenu-template");e&&(e.parentNode.appendChild(e.content),e.remove(),h(a))};d("renesas_megamenu_start",".is-level-1 > li > .megamenu__link",t).forEach(a=>{a.addEventListener("click",function(){i||(i=!0,fetch(s).then(n=>{if(n.ok)return n.text();throw new Error("Error getting html data")}).then(n=>{h(t);const u=document.getElementById("placeholder-items");u&&(u.innerHTML=n),r.closeButtonHandleClick(),r.startMenus(t),a.dispatchEvent(o)}).catch(n=>{console.error("renesas_megamenu_start: Failed to load data for .is-level-1 > li > .megamenu__link",n)}))},{once:!0})}),d("renesas_megamenu_start","#main-menu-toggle",t).forEach(a=>{a.addEventListener("click",function(){fetch(s).then(e=>{if(e.ok)return e.text();throw new Error("Error getting html data")}).then(e=>{h(document);const n=document.getElementById("placeholder-items");n&&(n.innerHTML=e),r.closeButtonHandleClick(),r.startMenus(document),a.dispatchEvent(o)}).catch(e=>{console.error("renesas_megamenu_start: Failed to load data for #main-menu-toggle",e)})},{once:!0})}),document.addEventListener("renesas_megamenu:reset_menus",()=>this.resetMenus(t)),this.setMenuWidth();const b=document.querySelector(".r-header__primary-menu");b&&"ResizeObserver"in window&&d("megamenu-resize-observer",b).forEach(a=>{new ResizeObserver(()=>this.setMenuWidth()).observe(a)})},startMenus(t){const r=t.querySelector("div.megamenu");if(!r)return;const s=this;let o=[document.querySelector("div.megamenu .inner_content").querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not
12([tabindex="-1"])')];o=Array.from(...o).filter(e=>!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")&&e.closest(".mobile-account-menu")==null&&(e.closest(".is-level-4")==null||e.closest(".is-level-4")!=null&&e.closest(".product-submenu .is-level-4")!=null));const i={nav_menu:".nav-menu",sub_nav_group:".sub-nav-group",sub_nav_group_nav_group:".sub-nav-group-nav-group",nav_menu_items:{selector:".is-level-1 > li > .megamenu__link",items:[]},sub_nav_group_items:{selector:".is-level-2 > li > .megamenu__link, .is-level-3 > li > .megamenu__link",items:[]},products_submenu:{selector:".products-submenu .left .sub-nav-group .megamenu__link",items:[]},products_submenu_nav:{selector:".products-submenu .right a[href], .products-submenu .right button, .products-submenu .right input, .products-submenu .right select, .products-submenu .right details, .products-submenu .right [tabindex]:not([tabindex='-1'])",items:[]}};document.querySelectorAll(i.nav_menu_items.selector).forEach(e=>{i.nav_menu_items.items.push(o.indexOf(e))}),document.querySelectorAll(i.sub_nav_group_items.selector).forEach(e=>{i.sub_nav_group_items.items.push(o.indexOf(e))}),document.querySelectorAll(i.products_submenu.selector).forEach(e=>{i.products_submenu.items.push(o.indexOf(e))}),document.querySelectorAll(i.products_submenu_nav.selector).forEach(e=>{i.products_submenu_nav.items.push(o.indexOf(e))});
12function h(e,n){n.preventDefault();const u=s.menu;u.querySelectorAll(".products-submenu .right .items").forEach(c=>{c.style.display="none"}),s.alterSubmenuControl(u.querySelectorAll(".products-submenu .left .megamenu__link"),!1);const l=u.querySelector(`.products-submenu .right .items[data-uuid="${e.dataset.uuid}"]`);l&&(l.style.display="block",l.focus()),s.alterSubmenuControl(e,!0),u.classList.contains("open-mobile-level-1")&&u.classList.add("open-mobile-level-2")}function b(e){let n=null;return i.nav_menu_items.items.indexOf(e)>=0&&(n="nav_menu_items"),i.sub_nav_group_items.items.indexOf(e)>=0&&(n="sub_nav_group_items"),i.products_submenu.items.indexOf(e)>=0&&(n="products_submenu_left"),i.products_submenu_nav.items.indexOf(e)>=0&&(n="products_submenu_right"),n}o.forEach(e=>{e.addEventListener("keydown",a)});function a(e){const{key:n,currentTarget:u}=e;if(!["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"].includes(n))return;const l=o.indexOf(u);let c=o[l+1];const f=b(l);let m=null;if(!c){s.resetMenus();return}
12if(!(n==="ArrowUp"&&(c=o[l-1],f==="nav_menu_items"))){if(n==="ArrowDown"){const p=new KeyboardEvent("keydown",{key:"Tab",code:"Tab",which:9,keyCode:9,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,bubbles:!0});u.dispatchEvent(p)}if(n==="ArrowRight")if(f==="nav_menu_items")m=i.nav_menu_items.items[i.nav_menu_items.items.indexOf(l)+1],m!=null&&(c=o[m]);else if(f==="products_submenu_left")h(u,e),c=s.menu.querySelector(`.products-submenu .right .items[data-uuid="${u.dataset.uuid}"]`).querySelector('a, button, input, select, details, [tabindex]:not([tabindex="-1"])');else if(f==="products_submenu_right"){c=o[l+1];const p=u.closest(".sub-nav-group-nav")?.parentElement;if(p){const _=g(p);_[_.length-1]===u&&(c=o[o.indexOf(document.querySelector(`[aria-controls="${p.getAttribute("id")}"]`))+1])}}else m=i.sub_nav_group_items.items[i.sub_nav_group_items.items.indexOf(l)+1],c=m===l?o[m+1]:o[m];if(n==="ArrowLeft")if(f==="nav_menu_items")m=i.nav_menu_items.items[i.nav_menu_items.items.indexOf(l)-1],m!=null&&(c=o[m]);else if(f==="products_submenu_left")c=null;else if(f==="products_submenu_right"){c=o[l-1];const p=u.closest(".sub-nav-group-nav")?.parentElement;p&&g(p)[0]===u&&(c=document.querySelector(`[aria-controls="${p.getAttribute("id")}"]`))}else m=i.sub_nav_group_items.items[i.sub_nav_group_items.items.indexOf(l)-1],c=m===l?o[m+1]:o[m];e.preventDefault(),c&&c.focus()}}d("renesas_megamenu","ul.is-level-1 > li > button.megamenu__link",r).forEach(e=>{e.addEventListener("click",function(){s.controlMegaMenuPanel(this)}),e.addEventListener("focus",function(){s.isWide()&&s.resetMenus()})}),d("renesas_megamenu_usermenu_links","ul.is-level-1 > li.mobile-account-menu .user-menu__link:not(.cart, .sample, .login)",r).forEach(e=>{e.addEventListener("click",function(){s.isWide()||(s.menu.classList.add("open-mobile-level-1","open-account-menu"),this.parentNode.classList.add("open"))})}),d("mobile-header-click",".mobile-menu-header h3 a",r).forEach(e=>{const n=s.menu;e.addEventListener("click",function(u){u.preventDefault(),n.classList.contains("open-mobile-level-2")?(n.classList.remove("open-mobile-level-2"),s.alterSubmenuControl(n.querySelectorAll(".is-level-2 *[aria-expanded]"),!1)):n.classList.contains("open-mobile-level-1")&&(n.classList.remove("open-mobile-level-1","open-main-menu","open-account-menu"),n.querySelectorAll("ul.is-level-1 > li.open").forEach(l=>{l.classList.remove("open")}),n.querySelectorAll("ul.is-level-1 > li.mobile-account-menu .open").forEach(l=>{l.classList.remove("open")}),s.alterSubmenuControl(n.querySelectorAll(".is-level-1 *[aria-expanded]"),!1))})}),d("renesas_megamenu_left",".products-submenu .left .megamenu__link",r).forEach(e=>{e.addEventListener("click",function(n){h(this,n)})}),d("toggle-click",this.hamburgerButton).forEach(e=>{e.addEventListener("click",n=>{n.preventDefault(),this.backdrop.classList.toggle("active"),s.menu.classList.toggle("open"),this.setHeight(),s.hamburgerButton.classList.toggle("is-open")})}),this.mql.addEventListener("change",this.resetMenus.bind(this)),d("background-click",".menu-backdrop",t).forEach(e=>{e.addEventListener("click",()=>{this.resetMenus()})}),document.body.addEventListener("keyup",e=>{e.key==="Escape"&&this.resetMenus()}),r.addEventListener("click",e=>{const n=e.currentTarget.getAttribute("href"),u=e.currentTarget.getAttribute("data-once");n&&n!=="#"&&n!=="#languageMenu"&&!n.startsWith("javascript:")&&u!=="renesas_megamenu_left"&&this.resetMenus()})},controlMegaMenuPanel(t){const r=this.menu;if(this.isWide()){const s=r.querySelector(`div[id="${t.getAttribute("aria-controls")}"]`);t.parentNode.classList.contains("open")?(this.closeSubMenu(s),this.alterSubmenuControl(t,!1)):(this.openSubMenu(s),this.alterSubmenuControl(t),s.classList.contains("product-submenu")&&this.alterSubmenuControl(s.querySelector(".left a")))}else r.classList.add("open-mobile-level-1","open-main-menu"),t.parentNode.classList.add("open"),this.alterSubmenuControl(t,!0)},isWide(){return this.mql.matches},resetMenus(){this.backdrop.removeAttribute("style"),this.backdrop.classList.remove("active"),this.closeAllMenus()},closeOtherMenus(t){let r=0;return t.classList.contains("product-submenu")&&t.querySelector(".left li:first-child a").click(),this.menu.querySelectorAll(".open").forEach(s=>{s!==t.parentNode&&(s.classList.remove("open"),this.alterSubmenuControl(s.querySelectorAll("*[aria-expanded]"),!1),r+=1)}),r},closeAllMenus(){this.menu.classList.remove("open","open-mobile-level-1","open-account-menu","open-main-menu"),this.hamburgerButton.classList.remove("is-open"),this.menu.querySelectorAll(".open").forEach(t=>{t.classList.remove("open"),this.alterSubmenuControl(t.querySelectorAll("*[aria-expanded]"),!1)})},openSubMenu(t){const r=this.closeOtherMenus(t);this.setHeight(),r||this.backdrop.classList.add("active"),t.parentNode.classList.add("open"),document.querySelector(".block--product-tree")?.classList.remove("block--product-tree-expanded"),document.body.classList.remove("side-menu-open")},closeSubMenu(t){this.backdrop.removeAttribute("style"),this.backdrop.classList.remove("active"),t.parentNode.classList.remove("open"),this.alterSubmenuControl(t.parentNode.querySelectorAll("*[aria-expanded]"),!1)},alterSubmenuControl(t,r=!0){(t instanceof NodeList?Array.from(t):[t]).forEac
12h(o=>{o.setAttribute("aria-expanded",r)})},setHeight(){const t=document.documentElement.getBoundingClientRect().height;this.backdrop.style.height=`${t+48}px`},setMenuWidth(){const t=document.querySelector(".r-header__primary-menu");if(t){const r=t.getBoundingClientRect().width;document.documentElement.style.setProperty("--main-menu-width-desktop",`${r}px`)}},closeButtonHandleClick(){document.querySelectorAll(".megamenu .close").forEach(t=>{t.addEventListener("click",r=>{if(r.preventDefault(),this.menu.classList.contains("open"))this.hamburgerButton.click();else{const s=this.menu.querySelector(".open > div");s&&this.closeSubMenu(s)}})})}},typeof document<"u"){const t=document;document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>{v.behaviors.renesas_megamenu.init(t)},{once:!0}):v.behaviors.renesas_megamenu.init(t)}})(Drupal,drupalSettings,once);
13;
14((o,s)=>{const i=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&(t.target.style.contentVisibility="visible",i.unobserve(t.target))})},{rootMargin:"0px",threshold:.1});Drupal.behaviors.contentVisibility={attach(e){s("content-visibility",".content-visibility",e).forEach(n=>i.observe(n))}}})(drupalSettings,once);
15;
16(()=>{((n,s,o)=>{n.behaviors.noBrHyphens={attach(r){o("noBrHyphensBehavior",".no-br-hyphens",r).forEach(t=>{let a=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null),e;for(;e=a.nextNode();){let l=e.nodeValue;e.nodeValue=l.replace(/(?<!\s)-(?!\s)/g,"\u2011")}})}}})(Drupal,drupalSettings,once);})();
17;
18(function(a,n){a.behaviors.cardToggle={attach:function(t,c){n("cardToggle",".rcard__view-details-link",t).forEach(function(r){r.addEventListener("click",function(s){s.preventDefault();const i=this.closest(".rcard"),e=i.querySelector(".rcard__view-details-content");i.classList.toggle("is-expanded")?(requestAnimationFrame(()=>{e.style.maxHeight=e.scrollHeight+"px"}),this.innerHTML=`<span class="ricon-keyboard-arrow-up rcard__view-details-icon" aria-hidden="true"></span>${window.Drupal.t("Hide Details")}`):(e.style.maxHeight="0",this.innerHTML=`<span class="ricon-keyboard-arrow-down rcard__view-details-icon" aria-hidden="true"></span>${window.Drupal.t("View Details")}`)})})}}})(Drupal,once);
19;
20(()=>{const t=["article .wysiwyg .table-group","article .field--name-body .table-group",".table-group .view-content .views-table",".field--name-field-additional-details .table-group",".wysiwyg .table-group"].join(", ");document.querySelectorAll(t).forEach(e=>{if(!e.parentNode.classList.contains("table-group-wrapper")){const a=document.createElement("div");a.classList.add("table-group-wrapper"),e.parentNode.insertBefore(a,e),a.appendChild(e)}})})();
21;
22((a,n)=>{a.behaviors.updateNotification={attach(o){setTimeout(()=>{this.init(o)},0)},init(o){n("updateNotification",".wysiwyg",o).forEach(()=>
22{let t=o.querySelectorAll(".info.notification .material-icons"),c=["ricon-info","notification-icon"];t.forEach(i=>{i.classList.remove("material-icons"),i.classList.add(...c),i.innerHTML=""});let s=o.querySelectorAll(".warning.notification .material-icons"),e=["ricon-emergency-home","notification-icon"];s.forEach(i=>{i.classList.remove("material-icons"),i.classList.add(...e),i.innerHTML=""})})}}})(Drupal,once);
23;
24(()=>{((t,e)=>{t.subscribe("afterAttachBehaviors",{id:"admin-toolbar-auth-check",once:!0,callback:()=>{if(!e.user||e.user.uid===0)return;let a=document.getElementById("renesas-admin-toolbar-ajax-load-id");a&&a.dispatchEvent(new CustomEvent("renesasToolbarAuthCheck",{bubbles:!0}))}})})(Renesas,drupalSettings);})();
25;
26(()=>{((a,d)=>{a.behaviors.accountMenu={attach(i){setTimeout(()=>{this.init(i)},0)},init(i){d("user-menu-dropdown",".user-menu__item.is-level-0 > .user-menu__link",i).forEach(l=>{l.addEventListener("click",s=>{let e=s.target,n=e.parentNode,t=n.querySelector(".user-menu__list");if(t){s.stopPropagation(),s.preventDefault();let m=e.getBoundingClientRect().right+window.scrollLeft,w=window.innerWidth,c=n.querySelectorAll(".shown");if(c.length)return c.forEach(o=>{o.classList.remove("shown")}),e.classList.remove("link-shown"),!1;let r=document.querySelectorAll(".user-menu__list");r.length&&r.forEach(o=>{o.classList.remove("shown")});let u=document.querySelectorAll(".user-menu__link.link-shown");u.length&&u.forEach(o=>{o.classList.remove("link-shown")}),t.classList.add("shown"),w-m<100?t.classList.add("moved"):t.classList.remove("moved")}e.classList.add("link-shown"),h(n,t,e)})});let h=(l,s,e)=>{document.addEventListener("click",n=>{l.contains(n.target)||(s.classList.remove("shown"),e.classList.remove("link-shown"))})}}}})(Drupal,once);})();
27;
28(()=>{((o,c)=>{let a=(l="")=>String(l).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),u=({user:l,renesas_blocks:e})=>{let r=document.querySelectorAll(".user-menu__item.account-links");if(!r.length)return;if(l.uid!==0){let i=e.developer_url?`<li><a href="${e.developer_url}">${a(e.developer_label)}</a></li>`:"",s=`
29      <div class="user-menu__list account-links_links account__links">
30        <span class="account-links_fullname">${a(l.fullName??"")}</span>
31        <ul class="nav-menu--simple">
32          <li><a href="${e.my_renesas_url}">${a(e.my_renesas_label)}</a></li>
33          <li><a href="${e.secure_portals_url}">${a(e.secure_portals_label)}</a></li>
34          ${i}
35        </ul>
36        <div class="login-logout-wrapper">
37          <a class="logout button button--secondary button--small" href="${e.user_logout_url}">${o.t("Log Out")}</a>
38        </div>
39      </div>`,n=a(e.my_renesas_label);r.forEach(t=>{t.innerHTML=`<a href="#accountMenu" class="user-menu__link dropdown r" title="${n}"><span class="link-title">${n}</span><span class="ricon-keyboard-arrow-right" aria-hidden="true"></span></a>`,t.insertAdjacentHTML("beforeend",s),t.classList.add("authenticated")}),o.behaviors?.accountMenu?.attach(document)}else{let i=window.location.pathname+window.location.search,s=`${e.user_sso_login_url.replace("{type}","")}?destination=${encodeURIComponent(i)}`;r.forEach(n=>{let t=n.querySelector("a.user-menu__link");t&&(t.href=s),n.classList.add("anonymous")})}};c.subscribe("afterAttachBehaviors",{id:"idt_user:account_links",once:!0,callback:u})})(Drupal,Renesas);})();
40;
41(()=>{(function(l,s,n){let{TAB_NAVIGATION_CHANGED_HOOK:u}=n.hooks;function o(t){let a=t.querySelectorAll("a");a.length&&a.forEach(e=>{let r=e.getAttribute("hreflang"),c=s.renesas_blocks.language_alternates[r];c&&(["search","support/document-search"].includes(s?.path?.currentPath)?e.setAttribute("href",c+"?"+d()):e.setAttribute("href",c+window.location.search)),r===s.path.currentLanguage&&e.classList.add("active")})}document.addEventListener("renesasLanguageSwitcherUpdateLinks",()=>document.querySelectorAll('.language-switcher__links__wrapper[data-update-links="1"]').forEach(o)),Drupal.behaviors.languageSwitcher={attach:function(t){l("drupalLanguageSwitcher",'.language-switcher__links__wrapper[data-update-links="1"]',t).forEach(o)}},n.subscribe(u,{id:"language-switcher-on-tabnav-change",callback(t,a=!1){document.dispatchEvent(new Event("renesasLanguageSwitcherUpdateLinks"))}});function d(){let t=["page","prodCat","appCat","techCat","docType","model","resourceType","prodStatus","softwareType","type","doc_file_type","doc_file_all_types","doc_file_sub_types","doc_category_tier_1","doc_category_tier_2","doc_category_tier_3","doc_category_tier_4"],a=new URLSearchParams(window.location.search),e=new URLSearchParams;for(let[r,c]of a.entries()){let i=!1;for(let h of t)if(r.startsWith(h)){i=!0;break}i||e.set(r,c)}return e.toString()}})(once,drupalSettings,Renesas);})();
42;
43(()=>{((c,r)=>{"use strict";c.behaviors.idtQuickLinks={offset:0,header:null,headerHeight:0,block:null,trigger:null,links:null,sections:null,linkIdPrefix:"ql-",linkActiveClass:"active",intersectionObserver:null,processedAttribute:"data-ql-processed",initialized:!1,isWindowMobile:document.documentElement.clientWidth<693,calculateOffset:function(){let t=this.header.offsetHeight;return window.innerWidth>=996&&window.innerHeight<=800&&this.block.querySelectorAll(".quick-links__item").length===0&&(t=0),t+=parseInt("0"+document.body.style.paddingTop,10),Math.ceil(t)},onIntersect:function(t){let e=this;t.forEach(i=>
43{i.isIntersecting?e.links.forEach(function(n){e.linkIdPrefix+i.target.id===n.id?(n.classList.add(e.linkActiveClass),history.replaceState(history.state,"",window.location.pathname+window.location.search+"#"+i.target.id)):n.classList.remove(e.linkActiveClass)}):e.linkIdPrefix+i.target.id===e.links[0].id&&i.boundingClientRect.top>e.offset&&!e.header.parentNode.classList.contains("is-fixed")&&(e.links[0].classList.remove(e.linkActiveClass),window.location.hash==="#"+i.target.id&&history.replaceState(history.state,"",window.location.pathname+window.location.search))})},watchForActiveSection:function(){this.intersectionObserver!==null&&this.intersectionObserver.disconnect();let t=this,e=t.isWindowMobile?20:100,n={rootMargin:`0px 0px ${(100-(t.offset+e)/window.innerHeight*100)*-1+"%"} 0px`,threshold:0};t.intersectionObserver=new IntersectionObserver(function(s){t.onIntersect(s)},n),t.sections.forEach(s=>{t.intersectionObserver.observe(s)})},watchForStickyHeader:function(){let t=this;new ResizeObserver(i=>{i[0]&&i[0].borderBoxSize&&i[0].borderBoxSize[0].blockSize!==t.headerHeight&&(t.headerHeight=i[0].borderBoxSize[0].blockSize,t.offset=t.calculateOffset(),t.watchForActiveSection())}).observe(t.header,{box:"border-box"})},initResizeWatcher:function(){let t=this,e=0;window.addEventListener("resize",()=>{e||(e=requestAnimationFrame(()=>{e=0,t.isWindowMobile=document.documentElement.clientWidth<693,t.watchForActiveSection()}))})},preprocessSections:function(t){let e=this;t.forEach(function(i){let n=i.id,s=i.querySelector(".material-icons"),l=s===null?"":s.innerText,o=i.innerText.trim();i.setAttribute("tabindex","-1"),i.classList.add("quick-link-target"),l&&(o=o.replace(l,"")),i.getAttribute("data-quick-links-label")===null&&i.setAttribute("data-quick-links-label",o),n||(n=o.toLowerCase().replace(/[\s.,\/#!$%\^\*;:{}=\-_`"'~()\&\?\+]/g,"_").replace("__","_"),i.id=n),i.setAttribute(e.processedAttribute,"")})},buildQuickLinks:function(){let t=this,e=t.block.querySelector(".quick-links__list");if(!e)return;let i="";t.sections.forEach(function(n){let s=n.textContent.trim();n.hasAttribute("data-quick-links-label")&&n.getAttribute("data-quick-links-label").trim()!==""?s=n.getAttribute("data-quick-links-label"):n.setAttribute("data-quick-links-label",s),i+=`
44          <li class="quick-links__item">
45            <a class="quick-links__link" href="#${n.id}" id="${t.linkIdPrefix+n.id}">${s}</a>
46          </li>
47        `}),e.innerHTML=i,t.links=e.querySelectorAll(".quick-links__link"),t.initialized?t.watchForActiveSection():t.watchForStickyHeader(),t.links.length>1?t.showQuickLinks():t.block.classList.add("is-empty"),window.dispatchEvent(new Event("RenesasQuickLinksUpdated"))},linksOnClick:function(t){if(!t.target.classList.contains("quick-links__link"))return;t.preventDefault();let e=c.behaviors.idtQuickLinks,i=decodeURI(t.target.hash);i.indexOf("#")===0&&(document.documentElement.clientWidth<693&&e.trigger.classList.remove("opened"),document.querySelector('.quick-link-target[id="'+i.slice(1)+'"]').focus(),Renesas.plugins.scrollToAnchorLinkOnLoad.scrollTo(i),window.history.replaceState(window.history.state,"",i))},showQuickLinks:function(){this.block.classList.remove("is-empty")},attach:function(t){setTimeout(()=>{this.init(t)},0)},init:function(t){let e=this;if((!t||!t.querySelectorAll)&&(t=document),e.block=document.querySelector(".quick-links"),!e.block)return;let i=t.querySelectorAll(`[data-quick-links="1"]:not([${e.processedAttribute}])`),n=document.querySelectorAll('[data-quick-links="1"]');if(i&&i.length>0||!e.initialized&&n.length>0){if(e.sections=n,!e.initialized){if(e.header=document.querySelector(".top-fixed__blocks"),e.trigger=e.block.querySelector(".quick-links__trigger"),!e.header||!e.trigger)return;e.offset=e.calculateOffset(),e.block.addEventListener("click",e.linksOnClick),e.trigger.addEventListener("click",function(){this.classList.toggle("opened")}),e.initResizeWatcher()}e.block.style.visibility="visible",i.length>0&&e.preprocessSections(i),e.buildQuickLinks(),e.initialized=!0,e.block.style.height="auto"}else(!i||i.length===0)&&(!n||n.length===0)&&(e.block.style.display="none")}},typeof htmx<"u"&&document.body.addEventListener("htmx:afterSettle",function(t){setTimeout(()=>{let e=c.behaviors.idtQuickLinks;e&&e.init&&e.init(document)},50)})})(Drupal,once);})();
48;
49(()=>{function h(){let n=navigator.userAgent||navigator.vendor||window.opera,i=/Mobi|Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n),c=window.matchMedia("(pointer: coarse)").matches;return i||c}((n,i,c)=>{i.behaviors.renesas_blocks_read_more={attach:function(t){c("renesasBlocksReadMore",".readmore:not(.collapsible-enhanced)",t).forEach(e
49=>{let a=h()?"readmoreMinHeightMobile":"readmoreMinHeight";if(a in e.dataset){let s=parseInt(e.dataset[a]);(e.clientHeight>s||e.scrollHeight>s)&&d(e)}else d(e)})}};function d(t){let e=document.createElement("div");for(e.className="readmore__content";t.firstChild;)e.appendChild(t.firstChild);t.appendChild(e),t.classList.add("collapsible-enhanced");let a=t.classList.contains("readmore--view-more"),s=i.t(a?"View More":"Read More"),p=i.t(a?"View Less":"Read Less");"viewMoreText"in t.dataset&&(s=t.dataset.viewMoreText),"viewLessText"in t.dataset&&(p=t.dataset.viewLessText);let o=document.createElement("div");o.className="readmore__trigger-wrapper",t.classList.contains("readmore--gradient")&&o.classList.add("gradient");let r=document.createElement("button");r.className="readmore__trigger rlink-icon rlink-icon--right",r.innerHTML=`
50      <span class="more">${s}</span>
51      <span class="less">${p}</span>
52      <span class="ricon-keyboard-arrow-down"></span>
53    `,o.appendChild(r),r.addEventListener("click",m=>{m.preventDefault(),e.classList.toggle("is-expanded")}),t.appendChild(o)}function u(t){if(document.body.classList.contains("is-page-node-type-case-study")){let e=n?.renesas_documents?.notify?.current_nid;t.setAttribute("onclick",`_elq.trackEvent('${window.location.origin}/case-study/${e}'); return false;`)}t.addEventListener("click",e=>{e.preventDefault(),t.style.display="none",document.querySelector(".block-views-blockread-more-section-block-read-more-cta span.views-field-field-expanded-paragraphs")?.classList.remove("hidden")})}let l=document.querySelector(".block-views-blockread-more-section-block-read-more-cta a.read-more-btn");l&&u(l),typeof htmx<"u"&&document.body.addEventListener("htmx:afterSettle",function(t){setTimeout(()=>{let e=i.behaviors.renesas_blocks_read_more;e&&e.attach&&e.attach(document)},50)})})(drupalSettings,Drupal,once);})();
54;

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.