maplestory-openapi 2.13.1 → 3.0.0
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/README.md +37 -6
- package/dist/cjs/_virtual/_commonjsHelpers.js +7 -0
- package/dist/cjs/_virtual/index.js_commonjs-exports.js +7 -0
- package/dist/cjs/_virtual/index.js_commonjs-exports2.js +7 -0
- package/dist/cjs/_virtual/index.js_commonjs-exports3.js +7 -0
- package/dist/cjs/_virtual/timezone.js_commonjs-module.js +7 -0
- package/dist/cjs/_virtual/utc.js_commonjs-module.js +7 -0
- package/dist/cjs/index.js +133 -0
- package/dist/cjs/maplestory/api/common/dto/character/character.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterAbility.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterAndroidEquipment.js +29 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterBasic.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterBeautyEquipment.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterCashItemEquipment.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterDojang.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterHexaMatrix.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterHexaMatrixStat.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterHyperStat.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterImage.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterItemEquipment.js +38 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterLinkSkill.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterList.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterPetEquipment.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterPopularity.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterPropensity.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterSetEffect.js +17 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterSkill.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterStat.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterSymbolEquipment.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/character/characterVMatrix.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/guild/guild.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/guild/guildBasic.js +11 -0
- package/dist/cjs/maplestory/api/common/dto/union/union.js +8 -0
- package/dist/cjs/maplestory/api/common/dto/union/unionArtifact.js +14 -0
- package/dist/cjs/maplestory/api/common/dto/union/unionRaider.js +23 -0
- package/dist/cjs/maplestory/api/common/enum/characterImage.js +94 -0
- package/dist/cjs/maplestory/api/common/enum/potentialOptionGrade.js +11 -0
- package/dist/cjs/maplestory/api/common/lib.js +26 -0
- package/dist/cjs/maplestory/api/common/mapleStoryApi.js +121 -0
- package/dist/cjs/maplestory/api/common/mapleStoryApiError.js +50 -0
- package/dist/cjs/maplestory/api/kms/dto/character/character.js +22 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterAbility.js +108 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterAndroidEquipment.js +418 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterBasic.js +99 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterBeautyEquipment.js +172 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterCashItemEquipment.js +228 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterDojang.js +49 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrix.js +73 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterHexaMatrixStat.js +113 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterHyperStat.js +97 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterImage.js +81 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterItemEquipment.js +1173 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterLinkSkill.js +115 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterList.js +77 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterPetEquipment.js +332 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterPopularity.js +27 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterPropensity.js +52 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterSetEffect.js +97 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterSkill.js +77 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterStat.js +57 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterSymbolEquipment.js +119 -0
- package/dist/cjs/maplestory/api/kms/dto/character/characterVMatrix.js +88 -0
- package/dist/cjs/maplestory/api/kms/dto/guild/guild.js +22 -0
- package/dist/cjs/maplestory/api/kms/dto/guild/guildBasic.js +107 -0
- package/dist/cjs/maplestory/api/kms/dto/history/cubeHistory.js +165 -0
- package/dist/cjs/maplestory/api/kms/dto/history/potentialHistory.js +160 -0
- package/dist/cjs/maplestory/api/kms/dto/history/starforceHistory.js +159 -0
- package/dist/cjs/maplestory/api/kms/dto/inspectionInfo.js +34 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/cashshopNoticeDetail.js +55 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/cashshopNoticeList.js +69 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/eventNoticeDetail.js +44 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/eventNoticeList.js +58 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/noticeDetail.js +34 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/noticeList.js +48 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/updateNoticeDetail.js +34 -0
- package/dist/cjs/maplestory/api/kms/dto/notice/updateNoticeList.js +48 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/achievementRanking.js +68 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/dojangRanking.js +73 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/guildRanking.js +68 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/overallRanking.js +78 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/theSeedRanking.js +73 -0
- package/dist/cjs/maplestory/api/kms/dto/ranking/unionRanking.js +68 -0
- package/dist/cjs/maplestory/api/kms/dto/union/union.js +47 -0
- package/dist/cjs/maplestory/api/kms/dto/union/unionArtifact.js +111 -0
- package/dist/cjs/maplestory/api/kms/dto/union/unionChampion.js +77 -0
- package/dist/cjs/maplestory/api/kms/dto/union/unionRaider.js +209 -0
- package/dist/cjs/maplestory/api/kms/kms.js +170 -0
- package/dist/cjs/maplestory/api/kms/mapleStoryApi.js +1321 -0
- package/dist/cjs/maplestory/api/msea/dto/character/character.js +22 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterAbility.js +108 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterAndroidEquipment.js +419 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterBasic.js +99 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterBeautyEquipment.js +172 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterCashItemEquipment.js +223 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterDojang.js +49 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterHexaMatrix.js +73 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterHexaMatrixStat.js +113 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterHyperStat.js +97 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterImage.js +81 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterItemEquipment.js +1112 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterLinkSkill.js +115 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterPetEquipment.js +332 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterPopularity.js +27 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterPropensity.js +52 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterSetEffect.js +97 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterSkill.js +77 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterStat.js +57 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterSymbolEquipment.js +119 -0
- package/dist/cjs/maplestory/api/msea/dto/character/characterVMatrix.js +88 -0
- package/dist/cjs/maplestory/api/msea/dto/guild/guild.js +22 -0
- package/dist/cjs/maplestory/api/msea/dto/guild/guildBasic.js +107 -0
- package/dist/cjs/maplestory/api/msea/dto/union/union.js +47 -0
- package/dist/cjs/maplestory/api/msea/dto/union/unionArtifact.js +111 -0
- package/dist/cjs/maplestory/api/msea/dto/union/unionRaider.js +214 -0
- package/dist/cjs/maplestory/api/msea/mapleStoryApi.js +802 -0
- package/dist/cjs/maplestory/api/msea/msea.js +109 -0
- package/dist/cjs/node_modules/base64-js/index.js +154 -0
- package/dist/cjs/node_modules/buffer/index.js +2116 -0
- package/dist/cjs/node_modules/dayjs/plugin/timezone.js +12 -0
- package/dist/cjs/node_modules/dayjs/plugin/utc.js +12 -0
- package/dist/cjs/node_modules/ieee754/index.js +92 -0
- package/dist/esm/_virtual/_commonjsHelpers.js +3 -0
- package/dist/esm/_virtual/index.js_commonjs-exports.js +3 -0
- package/dist/esm/_virtual/index.js_commonjs-exports2.js +3 -0
- package/dist/esm/_virtual/index.js_commonjs-exports3.js +3 -0
- package/dist/esm/_virtual/timezone.js_commonjs-module.js +3 -0
- package/dist/esm/_virtual/utc.js_commonjs-module.js +3 -0
- package/dist/esm/index.js +30 -0
- package/dist/esm/maplestory/api/common/dto/character/character.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterAbility.js +8 -0
- package/dist/esm/maplestory/api/common/dto/character/characterAndroidEquipment.js +18 -0
- package/dist/esm/maplestory/api/common/dto/character/characterBasic.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterBeautyEquipment.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterCashItemEquipment.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterDojang.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterHexaMatrix.js +8 -0
- package/dist/esm/maplestory/api/common/dto/character/characterHexaMatrixStat.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterHyperStat.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterImage.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterItemEquipment.js +24 -0
- package/dist/esm/maplestory/api/common/dto/character/characterLinkSkill.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterList.js +8 -0
- package/dist/esm/maplestory/api/common/dto/character/characterPetEquipment.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterPopularity.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterPropensity.js +4 -0
- package/dist/esm/maplestory/api/common/dto/character/characterSetEffect.js +10 -0
- package/dist/esm/maplestory/api/common/dto/character/characterSkill.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterStat.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterSymbolEquipment.js +6 -0
- package/dist/esm/maplestory/api/common/dto/character/characterVMatrix.js +6 -0
- package/dist/esm/maplestory/api/common/dto/guild/guild.js +4 -0
- package/dist/esm/maplestory/api/common/dto/guild/guildBasic.js +6 -0
- package/dist/esm/maplestory/api/common/dto/union/union.js +4 -0
- package/dist/esm/maplestory/api/common/dto/union/unionArtifact.js +8 -0
- package/dist/esm/maplestory/api/common/dto/union/unionRaider.js +14 -0
- package/dist/esm/maplestory/api/common/enum/characterImage.js +92 -0
- package/dist/esm/maplestory/api/common/enum/potentialOptionGrade.js +9 -0
- package/dist/esm/maplestory/api/common/lib.js +22 -0
- package/dist/esm/maplestory/api/common/mapleStoryApi.js +112 -0
- package/dist/esm/maplestory/api/common/mapleStoryApiError.js +46 -0
- package/dist/esm/maplestory/api/kms/dto/character/character.js +18 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterAbility.js +102 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterAndroidEquipment.js +407 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterBasic.js +95 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterBeautyEquipment.js +165 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterCashItemEquipment.js +221 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterDojang.js +45 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrix.js +67 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterHexaMatrixStat.js +108 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterHyperStat.js +92 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterImage.js +77 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterItemEquipment.js +1158 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterLinkSkill.js +110 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterList.js +71 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterPetEquipment.js +325 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterPopularity.js +23 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterPropensity.js +48 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterSetEffect.js +90 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterSkill.js +72 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterStat.js +52 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterSymbolEquipment.js +114 -0
- package/dist/esm/maplestory/api/kms/dto/character/characterVMatrix.js +83 -0
- package/dist/esm/maplestory/api/kms/dto/guild/guild.js +18 -0
- package/dist/esm/maplestory/api/kms/dto/guild/guildBasic.js +102 -0
- package/dist/esm/maplestory/api/kms/dto/history/cubeHistory.js +159 -0
- package/dist/esm/maplestory/api/kms/dto/history/potentialHistory.js +154 -0
- package/dist/esm/maplestory/api/kms/dto/history/starforceHistory.js +153 -0
- package/dist/esm/maplestory/api/kms/dto/inspectionInfo.js +30 -0
- package/dist/esm/maplestory/api/kms/dto/notice/cashshopNoticeDetail.js +51 -0
- package/dist/esm/maplestory/api/kms/dto/notice/cashshopNoticeList.js +64 -0
- package/dist/esm/maplestory/api/kms/dto/notice/eventNoticeDetail.js +40 -0
- package/dist/esm/maplestory/api/kms/dto/notice/eventNoticeList.js +53 -0
- package/dist/esm/maplestory/api/kms/dto/notice/noticeDetail.js +30 -0
- package/dist/esm/maplestory/api/kms/dto/notice/noticeList.js +43 -0
- package/dist/esm/maplestory/api/kms/dto/notice/updateNoticeDetail.js +30 -0
- package/dist/esm/maplestory/api/kms/dto/notice/updateNoticeList.js +43 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/achievementRanking.js +63 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/dojangRanking.js +68 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/guildRanking.js +63 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/overallRanking.js +73 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/theSeedRanking.js +68 -0
- package/dist/esm/maplestory/api/kms/dto/ranking/unionRanking.js +63 -0
- package/dist/esm/maplestory/api/kms/dto/union/union.js +43 -0
- package/dist/esm/maplestory/api/kms/dto/union/unionArtifact.js +105 -0
- package/dist/esm/maplestory/api/kms/dto/union/unionChampion.js +71 -0
- package/dist/esm/maplestory/api/kms/dto/union/unionRaider.js +200 -0
- package/dist/esm/maplestory/api/kms/kms.js +47 -0
- package/dist/esm/maplestory/api/kms/mapleStoryApi.js +1312 -0
- package/dist/esm/maplestory/api/msea/dto/character/character.js +18 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterAbility.js +102 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterAndroidEquipment.js +408 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterBasic.js +95 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterBeautyEquipment.js +165 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterCashItemEquipment.js +216 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterDojang.js +45 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterHexaMatrix.js +67 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterHexaMatrixStat.js +108 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterHyperStat.js +92 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterImage.js +77 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterItemEquipment.js +1098 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterLinkSkill.js +110 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterPetEquipment.js +325 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterPopularity.js +23 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterPropensity.js +48 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterSetEffect.js +90 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterSkill.js +72 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterStat.js +52 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterSymbolEquipment.js +114 -0
- package/dist/esm/maplestory/api/msea/dto/character/characterVMatrix.js +83 -0
- package/dist/esm/maplestory/api/msea/dto/guild/guild.js +18 -0
- package/dist/esm/maplestory/api/msea/dto/guild/guildBasic.js +102 -0
- package/dist/esm/maplestory/api/msea/dto/union/union.js +43 -0
- package/dist/esm/maplestory/api/msea/dto/union/unionArtifact.js +105 -0
- package/dist/esm/maplestory/api/msea/dto/union/unionRaider.js +205 -0
- package/dist/esm/maplestory/api/msea/mapleStoryApi.js +794 -0
- package/dist/esm/maplestory/api/msea/msea.js +27 -0
- package/dist/esm/node_modules/base64-js/index.js +151 -0
- package/dist/esm/node_modules/buffer/index.js +2113 -0
- package/dist/esm/node_modules/dayjs/plugin/timezone.js +10 -0
- package/dist/esm/node_modules/dayjs/plugin/utc.js +10 -0
- package/dist/esm/node_modules/ieee754/index.js +89 -0
- package/dist/index.min.js +1 -10
- package/package.json +14 -3
- package/types/index.d.ts +30 -111
- package/types/maplestory/api/common/dto/character/character.d.ts +3 -0
- package/types/maplestory/api/common/dto/character/characterAbility.d.ts +19 -0
- package/types/maplestory/api/common/dto/character/characterAndroidEquipment.d.ts +77 -0
- package/types/maplestory/api/common/dto/character/characterBasic.d.ts +18 -0
- package/types/maplestory/api/common/dto/character/characterBeautyEquipment.d.ts +30 -0
- package/types/maplestory/api/common/dto/character/characterCashItemEquipment.d.ts +40 -0
- package/types/maplestory/api/common/dto/character/characterDojang.d.ts +8 -0
- package/types/maplestory/api/common/dto/character/characterHexaMatrix.d.ts +13 -0
- package/types/maplestory/api/common/dto/character/characterHexaMatrixStat.d.ts +20 -0
- package/types/maplestory/api/common/dto/character/characterHyperStat.d.ts +18 -0
- package/types/maplestory/api/common/dto/character/characterImage.d.ts +16 -0
- package/types/maplestory/api/common/dto/character/characterItemEquipment.d.ts +216 -0
- package/types/maplestory/api/common/dto/character/characterLinkSkill.d.ts +20 -0
- package/types/maplestory/api/common/dto/character/characterList.d.ts +14 -0
- package/types/maplestory/api/common/dto/character/characterPetEquipment.d.ts +59 -0
- package/types/maplestory/api/common/dto/character/characterPopularity.d.ts +4 -0
- package/types/maplestory/api/common/dto/character/characterPropensity.d.ts +9 -0
- package/types/maplestory/api/common/dto/character/characterSetEffect.d.ts +18 -0
- package/types/maplestory/api/common/dto/character/characterSkill.d.ts +14 -0
- package/types/maplestory/api/common/dto/character/characterStat.d.ts +10 -0
- package/types/maplestory/api/common/dto/character/characterSymbolEquipment.d.ts +22 -0
- package/types/maplestory/api/common/dto/character/characterVMatrix.d.ts +16 -0
- package/types/maplestory/api/common/dto/guild/guild.d.ts +3 -0
- package/types/maplestory/api/common/dto/guild/guildBasic.d.ts +20 -0
- package/types/maplestory/api/common/dto/union/union.d.ts +8 -0
- package/types/maplestory/api/common/dto/union/unionArtifact.d.ts +20 -0
- package/types/maplestory/api/common/dto/union/unionRaider.d.ts +38 -0
- package/types/maplestory/api/common/enum/characterImage.d.ts +87 -0
- package/types/maplestory/api/common/enum/potentialOptionGrade.d.ts +6 -0
- package/types/maplestory/api/common/lib.d.ts +7 -0
- package/types/maplestory/api/common/mapleStoryApi.d.ts +140 -0
- package/types/maplestory/api/{mapleStoryApiError.d.ts → common/mapleStoryApiError.d.ts} +3 -4
- package/types/maplestory/api/common/mapleStoryApiErrorBody.d.ts +6 -0
- package/types/maplestory/api/kms/dto/character/character.d.ts +12 -0
- package/types/maplestory/api/kms/dto/character/characterAbility.d.ts +72 -0
- package/types/maplestory/api/kms/dto/character/characterAndroidEquipment.d.ts +294 -0
- package/types/maplestory/api/{dto/character/characterBasicDto.d.ts → kms/dto/character/characterBasic.d.ts} +7 -4
- package/types/maplestory/api/kms/dto/character/characterBeautyEquipment.d.ts +117 -0
- package/types/maplestory/api/kms/dto/character/characterCashItemEquipment.d.ts +158 -0
- package/types/maplestory/api/{dto/character/characterDojangDto.d.ts → kms/dto/character/characterDojang.d.ts} +6 -6
- package/types/maplestory/api/kms/dto/character/characterHexaMatrix.d.ts +48 -0
- package/types/maplestory/api/kms/dto/character/characterHexaMatrixStat.d.ts +78 -0
- package/types/maplestory/api/{dto/character/characterHyperStatDto.d.ts → kms/dto/character/characterHyperStat.d.ts} +27 -6
- package/types/maplestory/api/kms/dto/character/characterImage.d.ts +74 -0
- package/types/maplestory/api/kms/dto/character/characterItemEquipment.d.ts +890 -0
- package/types/maplestory/api/{dto/character/characterLinkSkillDto.d.ts → kms/dto/character/characterLinkSkill.d.ts} +35 -6
- package/types/maplestory/api/kms/dto/character/characterList.d.ts +52 -0
- package/types/maplestory/api/{dto/character/characterPetEquipmentDto.d.ts → kms/dto/character/characterPetEquipment.d.ts} +79 -7
- package/types/maplestory/api/kms/dto/character/characterPopularity.d.ts +16 -0
- package/types/maplestory/api/{dto/character/characterPropensityDto.d.ts → kms/dto/character/characterPropensity.d.ts} +7 -4
- package/types/maplestory/api/kms/dto/character/characterSetEffect.d.ts +66 -0
- package/types/maplestory/api/kms/dto/character/characterSkill.d.ts +54 -0
- package/types/maplestory/api/kms/dto/character/characterStat.d.ts +38 -0
- package/types/maplestory/api/{dto/character/characterSymbolEquipmentInfoDto.d.ts → kms/dto/character/characterSymbolEquipment.d.ts} +22 -4
- package/types/maplestory/api/kms/dto/character/characterVMatrix.d.ts +62 -0
- package/types/maplestory/api/kms/dto/guild/guild.d.ts +12 -0
- package/types/maplestory/api/kms/dto/guild/guildBasic.d.ts +78 -0
- package/types/maplestory/api/{dto/history/cubeHistoryDto.d.ts → kms/dto/history/cubeHistory.d.ts} +37 -6
- package/types/maplestory/api/{dto/history/potentialHistoryDto.d.ts → kms/dto/history/potentialHistory.d.ts} +37 -6
- package/types/maplestory/api/{dto/history/starforceHistoryDto.d.ts → kms/dto/history/starforceHistory.d.ts} +47 -5
- package/types/maplestory/api/{dto/inspectionInfoDto.d.ts → kms/dto/inspectionInfo.d.ts} +1 -2
- package/types/maplestory/api/{dto/notice/cashshopNoticeDetailDto.d.ts → kms/dto/notice/cashshopNoticeDetail.d.ts} +3 -4
- package/types/maplestory/api/{dto/notice/cashshopNoticeListItemDto.d.ts → kms/dto/notice/cashshopNoticeList.d.ts} +13 -4
- package/types/maplestory/api/{dto/notice/eventNoticeDetailDto.d.ts → kms/dto/notice/eventNoticeDetail.d.ts} +3 -4
- package/types/maplestory/api/kms/dto/notice/eventNoticeList.d.ts +41 -0
- package/types/maplestory/api/{dto/notice/noticeDetailDto.d.ts → kms/dto/notice/noticeDetail.d.ts} +3 -4
- package/types/maplestory/api/kms/dto/notice/noticeList.d.ts +33 -0
- package/types/maplestory/api/{dto/notice/updateNoticeDetailDto.d.ts → kms/dto/notice/updateNoticeDetail.d.ts} +3 -4
- package/types/maplestory/api/kms/dto/notice/updateNoticeList.d.ts +33 -0
- package/types/maplestory/api/{dto/ranking/achievementRankingDto.d.ts → kms/dto/ranking/achievementRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/dojangRankingDto.d.ts → kms/dto/ranking/dojangRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/guildRankingDto.d.ts → kms/dto/ranking/guildRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/overallRankingDto.d.ts → kms/dto/ranking/overallRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/theSeedRankingDto.d.ts → kms/dto/ranking/theSeedRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/ranking/unionRankingDto.d.ts → kms/dto/ranking/unionRanking.d.ts} +13 -4
- package/types/maplestory/api/{dto/union/unionDto.d.ts → kms/dto/union/union.d.ts} +5 -5
- package/types/maplestory/api/kms/dto/union/unionArtifact.d.ts +76 -0
- package/types/maplestory/api/kms/dto/union/unionChampion.d.ts +55 -0
- package/types/maplestory/api/kms/dto/union/unionRaider.d.ts +142 -0
- package/types/maplestory/api/kms/index.d.ts +47 -0
- package/types/maplestory/api/{mapleStoryApi.d.ts → kms/mapleStoryApi.d.ts} +83 -78
- package/types/maplestory/api/kms/response/character/characterAbilityBody.d.ts +19 -0
- package/types/maplestory/api/{response/character/characterAndroidEquipmentDtoBody.d.ts → kms/response/character/characterAndroidEquipmentBody.d.ts} +20 -21
- package/types/maplestory/api/{response/character/characterBasicDtoBody.d.ts → kms/response/character/characterBasicBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/character/characterBeautyEquipmentBody.d.ts +30 -0
- package/types/maplestory/api/kms/response/character/characterBody.d.ts +3 -0
- package/types/maplestory/api/{response/character/characterCashItemEquipmentDtoBody.d.ts → kms/response/character/characterCashItemEquipmentBody.d.ts} +14 -15
- package/types/maplestory/api/{response/character/characterDojangDtoBody.d.ts → kms/response/character/characterDojangBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/character/characterHexaMatrixBody.d.ts +13 -0
- package/types/maplestory/api/kms/response/character/characterHexaMatrixStatBody.d.ts +20 -0
- package/types/maplestory/api/{response/character/characterHyperStatDtoBody.d.ts → kms/response/character/characterHyperStatBody.d.ts} +5 -6
- package/types/maplestory/api/{response/character/characterItemEquipmentDtoBody.d.ts → kms/response/character/characterItemEquipmentBody.d.ts} +33 -34
- package/types/maplestory/api/kms/response/character/characterLinkSkillBody.d.ts +20 -0
- package/types/maplestory/api/kms/response/character/characterListBody.d.ts +14 -0
- package/types/maplestory/api/{response/character/characterPetEquipmentDtoBody.d.ts → kms/response/character/characterPetEquipmentBody.d.ts} +11 -12
- package/types/maplestory/api/kms/response/character/characterPopularityBody.d.ts +4 -0
- package/types/maplestory/api/{response/character/characterPropensityDtoBody.d.ts → kms/response/character/characterPropensityBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/character/characterSetEffectBody.d.ts +18 -0
- package/types/maplestory/api/{response/character/characterSkillDtoBody.d.ts → kms/response/character/characterSkillBody.d.ts} +3 -4
- package/types/maplestory/api/kms/response/character/characterStatBody.d.ts +10 -0
- package/types/maplestory/api/{response/character/characterSymbolEquipmentDtoBody.d.ts → kms/response/character/characterSymbolEquipmentBody.d.ts} +3 -4
- package/types/maplestory/api/{response/character/characterVMatrixDtoBody.d.ts → kms/response/character/characterVMatrixBody.d.ts} +2 -3
- package/types/maplestory/api/{response/guild/guildBasicDtoBody.d.ts → kms/response/guild/guildBasicBody.d.ts} +4 -5
- package/types/maplestory/api/kms/response/guild/guildBody.d.ts +3 -0
- package/types/maplestory/api/kms/response/history/cubeHistoryBody.d.ts +29 -0
- package/types/maplestory/api/kms/response/history/potentialHistoryBody.d.ts +28 -0
- package/types/maplestory/api/{response/history/starforceHistoryDtoBody.d.ts → kms/response/history/starforceHistoryBody.d.ts} +14 -4
- package/types/maplestory/api/{response → kms/response}/inspectionInfoSoapBody.d.ts +1 -2
- package/types/maplestory/api/{response/notice/cashshopNoticeDetailDtoBody.d.ts → kms/response/notice/cashshopNoticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/cashshopNoticeListBody.d.ts +12 -0
- package/types/maplestory/api/{response/notice/eventNoticeDetailDtoBody.d.ts → kms/response/notice/eventNoticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/eventNoticeListBody.d.ts +11 -0
- package/types/maplestory/api/{response/notice/noticeDetailDtoBody.d.ts → kms/response/notice/noticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/noticeListBody.d.ts +9 -0
- package/types/maplestory/api/{response/notice/updateNoticeDetailDtoBody.d.ts → kms/response/notice/updateNoticeDetailBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/notice/updateNoticeListBody.d.ts +9 -0
- package/types/maplestory/api/kms/response/ranking/achievementRankingBody.d.ts +12 -0
- package/types/maplestory/api/kms/response/ranking/dojangRankingBody.d.ts +13 -0
- package/types/maplestory/api/kms/response/ranking/guildRankingBody.d.ts +12 -0
- package/types/maplestory/api/{response/ranking/overallRankingResponseDtoBody.d.ts → kms/response/ranking/overallRankingBody.d.ts} +3 -4
- package/types/maplestory/api/kms/response/ranking/rankingResponseBody.d.ts +6 -0
- package/types/maplestory/api/kms/response/ranking/theSeedRankingBody.d.ts +13 -0
- package/types/maplestory/api/kms/response/ranking/unionRankingBody.d.ts +12 -0
- package/types/maplestory/api/kms/response/union/unionArtifactBody.d.ts +19 -0
- package/types/maplestory/api/{response/union/unionDtoBody.d.ts → kms/response/union/unionBody.d.ts} +1 -2
- package/types/maplestory/api/kms/response/union/unionChampionBody.d.ts +15 -0
- package/types/maplestory/api/kms/response/union/unionRaiderBody.d.ts +38 -0
- package/types/maplestory/api/msea/dto/character/character.d.ts +12 -0
- package/types/maplestory/api/msea/dto/character/characterAbility.d.ts +72 -0
- package/types/maplestory/api/msea/dto/character/characterAndroidEquipment.d.ts +295 -0
- package/types/maplestory/api/msea/dto/character/characterBasic.d.ts +72 -0
- package/types/maplestory/api/msea/dto/character/characterBeautyEquipment.d.ts +117 -0
- package/types/maplestory/api/msea/dto/character/characterCashItemEquipment.d.ts +154 -0
- package/types/maplestory/api/msea/dto/character/characterDojang.d.ts +32 -0
- package/types/maplestory/api/msea/dto/character/characterHexaMatrix.d.ts +48 -0
- package/types/maplestory/api/msea/dto/character/characterHexaMatrixStat.d.ts +78 -0
- package/types/maplestory/api/msea/dto/character/characterHyperStat.d.ts +70 -0
- package/types/maplestory/api/msea/dto/character/characterImage.d.ts +74 -0
- package/types/maplestory/api/msea/dto/character/characterItemEquipment.d.ts +844 -0
- package/types/maplestory/api/msea/dto/character/characterLinkSkill.d.ts +78 -0
- package/types/maplestory/api/msea/dto/character/characterPetEquipment.d.ts +230 -0
- package/types/maplestory/api/msea/dto/character/characterPopularity.d.ts +16 -0
- package/types/maplestory/api/msea/dto/character/characterPropensity.d.ts +36 -0
- package/types/maplestory/api/msea/dto/character/characterSetEffect.d.ts +66 -0
- package/types/maplestory/api/msea/dto/character/characterSkill.d.ts +54 -0
- package/types/maplestory/api/msea/dto/character/characterStat.d.ts +38 -0
- package/types/maplestory/api/msea/dto/character/characterSymbolEquipment.d.ts +86 -0
- package/types/maplestory/api/msea/dto/character/characterVMatrix.d.ts +62 -0
- package/types/maplestory/api/msea/dto/guild/guild.d.ts +12 -0
- package/types/maplestory/api/msea/dto/guild/guildBasic.d.ts +78 -0
- package/types/maplestory/api/msea/dto/union/union.d.ts +32 -0
- package/types/maplestory/api/msea/dto/union/unionArtifact.d.ts +76 -0
- package/types/maplestory/api/msea/dto/union/unionRaider.d.ts +147 -0
- package/types/maplestory/api/msea/index.d.ts +27 -0
- package/types/maplestory/api/msea/mapleStoryApi.d.ts +364 -0
- package/types/maplestory/api/msea/response/character/characterAbilityBody.d.ts +19 -0
- package/types/maplestory/api/msea/response/character/characterAndroidEquipmentBody.d.ts +75 -0
- package/types/maplestory/api/msea/response/character/characterBasicBody.d.ts +16 -0
- package/types/maplestory/api/msea/response/character/characterBeautyEquipmentBody.d.ts +30 -0
- package/types/maplestory/api/msea/response/character/characterBody.d.ts +3 -0
- package/types/maplestory/api/msea/response/character/characterCashItemEquipmentBody.d.ts +38 -0
- package/types/maplestory/api/msea/response/character/characterDojangBody.d.ts +8 -0
- package/types/maplestory/api/msea/response/character/characterHexaMatrixBody.d.ts +13 -0
- package/types/maplestory/api/msea/response/character/characterHexaMatrixStatBody.d.ts +20 -0
- package/types/maplestory/api/msea/response/character/characterHyperStatBody.d.ts +18 -0
- package/types/maplestory/api/msea/response/character/characterItemEquipmentBody.d.ts +190 -0
- package/types/maplestory/api/msea/response/character/characterLinkSkillBody.d.ts +20 -0
- package/types/maplestory/api/msea/response/character/characterPetEquipmentBody.d.ts +56 -0
- package/types/maplestory/api/msea/response/character/characterPopularityBody.d.ts +4 -0
- package/types/maplestory/api/msea/response/character/characterPropensityBody.d.ts +9 -0
- package/types/maplestory/api/msea/response/character/characterSetEffectBody.d.ts +18 -0
- package/types/maplestory/api/msea/response/character/characterSkillBody.d.ts +14 -0
- package/types/maplestory/api/msea/response/character/characterStatBody.d.ts +10 -0
- package/types/maplestory/api/msea/response/character/characterSymbolEquipmentBody.d.ts +22 -0
- package/types/maplestory/api/msea/response/character/characterVMatrixBody.d.ts +16 -0
- package/types/maplestory/api/msea/response/guild/guildBasicBody.d.ts +20 -0
- package/types/maplestory/api/msea/response/guild/guildBody.d.ts +3 -0
- package/types/maplestory/api/msea/response/union/unionArtifactBody.d.ts +19 -0
- package/types/maplestory/api/msea/response/union/unionBody.d.ts +8 -0
- package/types/maplestory/api/msea/response/union/unionRaiderBody.d.ts +38 -0
- package/dist/index.js +0 -9120
- package/dist/index.mjs +0 -9002
- package/types/maplestory/api/dto/character/characterAbilityDto.d.ts +0 -42
- package/types/maplestory/api/dto/character/characterAbilityInfoDto.d.ts +0 -20
- package/types/maplestory/api/dto/character/characterAbilityPresetDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterAndroidCashItemEquipmentColoringPrismDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterAndroidCashItemEquipmentDto.d.ts +0 -58
- package/types/maplestory/api/dto/character/characterAndroidCashItemEquipmentOptionDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterAndroidEquipmentDto.d.ts +0 -85
- package/types/maplestory/api/dto/character/characterAndroidEquipmentFaceDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterAndroidEquipmentHairDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterAndroidEquipmentPresetDto.d.ts +0 -59
- package/types/maplestory/api/dto/character/characterAndroidEquipmentSkinDto.d.ts +0 -28
- package/types/maplestory/api/dto/character/characterBeautyEquipmentDto.d.ts +0 -50
- package/types/maplestory/api/dto/character/characterBeautyEquipmentFaceDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterBeautyEquipmentHairDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterBeautyEquipmentSkinDto.d.ts +0 -28
- package/types/maplestory/api/dto/character/characterCashItemEquipmentColoringPrismDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterCashItemEquipmentDto.d.ts +0 -61
- package/types/maplestory/api/dto/character/characterCashItemEquipmentOptionDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterCashItemEquipmentPresetDto.d.ts +0 -66
- package/types/maplestory/api/dto/character/characterDto.d.ts +0 -12
- package/types/maplestory/api/dto/character/characterHexaMatrixDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterHexaMatrixEquipmentDto.d.ts +0 -25
- package/types/maplestory/api/dto/character/characterHexaMatrixEquipmentLinkedSkillDto.d.ts +0 -12
- package/types/maplestory/api/dto/character/characterHexaMatrixStatCoreDto.d.ts +0 -40
- package/types/maplestory/api/dto/character/characterHexaMatrixStatDto.d.ts +0 -41
- package/types/maplestory/api/dto/character/characterHyperStatPresetDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterImageDto.d.ts +0 -160
- package/types/maplestory/api/dto/character/characterItemEquipmentAddOptionDto.d.ts +0 -68
- package/types/maplestory/api/dto/character/characterItemEquipmentBaseOptionDto.d.ts +0 -76
- package/types/maplestory/api/dto/character/characterItemEquipmentDragonInfoDto.d.ts +0 -130
- package/types/maplestory/api/dto/character/characterItemEquipmentDto.d.ts +0 -61
- package/types/maplestory/api/dto/character/characterItemEquipmentEtcOptionDto.d.ts +0 -52
- package/types/maplestory/api/dto/character/characterItemEquipmentExceptionalOptionDto.d.ts +0 -44
- package/types/maplestory/api/dto/character/characterItemEquipmentInfoDto.d.ts +0 -162
- package/types/maplestory/api/dto/character/characterItemEquipmentMechanicInfoDto.d.ts +0 -130
- package/types/maplestory/api/dto/character/characterItemEquipmentMedalShapeDto.d.ts +0 -32
- package/types/maplestory/api/dto/character/characterItemEquipmentStarforceOptionDto.d.ts +0 -52
- package/types/maplestory/api/dto/character/characterItemEquipmentTitleDto.d.ts +0 -48
- package/types/maplestory/api/dto/character/characterItemEquipmentTotalOptionDto.d.ts +0 -80
- package/types/maplestory/api/dto/character/characterLinkSkillInfoDto.d.ts +0 -32
- package/types/maplestory/api/dto/character/characterListAccountCharacterDto.d.ts +0 -28
- package/types/maplestory/api/dto/character/characterListAccountDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterListDto.d.ts +0 -13
- package/types/maplestory/api/dto/character/characterPetEquipmentAutoSkillDto.d.ts +0 -24
- package/types/maplestory/api/dto/character/characterPetEquipmentItemDto.d.ts +0 -41
- package/types/maplestory/api/dto/character/characterPetEquipmentItemOptionDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterPopularityDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterSetEffectDto.d.ts +0 -17
- package/types/maplestory/api/dto/character/characterSetEffectInfoDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterSetEffectOptionFullDto.d.ts +0 -16
- package/types/maplestory/api/dto/character/characterSetEffectSetDto.d.ts +0 -26
- package/types/maplestory/api/dto/character/characterSkillDto.d.ts +0 -25
- package/types/maplestory/api/dto/character/characterSkillInfoDto.d.ts +0 -32
- package/types/maplestory/api/dto/character/characterStatDto.d.ts +0 -27
- package/types/maplestory/api/dto/character/characterSymbolEquipmentDto.d.ts +0 -21
- package/types/maplestory/api/dto/character/characterVMatrixCoreEquipmentDto.d.ts +0 -40
- package/types/maplestory/api/dto/character/characterVMatrixDto.d.ts +0 -25
- package/types/maplestory/api/dto/guild/guildBasicDto.d.ts +0 -53
- package/types/maplestory/api/dto/guild/guildDto.d.ts +0 -12
- package/types/maplestory/api/dto/guild/guildSkillDto.d.ts +0 -28
- package/types/maplestory/api/dto/history/cubeHistoryResponseDto.d.ts +0 -21
- package/types/maplestory/api/dto/history/cubeResultOptionDto.d.ts +0 -18
- package/types/maplestory/api/dto/history/potentialHistoryResponseDto.d.ts +0 -21
- package/types/maplestory/api/dto/history/potentialResultOptionDto.d.ts +0 -18
- package/types/maplestory/api/dto/history/starforceEventDto.d.ts +0 -28
- package/types/maplestory/api/dto/history/starforceHistoryResponseDto.d.ts +0 -21
- package/types/maplestory/api/dto/notice/cashshopNoticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/eventNoticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/eventNoticeListItemDto.d.ts +0 -32
- package/types/maplestory/api/dto/notice/noticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/noticeListItemDto.d.ts +0 -24
- package/types/maplestory/api/dto/notice/updateNoticeListDto.d.ts +0 -13
- package/types/maplestory/api/dto/notice/updateNoticeListItemDto.d.ts +0 -24
- package/types/maplestory/api/dto/potentialOptionGrade.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/achievementRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/dojangRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/guildRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/overallRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/theSeedRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/ranking/unionRankingResponseDto.d.ts +0 -13
- package/types/maplestory/api/dto/union/unionArtifactCrystalDto.d.ts +0 -40
- package/types/maplestory/api/dto/union/unionArtifactDto.d.ts +0 -26
- package/types/maplestory/api/dto/union/unionArtifactEffectDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionChampionBadgeInfoDto.d.ts +0 -12
- package/types/maplestory/api/dto/union/unionChampionDto.d.ts +0 -22
- package/types/maplestory/api/dto/union/unionChampionInfoDto.d.ts +0 -29
- package/types/maplestory/api/dto/union/unionRaiderBlockDto.d.ts +0 -30
- package/types/maplestory/api/dto/union/unionRaiderBlockPositionDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionRaiderControlPointDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionRaiderDto.d.ts +0 -52
- package/types/maplestory/api/dto/union/unionRaiderInnerStatDto.d.ts +0 -16
- package/types/maplestory/api/dto/union/unionRaiderPresetDto.d.ts +0 -26
- package/types/maplestory/api/response/character/characterAbilityDtoBody.d.ts +0 -20
- package/types/maplestory/api/response/character/characterBeautyEquipmentDtoBody.d.ts +0 -31
- package/types/maplestory/api/response/character/characterDtoBody.d.ts +0 -4
- package/types/maplestory/api/response/character/characterHexaMatrixDtoBody.d.ts +0 -14
- package/types/maplestory/api/response/character/characterHexaMatrixStatDtoBody.d.ts +0 -21
- package/types/maplestory/api/response/character/characterLinkSkillDtoBody.d.ts +0 -21
- package/types/maplestory/api/response/character/characterListDtoBody.d.ts +0 -15
- package/types/maplestory/api/response/character/characterPopularityDtoBody.d.ts +0 -5
- package/types/maplestory/api/response/character/characterSetEffectDtoBody.d.ts +0 -19
- package/types/maplestory/api/response/character/characterStatDtoBody.d.ts +0 -10
- package/types/maplestory/api/response/guild/guildDtoBody.d.ts +0 -4
- package/types/maplestory/api/response/history/cubeHistoryDtoBody.d.ts +0 -22
- package/types/maplestory/api/response/history/cubeHistoryResponseDtoBody.d.ts +0 -7
- package/types/maplestory/api/response/history/cubeResultOptionDtoBody.d.ts +0 -5
- package/types/maplestory/api/response/history/potentialHistoryResponseDtoBody.d.ts +0 -29
- package/types/maplestory/api/response/history/starforceEventDtoBody.d.ts +0 -8
- package/types/maplestory/api/response/history/starforceHistoryResponseDtoBody.d.ts +0 -7
- package/types/maplestory/api/response/notice/cashshopNoticeListDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/notice/eventNoticeListDtoBody.d.ts +0 -12
- package/types/maplestory/api/response/notice/noticeListDtoBody.d.ts +0 -10
- package/types/maplestory/api/response/notice/updateNoticeListDtoBody.d.ts +0 -10
- package/types/maplestory/api/response/ranking/achievementRankingResponseDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/ranking/dojangRankingResponseDtoBody.d.ts +0 -14
- package/types/maplestory/api/response/ranking/guildRankingResponseDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/ranking/rankingResponseDtoBody.d.ts +0 -7
- package/types/maplestory/api/response/ranking/theSeedRankingResponseDtoBody.d.ts +0 -14
- package/types/maplestory/api/response/ranking/unionRankingResponseDtoBody.d.ts +0 -13
- package/types/maplestory/api/response/union/unionArtifactDtoBody.d.ts +0 -20
- package/types/maplestory/api/response/union/unionChampionDtoBody.d.ts +0 -16
- package/types/maplestory/api/response/union/unionRaiderDtoBody.d.ts +0 -39
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { commonjsGlobal } from '../../../_virtual/_commonjsHelpers.js';
|
|
2
|
+
import { t as timezone$1 } from '../../../_virtual/timezone.js_commonjs-module.js';
|
|
3
|
+
|
|
4
|
+
(function (module, exports) {
|
|
5
|
+
!function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u<i.length;u+=1){var f=i[u],s=f.type,m=f.value,c=t[s];c>=0&&(r[c]=parseInt(m,10));}var d=r[3],l=24===d?0:d,h=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",v=+e;return (o.utc(h).valueOf()-(v-=v%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n,i=this.utcOffset(),a=this.toDate(),u=a.toLocaleString("en-US",{timeZone:t}),f=Math.round((a-new Date(u))/1e3/60),s=15*-Math.round(a.getTimezoneOffset()/15)-f;if(!Number(s))n=this.utcOffset(0,e);else if(n=o(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(s,!0),e){var m=n.utcOffset();n=n.add(i-m,"minute");}return n.$x.$timezone=t,n},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return "timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return [i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t;};}}));
|
|
6
|
+
}(timezone$1));
|
|
7
|
+
|
|
8
|
+
var timezone = timezone$1.exports;
|
|
9
|
+
|
|
10
|
+
export { timezone as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { commonjsGlobal } from '../../../_virtual/_commonjsHelpers.js';
|
|
2
|
+
import { u as utc$1 } from '../../../_virtual/utc.js_commonjs-module.js';
|
|
3
|
+
|
|
4
|
+
(function (module, exports) {
|
|
5
|
+
!function(t,i){module.exports=i();}(commonjsGlobal,(function(){var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t);};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds();}else r.call(this);};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r;}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return !!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return "s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)};}}));
|
|
6
|
+
}(utc$1));
|
|
7
|
+
|
|
8
|
+
var utc = utc$1.exports;
|
|
9
|
+
|
|
10
|
+
export { utc as default };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { __exports as ieee754 } from '../../_virtual/index.js_commonjs-exports3.js';
|
|
2
|
+
export { __exports as default } from '../../_virtual/index.js_commonjs-exports3.js';
|
|
3
|
+
|
|
4
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
5
|
+
|
|
6
|
+
ieee754.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
7
|
+
var e, m;
|
|
8
|
+
var eLen = (nBytes * 8) - mLen - 1;
|
|
9
|
+
var eMax = (1 << eLen) - 1;
|
|
10
|
+
var eBias = eMax >> 1;
|
|
11
|
+
var nBits = -7;
|
|
12
|
+
var i = isLE ? (nBytes - 1) : 0;
|
|
13
|
+
var d = isLE ? -1 : 1;
|
|
14
|
+
var s = buffer[offset + i];
|
|
15
|
+
|
|
16
|
+
i += d;
|
|
17
|
+
|
|
18
|
+
e = s & ((1 << (-nBits)) - 1);
|
|
19
|
+
s >>= (-nBits);
|
|
20
|
+
nBits += eLen;
|
|
21
|
+
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
22
|
+
|
|
23
|
+
m = e & ((1 << (-nBits)) - 1);
|
|
24
|
+
e >>= (-nBits);
|
|
25
|
+
nBits += mLen;
|
|
26
|
+
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
27
|
+
|
|
28
|
+
if (e === 0) {
|
|
29
|
+
e = 1 - eBias;
|
|
30
|
+
} else if (e === eMax) {
|
|
31
|
+
return m ? NaN : ((s ? -1 : 1) * Infinity)
|
|
32
|
+
} else {
|
|
33
|
+
m = m + Math.pow(2, mLen);
|
|
34
|
+
e = e - eBias;
|
|
35
|
+
}
|
|
36
|
+
return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
ieee754.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
40
|
+
var e, m, c;
|
|
41
|
+
var eLen = (nBytes * 8) - mLen - 1;
|
|
42
|
+
var eMax = (1 << eLen) - 1;
|
|
43
|
+
var eBias = eMax >> 1;
|
|
44
|
+
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0);
|
|
45
|
+
var i = isLE ? 0 : (nBytes - 1);
|
|
46
|
+
var d = isLE ? 1 : -1;
|
|
47
|
+
var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0;
|
|
48
|
+
|
|
49
|
+
value = Math.abs(value);
|
|
50
|
+
|
|
51
|
+
if (isNaN(value) || value === Infinity) {
|
|
52
|
+
m = isNaN(value) ? 1 : 0;
|
|
53
|
+
e = eMax;
|
|
54
|
+
} else {
|
|
55
|
+
e = Math.floor(Math.log(value) / Math.LN2);
|
|
56
|
+
if (value * (c = Math.pow(2, -e)) < 1) {
|
|
57
|
+
e--;
|
|
58
|
+
c *= 2;
|
|
59
|
+
}
|
|
60
|
+
if (e + eBias >= 1) {
|
|
61
|
+
value += rt / c;
|
|
62
|
+
} else {
|
|
63
|
+
value += rt * Math.pow(2, 1 - eBias);
|
|
64
|
+
}
|
|
65
|
+
if (value * c >= 2) {
|
|
66
|
+
e++;
|
|
67
|
+
c /= 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (e + eBias >= eMax) {
|
|
71
|
+
m = 0;
|
|
72
|
+
e = eMax;
|
|
73
|
+
} else if (e + eBias >= 1) {
|
|
74
|
+
m = ((value * c) - 1) * Math.pow(2, mLen);
|
|
75
|
+
e = e + eBias;
|
|
76
|
+
} else {
|
|
77
|
+
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);
|
|
78
|
+
e = 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
|
|
83
|
+
|
|
84
|
+
e = (e << mLen) | m;
|
|
85
|
+
eLen += mLen;
|
|
86
|
+
for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
|
|
87
|
+
|
|
88
|
+
buffer[offset + i - d] |= s * 128;
|
|
89
|
+
};
|
package/dist/index.min.js
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs"),require("xml2js")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs","xml2js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs,t.xml2js)}(this,(function(t,e,i,a){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}for(var n=r(e),o=r(i),s=r(a),c=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{}),l={byteLength:function(t){var e=f(t),i=e[0],a=e[1];return 3*(i+a)/4-a},toByteArray:function(t){var e,i,a=f(t),r=a[0],n=a[1],o=new u(function(t,e,i){return 3*(e+i)/4-i}(0,r,n)),s=0,c=n>0?r-4:r;for(i=0;i<c;i+=4)e=p[t.charCodeAt(i)]<<18|p[t.charCodeAt(i+1)]<<12|p[t.charCodeAt(i+2)]<<6|p[t.charCodeAt(i+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=255&e;2===n&&(e=p[t.charCodeAt(i)]<<2|p[t.charCodeAt(i+1)]>>4,o[s++]=255&e);1===n&&(e=p[t.charCodeAt(i)]<<10|p[t.charCodeAt(i+1)]<<4|p[t.charCodeAt(i+2)]>>2,o[s++]=e>>8&255,o[s++]=255&e);return o},fromByteArray:function(t){for(var e,i=t.length,a=i%3,r=[],n=16383,o=0,s=i-a;o<s;o+=n)r.push(_(t,o,o+n>s?s:o+n));1===a?(e=t[i-1],r.push(h[e>>2]+h[e<<4&63]+"==")):2===a&&(e=(t[i-2]<<8)+t[i-1],r.push(h[e>>10]+h[e>>4&63]+h[e<<2&63]+"="));return r.join("")}},h=[],p=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=0;m<64;++m)h[m]=d[m],p[d.charCodeAt(m)]=m;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function _(t,e,i){for(var a,r,n=[],o=e;o<i;o+=3)a=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),n.push(h[(r=a)>>18&63]+h[r>>12&63]+h[r>>6&63]+h[63&r]);return n.join("")}p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63;var g={
|
|
2
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
3
|
-
read:function(t,e,i,a,r){var n,o,s=8*r-a-1,c=(1<<s)-1,l=c>>1,h=-7,p=i?r-1:0,u=i?-1:1,d=t[e+p];for(p+=u,n=d&(1<<-h)-1,d>>=-h,h+=s;h>0;n=256*n+t[e+p],p+=u,h-=8);for(o=n&(1<<-h)-1,n>>=-h,h+=a;h>0;o=256*o+t[e+p],p+=u,h-=8);if(0===n)n=1-l;else{if(n===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,a),n-=l}return(d?-1:1)*o*Math.pow(2,n-a)},write:function(t,e,i,a,r,n){var o,s,c,l=8*n-r-1,h=(1<<l)-1,p=h>>1,u=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:n-1,m=a?1:-1,f=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),(e+=o+p>=1?u/c:u*Math.pow(2,1-p))*c>=2&&(o++,c/=2),o+p>=h?(s=0,o=h):o+p>=1?(s=(e*c-1)*Math.pow(2,r),o+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,r),o=0));r>=8;t[i+d]=255&s,d+=m,s/=256,r-=8);for(o=o<<r|s,l+=r;l>0;t[i+d]=255&o,d+=m,o/=256,l-=8);t[i+d-m]|=128*f}};
|
|
4
|
-
/*!
|
|
5
|
-
* The buffer module from node.js, for the browser.
|
|
6
|
-
*
|
|
7
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
8
|
-
* @license MIT
|
|
9
|
-
*/
|
|
10
|
-
!function(t){const e=l,i=g,a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=o,t.SlowBuffer=function(t){+t!=t&&(t=0);return o.alloc(+t)},t.INSPECT_MAX_BYTES=50;const r=2147483647;function n(t){if(t>r)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,o.prototype),e}function o(t,e,i){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return h(t)}return s(t,e,i)}function s(t,e,i){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!o.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const i=0|m(t,e);let a=n(i);const r=a.write(t,e);r!==i&&(a=a.slice(0,r));return a}(t,e);if(ArrayBuffer.isView(t))return function(t){if(Q(t,Uint8Array)){const e=new Uint8Array(t);return u(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Q(t,ArrayBuffer)||t&&Q(t.buffer,ArrayBuffer))return u(t,e,i);if("undefined"!=typeof SharedArrayBuffer&&(Q(t,SharedArrayBuffer)||t&&Q(t.buffer,SharedArrayBuffer)))return u(t,e,i);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const a=t.valueOf&&t.valueOf();if(null!=a&&a!==t)return o.from(a,e,i);const r=function(t){if(o.isBuffer(t)){const e=0|d(t.length),i=n(e);return 0===i.length||t.copy(i,0,0,e),i}if(void 0!==t.length)return"number"!=typeof t.length||Z(t.length)?n(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return o.from(t[Symbol.toPrimitive]("string"),e,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return c(t),n(t<0?0:0|d(t))}function p(t){const e=t.length<0?0:0|d(t.length),i=n(e);for(let a=0;a<e;a+=1)i[a]=255&t[a];return i}function u(t,e,i){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(i||0))throw new RangeError('"length" is outside of buffer bounds');let a;return a=void 0===e&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,e):new Uint8Array(t,e,i),Object.setPrototypeOf(a,o.prototype),a}function d(t){if(t>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|t}function m(t,e){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Q(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const i=t.length,a=arguments.length>2&&!0===arguments[2];if(!a&&0===i)return 0;let r=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return V(t).length;default:if(r)return a?-1:z(t).length;e=(""+e).toLowerCase(),r=!0}}function f(t,e,i){let a=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,i);case"utf8":case"utf-8":return x(this,e,i);case"ascii":return P(this,e,i);case"latin1":case"binary":return D(this,e,i);case"base64":return k(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,i);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function _(t,e,i){const a=t[e];t[e]=t[i],t[i]=a}function y(t,e,i,a,r){if(0===t.length)return-1;if("string"==typeof i?(a=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),Z(i=+i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof e&&(e=o.from(e,a)),o.isBuffer(e))return 0===e.length?-1:w(t,e,i,a,r);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):w(t,[e],i,a,r);throw new TypeError("val must be string, number or Buffer")}function w(t,e,i,a,r){let n,o=1,s=t.length,c=e.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(t.length<2||e.length<2)return-1;o=2,s/=2,c/=2,i/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){let a=-1;for(n=i;n<s;n++)if(l(t,n)===l(e,-1===a?0:n-a)){if(-1===a&&(a=n),n-a+1===c)return a*o}else-1!==a&&(n-=n-a),a=-1}else for(i+c>s&&(i=s-c),n=i;n>=0;n--){let i=!0;for(let a=0;a<c;a++)if(l(t,n+a)!==l(e,a)){i=!1;break}if(i)return n}return-1}function E(t,e,i,a){i=Number(i)||0;const r=t.length-i;a?(a=Number(a))>r&&(a=r):a=r;const n=e.length;let o;for(a>n/2&&(a=n/2),o=0;o<a;++o){const a=parseInt(e.substr(2*o,2),16);if(Z(a))return o;t[i+o]=a}return o}function b(t,e,i,a){return W(z(e,t.length-i),t,i,a)}function v(t,e,i,a){return W(function(t){const e=[];for(let i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,i,a)}function C(t,e,i,a){return W(V(e),t,i,a)}function I(t,e,i,a){return W(function(t,e){let i,a,r;const n=[];for(let o=0;o<t.length&&!((e-=2)<0);++o)i=t.charCodeAt(o),a=i>>8,r=i%256,n.push(r),n.push(a);return n}(e,t.length-i),t,i,a)}function k(t,i,a){return 0===i&&a===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(i,a))}function x(t,e,i){i=Math.min(t.length,i);const a=[];let r=e;for(;r<i;){const e=t[r];let n=null,o=e>239?4:e>223?3:e>191?2:1;if(r+o<=i){let i,a,s,c;switch(o){case 1:e<128&&(n=e);break;case 2:i=t[r+1],128==(192&i)&&(c=(31&e)<<6|63&i,c>127&&(n=c));break;case 3:i=t[r+1],a=t[r+2],128==(192&i)&&128==(192&a)&&(c=(15&e)<<12|(63&i)<<6|63&a,c>2047&&(c<55296||c>57343)&&(n=c));break;case 4:i=t[r+1],a=t[r+2],s=t[r+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(c=(15&e)<<18|(63&i)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(n=c))}}null===n?(n=65533,o=1):n>65535&&(n-=65536,a.push(n>>>10&1023|55296),n=56320|1023&n),a.push(n),r+=o}return function(t){const e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);let i="",a=0;for(;a<e;)i+=String.fromCharCode.apply(String,t.slice(a,a+=S));return i}(a)}t.kMaxLength=r,o.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(t,e,i){return s(t,e,i)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(t,e,i){return function(t,e,i){return c(t),t<=0?n(t):void 0!==e?"string"==typeof i?n(t).fill(e,i):n(t).fill(e):n(t)}(t,e,i)},o.allocUnsafe=function(t){return h(t)},o.allocUnsafeSlow=function(t){return h(t)},o.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==o.prototype},o.compare=function(t,e){if(Q(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),Q(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let i=t.length,a=e.length;for(let r=0,n=Math.min(i,a);r<n;++r)if(t[r]!==e[r]){i=t[r],a=e[r];break}return i<a?-1:a<i?1:0},o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return o.alloc(0);let i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;const a=o.allocUnsafe(e);let r=0;for(i=0;i<t.length;++i){let e=t[i];if(Q(e,Uint8Array))r+e.length>a.length?(o.isBuffer(e)||(e=o.from(e)),e.copy(a,r)):Uint8Array.prototype.set.call(a,e,r);else{if(!o.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(a,r)}r+=e.length}return a},o.byteLength=m,o.prototype._isBuffer=!0,o.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)_(this,e,e+1);return this},o.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this},o.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this},o.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):f.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(t){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===o.compare(this,t)},o.prototype.inspect=function(){let e="";const i=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(e+=" ... "),"<Buffer "+e+">"},a&&(o.prototype[a]=o.prototype.inspect),o.prototype.compare=function(t,e,i,a,r){if(Q(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===a&&(a=0),void 0===r&&(r=this.length),e<0||i>t.length||a<0||r>this.length)throw new RangeError("out of range index");if(a>=r&&e>=i)return 0;if(a>=r)return-1;if(e>=i)return 1;if(this===t)return 0;let n=(r>>>=0)-(a>>>=0),s=(i>>>=0)-(e>>>=0);const c=Math.min(n,s),l=this.slice(a,r),h=t.slice(e,i);for(let t=0;t<c;++t)if(l[t]!==h[t]){n=l[t],s=h[t];break}return n<s?-1:s<n?1:0},o.prototype.includes=function(t,e,i){return-1!==this.indexOf(t,e,i)},o.prototype.indexOf=function(t,e,i){return y(this,t,e,i,!0)},o.prototype.lastIndexOf=function(t,e,i){return y(this,t,e,i,!1)},o.prototype.write=function(t,e,i,a){if(void 0===e)a="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)a=e,i=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(i)?(i>>>=0,void 0===a&&(a="utf8")):(a=i,i=void 0)}const r=this.length-e;if((void 0===i||i>r)&&(i=r),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");let n=!1;for(;;)switch(a){case"hex":return E(this,t,e,i);case"utf8":case"utf-8":return b(this,t,e,i);case"ascii":case"latin1":case"binary":return v(this,t,e,i);case"base64":return C(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,i);default:if(n)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),n=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const S=4096;function P(t,e,i){let a="";i=Math.min(t.length,i);for(let r=e;r<i;++r)a+=String.fromCharCode(127&t[r]);return a}function D(t,e,i){let a="";i=Math.min(t.length,i);for(let r=e;r<i;++r)a+=String.fromCharCode(t[r]);return a}function N(t,e,i){const a=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>a)&&(i=a);let r="";for(let a=e;a<i;++a)r+=X[t[a]];return r}function O(t,e,i){const a=t.slice(e,i);let r="";for(let t=0;t<a.length-1;t+=2)r+=String.fromCharCode(a[t]+256*a[t+1]);return r}function A(t,e,i){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>i)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,i,a,r,n){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<n)throw new RangeError('"value" argument is out of bounds');if(i+a>t.length)throw new RangeError("Index out of range")}function R(t,e,i,a,r){$(e,a,r,t,i,7);let n=Number(e&BigInt(4294967295));t[i++]=n,n>>=8,t[i++]=n,n>>=8,t[i++]=n,n>>=8,t[i++]=n;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[i++]=o,o>>=8,t[i++]=o,o>>=8,t[i++]=o,o>>=8,t[i++]=o,i}function B(t,e,i,a,r){$(e,a,r,t,i,7);let n=Number(e&BigInt(4294967295));t[i+7]=n,n>>=8,t[i+6]=n,n>>=8,t[i+5]=n,n>>=8,t[i+4]=n;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[i+3]=o,o>>=8,t[i+2]=o,o>>=8,t[i+1]=o,o>>=8,t[i]=o,i+8}function q(t,e,i,a,r,n){if(i+a>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function U(t,e,a,r,n){return e=+e,a>>>=0,n||q(t,0,a,4),i.write(t,e,a,r,23,4),a+4}function T(t,e,a,r,n){return e=+e,a>>>=0,n||q(t,0,a,8),i.write(t,e,a,r,52,8),a+8}o.prototype.slice=function(t,e){const i=this.length;(t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t);const a=this.subarray(t,e);return Object.setPrototypeOf(a,o.prototype),a},o.prototype.readUintLE=o.prototype.readUIntLE=function(t,e,i){t>>>=0,e>>>=0,i||A(t,e,this.length);let a=this[t],r=1,n=0;for(;++n<e&&(r*=256);)a+=this[t+n]*r;return a},o.prototype.readUintBE=o.prototype.readUIntBE=function(t,e,i){t>>>=0,e>>>=0,i||A(t,e,this.length);let a=this[t+--e],r=1;for(;e>0&&(r*=256);)a+=this[t+--e]*r;return a},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t>>>=0,e||A(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t>>>=0,e||A(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t>>>=0,e||A(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t>>>=0,e||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t>>>=0,e||A(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readBigUInt64LE=J((function(t){H(t>>>=0,"offset");const e=this[t],i=this[t+7];void 0!==e&&void 0!==i||j(t,this.length-8);const a=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,r=this[++t]+256*this[++t]+65536*this[++t]+i*2**24;return BigInt(a)+(BigInt(r)<<BigInt(32))})),o.prototype.readBigUInt64BE=J((function(t){H(t>>>=0,"offset");const e=this[t],i=this[t+7];void 0!==e&&void 0!==i||j(t,this.length-8);const a=e*2**24+65536*this[++t]+256*this[++t]+this[++t],r=this[++t]*2**24+65536*this[++t]+256*this[++t]+i;return(BigInt(a)<<BigInt(32))+BigInt(r)})),o.prototype.readIntLE=function(t,e,i){t>>>=0,e>>>=0,i||A(t,e,this.length);let a=this[t],r=1,n=0;for(;++n<e&&(r*=256);)a+=this[t+n]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*e)),a},o.prototype.readIntBE=function(t,e,i){t>>>=0,e>>>=0,i||A(t,e,this.length);let a=e,r=1,n=this[t+--a];for(;a>0&&(r*=256);)n+=this[t+--a]*r;return r*=128,n>=r&&(n-=Math.pow(2,8*e)),n},o.prototype.readInt8=function(t,e){return t>>>=0,e||A(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){t>>>=0,e||A(t,2,this.length);const i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},o.prototype.readInt16BE=function(t,e){t>>>=0,e||A(t,2,this.length);const i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},o.prototype.readInt32LE=function(t,e){return t>>>=0,e||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t>>>=0,e||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readBigInt64LE=J((function(t){H(t>>>=0,"offset");const e=this[t],i=this[t+7];void 0!==e&&void 0!==i||j(t,this.length-8);const a=this[t+4]+256*this[t+5]+65536*this[t+6]+(i<<24);return(BigInt(a)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),o.prototype.readBigInt64BE=J((function(t){H(t>>>=0,"offset");const e=this[t],i=this[t+7];void 0!==e&&void 0!==i||j(t,this.length-8);const a=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(a)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+i)})),o.prototype.readFloatLE=function(t,e){return t>>>=0,e||A(t,4,this.length),i.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t>>>=0,e||A(t,4,this.length),i.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t>>>=0,e||A(t,8,this.length),i.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t>>>=0,e||A(t,8,this.length),i.read(this,t,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,i,a){if(t=+t,e>>>=0,i>>>=0,!a){L(this,t,e,i,Math.pow(2,8*i)-1,0)}let r=1,n=0;for(this[e]=255&t;++n<i&&(r*=256);)this[e+n]=t/r&255;return e+i},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(t,e,i,a){if(t=+t,e>>>=0,i>>>=0,!a){L(this,t,e,i,Math.pow(2,8*i)-1,0)}let r=i-1,n=1;for(this[e+r]=255&t;--r>=0&&(n*=256);)this[e+r]=t/n&255;return e+i},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,1,255,0),this[e]=255&t,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeBigUInt64LE=J((function(t,e=0){return R(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),o.prototype.writeBigUInt64BE=J((function(t,e=0){return B(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),o.prototype.writeIntLE=function(t,e,i,a){if(t=+t,e>>>=0,!a){const a=Math.pow(2,8*i-1);L(this,t,e,i,a-1,-a)}let r=0,n=1,o=0;for(this[e]=255&t;++r<i&&(n*=256);)t<0&&0===o&&0!==this[e+r-1]&&(o=1),this[e+r]=(t/n|0)-o&255;return e+i},o.prototype.writeIntBE=function(t,e,i,a){if(t=+t,e>>>=0,!a){const a=Math.pow(2,8*i-1);L(this,t,e,i,a-1,-a)}let r=i-1,n=1,o=0;for(this[e+r]=255&t;--r>=0&&(n*=256);)t<0&&0===o&&0!==this[e+r+1]&&(o=1),this[e+r]=(t/n|0)-o&255;return e+i},o.prototype.writeInt8=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeInt32LE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,i){return t=+t,e>>>=0,i||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeBigInt64LE=J((function(t,e=0){return R(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),o.prototype.writeBigInt64BE=J((function(t,e=0){return B(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),o.prototype.writeFloatLE=function(t,e,i){return U(this,t,e,!0,i)},o.prototype.writeFloatBE=function(t,e,i){return U(this,t,e,!1,i)},o.prototype.writeDoubleLE=function(t,e,i){return T(this,t,e,!0,i)},o.prototype.writeDoubleBE=function(t,e,i){return T(this,t,e,!1,i)},o.prototype.copy=function(t,e,i,a){if(!o.isBuffer(t))throw new TypeError("argument should be a Buffer");if(i||(i=0),a||0===a||(a=this.length),e>=t.length&&(e=t.length),e||(e=0),a>0&&a<i&&(a=i),a===i)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),t.length-e<a-i&&(a=t.length-e+i);const r=a-i;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,i,a):Uint8Array.prototype.set.call(t,this.subarray(i,a),e),r},o.prototype.fill=function(t,e,i,a){if("string"==typeof t){if("string"==typeof e?(a=e,e=0,i=this.length):"string"==typeof i&&(a=i,i=this.length),void 0!==a&&"string"!=typeof a)throw new TypeError("encoding must be a string");if("string"==typeof a&&!o.isEncoding(a))throw new TypeError("Unknown encoding: "+a);if(1===t.length){const e=t.charCodeAt(0);("utf8"===a&&e<128||"latin1"===a)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;let r;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(r=e;r<i;++r)this[r]=t;else{const n=o.isBuffer(t)?t:o.from(t,a),s=n.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(r=0;r<i-e;++r)this[r+e]=n[r%s]}return this};const F={};function M(t,e,i){F[t]=class extends i{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function G(t){let e="",i=t.length;const a="-"===t[0]?1:0;for(;i>=a+4;i-=3)e=`_${t.slice(i-3,i)}${e}`;return`${t.slice(0,i)}${e}`}function $(t,e,i,a,r,n){if(t>i||t<e){const a="bigint"==typeof e?"n":"";let r;throw r=n>3?0===e||e===BigInt(0)?`>= 0${a} and < 2${a} ** ${8*(n+1)}${a}`:`>= -(2${a} ** ${8*(n+1)-1}${a}) and < 2 ** ${8*(n+1)-1}${a}`:`>= ${e}${a} and <= ${i}${a}`,new F.ERR_OUT_OF_RANGE("value",r,t)}!function(t,e,i){H(e,"offset"),void 0!==t[e]&&void 0!==t[e+i]||j(e,t.length-(i+1))}(a,r,n)}function H(t,e){if("number"!=typeof t)throw new F.ERR_INVALID_ARG_TYPE(e,"number",t)}function j(t,e,i){if(Math.floor(t)!==t)throw H(t,i),new F.ERR_OUT_OF_RANGE(i||"offset","an integer",t);if(e<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(i||"offset",`>= ${i?1:0} and <= ${e}`,t)}M("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),M("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),M("ERR_OUT_OF_RANGE",(function(t,e,i){let a=`The value of "${t}" is out of range.`,r=i;return Number.isInteger(i)&&Math.abs(i)>2**32?r=G(String(i)):"bigint"==typeof i&&(r=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(r=G(r)),r+="n"),a+=` It must be ${e}. Received ${r}`,a}),RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function z(t,e){let i;e=e||1/0;const a=t.length;let r=null;const n=[];for(let o=0;o<a;++o){if(i=t.charCodeAt(o),i>55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&n.push(239,191,189);continue}if(o+1===a){(e-=3)>-1&&n.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&n.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&n.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;n.push(i)}else if(i<2048){if((e-=2)<0)break;n.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;n.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;n.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return n}function V(t){return e.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,i,a){let r;for(r=0;r<a&&!(r+i>=e.length||r>=t.length);++r)e[r+i]=t[r];return r}function Q(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function Z(t){return t!=t}const X=function(){const t="0123456789abcdef",e=new Array(256);for(let i=0;i<16;++i){const a=16*i;for(let r=0;r<16;++r)e[a+r]=t[i]+t[r]}return e}();function J(t){return"undefined"==typeof BigInt?K:t}function K(){throw new Error("BigInt not supported")}}(c);var y={exports:{}};!function(t){var e,i;t.exports=(e={year:0,month:1,day:2,hour:3,minute:4,second:5},i={},function(t,a,r){var n,o=function(t,e,a){void 0===a&&(a={});var r=new Date(t),n=function(t,e){void 0===e&&(e={});var a=e.timeZoneName||"short",r=t+"|"+a,n=i[r];return n||(n=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),i[r]=n),n}(e,a);return n.formatToParts(r)},s=function(t,i){for(var a=o(t,i),n=[],s=0;s<a.length;s+=1){var c=a[s],l=c.type,h=c.value,p=e[l];p>=0&&(n[p]=parseInt(h,10))}var u=n[3],d=24===u?0:u,m=n[0]+"-"+n[1]+"-"+n[2]+" "+d+":"+n[4]+":"+n[5]+":000",f=+t;return(r.utc(m).valueOf()-(f-=f%1e3))/6e4},c=a.prototype;c.tz=function(t,e){void 0===t&&(t=n);var i,a=this.utcOffset(),o=this.toDate(),s=o.toLocaleString("en-US",{timeZone:t}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(Number(l)){if(i=r(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),e){var h=i.utcOffset();i=i.add(a-h,"minute")}}else i=this.utcOffset(0,e);return i.$x.$timezone=t,i},c.offsetName=function(t){var e=this.$x.$timezone||r.tz.guess(),i=o(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return i&&i.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var i=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(i,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,i){var a=i&&e,o=i||e||n,c=s(+r(),o);if("string"!=typeof t)return r(t).tz(o);var l=function(t,e,i){var a=t-60*e*1e3,r=s(a,i);if(e===r)return[a,e];var n=s(a-=60*(r-e)*1e3,i);return r===n?[a,r]:[t-60*Math.min(r,n)*1e3,Math.max(r,n)]}(r.utc(t,a).valueOf(),c,o),h=l[0],p=l[1],u=r(h).utcOffset(p);return u.$x.$timezone=o,u},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){n=t}})}(y);var w=y.exports,E={exports:{}};!function(t){t.exports=function(){var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,r,n){var o=r.prototype;n.utc=function(t){return new r({date:t,utc:!0,args:arguments})},o.utc=function(e){var i=n(this.toDate(),{locale:this.$L,utc:!0});return e?i.add(this.utcOffset(),t):i},o.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),s.call(this,t)};var c=o.init;o.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(a,r){var n=this.$utils().u;if(n(a))return this.$u?0:n(this.$offset)?l.call(this):this.$offset;if("string"==typeof a&&(a=function(t){void 0===t&&(t="");var a=t.match(e);if(!a)return null;var r=(""+a[0]).match(i)||["-",0,0],n=r[0],o=60*+r[1]+ +r[2];return 0===o?0:"+"===n?o:-o}(a),null===a))return this;var o=Math.abs(a)<=16?60*a:a,s=this;if(r)return s.$offset=o,s.$u=0===a,s;if(0!==a){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(o+c,t)).$offset=o,s.$x.$localOffset=c}else s=this.utc();return s};var h=o.format;o.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,e)},o.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var p=o.toDate;o.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var u=o.diff;o.diff=function(t,e,i){if(t&&this.$u===t.$u)return u.call(this,t,e,i);var a=this.local(),r=n(t).local();return u.call(a,r,e,i)}}}()}(E);var b,v,C,I,k=E.exports;class x{abilityNo;abilityGrade;abilityValue;constructor(t){const{ability_no:e,ability_grade:i,ability_value:a}=t;this.abilityNo=e,this.abilityGrade=i,this.abilityValue=a}}class S{abilityPresetGrade;abilityInfo;constructor(t){const{ability_preset_grade:e,ability_info:i}=t;this.abilityPresetGrade=e,this.abilityInfo=i.map((t=>new x(t)))}}class P{date;abilityGrade;abilityInfo;remainFame;presetNo;abilityPreset1;abilityPreset2;abilityPreset3;constructor(t){const{date:e,ability_grade:i,ability_info:a,remain_fame:r,preset_no:n,ability_preset_1:o,ability_preset_2:s,ability_preset_3:c}=t;this.date=e?new Date(e):null,this.abilityGrade=i,this.abilityInfo=a.map((t=>new x(t))),this.remainFame=r,this.presetNo=n,this.abilityPreset1=o?new S(o):null,this.abilityPreset2=s?new S(s):null,this.abilityPreset3=c?new S(c):null}}class D{colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:i,saturation:a,value:r}=t;this.colorRange=e,this.hue=i,this.saturation=a,this.value=r}}class N{optionType;optionValue;constructor(t){const{option_type:e,option_value:i}=t;this.optionType=e,this.optionValue=i}}class O{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire=null;isExpired=null;dateOptionExpire=null;isOptionExpired=null;cashItemLabel;cashItemColoringPrism;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:i,cash_item_name:a,cash_item_icon:r,cash_item_description:n,cash_item_option:o,date_expire:s,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=i,this.cashItemName=a,this.cashItemIcon=r,this.cashItemDescription=n,this.cashItemOption=o.map((t=>new N(t))),this.cashItemLabel=l,this.cashItemColoringPrism=h?new D(h):null,"expired"===s?this.isExpired=!0:"string"==typeof s&&(this.dateExpire=s?new Date(s):null),"expired"===c?this.isOptionExpired=!0:"string"==typeof c&&(this.dateOptionExpire=c?new Date(c):null)}}class A{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:i,mix_color:a,mix_rate:r}=t;this.faceName=e,this.baseColor=i,this.mixColor=a,this.mixRate=r}}class L{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:i,mix_color:a,mix_rate:r}=t;this.hairName=e,this.baseColor=i,this.mixColor=a,this.mixRate=r}}class R{skinName;colorStyle;hue;saturation;brightness;constructor(t){const{skin_name:e,color_style:i,hue:a,saturation:r,brightness:n}=t;this.skinName=e,this.colorStyle=i,this.hue=a,this.saturation=r,this.brightness=n}}class B{androidName;androidNickname;androidIcon;androidDescription;androidGender;androidGrade;androidHair;androidFace;androidSkin;androidEarSensorClipFlag;androidNonHumanoidFlag;androidShopUsableFlag;constructor(t){const{android_name:e,android_nickname:i,android_icon:a,android_description:r,android_gender:n,android_grade:o,android_hair:s,android_face:c,android_skin:l,android_ear_sensor_clip_flag:h,android_non_humanoid_flag:p,android_shop_usable_flag:u}=t;this.androidName=e,this.androidNickname=i,this.androidIcon=a,this.androidDescription=r,this.androidGender=n,this.androidGrade=o,this.androidHair=new L(s),this.androidFace=new A(c),this.androidSkin=l?new R(l):null,this.androidEarSensorClipFlag=h,this.androidNonHumanoidFlag=p,this.androidShopUsableFlag=u}}class q{date;androidName;androidNickname;androidIcon;androidDescription;androidHair;androidFace;androidSkin;androidCashItemEquipment;androidEarSensorClipFlag;androidGender;androidGrade;androidNonHumanoidFlag;androidShopUsableFlag;presetNo;androidPreset1;androidPreset2;androidPreset3;constructor(t){const{date:e,android_name:i,android_nickname:a,android_icon:r,android_description:n,android_hair:o,android_face:s,android_skin:c,android_cash_item_equipment:l,android_ear_sensor_clip_flag:h,android_gender:p,android_grade:u,android_non_humanoid_flag:d,android_shop_usable_flag:m,preset_no:f,android_preset_1:_,android_preset_2:g,android_preset_3:y}=t;this.date=e?new Date(e):null,this.androidName=i,this.androidNickname=a,this.androidIcon=r,this.androidDescription=n,this.androidHair=o?new L(o):null,this.androidFace=s?new A(s):null,this.androidSkin=c?new R(c):null,this.androidCashItemEquipment=l.map((t=>new O(t))),this.androidEarSensorClipFlag=h??null,this.androidGender=p,this.androidGrade=u,this.androidNonHumanoidFlag=d,this.androidShopUsableFlag=m,this.presetNo=f,this.androidPreset1=_?new B(_):null,this.androidPreset2=g?new B(g):null,this.androidPreset3=y?new B(y):null}}class U{date;characterName;worldName;characterGender;characterClass;characterClassLevel;characterLevel;characterExp;characterExpRate;characterGuildName;characterImage;characterDateCreate;accessFlag;liberationQuestClearFlag;constructor(t){const{date:e,character_name:i,world_name:a,character_gender:r,character_class:n,character_class_level:o,character_level:s,character_exp:c,character_exp_rate:l,character_guild_name:h,character_image:p,character_date_create:u,access_flag:d,liberation_quest_clear_flag:m}=t;this.date=e?new Date(e):null,this.characterName=i,this.worldName=a,this.characterGender=r,this.characterClass=n,this.characterClassLevel=o,this.characterLevel=s,this.characterExp=c,this.characterExpRate=l,this.characterGuildName=h,this.characterImage=p,this.characterDateCreate=new Date(u),this.accessFlag=d,this.liberationQuestClearFlag=m}get isAccessFlag(){return"true"===this.accessFlag}get isLiberationQuestClearFlag(){return"true"===this.liberationQuestClearFlag}}class T{faceName;baseColor;mixColor;mixRate;constructor(t){const{face_name:e,base_color:i,mix_color:a,mix_rate:r}=t;this.faceName=e,this.baseColor=i,this.mixColor=a,this.mixRate=r}}class F{hairName;baseColor;mixColor;mixRate;constructor(t){const{hair_name:e,base_color:i,mix_color:a,mix_rate:r}=t;this.hairName=e,this.baseColor=i,this.mixColor=a,this.mixRate=r}}class M{skinName;colorStyle;hue;saturation;brightness;constructor(t){const{skin_name:e,color_style:i,hue:a,saturation:r,brightness:n}=t;this.skinName=e,this.colorStyle=i,this.hue=a,this.saturation=r,this.brightness=n}}class G{date;characterGender;characterClass;characterHair;characterFace;characterSkin;additionalCharacterHair;additionalCharacterFace;additionalCharacterSkin;constructor(t){const{date:e,character_gender:i,character_class:a,character_hair:r,character_face:n,character_skin:o,additional_character_hair:s,additional_character_face:c,additional_character_skin:l}=t;this.date=e?new Date(e):null,this.characterGender=i,this.characterClass=a,this.characterHair=r?new F(r):null,this.characterFace=n?new T(n):null,this.characterSkin=o?new M(o):null,this.additionalCharacterHair=s?new F(s):null,this.additionalCharacterFace=c?new T(c):null,this.additionalCharacterSkin=l?new M(l):null}}class ${colorRange;hue;saturation;value;constructor(t){const{color_range:e,hue:i,saturation:a,value:r}=t;this.colorRange=e,this.hue=i,this.saturation=a,this.value=r}}class H{optionType;optionValue;constructor(t){const{option_type:e,option_value:i}=t;this.optionType=e,this.optionValue=i}}class j{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire=null;isExpired=null;dateOptionExpire=null;isOptionExpired=null;cashItemLabel;cashItemColoringPrism;itemGender;skills;constructor(t){const{cash_item_equipment_part:e,cash_item_equipment_slot:i,cash_item_name:a,cash_item_icon:r,cash_item_description:n,cash_item_option:o,date_expire:s,date_option_expire:c,cash_item_label:l,cash_item_coloring_prism:h,item_gender:p,skills:u}=t;this.cashItemEquipmentPart=e,this.cashItemEquipmentSlot=i,this.cashItemName=a,this.cashItemIcon=r,this.cashItemDescription=n,this.cashItemOption=o.map((t=>new H(t))),this.cashItemLabel=l,this.cashItemColoringPrism=h?new $(h):null,this.itemGender=p,this.skills=u,"expired"===s?this.isExpired=!0:"string"==typeof s&&(this.dateExpire=s?new Date(s):null),"expired"===c?this.isOptionExpired=!0:"string"==typeof c&&(this.dateOptionExpire=c?new Date(c):null)}}class Y{date;characterGender;characterClass;characterLookMode;presetNo;cashItemEquipmentBase;cashItemEquipmentPreset1;cashItemEquipmentPreset2;cashItemEquipmentPreset3;additionalCashItemEquipmentBase;additionalCashItemEquipmentPreset1;additionalCashItemEquipmentPreset2;additionalCashItemEquipmentPreset3;constructor(t){const{date:e,character_gender:i,character_class:a,character_look_mode:r,preset_no:n,cash_item_equipment_base:o,cash_item_equipment_preset_1:s,cash_item_equipment_preset_2:c,cash_item_equipment_preset_3:l,additional_cash_item_equipment_base:h,additional_cash_item_equipment_preset_1:p,additional_cash_item_equipment_preset_2:u,additional_cash_item_equipment_preset_3:d}=t;this.date=e?new Date(e):null,this.characterGender=i,this.characterClass=a,this.characterLookMode=r,this.presetNo=n,this.cashItemEquipmentBase=o.map((t=>new j(t))),this.cashItemEquipmentPreset1=s.map((t=>new j(t))),this.cashItemEquipmentPreset2=c.map((t=>new j(t))),this.cashItemEquipmentPreset3=l.map((t=>new j(t))),this.additionalCashItemEquipmentBase=h.map((t=>new j(t))),this.additionalCashItemEquipmentPreset1=p.map((t=>new j(t))),this.additionalCashItemEquipmentPreset2=u.map((t=>new j(t))),this.additionalCashItemEquipmentPreset3=d.map((t=>new j(t)))}}class z{date;characterClass;worldName;dojangBestFloor;dateDojangRecord;dojangBestTime;constructor(t){const{date:e,character_class:i,world_name:a,dojang_best_floor:r,date_dojang_record:n,dojang_best_time:o}=t;this.date=e?new Date(e):null,this.characterClass=i,this.worldName=a,this.dojangBestFloor=r,this.dateDojangRecord=n?new Date(n):null,this.dojangBestTime=o}}class V{ocid;constructor(t){const{ocid:e}=t;this.ocid=e}}class W{hexaSkillId;constructor(t){const{hexa_skill_id:e}=t;this.hexaSkillId=e}}class Q{hexaCoreName;hexaCoreLevel;hexaCoreType;linkedSkill;constructor(t){const{hexa_core_name:e,hexa_core_level:i,hexa_core_type:a,linked_skill:r}=t;this.hexaCoreName=e,this.hexaCoreLevel=i,this.hexaCoreType=a,this.linkedSkill=r.map((t=>new W(t)))}}class Z{date;characterHexaCoreEquipment;constructor(t){const{date:e,character_hexa_core_equipment:i}=t;this.date=e?new Date(e):null,this.characterHexaCoreEquipment=i?.map((t=>new Q(t)))??[]}}class X{slotId;mainStatName;subStatName1;subStatName2;mainStatLevel;subStatLevel1;subStatLevel2;statGrade;constructor(t){const{slot_id:e,main_stat_name:i,sub_stat_name_1:a,sub_stat_name_2:r,main_stat_level:n,sub_stat_level_1:o,sub_stat_level_2:s,stat_grade:c}=t;this.slotId=e,this.mainStatName=i,this.subStatName1=a,this.subStatName2=r,this.mainStatLevel=n,this.subStatLevel1=o,this.subStatLevel2=s,this.statGrade=c}}class J{date;characterClass;characterHexaStatCore;characterHexaStatCore2;characterHexaStatCore3;presetHexaStatCore;presetHexaStatCore2;presetHexaStatCore3;constructor(t){const{date:e,character_class:i,character_hexa_stat_core:a,character_hexa_stat_core_2:r,character_hexa_stat_core_3:n,preset_hexa_stat_core:o,preset_hexa_stat_core_2:s,preset_hexa_stat_core_3:c}=t;this.date=e?new Date(e):null,this.characterClass=i,this.characterHexaStatCore=a?.map((t=>new X(t)))??[],this.characterHexaStatCore2=r?.map((t=>new X(t)))??[],this.characterHexaStatCore3=n?.map((t=>new X(t)))??[],this.presetHexaStatCore=o?.map((t=>new X(t)))??[],this.presetHexaStatCore2=s?.map((t=>new X(t)))??[],this.presetHexaStatCore3=c?.map((t=>new X(t)))??[]}}class K{statType;statPoint;statLevel;statIncrease;constructor(t){const{stat_type:e,stat_point:i,stat_level:a,stat_increase:r}=t;this.statType=e,this.statPoint=i,this.statLevel=a,this.statIncrease=r}}class tt{date;characterClass;usePresetNo;useAvailableHyperStat;hyperStatPreset1;hyperStatPreset1RemainPoint;hyperStatPreset2;hyperStatPreset2RemainPoint;hyperStatPreset3;hyperStatPreset3RemainPoint;constructor(t){const{date:e,character_class:i,use_preset_no:a,use_available_hyper_stat:r,hyper_stat_preset_1:n,hyper_stat_preset_1_remain_point:o,hyper_stat_preset_2:s,hyper_stat_preset_2_remain_point:c,hyper_stat_preset_3:l,hyper_stat_preset_3_remain_point:h}=t;this.date=e?new Date(e):null,this.characterClass=i,this.usePresetNo=a,this.useAvailableHyperStat=r,this.hyperStatPreset1=n.map((t=>new K(t))),this.hyperStatPreset1RemainPoint=o,this.hyperStatPreset2=s.map((t=>new K(t))),this.hyperStatPreset2RemainPoint=c,this.hyperStatPreset3=l.map((t=>new K(t))),this.hyperStatPreset3RemainPoint=h}}class et{date;originUrl;originImage;image;action;emotion;wmotion;actionFrame;emotionFrame;width;height;x;y;constructor(t){this.date=t.date,this.originUrl=t.originUrl,this.originImage=t.originImage,this.image=t.image,this.action=t.action,this.emotion=t.emotion,this.wmotion=t.wmotion,this.actionFrame=t.actionFrame,this.emotionFrame=t.emotionFrame,this.width=t.width,this.height=t.height,this.x=t.x,this.y=t.y}}t.CharacterImageAction=void 0,(b=t.CharacterImageAction||(t.CharacterImageAction={})).Stand1="A00",b.Stand2="A01",b.Walk1="A02",b.Walk2="A03",b.Prone="A04",b.Fly="A05",b.Jump="A06",b.Sit="A07",b.Ladder="A08",b.Rope="A09",b.Heal="A10",b.Alert="A11",b.ProneStab="A12",b.SwingO1="A13",b.SwingO2="A14",b.SwingO3="A15",b.SwingOF="A16",b.SwingP1="A17",b.SwingP2="A18",b.SwingPF="A19",b.SwingT1="A20",b.SwingT2="A21",b.SwingT3="A22",b.SwingTF="A23",b.StabO1="A24",b.StabO2="A25",b.StabOF="A26",b.StabT1="A27",b.StabT2="A28",b.StabTF="A29",b.Shoot1="A30",b.Shoot2="A31",b.ShootF="A32",b.Dead="A33",b.GhostWalk="A34",b.GhostStand="A35",b.GhostJump="A36",b.GhostProneStab="A37",b.GhostLadder="A38",b.GhostRope="A39",b.GhostFly="A40",b.GhostSit="A41",t.CharacterImageEmotion=void 0,(v=t.CharacterImageEmotion||(t.CharacterImageEmotion={})).Default="E00",v.Wink="E01",v.Smile="E02",v.Cry="E03",v.Angry="E04",v.Bewildered="E05",v.Blink="E06",v.Blaze="E07",v.Bowing="E08",v.Cheers="E09",v.Chu="E10",v.Dam="E11",v.Despair="E12",v.Glitter="E13",v.Hit="E14",v.Hot="E15",v.Hum="E16",v.Love="E17",v.Oops="E18",v.Pain="E19",v.Troubled="E20",v.QBlue="E21",v.Shine="E22",v.Stunned="E23",v.Vomit="E24",t.CharacterImageWeaponMotion=void 0,(C=t.CharacterImageWeaponMotion||(t.CharacterImageWeaponMotion={})).Default="W00",C.OneHand="W01",C.TwoHands="W02",C.Gun="W03",C.Nothing="W04";class it{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;damage;allStat;equipmentLevelDecrease;constructor(t){const{str:e,dex:i,int:a,luk:r,max_hp:n,max_mp:o,attack_power:s,magic_power:c,armor:l,speed:h,jump:p,boss_damage:u,damage:d,all_stat:m,equipment_level_decrease:f}=t;this.str=e,this.dex=i,this.int=a,this.luk=r,this.maxHp=n,this.maxMp=o,this.attackPower=s,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=u,this.damage=d,this.allStat=m,this.equipmentLevelDecrease=f}}class at{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;maxHpRate;maxMpRate;baseEquipmentLevel;constructor(t){const{str:e,dex:i,int:a,luk:r,max_hp:n,max_mp:o,attack_power:s,magic_power:c,armor:l,speed:h,jump:p,boss_damage:u,ignore_monster_armor:d,all_stat:m,max_hp_rate:f,max_mp_rate:_,base_equipment_level:g}=t;this.str=e,this.dex=i,this.int=a,this.luk=r,this.maxHp=n,this.maxMp=o,this.attackPower=s,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=u,this.ignoreMonsterArmor=d,this.allStat=m,this.maxHpRate=f,this.maxMpRate=_,this.baseEquipmentLevel=g}}class rt{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:i,int:a,luk:r,max_hp:n,max_mp:o,attack_power:s,magic_power:c,armor:l,speed:h,jump:p}=t;this.str=e,this.dex=i,this.int=a,this.luk=r,this.maxHp=n,this.maxMp=o,this.attackPower=s,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p}}class nt{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;exceptionalUpgrade;constructor(t){const{str:e,dex:i,int:a,luk:r,max_hp:n,max_mp:o,attack_power:s,magic_power:c,exceptional_upgrade:l}=t;this.str=e,this.dex=i,this.int=a,this.luk=r,this.maxHp=n,this.maxMp=o,this.attackPower=s,this.magicPower=c,this.exceptionalUpgrade=l??0}}class ot{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;constructor(t){const{str:e,dex:i,int:a,luk:r,max_hp:n,max_mp:o,attack_power:s,magic_power:c,armor:l,speed:h,jump:p}=t;this.str=e,this.dex=i,this.int=a,this.luk=r,this.maxHp=n,this.maxMp=o,this.attackPower=s,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p}}class st{str;dex;int;luk;maxHp;maxMp;attackPower;magicPower;armor;speed;jump;bossDamage;ignoreMonsterArmor;allStat;damage;equipmentLevelDecrease;maxHpRate;maxMpRate;constructor(t){const{str:e,dex:i,int:a,luk:r,max_hp:n,max_mp:o,attack_power:s,magic_power:c,armor:l,speed:h,jump:p,boss_damage:u,ignore_monster_armor:d,all_stat:m,damage:f,equipment_level_decrease:_,max_hp_rate:g,max_mp_rate:y}=t;this.str=e,this.dex=i,this.int=a,this.luk=r,this.maxHp=n,this.maxMp=o,this.attackPower=s,this.magicPower=c,this.armor=l,this.speed=h,this.jump=p,this.bossDamage=u,this.ignoreMonsterArmor=d,this.allStat=m,this.damage=f,this.equipmentLevelDecrease=_,this.maxHpRate=g,this.maxMpRate=y}}class ct{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire=null;isExpired=null;constructor(t){const{item_equipment_part:e,item_equipment_slot:i,item_name:a,item_icon:r,item_description:n,item_shape_name:o,item_shape_icon:s,item_gender:c,item_total_option:l,item_base_option:h,equipment_level_increase:p,item_exceptional_option:u,item_add_option:d,growth_exp:m,growth_level:f,scroll_upgrade:_,cuttable_count:g,golden_hammer_flag:y,scroll_resilience_count:w,scroll_upgradeable_count:E,soul_name:b,soul_option:v,item_etc_option:C,starforce:I,starforce_scroll_flag:k,item_starforce_option:x,special_ring_level:S,date_expire:P}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=i,this.itemName=a,this.itemIcon=r,this.itemDescription=n,this.itemShapeName=o,this.itemShapeIcon=s,this.itemGender=c,this.itemTotalOption=new st(l),this.itemBaseOption=new at(h),this.equipmentLevelIncrease=p,this.itemExceptionalOption=new nt(u),this.itemAddOption=new it(d),this.growthExp=m,this.growthLevel=f,this.scrollUpgrade=_,this.cuttableCount=g,this.goldenHammerFlag=y,this.scrollResilienceCount=w,this.scrollUpgradeableCount=E,this.soulName=b,this.soulOption=v,this.itemEtcOption=new rt(C),this.starforce=I,this.starforceScrollFlag=k,this.itemStarforceOption=new ot(x),this.specialRingLevel=S,"expired"===P?this.isExpired=!0:"string"==typeof P&&(this.dateExpire=P?new Date(P):null)}}class lt{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;potentialOptionGrade;additionalPotentialOptionGrade;potentialOption1;potentialOption2;potentialOption3;additionalPotentialOption1;additionalPotentialOption2;additionalPotentialOption3;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire=null;isExpired=null;constructor(t){const{item_equipment_part:e,item_equipment_slot:i,item_name:a,item_icon:r,item_description:n,item_shape_name:o,item_shape_icon:s,item_gender:c,item_total_option:l,item_base_option:h,potential_option_grade:p,additional_potential_option_grade:u,potential_option_1:d,potential_option_2:m,potential_option_3:f,additional_potential_option_1:_,additional_potential_option_2:g,additional_potential_option_3:y,equipment_level_increase:w,item_exceptional_option:E,item_add_option:b,growth_exp:v,growth_level:C,scroll_upgrade:I,cuttable_count:k,golden_hammer_flag:x,scroll_resilience_count:S,scroll_upgradeable_count:P,soul_name:D,soul_option:N,item_etc_option:O,starforce:A,starforce_scroll_flag:L,item_starforce_option:R,special_ring_level:B,date_expire:q}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=i,this.itemName=a,this.itemIcon=r,this.itemDescription=n,this.itemShapeName=o,this.itemShapeIcon=s,this.itemGender=c,this.itemTotalOption=new st(l),this.itemBaseOption=new at(h),this.potentialOptionGrade=p,this.additionalPotentialOptionGrade=u,this.potentialOption1=d,this.potentialOption2=m,this.potentialOption3=f,this.additionalPotentialOption1=_,this.additionalPotentialOption2=g,this.additionalPotentialOption3=y,this.equipmentLevelIncrease=w,this.itemExceptionalOption=new nt(E),this.itemAddOption=new it(b),this.growthExp=v,this.growthLevel=C,this.scrollUpgrade=I,this.cuttableCount=k,this.goldenHammerFlag=x,this.scrollResilienceCount=S,this.scrollUpgradeableCount=P,this.soulName=D,this.soulOption=N,this.itemEtcOption=new rt(O),this.starforce=A,this.starforceScrollFlag=L,this.itemStarforceOption=new ot(R),this.specialRingLevel=B,"expired"===q?this.isExpired=!0:"string"==typeof q&&(this.dateExpire=q?new Date(q):null)}}class ht{itemEquipmentPart;itemEquipmentSlot;itemName;itemIcon;itemDescription;itemShapeName;itemShapeIcon;itemGender;itemTotalOption;itemBaseOption;equipmentLevelIncrease;itemExceptionalOption;itemAddOption;growthExp;growthLevel;scrollUpgrade;cuttableCount;goldenHammerFlag;scrollResilienceCount;scrollUpgradeableCount;soulName;soulOption;itemEtcOption;starforce;starforceScrollFlag;itemStarforceOption;specialRingLevel;dateExpire=null;isExpired=null;constructor(t){const{item_equipment_part:e,item_equipment_slot:i,item_name:a,item_icon:r,item_description:n,item_shape_name:o,item_shape_icon:s,item_gender:c,item_total_option:l,item_base_option:h,equipment_level_increase:p,item_exceptional_option:u,item_add_option:d,growth_exp:m,growth_level:f,scroll_upgrade:_,cuttable_count:g,golden_hammer_flag:y,scroll_resilience_count:w,scroll_upgradeable_count:E,soul_name:b,soul_option:v,item_etc_option:C,starforce:I,starforce_scroll_flag:k,item_starforce_option:x,special_ring_level:S,date_expire:P}=t;this.itemEquipmentPart=e,this.itemEquipmentSlot=i,this.itemName=a,this.itemIcon=r,this.itemDescription=n,this.itemShapeName=o,this.itemShapeIcon=s,this.itemGender=c,this.itemTotalOption=new st(l),this.itemBaseOption=new at(h),this.equipmentLevelIncrease=p,this.itemExceptionalOption=new nt(u),this.itemAddOption=new it(d),this.growthExp=m,this.growthLevel=f,this.scrollUpgrade=_,this.cuttableCount=g,this.goldenHammerFlag=y,this.scrollResilienceCount=w,this.scrollUpgradeableCount=E,this.soulName=b,this.soulOption=v,this.itemEtcOption=new rt(C),this.starforce=I,this.starforceScrollFlag=k,this.itemStarforceOption=new ot(x),this.specialRingLevel=S,"expired"===P?this.isExpired=!0:"string"==typeof P&&(this.dateExpire=P?new Date(P):null)}}class pt{medalShapeName;medalShapeIcon;medalShapeDescription;medalShapeChangedName;medalShapeChangedIcon;medalShapeChangedDescription;constructor(t){const{medal_shape_name:e,medal_shape_icon:i,medal_shape_description:a,medal_shape_changed_name:r,medal_shape_changed_icon:n,medal_shape_changed_description:o}=t;this.medalShapeName=e,this.medalShapeIcon=i,this.medalShapeDescription=a,this.medalShapeChangedName=r,this.medalShapeChangedIcon=n,this.medalShapeChangedDescription=o}}class ut{titleName;titleIcon;titleDescription;dateExpire=null;isExpired=null;dateOptionExpire=null;isOptionExpired=null;titleShapeName;titleShapeIcon;titleShapeDescription;constructor(t){const{title_name:e,title_icon:i,title_description:a,date_expire:r,date_option_expire:n,title_shape_name:o,title_shape_icon:s,title_shape_description:c}=t;this.titleName=e,this.titleIcon=i,this.titleDescription=a,this.titleShapeName=o,this.titleShapeIcon=s,this.titleShapeDescription=c,"expired"===r?this.isExpired=!0:"string"==typeof r&&(this.dateExpire=r?new Date(r):null),"expired"===n?this.isOptionExpired=!0:"string"==typeof n&&(this.dateOptionExpire=n?new Date(n):null)}}class dt{date;characterGender;characterClass;presetNo;itemEquipment;itemEquipmentPreset1;itemEquipmentPreset2;itemEquipmentPreset3;title;medalShape;dragonEquipment;mechanicEquipment;constructor(t){const{date:e,character_gender:i,character_class:a,preset_no:r,item_equipment:n,item_equipment_preset_1:o,item_equipment_preset_2:s,item_equipment_preset_3:c,title:l,medal_shape:h,dragon_equipment:p,mechanic_equipment:u}=t;this.date=e?new Date(e):null,this.characterGender=i,this.characterClass=a,this.presetNo=r,this.itemEquipment=n.map((t=>new lt(t))),this.itemEquipmentPreset1=o?.map((t=>new lt(t)))??[],this.itemEquipmentPreset2=s?.map((t=>new lt(t)))??[],this.itemEquipmentPreset3=c?.map((t=>new lt(t)))??[],this.title=l?new ut(l):null,this.medalShape=h?new pt(h):null,this.dragonEquipment=p.map((t=>new ct(t))),this.mechanicEquipment=u.map((t=>new ht(t)))}}class mt{skillName;skillDescription;skillLevel;skillEffect;skillEffectNext;skillIcon;constructor(t){const{skill_name:e,skill_description:i,skill_level:a,skill_effect:r,skill_effect_next:n,skill_icon:o}=t;this.skillName=e,this.skillDescription=i,this.skillLevel=a,this.skillEffect=r,this.skillEffectNext=n,this.skillIcon=o}}class ft{date;characterClass;characterLinkSkill;characterLinkSkillPreset1;characterLinkSkillPreset2;characterLinkSkillPreset3;characterOwnedLinkSkill;characterOwnedLinkSkillPreset1;characterOwnedLinkSkillPreset2;characterOwnedLinkSkillPreset3;constructor(t){const{date:e,character_class:i,character_link_skill:a,character_link_skill_preset_1:r,character_link_skill_preset_2:n,character_link_skill_preset_3:o,character_owned_link_skill:s,character_owned_link_skill_preset_1:c,character_owned_link_skill_preset_2:l,character_owned_link_skill_preset_3:h}=t;this.date=e?new Date(e):null,this.characterClass=i,this.characterLinkSkill=a.map((t=>new mt(t))),this.characterLinkSkillPreset1=r.map((t=>new mt(t))),this.characterLinkSkillPreset2=n.map((t=>new mt(t))),this.characterLinkSkillPreset3=o.map((t=>new mt(t))),this.characterOwnedLinkSkill=s?new mt(s):null,this.characterOwnedLinkSkillPreset1=c?new mt(c):null,this.characterOwnedLinkSkillPreset2=l?new mt(l):null,this.characterOwnedLinkSkillPreset3=h?new mt(h):null}}class _t{ocid;characterName;worldName;characterClass;characterLevel;constructor(t){const{ocid:e,character_name:i,world_name:a,character_class:r,character_level:n}=t;this.ocid=e,this.characterName=i,this.worldName=a,this.characterClass=r,this.characterLevel=n}}class gt{accountId;characterList;constructor(t){const{account_id:e,character_list:i}=t;this.accountId=e,this.characterList=i.map((t=>new _t(t)))}}class yt{accountList;constructor(t){const{account_list:e}=t;this.accountList=e.map((t=>new gt(t)))}}class wt{skill1;skill1Icon;skill2;skill2Icon;constructor(t){const{skill_1:e,skill_1_icon:i,skill_2:a,skill_2_icon:r}=t;this.skill1=e,this.skill1Icon=i,this.skill2=a,this.skill2Icon=r}}class Et{optionType;optionValue;constructor(t){const{option_type:e,option_value:i}=t;this.optionType=e,this.optionValue=i}}class bt{itemName;itemIcon;itemDescription;itemOption;scrollUpgrade;scrollUpgradable;itemShape;itemShapeIcon;constructor(t){const{item_name:e,item_icon:i,item_description:a,item_option:r,scroll_upgrade:n,scroll_upgradable:o,item_shape:s,item_shape_icon:c}=t;this.itemName=e,this.itemIcon=i,this.itemDescription=a,this.itemOption=r.map((t=>new Et(t))),this.scrollUpgrade=n,this.scrollUpgradable=o,this.itemShape=s,this.itemShapeIcon=c}}class vt{date;pet1Name;pet1Nickname;pet1Icon;pet1Description;pet1Equipment;pet1AutoSkill;pet1PetType;pet1Skill;pet1DateExpire=null;pet1Expired=null;pet1Appearance;pet1AppearanceIcon;pet2Name;pet2Nickname;pet2Icon;pet2Description;pet2Equipment;pet2AutoSkill;pet2PetType;pet2Skill;pet2DateExpire=null;pet2Expired=null;pet2Appearance;pet2AppearanceIcon;pet3Name;pet3Nickname;pet3Icon;pet3Description;pet3Equipment;pet3AutoSkill;pet3PetType;pet3Skill;pet3DateExpire=null;pet3Expired=null;pet3Appearance;pet3AppearanceIcon;constructor(t){const{date:e,pet_1_name:i,pet_1_nickname:a,pet_1_icon:r,pet_1_description:n,pet_1_equipment:o,pet_1_auto_skill:s,pet_1_pet_type:c,pet_1_skill:l,pet_1_date_expire:h,pet_1_appearance:p,pet_1_appearance_icon:u,pet_2_name:d,pet_2_nickname:m,pet_2_icon:f,pet_2_description:_,pet_2_equipment:g,pet_2_auto_skill:y,pet_2_pet_type:w,pet_2_skill:E,pet_2_date_expire:b,pet_2_appearance:v,pet_2_appearance_icon:C,pet_3_name:I,pet_3_nickname:k,pet_3_icon:x,pet_3_description:S,pet_3_equipment:P,pet_3_auto_skill:D,pet_3_pet_type:N,pet_3_skill:O,pet_3_date_expire:A,pet_3_appearance:L,pet_3_appearance_icon:R}=t;this.date=e?new Date(e):null,this.pet1Name=i,this.pet1Nickname=a,this.pet1Icon=r,this.pet1Description=n,this.pet1Equipment=o?new bt(o):null,this.pet1AutoSkill=s?new wt(s):null,this.pet1PetType=c,this.pet1Skill=l,this.pet1Appearance=p,this.pet1AppearanceIcon=u,this.pet2Name=d,this.pet2Nickname=m,this.pet2Icon=f,this.pet2Description=_,this.pet2Equipment=g?new bt(g):null,this.pet2AutoSkill=y?new wt(y):null,this.pet2PetType=w,this.pet2Skill=E,this.pet2Appearance=v,this.pet2AppearanceIcon=C,this.pet3Name=I,this.pet3Nickname=k,this.pet3Icon=x,this.pet3Description=S,this.pet3Equipment=P?new bt(P):null,this.pet3AutoSkill=D?new wt(D):null,this.pet3PetType=N,this.pet3Skill=O,this.pet3Appearance=L,this.pet3AppearanceIcon=R,"expired"===h?this.pet1Expired=!0:"string"==typeof h&&(this.pet1DateExpire=h?new Date(h):null),"expired"===b?this.pet2Expired=!0:"string"==typeof b&&(this.pet2DateExpire=b?new Date(b):null),"expired"===A?this.pet3Expired=!0:"string"==typeof A&&(this.pet3DateExpire=A?new Date(A):null)}}class Ct{date;popularity;constructor(t){const{date:e,popularity:i}=t;this.date=e?new Date(e):null,this.popularity=i}}class It{date;charismaLevel;sensibilityLevel;insightLevel;willingnessLevel;handicraftLevel;charmLevel;constructor(t){const{date:e,charisma_level:i,sensibility_level:a,insight_level:r,willingness_level:n,handicraft_level:o,charm_level:s}=t;this.date=e?new Date(e):null,this.charismaLevel=i,this.sensibilityLevel=a,this.insightLevel=r,this.willingnessLevel=n,this.handicraftLevel=o,this.charmLevel=s}}class kt{setCount;setOption;constructor(t){const{set_count:e,set_option:i}=t;this.setCount=e,this.setOption=i}}class xt{setCount;setOption;constructor(t){const{set_count:e,set_option:i}=t;this.setCount=e,this.setOption=i}}class St{setName;totalSetCount;setEffectInfo;setOptionFull;constructor(t){const{set_name:e,total_set_count:i,set_effect_info:a,set_option_full:r}=t;this.setName=e,this.totalSetCount=i,this.setEffectInfo=a.map((t=>new kt(t))),this.setOptionFull=r.map((t=>new xt(t)))}}class Pt{date;setEffect;constructor(t){const{date:e,set_effect:i}=t;this.date=e?new Date(e):null,this.setEffect=i.map((t=>new St(t)))}}class Dt{skillName;skillDescription;skillLevel;skillEffect;skillEffectNext;skillIcon;constructor(t){const{skill_name:e,skill_description:i,skill_level:a,skill_effect:r,skill_effect_next:n,skill_icon:o}=t;this.skillName=e,this.skillDescription=i,this.skillLevel=a,this.skillEffect=r,this.skillEffectNext=n,this.skillIcon=o}}class Nt{date;characterClass;characterSkillGrade;characterSkill;constructor(t){const{date:e,character_class:i,character_skill_grade:a,character_skill:r}=t;this.date=e?new Date(e):null,this.characterClass=i,this.characterSkillGrade=a,this.characterSkill=r.map((t=>new Dt(t)))}}class Ot{date;characterClass;finalStat;remainAP;constructor(t){const{date:e,character_class:i,final_stat:a,remain_ap:r}=t;this.date=e?new Date(e):null,this.characterClass=i,this.finalStat=a.map((t=>({statName:t.stat_name,statValue:t.stat_value}))),this.remainAP=r}}class At{symbolName;symbolIcon;symbolDescription;symbolForce;symbolLevel;symbolStr;symbolDex;symbolInt;symbolLuk;symbolHp;symbolDropRate;symbolMesoRate;symbolExpRate;symbolGrowthCount;symbolRequireGrowthCount;constructor(t){const{symbol_name:e,symbol_icon:i,symbol_description:a,symbol_force:r,symbol_level:n,symbol_str:o,symbol_dex:s,symbol_int:c,symbol_luk:l,symbol_hp:h,symbol_drop_rate:p,symbol_meso_rate:u,symbol_exp_rate:d,symbol_growth_count:m,symbol_require_growth_count:f}=t;this.symbolName=e,this.symbolIcon=i,this.symbolDescription=a,this.symbolForce=r,this.symbolLevel=n,this.symbolStr=o,this.symbolDex=s,this.symbolInt=c,this.symbolLuk=l,this.symbolHp=h,this.symbolDropRate=p??"0%",this.symbolMesoRate=u??"0%",this.symbolExpRate=d??"0%",this.symbolHp=h,this.symbolHp=h,this.symbolGrowthCount=m,this.symbolRequireGrowthCount=f}}class Lt{date;characterClass;symbol;constructor(t){const{date:e,character_class:i,symbol:a}=t;this.date=e?new Date(e):null,this.characterClass=i,this.symbol=a.map((t=>new At(t)))}}class Rt{slotId;slotLevel;vCoreName;vCoreType;vCoreLevel;vCoreSkill1;vCoreSkill2;vCoreSkill3;constructor(t){const{slot_id:e,slot_level:i,v_core_name:a,v_core_type:r,v_core_level:n,v_core_skill_1:o,v_core_skill_2:s,v_core_skill_3:c}=t;this.slotId=e,this.slotLevel=i,this.vCoreName=a,this.vCoreType=r,this.vCoreLevel=n,this.vCoreSkill1=o,this.vCoreSkill2=s,this.vCoreSkill3=c}}class Bt{date;characterClass;characterVCoreEquipment;characterVMatrixRemainSlotUpgradePoint;constructor(t){const{date:e,character_class:i,character_v_core_equipment:a,character_v_matrix_remain_slot_upgrade_point:r}=t;this.date=e?new Date(e):null,this.characterClass=i,this.characterVCoreEquipment=a.map((t=>new Rt(t))),this.characterVMatrixRemainSlotUpgradePoint=r}}class qt{skillName;skillDescription;skillLevel;skillEffect;skillIcon;constructor(t){const{skill_name:e,skill_description:i,skill_level:a,skill_effect:r,skill_icon:n}=t;this.skillName=e,this.skillDescription=i,this.skillLevel=a,this.skillEffect=r,this.skillIcon=n}}class Ut{date;worldName;guildName;guildLevel;guildFame;guildPoint;guildMasterName;guildMemberCount;guildMember;guildSkill;guildNoblesseSkill;constructor(t){const{date:e,world_name:i,guild_name:a,guild_level:r,guild_fame:n,guild_point:o,guild_master_name:s,guild_member_count:c,guild_member:l,guild_skill:h,guild_noblesse_skill:p}=t;this.date=e?new Date(e):null,this.worldName=i,this.guildName=a,this.guildLevel=r,this.guildFame=n,this.guildPoint=o,this.guildMasterName=s,this.guildMemberCount=c,this.guildMember=l,this.guildSkill=h.map((t=>new qt(t))),this.guildNoblesseSkill=p.map((t=>new qt(t)))}}class Tt{oguildId;constructor(t){const{oguild_id:e}=t;this.oguildId=e}}t.PotentialOptionGrade=void 0,(I=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[I.RARE=0]="RARE",I[I.EPIC=1]="EPIC",I[I.UNIQUE=2]="UNIQUE",I[I.LEGENDARY=3]="LEGENDARY";const Ft=e=>{const i={"레어":t.PotentialOptionGrade.RARE,"에픽":t.PotentialOptionGrade.EPIC,"유니크":t.PotentialOptionGrade.UNIQUE,"레전드리":t.PotentialOptionGrade.LEGENDARY}[e];if(!i)throw new TypeError("No enum constant for string: "+e);return i};class Mt{value;grade;constructor(t){const{value:e,grade:i}=t;this.value=e,this.grade=i}get gradeEnum(){return Ft(this.grade)}}class Gt{id;characterName;worldName;dateCreate;cubeType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:i,world_name:a,date_create:r,cube_type:n,item_upgrade_result:o,miracle_time_flag:s,item_equipment_part:c,item_level:l,target_item:h,potential_option_grade:p,additional_potential_option_grade:u,upgrade_guarantee:d,upgrade_guarantee_count:m,before_potential_option:f,before_additional_potential_option:_,after_potential_option:g,after_additional_potential_option:y}=t;this.id=e,this.characterName=i,this.worldName=a,this.dateCreate=new Date(r),this.cubeType=n,this.itemUpgradeResult=o,this.miracleTimeFlag=s,this.itemEquipmentPart=c,this.itemLevel=l,this.targetItem=h,this.potentialOptionGrade=p,this.additionalPotentialOptionGrade=u,this.upgradeGuarantee=d,this.upgradeGuaranteeCount=m,this.beforePotentialOption=f.map((t=>new Mt(t))),this.beforeAdditionalPotentialOption=_.map((t=>new Mt(t))),this.afterPotentialOption=g.map((t=>new Mt(t))),this.afterAdditionalPotentialOption=y.map((t=>new Mt(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return Ft(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return Ft(this.additionalPotentialOptionGrade)}}class $t{count;cubeHistory;nextCursor;constructor(t){const{count:e,cube_history:i,next_cursor:a}=t;this.count=e,this.cubeHistory=i.map((t=>new Gt(t))),this.nextCursor=a}}class Ht{value;grade;constructor(t){const{value:e,grade:i}=t;this.value=e,this.grade=i}get gradeEnum(){return Ft(this.grade)}}class jt{id;characterName;dateCreate;potentialType;itemUpgradeResult;miracleTimeFlag;itemEquipmentPart;itemLevel;targetItem;potentialOptionGrade;additionalPotentialOptionGrade;upgradeGuarantee;upgradeGuaranteeCount;beforePotentialOption;beforeAdditionalPotentialOption;afterPotentialOption;afterAdditionalPotentialOption;constructor(t){const{id:e,character_name:i,date_create:a,potential_type:r,item_upgrade_result:n,miracle_time_flag:o,item_equipment_part:s,item_level:c,target_item:l,potential_option_grade:h,additional_potential_option_grade:p,upgrade_guarantee:u,upgrade_guarantee_count:d,before_potential_option:m,before_additional_potential_option:f,after_potential_option:_,after_additional_potential_option:g}=t;this.id=e,this.characterName=i,this.dateCreate=new Date(a),this.potentialType=r,this.itemUpgradeResult=n,this.miracleTimeFlag=o,this.itemEquipmentPart=s,this.itemLevel=c,this.targetItem=l,this.potentialOptionGrade=h,this.additionalPotentialOptionGrade=p,this.upgradeGuarantee=u,this.upgradeGuaranteeCount=d,this.beforePotentialOption=m.map((t=>new Ht(t))),this.beforeAdditionalPotentialOption=f.map((t=>new Ht(t))),this.afterPotentialOption=_.map((t=>new Ht(t))),this.afterAdditionalPotentialOption=g.map((t=>new Ht(t)))}get isItemUpgrade(){return"성공"===this.itemUpgradeResult}get isMiracleTimeFlag(){return"이벤트 적용되지 않음"!==this.miracleTimeFlag}get potentialOptionGradeEnum(){return Ft(this.potentialOptionGrade)}get additionalPotentialOptionGradeEnum(){return Ft(this.additionalPotentialOptionGrade)}}class Yt{count;potentialHistory;nextCursor;constructor(t){const{count:e,potential_history:i,next_cursor:a}=t;this.count=e,this.potentialHistory=i.map((t=>new jt(t))),this.nextCursor=a}}class zt{successRate;destroyDecreaseRate;costDiscountRate;plusValue;starforceEventRange;constructor(t){const{success_rate:e,destroy_decrease_rate:i,cost_discount_rate:a,plus_value:r,starforce_event_range:n}=t;this.successRate=e,this.destroyDecreaseRate=i,this.costDiscountRate=a,this.plusValue=r,this.starforceEventRange=n}}class Vt{id;itemUpgradeResult;beforeStarforceCount;afterStarforceCount;starCatchResult;superiorItemFlag;destroyDefence;chanceTime;eventFieldFlag;upgradeItem;protectShield;bonusStatUpgrade;characterName;worldName;targetItem;dateCreate;starforceEventList;constructor(t){const{id:e,item_upgrade_result:i,before_starforce_count:a,after_starforce_count:r,starcatch_result:n,superior_item_flag:o,destroy_defence:s,chance_time:c,event_field_flag:l,upgrade_item:h,protect_shield:p,bonus_stat_upgrade:u,character_name:d,world_name:m,target_item:f,date_create:_,starforce_event_list:g}=t;this.id=e,this.itemUpgradeResult=i,this.beforeStarforceCount=a,this.afterStarforceCount=r,this.starCatchResult=n,this.superiorItemFlag=o,this.destroyDefence=s,this.chanceTime=c,this.eventFieldFlag=l,this.upgradeItem=h,this.protectShield=p,this.bonusStatUpgrade=u,this.characterName=d,this.worldName=m,this.targetItem=f,this.dateCreate=new Date(_),this.starforceEventList=g?.map((t=>new zt(t)))??null}}class Wt{count;starforceHistory;nextCursor;constructor(t){const{count:e,starforce_history:i,next_cursor:a}=t;this.count=e,this.starforceHistory=i.map((t=>new Vt(t))),this.nextCursor=a}}class Qt{serviceCode;startDateTime;endDateTime;strObstacleContents;constructor(t){const e=t["soap:Envelope"]["soap:Body"][0].GetInspectionInfoResponse[0].GetInspectionInfoResult[0]["diffgr:diffgram"][0].NewDataSet[0].InspectionInfo[0];this.serviceCode=Number(e.serviceCode[0]),this.startDateTime=new Date(e.startDateTime[0]),this.endDateTime=new Date(e.endDateTime[0]),this.strObstacleContents=e.strObstacleContents[0]}}class Zt{title;url;contents;date;dateSaleStart;dateSaleEnd;ongoingFlag;constructor(t){const{title:e,url:i,contents:a,date:r,date_sale_start:n,date_sale_end:o,ongoing_flag:s}=t;this.title=e,this.url=i,this.contents=a,this.date=new Date(r),this.dateSaleStart=n?new Date(n):null,this.dateSaleEnd=o?new Date(o):null,this.ongoingFlag=s}get isOnGoing(){return"true"===this.ongoingFlag}}class Xt{title;url;noticeId;date;dateSaleStart;dateSaleEnd;ongoingFlag;constructor(t){const{title:e,url:i,notice_id:a,date:r,date_sale_start:n,date_sale_end:o,ongoing_flag:s}=t;this.title=e,this.url=i,this.noticeId=a,this.date=new Date(r),this.dateSaleStart=n?new Date(n):null,this.dateSaleEnd=o?new Date(o):null,this.ongoingFlag=s}get isOnGoing(){return"true"===this.ongoingFlag}}class Jt{cashshopNotice;constructor(t){const{cashshop_notice:e}=t;this.cashshopNotice=e.map((t=>new Xt(t)))}}class Kt{title;url;contents;date;dateEventStart;dateEventEnd;constructor(t){const{title:e,url:i,contents:a,date:r,date_event_start:n,date_event_end:o}=t;this.title=e,this.url=i,this.contents=a,this.date=new Date(r),this.dateEventStart=new Date(n),this.dateEventEnd=new Date(o)}}class te{title;url;noticeId;date;dateEventStart;dateEventEnd;constructor(t){const{title:e,url:i,notice_id:a,date:r,date_event_start:n,date_event_end:o}=t;this.title=e,this.url=i,this.noticeId=a,this.date=new Date(r),this.dateEventStart=new Date(n),this.dateEventEnd=new Date(o)}}class ee{eventNotice;constructor(t){const{event_notice:e}=t;this.eventNotice=e.map((t=>new te(t)))}}class ie{title;url;contents;date;constructor(t){const{title:e,url:i,contents:a,date:r}=t;this.title=e,this.url=i,this.contents=a,this.date=new Date(r)}}class ae{title;url;noticeId;date;constructor(t){const{title:e,url:i,notice_id:a,date:r}=t;this.title=e,this.url=i,this.noticeId=a,this.date=new Date(r)}}class re{notice;constructor(t){const{notice:e}=t;this.notice=e.map((t=>new ae(t)))}}class ne{title;url;contents;date;constructor(t){const{title:e,url:i,contents:a,date:r}=t;this.title=e,this.url=i,this.contents=a,this.date=new Date(r)}}class oe{title;url;noticeId;date;constructor(t){const{title:e,url:i,notice_id:a,date:r}=t;this.title=e,this.url=i,this.noticeId=a,this.date=new Date(r)}}class se{updateNotice;constructor(t){const{update_notice:e}=t;this.updateNotice=e.map((t=>new oe(t)))}}class ce{date;ranking;characterName;worldName;className;subClassName;trophyGrade;trophyScore;constructor(t){const{date:e,ranking:i,character_name:a,world_name:r,class_name:n,sub_class_name:o,trophy_grade:s,trophy_score:c}=t;this.date=new Date(e),this.ranking=i,this.characterName=a,this.worldName=r,this.className=n,this.subClassName=o,this.trophyGrade=s,this.trophyScore=c}}class le{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new ce(t)))}}class he{date;ranking;characterName;worldName;className;subClassName;characterLevel;dojangFloor;dojangTimeRecord;constructor(t){const{date:e,ranking:i,character_name:a,world_name:r,class_name:n,sub_class_name:o,character_level:s,dojang_floor:c,dojang_time_record:l}=t;this.date=new Date(e),this.ranking=i,this.characterName=a,this.worldName=r,this.className=n,this.subClassName=o,this.characterLevel=s,this.dojangFloor=c,this.dojangTimeRecord=l}}class pe{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new he(t)))}}class ue{date;ranking;guildName;worldName;guildLevel;guildMasterName;guildMark;guildPoint;constructor(t){const{date:e,ranking:i,guild_name:a,world_name:r,guild_level:n,guild_master_name:o,guild_mark:s,guild_point:c}=t;this.date=new Date(e),this.ranking=i,this.guildName=a,this.worldName=r,this.guildLevel=n,this.guildMasterName=o,this.guildMark=s,this.guildPoint=c}}class de{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new ue(t)))}}class me{date;ranking;characterName;worldName;className;subClassName;characterLevel;characterExp;characterPopularity;characterGuildName;constructor(t){const{date:e,ranking:i,character_name:a,world_name:r,class_name:n,sub_class_name:o,character_level:s,character_exp:c,character_popularity:l,character_guildname:h}=t;this.date=new Date(e),this.ranking=i,this.characterName=a,this.worldName=r,this.className=n,this.subClassName=o,this.characterLevel=s,this.characterExp=c,this.characterPopularity=l,this.characterGuildName=h}}class fe{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new me(t)))}}class _e{date;ranking;characterName;worldName;className;subClassName;characterLevel;theSeedFloor;theSeedTimeRecord;constructor(t){const{date:e,ranking:i,character_name:a,world_name:r,class_name:n,sub_class_name:o,character_level:s,theseed_floor:c,theseed_time_record:l}=t;this.date=new Date(e),this.ranking=i,this.characterName=a,this.worldName=r,this.className=n,this.subClassName=o,this.characterLevel=s,this.theSeedFloor=c,this.theSeedTimeRecord=l}}class ge{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new _e(t)))}}class ye{date;ranking;characterName;worldName;className;subClassName;unionLevel;unionPower;constructor(t){const{date:e,ranking:i,character_name:a,world_name:r,class_name:n,sub_class_name:o,union_level:s,union_power:c}=t;this.date=new Date(e),this.ranking=i,this.characterName=a,this.worldName=r,this.className=n,this.subClassName=o,this.unionLevel=s,this.unionPower=c}}class we{ranking;constructor(t){const{ranking:e}=t;this.ranking=e.map((t=>new ye(t)))}}class Ee{name;validityFlag;dateExpire=null;isExpired=null;level;crystalOptionName1;crystalOptionName2;crystalOptionName3;constructor(t){const{name:e,validity_flag:i,date_expire:a,level:r,crystal_option_name_1:n,crystal_option_name_2:o,crystal_option_name_3:s}=t;this.name=e,this.validityFlag=i,this.level=r,this.crystalOptionName1=n,this.crystalOptionName2=o,this.crystalOptionName3=s,"expired"===a?this.isExpired=!0:"string"==typeof a&&(this.dateExpire=a?new Date(a):null)}}class be{name;level;constructor(t){const{name:e,level:i}=t;this.name=e,this.level=i}}class ve{date;unionArtifactEffect;unionArtifactCrystal;unionArtifactRemainAp;constructor(t){const{date:e,union_artifact_effect:i,union_artifact_crystal:a,union_artifact_remain_ap:r}=t;this.date=e?new Date(e):null,this.unionArtifactEffect=i.map((t=>new be(t))),this.unionArtifactCrystal=a.map((t=>new Ee(t))),this.unionArtifactRemainAp=r}}class Ce{stat;constructor(t){const{stat:e}=t;this.stat=e}}class Ie{championName;championSlot;championGrade;championClass;championBadgeInfo;constructor(t){const{champion_name:e,champion_slot:i,champion_grade:a,champion_class:r,champion_badge_info:n}=t;this.championName=e,this.championSlot=i,this.championGrade=a,this.championClass=r,this.championBadgeInfo=n.map((t=>new Ce(t)))}}class ke{date;unionChampion;championBadgeTotalInfo;constructor(t){const{date:e,union_champion:i,champion_badge_total_info:a}=t;this.date=e?new Date(e):null,this.unionChampion=i.map((t=>new Ie(t))),this.championBadgeTotalInfo=a.map((t=>new Ce(t)))}}class xe{date;unionLevel;unionGrade;unionArtifactLevel;unionArtifactExp;unionArtifactPoint;constructor(t){const{date:e,union_level:i,union_grade:a,union_artifact_level:r,union_artifact_exp:n,union_artifact_point:o}=t;this.date=e?new Date(e):null,this.unionLevel=i,this.unionGrade=a,this.unionArtifactLevel=r,this.unionArtifactExp=n,this.unionArtifactPoint=o}}class Se{x;y;constructor(t){const{x:e,y:i}=t;this.x=e,this.y=i}}class Pe{x;y;constructor(t){const{x:e,y:i}=t;this.x=e,this.y=i}}class De{blockType;blockClass;blockLevel;blockControlPoint;blockPosition;constructor(t){const{block_type:e,block_class:i,block_level:a,block_control_point:r,block_position:n}=t;this.blockType=e,this.blockClass=i,this.blockLevel=a,this.blockControlPoint=new Pe(r),this.blockPosition=n?n.map((t=>new Se(t))):null}}class Ne{statFieldId;statFieldEffect;constructor(t){const{stat_field_id:e,stat_field_effect:i}=t;this.statFieldId=e,this.statFieldEffect=i}}class Oe{unionRaiderStat;unionOccupiedStat;unionInnerStat;unionBlock;constructor(t){const{union_raider_stat:e,union_occupied_stat:i,union_inner_stat:a,union_block:r}=t;this.unionRaiderStat=e,this.unionOccupiedStat=i,this.unionInnerStat=a.map((t=>new Ne(t))),this.unionBlock=r.map((t=>new De(t)))}}class Ae{date;unionRaiderStat;unionOccupiedStat;unionInnerStat;unionBlock;usePresetNo;unionRaiderPreset1;unionRaiderPreset2;unionRaiderPreset3;unionRaiderPreset4;unionRaiderPreset5;constructor(t){const{date:e,union_raider_stat:i,union_occupied_stat:a,union_inner_stat:r,union_block:n,use_preset_no:o,union_raider_preset_1:s,union_raider_preset_2:c,union_raider_preset_3:l,union_raider_preset_4:h,union_raider_preset_5:p}=t;this.date=e?new Date(e):null,this.unionRaiderStat=i,this.unionOccupiedStat=a,this.unionInnerStat=r.map((t=>new Ne(t))),this.unionBlock=n.map((t=>new De(t))),this.usePresetNo=o,this.unionRaiderPreset1=s?new Oe(s):null,this.unionRaiderPreset2=c?new Oe(c):null,this.unionRaiderPreset3=l?new Oe(l):null,this.unionRaiderPreset4=h?new Oe(h):null,this.unionRaiderPreset5=p?new Oe(p):null}}class Le extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:i}=t.error;super(i),this.errorCode=Be[e],this.message=i}}var Re;t.MapleStoryApiErrorCode=void 0,(Re=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[Re.OPENAPI00001=0]="OPENAPI00001",Re[Re.OPENAPI00002=1]="OPENAPI00002",Re[Re.OPENAPI00003=2]="OPENAPI00003",Re[Re.OPENAPI00004=3]="OPENAPI00004",Re[Re.OPENAPI00005=4]="OPENAPI00005",Re[Re.OPENAPI00006=5]="OPENAPI00006",Re[Re.OPENAPI00007=6]="OPENAPI00007",Re[Re.OPENAPI00009=7]="OPENAPI00009",Re[Re.OPENAPI00010=8]="OPENAPI00010",Re[Re.OPENAPI00011=9]="OPENAPI00011";const Be={OPENAPI00001:t.MapleStoryApiErrorCode.OPENAPI00001,OPENAPI00002:t.MapleStoryApiErrorCode.OPENAPI00002,OPENAPI00003:t.MapleStoryApiErrorCode.OPENAPI00003,OPENAPI00004:t.MapleStoryApiErrorCode.OPENAPI00004,OPENAPI00005:t.MapleStoryApiErrorCode.OPENAPI00005,OPENAPI00006:t.MapleStoryApiErrorCode.OPENAPI00006,OPENAPI00007:t.MapleStoryApiErrorCode.OPENAPI00007,OPENAPI00009:t.MapleStoryApiErrorCode.OPENAPI00009,OPENAPI00010:t.MapleStoryApiErrorCode.OPENAPI00010,OPENAPI00011:t.MapleStoryApiErrorCode.OPENAPI00011};o.default.extend(w),o.default.extend(k);class qe{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;get timeout(){return this.client.defaults.timeout}set timeout(t){this.client.defaults.timeout=t}constructor(t){this.apiKey=t,this.client=n.default.create({baseURL:qe.BASE_URL,timeout:qe.DEFAULT_TIMEOUT,headers:{"x-nxopen-api-key":this.apiKey}}),this.client.interceptors.response.use((t=>t),(t=>{if(t instanceof e.AxiosError){const e=t.response.data;throw new Le(e)}throw t}))}async getCharacter(t){const{data:e}=await this.client.get("maplestory/v1/id",{params:{character_name:t}});return new V(e)}async getCharacterList(){const{data:t}=await this.client.get("maplestory/v1/character/list");return new yt(t)}async getCharacterBasic(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/basic",{params:i});return new U(a)}async getCharacterImage(e,i,a){const{date:r,characterImage:o}=await this.getCharacterBasic(e,a),s=i?.action??t.CharacterImageAction.Stand1,l=i?.emotion??t.CharacterImageEmotion.Default,h=i?.wmotion??t.CharacterImageWeaponMotion.Default,p=i?.actionFrame??0,u=i?.emotionFrame??0,d=i?.x??null,m=i?.y??null,f={action:`${s}.${p}`,emotion:`${l}.${u}`,wmotion:h,width:96,height:96,x:d,y:m},_=async(t,e)=>{const{data:i,headers:a}=await n.default.get(t,{params:e,responseType:"arraybuffer"}),r=c.Buffer.from(i,"binary").toString("base64");return`data:${a["content-type"]};base64,${r}`},[g,y]=await Promise.all([_(o),_(o,f)]);return new et({date:r,originUrl:o,originImage:g,image:y,action:s,emotion:l,wmotion:h,actionFrame:p,emotionFrame:u,width:96,height:96,x:d,y:m})}async getCharacterPopularity(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/popularity",{params:i});return new Ct(a)}async getCharacterStat(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/stat",{params:i});return new Ot(a)}async getCharacterHyperStat(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/hyper-stat",{params:i});return new tt(a)}async getCharacterPropensity(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/propensity",{params:i});return new It(a)}async getCharacterAbility(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/ability",{params:i});return new P(a)}async getCharacterItemEquipment(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/item-equipment",{params:i});return new dt(a)}async getCharacterCashItemEquipment(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/cashitem-equipment",{params:i});return new Y(a)}async getCharacterSymbolEquipment(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/symbol-equipment",{params:i});return new Lt(a)}async getCharacterSetEffect(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/set-effect",{params:i});return new Pt(a)}async getCharacterBeautyEquipment(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/beauty-equipment",{params:i});return new G(a)}async getCharacterAndroidEquipment(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/android-equipment",{params:i});return new q(a)}async getCharacterPetEquipment(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/pet-equipment",{params:i});return new vt(a)}async getCharacterSkill(t,e,i){const a={ocid:t,character_skill_grade:e,date:i?Te(i,{year:2023,month:12,day:21}):void 0},{data:r}=await this.client.get("maplestory/v1/character/skill",{params:a});return new Nt(r)}async getCharacterLinkSkill(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/link-skill",{params:i});return new ft(a)}async getCharacterVMatrix(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/vmatrix",{params:i});return new Bt(a)}async getCharacterHexaMatrix(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/hexamatrix",{params:i});return new Z(a)}async getCharacterHexaMatrixStat(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/hexamatrix-stat",{params:i});return new J(a)}async getCharacterDojang(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/character/dojang",{params:i});return new z(a)}async getUnion(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/user/union",{params:i});return new xe(a)}async getUnionRaider(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/user/union-raider",{params:i});return new Ae(a)}async getUnionArtifact(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/user/union-artifact",{params:i});return new ve(a)}async getUnionChampion(t,e){const i={ocid:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/user/union-champion",{params:i});return new ke(a)}async getGuild(t,e){const{data:i}=await this.client.get("maplestory/v1/guild/id",{params:{guild_name:t,world_name:e}});return new Tt(i)}async getGuildBasic(t,e){const i={oguild_id:t,date:e?Te(e,{year:2023,month:12,day:21}):void 0},{data:a}=await this.client.get("maplestory/v1/guild/basic",{params:i});return new Ut(a)}async getStarforceHistory(t,e){const i={count:t};"string"==typeof e?i.cursor=e:"object"!=typeof e&&void 0!==e||(i.date=Te(e??Ue({hour:0,minute:0,dateOffset:0}),{year:2023,month:12,day:27}));const{data:a}=await this.client.get("maplestory/v1/history/starforce",{params:i});return new Wt(a)}async getCubeHistory(t,e){const i={count:t};"string"==typeof e?i.cursor=e:"object"!=typeof e&&void 0!==e||(i.date=Te(e??Ue({hour:0,minute:0,dateOffset:0})));const{data:a}=await this.client.get("maplestory/v1/history/cube",{params:i});return new $t(a)}async getPotentialHistory(t,e){const i={count:t};"string"==typeof e?i.cursor=e:"object"!=typeof e&&void 0!==e||(i.date=Te(e??Ue({hour:0,minute:0,dateOffset:0}),{year:2024,month:1,day:25}));const{data:a}=await this.client.get("maplestory/v1/history/potential",{params:i});return new Yt(a)}async getOverallRanking(t,e=Ue({hour:8,minute:30,dateOffset:0})){const i={date:Te(e,{year:2023,month:12,day:22})};if(t){const{worldName:e,worldType:a,characterClass:r,ocid:n,page:o}=t;i.world_name=e,i.world_type=a,i.class=r,i.ocid=n,i.page=o}const{data:a}=await this.client.get("maplestory/v1/ranking/overall",{params:i});return new fe(a)}async getUnionRanking(t,e=Ue({hour:8,minute:30,dateOffset:0})){const i={date:Te(e,{year:2023,month:12,day:22})};if(t){const{worldName:e,ocid:a,page:r}=t;i.world_name=e,i.ocid=a,i.page=r}const{data:a}=await this.client.get("maplestory/v1/ranking/union",{params:i});return new we(a)}async getGuildRanking(t,e=Ue({hour:8,minute:30,dateOffset:0})){const i={date:Te(e,{year:2023,month:12,day:22}),ranking_type:0};if(t){const{worldName:e,rankingType:a,ocid:r,page:n}=t;i.world_name=e,i.ranking_type=a,i.ocid=r,i.page=n}const{data:a}=await this.client.get("maplestory/v1/ranking/guild",{params:i});return new de(a)}async getDojangRanking(t,e=Ue({hour:8,minute:30,dateOffset:0})){const i={date:Te(e,{year:2023,month:12,day:22}),difficulty:0};if(t){const{worldName:e,difficulty:a,characterClass:r,ocid:n,page:o}=t;i.world_name=e,i.difficulty=a,i.class=r,i.ocid=n,i.page=o}const{data:a}=await this.client.get("maplestory/v1/ranking/dojang",{params:i});return new pe(a)}async getSeedRanking(t,e=Ue({hour:8,minute:30,dateOffset:0})){const i={date:Te(e,{year:2023,month:12,day:22})};if(t){const{worldName:e,ocid:a,page:r}=t;i.world_name=e,i.ocid=a,i.page=r}const{data:a}=await this.client.get("maplestory/v1/ranking/theseed",{params:i});return new ge(a)}async getAchievementRanking(t,e=Ue({hour:8,minute:30,dateOffset:0})){const i={date:Te(e,{year:2023,month:12,day:22})};if(t){const{ocid:e,page:a}=t;i.ocid=e,i.page=a}const{data:a}=await this.client.get("maplestory/v1/ranking/achievement",{params:i});return new le(a)}async getNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice");return new re(t)}async getNoticeDetail(t){const e={notice_id:t},{data:i}=await this.client.get("maplestory/v1/notice/detail",{params:e});return new ie(i)}async getUpdateNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice-update");return new se(t)}async getUpdateNoticeDetail(t){const e={notice_id:t},{data:i}=await this.client.get("maplestory/v1/notice-update/detail",{params:e});return new ne(i)}async getEventNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice-event");return new ee(t)}async getEventNoticeDetail(t){const e={notice_id:t},{data:i}=await this.client.get("maplestory/v1/notice-event/detail",{params:e});return new Kt(i)}async getCashshopNoticeList(){const{data:t}=await this.client.get("maplestory/v1/notice-cashshop");return new Jt(t)}async getCashshopNoticeDetail(t){const e={notice_id:t},{data:i}=await this.client.get("maplestory/v1/notice-cashshop/detail",{params:e});return new Zt(i)}async getInspectionInfo(){const t=(new s.default.Builder).buildObject({"soap:Envelope":{$:{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:soap":"http://schemas.xmlsoap.org/soap/envelope/"},"soap:Body":{GetInspectionInfo:{$:{xmlns:"https://api.maplestory.nexon.com/soap/"}}}}}),e=await n.default.post("soap/maplestory.asmx",t,{baseURL:"https://api.maplestory.nexon.com/",timeout:this.timeout,headers:{SOAPAction:"https://api.maplestory.nexon.com/soap/GetInspectionInfo","Content-Type":"text/xml; charset=utf-8"}}),i=await s.default.parseStringPromise(e.data);return new Qt(i)}}const Ue=t=>{const{hour:e,minute:i,dateOffset:a}=t,r=o.default().utcOffset(540),n=o.default().utcOffset(540).hour(e).minute(i);let s;return s=r.isAfter(n)?r:r.subtract(1,"day"),s=s.subtract(a??0,"day"),{year:s.year(),month:s.month()+1,day:s.date()}},Te=(t,e)=>{const{year:i,month:a,day:r}=t,n=o.default(`${i}-${a}-${r}`).utcOffset(540).format("YYYY-MM-DD");if(e){const{year:t,month:n,day:s}=e;if(i<t||i===t&&a<n||i===t&&a===n&&r<s)throw new Error(`You can only retrieve data after ${o.default(`${t}-${n}-${s}`).format("YYYY-MM-DD")}.`)}return n};t.AchievementRankingDto=ce,t.AchievementRankingResponseDto=le,t.CashshopNoticeDetailDto=Zt,t.CashshopNoticeListDto=Jt,t.CashshopNoticeListItemDto=Xt,t.CharacterAbilityDto=P,t.CharacterAbilityInfoDto=x,t.CharacterAbilityPresetDto=S,t.CharacterAndroidCashItemEquipmentColoringPrismDto=D,t.CharacterAndroidCashItemEquipmentDto=O,t.CharacterAndroidCashItemEquipmentOptionDto=N,t.CharacterAndroidEquipmentDto=q,t.CharacterAndroidEquipmentFaceDto=A,t.CharacterAndroidEquipmentHairDto=L,t.CharacterAndroidEquipmentPresetDto=B,t.CharacterBasicDto=U,t.CharacterBeautyEquipmentDto=G,t.CharacterBeautyEquipmentFaceDto=T,t.CharacterBeautyEquipmentHairDto=F,t.CharacterCashItemEquipmentColoringPrismDto=$,t.CharacterCashItemEquipmentDto=Y,t.CharacterCashItemEquipmentOptionDto=H,t.CharacterCashItemEquipmentPresetDto=j,t.CharacterDojangDto=z,t.CharacterDto=V,t.CharacterHexaMatrixDto=Z,t.CharacterHexaMatrixEquipmentDto=Q,t.CharacterHexaMatrixEquipmentLinkedSkillDto=W,t.CharacterHexaMatrixStatCoreDto=X,t.CharacterHexaMatrixStatDto=J,t.CharacterHyperStatDto=tt,t.CharacterHyperStatPresetDto=K,t.CharacterImageDto=et,t.CharacterItemEquipmentAddOptionDto=it,t.CharacterItemEquipmentBaseOptionDto=at,t.CharacterItemEquipmentDragonInfoDto=ct,t.CharacterItemEquipmentDto=dt,t.CharacterItemEquipmentEtcOptionDto=rt,t.CharacterItemEquipmentExceptionalOptionDto=nt,t.CharacterItemEquipmentInfoDto=lt,t.CharacterItemEquipmentMechanicInfoDto=ht,t.CharacterItemEquipmentStarforceOptionDto=ot,t.CharacterItemEquipmentTitleDto=ut,t.CharacterItemEquipmentTotalOptionDto=st,t.CharacterLinkSkillDto=ft,t.CharacterLinkSkillInfoDto=mt,t.CharacterListAccountCharacterDto=_t,t.CharacterListAccountDto=gt,t.CharacterListDto=yt,t.CharacterPetEquipmentAutoSkillDto=wt,t.CharacterPetEquipmentDto=vt,t.CharacterPetEquipmentItemDto=bt,t.CharacterPetEquipmentItemOptionDto=Et,t.CharacterPopularityDto=Ct,t.CharacterPropensityDto=It,t.CharacterSetEffectDto=Pt,t.CharacterSetEffectInfoDto=kt,t.CharacterSetEffectOptionFullDto=xt,t.CharacterSetEffectSetDto=St,t.CharacterSkillDto=Nt,t.CharacterSkillInfoDto=Dt,t.CharacterStatDto=Ot,t.CharacterSymbolEquipmentDto=Lt,t.CharacterSymbolEquipmentInfoDto=At,t.CharacterVMatrixCodeEquipmentDto=Rt,t.CharacterVMatrixDto=Bt,t.CubeHistoryDto=Gt,t.CubeHistoryResponseDto=$t,t.CubeResultOptionDto=Mt,t.DojangRankingDto=he,t.DojangRankingResponseDto=pe,t.EventNoticeDetailDto=Kt,t.EventNoticeListDto=ee,t.EventNoticeListItemDto=te,t.GuildBasicDto=Ut,t.GuildDto=Tt,t.GuildRankingDto=ue,t.GuildRankingResponseDto=de,t.GuildSkillDto=qt,t.InspectionInfoDto=Qt,t.MapleStoryApi=qe,t.MapleStoryApiError=Le,t.NoticeDetailDto=ie,t.NoticeListDto=re,t.NoticeListItemDto=ae,t.OverallRankingDto=me,t.OverallRankingResponseDto=fe,t.PotentialHistoryDto=jt,t.PotentialHistoryResponseDto=Yt,t.PotentialResultOptionDto=Ht,t.StarforceEventDto=zt,t.StarforceHistoryDto=Vt,t.StarforceHistoryResponseDto=Wt,t.TheSeedRankingDto=_e,t.TheSeedRankingResponseDto=ge,t.UnionArtifactCrystalDto=Ee,t.UnionArtifactDto=ve,t.UnionArtifactEffectDto=be,t.UnionDto=xe,t.UnionRaiderBlockControlPointDto=Pe,t.UnionRaiderBlockDto=De,t.UnionRaiderBlockPositionDto=Se,t.UnionRaiderDto=Ae,t.UnionRaiderInnerStatDto=Ne,t.UnionRaiderPresetDto=Oe,t.UnionRankingDto=ye,t.UnionRankingResponseDto=we,t.UpdateNoticeDetailDto=ne,t.UpdateNoticeListDto=se,t.UpdateNoticeListItemDto=oe,t.potentialOptionGradeFromString=Ft}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("axios"),require("dayjs")):"function"==typeof define&&define.amd?define(["exports","axios","dayjs"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["maplestory-openapi"]={},t.axios,t.dayjs)}(this,(function(t,e,a){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=r(e),i=r(a),s=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});!function(t){var e,a;t.exports=(e={year:0,month:1,day:2,hour:3,minute:4,second:5},a={},function(t,r,o){var i,s=function(t,e,r){void 0===r&&(r={});var o=new Date(t),i=function(t,e){void 0===e&&(e={});var r=e.timeZoneName||"short",o=t+"|"+r,i=a[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),a[o]=i),i}(e,r);return i.formatToParts(o)},n=function(t,a){for(var r=s(t,a),i=[],n=0;n<r.length;n+=1){var c=r[n],l=c.type,u=c.value,h=e[l];h>=0&&(i[h]=parseInt(u,10))}var f=i[3],m=24===f?0:f,d=i[0]+"-"+i[1]+"-"+i[2]+" "+m+":"+i[4]+":"+i[5]+":000",E=+t;return(o.utc(d).valueOf()-(E-=E%1e3))/6e4},c=r.prototype;c.tz=function(t,e){void 0===t&&(t=i);var a,r=this.utcOffset(),s=this.toDate(),n=s.toLocaleString("en-US",{timeZone:t}),c=Math.round((s-new Date(n))/1e3/60),l=15*-Math.round(s.getTimezoneOffset()/15)-c;if(Number(l)){if(a=o(n,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),e){var u=a.utcOffset();a=a.add(r-u,"minute")}}else a=this.utcOffset(0,e);return a.$x.$timezone=t,a},c.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),a=s(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return a&&a.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var a=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return l.call(a,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,a){var r=a&&e,s=a||e||i,c=n(+o(),s);if("string"!=typeof t)return o(t).tz(s);var l=function(t,e,a){var r=t-60*e*1e3,o=n(r,a);if(e===o)return[r,e];var i=n(r-=60*(o-e)*1e3,a);return o===i?[r,o]:[t-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(t,r).valueOf(),c,s),u=l[0],h=l[1],f=o(u).utcOffset(h);return f.$x.$timezone=s,f},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){i=t}})}(s);var n=s.exports,c={exports:{}};!function(t){var e,a,r;t.exports=(e="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g,function(t,o,i){var s=o.prototype;i.utc=function(t){return new o({date:t,utc:!0,args:arguments})},s.utc=function(t){var a=i(this.toDate(),{locale:this.$L,utc:!0});return t?a.add(this.utcOffset(),e):a},s.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var n=s.parse;s.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),n.call(this,t)};var c=s.init;s.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=s.utcOffset;s.utcOffset=function(t,o){var i=this.$utils().u;if(i(t))return this.$u?0:i(this.$offset)?l.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(a);if(!e)return null;var o=(""+e[0]).match(r)||["-",0,0],i=o[0],s=60*+o[1]+ +o[2];return 0===s?0:"+"===i?s:-s}(t),null===t))return this;var s=Math.abs(t)<=16?60*t:t,n=this;if(o)return n.$offset=s,n.$u=0===t,n;if(0!==t){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(s+c,e)).$offset=s,n.$x.$localOffset=c}else n=this.utc();return n};var u=s.format;s.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},s.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var h=s.toDate;s.toDate=function(t){return"s"===t&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var f=s.diff;s.diff=function(t,e,a){if(t&&this.$u===t.$u)return f.call(this,t,e,a);var r=this.local(),o=i(t).local();return f.call(r,o,e,a)}})}(c);var l,u=c.exports;class h extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:a}=t.error;super(a),this.errorCode=f[e],this.message=a}}t.MapleStoryApiErrorCode=void 0,(l=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[l.OPENAPI00001=0]="OPENAPI00001",l[l.OPENAPI00002=1]="OPENAPI00002",l[l.OPENAPI00003=2]="OPENAPI00003",l[l.OPENAPI00004=3]="OPENAPI00004",l[l.OPENAPI00005=4]="OPENAPI00005",l[l.OPENAPI00006=5]="OPENAPI00006",l[l.OPENAPI00007=6]="OPENAPI00007",l[l.OPENAPI00009=7]="OPENAPI00009",l[l.OPENAPI00010=8]="OPENAPI00010",l[l.OPENAPI00011=9]="OPENAPI00011";const f={OPENAPI00001:t.MapleStoryApiErrorCode.OPENAPI00001,OPENAPI00002:t.MapleStoryApiErrorCode.OPENAPI00002,OPENAPI00003:t.MapleStoryApiErrorCode.OPENAPI00003,OPENAPI00004:t.MapleStoryApiErrorCode.OPENAPI00004,OPENAPI00005:t.MapleStoryApiErrorCode.OPENAPI00005,OPENAPI00006:t.MapleStoryApiErrorCode.OPENAPI00006,OPENAPI00007:t.MapleStoryApiErrorCode.OPENAPI00007,OPENAPI00009:t.MapleStoryApiErrorCode.OPENAPI00009,OPENAPI00010:t.MapleStoryApiErrorCode.OPENAPI00010,OPENAPI00011:t.MapleStoryApiErrorCode.OPENAPI00011};i.default.extend(n),i.default.extend(u);class m{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;get timeout(){return this.client.defaults.timeout}set timeout(t){this.client.defaults.timeout=t}constructor(t){this.apiKey=t,this.client=o.default.create({baseURL:m.BASE_URL,timeout:m.DEFAULT_TIMEOUT,headers:{"x-nxopen-api-key":this.apiKey}}),this.client.interceptors.response.use((t=>t),(t=>{if(t instanceof e.AxiosError){const e=t.response.data;throw new h(e)}throw t}))}getProperDefaultDateOptions(t){const{hour:e,minute:a,dateOffset:r}=t,o=i.default().utcOffset(this.timezoneOffset),s=i.default().utcOffset(this.timezoneOffset).hour(e).minute(a);let n;return n=o.isAfter(s)?o:o.subtract(1,"day"),n=n.subtract(r??0,"day"),{year:n.year(),month:n.month()+1,day:n.date()}}toDateString(t,e){const a=t=>{let e,a,r,o;return t instanceof Date?(o=i.default(t).utcOffset(this.timezoneOffset),e=o.year(),a=o.month()+1,r=o.date()):(e=t.year,a=t.month,r=t.day,o=i.default(`${e}-${a}-${r}`).utcOffset(this.timezoneOffset)),{year:e,month:a,day:r,d:o}},{year:r,month:o,day:s,d:n}=a(t),c=n.format("YYYY-MM-DD");if(e){const{year:t,month:n,day:c}=a(e);if(r<t||r===t&&o<n||r===t&&o===n&&s<c)throw new Error(`You can only retrieve data after ${i.default(`${t}-${n}-${c}`).format("YYYY-MM-DD")}.`)}return c}}var d,E,p,A;t.CharacterImageAction=void 0,(d=t.CharacterImageAction||(t.CharacterImageAction={})).Stand1="A00",d.Stand2="A01",d.Walk1="A02",d.Walk2="A03",d.Prone="A04",d.Fly="A05",d.Jump="A06",d.Sit="A07",d.Ladder="A08",d.Rope="A09",d.Heal="A10",d.Alert="A11",d.ProneStab="A12",d.SwingO1="A13",d.SwingO2="A14",d.SwingO3="A15",d.SwingOF="A16",d.SwingP1="A17",d.SwingP2="A18",d.SwingPF="A19",d.SwingT1="A20",d.SwingT2="A21",d.SwingT3="A22",d.SwingTF="A23",d.StabO1="A24",d.StabO2="A25",d.StabOF="A26",d.StabT1="A27",d.StabT2="A28",d.StabTF="A29",d.Shoot1="A30",d.Shoot2="A31",d.ShootF="A32",d.Dead="A33",d.GhostWalk="A34",d.GhostStand="A35",d.GhostJump="A36",d.GhostProneStab="A37",d.GhostLadder="A38",d.GhostRope="A39",d.GhostFly="A40",d.GhostSit="A41",t.CharacterImageEmotion=void 0,(E=t.CharacterImageEmotion||(t.CharacterImageEmotion={})).Default="E00",E.Wink="E01",E.Smile="E02",E.Cry="E03",E.Angry="E04",E.Bewildered="E05",E.Blink="E06",E.Blaze="E07",E.Bowing="E08",E.Cheers="E09",E.Chu="E10",E.Dam="E11",E.Despair="E12",E.Glitter="E13",E.Hit="E14",E.Hot="E15",E.Hum="E16",E.Love="E17",E.Oops="E18",E.Pain="E19",E.Troubled="E20",E.QBlue="E21",E.Shine="E22",E.Stunned="E23",E.Vomit="E24",t.CharacterImageWeaponMotion=void 0,(p=t.CharacterImageWeaponMotion||(t.CharacterImageWeaponMotion={})).Default="W00",p.OneHand="W01",p.TwoHands="W02",p.Gun="W03",p.Nothing="W04",t.PotentialOptionGrade=void 0,(A=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[A.RARE=0]="RARE",A[A.EPIC=1]="EPIC",A[A.UNIQUE=2]="UNIQUE",A[A.LEGENDARY=3]="LEGENDARY";t.CharacterAbilityDto=class{},t.CharacterAbilityInfoDto=class{},t.CharacterAbilityPresetDto=class{},t.CharacterAndroidCashItemEquipmentColoringPrismDto=class{},t.CharacterAndroidCashItemEquipmentDto=class{},t.CharacterAndroidCashItemEquipmentOptionDto=class{},t.CharacterAndroidEquipmentDto=class{},t.CharacterAndroidEquipmentFaceDto=class{},t.CharacterAndroidEquipmentHairDto=class{},t.CharacterAndroidEquipmentPresetDto=class{},t.CharacterAndroidEquipmentSkinDto=class{},t.CharacterBasicDto=class{get isAccessFlag(){return"true"===this.accessFlag}get isLiberationQuestClearFlag(){return"true"===this.liberationQuestClearFlag}},t.CharacterBeautyEquipmentDto=class{},t.CharacterBeautyEquipmentFaceDto=class{},t.CharacterBeautyEquipmentHairDto=class{},t.CharacterBeautyEquipmentSkinDto=class{},t.CharacterCashItemEquipmentColoringPrismDto=class{},t.CharacterCashItemEquipmentDto=class{},t.CharacterCashItemEquipmentOptionDto=class{},t.CharacterCashItemEquipmentPresetDto=class{},t.CharacterDojangDto=class{},t.CharacterDto=class{},t.CharacterFinalStatDto=class{},t.CharacterHexaMatrixDto=class{},t.CharacterHexaMatrixEquipmentDto=class{},t.CharacterHexaMatrixEquipmentLinkedSkillDto=class{},t.CharacterHexaMatrixStatCoreDto=class{},t.CharacterHexaMatrixStatDto=class{},t.CharacterHyperStatDto=class{},t.CharacterHyperStatPresetDto=class{},t.CharacterImageDto=class{},t.CharacterItemEquipmentAddOptionDto=class{},t.CharacterItemEquipmentBaseOptionDto=class{},t.CharacterItemEquipmentDragonInfoDto=class{},t.CharacterItemEquipmentDto=class{},t.CharacterItemEquipmentEtcOptionDto=class{},t.CharacterItemEquipmentExceptionalOptionDto=class{},t.CharacterItemEquipmentInfoDto=class{},t.CharacterItemEquipmentMechanicInfoDto=class{},t.CharacterItemEquipmentStarforceOptionDto=class{},t.CharacterItemEquipmentTitleDto=class{},t.CharacterItemEquipmentTotalOptionDto=class{},t.CharacterLinkSkillDto=class{},t.CharacterLinkSkillInfoDto=class{},t.CharacterPetEquipmentAutoSkillDto=class{},t.CharacterPetEquipmentDto=class{},t.CharacterPetEquipmentItemDto=class{},t.CharacterPetEquipmentItemOptionDto=class{},t.CharacterPopularityDto=class{},t.CharacterPropensityDto=class{},t.CharacterSetEffectDto=class{},t.CharacterSetEffectInfoDto=class{},t.CharacterSetEffectOptionFullDto=class{},t.CharacterSetEffectSetDto=class{},t.CharacterSkillDto=class{},t.CharacterSkillInfoDto=class{},t.CharacterStatDto=class{},t.CharacterSymbolEquipmentDto=class{},t.CharacterSymbolEquipmentInfoDto=class{},t.CharacterVMatrixCodeEquipmentDto=class{},t.CharacterVMatrixDto=class{},t.GuildBasicDto=class{},t.GuildDto=class{},t.GuildSkillDto=class{},t.MapleStoryApi=m,t.MapleStoryApiError=h,t.UnionArtifactCrystalDto=class{},t.UnionArtifactDto=class{},t.UnionArtifactEffectDto=class{},t.UnionDto=class{},t.UnionRaiderBlockControlPointDto=class{},t.UnionRaiderBlockDto=class{},t.UnionRaiderBlockPositionDto=class{},t.UnionRaiderDto=class{},t.UnionRaiderInnerStatDto=class{},t.UnionRaiderPresetDto=class{}}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maplestory-openapi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maplestory",
|
|
@@ -23,8 +23,19 @@
|
|
|
23
23
|
"author": "SpiralMoon",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
-
"import": "./dist/index.
|
|
27
|
-
"require": "./dist/index.js"
|
|
26
|
+
"import": "./dist/esm/index.js",
|
|
27
|
+
"require": "./dist/cjs/index.js",
|
|
28
|
+
"types": "./types/index.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./kms": {
|
|
31
|
+
"import": "./dist/esm/maplestory/api/kms/kms.js",
|
|
32
|
+
"require": "./dist/cjs/maplestory/api/kms/kms.js",
|
|
33
|
+
"types": "./types/maplestory/api/kms/index.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./msea": {
|
|
36
|
+
"import": "./dist/esm/maplestory/api/msea/msea.js",
|
|
37
|
+
"require": "./dist/cjs/maplestory/api/msea/msea.js",
|
|
38
|
+
"types": "./types/maplestory/api/msea/index.d.ts"
|
|
28
39
|
},
|
|
29
40
|
"./package.json": "./package.json"
|
|
30
41
|
},
|
package/types/index.d.ts
CHANGED
|
@@ -1,111 +1,30 @@
|
|
|
1
|
-
export * from './maplestory/api/mapleStoryApi';
|
|
2
|
-
export * from './maplestory/api/mapleStoryApiError';
|
|
3
|
-
export * from './maplestory/api/
|
|
4
|
-
export * from './maplestory/api/
|
|
5
|
-
export * from './maplestory/api/dto/character/
|
|
6
|
-
export * from './maplestory/api/dto/character/
|
|
7
|
-
export * from './maplestory/api/dto/character/
|
|
8
|
-
export * from './maplestory/api/dto/character/
|
|
9
|
-
export * from './maplestory/api/dto/character/
|
|
10
|
-
export * from './maplestory/api/dto/character/
|
|
11
|
-
export * from './maplestory/api/dto/character/
|
|
12
|
-
export * from './maplestory/api/dto/character/
|
|
13
|
-
export * from './maplestory/api/dto/character/
|
|
14
|
-
export * from './maplestory/api/dto/character/
|
|
15
|
-
export * from './maplestory/api/dto/character/
|
|
16
|
-
export * from './maplestory/api/dto/character/
|
|
17
|
-
export * from './maplestory/api/dto/character/
|
|
18
|
-
export * from './maplestory/api/dto/character/
|
|
19
|
-
export * from './maplestory/api/dto/character/
|
|
20
|
-
export * from './maplestory/api/dto/character/
|
|
21
|
-
export * from './maplestory/api/dto/character/
|
|
22
|
-
export * from './maplestory/api/dto/character/
|
|
23
|
-
export * from './maplestory/api/dto/character/
|
|
24
|
-
export * from './maplestory/api/dto/character/
|
|
25
|
-
export * from './maplestory/api/dto/character/
|
|
26
|
-
export * from './maplestory/api/dto/
|
|
27
|
-
export * from './maplestory/api/dto/
|
|
28
|
-
export * from './maplestory/api/dto/
|
|
29
|
-
export * from './maplestory/api/dto/
|
|
30
|
-
export * from './maplestory/api/dto/
|
|
31
|
-
export * from './maplestory/api/dto/character/characterHyperStatPresetDto';
|
|
32
|
-
export * from './maplestory/api/dto/character/characterImageDto';
|
|
33
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentAddOptionDto';
|
|
34
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentBaseOptionDto';
|
|
35
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentDragonInfoDto';
|
|
36
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentDto';
|
|
37
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentEtcOptionDto';
|
|
38
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentExceptionalOptionDto';
|
|
39
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentInfoDto';
|
|
40
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentMechanicInfoDto';
|
|
41
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentStarforceOptionDto';
|
|
42
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentTitleDto';
|
|
43
|
-
export * from './maplestory/api/dto/character/characterItemEquipmentTotalOptionDto';
|
|
44
|
-
export * from './maplestory/api/dto/character/characterLinkSkillDto';
|
|
45
|
-
export * from './maplestory/api/dto/character/characterLinkSkillInfoDto';
|
|
46
|
-
export * from './maplestory/api/dto/character/characterListAccountCharacterDto';
|
|
47
|
-
export * from './maplestory/api/dto/character/characterListAccountDto';
|
|
48
|
-
export * from './maplestory/api/dto/character/characterListDto';
|
|
49
|
-
export * from './maplestory/api/dto/character/characterPetEquipmentAutoSkillDto';
|
|
50
|
-
export * from './maplestory/api/dto/character/characterPetEquipmentDto';
|
|
51
|
-
export * from './maplestory/api/dto/character/characterPetEquipmentItemDto';
|
|
52
|
-
export * from './maplestory/api/dto/character/characterPetEquipmentItemOptionDto';
|
|
53
|
-
export * from './maplestory/api/dto/character/characterPopularityDto';
|
|
54
|
-
export * from './maplestory/api/dto/character/characterPropensityDto';
|
|
55
|
-
export * from './maplestory/api/dto/character/characterSetEffectDto';
|
|
56
|
-
export * from './maplestory/api/dto/character/characterSetEffectSetDto';
|
|
57
|
-
export * from './maplestory/api/dto/character/characterSetEffectInfoDto';
|
|
58
|
-
export * from './maplestory/api/dto/character/characterSetEffectOptionFullDto';
|
|
59
|
-
export * from './maplestory/api/dto/character/characterSkillDto';
|
|
60
|
-
export * from './maplestory/api/dto/character/characterSkillInfoDto';
|
|
61
|
-
export * from './maplestory/api/dto/character/characterStatDto';
|
|
62
|
-
export * from './maplestory/api/dto/character/characterSymbolEquipmentDto';
|
|
63
|
-
export * from './maplestory/api/dto/character/characterSymbolEquipmentInfoDto';
|
|
64
|
-
export * from './maplestory/api/dto/character/characterVMatrixCoreEquipmentDto';
|
|
65
|
-
export * from './maplestory/api/dto/character/characterVMatrixDto';
|
|
66
|
-
export * from './maplestory/api/dto/history/cubeHistoryDto';
|
|
67
|
-
export * from './maplestory/api/dto/history/cubeHistoryResponseDto';
|
|
68
|
-
export * from './maplestory/api/dto/history/cubeResultOptionDto';
|
|
69
|
-
export * from './maplestory/api/dto/history/potentialHistoryDto';
|
|
70
|
-
export * from './maplestory/api/dto/history/potentialHistoryResponseDto';
|
|
71
|
-
export * from './maplestory/api/dto/history/potentialResultOptionDto';
|
|
72
|
-
export * from './maplestory/api/dto/ranking/dojangRankingDto';
|
|
73
|
-
export * from './maplestory/api/dto/ranking/dojangRankingResponseDto';
|
|
74
|
-
export * from './maplestory/api/dto/ranking/guildRankingDto';
|
|
75
|
-
export * from './maplestory/api/dto/ranking/guildRankingResponseDto';
|
|
76
|
-
export * from './maplestory/api/dto/guild/guildBasicDto';
|
|
77
|
-
export * from './maplestory/api/dto/guild/guildDto';
|
|
78
|
-
export * from './maplestory/api/dto/guild/guildSkillDto';
|
|
79
|
-
export * from './maplestory/api/dto/inspectionInfoDto';
|
|
80
|
-
export * from './maplestory/api/dto/ranking/overallRankingDto';
|
|
81
|
-
export * from './maplestory/api/dto/ranking/overallRankingResponseDto';
|
|
82
|
-
export * from './maplestory/api/dto/potentialOptionGrade';
|
|
83
|
-
export * from './maplestory/api/dto/history/starforceEventDto';
|
|
84
|
-
export * from './maplestory/api/dto/history/starforceHistoryDto';
|
|
85
|
-
export * from './maplestory/api/dto/history/starforceHistoryResponseDto';
|
|
86
|
-
export * from './maplestory/api/dto/notice/cashshopNoticeDetailDto';
|
|
87
|
-
export * from './maplestory/api/dto/notice/cashshopNoticeListDto';
|
|
88
|
-
export * from './maplestory/api/dto/notice/cashshopNoticeListItemDto';
|
|
89
|
-
export * from './maplestory/api/dto/notice/eventNoticeDetailDto';
|
|
90
|
-
export * from './maplestory/api/dto/notice/eventNoticeListDto';
|
|
91
|
-
export * from './maplestory/api/dto/notice/eventNoticeListItemDto';
|
|
92
|
-
export * from './maplestory/api/dto/notice/noticeDetailDto';
|
|
93
|
-
export * from './maplestory/api/dto/notice/noticeListDto';
|
|
94
|
-
export * from './maplestory/api/dto/notice/noticeListItemDto';
|
|
95
|
-
export * from './maplestory/api/dto/notice/updateNoticeDetailDto';
|
|
96
|
-
export * from './maplestory/api/dto/notice/updateNoticeListDto';
|
|
97
|
-
export * from './maplestory/api/dto/notice/updateNoticeListItemDto';
|
|
98
|
-
export * from './maplestory/api/dto/ranking/theSeedRankingDto';
|
|
99
|
-
export * from './maplestory/api/dto/ranking/theSeedRankingResponseDto';
|
|
100
|
-
export * from './maplestory/api/dto/union/unionArtifactCrystalDto';
|
|
101
|
-
export * from './maplestory/api/dto/union/unionArtifactDto';
|
|
102
|
-
export * from './maplestory/api/dto/union/unionArtifactEffectDto';
|
|
103
|
-
export * from './maplestory/api/dto/union/unionDto';
|
|
104
|
-
export * from './maplestory/api/dto/union/unionRaiderBlockDto';
|
|
105
|
-
export * from './maplestory/api/dto/union/unionRaiderBlockPositionDto';
|
|
106
|
-
export * from './maplestory/api/dto/union/unionRaiderControlPointDto';
|
|
107
|
-
export * from './maplestory/api/dto/union/unionRaiderDto';
|
|
108
|
-
export * from './maplestory/api/dto/union/unionRaiderInnerStatDto';
|
|
109
|
-
export * from './maplestory/api/dto/union/unionRaiderPresetDto';
|
|
110
|
-
export * from './maplestory/api/dto/ranking/unionRankingDto';
|
|
111
|
-
export * from './maplestory/api/dto/ranking/unionRankingResponseDto';
|
|
1
|
+
export * from './maplestory/api/common/mapleStoryApi';
|
|
2
|
+
export * from './maplestory/api/common/mapleStoryApiError';
|
|
3
|
+
export * from './maplestory/api/common/enum/characterImage';
|
|
4
|
+
export * from './maplestory/api/common/enum/potentialOptionGrade';
|
|
5
|
+
export * from './maplestory/api/common/dto/character/character';
|
|
6
|
+
export * from './maplestory/api/common/dto/character/characterAbility';
|
|
7
|
+
export * from './maplestory/api/common/dto/character/characterAndroidEquipment';
|
|
8
|
+
export * from './maplestory/api/common/dto/character/characterBasic';
|
|
9
|
+
export * from './maplestory/api/common/dto/character/characterBeautyEquipment';
|
|
10
|
+
export * from './maplestory/api/common/dto/character/characterCashItemEquipment';
|
|
11
|
+
export * from './maplestory/api/common/dto/character/characterDojang';
|
|
12
|
+
export * from './maplestory/api/common/dto/character/characterHexaMatrix';
|
|
13
|
+
export * from './maplestory/api/common/dto/character/characterHexaMatrixStat';
|
|
14
|
+
export * from './maplestory/api/common/dto/character/characterHyperStat';
|
|
15
|
+
export * from './maplestory/api/common/dto/character/characterImage';
|
|
16
|
+
export * from './maplestory/api/common/dto/character/characterItemEquipment';
|
|
17
|
+
export * from './maplestory/api/common/dto/character/characterLinkSkill';
|
|
18
|
+
export * from './maplestory/api/common/dto/character/characterPetEquipment';
|
|
19
|
+
export * from './maplestory/api/common/dto/character/characterPopularity';
|
|
20
|
+
export * from './maplestory/api/common/dto/character/characterPropensity';
|
|
21
|
+
export * from './maplestory/api/common/dto/character/characterSetEffect';
|
|
22
|
+
export * from './maplestory/api/common/dto/character/characterSkill';
|
|
23
|
+
export * from './maplestory/api/common/dto/character/characterStat';
|
|
24
|
+
export * from './maplestory/api/common/dto/character/characterSymbolEquipment';
|
|
25
|
+
export * from './maplestory/api/common/dto/character/characterVMatrix';
|
|
26
|
+
export * from './maplestory/api/common/dto/guild/guild';
|
|
27
|
+
export * from './maplestory/api/common/dto/guild/guildBasic';
|
|
28
|
+
export * from './maplestory/api/common/dto/union/union';
|
|
29
|
+
export * from './maplestory/api/common/dto/union/unionArtifact';
|
|
30
|
+
export * from './maplestory/api/common/dto/union/unionRaider';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare abstract class CharacterAbilityDto {
|
|
2
|
+
abstract date: Date | null;
|
|
3
|
+
abstract abilityGrade: string | null;
|
|
4
|
+
abstract abilityInfo: CharacterAbilityInfoDto[];
|
|
5
|
+
abstract remainFame: number | null;
|
|
6
|
+
abstract presetNo: number | null;
|
|
7
|
+
abstract abilityPreset1: CharacterAbilityPresetDto | null;
|
|
8
|
+
abstract abilityPreset2: CharacterAbilityPresetDto | null;
|
|
9
|
+
abstract abilityPreset3: CharacterAbilityPresetDto | null;
|
|
10
|
+
}
|
|
11
|
+
export declare abstract class CharacterAbilityInfoDto {
|
|
12
|
+
abstract abilityNo: string;
|
|
13
|
+
abstract abilityGrade: string;
|
|
14
|
+
abstract abilityValue: string;
|
|
15
|
+
}
|
|
16
|
+
export declare abstract class CharacterAbilityPresetDto {
|
|
17
|
+
abstract abilityPresetGrade: string;
|
|
18
|
+
abstract abilityInfo: CharacterAbilityInfoDto[];
|
|
19
|
+
}
|