@expofp/floorplan 3.0.0 → 3.0.1
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/dist/browser/{Debug-Yknbb09q.js → Debug-b2YI2Uxo.js} +3 -3
- package/dist/browser/{Demo-CaOFZa6L.js → Demo-aEKqZbJJ.js} +4 -4
- package/dist/browser/{Free-DTL80JI4.js → Free-BGr4o53R.js} +4 -4
- package/dist/browser/{Gallery-Du04PQQo.js → Gallery-C9n64fhu.js} +4 -4
- package/dist/browser/{GpsLoader-Cvn6RlOm.js → GpsLoader-ChxBR2EI.js} +4 -4
- package/dist/browser/{KioskStore-De5ViEMC.js → KioskStore-DkCSeq5I.js} +4 -4
- package/dist/browser/{Mapbox-DwX3p3Kb.js → Mapbox-Cl0Wxz2h.js} +5 -5
- package/dist/browser/{SetKioskMode-DY8Ihzh_.js → SetKioskMode-D3EJeF9c.js} +5 -5
- package/dist/browser/{ShowKiosk-fqRB_BUN.js → ShowKiosk-Bs5q-1RZ.js} +4 -4
- package/dist/browser/{ThreeComponent-CrAcuY6n.js → ThreeComponent-CSsqNYDu.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-CdiEJm9h.js → ViewerMenuPanel-BMmB1p03.js} +4 -4
- package/dist/browser/{boolean-editor-BCIboJVq.js → boolean-editor-DpnmndKH.js} +4 -4
- package/dist/browser/bundle.json +29 -29
- package/dist/browser/{client-BU0UzF6H.js → client-CN_I7kK8.js} +2 -2
- package/dist/browser/{data-DU1RvfMj.js → data-CIAMSGsv.js} +2 -2
- package/dist/browser/{debug-overlay-DMGwYhOT.js → debug-overlay-DjmA0D2r.js} +5 -5
- package/dist/browser/{debug-ui-BZSH53uY.js → debug-ui-D1QGTN8V.js} +4 -4
- package/dist/browser/{favicon-ZTHZQvuM.js → favicon-BpTKNfwa.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CFhXCSM1.js → fetch-retry.umd-B8hV1FNr.js} +1 -1
- package/dist/browser/{flex-D0XnC5Mw.js → flex-09atkOGP.js} +3 -3
- package/dist/browser/{floorplan.ready-DwzYk5s3.js → floorplan.ready-BQetaqdP.js} +225 -227
- package/dist/browser/{index-BZDxL6gh.js → index-Bw6xZlSd.js} +1 -1
- package/dist/browser/{index-BpZSlPvc.js → index-C71k7nSe.js} +3 -3
- package/dist/browser/{index-h3LFHvKr.js → index-CWLY6XdC.js} +4 -4
- package/dist/browser/{index-fEI_0iId.js → index-D9pdVw-U.js} +1 -1
- package/dist/browser/{index-BxFqdKuM.js → index-DPSQIIUy.js} +5 -5
- package/dist/browser/{index-xQ7Ip4HB.js → index-jp-Zhdyp.js} +2 -2
- package/dist/browser/index.js +592 -592
- package/dist/browser/{jsx-runtime-SRODV826.js → jsx-runtime-CoKhM3tL.js} +1 -1
- package/dist/browser/{main-CcaoXWR4.js → main-DxaHLbma.js} +1 -1
- package/dist/browser/{particles.min-Ds_4ex2r.js → particles.min-CsHbc6cO.js} +1 -1
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
function __vite_inject_css__(css, id){ if (typeof document==='undefined') return; var parent=(typeof window!=='undefined'&&window.__efpShadowDOMStyleParent)||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
|
|
2
|
-
import { j as _ } from "./jsx-runtime-
|
|
2
|
+
import { j as _ } from "./jsx-runtime-CoKhM3tL.js";
|
|
3
3
|
import { l as nt, D as b0, d as Jm, g as pP, a as oM, b as mP, W as Du, c as gP, i as vP, w as aM, e as lM, r as z, R as yP, f as bP, s as _P, o as ut, h as xe, j as cs, t as xP, k as ko, m as rs, n as yi, S as Qm, p as he, q as oe, u as SP, v as wP, x as TP, y as $n, F as EP, z as ce, A as cM, B as jt, C as pu, E as uM, G as MP, H as CP, I as AP, J as ma, K as PP, L as xa, M as Bi, N as RP, O as OP, P as kP, Q as Sa, T as oy, U as To, V as eg, X as ul, Y as DP, Z as IP, _ as LP, $ as tg, a0 as _d, a1 as hM, a2 as dM, a3 as Pn, a4 as ig, a5 as fM, a6 as pM, a7 as FP, a8 as Vf, a9 as ng, aa as Gf, ab as rg, ac as _0, ad as x0, ae as mM, af as Nl, ag as cr, ah as wa, ai as sg, aj as ay, ak as Wf, al as NP, am as BP, an as UP, ao as S0, ap as zP, aq as jP, ar as HP, as as VP, at as Iu, au as GP } from "./index.js";
|
|
4
|
-
import { a as WP } from "./client-
|
|
5
|
-
import { y as We, r as ly, R as Lu } from "./index-
|
|
4
|
+
import { a as WP } from "./client-CN_I7kK8.js";
|
|
5
|
+
import { y as We, r as ly, R as Lu } from "./index-jp-Zhdyp.js";
|
|
6
6
|
(function() {
|
|
7
7
|
try {
|
|
8
8
|
var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
9
|
-
i.SENTRY_RELEASE = { id: "3.0.
|
|
9
|
+
i.SENTRY_RELEASE = { id: "3.0.1" };
|
|
10
10
|
var e = new i.Error().stack;
|
|
11
|
-
e && (i._sentryDebugIds = i._sentryDebugIds || {}, i._sentryDebugIds[e] = "
|
|
11
|
+
e && (i._sentryDebugIds = i._sentryDebugIds || {}, i._sentryDebugIds[e] = "8de3e8f4-2219-430e-9f18-45ae7ead5d0c", i._sentryDebugIdIdentifier = "sentry-dbid-8de3e8f4-2219-430e-9f18-45ae7ead5d0c");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
@@ -17221,7 +17221,7 @@ IncidentLight directLight;
|
|
|
17221
17221
|
tbn2[1] *= faceDirection;
|
|
17222
17222
|
#endif
|
|
17223
17223
|
#endif
|
|
17224
|
-
vec3 nonPerturbedNormal = normal;`,
|
|
17224
|
+
vec3 nonPerturbedNormal = normal;`, e3 = `#ifdef USE_NORMALMAP_OBJECTSPACE
|
|
17225
17225
|
normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;
|
|
17226
17226
|
#ifdef FLIP_SIDED
|
|
17227
17227
|
normal = - normal;
|
|
@@ -17236,25 +17236,25 @@ vec3 nonPerturbedNormal = normal;`, eB = `#ifdef USE_NORMALMAP_OBJECTSPACE
|
|
|
17236
17236
|
normal = normalize( tbn * mapN );
|
|
17237
17237
|
#elif defined( USE_BUMPMAP )
|
|
17238
17238
|
normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );
|
|
17239
|
-
#endif`,
|
|
17239
|
+
#endif`, t3 = `#ifndef FLAT_SHADED
|
|
17240
17240
|
varying vec3 vNormal;
|
|
17241
17241
|
#ifdef USE_TANGENT
|
|
17242
17242
|
varying vec3 vTangent;
|
|
17243
17243
|
varying vec3 vBitangent;
|
|
17244
17244
|
#endif
|
|
17245
|
-
#endif`,
|
|
17245
|
+
#endif`, i3 = `#ifndef FLAT_SHADED
|
|
17246
17246
|
varying vec3 vNormal;
|
|
17247
17247
|
#ifdef USE_TANGENT
|
|
17248
17248
|
varying vec3 vTangent;
|
|
17249
17249
|
varying vec3 vBitangent;
|
|
17250
17250
|
#endif
|
|
17251
|
-
#endif`,
|
|
17251
|
+
#endif`, n3 = `#ifndef FLAT_SHADED
|
|
17252
17252
|
vNormal = normalize( transformedNormal );
|
|
17253
17253
|
#ifdef USE_TANGENT
|
|
17254
17254
|
vTangent = normalize( transformedTangent );
|
|
17255
17255
|
vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );
|
|
17256
17256
|
#endif
|
|
17257
|
-
#endif`,
|
|
17257
|
+
#endif`, r3 = `#ifdef USE_NORMALMAP
|
|
17258
17258
|
uniform sampler2D normalMap;
|
|
17259
17259
|
uniform vec2 normalScale;
|
|
17260
17260
|
#endif
|
|
@@ -17276,13 +17276,13 @@ vec3 nonPerturbedNormal = normal;`, eB = `#ifdef USE_NORMALMAP_OBJECTSPACE
|
|
|
17276
17276
|
float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );
|
|
17277
17277
|
return mat3( T * scale, B * scale, N );
|
|
17278
17278
|
}
|
|
17279
|
-
#endif`,
|
|
17279
|
+
#endif`, s3 = `#ifdef USE_CLEARCOAT
|
|
17280
17280
|
vec3 clearcoatNormal = nonPerturbedNormal;
|
|
17281
|
-
#endif`,
|
|
17281
|
+
#endif`, o3 = `#ifdef USE_CLEARCOAT_NORMALMAP
|
|
17282
17282
|
vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;
|
|
17283
17283
|
clearcoatMapN.xy *= clearcoatNormalScale;
|
|
17284
17284
|
clearcoatNormal = normalize( tbn2 * clearcoatMapN );
|
|
17285
|
-
#endif`,
|
|
17285
|
+
#endif`, a3 = `#ifdef USE_CLEARCOATMAP
|
|
17286
17286
|
uniform sampler2D clearcoatMap;
|
|
17287
17287
|
#endif
|
|
17288
17288
|
#ifdef USE_CLEARCOAT_NORMALMAP
|
|
@@ -17291,18 +17291,18 @@ vec3 nonPerturbedNormal = normal;`, eB = `#ifdef USE_NORMALMAP_OBJECTSPACE
|
|
|
17291
17291
|
#endif
|
|
17292
17292
|
#ifdef USE_CLEARCOAT_ROUGHNESSMAP
|
|
17293
17293
|
uniform sampler2D clearcoatRoughnessMap;
|
|
17294
|
-
#endif`,
|
|
17294
|
+
#endif`, l3 = `#ifdef USE_IRIDESCENCEMAP
|
|
17295
17295
|
uniform sampler2D iridescenceMap;
|
|
17296
17296
|
#endif
|
|
17297
17297
|
#ifdef USE_IRIDESCENCE_THICKNESSMAP
|
|
17298
17298
|
uniform sampler2D iridescenceThicknessMap;
|
|
17299
|
-
#endif`,
|
|
17299
|
+
#endif`, c3 = `#ifdef OPAQUE
|
|
17300
17300
|
diffuseColor.a = 1.0;
|
|
17301
17301
|
#endif
|
|
17302
17302
|
#ifdef USE_TRANSMISSION
|
|
17303
17303
|
diffuseColor.a *= material.transmissionAlpha;
|
|
17304
17304
|
#endif
|
|
17305
|
-
gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,
|
|
17305
|
+
gl_FragColor = vec4( outgoingLight, diffuseColor.a );`, u3 = `vec3 packNormalToRGB( const in vec3 normal ) {
|
|
17306
17306
|
return normalize( normal ) * 0.5 + 0.5;
|
|
17307
17307
|
}
|
|
17308
17308
|
vec3 unpackRGBToNormal( const in vec3 rgb ) {
|
|
@@ -17371,9 +17371,9 @@ float viewZToPerspectiveDepth( const in float viewZ, const in float near, const
|
|
|
17371
17371
|
}
|
|
17372
17372
|
float perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {
|
|
17373
17373
|
return ( near * far ) / ( ( far - near ) * depth - far );
|
|
17374
|
-
}`,
|
|
17374
|
+
}`, h3 = `#ifdef PREMULTIPLIED_ALPHA
|
|
17375
17375
|
gl_FragColor.rgb *= gl_FragColor.a;
|
|
17376
|
-
#endif`,
|
|
17376
|
+
#endif`, d3 = `vec4 mvPosition = vec4( transformed, 1.0 );
|
|
17377
17377
|
#ifdef USE_BATCHING
|
|
17378
17378
|
mvPosition = batchingMatrix * mvPosition;
|
|
17379
17379
|
#endif
|
|
@@ -17381,22 +17381,22 @@ float perspectiveDepthToViewZ( const in float depth, const in float near, const
|
|
|
17381
17381
|
mvPosition = instanceMatrix * mvPosition;
|
|
17382
17382
|
#endif
|
|
17383
17383
|
mvPosition = modelViewMatrix * mvPosition;
|
|
17384
|
-
gl_Position = projectionMatrix * mvPosition;`,
|
|
17384
|
+
gl_Position = projectionMatrix * mvPosition;`, f3 = `#ifdef DITHERING
|
|
17385
17385
|
gl_FragColor.rgb = dithering( gl_FragColor.rgb );
|
|
17386
|
-
#endif`,
|
|
17386
|
+
#endif`, p3 = `#ifdef DITHERING
|
|
17387
17387
|
vec3 dithering( vec3 color ) {
|
|
17388
17388
|
float grid_position = rand( gl_FragCoord.xy );
|
|
17389
17389
|
vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );
|
|
17390
17390
|
dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );
|
|
17391
17391
|
return color + dither_shift_RGB;
|
|
17392
17392
|
}
|
|
17393
|
-
#endif`,
|
|
17393
|
+
#endif`, m3 = `float roughnessFactor = roughness;
|
|
17394
17394
|
#ifdef USE_ROUGHNESSMAP
|
|
17395
17395
|
vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );
|
|
17396
17396
|
roughnessFactor *= texelRoughness.g;
|
|
17397
|
-
#endif`,
|
|
17397
|
+
#endif`, g3 = `#ifdef USE_ROUGHNESSMAP
|
|
17398
17398
|
uniform sampler2D roughnessMap;
|
|
17399
|
-
#endif`,
|
|
17399
|
+
#endif`, v3 = `#if NUM_SPOT_LIGHT_COORDS > 0
|
|
17400
17400
|
varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];
|
|
17401
17401
|
#endif
|
|
17402
17402
|
#if NUM_SPOT_LIGHT_MAPS > 0
|
|
@@ -17582,7 +17582,7 @@ gl_Position = projectionMatrix * mvPosition;`, fB = `#ifdef DITHERING
|
|
|
17582
17582
|
}
|
|
17583
17583
|
return mix( 1.0, shadow, shadowIntensity );
|
|
17584
17584
|
}
|
|
17585
|
-
#endif`,
|
|
17585
|
+
#endif`, y3 = `#if NUM_SPOT_LIGHT_COORDS > 0
|
|
17586
17586
|
uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];
|
|
17587
17587
|
varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];
|
|
17588
17588
|
#endif
|
|
@@ -17623,7 +17623,7 @@ gl_Position = projectionMatrix * mvPosition;`, fB = `#ifdef DITHERING
|
|
|
17623
17623
|
};
|
|
17624
17624
|
uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];
|
|
17625
17625
|
#endif
|
|
17626
|
-
#endif`,
|
|
17626
|
+
#endif`, b3 = `#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )
|
|
17627
17627
|
vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );
|
|
17628
17628
|
vec4 shadowWorldPosition;
|
|
17629
17629
|
#endif
|
|
@@ -17655,7 +17655,7 @@ gl_Position = projectionMatrix * mvPosition;`, fB = `#ifdef DITHERING
|
|
|
17655
17655
|
vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;
|
|
17656
17656
|
}
|
|
17657
17657
|
#pragma unroll_loop_end
|
|
17658
|
-
#endif`,
|
|
17658
|
+
#endif`, _3 = `float getShadowMask() {
|
|
17659
17659
|
float shadow = 1.0;
|
|
17660
17660
|
#ifdef USE_SHADOWMAP
|
|
17661
17661
|
#if NUM_DIR_LIGHT_SHADOWS > 0
|
|
@@ -17687,12 +17687,12 @@ gl_Position = projectionMatrix * mvPosition;`, fB = `#ifdef DITHERING
|
|
|
17687
17687
|
#endif
|
|
17688
17688
|
#endif
|
|
17689
17689
|
return shadow;
|
|
17690
|
-
}`,
|
|
17690
|
+
}`, x3 = `#ifdef USE_SKINNING
|
|
17691
17691
|
mat4 boneMatX = getBoneMatrix( skinIndex.x );
|
|
17692
17692
|
mat4 boneMatY = getBoneMatrix( skinIndex.y );
|
|
17693
17693
|
mat4 boneMatZ = getBoneMatrix( skinIndex.z );
|
|
17694
17694
|
mat4 boneMatW = getBoneMatrix( skinIndex.w );
|
|
17695
|
-
#endif`,
|
|
17695
|
+
#endif`, S3 = `#ifdef USE_SKINNING
|
|
17696
17696
|
uniform mat4 bindMatrix;
|
|
17697
17697
|
uniform mat4 bindMatrixInverse;
|
|
17698
17698
|
uniform highp sampler2D boneTexture;
|
|
@@ -17707,7 +17707,7 @@ gl_Position = projectionMatrix * mvPosition;`, fB = `#ifdef DITHERING
|
|
|
17707
17707
|
vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );
|
|
17708
17708
|
return mat4( v1, v2, v3, v4 );
|
|
17709
17709
|
}
|
|
17710
|
-
#endif`,
|
|
17710
|
+
#endif`, w3 = `#ifdef USE_SKINNING
|
|
17711
17711
|
vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );
|
|
17712
17712
|
vec4 skinned = vec4( 0.0 );
|
|
17713
17713
|
skinned += boneMatX * skinVertex * skinWeight.x;
|
|
@@ -17715,7 +17715,7 @@ gl_Position = projectionMatrix * mvPosition;`, fB = `#ifdef DITHERING
|
|
|
17715
17715
|
skinned += boneMatZ * skinVertex * skinWeight.z;
|
|
17716
17716
|
skinned += boneMatW * skinVertex * skinWeight.w;
|
|
17717
17717
|
transformed = ( bindMatrixInverse * skinned ).xyz;
|
|
17718
|
-
#endif`,
|
|
17718
|
+
#endif`, T3 = `#ifdef USE_SKINNING
|
|
17719
17719
|
mat4 skinMatrix = mat4( 0.0 );
|
|
17720
17720
|
skinMatrix += skinWeight.x * boneMatX;
|
|
17721
17721
|
skinMatrix += skinWeight.y * boneMatY;
|
|
@@ -17726,17 +17726,17 @@ gl_Position = projectionMatrix * mvPosition;`, fB = `#ifdef DITHERING
|
|
|
17726
17726
|
#ifdef USE_TANGENT
|
|
17727
17727
|
objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;
|
|
17728
17728
|
#endif
|
|
17729
|
-
#endif`,
|
|
17729
|
+
#endif`, E3 = `float specularStrength;
|
|
17730
17730
|
#ifdef USE_SPECULARMAP
|
|
17731
17731
|
vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );
|
|
17732
17732
|
specularStrength = texelSpecular.r;
|
|
17733
17733
|
#else
|
|
17734
17734
|
specularStrength = 1.0;
|
|
17735
|
-
#endif`,
|
|
17735
|
+
#endif`, M3 = `#ifdef USE_SPECULARMAP
|
|
17736
17736
|
uniform sampler2D specularMap;
|
|
17737
|
-
#endif`,
|
|
17737
|
+
#endif`, C3 = `#if defined( TONE_MAPPING )
|
|
17738
17738
|
gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
|
|
17739
|
-
#endif`,
|
|
17739
|
+
#endif`, A3 = `#ifndef saturate
|
|
17740
17740
|
#define saturate( a ) clamp( a, 0.0, 1.0 )
|
|
17741
17741
|
#endif
|
|
17742
17742
|
uniform float toneMappingExposure;
|
|
@@ -17833,7 +17833,7 @@ vec3 NeutralToneMapping( vec3 color ) {
|
|
|
17833
17833
|
float g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. );
|
|
17834
17834
|
return mix( color, vec3( newPeak ), g );
|
|
17835
17835
|
}
|
|
17836
|
-
vec3 CustomToneMapping( vec3 color ) { return color; }`,
|
|
17836
|
+
vec3 CustomToneMapping( vec3 color ) { return color; }`, P3 = `#ifdef USE_TRANSMISSION
|
|
17837
17837
|
material.transmission = transmission;
|
|
17838
17838
|
material.transmissionAlpha = 1.0;
|
|
17839
17839
|
material.thickness = thickness;
|
|
@@ -17854,7 +17854,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`, PB = `#ifdef USE_TRANSM
|
|
|
17854
17854
|
material.attenuationColor, material.attenuationDistance );
|
|
17855
17855
|
material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );
|
|
17856
17856
|
totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );
|
|
17857
|
-
#endif`,
|
|
17857
|
+
#endif`, R3 = `#ifdef USE_TRANSMISSION
|
|
17858
17858
|
uniform float transmission;
|
|
17859
17859
|
uniform float thickness;
|
|
17860
17860
|
uniform float attenuationDistance;
|
|
@@ -17980,7 +17980,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`, PB = `#ifdef USE_TRANSM
|
|
|
17980
17980
|
float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;
|
|
17981
17981
|
return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );
|
|
17982
17982
|
}
|
|
17983
|
-
#endif`,
|
|
17983
|
+
#endif`, O3 = `#if defined( USE_UV ) || defined( USE_ANISOTROPY )
|
|
17984
17984
|
varying vec2 vUv;
|
|
17985
17985
|
#endif
|
|
17986
17986
|
#ifdef USE_MAP
|
|
@@ -18050,7 +18050,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`, PB = `#ifdef USE_TRANSM
|
|
|
18050
18050
|
#ifdef USE_THICKNESSMAP
|
|
18051
18051
|
uniform mat3 thicknessMapTransform;
|
|
18052
18052
|
varying vec2 vThicknessMapUv;
|
|
18053
|
-
#endif`,
|
|
18053
|
+
#endif`, k3 = `#if defined( USE_UV ) || defined( USE_ANISOTROPY )
|
|
18054
18054
|
varying vec2 vUv;
|
|
18055
18055
|
#endif
|
|
18056
18056
|
#ifdef USE_MAP
|
|
@@ -18144,7 +18144,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`, PB = `#ifdef USE_TRANSM
|
|
|
18144
18144
|
#ifdef USE_THICKNESSMAP
|
|
18145
18145
|
uniform mat3 thicknessMapTransform;
|
|
18146
18146
|
varying vec2 vThicknessMapUv;
|
|
18147
|
-
#endif`,
|
|
18147
|
+
#endif`, D3 = `#if defined( USE_UV ) || defined( USE_ANISOTROPY )
|
|
18148
18148
|
vUv = vec3( uv, 1 ).xy;
|
|
18149
18149
|
#endif
|
|
18150
18150
|
#ifdef USE_MAP
|
|
@@ -18215,7 +18215,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`, PB = `#ifdef USE_TRANSM
|
|
|
18215
18215
|
#endif
|
|
18216
18216
|
#ifdef USE_THICKNESSMAP
|
|
18217
18217
|
vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;
|
|
18218
|
-
#endif`,
|
|
18218
|
+
#endif`, I3 = `#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0
|
|
18219
18219
|
vec4 worldPosition = vec4( transformed, 1.0 );
|
|
18220
18220
|
#ifdef USE_BATCHING
|
|
18221
18221
|
worldPosition = batchingMatrix * worldPosition;
|
|
@@ -18225,12 +18225,12 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`, PB = `#ifdef USE_TRANSM
|
|
|
18225
18225
|
#endif
|
|
18226
18226
|
worldPosition = modelMatrix * worldPosition;
|
|
18227
18227
|
#endif`;
|
|
18228
|
-
const
|
|
18228
|
+
const L3 = `varying vec2 vUv;
|
|
18229
18229
|
uniform mat3 uvTransform;
|
|
18230
18230
|
void main() {
|
|
18231
18231
|
vUv = ( uvTransform * vec3( uv, 1 ) ).xy;
|
|
18232
18232
|
gl_Position = vec4( position.xy, 1.0, 1.0 );
|
|
18233
|
-
}`,
|
|
18233
|
+
}`, F3 = `uniform sampler2D t2D;
|
|
18234
18234
|
uniform float backgroundIntensity;
|
|
18235
18235
|
varying vec2 vUv;
|
|
18236
18236
|
void main() {
|
|
@@ -18242,14 +18242,14 @@ void main() {
|
|
|
18242
18242
|
gl_FragColor = texColor;
|
|
18243
18243
|
#include <tonemapping_fragment>
|
|
18244
18244
|
#include <colorspace_fragment>
|
|
18245
|
-
}`,
|
|
18245
|
+
}`, N3 = `varying vec3 vWorldDirection;
|
|
18246
18246
|
#include <common>
|
|
18247
18247
|
void main() {
|
|
18248
18248
|
vWorldDirection = transformDirection( position, modelMatrix );
|
|
18249
18249
|
#include <begin_vertex>
|
|
18250
18250
|
#include <project_vertex>
|
|
18251
18251
|
gl_Position.z = gl_Position.w;
|
|
18252
|
-
}`,
|
|
18252
|
+
}`, B3 = `#ifdef ENVMAP_TYPE_CUBE
|
|
18253
18253
|
uniform samplerCube envMap;
|
|
18254
18254
|
#elif defined( ENVMAP_TYPE_CUBE_UV )
|
|
18255
18255
|
uniform sampler2D envMap;
|
|
@@ -18272,14 +18272,14 @@ void main() {
|
|
|
18272
18272
|
gl_FragColor = texColor;
|
|
18273
18273
|
#include <tonemapping_fragment>
|
|
18274
18274
|
#include <colorspace_fragment>
|
|
18275
|
-
}`,
|
|
18275
|
+
}`, U3 = `varying vec3 vWorldDirection;
|
|
18276
18276
|
#include <common>
|
|
18277
18277
|
void main() {
|
|
18278
18278
|
vWorldDirection = transformDirection( position, modelMatrix );
|
|
18279
18279
|
#include <begin_vertex>
|
|
18280
18280
|
#include <project_vertex>
|
|
18281
18281
|
gl_Position.z = gl_Position.w;
|
|
18282
|
-
}`,
|
|
18282
|
+
}`, z3 = `uniform samplerCube tCube;
|
|
18283
18283
|
uniform float tFlip;
|
|
18284
18284
|
uniform float opacity;
|
|
18285
18285
|
varying vec3 vWorldDirection;
|
|
@@ -18289,7 +18289,7 @@ void main() {
|
|
|
18289
18289
|
gl_FragColor.a *= opacity;
|
|
18290
18290
|
#include <tonemapping_fragment>
|
|
18291
18291
|
#include <colorspace_fragment>
|
|
18292
|
-
}`,
|
|
18292
|
+
}`, j3 = `#include <common>
|
|
18293
18293
|
#include <batching_pars_vertex>
|
|
18294
18294
|
#include <uv_pars_vertex>
|
|
18295
18295
|
#include <displacementmap_pars_vertex>
|
|
@@ -18316,7 +18316,7 @@ void main() {
|
|
|
18316
18316
|
#include <logdepthbuf_vertex>
|
|
18317
18317
|
#include <clipping_planes_vertex>
|
|
18318
18318
|
vHighPrecisionZW = gl_Position.zw;
|
|
18319
|
-
}`,
|
|
18319
|
+
}`, H3 = `#if DEPTH_PACKING == 3200
|
|
18320
18320
|
uniform float opacity;
|
|
18321
18321
|
#endif
|
|
18322
18322
|
#include <common>
|
|
@@ -18350,7 +18350,7 @@ void main() {
|
|
|
18350
18350
|
#elif DEPTH_PACKING == 3203
|
|
18351
18351
|
gl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 );
|
|
18352
18352
|
#endif
|
|
18353
|
-
}`,
|
|
18353
|
+
}`, V3 = `#define DISTANCE
|
|
18354
18354
|
varying vec3 vWorldPosition;
|
|
18355
18355
|
#include <common>
|
|
18356
18356
|
#include <batching_pars_vertex>
|
|
@@ -18377,7 +18377,7 @@ void main() {
|
|
|
18377
18377
|
#include <worldpos_vertex>
|
|
18378
18378
|
#include <clipping_planes_vertex>
|
|
18379
18379
|
vWorldPosition = worldPosition.xyz;
|
|
18380
|
-
}`,
|
|
18380
|
+
}`, G3 = `#define DISTANCE
|
|
18381
18381
|
uniform vec3 referencePosition;
|
|
18382
18382
|
uniform float nearDistance;
|
|
18383
18383
|
uniform float farDistance;
|
|
@@ -18401,13 +18401,13 @@ void main () {
|
|
|
18401
18401
|
dist = ( dist - nearDistance ) / ( farDistance - nearDistance );
|
|
18402
18402
|
dist = saturate( dist );
|
|
18403
18403
|
gl_FragColor = packDepthToRGBA( dist );
|
|
18404
|
-
}`,
|
|
18404
|
+
}`, W3 = `varying vec3 vWorldDirection;
|
|
18405
18405
|
#include <common>
|
|
18406
18406
|
void main() {
|
|
18407
18407
|
vWorldDirection = transformDirection( position, modelMatrix );
|
|
18408
18408
|
#include <begin_vertex>
|
|
18409
18409
|
#include <project_vertex>
|
|
18410
|
-
}`, $
|
|
18410
|
+
}`, $3 = `uniform sampler2D tEquirect;
|
|
18411
18411
|
varying vec3 vWorldDirection;
|
|
18412
18412
|
#include <common>
|
|
18413
18413
|
void main() {
|
|
@@ -18416,7 +18416,7 @@ void main() {
|
|
|
18416
18416
|
gl_FragColor = texture2D( tEquirect, sampleUV );
|
|
18417
18417
|
#include <tonemapping_fragment>
|
|
18418
18418
|
#include <colorspace_fragment>
|
|
18419
|
-
}`,
|
|
18419
|
+
}`, X3 = `uniform float scale;
|
|
18420
18420
|
attribute float lineDistance;
|
|
18421
18421
|
varying float vLineDistance;
|
|
18422
18422
|
#include <common>
|
|
@@ -18438,7 +18438,7 @@ void main() {
|
|
|
18438
18438
|
#include <logdepthbuf_vertex>
|
|
18439
18439
|
#include <clipping_planes_vertex>
|
|
18440
18440
|
#include <fog_vertex>
|
|
18441
|
-
}`,
|
|
18441
|
+
}`, Y3 = `uniform vec3 diffuse;
|
|
18442
18442
|
uniform float opacity;
|
|
18443
18443
|
uniform float dashSize;
|
|
18444
18444
|
uniform float totalSize;
|
|
@@ -18466,7 +18466,7 @@ void main() {
|
|
|
18466
18466
|
#include <colorspace_fragment>
|
|
18467
18467
|
#include <fog_fragment>
|
|
18468
18468
|
#include <premultiplied_alpha_fragment>
|
|
18469
|
-
}`,
|
|
18469
|
+
}`, q3 = `#include <common>
|
|
18470
18470
|
#include <batching_pars_vertex>
|
|
18471
18471
|
#include <uv_pars_vertex>
|
|
18472
18472
|
#include <envmap_pars_vertex>
|
|
@@ -18498,7 +18498,7 @@ void main() {
|
|
|
18498
18498
|
#include <worldpos_vertex>
|
|
18499
18499
|
#include <envmap_vertex>
|
|
18500
18500
|
#include <fog_vertex>
|
|
18501
|
-
}`,
|
|
18501
|
+
}`, Z3 = `uniform vec3 diffuse;
|
|
18502
18502
|
uniform float opacity;
|
|
18503
18503
|
#ifndef FLAT_SHADED
|
|
18504
18504
|
varying vec3 vNormal;
|
|
@@ -18546,7 +18546,7 @@ void main() {
|
|
|
18546
18546
|
#include <fog_fragment>
|
|
18547
18547
|
#include <premultiplied_alpha_fragment>
|
|
18548
18548
|
#include <dithering_fragment>
|
|
18549
|
-
}`,
|
|
18549
|
+
}`, K3 = `#define LAMBERT
|
|
18550
18550
|
varying vec3 vViewPosition;
|
|
18551
18551
|
#include <common>
|
|
18552
18552
|
#include <batching_pars_vertex>
|
|
@@ -18585,7 +18585,7 @@ void main() {
|
|
|
18585
18585
|
#include <envmap_vertex>
|
|
18586
18586
|
#include <shadowmap_vertex>
|
|
18587
18587
|
#include <fog_vertex>
|
|
18588
|
-
}`,
|
|
18588
|
+
}`, J3 = `#define LAMBERT
|
|
18589
18589
|
uniform vec3 diffuse;
|
|
18590
18590
|
uniform vec3 emissive;
|
|
18591
18591
|
uniform float opacity;
|
|
@@ -18642,7 +18642,7 @@ void main() {
|
|
|
18642
18642
|
#include <fog_fragment>
|
|
18643
18643
|
#include <premultiplied_alpha_fragment>
|
|
18644
18644
|
#include <dithering_fragment>
|
|
18645
|
-
}`,
|
|
18645
|
+
}`, Q3 = `#define MATCAP
|
|
18646
18646
|
varying vec3 vViewPosition;
|
|
18647
18647
|
#include <common>
|
|
18648
18648
|
#include <batching_pars_vertex>
|
|
@@ -18676,7 +18676,7 @@ void main() {
|
|
|
18676
18676
|
#include <clipping_planes_vertex>
|
|
18677
18677
|
#include <fog_vertex>
|
|
18678
18678
|
vViewPosition = - mvPosition.xyz;
|
|
18679
|
-
}`,
|
|
18679
|
+
}`, eB = `#define MATCAP
|
|
18680
18680
|
uniform vec3 diffuse;
|
|
18681
18681
|
uniform float opacity;
|
|
18682
18682
|
uniform sampler2D matcap;
|
|
@@ -18722,7 +18722,7 @@ void main() {
|
|
|
18722
18722
|
#include <fog_fragment>
|
|
18723
18723
|
#include <premultiplied_alpha_fragment>
|
|
18724
18724
|
#include <dithering_fragment>
|
|
18725
|
-
}`,
|
|
18725
|
+
}`, tB = `#define NORMAL
|
|
18726
18726
|
#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )
|
|
18727
18727
|
varying vec3 vViewPosition;
|
|
18728
18728
|
#endif
|
|
@@ -18755,7 +18755,7 @@ void main() {
|
|
|
18755
18755
|
#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )
|
|
18756
18756
|
vViewPosition = - mvPosition.xyz;
|
|
18757
18757
|
#endif
|
|
18758
|
-
}`,
|
|
18758
|
+
}`, iB = `#define NORMAL
|
|
18759
18759
|
uniform float opacity;
|
|
18760
18760
|
#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )
|
|
18761
18761
|
varying vec3 vViewPosition;
|
|
@@ -18777,7 +18777,7 @@ void main() {
|
|
|
18777
18777
|
#ifdef OPAQUE
|
|
18778
18778
|
gl_FragColor.a = 1.0;
|
|
18779
18779
|
#endif
|
|
18780
|
-
}`,
|
|
18780
|
+
}`, nB = `#define PHONG
|
|
18781
18781
|
varying vec3 vViewPosition;
|
|
18782
18782
|
#include <common>
|
|
18783
18783
|
#include <batching_pars_vertex>
|
|
@@ -18816,7 +18816,7 @@ void main() {
|
|
|
18816
18816
|
#include <envmap_vertex>
|
|
18817
18817
|
#include <shadowmap_vertex>
|
|
18818
18818
|
#include <fog_vertex>
|
|
18819
|
-
}`,
|
|
18819
|
+
}`, rB = `#define PHONG
|
|
18820
18820
|
uniform vec3 diffuse;
|
|
18821
18821
|
uniform vec3 emissive;
|
|
18822
18822
|
uniform vec3 specular;
|
|
@@ -18875,7 +18875,7 @@ void main() {
|
|
|
18875
18875
|
#include <fog_fragment>
|
|
18876
18876
|
#include <premultiplied_alpha_fragment>
|
|
18877
18877
|
#include <dithering_fragment>
|
|
18878
|
-
}`,
|
|
18878
|
+
}`, sB = `#define STANDARD
|
|
18879
18879
|
varying vec3 vViewPosition;
|
|
18880
18880
|
#ifdef USE_TRANSMISSION
|
|
18881
18881
|
varying vec3 vWorldPosition;
|
|
@@ -18918,7 +18918,7 @@ void main() {
|
|
|
18918
18918
|
#ifdef USE_TRANSMISSION
|
|
18919
18919
|
vWorldPosition = worldPosition.xyz;
|
|
18920
18920
|
#endif
|
|
18921
|
-
}`,
|
|
18921
|
+
}`, oB = `#define STANDARD
|
|
18922
18922
|
#ifdef PHYSICAL
|
|
18923
18923
|
#define IOR
|
|
18924
18924
|
#define USE_SPECULAR
|
|
@@ -19043,7 +19043,7 @@ void main() {
|
|
|
19043
19043
|
#include <fog_fragment>
|
|
19044
19044
|
#include <premultiplied_alpha_fragment>
|
|
19045
19045
|
#include <dithering_fragment>
|
|
19046
|
-
}`,
|
|
19046
|
+
}`, aB = `#define TOON
|
|
19047
19047
|
varying vec3 vViewPosition;
|
|
19048
19048
|
#include <common>
|
|
19049
19049
|
#include <batching_pars_vertex>
|
|
@@ -19080,7 +19080,7 @@ void main() {
|
|
|
19080
19080
|
#include <worldpos_vertex>
|
|
19081
19081
|
#include <shadowmap_vertex>
|
|
19082
19082
|
#include <fog_vertex>
|
|
19083
|
-
}`,
|
|
19083
|
+
}`, lB = `#define TOON
|
|
19084
19084
|
uniform vec3 diffuse;
|
|
19085
19085
|
uniform vec3 emissive;
|
|
19086
19086
|
uniform float opacity;
|
|
@@ -19133,7 +19133,7 @@ void main() {
|
|
|
19133
19133
|
#include <fog_fragment>
|
|
19134
19134
|
#include <premultiplied_alpha_fragment>
|
|
19135
19135
|
#include <dithering_fragment>
|
|
19136
|
-
}`,
|
|
19136
|
+
}`, cB = `uniform float size;
|
|
19137
19137
|
uniform float scale;
|
|
19138
19138
|
#include <common>
|
|
19139
19139
|
#include <color_pars_vertex>
|
|
@@ -19164,7 +19164,7 @@ void main() {
|
|
|
19164
19164
|
#include <clipping_planes_vertex>
|
|
19165
19165
|
#include <worldpos_vertex>
|
|
19166
19166
|
#include <fog_vertex>
|
|
19167
|
-
}`,
|
|
19167
|
+
}`, uB = `uniform vec3 diffuse;
|
|
19168
19168
|
uniform float opacity;
|
|
19169
19169
|
#include <common>
|
|
19170
19170
|
#include <color_pars_fragment>
|
|
@@ -19189,7 +19189,7 @@ void main() {
|
|
|
19189
19189
|
#include <colorspace_fragment>
|
|
19190
19190
|
#include <fog_fragment>
|
|
19191
19191
|
#include <premultiplied_alpha_fragment>
|
|
19192
|
-
}`,
|
|
19192
|
+
}`, hB = `#include <common>
|
|
19193
19193
|
#include <batching_pars_vertex>
|
|
19194
19194
|
#include <fog_pars_vertex>
|
|
19195
19195
|
#include <morphtarget_pars_vertex>
|
|
@@ -19212,7 +19212,7 @@ void main() {
|
|
|
19212
19212
|
#include <worldpos_vertex>
|
|
19213
19213
|
#include <shadowmap_vertex>
|
|
19214
19214
|
#include <fog_vertex>
|
|
19215
|
-
}`,
|
|
19215
|
+
}`, dB = `uniform vec3 color;
|
|
19216
19216
|
uniform float opacity;
|
|
19217
19217
|
#include <common>
|
|
19218
19218
|
#include <packing>
|
|
@@ -19228,7 +19228,7 @@ void main() {
|
|
|
19228
19228
|
#include <tonemapping_fragment>
|
|
19229
19229
|
#include <colorspace_fragment>
|
|
19230
19230
|
#include <fog_fragment>
|
|
19231
|
-
}`,
|
|
19231
|
+
}`, fB = `uniform float rotation;
|
|
19232
19232
|
uniform vec2 center;
|
|
19233
19233
|
#include <common>
|
|
19234
19234
|
#include <uv_pars_vertex>
|
|
@@ -19252,7 +19252,7 @@ void main() {
|
|
|
19252
19252
|
#include <logdepthbuf_vertex>
|
|
19253
19253
|
#include <clipping_planes_vertex>
|
|
19254
19254
|
#include <fog_vertex>
|
|
19255
|
-
}`,
|
|
19255
|
+
}`, pB = `uniform vec3 diffuse;
|
|
19256
19256
|
uniform float opacity;
|
|
19257
19257
|
#include <common>
|
|
19258
19258
|
#include <uv_pars_fragment>
|
|
@@ -19350,75 +19350,75 @@ void main() {
|
|
|
19350
19350
|
morphtarget_pars_vertex: KN,
|
|
19351
19351
|
morphtarget_vertex: JN,
|
|
19352
19352
|
normal_fragment_begin: QN,
|
|
19353
|
-
normal_fragment_maps:
|
|
19354
|
-
normal_pars_fragment:
|
|
19355
|
-
normal_pars_vertex:
|
|
19356
|
-
normal_vertex:
|
|
19357
|
-
normalmap_pars_fragment:
|
|
19358
|
-
clearcoat_normal_fragment_begin:
|
|
19359
|
-
clearcoat_normal_fragment_maps:
|
|
19360
|
-
clearcoat_pars_fragment:
|
|
19361
|
-
iridescence_pars_fragment:
|
|
19362
|
-
opaque_fragment:
|
|
19363
|
-
packing:
|
|
19364
|
-
premultiplied_alpha_fragment:
|
|
19365
|
-
project_vertex:
|
|
19366
|
-
dithering_fragment:
|
|
19367
|
-
dithering_pars_fragment:
|
|
19368
|
-
roughnessmap_fragment:
|
|
19369
|
-
roughnessmap_pars_fragment:
|
|
19370
|
-
shadowmap_pars_fragment:
|
|
19371
|
-
shadowmap_pars_vertex:
|
|
19372
|
-
shadowmap_vertex:
|
|
19373
|
-
shadowmask_pars_fragment:
|
|
19374
|
-
skinbase_vertex:
|
|
19375
|
-
skinning_pars_vertex:
|
|
19376
|
-
skinning_vertex:
|
|
19377
|
-
skinnormal_vertex:
|
|
19378
|
-
specularmap_fragment:
|
|
19379
|
-
specularmap_pars_fragment:
|
|
19380
|
-
tonemapping_fragment:
|
|
19381
|
-
tonemapping_pars_fragment:
|
|
19382
|
-
transmission_fragment:
|
|
19383
|
-
transmission_pars_fragment:
|
|
19384
|
-
uv_pars_fragment:
|
|
19385
|
-
uv_pars_vertex:
|
|
19386
|
-
uv_vertex:
|
|
19387
|
-
worldpos_vertex:
|
|
19388
|
-
background_vert:
|
|
19389
|
-
background_frag:
|
|
19390
|
-
backgroundCube_vert:
|
|
19391
|
-
backgroundCube_frag:
|
|
19392
|
-
cube_vert:
|
|
19393
|
-
cube_frag:
|
|
19394
|
-
depth_vert:
|
|
19395
|
-
depth_frag:
|
|
19396
|
-
distanceRGBA_vert:
|
|
19397
|
-
distanceRGBA_frag:
|
|
19398
|
-
equirect_vert:
|
|
19399
|
-
equirect_frag: $
|
|
19400
|
-
linedashed_vert:
|
|
19401
|
-
linedashed_frag:
|
|
19402
|
-
meshbasic_vert:
|
|
19403
|
-
meshbasic_frag:
|
|
19404
|
-
meshlambert_vert:
|
|
19405
|
-
meshlambert_frag:
|
|
19406
|
-
meshmatcap_vert:
|
|
19407
|
-
meshmatcap_frag:
|
|
19408
|
-
meshnormal_vert:
|
|
19409
|
-
meshnormal_frag:
|
|
19410
|
-
meshphong_vert:
|
|
19411
|
-
meshphong_frag:
|
|
19412
|
-
meshphysical_vert:
|
|
19413
|
-
meshphysical_frag:
|
|
19414
|
-
meshtoon_vert:
|
|
19415
|
-
meshtoon_frag:
|
|
19416
|
-
points_vert:
|
|
19417
|
-
points_frag:
|
|
19418
|
-
shadow_vert:
|
|
19419
|
-
shadow_frag:
|
|
19420
|
-
sprite_vert:
|
|
19421
|
-
sprite_frag:
|
|
19353
|
+
normal_fragment_maps: e3,
|
|
19354
|
+
normal_pars_fragment: t3,
|
|
19355
|
+
normal_pars_vertex: i3,
|
|
19356
|
+
normal_vertex: n3,
|
|
19357
|
+
normalmap_pars_fragment: r3,
|
|
19358
|
+
clearcoat_normal_fragment_begin: s3,
|
|
19359
|
+
clearcoat_normal_fragment_maps: o3,
|
|
19360
|
+
clearcoat_pars_fragment: a3,
|
|
19361
|
+
iridescence_pars_fragment: l3,
|
|
19362
|
+
opaque_fragment: c3,
|
|
19363
|
+
packing: u3,
|
|
19364
|
+
premultiplied_alpha_fragment: h3,
|
|
19365
|
+
project_vertex: d3,
|
|
19366
|
+
dithering_fragment: f3,
|
|
19367
|
+
dithering_pars_fragment: p3,
|
|
19368
|
+
roughnessmap_fragment: m3,
|
|
19369
|
+
roughnessmap_pars_fragment: g3,
|
|
19370
|
+
shadowmap_pars_fragment: v3,
|
|
19371
|
+
shadowmap_pars_vertex: y3,
|
|
19372
|
+
shadowmap_vertex: b3,
|
|
19373
|
+
shadowmask_pars_fragment: _3,
|
|
19374
|
+
skinbase_vertex: x3,
|
|
19375
|
+
skinning_pars_vertex: S3,
|
|
19376
|
+
skinning_vertex: w3,
|
|
19377
|
+
skinnormal_vertex: T3,
|
|
19378
|
+
specularmap_fragment: E3,
|
|
19379
|
+
specularmap_pars_fragment: M3,
|
|
19380
|
+
tonemapping_fragment: C3,
|
|
19381
|
+
tonemapping_pars_fragment: A3,
|
|
19382
|
+
transmission_fragment: P3,
|
|
19383
|
+
transmission_pars_fragment: R3,
|
|
19384
|
+
uv_pars_fragment: O3,
|
|
19385
|
+
uv_pars_vertex: k3,
|
|
19386
|
+
uv_vertex: D3,
|
|
19387
|
+
worldpos_vertex: I3,
|
|
19388
|
+
background_vert: L3,
|
|
19389
|
+
background_frag: F3,
|
|
19390
|
+
backgroundCube_vert: N3,
|
|
19391
|
+
backgroundCube_frag: B3,
|
|
19392
|
+
cube_vert: U3,
|
|
19393
|
+
cube_frag: z3,
|
|
19394
|
+
depth_vert: j3,
|
|
19395
|
+
depth_frag: H3,
|
|
19396
|
+
distanceRGBA_vert: V3,
|
|
19397
|
+
distanceRGBA_frag: G3,
|
|
19398
|
+
equirect_vert: W3,
|
|
19399
|
+
equirect_frag: $3,
|
|
19400
|
+
linedashed_vert: X3,
|
|
19401
|
+
linedashed_frag: Y3,
|
|
19402
|
+
meshbasic_vert: q3,
|
|
19403
|
+
meshbasic_frag: Z3,
|
|
19404
|
+
meshlambert_vert: K3,
|
|
19405
|
+
meshlambert_frag: J3,
|
|
19406
|
+
meshmatcap_vert: Q3,
|
|
19407
|
+
meshmatcap_frag: eB,
|
|
19408
|
+
meshnormal_vert: tB,
|
|
19409
|
+
meshnormal_frag: iB,
|
|
19410
|
+
meshphong_vert: nB,
|
|
19411
|
+
meshphong_frag: rB,
|
|
19412
|
+
meshphysical_vert: sB,
|
|
19413
|
+
meshphysical_frag: oB,
|
|
19414
|
+
meshtoon_vert: aB,
|
|
19415
|
+
meshtoon_frag: lB,
|
|
19416
|
+
points_vert: cB,
|
|
19417
|
+
points_frag: uB,
|
|
19418
|
+
shadow_vert: hB,
|
|
19419
|
+
shadow_frag: dB,
|
|
19420
|
+
sprite_vert: fB,
|
|
19421
|
+
sprite_frag: pB
|
|
19422
19422
|
}, Ze = {
|
|
19423
19423
|
common: {
|
|
19424
19424
|
diffuse: { value: /* @__PURE__ */ new ft(16777215) },
|
|
@@ -19857,8 +19857,8 @@ Gn.physical = {
|
|
|
19857
19857
|
vertexShader: Tt.meshphysical_vert,
|
|
19858
19858
|
fragmentShader: Tt.meshphysical_frag
|
|
19859
19859
|
};
|
|
19860
|
-
const gh = { r: 0, b: 0, g: 0 }, Go = /* @__PURE__ */ new $r(),
|
|
19861
|
-
function
|
|
19860
|
+
const gh = { r: 0, b: 0, g: 0 }, Go = /* @__PURE__ */ new $r(), mB = /* @__PURE__ */ new Et();
|
|
19861
|
+
function gB(i, e, t, n, s, r, o) {
|
|
19862
19862
|
const a = new ft(0);
|
|
19863
19863
|
let l = r === !0 ? 0 : 1, c, u, h = null, d = 0, f = null;
|
|
19864
19864
|
function m(b) {
|
|
@@ -19892,7 +19892,7 @@ function g3(i, e, t, n, s, r, o) {
|
|
|
19892
19892
|
get: function() {
|
|
19893
19893
|
return this.uniforms.envMap.value;
|
|
19894
19894
|
}
|
|
19895
|
-
}), s.update(u)), Go.copy(x.backgroundRotation), Go.x *= -1, Go.y *= -1, Go.z *= -1, S.isCubeTexture && S.isRenderTargetTexture === !1 && (Go.y *= -1, Go.z *= -1), u.material.uniforms.envMap.value = S, u.material.uniforms.flipEnvMap.value = S.isCubeTexture && S.isRenderTargetTexture === !1 ? -1 : 1, u.material.uniforms.backgroundBlurriness.value = x.backgroundBlurriness, u.material.uniforms.backgroundIntensity.value = x.backgroundIntensity, u.material.uniforms.backgroundRotation.value.setFromMatrix4(
|
|
19895
|
+
}), s.update(u)), Go.copy(x.backgroundRotation), Go.x *= -1, Go.y *= -1, Go.z *= -1, S.isCubeTexture && S.isRenderTargetTexture === !1 && (Go.y *= -1, Go.z *= -1), u.material.uniforms.envMap.value = S, u.material.uniforms.flipEnvMap.value = S.isCubeTexture && S.isRenderTargetTexture === !1 ? -1 : 1, u.material.uniforms.backgroundBlurriness.value = x.backgroundBlurriness, u.material.uniforms.backgroundIntensity.value = x.backgroundIntensity, u.material.uniforms.backgroundRotation.value.setFromMatrix4(mB.makeRotationFromEuler(Go)), u.material.toneMapped = Wt.getTransfer(S.colorSpace) !== ei, (h !== S || d !== S.version || f !== i.toneMapping) && (u.material.needsUpdate = !0, h = S, d = S.version, f = i.toneMapping), u.layers.enableAll(), b.unshift(u, u.geometry, u.material, 0, 0, null)) : S && S.isTexture && (c === void 0 && (c = new vn(
|
|
19896
19896
|
new ms(2, 2),
|
|
19897
19897
|
new qs({
|
|
19898
19898
|
name: "BackgroundMaterial",
|
|
@@ -19934,7 +19934,7 @@ function g3(i, e, t, n, s, r, o) {
|
|
|
19934
19934
|
dispose: y
|
|
19935
19935
|
};
|
|
19936
19936
|
}
|
|
19937
|
-
function
|
|
19937
|
+
function vB(i, e) {
|
|
19938
19938
|
const t = i.getParameter(i.MAX_VERTEX_ATTRIBS), n = {}, s = d(null);
|
|
19939
19939
|
let r = s, o = !1;
|
|
19940
19940
|
function a(C, k, D, L, j) {
|
|
@@ -20147,7 +20147,7 @@ function v3(i, e) {
|
|
|
20147
20147
|
disableUnusedAttributes: y
|
|
20148
20148
|
};
|
|
20149
20149
|
}
|
|
20150
|
-
function
|
|
20150
|
+
function yB(i, e, t) {
|
|
20151
20151
|
let n;
|
|
20152
20152
|
function s(c) {
|
|
20153
20153
|
n = c;
|
|
@@ -20182,7 +20182,7 @@ function y3(i, e, t) {
|
|
|
20182
20182
|
}
|
|
20183
20183
|
this.setMode = s, this.render = r, this.renderInstances = o, this.renderMultiDraw = a, this.renderMultiDrawInstances = l;
|
|
20184
20184
|
}
|
|
20185
|
-
function
|
|
20185
|
+
function bB(i, e, t, n) {
|
|
20186
20186
|
let s;
|
|
20187
20187
|
function r() {
|
|
20188
20188
|
if (s !== void 0) return s;
|
|
@@ -20235,7 +20235,7 @@ function b3(i, e, t, n) {
|
|
|
20235
20235
|
maxSamples: w
|
|
20236
20236
|
};
|
|
20237
20237
|
}
|
|
20238
|
-
function
|
|
20238
|
+
function _B(i) {
|
|
20239
20239
|
const e = this;
|
|
20240
20240
|
let t = null, n = 0, s = !1, r = !1;
|
|
20241
20241
|
const o = new Is(), a = new St(), l = { value: null, needsUpdate: !1 };
|
|
@@ -20281,7 +20281,7 @@ function _3(i) {
|
|
|
20281
20281
|
return e.numPlanes = g, e.numIntersection = 0, v;
|
|
20282
20282
|
}
|
|
20283
20283
|
}
|
|
20284
|
-
function
|
|
20284
|
+
function xB(i) {
|
|
20285
20285
|
let e = /* @__PURE__ */ new WeakMap();
|
|
20286
20286
|
function t(o, a) {
|
|
20287
20287
|
return a === Mg ? o.mapping = Al : a === Cg && (o.mapping = Pl), o;
|
|
@@ -20331,7 +20331,7 @@ const ea = (1 + Math.sqrt(5)) / 2, Qa = 1 / ea, F_ = [
|
|
|
20331
20331
|
/* @__PURE__ */ new ue(1, 1, -1),
|
|
20332
20332
|
/* @__PURE__ */ new ue(-1, 1, 1),
|
|
20333
20333
|
/* @__PURE__ */ new ue(1, 1, 1)
|
|
20334
|
-
],
|
|
20334
|
+
], SB = /* @__PURE__ */ new ue();
|
|
20335
20335
|
class N_ {
|
|
20336
20336
|
constructor(e) {
|
|
20337
20337
|
this._renderer = e, this._pingPongRenderTarget = null, this._lodMax = 0, this._cubeSize = 0, this._lodPlanes = [], this._sizeLods = [], this._sigmas = [], this._blurMaterial = null, this._cubemapMaterial = null, this._equirectMaterial = null, this._compileMaterial(this._blurMaterial);
|
|
@@ -20352,7 +20352,7 @@ class N_ {
|
|
|
20352
20352
|
fromScene(e, t = 0, n = 0.1, s = 100, r = {}) {
|
|
20353
20353
|
const {
|
|
20354
20354
|
size: o = 256,
|
|
20355
|
-
position: a =
|
|
20355
|
+
position: a = SB
|
|
20356
20356
|
} = r;
|
|
20357
20357
|
zp = this._renderer.getRenderTarget(), jp = this._renderer.getActiveCubeFace(), Hp = this._renderer.getActiveMipmapLevel(), Vp = this._renderer.xr.enabled, this._renderer.xr.enabled = !1, this._setSize(o);
|
|
20358
20358
|
const l = this._allocateTargets();
|
|
@@ -20436,7 +20436,7 @@ class N_ {
|
|
|
20436
20436
|
if (this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== e || this._pingPongRenderTarget.height !== t) {
|
|
20437
20437
|
this._pingPongRenderTarget !== null && this._dispose(), this._pingPongRenderTarget = B_(e, t, n);
|
|
20438
20438
|
const { _lodMax: r } = this;
|
|
20439
|
-
({ sizeLods: this._sizeLods, lodPlanes: this._lodPlanes, sigmas: this._sigmas } =
|
|
20439
|
+
({ sizeLods: this._sizeLods, lodPlanes: this._lodPlanes, sigmas: this._sigmas } = wB(r)), this._blurMaterial = TB(r, e, t);
|
|
20440
20440
|
}
|
|
20441
20441
|
return s;
|
|
20442
20442
|
}
|
|
@@ -20537,7 +20537,7 @@ class N_ {
|
|
|
20537
20537
|
vh(t, S, w, 3 * x, 2 * x), l.setRenderTarget(t), l.render(h, Up);
|
|
20538
20538
|
}
|
|
20539
20539
|
}
|
|
20540
|
-
function
|
|
20540
|
+
function wB(i) {
|
|
20541
20541
|
const e = [], t = [], n = [];
|
|
20542
20542
|
let s = i;
|
|
20543
20543
|
const r = i - ml + 1 + I_.length;
|
|
@@ -20584,7 +20584,7 @@ function B_(i, e, t) {
|
|
|
20584
20584
|
function vh(i, e, t, n, s) {
|
|
20585
20585
|
i.viewport.set(e, t, n, s), i.scissor.set(e, t, n, s);
|
|
20586
20586
|
}
|
|
20587
|
-
function
|
|
20587
|
+
function TB(i, e, t) {
|
|
20588
20588
|
const n = new Float32Array(sa), s = new ue(0, 1, 0);
|
|
20589
20589
|
return new qs({
|
|
20590
20590
|
name: "SphericalGaussianBlur",
|
|
@@ -20802,7 +20802,7 @@ function My() {
|
|
|
20802
20802
|
`
|
|
20803
20803
|
);
|
|
20804
20804
|
}
|
|
20805
|
-
function
|
|
20805
|
+
function EB(i) {
|
|
20806
20806
|
let e = /* @__PURE__ */ new WeakMap(), t = null;
|
|
20807
20807
|
function n(a) {
|
|
20808
20808
|
if (a && a.isTexture) {
|
|
@@ -20843,7 +20843,7 @@ function E3(i) {
|
|
|
20843
20843
|
dispose: o
|
|
20844
20844
|
};
|
|
20845
20845
|
}
|
|
20846
|
-
function
|
|
20846
|
+
function MB(i) {
|
|
20847
20847
|
const e = {};
|
|
20848
20848
|
function t(n) {
|
|
20849
20849
|
if (e[n] !== void 0)
|
|
@@ -20880,7 +20880,7 @@ function M3(i) {
|
|
|
20880
20880
|
}
|
|
20881
20881
|
};
|
|
20882
20882
|
}
|
|
20883
|
-
function
|
|
20883
|
+
function CB(i, e, t, n) {
|
|
20884
20884
|
const s = {}, r = /* @__PURE__ */ new WeakMap();
|
|
20885
20885
|
function o(h) {
|
|
20886
20886
|
const d = h.target;
|
|
@@ -20938,7 +20938,7 @@ function C3(i, e, t, n) {
|
|
|
20938
20938
|
getWireframeAttribute: u
|
|
20939
20939
|
};
|
|
20940
20940
|
}
|
|
20941
|
-
function
|
|
20941
|
+
function AB(i, e, t) {
|
|
20942
20942
|
let n;
|
|
20943
20943
|
function s(d) {
|
|
20944
20944
|
n = d;
|
|
@@ -20977,7 +20977,7 @@ function A3(i, e, t) {
|
|
|
20977
20977
|
}
|
|
20978
20978
|
this.setMode = s, this.setIndex = a, this.render = l, this.renderInstances = c, this.renderMultiDraw = u, this.renderMultiDrawInstances = h;
|
|
20979
20979
|
}
|
|
20980
|
-
function
|
|
20980
|
+
function PB(i) {
|
|
20981
20981
|
const e = {
|
|
20982
20982
|
geometries: 0,
|
|
20983
20983
|
textures: 0
|
|
@@ -21022,7 +21022,7 @@ function P3(i) {
|
|
|
21022
21022
|
update: n
|
|
21023
21023
|
};
|
|
21024
21024
|
}
|
|
21025
|
-
function
|
|
21025
|
+
function RB(i, e, t) {
|
|
21026
21026
|
const n = /* @__PURE__ */ new WeakMap(), s = new ri();
|
|
21027
21027
|
function r(o, a, l) {
|
|
21028
21028
|
const c = o.morphTargetInfluences, u = a.morphAttributes.position || a.morphAttributes.normal || a.morphAttributes.color, h = u !== void 0 ? u.length : 0;
|
|
@@ -21068,7 +21068,7 @@ function R3(i, e, t) {
|
|
|
21068
21068
|
update: r
|
|
21069
21069
|
};
|
|
21070
21070
|
}
|
|
21071
|
-
function
|
|
21071
|
+
function OB(i, e, t, n) {
|
|
21072
21072
|
let s = /* @__PURE__ */ new WeakMap();
|
|
21073
21073
|
function r(l) {
|
|
21074
21074
|
const c = n.render.frame, u = l.geometry, h = e.get(l, u);
|
|
@@ -21120,11 +21120,11 @@ function pf(i, e) {
|
|
|
21120
21120
|
t[n] = i.allocateTextureUnit();
|
|
21121
21121
|
return t;
|
|
21122
21122
|
}
|
|
21123
|
-
function
|
|
21123
|
+
function kB(i, e) {
|
|
21124
21124
|
const t = this.cache;
|
|
21125
21125
|
t[0] !== e && (i.uniform1f(this.addr, e), t[0] = e);
|
|
21126
21126
|
}
|
|
21127
|
-
function
|
|
21127
|
+
function DB(i, e) {
|
|
21128
21128
|
const t = this.cache;
|
|
21129
21129
|
if (e.x !== void 0)
|
|
21130
21130
|
(t[0] !== e.x || t[1] !== e.y) && (i.uniform2f(this.addr, e.x, e.y), t[0] = e.x, t[1] = e.y);
|
|
@@ -21133,7 +21133,7 @@ function D3(i, e) {
|
|
|
21133
21133
|
i.uniform2fv(this.addr, e), Hi(t, e);
|
|
21134
21134
|
}
|
|
21135
21135
|
}
|
|
21136
|
-
function
|
|
21136
|
+
function IB(i, e) {
|
|
21137
21137
|
const t = this.cache;
|
|
21138
21138
|
if (e.x !== void 0)
|
|
21139
21139
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z) && (i.uniform3f(this.addr, e.x, e.y, e.z), t[0] = e.x, t[1] = e.y, t[2] = e.z);
|
|
@@ -21144,7 +21144,7 @@ function I3(i, e) {
|
|
|
21144
21144
|
i.uniform3fv(this.addr, e), Hi(t, e);
|
|
21145
21145
|
}
|
|
21146
21146
|
}
|
|
21147
|
-
function
|
|
21147
|
+
function LB(i, e) {
|
|
21148
21148
|
const t = this.cache;
|
|
21149
21149
|
if (e.x !== void 0)
|
|
21150
21150
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z || t[3] !== e.w) && (i.uniform4f(this.addr, e.x, e.y, e.z, e.w), t[0] = e.x, t[1] = e.y, t[2] = e.z, t[3] = e.w);
|
|
@@ -21153,7 +21153,7 @@ function L3(i, e) {
|
|
|
21153
21153
|
i.uniform4fv(this.addr, e), Hi(t, e);
|
|
21154
21154
|
}
|
|
21155
21155
|
}
|
|
21156
|
-
function
|
|
21156
|
+
function FB(i, e) {
|
|
21157
21157
|
const t = this.cache, n = e.elements;
|
|
21158
21158
|
if (n === void 0) {
|
|
21159
21159
|
if (ji(t, e)) return;
|
|
@@ -21163,7 +21163,7 @@ function F3(i, e) {
|
|
|
21163
21163
|
$_.set(n), i.uniformMatrix2fv(this.addr, !1, $_), Hi(t, n);
|
|
21164
21164
|
}
|
|
21165
21165
|
}
|
|
21166
|
-
function
|
|
21166
|
+
function NB(i, e) {
|
|
21167
21167
|
const t = this.cache, n = e.elements;
|
|
21168
21168
|
if (n === void 0) {
|
|
21169
21169
|
if (ji(t, e)) return;
|
|
@@ -21173,7 +21173,7 @@ function N3(i, e) {
|
|
|
21173
21173
|
W_.set(n), i.uniformMatrix3fv(this.addr, !1, W_), Hi(t, n);
|
|
21174
21174
|
}
|
|
21175
21175
|
}
|
|
21176
|
-
function
|
|
21176
|
+
function BB(i, e) {
|
|
21177
21177
|
const t = this.cache, n = e.elements;
|
|
21178
21178
|
if (n === void 0) {
|
|
21179
21179
|
if (ji(t, e)) return;
|
|
@@ -21183,11 +21183,11 @@ function B3(i, e) {
|
|
|
21183
21183
|
G_.set(n), i.uniformMatrix4fv(this.addr, !1, G_), Hi(t, n);
|
|
21184
21184
|
}
|
|
21185
21185
|
}
|
|
21186
|
-
function
|
|
21186
|
+
function UB(i, e) {
|
|
21187
21187
|
const t = this.cache;
|
|
21188
21188
|
t[0] !== e && (i.uniform1i(this.addr, e), t[0] = e);
|
|
21189
21189
|
}
|
|
21190
|
-
function
|
|
21190
|
+
function zB(i, e) {
|
|
21191
21191
|
const t = this.cache;
|
|
21192
21192
|
if (e.x !== void 0)
|
|
21193
21193
|
(t[0] !== e.x || t[1] !== e.y) && (i.uniform2i(this.addr, e.x, e.y), t[0] = e.x, t[1] = e.y);
|
|
@@ -21196,7 +21196,7 @@ function z3(i, e) {
|
|
|
21196
21196
|
i.uniform2iv(this.addr, e), Hi(t, e);
|
|
21197
21197
|
}
|
|
21198
21198
|
}
|
|
21199
|
-
function
|
|
21199
|
+
function jB(i, e) {
|
|
21200
21200
|
const t = this.cache;
|
|
21201
21201
|
if (e.x !== void 0)
|
|
21202
21202
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z) && (i.uniform3i(this.addr, e.x, e.y, e.z), t[0] = e.x, t[1] = e.y, t[2] = e.z);
|
|
@@ -21205,7 +21205,7 @@ function j3(i, e) {
|
|
|
21205
21205
|
i.uniform3iv(this.addr, e), Hi(t, e);
|
|
21206
21206
|
}
|
|
21207
21207
|
}
|
|
21208
|
-
function
|
|
21208
|
+
function HB(i, e) {
|
|
21209
21209
|
const t = this.cache;
|
|
21210
21210
|
if (e.x !== void 0)
|
|
21211
21211
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z || t[3] !== e.w) && (i.uniform4i(this.addr, e.x, e.y, e.z, e.w), t[0] = e.x, t[1] = e.y, t[2] = e.z, t[3] = e.w);
|
|
@@ -21214,11 +21214,11 @@ function H3(i, e) {
|
|
|
21214
21214
|
i.uniform4iv(this.addr, e), Hi(t, e);
|
|
21215
21215
|
}
|
|
21216
21216
|
}
|
|
21217
|
-
function
|
|
21217
|
+
function VB(i, e) {
|
|
21218
21218
|
const t = this.cache;
|
|
21219
21219
|
t[0] !== e && (i.uniform1ui(this.addr, e), t[0] = e);
|
|
21220
21220
|
}
|
|
21221
|
-
function
|
|
21221
|
+
function GB(i, e) {
|
|
21222
21222
|
const t = this.cache;
|
|
21223
21223
|
if (e.x !== void 0)
|
|
21224
21224
|
(t[0] !== e.x || t[1] !== e.y) && (i.uniform2ui(this.addr, e.x, e.y), t[0] = e.x, t[1] = e.y);
|
|
@@ -21227,7 +21227,7 @@ function G3(i, e) {
|
|
|
21227
21227
|
i.uniform2uiv(this.addr, e), Hi(t, e);
|
|
21228
21228
|
}
|
|
21229
21229
|
}
|
|
21230
|
-
function
|
|
21230
|
+
function WB(i, e) {
|
|
21231
21231
|
const t = this.cache;
|
|
21232
21232
|
if (e.x !== void 0)
|
|
21233
21233
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z) && (i.uniform3ui(this.addr, e.x, e.y, e.z), t[0] = e.x, t[1] = e.y, t[2] = e.z);
|
|
@@ -21236,7 +21236,7 @@ function W3(i, e) {
|
|
|
21236
21236
|
i.uniform3uiv(this.addr, e), Hi(t, e);
|
|
21237
21237
|
}
|
|
21238
21238
|
}
|
|
21239
|
-
function $
|
|
21239
|
+
function $B(i, e) {
|
|
21240
21240
|
const t = this.cache;
|
|
21241
21241
|
if (e.x !== void 0)
|
|
21242
21242
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z || t[3] !== e.w) && (i.uniform4ui(this.addr, e.x, e.y, e.z, e.w), t[0] = e.x, t[1] = e.y, t[2] = e.z, t[3] = e.w);
|
|
@@ -21245,74 +21245,74 @@ function $3(i, e) {
|
|
|
21245
21245
|
i.uniform4uiv(this.addr, e), Hi(t, e);
|
|
21246
21246
|
}
|
|
21247
21247
|
}
|
|
21248
|
-
function
|
|
21248
|
+
function XB(i, e, t) {
|
|
21249
21249
|
const n = this.cache, s = t.allocateTextureUnit();
|
|
21250
21250
|
n[0] !== s && (i.uniform1i(this.addr, s), n[0] = s);
|
|
21251
21251
|
let r;
|
|
21252
21252
|
this.type === i.SAMPLER_2D_SHADOW ? (j_.compareFunction = hC, r = j_) : r = CC, t.setTexture2D(e || r, s);
|
|
21253
21253
|
}
|
|
21254
|
-
function
|
|
21254
|
+
function YB(i, e, t) {
|
|
21255
21255
|
const n = this.cache, s = t.allocateTextureUnit();
|
|
21256
21256
|
n[0] !== s && (i.uniform1i(this.addr, s), n[0] = s), t.setTexture3D(e || PC, s);
|
|
21257
21257
|
}
|
|
21258
|
-
function
|
|
21258
|
+
function qB(i, e, t) {
|
|
21259
21259
|
const n = this.cache, s = t.allocateTextureUnit();
|
|
21260
21260
|
n[0] !== s && (i.uniform1i(this.addr, s), n[0] = s), t.setTextureCube(e || RC, s);
|
|
21261
21261
|
}
|
|
21262
|
-
function
|
|
21262
|
+
function ZB(i, e, t) {
|
|
21263
21263
|
const n = this.cache, s = t.allocateTextureUnit();
|
|
21264
21264
|
n[0] !== s && (i.uniform1i(this.addr, s), n[0] = s), t.setTexture2DArray(e || AC, s);
|
|
21265
21265
|
}
|
|
21266
|
-
function
|
|
21266
|
+
function KB(i) {
|
|
21267
21267
|
switch (i) {
|
|
21268
21268
|
case 5126:
|
|
21269
|
-
return
|
|
21269
|
+
return kB;
|
|
21270
21270
|
// FLOAT
|
|
21271
21271
|
case 35664:
|
|
21272
|
-
return
|
|
21272
|
+
return DB;
|
|
21273
21273
|
// _VEC2
|
|
21274
21274
|
case 35665:
|
|
21275
|
-
return
|
|
21275
|
+
return IB;
|
|
21276
21276
|
// _VEC3
|
|
21277
21277
|
case 35666:
|
|
21278
|
-
return
|
|
21278
|
+
return LB;
|
|
21279
21279
|
// _VEC4
|
|
21280
21280
|
case 35674:
|
|
21281
|
-
return
|
|
21281
|
+
return FB;
|
|
21282
21282
|
// _MAT2
|
|
21283
21283
|
case 35675:
|
|
21284
|
-
return
|
|
21284
|
+
return NB;
|
|
21285
21285
|
// _MAT3
|
|
21286
21286
|
case 35676:
|
|
21287
|
-
return
|
|
21287
|
+
return BB;
|
|
21288
21288
|
// _MAT4
|
|
21289
21289
|
case 5124:
|
|
21290
21290
|
case 35670:
|
|
21291
|
-
return
|
|
21291
|
+
return UB;
|
|
21292
21292
|
// INT, BOOL
|
|
21293
21293
|
case 35667:
|
|
21294
21294
|
case 35671:
|
|
21295
|
-
return
|
|
21295
|
+
return zB;
|
|
21296
21296
|
// _VEC2
|
|
21297
21297
|
case 35668:
|
|
21298
21298
|
case 35672:
|
|
21299
|
-
return
|
|
21299
|
+
return jB;
|
|
21300
21300
|
// _VEC3
|
|
21301
21301
|
case 35669:
|
|
21302
21302
|
case 35673:
|
|
21303
|
-
return
|
|
21303
|
+
return HB;
|
|
21304
21304
|
// _VEC4
|
|
21305
21305
|
case 5125:
|
|
21306
|
-
return
|
|
21306
|
+
return VB;
|
|
21307
21307
|
// UINT
|
|
21308
21308
|
case 36294:
|
|
21309
|
-
return
|
|
21309
|
+
return GB;
|
|
21310
21310
|
// _VEC2
|
|
21311
21311
|
case 36295:
|
|
21312
|
-
return
|
|
21312
|
+
return WB;
|
|
21313
21313
|
// _VEC3
|
|
21314
21314
|
case 36296:
|
|
21315
|
-
return $
|
|
21315
|
+
return $B;
|
|
21316
21316
|
// _VEC4
|
|
21317
21317
|
case 35678:
|
|
21318
21318
|
// SAMPLER_2D
|
|
@@ -21323,13 +21323,13 @@ function K3(i) {
|
|
|
21323
21323
|
case 36306:
|
|
21324
21324
|
// UNSIGNED_INT_SAMPLER_2D
|
|
21325
21325
|
case 35682:
|
|
21326
|
-
return
|
|
21326
|
+
return XB;
|
|
21327
21327
|
case 35679:
|
|
21328
21328
|
// SAMPLER_3D
|
|
21329
21329
|
case 36299:
|
|
21330
21330
|
// INT_SAMPLER_3D
|
|
21331
21331
|
case 36307:
|
|
21332
|
-
return
|
|
21332
|
+
return YB;
|
|
21333
21333
|
case 35680:
|
|
21334
21334
|
// SAMPLER_CUBE
|
|
21335
21335
|
case 36300:
|
|
@@ -21337,7 +21337,7 @@ function K3(i) {
|
|
|
21337
21337
|
case 36308:
|
|
21338
21338
|
// UNSIGNED_INT_SAMPLER_CUBE
|
|
21339
21339
|
case 36293:
|
|
21340
|
-
return
|
|
21340
|
+
return qB;
|
|
21341
21341
|
case 36289:
|
|
21342
21342
|
// SAMPLER_2D_ARRAY
|
|
21343
21343
|
case 36303:
|
|
@@ -21345,13 +21345,13 @@ function K3(i) {
|
|
|
21345
21345
|
case 36311:
|
|
21346
21346
|
// UNSIGNED_INT_SAMPLER_2D_ARRAY
|
|
21347
21347
|
case 36292:
|
|
21348
|
-
return
|
|
21348
|
+
return ZB;
|
|
21349
21349
|
}
|
|
21350
21350
|
}
|
|
21351
|
-
function
|
|
21351
|
+
function JB(i, e) {
|
|
21352
21352
|
i.uniform1fv(this.addr, e);
|
|
21353
21353
|
}
|
|
21354
|
-
function
|
|
21354
|
+
function QB(i, e) {
|
|
21355
21355
|
const t = jl(e, this.size, 2);
|
|
21356
21356
|
i.uniform2fv(this.addr, t);
|
|
21357
21357
|
}
|
|
@@ -21426,10 +21426,10 @@ function gU(i, e, t) {
|
|
|
21426
21426
|
function vU(i) {
|
|
21427
21427
|
switch (i) {
|
|
21428
21428
|
case 5126:
|
|
21429
|
-
return
|
|
21429
|
+
return JB;
|
|
21430
21430
|
// FLOAT
|
|
21431
21431
|
case 35664:
|
|
21432
|
-
return
|
|
21432
|
+
return QB;
|
|
21433
21433
|
// _VEC2
|
|
21434
21434
|
case 35665:
|
|
21435
21435
|
return eU;
|
|
@@ -21510,7 +21510,7 @@ function vU(i) {
|
|
|
21510
21510
|
}
|
|
21511
21511
|
class yU {
|
|
21512
21512
|
constructor(e, t, n) {
|
|
21513
|
-
this.id = e, this.addr = n, this.cache = [], this.type = t.type, this.setValue =
|
|
21513
|
+
this.id = e, this.addr = n, this.cache = [], this.type = t.type, this.setValue = KB(t.type);
|
|
21514
21514
|
}
|
|
21515
21515
|
}
|
|
21516
21516
|
class bU {
|
|
@@ -24446,7 +24446,7 @@ class gz {
|
|
|
24446
24446
|
}
|
|
24447
24447
|
let Ce, Le, ye, Fe, we, B, I, ne, ve, me, Se, Oe, Ee, Re, Ke, ke, Ve, Ge, $e, Ae, st, Ye, _t, se;
|
|
24448
24448
|
function Pe() {
|
|
24449
|
-
Ce = new
|
|
24449
|
+
Ce = new MB($), Ce.init(), Ye = new lz($, Ce), Le = new bB($, Ce, e, Ye), ye = new oz($, Ce), Le.reverseDepthBuffer && d && ye.buffers.depth.setReversed(!0), Fe = new PB($), we = new XU(), B = new az($, Ce, ye, we, Le, Ye, Fe), I = new xB(x), ne = new EB(x), ve = new LF($), _t = new vB($, ve), me = new CB($, ve, Fe, _t), Se = new OB($, me, ve, Fe), $e = new RB($, Le, B), ke = new _B(we), Oe = new $U(x, I, ne, Ce, Le, _t, ke), Ee = new pz(x, we), Re = new qU(), Ke = new tz(Ce), Ge = new gB(x, I, ne, ye, Se, f, l), Ve = new rz(x, Se, Le), se = new mz($, Fe, Le, ye), Ae = new yB($, Ce, Fe), st = new AB($, Ce, Fe), Fe.programs = Oe.programs, x.capabilities = Le, x.extensions = Ce, x.properties = we, x.renderLists = Re, x.shadowMap = Ve, x.state = ye, x.info = Fe;
|
|
24450
24450
|
}
|
|
24451
24451
|
Pe();
|
|
24452
24452
|
const be = new dz(x, $);
|
|
@@ -42826,11 +42826,9 @@ let S8 = (Om = class {
|
|
|
42826
42826
|
cs(() => {
|
|
42827
42827
|
this.engine = new e([], {
|
|
42828
42828
|
keys: this.keys,
|
|
42829
|
-
|
|
42829
|
+
ignoreFieldNorm: !0,
|
|
42830
42830
|
includeScore: !0,
|
|
42831
|
-
|
|
42832
|
-
threshold: 0.4,
|
|
42833
|
-
useTokenSearch: !0
|
|
42831
|
+
threshold: 0.3
|
|
42834
42832
|
});
|
|
42835
42833
|
});
|
|
42836
42834
|
} catch (e) {
|
|
@@ -45684,7 +45682,7 @@ const uu = ({
|
|
|
45684
45682
|
] });
|
|
45685
45683
|
}, G2 = z.lazy(() => import(
|
|
45686
45684
|
/* webpackChunkName: "react-qr-code" */
|
|
45687
|
-
"./index-
|
|
45685
|
+
"./index-D9pdVw-U.js"
|
|
45688
45686
|
).then((i) => i.i)), XT = ["info-techlive2025", "metstrade-superyacht2023"].includes(Xe.EXPO);
|
|
45689
45687
|
var nM, rM;
|
|
45690
45688
|
const fG = Xe.backgroundColor !== "none" && Pi(Xe.backgroundColor).isDark() || ((rM = (nM = pi == null ? void 0 : pi.properties) == null ? void 0 : nM.style) == null ? void 0 : rM.includes("dark"));
|
|
@@ -47488,7 +47486,7 @@ function vW() {
|
|
|
47488
47486
|
}), z.useEffect(() => {
|
|
47489
47487
|
s && !t && import(
|
|
47490
47488
|
/* webpackChunkName: "particlesjs" */
|
|
47491
|
-
"./particles.min-
|
|
47489
|
+
"./particles.min-CsHbc6cO.js"
|
|
47492
47490
|
).then((a) => a.p).then((a) => {
|
|
47493
47491
|
n(a.default);
|
|
47494
47492
|
});
|
|
@@ -47709,7 +47707,7 @@ const yW = pt(vW), bW = () => {
|
|
|
47709
47707
|
margin: "auto"
|
|
47710
47708
|
} : void 0, children: /* @__PURE__ */ _.jsx("svg", { viewBox: "25 25 50 50", children: /* @__PURE__ */ _.jsx("circle", { r: "20", cy: "50", cx: "50" }) }) }), rA = () => import(
|
|
47711
47709
|
/* webpackChunkName: "react-virtuoso-entity-list" */
|
|
47712
|
-
"./index-
|
|
47710
|
+
"./index-C71k7nSe.js"
|
|
47713
47711
|
).then((i) => ({
|
|
47714
47712
|
default: i.Virtuoso
|
|
47715
47713
|
})).catch(() => new Promise((i) => setTimeout(() => i(rA()), 3e3))), TW = z.lazy(rA), EW = ["ipia2025"], MW = ({
|
|
@@ -49328,7 +49326,7 @@ Zy.propTypes = {};
|
|
|
49328
49326
|
Zy.defaultProps = _9;
|
|
49329
49327
|
const lE = ut.lazy(() => import(
|
|
49330
49328
|
/* webpackChunkName: "gallery" */
|
|
49331
|
-
"./Gallery-
|
|
49329
|
+
"./Gallery-C9n64fhu.js"
|
|
49332
49330
|
));
|
|
49333
49331
|
function x9() {
|
|
49334
49332
|
const i = z.useRef(), e = pr(() => ({
|
|
@@ -53306,7 +53304,7 @@ const yX = ({
|
|
|
53306
53304
|
item: i
|
|
53307
53305
|
}) => /* @__PURE__ */ _.jsx(wX, { label: i.name, value: i.id, checked: i.id === Nl(), className: "language-row", "aria-label": `Change language to ${i.name}`, onChange: () => pM(i.id) })), UA = () => import(
|
|
53308
53306
|
/* webpackChunkName: "react-virtuoso-list" */
|
|
53309
|
-
"./index-
|
|
53307
|
+
"./index-C71k7nSe.js"
|
|
53310
53308
|
).then((i) => ({
|
|
53311
53309
|
default: i.Virtuoso
|
|
53312
53310
|
})).catch(() => new Promise((i) => setTimeout(() => i(UA()), 3e3))), EX = z.lazy(UA);
|
|
@@ -53376,7 +53374,7 @@ const CX = pt(() => {
|
|
|
53376
53374
|
/* @__PURE__ */ _.jsx("span", { children: i })
|
|
53377
53375
|
] }) }) : null, PX = ut.lazy(() => import(
|
|
53378
53376
|
/* webpackChunkName: "viewer-menu-panel" */
|
|
53379
|
-
"./ViewerMenuPanel-
|
|
53377
|
+
"./ViewerMenuPanel-BMmB1p03.js"
|
|
53380
53378
|
)), t0 = /^https?:\/\//i.test(Ne.logo) ? Ne.logo : window.__dataUrlBase + Ne.logo;
|
|
53381
53379
|
nt.log("Logo url: ", t0);
|
|
53382
53380
|
window.setTimeout(function() {
|
|
@@ -55857,7 +55855,7 @@ function rq() {
|
|
|
55857
55855
|
let y = {};
|
|
55858
55856
|
try {
|
|
55859
55857
|
if (rs) {
|
|
55860
|
-
const x = document.createElement("canvas").getContext("webgl2"), S = x && x.getExtension("EXT_disjoint_timer_query_webgl2"), T = (await import("./main-
|
|
55858
|
+
const x = document.createElement("canvas").getContext("webgl2"), S = x && x.getExtension("EXT_disjoint_timer_query_webgl2"), T = (await import("./main-DxaHLbma.js")).default, M = new T({
|
|
55861
55859
|
trackGPU: S,
|
|
55862
55860
|
horizontal: !0
|
|
55863
55861
|
}), E = o.current;
|
|
@@ -56247,28 +56245,28 @@ const oq = pt(({
|
|
|
56247
56245
|
return (i = R.globalErrorMessages) != null && i.length ? /* @__PURE__ */ _.jsx("div", { className: "global-error-message", children: R.globalErrorMessages.map((e, t) => /* @__PURE__ */ _.jsx(uu, { variant: "error", closable: !0, title: e.title, onClose: () => R.popGlobalErrorMessage(), children: e.body }, t)) }) : null;
|
|
56248
56246
|
}), pq = ut.lazy(() => import(
|
|
56249
56247
|
/* webpackChunkName: "demo" */
|
|
56250
|
-
"./Demo-
|
|
56248
|
+
"./Demo-aEKqZbJJ.js"
|
|
56251
56249
|
)), mq = ut.lazy(() => import(
|
|
56252
56250
|
/* webpackChunkName: "free" */
|
|
56253
|
-
"./Free-
|
|
56251
|
+
"./Free-BGr4o53R.js"
|
|
56254
56252
|
)), gq = ut.lazy(() => import(
|
|
56255
56253
|
/* webpackChunkName: "debug" */
|
|
56256
|
-
"./Debug-
|
|
56254
|
+
"./Debug-b2YI2Uxo.js"
|
|
56257
56255
|
)), vq = ut.lazy(() => import(
|
|
56258
56256
|
/* webpackChunkName: "mapbox" */
|
|
56259
|
-
"./Mapbox-
|
|
56257
|
+
"./Mapbox-Cl0Wxz2h.js"
|
|
56260
56258
|
)), yq = ut.lazy(() => import(
|
|
56261
56259
|
/* webpackChunkName: "threejs" */
|
|
56262
|
-
"./ThreeComponent-
|
|
56260
|
+
"./ThreeComponent-CSsqNYDu.js"
|
|
56263
56261
|
)), bq = ut.lazy(() => Promise.resolve().then(() => DX)), _q = ut.lazy(() => Promise.resolve().then(() => qW)), xq = ut.lazy(() => import(
|
|
56264
56262
|
/* webpackChunkName: "cc-script" */
|
|
56265
|
-
"./GpsLoader-
|
|
56263
|
+
"./GpsLoader-ChxBR2EI.js"
|
|
56266
56264
|
)), Sq = ut.lazy(() => import(
|
|
56267
56265
|
/* webpackChunkName: "set-kiosk-mode" */
|
|
56268
|
-
"./SetKioskMode-
|
|
56266
|
+
"./SetKioskMode-D3EJeF9c.js"
|
|
56269
56267
|
)), wq = ut.lazy(() => import(
|
|
56270
56268
|
/* webpackChunkName: "show-kiosk" */
|
|
56271
|
-
"./ShowKiosk-
|
|
56269
|
+
"./ShowKiosk-Bs5q-1RZ.js"
|
|
56272
56270
|
)), Tq = pt(function({
|
|
56273
56271
|
offHistory: e,
|
|
56274
56272
|
allowConsent: t
|