@unicom-cloud/utils 0.1.53 → 0.1.55
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/.virtual/_rolldown/runtime.js +1 -1
- package/array/index.js +1 -1
- package/assert/index.js +1 -1
- package/case-name/index.js +1 -1
- package/class-name/index.js +1 -1
- package/clipboard-copy/index.js +1 -1
- package/{constant → constants}/address.js +2 -2
- package/{constant → constants}/chineseCharacters.js +2 -2
- package/{constant → constants}/constellations.js +2 -2
- package/{constant → constants}/domain.js +2 -2
- package/{constant → constants}/identity.js +2 -2
- package/{constant → constants}/index.js +2 -2
- package/{constant → constants}/keyboardCode.js +2 -2
- package/{constant → constants}/licensePlate.js +2 -2
- package/{constant → constants}/name.js +2 -2
- package/{constant → constants}/platform.js +2 -2
- package/{constant → constants}/protocol.js +2 -2
- package/{constant → constants}/string.js +2 -2
- package/{constant → constants}/ui.js +2 -2
- package/content-disposition/index.js +1 -1
- package/cookie/api.js +1 -1
- package/cookie/assign.js +1 -1
- package/cookie/converter.js +1 -1
- package/cookie/index.js +1 -1
- package/css/cssSupported.js +1 -1
- package/css/index.js +1 -1
- package/date/convertTime.js +1 -1
- package/date/convertToDuration.js +1 -1
- package/date/index.js +1 -1
- package/decimal/decimal.js +2 -2
- package/decimal/index.js +1 -1
- package/document/index.d.ts +1 -0
- package/document/index.js +11 -0
- package/dom-helpers/activeElement.js +1 -1
- package/dom-helpers/addClass.js +1 -1
- package/dom-helpers/addEventListener.js +1 -1
- package/dom-helpers/animate.js +1 -1
- package/dom-helpers/animationFrame.js +1 -1
- package/dom-helpers/attribute.js +1 -1
- package/dom-helpers/camelize.js +1 -1
- package/dom-helpers/camelizeStyle.js +1 -1
- package/dom-helpers/canUseDOM.js +1 -1
- package/dom-helpers/childElements.js +1 -1
- package/dom-helpers/childNodes.js +1 -1
- package/dom-helpers/clear.js +1 -1
- package/dom-helpers/closest.js +1 -1
- package/dom-helpers/collectElements.js +1 -1
- package/dom-helpers/collectSiblings.js +1 -1
- package/dom-helpers/contains.js +1 -1
- package/dom-helpers/css.js +1 -1
- package/dom-helpers/filterEventHandler.js +1 -1
- package/dom-helpers/getComputedStyle.js +1 -1
- package/dom-helpers/getElementCoordinates.js +1 -1
- package/dom-helpers/getScrollAccessor.js +1 -1
- package/dom-helpers/hasClass.js +1 -1
- package/dom-helpers/height.js +1 -1
- package/dom-helpers/hyphenate.js +1 -1
- package/dom-helpers/hyphenateStyle.js +1 -1
- package/dom-helpers/index.js +1 -1
- package/dom-helpers/insertAfter.js +1 -1
- package/dom-helpers/isDocument.js +1 -1
- package/dom-helpers/isInput.js +1 -1
- package/dom-helpers/isTransform.js +1 -1
- package/dom-helpers/isVisible.js +1 -1
- package/dom-helpers/isWindow.js +1 -1
- package/dom-helpers/listen.js +1 -1
- package/dom-helpers/matches.js +1 -1
- package/dom-helpers/nextUntil.js +1 -1
- package/dom-helpers/offset.js +1 -1
- package/dom-helpers/offsetParent.js +1 -1
- package/dom-helpers/ownerDocument.js +1 -1
- package/dom-helpers/ownerWindow.js +1 -1
- package/dom-helpers/parents.js +1 -1
- package/dom-helpers/position.js +1 -1
- package/dom-helpers/prepend.js +1 -1
- package/dom-helpers/querySelectorAll.js +1 -1
- package/dom-helpers/reflow.js +1 -1
- package/dom-helpers/remove.js +1 -1
- package/dom-helpers/removeClass.js +1 -1
- package/dom-helpers/removeEventListener.js +1 -1
- package/dom-helpers/scrollLeft.js +1 -1
- package/dom-helpers/scrollParent.js +1 -1
- package/dom-helpers/scrollTo.js +1 -1
- package/dom-helpers/scrollTop.js +1 -1
- package/dom-helpers/scrollbarSize.js +1 -1
- package/dom-helpers/siblings.js +1 -1
- package/dom-helpers/text.js +1 -1
- package/dom-helpers/toggleClass.js +1 -1
- package/dom-helpers/transitionEnd.js +1 -1
- package/dom-helpers/triggerEvent.js +1 -1
- package/dom-helpers/types.js +1 -1
- package/dom-helpers/width.js +1 -1
- package/emitter/index.d.ts +2 -2
- package/emitter/index.js +16 -11
- package/emoji/emoji.js +1 -1
- package/emoji/emojis.js +1 -1
- package/emoji/index.js +1 -1
- package/escape/index.js +1 -1
- package/fflate/index.js +1 -1
- package/fflate/src/index.js +132 -14
- package/fflate/src/worker.js +2 -1
- package/file/fileRead.js +1 -1
- package/file/fileToDataURL.js +1 -1
- package/file/img.js +1 -1
- package/file/index.js +1 -1
- package/file/saveAs.js +1 -1
- package/filesize/index.js +1 -1
- package/filesize/src/constants.js +1 -1
- package/filesize/src/filesize.js +1 -1
- package/filesize/src/helpers.js +1 -1
- package/function/index.js +1 -1
- package/idb/async-iterators.js +1 -1
- package/idb/database-extras.js +1 -1
- package/idb/entry.js +1 -1
- package/idb/index-.js +1 -1
- package/idb/index.js +1 -1
- package/idb/util.js +1 -1
- package/idb/wrap-idb-value.js +1 -1
- package/index.js +1 -1
- package/invariant/index.js +1 -1
- package/is/index.d.ts +27 -27
- package/is/index.js +28 -28
- package/is/{lib → libs}/isAscii.js +2 -2
- package/is/{lib → libs}/isBase64.js +2 -2
- package/is/{lib → libs}/isChinese.js +2 -2
- package/is/{lib → libs}/isDataURI.js +2 -2
- package/is/{lib → libs}/isEmail.js +2 -2
- package/is/{lib → libs}/isFQDN.js +2 -2
- package/is/{lib → libs}/isFullWidth.js +2 -2
- package/is/{lib → libs}/isHSL.js +2 -2
- package/is/{lib → libs}/isHalfWidth.js +2 -2
- package/is/{lib → libs}/isHash.js +2 -2
- package/is/{lib → libs}/isHexColor.js +2 -2
- package/is/{lib → libs}/isIMEI.js +2 -2
- package/is/{lib → libs}/isIP.js +2 -2
- package/is/{lib → libs}/isIPRange.js +2 -2
- package/is/{lib → libs}/isIdentityCard.js +2 -2
- package/is/{lib → libs}/isJWT.js +2 -2
- package/is/{lib → libs}/isMACAddress.js +2 -2
- package/is/{lib → libs}/isMD5.js +2 -2
- package/is/{lib → libs}/isMimeType.js +2 -2
- package/is/{lib → libs}/isMobilePhone.js +2 -2
- package/is/libs/isPort.js +8 -0
- package/is/{lib → libs}/isRgbColor.js +2 -2
- package/is/{lib → libs}/isSemVer.js +2 -2
- package/is/{lib → libs}/isSlug.js +2 -2
- package/is/{lib → libs}/isStrongPassword.js +2 -2
- package/is/{lib → libs}/isURL.js +2 -2
- package/is/{lib → libs}/isUUID.js +2 -2
- package/is/{lib → libs}/isVariableWidth.js +2 -2
- package/lodash/_DataView.js +1 -1
- package/lodash/_Hash.js +1 -1
- package/lodash/_LazyWrapper.js +1 -1
- package/lodash/_ListCache.js +1 -1
- package/lodash/_LodashWrapper.js +1 -1
- package/lodash/_Map.js +1 -1
- package/lodash/_MapCache.js +1 -1
- package/lodash/_Promise.js +1 -1
- package/lodash/_Set.js +1 -1
- package/lodash/_SetCache.js +1 -1
- package/lodash/_Stack.js +1 -1
- package/lodash/_Symbol.js +1 -1
- package/lodash/_Uint8Array.js +1 -1
- package/lodash/_WeakMap.js +1 -1
- package/lodash/_addMapEntry.js +1 -1
- package/lodash/_addSetEntry.js +1 -1
- package/lodash/_apply.js +1 -1
- package/lodash/_arrayAggregator.js +1 -1
- package/lodash/_arrayEach.js +1 -1
- package/lodash/_arrayEachRight.js +1 -1
- package/lodash/_arrayEvery.js +1 -1
- package/lodash/_arrayFilter.js +1 -1
- package/lodash/_arrayIncludes.js +1 -1
- package/lodash/_arrayIncludesWith.js +1 -1
- package/lodash/_arrayLikeKeys.js +8 -8
- package/lodash/_arrayMap.js +1 -1
- package/lodash/_arrayPush.js +1 -1
- package/lodash/_arrayReduce.js +1 -1
- package/lodash/_arrayReduceRight.js +1 -1
- package/lodash/_arraySample.js +1 -1
- package/lodash/_arraySampleSize.js +4 -4
- package/lodash/_arrayShuffle.js +1 -1
- package/lodash/_arraySome.js +1 -1
- package/lodash/_asciiSize.js +1 -1
- package/lodash/_asciiToArray.js +1 -1
- package/lodash/_asciiWords.js +1 -1
- package/lodash/_assignMergeValue.js +4 -4
- package/lodash/_assignValue.js +4 -4
- package/lodash/_assocIndexOf.js +1 -1
- package/lodash/_baseAggregator.js +1 -1
- package/lodash/_baseAssign.js +4 -4
- package/lodash/_baseAssignIn.js +1 -1
- package/lodash/_baseAssignValue.js +1 -1
- package/lodash/_baseAt.js +1 -1
- package/lodash/_baseClamp.js +1 -1
- package/lodash/_baseClone.js +20 -20
- package/lodash/_baseConforms.js +1 -1
- package/lodash/_baseConformsTo.js +1 -1
- package/lodash/_baseCreate.js +1 -1
- package/lodash/_baseDelay.js +5 -8
- package/lodash/_baseDifference.js +7 -7
- package/lodash/_baseEach.js +1 -1
- package/lodash/_baseEachRight.js +1 -1
- package/lodash/_baseEvery.js +1 -1
- package/lodash/_baseExtremum.js +1 -1
- package/lodash/_baseFill.js +1 -1
- package/lodash/_baseFilter.js +1 -1
- package/lodash/_baseFindIndex.js +1 -1
- package/lodash/_baseFindKey.js +1 -1
- package/lodash/_baseFlatten.js +1 -1
- package/lodash/_baseFor.js +1 -1
- package/lodash/_baseForOwn.js +4 -4
- package/lodash/_baseForOwnRight.js +1 -1
- package/lodash/_baseForRight.js +1 -1
- package/lodash/_baseFunctions.js +1 -1
- package/lodash/_baseGet.js +1 -1
- package/lodash/_baseGetAllKeys.js +1 -1
- package/lodash/_baseGetTag.js +1 -1
- package/lodash/_baseGt.js +1 -1
- package/lodash/_baseHas.js +1 -1
- package/lodash/_baseHasIn.js +1 -1
- package/lodash/_baseInRange.js +1 -1
- package/lodash/_baseIndexOf.js +1 -1
- package/lodash/_baseIndexOfWith.js +1 -1
- package/lodash/_baseIntersection.js +10 -10
- package/lodash/_baseInverter.js +1 -1
- package/lodash/_baseInvoke.js +1 -1
- package/lodash/_baseIsArguments.js +1 -1
- package/lodash/_baseIsArrayBuffer.js +1 -1
- package/lodash/_baseIsDate.js +1 -1
- package/lodash/_baseIsEqual.js +1 -1
- package/lodash/_baseIsEqualDeep.js +11 -11
- package/lodash/_baseIsMap.js +1 -1
- package/lodash/_baseIsMatch.js +1 -1
- package/lodash/_baseIsNaN.js +1 -1
- package/lodash/_baseIsNative.js +1 -1
- package/lodash/_baseIsRegExp.js +1 -1
- package/lodash/_baseIsSet.js +1 -1
- package/lodash/_baseIsTypedArray.js +1 -1
- package/lodash/_baseIteratee.js +5 -5
- package/lodash/_baseKeys.js +1 -1
- package/lodash/_baseKeysIn.js +1 -1
- package/lodash/_baseLodash.js +1 -1
- package/lodash/_baseLt.js +1 -1
- package/lodash/_baseMap.js +1 -1
- package/lodash/_baseMatches.js +1 -1
- package/lodash/_baseMatchesProperty.js +1 -1
- package/lodash/_baseMean.js +1 -1
- package/lodash/_baseMerge.js +9 -9
- package/lodash/_baseMergeDeep.js +15 -15
- package/lodash/_baseNth.js +1 -1
- package/lodash/_baseOrderBy.js +15 -15
- package/lodash/_basePick.js +1 -1
- package/lodash/_basePickBy.js +1 -1
- package/lodash/_baseProperty.js +1 -1
- package/lodash/_basePropertyDeep.js +1 -1
- package/lodash/_basePropertyOf.js +1 -1
- package/lodash/_basePullAll.js +7 -7
- package/lodash/_basePullAt.js +1 -1
- package/lodash/_baseRandom.js +1 -1
- package/lodash/_baseRange.js +1 -1
- package/lodash/_baseReduce.js +1 -1
- package/lodash/_baseRepeat.js +9 -9
- package/lodash/_baseRest.js +4 -4
- package/lodash/_baseSample.js +4 -4
- package/lodash/_baseSampleSize.js +5 -5
- package/lodash/_baseSet.js +1 -1
- package/lodash/_baseSetData.js +1 -1
- package/lodash/_baseSetToString.js +8 -8
- package/lodash/_baseShuffle.js +4 -4
- package/lodash/_baseSlice.js +1 -1
- package/lodash/_baseSome.js +1 -1
- package/lodash/_baseSortBy.js +1 -1
- package/lodash/_baseSortedIndex.js +1 -1
- package/lodash/_baseSortedIndexBy.js +1 -1
- package/lodash/_baseSortedUniq.js +1 -1
- package/lodash/_baseSum.js +1 -1
- package/lodash/_baseTimes.js +1 -1
- package/lodash/_baseToNumber.js +1 -1
- package/lodash/_baseToPairs.js +1 -1
- package/lodash/_baseToString.js +5 -5
- package/lodash/_baseTrim.js +1 -1
- package/lodash/_baseUnary.js +1 -1
- package/lodash/_baseUniq.js +10 -10
- package/lodash/_baseUnset.js +1 -1
- package/lodash/_baseUpdate.js +1 -1
- package/lodash/_baseValues.js +1 -1
- package/lodash/_baseWhile.js +1 -1
- package/lodash/_baseWrapperValue.js +1 -1
- package/lodash/_baseXor.js +5 -5
- package/lodash/_baseZipObject.js +1 -1
- package/lodash/_cacheHas.js +1 -1
- package/lodash/_castArrayLikeObject.js +1 -1
- package/lodash/_castFunction.js +1 -1
- package/lodash/_castPath.js +1 -1
- package/lodash/_castRest.js +1 -1
- package/lodash/_castSlice.js +1 -1
- package/lodash/_charsEndIndex.js +1 -1
- package/lodash/_charsStartIndex.js +1 -1
- package/lodash/_cloneArrayBuffer.js +1 -1
- package/lodash/_cloneBuffer.js +1 -1
- package/lodash/_cloneDataView.js +1 -1
- package/lodash/_cloneMap.js +5 -5
- package/lodash/_cloneRegExp.js +1 -1
- package/lodash/_cloneSet.js +5 -5
- package/lodash/_cloneSymbol.js +1 -1
- package/lodash/_cloneTypedArray.js +1 -1
- package/lodash/_compareAscending.js +1 -1
- package/lodash/_compareMultiple.js +1 -1
- package/lodash/_composeArgs.js +1 -1
- package/lodash/_composeArgsRight.js +1 -1
- package/lodash/_copyArray.js +1 -1
- package/lodash/_copyObject.js +1 -1
- package/lodash/_copySymbols.js +1 -1
- package/lodash/_copySymbolsIn.js +1 -1
- package/lodash/_coreJsData.js +1 -1
- package/lodash/_countHolders.js +1 -1
- package/lodash/_createAggregator.js +7 -7
- package/lodash/_createAssigner.js +1 -1
- package/lodash/_createBaseEach.js +1 -1
- package/lodash/_createBaseFor.js +1 -1
- package/lodash/_createBind.js +1 -1
- package/lodash/_createCaseFirst.js +1 -1
- package/lodash/_createCompounder.js +1 -1
- package/lodash/_createCtor.js +1 -1
- package/lodash/_createCurry.js +7 -7
- package/lodash/_createFind.js +1 -1
- package/lodash/_createFlow.js +12 -12
- package/lodash/_createHybrid.js +9 -9
- package/lodash/_createInverter.js +1 -1
- package/lodash/_createMathOperation.js +4 -4
- package/lodash/_createOver.js +11 -11
- package/lodash/_createPadding.js +9 -9
- package/lodash/_createPartial.js +7 -7
- package/lodash/_createRange.js +4 -4
- package/lodash/_createRecurry.js +1 -1
- package/lodash/_createRelationalOperation.js +1 -1
- package/lodash/_createRound.js +7 -7
- package/lodash/_createSet.js +7 -7
- package/lodash/_createToPairs.js +1 -1
- package/lodash/_createWrap.js +1 -1
- package/lodash/_customDefaultsAssignIn.js +1 -1
- package/lodash/_customDefaultsMerge.js +1 -1
- package/lodash/_customOmitClone.js +1 -1
- package/lodash/_deburrLetter.js +1 -1
- package/lodash/_defineProperty.js +1 -1
- package/lodash/_equalArrays.js +1 -1
- package/lodash/_equalByTag.js +1 -1
- package/lodash/_equalObjects.js +1 -1
- package/lodash/_escapeHtmlChar.js +1 -1
- package/lodash/_escapeStringChar.js +1 -1
- package/lodash/_flatRest.js +4 -4
- package/lodash/_freeGlobal.js +1 -1
- package/lodash/_getAllKeys.js +1 -1
- package/lodash/_getAllKeysIn.js +1 -1
- package/lodash/_getData.js +1 -1
- package/lodash/_getFuncName.js +1 -1
- package/lodash/_getHolder.js +1 -1
- package/lodash/_getMapData.js +1 -1
- package/lodash/_getMatchData.js +1 -1
- package/lodash/_getNative.js +1 -1
- package/lodash/_getPrototype.js +1 -1
- package/lodash/_getRawTag.js +1 -1
- package/lodash/_getSymbols.js +1 -1
- package/lodash/_getSymbolsIn.js +7 -7
- package/lodash/_getTag.js +7 -7
- package/lodash/_getValue.js +1 -1
- package/lodash/_getView.js +1 -1
- package/lodash/_getWrapDetails.js +1 -1
- package/lodash/_hasPath.js +6 -6
- package/lodash/_hasUnicode.js +1 -1
- package/lodash/_hasUnicodeWord.js +1 -1
- package/lodash/_hashClear.js +1 -1
- package/lodash/_hashDelete.js +1 -1
- package/lodash/_hashGet.js +1 -1
- package/lodash/_hashHas.js +1 -1
- package/lodash/_hashSet.js +1 -1
- package/lodash/_initCloneArray.js +1 -1
- package/lodash/_initCloneByTag.js +1 -1
- package/lodash/_initCloneObject.js +1 -1
- package/lodash/_insertWrapDetails.js +1 -1
- package/lodash/_isFlattenable.js +4 -4
- package/lodash/_isIndex.js +6 -6
- package/lodash/_isIterateeCall.js +4 -4
- package/lodash/_isKey.js +5 -5
- package/lodash/_isKeyable.js +1 -1
- package/lodash/_isLaziable.js +1 -1
- package/lodash/_isMaskable.js +1 -1
- package/lodash/_isMasked.js +1 -1
- package/lodash/_isPrototype.js +1 -1
- package/lodash/_isStrictComparable.js +1 -1
- package/lodash/_iteratorToArray.js +1 -1
- package/lodash/_lazyClone.js +1 -1
- package/lodash/_lazyReverse.js +1 -1
- package/lodash/_lazyValue.js +1 -1
- package/lodash/_listCacheClear.js +1 -1
- package/lodash/_listCacheDelete.js +1 -1
- package/lodash/_listCacheGet.js +1 -1
- package/lodash/_listCacheHas.js +1 -1
- package/lodash/_listCacheSet.js +1 -1
- package/lodash/_mapCacheClear.js +1 -1
- package/lodash/_mapCacheDelete.js +1 -1
- package/lodash/_mapCacheGet.js +1 -1
- package/lodash/_mapCacheHas.js +1 -1
- package/lodash/_mapCacheSet.js +1 -1
- package/lodash/_mapToArray.js +1 -1
- package/lodash/_matchesStrictComparable.js +1 -1
- package/lodash/_memoizeCapped.js +1 -1
- package/lodash/_mergeData.js +1 -1
- package/lodash/_metaMap.js +1 -1
- package/lodash/_nativeCreate.js +1 -1
- package/lodash/_nativeKeys.js +1 -1
- package/lodash/_nativeKeysIn.js +1 -1
- package/lodash/_nodeUtil.js +1 -1
- package/lodash/_objectToString.js +1 -1
- package/lodash/_overArg.js +1 -1
- package/lodash/_overRest.js +1 -1
- package/lodash/_parent.js +1 -1
- package/lodash/_reEscape.js +1 -1
- package/lodash/_reEvaluate.js +1 -1
- package/lodash/_reInterpolate.js +1 -1
- package/lodash/_realNames.js +1 -1
- package/lodash/_reorder.js +5 -5
- package/lodash/_replaceHolders.js +1 -1
- package/lodash/_root.js +1 -1
- package/lodash/_safeGet.js +1 -1
- package/lodash/_setCacheAdd.js +3 -6
- package/lodash/_setCacheHas.js +1 -1
- package/lodash/_setData.js +4 -4
- package/lodash/_setToArray.js +1 -1
- package/lodash/_setToPairs.js +1 -1
- package/lodash/_setToString.js +4 -4
- package/lodash/_setWrapToString.js +5 -5
- package/lodash/_shortOut.js +10 -10
- package/lodash/_shuffleSelf.js +1 -1
- package/lodash/_stackClear.js +1 -1
- package/lodash/_stackDelete.js +1 -1
- package/lodash/_stackGet.js +1 -1
- package/lodash/_stackHas.js +1 -1
- package/lodash/_stackSet.js +1 -1
- package/lodash/_strictIndexOf.js +1 -1
- package/lodash/_strictLastIndexOf.js +1 -1
- package/lodash/_stringSize.js +4 -4
- package/lodash/_stringToArray.js +4 -4
- package/lodash/_stringToPath.js +1 -1
- package/lodash/_toKey.js +1 -1
- package/lodash/_toSource.js +1 -1
- package/lodash/_trimmedEndIndex.js +1 -1
- package/lodash/_unescapeHtmlChar.js +1 -1
- package/lodash/_unicodeSize.js +1 -1
- package/lodash/_unicodeToArray.js +1 -1
- package/lodash/_unicodeWords.js +1 -1
- package/lodash/_updateWrapDetails.js +1 -1
- package/lodash/_wrapperClone.js +1 -1
- package/lodash/add.js +1 -1
- package/lodash/after.js +1 -1
- package/lodash/array.default.js +13 -13
- package/lodash/array.js +8 -8
- package/lodash/ary.js +1 -1
- package/lodash/assign.js +9 -9
- package/lodash/assignIn.js +5 -5
- package/lodash/assignInWith.js +5 -5
- package/lodash/assignWith.js +6 -6
- package/lodash/at.js +1 -1
- package/lodash/attempt.js +1 -1
- package/lodash/before.js +1 -1
- package/lodash/bind.js +8 -8
- package/lodash/bindAll.js +1 -1
- package/lodash/bindKey.js +8 -8
- package/lodash/camelCase.js +5 -5
- package/lodash/capitalize.js +1 -1
- package/lodash/castArray.js +1 -1
- package/lodash/ceil.js +1 -1
- package/lodash/chain.js +1 -1
- package/lodash/chunk.js +5 -5
- package/lodash/clamp.js +4 -4
- package/lodash/clone.js +1 -1
- package/lodash/cloneDeep.js +1 -1
- package/lodash/cloneDeepWith.js +1 -1
- package/lodash/cloneWith.js +1 -1
- package/lodash/collection.default.js +1 -1
- package/lodash/collection.js +1 -1
- package/lodash/commit.js +1 -1
- package/lodash/compact.js +1 -1
- package/lodash/concat.js +4 -4
- package/lodash/cond.js +9 -9
- package/lodash/conforms.js +1 -1
- package/lodash/conformsTo.js +1 -1
- package/lodash/constant.js +1 -1
- package/lodash/countBy.js +1 -1
- package/lodash/create.js +1 -1
- package/lodash/curry.js +1 -1
- package/lodash/curryRight.js +1 -1
- package/lodash/date.default.js +1 -1
- package/lodash/date.js +1 -1
- package/lodash/debounce.js +1 -1
- package/lodash/deburr.js +1 -1
- package/lodash/defaultTo.js +1 -1
- package/lodash/defaults.js +10 -10
- package/lodash/defaultsDeep.js +1 -1
- package/lodash/defer.js +5 -5
- package/lodash/delay.js +6 -6
- package/lodash/difference.js +5 -5
- package/lodash/differenceBy.js +9 -9
- package/lodash/differenceWith.js +8 -8
- package/lodash/divide.js +1 -1
- package/lodash/drop.js +1 -1
- package/lodash/dropRight.js +1 -1
- package/lodash/dropRightWhile.js +1 -1
- package/lodash/dropWhile.js +1 -1
- package/lodash/each.js +1 -1
- package/lodash/eachRight.js +1 -1
- package/lodash/endsWith.js +6 -6
- package/lodash/entries.js +1 -1
- package/lodash/entriesIn.js +1 -1
- package/lodash/eq.js +1 -1
- package/lodash/escape.js +1 -1
- package/lodash/escapeRegExp.js +1 -1
- package/lodash/every.js +8 -8
- package/lodash/extend.js +1 -1
- package/lodash/extendWith.js +1 -1
- package/lodash/fill.js +4 -4
- package/lodash/filter.js +6 -6
- package/lodash/find.js +1 -1
- package/lodash/findIndex.js +5 -5
- package/lodash/findKey.js +5 -5
- package/lodash/findLast.js +1 -1
- package/lodash/findLastIndex.js +4 -4
- package/lodash/findLastKey.js +5 -5
- package/lodash/first.js +1 -1
- package/lodash/flatMap.js +1 -1
- package/lodash/flatMapDeep.js +1 -1
- package/lodash/flatMapDepth.js +1 -1
- package/lodash/flatten.js +1 -1
- package/lodash/flattenDeep.js +1 -1
- package/lodash/flattenDepth.js +1 -1
- package/lodash/flip.js +1 -1
- package/lodash/floor.js +1 -1
- package/lodash/flow.js +1 -1
- package/lodash/flowRight.js +1 -1
- package/lodash/forEach.js +4 -4
- package/lodash/forEachRight.js +6 -6
- package/lodash/forIn.js +4 -4
- package/lodash/forInRight.js +4 -4
- package/lodash/forOwn.js +1 -1
- package/lodash/forOwnRight.js +4 -4
- package/lodash/fromPairs.js +1 -1
- package/lodash/function.default.js +21 -21
- package/lodash/function.js +12 -12
- package/lodash/functions.js +1 -1
- package/lodash/functionsIn.js +1 -1
- package/lodash/get.js +1 -1
- package/lodash/groupBy.js +1 -1
- package/lodash/gt.js +1 -1
- package/lodash/gte.js +1 -1
- package/lodash/has.js +4 -4
- package/lodash/hasIn.js +1 -1
- package/lodash/head.js +1 -1
- package/lodash/identity.js +1 -1
- package/lodash/inRange.js +1 -1
- package/lodash/includes.js +8 -8
- package/lodash/index.js +226 -226
- package/lodash/indexOf.js +5 -5
- package/lodash/initial.js +1 -1
- package/lodash/intersection.js +6 -6
- package/lodash/intersectionBy.js +8 -8
- package/lodash/intersectionWith.js +6 -6
- package/lodash/invert.js +1 -1
- package/lodash/invertBy.js +1 -1
- package/lodash/invoke.js +4 -4
- package/lodash/invokeMap.js +9 -9
- package/lodash/isArguments.js +1 -1
- package/lodash/isArray.js +1 -1
- package/lodash/isArrayBuffer.js +1 -1
- package/lodash/isArrayLike.js +1 -1
- package/lodash/isArrayLikeObject.js +1 -1
- package/lodash/isBoolean.js +1 -1
- package/lodash/isBuffer.js +1 -1
- package/lodash/isDate.js +1 -1
- package/lodash/isElement.js +1 -1
- package/lodash/isEmpty.js +10 -10
- package/lodash/isEqual.js +1 -1
- package/lodash/isEqualWith.js +1 -1
- package/lodash/isError.js +1 -1
- package/lodash/isFinite.js +1 -1
- package/lodash/isFunction.js +1 -1
- package/lodash/isInteger.js +1 -1
- package/lodash/isLength.js +3 -6
- package/lodash/isMap.js +1 -1
- package/lodash/isMatch.js +1 -1
- package/lodash/isMatchWith.js +1 -1
- package/lodash/isNaN.js +1 -1
- package/lodash/isNative.js +1 -1
- package/lodash/isNil.js +1 -1
- package/lodash/isNull.js +1 -1
- package/lodash/isNumber.js +1 -1
- package/lodash/isObject.js +1 -1
- package/lodash/isObjectLike.js +1 -1
- package/lodash/isPlainObject.js +1 -1
- package/lodash/isPromise.js +1 -1
- package/lodash/isRegExp.js +1 -1
- package/lodash/isSafeInteger.js +1 -1
- package/lodash/isSet.js +1 -1
- package/lodash/isString.js +1 -1
- package/lodash/isSymbol.js +1 -1
- package/lodash/isTypedArray.js +1 -1
- package/lodash/isUndefined.js +1 -1
- package/lodash/isWeakMap.js +1 -1
- package/lodash/isWeakSet.js +1 -1
- package/lodash/iteratee.js +1 -1
- package/lodash/join.js +1 -1
- package/lodash/kebabCase.js +1 -1
- package/lodash/keyBy.js +1 -1
- package/lodash/keys.js +5 -5
- package/lodash/keysIn.js +4 -4
- package/lodash/lang.default.js +63 -63
- package/lodash/lang.js +33 -33
- package/lodash/last.js +1 -1
- package/lodash/lastIndexOf.js +5 -5
- package/lodash/lodash.default.js +89 -89
- package/lodash/lodash.js +226 -226
- package/lodash/lowerCase.js +1 -1
- package/lodash/lowerFirst.js +1 -1
- package/lodash/lt.js +4 -4
- package/lodash/lte.js +1 -1
- package/lodash/map.js +4 -4
- package/lodash/mapKeys.js +4 -4
- package/lodash/mapValues.js +4 -4
- package/lodash/matches.js +1 -1
- package/lodash/matchesProperty.js +1 -1
- package/lodash/math.default.js +1 -1
- package/lodash/math.js +1 -1
- package/lodash/max.js +4 -4
- package/lodash/maxBy.js +4 -4
- package/lodash/mean.js +1 -1
- package/lodash/meanBy.js +1 -1
- package/lodash/memoize.js +1 -1
- package/lodash/merge.js +5 -5
- package/lodash/mergeWith.js +5 -5
- package/lodash/method.js +5 -5
- package/lodash/methodOf.js +5 -5
- package/lodash/min.js +5 -5
- package/lodash/minBy.js +5 -5
- package/lodash/mixin.js +11 -11
- package/lodash/multiply.js +1 -1
- package/lodash/negate.js +10 -13
- package/lodash/next.js +1 -1
- package/lodash/noop.js +1 -1
- package/lodash/now.js +1 -1
- package/lodash/nth.js +1 -1
- package/lodash/nthArg.js +5 -5
- package/lodash/number.default.js +1 -1
- package/lodash/number.js +1 -1
- package/lodash/object.default.js +53 -53
- package/lodash/object.js +26 -26
- package/lodash/omit.js +10 -10
- package/lodash/omitBy.js +1 -1
- package/lodash/once.js +1 -1
- package/lodash/orderBy.js +1 -1
- package/lodash/over.js +1 -1
- package/lodash/overArgs.js +11 -11
- package/lodash/overEvery.js +1 -1
- package/lodash/overSome.js +1 -1
- package/lodash/pad.js +4 -4
- package/lodash/padEnd.js +4 -4
- package/lodash/padStart.js +4 -4
- package/lodash/parseInt.js +1 -1
- package/lodash/partial.js +7 -7
- package/lodash/partialRight.js +7 -7
- package/lodash/partition.js +1 -1
- package/lodash/pick.js +5 -5
- package/lodash/pickBy.js +1 -1
- package/lodash/plant.js +1 -1
- package/lodash/property.js +5 -5
- package/lodash/propertyOf.js +1 -1
- package/lodash/pull.js +1 -1
- package/lodash/pullAll.js +1 -1
- package/lodash/pullAllBy.js +1 -1
- package/lodash/pullAllWith.js +1 -1
- package/lodash/pullAt.js +10 -10
- package/lodash/random.js +6 -6
- package/lodash/range.js +1 -1
- package/lodash/rangeRight.js +1 -1
- package/lodash/rearg.js +5 -5
- package/lodash/reduce.js +4 -4
- package/lodash/reduceRight.js +6 -6
- package/lodash/reject.js +6 -6
- package/lodash/remove.js +1 -1
- package/lodash/repeat.js +6 -6
- package/lodash/replace.js +1 -1
- package/lodash/rest.js +1 -1
- package/lodash/result.js +1 -1
- package/lodash/reverse.js +1 -1
- package/lodash/round.js +1 -1
- package/lodash/sample.js +1 -1
- package/lodash/sampleSize.js +6 -6
- package/lodash/seq.default.js +1 -1
- package/lodash/seq.js +1 -1
- package/lodash/set.js +1 -1
- package/lodash/setWith.js +1 -1
- package/lodash/shuffle.js +1 -1
- package/lodash/size.js +7 -7
- package/lodash/slice.js +4 -4
- package/lodash/snakeCase.js +1 -1
- package/lodash/some.js +7 -7
- package/lodash/sortBy.js +8 -8
- package/lodash/sortedIndex.js +1 -1
- package/lodash/sortedIndexBy.js +1 -1
- package/lodash/sortedIndexOf.js +1 -1
- package/lodash/sortedLastIndex.js +1 -1
- package/lodash/sortedLastIndexBy.js +1 -1
- package/lodash/sortedLastIndexOf.js +1 -1
- package/lodash/sortedUniq.js +1 -1
- package/lodash/sortedUniqBy.js +1 -1
- package/lodash/split.js +5 -5
- package/lodash/spread.js +8 -8
- package/lodash/startCase.js +5 -5
- package/lodash/startsWith.js +5 -5
- package/lodash/string.default.js +9 -9
- package/lodash/string.js +6 -6
- package/lodash/stubArray.js +1 -1
- package/lodash/stubFalse.js +1 -1
- package/lodash/stubObject.js +1 -1
- package/lodash/stubString.js +1 -1
- package/lodash/stubTrue.js +1 -1
- package/lodash/subtract.js +1 -1
- package/lodash/sum.js +1 -1
- package/lodash/sumBy.js +1 -1
- package/lodash/tail.js +1 -1
- package/lodash/take.js +1 -1
- package/lodash/takeRight.js +1 -1
- package/lodash/takeRightWhile.js +1 -1
- package/lodash/takeWhile.js +1 -1
- package/lodash/tap.js +1 -1
- package/lodash/template.js +17 -17
- package/lodash/templateSettings.js +9 -9
- package/lodash/throttle.js +1 -1
- package/lodash/thru.js +1 -1
- package/lodash/times.js +5 -5
- package/lodash/toArray.js +12 -12
- package/lodash/toFinite.js +1 -1
- package/lodash/toInteger.js +1 -1
- package/lodash/toIterator.js +1 -1
- package/lodash/toJSON.js +1 -1
- package/lodash/toLength.js +4 -4
- package/lodash/toLower.js +1 -1
- package/lodash/toNumber.js +8 -8
- package/lodash/toPairs.js +1 -1
- package/lodash/toPairsIn.js +1 -1
- package/lodash/toPath.js +5 -5
- package/lodash/toPlainObject.js +1 -1
- package/lodash/toSafeInteger.js +4 -4
- package/lodash/toString.js +1 -1
- package/lodash/toUpper.js +1 -1
- package/lodash/transform.js +13 -13
- package/lodash/trim.js +9 -9
- package/lodash/trimEnd.js +8 -8
- package/lodash/trimStart.js +5 -5
- package/lodash/truncate.js +14 -14
- package/lodash/unary.js +1 -1
- package/lodash/unescape.js +1 -1
- package/lodash/union.js +6 -6
- package/lodash/unionBy.js +7 -7
- package/lodash/unionWith.js +7 -7
- package/lodash/uniq.js +1 -1
- package/lodash/uniqBy.js +1 -1
- package/lodash/uniqWith.js +1 -1
- package/lodash/uniqueId.js +1 -1
- package/lodash/unset.js +1 -1
- package/lodash/unzip.js +6 -6
- package/lodash/unzipWith.js +5 -5
- package/lodash/update.js +4 -4
- package/lodash/updateWith.js +4 -4
- package/lodash/upperCase.js +1 -1
- package/lodash/upperFirst.js +1 -1
- package/lodash/util.default.js +17 -17
- package/lodash/util.js +10 -10
- package/lodash/value.js +1 -1
- package/lodash/valueOf.js +1 -1
- package/lodash/values.js +1 -1
- package/lodash/valuesIn.js +1 -1
- package/lodash/without.js +5 -5
- package/lodash/words.js +4 -4
- package/lodash/wrap.js +1 -1
- package/lodash/wrapperAt.js +1 -1
- package/lodash/wrapperChain.js +1 -1
- package/lodash/wrapperLodash.js +12 -12
- package/lodash/wrapperReverse.js +1 -1
- package/lodash/wrapperValue.js +1 -1
- package/lodash/xor.js +6 -6
- package/lodash/xorBy.js +7 -7
- package/lodash/xorWith.js +7 -7
- package/lodash/zip.js +1 -1
- package/lodash/zipObject.js +1 -1
- package/lodash/zipObjectDeep.js +4 -4
- package/lodash/zipWith.js +1 -1
- package/math/index.js +1 -1
- package/md5/index.js +1 -1
- package/mock/MockWebSocket.js +1 -1
- package/mock/MockXMLHttpRequest.js +1 -1
- package/mock/index.js +1 -1
- package/mousetrap/index.js +1 -1
- package/mousetrap/plugins/bind-dictionary/index.js +1 -1
- package/mousetrap/plugins/global-bind/index.js +1 -1
- package/mousetrap/plugins/index.js +1 -1
- package/mousetrap/plugins/pause/index.js +1 -1
- package/mousetrap/plugins/record/index.js +1 -1
- package/normalize-wheel/ExecutionEnvironment.js +2 -2
- package/normalize-wheel/UserAgent_DEPRECATED.js +1 -1
- package/normalize-wheel/index.js +1 -1
- package/normalize-wheel/isEventSupported.js +1 -1
- package/number-to-chinese/index.js +1 -1
- package/nzh/cn.js +1 -1
- package/nzh/hk.js +1 -1
- package/nzh/index.js +1 -1
- package/nzh/nzh.js +1 -1
- package/nzh/src/autoGet.js +1 -1
- package/nzh/src/index.js +1 -1
- package/nzh/src/langs/cn_b.js +1 -1
- package/nzh/src/langs/cn_s.js +1 -1
- package/nzh/src/langs/hk_b.js +1 -1
- package/nzh/src/langs/hk_s.js +1 -1
- package/nzh/src/utils.js +1 -1
- package/object/index.js +1 -1
- package/package.json +1 -1
- package/pinyin/index.js +1 -1
- package/pinyin/lib/common/constant.js +1 -1
- package/pinyin/lib/common/segmentit/AC.js +5 -2
- package/pinyin/lib/common/segmentit/TrieNode.js +7 -1
- package/pinyin/lib/common/segmentit/index.js +1 -1
- package/pinyin/lib/common/segmentit/max-probability.js +1 -1
- package/pinyin/lib/common/segmentit/min-tokenization.js +1 -1
- package/pinyin/lib/common/segmentit/reverse-max-match.js +1 -1
- package/pinyin/lib/common/utils.js +3 -1
- package/pinyin/lib/core/convert/index.js +1 -1
- package/pinyin/lib/core/custom/index.js +1 -1
- package/pinyin/lib/core/dict/index.js +1 -1
- package/pinyin/lib/core/html/index.js +1 -1
- package/pinyin/lib/core/match/index.js +1 -1
- package/pinyin/lib/core/pinyin/handle.js +1 -1
- package/pinyin/lib/core/pinyin/index.js +1 -1
- package/pinyin/lib/core/pinyin/middlewares.js +1 -1
- package/pinyin/lib/core/polyphonic/index.js +1 -1
- package/pinyin/lib/core/segment/index.js +1 -1
- package/pinyin/lib/core/segment/middlewares.js +14 -14
- package/pinyin/lib/core/traditional/index.js +1 -1
- package/pinyin/lib/data/dict1.js +1 -1
- package/pinyin/lib/data/dict2.js +1 -1
- package/pinyin/lib/data/dict3.js +1 -1
- package/pinyin/lib/data/dict4.js +1 -1
- package/pinyin/lib/data/dict5.js +1 -1
- package/pinyin/lib/data/special.js +1 -1
- package/pinyin/lib/data/surname.js +1 -1
- package/pinyin/lib/index.js +1 -1
- package/query-string/index.js +1 -1
- package/random/address.js +2 -2
- package/random/constellation.js +2 -2
- package/random/image.js +1 -1
- package/random/index.js +1 -1
- package/random/licensePlate.js +2 -2
- package/random/name.js +2 -2
- package/random/number.js +1 -1
- package/random/text.js +2 -2
- package/random/time.js +1 -1
- package/random/web.js +3 -3
- package/request/apiReplaceSegment.js +1 -1
- package/request/index.js +1 -1
- package/sanitize-url/index.js +1 -1
- package/screenfull/index.js +2 -2
- package/sleep/index.js +1 -1
- package/snapdom/index.browser.js +1 -1
- package/snapdom/index.js +1 -1
- package/snapdom/src/api/preCache.d.ts +1 -1
- package/snapdom/src/api/preCache.js +1 -1
- package/snapdom/src/api/snapdom.js +10 -3
- package/snapdom/src/core/cache.js +1 -1
- package/snapdom/src/core/capture.d.ts +2 -0
- package/snapdom/src/core/capture.js +110 -105
- package/snapdom/src/core/clone.js +1 -1
- package/snapdom/src/core/context.d.ts +2 -0
- package/snapdom/src/core/context.js +2 -1
- package/snapdom/src/core/plugins.js +1 -1
- package/snapdom/src/core/prepare.js +1 -1
- package/snapdom/src/exporters/download.js +2 -2
- package/snapdom/src/exporters/toBlob.js +1 -1
- package/snapdom/src/exporters/toCanvas.js +1 -1
- package/snapdom/src/exporters/toImg.js +1 -1
- package/snapdom/src/index.browser.js +1 -1
- package/snapdom/src/index.js +1 -1
- package/snapdom/src/modules/CSSVar.js +2 -2
- package/snapdom/src/modules/background.js +45 -36
- package/snapdom/src/modules/changeCSS.js +1 -1
- package/snapdom/src/modules/compress.d.ts +53 -0
- package/snapdom/src/modules/compress.js +118 -0
- package/snapdom/src/modules/counter.js +1 -1
- package/snapdom/src/modules/fonts.js +3 -3
- package/snapdom/src/modules/iconFonts.js +1 -1
- package/snapdom/src/modules/images.js +53 -47
- package/snapdom/src/modules/lineClamp.js +1 -1
- package/snapdom/src/modules/pictureResolver.js +1 -1
- package/snapdom/src/modules/pseudo.js +1 -1
- package/snapdom/src/modules/rasterize.js +1 -1
- package/snapdom/src/modules/snapFetch.js +1 -1
- package/snapdom/src/modules/styles.js +57 -50
- package/snapdom/src/modules/svgDefs.js +1 -1
- package/snapdom/src/utils/browser.js +1 -1
- package/snapdom/src/utils/capture.helpers.js +3 -3
- package/snapdom/src/utils/clone.helpers.js +1 -1
- package/snapdom/src/utils/css.d.ts +13 -1
- package/snapdom/src/utils/css.js +84 -49
- package/snapdom/src/utils/debug.js +1 -1
- package/snapdom/src/utils/helpers.js +1 -1
- package/snapdom/src/utils/image.js +1 -1
- package/snapdom/src/utils/index.d.ts +1 -1
- package/snapdom/src/utils/index.js +1 -1
- package/snapdom/src/utils/prepare.helpers.js +1 -1
- package/snapdom/src/utils/transforms.helpers.js +1 -1
- package/string/chars.js +1 -1
- package/string/index.d.ts +1 -1
- package/string/index.js +2 -2
- package/tinycolor/conversion.js +1 -1
- package/tinycolor/css-color-names.js +1 -1
- package/tinycolor/format-input.js +1 -1
- package/tinycolor/from-ratio.js +1 -1
- package/tinycolor/index.js +10 -1
- package/tinycolor/interfaces.js +1 -1
- package/tinycolor/public_api.js +1 -1
- package/tinycolor/random.js +1 -1
- package/tinycolor/readability.js +1 -1
- package/tinycolor/to-ms-filter.js +1 -1
- package/tinycolor/umd_api.js +1 -1
- package/tinycolor/utils.js +1 -1
- package/tree/index.js +1 -1
- package/tree/searchTree.js +1 -1
- package/tween/easing.js +1 -1
- package/tween/index.js +1 -1
- package/tween/tween.js +1 -1
- package/ui-color/compareColorByRange.js +1 -1
- package/ui-color/index.js +1 -1
- package/url-toolkit/index.js +1 -1
- package/validate/index.js +10 -1
- package/validate/interface.js +1 -1
- package/validate/locale/en-US.js +12 -12
- package/validate/locale/index.js +1 -1
- package/validate/locale/zh-CN.js +12 -12
- package/validate/rules/array.js +1 -1
- package/validate/rules/base.js +34 -25
- package/validate/rules/boolean.js +1 -1
- package/validate/rules/custom.js +1 -1
- package/validate/rules/number.js +1 -1
- package/validate/rules/object.js +1 -1
- package/validate/rules/string.js +1 -1
- package/validate/rules/type.js +14 -14
- package/version/index.js +1 -1
- package/xlsx/crc32.js +2 -2
- package/xlsx/index.js +1 -1
- package/xlsx/xlsx.js +16 -16
- package/.vite/license.md +0 -3
- package/.vite/manifest.json +0 -10603
- package/dom-align/LICENSE.md +0 -20
- package/dom-align/adjustForViewport.d.ts +0 -2
- package/dom-align/adjustForViewport.js +0 -13
- package/dom-align/align/align.d.ts +0 -15
- package/dom-align/align/align.js +0 -88
- package/dom-align/align/alignElement.d.ts +0 -16
- package/dom-align/align/alignElement.js +0 -18
- package/dom-align/align/alignPoint.d.ts +0 -14
- package/dom-align/align/alignPoint.js +0 -21
- package/dom-align/getAlignOffset.d.ts +0 -8
- package/dom-align/getAlignOffset.js +0 -12
- package/dom-align/getElFuturePos.d.ts +0 -5
- package/dom-align/getElFuturePos.js +0 -13
- package/dom-align/getOffsetParent.d.ts +0 -2
- package/dom-align/getOffsetParent.js +0 -14
- package/dom-align/getRegion.d.ts +0 -5
- package/dom-align/getRegion.js +0 -18
- package/dom-align/getVisibleRectForElement.d.ts +0 -10
- package/dom-align/getVisibleRectForElement.js +0 -34
- package/dom-align/index.d.ts +0 -4
- package/dom-align/index.js +0 -8
- package/dom-align/isAncestorFixed.d.ts +0 -1
- package/dom-align/isAncestorFixed.js +0 -13
- package/dom-align/propertyUtils.d.ts +0 -8
- package/dom-align/propertyUtils.js +0 -57
- package/dom-align/utils.d.ts +0 -28
- package/dom-align/utils.js +0 -220
- package/is/lib/isPort.js +0 -8
- package/snapdom/src/core/exporters.d.ts +0 -33
- /package/{constant → constants}/address.d.ts +0 -0
- /package/{constant → constants}/chineseCharacters.d.ts +0 -0
- /package/{constant → constants}/constellations.d.ts +0 -0
- /package/{constant → constants}/domain.d.ts +0 -0
- /package/{constant → constants}/identity.d.ts +0 -0
- /package/{constant → constants}/index.d.ts +0 -0
- /package/{constant → constants}/keyboardCode.d.ts +0 -0
- /package/{constant → constants}/licensePlate.d.ts +0 -0
- /package/{constant → constants}/name.d.ts +0 -0
- /package/{constant → constants}/platform.d.ts +0 -0
- /package/{constant → constants}/protocol.d.ts +0 -0
- /package/{constant → constants}/string.d.ts +0 -0
- /package/{constant → constants}/ui.d.ts +0 -0
- /package/is/{lib → libs}/isAscii.d.ts +0 -0
- /package/is/{lib → libs}/isBase64.d.ts +0 -0
- /package/is/{lib → libs}/isChinese.d.ts +0 -0
- /package/is/{lib → libs}/isDataURI.d.ts +0 -0
- /package/is/{lib → libs}/isEmail.d.ts +0 -0
- /package/is/{lib → libs}/isFQDN.d.ts +0 -0
- /package/is/{lib → libs}/isFullWidth.d.ts +0 -0
- /package/is/{lib → libs}/isHSL.d.ts +0 -0
- /package/is/{lib → libs}/isHalfWidth.d.ts +0 -0
- /package/is/{lib → libs}/isHash.d.ts +0 -0
- /package/is/{lib → libs}/isHexColor.d.ts +0 -0
- /package/is/{lib → libs}/isIMEI.d.ts +0 -0
- /package/is/{lib → libs}/isIP.d.ts +0 -0
- /package/is/{lib → libs}/isIPRange.d.ts +0 -0
- /package/is/{lib → libs}/isIdentityCard.d.ts +0 -0
- /package/is/{lib → libs}/isJWT.d.ts +0 -0
- /package/is/{lib → libs}/isMACAddress.d.ts +0 -0
- /package/is/{lib → libs}/isMD5.d.ts +0 -0
- /package/is/{lib → libs}/isMimeType.d.ts +0 -0
- /package/is/{lib → libs}/isMobilePhone.d.ts +0 -0
- /package/is/{lib → libs}/isOctal.d.ts +0 -0
- /package/is/{lib → libs}/isPort.d.ts +0 -0
- /package/is/{lib → libs}/isRgbColor.d.ts +0 -0
- /package/is/{lib → libs}/isSemVer.d.ts +0 -0
- /package/is/{lib → libs}/isSlug.d.ts +0 -0
- /package/is/{lib → libs}/isStrongPassword.d.ts +0 -0
- /package/is/{lib → libs}/isURL.d.ts +0 -0
- /package/is/{lib → libs}/isUUID.d.ts +0 -0
- /package/is/{lib → libs}/isVariableWidth.d.ts +0 -0
package/dom-helpers/position.js
CHANGED
package/dom-helpers/prepend.js
CHANGED
package/dom-helpers/reflow.js
CHANGED
package/dom-helpers/remove.js
CHANGED
package/dom-helpers/scrollTo.js
CHANGED
package/dom-helpers/scrollTop.js
CHANGED
package/dom-helpers/siblings.js
CHANGED
package/dom-helpers/text.js
CHANGED
package/dom-helpers/types.js
CHANGED
package/dom-helpers/width.js
CHANGED
package/emitter/index.d.ts
CHANGED
|
@@ -24,13 +24,13 @@ declare class Emitter implements EmitterInterface {
|
|
|
24
24
|
* @param type 要监听的事件类型
|
|
25
25
|
* @param handler 响应事件时要调用的函数
|
|
26
26
|
*/
|
|
27
|
-
on(type: EventType, handler: HandlerType): void;
|
|
27
|
+
on(type: EventType, handler: HandlerType): () => void;
|
|
28
28
|
/**
|
|
29
29
|
* 为指定类型注册一个事件处理函数(只首次调用起作用,之后将被移除)
|
|
30
30
|
* @param type 要监听的事件类型
|
|
31
31
|
* @param handler 响应事件时要调用的函数
|
|
32
32
|
*/
|
|
33
|
-
once(type: EventType, handler: HandlerType): void;
|
|
33
|
+
once(type: EventType, handler: HandlerType): () => void;
|
|
34
34
|
/**
|
|
35
35
|
* 移除指定类型的事件处理函数
|
|
36
36
|
* 如果省略 `handler` 参数,则移除该类型的所有处理函数
|
package/emitter/index.js
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-17
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:46 星期五 山东省济南市 */
|
|
2
|
+
import { isFunction as e } from "../is/index.js";
|
|
3
|
+
import t from "../lodash/noop.js";
|
|
4
|
+
import "../lodash/index.js";
|
|
2
5
|
//#region utils/emitter/index.ts
|
|
3
|
-
var
|
|
6
|
+
var n = class {
|
|
4
7
|
#e;
|
|
5
8
|
constructor(e = /* @__PURE__ */ new Map()) {
|
|
6
9
|
this.#e = e;
|
|
7
10
|
}
|
|
8
|
-
on(
|
|
9
|
-
if (
|
|
10
|
-
let
|
|
11
|
-
|
|
11
|
+
on(n, r) {
|
|
12
|
+
if (!e(r)) return t;
|
|
13
|
+
let i = this.get(n) ?? /* @__PURE__ */ new Set();
|
|
14
|
+
return i.add(r), this.#n(n, i), () => {
|
|
15
|
+
this.off(n, r);
|
|
16
|
+
};
|
|
12
17
|
}
|
|
13
18
|
once(e, t) {
|
|
14
|
-
let n = (...
|
|
15
|
-
t(...
|
|
16
|
-
};
|
|
17
|
-
|
|
19
|
+
let n = this.on(e, (...e) => {
|
|
20
|
+
t(...e), n();
|
|
21
|
+
});
|
|
22
|
+
return n;
|
|
18
23
|
}
|
|
19
24
|
off(e, t) {
|
|
20
25
|
let n = this.get(e);
|
|
@@ -65,5 +70,5 @@ var e = class {
|
|
|
65
70
|
}
|
|
66
71
|
};
|
|
67
72
|
//#endregion
|
|
68
|
-
export {
|
|
73
|
+
export { n as Emitter, n as default };
|
|
69
74
|
/* 独立思考,明辨是非 */
|
package/emoji/emoji.js
CHANGED
package/emoji/emojis.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-17
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:46 星期五 山东省济南市 */
|
|
2
2
|
//#region utils/emoji/emojis.js
|
|
3
3
|
var e = /* @__PURE__ */ "😀.😃.😄.😁.😆.😅.🤣.😂.🙂.🙃.🫠.😉.😊.😇.🥰.😍.🤩.😘.😗.☺️.😚.😙.🥲.😋.😛.😜.🤪.😝.🤑.🤗.🤭.🫢.🫣.🤫.🤔.🫡.🤐.🤨.😐️.😑.😶.🫥.😶🌫️.😏.😒.🙄.😬.😮💨.🤥.🫨.🙂↔️.🙂↕️.😌.😔.😪.🤤.😴..😷.🤒.🤕.🤢.🤮.🤧.🥵.🥶.🥴.😵.😵💫.🤯.🤠.🥳.🥸.😎.🤓.🧐.😕.🫤.😟.🙁.☹️.😮.😯.😲.😳.🥺.🥹.😦.😧.😨.😰.😥.😢.😭.😱.😖.😣.😞.😓.😩.😫.🥱.😤.😡.😠.🤬.😈.👿.💀.☠️.💩.🤡.👹.👺.👻.👽️.👾.🤖.😺.😸.😹.😻.😼.😽.🙀.😿.😾.🙈.🙉.🙊.💌.💘.💝.💖.💗.💓.💞.💕.💟.❣️.💔.❤️🔥.❤️🩹.❤️.🩷.🧡.💛.💚.💙.🩵.💜.🤎.🖤.🩶.🤍.💋.💯.💢.💥.💫.💦.💨.🕳️.💬.👁️🗨️.🗨️.🗯️.💭.💤.👋.🤚.🖐️.✋️.🖖.🫱.🫲.🫳.🫴.🫷.🫸.👌.🤌.🤏.✌️.🤞.🫰.🤟.🤘.🤙.👈️.👉️.👆️.🖕.👇️.☝️.🫵.👍️.👎️.✊️.👊.🤛.🤜.👏.🙌.🫶.👐.🤲.🤝.🙏.✍️.💅.🤳.💪.🦾.🦿.🦵.🦶.👂️.🦻.👃.🧠.🫀.🫁.🦷.🦴.👀.👁️.👅.👄.🫦.👶.🧒.👦.👧.🧑.👱.👨.🧔.🧔♂️.🧔♀️.👨🦰.👨🦱.👨🦳.👨🦲.👩.👩🦰.🧑🦰.👩🦱.🧑🦱.👩🦳.🧑🦳.👩🦲.🧑🦲.👱♀️.👱♂️.🧓.👴.👵.🙍.🙍♂️.🙍♀️.🙎.🙎♂️.🙎♀️.🙅.🙅♂️.🙅♀️.🙆.🙆♂️.🙆♀️.💁.💁♂️.💁♀️.🙋.🙋♂️.🙋♀️.🧏.🧏♂️.🧏♀️.🙇.🙇♂️.🙇♀️.🤦.🤦♂️.🤦♀️.🤷.🤷♂️.🤷♀️.🧑⚕️.👨⚕️.👩⚕️.🧑🎓.👨🎓.👩🎓.🧑🏫.👨🏫.👩🏫.🧑⚖️.👨⚖️.👩⚖️.🧑🌾.👨🌾.👩🌾.🧑🍳.👨🍳.👩🍳.🧑🔧.👨🔧.👩🔧.🧑🏭.👨🏭.👩🏭.🧑💼.👨💼.👩💼.🧑🔬.👨🔬.👩🔬.🧑💻.👨💻.👩💻.🧑🎤.👨🎤.👩🎤.🧑🎨.👨🎨.👩🎨.🧑✈️.👨✈️.👩✈️.🧑🚀.👨🚀.👩🚀.🧑🚒.👨🚒.👩🚒.👮.👮♂️.👮♀️.🕵️.🕵️♂️.🕵️♀️.💂.💂♂️.💂♀️.🥷.👷.👷♂️.👷♀️.🫅.🤴.👸.👳.👳♂️.👳♀️.👲.🧕.🤵.🤵♂️.🤵♀️.👰.👰♂️.👰♀️.🤰.🫃.🫄.🤱.👩🍼.👨🍼.🧑🍼.👼.🎅.🤶.🧑🎄.🦸.🦸♂️.🦸♀️.🦹.🦹♂️.🦹♀️.🧙.🧙♂️.🧙♀️.🧚.🧚♂️.🧚♀️.🧛.🧛♂️.🧛♀️.🧜.🧜♂️.🧜♀️.🧝.🧝♂️.🧝♀️.🧞.🧞♂️.🧞♀️.🧟.🧟♂️.🧟♀️.🧌.💆.💆♂️.💆♀️.💇.💇♂️.💇♀️.🚶.🚶♂️.🚶♀️.🚶➡️.🚶♀️➡️.🚶♂️➡️.🧍.🧍♂️.🧍♀️.🧎.🧎♂️.🧎♀️.🧎➡️.🧎♀️➡️.🧎♂️➡️.🧑🦯.🧑🦯➡️.👨🦯.👨🦯➡️.👩🦯.👩🦯➡️.🧑🦼.🧑🦼➡️.👨🦼.👨🦼➡️.👩🦼.👩🦼➡️.🧑🦽.🧑🦽➡️.👨🦽.👨🦽➡️.👩🦽.👩🦽➡️.🏃.🏃♂️.🏃♀️.🏃➡️.🏃♀️➡️.🏃♂️➡️.💃.🕺.🕴️.👯.👯♂️.👯♀️.🧖.🧖♂️.🧖♀️.🧗.🧗♂️.🧗♀️.🤺.🏇.⛷️.🏂️.🏌️.🏌️♂️.🏌️♀️.🏄️.🏄♂️.🏄♀️.🚣.🚣♂️.🚣♀️.🏊️.🏊♂️.🏊♀️.⛹️.⛹️♂️.⛹️♀️.🏋️.🏋️♂️.🏋️♀️.🚴.🚴♂️.🚴♀️.🚵.🚵♂️.🚵♀️.🤸.🤸♂️.🤸♀️.🤼.🤼♂️.🤼♀️.🤽.🤽♂️.🤽♀️.🤾.🤾♂️.🤾♀️.🤹.🤹♂️.🤹♀️.🧘.🧘♂️.🧘♀️.🛀.🛌.🧑🤝🧑.👭.👫.👬.💏.👩❤️💋👨.👨❤️💋👨.👩❤️💋👩.💑.👩❤️👨.👨❤️👨.👩❤️👩.👨👩👦.👨👩👧.👨👩👧👦.👨👩👦👦.👨👩👧👧.👨👨👦.👨👨👧.👨👨👧👦.👨👨👦👦.👨👨👧👧.👩👩👦.👩👩👧.👩👩👧👦.👩👩👦👦.👩👩👧👧.👨👦.👨👦👦.👨👧.👨👧👦.👨👧👧.👩👦.👩👦👦.👩👧.👩👧👦.👩👧👧.🗣️.👤.👥.🫂.👪️.🧑🧑🧒.🧑🧑🧒🧒.🧑🧒.🧑🧒🧒.👣..🏻.🏼.🏽.🏾.🏿.🦰.🦱.🦳.🦲.🐵.🐒.🦍.🦧.🐶.🐕️.🦮.🐕🦺.🐩.🐺.🦊.🦝.🐱.🐈️.🐈⬛.🦁.🐯.🐅.🐆.🐴.🫎.🫏.🐎.🦄.🦓.🦌.🦬.🐮.🐂.🐃.🐄.🐷.🐖.🐗.🐽.🐏.🐑.🐐.🐪.🐫.🦙.🦒.🐘.🦣.🦏.🦛.🐭.🐁.🐀.🐹.🐰.🐇.🐿️.🦫.🦔.🦇.🐻.🐻❄️.🐨.🐼.🦥.🦦.🦨.🦘.🦡.🐾.🦃.🐔.🐓.🐣.🐤.🐥.🐦️.🐧.🕊️.🦅.🦆.🦢.🦉.🦤.🪶.🦩.🦚.🦜.🪽.🐦⬛.🪿.🐦🔥.🐸.🐊.🐢.🦎.🐍.🐲.🐉.🦕.🦖.🐳.🐋.🐬.🦭.🐟️.🐠.🐡.🦈.🐙.🐚.🪸.🪼.🦀.🦞.🦐.🦑.🦪.🐌.🦋.🐛.🐜.🐝.🪲.🐞.🦗.🪳.🕷️.🕸️.🦂.🦟.🪰.🪱.🦠.💐.🌸.💮.🪷.🏵️.🌹.🥀.🌺.🌻.🌼.🌷.🪻.🌱.🪴.🌲.🌳.🌴.🌵.🌾.🌿.☘️.🍀.🍁.🍂.🍃.🪹.🪺.🍄..🍇.🍈.🍉.🍊.🍋.🍋🟩.🍌.🍍.🥭.🍎.🍏.🍐.🍑.🍒.🍓.🫐.🥝.🍅.🫒.🥥.🥑.🍆.🥔.🥕.🌽.🌶️.🫑.🥒.🥬.🥦.🧄.🧅.🥜.🫘.🌰.🫚.🫛.🍄🟫..🍞.🥐.🥖.🫓.🥨.🥯.🥞.🧇.🧀.🍖.🍗.🥩.🥓.🍔.🍟.🍕.🌭.🥪.🌮.🌯.🫔.🥙.🧆.🥚.🍳.🥘.🍲.🫕.🥣.🥗.🍿.🧈.🧂.🥫.🍱.🍘.🍙.🍚.🍛.🍜.🍝.🍠.🍢.🍣.🍤.🍥.🥮.🍡.🥟.🥠.🥡.🍦.🍧.🍨.🍩.🍪.🎂.🍰.🧁.🥧.🍫.🍬.🍭.🍮.🍯.🍼.🥛.☕️.🫖.🍵.🍶.🍾.🍷.🍸️.🍹.🍺.🍻.🥂.🥃.🫗.🥤.🧋.🧃.🧉.🧊.🥢.🍽️.🍴.🥄.🔪.🫙.🏺.🌍️.🌎️.🌏️.🌐.🗺️.🗾.🧭.🏔️.⛰️.🌋.🗻.🏕️.🏖️.🏜️.🏝️.🏞️.🏟️.🏛️.🏗️.🧱.🪨.🪵.🛖.🏘️.🏚️.🏠️.🏡.🏢.🏣.🏤.🏥.🏦.🏨.🏩.🏪.🏫.🏬.🏭️.🏯.🏰.💒.🗼.🗽.⛪️.🕌.🛕.🕍.⛩️.🕋.⛲️.⛺️.🌁.🌃.🏙️.🌄.🌅.🌆.🌇.🌉.♨️.🎠.🛝.🎡.🎢.💈.🎪.🚂.🚃.🚄.🚅.🚆.🚇️.🚈.🚉.🚊.🚝.🚞.🚋.🚌.🚍️.🚎.🚐.🚑️.🚒.🚓.🚔️.🚕.🚖.🚗.🚘️.🚙.🛻.🚚.🚛.🚜.🏎️.🏍️.🛵.🦽.🦼.🛺.🚲️.🛴.🛹.🛼.🚏.🛣️.🛤️.🛢️.⛽️.🛞.🚨.🚥.🚦.🛑.🚧.⚓️.🛟.⛵️.🛶.🚤.🛳️.⛴️.🛥️.🚢.✈️.🛩️.🛫.🛬.🪂.💺.🚁.🚟.🚠.🚡.🛰️.🚀.🛸.🛎️.🧳.⌛️.⏳️.⌚️.⏰️.⏱️.⏲️.🕰️.🕛️.🕧️.🕐️.🕜️.🕑️.🕝️.🕒️.🕞️.🕓️.🕟️.🕔️.🕠️.🕕️.🕡️.🕖️.🕢️.🕗️.🕣️.🕘️.🕤️.🕙️.🕥️.🕚️.🕦️.🌑.🌒.🌓.🌔.🌕️.🌖.🌗.🌘.🌙.🌚.🌛.🌜️.🌡️.☀️.🌝.🌞.🪐.⭐️.🌟.🌠.🌌.☁️.⛅️.⛈️.🌤️.🌥️.🌦️.🌧️.🌨️.🌩️.🌪️.🌫️.🌬️.🌀.🌈.🌂.☂️.☔️.⛱️.⚡️.❄️.☃️.⛄️.☄️.🔥.💧.🌊.🎃.🎄.🎆.🎇.🧨.✨️.🎈.🎉.🎊.🎋.🎍.🎎.🎏.🎐.🎑.🧧.🎀.🎁.🎗️.🎟️.🎫.🎖️.🏆️.🏅.🥇.🥈.🥉.⚽️.⚾️.🥎.🏀.🏐.🏈.🏉.🎾.🥏.🎳.🏏.🏑.🏒.🥍.🏓.🏸.🥊.🥋.🥅.⛳️.⛸️.🎣.🤿.🎽.🎿.🛷.🥌.🎯.🪀.🪁.🔫.🎱.🔮.🪄.🎮️.🕹️.🎰.🎲.🧩.🧸.🪅.🪩.🪆.♠️.♥️.♦️.♣️.♟️.🃏.🀄️.🎴.🎭️.🖼️.🎨.🧵.🪡.🧶.🪢.👓️.🕶️.🥽.🥼.🦺.👔.👕.👖.🧣.🧤.🧥.🧦.👗.👘.🥻.🩱.🩲.🩳.👙.👚.🪭.👛.👜.👝.🛍️.🎒.🩴.👞.👟.🥾.🥿.👠.👡.🩰.👢.🪮.👑.👒.🎩.🎓️.🧢.🪖.⛑️.📿.💄.💍.💎.🔇.🔈️.🔉.🔊.📢.📣.📯.🔔.🔕.🎼.🎵.🎶.🎙️.🎚️.🎛️.🎤.🎧️.📻️.🎷.🪗.🎸.🎹.🎺.🎻.🪕.🥁.🪘.🪇.🪈..📱.📲.☎️.📞.📟️.📠.🔋.🪫.🔌.💻️.🖥️.🖨️.⌨️.🖱️.🖲️.💽.💾.💿️.📀.🧮.🎥.🎞️.📽️.🎬️.📺️.📷️.📸.📹️.📼.🔍️.🔎.🕯️.💡.🔦.🏮.🪔.📔.📕.📖.📗.📘.📙.📚️.📓.📒.📃.📜.📄.📰.🗞️.📑.🔖.🏷️.💰️.🪙.💴.💵.💶.💷.💸.💳️.🧾.💹.✉️.📧.📨.📩.📤️.📥️.📦️.📫️.📪️.📬️.📭️.📮.🗳️.✏️.✒️.🖋️.🖊️.🖌️.🖍️.📝.💼.📁.📂.🗂️.📅.📆.🗒️.🗓️.📇.📈.📉.📊.📋️.📌.📍.📎.🖇️.📏.📐.✂️.🗃️.🗄️.🗑️.🔒️.🔓️.🔏.🔐.🔑.🗝️.🔨.🪓.⛏️.⚒️.🛠️.🗡️.⚔️.💣️.🪃.🏹.🛡️.🪚.🔧.🪛.🔩.⚙️.🗜️.⚖️.🦯.🔗.⛓️💥.⛓️.🪝.🧰.🧲.🪜..⚗️.🧪.🧫.🧬.🔬.🔭.📡.💉.🩸.💊.🩹.🩼.🩺.🩻.🚪.🛗.🪞.🪟.🛏️.🛋️.🪑.🚽.🪠.🚿.🛁.🪤.🪒.🧴.🧷.🧹.🧺.🧻.🪣.🧼.🫧.🪥.🧽.🧯.🛒.🚬.⚰️.🪦.⚱️.🧿.🪬.🗿.🪧.🪪.🏧.🚮.🚰.♿️.🚹️.🚺️.🚻.🚼️.🚾.🛂.🛃.🛄.🛅.⚠️.🚸.⛔️.🚫.🚳.🚭️.🚯.🚱.🚷.📵.🔞.☢️.☣️.⬆️.↗️.➡️.↘️.⬇️.↙️.⬅️.↖️.↕️.↔️.↩️.↪️.⤴️.⤵️.🔃.🔄.🔙.🔚.🔛.🔜.🔝.🛐.⚛️.🕉️.✡️.☸️.☯️.✝️.☦️.☪️.☮️.🕎.🔯.🪯.♈️.♉️.♊️.♋️.♌️.♍️.♎️.♏️.♐️.♑️.♒️.♓️.⛎️.🔀.🔁.🔂.▶️.⏩️.⏭️.⏯️.◀️.⏪️.⏮️.🔼.⏫️.🔽.⏬️.⏸️.⏹️.⏺️.⏏️.🎦.🔅.🔆.📶.🛜.📳.📴.♀️.♂️.⚧️.✖️.➕️.➖️.➗️.🟰.♾️.‼️.⁉️.❓️.❔️.❕️.❗️.〰️.💱.💲.⚕️.♻️.⚜️.🔱.📛.🔰.⭕️.✅️.☑️.✔️.❌️.❎️.➰️.➿️.〽️.✳️.✴️.❇️.©️.®️.™️..#️⃣.*️⃣.0️⃣.1️⃣.2️⃣.3️⃣.4️⃣.5️⃣.6️⃣.7️⃣.8️⃣.9️⃣.🔟.🔠.🔡.🔢.🔣.🔤.🅰️.🆎.🅱️.🆑.🆒.🆓.ℹ️.🆔.Ⓜ️.🆕.🆖.🅾️.🆗.🅿️.🆘.🆙.🆚.🈁.🈂️.🈷️.🈶.🈯️.🉐.🈹.🈚️.🈲.🉑.🈸.🈴.🈳.㊗️.㊙️.🈺.🈵.🔴.🟠.🟡.🟢.🔵.🟣.🟤.⚫️.⚪️.🟥.🟧.🟨.🟩.🟦.🟪.🟫.⬛️.⬜️.◼️.◻️.◾️.◽️.▪️.▫️.🔶.🔷.🔸.🔹.🔺.🔻.💠.🔘.🔳.🔲.🏁.🚩.🎌.🏴.🏳️.🏳️🌈.🏳️⚧️.🏴☠️.🇦🇨.🇦🇩.🇦🇪.🇦🇫.🇦🇬.🇦🇮.🇦🇱.🇦🇲.🇦🇴.🇦🇶.🇦🇷.🇦🇸.🇦🇹.🇦🇺.🇦🇼.🇦🇽.🇦🇿.🇧🇦.🇧🇧.🇧🇩.🇧🇪.🇧🇫.🇧🇬.🇧🇭.🇧🇮.🇧🇯.🇧🇱.🇧🇲.🇧🇳.🇧🇴.🇧🇶.🇧🇷.🇧🇸.🇧🇹.🇧🇻.🇧🇼.🇧🇾.🇧🇿.🇨🇦.🇨🇨.🇨🇩.🇨🇫.🇨🇬.🇨🇭.🇨🇮.🇨🇰.🇨🇱.🇨🇲.🇨🇳.🇨🇴.🇨🇵.🇨🇶.🇨🇷.🇨🇺.🇨🇻.🇨🇼.🇨🇽.🇨🇾.🇨🇿.🇩🇪.🇩🇬.🇩🇯.🇩🇰.🇩🇲.🇩🇴.🇩🇿.🇪🇦.🇪🇨.🇪🇪.🇪🇬.🇪🇭.🇪🇷.🇪🇸.🇪🇹.🇪🇺.🇫🇮.🇫🇯.🇫🇰.🇫🇲.🇫🇴.🇫🇷.🇬🇦.🇬🇧.🇬🇩.🇬🇪.🇬🇫.🇬🇬.🇬🇭.🇬🇮.🇬🇱.🇬🇲.🇬🇳.🇬🇵.🇬🇶.🇬🇷.🇬🇸.🇬🇹.🇬🇺.🇬🇼.🇬🇾.🇭🇰.🇭🇲.🇭🇳.🇭🇷.🇭🇹.🇭🇺.🇮🇨.🇮🇩.🇮🇪.🇮🇱.🇮🇲.🇮🇳.🇮🇴.🇮🇶.🇮🇷.🇮🇸.🇮🇹.🇯🇪.🇯🇲.🇯🇴.🇯🇵.🇰🇪.🇰🇬.🇰🇭.🇰🇮.🇰🇲.🇰🇳.🇰🇵.🇰🇷.🇰🇼.🇰🇾.🇰🇿.🇱🇦.🇱🇧.🇱🇨.🇱🇮.🇱🇰.🇱🇷.🇱🇸.🇱🇹.🇱🇺.🇱🇻.🇱🇾.🇲🇦.🇲🇨.🇲🇩.🇲🇪.🇲🇫.🇲🇬.🇲🇭.🇲🇰.🇲🇱.🇲🇲.🇲🇳.🇲🇴.🇲🇵.🇲🇶.🇲🇷.🇲🇸.🇲🇹.🇲🇺.🇲🇻.🇲🇼.🇲🇽.🇲🇾.🇲🇿.🇳🇦.🇳🇨.🇳🇪.🇳🇫.🇳🇬.🇳🇮.🇳🇱.🇳🇴.🇳🇵.🇳🇷.🇳🇺.🇳🇿.🇴🇲.🇵🇦.🇵🇪.🇵🇫.🇵🇬.🇵🇭.🇵🇰.🇵🇱.🇵🇲.🇵🇳.🇵🇷.🇵🇸.🇵🇹.🇵🇼.🇵🇾.🇶🇦.🇷🇪.🇷🇴.🇷🇸.🇷🇺.🇷🇼.🇸🇦.🇸🇧.🇸🇨.🇸🇩.🇸🇪.🇸🇬.🇸🇭.🇸🇮.🇸🇯.🇸🇰.🇸🇱.🇸🇲.🇸🇳.🇸🇴.🇸🇷.🇸🇸.🇸🇹.🇸🇻.🇸🇽.🇸🇾.🇸🇿.🇹🇦.🇹🇨.🇹🇩.🇹🇫.🇹🇬.🇹🇭.🇹🇯.🇹🇰.🇹🇱.🇹🇲.🇹🇳.🇹🇴.🇹🇷.🇹🇹.🇹🇻.🇹🇿.🇺🇦.🇺🇬.🇺🇲.🇺🇳.🇺🇸.🇺🇾.🇺🇿.🇻🇦.🇻🇨.🇻🇪.🇻🇬.🇻🇮.🇻🇳.🇻🇺.🇼🇫.🇼🇸.🇽🇰.🇾🇪.🇾🇹.🇿🇦.🇿🇲.🇿🇼.🏴.🏴.🏴".split(".");
|
|
4
4
|
//#endregion
|
package/emoji/index.js
CHANGED
package/escape/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-17
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:46 星期五 山东省济南市 */
|
|
2
2
|
//#region utils/escape/index.js
|
|
3
3
|
function e(e) {
|
|
4
4
|
return e.replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">").replace(/\//g, "/").replace(/\\/g, "\").replace(/`/g, "`");
|
package/fflate/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-17
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:46 星期五 山东省济南市 */
|
|
2
2
|
import { AsyncDecompress as e, AsyncDeflate as t, AsyncGunzip as n, AsyncGzip as r, AsyncInflate as i, AsyncUnzipInflate as a, AsyncUnzlib as o, AsyncZipDeflate as s, AsyncZlib as c, DecodeUTF8 as l, Decompress as u, Deflate as d, EncodeUTF8 as f, FlateErrorCode as p, Gunzip as m, Gzip as h, Inflate as g, Unzip as _, UnzipInflate as v, UnzipPassThrough as y, Unzlib as b, Zip as x, ZipDeflate as S, ZipPassThrough as C, Zlib as w, decompress as T, decompressSync as E, deflate as D, deflateSync as O, gunzip as k, gunzipSync as A, gzip as j, gzipSync as M, inflate as N, inflateSync as P, strFromU8 as F, strToU8 as I, unzip as L, unzipSync as R, unzlib as z, unzlibSync as B, zip as V, zipSync as H, zlib as U, zlibSync as W } from "./src/index.js";
|
|
3
3
|
export { r as AsyncCompress, r as AsyncGzip, e as AsyncDecompress, t as AsyncDeflate, n as AsyncGunzip, i as AsyncInflate, a as AsyncUnzipInflate, o as AsyncUnzlib, s as AsyncZipDeflate, c as AsyncZlib, h as Compress, h as Gzip, l as DecodeUTF8, u as Decompress, d as Deflate, f as EncodeUTF8, p as FlateErrorCode, m as Gunzip, g as Inflate, _ as Unzip, v as UnzipInflate, y as UnzipPassThrough, b as Unzlib, x as Zip, S as ZipDeflate, C as ZipPassThrough, w as Zlib, j as compress, j as gzip, M as compressSync, M as gzipSync, T as decompress, E as decompressSync, D as deflate, O as deflateSync, k as gunzip, A as gunzipSync, N as inflate, P as inflateSync, F as strFromU8, I as strToU8, L as unzip, R as unzipSync, z as unzlib, B as unzlibSync, V as zip, H as zipSync, U as zlib, W as zlibSync };
|
|
4
4
|
/* 独立思考,明辨是非 */
|
package/fflate/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-17
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:46 星期五 山东省济南市 */
|
|
2
2
|
import e from "./worker.js";
|
|
3
3
|
//#region utils/fflate/src/index.ts
|
|
4
4
|
var t = Uint8Array, n = Uint16Array, r = Int32Array, i = new t([
|
|
@@ -454,7 +454,7 @@ var g = /*#__PURE__*/ p(m, 9, 0), _ = /*#__PURE__*/ p(m, 9, 1), v = /*#__PURE__*
|
|
|
454
454
|
}
|
|
455
455
|
return w(m, 0, c + C(_) + u);
|
|
456
456
|
}, re = /*#__PURE__*/ (() => {
|
|
457
|
-
let e = new Int32Array(256);
|
|
457
|
+
let e = /* @__PURE__ */ new Int32Array(256);
|
|
458
458
|
for (let t = 0; t < 256; ++t) {
|
|
459
459
|
let n = t, r = 9;
|
|
460
460
|
for (; --r;) n = (n & 1 && -306674912) ^ n >>> 1;
|
|
@@ -660,6 +660,10 @@ var X = class {
|
|
|
660
660
|
this.b.set(e, 32768 - e.length), this.s.i = 32768 - e.length;
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
|
+
b;
|
|
664
|
+
s;
|
|
665
|
+
o;
|
|
666
|
+
ondata;
|
|
663
667
|
p(e, t) {
|
|
664
668
|
this.ondata(z(e, this.o, 0, 0, this.s), t);
|
|
665
669
|
}
|
|
@@ -685,11 +689,15 @@ var X = class {
|
|
|
685
689
|
}
|
|
686
690
|
}
|
|
687
691
|
}, xe = class {
|
|
692
|
+
ondata;
|
|
693
|
+
ondrain;
|
|
694
|
+
queuedSize;
|
|
688
695
|
constructor(e, t) {
|
|
689
696
|
G([H, () => [W, X]], this, Y.call(this, e, t), (e) => {
|
|
690
697
|
onmessage = W(new X(e.data));
|
|
691
698
|
}, 6, 1);
|
|
692
699
|
}
|
|
700
|
+
terminate;
|
|
693
701
|
};
|
|
694
702
|
function Se(e, t, n) {
|
|
695
703
|
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [H], (e) => U(Ce(e.data[0], e.data[1])), 0, n);
|
|
@@ -698,6 +706,11 @@ function Ce(e, t) {
|
|
|
698
706
|
return z(e, t || {}, 0, 0);
|
|
699
707
|
}
|
|
700
708
|
var Z = class {
|
|
709
|
+
s;
|
|
710
|
+
o;
|
|
711
|
+
p;
|
|
712
|
+
d;
|
|
713
|
+
ondata;
|
|
701
714
|
constructor(e, n) {
|
|
702
715
|
typeof e == "function" && (n = e, e = {}), this.ondata = n;
|
|
703
716
|
let r = e && e.dictionary && e.dictionary.subarray(-32768);
|
|
@@ -722,11 +735,15 @@ var Z = class {
|
|
|
722
735
|
this.e(e), this.c(t);
|
|
723
736
|
}
|
|
724
737
|
}, we = class {
|
|
738
|
+
ondata;
|
|
739
|
+
ondrain;
|
|
740
|
+
queuedSize;
|
|
725
741
|
constructor(e, t) {
|
|
726
742
|
G([V, () => [W, Z]], this, Y.call(this, e, t), (e) => {
|
|
727
743
|
onmessage = W(new Z(e.data));
|
|
728
744
|
}, 7, 0);
|
|
729
745
|
}
|
|
746
|
+
terminate;
|
|
730
747
|
};
|
|
731
748
|
function Te(e, t, n) {
|
|
732
749
|
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [V], (e) => U(Ee(e.data[0], fe(e.data[1]))), 1, n);
|
|
@@ -735,8 +752,14 @@ function Ee(e, t) {
|
|
|
735
752
|
return O(e, { i: 2 }, t && t.out, t && t.dictionary);
|
|
736
753
|
}
|
|
737
754
|
var De = class {
|
|
755
|
+
c = L();
|
|
756
|
+
l = 0;
|
|
757
|
+
v = 1;
|
|
758
|
+
o;
|
|
759
|
+
s;
|
|
760
|
+
ondata;
|
|
738
761
|
constructor(e, t) {
|
|
739
|
-
|
|
762
|
+
X.call(this, e, t);
|
|
740
763
|
}
|
|
741
764
|
push(e, t) {
|
|
742
765
|
this.c.p(e), this.l += e.length, X.prototype.push.call(this, e, t);
|
|
@@ -749,6 +772,9 @@ var De = class {
|
|
|
749
772
|
X.prototype.flush.call(this, e);
|
|
750
773
|
}
|
|
751
774
|
}, Oe = class {
|
|
775
|
+
ondata;
|
|
776
|
+
ondrain;
|
|
777
|
+
queuedSize;
|
|
752
778
|
constructor(e, t) {
|
|
753
779
|
G([
|
|
754
780
|
H,
|
|
@@ -762,6 +788,7 @@ var De = class {
|
|
|
762
788
|
onmessage = W(new De(e.data));
|
|
763
789
|
}, 8, 1);
|
|
764
790
|
}
|
|
791
|
+
terminate;
|
|
765
792
|
};
|
|
766
793
|
function ke(e, t, n) {
|
|
767
794
|
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
@@ -778,8 +805,15 @@ function Ae(e, t) {
|
|
|
778
805
|
return he(i, t), J(i, a - 8, n.d()), J(i, a - 4, r), i;
|
|
779
806
|
}
|
|
780
807
|
var je = class {
|
|
808
|
+
v = 1;
|
|
809
|
+
r = 0;
|
|
810
|
+
o;
|
|
811
|
+
p;
|
|
812
|
+
s;
|
|
813
|
+
ondata;
|
|
814
|
+
onmember;
|
|
781
815
|
constructor(e, t) {
|
|
782
|
-
|
|
816
|
+
Z.call(this, e, t);
|
|
783
817
|
}
|
|
784
818
|
push(e, n) {
|
|
785
819
|
if (Z.prototype.e.call(this, e), this.r += e.length, this.v) {
|
|
@@ -792,6 +826,10 @@ var je = class {
|
|
|
792
826
|
Z.prototype.c.call(this, 0), this.s.f && !this.s.l ? (this.v = C(this.s.p) + 9, this.s = { i: 0 }, this.o = new t(0), this.push(new t(0), n)) : n && Z.prototype.c.call(this, n);
|
|
793
827
|
}
|
|
794
828
|
}, Me = class {
|
|
829
|
+
ondata;
|
|
830
|
+
ondrain;
|
|
831
|
+
queuedSize;
|
|
832
|
+
onmember;
|
|
795
833
|
constructor(e, t) {
|
|
796
834
|
G([
|
|
797
835
|
V,
|
|
@@ -806,6 +844,7 @@ var je = class {
|
|
|
806
844
|
t.onmember = (e) => postMessage(e), onmessage = W(t);
|
|
807
845
|
}, 9, 0, (e) => this.onmember && this.onmember(e));
|
|
808
846
|
}
|
|
847
|
+
terminate;
|
|
809
848
|
};
|
|
810
849
|
function Ne(e, t, n) {
|
|
811
850
|
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
@@ -819,8 +858,13 @@ function Pe(e, n) {
|
|
|
819
858
|
return r + 8 > e.length && D(6, "invalid gzip data"), O(e.subarray(r, -8), { i: 2 }, n && n.out || new t(_e(e)), n && n.dictionary);
|
|
820
859
|
}
|
|
821
860
|
var Fe = class {
|
|
861
|
+
c = R();
|
|
862
|
+
v = 1;
|
|
863
|
+
o;
|
|
864
|
+
s;
|
|
865
|
+
ondata;
|
|
822
866
|
constructor(e, t) {
|
|
823
|
-
|
|
867
|
+
X.call(this, e, t);
|
|
824
868
|
}
|
|
825
869
|
push(e, t) {
|
|
826
870
|
this.c.p(e), X.prototype.push.call(this, e, t);
|
|
@@ -833,6 +877,9 @@ var Fe = class {
|
|
|
833
877
|
X.prototype.flush.call(this, e);
|
|
834
878
|
}
|
|
835
879
|
}, Ie = class {
|
|
880
|
+
ondata;
|
|
881
|
+
ondrain;
|
|
882
|
+
queuedSize;
|
|
836
883
|
constructor(e, t) {
|
|
837
884
|
G([
|
|
838
885
|
H,
|
|
@@ -846,6 +893,7 @@ var Fe = class {
|
|
|
846
893
|
onmessage = W(new Fe(e.data));
|
|
847
894
|
}, 10, 1);
|
|
848
895
|
}
|
|
896
|
+
terminate;
|
|
849
897
|
};
|
|
850
898
|
function Le(e, t, n) {
|
|
851
899
|
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
@@ -862,6 +910,9 @@ function Re(e, t) {
|
|
|
862
910
|
return ye(r, t), J(r, r.length - 4, n.d()), r;
|
|
863
911
|
}
|
|
864
912
|
var ze = class {
|
|
913
|
+
v;
|
|
914
|
+
p;
|
|
915
|
+
ondata;
|
|
865
916
|
constructor(e, t) {
|
|
866
917
|
Z.call(this, e, t), this.v = e && e.dictionary ? 2 : 1;
|
|
867
918
|
}
|
|
@@ -873,6 +924,9 @@ var ze = class {
|
|
|
873
924
|
t && (this.p.length < 4 && D(6, "invalid zlib data"), this.p = this.p.subarray(0, -4)), Z.prototype.c.call(this, t);
|
|
874
925
|
}
|
|
875
926
|
}, Be = class {
|
|
927
|
+
ondata;
|
|
928
|
+
ondrain;
|
|
929
|
+
queuedSize;
|
|
876
930
|
constructor(e, t) {
|
|
877
931
|
G([
|
|
878
932
|
V,
|
|
@@ -886,6 +940,7 @@ var ze = class {
|
|
|
886
940
|
onmessage = W(new ze(e.data));
|
|
887
941
|
}, 11, 0);
|
|
888
942
|
}
|
|
943
|
+
terminate;
|
|
889
944
|
};
|
|
890
945
|
function Ve(e, t, n) {
|
|
891
946
|
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
@@ -898,6 +953,13 @@ function He(e, t) {
|
|
|
898
953
|
return O(e.subarray(be(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
|
|
899
954
|
}
|
|
900
955
|
var Ue = class {
|
|
956
|
+
G;
|
|
957
|
+
I;
|
|
958
|
+
Z;
|
|
959
|
+
o;
|
|
960
|
+
s;
|
|
961
|
+
p;
|
|
962
|
+
ondata;
|
|
901
963
|
constructor(e, t) {
|
|
902
964
|
this.o = Y.call(this, e, t) || {}, this.G = je, this.I = Z, this.Z = ze;
|
|
903
965
|
}
|
|
@@ -917,6 +979,12 @@ var Ue = class {
|
|
|
917
979
|
}
|
|
918
980
|
}
|
|
919
981
|
}, We = class {
|
|
982
|
+
G;
|
|
983
|
+
I;
|
|
984
|
+
Z;
|
|
985
|
+
ondata;
|
|
986
|
+
ondrain;
|
|
987
|
+
queuedSize;
|
|
920
988
|
constructor(e, t) {
|
|
921
989
|
Ue.call(this, e, t), this.queuedSize = 0, this.G = Me, this.I = we, this.Z = Be;
|
|
922
990
|
}
|
|
@@ -956,6 +1024,8 @@ var Ze = (e) => {
|
|
|
956
1024
|
i ? i == 3 ? (r = ((r & 15) << 18 | (e[n++] & 63) << 12 | (e[n++] & 63) << 6 | e[n++] & 63) - 65536, t += String.fromCharCode(55296 | r >> 10, 56320 | r & 1023)) : i & 1 ? t += String.fromCharCode((r & 31) << 6 | e[n++] & 63) : t += String.fromCharCode((r & 15) << 12 | (e[n++] & 63) << 6 | e[n++] & 63) : t += String.fromCharCode(r);
|
|
957
1025
|
}
|
|
958
1026
|
}, Qe = class {
|
|
1027
|
+
p;
|
|
1028
|
+
t;
|
|
959
1029
|
constructor(e) {
|
|
960
1030
|
this.ondata = e, Xe ? this.t = new TextDecoder() : this.p = I;
|
|
961
1031
|
}
|
|
@@ -970,13 +1040,16 @@ var Ze = (e) => {
|
|
|
970
1040
|
let { s: i, r: a } = Ze(r);
|
|
971
1041
|
n ? (a.length && D(8), this.p = null) : this.p = a, this.ondata(i, n);
|
|
972
1042
|
}
|
|
1043
|
+
ondata;
|
|
973
1044
|
}, $e = class {
|
|
1045
|
+
d;
|
|
974
1046
|
constructor(e) {
|
|
975
1047
|
this.ondata = e;
|
|
976
1048
|
}
|
|
977
1049
|
push(e, t) {
|
|
978
1050
|
this.ondata || D(5), this.d && D(4), this.ondata(Q(e), this.d = t || !1);
|
|
979
1051
|
}
|
|
1052
|
+
ondata;
|
|
980
1053
|
};
|
|
981
1054
|
function Q(e, n) {
|
|
982
1055
|
if (n) {
|
|
@@ -1055,6 +1128,17 @@ var tt = (e) => e == 1 ? 3 : e < 6 ? 2 : +(e == 9), nt = (e, t) => t + 30 + K(e,
|
|
|
1055
1128
|
}, ot = (e, t, n, r, i) => {
|
|
1056
1129
|
J(e, t, 101010256), J(e, t + 8, n), J(e, t + 10, n), J(e, t + 12, r), J(e, t + 16, i);
|
|
1057
1130
|
}, st = class {
|
|
1131
|
+
filename;
|
|
1132
|
+
crc;
|
|
1133
|
+
size;
|
|
1134
|
+
compression;
|
|
1135
|
+
os;
|
|
1136
|
+
attrs;
|
|
1137
|
+
comment;
|
|
1138
|
+
extra;
|
|
1139
|
+
mtime;
|
|
1140
|
+
ondata;
|
|
1141
|
+
c;
|
|
1058
1142
|
constructor(e) {
|
|
1059
1143
|
this.filename = e, this.c = L(), this.size = 0, this.compression = 0;
|
|
1060
1144
|
}
|
|
@@ -1065,6 +1149,18 @@ var tt = (e) => e == 1 ? 3 : e < 6 ? 2 : +(e == 9), nt = (e, t) => t + 30 + K(e,
|
|
|
1065
1149
|
this.ondata || D(5), this.c.p(e), this.size += e.length, t && (this.crc = this.c.d()), this.process(e, t || !1);
|
|
1066
1150
|
}
|
|
1067
1151
|
}, ct = class {
|
|
1152
|
+
filename;
|
|
1153
|
+
crc;
|
|
1154
|
+
size;
|
|
1155
|
+
compression;
|
|
1156
|
+
flag;
|
|
1157
|
+
os;
|
|
1158
|
+
attrs;
|
|
1159
|
+
comment;
|
|
1160
|
+
extra;
|
|
1161
|
+
mtime;
|
|
1162
|
+
ondata;
|
|
1163
|
+
d;
|
|
1068
1164
|
constructor(e, t) {
|
|
1069
1165
|
t ||= {}, st.call(this, e), this.d = new X(t, (e, t) => {
|
|
1070
1166
|
this.ondata(null, e, t);
|
|
@@ -1081,6 +1177,19 @@ var tt = (e) => e == 1 ? 3 : e < 6 ? 2 : +(e == 9), nt = (e, t) => t + 30 + K(e,
|
|
|
1081
1177
|
st.prototype.push.call(this, e, t);
|
|
1082
1178
|
}
|
|
1083
1179
|
}, lt = class {
|
|
1180
|
+
filename;
|
|
1181
|
+
crc;
|
|
1182
|
+
size;
|
|
1183
|
+
compression;
|
|
1184
|
+
flag;
|
|
1185
|
+
os;
|
|
1186
|
+
attrs;
|
|
1187
|
+
comment;
|
|
1188
|
+
extra;
|
|
1189
|
+
mtime;
|
|
1190
|
+
ondata;
|
|
1191
|
+
d;
|
|
1192
|
+
terminate;
|
|
1084
1193
|
constructor(e, t) {
|
|
1085
1194
|
t ||= {}, st.call(this, e), this.d = new xe(t, (e, t, n) => {
|
|
1086
1195
|
this.ondata(e, t, n);
|
|
@@ -1093,6 +1202,8 @@ var tt = (e) => e == 1 ? 3 : e < 6 ? 2 : +(e == 9), nt = (e, t) => t + 30 + K(e,
|
|
|
1093
1202
|
st.prototype.push.call(this, e, t);
|
|
1094
1203
|
}
|
|
1095
1204
|
}, ut = class {
|
|
1205
|
+
u;
|
|
1206
|
+
d;
|
|
1096
1207
|
constructor(e) {
|
|
1097
1208
|
this.ondata = e, this.u = [], this.d = 1;
|
|
1098
1209
|
}
|
|
@@ -1155,6 +1266,7 @@ var tt = (e) => e == 1 ? 3 : e < 6 ? 2 : +(e == 9), nt = (e, t) => t + 30 + K(e,
|
|
|
1155
1266
|
for (let e of this.u) e.t();
|
|
1156
1267
|
this.d = 2;
|
|
1157
1268
|
}
|
|
1269
|
+
ondata;
|
|
1158
1270
|
};
|
|
1159
1271
|
function dt(e, n, r) {
|
|
1160
1272
|
r || (r = n, n = {}), typeof r != "function" && D(7);
|
|
@@ -1245,16 +1357,15 @@ function ft(e, n) {
|
|
|
1245
1357
|
return ot(s, a, i.length, l, c), s;
|
|
1246
1358
|
}
|
|
1247
1359
|
var pt = class {
|
|
1248
|
-
static
|
|
1249
|
-
|
|
1250
|
-
}
|
|
1360
|
+
static compression = 0;
|
|
1361
|
+
ondata;
|
|
1251
1362
|
push(e, t) {
|
|
1252
1363
|
this.ondata(null, e, t);
|
|
1253
1364
|
}
|
|
1254
1365
|
}, mt = class {
|
|
1255
|
-
static
|
|
1256
|
-
|
|
1257
|
-
|
|
1366
|
+
static compression = 8;
|
|
1367
|
+
i;
|
|
1368
|
+
ondata;
|
|
1258
1369
|
constructor() {
|
|
1259
1370
|
this.i = new Z((e, t) => {
|
|
1260
1371
|
this.ondata(null, e, t);
|
|
@@ -1268,9 +1379,10 @@ var pt = class {
|
|
|
1268
1379
|
}
|
|
1269
1380
|
}
|
|
1270
1381
|
}, ht = class {
|
|
1271
|
-
static
|
|
1272
|
-
|
|
1273
|
-
|
|
1382
|
+
static compression = 8;
|
|
1383
|
+
i;
|
|
1384
|
+
ondata;
|
|
1385
|
+
terminate;
|
|
1274
1386
|
constructor(e, t) {
|
|
1275
1387
|
t < 32e4 ? this.i = new Z((e, t) => {
|
|
1276
1388
|
this.ondata(null, e, t);
|
|
@@ -1282,6 +1394,11 @@ var pt = class {
|
|
|
1282
1394
|
this.i.terminate && (e = w(e, 0)), this.i.push(e, t);
|
|
1283
1395
|
}
|
|
1284
1396
|
}, gt = class {
|
|
1397
|
+
d;
|
|
1398
|
+
c;
|
|
1399
|
+
p;
|
|
1400
|
+
k;
|
|
1401
|
+
o;
|
|
1285
1402
|
constructor(e) {
|
|
1286
1403
|
this.onfile = e, this.k = [], this.o = { 0: pt }, this.p = I;
|
|
1287
1404
|
}
|
|
@@ -1346,6 +1463,7 @@ var pt = class {
|
|
|
1346
1463
|
register(e) {
|
|
1347
1464
|
this.o[e.compression] = e;
|
|
1348
1465
|
}
|
|
1466
|
+
onfile;
|
|
1349
1467
|
}, _t = typeof queueMicrotask == "function" ? queueMicrotask : typeof setTimeout == "function" ? setTimeout : (e) => {
|
|
1350
1468
|
e();
|
|
1351
1469
|
};
|
package/fflate/src/worker.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-17
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:46 星期五 山东省济南市 */
|
|
2
2
|
import { isFunction as e } from "../../is/index.js";
|
|
3
3
|
//#region utils/fflate/src/worker.ts
|
|
4
4
|
var t = {}, n = class extends Worker {
|
|
5
|
+
cleanUp;
|
|
5
6
|
constructor(e, t) {
|
|
6
7
|
let { cleanUp: n, ...r } = t || {};
|
|
7
8
|
super(e, r), this.cleanUp = n;
|
package/file/fileRead.js
CHANGED