faker3/utils/Rebels/rebelsb.js

4 lines
142 KiB
JavaScript
Raw Normal View History

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