karin-plugin-kkk 2.20.1 → 2.20.3

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.
@@ -1084,7 +1084,14 @@ interface BilibiliVideoDynamicProps extends BaseComponentProps {
1084
1084
  fans: string | number; /** 动态类型 */
1085
1085
  dynamicTYPE: string; /** 分享链接 */
1086
1086
  share_url: string; /** 动态ID */
1087
- dynamic_id: string;
1087
+ dynamic_id: string; /** 共创者列表 (可选) */
1088
+ staff?: Array<{
1089
+ /** 用户ID */mid: number; /** 职位标题 (UP主/参演) */
1090
+ title: string; /** 用户名 */
1091
+ name: string; /** 头像URL */
1092
+ face: string; /** 粉丝数 */
1093
+ follower: number;
1094
+ }>;
1088
1095
  };
1089
1096
  /** 预生成的二维码数据URL */
1090
1097
  qrCodeDataUrl?: string;
@@ -1,4 +1,4 @@
1
1
  import "./rolldown-runtime-BMXAG3ag.js";
2
- import "./vendor-B3KhGHI_.js";
3
- import { r as reactServerRender, t as template_default } from "./template-CQ-u6h09.js";
2
+ import "./vendor-DrIRnh5C.js";
3
+ import { r as reactServerRender, t as template_default } from "./template-Bo8XmVaD.js";
4
4
  export { template_default as default, reactServerRender };
@@ -1,7 +1,7 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __export, t as __commonJSMin } from "./rolldown-runtime-BMXAG3ag.js";
2
2
  import minpath from "node:path";
3
3
  import { fileURLToPath as urlToPath } from "node:url";
4
- import Crypto, { createHash, randomBytes, webcrypto } from "crypto";
4
+ import { createHash, randomBytes } from "node:crypto";
5
5
  import minproc, { default as process$1 } from "node:process";
6
6
  import os from "node:os";
7
7
  import tty from "node:tty";
@@ -9,6 +9,7 @@ import { Blob as Blob$1, Buffer as Buffer$1 } from "buffer";
9
9
  import Stream from "stream";
10
10
  import Path from "path";
11
11
  import { URL as URL$2, URLSearchParams as URLSearchParams$1 } from "url";
12
+ import Crypto, { webcrypto } from "crypto";
12
13
  import FS from "fs";
13
14
  import { TextDecoder as TextDecoder$1, TextEncoder } from "util";
14
15
  import { ReadableStream as ReadableStream$1 } from "stream/web";
@@ -12723,14 +12724,22 @@ var init_zod = __esmMin(() => {
12723
12724
  init_external();
12724
12725
  zod_default = external_exports;
12725
12726
  });
12727
+ function extractApiPath(uriWithData) {
12728
+ const bracePos = uriWithData.indexOf("{");
12729
+ const questionPos = uriWithData.indexOf("?");
12730
+ if (bracePos !== -1 && questionPos !== -1) return uriWithData.substring(0, Math.min(bracePos, questionPos));
12731
+ else if (bracePos !== -1) return uriWithData.substring(0, bracePos);
12732
+ else if (questionPos !== -1) return uriWithData.substring(0, questionPos);
12733
+ else return uriWithData;
12734
+ }
12726
12735
  function extractUri(url$9) {
12727
12736
  if (!url$9 || typeof url$9 !== "string") throw new Error("URL must be a non-empty string");
12728
12737
  url$9 = url$9.trim();
12729
12738
  try {
12730
12739
  if (url$9.startsWith("http://") || url$9.startsWith("https://")) {
12731
- const path2 = new URL(url$9).pathname;
12732
- if (!path2 || path2 === "/") throw new Error(`Cannot extract valid URI path from URL: ${url$9}`);
12733
- return path2;
12740
+ const path$9 = new URL(url$9).pathname;
12741
+ if (!path$9 || path$9 === "/") throw new Error(`Cannot extract valid URI path from URL: ${url$9}`);
12742
+ return path$9;
12734
12743
  }
12735
12744
  const queryIndex = url$9.indexOf("?");
12736
12745
  const path$8 = queryIndex >= 0 ? url$9.substring(0, queryIndex) : url$9;
@@ -12904,9 +12913,9 @@ function validateXsCommonParams(cookieDict) {
12904
12913
  }
12905
12914
  }
12906
12915
  var CryptoConfig, BitOperations, Base64Encoder, HexProcessor, RandomGenerator, CryptoProcessor, MASK32, POLY, TABLE, CRC32, GPU_VENDORS, SCREEN_RESOLUTIONS, COLOR_DEPTH_OPTIONS, DEVICE_MEMORY_OPTIONS, CORE_OPTIONS, BROWSER_PLUGINS, CANVAS_HASH, VOICE_HASH_OPTIONS, FONTS, FingerprintGenerator, XsCommonSigner, methodSchema, uriSchema, a1ValueSchema, cookieSchema, signatureParamsSchema, getSignatureParamsSchema, postSignatureParamsSchema, xsCommonParamsSchema, Xhshow;
12907
- var init_esm$2 = __esmMin(() => {
12916
+ var init_dist$58 = __esmMin(() => {
12908
12917
  init_zod();
12909
- CryptoConfig = class _CryptoConfig {
12918
+ CryptoConfig = class CryptoConfig$1 {
12910
12919
  DES_KEY = "zbp30y86";
12911
12920
  GID_URL = "https://as.xiaohongshu.com/api/sec/v1/shield/webprofile";
12912
12921
  DATA_PLATFORM = "Windows";
@@ -12919,20 +12928,39 @@ var init_esm$2 = __esmMin(() => {
12919
12928
  STANDARD_BASE64_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
12920
12929
  CUSTOM_BASE64_ALPHABET = "ZmserbBoHQtNP+wOcza/LpngG8yJq42KWYj0DSfdikx3VT16IlUAFM97hECvuRX5";
12921
12930
  X3_BASE64_ALPHABET = "MfgqrsbcyzPQRStuvC7mn501HIJBo2DEFTKdeNOwxWXYZap89+/A4UVLhijkl63G";
12922
- HEX_KEY = "71a302257793271ddd273bcee3e4b98d9d7935e1da33f5765e2ea8afb6dc77a51a499d23b67c20660025860cbf13d4540d92497f58686c574e508f46e1956344f39139bf4faf22a3eef120b79258145b2feb5193b6478669961298e79bedca646e1a693a926154a5a7a1bd1cf0dedb742f917a747a1e388b234f2277";
12931
+ HEX_KEY = "71a302257793271ddd273bcee3e4b98d9d7935e1da33f5765e2ea8afb6dc77a51a499d23b67c20660025860cbf13d4540d92497f58686c574e508f46e1956344f39139bf4faf22a3eef120b79258145b2feb5193b6478669961298e79bedca646e1a693a926154a5a7a1bd1cf0dedb742f917a747a1e388b234f2277516db7116035439730fa61e9822a0eca7bff72d8";
12923
12932
  EXPECTED_HEX_LENGTH = 32;
12924
12933
  OUTPUT_BYTE_COUNT = 8;
12925
12934
  HEX_CHUNK_SIZE = 2;
12926
12935
  VERSION_BYTES = [
12927
- 119,
12936
+ 121,
12928
12937
  104,
12929
12938
  96,
12930
12939
  41
12931
12940
  ];
12941
+ PAYLOAD_LENGTH = 144;
12942
+ A1_LENGTH = 52;
12943
+ APP_ID_LENGTH = 10;
12944
+ MD5_XOR_LENGTH = 8;
12945
+ A3_PREFIX = [
12946
+ 2,
12947
+ 97,
12948
+ 51,
12949
+ 16
12950
+ ];
12951
+ TIMESTAMP_LE_LENGTH = 8;
12932
12952
  SEQUENCE_VALUE_MIN = 15;
12933
12953
  SEQUENCE_VALUE_MAX = 50;
12934
- WINDOW_PROPS_LENGTH_MIN = 900;
12954
+ WINDOW_PROPS_LENGTH_MIN = 1e3;
12935
12955
  WINDOW_PROPS_LENGTH_MAX = 1200;
12956
+ SESSION_WINDOW_PROPS_INIT_MIN = 1e3;
12957
+ SESSION_WINDOW_PROPS_INIT_MAX = 2e3;
12958
+ SESSION_SEQUENCE_INIT_MIN = 15;
12959
+ SESSION_SEQUENCE_INIT_MAX = 17;
12960
+ SESSION_SEQUENCE_STEP_MIN = 0;
12961
+ SESSION_SEQUENCE_STEP_MAX = 1;
12962
+ SESSION_WINDOW_PROPS_STEP_MIN = 1;
12963
+ SESSION_WINDOW_PROPS_STEP_MAX = 10;
12936
12964
  CHECKSUM_VERSION = 1;
12937
12965
  CHECKSUM_XOR_KEY = 115;
12938
12966
  CHECKSUM_FIXED_TAIL = [
@@ -12951,6 +12979,46 @@ var init_esm$2 = __esmMin(() => {
12951
12979
  132,
12952
12980
  21
12953
12981
  ];
12982
+ ENV_TABLE = [
12983
+ 115,
12984
+ 248,
12985
+ 83,
12986
+ 102,
12987
+ 103,
12988
+ 201,
12989
+ 181,
12990
+ 131,
12991
+ 99,
12992
+ 94,
12993
+ 4,
12994
+ 68,
12995
+ 250,
12996
+ 132,
12997
+ 21
12998
+ ];
12999
+ ENV_CHECKS_DEFAULT = [
13000
+ 0,
13001
+ 1,
13002
+ 18,
13003
+ 1,
13004
+ 0,
13005
+ 0,
13006
+ 0,
13007
+ 0,
13008
+ 0,
13009
+ 0,
13010
+ 3,
13011
+ 0,
13012
+ 0,
13013
+ 0,
13014
+ 0
13015
+ ];
13016
+ HASH_IV = [
13017
+ 1831565813,
13018
+ 461845907,
13019
+ 2246822507,
13020
+ 3266489909
13021
+ ];
12954
13022
  ENV_FINGERPRINT_XOR_KEY = 41;
12955
13023
  ENV_FINGERPRINT_TIME_OFFSET_MIN = 10;
12956
13024
  ENV_FINGERPRINT_TIME_OFFSET_MAX = 50;
@@ -12988,7 +13056,7 @@ var init_esm$2 = __esmMin(() => {
12988
13056
  };
12989
13057
  PUBLIC_USERAGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0";
12990
13058
  withOverrides(overrides) {
12991
- const newConfig = new _CryptoConfig();
13059
+ const newConfig = new CryptoConfig$1();
12992
13060
  Object.assign(newConfig, overrides);
12993
13061
  return newConfig;
12994
13062
  }
@@ -13138,76 +13206,94 @@ var init_esm$2 = __esmMin(() => {
13138
13206
  }
13139
13207
  return arr;
13140
13208
  }
13141
- strToLenPrefixedBytes(s$3) {
13142
- const buf = Buffer.from(s$3, "utf8");
13143
- return [buf.length, ...Array.from(buf)];
13144
- }
13145
- envFingerprintA(ts, xorKey) {
13146
- const data$1 = new Uint8Array(8);
13147
- let tempTs = ts;
13148
- for (let i$4 = 0; i$4 < 8; i$4++) {
13149
- data$1[i$4] = tempTs & 255;
13150
- tempTs = Math.floor(tempTs / 256);
13151
- }
13152
- let sum1 = 0;
13153
- for (let i$4 = 1; i$4 < 5; i$4++) sum1 += data$1[i$4];
13154
- let sum2 = 0;
13155
- for (let i$4 = 5; i$4 < 8; i$4++) sum2 += data$1[i$4];
13156
- data$1[0] = (sum1 & 255) + sum2 & 255;
13209
+ rotateLeft(val, n) {
13210
+ return (val << n | val >>> 32 - n) >>> 0;
13211
+ }
13212
+ customHashV2(inputBytes) {
13213
+ let [s0, s1, s2, s3] = this.config.HASH_IV;
13214
+ const length = inputBytes.length;
13215
+ s0 ^= length;
13216
+ s1 ^= length << 8;
13217
+ s2 ^= length << 16;
13218
+ s3 ^= length << 24;
13219
+ for (let i$4 = 0; i$4 < Math.floor(length / 8); i$4++) {
13220
+ const offset$1 = i$4 * 8;
13221
+ const v0 = (inputBytes[offset$1] | inputBytes[offset$1 + 1] << 8 | inputBytes[offset$1 + 2] << 16 | inputBytes[offset$1 + 3] << 24) >>> 0;
13222
+ const v1 = (inputBytes[offset$1 + 4] | inputBytes[offset$1 + 5] << 8 | inputBytes[offset$1 + 6] << 16 | inputBytes[offset$1 + 7] << 24) >>> 0;
13223
+ s0 = this.rotateLeft(s0 + v0 & this.config.MAX_32BIT ^ s2, 7);
13224
+ s1 = this.rotateLeft((v0 ^ s1) + s3 & this.config.MAX_32BIT, 11);
13225
+ s2 = this.rotateLeft(s2 + v1 & this.config.MAX_32BIT ^ s0, 13);
13226
+ s3 = this.rotateLeft((s3 ^ v1) + s1 & this.config.MAX_32BIT, 17);
13227
+ }
13228
+ const t0 = s0 ^ length;
13229
+ const t1 = s1 ^ t0;
13230
+ const t2 = s2 + t1 & this.config.MAX_32BIT;
13231
+ const t3 = s3 ^ t2;
13232
+ const rotT0 = this.rotateLeft(t0, 9);
13233
+ const rotT1 = this.rotateLeft(t1, 13);
13234
+ const rotT2 = this.rotateLeft(t2, 17);
13235
+ const rotT3 = this.rotateLeft(t3, 19);
13236
+ s0 = rotT0 + rotT2 & this.config.MAX_32BIT;
13237
+ s1 = rotT1 ^ rotT3;
13238
+ s2 = rotT2 + s0 & this.config.MAX_32BIT;
13239
+ s3 = rotT3 ^ s1;
13157
13240
  const result$1 = [];
13158
- for (let i$4 = 0; i$4 < data$1.length; i$4++) result$1.push(data$1[i$4] ^ xorKey);
13241
+ for (const s$3 of [
13242
+ s0,
13243
+ s1,
13244
+ s2,
13245
+ s3
13246
+ ]) result$1.push(...this.intToLeBytes(s$3, 4));
13159
13247
  return result$1;
13160
13248
  }
13161
- envFingerprintB(ts) {
13162
- const result$1 = [];
13163
- for (let i$4 = 0; i$4 < 8; i$4++) {
13164
- result$1.push(ts & 255);
13165
- ts = Math.floor(ts / 256);
13166
- }
13167
- return result$1;
13168
- }
13169
- buildPayloadArray(hexParameter, a1Value, appIdentifier = "xhs-pc-web", stringParam = "", timestamp) {
13249
+ buildPayloadArray(hexParameter, a1Value, appIdentifier = "xhs-pc-web", stringParam = "", timestamp, signState) {
13250
+ if (timestamp === void 0) timestamp = Date.now() / 1e3;
13251
+ const seed$1 = this.randomGen.generateRandomInt();
13252
+ const seedByte = seed$1 & 255;
13170
13253
  const payload = [];
13171
13254
  payload.push(...this.config.VERSION_BYTES);
13172
- const seed$1 = this.randomGen.generateRandomInt();
13173
- const seedBytes = this.intToLeBytes(seed$1, 4);
13174
- payload.push(...seedBytes);
13175
- const seedByte0 = seedBytes[0];
13176
- if (timestamp === void 0) timestamp = Date.now() / 1e3;
13177
- const tsMs = Math.floor(timestamp * 1e3);
13178
- payload.push(...this.envFingerprintA(tsMs, this.config.ENV_FINGERPRINT_XOR_KEY));
13179
- const timeOffset = this.randomGen.generateRandomByteInRange(this.config.ENV_FINGERPRINT_TIME_OFFSET_MIN, this.config.ENV_FINGERPRINT_TIME_OFFSET_MAX);
13180
- payload.push(...this.envFingerprintB(Math.floor((timestamp - timeOffset) * 1e3)));
13181
- const sequenceValue = this.randomGen.generateRandomByteInRange(this.config.SEQUENCE_VALUE_MIN, this.config.SEQUENCE_VALUE_MAX);
13182
- payload.push(...this.intToLeBytes(sequenceValue, 4));
13183
- const windowPropsLength = this.randomGen.generateRandomByteInRange(this.config.WINDOW_PROPS_LENGTH_MIN, this.config.WINDOW_PROPS_LENGTH_MAX);
13184
- payload.push(...this.intToLeBytes(windowPropsLength, 4));
13185
- const uriLength = stringParam.length;
13186
- payload.push(...this.intToLeBytes(uriLength, 4));
13255
+ payload.push(...this.intToLeBytes(seed$1, 4));
13256
+ const tsBytes = this.intToLeBytes(Math.floor(timestamp * 1e3), this.config.TIMESTAMP_LE_LENGTH);
13257
+ payload.push(...tsBytes);
13258
+ if (signState) {
13259
+ payload.push(...this.intToLeBytes(signState.pageLoadTimestamp, this.config.TIMESTAMP_LE_LENGTH));
13260
+ payload.push(...this.intToLeBytes(signState.sequenceValue, 4));
13261
+ payload.push(...this.intToLeBytes(signState.windowPropsLength, 4));
13262
+ payload.push(...this.intToLeBytes(signState.uriLength, 4));
13263
+ } else {
13264
+ const timeOffset = this.randomGen.generateRandomByteInRange(this.config.ENV_FINGERPRINT_TIME_OFFSET_MIN, this.config.ENV_FINGERPRINT_TIME_OFFSET_MAX);
13265
+ const effectiveTsMs = Math.floor((timestamp - timeOffset) * 1e3);
13266
+ payload.push(...this.intToLeBytes(effectiveTsMs, this.config.TIMESTAMP_LE_LENGTH));
13267
+ const sequenceValue = this.randomGen.generateRandomByteInRange(this.config.SEQUENCE_VALUE_MIN, this.config.SEQUENCE_VALUE_MAX);
13268
+ payload.push(...this.intToLeBytes(sequenceValue, 4));
13269
+ const windowPropsLength = this.randomGen.generateRandomByteInRange(this.config.WINDOW_PROPS_LENGTH_MIN, this.config.WINDOW_PROPS_LENGTH_MAX);
13270
+ payload.push(...this.intToLeBytes(windowPropsLength, 4));
13271
+ const uriLength = Buffer.from(stringParam, "utf-8").length;
13272
+ payload.push(...this.intToLeBytes(uriLength, 4));
13273
+ }
13187
13274
  const md5Bytes = Buffer.from(hexParameter, "hex");
13188
- for (let i$4 = 0; i$4 < 8; i$4++) payload.push(md5Bytes[i$4] ^ seedByte0);
13189
- payload.push(52);
13190
- let a1Bytes = Buffer.from(a1Value, "utf8");
13191
- if (a1Bytes.length > 52) a1Bytes = a1Bytes.subarray(0, 52);
13192
- else if (a1Bytes.length < 52) {
13193
- const padded = Buffer.alloc(52);
13194
- a1Bytes.copy(padded);
13195
- a1Bytes = padded;
13196
- }
13197
- payload.push(...Array.from(a1Bytes));
13198
- payload.push(10);
13199
- let sourceBytes = Buffer.from(appIdentifier, "utf8");
13200
- if (sourceBytes.length > 10) sourceBytes = sourceBytes.subarray(0, 10);
13201
- else if (sourceBytes.length < 10) {
13202
- const padded = Buffer.alloc(10);
13203
- sourceBytes.copy(padded);
13204
- sourceBytes = padded;
13205
- }
13206
- payload.push(...Array.from(sourceBytes));
13207
- payload.push(1);
13208
- payload.push(this.config.CHECKSUM_VERSION);
13209
- payload.push(seedByte0 ^ this.config.CHECKSUM_XOR_KEY);
13210
- payload.push(...this.config.CHECKSUM_FIXED_TAIL);
13275
+ for (let i$4 = 0; i$4 < this.config.MD5_XOR_LENGTH; i$4++) payload.push(md5Bytes[i$4] ^ seedByte);
13276
+ const a1Bytes = Buffer.from(a1Value, "utf-8").subarray(0, this.config.A1_LENGTH);
13277
+ const a1Padded = Buffer.alloc(this.config.A1_LENGTH);
13278
+ a1Bytes.copy(a1Padded);
13279
+ payload.push(a1Padded.length);
13280
+ payload.push(...Array.from(a1Padded));
13281
+ const appBytes = Buffer.from(appIdentifier, "utf-8").subarray(0, this.config.APP_ID_LENGTH);
13282
+ const appPadded = Buffer.alloc(this.config.APP_ID_LENGTH);
13283
+ appBytes.copy(appPadded);
13284
+ payload.push(appPadded.length);
13285
+ payload.push(...Array.from(appPadded));
13286
+ const part11 = [1, seedByte ^ this.config.ENV_TABLE[0]];
13287
+ for (let i$4 = 1; i$4 < 15; i$4++) part11.push(this.config.ENV_TABLE[i$4] ^ this.config.ENV_CHECKS_DEFAULT[i$4]);
13288
+ payload.push(...part11);
13289
+ const apiPath = extractApiPath(stringParam);
13290
+ const apiPathBytes = Buffer.from(apiPath, "utf-8");
13291
+ const hexMd5 = createHash("md5").update(apiPathBytes).digest("hex");
13292
+ const md5PathBytes = [];
13293
+ for (let i$4 = 0; i$4 < 32; i$4 += 2) md5PathBytes.push(parseInt(hexMd5.substring(i$4, i$4 + 2), 16));
13294
+ const a3Hash = this.customHashV2([...tsBytes, ...md5PathBytes]);
13295
+ const a3Field = [...this.config.A3_PREFIX, ...a3Hash.map((b) => b ^ seedByte)];
13296
+ payload.push(...a3Field);
13211
13297
  return payload;
13212
13298
  }
13213
13299
  };
@@ -13217,7 +13303,7 @@ var init_esm$2 = __esmMin(() => {
13217
13303
  CRC32 = class {
13218
13304
  static crc32JsInt(data$1, options$1 = {}) {
13219
13305
  const { stringMode = "js", signed = true } = options$1;
13220
- const u = (MASK32 ^ crc32Core(data$1, stringMode) ^ POLY) >>> 0;
13306
+ const u = (crc32Core(data$1, stringMode) ^ 306674911) >>> 0;
13221
13307
  return signed ? toSigned32(u) : u;
13222
13308
  }
13223
13309
  };
@@ -13426,11 +13512,11 @@ var init_esm$2 = __esmMin(() => {
13426
13512
  }
13427
13513
  rc4Encrypt(data$1, key$1) {
13428
13514
  const S = new Array(256);
13429
- for (let i2 = 0; i2 < 256; i2++) S[i2] = i2;
13515
+ for (let i$5 = 0; i$5 < 256; i$5++) S[i$5] = i$5;
13430
13516
  let j = 0;
13431
- for (let i2 = 0; i2 < 256; i2++) {
13432
- j = (j + S[i2] + key$1[i2 % key$1.length]) % 256;
13433
- [S[i2], S[j]] = [S[j], S[i2]];
13517
+ for (let i$5 = 0; i$5 < 256; i$5++) {
13518
+ j = (j + S[i$5] + key$1[i$5 % key$1.length]) % 256;
13519
+ [S[i$5], S[j]] = [S[j], S[i$5]];
13434
13520
  }
13435
13521
  const dataBytes = Buffer.from(data$1, "utf8");
13436
13522
  const result$1 = Buffer.alloc(dataBytes.length);
@@ -13639,18 +13725,19 @@ var init_esm$2 = __esmMin(() => {
13639
13725
  generateDValue(content$3) {
13640
13726
  return createHash("md5").update(content$3, "utf8").digest("hex");
13641
13727
  }
13642
- buildSignature(dValue, a1Value, xsecAppid = "xhs-pc-web", stringParam = "", timestamp) {
13643
- const payloadArray = this.cryptoProcessor.buildPayloadArray(dValue, a1Value, xsecAppid, stringParam, timestamp);
13728
+ buildSignature(dValue, a1Value, xsecAppid = "xhs-pc-web", stringParam = "", timestamp, signState) {
13729
+ const payloadArray = this.cryptoProcessor.buildPayloadArray(dValue, a1Value, xsecAppid, stringParam, timestamp, signState);
13644
13730
  const xorResult = this.cryptoProcessor.bitOps.xorTransformArray(payloadArray);
13645
- return this.cryptoProcessor.b64encoder.encodeX3(xorResult.subarray(0, 124));
13731
+ return this.cryptoProcessor.b64encoder.encodeX3(xorResult.subarray(0, this.config.PAYLOAD_LENGTH));
13646
13732
  }
13647
- signXs(method$1, uri, a1Value, xsecAppid = "xhs-pc-web", payload = null, timestamp) {
13733
+ signXs(method$1, uri, a1Value, xsecAppid = "xhs-pc-web", payload = null, timestamp, session) {
13648
13734
  validateSignatureParams(method$1, uri, a1Value);
13649
13735
  uri = extractUri(uri);
13650
13736
  const signatureData = { ...this.config.SIGNATURE_DATA_TEMPLATE };
13651
13737
  const contentString = this.buildContentString(method$1, uri, payload);
13652
13738
  const dValue = this.generateDValue(contentString);
13653
- signatureData.x3 = this.config.X3_PREFIX + this.buildSignature(dValue, a1Value, xsecAppid, contentString, timestamp);
13739
+ const signState = session ? session.getCurrentState(uri) : void 0;
13740
+ signatureData.x3 = this.config.X3_PREFIX + this.buildSignature(dValue, a1Value, xsecAppid, contentString, timestamp, signState);
13654
13741
  const jsonStr = JSON.stringify(signatureData);
13655
13742
  return this.config.XYS_PREFIX + this.cryptoProcessor.b64encoder.encode(jsonStr);
13656
13743
  }
@@ -13658,13 +13745,13 @@ var init_esm$2 = __esmMin(() => {
13658
13745
  const parsedCookies = this.parseCookies(cookieDict);
13659
13746
  return new XsCommonSigner(this.config).sign(parsedCookies);
13660
13747
  }
13661
- signXsGet(uri, a1Value, xsecAppid = "xhs-pc-web", params = null, timestamp) {
13748
+ signXsGet(uri, a1Value, xsecAppid = "xhs-pc-web", params = null, timestamp, session) {
13662
13749
  validateGetSignatureParams(uri, a1Value);
13663
- return this.signXs("GET", uri, a1Value, xsecAppid, params, timestamp);
13750
+ return this.signXs("GET", uri, a1Value, xsecAppid, params, timestamp, session);
13664
13751
  }
13665
- signXsPost(uri, a1Value, xsecAppid = "xhs-pc-web", payload = null, timestamp) {
13752
+ signXsPost(uri, a1Value, xsecAppid = "xhs-pc-web", payload = null, timestamp, session) {
13666
13753
  validatePostSignatureParams(uri, a1Value);
13667
- return this.signXs("POST", uri, a1Value, xsecAppid, payload, timestamp);
13754
+ return this.signXs("POST", uri, a1Value, xsecAppid, payload, timestamp, session);
13668
13755
  }
13669
13756
  signXsc(cookieDict) {
13670
13757
  validateXsCommonParams(cookieDict);
@@ -13716,7 +13803,7 @@ var init_esm$2 = __esmMin(() => {
13716
13803
  }
13717
13804
  return cookies;
13718
13805
  }
13719
- signHeaders(method$1, uri, cookies, xsecAppid = "xhs-pc-web", params, payload, timestamp) {
13806
+ signHeaders(method$1, uri, cookies, xsecAppid = "xhs-pc-web", params, payload, timestamp, session) {
13720
13807
  if (timestamp === void 0) timestamp = Date.now() / 1e3;
13721
13808
  const methodUpper = method$1.toUpperCase();
13722
13809
  let requestData;
@@ -13730,7 +13817,7 @@ var init_esm$2 = __esmMin(() => {
13730
13817
  const cookieDict = this.parseCookies(cookies);
13731
13818
  const a1Value = cookieDict.a1;
13732
13819
  if (!a1Value) throw new Error("Missing 'a1' in cookies");
13733
- const xS = this.signXs(methodUpper, uri, a1Value, xsecAppid, requestData, timestamp);
13820
+ const xS = this.signXs(methodUpper, uri, a1Value, xsecAppid, requestData, timestamp, session);
13734
13821
  const xSCommon = this.signXsCommon(cookieDict);
13735
13822
  const xT = this.getXT(timestamp);
13736
13823
  const xB3Traceid = this.getB3TraceId();
@@ -13743,11 +13830,11 @@ var init_esm$2 = __esmMin(() => {
13743
13830
  "x-xray-traceid": xXrayTraceid
13744
13831
  };
13745
13832
  }
13746
- signHeadersGet(uri, cookies, xsecAppid = "xhs-pc-web", params, timestamp) {
13747
- return this.signHeaders("GET", uri, cookies, xsecAppid, params, void 0, timestamp);
13833
+ signHeadersGet(uri, cookies, xsecAppid = "xhs-pc-web", params, timestamp, session) {
13834
+ return this.signHeaders("GET", uri, cookies, xsecAppid, params, void 0, timestamp, session);
13748
13835
  }
13749
- signHeadersPost(uri, cookies, xsecAppid = "xhs-pc-web", payload, timestamp) {
13750
- return this.signHeaders("POST", uri, cookies, xsecAppid, void 0, payload, timestamp);
13836
+ signHeadersPost(uri, cookies, xsecAppid = "xhs-pc-web", payload, timestamp, session) {
13837
+ return this.signHeaders("POST", uri, cookies, xsecAppid, void 0, payload, timestamp, session);
13751
13838
  }
13752
13839
  };
13753
13840
  });
@@ -34722,12 +34809,12 @@ var require_view = __commonJSMin((exports, module) => {
34722
34809
  });
34723
34810
  var require_etag = __commonJSMin((exports, module) => {
34724
34811
  module.exports = etag$2;
34725
- var crypto$3 = __require("crypto");
34812
+ var crypto$4 = __require("crypto");
34726
34813
  var Stats = __require("fs").Stats;
34727
34814
  var toString$2 = Object.prototype.toString;
34728
34815
  function entitytag(entity) {
34729
34816
  if (entity.length === 0) return "\"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk\"";
34730
- var hash$1 = crypto$3.createHash("sha1").update(entity, "utf8").digest("base64").substring(0, 27);
34817
+ var hash$1 = crypto$4.createHash("sha1").update(entity, "utf8").digest("base64").substring(0, 27);
34731
34818
  return "\"" + (typeof entity === "string" ? Buffer.byteLength(entity, "utf8") : entity.length).toString(16) + "-" + hash$1 + "\"";
34732
34819
  }
34733
34820
  function etag$2(entity, options$1) {
@@ -37657,17 +37744,17 @@ var require_content_disposition = __commonJSMin((exports, module) => {
37657
37744
  }
37658
37745
  });
37659
37746
  var require_cookie_signature = __commonJSMin((exports) => {
37660
- var crypto$2 = __require("crypto");
37747
+ var crypto$3 = __require("crypto");
37661
37748
  exports.sign = function(val, secret) {
37662
37749
  if ("string" != typeof val) throw new TypeError("Cookie value must be provided as a string.");
37663
37750
  if (null == secret) throw new TypeError("Secret key must be provided.");
37664
- return val + "." + crypto$2.createHmac("sha256", secret).update(val).digest("base64").replace(/\=+$/, "");
37751
+ return val + "." + crypto$3.createHmac("sha256", secret).update(val).digest("base64").replace(/\=+$/, "");
37665
37752
  };
37666
37753
  exports.unsign = function(input$1, secret) {
37667
37754
  if ("string" != typeof input$1) throw new TypeError("Signed cookie string must be provided.");
37668
37755
  if (null == secret) throw new TypeError("Secret key must be provided.");
37669
37756
  var tentativeValue = input$1.slice(0, input$1.lastIndexOf(".")), expectedInput = exports.sign(tentativeValue, secret), expectedBuffer = Buffer.from(expectedInput), inputBuffer = Buffer.from(input$1);
37670
- return expectedBuffer.length === inputBuffer.length && crypto$2.timingSafeEqual(expectedBuffer, inputBuffer) ? tentativeValue : false;
37757
+ return expectedBuffer.length === inputBuffer.length && crypto$3.timingSafeEqual(expectedBuffer, inputBuffer) ? tentativeValue : false;
37671
37758
  };
37672
37759
  });
37673
37760
  var require_cookie = __commonJSMin((exports) => {
@@ -54795,7 +54882,7 @@ var require_react_dom = __commonJSMin((exports, module) => {
54795
54882
  * This source code is licensed under the MIT license found in the
54796
54883
  * LICENSE file in the root directory of this source tree.
54797
54884
  */ var require_react_dom_server_node_production = __commonJSMin((exports) => {
54798
- var util$8 = __require("util"), crypto$1 = __require("crypto"), async_hooks = __require("async_hooks"), React$2 = require_react(), ReactDOM = require_react_dom(), stream = __require("stream"), REACT_ELEMENT_TYPE$1 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$1 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
54885
+ var util$8 = __require("util"), crypto$2 = __require("crypto"), async_hooks = __require("async_hooks"), React$2 = require_react(), ReactDOM = require_react_dom(), stream = __require("stream"), REACT_ELEMENT_TYPE$1 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$1 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
54799
54886
  function getIteratorFn(maybeIterable) {
54800
54887
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
54801
54888
  maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
@@ -56819,7 +56906,7 @@ var require_react_dom = __commonJSMin((exports, module) => {
56819
56906
  null,
56820
56907
  hookIndex
56821
56908
  ]);
56822
- componentKeyPath = crypto$1.createHash("md5");
56909
+ componentKeyPath = crypto$2.createHash("md5");
56823
56910
  componentKeyPath.update(permalink);
56824
56911
  return "k" + componentKeyPath.digest("hex");
56825
56912
  }
@@ -66366,7 +66453,7 @@ var require_react_dom = __commonJSMin((exports, module) => {
66366
66453
  null,
66367
66454
  hookIndex
66368
66455
  ]);
66369
- componentKeyPath = crypto$4.createHash("md5");
66456
+ componentKeyPath = crypto$5.createHash("md5");
66370
66457
  componentKeyPath.update(permalink);
66371
66458
  return "k" + componentKeyPath.digest("hex");
66372
66459
  }
@@ -68617,7 +68704,7 @@ var require_react_dom = __commonJSMin((exports, module) => {
68617
68704
  }
68618
68705
  };
68619
68706
  }
68620
- var util$35 = __require("util"), crypto$4 = __require("crypto"), async_hooks$1 = __require("async_hooks"), React$5 = require_react(), ReactDOM$2 = require_react_dom(), stream$1 = __require("stream"), REACT_ELEMENT_TYPE$4 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE$4 = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$4 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE$3 = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE$3 = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE$3 = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE$3 = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE$3 = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE$3 = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE$2 = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE$3 = Symbol.for("react.memo"), REACT_LAZY_TYPE$3 = Symbol.for("react.lazy"), REACT_SCOPE_TYPE$2 = Symbol.for("react.scope"), REACT_ACTIVITY_TYPE$3 = Symbol.for("react.activity"), REACT_LEGACY_HIDDEN_TYPE$2 = Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL$2 = Symbol.for("react.memo_cache_sentinel"), REACT_VIEW_TRANSITION_TYPE$2 = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL$3 = Symbol.iterator, isArrayImpl$3 = Array.isArray, jsxPropsParents = /* @__PURE__ */ new WeakMap(), jsxChildrenParents = /* @__PURE__ */ new WeakMap(), CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"), scheduleMicrotask$1 = queueMicrotask, currentView$1 = null, writtenBytes$1 = 0, destinationHasCapacity$1$1 = !0, textEncoder$1 = new util$35.TextEncoder(), assign$4 = Object.assign, hasOwnProperty$6 = Object.prototype.hasOwnProperty, VALID_ATTRIBUTE_NAME_REGEX$2 = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), illegalAttributeNameCache$2 = {}, validatedAttributeNameCache$2 = {}, unitlessNumbers$2 = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")), aliases$2 = new Map([
68707
+ var util$35 = __require("util"), crypto$5 = __require("crypto"), async_hooks$1 = __require("async_hooks"), React$5 = require_react(), ReactDOM$2 = require_react_dom(), stream$1 = __require("stream"), REACT_ELEMENT_TYPE$4 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE$4 = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$4 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE$3 = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE$3 = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE$3 = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE$3 = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE$3 = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE$3 = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE$2 = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE$3 = Symbol.for("react.memo"), REACT_LAZY_TYPE$3 = Symbol.for("react.lazy"), REACT_SCOPE_TYPE$2 = Symbol.for("react.scope"), REACT_ACTIVITY_TYPE$3 = Symbol.for("react.activity"), REACT_LEGACY_HIDDEN_TYPE$2 = Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL$2 = Symbol.for("react.memo_cache_sentinel"), REACT_VIEW_TRANSITION_TYPE$2 = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL$3 = Symbol.iterator, isArrayImpl$3 = Array.isArray, jsxPropsParents = /* @__PURE__ */ new WeakMap(), jsxChildrenParents = /* @__PURE__ */ new WeakMap(), CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"), scheduleMicrotask$1 = queueMicrotask, currentView$1 = null, writtenBytes$1 = 0, destinationHasCapacity$1$1 = !0, textEncoder$1 = new util$35.TextEncoder(), assign$4 = Object.assign, hasOwnProperty$6 = Object.prototype.hasOwnProperty, VALID_ATTRIBUTE_NAME_REGEX$2 = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), illegalAttributeNameCache$2 = {}, validatedAttributeNameCache$2 = {}, unitlessNumbers$2 = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")), aliases$2 = new Map([
68621
68708
  ["acceptCharset", "accept-charset"],
68622
68709
  ["htmlFor", "for"],
68623
68710
  ["httpEquiv", "http-equiv"],
@@ -175855,4 +175942,4 @@ var require_heic_convert = __commonJSMin((exports, module) => {
175855
175942
  module.exports = one;
175856
175943
  module.exports.all = all;
175857
175944
  });
175858
- export { init_lu as $, Bookmark as $t, RiHashtag as A, Plug2 as At, RiRefreshLine as B, FileText as Bt, AiFillStar as C, Shield as Ct, RiArrowRightFill as D, Radio as Dt, zhCN as E, ScanLine as Et, RiListCheck2 as F, Info$1 as Ft, RiStarFill as G, Coins as Gt, RiSendPlaneFill as H, ExternalLink as Ht, RiLiveLine as I, Heart as It, RiTiktokFill as J, CircleEllipsis as Jt, RiStarLine as K, Clock as Kt, RiLoginCircleFill as L, Hash as Lt, RiHeart3Fill as M, Music as Mt, RiHeart3Line as N, MessageCircle as Nt, RiBellFill as O, Quote as Ot, RiLinkM as P, MapPin as Pt, LuFullscreen as Q, Calendar as Qt, RiMessage3Fill as R, Gift as Rt, AiFillHeart as S, Smartphone as St, init_locale as T, Share2 as Tt, RiShareForwardFill as U, Crown as Ut, RiRobot2Fill as V, Eye as Vt, RiSparkling2Fill as W, CornerDownLeft as Wt, RiVideoLine as X, CircleAlert as Xt, RiUserFollowLine as Y, CircleCheckBig as Yt, init_ri as Z, ChartColumn as Zt, HiOutlineMenuAlt2 as _, zod_default as _n, UserPlus as _t, init_lib as a, require_react as an, init_dist as at, FaCommentDots as b, Terminal as bt, rehypeHighlight as c, require_protobufjs as cn, button_default as ct, MdAccessTime as d, AxiosError as dn, IoSearch as dt, BookOpen as en, init_date_fns as et, init_md as f, init_axios as fn, init_io5 as ft, init_tb as g, init_zod as gn, User as gt, TbScan as h, init_esm$2 as hn, Users as ht, require_qr_code_styling as i, require_server_node as in, differenceInSeconds as it, RiHeart2Line as j, Play as jt, RiGroupLine as k, QrCode as kt, init_react_markdown as l, Chalk as ln, HeroUIProvider as lt, init_si as m, Xhshow as mn, Zap as mt, require_dist as n, clsx_default as nn, formatDistanceToNow as nt, Window as o, require_jsQR as on, code_default as ot, SiBilibili as p, axios_default as pn, init_lucide_react as pt, RiThumbUpFill as q, CircleFadingArrowUp as qt, require_lib$2 as r, init_clsx as rn, format$2 as rt, init_rehype_highlight as s, require_express as sn, chip_default as st, require_heic_convert as t, Bell as tn, fromUnixTime as tt, Markdown as u, init_source as un, require_jsx_runtime as ut, init_hi as v, TriangleAlert as vt, init_ai as w, ShieldCheck as wt, init_fa6 as x, Star as xt, FaCodeBranch as y, ThumbsUp as yt, RiQuestionFill as z, Gamepad2 as zt };
175945
+ export { init_lu as $, Bookmark as $t, RiHashtag as A, Plug2 as At, RiRefreshLine as B, FileText as Bt, AiFillStar as C, Shield as Ct, RiArrowRightFill as D, Radio as Dt, zhCN as E, ScanLine as Et, RiListCheck2 as F, Info$1 as Ft, RiStarFill as G, Coins as Gt, RiSendPlaneFill as H, ExternalLink as Ht, RiLiveLine as I, Heart as It, RiTiktokFill as J, CircleEllipsis as Jt, RiStarLine as K, Clock as Kt, RiLoginCircleFill as L, Hash as Lt, RiHeart3Fill as M, Music as Mt, RiHeart3Line as N, MessageCircle as Nt, RiBellFill as O, Quote as Ot, RiLinkM as P, MapPin as Pt, LuFullscreen as Q, Calendar as Qt, RiMessage3Fill as R, Gift as Rt, AiFillHeart as S, Smartphone as St, init_locale as T, Share2 as Tt, RiShareForwardFill as U, Crown as Ut, RiRobot2Fill as V, Eye as Vt, RiSparkling2Fill as W, CornerDownLeft as Wt, RiVideoLine as X, CircleAlert as Xt, RiUserFollowLine as Y, CircleCheckBig as Yt, init_ri as Z, ChartColumn as Zt, HiOutlineMenuAlt2 as _, zod_default as _n, UserPlus as _t, init_lib as a, require_react as an, init_dist as at, FaCommentDots as b, Terminal as bt, rehypeHighlight as c, require_protobufjs as cn, button_default as ct, MdAccessTime as d, AxiosError as dn, IoSearch as dt, BookOpen as en, init_date_fns as et, init_md as f, init_axios as fn, init_io5 as ft, init_tb as g, init_zod as gn, User as gt, TbScan as h, init_dist$58 as hn, Users as ht, require_qr_code_styling as i, require_server_node as in, differenceInSeconds as it, RiHeart2Line as j, Play as jt, RiGroupLine as k, QrCode as kt, init_react_markdown as l, Chalk as ln, HeroUIProvider as lt, init_si as m, Xhshow as mn, Zap as mt, require_dist as n, clsx_default as nn, formatDistanceToNow as nt, Window as o, require_jsQR as on, code_default as ot, SiBilibili as p, axios_default as pn, init_lucide_react as pt, RiThumbUpFill as q, CircleFadingArrowUp as qt, require_lib$2 as r, init_clsx as rn, format$2 as rt, init_rehype_highlight as s, require_express as sn, chip_default as st, require_heic_convert as t, Bell as tn, fromUnixTime as tt, Markdown as u, init_source as un, require_jsx_runtime as ut, init_hi as v, TriangleAlert as vt, init_ai as w, ShieldCheck as wt, init_fa6 as x, Star as xt, FaCodeBranch as y, ThumbsUp as yt, RiQuestionFill as z, Gamepad2 as zt };
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import "./core_chunk/main-C6bm6hYZ.js";
3
- import "./core_chunk/vendor-B3KhGHI_.js";
4
- import "./core_chunk/template-CQ-u6h09.js";
2
+ import "./core_chunk/main-CXz1QLHw.js";
3
+ import "./core_chunk/vendor-DrIRnh5C.js";
4
+ import "./core_chunk/template-Bo8XmVaD.js";
5
5
  export {};
@@ -1293,6 +1293,10 @@
1293
1293
  margin-block: calc(var(--spacing) * 8);
1294
1294
  }
1295
1295
 
1296
+ .my-10 {
1297
+ margin-block: calc(var(--spacing) * 10);
1298
+ }
1299
+
1296
1300
  .my-16 {
1297
1301
  margin-block: calc(var(--spacing) * 16);
1298
1302
  }
@@ -1677,6 +1681,10 @@
1677
1681
  margin-left: calc(var(--spacing) * 12);
1678
1682
  }
1679
1683
 
1684
+ .ml-14 {
1685
+ margin-left: calc(var(--spacing) * 14);
1686
+ }
1687
+
1680
1688
  .ml-15 {
1681
1689
  margin-left: calc(var(--spacing) * 15);
1682
1690
  }
@@ -2407,6 +2415,10 @@
2407
2415
  width: calc(var(--spacing) * 40);
2408
2416
  }
2409
2417
 
2418
+ .w-42 {
2419
+ width: calc(var(--spacing) * 42);
2420
+ }
2421
+
2410
2422
  .w-42\.5 {
2411
2423
  width: calc(var(--spacing) * 42.5);
2412
2424
  }
@@ -2783,6 +2795,10 @@
2783
2795
  min-width: calc(var(--spacing) * 40);
2784
2796
  }
2785
2797
 
2798
+ .min-w-42 {
2799
+ min-width: calc(var(--spacing) * 42);
2800
+ }
2801
+
2786
2802
  .min-w-\[200px\] {
2787
2803
  min-width: 200px;
2788
2804
  }
@@ -3414,6 +3430,12 @@
3414
3430
  margin-block-end: calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-y-reverse)));
3415
3431
  }
3416
3432
 
3433
+ :where(.space-y-20 > :not(:last-child)) {
3434
+ --tw-space-y-reverse: 0;
3435
+ margin-block-start: calc(calc(var(--spacing) * 20) * var(--tw-space-y-reverse));
3436
+ margin-block-end: calc(calc(var(--spacing) * 20) * calc(1 - var(--tw-space-y-reverse)));
3437
+ }
3438
+
3417
3439
  :where(.space-y-28 > :not(:last-child)) {
3418
3440
  --tw-space-y-reverse: 0;
3419
3441
  margin-block-start: calc(calc(var(--spacing) * 28) * var(--tw-space-y-reverse));
@@ -3486,6 +3508,12 @@
3486
3508
  margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
3487
3509
  }
3488
3510
 
3511
+ :where(.space-x-5 > :not(:last-child)) {
3512
+ --tw-space-x-reverse: 0;
3513
+ margin-inline-start: calc(calc(var(--spacing) * 5) * var(--tw-space-x-reverse));
3514
+ margin-inline-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-x-reverse)));
3515
+ }
3516
+
3489
3517
  :where(.space-x-6 > :not(:last-child)) {
3490
3518
  --tw-space-x-reverse: 0;
3491
3519
  margin-inline-start: calc(calc(var(--spacing) * 6) * var(--tw-space-x-reverse));
@@ -6118,6 +6146,10 @@
6118
6146
  font-size: 11em;
6119
6147
  }
6120
6148
 
6149
+ .text-\[20px\] {
6150
+ font-size: 20px;
6151
+ }
6152
+
6121
6153
  .text-\[22px\] {
6122
6154
  font-size: 22px;
6123
6155
  }
@@ -6126,6 +6158,10 @@
6126
6158
  font-size: 24px;
6127
6159
  }
6128
6160
 
6161
+ .text-\[26px\] {
6162
+ font-size: 26px;
6163
+ }
6164
+
6129
6165
  .text-\[28px\] {
6130
6166
  font-size: 28px;
6131
6167
  }
package/lib/root.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./core_chunk/rolldown-runtime-BMXAG3ag.js";
2
- import { A as init_root, k as Root } from "./core_chunk/main-C6bm6hYZ.js";
2
+ import { A as init_root, k as Root } from "./core_chunk/main-CXz1QLHw.js";
3
3
  init_root();
4
4
  export { Root };