@weapp-vite/miniprogram-automator 1.5.8-dev.20261127.1 → 1.5.8-dev.20261128.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.d.mts +2 -2
- package/dist/index.mjs +6 -6
- package/dist/{launch-BRmP6dyY.mjs → launch-C5MaNHqF.mjs} +179 -174
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @file miniprogram-automator 对外导出入口。
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { Buffer } from "node:buffer";
|
|
5
5
|
import { EventEmitter } from "node:events";
|
|
6
6
|
import WebSocket from "ws";
|
|
7
|
-
import {
|
|
7
|
+
import { OPERATION_TIMEOUT_CODE, OperationDiagnostics, OperationErrorCategory, OperationLifecycle, OperationStepOptions, classifyOperationError, isRecoverableOperationError, readWechatLoginState } from "./operation.mjs";
|
|
8
8
|
declare function mkdir(dir: string): Promise<void>;
|
|
9
9
|
declare function rmdir(dir: string): Promise<void>;
|
|
10
10
|
declare function wget(url: string, targetPath: string): Promise<void>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { OPERATION_TIMEOUT_CODE, OperationLifecycle, classifyOperationError, isRecoverableOperationError, readWechatLoginState } from "./operation.mjs";
|
|
2
|
-
import { randomUUID } from "node:crypto";
|
|
3
1
|
import net from "node:net";
|
|
4
|
-
import process from "node:process";
|
|
5
2
|
import path from "node:path";
|
|
3
|
+
import process from "node:process";
|
|
6
4
|
import { EventEmitter } from "node:events";
|
|
7
5
|
import { createDebug } from "obug";
|
|
8
6
|
import WebSocket from "ws";
|
|
7
|
+
import { randomUUID } from "node:crypto";
|
|
9
8
|
import { stripVTControlCharacters } from "node:util";
|
|
10
9
|
import fs from "node:fs/promises";
|
|
11
10
|
import os from "node:os";
|
|
12
11
|
import { spawn } from "node:child_process";
|
|
13
12
|
import { decodeQrCodeFromBase64, renderTerminalQrCode } from "@weapp-vite/qr";
|
|
13
|
+
import { OPERATION_TIMEOUT_CODE, OperationLifecycle, classifyOperationError, isRecoverableOperationError, readWechatLoginState } from "./operation.mjs";
|
|
14
14
|
import { Buffer } from "node:buffer";
|
|
15
15
|
// src/internal/compat/async.ts
|
|
16
16
|
/**
|
|
@@ -148,7 +148,7 @@ function stableSerialize(value) {
|
|
|
148
148
|
const currentIndex = stack.indexOf(this);
|
|
149
149
|
if (currentIndex >= 0) {
|
|
150
150
|
stack.splice(currentIndex + 1);
|
|
151
|
-
keys.splice(currentIndex,
|
|
151
|
+
keys.splice(currentIndex, 1e400, key);
|
|
152
152
|
} else {
|
|
153
153
|
stack.push(this);
|
|
154
154
|
keys.push(key);
|
|
@@ -1402,7 +1402,7 @@ var Connection = class Connection extends EventEmitter {
|
|
|
1402
1402
|
};
|
|
1403
1403
|
// src/headless.ts
|
|
1404
1404
|
async function launchHeadlessAutomator(options) {
|
|
1405
|
-
return await (await import("./launch-
|
|
1405
|
+
return await (await import("./launch-C5MaNHqF.mjs")).launch({ projectPath: options.projectPath });
|
|
1406
1406
|
}
|
|
1407
1407
|
// src/launcher/diagnostics.ts
|
|
1408
1408
|
/** 将本次 CLI 的有界输出附到原始错误,避免泄露登录票据及账号参数。 */
|
|
@@ -1658,7 +1658,7 @@ function spawnWechatCli(cliPath, args, cwd, scope) {
|
|
|
1658
1658
|
return Object.assign(state, { release });
|
|
1659
1659
|
}
|
|
1660
1660
|
// package.json
|
|
1661
|
-
var version = "1.5.8-dev.
|
|
1661
|
+
var version = "1.5.8-dev.20261128.1";
|
|
1662
1662
|
// src/appServiceHeap.ts
|
|
1663
1663
|
function isRecord$1(value) {
|
|
1664
1664
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import vm from "node:vm";
|
|
3
2
|
import fs from "node:fs";
|
|
3
|
+
import vm from "node:vm";
|
|
4
4
|
// \0rolldown/runtime.js
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
@@ -9,22 +9,24 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
9
9
|
var __getProtoOf = Object.getPrototypeOf;
|
|
10
10
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
11
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
12
|
-
var __exportAll = (all,
|
|
13
|
-
let target = {};
|
|
12
|
+
var __exportAll = (all, flags) => {
|
|
13
|
+
let target = Object.setPrototypeOf({}, null);
|
|
14
14
|
for (var name in all) __defProp(target, name, {
|
|
15
15
|
get: all[name],
|
|
16
16
|
enumerable: true
|
|
17
17
|
});
|
|
18
|
-
if (!
|
|
19
|
-
return target;
|
|
18
|
+
if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
|
+
return flags & 2 ? target : Object.preventExtensions(target);
|
|
20
20
|
};
|
|
21
21
|
var __copyProps = (to, from, except, desc) => {
|
|
22
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
23
|
-
key
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
24
|
+
desc = __getOwnPropDesc(from, key);
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: desc && desc.get && !desc.configurable ? desc.get : () => from[key],
|
|
27
|
+
enumerable: !desc || desc.enumerable
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
}
|
|
29
31
|
return to;
|
|
30
32
|
};
|
|
@@ -6586,7 +6588,7 @@ function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumS
|
|
|
6586
6588
|
const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin;
|
|
6587
6589
|
let invalid = false;
|
|
6588
6590
|
let total = 0;
|
|
6589
|
-
for (let i = 0, e = len == null ?
|
|
6591
|
+
for (let i = 0, e = len == null ? 1e400 : len; i < e; ++i) {
|
|
6590
6592
|
const code = input.charCodeAt(pos);
|
|
6591
6593
|
let val;
|
|
6592
6594
|
if (code === 95 && allowNumSeparator !== "bail") {
|
|
@@ -6611,7 +6613,7 @@ function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumS
|
|
|
6611
6613
|
if (code >= 97) val = code - 97 + 10;
|
|
6612
6614
|
else if (code >= 65) val = code - 65 + 10;
|
|
6613
6615
|
else if (_isDigit(code)) val = code - 48;
|
|
6614
|
-
else val =
|
|
6616
|
+
else val = 1e400;
|
|
6615
6617
|
if (val >= radix) {
|
|
6616
6618
|
if (val <= 9) {
|
|
6617
6619
|
if (bailOnError) return {
|
|
@@ -14133,9 +14135,9 @@ function codePointToString(codePoint) {
|
|
|
14133
14135
|
*/
|
|
14134
14136
|
const htmlDecodeData = ["Q=¨`p0AEligMPacutebrevecircyfrgravelphamacrndogonpfpplyFunctionringscrsigntildeumlBackslashrvwedcyecausernoullistafropfrevescrumpeqCHcyOPYacutepitalDifferentialDyleyscaronedilirconintdotedillanterDotfrhiircleDotMinusPlusTimeslockwiseContourIntegralseCurlyDoubleQuoteQuoteolonengruentinttourIntegralpfroductunterClockwiseContourIntegralrossscrupCapDDotrahdJcyScyZcyaggerrrshvcaronyeltafriacriticalAcuteDotubleAcuteGraveTildemondfferentialDopftDotEqualubleContourIntegralDotwnArrowLeftArrowRightArrowTeeongLeftArrowRightArrowRightArrowRightArrowTeeUpArrowDownArrowVerticalBarwnArrowBarUpArrowBreveLeftRightVectorTeeVectorVectorBarRightTeeVectorVectorBarTeeArrowarrowscrtrokENGTHacutecaronircydotfrgravelementmacrptySmallSquareVerySmallSquareogonpfpsilonqualTildeilibriumscrimtaumlxistsponentialEFcyfrilledSmallSquareVerySmallSquareopfrAlluriertrfscrGJcyTammadbrevecedilircydotfrgopfreaterEqualLessFullEqualGreaterLessSlantEqualTildescrtHARDcyacektcircfrilbertSpaceopfrizontalLinescrtrokumpDownHumpEqualIEcyJligOcyacutecircydotfrgravemacrginaryIpliesntegralrsectionvisibleCommaTimesogonpftascrtildeukcymlJcircyfropfscrercyukcyKHcyJcyappacedilyfropfscrLJcyTacutembdangplacetrfrrcaronedilyeftAngleBracketrrowBarRightArrowCeilingDoubleBracketwnTeeVectorVectorBarFloorRightArrowVectorTeeArrowVectorriangleBarEqualUpDownVectorTeeVectorVectorBarVectorBararrowrightarrowssEqualGreaterFullEqualGreaterLessSlantEqualTildefrleftarrowmidotongLeftArrowRightArrowRightArrowleftarrowrightarrowrightarrowpfwerLeftArrowRightArrowscrhtroktMapcyediumSpacellintrffrinusPlusopfscruNJcyacutecaronedilyegativeMediumSpaceThickSpacenSpaceVeryThinSpacestedGreaterGreaterLessLesswLinefroBreaknBreakingSpacepftCongruentupCapDoubleVerticalBarElementqualTildexistsGreaterEqualFullEqualGreaterLessSlantEqualTildeHumpDownHumpEqualLeftTriangleBarEqualssEqualGreaterLessSlantEqualTildeNestedGreaterGreaterLessLessPrecedesEqualSlantEqualReverseElementightTriangleBarEqualSquareSubsetEqualpersetEqualubsetEqualcceedsEqualSlantEqualTildepersetEqualTildeEqualFullEqualTildeVerticalBarscrtildeuOEligacutecircydblacfrgravemacregaicronopfpenCurlyDoubleQuoteQuoterscrlashtildemesumlverBarraceketParenthesisPartialDcyfrhiilusMinusoincareplanepfrecedesEqualSlantEqualTildeimeoductportionalscriQUOTfropfscrRBarrEGacutengrrtlcaronedilyeverseElementquilibriumUpEquilibriumfrhoightAngleBracketrrowBarLeftArrowCeilingDoubleBracketwnTeeVectorVectorBarFloorTeeArrowVectorriangleBarEqualUpDownVectorTeeVectorVectorBarVectorBararrowopfundImpliesrightarrowscrhuleDelayedSHCHcycyOFTcyacutecaronedilircyfrhortDownArrowLeftArrowRightArrowUpArrowigmamallCircleopfqrtuareIntersectionSubsetEqualpersetEqualUnionscrtarubsetEqualcceedsEqualSlantEqualTildehThatmpersetEqualsetTHORNRADESHcycyabucaronedilyfrhereforetaickSpacenSpaceildeEqualFullEqualTildeopfripleDotscrtrokUacuterrocirbrcyevecircydblacfrgravemacrnderBarraceketParenthesisionPlusogonpfpArrowBarDownArrowDownArrowEquilibriumTeeArrowarrowdownarrowperLeftArrowRightArrowsilonringscrtildeumlVDashbarcydashleerbarticalBarLineSeparatorTildeyThinSpacefropfscrvdashWcircedgefropfscrXfriopfscrYAcyIcyUcyacutecircyfropfscrumlZHcyacutecaronydoteroWidthSpacetafropfscraacutebrevecEdircuteyeligfrgravelefsymphphamacrlgpndanddslopevgelemsdaabcdefghrtvbdsphtzarrogonpfpEacireidosproxeqringscrtympeqtildeumlwconintintbNotackcongepsilonprimesimeqrveewedgebrktbrkcongydquoecausemptyvpsirnoutahweenfrigcapircupodotplustimessqcuptartriangledownupuplusveewedgekarowlacklozengesquaretriangledownleftrightnkk12434ocknequivotopfttomwtiexDLRlrHDUduULRlrVHLRhlrboxdLRlrhDUduminusplustimesuLRlrvHLRhlrprimerevevbarscremiimeolbhsubulletmpEeqcacutepandbrcupcapupdotsretoncapsronedilircupssmdotedilmptyvnterdotfrhcyeckmarkiirEceqlearrowleftrightdRSastcircdashefnintmidscirlubsuitoloneqmmatpfnlementxesngdotintpfrodysrrarrossscrubepetdotudarrlreprsclarrppbrcapcapupdotorsrarrmlyeqprecsuccveewedgerenvearrowleftrightveewedwconintintylctydArrHaraggerlethrrshvbkarowlaccaronydaggerrrotseqegltamptyvfishtrharlriamondsuitsegammasinvideontimesonxjcylcornropollarpfteqdotminusplussquareublebarwedgewnarrowdownarrowsharpoonleftrightrbkarowcornropscryoltroktdotrifuarrharwanglezcyigrarreDDototacutestercaronircolonydotefDotrgravesdotlinterslsdotmacrptysetvsp134ngspogonpfparsllussilonvqcircolonsimlantgtrlessualsestivDDvparslrDotarrscrdotimtahumlroxclistpectationonentialefallingdotseqcyemalefiligligligriligjliglatligtnsnofopfrallkvpartintrac123456823534584556878slownscrgElacutemmadpbrevecircydotelqqslantsccdotollesfrggimeljcylEajnEapproxeqqsimopfravescrimeltccirdotlParquestrapproxrrdoteqlessqlesslesssimvertneqqnEhArrairsplfmiltrdcyrcirwbarcirceartsuitlliprconfrksearowwarowoarrmthtokleftarrowrightarrowpfrbarscrlashtrokybullpheniacutecircyecyxclffrgraveiiintntnfinotajligmacrgelinepartthofpedncarefintieodottcalegersrcallarhkprodocygonpftaprodquestscrinEdotsvvtildeukcymljcircyfrmathopfscrercyukcykappavcedilyfrgreenhcyjcyopfscrlAarrrrtailBarrEgHaracuteemptyvgranmbdangdlepquorrbfsfshklpplsimtltailesbarrbrkracekkeslducaronedililubydcaquorrdharusharsheftarrowtailharpoondownupleftarrowsrightarrowsharpoonssquigarrowthreetimesgqqslantsccdotorgessapproxdoteqgtrqgtrgtrsimfishtloorrgEhardulblkjcylarrcornerhardtrimidotoustachenEapproxeqqsimoangrrbrkngleftarrowrightarrowmapstorightarrowoparrowleftrightparflustimeswastbarzengefparltrarrcornerhardmtrisaquocrhimegqbuortroktccirdothreeimeslarrquestrPariefurdsharuharvertneqqnEmDDotacrletesepstodownleftuprkercommaydasheasuredanglefrhoicrodastcirdotnusbdulcpdrnplusodelspfpscrtposultimapmapnGgtvLeftarrowrightarrowltvRightarrowVDashdashablacutengpEidosproxturalsbspumpecapronedilongdotupydasheArrarhkrowdotquivsearimxistsfrgEeqqslantssimtrhArrarrparisdvjcylArrEarrdreftarrowrightarrowqqslantsssimtriemidopftinEdotvabcnivabcparallelsltolintrcueeceqrArrarrcwightarrowtriesccueerhortmidparallelimeqmidparqsubepeubEeseteqqcceqpEeseteqqtglildelgrianglelefteqrightequmerospvDashHarrapdashgetinfinlArretrierArrtriesimwArrarhkrownearoSacutestcircydashblacivotsoldeligfcirrgonravethbarmintlarrcirrossinetmacregaicrondnusopfparerplusrarrderoffmigoforslopevscrlasholtildemesasumlvbarparallelsimltcyercntiodmilptenkfrhivmmatoneitchforkvlanckhkvusacirbcirdouemnsimtwomointintpfundrEapcueecapproxcurlyeqeqnapproxeqqsimsimimesnEapsimodfalarlinesurfptosimurelscriuncspqfrintopfprimescruaternionsintesteqotrAarrrrtailBarrHaraceutedicemptyvngdelequorrapbfscfshklpplsimtlwtailionalsbarrbrkracekkeslducaronedililubydcaldharquorshealinepartsctgfishtloorrhardulovightarrowtailharpoondownupleftarrowsharpoonsrightarrowssquigarrowthreetimesngsingdotseqlarrharmmoustachenmidoangrrbrkparflustimespargtpolintrarrsaquocrhqbuorthreeimesriefltriuluharxsacutebquocEaproncueedilircnEapsimpolintsimydotbeeArrarhkrowctmiswartminusnxtfrownharpchcyyortmidparallelyigmafvmdoteqgElEneplusrarrlarrmallsetminusshpeparslidletesoftcylbarpfpadesuitrqcapsupssubeseteqpesetequareffrarrscretmnmiletarftarfraightepsilonphinsubEdotedotmultnEeplusrarrseteqqneqqimubpccapproxcurlyeqeqnapproxeqqsimsimmngp123EdotsubedothsolublarrmultnEeplusseteqqneqqimubpwArrarhkrownwarzligtargetubrkcaronedilydotelrecfrhere4foretasymvickapproxsimnspkapsimornildemesbardntoeapbotcirforksaprimeradeiangledownlefteqqrighteqdoteminusplussbtimepeziumscryhcytrokwixtoheadleftarrowrightarrowuArrHaracuterrbrcyevecircydarrblacharfishtrgraveharlrblklcornerroptrimacrlogonpfparrowdownarrowharpoonleftrightlussihlonuparrowsrcornerropingtriscrtdotilderifuarrmlwanglevArrBarvDashangrtrepsilonkappanothingphiiroptorhosigmaubsetneqqpsetneqqthetariangleleftrightcydasheebareqlliprbartfrltrinsubpopfproprtriscrubnEepnEezigzagwcircedbargeqierpfropfpreathscrxcapircupdtrifrhArrarrilArrarrmapnisodotpflustimerArrarrscrqcupuplustriveewedgeyacuteycircyenfricyopfscrucymlzacutecaronydoteetrftafrhcyigrarropfscrwjnjC(D%D($(D'%$$ED($'$'$%$'%E$/D'$F%'D(D&#,%%&&$%$)%+%%$E$F$'$&$(#'D&$(%$&4%($(E'%&%($&$)%*$%$%$+)()')($:&5-($'($%*&&&/%%&)%@$'$F$%&&#%%)$&$&$&$(%%%&$(%$$%&%$E$2.&0,.(.(&'%.$F%$&&&(%6)&+*),---&*/1---)-.&)*+,).%*,&,*'('2+,+)1&'1,)2&'&*('($F%'#&D%D($(E&%$$&$ED($)$'%1(2$'%E$)$'((&+$&%%$%D&$(%-#&$E$3)2$F%'%+$&#'D$$'($$($(%&%$$&$E$$$F$./'*,***'*-*($F$$#)$'%$$'$%$.$&%/$&%'$.'(#'$'$&D(D'%$$&$%D($$%&&*%($%&('+%/,($'%E%%$&$($'E%#(%$$E$F$F%'$'#'$&$'$(%$$E$F$F#'D$$(%'%%%+%%$(%'%$$2(',&,-'*'0).+)1&'('-,)'&*(*)(*/&/('/),))/&')-&'('-%1','*'''-'($E$$%+$($/+-'-',+-'-%E%/(-$&%$%'$$#&$%$-%*$E$+$F$&$$#'$($(%'%$$5+-.)+0%5)+%($E$)%1%%%$&,'(&4&*''+H'(&*-(-L-J-'-M-(&O*H&/2F2((%*(***G*M*(&W,K&+.H.-&1'/3F3(&O2(.I4('H,(().H.-.H(I.(&(+(+,+(&.$FD($$#(D(D'%$$($ED($'%&%($F$6,($$$FE'D(&&D&$)('+&'.#+$%$E$%$$$+$/%%$$%)+(+-+(%&%(&*-%$F%$C'$E$&$F#(D%$(%%%%'%$(%'%$$$%/+-*0$%$%$3)'-&-,(*(0*.,)2&(((&+(+))*0&0((/*,*)0&().&(($&%-$-$&%$$-#)%%$($($$%'%'%&%$$E$0(,(-(*$'$-$F$&%')/))/(+)1()($F$&$%&&)(%)+(+-+(&(%$%$&(+(&&C($'$'%%$%%$$(%'%$$E$+&%%K&)$'(((,(($F$+$F%'C)%%''$'&&D'%$$($ED($'$*)',&(.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P@:H9T8P000LB8d@800@I0<110000QQ8400P10030005940@410020000Q02000@0200000@P0101@8000440400000000808000000000@00000000P`0000000040400@0004<000000000008000030000000000P020T400020@0@00000000000000000000000000P0000000400400000400220080000100000000000000000P000000000000P000000@00402000000000@00000000000000000000040000000000000", "Æ&ÁĂÂА𝔄ÀΑĀ⩓Ą𝔸Å𝒜≔ÃÄ∖⫧⌆Б∵ℬΒ𝔅𝔹˘ℬ≎Ч©Ć⋒ⅅℭČÇĈ∰Ċ¸·ℭΧ⊙⊖⊕⊗∲”’∷⩴≡∯∮ℂ∐∳⨯𝒞⋓≍ⅅ⤑ЂЅЏ‡↡⫤ĎД∇Δ𝔇´˙˝`˜⋄ⅆ𝔻¨⃜≐∯¨⇓⇐⇔⫤⟸⟺⟹⇒⊨⇑⇕∥↓⤓⇵̑⥐⥞↽⥖⥟⇁⥗⊤↧⇓𝒟ĐŊÐÉĚÊЭĖ𝔈È∈Ē◻▫Ę𝔼Ε⩵≂⇌ℰ⩳ΗË∃ⅇФ𝔉◼▪𝔽∀ℱℱЃ>ΓϜĞĢĜГĠ𝔊⋙𝔾≥⋛≧⪢≷⩾≳𝒢≫Ъˇ^Ĥℌℋℍ─ℋĦ≎≏ЕIJЁÍÎИİℑÌℑĪⅈ⇒∬∫⋂Į𝕀ΙℐĨІÏĴЙ𝔍𝕁𝒥ЈЄХЌΚĶК𝔎𝕂𝒦Љ<ĹΛ⟪ℒ↞ĽĻЛ⟨←⇤⇆⌈⟦⥡⇃⥙⌊↔⥎⊣↤⥚⊲⧏⊴⥑⥠↿⥘↼⥒⇐⇔⋚≦≶⪡⩽≲𝔏⋘⇚Ŀ⟵⟷⟶⟸⟺⟹𝕃↙↘ℒ↰Ł≪⤅М ℳ𝔐∓𝕄ℳΜЊŃŇŅН≫≪\n𝔑\xA0ℕ⫬≢≭∦∉≠≂̸∄≯≱≧̸≫̸≹⩾̸≵≎̸≏̸⋪⧏̸⋬≮≰≸≪̸⩽̸≴⪢̸⪡̸⊀⪯̸⋠∌⋫⧐̸⋭⊏̸⋢⊐̸⋣⊂⃒⊈⊁⪰̸⋡≿̸⊃⃒⊉≁≄≇≉∤𝒩ÑΝŒÓÔОŐ𝔒ÒŌΩΟ𝕆“‘⩔𝒪ØÕ⨷Ö‾⏞⎴⏜∂П𝔓ΦΠ±ℌℙ⪻≺⪯≼≾″∏∷∝𝒫Ψ\"𝔔ℚ𝒬⤐®Ŕ⟫↠⤖ŘŖРℜ∋⇋⥯ℜΡ⟩→⇥⇄⌉⟧⥝⇂⥕⌋⊢↦⥛⊳⧐⊵⥏⥜↾⥔⇀⥓⇒ℝ⥰⇛ℛ↱⧴ЩШЬŚ⪼ŠŞŜС𝔖↓←→↑Σ∘𝕊√□⊓⊏⊑⊐⊒⊔𝒮⋆⋐⋐⊆≻⪰≽≿∋∑⋑⊃⊇⋑Þ™ЋЦ ΤŤŢТ𝔗∴Θ ∼≃≅≈𝕋⃛𝒯ŦÚ↟⥉ЎŬÛУŰ𝔘ÙŪ_⏟⎵⏝⋃⊎Ų𝕌↑⤒⇅↕⥮⊥↥⇑⇕↖↗ϒΥŮ𝒰ŨÜ⊫⫫В⊩⫦⋁‖‖∣|❘≀ 𝔙𝕍𝒱⊪Ŵ⋀𝔚𝕎𝒲𝔛Ξ𝕏𝒳ЯЇЮÝŶЫ𝔜𝕐𝒴ŸЖŹŽЗŻΖℨℤ𝒵áă∾∾̳∿â´аæ𝔞àℵℵαā⨿&∧⩕⩜⩘⩚∠⦤∠∡⦨⦩⦪⦫⦬⦭⦮⦯∟⊾⦝∢Å⍼ą𝕒≈⩰⩯≊≋'≈≊å𝒶*≈≍ãä∳⨑⫭≌϶‵∽⋍⊽⌅⌅⎵⎶≌б„∵∵⦰϶ℬβℶ≬𝔟⋂◯⋃⨀⨁⨂⨆★▽△⨄⋁⋀⤍⧫▪▴▾◂▸␣▒░▓█=⃥≡⃥⌐𝕓⊥⊥⋈╗╔╖╓═╦╩╤╧╝╚╜╙║╬╣╠╫╢╟⧉╕╒┐┌─╥╨┬┴⊟⊞⊠╛╘┘└│╪╡╞┼┤├‵˘¦𝒷⁏∽⋍\\⧅⟈••≎⪮≏≏ć∩⩄⩉⩋⩇⩀∩︀⁁ˇ⩍čçĉ⩌⩐ċ¸⦲¢·𝔠ч✓✓χ○⧃ˆ≗↺↻®Ⓢ⊛⊚⊝≗⨐⫯⧂♣♣:≔≔,@∁∘∁ℂ≅⩭∮𝕔∐©℗↵✗𝒸⫏⫑⫐⫒⋯⤸⤵⋞⋟↶⤽∪⩈⩆⩊⊍⩅∪︀↷⤼⋞⋟⋎⋏¤↶↷⋎⋏∲∱⌭⇓⥥†ℸ↓‐⊣⤏˝ďдⅆ‡⇊⩷°δ⦱⥿𝔡⇃⇂⋄⋄♦♦¨ϝ⋲÷÷⋇⋇ђ⌞⌍$𝕕˙≐≑∸∔⊡⌆↓⇊⇃⇂⤐⌟⌌𝒹ѕ⧶đ⋱▿▾⇵⥯⦦џ⟿⩷≑é⩮ě≖ê≕эėⅇ≒𝔢⪚è⪖⪘⪙⏧ℓ⪕⪗ē∅∅∅ ŋ ę𝕖⋕⧣⩱εεϵ≖≕≂⪖⪕=≟≡⩸⧥≓⥱ℯ≐≂ηðë€!∃ℰⅇ≒ф♀ffiffffl𝔣fifj♭fl▱ƒ𝕗∀⋔⫙⨍½⅓¼⅕⅙⅛⅔⅖¾⅗⅜⅘⅚⅝⅞⁄⌢𝒻≧⪌ǵγϝ⪆ğĝгġ≥⋛≥≧⩾⩾⪩⪀⪂⪄⋛︀⪔𝔤≫⋙ℷѓ≷⪒⪥⪤≩⪊⪊⪈⪈≩⋧𝕘`ℊ≳⪎⪐>⪧⩺⋗⦕⩼⪆⥸⋗⋛⪌≷≳≩︀≩︀⇔ ½ℋъ↔⥈↭ℏĥ♥♥…⊹𝔥⤥⤦⇿∻↩↪𝕙―𝒽ℏħ⁃‐íîие¡⇔𝔦ìⅈ⨌∭⧜℩ijīℑℐℑı⊷Ƶ∈℅∞⧝ı∫⊺ℤ⊺⨗⨼ёį𝕚ι⨼¿𝒾∈⋹⋵⋴⋳∈ĩіïĵй𝔧ȷ𝕛𝒿јєκϰķк𝔨ĸхќ𝕜𝓀⇚⇐⤛⤎≦⪋⥢ĺ⦴ℒλ⟨⦑⟨⪅«←⇤⤟⤝↩↫⤹⥳↢⪫⤙⪭⪭︀⤌❲{[⦋⦏⦍ľļ⌈{л⤶“„⥧⥋↲≤←↢↽↼⇇↔⇆⇋↭⋋⋚≤≦⩽⩽⪨⩿⪁⪃⋚︀⪓⪅⋖⋚⪋≶≲⥼⌊𝔩≶⪑↽↼⥪▄љ≪⇇⌞⥫◺ŀ⎰⎰≨⪉⪉⪇⪇≨⋦⟬⇽⟦⟵⟷⟼⟶↫↬⦅𝕝⨭⨴∗_◊◊⧫(⦓⇆⌟⇋⥭⊿‹𝓁↰≲⪍⪏[‘‚ł<⪦⩹⋖⋋⋉⥶⩻⦖◃⊴◂⥊⥦≨︀≨︀∺¯♂✠✠↦↦↧↤↥▮⨩м—∡𝔪℧µ∣*⫰·−⊟∸⨪⫛…∓⊧𝕞∓𝓂∾μ⊸⊸⋙̸≫⃒≫̸⇍⇎⋘̸≪⃒≪̸⇏⊯⊮∇ń∠⃒≉⩰̸≋̸ʼn≉♮♮ℕ\xA0≎̸≏̸⩃ňņ≇⩭̸⩂н–≠⇗⤤↗↗≐̸≢⤨≂̸∄∄𝔫≧̸≱≱≧̸⩾̸⩾̸≵≯≯⇎↮⫲∋⋼⋺∋њ⇍≦̸↚‥≰↚↮≰≦̸⩽̸⩽̸≮≴≮⋪⋬∤𝕟¬∉⋹̸⋵̸∉⋷⋶∌∌⋾⋽∦∦⫽⃥∂̸⨔⊀⋠⪯̸⊀⪯̸⇏↛⤳̸↝̸↛⋫⋭⊁⋡⪰̸𝓃∤∦≁≄≄∤∦⋢⋣⊄⫅̸⊈⊂⃒⊈⫅̸⊁⪰̸⊅⫆̸⊉⊃⃒⊉⫆̸≹ñ≸⋪⋬⋫⋭ν#№ ⊭⤄≍⃒⊬≥⃒>⃒⧞⤂≤⃒<⃒⊴⃒⤃⊵⃒∼⃒⇖⤣↖↖⤧Ⓢó⊛⊚ôо⊝ő⨸⊙⦼œ⦿𝔬˛ò⧁⦵Ω∮↺⦾⦻‾⧀ōωο⦶⊖𝕠⦷⦹⊕∨↻⩝ℴℴªº⊶⩖⩗⩛ℴø⊘õ⊗⨶ö⌽∥¶∥⫳⫽∂п%.‰⊥‱𝔭φϕℳ☎π⋔ϖℏℎℏ+⨣⊞⨢∔⨥⩲±⨦⨧±⨕𝕡£≺⪳⪷≼⪯≺⪷≼⪯⪹⪵⋨≾′ℙ⪵⪹⋨∏⌮⌒⌓∝∝≾⊰𝓅ψ 𝔮⨌𝕢⁗𝓆ℍ⨖?≟\"⇛⇒⤜⤏⥤∽̱ŕ√⦳⟩⦒⦥⟩»→⥵⇥⤠⤳⤞↪↬⥅⥴↣↝⤚∶ℚ⤍❳}]⦌⦎⦐řŗ⌉}р⤷⥩””↳ℜℛℜℝ▭®⥽⌋𝔯⇁⇀⥬ρϱ→↣⇁⇀⇄⇌⇉↝⋌˚≓⇄⇌⎱⎱⫮⟭⇾⟧⦆𝕣⨮⨵)⦔⨒⇉›𝓇↱]’’⋌⋊▹⊵▸⧎⥨℞ś‚≻⪴⪸š≽⪰şŝ⪶⪺⋩⨓≿с⋅⊡⩦⇘⤥↘↘§;⤩∖∖✶𝔰⌢♯щш∣∥σςς∼⩪≃≃⪞⪠⪝⪟≆⨤⥲←∖⨳⧤∣⌣⪪⪬⪬︀ь/⧄⌿𝕤♠♠∥⊓⊓︀⊔⊔︀⊏⊑⊏⊑⊐⊒⊐⊒□□▪▪→𝓈∖⌣⋆☆★ϵϕ¯⊂⫅⪽⊆⫃⫁⫋⊊⪿⥹⊂⊆⫅⊊⫋⫇⫕⫓≻⪸≽⪰⪺⪶⋩≿∑♪⊃¹²³⫆⪾⫘⊇⫄⟉⫗⥻⫂⫌⊋⫀⊃⊇⫆⊋⫌⫈⫔⫖⇙⤦↙↙⤪ß⌖τ⎴ťţт⃛⌕𝔱∴∴θϑϑ≈∼ ≈∼þ˜×⊠⨱⨰∭⤨⊤⌶⫱𝕥⫚⤩‴™▵▿◃⊴≜▹⊵◬≜⨺⨹⧍⨻⏢𝓉цћŧ≬↞↠⇑⥣ú↑ўŭûу⇅ű⥮⥾𝔲ù↿↾▀⌜⌜⌏◸ū¨ų𝕦↑↕↿↾⊎υϒυ⇈⌝⌝⌎ů◹𝓊⋰ũ▵▴⇈ü⦧⇕⫨⫩⊨⦜ϵϰ∅ϕϖ∝↕ϱς⊊︀⫋︀⊋︀⫌︀ϑ⊲⊳в⊢∨⊻≚⋮||𝔳⊲⊂⃒⊃⃒𝕧∝⊳𝓋⫋︀⊊︀⫌︀⊋︀⦚ŵ⩟∧≙℘𝔴𝕨℘≀≀𝓌⋂◯⋃▽𝔵⟺⟷ξ⟸⟵⟼⋻⨀𝕩⨁⨂⟹⟶𝓍⨆⨄△⋁⋀ýяŷы¥𝔶ї𝕪𝓎юÿźžзżℨζ𝔷ж⇝𝕫𝓏"];
|
|
14135
14137
|
/** Multiplier deriving the first candidate bucket from a key. */
|
|
14136
|
-
const BUCKET_HASH_1 =
|
|
14138
|
+
const BUCKET_HASH_1 = 0x9e3779b1;
|
|
14137
14139
|
/** Multiplier deriving the second candidate bucket from a key. */
|
|
14138
|
-
const BUCKET_HASH_2 =
|
|
14140
|
+
const BUCKET_HASH_2 = 0x85ebca6b;
|
|
14139
14141
|
/** Size of the (c0,c1) class table (10-bit index). */
|
|
14140
14142
|
const PAIR_TABLE_SIZE = 1024;
|
|
14141
14143
|
/**
|
|
@@ -16824,145 +16826,6 @@ function prepareNativeFormSubmit(button, pageScope, event, resolveMethod, resolv
|
|
|
16824
16826
|
})
|
|
16825
16827
|
};
|
|
16826
16828
|
}
|
|
16827
|
-
// ../../@weapp-core/shared/dist/rich-text-shared.js
|
|
16828
|
-
const ALLOWED_TAGS = /* @__PURE__ */ new Set([
|
|
16829
|
-
"a",
|
|
16830
|
-
"abbr",
|
|
16831
|
-
"address",
|
|
16832
|
-
"article",
|
|
16833
|
-
"aside",
|
|
16834
|
-
"b",
|
|
16835
|
-
"bdi",
|
|
16836
|
-
"bdo",
|
|
16837
|
-
"big",
|
|
16838
|
-
"blockquote",
|
|
16839
|
-
"br",
|
|
16840
|
-
"caption",
|
|
16841
|
-
"center",
|
|
16842
|
-
"cite",
|
|
16843
|
-
"code",
|
|
16844
|
-
"col",
|
|
16845
|
-
"colgroup",
|
|
16846
|
-
"dd",
|
|
16847
|
-
"del",
|
|
16848
|
-
"div",
|
|
16849
|
-
"dl",
|
|
16850
|
-
"dt",
|
|
16851
|
-
"em",
|
|
16852
|
-
"fieldset",
|
|
16853
|
-
"font",
|
|
16854
|
-
"h1",
|
|
16855
|
-
"h2",
|
|
16856
|
-
"h3",
|
|
16857
|
-
"h4",
|
|
16858
|
-
"h5",
|
|
16859
|
-
"h6",
|
|
16860
|
-
"header",
|
|
16861
|
-
"hr",
|
|
16862
|
-
"i",
|
|
16863
|
-
"img",
|
|
16864
|
-
"ins",
|
|
16865
|
-
"label",
|
|
16866
|
-
"legend",
|
|
16867
|
-
"li",
|
|
16868
|
-
"mark",
|
|
16869
|
-
"ol",
|
|
16870
|
-
"p",
|
|
16871
|
-
"pre",
|
|
16872
|
-
"q",
|
|
16873
|
-
"rt",
|
|
16874
|
-
"ruby",
|
|
16875
|
-
"s",
|
|
16876
|
-
"section",
|
|
16877
|
-
"small",
|
|
16878
|
-
"span",
|
|
16879
|
-
"strong",
|
|
16880
|
-
"sub",
|
|
16881
|
-
"sup",
|
|
16882
|
-
"table",
|
|
16883
|
-
"tbody",
|
|
16884
|
-
"td",
|
|
16885
|
-
"tfoot",
|
|
16886
|
-
"th",
|
|
16887
|
-
"thead",
|
|
16888
|
-
"tr",
|
|
16889
|
-
"tt",
|
|
16890
|
-
"u",
|
|
16891
|
-
"ul"
|
|
16892
|
-
]);
|
|
16893
|
-
const ALLOWED_STYLE_PROPERTIES = /* @__PURE__ */ new Set([
|
|
16894
|
-
"background",
|
|
16895
|
-
"background-color",
|
|
16896
|
-
"border",
|
|
16897
|
-
"border-bottom",
|
|
16898
|
-
"border-color",
|
|
16899
|
-
"border-left",
|
|
16900
|
-
"border-radius",
|
|
16901
|
-
"border-right",
|
|
16902
|
-
"border-style",
|
|
16903
|
-
"border-top",
|
|
16904
|
-
"border-width",
|
|
16905
|
-
"color",
|
|
16906
|
-
"display",
|
|
16907
|
-
"font-family",
|
|
16908
|
-
"font-size",
|
|
16909
|
-
"font-style",
|
|
16910
|
-
"font-weight",
|
|
16911
|
-
"height",
|
|
16912
|
-
"letter-spacing",
|
|
16913
|
-
"line-height",
|
|
16914
|
-
"margin",
|
|
16915
|
-
"margin-bottom",
|
|
16916
|
-
"margin-left",
|
|
16917
|
-
"margin-right",
|
|
16918
|
-
"margin-top",
|
|
16919
|
-
"max-height",
|
|
16920
|
-
"max-width",
|
|
16921
|
-
"min-height",
|
|
16922
|
-
"min-width",
|
|
16923
|
-
"opacity",
|
|
16924
|
-
"overflow",
|
|
16925
|
-
"padding",
|
|
16926
|
-
"padding-bottom",
|
|
16927
|
-
"padding-left",
|
|
16928
|
-
"padding-right",
|
|
16929
|
-
"padding-top",
|
|
16930
|
-
"text-align",
|
|
16931
|
-
"text-decoration",
|
|
16932
|
-
"text-indent",
|
|
16933
|
-
"text-overflow",
|
|
16934
|
-
"text-transform",
|
|
16935
|
-
"vertical-align",
|
|
16936
|
-
"white-space",
|
|
16937
|
-
"width",
|
|
16938
|
-
"word-break",
|
|
16939
|
-
"word-wrap"
|
|
16940
|
-
]);
|
|
16941
|
-
function isRecord(value) {
|
|
16942
|
-
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
16943
|
-
}
|
|
16944
|
-
function isSafeUrl(value, attribute) {
|
|
16945
|
-
const normalized = Array.from(value).filter((character) => character.charCodeAt(0) > 32).join("").toLowerCase();
|
|
16946
|
-
if (!normalized || normalized.startsWith("#") || normalized.startsWith("/") || normalized.startsWith("./") || normalized.startsWith("../")) return true;
|
|
16947
|
-
if (/^(?:https?:|mailto:|tel:)/.test(normalized)) return true;
|
|
16948
|
-
return attribute === "src" && /^data:image\/(?:gif|jpe?g|png|webp);base64,/.test(normalized);
|
|
16949
|
-
}
|
|
16950
|
-
function isSafeStyleValue(value) {
|
|
16951
|
-
const normalized = value.toLowerCase().replace(/\s+/g, "");
|
|
16952
|
-
return !normalized.includes("url(") && !normalized.includes("expression(") && !normalized.includes("javascript:") && !normalized.includes("behavior:") && !normalized.includes("-moz-binding");
|
|
16953
|
-
}
|
|
16954
|
-
function sanitizeRichTextStyle(value) {
|
|
16955
|
-
const source = isRecord(value) ? Object.entries(value).map(([property, propertyValue]) => `${property}:${String(propertyValue)}`).join(";") : String(value ?? "");
|
|
16956
|
-
const declarations = [];
|
|
16957
|
-
for (const declaration of source.split(";")) {
|
|
16958
|
-
const separator = declaration.indexOf(":");
|
|
16959
|
-
if (separator <= 0) continue;
|
|
16960
|
-
const property = declaration.slice(0, separator).trim().toLowerCase();
|
|
16961
|
-
const propertyValue = declaration.slice(separator + 1).trim();
|
|
16962
|
-
if (ALLOWED_STYLE_PROPERTIES.has(property) && propertyValue && isSafeStyleValue(propertyValue)) declarations.push(`${property}: ${propertyValue}`);
|
|
16963
|
-
}
|
|
16964
|
-
return declarations.join("; ");
|
|
16965
|
-
}
|
|
16966
16829
|
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/decode-codepoint.js
|
|
16967
16830
|
/**
|
|
16968
16831
|
* C1 Unicode control character reference replacements (code points 128–159).
|
|
@@ -19922,7 +19785,7 @@ const xmlEncodeRegex = /["&'<>\u0080-\uFFFF]/g;
|
|
|
19922
19785
|
* @param code Code unit to test.
|
|
19923
19786
|
*/
|
|
19924
19787
|
function isXmlEscapable(code) {
|
|
19925
|
-
return code >= 128 || code >= 32 && code < 64 && (
|
|
19788
|
+
return code >= 128 || code >= 32 && code < 64 && (0x500000c4 >>> code & 1) === 1;
|
|
19926
19789
|
}
|
|
19927
19790
|
/**
|
|
19928
19791
|
* Encodes all non-ASCII characters, as well as characters not valid in XML
|
|
@@ -20713,6 +20576,145 @@ function parseDocument(data, options) {
|
|
|
20713
20576
|
new Parser(handler, options).end(data);
|
|
20714
20577
|
return handler.root;
|
|
20715
20578
|
}
|
|
20579
|
+
// ../../@weapp-core/shared/dist/rich-text-shared.js
|
|
20580
|
+
const ALLOWED_TAGS = /* @__PURE__ */ new Set([
|
|
20581
|
+
"a",
|
|
20582
|
+
"abbr",
|
|
20583
|
+
"address",
|
|
20584
|
+
"article",
|
|
20585
|
+
"aside",
|
|
20586
|
+
"b",
|
|
20587
|
+
"bdi",
|
|
20588
|
+
"bdo",
|
|
20589
|
+
"big",
|
|
20590
|
+
"blockquote",
|
|
20591
|
+
"br",
|
|
20592
|
+
"caption",
|
|
20593
|
+
"center",
|
|
20594
|
+
"cite",
|
|
20595
|
+
"code",
|
|
20596
|
+
"col",
|
|
20597
|
+
"colgroup",
|
|
20598
|
+
"dd",
|
|
20599
|
+
"del",
|
|
20600
|
+
"div",
|
|
20601
|
+
"dl",
|
|
20602
|
+
"dt",
|
|
20603
|
+
"em",
|
|
20604
|
+
"fieldset",
|
|
20605
|
+
"font",
|
|
20606
|
+
"h1",
|
|
20607
|
+
"h2",
|
|
20608
|
+
"h3",
|
|
20609
|
+
"h4",
|
|
20610
|
+
"h5",
|
|
20611
|
+
"h6",
|
|
20612
|
+
"header",
|
|
20613
|
+
"hr",
|
|
20614
|
+
"i",
|
|
20615
|
+
"img",
|
|
20616
|
+
"ins",
|
|
20617
|
+
"label",
|
|
20618
|
+
"legend",
|
|
20619
|
+
"li",
|
|
20620
|
+
"mark",
|
|
20621
|
+
"ol",
|
|
20622
|
+
"p",
|
|
20623
|
+
"pre",
|
|
20624
|
+
"q",
|
|
20625
|
+
"rt",
|
|
20626
|
+
"ruby",
|
|
20627
|
+
"s",
|
|
20628
|
+
"section",
|
|
20629
|
+
"small",
|
|
20630
|
+
"span",
|
|
20631
|
+
"strong",
|
|
20632
|
+
"sub",
|
|
20633
|
+
"sup",
|
|
20634
|
+
"table",
|
|
20635
|
+
"tbody",
|
|
20636
|
+
"td",
|
|
20637
|
+
"tfoot",
|
|
20638
|
+
"th",
|
|
20639
|
+
"thead",
|
|
20640
|
+
"tr",
|
|
20641
|
+
"tt",
|
|
20642
|
+
"u",
|
|
20643
|
+
"ul"
|
|
20644
|
+
]);
|
|
20645
|
+
const ALLOWED_STYLE_PROPERTIES = /* @__PURE__ */ new Set([
|
|
20646
|
+
"background",
|
|
20647
|
+
"background-color",
|
|
20648
|
+
"border",
|
|
20649
|
+
"border-bottom",
|
|
20650
|
+
"border-color",
|
|
20651
|
+
"border-left",
|
|
20652
|
+
"border-radius",
|
|
20653
|
+
"border-right",
|
|
20654
|
+
"border-style",
|
|
20655
|
+
"border-top",
|
|
20656
|
+
"border-width",
|
|
20657
|
+
"color",
|
|
20658
|
+
"display",
|
|
20659
|
+
"font-family",
|
|
20660
|
+
"font-size",
|
|
20661
|
+
"font-style",
|
|
20662
|
+
"font-weight",
|
|
20663
|
+
"height",
|
|
20664
|
+
"letter-spacing",
|
|
20665
|
+
"line-height",
|
|
20666
|
+
"margin",
|
|
20667
|
+
"margin-bottom",
|
|
20668
|
+
"margin-left",
|
|
20669
|
+
"margin-right",
|
|
20670
|
+
"margin-top",
|
|
20671
|
+
"max-height",
|
|
20672
|
+
"max-width",
|
|
20673
|
+
"min-height",
|
|
20674
|
+
"min-width",
|
|
20675
|
+
"opacity",
|
|
20676
|
+
"overflow",
|
|
20677
|
+
"padding",
|
|
20678
|
+
"padding-bottom",
|
|
20679
|
+
"padding-left",
|
|
20680
|
+
"padding-right",
|
|
20681
|
+
"padding-top",
|
|
20682
|
+
"text-align",
|
|
20683
|
+
"text-decoration",
|
|
20684
|
+
"text-indent",
|
|
20685
|
+
"text-overflow",
|
|
20686
|
+
"text-transform",
|
|
20687
|
+
"vertical-align",
|
|
20688
|
+
"white-space",
|
|
20689
|
+
"width",
|
|
20690
|
+
"word-break",
|
|
20691
|
+
"word-wrap"
|
|
20692
|
+
]);
|
|
20693
|
+
function isRecord(value) {
|
|
20694
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
20695
|
+
}
|
|
20696
|
+
function isSafeUrl(value, attribute) {
|
|
20697
|
+
const normalized = Array.from(value).filter((character) => character.charCodeAt(0) > 32).join("").toLowerCase();
|
|
20698
|
+
if (!normalized || normalized.startsWith("#") || normalized.startsWith("/") || normalized.startsWith("./") || normalized.startsWith("../")) return true;
|
|
20699
|
+
if (/^(?:https?:|mailto:|tel:)/.test(normalized)) return true;
|
|
20700
|
+
return attribute === "src" && /^data:image\/(?:gif|jpe?g|png|webp);base64,/.test(normalized);
|
|
20701
|
+
}
|
|
20702
|
+
function isSafeStyleValue(value) {
|
|
20703
|
+
const normalized = value.toLowerCase().replace(/\s+/g, "");
|
|
20704
|
+
return !normalized.includes("url(") && !normalized.includes("expression(") && !normalized.includes("javascript:") && !normalized.includes("behavior:") && !normalized.includes("-moz-binding");
|
|
20705
|
+
}
|
|
20706
|
+
function sanitizeRichTextStyle(value) {
|
|
20707
|
+
const source = isRecord(value) ? Object.entries(value).map(([property, propertyValue]) => `${property}:${String(propertyValue)}`).join(";") : String(value ?? "");
|
|
20708
|
+
const declarations = [];
|
|
20709
|
+
for (const declaration of source.split(";")) {
|
|
20710
|
+
const separator = declaration.indexOf(":");
|
|
20711
|
+
if (separator <= 0) continue;
|
|
20712
|
+
const property = declaration.slice(0, separator).trim().toLowerCase();
|
|
20713
|
+
const propertyValue = declaration.slice(separator + 1).trim();
|
|
20714
|
+
if (ALLOWED_STYLE_PROPERTIES.has(property) && propertyValue && isSafeStyleValue(propertyValue)) declarations.push(`${property}: ${propertyValue}`);
|
|
20715
|
+
}
|
|
20716
|
+
return declarations.join("; ");
|
|
20717
|
+
}
|
|
20716
20718
|
// ../../@weapp-core/shared/dist/rich-text-native.js
|
|
20717
20719
|
const NATIVE_ALLOWED_TAGS = /* @__PURE__ */ new Set([
|
|
20718
20720
|
...ALLOWED_TAGS,
|
|
@@ -24231,6 +24233,7 @@ function queryInspectionSelectorAll(root, selector) {
|
|
|
24231
24233
|
}
|
|
24232
24234
|
// ../../node_modules/.pnpm/whynot@5.0.0/node_modules/whynot/dist/whynot.umd.cjs
|
|
24233
24235
|
var require_whynot_umd = /* @__PURE__ */ __commonJSMin(((exports, module, this$4) => {
|
|
24236
|
+
var define;
|
|
24234
24237
|
(function(t, s) {
|
|
24235
24238
|
"object" == typeof exports && "undefined" != typeof module ? s(exports) : "function" == typeof define && define.amd ? define(["exports"], s) : s((t = "undefined" != typeof globalThis ? globalThis : t || self).whynot = {});
|
|
24236
24239
|
})(this$4, (function(t) {
|
|
@@ -24581,6 +24584,7 @@ var require_whynot_umd = /* @__PURE__ */ __commonJSMin(((exports, module, this$4
|
|
|
24581
24584
|
}));
|
|
24582
24585
|
// ../../node_modules/.pnpm/xspattern@3.1.0/node_modules/xspattern/dist/xspattern.umd.cjs
|
|
24583
24586
|
var require_xspattern_umd = /* @__PURE__ */ __commonJSMin(((exports, module, this$3) => {
|
|
24587
|
+
var define;
|
|
24584
24588
|
(function(A, B) {
|
|
24585
24589
|
"object" == typeof exports && "undefined" != typeof module ? B(exports, require_whynot_umd()) : "function" == typeof define && define.amd ? define(["exports", "whynot"], B) : B((A = "undefined" != typeof globalThis ? globalThis : A || self).xspattern = {}, A.whynot);
|
|
24586
24590
|
})(this$3, (function(A, B) {
|
|
@@ -25880,6 +25884,7 @@ var require_xspattern_umd = /* @__PURE__ */ __commonJSMin(((exports, module, thi
|
|
|
25880
25884
|
}));
|
|
25881
25885
|
// ../../node_modules/.pnpm/prsc@4.0.0/node_modules/prsc/dist/prsc.umd.cjs
|
|
25882
25886
|
var require_prsc_umd = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
|
|
25887
|
+
var define;
|
|
25883
25888
|
(function(n, t) {
|
|
25884
25889
|
"object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t((n = "undefined" != typeof globalThis ? globalThis : n || self).prsc = {});
|
|
25885
25890
|
})(this$2, (function(n) {
|
|
@@ -26125,6 +26130,7 @@ var require_prsc_umd = /* @__PURE__ */ __commonJSMin(((exports, module, this$2)
|
|
|
26125
26130
|
}));
|
|
26126
26131
|
// ../../mpcore/packages/simulator/src/view/xpath.ts
|
|
26127
26132
|
var import_fontoxpath = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
|
|
26133
|
+
var define;
|
|
26128
26134
|
(function(root, factory) {
|
|
26129
26135
|
if (typeof define === "function" && define.amd) define(["xspattern", "prsc"], factory);
|
|
26130
26136
|
else if (typeof exports === "object") module.exports = factory(require_xspattern_umd(), require_prsc_umd());
|
|
@@ -28278,11 +28284,11 @@ var import_fontoxpath = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin((
|
|
|
28278
28284
|
case "INF":
|
|
28279
28285
|
case "+INF": return {
|
|
28280
28286
|
u: !0,
|
|
28281
|
-
value:
|
|
28287
|
+
value: 1e400
|
|
28282
28288
|
};
|
|
28283
28289
|
case "-INF": return {
|
|
28284
28290
|
u: !0,
|
|
28285
|
-
value: -
|
|
28291
|
+
value: -1e400
|
|
28286
28292
|
};
|
|
28287
28293
|
case "0":
|
|
28288
28294
|
case "+0": return {
|
|
@@ -29281,7 +29287,7 @@ var import_fontoxpath = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin((
|
|
|
29281
29287
|
if (h) return p;
|
|
29282
29288
|
const k = e.first();
|
|
29283
29289
|
if (!k) return h = !0, p;
|
|
29284
|
-
if ((v(k.type, 6) || v(k.type, 3)) && (0 === k.value || isNaN(k.value) ||
|
|
29290
|
+
if ((v(k.type, 6) || v(k.type, 3)) && (0 === k.value || isNaN(k.value) || 1e400 === k.value || -1e400 === k.value)) return h = !0, q(k);
|
|
29285
29291
|
var l;
|
|
29286
29292
|
f ? l = f.first().value : l = 0;
|
|
29287
29293
|
h = !0;
|
|
@@ -31531,8 +31537,7 @@ var import_fontoxpath = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin((
|
|
|
31531
31537
|
if (1 !== h.v) throw nc("The callback passed into array:filter has a wrong arity.");
|
|
31532
31538
|
const k = f.members.map((t) => {
|
|
31533
31539
|
t = wf(h.o, [t()], b, "array:filter")[0];
|
|
31534
|
-
|
|
31535
|
-
return u(a, b, c, t);
|
|
31540
|
+
return (0, h.value)(a, b, c, t);
|
|
31536
31541
|
}), l = [];
|
|
31537
31542
|
let n = !1;
|
|
31538
31543
|
return w.create({ next: () => {
|
|
@@ -39136,11 +39141,11 @@ var import_fontoxpath = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin((
|
|
|
39136
39141
|
return a;
|
|
39137
39142
|
}
|
|
39138
39143
|
const Zq = (a, b, c, d, e, f) => tb([e, f], ([h, k]) => {
|
|
39139
|
-
if (
|
|
39140
|
-
if (-
|
|
39144
|
+
if (1e400 === h.value) return w.empty();
|
|
39145
|
+
if (-1e400 === h.value) return k && 1e400 === k.value ? w.empty() : d;
|
|
39141
39146
|
if (k) {
|
|
39142
39147
|
if (isNaN(k.value)) return w.empty();
|
|
39143
|
-
|
|
39148
|
+
1e400 === k.value && (k = null);
|
|
39144
39149
|
}
|
|
39145
39150
|
return isNaN(h.value) ? w.empty() : Wq(d, Math.round(h.value), k ? Math.round(k.value) : null);
|
|
39146
39151
|
}), $q = (a, b, c, d, e) => {
|
|
@@ -44960,9 +44965,9 @@ function computeMd5Digest(input) {
|
|
|
44960
44965
|
21
|
|
44961
44966
|
];
|
|
44962
44967
|
const table = Array.from({ length: 64 }, (_, index) => Math.floor(Math.abs(Math.sin(index + 1)) * 4294967296) >>> 0);
|
|
44963
|
-
let a0 =
|
|
44964
|
-
let b0 =
|
|
44965
|
-
let c0 =
|
|
44968
|
+
let a0 = 0x67452301;
|
|
44969
|
+
let b0 = 0xefcdab89;
|
|
44970
|
+
let c0 = 0x98badcfe;
|
|
44966
44971
|
let d0 = 271733878;
|
|
44967
44972
|
for (let chunkOffset = 0; chunkOffset < bytes.length; chunkOffset += 64) {
|
|
44968
44973
|
const words = Array.from({ length: 16 }, (_, index) => {
|
|
@@ -45016,11 +45021,11 @@ function computeSha1Digest(input) {
|
|
|
45016
45021
|
while (bytes.length % 64 !== 56) bytes.push(0);
|
|
45017
45022
|
for (let index = 3; index >= 0; index -= 1) bytes.push(highBits >>> index * 8 & 255);
|
|
45018
45023
|
for (let index = 3; index >= 0; index -= 1) bytes.push(lowBits >>> index * 8 & 255);
|
|
45019
|
-
let h0 =
|
|
45020
|
-
let h1 =
|
|
45021
|
-
let h2 =
|
|
45024
|
+
let h0 = 0x67452301;
|
|
45025
|
+
let h1 = 0xefcdab89;
|
|
45026
|
+
let h2 = 0x98badcfe;
|
|
45022
45027
|
let h3 = 271733878;
|
|
45023
|
-
let h4 =
|
|
45028
|
+
let h4 = 0xc3d2e1f0;
|
|
45024
45029
|
for (let chunkOffset = 0; chunkOffset < bytes.length; chunkOffset += 64) {
|
|
45025
45030
|
const words = Array.from({ length: 80 }, (_, index) => {
|
|
45026
45031
|
if (index < 16) {
|
|
@@ -45040,16 +45045,16 @@ function computeSha1Digest(input) {
|
|
|
45040
45045
|
let k = 0;
|
|
45041
45046
|
if (index < 20) {
|
|
45042
45047
|
f = (b & c | ~b & d) >>> 0;
|
|
45043
|
-
k =
|
|
45048
|
+
k = 0x5a827999;
|
|
45044
45049
|
} else if (index < 40) {
|
|
45045
45050
|
f = (b ^ c ^ d) >>> 0;
|
|
45046
|
-
k =
|
|
45051
|
+
k = 0x6ed9eba1;
|
|
45047
45052
|
} else if (index < 60) {
|
|
45048
45053
|
f = (b & c | b & d | c & d) >>> 0;
|
|
45049
|
-
k =
|
|
45054
|
+
k = 0x8f1bbcdc;
|
|
45050
45055
|
} else {
|
|
45051
45056
|
f = (b ^ c ^ d) >>> 0;
|
|
45052
|
-
k =
|
|
45057
|
+
k = 0xca62c1d6;
|
|
45053
45058
|
}
|
|
45054
45059
|
const next = rotateLeft(a, 5) + f + e + k + words[index] >>> 0;
|
|
45055
45060
|
e = d;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-vite/miniprogram-automator",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.5.8-dev.
|
|
4
|
+
"version": "1.5.8-dev.20261128.1",
|
|
5
5
|
"description": "完全兼容微信 miniprogram-automator 的现代化替代实现",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@types/ws": "^8.18.2",
|
|
52
|
-
"@weapp-vite/qr": "1.2.8-dev.
|
|
52
|
+
"@weapp-vite/qr": "1.2.8-dev.20261128.1",
|
|
53
53
|
"obug": "^3.0.0",
|
|
54
54
|
"ws": "^8.23.0"
|
|
55
55
|
},
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
},
|
|
70
70
|
"repoctlSnapshot": {
|
|
71
71
|
"kind": "nightly",
|
|
72
|
-
"commit": "
|
|
73
|
-
"buildId": "
|
|
74
|
-
"identityKey": "
|
|
72
|
+
"commit": "ec17eeb0c156fc6691bcbaf95e8686ac419a6e94",
|
|
73
|
+
"buildId": "46104956345-1",
|
|
74
|
+
"identityKey": "f53748ff8746c04dadf1ec0a2e5eb10f2a35ae28f655c747062d631b66171144",
|
|
75
75
|
"tag": "snapshot-nightly"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|