maplestory-openapi 2.11.0 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2559,7 +2559,11 @@ class CharacterAndroidCashItemEquipmentDto {
2559
2559
  /**
2560
2560
  * 안드로이드 캐시 아이템 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
2561
2561
  */
2562
- dateOptionExpire;
2562
+ dateOptionExpire = null;
2563
+ /**
2564
+ * 안드로이드 캐시 아이템 옵션 유효 기간 만료 여부
2565
+ */
2566
+ isOptionExpired = null;
2563
2567
  /**
2564
2568
  * 안드로이드 캐시 아이템 라벨 정보 (스페셜라벨, 레드라벨, 블랙라벨, 마스터라벨)
2565
2569
  */
@@ -2577,13 +2581,18 @@ class CharacterAndroidCashItemEquipmentDto {
2577
2581
  this.cashItemDescription = cash_item_description;
2578
2582
  this.cashItemOption = cash_item_option.map((option) => new CharacterAndroidCashItemEquipmentOptionDto(option));
2579
2583
  this.dateExpire = date_expire ? new Date(date_expire) : null;
2580
- this.dateOptionExpire = date_option_expire
2581
- ? new Date(date_option_expire)
2582
- : null;
2583
2584
  this.cashItemLabel = cash_item_label;
2584
2585
  this.cashItemColoringPrism = cash_item_coloring_prism
2585
2586
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
2586
2587
  : null;
2588
+ if (date_option_expire === 'expired') {
2589
+ this.isOptionExpired = true;
2590
+ }
2591
+ else if (typeof date_option_expire === 'string') {
2592
+ this.dateOptionExpire = date_option_expire
2593
+ ? new Date(date_option_expire)
2594
+ : null;
2595
+ }
2587
2596
  }
2588
2597
  }
2589
2598
 
@@ -3173,7 +3182,11 @@ class CharacterCashItemEquipmentPresetDto {
3173
3182
  /**
3174
3183
  * 캐시 장비 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
3175
3184
  */
3176
- dateOptionExpire;
3185
+ dateOptionExpire = null;
3186
+ /**
3187
+ * 캐시 장비 옵션 유효 기간 만료 여부
3188
+ */
3189
+ isOptionExpired = null;
3177
3190
  /**
3178
3191
  * 캐시 장비 라벨 정보
3179
3192
  */
@@ -3198,14 +3211,21 @@ class CharacterCashItemEquipmentPresetDto {
3198
3211
  this.cashItemIcon = cash_item_icon;
3199
3212
  this.cashItemDescription = cash_item_description;
3200
3213
  this.cashItemOption = cash_item_option.map((option) => new CharacterCashItemEquipmentOptionDto(option));
3201
- this.dateExpire = date_expire;
3202
- this.dateOptionExpire = date_option_expire;
3214
+ this.dateExpire = date_expire ? new Date(date_expire) : null;
3203
3215
  this.cashItemLabel = cash_item_label;
3204
3216
  this.cashItemColoringPrism = cash_item_coloring_prism
3205
3217
  ? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
3206
3218
  : null;
3207
3219
  this.itemGender = item_gender;
3208
3220
  this.skills = skills;
3221
+ if (date_option_expire === 'expired') {
3222
+ this.isOptionExpired = true;
3223
+ }
3224
+ else if (typeof date_option_expire === 'string') {
3225
+ this.dateOptionExpire = date_option_expire
3226
+ ? new Date(date_option_expire)
3227
+ : null;
3228
+ }
3209
3229
  }
3210
3230
  }
3211
3231
 
@@ -4035,7 +4055,7 @@ class CharacterItemEquipmentExceptionalOptionDto {
4035
4055
  this.maxMp = max_mp;
4036
4056
  this.attackPower = attack_power;
4037
4057
  this.magicPower = magic_power;
4038
- this.exceptionalUpgrade = exceptional_upgrade;
4058
+ this.exceptionalUpgrade = exceptional_upgrade ?? 0;
4039
4059
  }
4040
4060
  }
4041
4061
 
package/dist/index.min.js CHANGED
@@ -7,4 +7,4 @@ 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?
7
7
  * @author Feross Aboukhadijeh <https://feross.org>
8
8
  * @license MIT
9
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 O(this,e,i);case"utf8":case"utf-8":return I(this,e,i);case"ascii":return P(this,e,i);case"latin1":case"binary":return x(this,e,i);case"base64":return k(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(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 S(t,e,i,a){return W(V(e),t,i,a)}function C(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 I(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<=D)return String.fromCharCode.apply(String,t);let i="",a=0;for(;a<e;)i+=String.fromCharCode.apply(String,t.slice(a,a+=D));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?I(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 S(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(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 D=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 x(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 O(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 N(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,S,C,k=E.exports;class I{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 D{abilityPresetGrade;abilityInfo;constructor(t){const{ability_preset_grade:e,ability_info:i}=t;this.abilityPresetGrade=e,this.abilityInfo=i.map((t=>new I(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 I(t))),this.remainFame=r,this.presetNo=n,this.abilityPreset1=o?new D(o):null,this.abilityPreset2=s?new D(s):null,this.abilityPreset3=c?new D(c):null}}class x{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 O{optionType;optionValue;constructor(t){const{option_type:e,option_value:i}=t;this.optionType=e,this.optionValue=i}}class N{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;dateOptionExpire;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 O(t))),this.dateExpire=s?new Date(s):null,this.dateOptionExpire=c?new Date(c):null,this.cashItemLabel=l,this.cashItemColoringPrism=h?new x(h):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=new L(o),this.androidFace=new A(s),this.androidSkin=c?new R(c):null,this.androidCashItemEquipment=l.map((t=>new N(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=new F(r),this.characterFace=new T(n),this.characterSkin=new M(o),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;dateOptionExpire;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.dateExpire=s,this.dateOptionExpire=c,this.cashItemLabel=l,this.cashItemColoringPrism=h?new $(h):null,this.itemGender=p,this.skills=u}}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;presetHexaStatCore;presetHexaStatCore2;constructor(t){const{date:e,character_class:i,character_hexa_stat_core:a,character_hexa_stat_core_2:r,preset_hexa_stat_core:n,preset_hexa_stat_core_2:o}=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.presetHexaStatCore=n.map((t=>new X(t))),this.presetHexaStatCore2=o.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,(S=t.CharacterImageWeaponMotion||(t.CharacterImageWeaponMotion={})).Default="W00",S.OneHand="W01",S.TwoHands="W02",S.Gun="W03",S.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}}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;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:S,starforce:C,starforce_scroll_flag:k,item_starforce_option:I,special_ring_level:D,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(S),this.starforce=C,this.starforceScrollFlag=k,this.itemStarforceOption=new ot(I),this.specialRingLevel=D,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;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:S,scroll_upgrade:C,cuttable_count:k,golden_hammer_flag:I,scroll_resilience_count:D,scroll_upgradeable_count:P,soul_name:x,soul_option:O,item_etc_option:N,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=S,this.scrollUpgrade=C,this.cuttableCount=k,this.goldenHammerFlag=I,this.scrollResilienceCount=D,this.scrollUpgradeableCount=P,this.soulName=x,this.soulOption=O,this.itemEtcOption=new rt(N),this.starforce=A,this.starforceScrollFlag=L,this.itemStarforceOption=new ot(R),this.specialRingLevel=B,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;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:S,starforce:C,starforce_scroll_flag:k,item_starforce_option:I,special_ring_level:D,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(S),this.starforce=C,this.starforceScrollFlag=k,this.itemStarforceOption=new ot(I),this.specialRingLevel=D,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;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.dateExpire=r?new Date(r):null,this.titleShapeName=o,this.titleShapeIcon=s,this.titleShapeDescription=c,"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?o.map((t=>new lt(t))):null,this.itemEquipmentPreset2=s?s.map((t=>new lt(t))):null,this.itemEquipmentPreset3=c?c.map((t=>new lt(t))):null,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=new mt(s),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;pet1Appearance;pet1AppearanceIcon;pet2Name;pet2Nickname;pet2Icon;pet2Description;pet2Equipment;pet2AutoSkill;pet2PetType;pet2Skill;pet2DateExpire;pet2Appearance;pet2AppearanceIcon;pet3Name;pet3Nickname;pet3Icon;pet3Description;pet3Equipment;pet3AutoSkill;pet3PetType;pet3Skill;pet3DateExpire;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:S,pet_3_name:C,pet_3_nickname:k,pet_3_icon:I,pet_3_description:D,pet_3_equipment:P,pet_3_auto_skill:x,pet_3_pet_type:O,pet_3_skill:N,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.pet1DateExpire=h?new Date(h):null,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.pet2DateExpire=b?new Date(b):null,this.pet2Appearance=v,this.pet2AppearanceIcon=S,this.pet3Name=C,this.pet3Nickname=k,this.pet3Icon=I,this.pet3Description=D,this.pet3Equipment=P?new bt(P):null,this.pet3AutoSkill=x?new wt(x):null,this.pet3PetType=O,this.pet3Skill=N,this.pet3DateExpire=A?new Date(A):null,this.pet3Appearance=L,this.pet3AppearanceIcon=R}}class St{date;popularity;constructor(t){const{date:e,popularity:i}=t;this.date=e?new Date(e):null,this.popularity=i}}class Ct{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 It{setCount;setOption;constructor(t){const{set_count:e,set_option:i}=t;this.setCount=e,this.setOption=i}}class Dt{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 It(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 Dt(t)))}}class xt{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 Ot{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 xt(t)))}}class Nt{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,(C=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[C.RARE=0]="RARE",C[C.EPIC=1]="EPIC",C[C.UNIQUE=2]="UNIQUE",C[C.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;costDiscountRate;plusValue;starforceEventRange;constructor(t){const{success_rate:e,cost_discount_rate:i,plus_value:a,starforce_event_range:r}=t;this.successRate=e,this.costDiscountRate=i,this.plusValue=a,this.starforceEventRange=r}}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;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.dateExpire=new Date(a),this.level=r,this.crystalOptionName1=n,this.crystalOptionName2=o,this.crystalOptionName3=s}}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 Se{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 Ce{x;y;constructor(t){const{x:e,y:i}=t;this.x=e,this.y=i}}class ke{x;y;constructor(t){const{x:e,y:i}=t;this.x=e,this.y=i}}class Ie{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 ke(r),this.blockPosition=n?n.map((t=>new Ce(t))):null}}class De{statFieldId;statFieldEffect;constructor(t){const{stat_field_id:e,stat_field_effect:i}=t;this.statFieldId=e,this.statFieldEffect=i}}class Pe{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 De(t))),this.unionBlock=r.map((t=>new Ie(t)))}}class xe{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 De(t))),this.unionBlock=n.map((t=>new Ie(t))),this.usePresetNo=o,this.unionRaiderPreset1=s?new Pe(s):null,this.unionRaiderPreset2=c?new Pe(c):null,this.unionRaiderPreset3=l?new Pe(l):null,this.unionRaiderPreset4=h?new Pe(h):null,this.unionRaiderPreset5=p?new Pe(p):null}}class Oe extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:i}=t.error;super(i),this.errorCode=Ae[e],this.message=i}}var Ne;t.MapleStoryApiErrorCode=void 0,(Ne=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[Ne.OPENAPI00001=0]="OPENAPI00001",Ne[Ne.OPENAPI00002=1]="OPENAPI00002",Ne[Ne.OPENAPI00003=2]="OPENAPI00003",Ne[Ne.OPENAPI00004=3]="OPENAPI00004",Ne[Ne.OPENAPI00005=4]="OPENAPI00005",Ne[Ne.OPENAPI00006=5]="OPENAPI00006",Ne[Ne.OPENAPI00007=6]="OPENAPI00007",Ne[Ne.OPENAPI00009=7]="OPENAPI00009",Ne[Ne.OPENAPI00010=8]="OPENAPI00010",Ne[Ne.OPENAPI00011=9]="OPENAPI00011";const Ae={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};class Le{stat;constructor(t){const{stat:e}=t;this.stat=e}}class Re{championSlot;championGrade;championClass;championBadgeInfo;constructor(t){const{champion_slot:e,champion_grade:i,champion_class:a,champion_badge_info:r}=t;this.championSlot=e,this.championGrade=i,this.championClass=a,this.championBadgeInfo=r.map((t=>new Le(t)))}}class Be{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 Re(t))),this.championBadgeTotalInfo=a.map((t=>new Le(t)))}}o.default.extend(w),o.default.extend(k);class qe{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;static kstOffset=540;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 Oe(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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/character/popularity",{params:i});return new St(a)}async getCharacterStat(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/character/stat",{params:i});return new Nt(a)}async getCharacterHyperStat(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/character/propensity",{params:i});return new Ct(a)}async getCharacterAbility(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},i):void 0},{data:r}=await this.client.get("maplestory/v1/character/skill",{params:a});return new Ot(r)}async getCharacterLinkSkill(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/user/union",{params:i});return new Se(a)}async getUnionRaider(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/user/union-raider",{params:i});return new xe(a)}async getUnionArtifact(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/user/union-champion",{params:i});return new Be(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?qe.toDateString({year:2023,month:12,day:21},e):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=qe.toDateString({year:2023,month:12,day:27},e??qe.getProperDefaultDateOptions({hour:0,minute:0,dateOffset:0})));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=qe.toDateString({year:2022,month:11,day:25},e??qe.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));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=qe.toDateString({year:2024,month:1,day:25},e??qe.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));const{data:a}=await this.client.get("maplestory/v1/history/potential",{params:i});return new Yt(a)}async getOverallRanking(t,e=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e),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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e),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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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)}static getProperDefaultDateOptions(t){const{hour:e,minute:i,dateOffset:a}=t,r=o.default().utcOffset(qe.kstOffset),n=o.default().utcOffset(qe.kstOffset).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()}}static toDateString(t,e){const{year:i,month:a,day:r}=t,{year:n,month:s,day:c}=e;if(n<i||n===i&&s<a||n===i&&s===a&&c<r)throw new Error(`You can only retrieve data after ${o.default(`${i}-${a}-${r}`).format("YYYY-MM-DD")}.`);return o.default(`${n}-${s}-${c}`).utcOffset(qe.kstOffset).format("YYYY-MM-DD")}}t.AchievementRankingDto=ce,t.AchievementRankingResponseDto=le,t.CashshopNoticeDetailDto=Zt,t.CashshopNoticeListDto=Jt,t.CashshopNoticeListItemDto=Xt,t.CharacterAbilityDto=P,t.CharacterAbilityInfoDto=I,t.CharacterAbilityPresetDto=D,t.CharacterAndroidCashItemEquipmentColoringPrismDto=x,t.CharacterAndroidCashItemEquipmentDto=N,t.CharacterAndroidCashItemEquipmentOptionDto=O,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=St,t.CharacterPropensityDto=Ct,t.CharacterSetEffectDto=Pt,t.CharacterSetEffectInfoDto=kt,t.CharacterSetEffectOptionFullDto=It,t.CharacterSetEffectSetDto=Dt,t.CharacterSkillDto=Ot,t.CharacterSkillInfoDto=xt,t.CharacterStatDto=Nt,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=Oe,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=Se,t.UnionRaiderBlockControlPointDto=ke,t.UnionRaiderBlockDto=Ie,t.UnionRaiderBlockPositionDto=Ce,t.UnionRaiderDto=xe,t.UnionRaiderInnerStatDto=De,t.UnionRaiderPresetDto=Pe,t.UnionRankingDto=ye,t.UnionRankingResponseDto=we,t.UpdateNoticeDetailDto=ne,t.UpdateNoticeListDto=se,t.UpdateNoticeListItemDto=oe,t.potentialOptionGradeFromString=Ft}));
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 O(this,e,i);case"utf8":case"utf-8":return I(this,e,i);case"ascii":return P(this,e,i);case"latin1":case"binary":return x(this,e,i);case"base64":return k(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(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 S(t,e,i,a){return W(V(e),t,i,a)}function C(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 I(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<=D)return String.fromCharCode.apply(String,t);let i="",a=0;for(;a<e;)i+=String.fromCharCode.apply(String,t.slice(a,a+=D));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?I(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 S(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(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 D=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 x(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 O(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 N(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,S,C,k=E.exports;class I{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 D{abilityPresetGrade;abilityInfo;constructor(t){const{ability_preset_grade:e,ability_info:i}=t;this.abilityPresetGrade=e,this.abilityInfo=i.map((t=>new I(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 I(t))),this.remainFame=r,this.presetNo=n,this.abilityPreset1=o?new D(o):null,this.abilityPreset2=s?new D(s):null,this.abilityPreset3=c?new D(c):null}}class x{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 O{optionType;optionValue;constructor(t){const{option_type:e,option_value:i}=t;this.optionType=e,this.optionValue=i}}class N{cashItemEquipmentPart;cashItemEquipmentSlot;cashItemName;cashItemIcon;cashItemDescription;cashItemOption;dateExpire;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 O(t))),this.dateExpire=s?new Date(s):null,this.cashItemLabel=l,this.cashItemColoringPrism=h?new x(h):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=new L(o),this.androidFace=new A(s),this.androidSkin=c?new R(c):null,this.androidCashItemEquipment=l.map((t=>new N(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=new F(r),this.characterFace=new T(n),this.characterSkin=new M(o),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;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.dateExpire=s?new Date(s):null,this.cashItemLabel=l,this.cashItemColoringPrism=h?new $(h):null,this.itemGender=p,this.skills=u,"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;presetHexaStatCore;presetHexaStatCore2;constructor(t){const{date:e,character_class:i,character_hexa_stat_core:a,character_hexa_stat_core_2:r,preset_hexa_stat_core:n,preset_hexa_stat_core_2:o}=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.presetHexaStatCore=n.map((t=>new X(t))),this.presetHexaStatCore2=o.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,(S=t.CharacterImageWeaponMotion||(t.CharacterImageWeaponMotion={})).Default="W00",S.OneHand="W01",S.TwoHands="W02",S.Gun="W03",S.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;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:S,starforce:C,starforce_scroll_flag:k,item_starforce_option:I,special_ring_level:D,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(S),this.starforce=C,this.starforceScrollFlag=k,this.itemStarforceOption=new ot(I),this.specialRingLevel=D,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;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:S,scroll_upgrade:C,cuttable_count:k,golden_hammer_flag:I,scroll_resilience_count:D,scroll_upgradeable_count:P,soul_name:x,soul_option:O,item_etc_option:N,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=S,this.scrollUpgrade=C,this.cuttableCount=k,this.goldenHammerFlag=I,this.scrollResilienceCount=D,this.scrollUpgradeableCount=P,this.soulName=x,this.soulOption=O,this.itemEtcOption=new rt(N),this.starforce=A,this.starforceScrollFlag=L,this.itemStarforceOption=new ot(R),this.specialRingLevel=B,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;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:S,starforce:C,starforce_scroll_flag:k,item_starforce_option:I,special_ring_level:D,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(S),this.starforce=C,this.starforceScrollFlag=k,this.itemStarforceOption=new ot(I),this.specialRingLevel=D,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;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.dateExpire=r?new Date(r):null,this.titleShapeName=o,this.titleShapeIcon=s,this.titleShapeDescription=c,"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?o.map((t=>new lt(t))):null,this.itemEquipmentPreset2=s?s.map((t=>new lt(t))):null,this.itemEquipmentPreset3=c?c.map((t=>new lt(t))):null,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=new mt(s),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;pet1Appearance;pet1AppearanceIcon;pet2Name;pet2Nickname;pet2Icon;pet2Description;pet2Equipment;pet2AutoSkill;pet2PetType;pet2Skill;pet2DateExpire;pet2Appearance;pet2AppearanceIcon;pet3Name;pet3Nickname;pet3Icon;pet3Description;pet3Equipment;pet3AutoSkill;pet3PetType;pet3Skill;pet3DateExpire;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:S,pet_3_name:C,pet_3_nickname:k,pet_3_icon:I,pet_3_description:D,pet_3_equipment:P,pet_3_auto_skill:x,pet_3_pet_type:O,pet_3_skill:N,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.pet1DateExpire=h?new Date(h):null,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.pet2DateExpire=b?new Date(b):null,this.pet2Appearance=v,this.pet2AppearanceIcon=S,this.pet3Name=C,this.pet3Nickname=k,this.pet3Icon=I,this.pet3Description=D,this.pet3Equipment=P?new bt(P):null,this.pet3AutoSkill=x?new wt(x):null,this.pet3PetType=O,this.pet3Skill=N,this.pet3DateExpire=A?new Date(A):null,this.pet3Appearance=L,this.pet3AppearanceIcon=R}}class St{date;popularity;constructor(t){const{date:e,popularity:i}=t;this.date=e?new Date(e):null,this.popularity=i}}class Ct{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 It{setCount;setOption;constructor(t){const{set_count:e,set_option:i}=t;this.setCount=e,this.setOption=i}}class Dt{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 It(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 Dt(t)))}}class xt{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 Ot{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 xt(t)))}}class Nt{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,(C=t.PotentialOptionGrade||(t.PotentialOptionGrade={}))[C.RARE=0]="RARE",C[C.EPIC=1]="EPIC",C[C.UNIQUE=2]="UNIQUE",C[C.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;costDiscountRate;plusValue;starforceEventRange;constructor(t){const{success_rate:e,cost_discount_rate:i,plus_value:a,starforce_event_range:r}=t;this.successRate=e,this.costDiscountRate=i,this.plusValue=a,this.starforceEventRange=r}}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;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.dateExpire=new Date(a),this.level=r,this.crystalOptionName1=n,this.crystalOptionName2=o,this.crystalOptionName3=s}}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 Se{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 Ce{x;y;constructor(t){const{x:e,y:i}=t;this.x=e,this.y=i}}class ke{x;y;constructor(t){const{x:e,y:i}=t;this.x=e,this.y=i}}class Ie{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 ke(r),this.blockPosition=n?n.map((t=>new Ce(t))):null}}class De{statFieldId;statFieldEffect;constructor(t){const{stat_field_id:e,stat_field_effect:i}=t;this.statFieldId=e,this.statFieldEffect=i}}class Pe{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 De(t))),this.unionBlock=r.map((t=>new Ie(t)))}}class xe{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 De(t))),this.unionBlock=n.map((t=>new Ie(t))),this.usePresetNo=o,this.unionRaiderPreset1=s?new Pe(s):null,this.unionRaiderPreset2=c?new Pe(c):null,this.unionRaiderPreset3=l?new Pe(l):null,this.unionRaiderPreset4=h?new Pe(h):null,this.unionRaiderPreset5=p?new Pe(p):null}}class Oe extends Error{name="MapleStoryApiError";errorCode;message;constructor(t){const{name:e,message:i}=t.error;super(i),this.errorCode=Ae[e],this.message=i}}var Ne;t.MapleStoryApiErrorCode=void 0,(Ne=t.MapleStoryApiErrorCode||(t.MapleStoryApiErrorCode={}))[Ne.OPENAPI00001=0]="OPENAPI00001",Ne[Ne.OPENAPI00002=1]="OPENAPI00002",Ne[Ne.OPENAPI00003=2]="OPENAPI00003",Ne[Ne.OPENAPI00004=3]="OPENAPI00004",Ne[Ne.OPENAPI00005=4]="OPENAPI00005",Ne[Ne.OPENAPI00006=5]="OPENAPI00006",Ne[Ne.OPENAPI00007=6]="OPENAPI00007",Ne[Ne.OPENAPI00009=7]="OPENAPI00009",Ne[Ne.OPENAPI00010=8]="OPENAPI00010",Ne[Ne.OPENAPI00011=9]="OPENAPI00011";const Ae={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};class Le{stat;constructor(t){const{stat:e}=t;this.stat=e}}class Re{championSlot;championGrade;championClass;championBadgeInfo;constructor(t){const{champion_slot:e,champion_grade:i,champion_class:a,champion_badge_info:r}=t;this.championSlot=e,this.championGrade=i,this.championClass=a,this.championBadgeInfo=r.map((t=>new Le(t)))}}class Be{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 Re(t))),this.championBadgeTotalInfo=a.map((t=>new Le(t)))}}o.default.extend(w),o.default.extend(k);class qe{apiKey;client;static BASE_URL="https://open.api.nexon.com/";static DEFAULT_TIMEOUT=5e3;static kstOffset=540;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 Oe(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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/character/popularity",{params:i});return new St(a)}async getCharacterStat(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/character/stat",{params:i});return new Nt(a)}async getCharacterHyperStat(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/character/propensity",{params:i});return new Ct(a)}async getCharacterAbility(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},i):void 0},{data:r}=await this.client.get("maplestory/v1/character/skill",{params:a});return new Ot(r)}async getCharacterLinkSkill(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/user/union",{params:i});return new Se(a)}async getUnionRaider(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/user/union-raider",{params:i});return new xe(a)}async getUnionArtifact(t,e){const i={ocid:t,date:e?qe.toDateString({year:2023,month:12,day:21},e):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?qe.toDateString({year:2023,month:12,day:21},e):void 0},{data:a}=await this.client.get("maplestory/v1/user/union-champion",{params:i});return new Be(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?qe.toDateString({year:2023,month:12,day:21},e):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=qe.toDateString({year:2023,month:12,day:27},e??qe.getProperDefaultDateOptions({hour:0,minute:0,dateOffset:0})));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=qe.toDateString({year:2022,month:11,day:25},e??qe.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));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=qe.toDateString({year:2024,month:1,day:25},e??qe.getProperDefaultDateOptions({hour:4,minute:0,dateOffset:1})));const{data:a}=await this.client.get("maplestory/v1/history/potential",{params:i});return new Yt(a)}async getOverallRanking(t,e=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e),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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e),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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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=qe.getProperDefaultDateOptions({hour:8,minute:30,dateOffset:0})){const i={date:qe.toDateString({year:2023,month:12,day:22},e)};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)}static getProperDefaultDateOptions(t){const{hour:e,minute:i,dateOffset:a}=t,r=o.default().utcOffset(qe.kstOffset),n=o.default().utcOffset(qe.kstOffset).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()}}static toDateString(t,e){const{year:i,month:a,day:r}=t,{year:n,month:s,day:c}=e;if(n<i||n===i&&s<a||n===i&&s===a&&c<r)throw new Error(`You can only retrieve data after ${o.default(`${i}-${a}-${r}`).format("YYYY-MM-DD")}.`);return o.default(`${n}-${s}-${c}`).utcOffset(qe.kstOffset).format("YYYY-MM-DD")}}t.AchievementRankingDto=ce,t.AchievementRankingResponseDto=le,t.CashshopNoticeDetailDto=Zt,t.CashshopNoticeListDto=Jt,t.CashshopNoticeListItemDto=Xt,t.CharacterAbilityDto=P,t.CharacterAbilityInfoDto=I,t.CharacterAbilityPresetDto=D,t.CharacterAndroidCashItemEquipmentColoringPrismDto=x,t.CharacterAndroidCashItemEquipmentDto=N,t.CharacterAndroidCashItemEquipmentOptionDto=O,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=St,t.CharacterPropensityDto=Ct,t.CharacterSetEffectDto=Pt,t.CharacterSetEffectInfoDto=kt,t.CharacterSetEffectOptionFullDto=It,t.CharacterSetEffectSetDto=Dt,t.CharacterSkillDto=Ot,t.CharacterSkillInfoDto=xt,t.CharacterStatDto=Nt,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=Oe,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=Se,t.UnionRaiderBlockControlPointDto=ke,t.UnionRaiderBlockDto=Ie,t.UnionRaiderBlockPositionDto=Ce,t.UnionRaiderDto=xe,t.UnionRaiderInnerStatDto=De,t.UnionRaiderPresetDto=Pe,t.UnionRankingDto=ye,t.UnionRankingResponseDto=we,t.UpdateNoticeDetailDto=ne,t.UpdateNoticeListDto=se,t.UpdateNoticeListItemDto=oe,t.potentialOptionGradeFromString=Ft}));
package/dist/index.mjs CHANGED
@@ -2551,7 +2551,11 @@ class CharacterAndroidCashItemEquipmentDto {
2551
2551
  /**
2552
2552
  * 안드로이드 캐시 아이템 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
2553
2553
  */
2554
- dateOptionExpire;
2554
+ dateOptionExpire = null;
2555
+ /**
2556
+ * 안드로이드 캐시 아이템 옵션 유효 기간 만료 여부
2557
+ */
2558
+ isOptionExpired = null;
2555
2559
  /**
2556
2560
  * 안드로이드 캐시 아이템 라벨 정보 (스페셜라벨, 레드라벨, 블랙라벨, 마스터라벨)
2557
2561
  */
@@ -2569,13 +2573,18 @@ class CharacterAndroidCashItemEquipmentDto {
2569
2573
  this.cashItemDescription = cash_item_description;
2570
2574
  this.cashItemOption = cash_item_option.map((option) => new CharacterAndroidCashItemEquipmentOptionDto(option));
2571
2575
  this.dateExpire = date_expire ? new Date(date_expire) : null;
2572
- this.dateOptionExpire = date_option_expire
2573
- ? new Date(date_option_expire)
2574
- : null;
2575
2576
  this.cashItemLabel = cash_item_label;
2576
2577
  this.cashItemColoringPrism = cash_item_coloring_prism
2577
2578
  ? new CharacterAndroidCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
2578
2579
  : null;
2580
+ if (date_option_expire === 'expired') {
2581
+ this.isOptionExpired = true;
2582
+ }
2583
+ else if (typeof date_option_expire === 'string') {
2584
+ this.dateOptionExpire = date_option_expire
2585
+ ? new Date(date_option_expire)
2586
+ : null;
2587
+ }
2579
2588
  }
2580
2589
  }
2581
2590
 
@@ -3165,7 +3174,11 @@ class CharacterCashItemEquipmentPresetDto {
3165
3174
  /**
3166
3175
  * 캐시 장비 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
3167
3176
  */
3168
- dateOptionExpire;
3177
+ dateOptionExpire = null;
3178
+ /**
3179
+ * 캐시 장비 옵션 유효 기간 만료 여부
3180
+ */
3181
+ isOptionExpired = null;
3169
3182
  /**
3170
3183
  * 캐시 장비 라벨 정보
3171
3184
  */
@@ -3190,14 +3203,21 @@ class CharacterCashItemEquipmentPresetDto {
3190
3203
  this.cashItemIcon = cash_item_icon;
3191
3204
  this.cashItemDescription = cash_item_description;
3192
3205
  this.cashItemOption = cash_item_option.map((option) => new CharacterCashItemEquipmentOptionDto(option));
3193
- this.dateExpire = date_expire;
3194
- this.dateOptionExpire = date_option_expire;
3206
+ this.dateExpire = date_expire ? new Date(date_expire) : null;
3195
3207
  this.cashItemLabel = cash_item_label;
3196
3208
  this.cashItemColoringPrism = cash_item_coloring_prism
3197
3209
  ? new CharacterCashItemEquipmentColoringPrismDto(cash_item_coloring_prism)
3198
3210
  : null;
3199
3211
  this.itemGender = item_gender;
3200
3212
  this.skills = skills;
3213
+ if (date_option_expire === 'expired') {
3214
+ this.isOptionExpired = true;
3215
+ }
3216
+ else if (typeof date_option_expire === 'string') {
3217
+ this.dateOptionExpire = date_option_expire
3218
+ ? new Date(date_option_expire)
3219
+ : null;
3220
+ }
3201
3221
  }
3202
3222
  }
3203
3223
 
@@ -4027,7 +4047,7 @@ class CharacterItemEquipmentExceptionalOptionDto {
4027
4047
  this.maxMp = max_mp;
4028
4048
  this.attackPower = attack_power;
4029
4049
  this.magicPower = magic_power;
4030
- this.exceptionalUpgrade = exceptional_upgrade;
4050
+ this.exceptionalUpgrade = exceptional_upgrade ?? 0;
4031
4051
  }
4032
4052
  }
4033
4053
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maplestory-openapi",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "This JavaScript library enables the use of the MapleStory OpenAPI of Nexon.",
5
5
  "keywords": [
6
6
  "maplestory",
@@ -37,6 +37,10 @@ declare class CharacterAndroidCashItemEquipmentDto {
37
37
  * 안드로이드 캐시 아이템 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
38
38
  */
39
39
  dateOptionExpire: Date | null;
40
+ /**
41
+ * 안드로이드 캐시 아이템 옵션 유효 기간 만료 여부
42
+ */
43
+ isOptionExpired: boolean | null;
40
44
  /**
41
45
  * 안드로이드 캐시 아이템 라벨 정보 (스페셜라벨, 레드라벨, 블랙라벨, 마스터라벨)
42
46
  */
@@ -32,11 +32,15 @@ declare class CharacterCashItemEquipmentPresetDto {
32
32
  /**
33
33
  * 캐시 장비 유효 기간 (KST)
34
34
  */
35
- dateExpire: string | null;
35
+ dateExpire: Date | null;
36
36
  /**
37
37
  * 캐시 장비 옵션 유효 기간 (KST, 시간 단위 데이터로 분은 일괄 0으로 표기)
38
38
  */
39
- dateOptionExpire: string | null;
39
+ dateOptionExpire: Date | null;
40
+ /**
41
+ * 캐시 장비 옵션 유효 기간 만료 여부
42
+ */
43
+ isOptionExpired: boolean | null;
40
44
  /**
41
45
  * 캐시 장비 라벨 정보
42
46
  */
@@ -110,7 +110,7 @@ type CharacterItemEquipmentExceptionalOptionDtoBody = {
110
110
  max_mp: string;
111
111
  attack_power: string;
112
112
  magic_power: string;
113
- exceptional_upgrade: number;
113
+ exceptional_upgrade: number | null;
114
114
  };
115
115
  type CharacterItemEquipmentTotalOptionDtoBody = {
116
116
  str: string;