mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-15 00:09:20 +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")(),s=function(e){try{return!!e()}catch(e){return!0}},c=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=c,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=c,v=Function.prototype,b=v.call,d=p&&v.bind.bind(b,b),y=p?d:function(e){return function(){return b.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,C=void 0===E&&void 0!==E?function(e){return"function"==typeof e||e===E}:function(e){return"function"==typeof e},O={},j=!s((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=c,z=Function.prototype.call,D=T?z.bind(z):function(){return z.apply(z,arguments)},M={},P={}.propertyIsEnumerable,R=Object.getOwnPropertyDescriptor,I=R&&!P.call({1:2},1);M.f=I?function(e){var t=R(this,e);return!!t&&t.enumerable}:P;var B,L,N=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},H=s,U=_,F=Object,G=y("".split),W=H((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"===U(e)?G(e,""):F(e)}:F,Y=function(e){return null==e},K=Y,X=TypeError,q=function(e){if(K(e))throw new X("Can't call method on "+e);return e},J=W,Z=q,V=function(e){return J(Z(e))},Q=C,$=function(e){return"object"==typeof e?null!==e:Q(e)},ee={},te=ee,re=i,ne=C,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),se="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ce=i,ue=se,le=ce.process,he=ce.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,be=s,de=i.String,ye=!!Object.getOwnPropertySymbols&&!be((function(){var e=Symbol("symbol detection");return!de(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),ke=ye&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,me=oe,we=C,_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"}},Ce=C,Oe=Ee,je=TypeError,Te=function(e){if(Ce(e))return e;throw new je(Oe(e)+" is not a function")},ze=Te,De=Y,Me=function(e,t){var r=e[t];return De(r)?void 0:ze(r)},Pe=D,Re=C,Ie=$,Be=TypeError,Le={exports:{}},Ne=i,He=Object.defineProperty,Ue=i,Fe=function(e,t){try{He(Ne,e,{value:t,configurable:!0,writable:!0})}catch(r){Ne[e]=t}return t},Ge="__core-js_shared__",We=Le.exports=Ue[Ge]||Fe(Ge,{});(We.versions||(We.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 Ye=Le.exports,Ke=function(e,t){return Ye[e]||(Ye[e]=t||{})},Xe=q,qe=Object,Je=function(e){return qe(Xe(e))},Ze=Je,Ve=y({}.hasOwnProperty),Qe=Object.hasOwn||function(e,t){return Ve(Ze(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,b=v.hasOwnProperty,d=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 T?t:T,i=o(a.prototype),s=new F(n||[]);return d(i,"_invoke",{value:L(e,r,s)}),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",C="executing",O="completed",j={};function T(){}function z(){}function D(){}var M={};_(M,k,(function(){return this}));var P=i&&i(i(G([])));P&&P!==v&&b.call(P,k)&&(M=P);var R=D.prototype=T.prototype=o(M);function I(e){var t;s(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,s){var c=S(e[a],e,o);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==t(l)&&b.call(l,"__await")?r.resolve(l.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):r.resolve(l).then((function(e){u.value=e,i(u)}),(function(e){return n("throw",e,i,s)}))}s(c.arg)}var a;d(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===C)throw Error("Generator is already running");if(n===O){if("throw"===o)throw i;return{value:a,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var c=N(s,r);if(c){if(c===j)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===A)throw n=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=C;var u=S(e,t,r);if("normal"===u.type){if(n=r.done?O:E,u.arg===j)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=O,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")),j;var o=S(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,j;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,j):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,j)}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]),c(t=this.tryEntries).call(t,r)}function U(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],s(e).call(e,H,this),this.reset(!0)}function G(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(b.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 z.prototype=D,d(R,"constructor",{value:D,configurable:!0}),d(D,"constructor",{value:z,configurable:!0}),z.displayName=_(D,w,"GeneratorFunction"),p.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===z||"GeneratorFunction"===(t.displayName||t.name))},p.mark=function(e){return u?u(e,D):(e.__proto__=D,_(e,w,"GeneratorFunction")),e.prototype=o(R),e},p.awrap=function(e){return{__await:e}},I(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()}))},I(R),_(R,w,"Generator"),_(R,k,(function(){return this})),_(R,"toString",(function(){return"[object Generator]"})),p.keys=func
|