gaesup-world 1.0.19 → 1.0.21

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 s, Fragment as be } from "react/jsx-runtime";
2
2
  import ge, { useCallback as ce, useState as le, useRef as ee, useEffect as oe, memo as Be, forwardRef as lu, useContext as To, createContext as ws, useMemo as X, useLayoutEffect as Ke, Suspense as In } from "react";
3
3
  import { u as ze, H as Eo, P as xs, a as Cp, B as Np } from "./gaesupStore-DTu0tYBp.js";
4
- import { V as cu, ap as _s, H as uu, I as Ss, P as Va, M as du, S as fu, _ as Ip, al as We, an as Tp, G as j, K as pu, L as hu, O as Za, R as Ep, a9 as fe, aq as Ap, a6 as kp, a7 as Pp, aj as En, J as Ms, ai as ui, ar as mu, Q as Bp, e as Rp, B as Dp, y as zp, a as Fp, d as Lp, c as $p, f as Op } from "./index-eON1JSxy.js";
4
+ import { V as cu, ap as _s, H as uu, I as Ss, P as Va, M as du, S as fu, _ as Ip, al as We, an as Tp, G as j, K as pu, L as hu, O as Za, R as Ep, a9 as fe, aq as Ap, a6 as kp, a7 as Pp, aj as En, J as Ms, ai as ui, ar as mu, Q as Bp, e as Rp, B as Dp, y as zp, a as Fp, d as Lp, c as $p, f as Op } from "./index-C5agFfBe.js";
5
5
  import { useFrame as $e, Canvas as Hp, useThree as Li, extend as Gr } from "@react-three/fiber";
6
6
  import { CapsuleCollider as ra, RigidBody as Wr, Physics as Gp, CuboidCollider as Cs } from "@react-three/rapier";
7
7
  import { useStoreWithEqualityFn as Wp, createWithEqualityFn as Up } from "zustand/traditional";
@@ -12,14 +12,13 @@ import { A as gu, c as aa, b as jp } from "./index-C-ViQFGa.js";
12
12
  import { create as yi } from "zustand";
13
13
  import { useShallow as Ns } from "zustand/react/shallow";
14
14
  import { r as Vp, o as Zp, G as Yp, S as bu, h as Xp, k as Kp, f as qp, j as Qp, e as Jp, i as eh, m as th, n as nh, c as ih, v as oh } from "./loader-C3ZwumCe.js";
15
- import { g as Ui, M as rh, W as ah } from "./index-CauGUCKK.js";
15
+ import { g as Ui, M as rh, W as ah } from "./index-BUQXtHf3.js";
16
16
  import { useGLTF as Is, useAnimations as sh, useTexture as Ts, shaderMaterial as Es, OrbitControls as lh } from "@react-three/drei";
17
17
  import * as B from "three";
18
18
  import { w as Ao } from "./sfe-CRsG1dTW.js";
19
19
  import { enableMapSet as ch } from "immer";
20
20
  import { immer as uh } from "zustand/middleware/immer";
21
21
  import { SkeletonUtils as yu, Water as dh } from "three-stdlib";
22
- import "reflect-metadata";
23
22
  import { u as As } from "./weatherStore-CzG5N441.js";
24
23
  import { createNoise2D as ks } from "simplex-noise";
25
24
  function Xe({ label: e, min: t, max: n, step: i, value: o, suffix: r, onChange: a }) {
@@ -9808,7 +9807,7 @@ function _1(e, t) {
9808
9807
  e.position[2] + Math.sin(i) * o
9809
9808
  ];
9810
9809
  }
9811
- function bM(e, t, n) {
9810
+ function gM(e, t, n) {
9812
9811
  const i = ds(e, t);
9813
9812
  return kr.set(i, n), () => {
9814
9813
  kr.delete(i);
@@ -12063,13 +12062,13 @@ const Si = {
12063
12062
  face: "표정",
12064
12063
  weapon: "무기",
12065
12064
  accessory: "액세서리"
12066
- }, yM = {
12065
+ }, bM = {
12067
12066
  short: "단발",
12068
12067
  long: "긴머리",
12069
12068
  cap: "모자머리",
12070
12069
  bun: "쪽머리",
12071
12070
  spiky: "뻗친머리"
12072
- }, vM = {
12071
+ }, yM = {
12073
12072
  default: "기본",
12074
12073
  smile: "미소",
12075
12074
  wink: "윙크",
@@ -13265,7 +13264,7 @@ const Ax = ({
13265
13264
  ...e.smoothing ? { smoothing: { ...e.smoothing } } : {},
13266
13265
  ...e.bounds ? { bounds: { ...e.bounds } } : {},
13267
13266
  ...e.modeSettings ? { modeSettings: { ...e.modeSettings } } : {}
13268
- }), wM = ({
13267
+ }), vM = ({
13269
13268
  children: e,
13270
13269
  className: t = "",
13271
13270
  style: n = {},
@@ -13311,7 +13310,7 @@ const Ax = ({
13311
13310
  }, Px = () => /* @__PURE__ */ s("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ s("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) }), Bx = () => /* @__PURE__ */ x("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
13312
13311
  /* @__PURE__ */ s("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
13313
13312
  /* @__PURE__ */ s("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
13314
- ] }), xM = ({
13313
+ ] }), wM = ({
13315
13314
  children: e,
13316
13315
  title: t,
13317
13316
  initialWidth: n = 280,
@@ -13409,7 +13408,7 @@ const Ax = ({
13409
13408
  setActiveNodeGraph: (t) => e({ activeNodeGraph: t }),
13410
13409
  clipboard: null,
13411
13410
  setClipboard: (t) => e({ clipboard: t })
13412
- }), _M = ff, Rx = yi(ff), SM = () => {
13411
+ }), xM = ff, Rx = yi(ff), _M = () => {
13413
13412
  const e = Rx();
13414
13413
  return {
13415
13414
  ...e,
@@ -13418,7 +13417,7 @@ const Ax = ({
13418
13417
  clearSelection: () => e.setSelectedObjectIds([])
13419
13418
  };
13420
13419
  };
13421
- function MM(e = {}) {
13420
+ function SM(e = {}) {
13422
13421
  const t = {
13423
13422
  panels: e.panels ?? [],
13424
13423
  actions: (e.commands ?? []).map((n) => ({
@@ -13429,7 +13428,7 @@ function MM(e = {}) {
13429
13428
  };
13430
13429
  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;
13431
13430
  }
13432
- function CM() {
13431
+ function MM() {
13433
13432
  const e = [], t = [];
13434
13433
  return {
13435
13434
  execute: async (n) => {
@@ -14653,7 +14652,7 @@ const E_ = ge.memo(function({ billboards: t }) {
14653
14652
  const r = o[0];
14654
14653
  return r ? r.imageUrl ? /* @__PURE__ */ s(I_, { entries: o }, i) : /* @__PURE__ */ s(T_, { entries: o }, i) : null;
14655
14654
  }) });
14656
- }), NM = ge.memo(N_);
14655
+ }), CM = ge.memo(N_);
14657
14656
  var A_ = `varying vec2 vUv;\r
14658
14657
  uniform float time;\r
14659
14658
  uniform float intensity;\r
@@ -14946,7 +14945,7 @@ const R_ = ({ intensity: e = 1.5, width: t = 1, height: n = 1.5, color: i = "#ff
14946
14945
  })()),
14947
14946
  /* @__PURE__ */ s("points", { geometry: f, material: a.ember })
14948
14947
  ] });
14949
- }, IM = ge.memo(R_), D_ = (
14948
+ }, NM = ge.memo(R_), D_ = (
14950
14949
  /* glsl */
14951
14950
  `
14952
14951
  attribute float aSeed;
@@ -15924,7 +15923,7 @@ function c2({ trees: e, toon: t }) {
15924
15923
  /* @__PURE__ */ s("points", { geometry: _, children: /* @__PURE__ */ s("pointsMaterial", { size: 0.085 * h, sizeAttenuation: !0, vertexColors: !0, transparent: !0, opacity: 0.7, depthWrite: !1 }) })
15925
15924
  ] });
15926
15925
  }
15927
- function TM({ size: e = 4, toon: t }) {
15926
+ function IM({ size: e = 4, toon: t }) {
15928
15927
  const n = ee(null), i = ee(null), o = ee(null), r = ee(null), a = ee(null), l = ee(null), c = X(() => B.MathUtils.clamp(e / 4, 0.95, 1.85), [e]), u = 3.8 * c, d = 1.65 * c + Math.min(e * 0.08, 0.55), f = 2.15 * c + Math.min(e * 0.04, 0.35), p = t ?? We(), h = Of(), w = Hf(p), g = X(() => Gf(c, u, "round"), [c, u]), _ = X(() => Wf(c), [c]), b = X(() => Uf(c, u, d, f, "round"), [c, u, d, f]), S = g.length, m = _.length + g.length, y = b.length, v = Math.max(180, Math.min(420, Math.round(210 + c * 95))), C = Math.max(44, Math.min(120, Math.round(54 + c * 26))), T = Math.max(52, Math.min(132, Math.round(62 + c * 30))), P = X(() => {
15929
15928
  const E = new Float32Array(v * 3), G = new Float32Array(v * 3);
15930
15929
  return jf(E, G, 0, v, u, d, f, 0, 0, 0), Fr(E, G, !0);
@@ -16439,7 +16438,7 @@ function x2({ entries: e, toon: t }) {
16439
16438
  ) })
16440
16439
  ] });
16441
16440
  }
16442
- function EM({ size: e = 4, toon: t, color: n, accentColor: i }) {
16441
+ function TM({ size: e = 4, toon: t, color: n, accentColor: i }) {
16443
16442
  const o = t ?? We(), r = Kf(o), [a, l] = X(() => {
16444
16443
  const c = Math.max(20, Math.round(e * 6)), u = new B.PlaneGeometry(e, e, c, c);
16445
16444
  u.rotateX(-Math.PI / 2);
@@ -16564,7 +16563,7 @@ function S2({ entries: e, toon: t }) {
16564
16563
  ) })
16565
16564
  ] });
16566
16565
  }
16567
- function AM({ size: e = 4, toon: t, color: n, accentColor: i }) {
16566
+ function EM({ size: e = 4, toon: t, color: n, accentColor: i }) {
16568
16567
  const o = t ?? We(), r = qf(o), [a, l] = X(() => {
16569
16568
  const c = Math.max(22, Math.round(e * 7)), u = new B.PlaneGeometry(e, e, c, c);
16570
16569
  u.rotateX(-Math.PI / 2);
@@ -19191,7 +19190,7 @@ function $S() {
19191
19190
  }), null;
19192
19191
  }
19193
19192
  const OS = 9, HS = 150;
19194
- function kM() {
19193
+ function AM() {
19195
19194
  const { gl: e } = Li(), {
19196
19195
  updateMousePosition: t,
19197
19196
  placeWall: n,
@@ -19292,7 +19291,7 @@ function kM() {
19292
19291
  ] });
19293
19292
  }
19294
19293
  const su = rf;
19295
- function PM({
19294
+ function kM({
19296
19295
  onClose: e,
19297
19296
  canEdit: t = !0,
19298
19297
  npcPanel: n = !1,
@@ -20793,7 +20792,7 @@ function ZS(e = {}) {
20793
20792
  }
20794
20793
  };
20795
20794
  }
20796
- const BM = ZS();
20795
+ const PM = ZS();
20797
20796
  export {
20798
20797
  US as $,
20799
20798
  kh as A,
@@ -20813,21 +20812,21 @@ export {
20813
20812
  Qf as O,
20814
20813
  Fh as P,
20815
20814
  su as Q,
20816
- xM as R,
20815
+ wM as R,
20817
20816
  Nx as S,
20818
20817
  sS as T,
20819
- PM as U,
20818
+ kM as U,
20820
20819
  Lh as V,
20821
20820
  gS as W,
20822
20821
  _o as X,
20823
20822
  Ks as Y,
20824
20823
  rf as Z,
20825
20824
  WS as _,
20826
- wM as a,
20825
+ vM as a,
20827
20826
  jS as a0,
20828
20827
  VS as a1,
20829
20828
  ZS as a2,
20830
- BM as a3,
20829
+ PM as a3,
20831
20830
  hx as a4,
20832
20831
  Ue as a5,
20833
20832
  Rt as a6,
@@ -20844,13 +20843,13 @@ export {
20844
20843
  Bh as aH,
20845
20844
  Dh as aI,
20846
20845
  _a as aJ,
20847
- yM as aK,
20848
- vM as aL,
20846
+ bM as aK,
20847
+ yM as aL,
20849
20848
  Z1 as aM,
20850
20849
  uf as aN,
20851
20850
  w1 as aO,
20852
20851
  S1 as aP,
20853
- bM as aQ,
20852
+ gM as aQ,
20854
20853
  Jo as aR,
20855
20854
  N1 as aS,
20856
20855
  wh as aT,
@@ -20888,27 +20887,27 @@ export {
20888
20887
  dl as ay,
20889
20888
  f_ as az,
20890
20889
  Ax as b,
20891
- CM as c,
20892
- MM as d,
20893
- _M as e,
20890
+ MM as c,
20891
+ SM as d,
20892
+ xM as e,
20894
20893
  Rx as f,
20895
20894
  Zc as g,
20896
20895
  ff as h,
20897
20896
  Tx as i,
20898
- TM as j,
20897
+ IM as j,
20899
20898
  c2 as k,
20900
- EM as l,
20899
+ TM as l,
20901
20900
  x2 as m,
20902
- AM as n,
20901
+ EM as n,
20903
20902
  S2 as o,
20904
20903
  Xf as p,
20905
20904
  ip as q,
20906
20905
  Ex as r,
20907
- NM as s,
20908
- IM as t,
20909
- SM as u,
20906
+ CM as s,
20907
+ NM as t,
20908
+ _M as u,
20910
20909
  xS as v,
20911
- kM as w,
20910
+ AM as w,
20912
20911
  LS as x,
20913
20912
  y_ as y,
20914
20913
  RS as z