PageSourceSearch

https://www.etecplus.ai/_next/static/chunks/9742-ee0e11587a16e6cf.js?dpl=dpl_DzbXxY4cwVjDJ6tkspp9dJLppQnq

js etecplus.ai collected 2026-10-05 14:24:30 UTC 7,707 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9742],{8946:(e,t,r)=>{r.d(t,{D:()=>c,THEME_INIT_SCRIPT:()=>l,ThemeProvider:()=>d});var n=r(95155),a=r(12115);let o="etec-theme",i={light:"#ffffff",dark:"#0E0E10"},l=`(function(){try{var s=localStorage.getItem('${o}')||'system';var d=s==='dark'||(s==='system'&&window.matchMedia('(prefers-color-scheme: dark)').matches);var e=document.documentElement;if(d){e.classList.add('dark')}else{e.classList.remove('dark')}e.style.colorScheme=d?'dark':'light'}catch(_){}})()`,s=(0,a.createContext)(null);function c(){let e=(0,a.useContext)(s);if(!e)throw Error("useTheme must be used inside <ThemeProvider>");return e}function d({children:e}){let[t,r]=(0,a.useState)("system"),[l,c]=(0,a.useState)(!1),[u,h]=(0,a.useState)(!1);(0,a.useEffect)(()=>{try{let e=localStorage.getItem(o);("light"===e||"dark"===e||"system"===e)&&r(e)}catch{}c(window.matchMedia("(prefers-color-scheme: dark)").matches),h(!0)},[]),(0,a.useEffect)(()=>{let e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>c(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let m="system"===t?l?"dark":"light":t;(0,a.useEffect)(()=>{if(!u)return;let e=document.documentElement;e.classList.toggle("dark","dark"===m),e.style.colorScheme=m,"system"!==t&&document.querySelectorAll('meta[name="theme-color"]').forEach(e=>e.setAttribute("content",i[m]))},[m,t,u]);let f=(0,a.useCallback)(e=>{try{localStorage.setItem(o,e)}catch{}r(e)},[]);return(0,n.jsx)(s.Provider,{value:{theme:t,resolved:m,setTheme:f},children:e})}},25783:(e,t,r)=>{r.d(t,{Logo:()=>l});var n=r(95155),a=r(78060),o=r(70857),i=r(40980);function l({className:e,dots:t="calm"}){let{appName:r,logoUrl:s,logoWidth:c,logoHeight:d}=(0,a.Z)();if(!s)return(0,n.jsxs)("span",{className:(0,i.cn)("flex items-center gap-2",e),children:[(0,n.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-md bg-foreground text-sm font-bold text-background",children:r.charAt(0)}),(0,n.jsx)("span",{className:"text-lg font-semibold tracking-tight",children:r})]});let u="lively"===t;return(0,n.jsxs)("span",{style:{maxWidth:`min(${c}px, 100%)`},className:(0,i.cn)("relative isolate block w-fit [--dot-off:var(--logo-dot)] [--dot-on-2:var(--logo-dot-2)] [--dot-on:var(--logo-dot)]",e),children:[(0,n.jsx)("span",{"aria-hidden":!0,className:(0,i.cn)("pointer-events-none absolute -inset-x-4 -inset-y-2 -z-10 transition-opacity duration-300 ease-out [mask-image:radial-gradient(closest-side,black_45%,transparent)]",u?"opacity-100":"opacity-70"),children:(0,n.jsx)(o.l,{level:1,ultra:u,tempo:u?1:.5,orientation:"horizontal"})}),(0,n.jsx)("img",{src:s,alt:r,height:d,style:{height:d},className:"w-auto max-w-full object-contain"})]})}},40980:(e,t,r)=>{r.d(t,{cn:()=>o});var n=r(29722),a=r(622);function o(...e){return(0,a.QP)((0,n.$)(e))}},42229:(e,t,r)=>{r.d(t,{a6:()=>o,ge:()=>n,u$:()=>a});let n={appName:"ETEC+",logoUrl:"/branding/etecplus_logo.v2.png",logoWidth:1024,logoHeight:60},a=16,o=1024},70857:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(95155),a=r(12115),o=r(40980);let i=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5].map(e=>(e+.5)/16);function l(e){let t=getComputedStyle(e),r=t.getPropertyValue("--dot-on").trim()||"#999";return{on:r,on2:t.getPropertyValue("--dot-on-2").trim()||r,off:t.getPropertyValue("--dot-off").trim()||"#777"}}function s({level:e,ultra:t,orientation:r,tempo:c=1,className:d}){let u=(0,a.useRef)(null),h=(0,a.useRef)({level:e,ultra:t,orientation:r,tempo:c});h.current={level:e,ultra:t,orientation:r,tempo:c};let m=(0,a.useRef)(()=>{});return(0,a.useEffect)(()=>{let e=u.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let r=l(e),n=h.current.ultra,a=0,o=0,s=h.current.level,c=()=>(h.current.ultra?5.5:3.2)*h.current.tempo,d=()=>h.current.tempo/(h.current.ultra?1.1:1.7),f=0,g=0,v=c(),b=d(),p=0,x=0,y=!0,w=window.matchMedia("(prefers-reduced-motion: reduce)"),M=()=>{let{ultra:c,orientation:d}=h.current;if(c!==n&&(r=l(e),n=c),t.clearRect(0,0,a,o),!a||!o)return;let u=Math.max(1,Math.floor(a/4)),m=Math.max(1,Math.floor(o/4)),v=(a-(u-1)*4)/2,b=(o-(m-1)*4)/2,p=g%1;for(let e=0;e<u;e++)for(let n=0;n<m;n++){let a=v+4*e,o=b+4*n,l="horizontal"===d?1===u?0:e/(u-1):1===m?0:1-n/(m-1),h=i[n%4*4+e%4],g=function(e,t){let r=43758.5453*Math.sin(127.1*e+311.7*t);return r-Math.floor(r)}(e,n)*Math.PI*2,x=Math.sin(f+g);if(s>.001&&l<=s){let e=s<=0?0:l/s;if(h>.4+.6*e)continue;let n=Math.max(0,1-Math.abs(e-p)/.18),i=Math.min(.9,(.35+.4*e)*(.62+.38*x)+.35*n),d=.6+.7*e+.25*n;c&&e>.8&&x>.94&&(i=.95,d+=.35);let u=e*e;t.beginPath(),t.arc(a,o,d,0,2*Math.PI),t.globalAlpha=i*(1-u),t.fillStyle=r.on,t.fill(),u>0&&(t.globalAlpha=i*u,t.fillStyle=r.on2,t.fill())}else h<.3&&(t.beginPath(),t.arc(a,o,.55,0,2*Math.PI),t.globalAlpha=.28,t.fillStyle=r.off,t.fill())}t.globalAlpha=1},k=()=>{s=h.current.level,f=0,g=0,v=c(),b=d(),M()},E=()=>(h.current.level>0||s>.001)&&y&&"visible"===document.visibilityState&&!w.matches,P=e=>{if(p=0,!E())return void k();if(p=requestAnimationFrame(P),!(e-x<33.333333333333336)){var t;let r,n;t=x?Math.min(e-x,100):16,r=h.current.level,s+=(r-s)*(1-Math.exp(-t/100)),.001>Math.abs(r-s)&&(s=r),n=1-Math.exp(-t/350),v+=(c()-v)*n,b+=(d()-b)*n,f+=t/1e3*v,g+=t/1e3*b,x=e,M()}};m.current=()=>E()?void(!p&&E()&&(x=0,p=requestAnimationFrame(P))):k();let S=()=>{let r=e.getBoundingClientRect(),n=Math.min(window.devicePixelRatio||1,2);a=e.clientWidth||r.width,o=e.clientHeight||r.height,e.width=Math.round(a*n),e.height=Math.round(o*n),t.setTransform(n,0,0,n,0,0),m.current(),E()||k()},j=new ResizeObserver(S);j.observe(e);let N=new IntersectionObserver(([e])=>{y=e.isIntersecting,m.current()});N.observe(e);let C=new MutationObserver(()=>{r=l(e),E()||k()});C.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style"]});let I=()=>m.current();return document.addEventListener("visibilitychange",I),w.addEventListener("change",I),S(),()=>{cancelAnimationFrame(p),j.disconnect(),N.disconnect(),C.disconnect(),document.removeEventListener("visibilitychange",I),w.removeEventListener("change",I)}},[]),(0,a.useEffect)(()=>{m.current()}
1,[e,t,r,c]),(0,n.jsx)("canvas",{ref:u,"aria-hidden":!0,className:(0,o.cn)("pointer-events-none absolute inset-0 h-full w-full",d)})}},78060:(e,t,r)=>{r.d(t,{BrandingProvider:()=>l,Z:()=>s});var n=r(95155),a=r(12115),o=r(42229);let i=(0,a.createContext)({...o.ge});function l({settings:e,children:t}){return(0,n.jsx)(i.Provider,{value:e,children:t})}function s(){return(0,a.useContext)(i)}},89239:(e,t,r)=>{r.d(t,{$:()=>c});var n=r(95155),a=r(12115),o=r(42442),i=r(18460),l=r(40980);let s=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-6",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef(({className:e,variant:t,size:r,asChild:a=!1,...i},c)=>{let d=a?o.DX:"button";return(0,n.jsx)(d,{className:(0,l.cn)(s({variant:t,size:r,className:e})),ref:c,...i})});c.displayName="Button"}}]);

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.