PageSourceSearch

https://www.ampulse.online/_next/static/chunks/1576-d80f8061d215c9e1.js

js ampulse.online collected 2026-10-07 02:01:43 UTC 12,188 bytes, 5 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1576],{5401:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(95155),l=n(39092),a=n.n(l),i=n(12115),s=n(33505);let o=["Metal AM","Polymer AM","Binder Jetting","Material Extrusion","Composite AM","Ceramic AM","Other / Unclassified"],d={"Metal AM":"Metal","Polymer AM":"Polymer","Binder Jetting":"Binder Jetting","Material Extrusion":"Material Extrusion","Composite AM":"Composite","Ceramic AM":"Ceramic","Other / Unclassified":"Other"};function c(e){return d[e]}var u=n(40980);let m={intensity:"Activity vs normal",funding_count:"Rounds",funding_sum:"Funding $",active_companies:"Companies",news_count:"News signals",patent_count:"Patent filings"},h={intensity:"How unusual each month is versus its recent average. Brighter = busier than normal. Switch to Rounds or Funding $ for raw totals.",funding_count:"Funding rounds per category-month.",funding_sum:"Disclosed funding volume per category-month.",active_companies:"Distinct companies per category-month.",news_count:"Published news signals per category-month.",patent_count:"High-confidence AM patent filings per category-month. Recent months undercount: filings publish ~18 months after filing."},x=[[29,130,181],[32,200,232],[24,224,168]];function f(e){let{cells:t,metric:n,onCellClick:l,disabled:d=!1,selectedCell:f=null}=e,g=(0,i.useRef)(null),p=(0,i.useRef)(null),v=(0,i.useRef)(l),[b,y]=(0,i.useState)(320),[w,j]=(0,i.useState)(null),k=f?.category??null,M=f?.month??null,C=(0,i.useMemo)(()=>[...new Set(t.map(e=>e.month.slice(0,7)))].sort(),[t]),A=b<640,N=A?112:132,$=A?60:52,S=Math.max(b,C.length*(A?50:20)+N+20+(A?24:28)),E=Math.max(A?340:360,o.length*(A?50:34)+$+48),L=S>b+8;return((0,i.useEffect)(()=>{let e=g.current;if(!e)return;let t=new ResizeObserver(e=>{let[t]=e;y(Math.max(320,Math.floor(t.contentRect.width)))});return t.observe(e),()=>t.disconnect()},[]),(0,i.useEffect)(()=>{v.current=l}),(0,i.useEffect)(()=>{let e=p.current;if(!e||0===t.length)return;let r=Math.max(...t.map(e=>Math.abs(e.zScore)),1),l=e=>k===e.category&&M===e.month,a=e=>{if(!e)return null;let n=e.match(/^category=(.+)$/m)?.[1],r=e.match(/^month=(\d{4}-\d{2}-\d{2})$/m)?.[1];return n&&r?t.find(e=>e.category===n&&e.month===r)??null:null},i=e=>{!d&&e&&v.current(e)},m=s.QI({width:S,height:E,marginLeft:N,marginRight:20,marginTop:20,marginBottom:$,x:{type:"band",domain:C,label:null,tickRotate:-45,tickFormat:e=>{let t=new Date(`${String(e)}-01T00:00:00.000Z`);return new Intl.DateTimeFormat("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}).format(t)}},y:{type:"band",domain:o,label:null,tickFormat:c},color:{type:"quantize",n:9,domain:[0,r],range:Array.from({length:9},(e,t)=>{let n,r,l,a,i,s,o,d,c;return r=(n=Math.max(0,Math.min(1,t/8)))*(x.length-1),l=Math.min(x.length-2,Math.floor(r)),a=r-l,i=x[l],s=x[l+1],o=Math.round(i[0]+(s[0]-i[0])*a),d=Math.round(i[1]+(s[1]-i[1])*a),c=Math.round(i[2]+(s[2]-i[2])*a),`rgba(${o}, ${d}, ${c}, ${(.18+.82*n).toFixed(3)})`}),label:"Signal intensity"},marks:[s.Hn(t,{x:e=>e.month.slice(0,7),y:e=>e.category,fill:e=>0===e.eventCount?null:Math.max(e.zScore,.01),stroke:e=>l(e)?"rgb(var(--brand-primary-rgb) / 0.95)":e.eventCount>0?"rgba(255,255,255,0.10)":"rgba(255,255,255,0.04)",strokeWidth:e=>l(e)?1.8:.4,inset:.8,rx:3,title:e=>`category=${e.category}
2month=${e.month}
3value=${e.value.toFixed(1)}
4z=${e.zScore.toFixed(2)}
5events=${e.eventCount}`}),s.Gt({stroke:"rgba(255,255,255,0.08)"})],style:{background:"transparent",color:"#d9e4ff",fontFamily:"inherit"}});m.style.maxWidth="none",m.style.minWidth=`${S}px`,m.style.width=`${S}px`,m.style.height=`${E}px`,m.style.display="block",e.replaceChildren(m);let h=[];for(let t of Array.from(e.querySelectorAll("rect"))){let e=a(t.querySelector("title")?.textContent??null);if(!e){t.removeAttribute("data-pulse-cell");continue}t.classList.add("pulse-heatmap-cell"),t.setAttribute("data-pulse-cell","true"),t.setAttribute("role","button"),t.setAttribute("tabindex","-1"),t.setAttribute("aria-disabled",d?"true":"false"),t.setAttribute("aria-label",`${e.category}, ${e.month.slice(0,7)}, ${e.eventCount} events, value ${"funding_sum"===n?u.ls.formatCurrency(e.value).replace(".0",""):e.value.toLocaleStr
5ing()}, ${e.zScore>=0?"+":""}${e.zScore.toFixed(2)} versus normal`),h.push({rect:t,cell:e})}if(!d){let e=h.find(e=>{let{cell:t}=e;return l(t)})??h[0];e?.rect.setAttribute("tabindex","0")}let f=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];for(let{rect:t}of h)t.setAttribute("tabindex",t===e?"0":"-1");t&&(e.focus(),"function"==typeof e.scrollIntoView&&e.scrollIntoView({block:"nearest",inline:"nearest"}))},b=e=>{if(d)return;let t=e.target,n=t?.closest("rect[data-pulse-cell]");n&&f(n,!1),i(a(n?.querySelector("title")?.textContent??null))},y=e=>{let t;if(d)return;let n=e.target,r=n?.closest("rect[data-pulse-cell]");if(!r)return;if("Enter"===e.key||" "===e.key){e.preventDefault(),i(a(r.querySelector("title")?.textContent??null));return}if(!["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key))return;e.preventDefault();let l=a(r.querySelector("title")?.textContent??null);if(!l)return;let s=o.indexOf(l.category),c=C.indexOf(l.month.slice(0,7));if("ArrowLeft"===e.key||"ArrowRight"===e.key||"Home"===e.key||"End"===e.key){let n=h.filter(e=>{let{cell:t}=e;return t.category===l.category}).sort((e,t)=>C.indexOf(e.cell.month.slice(0,7))-C.indexOf(t.cell.month.slice(0,7))),a=n.findIndex(e=>{let{rect:t}=e;return t===r}),i="Home"===e.key?0:"End"===e.key?n.length-1:"ArrowLeft"===e.key?Math.max(0,a-1):Math.min(n.length-1,a+1);t=n[i]}else{let n="ArrowUp"===e.key?-1:1;for(let e=s+n;e>=0&&e<o.length;e+=n){let n=h.filter(t=>{let{cell:n}=t;return n.category===o[e]});if(0!==n.length){t=n.find(e=>{let{cell:t}=e;return t.month.slice(0,7)===l.month.slice(0,7)})??n.sort((e,t)=>Math.abs(C.indexOf(e.cell.month.slice(0,7))-c)-Math.abs(C.indexOf(t.cell.month.slice(0,7))-c))[0];break}}}t&&f(t.rect)},w=g.current,A=e=>{if(!w)return;let t=e.target,n=t?.closest("rect"),r=a(n?.querySelector("title")?.textContent??null);if(!r||!n?.hasAttribute("data-pulse-cell"))return void j(null);f(n,!1);let l=w.getBoundingClientRect();j({cell:r,x:e.clientX-l.left,y:e.clientY-l.top})},L=()=>j(null),_=e=>{if(!w)return;let t=e.target,n=t?.closest("rect"),r=a(n?.querySelector("title")?.textContent??null);if(!r||!n?.hasAttribute("data-pulse-cell"))return void j(null);let l=w.getBoundingClientRect(),i=n.getBoundingClientRect();j({cell:r,x:i.left+i.width/2-l.left,y:i.top-l.top})},F=()=>j(null);return e.addEventListener("click",b),e.addEventListener("keydown",y),e.addEventListener("mousemove",A),e.addEventListener("mouseleave",L),e.addEventListener("focusin",_),e.addEventListener("focusout",F),()=>{e.removeEventListener("click",b),e.removeEventListener("keydown",y),e.removeEventListener("mousemove",A),e.removeEventListener("mouseleave",L),e.removeEventListener("focusin",_),e.removeEventListener("focusout",F),j(null),m.remove(),e.replaceChildren()}},[t,d,n,C,E,$,N,20,S,k,M]),0===t.length)?(0,r.jsx)("div",{role:"status",className:"flex h-[360px] items-center justify-center rounded-2xl border border-white/10 bg-white/[0.03] px-6 text-center text-sm text-white/55",children:"No data in this slice. Widen the window or clear filters."}):(0,r.jsxs)("div",{ref:g,"aria-busy":d,className:"jsx-882279af9dde2905 "+((0,u.cn)("relative w-full min-w-0 rounded-2xl border border-white/10 bg-white/[0.03] p-2 sm:p-3",d&&"opacity-65")||""),children:[(0,r.jsxs)("div",{className:"jsx-882279af9dde2905 relative min-w-0",children:[(0,r.jsx)("div",{className:"jsx-882279af9dde2905 w-full max-w-full overflow-x-auto pb-2",children:(0,r.jsx)("div",{ref:p,"aria-label":"Funding activity heatmap. Rows are AM categories and columns are months. Tab once into the grid, use arrow keys to move between cells, and press Enter for details.",role:"group",className:"jsx-882279af9dde2905"})}),L&&(0,r.jsx)("div",{"aria-hidden":"true",className:"jsx-882279af9dde2905 pointer-events-none absolute inset-y-0 right-0 w-10 bg-gradient-to-l from-black/40 to-transparent"})]}),w&&(0,r.jsx)("div",{role:"presentation",style:{left:Math.max(8,Math.min(w.x+14,b-240)),top:Math.max(w.y-92,8)},className:"jsx-882279af9dde2905 pointer-events-none absolute z-20 hidden md:block",children:(0,r.jsxs)("div",{className:"jsx-882279af9dde2905 w-[220px] rounded-xl border border-white/15 bg-black/80 p-3 shadow-[0_8px_24px_rgba(0,0,0,0.5)] backdrop-blur-2xl",children:[(0,r.jsx)("div",{className:"jsx-882279af9dde2905 font-mono text-[10px] uppercase tracking-[0.18em] text-white/55",children:(0,r.jsx)("span",{className:"jsx-882279af9dde2905 tabular-nums text-white/80",children:w.
5cell.month.slice(0,7)})}),(0,r.jsx)("div",{className:"jsx-882279af9dde2905 mt-1 text-sm font-medium text-white",children:w.cell.category}),(0,r.jsxs)("div",{className:"jsx-882279af9dde2905 mt-2 grid grid-cols-2 gap-x-3 gap-y-1 font-mono text-[11px] tabular-nums",children:[(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-white/50",children:"events"}),(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-right text-white/85",children:w.cell.eventCount}),(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-white/50",children:"value"}),(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-right text-white/85",children:"funding_sum"===n?u.ls.formatCurrency(w.cell.value).replace(".0",""):w.cell.value.toLocaleString()}),(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-white/50",children:"vs avg"}),(0,r.jsxs)("span",{className:"jsx-882279af9dde2905 "+((0,u.cn)("text-right",w.cell.zScore>=0?"text-brand-lagoon":"text-white/55")||""),children:[w.cell.zScore>=0?"+":"",w.cell.zScore.toFixed(2)]})]}),(0,r.jsx)("div",{className:"jsx-882279af9dde2905 mt-2 border-t border-white/[0.08] pt-2 font-mono text-[9.5px] uppercase tracking-[0.18em] text-white/60",children:"click to inspect"})]})}),(0,r.jsxs)("div",{className:"jsx-882279af9dde2905 mt-3 border-t border-white/8 pt-3 text-xs text-white/50",children:[(0,r.jsxs)("div",{className:"jsx-882279af9dde2905 flex flex-wrap items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"jsx-882279af9dde2905 max-w-2xl",children:[(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-white/65",children:m[n]}),(0,r.jsx)("p",{className:"jsx-882279af9dde2905 mt-1 text-[11px] leading-relaxed text-white/55",children:h[n]})]}),(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-[11px] leading-relaxed text-white/55",children:L?"Scroll horizontally \xb7 tap a cell for detail":"Tap a cell for detail"})]}),(0,r.jsxs)("div",{className:"jsx-882279af9dde2905 mt-2 flex items-center gap-3",children:[(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-[11px] uppercase tracking-[0.16em] text-white/55",children:"Low"}),(0,r.jsx)("div",{className:"jsx-882279af9dde2905 h-2 flex-1 rounded-full bg-[linear-gradient(90deg,rgba(29,130,181,0.55),rgba(32,200,232,0.78),rgba(24,224,168,1))]"}),(0,r.jsx)("span",{className:"jsx-882279af9dde2905 text-[11px] uppercase tracking-[0.16em] text-white/55",children:"High"})]})]}),(0,r.jsx)(a(),{id:"882279af9dde2905",children:'[data-testid="pulse-heatmap"] .pulse-heatmap-cell{cursor:pointer}[data-testid="pulse-heatmap"] .pulse-heatmap-cell:focus{outline:none}[data-testid="pulse-heatmap"] .pulse-heatmap-cell:focus-visible{stroke:rgb(var(--brand-primary-rgb));stroke-width:3px;filter:drop-shadow(0 0 3px rgb(var(--brand-primary-rgb)/.85))}'})]})}},6403:(e,t,n)=>{n.d(t,{Cf:()=>i,LP:()=>l,oF:()=>a});let r=/^\d{4}-(0[1-9]|1[0-2])$/;function l(e){if(!r.test(e))throw Error(`Invalid month key: ${e}`);return new Date(`${e}-01T00:00:00.000Z`)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return`${e.getUTCFullYear()}-${String(e.getUTCMonth()+1).padStart(2,"0")}`}(t);if("all"===e)return{from:"2018-01",to:n};let r=new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth()-("90d"===e?3:"1y"===e?12:36),1));return{from:`${r.getUTCFullYear()}-${String(r.getUTCMonth()+1).padStart(2,"0")}`,to:n}}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return a("1y",e)}}}]);

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.