1"use strict";(globalThis.webpackChunk_inventis_front_end_boilerplate=globalThis.webpackChunk_inventis_front_end_boilerplate||[]).push([[761],{9761:(e,t,n)=>{function i(e,t){if(e instanceof Window)return e;if(function(e){return e instanceof HTMLElement||e instanceof Element}(e))return e;if(void 0!==t){const n=i(t);if(n)return n.querySelector(e)}return document.querySelector(e)}n.r(t),n.d(t,{default:()=>d});const o=[];function r(e,t,n,i){if(void 0!==i){const o={passive:!1,once:!1};i.once&&(o.once=!0),i.passive&&(o.passive=!0),e.addEventListener(t,n,o)}else e.addEventListener(t,n);const r=`${Math.random()}-${+new Date}`;return o.push({id:r,el:e,target:t,callback:n}),{id:r,remove:s.bind(this,r)}}function s(e){const t=[];for(let n=0,i=o.length;n<i;n++){const i=o[n];i.id===e?i.el.removeEventListener(i.target,i.callback):t.push(i)}}function c(e,t,n){const i=t.split(" ");for(let t=0;t<i.length;t++)void 0===n?e.classList.toggle(i[t]):n?e.classList.add(i[t]):e.classList.remove(i[t])}function a(e,t={}){const n=document.createElement(e);if(t.class&&function(e,t){if(e instanceof Element)c(e,t,!0);else for(let n=0;n<e.length;n++)c(e[n],t,!0)}(n,t.class),t.id&&n.setAttribute("id",t.id),t.attr)for(let e=0,i=t.attr.length;e<i;e++){const i=t.attr[e];n.setAttribute(i[0],i[1])}if(t.parent&&t.parent.appendChild(n),t.html&&(n.innerHTML=t.html),t.children)for(let e=0,i=t.children.length;e<i;e++)n.appendChild(t.children[e]);return n}function l(e={}){const t=Object.assign({parent:"#node-marquee",speed:1,minQuantity:4,autoplay:!0,pauseOnHover:!1,useParentStyles:!0,prependWhitespace:!0,resize:!0},e),n="node-marquee",o=i(t.parent);if(!(o instanceof HTMLElement))return!1;o.classList.add(n);const s={width:window.innerWidth,height:window.innerHeight};let c,l=!1,d=!1,u=0,f=!1,h=o.innerHTML,p=0,m=[],w=0;const v=[r(window,"resize",(function(){if(!1===t.resize)return;const e=s.width,n=s.height,i=window.innerWidth,o=window.innerHeight;if(s.width=i,s.height=o,"string"==typeof t.resize)return"w"===t.resize&&e!==i||"h"===t.resize&&n!==o?void y():void 0;y()})),r(o,"mouseenter",(function(){t.pauseOnHover&&_()})),r(o,"mouseleave",(function(){t.pauseOnHover&&T()}))];function y(){b(),p=0,m=[],o.innerHTML="",t.useParentStyles&&(o.style.position="relative",o.style.width="100%",o.style.overflow="hidden",o.style.whiteSpace="nowrap");const e=g();w=e.clientWidth,w<=0&&(w=window.innerWidth),w<o.clientWidth&&(p=Math.ceil((o.clientWidth+w)/w)),p<t.minQuantity&&(p=t.minQuantity);for(let e=1;e<p;e+=1)g(!0);M(),function(){if(c)return;const e={childList:!0};c=new MutationObserver((e=>{for(const t of e)"childList"===t.type&&(h=o.innerHTML,y())})),c.observe(o,e)}(),setTimeout((()=>{L()}),500)}function g(e=!1){const i=a("div",{class:`${n}__el`,html:`${t.prependWhitespace?" ":""}${h}`});return e&&(i.style.position="absolute",i.style.top="0",i.style.left="0"),i.style.display="inline-block",o.appendChild(i),m.push(i),i}function b(){c&&(c.disconnect(),c=void 0)}function L(){if(l)return;const e=[];for(let t=0;t<p;t+=1)e.push(m[t].clientWidth);w=Math.max(...e)}function H(){d&&(f=window.requestAnimationFrame(H)),M()}function M(e=t.speed){u-=e;const n=w*(p-1);for(let e=0;e<p;e+=1){const t=m[e],i=W(-w,n,u+w*e);t.style.transform=`matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0, ${i}, 0, 0,1)`}}function W(e,t,n){const i=t-e;return function(e,t){return e||0===e?t(e):t}(n,(t=>(i+(t-e)%i)%i+e))}function T(){f||(d=!0,f=window.requestAnimationFrame(H))}function _(){d=!1,f&&(window.cancelAnimationFrame(f),f=!1)}return y(),t.autoplay&&T(),{play:T,pause:_,isPlaying:()=>d,render:M,recreate:y,updateSizes:L,destroy:function(){l=!0,_(),b(),v.forEach((e=>{e.remove()})),o.innerHTML=h}}}const d=e=>{l({parent:e,speed:1,pauseOnHover:!0,prependWhitespace:!1})}}}]);
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.