ocearo-ui 0.1.21 → 0.1.22
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/404.html +1 -1
- package/README.fr.md +31 -1
- package/README.md +31 -1
- package/__next.__PAGE__.txt +2 -2
- package/__next._full.txt +3 -3
- package/__next._head.txt +1 -1
- package/__next._index.txt +2 -2
- package/__next._tree.txt +2 -2
- package/_next/static/chunks/0-z15txb4-uhu.js +409 -0
- package/_next/static/chunks/{29-ag86gvlc40.js → 0kinaai2rvd43.js} +1 -1
- package/_next/static/chunks/0qj7yy4f6sk8y.js +455 -0
- package/_next/static/chunks/0yf1ifg_o1bq6.js +1 -0
- package/_next/static/chunks/0zbzk2ob0li1n.js +1 -0
- package/_next/static/chunks/17ma1x64d-211.js +1 -0
- package/_next/static/chunks/19xb2y6sgfnza.js +1 -0
- package/_next/static/chunks/1q572rz5m8mb-.js +1 -0
- package/_next/static/chunks/{2baz6j1q913qw.js → 1rkf8qtk5-48h.js} +1 -1
- package/_next/static/chunks/26e1o1as-77nq.js +172 -0
- package/_next/static/chunks/2fy4q1c5l3tpj.js +1 -0
- package/_next/static/chunks/2lw7kypuhij1_.css +3 -0
- package/_next/static/chunks/{1porlo35ga4zu.js → 2q_83f24jeg0e.js} +1 -1
- package/_next/static/chunks/2udirievybq_j.js +1 -0
- package/_next/static/chunks/3myql5zu0rstt.js +425 -0
- package/_not-found/__next._full.txt +2 -2
- package/_not-found/__next._head.txt +1 -1
- package/_not-found/__next._index.txt +2 -2
- package/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/_not-found/__next._not-found.txt +1 -1
- package/_not-found/__next._tree.txt +2 -2
- package/_not-found.html +1 -1
- package/_not-found.txt +2 -2
- package/index.html +1 -1
- package/index.txt +3 -3
- package/package.json +1 -1
- package/settings/__next._full.txt +3 -3
- package/settings/__next._head.txt +1 -1
- package/settings/__next._index.txt +2 -2
- package/settings/__next._tree.txt +2 -2
- package/settings/__next.settings.__PAGE__.txt +2 -2
- package/settings/__next.settings.txt +1 -1
- package/settings.html +1 -1
- package/settings.txt +3 -3
- package/_next/static/chunks/08gn5_gd6amkq.js +0 -1
- package/_next/static/chunks/0utifqhyv2cuc.js +0 -1
- package/_next/static/chunks/0wzr1__so6xme.js +0 -1
- package/_next/static/chunks/11ln9lzzbo35q.js +0 -1
- package/_next/static/chunks/1w1ua0-p5lk1e.js +0 -38
- package/_next/static/chunks/1wv5e5qomv-7g.css +0 -3
- package/_next/static/chunks/2lez3uww9j4t0.js +0 -135
- package/_next/static/chunks/2uao1hfsz-oy8.js +0 -1
- package/_next/static/chunks/2yghvponatk1x.js +0 -135
- package/_next/static/chunks/31i14-jemhnic.js +0 -863
- package/_next/static/chunks/3dt63tw_9r0jt.js +0 -38
- package/_next/static/chunks/3sgrkzk20mxs6.js +0 -54
- /package/_next/static/{hlKDicTyNGfd7dmHqo5m5 → sct9rcMTcCyBLHTxQQ75-}/_buildManifest.js +0 -0
- /package/_next/static/{hlKDicTyNGfd7dmHqo5m5 → sct9rcMTcCyBLHTxQQ75-}/_clientMiddlewareManifest.js +0 -0
- /package/_next/static/{hlKDicTyNGfd7dmHqo5m5 → sct9rcMTcCyBLHTxQQ75-}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,43216,e=>{"use strict";let t,i;var n=e.i(31067),r=e.i(71645),a=e.i(90072),o=e.i(28600),s=a,l=a;let d=new l.Box3,u=new l.Vector3;class f extends l.InstancedBufferGeometry{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry",this.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),this.setAttribute("position",new l.Float32BufferAttribute([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),this.setAttribute("uv",new l.Float32BufferAttribute([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2))}applyMatrix4(e){let t=this.attributes.instanceStart,i=this.attributes.instanceEnd;return void 0!==t&&(t.applyMatrix4(e),i.applyMatrix4(e),t.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}setPositions(e){let t;e instanceof Float32Array?t=e:Array.isArray(e)&&(t=new Float32Array(e));let i=new l.InstancedInterleavedBuffer(t,6,1);return this.setAttribute("instanceStart",new l.InterleavedBufferAttribute(i,3,0)),this.setAttribute("instanceEnd",new l.InterleavedBufferAttribute(i,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e,t=3){let i;e instanceof Float32Array?i=e:Array.isArray(e)&&(i=new Float32Array(e));let n=new l.InstancedInterleavedBuffer(i,2*t,1);return this.setAttribute("instanceColorStart",new l.InterleavedBufferAttribute(n,t,0)),this.setAttribute("instanceColorEnd",new l.InterleavedBufferAttribute(n,t,t)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new l.WireframeGeometry(e.geometry)),this}fromLineSegments(e){let t=e.geometry;return this.setPositions(t.attributes.position.array),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new l.Box3);let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;void 0!==e&&void 0!==t&&(this.boundingBox.setFromBufferAttribute(e),d.setFromBufferAttribute(t),this.boundingBox.union(d))}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new l.Sphere),null===this.boundingBox&&this.computeBoundingBox();let e=this.attributes.instanceStart,t=this.attributes.instanceEnd;if(void 0!==e&&void 0!==t){let i=this.boundingSphere.center;this.boundingBox.getCenter(i);let n=0;for(let r=0,a=e.count;r<a;r++)u.fromBufferAttribute(e,r),n=Math.max(n,i.distanceToSquared(u)),u.fromBufferAttribute(t,r),n=Math.max(n,i.distanceToSquared(u));this.boundingSphere.radius=Math.sqrt(n),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}applyMatrix(e){return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."),this.applyMatrix4(e)}}var c=a,p=e.i(8560),h=e.i(31497);class m extends c.ShaderMaterial{constructor(e){super({type:"LineMaterial",uniforms:c.UniformsUtils.clone(c.UniformsUtils.merge([p.UniformsLib.common,p.UniformsLib.fog,{worldUnits:{value:1},linewidth:{value:1},resolution:{value:new c.Vector2(1,1)},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}}])),vertexShader:`
|
|
2
|
+
#include <common>
|
|
3
|
+
#include <fog_pars_vertex>
|
|
4
|
+
#include <logdepthbuf_pars_vertex>
|
|
5
|
+
#include <clipping_planes_pars_vertex>
|
|
6
|
+
|
|
7
|
+
uniform float linewidth;
|
|
8
|
+
uniform vec2 resolution;
|
|
9
|
+
|
|
10
|
+
attribute vec3 instanceStart;
|
|
11
|
+
attribute vec3 instanceEnd;
|
|
12
|
+
|
|
13
|
+
#ifdef USE_COLOR
|
|
14
|
+
#ifdef USE_LINE_COLOR_ALPHA
|
|
15
|
+
varying vec4 vLineColor;
|
|
16
|
+
attribute vec4 instanceColorStart;
|
|
17
|
+
attribute vec4 instanceColorEnd;
|
|
18
|
+
#else
|
|
19
|
+
varying vec3 vLineColor;
|
|
20
|
+
attribute vec3 instanceColorStart;
|
|
21
|
+
attribute vec3 instanceColorEnd;
|
|
22
|
+
#endif
|
|
23
|
+
#endif
|
|
24
|
+
|
|
25
|
+
#ifdef WORLD_UNITS
|
|
26
|
+
|
|
27
|
+
varying vec4 worldPos;
|
|
28
|
+
varying vec3 worldStart;
|
|
29
|
+
varying vec3 worldEnd;
|
|
30
|
+
|
|
31
|
+
#ifdef USE_DASH
|
|
32
|
+
|
|
33
|
+
varying vec2 vUv;
|
|
34
|
+
|
|
35
|
+
#endif
|
|
36
|
+
|
|
37
|
+
#else
|
|
38
|
+
|
|
39
|
+
varying vec2 vUv;
|
|
40
|
+
|
|
41
|
+
#endif
|
|
42
|
+
|
|
43
|
+
#ifdef USE_DASH
|
|
44
|
+
|
|
45
|
+
uniform float dashScale;
|
|
46
|
+
attribute float instanceDistanceStart;
|
|
47
|
+
attribute float instanceDistanceEnd;
|
|
48
|
+
varying float vLineDistance;
|
|
49
|
+
|
|
50
|
+
#endif
|
|
51
|
+
|
|
52
|
+
void trimSegment( const in vec4 start, inout vec4 end ) {
|
|
53
|
+
|
|
54
|
+
// trim end segment so it terminates between the camera plane and the near plane
|
|
55
|
+
|
|
56
|
+
// conservative estimate of the near plane
|
|
57
|
+
float a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column
|
|
58
|
+
float b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column
|
|
59
|
+
float nearEstimate = - 0.5 * b / a;
|
|
60
|
+
|
|
61
|
+
float alpha = ( nearEstimate - start.z ) / ( end.z - start.z );
|
|
62
|
+
|
|
63
|
+
end.xyz = mix( start.xyz, end.xyz, alpha );
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
void main() {
|
|
68
|
+
|
|
69
|
+
#ifdef USE_COLOR
|
|
70
|
+
|
|
71
|
+
vLineColor = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd;
|
|
72
|
+
|
|
73
|
+
#endif
|
|
74
|
+
|
|
75
|
+
#ifdef USE_DASH
|
|
76
|
+
|
|
77
|
+
vLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd;
|
|
78
|
+
vUv = uv;
|
|
79
|
+
|
|
80
|
+
#endif
|
|
81
|
+
|
|
82
|
+
float aspect = resolution.x / resolution.y;
|
|
83
|
+
|
|
84
|
+
// camera space
|
|
85
|
+
vec4 start = modelViewMatrix * vec4( instanceStart, 1.0 );
|
|
86
|
+
vec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 );
|
|
87
|
+
|
|
88
|
+
#ifdef WORLD_UNITS
|
|
89
|
+
|
|
90
|
+
worldStart = start.xyz;
|
|
91
|
+
worldEnd = end.xyz;
|
|
92
|
+
|
|
93
|
+
#else
|
|
94
|
+
|
|
95
|
+
vUv = uv;
|
|
96
|
+
|
|
97
|
+
#endif
|
|
98
|
+
|
|
99
|
+
// special case for perspective projection, and segments that terminate either in, or behind, the camera plane
|
|
100
|
+
// clearly the gpu firmware has a way of addressing this issue when projecting into ndc space
|
|
101
|
+
// but we need to perform ndc-space calculations in the shader, so we must address this issue directly
|
|
102
|
+
// perhaps there is a more elegant solution -- WestLangley
|
|
103
|
+
|
|
104
|
+
bool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column
|
|
105
|
+
|
|
106
|
+
if ( perspective ) {
|
|
107
|
+
|
|
108
|
+
if ( start.z < 0.0 && end.z >= 0.0 ) {
|
|
109
|
+
|
|
110
|
+
trimSegment( start, end );
|
|
111
|
+
|
|
112
|
+
} else if ( end.z < 0.0 && start.z >= 0.0 ) {
|
|
113
|
+
|
|
114
|
+
trimSegment( end, start );
|
|
115
|
+
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// clip space
|
|
121
|
+
vec4 clipStart = projectionMatrix * start;
|
|
122
|
+
vec4 clipEnd = projectionMatrix * end;
|
|
123
|
+
|
|
124
|
+
// ndc space
|
|
125
|
+
vec3 ndcStart = clipStart.xyz / clipStart.w;
|
|
126
|
+
vec3 ndcEnd = clipEnd.xyz / clipEnd.w;
|
|
127
|
+
|
|
128
|
+
// direction
|
|
129
|
+
vec2 dir = ndcEnd.xy - ndcStart.xy;
|
|
130
|
+
|
|
131
|
+
// account for clip-space aspect ratio
|
|
132
|
+
dir.x *= aspect;
|
|
133
|
+
dir = normalize( dir );
|
|
134
|
+
|
|
135
|
+
#ifdef WORLD_UNITS
|
|
136
|
+
|
|
137
|
+
// get the offset direction as perpendicular to the view vector
|
|
138
|
+
vec3 worldDir = normalize( end.xyz - start.xyz );
|
|
139
|
+
vec3 offset;
|
|
140
|
+
if ( position.y < 0.5 ) {
|
|
141
|
+
|
|
142
|
+
offset = normalize( cross( start.xyz, worldDir ) );
|
|
143
|
+
|
|
144
|
+
} else {
|
|
145
|
+
|
|
146
|
+
offset = normalize( cross( end.xyz, worldDir ) );
|
|
147
|
+
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// sign flip
|
|
151
|
+
if ( position.x < 0.0 ) offset *= - 1.0;
|
|
152
|
+
|
|
153
|
+
float forwardOffset = dot( worldDir, vec3( 0.0, 0.0, 1.0 ) );
|
|
154
|
+
|
|
155
|
+
// don't extend the line if we're rendering dashes because we
|
|
156
|
+
// won't be rendering the endcaps
|
|
157
|
+
#ifndef USE_DASH
|
|
158
|
+
|
|
159
|
+
// extend the line bounds to encompass endcaps
|
|
160
|
+
start.xyz += - worldDir * linewidth * 0.5;
|
|
161
|
+
end.xyz += worldDir * linewidth * 0.5;
|
|
162
|
+
|
|
163
|
+
// shift the position of the quad so it hugs the forward edge of the line
|
|
164
|
+
offset.xy -= dir * forwardOffset;
|
|
165
|
+
offset.z += 0.5;
|
|
166
|
+
|
|
167
|
+
#endif
|
|
168
|
+
|
|
169
|
+
// endcaps
|
|
170
|
+
if ( position.y > 1.0 || position.y < 0.0 ) {
|
|
171
|
+
|
|
172
|
+
offset.xy += dir * 2.0 * forwardOffset;
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// adjust for linewidth
|
|
177
|
+
offset *= linewidth * 0.5;
|
|
178
|
+
|
|
179
|
+
// set the world position
|
|
180
|
+
worldPos = ( position.y < 0.5 ) ? start : end;
|
|
181
|
+
worldPos.xyz += offset;
|
|
182
|
+
|
|
183
|
+
// project the worldpos
|
|
184
|
+
vec4 clip = projectionMatrix * worldPos;
|
|
185
|
+
|
|
186
|
+
// shift the depth of the projected points so the line
|
|
187
|
+
// segments overlap neatly
|
|
188
|
+
vec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd;
|
|
189
|
+
clip.z = clipPose.z * clip.w;
|
|
190
|
+
|
|
191
|
+
#else
|
|
192
|
+
|
|
193
|
+
vec2 offset = vec2( dir.y, - dir.x );
|
|
194
|
+
// undo aspect ratio adjustment
|
|
195
|
+
dir.x /= aspect;
|
|
196
|
+
offset.x /= aspect;
|
|
197
|
+
|
|
198
|
+
// sign flip
|
|
199
|
+
if ( position.x < 0.0 ) offset *= - 1.0;
|
|
200
|
+
|
|
201
|
+
// endcaps
|
|
202
|
+
if ( position.y < 0.0 ) {
|
|
203
|
+
|
|
204
|
+
offset += - dir;
|
|
205
|
+
|
|
206
|
+
} else if ( position.y > 1.0 ) {
|
|
207
|
+
|
|
208
|
+
offset += dir;
|
|
209
|
+
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// adjust for linewidth
|
|
213
|
+
offset *= linewidth;
|
|
214
|
+
|
|
215
|
+
// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...
|
|
216
|
+
offset /= resolution.y;
|
|
217
|
+
|
|
218
|
+
// select end
|
|
219
|
+
vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;
|
|
220
|
+
|
|
221
|
+
// back to clip space
|
|
222
|
+
offset *= clip.w;
|
|
223
|
+
|
|
224
|
+
clip.xy += offset;
|
|
225
|
+
|
|
226
|
+
#endif
|
|
227
|
+
|
|
228
|
+
gl_Position = clip;
|
|
229
|
+
|
|
230
|
+
vec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation
|
|
231
|
+
|
|
232
|
+
#include <logdepthbuf_vertex>
|
|
233
|
+
#include <clipping_planes_vertex>
|
|
234
|
+
#include <fog_vertex>
|
|
235
|
+
|
|
236
|
+
}
|
|
237
|
+
`,fragmentShader:`
|
|
238
|
+
uniform vec3 diffuse;
|
|
239
|
+
uniform float opacity;
|
|
240
|
+
uniform float linewidth;
|
|
241
|
+
|
|
242
|
+
#ifdef USE_DASH
|
|
243
|
+
|
|
244
|
+
uniform float dashOffset;
|
|
245
|
+
uniform float dashSize;
|
|
246
|
+
uniform float gapSize;
|
|
247
|
+
|
|
248
|
+
#endif
|
|
249
|
+
|
|
250
|
+
varying float vLineDistance;
|
|
251
|
+
|
|
252
|
+
#ifdef WORLD_UNITS
|
|
253
|
+
|
|
254
|
+
varying vec4 worldPos;
|
|
255
|
+
varying vec3 worldStart;
|
|
256
|
+
varying vec3 worldEnd;
|
|
257
|
+
|
|
258
|
+
#ifdef USE_DASH
|
|
259
|
+
|
|
260
|
+
varying vec2 vUv;
|
|
261
|
+
|
|
262
|
+
#endif
|
|
263
|
+
|
|
264
|
+
#else
|
|
265
|
+
|
|
266
|
+
varying vec2 vUv;
|
|
267
|
+
|
|
268
|
+
#endif
|
|
269
|
+
|
|
270
|
+
#include <common>
|
|
271
|
+
#include <fog_pars_fragment>
|
|
272
|
+
#include <logdepthbuf_pars_fragment>
|
|
273
|
+
#include <clipping_planes_pars_fragment>
|
|
274
|
+
|
|
275
|
+
#ifdef USE_COLOR
|
|
276
|
+
#ifdef USE_LINE_COLOR_ALPHA
|
|
277
|
+
varying vec4 vLineColor;
|
|
278
|
+
#else
|
|
279
|
+
varying vec3 vLineColor;
|
|
280
|
+
#endif
|
|
281
|
+
#endif
|
|
282
|
+
|
|
283
|
+
vec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) {
|
|
284
|
+
|
|
285
|
+
float mua;
|
|
286
|
+
float mub;
|
|
287
|
+
|
|
288
|
+
vec3 p13 = p1 - p3;
|
|
289
|
+
vec3 p43 = p4 - p3;
|
|
290
|
+
|
|
291
|
+
vec3 p21 = p2 - p1;
|
|
292
|
+
|
|
293
|
+
float d1343 = dot( p13, p43 );
|
|
294
|
+
float d4321 = dot( p43, p21 );
|
|
295
|
+
float d1321 = dot( p13, p21 );
|
|
296
|
+
float d4343 = dot( p43, p43 );
|
|
297
|
+
float d2121 = dot( p21, p21 );
|
|
298
|
+
|
|
299
|
+
float denom = d2121 * d4343 - d4321 * d4321;
|
|
300
|
+
|
|
301
|
+
float numer = d1343 * d4321 - d1321 * d4343;
|
|
302
|
+
|
|
303
|
+
mua = numer / denom;
|
|
304
|
+
mua = clamp( mua, 0.0, 1.0 );
|
|
305
|
+
mub = ( d1343 + d4321 * ( mua ) ) / d4343;
|
|
306
|
+
mub = clamp( mub, 0.0, 1.0 );
|
|
307
|
+
|
|
308
|
+
return vec2( mua, mub );
|
|
309
|
+
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
void main() {
|
|
313
|
+
|
|
314
|
+
#include <clipping_planes_fragment>
|
|
315
|
+
|
|
316
|
+
#ifdef USE_DASH
|
|
317
|
+
|
|
318
|
+
if ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps
|
|
319
|
+
|
|
320
|
+
if ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX
|
|
321
|
+
|
|
322
|
+
#endif
|
|
323
|
+
|
|
324
|
+
float alpha = opacity;
|
|
325
|
+
|
|
326
|
+
#ifdef WORLD_UNITS
|
|
327
|
+
|
|
328
|
+
// Find the closest points on the view ray and the line segment
|
|
329
|
+
vec3 rayEnd = normalize( worldPos.xyz ) * 1e5;
|
|
330
|
+
vec3 lineDir = worldEnd - worldStart;
|
|
331
|
+
vec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd );
|
|
332
|
+
|
|
333
|
+
vec3 p1 = worldStart + lineDir * params.x;
|
|
334
|
+
vec3 p2 = rayEnd * params.y;
|
|
335
|
+
vec3 delta = p1 - p2;
|
|
336
|
+
float len = length( delta );
|
|
337
|
+
float norm = len / linewidth;
|
|
338
|
+
|
|
339
|
+
#ifndef USE_DASH
|
|
340
|
+
|
|
341
|
+
#ifdef USE_ALPHA_TO_COVERAGE
|
|
342
|
+
|
|
343
|
+
float dnorm = fwidth( norm );
|
|
344
|
+
alpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm );
|
|
345
|
+
|
|
346
|
+
#else
|
|
347
|
+
|
|
348
|
+
if ( norm > 0.5 ) {
|
|
349
|
+
|
|
350
|
+
discard;
|
|
351
|
+
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
#endif
|
|
355
|
+
|
|
356
|
+
#endif
|
|
357
|
+
|
|
358
|
+
#else
|
|
359
|
+
|
|
360
|
+
#ifdef USE_ALPHA_TO_COVERAGE
|
|
361
|
+
|
|
362
|
+
// artifacts appear on some hardware if a derivative is taken within a conditional
|
|
363
|
+
float a = vUv.x;
|
|
364
|
+
float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
|
|
365
|
+
float len2 = a * a + b * b;
|
|
366
|
+
float dlen = fwidth( len2 );
|
|
367
|
+
|
|
368
|
+
if ( abs( vUv.y ) > 1.0 ) {
|
|
369
|
+
|
|
370
|
+
alpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 );
|
|
371
|
+
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
#else
|
|
375
|
+
|
|
376
|
+
if ( abs( vUv.y ) > 1.0 ) {
|
|
377
|
+
|
|
378
|
+
float a = vUv.x;
|
|
379
|
+
float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
|
|
380
|
+
float len2 = a * a + b * b;
|
|
381
|
+
|
|
382
|
+
if ( len2 > 1.0 ) discard;
|
|
383
|
+
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
#endif
|
|
387
|
+
|
|
388
|
+
#endif
|
|
389
|
+
|
|
390
|
+
vec4 diffuseColor = vec4( diffuse, alpha );
|
|
391
|
+
#ifdef USE_COLOR
|
|
392
|
+
#ifdef USE_LINE_COLOR_ALPHA
|
|
393
|
+
diffuseColor *= vLineColor;
|
|
394
|
+
#else
|
|
395
|
+
diffuseColor.rgb *= vLineColor;
|
|
396
|
+
#endif
|
|
397
|
+
#endif
|
|
398
|
+
|
|
399
|
+
#include <logdepthbuf_fragment>
|
|
400
|
+
|
|
401
|
+
gl_FragColor = diffuseColor;
|
|
402
|
+
|
|
403
|
+
#include <tonemapping_fragment>
|
|
404
|
+
#include <${h.version>=154?"colorspace_fragment":"encodings_fragment"}>
|
|
405
|
+
#include <fog_fragment>
|
|
406
|
+
#include <premultiplied_alpha_fragment>
|
|
407
|
+
|
|
408
|
+
}
|
|
409
|
+
`,clipping:!0}),this.isLineMaterial=!0,this.onBeforeCompile=function(){this.transparent?this.defines.USE_LINE_COLOR_ALPHA="1":delete this.defines.USE_LINE_COLOR_ALPHA},Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(e){this.uniforms.diffuse.value=e}},worldUnits:{enumerable:!0,get:function(){return"WORLD_UNITS"in this.defines},set:function(e){!0===e?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(e){this.uniforms.linewidth.value=e}},dashed:{enumerable:!0,get:function(){return"USE_DASH"in this.defines},set(e){!!e!="USE_DASH"in this.defines&&(this.needsUpdate=!0),!0===e?this.defines.USE_DASH="":delete this.defines.USE_DASH}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(e){this.uniforms.dashScale.value=e}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(e){this.uniforms.dashSize.value=e}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(e){this.uniforms.dashOffset.value=e}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(e){this.uniforms.gapSize.value=e}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(e){this.uniforms.opacity.value=e}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(e){this.uniforms.resolution.value.copy(e)}},alphaToCoverage:{enumerable:!0,get:function(){return"USE_ALPHA_TO_COVERAGE"in this.defines},set:function(e){!!e!="USE_ALPHA_TO_COVERAGE"in this.defines&&(this.needsUpdate=!0),!0===e?(this.defines.USE_ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.USE_ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(e)}}let v=h.version>=125?"uv1":"uv2",g=new s.Vector4,y=new s.Vector3,S=new s.Vector3,x=new s.Vector4,w=new s.Vector4,b=new s.Vector4,E=new s.Vector3,A=new s.Matrix4,_=new s.Line3,L=new s.Vector3,U=new s.Box3,M=new s.Sphere,z=new s.Vector4;function B(e,t,n){return z.set(0,0,-t,1).applyMatrix4(e.projectionMatrix),z.multiplyScalar(1/z.w),z.x=i/n.width,z.y=i/n.height,z.applyMatrix4(e.projectionMatrixInverse),z.multiplyScalar(1/z.w),Math.abs(Math.max(z.x,z.y))}class C extends s.Mesh{constructor(e=new f,t=new m({color:0xffffff*Math.random()})){super(e,t),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){let e=this.geometry,t=e.attributes.instanceStart,i=e.attributes.instanceEnd,n=new Float32Array(2*t.count);for(let e=0,r=0,a=t.count;e<a;e++,r+=2)y.fromBufferAttribute(t,e),S.fromBufferAttribute(i,e),n[r]=0===r?0:n[r-1],n[r+1]=n[r]+y.distanceTo(S);let r=new s.InstancedInterleavedBuffer(n,2,1);return e.setAttribute("instanceDistanceStart",new s.InterleavedBufferAttribute(r,1,0)),e.setAttribute("instanceDistanceEnd",new s.InterleavedBufferAttribute(r,1,1)),this}raycast(e,n){let r,a,o=this.material.worldUnits,l=e.camera;null!==l||o||console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.');let d=void 0!==e.params.Line2&&e.params.Line2.threshold||0;t=e.ray;let u=this.matrixWorld,f=this.geometry,c=this.material;if(i=c.linewidth+d,null===f.boundingSphere&&f.computeBoundingSphere(),M.copy(f.boundingSphere).applyMatrix4(u),o)r=.5*i;else{let e=Math.max(l.near,M.distanceToPoint(t.origin));r=B(l,e,c.resolution)}if(M.radius+=r,!1!==t.intersectsSphere(M)){if(null===f.boundingBox&&f.computeBoundingBox(),U.copy(f.boundingBox).applyMatrix4(u),o)a=.5*i;else{let e=Math.max(l.near,U.distanceToPoint(t.origin));a=B(l,e,c.resolution)}U.expandByScalar(a),!1!==t.intersectsBox(U)&&(o?function(e,n){let r=e.matrixWorld,a=e.geometry,o=a.attributes.instanceStart,l=a.attributes.instanceEnd,d=Math.min(a.instanceCount,o.count);for(let a=0;a<d;a++){_.start.fromBufferAttribute(o,a),_.end.fromBufferAttribute(l,a),_.applyMatrix4(r);let d=new s.Vector3,u=new s.Vector3;t.distanceSqToSegment(_.start,_.end,u,d),u.distanceTo(d)<.5*i&&n.push({point:u,pointOnLine:d,distance:t.origin.distanceTo(u),object:e,face:null,faceIndex:a,uv:null,[v]:null})}}(this,n):function(e,n,r){let a=n.projectionMatrix,o=e.material.resolution,l=e.matrixWorld,d=e.geometry,u=d.attributes.instanceStart,f=d.attributes.instanceEnd,c=Math.min(d.instanceCount,u.count),p=-n.near;t.at(1,b),b.w=1,b.applyMatrix4(n.matrixWorldInverse),b.applyMatrix4(a),b.multiplyScalar(1/b.w),b.x*=o.x/2,b.y*=o.y/2,b.z=0,E.copy(b),A.multiplyMatrices(n.matrixWorldInverse,l);for(let n=0;n<c;n++){if(x.fromBufferAttribute(u,n),w.fromBufferAttribute(f,n),x.w=1,w.w=1,x.applyMatrix4(A),w.applyMatrix4(A),x.z>p&&w.z>p)continue;if(x.z>p){let e=x.z-w.z,t=(x.z-p)/e;x.lerp(w,t)}else if(w.z>p){let e=w.z-x.z,t=(w.z-p)/e;w.lerp(x,t)}x.applyMatrix4(a),w.applyMatrix4(a),x.multiplyScalar(1/x.w),w.multiplyScalar(1/w.w),x.x*=o.x/2,x.y*=o.y/2,w.x*=o.x/2,w.y*=o.y/2,_.start.copy(x),_.start.z=0,_.end.copy(w),_.end.z=0;let d=_.closestPointToPointParameter(E,!0);_.at(d,L);let c=s.MathUtils.lerp(x.z,w.z,d),h=c>=-1&&c<=1,m=E.distanceTo(L)<.5*i;if(h&&m){_.start.fromBufferAttribute(u,n),_.end.fromBufferAttribute(f,n),_.start.applyMatrix4(l),_.end.applyMatrix4(l);let i=new s.Vector3,a=new s.Vector3;t.distanceSqToSegment(_.start,_.end,a,i),r.push({point:a,pointOnLine:i,distance:t.origin.distanceTo(a),object:e,face:null,faceIndex:n,uv:null,[v]:null})}}}(this,l,n))}}onBeforeRender(e){let t=this.material.uniforms;t&&t.resolution&&(e.getViewport(g),this.material.uniforms.resolution.value.set(g.z,g.w))}}class O extends f{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(e){let t=e.length-3,i=new Float32Array(2*t);for(let n=0;n<t;n+=3)i[2*n]=e[n],i[2*n+1]=e[n+1],i[2*n+2]=e[n+2],i[2*n+3]=e[n+3],i[2*n+4]=e[n+4],i[2*n+5]=e[n+5];return super.setPositions(i),this}setColors(e,t=3){let i=e.length-t,n=new Float32Array(2*i);if(3===t)for(let r=0;r<i;r+=t)n[2*r]=e[r],n[2*r+1]=e[r+1],n[2*r+2]=e[r+2],n[2*r+3]=e[r+3],n[2*r+4]=e[r+4],n[2*r+5]=e[r+5];else for(let r=0;r<i;r+=t)n[2*r]=e[r],n[2*r+1]=e[r+1],n[2*r+2]=e[r+2],n[2*r+3]=e[r+3],n[2*r+4]=e[r+4],n[2*r+5]=e[r+5],n[2*r+6]=e[r+6],n[2*r+7]=e[r+7];return super.setColors(n,t),this}fromLine(e){let t=e.geometry;return this.setPositions(t.attributes.position.array),this}}class P extends C{constructor(e=new O,t=new m({color:0xffffff*Math.random()})){super(e,t),this.isLine2=!0,this.type="Line2"}}let j=r.forwardRef(function({points:e,color:t=0xffffff,vertexColors:i,linewidth:s,lineWidth:l,segments:d,dashed:u,...c},p){var h,v;let g=(0,o.useThree)(e=>e.size),y=r.useMemo(()=>d?new C:new P,[d]),[S]=r.useState(()=>new m),x=(null==i||null==(h=i[0])?void 0:h.length)===4?4:3,w=r.useMemo(()=>{let n=d?new f:new O,r=e.map(e=>{let t=Array.isArray(e);return e instanceof a.Vector3||e instanceof a.Vector4?[e.x,e.y,e.z]:e instanceof a.Vector2?[e.x,e.y,0]:t&&3===e.length?[e[0],e[1],e[2]]:t&&2===e.length?[e[0],e[1],0]:e});if(n.setPositions(r.flat()),i){t=0xffffff;let e=i.map(e=>e instanceof a.Color?e.toArray():e);n.setColors(e.flat(),x)}return n},[e,d,i,x]);return r.useLayoutEffect(()=>{y.computeLineDistances()},[e,y]),r.useLayoutEffect(()=>{u?S.defines.USE_DASH="":delete S.defines.USE_DASH,S.needsUpdate=!0},[u,S]),r.useEffect(()=>()=>{w.dispose(),S.dispose()},[w]),r.createElement("primitive",(0,n.default)({object:y,ref:p},c),r.createElement("primitive",{object:w,attach:"geometry"}),r.createElement("primitive",(0,n.default)({object:S,attach:"material",color:t,vertexColors:!!i,resolution:[g.width,g.height],linewidth:null!=(v=null!=s?s:l)?v:1,dashed:u,transparent:4===x},c)))});e.s(["Line",0,j],43216)},8418,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(28600),r=e.i(30297),a=e.i(82897),o=e.i(60099),s=e.i(43257),l=e.i(90072),d=e.i(67561),u=e.i(66326),f=e.i(43216),c=e.i(85709),p=e.i(48390);let h=(e,t)=>{let i=e=>e*Math.PI/180,n=i(t.latitude),r=i(e.latitude);return[6371e3*i(e.longitude-t.longitude)*Math.cos((n+r)/2)/1,-(6371e3*(r-n))/1]},m=()=>{let e=(0,c.useSignalKPath)("navigation.position"),n=(0,c.useSignalKPath)("navigation.anchor.position"),r=(0,c.useSignalKPath)("navigation.anchor.maxRadius"),a=(0,c.useSignalKPath)("navigation.headingTrue"),o=(0,c.useSignalKPath)("navigation.headingMagnetic"),s=(0,c.useSignalKPath)("navigation.courseOverGroundTrue"),[l,u]=(0,i.useState)([]);(0,i.useEffect)(()=>{let e=!1,t=null,i=0,n=!1,r=e=>{t&&clearInterval(t),t=setInterval(a,e)},a=async()=>{if(!n){n=!0;try{let t=await (0,p.getAnchorTrack)();if(e)return;i>=3&&r(15e3),i=0,u(Array.isArray(t?.track)?t.track:[])}catch{if(e)return;3==++i&&r(12e4)}finally{n=!1}}};return a(),r(15e3),()=>{e=!0,t&&clearInterval(t)}},[]);let m=(0,i.useMemo)(()=>n?.latitude!=null&&n?.longitude!=null?{latitude:n.latitude,longitude:n.longitude}:null,[n]),v=Number.isFinite(r)&&r>0,g=(v?r:30)/1,y=(0,i.useMemo)(()=>{if(e?.latitude==null||e?.longitude==null)return null;if(!m)return[0,-6.9,0];let[t,i]=h(m,e);return[t,-6.9,i]},[m,e]),S=(0,i.useMemo)(()=>{let e=a??o??s??0;return Number.isFinite(e)?e:0},[a,o,s]),x=(0,i.useMemo)(()=>{let e=[];for(let t=0;t<=64;t++){let i=t/64*Math.PI*2;e.push([g*Math.cos(i),0,g*Math.sin(i)])}return e},[g]),w=(0,i.useMemo)(()=>x.map(([e,t,i])=>[.8*e,t,.8*i]),[x]),b=(0,i.useMemo)(()=>{if(e?.latitude==null||e?.longitude==null||!l.length)return null;let t=l.filter(e=>Number.isFinite(e?.latitude)&&Number.isFinite(e?.longitude)).map(t=>{let[i,n]=h(t,e);return[i,-6.9+.05,n]});return t.push([0,-6.9+.05,0]),t.length>=2?t:null},[l,e]),E=(0,i.useMemo)(()=>y&&m?[y,[0,-6.9,0]]:null,[y,m]);if(!y)return null;let A=null!==m&&v&&Math.hypot(y[0],y[2])>g;return(0,t.jsxs)("group",{rotation:[0,S,0],children:[(0,t.jsxs)("group",{position:y,children:[(0,t.jsx)(f.Line,{points:x,color:A?d.oRed:d.oYellow,lineWidth:2,transparent:!0,opacity:.7}),(0,t.jsx)(f.Line,{points:w,color:d.oGray,lineWidth:1,dashed:!0,dashSize:2,gapSize:2,transparent:!0,opacity:.35}),(0,t.jsxs)("mesh",{position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[(0,t.jsx)("circleGeometry",{args:[Math.max(.6,.03*g),16]}),(0,t.jsx)("meshBasicMaterial",{color:d.oYellow,transparent:!0,opacity:.9})]})]}),E&&(0,t.jsx)(f.Line,{points:E,color:d.oGray,lineWidth:1,transparent:!0,opacity:.5}),b&&(0,t.jsx)(f.Line,{points:b,color:A?d.oRed:d.oYellow,lineWidth:2,transparent:!0,opacity:.85})]})};e.s(["default",0,({onUpdateInfoPanel:e})=>{let f=(0,i.useRef)(),{size:c}=(0,n.useThree)(),{nightMode:p}=(0,d.useOcearoContext)(),h=c.width/c.height;return(0,t.jsxs)(i.Suspense,{fallback:(0,t.jsx)(o.Html,{children:"Loading..."}),children:[(0,t.jsx)(a.PerspectiveCamera,{makeDefault:!0,fov:25,aspect:h,near:1,far:1e3,position:[32,10,-32]}),(0,t.jsx)(r.OrbitControls,{enableZoom:!0,enableRotate:!0,maxPolarAngle:Math.PI/2,minPolarAngle:Math.PI/4}),(0,t.jsx)(s.Environment,{files:"./assets/ocearo_env.hdr",background:!1}),(0,t.jsx)("ambientLight",{intensity:.2}),(0,t.jsx)("directionalLight",{position:[15,30,20],intensity:1.2,castShadow:!1,color:p?"#b0d8ff":"#ffffff"}),(0,t.jsx)("spotLight",{position:[0,50,100],intensity:.8,angle:.6,penumbra:1,color:p?"#4080ff":"#ffffff"}),(0,t.jsx)("pointLight",{position:[-10,10,-10],intensity:.5}),(0,t.jsx)(u.default,{ref:f,scale:[1.3,1.3,1.3],position:[0,-6,0],onUpdateInfoPanel:e}),(0,t.jsx)(m,{}),(0,t.jsxs)("mesh",{rotation:[-Math.PI/2,0,0],position:[0,-7,0],receiveShadow:!0,children:[(0,t.jsx)("planeGeometry",{args:[100,100]}),(0,t.jsx)("shaderMaterial",{uniforms:{uColor:{value:new l.Color(p?"#050505":"#0a0a0a")},uBlurRadius:{value:.15}},vertexShader:`
|
|
410
|
+
varying vec2 vUv;
|
|
411
|
+
void main() {
|
|
412
|
+
vUv = uv;
|
|
413
|
+
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
414
|
+
}
|
|
415
|
+
`,fragmentShader:`
|
|
416
|
+
uniform vec3 uColor;
|
|
417
|
+
uniform float uBlurRadius;
|
|
418
|
+
varying vec2 vUv;
|
|
419
|
+
|
|
420
|
+
void main() {
|
|
421
|
+
float distanceToCenter = length(vUv - vec2(0.5));
|
|
422
|
+
float alpha = smoothstep(0.5 - uBlurRadius, 0.5 + uBlurRadius, distanceToCenter);
|
|
423
|
+
gl_FragColor = vec4(uColor, 1.0 - alpha);
|
|
424
|
+
}
|
|
425
|
+
`})]})]})}],8418)},69675,e=>{e.n(e.i(8418))}]);
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
8:I[97367,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"ViewportBoundary"]
|
|
7
7
|
a:I[97367,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"MetadataBoundary"]
|
|
8
8
|
c:I[68027,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"default",1]
|
|
9
|
-
:HL["/ocearo-ui/_next/static/chunks/
|
|
10
|
-
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/
|
|
9
|
+
:HL["/ocearo-ui/_next/static/chunks/2lw7kypuhij1_.css","style"]
|
|
10
|
+
0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2lw7kypuhij1_.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":[["$","head",null,{"children":["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2lw7kypuhij1_.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"sct9rcMTcCyBLHTxQQ75-"}
|
|
11
11
|
d:[]
|
|
12
12
|
7:"$Wd"
|
|
13
13
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"}],["$","meta","2",{"name":"theme-color","content":"#4bbcd8","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#0a2e3d","media":"(prefers-color-scheme: dark)"}]]
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
3:I[97367,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
5:I[27201,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"IconMark"]
|
|
6
|
-
0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"}],["$","meta","2",{"name":"theme-color","content":"#4bbcd8","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#0a2e3d","media":"(prefers-color-scheme: dark)"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Ocearo"}],["$","meta","1",{"name":"description","content":"Sailing made smarter"}],["$","link","2",{"rel":"manifest","href":"./manifest.json"}],["$","meta","3",{"name":"format-detection","content":"telephone=no"}],["$","meta","4",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","5",{"name":"apple-mobile-web-app-title","content":"Ocearo"}],["$","meta","6",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","7",{"rel":"shortcut icon","href":"./favicon.ico"}],["$","link","8",{"rel":"icon","href":"./favicon.ico","type":"image/x-icon"}],["$","link","9",{"rel":"icon","href":"./favicon.svg","type":"image/svg+xml","sizes":"any"}],["$","link","10",{"rel":"icon","href":"./favicon-96x96.png","type":"image/png","sizes":"96x96"}],["$","link","11",{"rel":"apple-touch-icon","href":"./apple-touch-icon.png"}],["$","$L5","12",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
6
|
+
0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"}],["$","meta","2",{"name":"theme-color","content":"#4bbcd8","media":"(prefers-color-scheme: light)"}],["$","meta","3",{"name":"theme-color","content":"#0a2e3d","media":"(prefers-color-scheme: dark)"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Ocearo"}],["$","meta","1",{"name":"description","content":"Sailing made smarter"}],["$","link","2",{"rel":"manifest","href":"./manifest.json"}],["$","meta","3",{"name":"format-detection","content":"telephone=no"}],["$","meta","4",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","5",{"name":"apple-mobile-web-app-title","content":"Ocearo"}],["$","meta","6",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","7",{"rel":"shortcut icon","href":"./favicon.ico"}],["$","link","8",{"rel":"icon","href":"./favicon.ico","type":"image/x-icon"}],["$","link","9",{"rel":"icon","href":"./favicon.svg","type":"image/svg+xml","sizes":"any"}],["$","link","10",{"rel":"icon","href":"./favicon-96x96.png","type":"image/png","sizes":"96x96"}],["$","link","11",{"rel":"apple-touch-icon","href":"./apple-touch-icon.png"}],["$","$L5","12",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"sct9rcMTcCyBLHTxQQ75-"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[39756,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"default"]
|
|
3
3
|
3:I[37457,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"default"]
|
|
4
|
-
:HL["/ocearo-ui/_next/static/chunks/
|
|
5
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/
|
|
4
|
+
:HL["/ocearo-ui/_next/static/chunks/2lw7kypuhij1_.css","style"]
|
|
5
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/ocearo-ui/_next/static/chunks/2lw7kypuhij1_.css","precedence":"next"}],["$","script","script-0",{"src":"/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","async":true}],["$","script","script-1",{"src":"/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js","async":true}]],["$","html",null,{"lang":"en","children":[["$","head",null,{"children":["$","meta",null,{"name":"description","content":"Sailing made smarter with Ocearo: touchscreen-first sailing dashboard with navigation, weather, and instrumentation."}]}],["$","body",null,{"className":"geistsans_fce11f57-module__b_bU6G__variable geistmono_ed61a5f9-module__6fgesq__variable antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"sct9rcMTcCyBLHTxQQ75-"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[97367,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"OutletBoundary"]
|
|
3
3
|
3:"$Sreact.suspense"
|
|
4
|
-
0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"
|
|
4
|
+
0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"sct9rcMTcCyBLHTxQQ75-"}
|
|
5
5
|
4:null
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
2:I[39756,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"default"]
|
|
3
3
|
3:I[37457,["/ocearo-ui/_next/static/chunks/1d4h-sglyo8ft.js","/ocearo-ui/_next/static/chunks/3jupxlga7r_do.js"],"default"]
|
|
4
4
|
4:[]
|
|
5
|
-
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"
|
|
5
|
+
0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"sct9rcMTcCyBLHTxQQ75-"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:HL["/ocearo-ui/_next/static/chunks/
|
|
2
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"
|
|
1
|
+
:HL["/ocearo-ui/_next/static/chunks/2lw7kypuhij1_.css","style"]
|
|
2
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"sct9rcMTcCyBLHTxQQ75-"}
|