mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-15 00:09:20 +08:00
4 lines
166 KiB
JavaScript
4 lines
166 KiB
JavaScript
|
var ParamsSign=function(){"use strict";function t(t,r){return r.forEach((function(r){r&&"string"!=typeof r&&!Array.isArray(r)&&Object.keys(r).forEach((function(n){if("default"!==n&&!(n in t)){var e=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,e.get?e:{enumerable:!0,get:function(){return r[n]}})}}))})),Object.freeze(t)}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){if(t.__esModule)return t;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var e=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,e.get?e:{enumerable:!0,get:function(){return t[n]}})})),r}var e=function(t){return t&&t.Math==Math&&t},o=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof r&&r)||function(){return this}()||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},a=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=a,c=Function.prototype,f=c.apply,s=c.call,v="object"==typeof Reflect&&Reflect.apply||(u?s.bind(f):function(){return s.apply(f,arguments)}),h=a,l=Function.prototype,p=l.call,d=h&&l.bind.bind(p,p),x=h?d:function(t){return function(){return p.apply(t,arguments)}},y=x,g=y({}.toString),_=y("".slice),m=function(t){return _(g(t),8,-1)},b=m,w=x,C=function(t){if("Function"===b(t))return w(t)},A="object"==typeof document&&document.all,S={all:A,IS_HTMLDDA:void 0===A&&void 0!==A},z=S.all,D=S.IS_HTMLDDA?function(t){return"function"==typeof t||t===z}:function(t){return"function"==typeof t},B={},j=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),L=a,M=Function.prototype.call,O=L?M.bind(M):function(){return M.apply(M,arguments)},E={},k={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,P=T&&!k.call({1:2},1);E.f=P?function(t){var r=T(this,t);return!!r&&r.enumerable}:k;var I,G,N=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},W=i,q=m,H=Object,K=x("".split),F=W((function(){return!H("z").propertyIsEnumerable(0)}))?function(t){return"String"==q(t)?K(t,""):H(t)}:H,R=function(t){return null==t},Y=R,U=TypeError,Z=function(t){if(Y(t))throw U("Can't call method on "+t);return t},X=F,J=Z,V=function(t){return X(J(t))},Q=D,$=S.all,tt=S.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Q(t)||t===$}:function(t){return"object"==typeof t?null!==t:Q(t)},rt={},nt=rt,et=o,ot=D,it=function(t){return ot(t)?t:void 0},at=function(t,r){return arguments.length<2?it(nt[t])||it(et[t]):nt[t]&&nt[t][r]||et[t]&&et[t][r]},ut=x({}.isPrototypeOf),ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ft=o,st=ct,vt=ft.process,ht=ft.Deno,lt=vt&&vt.versions||ht&&ht.version,pt=lt&<.v8;pt&&(G=(I=pt.split("."))[0]>0&&I[0]<4?1:+(I[0]+I[1])),!G&&st&&(!(I=st.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=st.match(/Chrome\/(\d+)/))&&(G=+I[1]);var dt=G,xt=dt,yt=i,gt=!!Object.getOwnPropertySymbols&&!yt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&xt&&xt<41})),_t=gt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,mt=at,bt=D,wt=ut,Ct=Object,At=_t?function(t){return"symbol"==typeof t}:function(t){var r=mt("Symbol");return bt(r)&&wt(r.prototype,Ct(t))},St=String,zt=function(t){try{return St(t)}catch(t){return"Object"}},Dt=D,Bt=zt,jt=TypeError,Lt=function(t){if(Dt(t))return t;throw jt(Bt(t)+" is not a function")},Mt=Lt,Ot=R,Et=function(t,r){var n=t[r];return Ot(n)?void 0:Mt(n)},kt=O,Tt=D,Pt=tt,It=TypeError,Gt={exports:{}},Nt=o,Wt=Object.defineProperty,qt=function(t,r){try{Wt(Nt,t,{value:r,configurable:!0,writable:!0})}catch(n){Nt[t]=r}return r},Ht="__core-js_shared__",Kt=o[Ht]||qt(Ht,{}),Ft=Kt;(Gt.exports=function(t,r){return Ft[t]||(Ft[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.30.0",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE",s
|
||
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
|
t.exports=v=function(){return h},t.exports.__esModule=!0,t.exports.default=t.exports;var h={},l=Object.prototype,p=l.hasOwnProperty,d=n||function(t,r,n){t[r]=n.value},x="function"==typeof e?e:{},y=x.iterator||"@@iterator",g=x.asyncIterator||"@@asyncIterator",_=x.toStringTag||"@@toStringTag";function m(t,r,e){return n(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{m({},"")}catch(t){m=function(t,r,n){return t[r]=n}}function b(t,r,n,e){var i=r&&r.prototype instanceof A?r:A,a=o(i.prototype),u=new P(e||[]);return d(a,"_invoke",{value:O(t,n,u)}),a}function w(t,r,n){try{return{type:"normal",arg:t.call(r,n)}}catch(t){return{type:"throw",arg:t}}}h.wrap=b;var C={};function A(){}function S(){}function z(){}var D={};m(D,y,(function(){return this}));var B=i&&i(i(I([])));B&&B!==l&&p.call(B,y)&&(D=B);var j=z.prototype=A.prototype=o(D);function L(t){var r;a(r=["next","throw","return"]).call(r,(function(r){m(t,r,(function(t){return this._invoke(r,t)}))}))}function M(t,n){function e(o,i,a,u){var c=w(t[o],t,i);if("throw"!==c.type){var f=c.arg,s=f.value;return s&&"object"==r(s)&&p.call(s,"__await")?n.resolve(s.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):n.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return e("throw",t,a,u)}))}u(c.arg)}var o;d(this,"_invoke",{value:function(t,r){function i(){return new n((function(n,o){e(t,r,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,r,n){var e="suspendedStart";return function(o,i){if("executing"===e)throw new Error("Generator is already running");if("completed"===e){if("throw"===o)throw i;return G()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===C)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===e)throw e="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);e="executing";var c=w(t,r,n);if("normal"===c.type){if(e=n.done?"completed":"suspendedYield",c.arg===C)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(e="completed",n.method="throw",n.arg=c.arg)}}}function E(t,r){var n=r.method,e=t.iterator[n];if(void 0===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=void 0,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),C;var o=w(e,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,C;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,C):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function k(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function T(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function P(t){this.tryEntries=[{tryLoc:"root"}],a(t).call(t,k,this),this.reset(!0)}function I(t){if(t){var r=t[y];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,e=function r(){for(;++n<t.length;)if(p.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return e.next=e}}return{next:G}}function G(){return{value:void 0,done:!0}}return S.prototype=z,d(j,"constructor",{value:z,configurable:!0}),d(z,"constructor",{value:S,configurable:!0}),S.displayName=m(z,_,"GeneratorFunction"),h.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===S||"GeneratorFunction"===(r.displayName||r.name))},h.mark=function(t){return u?u(t,z):(t.__proto__=z,m(t,_,"GeneratorFunction")),t.prototype=o(j),t},h.awrap=function(t){return{__await:t}},L(M.prototype),m(M.prototype,g,(function(){return this})),h.AsyncIterator=M,h.async=function(t,r,n,e,o){void 0===o&&(o=c);var i=new M(b(t,r,n,e),o);return h.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},L(j),m(j,_,"Generator"),m(j,y,(function(){return this})),m(j,"toString",(function(
|