@famibee/skynovel 1.30.1 → 1.30.2

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 +1 @@
1
- {"version":3,"file":"TxtLayer.d.ts","sourceRoot":"","sources":["TxtLayer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAe,OAAO,EAAgE,MAAM,UAAU,CAAC;AAC9G,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,IAAI,EAAU,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAIhC,OAAO,EAAW,eAAe,EAAC,MAAM,YAAY,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAA6C,QAAQ,EAAE,WAAW,EAAC,MAAM,SAAS,CAAC;AAE1F,qBAAa,QAAS,SAAQ,KAAK;;IAKlC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAI,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAI,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI;IAyHtJ,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO;;IA8DlD,OAAO;IAMhB,MAAM,CAAC,OAAO;IAMd,IAAa,IAAI,CAAC,EAAE,EAAE,MAAM,EAAyC;IACrE,IAAa,IAAI,IADK,MAAM,CACY;IAG/B,SAAS;IACT,iBAAiB;IAEjB,GAAG,CAAC,IAAI,EAAE,IAAI;IAqCvB,IAAa,KAAK,WAA8B;IAChD,IAAa,MAAM,WAA+B;IA4ElD,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAuDnC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO;IAW9B,KAAK,UAAS;IAEd,OAAO,CAAC,eAAe;IAqDvB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAuTzB,QAAQ,CAAC,KAAK,gBAGb;IAED,SAAS,IAAI,IAAI;IAYjB,IAAI,QAAQ,WAA8C;IAE1D,IAAI,OAAO,YAA0C;IACrD,IAAI,OAAO,CAAC,CAAC,SAAA,EAAsC;IAEnD,QAAQ,CAAC,SAAS,SAAU,IAAI,mBAO7B;IACH,QAAQ,IAAI,OAAO;IAMV,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAOnC,SAAkB,MAAM,YAkBrB;IACM,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI;IA0BhD,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAK,IAAI;IAIrC,YAAY;IAEZ,cAAc,CAAC,GAAG,EAAE,eAAe;IAInC,sBAAsB,CAAC,GAAG,EAAE,eAAe;IAK3C,cAAc;IACd,sBAAsB;IAItB,IAAI,IAAI,MAAM;CAoBvB"}
1
+ {"version":3,"file":"TxtLayer.d.ts","sourceRoot":"","sources":["TxtLayer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAe,OAAO,EAAgE,MAAM,UAAU,CAAC;AAC9G,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,IAAI,EAAU,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAIhC,OAAO,EAAW,eAAe,EAAC,MAAM,YAAY,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAA6C,QAAQ,EAAE,WAAW,EAAC,MAAM,SAAS,CAAC;AAE1F,qBAAa,QAAS,SAAQ,KAAK;;IAKlC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAI,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAI,OAAO,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI;IAyHtJ,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO;;IA8DlD,OAAO;IAMhB,MAAM,CAAC,OAAO;IAMd,IAAa,IAAI,CAAC,EAAE,EAAE,MAAM,EAAyC;IACrE,IAAa,IAAI,IADK,MAAM,CACY;IAG/B,SAAS;IACT,iBAAiB;IAEjB,GAAG,CAAC,IAAI,EAAE,IAAI;IAqCvB,IAAa,KAAK,WAA8B;IAChD,IAAa,MAAM,WAA+B;IA4ElD,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IA+CnC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO;IAQ9B,KAAK,UAAS;IAEd,OAAO,CAAC,eAAe;IAqDvB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAqPzB,QAAQ,CAAC,KAAK,gBAGb;IAED,SAAS,IAAI,IAAI;IAUjB,IAAI,QAAQ,WAA8C;IAE1D,IAAI,OAAO,YAA0C;IACrD,IAAI,OAAO,CAAC,CAAC,SAAA,EAAsC;IAEnD,QAAQ,CAAC,SAAS,SAAU,IAAI,mBAO7B;IACH,QAAQ,IAAI,OAAO;IAMV,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAOnC,SAAkB,MAAM,YAkBrB;IACM,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI;IA0BhD,QAAQ,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAK,IAAI;IAIrC,YAAY;IAEZ,cAAc,CAAC,GAAG,EAAE,eAAe;IAInC,sBAAsB,CAAC,GAAG,EAAE,eAAe;IAK3C,cAAc;IACd,sBAAsB;IAItB,IAAI,IAAI,MAAM;CAoBvB"}
package/dist/web.js CHANGED
@@ -49,7 +49,7 @@ var __privateMethod2 = (obj, member, method) => {
49
49
  __accessCheck2(obj, member, "access private method");
50
50
  return method;
51
51
  };
52
- var _a2, _b2, _c2, _d, _sesame, _putCh, _REG_RUBY, _REG_CANTC2M, _REGC2M, _regStrC2M, _regStrC2M4not, _hC2M, _REG_TAGARG, _hPrm, _isKomeParam, _parser, _calc, calc_fn, _hFnc, _fncSub_ChkNum, fncSub_ChkNum_fn, _REG_EMBEDVAR, _procEmbedVar, procEmbedVar_fn, _REG_VAL, _getValName_B2D, getValName_B2D_fn, _hScopes, _hSave, _hTmp, _sys2, _data, _hSys, _hAreaKidoku, _callHook, _hProcDbgRes, _set_data_break, set_data_break_fn, _flush, _doRecProc, _copybookmark, copybookmark_fn, _erasebookmark, erasebookmark_fn, _let, let_fn, _let_abs, let_abs_fn, _let_char_at, let_char_at_fn, _let_index_of, let_index_of_fn, _let_length, let_length_fn, _let_replace, let_replace_fn, _let_round, let_round_fn, _let_search, let_search_fn, _let_substr, let_substr_fn, _clearsysvar, clearsysvar_fn, _clearvar, clearvar_fn, _setVal, _hSetEvent, _castAuto, castAuto_fn, _REG_NUMERICLITERAL, _dump_val, _doRecLog, _hValTrg, _runFirst_Bool_hSysVal_true, runFirst_Bool_hSysVal_true_fn, _runFirst_sys_an_tagCh_msecWait, runFirst_sys_an_tagCh_msecWait_fn, _runFirst_sys_an_tagCh_msecWait_Kidoku, runFirst_sys_an_tagCh_msecWait_Kidoku_fn, _runFirst_sys_an_auto_msecPageWait, runFirst_sys_an_auto_msecPageWait_fn, _runFirst_sys_an_auto_msecLineWait, runFirst_sys_an_auto_msecLineWait_fn, _runFirst_Bool_hSaveVal_true, runFirst_Bool_hSaveVal_true_fn, _runFirst_Bool_hTmp_true, runFirst_Bool_hTmp_true_fn, _runFirst_Bool_hTmp_false, runFirst_Bool_hTmp_false_fn, _hEase, _hSndBuf, _hLP, _evtMng2, _volume, volume_fn, _getVol, getVol_fn, _fadeoutbgm, fadeoutbgm_fn, _fadeoutse, fadeoutse_fn, _fadebgm, fadebgm_fn, _fadese, fadese_fn, _playbgm, playbgm_fn, _MAX_END_MS, _playse, playse_fn, _playseSub, playseSub_fn, _initVol, _stop_allse, stop_allse_fn, _stopbgm, stopbgm_fn, _stopse, stopse_fn, _wb, wb_fn, _wf, wf_fn, _stopfadese, stopfadese_fn, _wl, wl_fn, _ws, ws_fn, _xchgbuf, xchgbuf_fn, _addLoopPlay, addLoopPlay_fn, _delLoopPlay, delLoopPlay_fn, _pg, _hBlendmode, _vctEvt, _sp, _procHint, procHint_fn, _sp2, _cfg2, _appPixi2, _evtMng3, _htmTxt, _cntTxt, _grpDbgMasume, _idc2, _idcCh, _infTL, _break_fixed, _break_fixed_left, _break_fixed_top, _lay_sub, lay_sub_fn, _left, _isTategaki, _padTx4x, _padTx4y, _hWarning, _htm2tx, htm2tx_fn, _ch_filter, _aSpTw, _aRect, _lenHtmTxt, _reg\u884C\u982D\u7981\u5247, _reg\u884C\u672B\u7981\u5247, _reg\u5206\u5272\u7981\u6B62, _REGDS, _fncEndChIn, _spWork, spWork_fn, _isChInIng, _hChInStyle, _REG_NG_CHSTYLE_NAME_CHR, _hChOutStyle, _cntBreak, _lh_half, _getChRects, getChRects_fn, _fi_easing, _fo_easing, _clearText, clearText_fn, _sss, _cfg3, _val, _recText, _isPageFore, _ch_in_style, ch_in_style_fn, _ch_out_style, ch_out_style_fn, _main2, _evtMng4, _sys3, _doAutoWc, _hAutoWc, _autowc, autowc_fn, _b_color, _b_alpha, _b_alpha_isfixed, _b_do, _b_pic, _txs, _rbSpl, _cntBtn, _set_ch_in, set_ch_in_fn, _$ch_in_style, _ch_in_join, _set_ch_out, set_ch_out_fn, _$ch_out_style, _drawBack, drawBack_fn, _setFfs, setFfs_fn, _ffs, _fncFFSStyle, _fncFFSSpan, _strNoFFS, _regNoFFS, _rec, _rec_bk, _class_offrec, _ruby_pd, _r_align, _mkStyle_r_align4ff, mkStyle_r_align4ff_fn, _needGoTxt, _putCh2, _tagCh_sub, tagCh_sub_fn, _cumDelay, _firstCh, _aSpan, _aSpan_bk, _aSpan_link, _hSpanBk, _beginSpan, beginSpan_fn, _autoCloseSpan, autoCloseSpan_fn, _page_text, _evtMng5, _hIfrm, _add_frame, add_frame_fn, _hDisabled, _rect, rect_fn, _let_frame, let_frame_fn, _set_frame, set_frame_fn, _zIdx, _frame, frame_fn, _tsy_frame, tsy_frame_fn, _stage, _fore, _back, _frmMng, _bg_color, _fncTicker, _hProcDbgRes2, _modeLn, _modeLnSub, _selectNode, selectNode_fn, _grpCover, _evtMng6, _foreachRedrawTxtLayBack, foreachRedrawTxtLayBack_fn, _cmdTxt, _snapshot, snapshot_fn, _loadplugin, loadplugin_fn, _add_lay, add_lay_fn, _hPages, _aLayName, _curTxtlay, _firstGrplay, _lay, lay_fn, _rebuildLayerRankInfo, rebuildLayerRankInfo_fn, _clear_lay, clear_lay_fn, _srcRuleTransFragment, _ufRuleTrans, _fltRule, _rtTransBack, _spTransBack, _rtTransFore, _spTransFore, _aBackTransAfter, _trans, trans_fn, _tiTrans, _getLayers, getLayers_fn, _foreachLayers, foreachLayers_fn, _sortLayers, sortLayers_fn, _wt, wt_fn, _finish_trans, finish_trans_fn, _quake, quake_fn, _hTwInf, _tsy, tsy_fn, _wait_tsy, wait_tsy_fn, _stop_tsy, stop_tsy_fn, _pause_tsy, pause_tsy_fn, _resume_tsy, resume_tsy_fn, _msecChWait, _ch, ch_fn, _getTxtLayer, _$getTxtLayer, $getTxtLayer_fn, _current, _$current, $current_fn, _pgTxtlay, _chkTxtLay, _argChk_layer, argChk_layer_fn, _oLastPage, _aTxtLog, _clear_text, clear_text_fn, _endlink, endlink_fn, _er, er_fn, _graph, graph_fn, _link, link_fn, _r, r_fn, _rec_r, rec_r_fn, _rec_ch, rec_ch_fn, _reset_rec, reset_rec_fn, _ruby2, ruby2_fn, _span, span_fn, _tcy, tcy_fn, _dump_lay, dump_lay_fn, _enable_event, enable_event_fn, _button, button_fn, _aBtn, _idx, _radio_next, radio_next_fn, _logFocus, _allOff, allOff_fn, _elc2, _gamepad, _fcs, _resvFlameEvent4Wheel, _ev_keydown, ev_keydown_fn, _ev_contextmenu, ev_contextmenu_fn, _ev_wheel, ev_wheel_fn, _wheeling, _extend_wheel, _ev_wheel_waitstop, ev_wheel_waitstop_fn, _hLocalEvt2Fnc, _hGlobalEvt2Fnc, _isDbgBreak, _isWait, _getEvt2Fnc, _waitEventBase, waitEventBase_fn, _firstWait, _elmV, _elmHint, _spanHint, _popper, _oHintOpt, _dispHint, dispHint_fn, _procWheel4wle, _elcWLE, _clear_event, clear_event_fn, _clear_eventer, clear_eventer_fn, _event, event_fn, _canFocus, canFocus_fn, _getHtmlElmList, getHtmlElmList_fn, _goTxt, _l, l_fn, _p, p_fn, _stopSkip, _set_cancel_skip, set_cancel_skip_fn, _set_focus, set_focus_fn, _wait, wait_fn, _cancelWait, _waitclick, waitclick_fn, _hDownKeys, _script, _scriptFn, _idxToken, _lineNum, _aCallStk, _grm, _regBreakPoint, regBreakPoint_fn, _hHook2, _cnvSnPath, _REG4CODE_FN, _cnvSnPath4Dbg, _go_stepover, go_stepover_fn, _go_stepout, go_stepout_fn, _csDepth_macro_esc, _idxDx4Dbg, idxDx4Dbg_get, _isIdxOverLast, isIdxOverLast_fn, _hFn2hLineBP, _hFuncBP, _breakState, _isBreak_base, isBreak_base_fn, _subHitCondition, subHitCondition_fn, _aStack, aStack_fn, _procDebugtag, _evtMng7, _layMng, _let_ml, let_ml_fn, _dump_stack, dump_stack_fn, _cnvIdx2lineCol, cnvIdx2lineCol_fn, _dump_script, dump_script_fn, _fncSet, _fncBreak, _fnLastBreak, _hScrCache4Dump, _dumpErrLine, _aIfStk, _endif, endif_fn, _if, if_fn, _call, call_fn, _callSub, callSub_fn, _jump, jump_fn, _page, page_fn, _pop_stack, pop_stack_fn, _return, return_fn, _resvToken, _clearResvToken, clearResvToken_fn, _skipLabel, _jumpWork, jumpWork_fn, _nextToken_Proc, nextToken_Proc_fn, _dbgToken, _errOverScr, errOverScr_fn, _REG_NONAME_LABEL, _REG_TOKEN_MACRO_BEGIN, _REG_TOKEN_MACRO_END, _REG_TAG_LET_ML, _REG_TAG_ENDLET_ML, _seekScript, seekScript_fn, _hScript, _resolveScript, resolveScript_fn, _jump_light, jump_light_fn, _REG_WILDCARD, _REG_WILDCARD2, _replaceScript_Wildcard, _recordKidoku, recordKidoku_fn, _isKidoku, _eraseKidoku, eraseKidoku_fn, _bracket2macro, bracket2macro_fn, _char2macro, char2macro_fn, _macro, macro_fn, _strStepin, _REGSTEPIN, _load, load_fn, _loadFromMark, loadFromMark_fn, _skip4page, _reload_script, reload_script_fn, _mark, _record_place, record_place_fn, _nowScrIdx, nowScrIdx_fn, _save, save_fn, _aPageLog, _posAPageLog, _cfg4, _appPixi3, _hTag2, _val2, _prpPrs, _sndMng, _scrItr2, _dbgMng, _layMng2, _evtMng8, _fncNext, _alzTagArg2, _inited, _SN_ID, _init, init_fn, _fncTicker2, _fncresume, _isLoop, _runAnalyze, runAnalyze_fn, _destroyed, _clone_cvs, _path_base, _now_prj, _main3, _hAppendFile;
52
+ var _a2, _b2, _c2, _d, _sesame, _putCh, _REG_RUBY, _REG_CANTC2M, _REGC2M, _regStrC2M, _regStrC2M4not, _hC2M, _REG_TAGARG, _hPrm, _isKomeParam, _parser, _calc, calc_fn, _hFnc, _fncSub_ChkNum, fncSub_ChkNum_fn, _REG_EMBEDVAR, _procEmbedVar, procEmbedVar_fn, _REG_VAL, _getValName_B2D, getValName_B2D_fn, _hScopes, _hSave, _hTmp, _sys2, _data, _hSys, _hAreaKidoku, _callHook, _hProcDbgRes, _set_data_break, set_data_break_fn, _flush, _doRecProc, _copybookmark, copybookmark_fn, _erasebookmark, erasebookmark_fn, _let, let_fn, _let_abs, let_abs_fn, _let_char_at, let_char_at_fn, _let_index_of, let_index_of_fn, _let_length, let_length_fn, _let_replace, let_replace_fn, _let_round, let_round_fn, _let_search, let_search_fn, _let_substr, let_substr_fn, _clearsysvar, clearsysvar_fn, _clearvar, clearvar_fn, _setVal, _hSetEvent, _castAuto, castAuto_fn, _REG_NUMERICLITERAL, _dump_val, _doRecLog, _hValTrg, _runFirst_Bool_hSysVal_true, runFirst_Bool_hSysVal_true_fn, _runFirst_sys_an_tagCh_msecWait, runFirst_sys_an_tagCh_msecWait_fn, _runFirst_sys_an_tagCh_msecWait_Kidoku, runFirst_sys_an_tagCh_msecWait_Kidoku_fn, _runFirst_sys_an_auto_msecPageWait, runFirst_sys_an_auto_msecPageWait_fn, _runFirst_sys_an_auto_msecLineWait, runFirst_sys_an_auto_msecLineWait_fn, _runFirst_Bool_hSaveVal_true, runFirst_Bool_hSaveVal_true_fn, _runFirst_Bool_hTmp_true, runFirst_Bool_hTmp_true_fn, _runFirst_Bool_hTmp_false, runFirst_Bool_hTmp_false_fn, _hEase, _hSndBuf, _hLP, _evtMng2, _volume, volume_fn, _getVol, getVol_fn, _fadeoutbgm, fadeoutbgm_fn, _fadeoutse, fadeoutse_fn, _fadebgm, fadebgm_fn, _fadese, fadese_fn, _playbgm, playbgm_fn, _MAX_END_MS, _playse, playse_fn, _playseSub, playseSub_fn, _initVol, _stop_allse, stop_allse_fn, _stopbgm, stopbgm_fn, _stopse, stopse_fn, _wb, wb_fn, _wf, wf_fn, _stopfadese, stopfadese_fn, _wl, wl_fn, _ws, ws_fn, _xchgbuf, xchgbuf_fn, _addLoopPlay, addLoopPlay_fn, _delLoopPlay, delLoopPlay_fn, _pg, _hBlendmode, _vctEvt, _sp, _procHint, procHint_fn, _sp2, _cfg2, _appPixi2, _evtMng3, _htmTxt, _cntTxt, _grpDbgMasume, _idc2, _idcCh, _infTL, _break_fixed, _break_fixed_left, _break_fixed_top, _lay_sub, lay_sub_fn, _left, _isTategaki, _padTx4x, _padTx4y, _hWarning, _htm2tx, htm2tx_fn, _ch_filter, _aSpTw, _aRect, _lenHtmTxt, _reg\u884C\u982D\u7981\u5247, _reg\u884C\u672B\u7981\u5247, _reg\u5206\u5272\u7981\u6B62, _REGDS, _fncEndChIn, _spWork, spWork_fn, _isChInIng, _hChInStyle, _REG_NG_CHSTYLE_NAME_CHR, _hChOutStyle, _cntBreak, _lh_half, _getChRects, getChRects_fn, _fi_easing, _fo_easing, _clearText, clearText_fn, _sss, _cfg3, _val, _recText, _isPageFore, _ch_in_style, ch_in_style_fn, _ch_out_style, ch_out_style_fn, _main2, _evtMng4, _sys3, _doAutoWc, _hAutoWc, _autowc, autowc_fn, _b_color, _b_alpha, _b_alpha_isfixed, _b_do, _b_pic, _txs, _rbSpl, _cntBtn, _set_ch_in, set_ch_in_fn, _$ch_in_style, _ch_in_join, _set_ch_out, set_ch_out_fn, _$ch_out_style, _drawBack, drawBack_fn, _setFfs, setFfs_fn, _ffs, _fncFFSStyle, _strNoFFS, _regNoFFS, _rec, _ruby_pd, _r_align, _mkStyle_r_align4ff, mkStyle_r_align4ff_fn, _needGoTxt, _putCh2, _tagCh_sub, tagCh_sub_fn, _style_delay, style_delay_fn, _cumDelay, _firstCh, _aSpan, _stkASpan, _pushSpan, pushSpan_fn, _popSpan, popSpan_fn, _page_text, _evtMng5, _hIfrm, _add_frame, add_frame_fn, _hDisabled, _rect, rect_fn, _let_frame, let_frame_fn, _set_frame, set_frame_fn, _zIdx, _frame, frame_fn, _tsy_frame, tsy_frame_fn, _stage, _fore, _back, _frmMng, _bg_color, _fncTicker, _hProcDbgRes2, _modeLn, _modeLnSub, _selectNode, selectNode_fn, _grpCover, _evtMng6, _foreachRedrawTxtLayBack, foreachRedrawTxtLayBack_fn, _cmdTxt, _snapshot, snapshot_fn, _loadplugin, loadplugin_fn, _add_lay, add_lay_fn, _hPages, _aLayName, _curTxtlay, _firstGrplay, _lay, lay_fn, _rebuildLayerRankInfo, rebuildLayerRankInfo_fn, _clear_lay, clear_lay_fn, _srcRuleTransFragment, _ufRuleTrans, _fltRule, _rtTransBack, _spTransBack, _rtTransFore, _spTransFore, _aBackTransAfter, _trans, trans_fn, _tiTrans, _getLayers, getLayers_fn, _foreachLayers, foreachLayers_fn, _sortLayers, sortLayers_fn, _wt, wt_fn, _finish_trans, finish_trans_fn, _quake, quake_fn, _hTwInf, _tsy, tsy_fn, _wait_tsy, wait_tsy_fn, _stop_tsy, stop_tsy_fn, _pause_tsy, pause_tsy_fn, _resume_tsy, resume_tsy_fn, _msecChWait, _ch, ch_fn, _getTxtLayer, _$getTxtLayer, $getTxtLayer_fn, _current, _$current, $current_fn, _pgTxtlay, _chkTxtLay, _argChk_layer, argChk_layer_fn, _oLastPage, _aTxtLog, _clear_text, clear_text_fn, _endlink, endlink_fn, _er, er_fn, _graph, graph_fn, _link, link_fn, _r, r_fn, _rec_r, rec_r_fn, _rec_ch, rec_ch_fn, _reset_rec, reset_rec_fn, _ruby2, ruby2_fn, _span, span_fn, _tcy, tcy_fn, _dump_lay, dump_lay_fn, _enable_event, enable_event_fn, _button, button_fn, _aBtn, _idx, _radio_next, radio_next_fn, _logFocus, _allOff, allOff_fn, _elc2, _gamepad, _fcs, _resvFlameEvent4Wheel, _ev_keydown, ev_keydown_fn, _ev_contextmenu, ev_contextmenu_fn, _ev_wheel, ev_wheel_fn, _wheeling, _extend_wheel, _ev_wheel_waitstop, ev_wheel_waitstop_fn, _hLocalEvt2Fnc, _hGlobalEvt2Fnc, _isDbgBreak, _isWait, _getEvt2Fnc, _waitEventBase, waitEventBase_fn, _firstWait, _elmV, _elmHint, _spanHint, _popper, _oHintOpt, _dispHint, dispHint_fn, _procWheel4wle, _elcWLE, _clear_event, clear_event_fn, _clear_eventer, clear_eventer_fn, _event, event_fn, _canFocus, canFocus_fn, _getHtmlElmList, getHtmlElmList_fn, _goTxt, _l, l_fn, _p, p_fn, _stopSkip, _set_cancel_skip, set_cancel_skip_fn, _set_focus, set_focus_fn, _wait, wait_fn, _cancelWait, _waitclick, waitclick_fn, _hDownKeys, _script, _scriptFn, _idxToken, _lineNum, _aCallStk, _grm, _regBreakPoint, regBreakPoint_fn, _hHook2, _cnvSnPath, _REG4CODE_FN, _cnvSnPath4Dbg, _go_stepover, go_stepover_fn, _go_stepout, go_stepout_fn, _csDepth_macro_esc, _idxDx4Dbg, idxDx4Dbg_get, _isIdxOverLast, isIdxOverLast_fn, _hFn2hLineBP, _hFuncBP, _breakState, _isBreak_base, isBreak_base_fn, _subHitCondition, subHitCondition_fn, _aStack, aStack_fn, _procDebugtag, _evtMng7, _layMng, _let_ml, let_ml_fn, _dump_stack, dump_stack_fn, _cnvIdx2lineCol, cnvIdx2lineCol_fn, _dump_script, dump_script_fn, _fncSet, _fncBreak, _fnLastBreak, _hScrCache4Dump, _dumpErrLine, _aIfStk, _endif, endif_fn, _if, if_fn, _call, call_fn, _callSub, callSub_fn, _jump, jump_fn, _page, page_fn, _pop_stack, pop_stack_fn, _return, return_fn, _resvToken, _clearResvToken, clearResvToken_fn, _skipLabel, _jumpWork, jumpWork_fn, _nextToken_Proc, nextToken_Proc_fn, _dbgToken, _errOverScr, errOverScr_fn, _REG_NONAME_LABEL, _REG_TOKEN_MACRO_BEGIN, _REG_TOKEN_MACRO_END, _REG_TAG_LET_ML, _REG_TAG_ENDLET_ML, _seekScript, seekScript_fn, _hScript, _resolveScript, resolveScript_fn, _jump_light, jump_light_fn, _REG_WILDCARD, _REG_WILDCARD2, _replaceScript_Wildcard, _recordKidoku, recordKidoku_fn, _isKidoku, _eraseKidoku, eraseKidoku_fn, _bracket2macro, bracket2macro_fn, _char2macro, char2macro_fn, _macro, macro_fn, _strStepin, _REGSTEPIN, _load, load_fn, _loadFromMark, loadFromMark_fn, _skip4page, _reload_script, reload_script_fn, _mark, _record_place, record_place_fn, _nowScrIdx, nowScrIdx_fn, _save, save_fn, _aPageLog, _posAPageLog, _cfg4, _appPixi3, _hTag2, _val2, _prpPrs, _sndMng, _scrItr2, _dbgMng, _layMng2, _evtMng8, _fncNext, _alzTagArg2, _inited, _SN_ID, _init, init_fn, _fncTicker2, _fncresume, _isLoop, _runAnalyze, runAnalyze_fn, _destroyed, _clone_cvs, _path_base, _now_prj, _main3, _hAppendFile;
53
53
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
54
54
  var platform$1 = { exports: {} };
55
55
  /*!
@@ -47508,7 +47508,7 @@ const _TxtStage = class extends Container {
47508
47508
  __privateGet2(this, _htmTxt).style.height = __privateGet2(this, _infTL).$height + "px";
47509
47509
  }
47510
47510
  goTxt(aSpan) {
47511
- var _a3, _b3, _c3, _d2, _e;
47511
+ var _a3, _b3, _c3, _d2, _e, _f;
47512
47512
  __privateGet2(_TxtStage, _cntBreak).visible = false;
47513
47513
  const begin = __privateGet2(this, _aRect).length;
47514
47514
  if (begin === 0) {
@@ -47616,35 +47616,34 @@ const _TxtStage = class extends Container {
47616
47616
  }
47617
47617
  rctLastCh = rct;
47618
47618
  }
47619
- switch (v2.cmd) {
47620
- case "grp":
47621
- const cnt = new Container();
47622
- __privateGet2(this, _cntTxt).addChild(cnt);
47623
- GrpLayer.csv2Sprites(arg.pic, cnt, (sp2) => {
47624
- __privateMethod2(this, _spWork, spWork_fn).call(this, cnt, arg, add3, rct, ease, cis != null ? cis : {});
47625
- if (!cnt.parent)
47626
- cnt.removeChild(sp2);
47627
- });
47628
- break;
47629
- case "link":
47630
- const sp = new Sprite();
47631
- arg.key = `lnk=[${i2}] ` + this.name;
47632
- let eCh = v2.elm;
47633
- if (!eCh.classList.contains("sn_ch"))
47634
- eCh = eCh.parentElement;
47635
- __privateMethod2(this, _spWork, spWork_fn).call(this, sp, arg, add3, rct, ease, cis != null ? cis : {});
47636
- (_c3 = arg.hint_tate) != null ? _c3 : arg.hint_tate = __privateGet2(this, _isTategaki);
47637
- const st_normal = eCh.style.cssText;
47638
- const st_hover = st_normal + ((_d2 = arg.style_hover) != null ? _d2 : "");
47639
- const st_clicked = st_normal + ((_e = arg.style_clicked) != null ? _e : "");
47640
- __privateGet2(_TxtStage, _evtMng3).button(arg, sp, () => eCh.style.cssText = st_normal, () => {
47641
- if (!this.canFocus())
47642
- return false;
47643
- eCh.style.cssText = st_hover;
47644
- return true;
47645
- }, () => eCh.style.cssText = st_clicked);
47646
- __privateGet2(this, _cntTxt).addChild(sp);
47647
- break;
47619
+ if (v2.cmd === "grp") {
47620
+ const cnt = new Container();
47621
+ __privateGet2(this, _cntTxt).addChild(cnt);
47622
+ GrpLayer.csv2Sprites(arg.pic, cnt, (sp) => {
47623
+ __privateMethod2(this, _spWork, spWork_fn).call(this, cnt, arg, add3, rct, ease, cis != null ? cis : {});
47624
+ if (!cnt.parent)
47625
+ cnt.removeChild(sp);
47626
+ });
47627
+ }
47628
+ if (v2.lnk) {
47629
+ const eCh = v2.elm.parentElement.closest("[data-arg]");
47630
+ const aLnk = JSON.parse((_c3 = eCh.getAttribute("data-arg")) != null ? _c3 : "{}");
47631
+ aLnk.key = `lnk=[${i2}] ` + this.name;
47632
+ const sp = new Sprite();
47633
+ __privateMethod2(this, _spWork, spWork_fn).call(this, sp, aLnk, add3, rct, ease, cis != null ? cis : {});
47634
+ const st_normal = (_d2 = aLnk.style) != null ? _d2 : "";
47635
+ const st_hover = st_normal + ((_e = aLnk.style_hover) != null ? _e : "");
47636
+ const st_clicked = st_normal + ((_f = aLnk.style_clicked) != null ? _f : "");
47637
+ const cl = eCh.querySelectorAll(".sn_ch");
47638
+ cl.forEach((e) => e.dataset.st_bk = e.style.cssText);
47639
+ const fncStyle = (st) => cl.forEach((e) => e.style.cssText = e.dataset.st_bk + st);
47640
+ __privateGet2(_TxtStage, _evtMng3).button(aLnk, sp, () => fncStyle(st_normal), () => {
47641
+ if (!this.canFocus())
47642
+ return false;
47643
+ fncStyle(st_hover);
47644
+ return true;
47645
+ }, () => fncStyle(st_clicked));
47646
+ __privateGet2(this, _cntTxt).addChild(sp);
47648
47647
  }
47649
47648
  }
47650
47649
  const chs = __privateGet2(this, _htmTxt).querySelectorAll("span.sn_ch");
@@ -48149,7 +48148,10 @@ spWork_fn = function(sp, arg, add3, rct, ease, cis) {
48149
48148
  cis.wait = parseInt(arg.wait);
48150
48149
  sp.width = rct.width;
48151
48150
  sp.height = rct.height;
48152
- sp.position.set(cis.x.charAt(0) === "=" ? rct.x + sp.width * cis.nx : cis.nx, cis.y.charAt(0) === "=" ? rct.y + sp.height * cis.ny : cis.ny);
48151
+ if (cis.x)
48152
+ sp.position.set(cis.x.charAt(0) === "=" ? rct.x + sp.width * cis.nx : cis.nx, cis.y.charAt(0) === "=" ? rct.y + sp.height * cis.ny : cis.ny);
48153
+ else
48154
+ sp.position.set(rct.x, rct.y);
48153
48155
  const st = {
48154
48156
  sp,
48155
48157
  tw: new Tween(sp).to({ alpha: 1, x: rct.x, y: rct.y, width: rct.width, height: rct.height, angle: 0 }, (_a3 = cis.wait) != null ? _a3 : 0).easing(ease).delay(((_b3 = add3.wait) != null ? _b3 : 0) + ((_c3 = arg.delay) != null ? _c3 : 0)).onComplete(() => {
@@ -48170,7 +48172,7 @@ getChRects_fn = function(elm) {
48170
48172
  const ret = [];
48171
48173
  if (elm.nodeType !== elm.TEXT_NODE) {
48172
48174
  elm.childNodes.forEach((v2) => ret.push(__privateMethod2(this, _getChRects, getChRects_fn).call(this, v2)));
48173
- return Array.prototype.concat.apply([], ret);
48175
+ return ret.flat();
48174
48176
  }
48175
48177
  const range = elm.ownerDocument.createRange();
48176
48178
  range.selectNodeContents(elm);
@@ -48191,7 +48193,7 @@ getChRects_fn = function(elm) {
48191
48193
  cmd: (_a3 = pe.getAttribute("data-cmd")) != null ? _a3 : void 0,
48192
48194
  arg: (_b3 = pe.getAttribute("data-arg")) != null ? _b3 : void 0,
48193
48195
  add: (_c3 = pe.getAttribute("data-add")) != null ? _c3 : void 0,
48194
- tcy: (_d2 = pe.getAttribute("data-tcy")) != null ? _d2 : void 0
48196
+ lnk: (_d2 = pe.getAttribute("data-lnk")) != null ? _d2 : void 0
48195
48197
  };
48196
48198
  ret.push(cr);
48197
48199
  }
@@ -48549,8 +48551,9 @@ const _TxtLayer = class extends Layer {
48549
48551
  __privateAdd2(this, _setFfs);
48550
48552
  __privateAdd2(this, _mkStyle_r_align4ff);
48551
48553
  __privateAdd2(this, _tagCh_sub);
48552
- __privateAdd2(this, _beginSpan);
48553
- __privateAdd2(this, _autoCloseSpan);
48554
+ __privateAdd2(this, _style_delay);
48555
+ __privateAdd2(this, _pushSpan);
48556
+ __privateAdd2(this, _popSpan);
48554
48557
  __privateAdd2(this, _b_color, void 0);
48555
48558
  __privateAdd2(this, _b_alpha, void 0);
48556
48559
  __privateAdd2(this, _b_alpha_isfixed, void 0);
@@ -48564,7 +48567,6 @@ const _TxtLayer = class extends Layer {
48564
48567
  __privateAdd2(this, _$ch_out_style, void 0);
48565
48568
  __privateAdd2(this, _ffs, void 0);
48566
48569
  __privateAdd2(this, _fncFFSStyle, void 0);
48567
- __privateAdd2(this, _fncFFSSpan, void 0);
48568
48570
  __privateAdd2(this, _strNoFFS, void 0);
48569
48571
  __privateAdd2(this, _regNoFFS, void 0);
48570
48572
  __privateAdd2(this, _ruby_pd, void 0);
@@ -48574,9 +48576,7 @@ const _TxtLayer = class extends Layer {
48574
48576
  __privateAdd2(this, _cumDelay, void 0);
48575
48577
  __privateAdd2(this, _firstCh, void 0);
48576
48578
  __privateAdd2(this, _aSpan, void 0);
48577
- __privateAdd2(this, _aSpan_bk, void 0);
48578
- __privateAdd2(this, _aSpan_link, void 0);
48579
- __privateAdd2(this, _hSpanBk, void 0);
48579
+ __privateAdd2(this, _stkASpan, void 0);
48580
48580
  __privateAdd2(this, _page_text, void 0);
48581
48581
  __privateSet2(this, _b_color, 0);
48582
48582
  __privateSet2(this, _b_alpha, 0);
@@ -48591,7 +48591,6 @@ const _TxtLayer = class extends Layer {
48591
48591
  __privateSet2(this, _$ch_out_style, "");
48592
48592
  __privateSet2(this, _ffs, "");
48593
48593
  __privateSet2(this, _fncFFSStyle, (_ch2) => "");
48594
- __privateSet2(this, _fncFFSSpan, (ch) => ch);
48595
48594
  __privateSet2(this, _strNoFFS, "");
48596
48595
  __privateSet2(this, _regNoFFS, new RegExp("[\u3000]"));
48597
48596
  this.isCur = false;
@@ -48609,17 +48608,6 @@ const _TxtLayer = class extends Layer {
48609
48608
  case 1:
48610
48609
  __privateSet2(this, _needGoTxt, true);
48611
48610
  if (ch === "\n") {
48612
- if (__privateGet2(this, _aSpan_bk)) {
48613
- add_htm = __privateGet2(this, _aSpan_bk).slice(-1)[0];
48614
- __privateMethod2(this, _autoCloseSpan, autoCloseSpan_fn).call(this);
48615
- __privateGet2(this, _aSpan).push(__privateGet2(_a3 = _TxtLayer, _rec).call(_a3, "<br/>"));
48616
- __privateGet2(this, _aSpan).push(add_htm);
48617
- __privateSet2(this, _aSpan_bk, __privateGet2(this, _aSpan));
48618
- __privateSet2(this, _aSpan, []);
48619
- __privateSet2(_TxtLayer, _rec_bk, __privateGet2(_TxtLayer, _rec));
48620
- __privateSet2(_TxtLayer, _rec, (tx) => tx);
48621
- return;
48622
- }
48623
48611
  if (__privateGet2(this, _firstCh)) {
48624
48612
  __privateSet2(this, _firstCh, false);
48625
48613
  add_htm = "<ruby>\u3000<rt>\u3000</rt></ruby><br/>";
@@ -48649,9 +48637,9 @@ const _TxtLayer = class extends Layer {
48649
48637
  add_htm = __privateMethod2(this, _tagCh_sub, tagCh_sub_fn).call(this, ch, a_ruby[1], isSkip, a_ruby[0]);
48650
48638
  break;
48651
48639
  case "gotxt": {
48652
- __privateMethod2(this, _autoCloseSpan, autoCloseSpan_fn).call(this);
48640
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48653
48641
  if (this.isCur)
48654
- __privateGet2(_b3 = _TxtLayer, _recText).call(_b3, __privateGet2(this, _aSpan).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, `style='`).replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, `class='sn_ch'`).replaceAll(`class='offrec'`, `style='display: none;'`).replaceAll("`", "\\`"));
48642
+ __privateGet2(_a3 = _TxtLayer, _recText).call(_a3, __privateGet2(this, _aSpan).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, `style='`).replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, `class='sn_ch'`).replaceAll(`class='offrec'`, `style='display: none;'`).replaceAll("`", "\\`"));
48655
48643
  if (!__privateGet2(this, _needGoTxt))
48656
48644
  return;
48657
48645
  __privateGet2(this, _txs).goTxt(__privateGet2(this, _aSpan));
@@ -48662,54 +48650,44 @@ const _TxtLayer = class extends Layer {
48662
48650
  case "add":
48663
48651
  {
48664
48652
  const o = JSON.parse(a_ruby[1]);
48665
- (_c3 = o.style) != null ? _c3 : o.style = "";
48666
- __privateMethod2(this, _beginSpan, beginSpan_fn).call(this, o);
48667
- if (__privateGet2(this, _aSpan_bk))
48668
- __privateMethod2(this, _autoCloseSpan, autoCloseSpan_fn).call(this);
48669
- else {
48670
- if (isSkip)
48671
- __privateSet2(this, _cumDelay, 0);
48672
- const wait = Number((_d2 = o.wait) != null ? _d2 : -1);
48673
- const sn_ch = wait === 0 ? "" : ` sn_ch_in_${__privateGet2(this, _$ch_in_style)}`;
48674
- const ad = wait < 0 ? "" : ` animation-duration: ${wait}ms;`;
48675
- __privateGet2(this, _aSpan).push(`<span class='sn_ch${sn_ch + __privateGet2(_TxtLayer, _class_offrec)}' style='animation-delay: ${__privateGet2(this, _cumDelay)}ms;${ad} ${o.style}' data-add='${JSON.stringify(o)}'>`);
48676
- }
48677
- __privateSet2(this, _aSpan_bk, __privateGet2(this, _aSpan));
48678
- __privateSet2(this, _aSpan, []);
48679
- __privateSet2(_TxtLayer, _rec_bk, __privateGet2(_TxtLayer, _rec));
48680
- __privateSet2(_TxtLayer, _rec, (tx) => tx);
48653
+ (_b3 = o.style) != null ? _b3 : o.style = "";
48654
+ const stk = __privateGet2(this, _stkASpan).at(-1);
48655
+ if (stk)
48656
+ o.style = ((_c3 = stk.o.style) != null ? _c3 : "") + o.style;
48657
+ __privateMethod2(this, _pushSpan, pushSpan_fn).call(this, o);
48658
+ __privateGet2(this, _aSpan).push(`<span style='${o.style}' data-add='${JSON.stringify(o)}'>`);
48681
48659
  }
48682
48660
  return;
48683
48661
  case "add_close":
48684
- __privateMethod2(this, _autoCloseSpan, autoCloseSpan_fn).call(this);
48662
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48663
+ if (__privateGet2(this, _stkASpan).length > 0)
48664
+ __privateGet2(this, _aSpan).splice(-2, 1);
48665
+ else
48666
+ __privateGet2(this, _aSpan).push(`</span>`);
48685
48667
  return;
48686
48668
  case "grp":
48687
48669
  __privateSet2(this, _needGoTxt, true);
48688
48670
  {
48689
- if (isSkip)
48690
- __privateSet2(this, _cumDelay, 0);
48691
- const arg = (a_ruby[1] ? a_ruby[1].slice(0, -1) + "," : `{`) + `"delay": ${__privateGet2(this, _cumDelay)}}`;
48692
- if (__privateGet2(this, _ch_in_join))
48693
- __privateSet2(this, _cumDelay, __privateGet2(this, _cumDelay) + (__privateGet2(_TxtLayer, _doAutoWc) ? 0 : LayerMng.msecChWait));
48671
+ const [, arg = "{}"] = a_ruby;
48694
48672
  const o = JSON.parse(arg);
48695
- (_e = o.style) != null ? _e : o.style = "";
48696
- if (!("id" in o))
48697
- o.id = __privateGet2(this, _aSpan).length;
48673
+ o.delay = __privateGet2(this, _cumDelay);
48674
+ (_d2 = o.id) != null ? _d2 : o.id = __privateGet2(this, _aSpan).length;
48698
48675
  if (o.id === "break") {
48699
48676
  __privateGet2(this, _txs).dispBreak(o.pic);
48700
48677
  return;
48701
48678
  }
48702
- add_htm = `<span data-cmd='grp' data-id='${o.id}' data-arg='${arg}'`;
48679
+ (_e = o.style) != null ? _e : o.style = "";
48703
48680
  const wait = Number((_f = o.wait) != null ? _f : -1);
48704
- const sn_ch = wait === 0 ? "" : ` sn_ch_in_${__privateGet2(this, _$ch_in_style)}`;
48681
+ const sc = wait != 0 ? ` sn_ch_in_${__privateGet2(this, _$ch_in_style)}` : "";
48705
48682
  const ad = wait < 0 ? "" : ` animation-duration: ${wait}ms;`;
48706
- add_htm += ` class='sn_ch${sn_ch}' style='animation-delay: ${__privateGet2(this, _cumDelay)}ms;${ad} ${o.style}' data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>\u3000</span>`;
48683
+ const lnk = (_g = __privateGet2(this, _stkASpan).at(0)) == null ? void 0 : _g.o[":link"];
48684
+ add_htm = `<span data-cmd='grp' data-id='${o.id}' data-arg='${JSON.stringify(o)}' class='sn_ch${sc}' style='${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}${ad} ${o.style}'${lnk != null ? lnk : ""} data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>\u3000</span>`;
48707
48685
  if (__privateGet2(this, _firstCh)) {
48708
48686
  __privateSet2(this, _firstCh, false);
48709
48687
  add_htm = `<ruby>${add_htm}<rt>\u3000</rt></ruby>`;
48710
48688
  }
48711
- if (__privateGet2(this, _aSpan).slice(-1)[0] === add_htm)
48712
- return;
48689
+ if (__privateGet2(this, _ch_in_join))
48690
+ __privateSet2(this, _cumDelay, __privateGet2(this, _cumDelay) + (__privateGet2(_TxtLayer, _doAutoWc) ? 0 : LayerMng.msecChWait));
48713
48691
  }
48714
48692
  break;
48715
48693
  case "del":
@@ -48719,50 +48697,28 @@ const _TxtLayer = class extends Layer {
48719
48697
  TxtStage.delBreak();
48720
48698
  return;
48721
48699
  case "span":
48722
- __privateMethod2(this, _autoCloseSpan, autoCloseSpan_fn).call(this);
48700
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48723
48701
  __privateSet2(this, _needGoTxt, true);
48724
48702
  {
48725
48703
  const o = JSON.parse(a_ruby[1]);
48726
- __privateMethod2(this, _beginSpan, beginSpan_fn).call(this, o);
48727
- if (!o.style)
48728
- return;
48729
- if (isSkip)
48730
- __privateSet2(this, _cumDelay, 0);
48731
- const wait = Number((_g = o.wait) != null ? _g : -1);
48732
- const sn_ch = wait === 0 ? "" : ` sn_ch_in_${__privateGet2(this, _$ch_in_style)}`;
48733
- const ad = wait < 0 ? "" : ` animation-duration: ${wait}ms;`;
48734
- __privateGet2(this, _aSpan).push(`<span class='sn_ch${sn_ch + __privateGet2(_TxtLayer, _class_offrec)}' style='animation-delay: ${__privateGet2(this, _cumDelay)}ms;${ad} ${o.style}' data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>`);
48735
- __privateSet2(this, _aSpan_bk, __privateGet2(this, _aSpan));
48736
- __privateSet2(this, _aSpan, []);
48737
- __privateSet2(_TxtLayer, _rec_bk, __privateGet2(_TxtLayer, _rec));
48738
- __privateSet2(_TxtLayer, _rec, (tx) => tx);
48704
+ __privateMethod2(this, _pushSpan, pushSpan_fn).call(this, o);
48739
48705
  }
48740
48706
  return;
48741
48707
  case "link":
48742
- __privateMethod2(this, _autoCloseSpan, autoCloseSpan_fn).call(this);
48708
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48743
48709
  __privateSet2(this, _needGoTxt, true);
48744
48710
  {
48745
48711
  const o = JSON.parse(a_ruby[1]);
48746
48712
  (_h = o.style) != null ? _h : o.style = "";
48747
- __privateMethod2(this, _beginSpan, beginSpan_fn).call(this, o);
48748
- if (isSkip)
48749
- __privateSet2(this, _cumDelay, 0);
48750
- const wait = Number((_i = o.wait) != null ? _i : -1);
48751
- const sn_ch = wait === 0 ? "" : ` sn_ch_in_${__privateGet2(this, _$ch_in_style)}`;
48752
- const ad = wait < 0 ? "" : ` animation-duration: ${wait}ms;`;
48753
- __privateSet2(this, _aSpan_link, ` data-cmd='link' data-arg='${a_ruby[1]}'`);
48754
- __privateGet2(this, _aSpan).push(`<span${__privateGet2(this, _aSpan_link)} class='sn_ch${sn_ch + __privateGet2(_TxtLayer, _class_offrec)}' style='animation-delay: ${__privateGet2(this, _cumDelay)}ms;${ad} ${o.style}' data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>`);
48755
- __privateSet2(this, _aSpan_bk, __privateGet2(this, _aSpan));
48756
- __privateSet2(this, _aSpan, []);
48757
- __privateSet2(_TxtLayer, _rec_bk, __privateGet2(_TxtLayer, _rec));
48758
- __privateSet2(_TxtLayer, _rec, (tx) => tx);
48713
+ o[":link"] = ` data-lnk='@'`;
48714
+ __privateGet2(this, _aSpan).push(`<span data-arg='${a_ruby[1]}' style='display: contents;'>`);
48715
+ __privateMethod2(this, _pushSpan, pushSpan_fn).call(this, o);
48759
48716
  }
48760
48717
  return;
48761
48718
  case "endlink":
48762
48719
  __privateSet2(this, _needGoTxt, true);
48763
- if (__privateGet2(this, _aSpan_bk))
48764
- __privateSet2(this, _aSpan, __privateGet2(this, _aSpan).map((v2) => v2.replace(/ data-cmd='linkrsv'/, __privateGet2(this, _aSpan_link))));
48765
- __privateMethod2(this, _autoCloseSpan, autoCloseSpan_fn).call(this);
48720
+ __privateGet2(this, _aSpan).push(`</span>`);
48721
+ __privateMethod2(this, _popSpan, popSpan_fn).call(this);
48766
48722
  return;
48767
48723
  default:
48768
48724
  __privateSet2(this, _needGoTxt, true);
@@ -48772,30 +48728,20 @@ const _TxtLayer = class extends Layer {
48772
48728
  case 3:
48773
48729
  __privateSet2(this, _firstCh, false);
48774
48730
  __privateSet2(this, _needGoTxt, true);
48775
- switch (a_ruby[0]) {
48731
+ const [cmd0, tx, rb0] = a_ruby;
48732
+ switch (cmd0) {
48776
48733
  case "tcy":
48777
48734
  {
48778
48735
  if (__privateGet2(_TxtLayer, _val).doRecLog())
48779
48736
  __privateSet2(this, _page_text, __privateGet2(this, _page_text) + (ch + (ruby ? `\u300A${ruby}\u300B` : "")));
48780
- const tx = a_ruby[1];
48781
- const id_tcy = tx.length > 1 ? __privateGet2(this, _aSpan).length + 1 : "";
48782
- const rb = CmnLib.isSafari ? a_ruby[2].replace(/[A-Za-z0-9]/g, (s2) => String.fromCharCode(s2.charCodeAt(0) + 65248)) : a_ruby[2];
48783
- if (isSkip)
48784
- __privateSet2(this, _cumDelay, 0);
48737
+ const rb = CmnLib.isSafari ? rb0.replace(/[A-Za-z0-9]/g, (s2) => String.fromCharCode(s2.charCodeAt(0) + 65248)) : rb0;
48785
48738
  const rs = this.mkStyle_r_align(tx, rb, __privateGet2(this, _r_align));
48786
- const da = ` data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'`;
48787
- const st = `<span data-tcy='${id_tcy}' style='
48739
+ const lnk = (_i = __privateGet2(this, _stkASpan).at(0)) == null ? void 0 : _i.o[":link"];
48740
+ add_htm = `<span class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' style='${__privateGet2(this, _fncFFSStyle).call(this, tx)}${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}'><ruby><span ${lnk != null ? lnk : ""} style='
48788
48741
  text-combine-upright: all;
48789
48742
  -webkit-text-combine: horizontal;
48790
- ${__privateGet2(this, _fncFFSStyle).call(this, tx)}`;
48791
- add_htm = rb ? __privateGet2(this, _aSpan_bk) ? `<ruby>${st}'${da} data-cmd='linkrsv'>${tx}</span>
48792
- <rt${rs}>${rb}</rt></ruby>` : `<span class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' style='animation-delay: ${__privateGet2(this, _cumDelay)}ms;'>
48793
- <ruby>${st}'${da}>${tx}</span>
48794
- <rt${rs}>${rb}</rt></ruby>
48795
- </span>` : __privateGet2(this, _aSpan_bk) ? `${st}'${da} data-cmd='linkrsv'>${tx}</span>` : `${st}
48796
- animation-delay: ${__privateGet2(this, _cumDelay)}ms;
48797
- height: 1em;
48798
- ' class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}'${da}>${tx}</span>`;
48743
+ ' data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'>${tx}</span>
48744
+ <rt${rs}>${rb}</rt></ruby></span>`;
48799
48745
  if (__privateGet2(this, _ch_in_join))
48800
48746
  __privateSet2(this, _cumDelay, __privateGet2(this, _cumDelay) + (__privateGet2(_TxtLayer, _doAutoWc) ? (_j = __privateGet2(_TxtLayer, _hAutoWc)[ch.charAt(0)]) != null ? _j : 0 : LayerMng.msecChWait));
48801
48747
  }
@@ -48810,13 +48756,7 @@ ${__privateGet2(this, _fncFFSStyle).call(this, tx)}`;
48810
48756
  __privateSet2(this, _cumDelay, 0);
48811
48757
  __privateSet2(this, _firstCh, true);
48812
48758
  __privateSet2(this, _aSpan, []);
48813
- __privateSet2(this, _aSpan_bk, void 0);
48814
- __privateSet2(this, _aSpan_link, "");
48815
- __privateSet2(this, _hSpanBk, {
48816
- ch_in_style: "",
48817
- ch_out_style: "",
48818
- r_align: ""
48819
- });
48759
+ __privateSet2(this, _stkASpan, []);
48820
48760
  this.click = () => {
48821
48761
  if (!this.spLay.interactiveChildren || !this.spLay.visible)
48822
48762
  return true;
@@ -48999,7 +48939,6 @@ ${__privateGet2(this, _fncFFSStyle).call(this, tx)}`;
48999
48939
  }
49000
48940
  static chgDoRec(doRec) {
49001
48941
  __privateSet2(_TxtLayer, _rec, doRec ? (tx) => tx : (tx) => `<span class='offrec'>${tx}</span>`);
49002
- __privateSet2(_TxtLayer, _class_offrec, doRec ? "" : " offrec");
49003
48942
  }
49004
48943
  mkStyle_r_align(ch, rb, r_align) {
49005
48944
  if (!r_align)
@@ -49035,8 +48974,6 @@ ${__privateGet2(this, _fncFFSStyle).call(this, tx)}`;
49035
48974
  __privateSet2(this, _cumDelay, 0);
49036
48975
  __privateSet2(this, _firstCh, true);
49037
48976
  __privateSet2(this, _aSpan, []);
49038
- __privateSet2(this, _aSpan_bk, void 0);
49039
- __privateSet2(_TxtLayer, _rec, __privateGet2(_TxtLayer, _rec_bk));
49040
48977
  __privateSet2(this, _page_text, "");
49041
48978
  __privateGet2(_a3 = _TxtLayer, _recText).call(_a3, "", true);
49042
48979
  }
@@ -49276,22 +49213,13 @@ setFfs_fn = function(hArg) {
49276
49213
  if (!("ffs" in hArg))
49277
49214
  return;
49278
49215
  (_b3 = __privateGet2(this, _ffs)) != null ? _b3 : __privateSet2(this, _ffs, "");
49279
- if (__privateGet2(this, _ffs) === "") {
49280
- __privateSet2(this, _fncFFSStyle, () => "");
49281
- __privateSet2(this, _fncFFSSpan, (ch) => ch);
49282
- } else {
49283
- __privateSet2(this, _fncFFSStyle, (ch) => __privateGet2(this, _regNoFFS).test(ch) ? "" : ` font-feature-settings: ${__privateGet2(this, _ffs)};`);
49284
- __privateSet2(this, _fncFFSSpan, (ch) => __privateGet2(this, _regNoFFS).test(ch) ? ch : `<span style='font-feature-settings: ${__privateGet2(this, _ffs)};'>${ch}</span>`);
49285
- }
49216
+ __privateSet2(this, _fncFFSStyle, __privateGet2(this, _ffs) === "" ? () => "" : (ch) => __privateGet2(this, _regNoFFS).test(ch) ? "" : ` font-feature-settings: ${__privateGet2(this, _ffs)};`);
49286
49217
  };
49287
49218
  _ffs = new WeakMap();
49288
49219
  _fncFFSStyle = new WeakMap();
49289
- _fncFFSSpan = new WeakMap();
49290
49220
  _strNoFFS = new WeakMap();
49291
49221
  _regNoFFS = new WeakMap();
49292
49222
  _rec = new WeakMap();
49293
- _rec_bk = new WeakMap();
49294
- _class_offrec = new WeakMap();
49295
49223
  _ruby_pd = new WeakMap();
49296
49224
  _r_align = new WeakMap();
49297
49225
  _mkStyle_r_align4ff = new WeakSet();
@@ -49334,50 +49262,50 @@ _needGoTxt = new WeakMap();
49334
49262
  _putCh2 = new WeakMap();
49335
49263
  _tagCh_sub = new WeakSet();
49336
49264
  tagCh_sub_fn = function(ch, ruby, isSkip, r_align) {
49337
- var _a3;
49265
+ var _a3, _b3;
49338
49266
  if (ch === " ")
49339
49267
  ch = "&nbsp;";
49340
49268
  if (__privateGet2(_TxtLayer, _val).doRecLog())
49341
49269
  __privateSet2(this, _page_text, __privateGet2(this, _page_text) + (ch + (ruby ? `\u300A${ruby}\u300B` : "")));
49342
- let add_htm = "";
49343
- const rs = this.mkStyle_r_align(ch, ruby, r_align);
49344
- if (isSkip)
49345
- __privateSet2(this, _cumDelay, 0);
49346
- const da = ` data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'`;
49347
- add_htm = ruby ? __privateGet2(this, _aSpan_bk) ? `<ruby style='${__privateGet2(this, _fncFFSStyle).call(this, ch)}'${da} data-cmd='linkrsv'>${ch}<rt${rs}>${ruby}</rt></ruby>` : `<span class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' style='animation-delay: ${__privateGet2(this, _cumDelay)}ms;${__privateGet2(this, _fncFFSStyle).call(this, ch)}'>
49348
- <ruby${da}>${ch}<rt${rs}>${ruby}</rt></ruby>
49349
- </span>` : __privateGet2(this, _aSpan_bk) ? __privateGet2(this, _fncFFSSpan).call(this, ch) : `<span class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' style='animation-delay: ${__privateGet2(this, _cumDelay)}ms;${__privateGet2(this, _fncFFSStyle).call(this, ch)}'${da}>${ch}</span>`;
49270
+ const lnk = (_a3 = __privateGet2(this, _stkASpan).at(0)) == null ? void 0 : _a3.o[":link"];
49271
+ const curpos = `${lnk != null ? lnk : ""} data-add='{"ch_in_style":"${__privateGet2(this, _$ch_in_style)}", "ch_out_style":"${__privateGet2(this, _$ch_out_style)}"}'`;
49272
+ const add_htm = `<span class='sn_ch sn_ch_in_${__privateGet2(this, _$ch_in_style)}' style='${__privateMethod2(this, _style_delay, style_delay_fn).call(this, isSkip)}${__privateGet2(this, _fncFFSStyle).call(this, ch)}'${ruby ? "" : curpos}>${ruby ? `<ruby${curpos}>${ch}<rt${this.mkStyle_r_align(ch, ruby, r_align)}>${ruby}</rt></ruby>` : ch}</span>`;
49350
49273
  if (__privateGet2(this, _ch_in_join))
49351
- __privateSet2(this, _cumDelay, __privateGet2(this, _cumDelay) + (__privateGet2(_TxtLayer, _doAutoWc) ? (_a3 = __privateGet2(_TxtLayer, _hAutoWc)[ch.charAt(0)]) != null ? _a3 : 0 : LayerMng.msecChWait));
49274
+ __privateSet2(this, _cumDelay, __privateGet2(this, _cumDelay) + (__privateGet2(_TxtLayer, _doAutoWc) ? (_b3 = __privateGet2(_TxtLayer, _hAutoWc)[ch.charAt(0)]) != null ? _b3 : 0 : LayerMng.msecChWait));
49352
49275
  return add_htm;
49353
49276
  };
49277
+ _style_delay = new WeakSet();
49278
+ style_delay_fn = function(isSkip) {
49279
+ var _a3, _b3, _c3;
49280
+ if (isSkip)
49281
+ __privateSet2(this, _cumDelay, 0);
49282
+ return `animation-delay: ${__privateGet2(this, _cumDelay)}ms;${(_c3 = (_b3 = (_a3 = __privateGet2(this, _stkASpan).at(-1)) == null ? void 0 : _a3.o) == null ? void 0 : _b3.style) != null ? _c3 : ""}`;
49283
+ };
49354
49284
  _cumDelay = new WeakMap();
49355
49285
  _firstCh = new WeakMap();
49356
49286
  _aSpan = new WeakMap();
49357
- _aSpan_bk = new WeakMap();
49358
- _aSpan_link = new WeakMap();
49359
- _hSpanBk = new WeakMap();
49360
- _beginSpan = new WeakSet();
49361
- beginSpan_fn = function(o) {
49362
- __privateGet2(this, _hSpanBk).ch_in_style = __privateGet2(this, _$ch_in_style);
49363
- __privateMethod2(this, _set_ch_in, set_ch_in_fn).call(this, o);
49364
- __privateGet2(this, _hSpanBk).ch_out_style = __privateGet2(this, _$ch_out_style);
49365
- __privateMethod2(this, _set_ch_out, set_ch_out_fn).call(this, o);
49366
- __privateGet2(this, _hSpanBk).r_align = __privateGet2(this, _r_align);
49287
+ _stkASpan = new WeakMap();
49288
+ _pushSpan = new WeakSet();
49289
+ pushSpan_fn = function(o) {
49290
+ __privateGet2(this, _stkASpan).push({
49291
+ o,
49292
+ r_align: __privateGet2(this, _r_align),
49293
+ ch_in_style: __privateGet2(this, _$ch_in_style),
49294
+ ch_out_style: __privateGet2(this, _$ch_out_style)
49295
+ });
49367
49296
  if ("r_align" in o)
49368
49297
  __privateSet2(this, _r_align, o.r_align);
49298
+ __privateMethod2(this, _set_ch_in, set_ch_in_fn).call(this, o);
49299
+ __privateMethod2(this, _set_ch_out, set_ch_out_fn).call(this, o);
49369
49300
  };
49370
- _autoCloseSpan = new WeakSet();
49371
- autoCloseSpan_fn = function() {
49372
- if (!__privateGet2(this, _aSpan_bk))
49301
+ _popSpan = new WeakSet();
49302
+ popSpan_fn = function() {
49303
+ const stk = __privateGet2(this, _stkASpan).pop();
49304
+ if (!stk)
49373
49305
  return;
49374
- __privateGet2(this, _aSpan_bk).push(__privateGet2(this, _aSpan), "</span>");
49375
- __privateSet2(this, _aSpan, Array.prototype.concat.apply([], __privateGet2(this, _aSpan_bk)));
49376
- __privateSet2(this, _aSpan_bk, void 0);
49377
- __privateSet2(_TxtLayer, _rec, __privateGet2(_TxtLayer, _rec_bk));
49378
- __privateMethod2(this, _set_ch_in, set_ch_in_fn).call(this, { in_style: __privateGet2(this, _hSpanBk).ch_in_style });
49379
- __privateMethod2(this, _set_ch_out, set_ch_out_fn).call(this, { out_style: __privateGet2(this, _hSpanBk).ch_out_style });
49380
- __privateSet2(this, _r_align, __privateGet2(this, _hSpanBk).r_align);
49306
+ __privateSet2(this, _r_align, stk.r_align);
49307
+ __privateMethod2(this, _set_ch_in, set_ch_in_fn).call(this, { in_style: stk.ch_in_style });
49308
+ __privateMethod2(this, _set_ch_out, set_ch_out_fn).call(this, { out_style: stk.ch_out_style });
49381
49309
  };
49382
49310
  _page_text = new WeakMap();
49383
49311
  __privateAdd2(TxtLayer, _ch_in_style);
@@ -49393,8 +49321,6 @@ __privateAdd2(TxtLayer, _sys3, void 0);
49393
49321
  __privateAdd2(TxtLayer, _doAutoWc, false);
49394
49322
  __privateAdd2(TxtLayer, _hAutoWc, {});
49395
49323
  __privateAdd2(TxtLayer, _rec, (tx) => tx);
49396
- __privateAdd2(TxtLayer, _rec_bk, (tx) => tx);
49397
- __privateAdd2(TxtLayer, _class_offrec, " offrec");
49398
49324
  class FrameMng {
49399
49325
  constructor(cfg, hTag, appPixi, val, main2, sys, hTwInf) {
49400
49326
  __privateAdd2(this, _add_frame);
@@ -50687,6 +50613,7 @@ ch_fn = function(hArg) {
50687
50613
  hArg.wait = 0;
50688
50614
  else if ("wait" in hArg)
50689
50615
  argChk_Num(hArg, "wait", NaN);
50616
+ __privateGet2(this, _cmdTxt).call(this, "add\uFF5C" + JSON.stringify(hArg), tl);
50690
50617
  const record = argChk_Boolean(hArg, "record", true);
50691
50618
  const doRecLog = this.val.doRecLog();
50692
50619
  if (!record)
@@ -50694,6 +50621,7 @@ ch_fn = function(hArg) {
50694
50621
  tl.tagCh(text2.replaceAll("[r]", "\n"));
50695
50622
  if (!record)
50696
50623
  this.val.setVal_Nochk("save", "sn.doRecLog", doRecLog);
50624
+ __privateGet2(this, _cmdTxt).call(this, `add_close\uFF5C`, tl);
50697
50625
  return false;
50698
50626
  };
50699
50627
  _getTxtLayer = new WeakMap();