mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-13 02:59:15 +08:00
4 lines
181 KiB
JavaScript
4 lines
181 KiB
JavaScript
|
var ParamsSign=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}var n={},a={exports:{}},o=function(e){return e&&e.Math===Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||o("object"==typeof e&&e)||function(){return this}()||Function("return this")(),c=function(e){try{return!!e()}catch(e){return!0}},s=!c((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=s,l=Function.prototype,h=l.apply,f=l.call,g="object"==typeof Reflect&&Reflect.apply||(u?f.bind(h):function(){return f.apply(h,arguments)}),p=s,v=Function.prototype,d=v.call,b=p&&v.bind.bind(d,d),y=p?b:function(e){return function(){return d.apply(e,arguments)}},k=y,m=k({}.toString),w=k("".slice),_=function(e){return w(m(e),8,-1)},x=_,S=y,A=function(e){if("Function"===x(e))return S(e)},E="object"==typeof document&&document.all,O=void 0===E&&void 0!==E?function(e){return"function"==typeof e||e===E}:function(e){return"function"==typeof e},C={},T=!c((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),j=s,D=Function.prototype.call,P=j?D.bind(D):function(){return D.apply(D,arguments)},M={},R={}.propertyIsEnumerable,I=Object.getOwnPropertyDescriptor,z=I&&!R.call({1:2},1);M.f=z?function(e){var t=I(this,e);return!!t&&t.enumerable}:R;var B,L,N=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},H=c,W=_,F=Object,U=y("".split),Z=H((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"===W(e)?U(e,""):F(e)}:F,G=function(e){return null==e},K=G,X=TypeError,J=function(e){if(K(e))throw new X("Can't call method on "+e);return e},q=Z,Y=J,V=function(e){return q(Y(e))},Q=O,$=function(e){return"object"==typeof e?null!==e:Q(e)},ee={},te=ee,re=i,ne=O,ae=function(e){return ne(e)?e:void 0},oe=function(e,t){return arguments.length<2?ae(te[e])||ae(re[e]):te[e]&&te[e][t]||re[e]&&re[e][t]},ie=y({}.isPrototypeOf),ce="undefined"!=typeof navigator&&String(navigator.userAgent)||"",se=i,ue=ce,le=se.process,he=se.Deno,fe=le&&le.versions||he&&he.version,ge=fe&&fe.v8;ge&&(L=(B=ge.split("."))[0]>0&&B[0]<4?1:+(B[0]+B[1])),!L&&ue&&(!(B=ue.match(/Edge\/(\d+)/))||B[1]>=74)&&(B=ue.match(/Chrome\/(\d+)/))&&(L=+B[1]);var pe=L,ve=pe,de=c,be=i.String,ye=!!Object.getOwnPropertySymbols&&!de((function(){var e=Symbol("symbol detection");return!be(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),ke=ye&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,me=oe,we=O,_e=ie,xe=Object,Se=ke?function(e){return"symbol"==typeof e}:function(e){var t=me("Symbol");return we(t)&&_e(t.prototype,xe(e))},Ae=String,Ee=function(e){try{return Ae(e)}catch(e){return"Object"}},Oe=O,Ce=Ee,Te=TypeError,je=function(e){if(Oe(e))return e;throw new Te(Ce(e)+" is not a function")},De=je,Pe=G,Me=function(e,t){var r=e[t];return Pe(r)?void 0:De(r)},Re=P,Ie=O,ze=$,Be=TypeError,Le={exports:{}},Ne=i,He=Object.defineProperty,We=i,Fe=function(e,t){try{He(Ne,e,{value:t,configurable:!0,writable:!0})}catch(r){Ne[e]=t}return t},Ue="__core-js_shared__",Ze=Le.exports=We[Ue]||Fe(Ue,{});(Ze.versions||(Ze.versions=[])).push({version:"3.36.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Ge=Le.exports,Ke=function(e,t){return Ge[e]||(Ge[e]=t||{})},Xe=J,Je=Object,qe=function(e){return Je(Xe(e))},Ye=qe,Ve=y({}.hasOwnProperty),Qe=Object.hasOwn||function(e,t){return Ve(Ye(e),t)},$e=y,et=0,tt=Math.random(),rt=$e(1..to
|
||
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
|
e.exports=g=function(){return p},e.exports.__esModule=!0,e.exports.default=e.exports;var a,p={},v=Object.prototype,d=v.hasOwnProperty,b=r||function(e,t,r){e[t]=r.value},y="function"==typeof n?n:{},k=y.iterator||"@@iterator",m=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag";function _(e,t,n){return r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{_({},"")}catch(a){_=function(e,t,r){return e[t]=r}}function x(e,t,r,n){var a=t&&t.prototype instanceof j?t:j,i=o(a.prototype),c=new F(n||[]);return b(i,"_invoke",{value:L(e,r,c)}),i}function S(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}p.wrap=x;var A="suspendedStart",E="suspendedYield",O="executing",C="completed",T={};function j(){}function D(){}function P(){}var M={};_(M,k,(function(){return this}));var R=i&&i(i(U([])));R&&R!==v&&d.call(R,k)&&(M=R);var I=P.prototype=j.prototype=o(M);function z(e){var t;c(t=["next","throw","return"]).call(t,(function(t){_(e,t,(function(e){return this._invoke(t,e)}))}))}function B(e,r){function n(a,o,i,c){var s=S(e[a],e,o);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==t(l)&&d.call(l,"__await")?r.resolve(l.__await).then((function(e){n("next",e,i,c)}),(function(e){n("throw",e,i,c)})):r.resolve(l).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,c)}))}c(s.arg)}var a;b(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,a){n(e,t,r,a)}))}return a=a?a.then(o,o):o()}})}function L(e,t,r){var n=A;return function(o,i){if(n===O)throw Error("Generator is already running");if(n===C){if("throw"===o)throw i;return{value:a,done:!0}}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var s=N(c,r);if(s){if(s===T)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===A)throw n=C,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=O;var u=S(e,t,r);if("normal"===u.type){if(n=r.done?C:E,u.arg===T)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=C,r.method="throw",r.arg=u.arg)}}}function N(e,t){var r=t.method,n=e.iterator[r];if(n===a)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=a,N(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),T;var o=S(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,T;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=a),t.delegate=null,T):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,T)}function H(e){var t,r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),s(t=this.tryEntries).call(t,r)}function W(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],c(e).call(e,H,this),this.reset(!0)}function U(e){if(e||""===e){var r=e[k];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(d.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=a,t.done=!0,t};return o.next=o}}throw new TypeError(t(e)+" is not iterable")}return D.prototype=P,b(I,"constructor",{value:P,configurable:!0}),b(P,"constructor",{value:D,configurable:!0}),D.displayName=_(P,w,"GeneratorFunction"),p.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===D||"GeneratorFunction"===(t.displayName||t.name))},p.mark=function(e){return u?u(e,P):(e.__proto__=P,_(e,w,"GeneratorFunction")),e.prototype=o(I),e},p.awrap=function(e){return{__await:e}},z(B.prototype),_(B.prototype,m,(function(){return this})),p.AsyncIterator=B,p.async=function(e,t,r,n,a){void 0===a&&(a=l);var o=new B(x(e,t,r,n),a);return p.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},z(I),_(I,w,"Generator"),_(I,k,(function(){return this})),_(I,"toString",(function(){return"[object Generator]"})),p.keys=func
|