1"use strict";(self.webpackChunkhypertherm_dotcom=self.webpackChunkhypertherm_dotcom||[]).push([[3919,5822],{5409:function(e,t,l){l.d(t,{A:function(){return i}});class i{constructor(){this.overlay=null,this.parent=null,this.isFullViewport=!0}show(e=null){if(this.overlay&&document.body.contains(this.overlay))return;this.isFullViewport=!e,this.parent=e||document.body,this.overlay=document.createElement("div"),this.overlay.className=this.isFullViewport?"loading-spinner-overlay loading-spinner-overlay--fullscreen":"loading-spinner-overlay loading-spinner-overlay--fill-parent";const t=document.createElement("div");t.className="loading-spinner-box";const l=document.createElement("div");l.className="spinner",t.appendChild(l),this.overlay.appendChild(t),this.isFullViewport?(document.body.appendChild(this.overlay),document.body.classList.add("loading-spinner-active")):("static"===window.getComputedStyle(this.parent).position&&(this.parent.style.position="relative"),this.parent.appendChild(this.overlay)),this.overlay.offsetWidth,this.overlay.classList.add("loading-spinner-overlay--visible")}hide(){this.overlay&&(this.overlay.classList.remove("loading-spinner-overlay--visible"),setTimeout(()=>{this.overlay&&this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay),this.isFullViewport&&document.body.classList.remove("loading-spinner-active"),this.overlay=null,this.parent=null},150))}}},7498:function(e,t,l){l.d(t,{initializePopovers:function(){return s},initializeTooltips:function(){return o}});var i=l(2245);class n{constructor(e,t={}){this.element=e,this.isTooltip="tooltip"===e.getAttribute("data-toggle");const l={container:e.getAttribute("data-container"),placement:e.getAttribute("data-placement"),trigger:e.getAttribute("data-trigger"),html:e.getAttribute("data-html")};Object.keys(l).forEach(e=>{null!==l[e]&&void 0!==l[e]||delete l[e]}),void 0!==l.html&&(l.html="false"!==l.html),this.options={container:null,placement:"auto",html:!this.isTooltip,trigger:"hover",...t,...l},this.tooltipElement=null,this.isVisible=!1,this.init()}init(){"hover"===this.options.trigger?(this.element.addEventListener("mouseenter",()=>this.show()),this.element.addEventListener("mouseleave",()=>this.hide())):"click"===this.options.trigger&&this.element.addEventListener("click",e=>{e.preventDefault(),this.toggle()})}show(){if(this.isVisible)return;let e,t;this.isTooltip?(e=this.element.getAttribute("data-original-title")||this.element.getAttribute("title"),this.element.hasAttribute("title")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")),this.element.removeAttribute("title"))):(e=this.element.getAttribute("data-content"),t=this.element.getAttribute("data-title")||this.element.getAttribute("title")),e&&(this.tooltipElement=this.isTooltip?this.createTooltipElement(e):this.createPopoverElement(t,e),this.placeElement(),this.isVisible=!0,"hover"===this.options.trigger&&(this.tooltipElement.addEventListener("mouseenter",()=>{this.isVisible=!0}),this.tooltipElement.addEventListener("mouseleave",()=>{this.hide()})))}hide(){this.isVisible&&this.tooltipElement&&(setTimeout(()=>{this.isVisible||(this.tooltipElement&&this.tooltipElement.parentNode&&this.tooltipElement.parentNode.removeChild(this.tooltipElement),this.tooltipElement=null)},100),this.isVisible=!1)}toggle(){this.isVisible?this.hide():this.show()}createTooltipElement(e){const t=document.createElement("div");t.className="tooltip fade in",t.setAttribute("role","tooltip"),t.style.display="block";const l=document.createElement("div");l.className="tooltip-arrow",t.appendChild(l);const i=document.createElement("div");i.className="tooltip-inner",i[this.options.html?"innerHTML":"textContent"]=e,t.appendChild(i);let n=document.body;if(this.options.container){const e=document.querySelector(this.options.container);e&&(n=e)}return n.appendChild(t),t}createPopoverElement(e,t){const l=document.createElement("div");l.className="popover fade in",l.setAttribute("role","tooltip"),l.style.display="block";const i=document.createElement("div");if(i.className="arrow",l.appendChild(i),e){const t=document.createElement("h3");t.className="popover-title",t[this.options.html?"innerHTML":"textContent"]=e,l.appendChild(t)}const n=document.createElement("div");n.className="popover-content",n[this.options.html?"innerHTML":"textContent"]=t,l.appendChild(n);let o=document.body;if(this.options.container){const e=document.querySelector(this.options.container);e&&(o=e)}return o.appendChild(l),l}placeElement(){if(!this.tooltipElement)return;const e=this.element.getBoundingClientRect(),t=this.tooltipElement.getBoundingClientRect();let l,i,n=this.options.placement;if("auto"===n){const l=window.innerWidth||document.documentElement.clientWidth,i=window.innerHeight||document.documentElement.clientHeight,o=e.top,s=i-e.bottom,r=e.left,c=l-e.right;n=s>=t.height?"bottom":o>=t.height?"top":c>=t.width?"right":r>=t.width?"left":"bottom"}switch(this.tooltipElement.classList.add(n),n){case"top":l=e.top+window.scrollY-t.height-10,i=e.left+window.scrollX+e.width/2-t.width/2;break;case"bottom":default:l=e.bottom+window.scrollY+10,i=e.left+window.scrollX+e.width/2-t.width/2;break;case"left":l=e.top+window.scrollY+e.height/2-t.height/2,i=e.left+window.scrollX-t.width-10;break;case"right":l=e.top+window.scrollY+e.height/2-t.height/2,i=e.right+window.scrollX+10}this.tooltipElement.style.position="absolute",this.tooltipElement.style.top=`${l}px`,this.tooltipElement.style.left=`${i}px`,this.tooltipElement.style.zIndex="1070"}}function o(e=document){e.querySelectorAll('[data-toggle="tooltip"]').forEach(e
1=>{new n(e,{placement:"auto",html:!1,trigger:"hover"})})}function s(e=document){e.querySelectorAll('[data-toggle="popover"]').forEach(e=>{new n(e,{placement:"auto",html:!0,trigger:"hover"})})}(0,i.v)(()=>{document.querySelectorAll('[data-toggle="popover"]').forEach(e=>{new n(e,{placement:"auto",html:!0,trigger:"hover"})}),document.querySelectorAll('[data-toggle="tooltip"]').forEach(e=>{new n(e,{placement:"auto",html:!1,trigger:"hover"})})})},4106:function(e,t,l){l.d(t,{default:function(){return s}});var i=l(5409),n=l(919),o=l(2245);l(7498);class s{constructor(){this.element=null,this.loading=!1,this.handleRegulatoryDocumentsClick=this.handleRegulatoryDocumentsClick.bind(this),this.handleIncludeDiscontinuedClick=this.handleIncludeDiscontinuedClick.bind(this),this.handleSearchBtnClick=this.handleSearchBtnClick.bind(this),this.handleSearchInputKeypress=this.handleSearchInputKeypress.bind(this),this.handleSearchInputClick=this.handleSearchInputClick.bind(this),this.handleShowAllDocumentsClick=this.handleShowAllDocumentsClick.bind(this),this.updateClearSearchVisibility=this.updateClearSearchVisibility.bind(this),this.handleSearchInputChange=this.handleSearchInputChange.bind(this)}init(){(0,o.C3)()||this.openFirstCategory(),this.element=document.querySelector("[data-document-listing-page]"),this.listView=document.querySelector("[dlp-list-view]"),this.loading=!1,this.bindEvents(),this.initializeComboboxes(),this.loadingSpinner=new i.A}initializeComboboxes(){const e=this;document.querySelectorAll("[data-dlp-combobox]").forEach(t=>{t.tomselect||new n(t,{maxOptions:null,onChange:function(t){const l=document.getElementById(this.inputId);e.dlpOnFilterSelectionChanged(l,t)}})})}bindEvents(){document.querySelectorAll("[dlp-regulatory-documents]").forEach(e=>{e.removeEventListener("click",this.handleRegulatoryDocumentsClick),e.addEventListener("click",this.handleRegulatoryDocumentsClick)}),document.getElementById("chkIncludeDiscontinued").removeEventListener("click",this.handleIncludeDiscontinuedClick),document.getElementById("chkIncludeDiscontinued").addEventListener("click",this.handleIncludeDiscontinuedClick),document.querySelectorAll("[dlp-search-btn]").forEach(e=>{e.removeEventListener("click",this.handleSearchBtnClick),e.addEventListener("click",this.handleSearchBtnClick)}),document.querySelectorAll("[dlp-search-input]").forEach(e=>{e.removeEventListener("keypress",this.handleSearchInputKeypress),e.removeEventListener("click",this.handleSearchInputClick),e.addEventListener("keypress",this.handleSearchInputKeypress),e.addEventListener("click",this.handleSearchInputClick),e.removeEventListener("propertychange",this.handleSearchInputChange),e.removeEventListener("input",this.handleSearchInputChange),e.addEventListener("propertychange",this.handleSearchInputChange),e.addEventListener("input",this.handleSearchInputChange),this.updateClearSearchVisibility(e)}),document.querySelectorAll("[dlp-showall-documents]").forEach(e=>{e.removeEventListener("click",this.handleShowAllDocumentsClick),e.addEventListener("click",this.handleShowAllDocumentsClick)}),document.querySelectorAll(".search-group.no-suggestions .clear-search").forEach(e=>{e.removeEventListener("click",this.handleClearSearchClick),e.addEventListener("click",this.handleClearSearchClick)})}handleSearchInputChange(e){this.updateClearSearchVisibility(e.target)}updateClearSearchVisibility(e){const t=e.closest(".input-group");if(!t)return;const l=t.querySelector(".clear-search"),i=t.querySelector(".input-group-btn");if(l){const t=e.value.length>0;l.style.display=t?"inline-flex":"none",i&&(t?i.classList.add("has-clear-button"):i.classList.remove("has-clear-button"))}}handleClearSearchClick(e){e.preventDefault(),e.stopPropagation();const t=e.currentTarget.closest(".input-group");if(!t)return;const l=t.querySelector("input.search");l&&(l.value="",l.focus(),l.dispatchEvent(new Event("input",{bubbles:!0})),l.dispatchEvent(new Event("change",{bubbles:!0}))),e.currentTarget.style.display="none"}handleRegulatoryDocumentsClick(e){e.preventDefault(),document.querySelector("[dlp-search-category]").value="90",this.dlpLoadListView(!1),this.dlpSetView("True")}handleIncludeDiscontinuedClick(){const e=document.getElementById("chkIncludeDiscontinued").checked;this.dlpGetProducts(e)}handleSearchBtnClick(){this.clearProductField(),this.clearCategoryField(),this.clearSubcategoryField(),this.dlpLoadListView(!1),this.dlpSetView("True")}handleSearchInputKeypress(e){13==e.which&&""!=e.target.value&&document.querySelector("[dlp-search-btn]").click()}handleSearchInputClick(e){e.target.select()}handleShowAllDocumentsClick(e){e.preventDefault();const t=e.target.closest("[dlp-result-category]");
1t.querySelectorAll(".document-results").forEach(e=>e.classList.remove("hide","hidden-xs")),t.querySelector("[dlp-six-documents]").classList.add("hide"),t.querySelector("[dlp-showall-documents]").classList.add("hide"),t.querySelector("[dlp-all-documents]").classList.remove("hide")}dlpLoadListView(e){if(e){const e=(0,o.Sj)(),t=e.product||e.Product,l=e.search||e.Search,i=e.category||e.Category,n=e.subcategory||e.Subcategory;if(!(t||l||i||n))return}this.dlpGetDocuments()}dlpGetDocuments(){const e=this,t=[document.querySelector("[dlp-search-input]"),document.querySelector("[dlp-search-product-name]"),document.querySelector("[dlp-search-lang]"),document.querySelector("[dlp-search-category]"),document.querySelector("[dlp-search-subcategory]")].filter(e=>e&&e.value&&e.value.length>0).map(e=>`${e.name}=${e.value}`).join("&"),l=`${dlpListViewUrl}?${t}`;e.loading||(e.loading=!0,e.loadingSpinner.show(),fetch(l).then(e=>e.text()).then(t=>{e.listView.innerHTML=t,e.initializeComboboxes(),e.loadingSpinner.hide(),e.loading=!1,e.bindEvents(),document.querySelectorAll(".block-foldable-content .foldable-title").forEach(e=>{e.addEventListener("click",()=>{e.closest(".block-foldable-content").classList.toggle("open")})})}).finally(()=>{history.pushState(null,null,`${window.location.pathname}?${t}`),(0,o.C3)()||e.openFirstCategory()}))}openFirstCategory(){const e=document.querySelector(".block-foldable-content:first-child");e&&null!==e.offsetParent&&e.classList.add("open")}dlpSetView(e){"True"===e?(document.querySelector("[dlp-filter-cntnr]").classList.remove("col-md-push-3"),document.querySelector("[dlp-filter-head]").classList.add("hide"),document.querySelector("[dlp-default-results-msg]").classList.add("hide"),document.querySelector("[dlp-include-discontinued]").classList.add("hide"),document.querySelector("[dlp-regulatory-documents-cntnr]").classList.add("hide")):(document.querySelector("[dlp-results-view]").innerHTML="",document.querySelector("[dlp-filter-cntnr]").classList.add("col-md-push-3"),document.querySelector("[dlp-filter-head]").classList.remove("hide"),document.querySelector("[dlp-default-results-msg]").classList.remove("hide"),document.querySelector("[dlp-include-discontinued]").classList.remove("hide"),document.querySelector("[dlp-regulatory-documents-cntnr]").classList.remove("hide"))}clearSearchField(){document.querySelector("[dlp-search-input]").value=""}clearProductField(){document.querySelector("[dlp-search-product-name]").value="";const e=document.querySelector("[name=dlp-search-product-name]");e.tomselect&&e.tomselect.clear(!0)}clearCategoryField(){document.querySelector("[dlp-search-category]").value=""}clearSubcategoryField(){document.querySelector("[dlp-search-subcategory]").value=""}populateInput(e,t){if(e&&t){const l=document.querySelector(`[${e}]`);l&&(l.value=t)}}dlpOnFilterSelectionChanged(e,t){const l=this,i=e.getAttribute("name");l.populateInput(i,t),"dlp-sort-category"===i?l.sortDocuments(e,t):("dlp-search-product-name"===i&&(l.clearSearchField(),l.clearCategoryField(),l.clearSubcategoryField()),l.dlpLoadListView(!1),l.dlpSetView("True"))}dlpGetProducts(e){fetch(`${dlpFillProductUrl}?includeDiscontinued=${e}`).then(e=>e.json()).then(e=>{const t=document.querySelector("[name=dlp-search-product-name]");t.innerHTML="",e.forEach(e=>{const l=document.createElement("option");l.value=e.value,l.text=e.text,t.add(l)});const l=t.tomselect;l&&(l.clearOptions(),l.addOptions(e))})}sortDocuments(e,t){const l=e.closest("[dlp-result-category]").querySelector("[dlp-category-documents]"),i=Array.from(l.querySelectorAll("[dlp-doc-container]")),n=!e.closest("[dlp-result-category]").querySelector("[dlp-all-documents]").classList.contains("hide");switch(t){case"mostpopular":i.sort((e,t)=>+t.dataset.numdownloads-+e.dataset.numdownloads);break;case"alphabetical":i.sort((e,t)=>e.querySelector("[dli-doc-title]").textContent.toLowerCase().localeCompare(t.querySelector("[dli-doc-title]").textContent.toLowerCase()));break;case"newest":i.sort((e,t)=>new Date(t.querySelector("[dli-doc-date]").getAttribute("dli-doc-date"))-new Date(e.querySelector("[dli-doc-date]").getAttribute("dli-doc-date")));break;case"oldest":i.sort((e,t)=>
1new Date(e.querySelector("[dli-doc-date]").getAttribute("dli-doc-date"))-new Date(t.querySelector("[dli-doc-date]").getAttribute("dli-doc-date")))}this.appendSortedItems(l,i,n)}appendSortedItems(e,t,l){let i=0,n=document.createElement("div");n.classList.add("row","document-results","flex-row");let s=1;const r=(0,o.C3)()?1:2;e.innerHTML="",t.forEach(t=>{n.appendChild(t),i++,3===i&&(e.appendChild(n),n=document.createElement("div"),n.classList.add("row","document-results","flex-row"),s>=r&&!l&&n.classList.add("hide"),i=0,s++)}),i>0&&e.appendChild(n)}}}}]);
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.