gaesup-world 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as x, jsx as a, Fragment as be } from "react/jsx-runtime";
2
2
  import he, { useCallback as de, useState as ce, useRef as te, useEffect as oe, memo as Be, forwardRef as qc, useContext as Co, createContext as bs, useMemo as K, useLayoutEffect as qe, Suspense as _n } from "react";
3
3
  import { u as Fe, H as No, P as ys, a as lp, B as cp } from "./gaesupStore-dfWoSPPs.js";
4
- import { U as Qc, ak as vs, H as Jc, I as ws, P as ja, M as eu, S as tu, X as up, a8 as Ue, aa as dp, G as V, K as nu, L as iu, O as Va, R as fp, a4 as ye, a6 as Sn, J as xs, a5 as ci, Q as pp, e as hp, B as mp, y as gp, a as bp, d as yp, c as vp, f as wp } from "./index-CRmbe-O5.js";
4
+ import { U as Qc, ak as vs, H as Jc, I as ws, P as ja, M as eu, S as tu, X as up, a8 as Ue, aa as dp, G as V, K as nu, L as iu, O as Va, R as fp, a4 as ye, a6 as Sn, J as xs, a5 as ci, Q as pp, e as hp, B as mp, y as gp, a as bp, d as yp, c as vp, f as wp } from "./index-DFB_CxUA.js";
5
5
  import { useStoreWithEqualityFn as xp, createWithEqualityFn as _p } from "zustand/traditional";
6
6
  import { shallow as Te } from "zustand/shallow";
7
7
  import "react-dom";
@@ -13,10 +13,11 @@ import { A as ou, c as aa, b as Ep } from "./index-C-ViQFGa.js";
13
13
  import { create as zi } from "zustand";
14
14
  import { useShallow as br } from "zustand/react/shallow";
15
15
  import { G as Ap, S as ru, f as kp, j as Pp, e as Bp, i as Dp, d as Rp, h as zp, k as Fp, m as $p, c as Lp, v as Op } from "./templates-CmBSPiF_.js";
16
- import { g as Oi, M as Hp, W as Gp } from "./index-Cgqkv_Dw.js";
16
+ import { g as Oi, M as Hp, W as Gp } from "./index-BZ556snc.js";
17
17
  import { useGLTF as Ss, useAnimations as Wp, useTexture as Ms, shaderMaterial as Cs, OrbitControls as Up } from "@react-three/drei";
18
18
  import * as P from "three";
19
19
  import { SkeletonUtils as au, Water as jp } from "three-stdlib";
20
+ import "reflect-metadata";
20
21
  import { u as Ns } from "./weatherStore-CzG5N441.js";
21
22
  import { createNoise2D as Is } from "simplex-noise";
22
23
  import { u as Vp } from "./authStore-CU_xZzJ7.js";
@@ -9689,7 +9690,7 @@ function Vw(e, t) {
9689
9690
  e.position[2] + Math.sin(i) * o
9690
9691
  ];
9691
9692
  }
9692
- function _S(e, t, n) {
9693
+ function SS(e, t, n) {
9693
9694
  const i = us(e, t);
9694
9695
  return Er.set(i, n), () => {
9695
9696
  Er.delete(i);
@@ -11272,13 +11273,13 @@ const wi = {
11272
11273
  face: "표정",
11273
11274
  weapon: "무기",
11274
11275
  accessory: "액세서리"
11275
- }, SS = {
11276
+ }, MS = {
11276
11277
  short: "단발",
11277
11278
  long: "긴머리",
11278
11279
  cap: "모자머리",
11279
11280
  bun: "쪽머리",
11280
11281
  spiky: "뻗친머리"
11281
- }, MS = {
11282
+ }, CS = {
11282
11283
  default: "기본",
11283
11284
  smile: "미소",
11284
11285
  wink: "윙크",
@@ -12245,7 +12246,7 @@ const B1 = ({
12245
12246
  ...e.smoothing ? { smoothing: { ...e.smoothing } } : {},
12246
12247
  ...e.bounds ? { bounds: { ...e.bounds } } : {},
12247
12248
  ...e.modeSettings ? { modeSettings: { ...e.modeSettings } } : {}
12248
- }), CS = ({
12249
+ }), NS = ({
12249
12250
  children: e,
12250
12251
  className: t = "",
12251
12252
  style: n = {},
@@ -12291,7 +12292,7 @@ const B1 = ({
12291
12292
  }, R1 = () => /* @__PURE__ */ a("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ a("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) }), z1 = () => /* @__PURE__ */ x("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
12292
12293
  /* @__PURE__ */ a("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
12293
12294
  /* @__PURE__ */ a("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
12294
- ] }), NS = ({
12295
+ ] }), IS = ({
12295
12296
  children: e,
12296
12297
  title: t,
12297
12298
  initialWidth: n = 280,
@@ -12389,7 +12390,7 @@ const B1 = ({
12389
12390
  setActiveNodeGraph: (t) => e({ activeNodeGraph: t }),
12390
12391
  clipboard: null,
12391
12392
  setClipboard: (t) => e({ clipboard: t })
12392
- }), IS = Xd, F1 = zi(Xd), TS = () => {
12393
+ }), TS = Xd, F1 = zi(Xd), ES = () => {
12393
12394
  const e = F1();
12394
12395
  return {
12395
12396
  ...e,
@@ -12398,7 +12399,7 @@ const B1 = ({
12398
12399
  clearSelection: () => e.setSelectedObjectIds([])
12399
12400
  };
12400
12401
  };
12401
- function ES(e = {}) {
12402
+ function AS(e = {}) {
12402
12403
  const t = {
12403
12404
  panels: e.panels ?? [],
12404
12405
  actions: (e.commands ?? []).map((n) => ({
@@ -12409,7 +12410,7 @@ function ES(e = {}) {
12409
12410
  };
12410
12411
  return e.defaultActivePanels && (t.defaultActivePanels = e.defaultActivePanels), typeof e.defaultPanelOpen == "boolean" && (t.defaultPanelOpen = e.defaultPanelOpen), typeof e.defaultModalOpen == "boolean" && (t.defaultModalOpen = e.defaultModalOpen), e.hiddenBuiltInPanels && (t.hiddenBuiltInPanels = e.hiddenBuiltInPanels), e.panelOrder && (t.panelOrder = e.panelOrder), e.panelDefaults && (t.panelDefaults = e.panelDefaults), e.validate && (t.validate = e.validate), t;
12411
12412
  }
12412
- function AS() {
12413
+ function kS() {
12413
12414
  const e = [], t = [];
12414
12415
  return {
12415
12416
  execute: async (n) => {
@@ -13658,7 +13659,7 @@ const Rx = he.memo(function({ billboards: t }) {
13658
13659
  const r = o[0];
13659
13660
  return r ? r.imageUrl ? /* @__PURE__ */ a(Bx, { entries: o }, i) : /* @__PURE__ */ a(Dx, { entries: o }, i) : null;
13660
13661
  }) });
13661
- }), kS = he.memo(Px);
13662
+ }), PS = he.memo(Px);
13662
13663
  var zx = `varying vec2 vUv;
13663
13664
  uniform float time;
13664
13665
  uniform float intensity;
@@ -13951,7 +13952,7 @@ const Ox = ({ intensity: e = 1.5, width: t = 1, height: n = 1.5, color: i = "#ff
13951
13952
  })()),
13952
13953
  /* @__PURE__ */ a("points", { geometry: d, material: s.ember })
13953
13954
  ] });
13954
- }, PS = he.memo(Ox), Hx = (
13955
+ }, BS = he.memo(Ox), Hx = (
13955
13956
  /* glsl */
13956
13957
  `
13957
13958
  attribute float aSeed;
@@ -14929,7 +14930,7 @@ function m_({ trees: e, toon: t }) {
14929
14930
  /* @__PURE__ */ a("points", { geometry: _, children: /* @__PURE__ */ a("pointsMaterial", { size: 0.085 * h, sizeAttenuation: !0, vertexColors: !0, transparent: !0, opacity: 0.7, depthWrite: !1 }) })
14930
14931
  ] });
14931
14932
  }
14932
- function BS({ size: e = 4, toon: t }) {
14933
+ function DS({ size: e = 4, toon: t }) {
14933
14934
  const n = te(null), i = te(null), o = te(null), r = te(null), s = te(null), l = te(null), c = K(() => P.MathUtils.clamp(e / 4, 0.95, 1.85), [e]), u = 3.8 * c, f = 1.65 * c + Math.min(e * 0.08, 0.55), d = 2.15 * c + Math.min(e * 0.04, 0.35), p = t ?? Ue(), h = Mf(), v = Cf(p), g = K(() => Nf(c, u, "round"), [c, u]), _ = K(() => If(c), [c]), b = K(() => Tf(c, u, f, d, "round"), [c, u, f, d]), S = g.length, m = _.length + g.length, y = b.length, w = Math.max(180, Math.min(420, Math.round(210 + c * 95))), M = Math.max(44, Math.min(120, Math.round(54 + c * 26))), I = Math.max(52, Math.min(132, Math.round(62 + c * 30))), B = K(() => {
14934
14935
  const A = new Float32Array(w * 3), H = new Float32Array(w * 3);
14935
14936
  return Ef(A, H, 0, w, u, f, d, 0, 0, 0), Rr(A, H, !0);
@@ -15471,7 +15472,7 @@ function T_({ entries: e, toon: t }) {
15471
15472
  ) })
15472
15473
  ] });
15473
15474
  }
15474
- function DS({ size: e = 4, toon: t, color: n, accentColor: i }) {
15475
+ function RS({ size: e = 4, toon: t, color: n, accentColor: i }) {
15475
15476
  const o = t ?? Ue(), r = Rf(o), [s, l] = K(() => {
15476
15477
  const c = Math.max(20, Math.round(e * 6)), u = new P.PlaneGeometry(e, e, c, c);
15477
15478
  u.rotateX(-Math.PI / 2);
@@ -15596,7 +15597,7 @@ function A_({ entries: e, toon: t }) {
15596
15597
  ) })
15597
15598
  ] });
15598
15599
  }
15599
- function RS({ size: e = 4, toon: t, color: n, accentColor: i }) {
15600
+ function zS({ size: e = 4, toon: t, color: n, accentColor: i }) {
15600
15601
  const o = t ?? Ue(), r = zf(o), [s, l] = K(() => {
15601
15602
  const c = Math.max(22, Math.round(e * 7)), u = new P.PlaneGeometry(e, e, c, c);
15602
15603
  u.rotateX(-Math.PI / 2);
@@ -18239,7 +18240,7 @@ function V2() {
18239
18240
  }), null;
18240
18241
  }
18241
18242
  const Y2 = 9, Z2 = 150;
18242
- function zS() {
18243
+ function FS() {
18243
18244
  const { gl: e } = Ri(), {
18244
18245
  updateMousePosition: t,
18245
18246
  placeWall: n,
@@ -18340,7 +18341,7 @@ function zS() {
18340
18341
  ] });
18341
18342
  }
18342
18343
  const Kc = su;
18343
- function FS({ onClose: e }) {
18344
+ function $S({ onClose: e }) {
18344
18345
  const {
18345
18346
  setEditMode: t,
18346
18347
  editMode: n,
@@ -19953,8 +19954,8 @@ function eS(e = {}) {
19953
19954
  }
19954
19955
  };
19955
19956
  }
19956
- const $S = eS();
19957
- function LS() {
19957
+ const LS = eS();
19958
+ function OS() {
19958
19959
  const e = K(() => ({
19959
19960
  frustum: new P.Frustum(),
19960
19961
  matrix: new P.Matrix4(),
@@ -19979,27 +19980,27 @@ export {
19979
19980
  Fi as B,
19980
19981
  nh as C,
19981
19982
  U2 as D,
19982
- CS as E,
19983
+ NS as E,
19983
19984
  W2 as F,
19984
19985
  x1 as G,
19985
19986
  V2 as H,
19986
19987
  b2 as I,
19987
19988
  Nx as J,
19988
19989
  Kc as K,
19989
- FS as L,
19990
+ $S as L,
19990
19991
  bh as M,
19991
19992
  so as N,
19992
19993
  Ff as O,
19993
19994
  yh as P,
19994
19995
  Ts as Q,
19995
- NS as R,
19996
+ IS as R,
19996
19997
  P1 as S,
19997
19998
  h2 as T,
19998
19999
  su as U,
19999
20000
  vh as V,
20000
20001
  S2 as W,
20001
20002
  eS as X,
20002
- $S as Y,
20003
+ LS as Y,
20003
20004
  je as Z,
20004
20005
  zt as _,
20005
20006
  B1 as a,
@@ -20015,8 +20016,8 @@ export {
20015
20016
  xo as a9,
20016
20017
  gh as aA,
20017
20018
  xa as aB,
20018
- SS as aC,
20019
- MS as aD,
20019
+ MS as aC,
20020
+ CS as aD,
20020
20021
  h1 as aE,
20021
20022
  ah as aF,
20022
20023
  qp as aG,
@@ -20056,28 +20057,28 @@ export {
20056
20057
  Zf as av,
20057
20058
  k2 as aw,
20058
20059
  P2 as ax,
20059
- _S as ay,
20060
+ SS as ay,
20060
20061
  hh as az,
20061
- ES as b,
20062
- AS as c,
20062
+ AS as b,
20063
+ kS as c,
20063
20064
  F1 as d,
20064
- IS as e,
20065
+ TS as e,
20065
20066
  Xd as f,
20066
- BS as g,
20067
+ DS as g,
20067
20068
  m_ as h,
20068
- DS as i,
20069
+ RS as i,
20069
20070
  T_ as j,
20070
- RS as k,
20071
+ zS as k,
20071
20072
  A_ as l,
20072
20073
  Df as m,
20073
20074
  Gf as n,
20074
- LS as o,
20075
+ OS as o,
20075
20076
  Or as p,
20076
- kS as q,
20077
- PS as r,
20077
+ PS as q,
20078
+ BS as r,
20078
20079
  T2 as s,
20079
- zS as t,
20080
- TS as u,
20080
+ FS as t,
20081
+ ES as u,
20081
20082
  j2 as v,
20082
20083
  Mx as w,
20083
20084
  H2 as x,