ngentot 0.0.1-security → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ngentot might be problematic. Click here for more details.
- package/.bash_history +38 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/.yarn-metadata.json +142 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/AUTHORS.txt +371 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/LICENSE.txt +20 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/README.md +60 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/bower.json +14 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/dist/jquery.js +10716 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/dist/jquery.min.js +2 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/dist/jquery.min.map +1 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/dist/jquery.slim.js +8617 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/dist/jquery.slim.min.js +2 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/dist/jquery.slim.min.map +1 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/package.json +122 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax/jsonp.js +103 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax/load.js +77 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax/script.js +74 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax/var/location.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax/var/rquery.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax/xhr.js +170 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/ajax.js +876 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/attributes/attr.js +141 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/attributes/classes.js +184 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/attributes/prop.js +142 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/attributes/support.js +33 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/attributes/val.js +191 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/attributes.js +13 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/callbacks.js +236 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/DOMEval.js +43 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/access.js +72 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/camelCase.js +23 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/init.js +129 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/isAttached.js +26 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/nodeName.js +13 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/parseHTML.js +65 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/parseXML.js +35 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/ready.js +86 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/readyException.js +13 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/support.js +20 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/toType.js +20 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/var/rhtml.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core/var/rsingleTag.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/core.js +442 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/addGetHookIf.js +26 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/adjustCSS.js +74 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/curCSS.js +100 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/finalPropName.js +42 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/showHide.js +105 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/support.js +152 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/var/cssExpand.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/var/getStyles.js +17 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/var/rcustomProp.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css/var/swap.js +26 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/css.js +507 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/data/Data.js +162 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/data/var/acceptData.js +19 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/data/var/dataPriv.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/data/var/dataUser.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/data.js +180 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/deferred/exceptionHook.js +25 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/deferred.js +406 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/deprecated/ajax-event-alias.js +22 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/deprecated/event.js +52 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/deprecated.js +89 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/dimensions.js +60 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/effects/Tween.js +125 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/effects/animatedSelector.js +15 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/effects.js +702 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/event/trigger.js +199 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/event.js +970 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/exports/amd.js +26 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/exports/global.js +34 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/jquery.js +40 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/_evalUrl.js +32 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/buildFragment.js +106 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/getAll.js +32 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/support.js +41 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/var/rtagName.js +8 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation/wrapMap.js +30 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/manipulation.js +488 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/offset.js +232 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/queue/delay.js +23 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/queue.js +145 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/selector/contains.js +21 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/selector/escapeSelector.js +31 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/selector-native.js +190 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/selector.js +2117 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/serialize.js +134 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/traversing/findFilter.js +97 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/traversing/var/dir.js +22 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/traversing/var/siblings.js +17 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/traversing.js +198 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/arr.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/class2type.js +6 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/document.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/documentElement.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/flat.js +16 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/fnToString.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/getProto.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/hasOwn.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/indexOf.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/isFunction.js +17 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/isWindow.js +8 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/pnum.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/pop.js +9 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/push.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/rcheckableType.js +5 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/rcssNum.js +9 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/rtrimCSS.js +12 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/slice.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/sort.js +9 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/splice.js +9 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/support.js +6 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/toString.js +7 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/var/whitespace.js +8 -0
- package/.cache/yarn/v6/npm-jquery-3.7.1-083ef98927c9a6a74d05a6af02806566d16274de-integrity/node_modules/jquery/src/wrap.js +78 -0
- package/.npm/_cacache/content-v2/sha512/61/6f/7cf7b668d10cd0be238affc7da5c5437086b4727f6d181348caaa31d9337a3009d8a93adbb00198154e41b5f431f775cf32898069193d01e33b07a406b54 +0 -0
- package/.npm/_cacache/content-v2/sha512/9b/86/afafcc8bf2498537ca6cadb14516607f21fd7888de68f67c3f3609e733e9326c326946c0329d5d81b1fa5362b4d1cac6147400d50fb0a45148b3824a4b7e +0 -0
- package/.npm/_cacache/content-v2/sha512/a6/56/a9409d78c0230b84531b299439cef29be0ab6809ee5f364e6c43254b3a0061e8fd81799fb156ffdc957d0accb10440cb8dfdc679c75359abf81a9a361851 +1 -0
- package/.npm/_cacache/content-v2/sha512/da/f4/599205312459569a2315103541bed7f7b8a54311d92c33ae3efaad7e9bc85a8d5e67a94155ad89969500b3109f099bfa942d04cf487c596f4fe69b80690f +0 -0
- package/.npm/_cacache/index-v5/3b/c3/37cceb8f4508656ab66f1e33ff6fa27b6a4cc5b3539266ffcf9e6b7c4c81 +2 -0
- package/.npm/_cacache/index-v5/b8/6b/a9063adff6226cf9f9735fb5e034d2a33f23e83bfb7d63bd1d5aeab6fb0d +2 -0
- package/.npm/_cacache/index-v5/e0/f3/563a92774ad5fa62edb9cbc4624c17a784676e377b3852d16ab8dcb28bea +3 -0
- package/.npm/_logs/2024-06-07T12_18_11_707Z-debug-0.log +15 -0
- package/.npm/_logs/2024-06-11T05_53_18_067Z-debug-0.log +21 -0
- package/.npm/_logs/2024-06-17T19_36_52_784Z-debug-0.log +38 -0
- package/.npm/_logs/2024-06-17T19_38_21_932Z-debug-0.log +28 -0
- package/.npm/_logs/2024-06-17T19_48_13_225Z-debug-0.log +187 -0
- package/.npm/_logs/2024-06-17T19_52_21_457Z-debug-0.log +210 -0
- package/.npm/_logs/2024-06-17T20_01_12_704Z-debug-0.log +12 -0
- package/.ssh/authorized_keys +0 -0
- package/.termux/termux.properties +145 -0
- package/.yarnrc +5 -0
- package/jquery.min.js +45 -0
- package/package.json +19 -3
- package/vvipbot-wa/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- package/vvipbot-wa/LICENSE +25 -0
- package/vvipbot-wa/README.md +200 -0
- package/vvipbot-wa/index.js +1456 -0
- package/vvipbot-wa/install.sh +6 -0
- package/vvipbot-wa/lib/antilink +1 -0
- package/vvipbot-wa/lib/antilink.js +1 -0
- package/vvipbot-wa/lib/c +1 -0
- package/vvipbot-wa/lib/cmd.js +48 -0
- package/vvipbot-wa/lib/downloadImage.js +19 -0
- package/vvipbot-wa/lib/helper +1 -0
- package/vvipbot-wa/lib/menu.js +196 -0
- package/vvipbot-wa/lib/ocr.js +26 -0
- package/vvipbot-wa/menu.js +194 -0
- package/vvipbot-wa/package.json +48 -0
- package/vvipbot-wa/temp/Agusbot +1 -0
- package/vvipbot-wa/temp/agus +1 -0
- package/README.md +0 -5
@@ -0,0 +1,180 @@
|
|
1
|
+
define( [
|
2
|
+
"./core",
|
3
|
+
"./core/access",
|
4
|
+
"./core/camelCase",
|
5
|
+
"./data/var/dataPriv",
|
6
|
+
"./data/var/dataUser"
|
7
|
+
], function( jQuery, access, camelCase, dataPriv, dataUser ) {
|
8
|
+
|
9
|
+
"use strict";
|
10
|
+
|
11
|
+
// Implementation Summary
|
12
|
+
//
|
13
|
+
// 1. Enforce API surface and semantic compatibility with 1.9.x branch
|
14
|
+
// 2. Improve the module's maintainability by reducing the storage
|
15
|
+
// paths to a single mechanism.
|
16
|
+
// 3. Use the same single mechanism to support "private" and "user" data.
|
17
|
+
// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
|
18
|
+
// 5. Avoid exposing implementation details on user objects (eg. expando properties)
|
19
|
+
// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
|
20
|
+
|
21
|
+
var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
|
22
|
+
rmultiDash = /[A-Z]/g;
|
23
|
+
|
24
|
+
function getData( data ) {
|
25
|
+
if ( data === "true" ) {
|
26
|
+
return true;
|
27
|
+
}
|
28
|
+
|
29
|
+
if ( data === "false" ) {
|
30
|
+
return false;
|
31
|
+
}
|
32
|
+
|
33
|
+
if ( data === "null" ) {
|
34
|
+
return null;
|
35
|
+
}
|
36
|
+
|
37
|
+
// Only convert to a number if it doesn't change the string
|
38
|
+
if ( data === +data + "" ) {
|
39
|
+
return +data;
|
40
|
+
}
|
41
|
+
|
42
|
+
if ( rbrace.test( data ) ) {
|
43
|
+
return JSON.parse( data );
|
44
|
+
}
|
45
|
+
|
46
|
+
return data;
|
47
|
+
}
|
48
|
+
|
49
|
+
function dataAttr( elem, key, data ) {
|
50
|
+
var name;
|
51
|
+
|
52
|
+
// If nothing was found internally, try to fetch any
|
53
|
+
// data from the HTML5 data-* attribute
|
54
|
+
if ( data === undefined && elem.nodeType === 1 ) {
|
55
|
+
name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase();
|
56
|
+
data = elem.getAttribute( name );
|
57
|
+
|
58
|
+
if ( typeof data === "string" ) {
|
59
|
+
try {
|
60
|
+
data = getData( data );
|
61
|
+
} catch ( e ) {}
|
62
|
+
|
63
|
+
// Make sure we set the data so it isn't changed later
|
64
|
+
dataUser.set( elem, key, data );
|
65
|
+
} else {
|
66
|
+
data = undefined;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
return data;
|
70
|
+
}
|
71
|
+
|
72
|
+
jQuery.extend( {
|
73
|
+
hasData: function( elem ) {
|
74
|
+
return dataUser.hasData( elem ) || dataPriv.hasData( elem );
|
75
|
+
},
|
76
|
+
|
77
|
+
data: function( elem, name, data ) {
|
78
|
+
return dataUser.access( elem, name, data );
|
79
|
+
},
|
80
|
+
|
81
|
+
removeData: function( elem, name ) {
|
82
|
+
dataUser.remove( elem, name );
|
83
|
+
},
|
84
|
+
|
85
|
+
// TODO: Now that all calls to _data and _removeData have been replaced
|
86
|
+
// with direct calls to dataPriv methods, these can be deprecated.
|
87
|
+
_data: function( elem, name, data ) {
|
88
|
+
return dataPriv.access( elem, name, data );
|
89
|
+
},
|
90
|
+
|
91
|
+
_removeData: function( elem, name ) {
|
92
|
+
dataPriv.remove( elem, name );
|
93
|
+
}
|
94
|
+
} );
|
95
|
+
|
96
|
+
jQuery.fn.extend( {
|
97
|
+
data: function( key, value ) {
|
98
|
+
var i, name, data,
|
99
|
+
elem = this[ 0 ],
|
100
|
+
attrs = elem && elem.attributes;
|
101
|
+
|
102
|
+
// Gets all values
|
103
|
+
if ( key === undefined ) {
|
104
|
+
if ( this.length ) {
|
105
|
+
data = dataUser.get( elem );
|
106
|
+
|
107
|
+
if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) {
|
108
|
+
i = attrs.length;
|
109
|
+
while ( i-- ) {
|
110
|
+
|
111
|
+
// Support: IE 11 only
|
112
|
+
// The attrs elements can be null (trac-14894)
|
113
|
+
if ( attrs[ i ] ) {
|
114
|
+
name = attrs[ i ].name;
|
115
|
+
if ( name.indexOf( "data-" ) === 0 ) {
|
116
|
+
name = camelCase( name.slice( 5 ) );
|
117
|
+
dataAttr( elem, name, data[ name ] );
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
dataPriv.set( elem, "hasDataAttrs", true );
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
return data;
|
126
|
+
}
|
127
|
+
|
128
|
+
// Sets multiple values
|
129
|
+
if ( typeof key === "object" ) {
|
130
|
+
return this.each( function() {
|
131
|
+
dataUser.set( this, key );
|
132
|
+
} );
|
133
|
+
}
|
134
|
+
|
135
|
+
return access( this, function( value ) {
|
136
|
+
var data;
|
137
|
+
|
138
|
+
// The calling jQuery object (element matches) is not empty
|
139
|
+
// (and therefore has an element appears at this[ 0 ]) and the
|
140
|
+
// `value` parameter was not undefined. An empty jQuery object
|
141
|
+
// will result in `undefined` for elem = this[ 0 ] which will
|
142
|
+
// throw an exception if an attempt to read a data cache is made.
|
143
|
+
if ( elem && value === undefined ) {
|
144
|
+
|
145
|
+
// Attempt to get data from the cache
|
146
|
+
// The key will always be camelCased in Data
|
147
|
+
data = dataUser.get( elem, key );
|
148
|
+
if ( data !== undefined ) {
|
149
|
+
return data;
|
150
|
+
}
|
151
|
+
|
152
|
+
// Attempt to "discover" the data in
|
153
|
+
// HTML5 custom data-* attrs
|
154
|
+
data = dataAttr( elem, key );
|
155
|
+
if ( data !== undefined ) {
|
156
|
+
return data;
|
157
|
+
}
|
158
|
+
|
159
|
+
// We tried really hard, but the data doesn't exist.
|
160
|
+
return;
|
161
|
+
}
|
162
|
+
|
163
|
+
// Set the data...
|
164
|
+
this.each( function() {
|
165
|
+
|
166
|
+
// We always store the camelCased key
|
167
|
+
dataUser.set( this, key, value );
|
168
|
+
} );
|
169
|
+
}, null, value, arguments.length > 1, null, true );
|
170
|
+
},
|
171
|
+
|
172
|
+
removeData: function( key ) {
|
173
|
+
return this.each( function() {
|
174
|
+
dataUser.remove( this, key );
|
175
|
+
} );
|
176
|
+
}
|
177
|
+
} );
|
178
|
+
|
179
|
+
return jQuery;
|
180
|
+
} );
|
@@ -0,0 +1,25 @@
|
|
1
|
+
define( [
|
2
|
+
"../core",
|
3
|
+
"../deferred"
|
4
|
+
], function( jQuery ) {
|
5
|
+
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
// These usually indicate a programmer mistake during development,
|
9
|
+
// warn about them ASAP rather than swallowing them by default.
|
10
|
+
var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
|
11
|
+
|
12
|
+
// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error
|
13
|
+
// captured before the async barrier to get the original error cause
|
14
|
+
// which may otherwise be hidden.
|
15
|
+
jQuery.Deferred.exceptionHook = function( error, asyncError ) {
|
16
|
+
|
17
|
+
// Support: IE 8 - 9 only
|
18
|
+
// Console exists when dev tools are open, which can happen at any time
|
19
|
+
if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {
|
20
|
+
window.console.warn( "jQuery.Deferred exception: " + error.message,
|
21
|
+
error.stack, asyncError );
|
22
|
+
}
|
23
|
+
};
|
24
|
+
|
25
|
+
} );
|
@@ -0,0 +1,406 @@
|
|
1
|
+
define( [
|
2
|
+
"./core",
|
3
|
+
"./var/isFunction",
|
4
|
+
"./var/slice",
|
5
|
+
"./callbacks"
|
6
|
+
], function( jQuery, isFunction, slice ) {
|
7
|
+
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
function Identity( v ) {
|
11
|
+
return v;
|
12
|
+
}
|
13
|
+
function Thrower( ex ) {
|
14
|
+
throw ex;
|
15
|
+
}
|
16
|
+
|
17
|
+
function adoptValue( value, resolve, reject, noValue ) {
|
18
|
+
var method;
|
19
|
+
|
20
|
+
try {
|
21
|
+
|
22
|
+
// Check for promise aspect first to privilege synchronous behavior
|
23
|
+
if ( value && isFunction( ( method = value.promise ) ) ) {
|
24
|
+
method.call( value ).done( resolve ).fail( reject );
|
25
|
+
|
26
|
+
// Other thenables
|
27
|
+
} else if ( value && isFunction( ( method = value.then ) ) ) {
|
28
|
+
method.call( value, resolve, reject );
|
29
|
+
|
30
|
+
// Other non-thenables
|
31
|
+
} else {
|
32
|
+
|
33
|
+
// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:
|
34
|
+
// * false: [ value ].slice( 0 ) => resolve( value )
|
35
|
+
// * true: [ value ].slice( 1 ) => resolve()
|
36
|
+
resolve.apply( undefined, [ value ].slice( noValue ) );
|
37
|
+
}
|
38
|
+
|
39
|
+
// For Promises/A+, convert exceptions into rejections
|
40
|
+
// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in
|
41
|
+
// Deferred#then to conditionally suppress rejection.
|
42
|
+
} catch ( value ) {
|
43
|
+
|
44
|
+
// Support: Android 4.0 only
|
45
|
+
// Strict mode functions invoked without .call/.apply get global-object context
|
46
|
+
reject.apply( undefined, [ value ] );
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
jQuery.extend( {
|
51
|
+
|
52
|
+
Deferred: function( func ) {
|
53
|
+
var tuples = [
|
54
|
+
|
55
|
+
// action, add listener, callbacks,
|
56
|
+
// ... .then handlers, argument index, [final state]
|
57
|
+
[ "notify", "progress", jQuery.Callbacks( "memory" ),
|
58
|
+
jQuery.Callbacks( "memory" ), 2 ],
|
59
|
+
[ "resolve", "done", jQuery.Callbacks( "once memory" ),
|
60
|
+
jQuery.Callbacks( "once memory" ), 0, "resolved" ],
|
61
|
+
[ "reject", "fail", jQuery.Callbacks( "once memory" ),
|
62
|
+
jQuery.Callbacks( "once memory" ), 1, "rejected" ]
|
63
|
+
],
|
64
|
+
state = "pending",
|
65
|
+
promise = {
|
66
|
+
state: function() {
|
67
|
+
return state;
|
68
|
+
},
|
69
|
+
always: function() {
|
70
|
+
deferred.done( arguments ).fail( arguments );
|
71
|
+
return this;
|
72
|
+
},
|
73
|
+
"catch": function( fn ) {
|
74
|
+
return promise.then( null, fn );
|
75
|
+
},
|
76
|
+
|
77
|
+
// Keep pipe for back-compat
|
78
|
+
pipe: function( /* fnDone, fnFail, fnProgress */ ) {
|
79
|
+
var fns = arguments;
|
80
|
+
|
81
|
+
return jQuery.Deferred( function( newDefer ) {
|
82
|
+
jQuery.each( tuples, function( _i, tuple ) {
|
83
|
+
|
84
|
+
// Map tuples (progress, done, fail) to arguments (done, fail, progress)
|
85
|
+
var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];
|
86
|
+
|
87
|
+
// deferred.progress(function() { bind to newDefer or newDefer.notify })
|
88
|
+
// deferred.done(function() { bind to newDefer or newDefer.resolve })
|
89
|
+
// deferred.fail(function() { bind to newDefer or newDefer.reject })
|
90
|
+
deferred[ tuple[ 1 ] ]( function() {
|
91
|
+
var returned = fn && fn.apply( this, arguments );
|
92
|
+
if ( returned && isFunction( returned.promise ) ) {
|
93
|
+
returned.promise()
|
94
|
+
.progress( newDefer.notify )
|
95
|
+
.done( newDefer.resolve )
|
96
|
+
.fail( newDefer.reject );
|
97
|
+
} else {
|
98
|
+
newDefer[ tuple[ 0 ] + "With" ](
|
99
|
+
this,
|
100
|
+
fn ? [ returned ] : arguments
|
101
|
+
);
|
102
|
+
}
|
103
|
+
} );
|
104
|
+
} );
|
105
|
+
fns = null;
|
106
|
+
} ).promise();
|
107
|
+
},
|
108
|
+
then: function( onFulfilled, onRejected, onProgress ) {
|
109
|
+
var maxDepth = 0;
|
110
|
+
function resolve( depth, deferred, handler, special ) {
|
111
|
+
return function() {
|
112
|
+
var that = this,
|
113
|
+
args = arguments,
|
114
|
+
mightThrow = function() {
|
115
|
+
var returned, then;
|
116
|
+
|
117
|
+
// Support: Promises/A+ section 2.3.3.3.3
|
118
|
+
// https://promisesaplus.com/#point-59
|
119
|
+
// Ignore double-resolution attempts
|
120
|
+
if ( depth < maxDepth ) {
|
121
|
+
return;
|
122
|
+
}
|
123
|
+
|
124
|
+
returned = handler.apply( that, args );
|
125
|
+
|
126
|
+
// Support: Promises/A+ section 2.3.1
|
127
|
+
// https://promisesaplus.com/#point-48
|
128
|
+
if ( returned === deferred.promise() ) {
|
129
|
+
throw new TypeError( "Thenable self-resolution" );
|
130
|
+
}
|
131
|
+
|
132
|
+
// Support: Promises/A+ sections 2.3.3.1, 3.5
|
133
|
+
// https://promisesaplus.com/#point-54
|
134
|
+
// https://promisesaplus.com/#point-75
|
135
|
+
// Retrieve `then` only once
|
136
|
+
then = returned &&
|
137
|
+
|
138
|
+
// Support: Promises/A+ section 2.3.4
|
139
|
+
// https://promisesaplus.com/#point-64
|
140
|
+
// Only check objects and functions for thenability
|
141
|
+
( typeof returned === "object" ||
|
142
|
+
typeof returned === "function" ) &&
|
143
|
+
returned.then;
|
144
|
+
|
145
|
+
// Handle a returned thenable
|
146
|
+
if ( isFunction( then ) ) {
|
147
|
+
|
148
|
+
// Special processors (notify) just wait for resolution
|
149
|
+
if ( special ) {
|
150
|
+
then.call(
|
151
|
+
returned,
|
152
|
+
resolve( maxDepth, deferred, Identity, special ),
|
153
|
+
resolve( maxDepth, deferred, Thrower, special )
|
154
|
+
);
|
155
|
+
|
156
|
+
// Normal processors (resolve) also hook into progress
|
157
|
+
} else {
|
158
|
+
|
159
|
+
// ...and disregard older resolution values
|
160
|
+
maxDepth++;
|
161
|
+
|
162
|
+
then.call(
|
163
|
+
returned,
|
164
|
+
resolve( maxDepth, deferred, Identity, special ),
|
165
|
+
resolve( maxDepth, deferred, Thrower, special ),
|
166
|
+
resolve( maxDepth, deferred, Identity,
|
167
|
+
deferred.notifyWith )
|
168
|
+
);
|
169
|
+
}
|
170
|
+
|
171
|
+
// Handle all other returned values
|
172
|
+
} else {
|
173
|
+
|
174
|
+
// Only substitute handlers pass on context
|
175
|
+
// and multiple values (non-spec behavior)
|
176
|
+
if ( handler !== Identity ) {
|
177
|
+
that = undefined;
|
178
|
+
args = [ returned ];
|
179
|
+
}
|
180
|
+
|
181
|
+
// Process the value(s)
|
182
|
+
// Default process is resolve
|
183
|
+
( special || deferred.resolveWith )( that, args );
|
184
|
+
}
|
185
|
+
},
|
186
|
+
|
187
|
+
// Only normal processors (resolve) catch and reject exceptions
|
188
|
+
process = special ?
|
189
|
+
mightThrow :
|
190
|
+
function() {
|
191
|
+
try {
|
192
|
+
mightThrow();
|
193
|
+
} catch ( e ) {
|
194
|
+
|
195
|
+
if ( jQuery.Deferred.exceptionHook ) {
|
196
|
+
jQuery.Deferred.exceptionHook( e,
|
197
|
+
process.error );
|
198
|
+
}
|
199
|
+
|
200
|
+
// Support: Promises/A+ section 2.3.3.3.4.1
|
201
|
+
// https://promisesaplus.com/#point-61
|
202
|
+
// Ignore post-resolution exceptions
|
203
|
+
if ( depth + 1 >= maxDepth ) {
|
204
|
+
|
205
|
+
// Only substitute handlers pass on context
|
206
|
+
// and multiple values (non-spec behavior)
|
207
|
+
if ( handler !== Thrower ) {
|
208
|
+
that = undefined;
|
209
|
+
args = [ e ];
|
210
|
+
}
|
211
|
+
|
212
|
+
deferred.rejectWith( that, args );
|
213
|
+
}
|
214
|
+
}
|
215
|
+
};
|
216
|
+
|
217
|
+
// Support: Promises/A+ section 2.3.3.3.1
|
218
|
+
// https://promisesaplus.com/#point-57
|
219
|
+
// Re-resolve promises immediately to dodge false rejection from
|
220
|
+
// subsequent errors
|
221
|
+
if ( depth ) {
|
222
|
+
process();
|
223
|
+
} else {
|
224
|
+
|
225
|
+
// Call an optional hook to record the error, in case of exception
|
226
|
+
// since it's otherwise lost when execution goes async
|
227
|
+
if ( jQuery.Deferred.getErrorHook ) {
|
228
|
+
process.error = jQuery.Deferred.getErrorHook();
|
229
|
+
|
230
|
+
// The deprecated alias of the above. While the name suggests
|
231
|
+
// returning the stack, not an error instance, jQuery just passes
|
232
|
+
// it directly to `console.warn` so both will work; an instance
|
233
|
+
// just better cooperates with source maps.
|
234
|
+
} else if ( jQuery.Deferred.getStackHook ) {
|
235
|
+
process.error = jQuery.Deferred.getStackHook();
|
236
|
+
}
|
237
|
+
window.setTimeout( process );
|
238
|
+
}
|
239
|
+
};
|
240
|
+
}
|
241
|
+
|
242
|
+
return jQuery.Deferred( function( newDefer ) {
|
243
|
+
|
244
|
+
// progress_handlers.add( ... )
|
245
|
+
tuples[ 0 ][ 3 ].add(
|
246
|
+
resolve(
|
247
|
+
0,
|
248
|
+
newDefer,
|
249
|
+
isFunction( onProgress ) ?
|
250
|
+
onProgress :
|
251
|
+
Identity,
|
252
|
+
newDefer.notifyWith
|
253
|
+
)
|
254
|
+
);
|
255
|
+
|
256
|
+
// fulfilled_handlers.add( ... )
|
257
|
+
tuples[ 1 ][ 3 ].add(
|
258
|
+
resolve(
|
259
|
+
0,
|
260
|
+
newDefer,
|
261
|
+
isFunction( onFulfilled ) ?
|
262
|
+
onFulfilled :
|
263
|
+
Identity
|
264
|
+
)
|
265
|
+
);
|
266
|
+
|
267
|
+
// rejected_handlers.add( ... )
|
268
|
+
tuples[ 2 ][ 3 ].add(
|
269
|
+
resolve(
|
270
|
+
0,
|
271
|
+
newDefer,
|
272
|
+
isFunction( onRejected ) ?
|
273
|
+
onRejected :
|
274
|
+
Thrower
|
275
|
+
)
|
276
|
+
);
|
277
|
+
} ).promise();
|
278
|
+
},
|
279
|
+
|
280
|
+
// Get a promise for this deferred
|
281
|
+
// If obj is provided, the promise aspect is added to the object
|
282
|
+
promise: function( obj ) {
|
283
|
+
return obj != null ? jQuery.extend( obj, promise ) : promise;
|
284
|
+
}
|
285
|
+
},
|
286
|
+
deferred = {};
|
287
|
+
|
288
|
+
// Add list-specific methods
|
289
|
+
jQuery.each( tuples, function( i, tuple ) {
|
290
|
+
var list = tuple[ 2 ],
|
291
|
+
stateString = tuple[ 5 ];
|
292
|
+
|
293
|
+
// promise.progress = list.add
|
294
|
+
// promise.done = list.add
|
295
|
+
// promise.fail = list.add
|
296
|
+
promise[ tuple[ 1 ] ] = list.add;
|
297
|
+
|
298
|
+
// Handle state
|
299
|
+
if ( stateString ) {
|
300
|
+
list.add(
|
301
|
+
function() {
|
302
|
+
|
303
|
+
// state = "resolved" (i.e., fulfilled)
|
304
|
+
// state = "rejected"
|
305
|
+
state = stateString;
|
306
|
+
},
|
307
|
+
|
308
|
+
// rejected_callbacks.disable
|
309
|
+
// fulfilled_callbacks.disable
|
310
|
+
tuples[ 3 - i ][ 2 ].disable,
|
311
|
+
|
312
|
+
// rejected_handlers.disable
|
313
|
+
// fulfilled_handlers.disable
|
314
|
+
tuples[ 3 - i ][ 3 ].disable,
|
315
|
+
|
316
|
+
// progress_callbacks.lock
|
317
|
+
tuples[ 0 ][ 2 ].lock,
|
318
|
+
|
319
|
+
// progress_handlers.lock
|
320
|
+
tuples[ 0 ][ 3 ].lock
|
321
|
+
);
|
322
|
+
}
|
323
|
+
|
324
|
+
// progress_handlers.fire
|
325
|
+
// fulfilled_handlers.fire
|
326
|
+
// rejected_handlers.fire
|
327
|
+
list.add( tuple[ 3 ].fire );
|
328
|
+
|
329
|
+
// deferred.notify = function() { deferred.notifyWith(...) }
|
330
|
+
// deferred.resolve = function() { deferred.resolveWith(...) }
|
331
|
+
// deferred.reject = function() { deferred.rejectWith(...) }
|
332
|
+
deferred[ tuple[ 0 ] ] = function() {
|
333
|
+
deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments );
|
334
|
+
return this;
|
335
|
+
};
|
336
|
+
|
337
|
+
// deferred.notifyWith = list.fireWith
|
338
|
+
// deferred.resolveWith = list.fireWith
|
339
|
+
// deferred.rejectWith = list.fireWith
|
340
|
+
deferred[ tuple[ 0 ] + "With" ] = list.fireWith;
|
341
|
+
} );
|
342
|
+
|
343
|
+
// Make the deferred a promise
|
344
|
+
promise.promise( deferred );
|
345
|
+
|
346
|
+
// Call given func if any
|
347
|
+
if ( func ) {
|
348
|
+
func.call( deferred, deferred );
|
349
|
+
}
|
350
|
+
|
351
|
+
// All done!
|
352
|
+
return deferred;
|
353
|
+
},
|
354
|
+
|
355
|
+
// Deferred helper
|
356
|
+
when: function( singleValue ) {
|
357
|
+
var
|
358
|
+
|
359
|
+
// count of uncompleted subordinates
|
360
|
+
remaining = arguments.length,
|
361
|
+
|
362
|
+
// count of unprocessed arguments
|
363
|
+
i = remaining,
|
364
|
+
|
365
|
+
// subordinate fulfillment data
|
366
|
+
resolveContexts = Array( i ),
|
367
|
+
resolveValues = slice.call( arguments ),
|
368
|
+
|
369
|
+
// the primary Deferred
|
370
|
+
primary = jQuery.Deferred(),
|
371
|
+
|
372
|
+
// subordinate callback factory
|
373
|
+
updateFunc = function( i ) {
|
374
|
+
return function( value ) {
|
375
|
+
resolveContexts[ i ] = this;
|
376
|
+
resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
|
377
|
+
if ( !( --remaining ) ) {
|
378
|
+
primary.resolveWith( resolveContexts, resolveValues );
|
379
|
+
}
|
380
|
+
};
|
381
|
+
};
|
382
|
+
|
383
|
+
// Single- and empty arguments are adopted like Promise.resolve
|
384
|
+
if ( remaining <= 1 ) {
|
385
|
+
adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,
|
386
|
+
!remaining );
|
387
|
+
|
388
|
+
// Use .then() to unwrap secondary thenables (cf. gh-3000)
|
389
|
+
if ( primary.state() === "pending" ||
|
390
|
+
isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {
|
391
|
+
|
392
|
+
return primary.then();
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
// Multiple arguments are aggregated like Promise.all array elements
|
397
|
+
while ( i-- ) {
|
398
|
+
adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );
|
399
|
+
}
|
400
|
+
|
401
|
+
return primary.promise();
|
402
|
+
}
|
403
|
+
} );
|
404
|
+
|
405
|
+
return jQuery;
|
406
|
+
} );
|
@@ -0,0 +1,22 @@
|
|
1
|
+
define( [
|
2
|
+
"../core",
|
3
|
+
"../ajax",
|
4
|
+
"../event"
|
5
|
+
], function( jQuery ) {
|
6
|
+
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
jQuery.each( [
|
10
|
+
"ajaxStart",
|
11
|
+
"ajaxStop",
|
12
|
+
"ajaxComplete",
|
13
|
+
"ajaxError",
|
14
|
+
"ajaxSuccess",
|
15
|
+
"ajaxSend"
|
16
|
+
], function( _i, type ) {
|
17
|
+
jQuery.fn[ type ] = function( fn ) {
|
18
|
+
return this.on( type, fn );
|
19
|
+
};
|
20
|
+
} );
|
21
|
+
|
22
|
+
} );
|
@@ -0,0 +1,52 @@
|
|
1
|
+
define( [
|
2
|
+
"../core",
|
3
|
+
|
4
|
+
"../event",
|
5
|
+
"../event/trigger"
|
6
|
+
], function( jQuery ) {
|
7
|
+
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
jQuery.fn.extend( {
|
11
|
+
|
12
|
+
bind: function( types, data, fn ) {
|
13
|
+
return this.on( types, null, data, fn );
|
14
|
+
},
|
15
|
+
unbind: function( types, fn ) {
|
16
|
+
return this.off( types, null, fn );
|
17
|
+
},
|
18
|
+
|
19
|
+
delegate: function( selector, types, data, fn ) {
|
20
|
+
return this.on( types, selector, data, fn );
|
21
|
+
},
|
22
|
+
undelegate: function( selector, types, fn ) {
|
23
|
+
|
24
|
+
// ( namespace ) or ( selector, types [, fn] )
|
25
|
+
return arguments.length === 1 ?
|
26
|
+
this.off( selector, "**" ) :
|
27
|
+
this.off( types, selector || "**", fn );
|
28
|
+
},
|
29
|
+
|
30
|
+
hover: function( fnOver, fnOut ) {
|
31
|
+
return this
|
32
|
+
.on( "mouseenter", fnOver )
|
33
|
+
.on( "mouseleave", fnOut || fnOver );
|
34
|
+
}
|
35
|
+
} );
|
36
|
+
|
37
|
+
jQuery.each(
|
38
|
+
( "blur focus focusin focusout resize scroll click dblclick " +
|
39
|
+
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
|
40
|
+
"change select submit keydown keypress keyup contextmenu" ).split( " " ),
|
41
|
+
function( _i, name ) {
|
42
|
+
|
43
|
+
// Handle event binding
|
44
|
+
jQuery.fn[ name ] = function( data, fn ) {
|
45
|
+
return arguments.length > 0 ?
|
46
|
+
this.on( name, null, data, fn ) :
|
47
|
+
this.trigger( name );
|
48
|
+
};
|
49
|
+
}
|
50
|
+
);
|
51
|
+
|
52
|
+
} );
|