@famibee/skynovel 1.25.9 → 1.27.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/app.js CHANGED
@@ -65943,8 +65943,8 @@ class Button extends pixi_js_1.Container {
65943
65943
  this.getBtnBounds = () => __classPrivateFieldGet(this, _Button_rctBtnTxt, "f");
65944
65944
  _Button_rctBtnTxt.set(this, new pixi_js_1.Rectangle);
65945
65945
  _Button_idc.set(this, void 0);
65946
- _Button_sp_b_pic.set(this, null);
65947
- _Button_sp_pic.set(this, null);
65946
+ _Button_sp_b_pic.set(this, undefined);
65947
+ _Button_sp_pic.set(this, undefined);
65948
65948
  _Button_normal.set(this, () => { });
65949
65949
  _Button_hover.set(this, () => false);
65950
65950
  _Button_clicked.set(this, () => { });
@@ -66906,8 +66906,8 @@ class DesignCast {
66906
66906
  'height': 0,
66907
66907
  };
66908
66908
  this.fncLay = () => { };
66909
- this.mov = null;
66910
- this.div = null;
66909
+ this.mov = undefined;
66910
+ this.div = undefined;
66911
66911
  this.lx = 0;
66912
66912
  this.ly = 0;
66913
66913
  this.rect = pixi_js_1.Rectangle.EMPTY;
@@ -66969,9 +66969,9 @@ class DesignCast {
66969
66969
  s.height = `${CmnLib_1.CmnLib.stageH * CmnLib_1.CmnLib.cvsScale}px`;
66970
66970
  }
66971
66971
  destroy() {
66972
- this.div = null;
66972
+ this.div = undefined;
66973
66973
  this.mov?.destroy();
66974
- this.mov = null;
66974
+ this.mov = undefined;
66975
66975
  }
66976
66976
  gethArg() { return this.hArg; }
66977
66977
  sethArg(hArg) {
@@ -68518,12 +68518,12 @@ class FocusMng {
68518
68518
  }
68519
68519
  getFocus() {
68520
68520
  if (__classPrivateFieldGet(this, _FocusMng_idx, "f") < 0)
68521
- return null;
68521
+ return undefined;
68522
68522
  __classPrivateFieldGet(this, _FocusMng_instances, "m", _FocusMng_allOff).call(this);
68523
68523
  if (__classPrivateFieldGet(this, _FocusMng_idx, "f") >= __classPrivateFieldGet(this, _FocusMng_aBtn, "f").length)
68524
68524
  __classPrivateFieldSet(this, _FocusMng_idx, 0, "f");
68525
68525
  const b = __classPrivateFieldGet(this, _FocusMng_aBtn, "f")[__classPrivateFieldGet(this, _FocusMng_idx, "f")];
68526
- return b.on() ? b.btn : null;
68526
+ return b.on() ? b.btn : undefined;
68527
68527
  }
68528
68528
  blur() { __classPrivateFieldGet(this, _FocusMng_instances, "m", _FocusMng_allOff).call(this); __classPrivateFieldSet(this, _FocusMng_idx, -1, "f"); globalThis.focus(); }
68529
68529
  }
@@ -68947,7 +68947,7 @@ function splitAmpersand(token) {
68947
68947
  return {
68948
68948
  name: equa[0].replaceAll('=', '==').replaceAll('≠', '!='),
68949
68949
  text: equa[1].replaceAll('=', '==').replaceAll('≠', '!='),
68950
- cast: ((cnt_equa === 3) ? equa[2].trim() : null)
68950
+ cast: ((cnt_equa === 3) ? equa[2].trim() : undefined)
68951
68951
  };
68952
68952
  }
68953
68953
  exports.splitAmpersand = splitAmpersand;
@@ -69089,7 +69089,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
69089
69089
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
69090
69090
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
69091
69091
  };
69092
- var _a, _GrpLayer_elc, _GrpLayer_hFace, _GrpLayer_main, _GrpLayer_cfg, _GrpLayer_sys, _GrpLayer_glbVol, _GrpLayer_movVol, _GrpLayer_evtMng, _GrpLayer_idc, _GrpLayer_csvFn, _GrpLayer_sBkFn, _GrpLayer_sBkFace, _GrpLayer_width, _GrpLayer_height, _GrpLayer_dec2cache, _GrpLayer_sortAFrameName, _GrpLayer_dec2cache4Cripto, _GrpLayer_mkSprite, _GrpLayer_hAEncImg, _GrpLayer_hEncImgOUrl;
69092
+ var _a, _GrpLayer_elc, _GrpLayer_hFace, _GrpLayer_main, _GrpLayer_cfg, _GrpLayer_appPixi, _GrpLayer_sys, _GrpLayer_glbVol, _GrpLayer_movVol, _GrpLayer_evtMng, _GrpLayer_idc, _GrpLayer_csvFn, _GrpLayer_sBkFn, _GrpLayer_sBkFace, _GrpLayer_width, _GrpLayer_height, _GrpLayer_dec2cache, _GrpLayer_sortAFrameName, _GrpLayer_dec2cache4Cripto, _GrpLayer_mkSprite, _GrpLayer_rtTsy, _GrpLayer_spTsy, _GrpLayer_fncRender, _GrpLayer_hAEncImg, _GrpLayer_hEncImgOUrl;
69093
69093
  Object.defineProperty(exports, "__esModule", ({ value: true }));
69094
69094
  exports.GrpLayer = void 0;
69095
69095
  const Layer_1 = __webpack_require__(/*! ./Layer */ "./core/src/sn/Layer.ts");
@@ -69114,6 +69114,9 @@ class GrpLayer extends Layer_1.Layer {
69114
69114
  });
69115
69115
  _GrpLayer_width.set(this, 0);
69116
69116
  _GrpLayer_height.set(this, 0);
69117
+ _GrpLayer_rtTsy.set(this, void 0);
69118
+ _GrpLayer_spTsy.set(this, void 0);
69119
+ _GrpLayer_fncRender.set(this, () => { });
69117
69120
  this.record = () => Object.assign(super.record(), {
69118
69121
  sBkFn: __classPrivateFieldGet(this, _GrpLayer_sBkFn, "f"),
69119
69122
  sBkFace: __classPrivateFieldGet(this, _GrpLayer_sBkFace, "f"),
@@ -69125,9 +69128,10 @@ class GrpLayer extends Layer_1.Layer {
69125
69128
  this.cvsResize = () => { super.cvsResize(); __classPrivateFieldGet(this, _GrpLayer_idc, "f").cvsResize(); };
69126
69129
  }
69127
69130
  }
69128
- static init(main, cfg, sys, sndMng) {
69131
+ static init(main, cfg, appPixi, sys, sndMng) {
69129
69132
  __classPrivateFieldSet(GrpLayer, _a, main, "f", _GrpLayer_main);
69130
69133
  __classPrivateFieldSet(GrpLayer, _a, cfg, "f", _GrpLayer_cfg);
69134
+ __classPrivateFieldSet(GrpLayer, _a, appPixi, "f", _GrpLayer_appPixi);
69131
69135
  __classPrivateFieldSet(GrpLayer, _a, sys, "f", _GrpLayer_sys);
69132
69136
  const fnc = () => {
69133
69137
  const vol = __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_glbVol) * __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_movVol);
@@ -69240,6 +69244,7 @@ class GrpLayer extends Layer_1.Layer {
69240
69244
  const fncLoaded = (hRes) => {
69241
69245
  for (const v of aComp) {
69242
69246
  const sp = __classPrivateFieldGet(GrpLayer, _a, "m", _GrpLayer_mkSprite).call(GrpLayer, v.fn, hRes);
69247
+ sp.name = v.fn;
69243
69248
  parent?.addChild(sp);
69244
69249
  v.fnc(sp);
69245
69250
  }
@@ -69276,6 +69281,40 @@ class GrpLayer extends Layer_1.Layer {
69276
69281
  hve.addEventListener('ended', fnc, { once: true, passive: true });
69277
69282
  return __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_evtMng).waitEvent(() => { hve.pause(); fnc(); }, (0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true), (0, CmnLib_1.argChk_Boolean)(hArg, 'global', false));
69278
69283
  }
69284
+ renderStart() {
69285
+ __classPrivateFieldSet(this, _GrpLayer_rtTsy, pixi_js_1.RenderTexture.create({
69286
+ width: CmnLib_1.CmnLib.stageW,
69287
+ height: CmnLib_1.CmnLib.stageH,
69288
+ }), "f");
69289
+ __classPrivateFieldSet(this, _GrpLayer_spTsy, new pixi_js_1.Sprite(__classPrivateFieldGet(this, _GrpLayer_rtTsy, "f")), "f");
69290
+ __classPrivateFieldGet(this, _GrpLayer_spTsy, "f").visible = false;
69291
+ this.spLay.addChildAt(__classPrivateFieldGet(this, _GrpLayer_spTsy, "f"), 0);
69292
+ __classPrivateFieldGet(this, _GrpLayer_spTsy, "f").position.set(-this.spLay.x, -this.spLay.y);
69293
+ let fncRenderFore = () => {
69294
+ const a = this.spLay.alpha;
69295
+ this.spLay.alpha = 1;
69296
+ this.spLay.children.forEach(s => s.visible = true);
69297
+ __classPrivateFieldGet(this, _GrpLayer_spTsy, "f").visible = false;
69298
+ __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_appPixi).renderer.render(this.spLay, { renderTexture: __classPrivateFieldGet(this, _GrpLayer_rtTsy, "f") });
69299
+ this.spLay.alpha = a;
69300
+ this.spLay.children.forEach(s => s.visible = false);
69301
+ };
69302
+ if (!this.containMovement) {
69303
+ let oldFnc = fncRenderFore;
69304
+ fncRenderFore = () => { fncRenderFore = () => { }; oldFnc(); };
69305
+ }
69306
+ __classPrivateFieldSet(this, _GrpLayer_fncRender, () => {
69307
+ fncRenderFore();
69308
+ __classPrivateFieldGet(this, _GrpLayer_spTsy, "f").visible = true;
69309
+ }, "f");
69310
+ __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_appPixi).ticker.add(__classPrivateFieldGet(this, _GrpLayer_fncRender, "f"));
69311
+ }
69312
+ renderEnd() {
69313
+ __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_appPixi).ticker.remove(__classPrivateFieldGet(this, _GrpLayer_fncRender, "f"));
69314
+ this.spLay.removeChild(__classPrivateFieldGet(this, _GrpLayer_spTsy, "f"));
69315
+ this.spLay.children.forEach(s => s.visible = true);
69316
+ __classPrivateFieldGet(this, _GrpLayer_spTsy, "f").destroy(true);
69317
+ }
69279
69318
  static loadPic2Img(src, img, onload) {
69280
69319
  const oUrl = __classPrivateFieldGet(this, _a, "f", _GrpLayer_hEncImgOUrl)[src];
69281
69320
  if (oUrl) {
@@ -69330,7 +69369,7 @@ class GrpLayer extends Layer_1.Layer {
69330
69369
  throw '一つのname(' + name + ')に対して同じ画像を複数割り当てられません';
69331
69370
  const fn = hArg.fn ?? name;
69332
69371
  __classPrivateFieldGet(GrpLayer, _a, "f", _GrpLayer_hFace)[name] = {
69333
- fn: fn,
69372
+ fn,
69334
69373
  dx: (0, CmnLib_1.argChk_Num)(hArg, 'dx', 0) * CmnLib_1.CmnLib.retinaRate,
69335
69374
  dy: (0, CmnLib_1.argChk_Num)(hArg, 'dy', 0) * CmnLib_1.CmnLib.retinaRate,
69336
69375
  blendmode: Layer_1.Layer.getBlendmodeNum(hArg.blendmode || '')
@@ -69371,7 +69410,7 @@ class GrpLayer extends Layer_1.Layer {
69371
69410
  showDesignCast() { __classPrivateFieldGet(this, _GrpLayer_idc, "f").visible = true; }
69372
69411
  }
69373
69412
  exports.GrpLayer = GrpLayer;
69374
- _a = GrpLayer, _GrpLayer_idc = new WeakMap(), _GrpLayer_csvFn = new WeakMap(), _GrpLayer_sBkFn = new WeakMap(), _GrpLayer_sBkFace = new WeakMap(), _GrpLayer_width = new WeakMap(), _GrpLayer_height = new WeakMap(), _GrpLayer_sortAFrameName = function _GrpLayer_sortAFrameName(aFn) {
69413
+ _a = GrpLayer, _GrpLayer_idc = new WeakMap(), _GrpLayer_csvFn = new WeakMap(), _GrpLayer_sBkFn = new WeakMap(), _GrpLayer_sBkFace = new WeakMap(), _GrpLayer_width = new WeakMap(), _GrpLayer_height = new WeakMap(), _GrpLayer_rtTsy = new WeakMap(), _GrpLayer_spTsy = new WeakMap(), _GrpLayer_fncRender = new WeakMap(), _GrpLayer_sortAFrameName = function _GrpLayer_sortAFrameName(aFn) {
69375
69414
  const a_base_name = /([^\d]+)\d+\.(\w+)/.exec(aFn[0]);
69376
69415
  if (!a_base_name)
69377
69416
  return;
@@ -69453,6 +69492,7 @@ _GrpLayer_elc = { value: new EventListenerCtn_1.EventListenerCtn };
69453
69492
  _GrpLayer_hFace = { value: {} };
69454
69493
  _GrpLayer_main = { value: void 0 };
69455
69494
  _GrpLayer_cfg = { value: void 0 };
69495
+ _GrpLayer_appPixi = { value: void 0 };
69456
69496
  _GrpLayer_sys = { value: void 0 };
69457
69497
  _GrpLayer_glbVol = { value: 1 };
69458
69498
  _GrpLayer_movVol = { value: 1 };
@@ -69560,6 +69600,8 @@ class Layer {
69560
69600
  throw `${bm_name} はサポートされない blendmode です`;
69561
69601
  }
69562
69602
  get containMovement() { return false; }
69603
+ renderStart() { }
69604
+ renderEnd() { }
69563
69605
  clearLay(hArg) {
69564
69606
  this.spLay.alpha = 1;
69565
69607
  this.spLay.blendMode = pixi_js_1.BLEND_MODES.NORMAL;
@@ -69697,10 +69739,10 @@ class Layer {
69697
69739
  static setXYByPos(base, pos, ret) {
69698
69740
  if (pos === 'stay')
69699
69741
  return;
69700
- if (base === null)
69701
- throw 'setXYByPos base === null';
69702
- if (ret === null)
69703
- throw 'setXYByPos result === null';
69742
+ if (base === undefined)
69743
+ throw 'setXYByPos base === undefined';
69744
+ if (ret === undefined)
69745
+ throw 'setXYByPos result === undefined';
69704
69746
  const rct_base = base.getBounds();
69705
69747
  const r_absclX = (ret.scale.x < 0) ? -ret.scale.x : ret.scale.x;
69706
69748
  const b_width = (r_absclX === 1) ? rct_base.width : rct_base.width * r_absclX;
@@ -69818,7 +69860,7 @@ class LayerMng {
69818
69860
  _LayerMng_modeLn.set(this, '');
69819
69861
  _LayerMng_modeLnSub.set(this, '');
69820
69862
  this.getFrmDisabled = (id) => __classPrivateFieldGet(this, _LayerMng_frmMng, "f").getFrmDisabled(id);
69821
- _LayerMng_grpCover.set(this, null);
69863
+ _LayerMng_grpCover.set(this, undefined);
69822
69864
  _LayerMng_evtMng.set(this, void 0);
69823
69865
  _LayerMng_cmdTxt.set(this, (cmd, tl = this.currentTxtlayForeNeedErr, _record = true) => tl.tagCh('| 《' + cmd + '》'));
69824
69866
  this.goTxt = () => { };
@@ -69876,7 +69918,7 @@ void main(void) {
69876
69918
  }));
69877
69919
  _LayerMng_spTransFore.set(this, new pixi_js_1.Sprite(__classPrivateFieldGet(this, _LayerMng_rtTransFore, "f")));
69878
69920
  _LayerMng_aBackTransAfter.set(this, []);
69879
- _LayerMng_tiTrans.set(this, { tw: null, resume: false });
69921
+ _LayerMng_tiTrans.set(this, { tw: undefined, resume: false });
69880
69922
  _LayerMng_hTwInf.set(this, {});
69881
69923
  _LayerMng_getTxtLayer.set(this, (_hArg) => { __classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this); throw 0; });
69882
69924
  _LayerMng_current.set(this, (_hArg) => { __classPrivateFieldGet(this, _LayerMng_chkTxtLay, "f").call(this); throw 0; });
@@ -69909,7 +69951,7 @@ void main(void) {
69909
69951
  }
69910
69952
  CmnLib_1.CmnLib.cvsResize(cvs);
69911
69953
  TxtLayer_1.TxtLayer.init(cfg, hTag, val, (txt) => this.recText(txt), (me) => __classPrivateFieldGet(this, _LayerMng_hPages, "f")[me.layname].fore === me);
69912
- GrpLayer_1.GrpLayer.init(main, cfg, sys, sndMng);
69954
+ GrpLayer_1.GrpLayer.init(main, cfg, appPixi, sys, sndMng);
69913
69955
  Button_1.Button.init(cfg);
69914
69956
  __classPrivateFieldSet(this, _LayerMng_frmMng, new FrameMng_1.FrameMng(this.cfg, this.hTag, this.appPixi, this.val, main, this.sys, __classPrivateFieldGet(this, _LayerMng_hTwInf, "f")), "f");
69915
69957
  sys.hFactoryCls.grp = () => new GrpLayer_1.GrpLayer;
@@ -69995,7 +70037,7 @@ void main(void) {
69995
70037
  if (__classPrivateFieldGet(this, _LayerMng_grpCover, "f")) {
69996
70038
  __classPrivateFieldGet(this, _LayerMng_stage, "f").removeChild(__classPrivateFieldGet(this, _LayerMng_grpCover, "f"));
69997
70039
  __classPrivateFieldGet(this, _LayerMng_grpCover, "f").destroy();
69998
- __classPrivateFieldSet(this, _LayerMng_grpCover, null, "f");
70040
+ __classPrivateFieldSet(this, _LayerMng_grpCover, undefined, "f");
69999
70041
  }
70000
70042
  if (visible)
70001
70043
  __classPrivateFieldGet(this, _LayerMng_stage, "f").addChild((__classPrivateFieldSet(this, _LayerMng_grpCover, new pixi_js_1.Graphics, "f"))
@@ -70326,8 +70368,8 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70326
70368
  __classPrivateFieldGet(this, _LayerMng_back, "f").visible = false;
70327
70369
  };
70328
70370
  if (!aBack.some(lay => lay.containMovement)) {
70329
- fncRenderBack();
70330
- fncRenderBack = () => { };
70371
+ let oldFnc = fncRenderBack;
70372
+ fncRenderBack = () => { fncRenderBack = () => { }; oldFnc(); };
70331
70373
  }
70332
70374
  __classPrivateFieldGet(this, _LayerMng_rtTransFore, "f").resize(CmnLib_1.CmnLib.stageW, CmnLib_1.CmnLib.stageH);
70333
70375
  this.appPixi.renderer.render(__classPrivateFieldGet(this, _LayerMng_fore, "f"), { renderTexture: __classPrivateFieldGet(this, _LayerMng_rtTransFore, "f") });
@@ -70337,8 +70379,8 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70337
70379
  __classPrivateFieldGet(this, _LayerMng_fore, "f").visible = false;
70338
70380
  };
70339
70381
  if (!aFore.some(lay => lay.containMovement)) {
70340
- fncRenderFore();
70341
- fncRenderFore = () => { };
70382
+ let oldFnc = fncRenderFore;
70383
+ fncRenderFore = () => { fncRenderFore = () => { }; oldFnc(); };
70342
70384
  }
70343
70385
  const fncRender = () => {
70344
70386
  fncRenderBack();
@@ -70373,9 +70415,9 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70373
70415
  __classPrivateFieldGet(this, _LayerMng_tiTrans, "f").tw?.stop();
70374
70416
  if (__classPrivateFieldGet(this, _LayerMng_tiTrans, "f").resume)
70375
70417
  this.main.resume();
70376
- __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: null, resume: false }, "f");
70418
+ __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: undefined, resume: false }, "f");
70377
70419
  };
70378
- __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: null, resume: false }, "f");
70420
+ __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: undefined, resume: false }, "f");
70379
70421
  const time = (0, CmnLib_1.argChk_Num)(hArg, 'time', 0);
70380
70422
  if (time === 0 || __classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown()) {
70381
70423
  comp();
@@ -70411,7 +70453,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70411
70453
  }
70412
70454
  if (!hArg.rule)
70413
70455
  throw 'ruleが指定されていません';
70414
- GrpLayer_1.GrpLayer.csv2Sprites(hArg.rule, null, sp => {
70456
+ GrpLayer_1.GrpLayer.csv2Sprites(hArg.rule, undefined, sp => {
70415
70457
  flt.uniforms.rule = sp.texture;
70416
70458
  sp.destroy();
70417
70459
  __classPrivateFieldGet(this, _LayerMng_tiTrans, "f").tw?.start();
@@ -70468,7 +70510,6 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70468
70510
  };
70469
70511
  __classPrivateFieldGet(this, _LayerMng_spTransFore, "f").visible = true;
70470
70512
  __classPrivateFieldGet(this, _LayerMng_spTransFore, "f").alpha = 1;
70471
- const ease = CmnTween_1.CmnTween.ease(hArg.ease);
70472
70513
  const h = (0, CmnLib_1.uint)((0, CmnLib_1.argChk_Num)(hArg, 'hmax', 10));
70473
70514
  const v = (0, CmnLib_1.uint)((0, CmnLib_1.argChk_Num)(hArg, 'vmax', 10));
70474
70515
  const fncH = (h === 0)
@@ -70482,7 +70523,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70482
70523
  const tw = new tween_js_1.Tween(__classPrivateFieldGet(this, _LayerMng_spTransFore, "f"))
70483
70524
  .to({ x: 0, y: 0 }, time)
70484
70525
  .delay((0, CmnLib_1.argChk_Num)(hArg, 'delay', 0))
70485
- .easing(ease)
70526
+ .easing(CmnTween_1.CmnTween.ease(hArg.ease))
70486
70527
  .onUpdate(() => { fncH(); fncV(); })
70487
70528
  .repeat(repeat === 0 ? Infinity : (repeat - 1))
70488
70529
  .yoyo((0, CmnLib_1.argChk_Boolean)(hArg, 'yoyo', false))
@@ -70495,23 +70536,28 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70495
70536
  __classPrivateFieldGet(this, _LayerMng_tiTrans, "f").tw?.stop();
70496
70537
  if (__classPrivateFieldGet(this, _LayerMng_tiTrans, "f").resume)
70497
70538
  this.main.resume();
70498
- __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: null, resume: false }, "f");
70539
+ __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: undefined, resume: false }, "f");
70499
70540
  })
70500
70541
  .start();
70501
- __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw: tw, resume: false }, "f");
70542
+ __classPrivateFieldSet(this, _LayerMng_tiTrans, { tw, resume: false }, "f");
70502
70543
  this.appPixi.ticker.add(fncRender);
70503
70544
  return false;
70504
70545
  }, _LayerMng_tsy = function _LayerMng_tsy(hArg) {
70505
70546
  if (!hArg.layer)
70506
70547
  throw 'layerは必須です';
70507
70548
  const layer = __classPrivateFieldGet(this, _LayerMng_instances, "m", _LayerMng_argChk_layer).call(this, hArg);
70508
- const foreLay = __classPrivateFieldGet(this, _LayerMng_hPages, "f")[layer].fore;
70549
+ let foreLay = __classPrivateFieldGet(this, _LayerMng_hPages, "f")[layer].fore;
70550
+ let finishBlendLayer = () => { };
70551
+ const isSkip = __classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown();
70552
+ if (!isSkip && 'render' in hArg) {
70553
+ foreLay.renderStart();
70554
+ finishBlendLayer = () => foreLay.renderEnd();
70555
+ }
70509
70556
  const hTo = (0, CmnLib_1.cnvTweenArg)(hArg, foreLay);
70510
70557
  const repeat = (0, CmnLib_1.argChk_Num)(hArg, 'repeat', 1);
70511
70558
  const tw_nm = hArg.name ?? hArg.layer;
70512
70559
  const tw = new tween_js_1.Tween(foreLay)
70513
- .to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (Boolean(this.val.getVal('tmp:sn.skip.enabled')
70514
- || __classPrivateFieldGet(this, _LayerMng_evtMng, "f").isSkippingByKeyDown()) ? 0 : 1))
70560
+ .to(hTo, (0, CmnLib_1.argChk_Num)(hArg, 'time', NaN) * (Boolean(this.val.getVal('tmp:sn.skip.enabled') || isSkip) ? 0 : 1))
70515
70561
  .delay((0, CmnLib_1.argChk_Num)(hArg, 'delay', 0))
70516
70562
  .easing(CmnTween_1.CmnTween.ease(hArg.ease))
70517
70563
  .repeat(repeat === 0 ? Infinity : (repeat - 1))
@@ -70520,6 +70566,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70520
70566
  const ti = __classPrivateFieldGet(this, _LayerMng_hTwInf, "f")[tw_nm];
70521
70567
  if (!ti)
70522
70568
  return;
70569
+ finishBlendLayer();
70523
70570
  delete __classPrivateFieldGet(this, _LayerMng_hTwInf, "f")[tw_nm];
70524
70571
  ti.tw?.stop();
70525
70572
  if (ti.resume)
@@ -70537,7 +70584,7 @@ _a = LayerMng, _LayerMng_stage = new WeakMap(), _LayerMng_fore = new WeakMap(),
70537
70584
  tw.start();
70538
70585
  const arrive = (0, CmnLib_1.argChk_Boolean)(hArg, 'arrive', false);
70539
70586
  const backlay = (0, CmnLib_1.argChk_Boolean)(hArg, 'backlay', false);
70540
- __classPrivateFieldGet(this, _LayerMng_hTwInf, "f")[tw_nm] = { tw: tw, resume: false, onEnd: () => {
70587
+ __classPrivateFieldGet(this, _LayerMng_hTwInf, "f")[tw_nm] = { tw, resume: false, onEnd: () => {
70541
70588
  if (arrive)
70542
70589
  Object.assign(foreLay, hTo);
70543
70590
  if (backlay) {
@@ -71478,14 +71525,14 @@ const DebugMng_1 = __webpack_require__(/*! ./DebugMng */ "./core/src/sn/DebugMng
71478
71525
  ;
71479
71526
  var BreakState;
71480
71527
  (function (BreakState) {
71481
- BreakState[BreakState["running"] = 0] = "running";
71482
- BreakState[BreakState["wait"] = 1] = "wait";
71483
- BreakState[BreakState["break"] = 2] = "break";
71484
- BreakState[BreakState["breaking"] = 3] = "breaking";
71485
- BreakState[BreakState["step"] = 4] = "step";
71486
- BreakState[BreakState["stepping"] = 5] = "stepping";
71487
- BreakState[BreakState["stepouting"] = 6] = "stepouting";
71488
- BreakState[BreakState["stepout"] = 7] = "stepout";
71528
+ BreakState[BreakState["Running"] = 0] = "Running";
71529
+ BreakState[BreakState["Wait"] = 1] = "Wait";
71530
+ BreakState[BreakState["Break"] = 2] = "Break";
71531
+ BreakState[BreakState["Breaking"] = 3] = "Breaking";
71532
+ BreakState[BreakState["Step"] = 4] = "Step";
71533
+ BreakState[BreakState["Stepping"] = 5] = "Stepping";
71534
+ BreakState[BreakState["StepOuting"] = 6] = "StepOuting";
71535
+ BreakState[BreakState["StepOut"] = 7] = "StepOut";
71489
71536
  })(BreakState || (BreakState = {}));
71490
71537
  ;
71491
71538
  class ScriptIterator {
@@ -71514,14 +71561,14 @@ class ScriptIterator {
71514
71561
  __classPrivateFieldSet(ScriptIterator, _a, {}, "f", _ScriptIterator_hFuncBP);
71515
71562
  this.isBreak = () => false;
71516
71563
  __classPrivateFieldGet(this, _ScriptIterator_hHook, "f").continue({});
71517
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.running, "f");
71564
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Running, "f");
71518
71565
  },
71519
71566
  restart: () => this.isBreak = () => false,
71520
71567
  add_break: o => __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_regBreakPoint).call(this, o.fn, o.o),
71521
71568
  data_break: o => {
71522
- if (__classPrivateFieldGet(this, _ScriptIterator_breakState, "f") !== BreakState.running)
71569
+ if (__classPrivateFieldGet(this, _ScriptIterator_breakState, "f") !== BreakState.Running)
71523
71570
  return;
71524
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.wait, "f");
71571
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Wait, "f");
71525
71572
  this.main.setLoop(false, `変数 ${o.dataId}【${o.old_v}】→【${o.new_v}】データブレーク`);
71526
71573
  this.sys.callHook('stopOnDataBreakpoint', {});
71527
71574
  this.sys.send2Dbg('stopOnDataBreakpoint', {});
@@ -71537,7 +71584,7 @@ class ScriptIterator {
71537
71584
  if (__classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_isIdxOverLast).call(this))
71538
71585
  return;
71539
71586
  __classPrivateFieldSet(this, _ScriptIterator_idxToken, __classPrivateFieldGet(this, _ScriptIterator_idxToken, "f") - __classPrivateFieldGet(this, _ScriptIterator_instances, "a", _ScriptIterator_idxDx4Dbg_get), "f");
71540
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.breaking, "f");
71587
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Breaking, "f");
71541
71588
  this.main.setLoop(true);
71542
71589
  this.main.resume();
71543
71590
  },
@@ -71548,9 +71595,9 @@ class ScriptIterator {
71548
71595
  const tkn = __classPrivateFieldGet(this, _ScriptIterator_script, "f").aToken[__classPrivateFieldGet(this, _ScriptIterator_idxToken, "f") - __classPrivateFieldGet(this, _ScriptIterator_instances, "a", _ScriptIterator_idxDx4Dbg_get)];
71549
71596
  this.sys.callHook(`stopOnStep${__classPrivateFieldGet(this, _ScriptIterator_REGSTEPIN, "f").test(tkn) ? 'In' : ''}`, {});
71550
71597
  __classPrivateFieldSet(this, _ScriptIterator_idxToken, __classPrivateFieldGet(this, _ScriptIterator_idxToken, "f") - __classPrivateFieldGet(this, _ScriptIterator_instances, "a", _ScriptIterator_idxDx4Dbg_get), "f");
71551
- __classPrivateFieldSet(this, _ScriptIterator_breakState, __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.wait
71552
- ? BreakState.step
71553
- : BreakState.stepping, "f");
71598
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.Wait
71599
+ ? BreakState.Step
71600
+ : BreakState.Stepping, "f");
71554
71601
  this.main.setLoop(true);
71555
71602
  this.main.resume();
71556
71603
  },
@@ -71563,12 +71610,12 @@ class ScriptIterator {
71563
71610
  __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_go_stepover).call(this, o);
71564
71611
  },
71565
71612
  pause: () => {
71566
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.step, "f");
71613
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Step, "f");
71567
71614
  this.main.setLoop(false, '一時停止');
71568
71615
  this.sys.send2Dbg('stopOnStep', {});
71569
71616
  },
71570
71617
  stopOnEntry: () => {
71571
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.step, "f");
71618
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Step, "f");
71572
71619
  this.main.setLoop(false, '一時停止');
71573
71620
  this.sys.send2Dbg('stopOnEntry', {});
71574
71621
  },
@@ -71578,7 +71625,7 @@ class ScriptIterator {
71578
71625
  .replace(__classPrivateFieldGet(ScriptIterator, _a, "f", _ScriptIterator_REG4CODE_FN), `$1/prj/$2/${__classPrivateFieldGet(this, _ScriptIterator_scriptFn, "f")}$3`));
71579
71626
  this.cnvPath4Dbg = (fn) => this.sys.pathBaseCnvSnPath4Dbg + fn.replace('/crypto_prj/', '/prj/');
71580
71627
  _ScriptIterator_csDepth_macro_esc.set(this, 0);
71581
- _ScriptIterator_breakState.set(this, BreakState.running);
71628
+ _ScriptIterator_breakState.set(this, BreakState.Running);
71582
71629
  this.isBreak = (_token) => false;
71583
71630
  _ScriptIterator_procDebugtag.set(this, (_tag_name) => { });
71584
71631
  _ScriptIterator_evtMng.set(this, void 0);
@@ -71909,12 +71956,12 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
71909
71956
  this.sys.callHook(`stopOnStep${out ? 'Out' : ''}`, {});
71910
71957
  __classPrivateFieldSet(this, _ScriptIterator_csDepth_macro_esc, __classPrivateFieldGet(this, _ScriptIterator_aCallStk, "f").length - (out ? 1 : 0), "f");
71911
71958
  __classPrivateFieldSet(this, _ScriptIterator_idxToken, __classPrivateFieldGet(this, _ScriptIterator_idxToken, "f") - __classPrivateFieldGet(this, _ScriptIterator_instances, "a", _ScriptIterator_idxDx4Dbg_get), "f");
71912
- __classPrivateFieldSet(this, _ScriptIterator_breakState, out ? BreakState.stepout : BreakState.stepouting, "f");
71959
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, out ? BreakState.StepOut : BreakState.StepOuting, "f");
71913
71960
  this.main.setLoop(true);
71914
71961
  this.main.resume();
71915
71962
  }, _ScriptIterator_idxDx4Dbg_get = function _ScriptIterator_idxDx4Dbg_get() {
71916
- return __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.break
71917
- || __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.step ? 1 : 0;
71963
+ return __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.Break
71964
+ || __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.Step ? 1 : 0;
71918
71965
  }, _ScriptIterator_isIdxOverLast = function _ScriptIterator_isIdxOverLast() {
71919
71966
  if (__classPrivateFieldGet(this, _ScriptIterator_idxToken, "f") < __classPrivateFieldGet(this, _ScriptIterator_script, "f").len)
71920
71967
  return false;
@@ -71923,34 +71970,34 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
71923
71970
  return true;
71924
71971
  }, _ScriptIterator_isBreak_base = function _ScriptIterator_isBreak_base(token) {
71925
71972
  switch (__classPrivateFieldGet(this, _ScriptIterator_breakState, "f")) {
71926
- case BreakState.stepouting:
71973
+ case BreakState.StepOuting:
71927
71974
  __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_subHitCondition).call(this);
71928
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.stepout, "f");
71975
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.StepOut, "f");
71929
71976
  break;
71930
- case BreakState.stepout:
71977
+ case BreakState.StepOut:
71931
71978
  if (__classPrivateFieldGet(this, _ScriptIterator_aCallStk, "f").length !== __classPrivateFieldGet(this, _ScriptIterator_csDepth_macro_esc, "f"))
71932
71979
  break;
71933
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.step, "f");
71980
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Step, "f");
71934
71981
  this.main.setLoop(false, 'ステップ実行');
71935
71982
  this.sys.send2Dbg('stopOnStep', {});
71936
71983
  return true;
71937
- case BreakState.stepping:
71984
+ case BreakState.Stepping:
71938
71985
  __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_subHitCondition).call(this);
71939
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.step, "f");
71986
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Step, "f");
71940
71987
  break;
71941
- case BreakState.step:
71988
+ case BreakState.Step:
71942
71989
  __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_subHitCondition).call(this);
71943
71990
  this.main.setLoop(false, 'ステップ実行');
71944
71991
  this.sys.send2Dbg('stopOnStep', {});
71945
71992
  return true;
71946
- case BreakState.breaking:
71993
+ case BreakState.Breaking:
71947
71994
  __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_subHitCondition).call(this);
71948
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.running, "f");
71995
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Running, "f");
71949
71996
  break;
71950
71997
  default:
71951
71998
  {
71952
71999
  if ((0, Grammar_1.tagToken2Name)(token) in __classPrivateFieldGet(ScriptIterator, _a, "f", _ScriptIterator_hFuncBP)) {
71953
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.break, "f");
72000
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Break, "f");
71954
72001
  this.main.setLoop(false, `関数 ${token} ブレーク`);
71955
72002
  this.sys.callHook('stopOnBreakpoint', {});
71956
72003
  this.sys.send2Dbg('stopOnBreakpoint', {});
@@ -71970,8 +72017,8 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
71970
72017
  }
71971
72018
  else if (('hitCondition' in o) && --o.hitCondition > 0)
71972
72019
  break;
71973
- const isBreak = __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.running;
71974
- __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.break, "f");
72020
+ const isBreak = __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.Running;
72021
+ __classPrivateFieldSet(this, _ScriptIterator_breakState, BreakState.Break, "f");
71975
72022
  this.main.setLoop(false, isBreak ? ((o.condition ? '条件' : 'ヒットカウント') + 'ブレーク') : 'ステップ実行');
71976
72023
  const type = isBreak ? 'stopOnBreakpoint' : 'stopOnStep';
71977
72024
  this.sys.callHook(type, {});
@@ -71985,7 +72032,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
71985
72032
  if (o?.hitCondition)
71986
72033
  --o.hitCondition;
71987
72034
  }, _ScriptIterator_aStack = function _ScriptIterator_aStack() {
71988
- const idx_n = __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.breaking ? 1 : 0;
72035
+ const idx_n = __classPrivateFieldGet(this, _ScriptIterator_breakState, "f") === BreakState.Breaking ? 1 : 0;
71989
72036
  const tkn0 = __classPrivateFieldGet(this, _ScriptIterator_script, "f").aToken[__classPrivateFieldGet(this, _ScriptIterator_idxToken, "f") - 1 + idx_n];
71990
72037
  const fn0 = __classPrivateFieldGet(this, _ScriptIterator_cnvSnPath4Dbg, "f").call(this, __classPrivateFieldGet(this, _ScriptIterator_scriptFn, "f"));
71991
72038
  const tag_name0 = (0, Grammar_1.tagToken2Name)(tkn0);
@@ -72046,7 +72093,7 @@ _a = ScriptIterator, _ScriptIterator_script = new WeakMap(), _ScriptIterator_scr
72046
72093
  for (let i = len - 1; i >= 0; --i) {
72047
72094
  const cs = __classPrivateFieldGet(this, _ScriptIterator_aCallStk, "f")[i];
72048
72095
  const hMp = cs.csArg[':hMp'];
72049
- const from_macro_nm = hMp ? hMp[':タグ名'] : null;
72096
+ const from_macro_nm = hMp ? hMp[':タグ名'] : undefined;
72050
72097
  const call_nm = cs.csArg[':タグ名'] ?? '';
72051
72098
  const lc = __classPrivateFieldGet(this, _ScriptIterator_instances, "m", _ScriptIterator_cnvIdx2lineCol).call(this, __classPrivateFieldGet(this, _ScriptIterator_hScript, "f")[cs.fn], cs.idx);
72052
72099
  console.info(`${len - i}つ前のコール元 fn:${cs.fn} line:${lc.ln} col:${lc.col_s + 1}` + (from_macro_nm ? '([' + from_macro_nm + ']マクロ内)' : ' ') +
@@ -72700,7 +72747,7 @@ class SoundMng {
72700
72747
  [hArg.clickse, hArg.enterse, hArg.leavese].forEach(fn => {
72701
72748
  if (!fn || sound_1.sound.exists(fn))
72702
72749
  return;
72703
- __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, fn, { preload: true, autoPlay: false });
72750
+ __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, '', fn, { preload: true, autoPlay: false });
72704
72751
  });
72705
72752
  }
72706
72753
  playLoopFromSaveObj() {
@@ -72780,12 +72827,11 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
72780
72827
  __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopse).call(this, hArg);
72781
72828
  return false;
72782
72829
  }
72783
- const ease = CmnTween_1.CmnTween.ease(hArg.ease);
72784
72830
  const repeat = (0, CmnLib_1.argChk_Num)(hArg, 'repeat', 1);
72785
72831
  oSb.twFade = new tween_js_1.Tween({ v: oSb.snd.volume })
72786
72832
  .to({ v: vol }, time)
72787
72833
  .delay(delay)
72788
- .easing(ease)
72834
+ .easing(CmnTween_1.CmnTween.ease(hArg.ease))
72789
72835
  .repeat(repeat === 0 ? Infinity : (repeat - 1))
72790
72836
  .yoyo((0, CmnLib_1.argChk_Boolean)(hArg, 'yoyo', false))
72791
72837
  .onUpdate(o => { if (oSb.playing())
@@ -72812,7 +72858,7 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
72812
72858
  __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopse).call(this, { buf });
72813
72859
  const fn = hArg.fn;
72814
72860
  if (!fn)
72815
- throw '[playse] fnは必須です(buf=' + buf + ')';
72861
+ throw `[playse] fnは必須です buf:${buf}`;
72816
72862
  if ((0, CmnLib_1.argChk_Boolean)(hArg, 'canskip', true)
72817
72863
  && __classPrivateFieldGet(this, _SoundMng_evtMng, "f").isSkippingByKeyDown())
72818
72864
  return false;
@@ -72843,11 +72889,11 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
72843
72889
  const snd = sound_1.sound.find(fn);
72844
72890
  const oSb = __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf] = {
72845
72891
  now_buf: buf,
72846
- snd: snd,
72847
- loop: loop,
72848
- start_ms: start_ms,
72849
- end_ms: end_ms,
72850
- ret_ms: ret_ms,
72892
+ snd,
72893
+ loop,
72894
+ start_ms,
72895
+ end_ms,
72896
+ ret_ms,
72851
72897
  resume: false,
72852
72898
  playing: () => true,
72853
72899
  onend: () => {
@@ -72862,7 +72908,7 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
72862
72908
  },
72863
72909
  };
72864
72910
  const o = {
72865
- loop: loop,
72911
+ loop,
72866
72912
  volume: vol,
72867
72913
  speed: (0, CmnLib_1.argChk_Num)(hArg, 'speed', 1),
72868
72914
  sprites: {},
@@ -72947,14 +72993,14 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
72947
72993
  }
72948
72994
  if (o2s.start >= d)
72949
72995
  throw `[playse] ret_ms:${ret_ms} >= 音声ファイル再生時間:${d} は異常値です`;
72950
- __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, fn, o2);
72996
+ __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, buf, fn, o2);
72951
72997
  };
72952
72998
  }
72953
72999
  __classPrivateFieldGet(this, _SoundMng_initVol, "f").call(this);
72954
73000
  if (snd) {
72955
73001
  snd.volume = vol;
72956
73002
  if (sp_nm)
72957
- __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, fn, o);
73003
+ __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, buf, fn, o);
72958
73004
  else if (snd.isPlayable) {
72959
73005
  const ab = snd.options.source;
72960
73006
  if (!(ab instanceof ArrayBuffer)
@@ -72974,13 +73020,15 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
72974
73020
  const old = o.loaded;
72975
73021
  o.loaded = (e, snd) => { old?.(e, snd); this.main.resume(); };
72976
73022
  }
72977
- __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, fn, o);
73023
+ __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_playseSub).call(this, buf, fn, o);
72978
73024
  return join;
72979
- }, _SoundMng_playseSub = function _SoundMng_playseSub(fn, o) {
73025
+ }, _SoundMng_playseSub = function _SoundMng_playseSub(buf, fn, o) {
72980
73026
  const url = this.cfg.searchPath(fn, Config_1.Config.EXT_SOUND);
72981
73027
  if (url.slice(-4) !== '.bin') {
72982
73028
  o.url = url;
72983
73029
  const snd = sound_1.Sound.from(o);
73030
+ if (buf)
73031
+ __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf].snd = snd;
72984
73032
  if (!o.loop)
72985
73033
  sound_1.sound.add(fn, snd);
72986
73034
  return;
@@ -72994,6 +73042,8 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
72994
73042
  .load((_ldr, hRes) => {
72995
73043
  o.source = hRes[fn]?.data;
72996
73044
  const snd = sound_1.Sound.from(o);
73045
+ if (buf)
73046
+ __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf].snd = snd;
72997
73047
  if (!o.loop)
72998
73048
  sound_1.sound.add(fn, snd);
72999
73049
  });
@@ -73005,9 +73055,12 @@ _a = SoundMng, _SoundMng_hSndBuf = new WeakMap(), _SoundMng_hLP = new WeakMap(),
73005
73055
  return false;
73006
73056
  }, _SoundMng_stopbgm = function _SoundMng_stopbgm(hArg) { hArg.buf = 'BGM'; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopse).call(this, hArg); }, _SoundMng_stopse = function _SoundMng_stopse(hArg) {
73007
73057
  const buf = hArg.buf ?? 'SE';
73008
- __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_stopfadese).call(this, hArg);
73009
73058
  __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_delLoopPlay).call(this, buf);
73010
- __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf]?.snd?.stop();
73059
+ const oSb = __classPrivateFieldGet(this, _SoundMng_hSndBuf, "f")[buf];
73060
+ if (oSb) {
73061
+ oSb.snd?.stop();
73062
+ oSb.onend();
73063
+ }
73011
73064
  return false;
73012
73065
  }, _SoundMng_wb = function _SoundMng_wb(hArg) { hArg.buf = 'BGM'; return __classPrivateFieldGet(this, _SoundMng_instances, "m", _SoundMng_wf).call(this, hArg); }, _SoundMng_wf = function _SoundMng_wf(hArg) {
73013
73066
  const buf = hArg.buf ?? 'SE';
@@ -73104,7 +73157,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
73104
73157
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
73105
73158
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
73106
73159
  };
73107
- var _SysApp_hInfo, _SysApp_main;
73160
+ var _SysApp_instances, _SysApp_hInfo, _SysApp_main, _SysApp_dl_app;
73108
73161
  Object.defineProperty(exports, "__esModule", ({ value: true }));
73109
73162
  exports.SysApp = void 0;
73110
73163
  const SysNode_1 = __webpack_require__(/*! ./SysNode */ "./core/src/sn/SysNode.ts");
@@ -73116,6 +73169,7 @@ const { to_app } = window;
73116
73169
  class SysApp extends SysNode_1.SysNode {
73117
73170
  constructor(hPlg = {}, arg = { cur: 'prj/', crypto: false, dip: '' }) {
73118
73171
  super(hPlg, arg);
73172
+ _SysApp_instances.add(this);
73119
73173
  _SysApp_hInfo.set(this, {
73120
73174
  getAppPath: '',
73121
73175
  isPackaged: false,
@@ -73123,6 +73177,8 @@ class SysApp extends SysNode_1.SysNode {
73123
73177
  userData: '',
73124
73178
  getVersion: '',
73125
73179
  env: {},
73180
+ platform: '',
73181
+ arch: '',
73126
73182
  screenResolutionX: 0,
73127
73183
  screenResolutionY: 0,
73128
73184
  });
@@ -73263,19 +73319,31 @@ class SysApp extends SysNode_1.SysNode {
73263
73319
  if (CmnLib_1.CmnLib.debugLog)
73264
73320
  DebugMng_1.DebugMng.myTrace(`[update_check] url=${url}`, 'D');
73265
73321
  (async () => {
73266
- const res = await this.fetch(url + `latest${CmnLib_1.CmnLib.isMac ? '-mac' : ''}.yml`);
73267
- if (!res.ok) {
73322
+ let oIdx = {};
73323
+ let sYml = '';
73324
+ let netver = '';
73325
+ const resIdxJS = await this.fetch(url + '_index.json');
73326
+ if (resIdxJS.ok) {
73268
73327
  if (CmnLib_1.CmnLib.debugLog)
73269
- DebugMng_1.DebugMng.myTrace(`[update_check] [update_check] .ymlが見つかりません`);
73270
- return;
73328
+ DebugMng_1.DebugMng.myTrace(`[update_check] _index.jsonを取得しました`, 'D');
73329
+ oIdx = await resIdxJS.json();
73330
+ netver = oIdx.version;
73331
+ }
73332
+ else {
73333
+ const resYml = await this.fetch(url + `latest${CmnLib_1.CmnLib.isMac ? '-mac' : ''}.yml`);
73334
+ if (!resYml.ok) {
73335
+ if (CmnLib_1.CmnLib.debugLog)
73336
+ DebugMng_1.DebugMng.myTrace(`[update_check] [update_check] .ymlが見つかりません`);
73337
+ return;
73338
+ }
73339
+ if (CmnLib_1.CmnLib.debugLog)
73340
+ DebugMng_1.DebugMng.myTrace(`[update_check] .ymlを取得しました`, 'D');
73341
+ sYml = await resYml.text();
73342
+ const mv = /version: (.+)/.exec(sYml);
73343
+ if (!mv)
73344
+ throw `[update_check] .yml に version が見つかりません`;
73345
+ netver = mv[1];
73271
73346
  }
73272
- if (CmnLib_1.CmnLib.debugLog)
73273
- DebugMng_1.DebugMng.myTrace(`[update_check] .ymlを取得しました`, 'D');
73274
- const txtYml = await res.text();
73275
- const mv = /version: (.+)/.exec(txtYml);
73276
- if (!mv)
73277
- throw `[update_check] .yml に version が見つかりません`;
73278
- const netver = mv[1];
73279
73347
  const appver = __classPrivateFieldGet(this, _SysApp_hInfo, "f").getVersion;
73280
73348
  if (CmnLib_1.CmnLib.debugLog)
73281
73349
  DebugMng_1.DebugMng.myTrace(`[update_check] 現在ver=${appver} 新規ver=${netver}`, 'D');
@@ -73284,39 +73352,65 @@ class SysApp extends SysNode_1.SysNode {
73284
73352
  DebugMng_1.DebugMng.myTrace(`[update_check] バージョン更新なし`, 'I');
73285
73353
  return;
73286
73354
  }
73355
+ const mbo = {
73356
+ title: 'アプリ更新',
73357
+ icon: (__classPrivateFieldGet(this, _SysApp_hInfo, "f").getAppPath + '/app/icon.png'),
73358
+ buttons: ['OK', 'Cancel'],
73359
+ defaultId: 0,
73360
+ cancelId: 1,
73361
+ message: `アプリ【${this.cfg.oCfg.book.title}】に更新があります。\nダウンロードしますか?`,
73362
+ detail: `現在 NOW ver ${appver}\n新規 NEW ver ${netver}`,
73363
+ };
73364
+ const di = await to_app.showMessageBox(mbo);
73365
+ if (di.response > 0)
73366
+ return;
73287
73367
  if (CmnLib_1.CmnLib.debugLog)
73288
73368
  DebugMng_1.DebugMng.myTrace(`[update_check] アプリダウンロード開始`, 'D');
73289
- const mp = /path: (.+)/.exec(txtYml);
73290
- if (!mp)
73291
- throw `[update_check] .yml に path が見つかりません`;
73292
- const path = mp[1];
73293
- if (CmnLib_1.CmnLib.debugLog)
73294
- DebugMng_1.DebugMng.myTrace(`[update_check] path=${path}`, 'D');
73295
- const mc = /sha512: (.+)/.exec(txtYml);
73296
- if (!mc)
73297
- throw `[update_check] .yml sha512 が見つかりません`;
73298
- const sha = mc[1];
73299
- if (CmnLib_1.CmnLib.debugLog)
73300
- DebugMng_1.DebugMng.myTrace(`[update_check] sha=${sha}=`, 'D');
73301
- const res_dl = await this.fetch(url + path);
73302
- if (!res_dl.ok) {
73369
+ if (resIdxJS.ok) {
73370
+ const key = __classPrivateFieldGet(this, _SysApp_hInfo, "f").platform + '_' + __classPrivateFieldGet(this, _SysApp_hInfo, "f").arch;
73371
+ let pa = oIdx[key];
73372
+ if (pa)
73373
+ await __classPrivateFieldGet(this, _SysApp_instances, "m", _SysApp_dl_app).call(this, url, key + '-' + pa.cn, pa.path);
73374
+ else {
73375
+ let d = '';
73376
+ const aApp = [];
73377
+ const regOldSameKey = new RegExp('^' + __classPrivateFieldGet(this, _SysApp_hInfo, "f").platform + '_');
73378
+ for (const k in oIdx) {
73379
+ if (!regOldSameKey.test(k))
73380
+ continue;
73381
+ const ap = oIdx[k];
73382
+ d += '\n- ' + ap.path;
73383
+ aApp.push({ url, urlApp: k + '-' + ap.cn, fn: String(ap.path) });
73384
+ }
73385
+ mbo.message = `CPU = ${__classPrivateFieldGet(this, _SysApp_hInfo, "f").arch}\nに対応するファイルが見つかりません。同じOSのファイルをすべてダウンロードしますか?`;
73386
+ mbo.detail = aApp.length + ' 個ファイルがあります' + d;
73387
+ const di = await to_app.showMessageBox(mbo);
73388
+ if (di.response > 0)
73389
+ return;
73390
+ await Promise.all(aApp.map(ap => __classPrivateFieldGet(this, _SysApp_instances, "m", _SysApp_dl_app).call(this, ap.url, ap.urlApp, ap.fn)));
73391
+ }
73392
+ }
73393
+ else {
73394
+ const mp = /path: (.+)/.exec(sYml);
73395
+ if (!mp)
73396
+ throw `[update_check] path が見つかりません`;
73397
+ const path = mp[1];
73303
73398
  if (CmnLib_1.CmnLib.debugLog)
73304
- DebugMng_1.DebugMng.myTrace(`[update_check] アプリファイルが見つかりません url=${url + path}`);
73305
- return;
73399
+ DebugMng_1.DebugMng.myTrace(`[update_check] path=${path}`, 'D');
73400
+ const mc = /sha512: (.+)/.exec(sYml);
73401
+ if (!mc)
73402
+ throw `[update_check] sha512 が見つかりません`;
73403
+ const sha = mc[1];
73404
+ if (CmnLib_1.CmnLib.debugLog)
73405
+ DebugMng_1.DebugMng.myTrace(`[update_check] sha=${sha}=`, 'D');
73406
+ const mm = /(.+)(\.\w+)/.exec(path) ?? ['', '', ''];
73407
+ await __classPrivateFieldGet(this, _SysApp_instances, "m", _SysApp_dl_app).call(this, url, mm[1] + '-' + __classPrivateFieldGet(this, _SysApp_hInfo, "f").arch + mm[2], path);
73306
73408
  }
73307
- const pathDL = __classPrivateFieldGet(this, _SysApp_hInfo, "f").downloads + '/' + path;
73308
- if (CmnLib_1.CmnLib.debugLog)
73309
- DebugMng_1.DebugMng.myTrace(`[update_check] pathDL=${pathDL}`, 'D');
73310
- const b = await res_dl.blob();
73311
- const url2 = URL.createObjectURL(b);
73312
- const a = document.createElement('a');
73313
- document.body.appendChild(a);
73314
- a.download = path;
73315
- a.href = url2;
73316
- a.click();
73317
- a.remove();
73318
73409
  if (CmnLib_1.CmnLib.debugLog)
73319
73410
  DebugMng_1.DebugMng.myTrace(`アプリファイルを保存しました`, 'D');
73411
+ mbo.buttons.pop();
73412
+ mbo.message = `アプリ【${this.cfg.oCfg.book.title}】の更新パッケージを\nダウンロードしました`;
73413
+ to_app.showMessageBox(mbo);
73320
73414
  })();
73321
73415
  return false;
73322
73416
  };
@@ -73399,7 +73493,21 @@ class SysApp extends SysNode_1.SysNode {
73399
73493
  titleSub(title) { to_app.win_setTitle(title); }
73400
73494
  }
73401
73495
  exports.SysApp = SysApp;
73402
- _SysApp_hInfo = new WeakMap(), _SysApp_main = new WeakMap();
73496
+ _SysApp_hInfo = new WeakMap(), _SysApp_main = new WeakMap(), _SysApp_instances = new WeakSet(), _SysApp_dl_app = async function _SysApp_dl_app(url, urlApp, fn) {
73497
+ if (CmnLib_1.CmnLib.debugLog)
73498
+ DebugMng_1.DebugMng.myTrace(`[update_check] アプリファイルDL試行... url=${url + urlApp}`, 'D');
73499
+ const res = await this.fetch(url + urlApp);
73500
+ if (!res.ok) {
73501
+ if (CmnLib_1.CmnLib.debugLog)
73502
+ DebugMng_1.DebugMng.myTrace(`[update_check] アプリファイルが見つかりません url=${url + fn}`);
73503
+ return;
73504
+ }
73505
+ const pathDL = __classPrivateFieldGet(this, _SysApp_hInfo, "f").downloads + '/' + fn;
73506
+ if (CmnLib_1.CmnLib.debugLog)
73507
+ DebugMng_1.DebugMng.myTrace(`[update_check] pathDL=${pathDL}`, 'D');
73508
+ const ab = await res.arrayBuffer();
73509
+ await this.writeFileSync(pathDL, new DataView(ab));
73510
+ };
73403
73511
 
73404
73512
 
73405
73513
  /***/ }),
@@ -73438,7 +73546,7 @@ class SysBase {
73438
73546
  this.reso4frame = 1;
73439
73547
  this.data = { sys: {}, mark: {}, kidoku: {} };
73440
73548
  this.extPort = 3776;
73441
- _SysBase_sk.set(this, null);
73549
+ _SysBase_sk.set(this, undefined);
73442
73550
  _SysBase_hHook.set(this, {
73443
73551
  auth: o => {
73444
73552
  if (o.t !== this.cfg.oCfg.debuger_token) {
@@ -73644,7 +73752,7 @@ class SysBase {
73644
73752
  }
73645
73753
  end() {
73646
73754
  __classPrivateFieldGet(this, _SysBase_sk, "f")?.disconnect();
73647
- __classPrivateFieldSet(this, _SysBase_sk, null, "f");
73755
+ __classPrivateFieldSet(this, _SysBase_sk, undefined, "f");
73648
73756
  }
73649
73757
  toast(nm) {
73650
73758
  const cvs = document.getElementById(CmnLib_1.CmnLib.SN_ID);
@@ -73811,7 +73919,7 @@ class TxtLayer extends Layer_1.Layer {
73811
73919
  _TxtLayer_b_color.set(this, 0x000000);
73812
73920
  _TxtLayer_b_alpha.set(this, 0);
73813
73921
  _TxtLayer_b_alpha_isfixed.set(this, false);
73814
- _TxtLayer_b_do.set(this, null);
73922
+ _TxtLayer_b_do.set(this, undefined);
73815
73923
  _TxtLayer_b_pic.set(this, '');
73816
73924
  _TxtLayer_txs.set(this, new TxtStage_1.TxtStage(this.spLay, () => this.canFocus()));
73817
73925
  _TxtLayer_rbSpl.set(this, new RubySpliter_1.RubySpliter);
@@ -74067,7 +74175,7 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
74067
74175
  _TxtLayer_cumDelay.set(this, 0);
74068
74176
  _TxtLayer_firstCh.set(this, true);
74069
74177
  _TxtLayer_aSpan.set(this, []);
74070
- _TxtLayer_aSpan_bk.set(this, null);
74178
+ _TxtLayer_aSpan_bk.set(this, undefined);
74071
74179
  _TxtLayer_aSpan_link.set(this, '');
74072
74180
  _TxtLayer_hSpanBk.set(this, {
74073
74181
  ch_in_style: '',
@@ -74091,8 +74199,8 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
74091
74199
  this.record = () => Object.assign(super.record(), {
74092
74200
  enabled: this.enabled,
74093
74201
  r_align: __classPrivateFieldGet(this, _TxtLayer_r_align, "f"),
74094
- b_do: (__classPrivateFieldGet(this, _TxtLayer_b_do, "f") === null)
74095
- ? null
74202
+ b_do: (__classPrivateFieldGet(this, _TxtLayer_b_do, "f") === undefined)
74203
+ ? undefined
74096
74204
  : (__classPrivateFieldGet(this, _TxtLayer_b_do, "f") instanceof pixi_js_1.Sprite ? 'Sprite' : 'Graphics'),
74097
74205
  b_pic: __classPrivateFieldGet(this, _TxtLayer_b_pic, "f"),
74098
74206
  b_color: __classPrivateFieldGet(this, _TxtLayer_b_color, "f"),
@@ -74180,7 +74288,7 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
74180
74288
  destroy() {
74181
74289
  if (__classPrivateFieldGet(this, _TxtLayer_b_do, "f")) {
74182
74290
  this.spLay.removeChild(__classPrivateFieldGet(this, _TxtLayer_b_do, "f")).destroy();
74183
- __classPrivateFieldSet(this, _TxtLayer_b_do, null, "f");
74291
+ __classPrivateFieldSet(this, _TxtLayer_b_do, undefined, "f");
74184
74292
  }
74185
74293
  this.clearText();
74186
74294
  __classPrivateFieldGet(this, _TxtLayer_txs, "f").destroy();
@@ -74277,7 +74385,7 @@ ${__classPrivateFieldGet(this, _TxtLayer_fncFFSStyle, "f").call(this, tx)}`;
74277
74385
  __classPrivateFieldSet(this, _TxtLayer_cumDelay, 0, "f");
74278
74386
  __classPrivateFieldSet(this, _TxtLayer_firstCh, true, "f");
74279
74387
  __classPrivateFieldSet(this, _TxtLayer_aSpan, [], "f");
74280
- __classPrivateFieldSet(this, _TxtLayer_aSpan_bk, null, "f");
74388
+ __classPrivateFieldSet(this, _TxtLayer_aSpan_bk, undefined, "f");
74281
74389
  __classPrivateFieldSet(this, _TxtLayer_page_text, '', "f");
74282
74390
  __classPrivateFieldGet(TxtLayer, _a, "f", _TxtLayer_recText).call(TxtLayer, '', true);
74283
74391
  }
@@ -74568,7 +74676,7 @@ _a = TxtLayer, _TxtLayer_b_color = new WeakMap(), _TxtLayer_b_alpha = new WeakMa
74568
74676
  return;
74569
74677
  __classPrivateFieldGet(this, _TxtLayer_aSpan_bk, "f").push(__classPrivateFieldGet(this, _TxtLayer_aSpan, "f"), '</span>');
74570
74678
  __classPrivateFieldSet(this, _TxtLayer_aSpan, Array.prototype.concat.apply([], __classPrivateFieldGet(this, _TxtLayer_aSpan_bk, "f")), "f");
74571
- __classPrivateFieldSet(this, _TxtLayer_aSpan_bk, null, "f");
74679
+ __classPrivateFieldSet(this, _TxtLayer_aSpan_bk, undefined, "f");
74572
74680
  __classPrivateFieldGet(this, _TxtLayer_instances, "m", _TxtLayer_set_ch_in).call(this, { in_style: __classPrivateFieldGet(this, _TxtLayer_hSpanBk, "f").ch_in_style });
74573
74681
  __classPrivateFieldGet(this, _TxtLayer_instances, "m", _TxtLayer_set_ch_out).call(this, { out_style: __classPrivateFieldGet(this, _TxtLayer_hSpanBk, "f").ch_out_style });
74574
74682
  __classPrivateFieldSet(this, _TxtLayer_r_align, __classPrivateFieldGet(this, _TxtLayer_hSpanBk, "f").r_align, "f");
@@ -74644,18 +74752,18 @@ class TxtStage extends pixi_js_1.Container {
74644
74752
  _TxtStage_isTategaki.set(this, false);
74645
74753
  _TxtStage_padTx4x.set(this, 0);
74646
74754
  _TxtStage_padTx4y.set(this, 0);
74647
- _TxtStage_ch_filter.set(this, void 0);
74755
+ _TxtStage_ch_filter.set(this, undefined);
74648
74756
  _TxtStage_aSpTw.set(this, []);
74649
74757
  _TxtStage_aRect.set(this, []);
74650
74758
  _TxtStage_lenHtmTxt.set(this, 0);
74651
- _TxtStage_beforeHTMLElm.set(this, null);
74759
+ _TxtStage_beforeHTMLElm.set(this, undefined);
74652
74760
  _TxtStage_REGDS.set(this, /animation\-duration: (?<ms>\d+)ms;/);
74653
74761
  _TxtStage_fncEndChIn.set(this, () => { });
74654
74762
  _TxtStage_isChInIng.set(this, false);
74655
74763
  _TxtStage_lh_half.set(this, 0);
74656
74764
  _TxtStage_fi_easing.set(this, 'Quadratic.Out');
74657
74765
  _TxtStage_fo_easing.set(this, 'Quadratic.Out');
74658
- _TxtStage_sss.set(this, null);
74766
+ _TxtStage_sss.set(this, undefined);
74659
74767
  __classPrivateFieldGet(this, _TxtStage_htmTxt, "f").classList.add('sn_tx');
74660
74768
  __classPrivateFieldGet(this, _TxtStage_htmTxt, "f").style.position = 'absolute';
74661
74769
  __classPrivateFieldGet(TxtStage, _a, "f", _TxtStage_cvs).parentElement.appendChild(__classPrivateFieldGet(this, _TxtStage_htmTxt, "f"));
@@ -74944,7 +75052,7 @@ class TxtStage extends pixi_js_1.Container {
74944
75052
  __classPrivateFieldGet(this, _TxtStage_fncEndChIn, "f").call(this);
74945
75053
  return;
74946
75054
  }
74947
- let le = null;
75055
+ let le = undefined;
74948
75056
  for (let i = len_chs - 1; i >= 0; --i) {
74949
75057
  const v = chs[i];
74950
75058
  if (v.className === 'sn_ch')
@@ -75116,7 +75224,7 @@ class TxtStage extends pixi_js_1.Container {
75116
75224
  snapshot_end() {
75117
75225
  if (__classPrivateFieldGet(this, _TxtStage_sss, "f")) {
75118
75226
  __classPrivateFieldGet(this, _TxtStage_cntTxt, "f").removeChild(__classPrivateFieldGet(this, _TxtStage_sss, "f"));
75119
- __classPrivateFieldSet(this, _TxtStage_sss, null, "f");
75227
+ __classPrivateFieldSet(this, _TxtStage_sss, undefined, "f");
75120
75228
  }
75121
75229
  }
75122
75230
  makeDesignCast(gdc) {
@@ -75423,7 +75531,7 @@ _a = TxtStage, _TxtStage_htmTxt = new WeakMap(), _TxtStage_cntTxt = new WeakMap(
75423
75531
  .easing(ease)
75424
75532
  .delay((add.wait ?? 0) + (arg.delay ?? 0))
75425
75533
  .onComplete(() => {
75426
- st.tw = null;
75534
+ st.tw = undefined;
75427
75535
  })
75428
75536
  .start(),
75429
75537
  };