@uptimizr/dashboard 0.1.0

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.
Files changed (130) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +76 -0
  3. package/out/404.html +1 -0
  4. package/out/__next.__PAGE__.txt +9 -0
  5. package/out/__next._full.txt +20 -0
  6. package/out/__next._head.txt +6 -0
  7. package/out/__next._index.txt +5 -0
  8. package/out/__next._tree.txt +4 -0
  9. package/out/_next/static/93W3szqylNKDg-afLRmVW/_buildManifest.js +11 -0
  10. package/out/_next/static/93W3szqylNKDg-afLRmVW/_clientMiddlewareManifest.js +1 -0
  11. package/out/_next/static/93W3szqylNKDg-afLRmVW/_ssgManifest.js +1 -0
  12. package/out/_next/static/chunks/0-2y-_oomza2l.js +87 -0
  13. package/out/_next/static/chunks/00k_j_r7bv_eb.js +266 -0
  14. package/out/_next/static/chunks/00zdau6mcqeae.js +1 -0
  15. package/out/_next/static/chunks/023axeoslq39i.js +1 -0
  16. package/out/_next/static/chunks/068j6934u8j16.js +1 -0
  17. package/out/_next/static/chunks/0_rf76jneiwal.js +176 -0
  18. package/out/_next/static/chunks/0aznt7717miff.js +1 -0
  19. package/out/_next/static/chunks/0cu-q5q3a7uf3.js +1 -0
  20. package/out/_next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  21. package/out/_next/static/chunks/0dm32-jq30tg8.js +1 -0
  22. package/out/_next/static/chunks/0dn0yx0rn6mpf.js +1 -0
  23. package/out/_next/static/chunks/0flc7nppbmsl1.js +3 -0
  24. package/out/_next/static/chunks/0fskcfh9vbhtv.js +1 -0
  25. package/out/_next/static/chunks/0gv7mblzv3dl3.js +87 -0
  26. package/out/_next/static/chunks/0impkpmxx3ttp.js +1 -0
  27. package/out/_next/static/chunks/0jmn7u31w95ly.js +91 -0
  28. package/out/_next/static/chunks/0n8n481szj90g.js +1 -0
  29. package/out/_next/static/chunks/0o6ayai0s01js.js +1 -0
  30. package/out/_next/static/chunks/0rys92_73hdb0.js +22 -0
  31. package/out/_next/static/chunks/0tl_moiyi2txt.js +1 -0
  32. package/out/_next/static/chunks/0tx1j_ghpz7rc.css +3 -0
  33. package/out/_next/static/chunks/0ufbyo1x3qkmo.js +1 -0
  34. package/out/_next/static/chunks/0v82oqyoy9zol.js +1 -0
  35. package/out/_next/static/chunks/0wrm9jr-9bw0e.js +1893 -0
  36. package/out/_next/static/chunks/0wwcfw8i3j_zx.js +1 -0
  37. package/out/_next/static/chunks/0ys9-ozuluawt.js +1 -0
  38. package/out/_next/static/chunks/1-61zh4waha61.js +1 -0
  39. package/out/_next/static/chunks/10r_824wzt8hj.js +1 -0
  40. package/out/_next/static/chunks/112hws17nz665.js +7 -0
  41. package/out/_next/static/chunks/123xxske5c9na.js +1 -0
  42. package/out/_next/static/chunks/13isnf0--pmx1.js +1 -0
  43. package/out/_next/static/chunks/157d9euci08yu.js +1 -0
  44. package/out/_next/static/chunks/15s7425ffrec9.js +3 -0
  45. package/out/_next/static/chunks/163fa70v4mgxj.js +1 -0
  46. package/out/_next/static/chunks/17q0c2h5ui10r.js +4 -0
  47. package/out/_next/static/chunks/18u58lorfahxi.js +4 -0
  48. package/out/_next/static/chunks/1_aahautsz2v_.js +1 -0
  49. package/out/_next/static/chunks/1a9l89j7e6mqu.js +23 -0
  50. package/out/_next/static/chunks/1dsy2ngmfflis.js +123 -0
  51. package/out/_next/static/chunks/1flb8adpj6_2o.js +62 -0
  52. package/out/_next/static/chunks/1lsg-22yob8dx.js +1 -0
  53. package/out/_next/static/chunks/1nj82er7msdto.js +2 -0
  54. package/out/_next/static/chunks/1o1d0p-v1z8ty.js +1 -0
  55. package/out/_next/static/chunks/1pdep2_c530sg.js +1 -0
  56. package/out/_next/static/chunks/1thjncpj7u6pq.js +1 -0
  57. package/out/_next/static/chunks/1vdjn0pkoyypn.js +1 -0
  58. package/out/_next/static/chunks/1yehxf-fmeicg.js +1 -0
  59. package/out/_next/static/chunks/1zvc1tv--w8nn.js +1 -0
  60. package/out/_next/static/chunks/1zx2q-r32thv1.js +4 -0
  61. package/out/_next/static/chunks/2-sjjedfr0kfq.js +1 -0
  62. package/out/_next/static/chunks/21o42k82w4llc.js +1 -0
  63. package/out/_next/static/chunks/25b9x-li-tvk2.js +1 -0
  64. package/out/_next/static/chunks/2712627rfsmwn.js +1 -0
  65. package/out/_next/static/chunks/296w2ke-v5tbm.js +9 -0
  66. package/out/_next/static/chunks/29tfeb6amdkjb.js +23 -0
  67. package/out/_next/static/chunks/2a3spdq-m8drh.js +3 -0
  68. package/out/_next/static/chunks/2aelw3far6rii.js +1 -0
  69. package/out/_next/static/chunks/2aor7m-wbis85.js +1 -0
  70. package/out/_next/static/chunks/2cbmf9m7lqv6k.js +4 -0
  71. package/out/_next/static/chunks/2d09v5u7dfq0q.js +1 -0
  72. package/out/_next/static/chunks/2feca0xcipcyt.js +850 -0
  73. package/out/_next/static/chunks/2fh-_9b6tqhvb.js +1 -0
  74. package/out/_next/static/chunks/2g5gecypj0rqe.js +1 -0
  75. package/out/_next/static/chunks/2kazjq29jeamx.js +1109 -0
  76. package/out/_next/static/chunks/2p2vv6cc9i-3q.js +255 -0
  77. package/out/_next/static/chunks/2szdcpl41-kzv.js +1 -0
  78. package/out/_next/static/chunks/2tws5udjdcmh3.js +1 -0
  79. package/out/_next/static/chunks/2u6shh3oeycm-.js +1 -0
  80. package/out/_next/static/chunks/2unhhuv0arlcv.js +1 -0
  81. package/out/_next/static/chunks/2xwy0-qfho1iz.js +91 -0
  82. package/out/_next/static/chunks/2ycvtdd68gub7.js +1 -0
  83. package/out/_next/static/chunks/2yiy_l8bwiw2_.js +3 -0
  84. package/out/_next/static/chunks/2yph6f7khgqii.js +1 -0
  85. package/out/_next/static/chunks/3-shckrcpvbxu.js +1681 -0
  86. package/out/_next/static/chunks/30fq_t9e2_fv-.js +1 -0
  87. package/out/_next/static/chunks/30yzu213bqtq0.js +5 -0
  88. package/out/_next/static/chunks/310uz81hnnzsu.js +1 -0
  89. package/out/_next/static/chunks/3218lp8l0a5g_.js +1 -0
  90. package/out/_next/static/chunks/35h5n42wxwgzk.js +123 -0
  91. package/out/_next/static/chunks/37vzwr3ciejf1.js +1 -0
  92. package/out/_next/static/chunks/38fhw7fatsyvd.js +3 -0
  93. package/out/_next/static/chunks/3be6s4_kn9q-o.js +1 -0
  94. package/out/_next/static/chunks/3i3gbhccmhu7j.js +210 -0
  95. package/out/_next/static/chunks/3l1dr_qm_x5kp.js +1 -0
  96. package/out/_next/static/chunks/3mqy-84_ul3t2.js +1 -0
  97. package/out/_next/static/chunks/3nz-dh9d7cehk.js +1 -0
  98. package/out/_next/static/chunks/3pufs8g4ui943.js +1 -0
  99. package/out/_next/static/chunks/3sjq_xoi4rbyg.js +31 -0
  100. package/out/_next/static/chunks/3t06schbtqonl.js +1 -0
  101. package/out/_next/static/chunks/3v3-7fio3nw_t.js +1 -0
  102. package/out/_next/static/chunks/3v5ha25nxo43j.js +1 -0
  103. package/out/_next/static/chunks/3yfrsm8lfi6ls.js +22 -0
  104. package/out/_next/static/chunks/3zskk1hxu3-_o.js +1 -0
  105. package/out/_next/static/chunks/turbopack-2ropzf0axp1x9.js +1 -0
  106. package/out/_next/static/media/0c89a48fa5027cee-s.p.2cyn07wtgehh0.woff2 +0 -0
  107. package/out/_next/static/media/13bf9871fe164e7f-s.2f7nqdagzwx2-.woff2 +0 -0
  108. package/out/_next/static/media/28868e710e86be81-s.2eksvhm1z0jwa.woff2 +0 -0
  109. package/out/_next/static/media/32687112bd2dd8db-s.1gepa_7fcx9fm.woff2 +0 -0
  110. package/out/_next/static/media/3fe682a82f50d426-s.0vfdmo25voy_0.woff2 +0 -0
  111. package/out/_next/static/media/70bc3e132a0a741e-s.p.3t6q91iet4nsy.woff2 +0 -0
  112. package/out/_next/static/media/71b036adf157cdcf-s.0bp8oijd_gu96.woff2 +0 -0
  113. package/out/_next/static/media/89b21bb081cb7469-s.1fby2rem9ngyr.woff2 +0 -0
  114. package/out/_next/static/media/cc545e633e20c56d-s.176arc174-8zp.woff2 +0 -0
  115. package/out/_next/static/media/icon.08h29dad3pcxg.svg +4 -0
  116. package/out/_not-found/__next._full.txt +16 -0
  117. package/out/_not-found/__next._head.txt +6 -0
  118. package/out/_not-found/__next._index.txt +5 -0
  119. package/out/_not-found/__next._not-found.__PAGE__.txt +5 -0
  120. package/out/_not-found/__next._not-found.txt +5 -0
  121. package/out/_not-found/__next._tree.txt +2 -0
  122. package/out/_not-found.html +1 -0
  123. package/out/_not-found.txt +16 -0
  124. package/out/api/projects +1 -0
  125. package/out/icon.svg +4 -0
  126. package/out/index.html +1 -0
  127. package/out/index.txt +20 -0
  128. package/out/logo.svg +46 -0
  129. package/package.json +67 -0
  130. package/server/standalone.mjs +182 -0
@@ -0,0 +1,266 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39067,15420,e=>{"use strict";var i=e.i(12423);let r="bonesDeclaration",t=`#if NUM_BONE_INFLUENCERS>0
2
+ attribute vec4 matricesIndices;attribute vec4 matricesWeights;
3
+ #if NUM_BONE_INFLUENCERS>4
4
+ attribute vec4 matricesIndicesExtra;attribute vec4 matricesWeightsExtra;
5
+ #endif
6
+ #ifndef BAKED_VERTEX_ANIMATION_TEXTURE
7
+ #ifdef BONETEXTURE
8
+ uniform highp sampler2D boneSampler;uniform vec2 boneTextureInfo;
9
+ #else
10
+ uniform mat4 mBones[BonesPerMesh];
11
+ #endif
12
+ #ifdef BONES_VELOCITY_ENABLED
13
+ uniform mat4 mPreviousBones[BonesPerMesh];
14
+ #endif
15
+ #ifdef BONETEXTURE
16
+ #define inline
17
+ mat4 readMatrixFromRawSampler(sampler2D smp,float index)
18
+ {
19
+ #if defined(WEBGL2) || defined(WEBGPU)
20
+ int offset=int(index)*4;
21
+ int textureWidth=int(boneTextureInfo.x);int y=int(offset)/textureWidth;int x=int(offset) % textureWidth;vec4 m0=texelFetch(smp,ivec2(x+0,y),0);vec4 m1=texelFetch(smp,ivec2(x+1,y),0);vec4 m2=texelFetch(smp,ivec2(x+2,y),0);vec4 m3=texelFetch(smp,ivec2(x+3,y),0);return mat4(m0,m1,m2,m3);
22
+ #else
23
+ float offset=index*4.0;float y=floor(offset/boneTextureInfo.x);float x=offset-y*boneTextureInfo.x;float dy=1.0/boneTextureInfo.y;float dx=1.0/boneTextureInfo.x;vec4 m0=texture2D(smp,vec2(dx*(x+0.5),dy*(y+0.5)));vec4 m1=texture2D(smp,vec2(dx*(x+1.5),dy*(y+0.5)));vec4 m2=texture2D(smp,vec2(dx*(x+2.5),dy*(y+0.5)));vec4 m3=texture2D(smp,vec2(dx*(x+3.5),dy*(y+0.5)));
24
+ return mat4(m0,m1,m2,m3);
25
+ #endif
26
+ }
27
+ #endif
28
+ #endif
29
+ #endif
30
+ `;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["bonesDeclaration",0,{name:r,shader:t}],39067);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
31
+ uniform float bakedVertexAnimationTime;
32
+ #if !defined(WEBGL2) && !defined(WEBGPU)
33
+ uniform vec2 bakedVertexAnimationTextureSizeInverted;
34
+ #endif
35
+ uniform vec4 bakedVertexAnimationSettings;uniform sampler2D bakedVertexAnimationTexture;
36
+ #ifdef INSTANCES
37
+ attribute vec4 bakedVertexAnimationSettingsInstanced;
38
+ #endif
39
+ #define inline
40
+ mat4 readMatrixFromRawSamplerVAT(sampler2D smp,float index,float frame)
41
+ {
42
+ #if defined(WEBGL2) || defined(WEBGPU)
43
+ int offset=int(index)*4;int frameUV=int(frame);vec4 m0=texelFetch(smp,ivec2(offset+0,frameUV),0);vec4 m1=texelFetch(smp,ivec2(offset+1,frameUV),0);vec4 m2=texelFetch(smp,ivec2(offset+2,frameUV),0);vec4 m3=texelFetch(smp,ivec2(offset+3,frameUV),0);return mat4(m0,m1,m2,m3);
44
+ #else
45
+ float offset=index*4.0;float frameUV=(frame+0.5)*bakedVertexAnimationTextureSizeInverted.y;float dx=bakedVertexAnimationTextureSizeInverted.x;vec4 m0=texture2D(smp,vec2(dx*(offset+0.5),frameUV));vec4 m1=texture2D(smp,vec2(dx*(offset+1.5),frameUV));vec4 m2=texture2D(smp,vec2(dx*(offset+2.5),frameUV));vec4 m3=texture2D(smp,vec2(dx*(offset+3.5),frameUV));return mat4(m0,m1,m2,m3);
46
+ #endif
47
+ }
48
+ #endif
49
+ `;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["bakedVertexAnimationDeclaration",0,{name:n,shader:a}],15420)},42927,57828,e=>{"use strict";var i=e.i(12423);let r="clipPlaneVertexDeclaration",t=`#ifdef CLIPPLANE
50
+ uniform vec4 vClipPlane;varying float fClipDistance;
51
+ #endif
52
+ #ifdef CLIPPLANE2
53
+ uniform vec4 vClipPlane2;varying float fClipDistance2;
54
+ #endif
55
+ #ifdef CLIPPLANE3
56
+ uniform vec4 vClipPlane3;varying float fClipDistance3;
57
+ #endif
58
+ #ifdef CLIPPLANE4
59
+ uniform vec4 vClipPlane4;varying float fClipDistance4;
60
+ #endif
61
+ #ifdef CLIPPLANE5
62
+ uniform vec4 vClipPlane5;varying float fClipDistance5;
63
+ #endif
64
+ #ifdef CLIPPLANE6
65
+ uniform vec4 vClipPlane6;varying float fClipDistance6;
66
+ #endif
67
+ `;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["clipPlaneVertexDeclaration",0,{name:r,shader:t}],42927);let n="fogVertexDeclaration",a=`#ifdef FOG
68
+ varying vec3 vFogDistance;
69
+ #endif
70
+ `;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["fogVertexDeclaration",0,{name:n,shader:a}],57828)},85863,e=>{"use strict";var i=e.i(12423);let r="instancesDeclaration",t=`#ifdef INSTANCES
71
+ attribute vec4 world0;attribute vec4 world1;attribute vec4 world2;attribute vec4 world3;
72
+ #ifdef INSTANCESCOLOR
73
+ attribute vec4 instanceColor;
74
+ #endif
75
+ #if defined(THIN_INSTANCES) && !defined(WORLD_UBO)
76
+ uniform mat4 world;
77
+ #endif
78
+ #if defined(VELOCITY) || defined(PREPASS_VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
79
+ attribute vec4 previousWorld0;attribute vec4 previousWorld1;attribute vec4 previousWorld2;attribute vec4 previousWorld3;
80
+ #ifdef THIN_INSTANCES
81
+ uniform mat4 previousWorld;
82
+ #endif
83
+ #endif
84
+ #else
85
+ #if !defined(WORLD_UBO)
86
+ uniform mat4 world;
87
+ #endif
88
+ #if defined(VELOCITY) || defined(PREPASS_VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
89
+ uniform mat4 previousWorld;
90
+ #endif
91
+ #endif
92
+ `;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["instancesDeclaration",0,{name:r,shader:t}])},40805,30667,76955,16607,29231,17464,e=>{"use strict";var i=e.i(12423);let r="instancesVertex",t=`#ifdef INSTANCES
93
+ mat4 finalWorld=mat4(world0,world1,world2,world3);
94
+ #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
95
+ mat4 finalPreviousWorld=mat4(previousWorld0,previousWorld1,
96
+ previousWorld2,previousWorld3);
97
+ #endif
98
+ #ifdef THIN_INSTANCES
99
+ finalWorld=world*finalWorld;
100
+ #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
101
+ finalPreviousWorld=previousWorld*finalPreviousWorld;
102
+ #endif
103
+ #endif
104
+ #else
105
+ mat4 finalWorld=world;
106
+ #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
107
+ mat4 finalPreviousWorld=previousWorld;
108
+ #endif
109
+ #endif
110
+ `;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["instancesVertex",0,{name:r,shader:t}],40805);let n="bonesVertex",a=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
111
+ #if NUM_BONE_INFLUENCERS>0
112
+ mat4 influence;
113
+ #ifdef BONETEXTURE
114
+ influence=readMatrixFromRawSampler(boneSampler,matricesIndices[0])*matricesWeights[0];
115
+ #if NUM_BONE_INFLUENCERS>1
116
+ influence+=readMatrixFromRawSampler(boneSampler,matricesIndices[1])*matricesWeights[1];
117
+ #endif
118
+ #if NUM_BONE_INFLUENCERS>2
119
+ influence+=readMatrixFromRawSampler(boneSampler,matricesIndices[2])*matricesWeights[2];
120
+ #endif
121
+ #if NUM_BONE_INFLUENCERS>3
122
+ influence+=readMatrixFromRawSampler(boneSampler,matricesIndices[3])*matricesWeights[3];
123
+ #endif
124
+ #if NUM_BONE_INFLUENCERS>4
125
+ influence+=readMatrixFromRawSampler(boneSampler,matricesIndicesExtra[0])*matricesWeightsExtra[0];
126
+ #endif
127
+ #if NUM_BONE_INFLUENCERS>5
128
+ influence+=readMatrixFromRawSampler(boneSampler,matricesIndicesExtra[1])*matricesWeightsExtra[1];
129
+ #endif
130
+ #if NUM_BONE_INFLUENCERS>6
131
+ influence+=readMatrixFromRawSampler(boneSampler,matricesIndicesExtra[2])*matricesWeightsExtra[2];
132
+ #endif
133
+ #if NUM_BONE_INFLUENCERS>7
134
+ influence+=readMatrixFromRawSampler(boneSampler,matricesIndicesExtra[3])*matricesWeightsExtra[3];
135
+ #endif
136
+ #else
137
+ influence=mBones[int(matricesIndices[0])]*matricesWeights[0];
138
+ #if NUM_BONE_INFLUENCERS>1
139
+ influence+=mBones[int(matricesIndices[1])]*matricesWeights[1];
140
+ #endif
141
+ #if NUM_BONE_INFLUENCERS>2
142
+ influence+=mBones[int(matricesIndices[2])]*matricesWeights[2];
143
+ #endif
144
+ #if NUM_BONE_INFLUENCERS>3
145
+ influence+=mBones[int(matricesIndices[3])]*matricesWeights[3];
146
+ #endif
147
+ #if NUM_BONE_INFLUENCERS>4
148
+ influence+=mBones[int(matricesIndicesExtra[0])]*matricesWeightsExtra[0];
149
+ #endif
150
+ #if NUM_BONE_INFLUENCERS>5
151
+ influence+=mBones[int(matricesIndicesExtra[1])]*matricesWeightsExtra[1];
152
+ #endif
153
+ #if NUM_BONE_INFLUENCERS>6
154
+ influence+=mBones[int(matricesIndicesExtra[2])]*matricesWeightsExtra[2];
155
+ #endif
156
+ #if NUM_BONE_INFLUENCERS>7
157
+ influence+=mBones[int(matricesIndicesExtra[3])]*matricesWeightsExtra[3];
158
+ #endif
159
+ #endif
160
+ finalWorld=finalWorld*influence;
161
+ #endif
162
+ #endif
163
+ `;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["bonesVertex",0,{name:n,shader:a}],30667);let d="bakedVertexAnimation",f=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
164
+ {
165
+ #ifdef INSTANCES
166
+ #define BVASNAME bakedVertexAnimationSettingsInstanced
167
+ #else
168
+ #define BVASNAME bakedVertexAnimationSettings
169
+ #endif
170
+ float VATStartFrame=BVASNAME.x;float VATEndFrame=BVASNAME.y;float VATOffsetFrame=BVASNAME.z;float VATSpeed=BVASNAME.w;float totalFrames=VATEndFrame-VATStartFrame+1.0;float time=bakedVertexAnimationTime*VATSpeed/totalFrames;float frameCorrection=time<1.0 ? 0.0 : 1.0;float numOfFrames=totalFrames-frameCorrection;float VATFrameNum=fract(time)*numOfFrames;VATFrameNum=mod(VATFrameNum+VATOffsetFrame,numOfFrames);VATFrameNum=floor(VATFrameNum);VATFrameNum+=VATStartFrame+frameCorrection;mat4 VATInfluence;VATInfluence=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndices[0],VATFrameNum)*matricesWeights[0];
171
+ #if NUM_BONE_INFLUENCERS>1
172
+ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndices[1],VATFrameNum)*matricesWeights[1];
173
+ #endif
174
+ #if NUM_BONE_INFLUENCERS>2
175
+ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndices[2],VATFrameNum)*matricesWeights[2];
176
+ #endif
177
+ #if NUM_BONE_INFLUENCERS>3
178
+ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndices[3],VATFrameNum)*matricesWeights[3];
179
+ #endif
180
+ #if NUM_BONE_INFLUENCERS>4
181
+ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndicesExtra[0],VATFrameNum)*matricesWeightsExtra[0];
182
+ #endif
183
+ #if NUM_BONE_INFLUENCERS>5
184
+ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndicesExtra[1],VATFrameNum)*matricesWeightsExtra[1];
185
+ #endif
186
+ #if NUM_BONE_INFLUENCERS>6
187
+ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndicesExtra[2],VATFrameNum)*matricesWeightsExtra[2];
188
+ #endif
189
+ #if NUM_BONE_INFLUENCERS>7
190
+ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIndicesExtra[3],VATFrameNum)*matricesWeightsExtra[3];
191
+ #endif
192
+ finalWorld=finalWorld*VATInfluence;}
193
+ #endif
194
+ `;i.ShaderStore.IncludesShadersStore[d]||(i.ShaderStore.IncludesShadersStore[d]=f),e.s(["bakedVertexAnimation",0,{name:d,shader:f}],76955);let o="clipPlaneVertex",s=`#ifdef CLIPPLANE
195
+ fClipDistance=dot(worldPos,vClipPlane);
196
+ #endif
197
+ #ifdef CLIPPLANE2
198
+ fClipDistance2=dot(worldPos,vClipPlane2);
199
+ #endif
200
+ #ifdef CLIPPLANE3
201
+ fClipDistance3=dot(worldPos,vClipPlane3);
202
+ #endif
203
+ #ifdef CLIPPLANE4
204
+ fClipDistance4=dot(worldPos,vClipPlane4);
205
+ #endif
206
+ #ifdef CLIPPLANE5
207
+ fClipDistance5=dot(worldPos,vClipPlane5);
208
+ #endif
209
+ #ifdef CLIPPLANE6
210
+ fClipDistance6=dot(worldPos,vClipPlane6);
211
+ #endif
212
+ `;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=s),e.s(["clipPlaneVertex",0,{name:o,shader:s}],16607);let l="fogVertex",m=`#ifdef FOG
213
+ vFogDistance=(view*worldPos).xyz;
214
+ #endif
215
+ `;i.ShaderStore.IncludesShadersStore[l]||(i.ShaderStore.IncludesShadersStore[l]=m),e.s(["fogVertex",0,{name:l,shader:m}],29231);let c="vertexColorMixing",E=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
216
+ vColor=vec4(1.0);
217
+ #ifdef VERTEXCOLOR
218
+ #ifdef VERTEXALPHA
219
+ vColor*=colorUpdated;
220
+ #else
221
+ vColor.rgb*=colorUpdated.rgb;
222
+ #endif
223
+ #endif
224
+ #ifdef INSTANCESCOLOR
225
+ vColor*=instanceColor;
226
+ #endif
227
+ #endif
228
+ `;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=E),e.s(["vertexColorMixing",0,{name:c,shader:E}],17464)},24572,e=>{"use strict";var i=e.i(12423),r=e.i(39067),t=e.i(15420),n=e.i(42927),a=e.i(57828),d=e.i(85863),f=e.i(40805),o=e.i(30667),s=e.i(76955),l=e.i(16607),m=e.i(29231),c=e.i(17464);let E="colorVertexShader",S=`attribute vec3 position;
229
+ #ifdef VERTEXCOLOR
230
+ attribute vec4 color;
231
+ #endif
232
+ #include<bonesDeclaration>
233
+ #include<bakedVertexAnimationDeclaration>
234
+ #include<clipPlaneVertexDeclaration>
235
+ #include<fogVertexDeclaration>
236
+ #ifdef FOG
237
+ uniform mat4 view;
238
+ #endif
239
+ #include<instancesDeclaration>
240
+ uniform mat4 viewProjection;
241
+ #ifdef MULTIVIEW
242
+ uniform mat4 viewProjectionR;
243
+ #endif
244
+ #if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
245
+ varying vec4 vColor;
246
+ #endif
247
+ #define CUSTOM_VERTEX_DEFINITIONS
248
+ void main(void) {
249
+ #define CUSTOM_VERTEX_MAIN_BEGIN
250
+ #ifdef VERTEXCOLOR
251
+ vec4 colorUpdated=color;
252
+ #endif
253
+ #include<instancesVertex>
254
+ #include<bonesVertex>
255
+ #include<bakedVertexAnimation>
256
+ vec4 worldPos=finalWorld*vec4(position,1.0);
257
+ #ifdef MULTIVIEW
258
+ if (gl_ViewID_OVR==0u) {gl_Position=viewProjection*worldPos;} else {gl_Position=viewProjectionR*worldPos;}
259
+ #else
260
+ gl_Position=viewProjection*worldPos;
261
+ #endif
262
+ #include<clipPlaneVertex>
263
+ #include<fogVertex>
264
+ #include<vertexColorMixing>
265
+ #define CUSTOM_VERTEX_MAIN_END
266
+ }`;for(let e of(i.ShaderStore.ShadersStore[E]||(i.ShaderStore.ShadersStore[E]=S),[r.bonesDeclaration,t.bakedVertexAnimationDeclaration,n.clipPlaneVertexDeclaration,a.fogVertexDeclaration,d.instancesDeclaration,f.instancesVertex,o.bonesVertex,s.bakedVertexAnimation,l.clipPlaneVertex,m.fogVertex,c.vertexColorMixing]))i.ShaderStore.IncludesShadersStore[e.name]||(i.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["colorVertexShader",0,{name:E,shader:S}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93425,e=>{"use strict";var t=e.i(29212),r=e.i(94179);function s({children:e,label:r="More information"}){return(0,t.jsxs)("span",{className:"group relative inline-flex",children:[(0,t.jsx)("button",{type:"button","aria-label":r,className:"flex h-4 w-4 items-center justify-center rounded-full border border-edge text-[10px] font-bold leading-none text-fg-muted transition hover:border-amber hover:text-fg-hi focus:outline-none focus:ring-1 focus:ring-amber",children:"?"}),(0,t.jsx)("span",{role:"tooltip",className:"pointer-events-none absolute left-1/2 top-6 z-20 w-64 -translate-x-1/2 rounded-md border border-edge bg-ink/95 p-2.5 text-xs font-normal normal-case leading-relaxed tracking-normal text-fg opacity-0 shadow-lg shadow-black/40 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:e})]})}e.s(["Panel",0,function({title:e,subtitle:n,help:i,children:a,className:u="",collapsible:o=!1,defaultCollapsed:l=!1}){let[c,m]=(0,r.useState)(o&&l),p=(0,t.jsxs)("header",{className:c?"":"mb-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("h2",{className:"text-sm font-semibold uppercase tracking-wide text-fg",children:e}),o?(0,t.jsx)("span",{"aria-hidden":"true",className:"text-xs text-fg-muted",children:c?"▸":"▾"}):null,i?(0,t.jsx)(s,{label:`About: ${e}`,children:i}):null]}),n?(0,t.jsx)("p",{className:"mt-0.5 text-xs text-fg-muted",children:n}):null]});return(0,t.jsxs)("section",{className:`rounded-xl border border-edge bg-panel p-4 shadow-lg shadow-black/20 ${u}`,children:[o?(0,t.jsx)("button",{type:"button",onClick:()=>m(e=>!e),"aria-expanded":c?"false":"true",className:"w-full text-left",children:p}):p,c?null:a]})}])},56054,e=>{"use strict";e.s(["HEAT_GRADIENT",0,"linear-gradient(to right, rgb(178,47,38), rgb(224,123,57), rgb(244,200,75))","heatRgb",0,function(e){let t=Math.max(0,Math.min(1,e)),r=[.878,.482,.224],s=(e,t,r)=>[e[0]+(t[0]-e[0])*r,e[1]+(t[1]-e[1])*r,e[2]+(t[2]-e[2])*r];return t<.5?s([.698,.184,.149],r,t/.5):s(r,[.957,.784,.294],(t-.5)/.5)}])},82665,20880,e=>{"use strict";var t=e.i(23838);let r=!!t.default.env.NEXT_PUBLIC_COLLECTOR_URL,s=t.default.env.NEXT_PUBLIC_COLLECTOR_URL??"http://localhost:4318",n="1"===t.default.env.DASHBOARD_STATIC?"":t.default.env.NEXT_PUBLIC_API_KEY??"",i=t.default.env.NEXT_PUBLIC_PLAYGROUND_URL??"http://localhost:5173";e.s(["COLLECTOR_URL_IS_PINNED",0,r,"DEFAULT_API_KEY",0,n,"DEFAULT_COLLECTOR_URL",0,s,"DEFAULT_PLAYGROUND_URL",0,i],82665);class a extends Error{status;constructor(e,t){super(e),this.status=t,this.name="ApiError"}}function u(e){return e.endsWith("/")?e:`${e}/`}e.s(["ApiError",0,a,"CollectorApi",0,class{baseUrl;apiKey;constructor(e,t){this.baseUrl=e,this.apiKey=t}async get(e,t={}){let r=new URL(e,u(this.baseUrl));for(let[e,s]of Object.entries(t))null!=s&&r.searchParams.set(e,String(s));let s=await fetch(r,{headers:{"x-api-key":this.apiKey},cache:"no-store"});if(!s.ok)throw new a(await s.text().catch(()=>"")||s.statusText,s.status);return await s.json()}sessions(e){return this.get("api/v1/sessions",e).then(e=>e.map(e=>({...e,events:Number(e.events)})))}pointerHeatmap(e){return this.get("api/v1/heatmaps/pointer",e)}cameraHeatmap(e){return this.get("api/v1/heatmaps/camera",e)}topMeshes(e){return this.get("api/v1/meshes/top",e).then(e=>e.map(e=>({...e,count:Number(e.count)})))}perf(e){return this.get("api/v1/perf",e).then(e=>({samples:Number(e.samples??0),avg_fps:Number(e.avg_fps??0),min_fps:Number(e.min_fps??0),p50_fps:Number(e.p50_fps??0)}))}perfDistribution(e){return this.get("api/v1/perf/distribution",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),samples:Number(t.samples??0),p05_fps:Number(t.p05_fps??0),p50_fps:Number(t.p50_fps??0),p95_fps:Number(t.p95_fps??0)}})}fpsHistogram(e){return this.get("api/v1/perf/fps-histogram",e).then(e=>e.map(e=>({bucket:Number(e.bucket??0),sessions:Number(e.sessions??0)})))}frameTimePercentiles(e){return this.get("api/v1/perf/frame-time",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),samples:Number(t.samples??0),p50_ms:Number(t.p50_ms??0),p95_ms:Number(t.p95_ms??0)}})}jankRate(e){return this.get("api/v1/perf/jank",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),total_long_frames:Number(t.total_long_frames??0),median_rate:Number(t.median_rate??0),worst_decile_rate:Number(t.worst_decile_rate??0)}})}perfByDevice(e){return this.get("api/v1/perf/by-device",e).then(e=>e.map(e=>({engine:String(e.engine??""),is_mobile:String(e.is_mobile??""),renderer:String(e.renderer??""),sessions:Number(e.sessions??0),samples:Number(e.samples??0),p50_fps:Number(e.p50_fps??0)})))}perfByScene(e){return this.get("api/v1/perf/by-scene",e).then(e=>e.map(e=>({scene_id:String(e.scene_id??""),sessions:Number(e.sessions??0),samples:Number(e.samples??0),p50_fps:Number(e.p50_fps??0)})))}resourcePercentiles(e){return this.get("api/v1/perf/resource-percentiles",e).then(e=>{let t=e[0]??{};return{sessions:Number(t.sessions??0),samples:Number(t.samples??0),p50_js_heap_bytes:Number(t.p50_js_heap_bytes??0),p95_js_heap_bytes:Number(t.p95_js_heap_bytes??0),p50_texture_bytes:Number(t.p50_texture_bytes??0),p95_texture_bytes:Number(t.p95_texture_bytes??0),p50_triangles:Number(t.p50_triangles??0),p95_triangles:Number(t.p95_triangles??0)}})}stabilityCounts(e){return this.get("api/v1/perf/stability",e).then(e=>{let t=e[0]??{};return{context_losses:Number(t.context_losses??0),compile_stalls:Number(t.compile_stalls??0),incidents:Number(t.incidents??0)}})}worldHeatmap(e){return this.get("api/v1/heatmaps/world",e).then(e=>e.map(e=>({vx:Number(e.vx),vy:Number(e.vy),vz:Number(e.vz),count:Number(e.count)})))}gazeHeatmap(e){return this.get("api/v1/heatmaps/gaze",e).then(e=>e.map(e=>({vx:Number(e.vx),vy:Number(e.vy),vz:Number(e.vz),count:Number(e.count)})))}cameraPositionHeatmap(e){return this.get("api/v1/heatmaps/position",e).then(e=>e.map(e=>({gx:Number(e.gx),gz:Number(e.gz),avg_y:Number(e.avg_y??0),count:Number(e.count??0)})))}sessionTrajectory(e,t){return this.get(`api/v1/sessions/${encodeURIComponent(e)}/trajectory`,t).then(e=>e.map(e=>({ts:Number(e.ts),x:Number(e.x),y:Number(e.y),z:Number(e.z)})))}clickRays(e){return this.get("api/v1/heatmaps/click-rays",e).then(e=>e.map(e=>({camVoxel:[Number(e.cam_vx),Number(e.cam_vy),Number(e.cam_vz)],origin:[Number(e.origin_x),Number(e.origin_y),Number(e.origin_z)],hitVoxel:[Number(e.hit_vx),Number(e.hit_vy),Number(e.hit_vz)],hit:[Number(e.hit_x),Number(e.hit_y),Number(e.hit_z)],mesh:String(e.mesh??""),count:Number(e.count)})))}flowHeatmap(e){return this.get("api/v1/heatmaps/flow",e).then(e=>e.map(e=>{let t={azimuth_bin:Number(e.azimuth_bin),elevation_bin:Number(e.elevation_bin),mesh:String(e.mesh??""),count:Number(e.count)};return null!=e.origin_vx&&(t.originVoxel=[Number(e.origin_vx),Number(e.origin_vy),Number(e.origin_vz)],t.origin=[Number(e.origin_x),Number(e.origin_y),Number(e.origin_z)]),t}))}scenes(e){return this.get("api/v1/scenes",e).then(e=>e.map(e=>({...e,events:Number(e.events)})))}timeseries(e){return this.get("api/v1/timeseries",e).then(e=>e.map(e=>({bucket:Number(e.bucket),events:Number(e.events??0),avg_fps:Number(e.avg_fps??0)})))}eventCounts(e){return this.get("api/v1/event-counts",e).then(e=>e.map(e=>({event_type:String(e.event_type),count:Number(e.count??0)})))}coverage(e){return this.get("api/v1/coverage",e).then(e=>e.map(e=>({vx:Number(e.vx),vy:Number(e.vy),vz:Number(e.vz),count:Number(e.count??0)})))}cameraDistance(e){return this.get("api/v1/camera/distance",e).then(e=>e.map(e=>({bucket:Number(e.bucket),count:Number(e.count??0)})))}navigation(e){return this.get("api/v1/navigation",e).then(e=>e.map(e=>({session_id:String(e.session_id??""),segments:Number(e.segments??0),total_distance:Number(e.total_distance??0),active_segments:Number(e.active_segments??0),active_distance:Number(e.active_distance??0)})))}interactionsBySource(e){return this.get("api/v1/interactions/sources",e).then(e=>e.map(e=>({event_type:String(e.event_type??""),source:String(e.source??""),count:Number(e.count??0),sessions:Number(e.sessions??0)})))}sessionMeta(e){return this.get(`api/v1/sessions/${encodeURIComponent(e)}/meta`)}async sceneRepresentation(e){try{return await this.get(`api/v1/scenes/${encodeURIComponent(e)}/representation`)}catch(e){if(e instanceof a&&404===e.status)return null;throw e}}async liveToken(){let e=new URL("api/v1/live/token",u(this.baseUrl)),t=await fetch(e,{method:"POST",headers:{"x-api-key":this.apiKey},cache:"no-store"});if(!t.ok)throw new a(await t.text().catch(()=>"")||t.statusText,t.status);return await t.json()}livePresenceUrl(e){let t=new URL("api/v1/live/presence",u(this.baseUrl));return t.searchParams.set("token",e),t.toString()}liveStreamUrl(e,t){let r=new URL("api/v1/live/stream",u(this.baseUrl));return r.searchParams.set("token",e),t&&t.length>0&&r.searchParams.set("types",t.join(",")),r.toString()}liveSessionUrl(e,t){let r=new URL(`api/v1/live/sessions/${encodeURIComponent(t)}`,u(this.baseUrl));return r.searchParams.set("token",e),r.toString()}}],20880)},88725,e=>{"use strict";var t=e.i(94179);e.i(82665);var r=e.i(20880);function s(e,t,r,s){let n={cancelled:!1,source:null,timer:null},i=0,a=async()=>{let a;if(n.cancelled)return;s(0===i?"connecting":"reconnecting");try{let{token:r}=await e.liveToken();a=t(r)}catch{u();return}if(n.cancelled)return;let o=new EventSource(a);n.source=o,o.onopen=()=>{i=0,s("open")},o.onerror=()=>{o.close(),n.source===o&&(n.source=null),u()},r(o)},u=()=>{if(n.cancelled)return;s("reconnecting");let e=Math.min(1e3*2**i,15e3);i+=1,n.timer=setTimeout(()=>void a(),e)};return a(),()=>{n.cancelled=!0,n.timer&&clearTimeout(n.timer),n.source?.close(),n.source=null}}async function n(e,t,r){let s=e.getReader(),n=new TextDecoder,i="";for(t.addEventListener("abort",()=>void s.cancel().catch(()=>{}));;){let{done:e,value:t}=await s.read();if(e)return;let a=(i+=n.decode(t,{stream:!0})).indexOf("\n\n");for(;a>=0;){let e=i.slice(0,a);i=i.slice(a+2);let t="message",s=[];for(let r of e.split("\n"))!r.startsWith(":")&&(r.startsWith("event:")?t=r.slice(6).trim():r.startsWith("data:")&&s.push(r.slice(5).replace(/^ /,"")));"event"===t&&s.length>0&&r(s.join("\n")),a=i.indexOf("\n\n")}}}e.s(["useLivePresence",0,function(e,n,i){let[a,u]=(0,t.useState)(null),[o,l]=(0,t.useState)("idle");return(0,t.useEffect)(()=>{if(!i||!n||!e){l("idle"),u(null);return}let t=new r.CollectorApi(e,n);return s(t,e=>t.livePresenceUrl(e),e=>{e.addEventListener("presence",e=>{try{u(JSON.parse(e.data))}catch{}})},l)},[e,n,i]),{snapshot:a,status:o}},"useLiveSession",0,function(e,s,i,a,u,o){let[l,c]=(0,t.useState)("idle"),[m,p]=(0,t.useState)(!1),[h,b]=(0,t.useState)(0),v=(0,t.useRef)(u),g=(0,t.useRef)(o);return v.current=u,g.current=o,(0,t.useEffect)(()=>{if(!a||!s||!e||!i)return void c("idle");let t=new r.CollectorApi(e,s),u=!1,o=0,l=null,m=null;p(!1),b(0);let h=()=>{if(u)return;c("reconnecting");let e=Math.min(1e3*2**o,15e3);o+=1,m=setTimeout(()=>void d(),e)},d=async()=>{let e;if(!u){c(0===o?"connecting":"reconnecting"),g.current(),b(0);try{({token:e}=await t.liveToken())}catch{h();return}if(!u){l=new AbortController;try{let r=await fetch(t.liveSessionUrl(e,i),{headers:{accept:"text/event-stream"},cache:"no-store",signal:l.signal});if(403===r.status){p(!0),c("idle");return}if(!r.ok||!r.body)return void h();o=0,c("open"),await n(r.body,l.signal,e=>{try{v.current(JSON.parse(e)),b(e=>e+1)}catch{}}),u||h()}catch{u||h()}}}};return d(),()=>{u=!0,m&&clearTimeout(m),l?.abort()}},[e,s,i,a]),{status:l,gated:m,count:h}},"useLiveStream",0,function(e,n,i,a,u){let[o,l]=(0,t.useState)("idle"),c=(0,t.useRef)(a);c.current=a;let m=u&&u.length>0?[...u].sort().join(","):"";return(0,t.useEffect)(()=>{if(!i||!n||!e)return void l("idle");let t=new r.CollectorApi(e,n),a=m?m.split(","):void 0;return s(t,e=>t.liveStreamUrl(e,a),e=>{e.addEventListener("event",e=>{try{c.current(JSON.parse(e.data))}catch{}})},l)},[e,n,i,m]),{status:o}}])},69091,e=>{e.v(t=>Promise.all(["static/chunks/30fq_t9e2_fv-.js"].map(t=>e.l(t))).then(()=>t(12449)))},33996,e=>{e.v(t=>Promise.all(["static/chunks/21o42k82w4llc.js"].map(t=>e.l(t))).then(()=>t(25453)))},58913,e=>{e.v(t=>Promise.all(["static/chunks/2d09v5u7dfq0q.js"].map(t=>e.l(t))).then(()=>t(98568)))},56403,e=>{e.v(t=>Promise.all(["static/chunks/2tws5udjdcmh3.js"].map(t=>e.l(t))).then(()=>t(61518)))},70019,e=>{e.v(t=>Promise.all(["static/chunks/1lsg-22yob8dx.js"].map(t=>e.l(t))).then(()=>t(36471)))}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75174,e=>{"use strict";var t=e.i(13379);function r(e){let t=0;return{id_length:e[t++],colormap_type:e[t++],image_type:e[t++],colormap_index:e[t++]|e[t++]<<8,colormap_length:e[t++]|e[t++]<<8,colormap_size:e[t++],origin:[e[t++]|e[t++]<<8,e[t++]|e[t++]<<8],width:e[t++]|e[t++]<<8,height:e[t++]|e[t++]<<8,pixel_size:e[t++],flags:e[t]}}function i(e,i){let o,n,h,l,g,s,c,f;if(i.length<19)return void t.Logger.Error("Unable to load TGA file - Not enough data to contain header");let u=18,d=r(i);if(d.id_length+u>i.length)return void t.Logger.Error("Unable to load TGA file - Not enough data");u+=d.id_length;let w=!1,b=!1,_=!1;switch(d.image_type){case 9:w=!0;case 1:b=!0;break;case 10:w=!0;case 2:break;case 11:w=!0;case 3:_=!0}let p=d.pixel_size>>3,y=d.width*d.height*p;if(b&&(n=i.subarray(u,u+=d.colormap_length*(d.colormap_size>>3))),w){let e,t,r;o=new Uint8Array(y);let a=0,n=new Uint8Array(p);for(;u<y&&a<y;)if(t=(127&(e=i[u++]))+1,128&e){for(r=0;r<p;++r)n[r]=i[u++];for(r=0;r<t;++r)o.set(n,a+r*p);a+=p*t}else{for(t*=p,r=0;r<t;++r)o[a+r]=i[u++];a+=t}}else o=i.subarray(u,u+(b?d.width*d.height:y));switch((48&d.flags)>>4){default:case 2:h=0,g=1,f=d.width,l=0,s=1,c=d.height;break;case 0:h=0,g=1,f=d.width,l=d.height-1,s=-1,c=-1;break;case 3:h=d.width-1,g=-1,f=-1,l=0,s=1,c=d.height;break;case 1:h=d.width-1,g=-1,f=-1,l=d.height-1,s=-1,c=-1}let m=a["_getImageData"+(_?"Grey":"")+d.pixel_size+"bits"](d,n,o,l,s,c,h,g,f);e.getEngine()._uploadDataToTextureDirectly(e,m)}let a={GetTGAHeader:r,UploadContent:i,_getImageData8bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c,f=0,u,d,w=new Uint8Array(g*s*4);for(d=i;d!==o;d+=a)for(u=n;u!==l;u+=h,f++)c=r[f],w[(u+g*d)*4+3]=255,w[(u+g*d)*4+2]=t[3*c+0],w[(u+g*d)*4+1]=t[3*c+1],w[(u+g*d)*4+0]=t[3*c+2];return w},_getImageData16bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c,f=0,u,d,w=new Uint8Array(g*s*4);for(d=i;d!==o;d+=a)for(u=n;u!==l;u+=h,f+=2){let e=((31744&(c=r[f+0]+(r[f+1]<<8)))>>10)*255/31|0,t=((992&c)>>5)*255/31|0,i=(31&c)*255/31|0;w[(u+g*d)*4+0]=e,w[(u+g*d)*4+1]=t,w[(u+g*d)*4+2]=i,w[(u+g*d)*4+3]=32768&c?0:255}return w},_getImageData24bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c=0,f,u,d=new Uint8Array(g*s*4);for(u=i;u!==o;u+=a)for(f=n;f!==l;f+=h,c+=3)d[(f+g*u)*4+3]=255,d[(f+g*u)*4+2]=r[c+0],d[(f+g*u)*4+1]=r[c+1],d[(f+g*u)*4+0]=r[c+2];return d},_getImageData32bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c=0,f,u,d=new Uint8Array(g*s*4);for(u=i;u!==o;u+=a)for(f=n;f!==l;f+=h,c+=4)d[(f+g*u)*4+2]=r[c+0],d[(f+g*u)*4+1]=r[c+1],d[(f+g*u)*4+0]=r[c+2],d[(f+g*u)*4+3]=r[c+3];return d},_getImageDataGrey8bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c,f=0,u,d,w=new Uint8Array(g*s*4);for(d=i;d!==o;d+=a)for(u=n;u!==l;u+=h,f++)c=r[f],w[(u+g*d)*4+0]=c,w[(u+g*d)*4+1]=c,w[(u+g*d)*4+2]=c,w[(u+g*d)*4+3]=255;return w},_getImageDataGrey16bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c=0,f,u,d=new Uint8Array(g*s*4);for(u=i;u!==o;u+=a)for(f=n;f!==l;f+=h,c+=2)d[(f+g*u)*4+0]=r[c+0],d[(f+g*u)*4+1]=r[c+0],d[(f+g*u)*4+2]=r[c+0],d[(f+g*u)*4+3]=r[c+1];return d}};e.s(["_TGATextureLoader",0,class{constructor(){this.supportCascades=!1}loadCubeData(){throw".env not supported in Cube."}loadData(e,t,a){let o=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=r(o);a(n.width,n.height,t.generateMipMaps,!1,()=>{i(t,o)})}}],75174)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12423,t=>{"use strict";class e{static GetShadersRepository(t=0){return 0===t?e.ShadersRepository:e.ShadersRepositoryWGSL}static GetShadersStore(t=0){return 0===t?e.ShadersStore:e.ShadersStoreWGSL}static GetIncludesShadersStore(t=0){return 0===t?e.IncludesShadersStore:e.IncludesShadersStoreWGSL}}e.ShadersRepository="src/Shaders/",e.ShadersStore={},e.IncludesShadersStore={},e.ShadersRepositoryWGSL="src/ShadersWGSL/",e.ShadersStoreWGSL={},e.IncludesShadersStoreWGSL={},t.s(["ShaderStore",0,e])},1773,t=>{"use strict";t.s(["useOpenGLOrientationForUV",()=>!1])},25348,t=>{"use strict";class e{constructor(t,e,s,i){this.x=t,this.y=e,this.width=s,this.height=i}toGlobal(t,s){return new e(this.x*t,this.y*s,this.width*t,this.height*s)}toGlobalToRef(t,e,s){return s.x=this.x*t,s.y=this.y*e,s.width=this.width*t,s.height=this.height*e,this}clone(){return new e(this.x,this.y,this.width,this.height)}}t.s(["Viewport",0,e])},70247,t=>{"use strict";var e,s,i,r,h=t.i(96265);(e=i||(i={}))[e.LOCAL=0]="LOCAL",e[e.WORLD=1]="WORLD",e[e.BONE=2]="BONE";class a{}a.X=new h.Vector3(1,0,0),a.Y=new h.Vector3(0,1,0),a.Z=new h.Vector3(0,0,1),(s=r||(r={}))[s.X=0]="X",s[s.Y=1]="Y",s[s.Z=2]="Z",t.s(["Axis",0,a,"Coordinate",0,r,"Space",0,i])},44939,t=>{"use strict";var e=t.i(23240);t.s(["DrawWrapper",0,class{static GetEffect(t){return void 0===t.getPipelineContext?t.effect:t}constructor(t,e=!0){this._wasPreviouslyReady=!1,this._forceRebindOnNextCall=!0,this._wasPreviouslyUsingInstances=null,this.effect=null,this.defines=null,this.drawContext=t.createDrawContext(),e&&(this.materialContext=t.createMaterialContext())}setEffect(t,e,s=!0){this.effect=t,void 0!==e&&(this.defines=e),s&&this.drawContext?.reset()}dispose(t=!1){if(this.effect){let s=this.effect;t?s.dispose():e.TimingTools.SetImmediate(()=>{s.getEngine().onEndFrameObservable.addOnce(()=>{s.dispose()})}),this.effect=null}this.drawContext?.dispose()}}])},49007,t=>{"use strict";t.s(["IntersectionInfo",0,class{constructor(t,e,s){this.bu=t,this.bv=e,this.distance=s,this.faceId=0,this.subMeshId=0,this._internalSubMeshId=0}}])},35131,t=>{"use strict";var e=t.i(40408);(0,e.RegisterMesh)(),t.s([],35627),t.i(35627),t.s(["Mesh",()=>e.Mesh,"RegisterMesh",()=>e.RegisterMesh,"_CreationDataStorage",()=>e._CreationDataStorage,"_InstancesBatch",()=>e._InstancesBatch],35131)},42829,t=>{t.v(e=>Promise.all(["static/chunks/3l1dr_qm_x5kp.js"].map(e=>t.l(e))).then(()=>e(47786)))}]);
@@ -0,0 +1,176 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4357,e=>{"use strict";var r=e.i(12423);let f="helperFunctions",n=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
2
+ const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
3
+ fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
4
+ fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
5
+ fn saturateEps(x: f32)->f32 {return clamp(x,Epsilon,1.0);}
6
+ fn maxEps(x: f32)->f32 {return max(x,Epsilon);}
7
+ fn maxEpsVec3(x: vec3f)->vec3f {return max(x,vec3f(Epsilon));}
8
+ fn absEps(x: f32)->f32 {return abs(x)+Epsilon;}
9
+ fn transposeMat3(inMatrix: mat3x3f)->mat3x3f {let i0: vec3f=inMatrix[0];let i1: vec3f=inMatrix[1];let i2: vec3f=inMatrix[2];let outMatrix:mat3x3f=mat3x3f(
10
+ vec3(i0.x,i1.x,i2.x),
11
+ vec3(i0.y,i1.y,i2.y),
12
+ vec3(i0.z,i1.z,i2.z)
13
+ );return outMatrix;}
14
+ fn inverseMat3(inMatrix: mat3x3f)->mat3x3f {let a00: f32=inMatrix[0][0];let a01: f32=inMatrix[0][1];let a02: f32=inMatrix[0][2];let a10: f32=inMatrix[1][0];let a11: f32=inMatrix[1][1];let a12: f32=inMatrix[1][2];let a20: f32=inMatrix[2][0];let a21: f32=inMatrix[2][1];let a22: f32=inMatrix[2][2];let b01: f32=a22*a11-a12*a21;let b11: f32=-a22*a10+a12*a20;let b21: f32=a21*a10-a11*a20;let det: f32=a00*b01+a01*b11+a02*b21;return mat3x3f(b01/det,(-a22*a01+a02*a21)/det,(a12*a01-a02*a11)/det,
15
+ b11/det,(a22*a00-a02*a20)/det,(-a12*a00+a02*a10)/det,
16
+ b21/det,(-a21*a00+a01*a20)/det,(a11*a00-a01*a10)/det);}
17
+ #if USE_EXACT_SRGB_CONVERSIONS
18
+ fn toLinearSpaceExact(color: vec3f)->vec3f
19
+ {let nearZeroSection: vec3f=0.0773993808*color;let remainingSection: vec3f=pow(0.947867299*(color+vec3f(0.055)),vec3f(2.4));return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3f(0.04045)));}
20
+ fn toGammaSpaceExact(color: vec3f)->vec3f
21
+ {let nearZeroSection: vec3f=12.92*color;let remainingSection: vec3f=1.055*pow(color,vec3f(0.41666))-vec3f(0.055);return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3f(0.0031308)));}
22
+ #endif
23
+ fn toLinearSpace(color: f32)->f32
24
+ {
25
+ #if USE_EXACT_SRGB_CONVERSIONS
26
+ var nearZeroSection=0.0773993808*color;var remainingSection=pow(0.947867299*(color+0.055),2.4);return select(remainingSection,nearZeroSection,color<=0.04045);
27
+ #else
28
+ return pow(color,LinearEncodePowerApprox);
29
+ #endif
30
+ }
31
+ fn toLinearSpaceVec3(color: vec3f)->vec3f
32
+ {
33
+ #if USE_EXACT_SRGB_CONVERSIONS
34
+ return toLinearSpaceExact(color);
35
+ #else
36
+ return pow(color,vec3f(LinearEncodePowerApprox));
37
+ #endif
38
+ }
39
+ fn toLinearSpaceVec4(color: vec4<f32>)->vec4<f32>
40
+ {
41
+ #if USE_EXACT_SRGB_CONVERSIONS
42
+ return vec4f(toLinearSpaceExact(color.rgb),color.a);
43
+ #else
44
+ return vec4f(pow(color.rgb,vec3f(LinearEncodePowerApprox)),color.a);
45
+ #endif
46
+ }
47
+ fn toGammaSpace(color: vec4<f32>)->vec4<f32>
48
+ {
49
+ #if USE_EXACT_SRGB_CONVERSIONS
50
+ return vec4<f32>(toGammaSpaceExact(color.rgb),color.a);
51
+ #else
52
+ return vec4<f32>(pow(color.rgb,vec3f(GammaEncodePowerApprox)),color.a);
53
+ #endif
54
+ }
55
+ fn toGammaSpaceVec3(color: vec3f)->vec3f
56
+ {
57
+ #if USE_EXACT_SRGB_CONVERSIONS
58
+ return toGammaSpaceExact(color);
59
+ #else
60
+ return pow(color,vec3f(GammaEncodePowerApprox));
61
+ #endif
62
+ }
63
+ fn squareVec3(value: vec3f)->vec3f
64
+ {return value*value;}
65
+ fn pow5(value: f32)->f32 {let sq: f32=value*value;return sq*sq*value;}
66
+ fn double_refract(I: vec3f,N: vec3f,eta: f32)->vec3f {let Tfront: vec3f=refract(I,N,1.0/eta);let Nback: vec3f=normalize(reflect(N,Tfront));return refract(Tfront,-Nback,eta);}
67
+ fn getLuminanceUnclamped(color: vec3f)->f32
68
+ {return dot(color,LuminanceEncodeApprox);}
69
+ fn getLuminance(color: vec3f)->f32
70
+ {return saturate(getLuminanceUnclamped(color));}
71
+ fn getRand(seed: vec2<f32>)->f32 {return fract(sin(dot(seed.xy ,vec2<f32>(12.9898,78.233)))*43758.5453);}
72
+ fn dither(seed: vec2<f32>,varianceAmount: f32)->f32 {let rand: f32=getRand(seed);let normVariance: f32=varianceAmount/255.0;let dither: f32=mix(-normVariance,normVariance,rand);return dither;}
73
+ const rgbdMaxRange: f32=255.0;fn toRGBD(color: vec3f)->vec4<f32> {let maxRGB: f32=max(max(color.r,max(color.g,color.b)),Epsilon);var D: f32 =max(rgbdMaxRange/maxRGB,1.);D =clamp(floor(D)/255.0,0.,1.);var rgb: vec3f =color.rgb*D;rgb=toGammaSpaceVec3(rgb);return vec4<f32>(saturateVec3(rgb),D);}
74
+ fn fromRGBD(rgbd: vec4<f32>)->vec3f {let rgb=toLinearSpaceVec3(rgbd.rgb);return rgb/rgbd.a;}
75
+ fn parallaxCorrectNormal(vertexPos: vec3f,origVec: vec3f,cubeSize: vec3f,cubePos: vec3f)->vec3f {let invOrigVec: vec3f=vec3f(1.)/origVec;let halfSize: vec3f=cubeSize*0.5;let intersecAtMaxPlane: vec3f=(cubePos+halfSize-vertexPos)*invOrigVec;let intersecAtMinPlane: vec3f=(cubePos-halfSize-vertexPos)*invOrigVec;let largestIntersec: vec3f=max(intersecAtMaxPlane,intersecAtMinPlane);let distance: f32=min(min(largestIntersec.x,largestIntersec.y),largestIntersec.z);let intersectPositionWS: vec3f=vertexPos+origVec*distance;return intersectPositionWS-cubePos;}
76
+ fn equirectangularToCubemapDirection(uv : vec2f)->vec3f {var longitude : f32=uv.x*TWO_PI-PI;var latitude : f32=HALF_PI-uv.y*PI;var direction : vec3f;direction.x=cos(latitude)*sin(longitude);direction.y=sin(latitude);direction.z=cos(latitude)*cos(longitude);return direction;}
77
+ fn sqrtClamped(value: f32)->f32 {return sqrt(max(value,0.));}
78
+ fn avg(value: vec3f)->f32 {return dot(value,vec3f(0.333333333));}
79
+ fn singleScatterToMultiScatterAlbedo(rho_ss: vec3f)->vec3f {let s: vec3f=sqrt(max(vec3f(1.0)-rho_ss,vec3f(0.0)));return (vec3f(1.0)-s)*(vec3f(1.0)-vec3f(0.139)*s)/(vec3f(1.0)+vec3f(1.17)*s);}
80
+ fn multiScatterToSingleScatterAlbedo(rho_ms: vec3f)->vec3f {let s: vec3f=4.09712f+4.20863f*rho_ms-sqrt(9.59217f+41.6808f*rho_ms+17.7126f*rho_ms*rho_ms);return 1.0f-s*s;}
81
+ fn multiScatterToSingleScatterAlbedoWithAniso(rho_ms: vec3f,aniso: f32)->vec3f {let s: vec3f=4.09712+4.20863f*rho_ms-sqrt(9.59217f+41.6808f*rho_ms+17.7126f*rho_ms*rho_ms);return (vec3f(1.0f)-s*s)/maxEpsVec3(vec3f(1.0f)-vec3f(aniso)*s*s);}
82
+ fn min3(v: vec3f)->f32 {return min(v.x,min(v.y,v.z));}
83
+ fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
84
+ fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
85
+ fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
86
+ uint2float(rstate*2447445414u));}
87
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["helperFunctionsWGSL",0,{name:f,shader:n}])},35182,25626,63406,31213,e=>{"use strict";var r=e.i(12423);let f="clipPlaneFragmentDeclaration",n=`#ifdef CLIPPLANE
88
+ varying fClipDistance: f32;
89
+ #endif
90
+ #ifdef CLIPPLANE2
91
+ varying fClipDistance2: f32;
92
+ #endif
93
+ #ifdef CLIPPLANE3
94
+ varying fClipDistance3: f32;
95
+ #endif
96
+ #ifdef CLIPPLANE4
97
+ varying fClipDistance4: f32;
98
+ #endif
99
+ #ifdef CLIPPLANE5
100
+ varying fClipDistance5: f32;
101
+ #endif
102
+ #ifdef CLIPPLANE6
103
+ varying fClipDistance6: f32;
104
+ #endif
105
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:f,shader:n}],35182);let a="fogFragmentDeclaration",o=`#ifdef FOG
106
+ #define FOGMODE_NONE 0.
107
+ #define FOGMODE_EXP 1.
108
+ #define FOGMODE_EXP2 2.
109
+ #define FOGMODE_LINEAR 3.
110
+ const E=2.71828;uniform vFogInfos: vec4f;uniform vFogColor: vec3f;varying vFogDistance: vec3f;fn CalcFogFactor()->f32
111
+ {var fogCoeff: f32=1.0;var fogStart: f32=uniforms.vFogInfos.y;var fogEnd: f32=uniforms.vFogInfos.z;var fogDensity: f32=uniforms.vFogInfos.w;var fogDistance: f32=length(fragmentInputs.vFogDistance);if (FOGMODE_LINEAR==uniforms.vFogInfos.x)
112
+ {fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}
113
+ else if (FOGMODE_EXP==uniforms.vFogInfos.x)
114
+ {fogCoeff=1.0/pow(E,fogDistance*fogDensity);}
115
+ else if (FOGMODE_EXP2==uniforms.vFogInfos.x)
116
+ {fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
117
+ return clamp(fogCoeff,0.0,1.0);}
118
+ #endif
119
+ `;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=o),e.s(["fogFragmentDeclarationWGSL",0,{name:a,shader:o}],25626);let t="clipPlaneFragment",i=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
120
+ if (false) {}
121
+ #endif
122
+ #ifdef CLIPPLANE
123
+ else if (fragmentInputs.fClipDistance>0.0)
124
+ {discard;}
125
+ #endif
126
+ #ifdef CLIPPLANE2
127
+ else if (fragmentInputs.fClipDistance2>0.0)
128
+ {discard;}
129
+ #endif
130
+ #ifdef CLIPPLANE3
131
+ else if (fragmentInputs.fClipDistance3>0.0)
132
+ {discard;}
133
+ #endif
134
+ #ifdef CLIPPLANE4
135
+ else if (fragmentInputs.fClipDistance4>0.0)
136
+ {discard;}
137
+ #endif
138
+ #ifdef CLIPPLANE5
139
+ else if (fragmentInputs.fClipDistance5>0.0)
140
+ {discard;}
141
+ #endif
142
+ #ifdef CLIPPLANE6
143
+ else if (fragmentInputs.fClipDistance6>0.0)
144
+ {discard;}
145
+ #endif
146
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneFragmentWGSL",0,{name:t,shader:i}],63406);let c="fogFragment",s=`#ifdef FOG
147
+ var fog: f32=CalcFogFactor();
148
+ #ifdef PBR
149
+ fog=toLinearSpace(fog);
150
+ #endif
151
+ color= vec4f(mix(uniforms.vFogColor,color.rgb,fog),color.a);
152
+ #endif
153
+ `;r.ShaderStore.IncludesShadersStoreWGSL[c]||(r.ShaderStore.IncludesShadersStoreWGSL[c]=s),e.s(["fogFragmentWGSL",0,{name:c,shader:s}],31213)},60106,50008,84933,39780,54758,e=>{"use strict";var r=e.i(12423);let f="sceneUboDeclaration",n=`struct Scene {viewProjection : mat4x4<f32>,
154
+ #ifdef MULTIVIEW
155
+ viewProjectionR : mat4x4<f32>,
156
+ #endif
157
+ view : mat4x4<f32>,
158
+ projection : mat4x4<f32>,
159
+ vEyePosition : vec4<f32>,
160
+ inverseProjection : mat4x4<f32>,};
161
+ #define SCENE_UBO
162
+ var<uniform> scene : Scene;
163
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["sceneUboDeclarationWGSL",0,{name:f,shader:n}],60106);let a="meshUboDeclaration",o=`struct Mesh {world : mat4x4<f32>,
164
+ visibility : f32,};var<uniform> mesh : Mesh;
165
+ #define WORLD_UBO
166
+ `;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=o),e.s(["meshUboDeclarationWGSL",0,{name:a,shader:o}],50008);let t="defaultUboDeclaration",i=`uniform diffuseLeftColor: vec4f;uniform diffuseRightColor: vec4f;uniform opacityParts: vec4f;uniform reflectionLeftColor: vec4f;uniform reflectionRightColor: vec4f;uniform refractionLeftColor: vec4f;uniform refractionRightColor: vec4f;uniform emissiveLeftColor: vec4f;uniform emissiveRightColor: vec4f;uniform vDiffuseInfos: vec2f;uniform vAmbientInfos: vec2f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vSpecularInfos: vec2f;uniform vBumpInfos: vec3f;uniform diffuseMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform specularMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform pointSize: f32;uniform alphaCutOff: f32;uniform refractionMatrix: mat4x4f;uniform vRefractionInfos: vec4f;uniform vRefractionPosition: vec3f;uniform vRefractionSize: vec3f;uniform vSpecularColor: vec4f;uniform vEmissiveColor: vec3f;uniform vDiffuseColor: vec4f;uniform vAmbientColor: vec3f;uniform cameraInfo: vec4f;uniform vTextureRepetitionHexTilingParams: vec4f;uniform vReflectionInfos: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;
167
+ #define ADDITIONAL_UBO_DECLARATION
168
+ #include<sceneUboDeclaration>
169
+ #include<meshUboDeclaration>
170
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["defaultUboDeclarationWGSL",0,{name:t,shader:i}],84933);let c="mainUVVaryingDeclaration",s=`#ifdef MAINUV{X}
171
+ varying vMainUV{X}: vec2f;
172
+ #endif
173
+ `;r.ShaderStore.IncludesShadersStoreWGSL[c]||(r.ShaderStore.IncludesShadersStoreWGSL[c]=s),e.s(["mainUVVaryingDeclarationWGSL",0,{name:c,shader:s}],39780);let l="logDepthDeclaration",v=`#ifdef LOGARITHMICDEPTH
174
+ uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
175
+ #endif
176
+ `;r.ShaderStore.IncludesShadersStoreWGSL[l]||(r.ShaderStore.IncludesShadersStoreWGSL[l]=v),e.s(["logDepthDeclarationWGSL",0,{name:l,shader:v}],54758)}]);