@uptimizr/dashboard 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +2 -2
- package/out/__next._full.txt +2 -2
- package/out/__next._head.txt +1 -1
- package/out/__next._index.txt +1 -1
- package/out/__next._tree.txt +1 -1
- package/out/_next/static/chunks/{2h051-1hu4co_.js → 020h1b22yfzjc.js} +1 -1
- package/out/_next/static/chunks/0jsh6juckq525.js +1 -0
- package/out/_next/static/chunks/{1zcrrq1fx8g2y.js → 0n0thxa3jkour.js} +2 -2
- package/out/_next/static/chunks/0yvei5e7uye4f.js +3 -0
- package/out/_next/static/chunks/{01aeari2x_tlz.js → 10w513bgw-bgi.js} +1 -1
- package/out/_next/static/chunks/{39lxb7c--3_2u.js → 16hx9_epo71u-.js} +1 -1
- package/out/_next/static/chunks/{3d5yb9ybkz7hx.js → 1bxxv3nsl2-o_.js} +1 -1
- package/out/_next/static/chunks/{2yzui3v-besdu.js → 1f-2upk7uaxky.js} +1 -1
- package/out/_next/static/chunks/1q-gcxr6o4bx2.js +1 -0
- package/out/_next/static/chunks/{0fxfsshoxnnh6.js → 1st81sc3owvku.js} +1 -1
- package/out/_next/static/chunks/28ud4w7xswcir.js +1 -0
- package/out/_next/static/chunks/{1--aypw9o8yng.js → 2cqxw5m39njar.js} +4 -4
- package/out/_next/static/chunks/{09p5fltt7o3to.js → 2fle007r0cdnq.js} +1 -1
- package/out/_next/static/chunks/{29v8falcmjvev.js → 2jfmqd86u1tzv.js} +1 -1
- package/out/_next/static/chunks/{1bv97vf67p_ri.js → 2owp-uukmhm4s.js} +2 -2
- package/out/_next/static/chunks/{35f-9p5adh1sc.js → 2pkoed609lf41.js} +1 -1
- package/out/_next/static/chunks/{3pyggl13glbdc.js → 2wdk-kbm-n-m5.js} +1 -1
- package/out/_next/static/chunks/{42oyfkhdvb-u3.js → 30_2jsjk52x2i.js} +1 -1
- package/out/_next/static/chunks/{0zcdc17ie6lmh.js → 33h_kt3pzks_y.js} +1 -1
- package/out/_next/static/chunks/{2s0dwzg7kq36n.js → 366e7izc386pj.js} +1 -1
- package/out/_next/static/chunks/{0ufakw529sr9d.js → 36waz9xq39n4t.js} +4 -4
- package/out/_next/static/chunks/{1ll0ta8a2qx1p.js → 39dscgnk4__gl.js} +2 -2
- package/out/_next/static/chunks/3ghwe2mr2ig7e.js +1 -0
- package/out/_next/static/chunks/3mcfjxvxo0o3e.js +1 -0
- package/out/_next/static/chunks/3oj29s_tuqbkm.js +1 -0
- package/out/_next/static/chunks/{3bsvp8qhjqdu0.js → 3r2hbpm4wju16.js} +1 -1
- package/out/_next/static/chunks/{340pg0qkv5tqq.js → 3rx1jhuop94-l.js} +1 -1
- package/out/_not-found/__next._full.txt +1 -1
- package/out/_not-found/__next._head.txt +1 -1
- package/out/_not-found/__next._index.txt +1 -1
- package/out/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/out/_not-found/__next._not-found.txt +1 -1
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +1 -1
- package/out/index.html +1 -1
- package/out/index.txt +2 -2
- package/package.json +2 -2
- package/out/_next/static/chunks/06m_64ysu9kn0.js +0 -1
- package/out/_next/static/chunks/0hol9-rsh00k6.js +0 -3
- package/out/_next/static/chunks/0ljf5zpstyrg7.js +0 -1
- package/out/_next/static/chunks/1i89ao_sm6o4o.js +0 -1
- package/out/_next/static/chunks/2_hgfg-cjqw1-.js +0 -1
- package/out/_next/static/chunks/39ojyykom0z2r.js +0 -1
- package/out/_next/static/chunks/3jha6wlqw8459.js +0 -1
- /package/out/_next/static/{W_AwLgpmWJNo9qUUBPat3 → RC8D0Hg382TugUN5Syz31}/_buildManifest.js +0 -0
- /package/out/_next/static/{W_AwLgpmWJNo9qUUBPat3 → RC8D0Hg382TugUN5Syz31}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{W_AwLgpmWJNo9qUUBPat3 → RC8D0Hg382TugUN5Syz31}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2348,2413,t=>{"use strict";let e=1/1.2;t.s(["ZOOM_IN_FACTOR",0,e,"ZOOM_OUT_FACTOR",0,1.2,"attachDoubleClickFocus",0,function(t,e,s){let a=()=>{let e=t.pick(t.pointerX,t.pointerY);e?.hit&&e.pickedPoint&&s.setTarget(e.pickedPoint)};return e.addEventListener("dblclick",a),()=>e.removeEventListener("dblclick",a)},"disableWheelZoom",0,function(t){t.inputs.removeByType("ArcRotateCameraMouseWheelInput")},"resetFocus",0,function(t,e){t.setTarget(e.target),t.alpha=e.alpha,t.beta=e.beta,t.radius=e.radius},"stepZoom",0,function(t,e){let s=t.lowerRadiusLimit??.01,a=t.upperRadiusLimit??1/0;t.radius=Math.min(a,Math.max(s,t.radius*e))}],2348);var s=t.i(28100);t.s(["ZoomButtons",0,function({onZoom:t,onReset:a}){let n="grid h-8 w-8 place-items-center rounded-md border border-edge bg-ink/80 text-lg leading-none text-fg backdrop-blur transition hover:bg-ink hover:text-white";return(0,s.jsxs)("div",{className:"absolute right-3 top-3 flex flex-col gap-1",children:[(0,s.jsx)("button",{type:"button","aria-label":"Zoom in",className:n,onClick:()=>t(e),children:"+"}),(0,s.jsx)("button",{type:"button","aria-label":"Zoom out",className:n,onClick:()=>t(1.2),children:"−"}),a?(0,s.jsx)("button",{type:"button","aria-label":"Reset camera focus to center",title:"Reset focus to center",className:n,onClick:a,children:(0,s.jsxs)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round","aria-hidden":"true",children:[(0,s.jsx)("circle",{cx:"8",cy:"8",r:"3"}),(0,s.jsx)("path",{d:"M8 1v2.5M8 12.5V15M1 8h2.5M12.5 8H15"})]})}):null]})}],2413)},25476,t=>{"use strict";t.s(["attachMeshHover",0,function(t,e,s){let a=0,n=null,r=e=>{let r=e.offsetX,c=e.offsetY;a||(a=requestAnimationFrame(()=>{var e,i;let l;a=0;let h=t.pick(r,c,t=>t.isPickable&&t.isEnabled()),o=h?.pickedMesh?(e=h.pickedMesh,i=h.thinInstanceIndex??-1,(l=e.metadata)?i>=0&&l.hoverLabels?l.hoverLabels[i]??null:l.hoverLabel??null:null):null;o?s({label:o,x:r,y:c}):null!==n&&s(null),n=o}))},c=()=>{a&&(cancelAnimationFrame(a),a=0),null!==n&&(n=null,s(null))};return e.addEventListener("pointermove",r),e.addEventListener("pointerleave",c),()=>{e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",c),a&&cancelAnimationFrame(a)}}])},53993,t=>{"use strict";var e=t.i(28100),s=t.i(11623),a=t.i(56054),n=t.i(2348),r=t.i(25476),c=t.i(18637),i=t.i(2413);function l({shape:t,onChange:s}){let a=t=>`h-8 px-2.5 text-xs font-medium leading-none transition first:rounded-l-md last:rounded-r-md ${t?"bg-ink text-white":"bg-ink/80 text-fg hover:text-white"}`,n="sphere"===t,r="cube"===t;return(0,e.jsxs)("div",{className:"absolute left-3 top-3 flex overflow-hidden rounded-md border border-edge backdrop-blur",role:"group","aria-label":"Voxel marker shape",children:[(0,e.jsx)("button",{type:"button",className:a(n),"aria-pressed":n,onClick:()=>s("sphere"),children:"Spheres"}),(0,e.jsx)("button",{type:"button",className:a(r),"aria-pressed":r,onClick:()=>s("cube"),children:"Cubes"})]})}t.s(["WorldHeatmap3DView",0,function({voxels:h,cellSize:o,proxyMeshes:u=[],legendTitle:d="Pointer-hit density",legendLow:j="few hits",legendHigh:p="most hits",legendNote:m="Each marker is a voxel where the pointer hit your scene. Color & size scale with hits, normalized to the 95th-percentile cell so a few hotspots don't wash out the rest.",emptyLabel:k="No 3D hit-points in range.",totals:b,voxelLabels:v}){let x=(0,s.useRef)(null),f=(0,s.useRef)(null),g=(0,s.useRef)(null),[w,y]=(0,s.useState)("loading"),[z,q]=(0,s.useState)(null),[_,M]=(0,s.useState)("sphere"),[L,A]=(0,s.useState)(null),C=(0,s.useRef)(h),P=(0,s.useRef)(u),R=(0,s.useRef)(v);C.current=h,P.current=u,R.current=v;let S=(0,s.useRef)(null),F=h.length>0||u.length>0;(0,s.useEffect)(()=>{let e=x.current;if(!e)return;if(!F)return void y("empty");let s=!1,c=null;return y("loading"),q(null),(async()=>{try{let[{Engine:i},{Scene:l},{ArcRotateCamera:h},{HemisphericLight:u},{Vector3:d,Color3:j,Color4:p,Matrix:m},{MeshBuilder:k},{StandardMaterial:b}]=await Promise.all([t.A(3905),t.A(94432),t.A(59694),t.A(88004),t.A(27940),t.A(27124),t.A(14074),t.A(35983),t.A(18561)]);if(s)return;let v=C.current,x=P.current,w=0,z=0,q=0,M=0;for(let t of v)w+=(t.vx+.5)*o,z+=(t.vy+.5)*o,q+=(t.vz+.5)*o,M++;if(0===M)for(let t of x)w+=(t.aabb[0]+t.aabb[3])/2,z+=(t.aabb[1]+t.aabb[4])/2,q+=(t.aabb[2]+t.aabb[5])/2,M++;let L=new d(w/M,z/M,q/M),F=4*o;for(let t of v){let e=(t.vx+.5)*o-L.x,s=(t.vy+.5)*o-L.y,a=(t.vz+.5)*o-L.z;F=Math.max(F,Math.sqrt(e*e+s*s+a*a))}for(let t of x){let e=(t.aabb[0]+t.aabb[3])/2-L.x,s=(t.aabb[1]+t.aabb[4])/2-L.y,a=(t.aabb[2]+t.aabb[5])/2-L.z;F=Math.max(F,Math.sqrt(e*e+s*s+a*a))}let E=new i(e,!0,{preserveDrawingBuffer:!1}),B=new l(E);B.clearColor=new p(.04,.05,.07,1);let T=new h("world-cam",Math.PI/4,Math.PI/3,2.4*F,L,B);T.attachControl(e,!0),(0,n.disableWheelZoom)(T),f.current=T,g.current={target:L,alpha:T.alpha,beta:T.beta,radius:T.radius},new u("world-light",new d(.4,1,.3),B);let N=Math.max(.02*F,.25*o)/(.9*o),I=T.radius,Z="cube"===_?k.CreateBox("world-voxel",{size:.9*o},B):k.CreateSphere("world-voxel",{diameter:.9*o,segments:6},B),O=new b("world-voxel-mat",B);O.diffuseColor=new j(1,1,1),O.specularColor=new j(0,0,0),Z.material=O;let $=0,H=new Float32Array(0),D=new Float32Array(0),V=-1,W=()=>{if(0===$)return;let t=Math.min(8,Math.max(.6,T.radius/I));if(!(.01>Math.abs(t-V))){V=t;for(let e=0;e<$;e++){let s=D[e]*t,a=16*e;H[a]=s,H[a+5]=s,H[a+10]=s}Z.thinInstanceBufferUpdated("matrix")}};B.onBeforeRenderObservable.add(W);let U=null,K="\0",X=()=>{(()=>{let t=P.current,e=t.map(t=>`${t.name}:${t.aabb.join(",")}`).join("|");if(e===K||(K=e,U&&(U.dispose(!1,!0),U=null),0===t.length))return;U=k.CreateBox("scene-proxy",{size:1},B);let s=new b("scene-proxy-mat",B);s.wireframe=!0,s.disableLighting=!0,s.emissiveColor=new j(.32,.4,.52),s.alpha=.35,U.material=s,U.isPickable=!0,U.thinInstanceEnablePicking=!0,U.metadata={hoverLabels:t.map(t=>t.name)};let a=t.length,n=new Float32Array(16*a);for(let e=0;e<a;e++){let s=t[e].aabb,a=Math.max(s[3]-s[0],.001),r=Math.max(s[4]-s[1],.001),c=Math.max(s[5]-s[2],.001);m.Scaling(a,r,c).multiply(m.Translation((s[0]+s[3])/2,(s[1]+s[4])/2,(s[2]+s[5])/2)).copyToArray(n,16*e)}U.thinInstanceSetBuffer("matrix",n,16,!0)})(),(()=>{let t=C.current,e=R.current,s=t.length;if(0===s){$=0,Z.isVisible=!1;return}let n=(0,a.percentileMax)(t.map(t=>t.count),.95),r=new Float32Array(16*s),c=new Float32Array(4*s),i=new Float32Array(s);for(let e=0;e<s;e++){let s=t[e],l=Math.min(1,s.count/n),h=N*(.5+.5*l);i[e]=h,m.Scaling(h,h,h).multiply(m.Translation((s.vx+.5)*o,(s.vy+.5)*o,(s.vz+.5)*o)).copyToArray(r,16*e);let[u,d,j]=(0,a.heatRgb)(l);c[4*e]=u,c[4*e+1]=d,c[4*e+2]=j,c[4*e+3]=1}$=s,H=r,D=i,Z.isVisible=!0,Z.isPickable=!!e,Z.thinInstanceEnablePicking=!!e,Z.metadata=e?{hoverLabels:e}:null,Z.thinInstanceSetBuffer("matrix",H,16,!1),Z.thinInstanceSetBuffer("color",c,4,!0),V=-1,W()})()};S.current=X,X(),E.runRenderLoop(()=>B.render());let Y=()=>E.resize();window.addEventListener("resize",Y);let G=(0,r.attachMeshHover)(B,e,A),J=(0,n.attachDoubleClickFocus)(B,e,T);y("ready"),c=()=>{window.removeEventListener("resize",Y),G(),J(),A(null),S.current=null,f.current=null,g.current=null,B.dispose(),E.dispose()}}catch(t){if(s)return;y("error"),q(t instanceof Error?t.message:"Failed to render heatmap.")}})(),()=>{s=!0,c?.()}},[_,o,F]),(0,s.useEffect)(()=>{S.current?.()},[h,u,v]);let E=b?b.cells>h.length?` Showing the ${h.length.toLocaleString()} busiest of ${b.cells.toLocaleString()} occupied cells (${b.hits.toLocaleString()} total hits).`:` ${b.cells.toLocaleString()} occupied cells, ${b.hits.toLocaleString()} total hits.`:"";return(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("canvas",{ref:x,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),L?(0,e.jsx)("div",{className:"pointer-events-none absolute z-10 max-w-[16rem] truncate rounded border border-edge bg-ink/90 px-1.5 py-0.5 text-xs text-white shadow backdrop-blur",style:{left:L.x+12,top:L.y+12},children:L.label}):null,"ready"===w?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l,{shape:_,onChange:M}),(0,e.jsx)(i.ZoomButtons,{onZoom:t=>f.current&&(0,n.stepZoom)(f.current,t),onReset:()=>f.current&&g.current&&(0,n.resetFocus)(f.current,g.current)}),(0,e.jsx)(c.HeatLegend,{title:d,lowLabel:j,highLabel:p,note:m+E})]}):(0,e.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===w?"Rendering…":"empty"===w?k:"error"===w?z??"Heatmap unavailable.":null})]})}])},3905,t=>{t.v(e=>Promise.all(["static/chunks/3pdpaqzwhhijn.js","static/chunks/08bm3ye5govev.js","static/chunks/0g6u34xkzrpjn.js","static/chunks/25ctnyh7njp-d.js","static/chunks/2gh4z57fem0_v.js","static/chunks/3vaho-xrtuchd.js","static/chunks/0g7p8zp2kxve5.js"].map(e=>t.l(e))).then(()=>e(66232)))},94432,t=>{t.v(e=>Promise.all(["static/chunks/2kje_jvmwsvwo.js","static/chunks/1j--a56ji33_x.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/2npk7tr63h7rl.js","static/chunks/3vaho-xrtuchd.js","static/chunks/3g_h_00xs9u59.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/25ctnyh7njp-d.js","static/chunks/1vpcaaf-0dn7q.js"].map(e=>t.l(e))).then(()=>e(92494)))},59694,t=>{t.v(e=>Promise.all(["static/chunks/1j--a56ji33_x.js","static/chunks/0oap0o8a8a_cl.js","static/chunks/0f_nv15a8q415.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/245h82k-g1nxr.js","static/chunks/3ovd8o_usay7j.js","static/chunks/3vaho-xrtuchd.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/25ctnyh7njp-d.js","static/chunks/2npk7tr63h7rl.js","static/chunks/2wdk-kbm-n-m5.js"].map(e=>t.l(e))).then(()=>e(67186)))},88004,t=>{t.v(e=>Promise.all(["static/chunks/2p8dbh81chhon.js","static/chunks/1oara6fkfvgs3.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/25ctnyh7njp-d.js","static/chunks/3pdpaqzwhhijn.js"].map(e=>t.l(e))).then(()=>e(15768)))},27940,t=>{t.v(e=>Promise.all(["static/chunks/0w0sx062qmcsh.js","static/chunks/25ctnyh7njp-d.js","static/chunks/3pdpaqzwhhijn.js"].map(e=>t.l(e))).then(()=>e(23235)))},27124,t=>{t.v(e=>Promise.all(["static/chunks/1par9m038tiov.js","static/chunks/1j--a56ji33_x.js","static/chunks/2j-sax2xfdv7l.js","static/chunks/3rx1jhuop94-l.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/0gwa154w_0wuh.js","static/chunks/0oap0o8a8a_cl.js","static/chunks/0f_nv15a8q415.js","static/chunks/3vaho-xrtuchd.js","static/chunks/2wdk-kbm-n-m5.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/3g_h_00xs9u59.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/25ctnyh7njp-d.js","static/chunks/2npk7tr63h7rl.js","static/chunks/10w513bgw-bgi.js"].map(e=>t.l(e))).then(()=>e(70928)))},14074,t=>{t.v(e=>Promise.all(["static/chunks/0n0thxa3jkour.js","static/chunks/1tdg_eolxlcdl.js","static/chunks/1j--a56ji33_x.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/0vddljjnmozzx.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/3vaho-xrtuchd.js","static/chunks/0f_nv15a8q415.js","static/chunks/3g_h_00xs9u59.js","static/chunks/2npk7tr63h7rl.js","static/chunks/25ctnyh7njp-d.js"].map(e=>t.l(e))).then(()=>e(87566)))},35983,t=>{t.v(e=>Promise.all(["static/chunks/4227p7752rnny.js","static/chunks/1j--a56ji33_x.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/2npk7tr63h7rl.js","static/chunks/1vkww9l6lgqag.js","static/chunks/25ctnyh7njp-d.js","static/chunks/0f_nv15a8q415.js","static/chunks/3vaho-xrtuchd.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/2wdk-kbm-n-m5.js","static/chunks/3pdpaqzwhhijn.js"].map(e=>t.l(e))).then(()=>e(50608)))},18561,t=>{t.v(e=>Promise.all(["static/chunks/1j--a56ji33_x.js","static/chunks/1vkww9l6lgqag.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/2npk7tr63h7rl.js","static/chunks/117ys3lltfmcu.js","static/chunks/25ctnyh7njp-d.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/3g_h_00xs9u59.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/3vaho-xrtuchd.js"].map(e=>t.l(e))).then(()=>e(85106)))}]);
|