@nocobase/plugin-multi-keyword-filter 2.1.0-beta.9 → 2.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client-v2.d.ts +2 -0
- package/client-v2.js +1 -0
- package/dist/client/103.513149b773e262dc.js +10 -0
- package/dist/client/MultipleKeywordsInput.d.ts +4 -2
- package/dist/client/index.js +1 -1
- package/dist/client/interceptor.d.ts +1 -1
- package/dist/client-v2/103.8bcbf628d0af8457.js +10 -0
- package/dist/client-v2/MultipleKeywordsInput.d.ts +17 -0
- package/dist/client-v2/index.d.ts +9 -0
- package/dist/client-v2/index.js +10 -0
- package/dist/client-v2/locale.d.ts +10 -0
- package/dist/client-v2/plugin.d.ts +13 -0
- package/dist/externalVersion.js +6 -4
- package/dist/node_modules/qs/lib/index.js +1 -1
- package/dist/node_modules/qs/package.json +1 -1
- package/dist/shared/interceptor.d.ts +10 -0
- package/dist/shared/interceptor.js +71 -0
- package/dist/shared/normalizeKeywords.d.ts +10 -0
- package/dist/shared/normalizeKeywords.js +59 -0
- package/package.json +8 -6
- package/dist/client/0d9b6225e99c9b66.js +0 -10
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import React, { FC } from 'react';
|
|
10
|
+
import { normalizeKeywords, type KeywordValue } from '../shared/normalizeKeywords';
|
|
11
|
+
export { normalizeKeywords };
|
|
12
|
+
export declare const MultipleKeywordsInput: FC<{
|
|
13
|
+
fieldInterface: string;
|
|
14
|
+
value?: KeywordValue[];
|
|
15
|
+
onChange?: (value: KeywordValue[], option?: unknown) => void;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export { default } from './plugin';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@ant-design/icons"),require("@nocobase/flow-engine"),require("@nocobase/client-v2"),require("react"),require("antd")):"function"==typeof define&&define.amd?define("@nocobase/plugin-multi-keyword-filter/client-v2",["@ant-design/icons","@nocobase/flow-engine","@nocobase/client-v2","react","antd"],t):"object"==typeof exports?exports["@nocobase/plugin-multi-keyword-filter/client-v2"]=t(require("@ant-design/icons"),require("@nocobase/flow-engine"),require("@nocobase/client-v2"),require("react"),require("antd")):e["@nocobase/plugin-multi-keyword-filter/client-v2"]=t(e["@ant-design/icons"],e["@nocobase/flow-engine"],e["@nocobase/client-v2"],e.react,e.antd)}(self,function(e,t,r,n,o){return function(){var i,a,l,c={792:function(e,t,r){"use strict";var n=r(894),o=r(20),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},20:function(e,t,r){"use strict";var n=r(460),o=r(894),i=r(710),a=o("%TypeError%"),l=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||n.call(c,l),p=o("%Object.defineProperty%",!0),f=o("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(n,c,arguments);return i(t,1+f(0,e.length-(arguments.length-1)),!0)};var s=function(){return u(n,l,arguments)};p?p(e.exports,"apply",{value:s}):e.exports.apply=s},866:function(e,t,r){"use strict";var n=r(894)("%Object.defineProperty%",!0),o=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},710:function(e,t,r){"use strict";var n=r(894),o=r(356),i=r(866)(),a=r(906),l=n("%TypeError%"),c=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new l("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||c(t)!==t)throw new l("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var p=a(e,"length");p&&!p.configurable&&(n=!1),p&&!p.writable&&(u=!1)}return(n||u||!r)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},356:function(e,t,r){"use strict";var n=r(13)(),o=r(894),i=n&&o("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(e){i=!1}var a=o("%SyntaxError%"),l=o("%TypeError%"),c=r(906);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new l("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new l("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new l("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new l("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new l("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new l("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],f=!!c&&c(e,t);if(i)i(e,t,{configurable:null===u&&f?f.configurable:!u,enumerable:null===n&&f?f.enumerable:!n,value:r,writable:null===o&&f?f.writable:!o});else if(!p&&(n||o||u))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},13:function(e,t,r){"use strict";var n=r(894)("%Object.defineProperty%",!0),o=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},552:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},o=function(e,t){for(var r=[],n=t||0,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r},i=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var a,l=this;if("function"!=typeof l||"[object Function]"!==t.apply(l))throw TypeError("Function.prototype.bind called on incompatible "+l);for(var c=o(arguments,1),u=r(0,l.length-c.length),p=[],f=0;f<u;f++)p[f]="$"+f;if(a=Function("binder","return function ("+i(p,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=l.apply(this,n(c,arguments));return Object(t)===t?t:this}return l.apply(e,n(c,arguments))}),l.prototype){var s=function(){};s.prototype=l.prototype,a.prototype=new s,s.prototype=null}return a}},460:function(e,t,r){"use strict";var n=r(552);e.exports=Function.prototype.bind||n},894:function(e,t,r){"use strict";var n,o=SyntaxError,i=Function,a=TypeError,l=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new a},p=c?function(){try{return arguments.callee,u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,f=r(40)(),s=r(675)(),y=Object.getPrototypeOf||(s?function(e){return e.__proto__}:null),b={},d="u">typeof Uint8Array&&y?y(Uint8Array):n,g={"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":b,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&f&&y?y(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&f&&y?y(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&y?y(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":p,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(e){var m=y(y(e));g["%Error.prototype%"]=m}var h=function e(t){var r;if("%AsyncFunction%"===t)r=l("async function () {}");else if("%GeneratorFunction%"===t)r=l("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=l("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&y&&(r=y(o.prototype))}return g[t]=r,r},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},O=r(460),w=r(204),S=O.call(Function.call,Array.prototype.concat),j=O.call(Function.apply,Array.prototype.splice),P=O.call(Function.call,String.prototype.replace),A=O.call(Function.call,String.prototype.slice),x=O.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,_=function(e){var t=A(e,0,1),r=A(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return P(e,E,function(e,t,r,o){n[n.length]=r?P(o,k,"$1"):t||e}),n},I=function(e,t){var r,n=e;if(w(v,n)&&(n="%"+(r=v[n])[0]+"%"),w(g,n)){var i=g[n];if(i===b&&(i=h(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=_(e),n=r.length>0?r[0]:"",i=I("%"+n+"%",t),l=i.name,u=i.value,p=!1,f=i.alias;f&&(n=f[0],j(r,S([0,1],f)));for(var s=1,y=!0;s<r.length;s+=1){var b=r[s],d=A(b,0,1),m=A(b,-1);if(('"'===d||"'"===d||"`"===d||'"'===m||"'"===m||"`"===m)&&d!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==b&&y||(p=!0),n+="."+b,w(g,l="%"+n+"%"))u=g[l];else if(null!=u){if(!(b in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&s+1>=r.length){var h=c(u,b);u=(y=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:u[b]}else y=w(u,b),u=u[b];y&&!p&&(g[l]=u)}}return u}},906:function(e,t,r){"use strict";var n=r(894)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},675:function(e){"use strict";var t={foo:{}},r=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(({__proto__:null})instanceof r)}},40:function(e,t,r){"use strict";var n="u">typeof Symbol&&Symbol,o=r(674);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},674:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},204:function(e,t,r){"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty;e.exports=r(460).call(n,o)},458:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&c&&"function"==typeof c.get?c.get:null,p=l&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,s="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,d=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,h=String.prototype.slice,v=String.prototype.replace,O=String.prototype.toUpperCase,w=String.prototype.toLowerCase,S=RegExp.prototype.test,j=Array.prototype.concat,P=Array.prototype.join,A=Array.prototype.slice,x=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I?"object":"symbol")?Symbol.toStringTag:null,F=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function T(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-x(-e):x(e);if(n!==e){var o=String(n),i=h.call(t,o.length+1);return v.call(o,r,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var C=r(445),D=C.custom,M=L(D)?D:null;function U(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function B(e){return"[object Array]"===G(e)&&(!R||!("object"==typeof e&&R in e))}function W(e){return"[object RegExp]"===G(e)&&(!R||!("object"==typeof e&&R in e))}function L(e){if(I)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,l){var c,d,O,S,x,k=n||{};if(q(k,"quoteStyle")&&"single"!==k.quoteStyle&&"double"!==k.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(q(k,"maxStringLength")&&("number"==typeof k.maxStringLength?k.maxStringLength<0&&k.maxStringLength!==1/0:null!==k.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var D=!q(k,"customInspect")||k.customInspect;if("boolean"!=typeof D&&"symbol"!==D)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(k,"indent")&&null!==k.indent&&" "!==k.indent&&!(parseInt(k.indent,10)===k.indent&&k.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(k,"numericSeparator")&&"boolean"!=typeof k.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $=k.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(h.call(t,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}return U(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",r)}(t,k);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var Y=String(t);return $?T(t,Y):Y}if("bigint"==typeof t){var Z=String(t)+"n";return $?T(t,Z):Z}var ee=void 0===k.depth?5:k.depth;if(void 0===o&&(o=0),o>=ee&&ee>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var et=function(e,t){var r;if(" "===e.indent)r=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=P.call(Array(e.indent+1)," ")}return{base:r,prev:P.call(Array(t+1),r)}}(k,o);if(void 0===l)l=[];else if(H(l,t)>=0)return"[Circular]";function er(t,r,n){if(r&&(l=A.call(l)).push(r),n){var i={depth:k.depth};return q(k,"quoteStyle")&&(i.quoteStyle=k.quoteStyle),e(t,i,o+1,l)}return e(t,k,o+1,l)}if("function"==typeof t&&!W(t)){var en=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),eo=X(t,er);return"[Function"+(en?": "+en:" (anonymous)")+"]"+(eo.length>0?" { "+P.call(eo,", ")+" }":"")}if(L(t)){var ei=I?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||I?ei:z(ei)}if((ea=t)&&"object"==typeof ea&&("u">typeof HTMLElement&&ea instanceof HTMLElement||"string"==typeof ea.nodeName&&"function"==typeof ea.getAttribute)){for(var ea,el,ec="<"+w.call(String(t.nodeName)),eu=t.attributes||[],ep=0;ep<eu.length;ep++){ec+=" "+eu[ep].name+"="+U((el=eu[ep].value,v.call(String(el),/"/g,""")),"double",k)}return ec+=">",t.childNodes&&t.childNodes.length&&(ec+="..."),ec+="</"+w.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var ef=X(t,er);return et&&!function(e){for(var t=0;t<e.length;t++)if(H(e[t],"\n")>=0)return!1;return!0}(ef)?"["+K(ef,et)+"]":"[ "+P.call(ef,", ")+" ]"}if("[object Error]"===G(c=t)&&(!R||!("object"==typeof c&&R in c))){var es=X(t,er);return"cause"in Error.prototype||!("cause"in t)||F.call(t,"cause")?0===es.length?"["+String(t)+"]":"{ ["+String(t)+"] "+P.call(es,", ")+" }":"{ ["+String(t)+"] "+P.call(j.call("[cause]: "+er(t.cause),es),", ")+" }"}if("object"==typeof t&&D){if(M&&"function"==typeof t[M]&&C)return C(t,{depth:ee-o});else if("symbol"!==D&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ey=[];return a&&a.call(t,function(e,r){ey.push(er(r,t,!0)+" => "+er(e,t))}),J("Map",i.call(t),ey,et)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var eb=[];return p&&p.call(t,function(e){eb.push(er(e,t))}),J("Set",u.call(t),eb,et)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{s.call(e,s)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Q("WeakMap");if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e,s);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Q("WeakSet");if(function(e){if(!y||!e||"object"!=typeof e)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return Q("WeakRef");if("[object Number]"===G(d=t)&&(!R||!("object"==typeof d&&R in d)))return z(er(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}(t))return z(er(E.call(t)));if("[object Boolean]"===G(O=t)&&(!R||!("object"==typeof O&&R in O)))return z(b.call(t));if("[object String]"===G(S=t)&&(!R||!("object"==typeof S&&R in S)))return z(er(String(t)));if("u">typeof window&&t===window)return"{ [object Window] }";if(t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===G(x=t)&&(!R||!("object"==typeof x&&R in x)))&&!W(t)){var ed=X(t,er),eg=N?N(t)===Object.prototype:t instanceof Object||t.constructor===Object,em=t instanceof Object?"":"null prototype",eh=!eg&&R&&Object(t)===t&&R in t?h.call(G(t),8,-1):em?"Object":"",ev=(eg||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(eh||em?"["+P.call(j.call([],eh||[],em||[]),": ")+"] ":"");return 0===ed.length?ev+"{}":et?ev+"{"+K(ed,et)+"}":ev+"{ "+P.call(ed,", ")+" }"}return String(t)};var $=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return $.call(e,t)}function G(e){return d.call(e)}function H(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function V(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+O.call(t.toString(16))}function z(e){return"Object("+e+")"}function Q(e){return e+" { ? }"}function J(e,t,r,n){return e+" ("+t+") {"+(n?K(r,n):P.call(r,", "))+"}"}function K(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+P.call(e,","+r)+"\n"+t.prev}function X(e,t){var r,n=B(e),o=[];if(n){o.length=e.length;for(var i=0;i<e.length;i++)o[i]=q(e,i)?t(e[i],e):""}var a="function"==typeof k?k(e):[];if(I){r={};for(var l=0;l<a.length;l++)r["$"+a[l]]=a[l]}for(var c in e)if(q(e,c)&&(!n||String(Number(c))!==c||!(c<e.length)))if(I&&r["$"+c]instanceof Symbol)continue;else S.call(/[^\w$]/,c)?o.push(t(c,e)+": "+t(e[c],e)):o.push(c+": "+t(e[c],e));if("function"==typeof k)for(var u=0;u<a.length;u++)F.call(e,a[u])&&o.push("["+t(a[u])+"]: "+t(e[a[u]],e));return o}},136:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},600:function(e,t,r){"use strict";var n=r(477),o=r(347);e.exports={formats:r(136),parse:o,stringify:n}},347:function(e,t,r){"use strict";var n=r(361),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t){var r={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,p=c.split(t.delimiter,u),f=-1,s=t.charset;if(t.charsetSentinel)for(y=0;y<p.length;++y)0===p[y].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[y]?s="utf-8":"utf8=%26%2310003%3B"===p[y]&&(s="iso-8859-1"),f=y,y=p.length);for(y=0;y<p.length;++y)if(y!==f){var y,b,d,g=p[y],m=g.indexOf("]="),h=-1===m?g.indexOf("="):m+1;-1===h?(b=t.decoder(g,a.decoder,s,"key"),d=t.strictNullHandling?null:""):(b=t.decoder(g.slice(0,h),a.decoder,s,"key"),d=n.maybeMap(l(g.slice(h+1),t),function(e){return t.decoder(e,a.decoder,s,"value")})),d&&t.interpretNumericEntities&&"iso-8859-1"===s&&(d=d.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(d=i(d)?[d]:d),o.call(r,b)?r[b]=n.combine(r[b],d):r[b]=d}return r},u=function(e,t,r,n){for(var o=n?t:l(t,r),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&c!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(a=[])[p]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},p=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,l=r.depth>0&&/(\[[^[\]]*])/.exec(i),c=l?i.slice(0,l.index):i,p=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;p.push(c)}for(var f=0;r.depth>0&&null!==(l=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;p.push(l[1])}return l&&p.push("["+i.slice(l.index)+"]"),u(p,t,r,n)}},f=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var r=f(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof e?c(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(o),l=0;l<a.length;++l){var u=a[l],s=p(u,o[u],r,"string"==typeof e);i=n.merge(i,s,r)}return!0===r.allowSparse?i:n.compact(i)}},477:function(e,t,r){"use strict";var n=r(921),o=r(361),i=r(136),a=Object.prototype.hasOwnProperty,l={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,p=function(e,t){u.apply(e,c(t)?t:[t])},f=Date.prototype.toISOString,s=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:s,formatter:i.formatters[s],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},b={},d=function e(t,r,i,a,l,u,f,s,d,g,m,h,v,O,w,S){for(var j,P,A=t,x=S,E=0,k=!1;void 0!==(x=x.get(b))&&!k;){var _=x.get(t);if(E+=1,void 0!==_)if(_===E)throw RangeError("Cyclic object value");else k=!0;void 0===x.get(b)&&(E=0)}if("function"==typeof s?A=s(r,A):A instanceof Date?A=m(A):"comma"===i&&c(A)&&(A=o.maybeMap(A,function(e){return e instanceof Date?m(e):e})),null===A){if(l)return f&&!O?f(r,y.encoder,w,"key",h):r;A=""}if("string"==typeof(j=A)||"number"==typeof j||"boolean"==typeof j||"symbol"==typeof j||"bigint"==typeof j||o.isBuffer(A))return f?[v(O?r:f(r,y.encoder,w,"key",h))+"="+v(f(A,y.encoder,w,"value",h))]:[v(r)+"="+v(String(A))];var I=[];if(void 0===A)return I;if("comma"===i&&c(A))O&&f&&(A=o.maybeMap(A,f)),P=[{value:A.length>0?A.join(",")||null:void 0}];else if(c(s))P=s;else{var R=Object.keys(A);P=d?R.sort(d):R}for(var F=a&&c(A)&&1===A.length?r+"[]":r,N=0;N<P.length;++N){var T=P[N],C="object"==typeof T&&void 0!==T.value?T.value:A[T];if(!u||null!==C){var D=c(A)?"function"==typeof i?i(F,T):F:F+(g?"."+T:"["+T+"]");S.set(t,E);var M=n();M.set(b,S),p(I,e(C,D,i,a,l,u,"comma"===i&&O&&c(A)?null:f,s,d,g,m,h,v,O,w,M))}}return I},g=function(e){if(!e)return y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t=e.charset||y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],o=y.filter;return("function"==typeof e.filter||c(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}};e.exports=function(e,t){var r,o,i=e,a=g(t);"function"==typeof a.filter?i=(0,a.filter)("",i):c(a.filter)&&(r=a.filter);var u=[];if("object"!=typeof i||null===i)return"";o=t&&t.arrayFormat in l?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=l[o];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var s="comma"===f&&t&&t.commaRoundTrip;r||(r=Object.keys(i)),a.sort&&r.sort(a.sort);for(var y=n(),b=0;b<r.length;++b){var m=r[b];a.skipNulls&&null===i[m]||p(u,d(i[m],m,f,s,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,y))}var h=u.join(a.delimiter),v=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),h.length>0?v+h:""}},361:function(e,t,r){"use strict";var n=r(136),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}},c=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),c=0;c<a.length;++c){var u=a[c],p=i[u];"object"==typeof p&&null!==p&&-1===r.indexOf(p)&&(t.push({obj:i,prop:u}),r.push(p))}return l(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var l=e;if("symbol"==typeof e?l=Symbol.prototype.toString.call(e):"string"!=typeof e&&(l=String(e)),"iso-8859-1"===r)return escape(l).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var c="",u=0;u<l.length;++u){var p=l.charCodeAt(u);if(45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===n.RFC1738&&(40===p||41===p)){c+=l.charAt(u);continue}if(p<128){c+=a[p];continue}if(p<2048){c+=a[192|p>>6]+a[128|63&p];continue}if(p<55296||p>=57344){c+=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p];continue}u+=1,c+=a[240|(p=65536+((1023&p)<<10|1023&l.charCodeAt(u)))>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p]}return c},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return(i(t)&&!i(r)&&(a=c(t,n)),i(t)&&i(r))?(r.forEach(function(r,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t.push(r)}else t[i]=r}),t):Object.keys(r).reduce(function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t},a)}}},921:function(e,t,r){"use strict";var n=r(894),o=r(792),i=r(458),a=n("%TypeError%"),l=n("%WeakMap%",!0),c=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),p=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),s=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),b=o("Map.prototype.has",!0),d=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},g=function(e,t){var r=d(e,t);return r&&r.value},m=function(e,t,r){var n=d(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(c){if(t)return s(t,n)}else if(r)return g(r,n)},has:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(c){if(t)return b(t,n)}else if(r)return!!d(r,n);return!1},set:function(n,o){l&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new l),p(e,n,o)):c?(t||(t=new c),y(t,n,o)):(r||(r={key:{},next:null}),m(r,n,o))}};return n}},375:function(t){"use strict";t.exports=e},485:function(e){"use strict";e.exports=r},694:function(e){"use strict";e.exports=t},59:function(e){"use strict";e.exports=o},155:function(e){"use strict";e.exports=n},445:function(){}},u={};function p(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return c[e](r,r.exports,p),r.exports}p.m=c,p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,{a:t}),t},p.d=function(e,t){for(var r in t)p.o(t,r)&&!p.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},p.f={},p.e=function(e){return Promise.all(Object.keys(p.f).reduce(function(t,r){return p.f[r](e,t),t},[]))},p.u=function(e){return""+e+".8bcbf628d0af8457.js"},p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f={},p.l=function(e,t,r,n){if(f[e])return void f[e].push(t);if(void 0!==r)for(var o,i,a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var c=a[l];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@nocobase/plugin-multi-keyword-filter/client-v2:"+r){o=c;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.setAttribute("data-rspack","@nocobase/plugin-multi-keyword-filter/client-v2:"+r),o.src=e),f[e]=[t];var u=function(t,r){o.onerror=o.onload=null,clearTimeout(s);var n=f[e];if(delete f[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),i&&document.head.appendChild(o)},p.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.g.importScripts&&(s=p.g.location+"");var f,s,y=p.g.document;if(!s&&y&&(y.currentScript&&"SCRIPT"===y.currentScript.tagName.toUpperCase()&&(s=y.currentScript.src),!s)){var b=y.getElementsByTagName("script");if(b.length)for(var d=b.length-1;d>-1&&(!s||!/^http(s?):/.test(s));)s=b[d--].src}if(!s)throw Error("Automatic publicPath is not supported in this browser");p.p=s.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i={889:0},p.f.j=function(e,t){var r=p.o(i,e)?i[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var n=new Promise(function(t,n){r=i[e]=[t,n]});t.push(r[2]=n);var o=p.p+p.u(e),a=Error();p.l(o,function(t){if(p.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;a.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",a.name="ChunkLoadError",a.type=n,a.request=o,r[1](a)}},"chunk-"+e,e)}},a=function(e,t){var r,n,o=t[0],a=t[1],l=t[2],c=0;if(o.some(function(e){return 0!==i[e]})){for(r in a)p.o(a,r)&&(p.m[r]=a[r]);l&&l(p)}for(e&&e(t);c<o.length;c++)n=o[c],p.o(i,n)&&i[n]&&i[n][0](),i[n]=0},(l=self.webpackChunk_nocobase_plugin_multi_keyword_filter_client_v2=self.webpackChunk_nocobase_plugin_multi_keyword_filter_client_v2||[]).forEach(a.bind(null,0)),l.push=a.bind(null,l.push.bind(l));var g={};return!function(){"use strict";var e="",t="u">typeof document?document.currentScript:null;if(t&&t.src&&(e=t.src.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")),!e){var r=window.__webpack_public_path__||"";r&&("/"!==r.charAt(r.length-1)&&(r+="/"),e=r+"static/plugins/@nocobase/plugin-multi-keyword-filter/dist/client-v2/")}if(!e){var n=window.__nocobase_modern_client_prefix__||"v",o="/"+(n=String(n).replace(/^\/+|\/+$/g,"")||"v")+"/";if(!(e=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var i=window.location.pathname||"/",a=i.indexOf(o);e=a>=0?i.slice(0,a+1):"/"}e&&(e=e.replace(RegExp("/"+n+"/?$"),"/")),e||(e="/"),"/"!==e.charAt(e.length-1)&&(e+="/"),e+="static/plugins/@nocobase/plugin-multi-keyword-filter/dist/client-v2/"}p.p=e}(),!function(){"use strict";p.r(g),p.d(g,{default:function(){return F}});var e=p(375),t=p(485),r=p(59),n=p(155),o=p.n(n),i=p(600),a=p.n(i);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var u=function(e){var t,r,n,o,i=e.url||"",u=(function(e){if(Array.isArray(e))return e}(t=i.split("?"))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return l(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return(i+a().stringify(e.params,{strictNullHandling:!0,arrayFormat:"brackets"})).length<=2e3?e:(u&&(e.params=c({},a().parse(u,{strictNullHandling:!0}),e.params)),n=c({},(r=e.data)&&(void 0===r?"undefined":r&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"&&!Array.isArray(r)?e.data:{}),o=o={__params__:e.params,__method__:e.method},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),e.data=n,e.params={},e.method="post",e)},f=p(694),s=JSON.parse('{"UU":"@nocobase/plugin-multi-keyword-filter"}');function y(){var e=(0,f.useFlowEngine)();return function(t,r){var n,o;return e.context.t(t,(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},r),o=o={ns:[s.UU,"client"]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))}}function b(e){return"string"==typeof e?e.trim():e}function d(e){return String(b(e))}function m(e){return/^[+-]?\d+$/.test(e)}function h(e){return/^[+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?$/i.test(e)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function O(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){r(e);return}l.done?t(c):Promise.resolve(c).then(n,o)}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var S=function(t){var i,a,l,c=t.fieldInterface,u=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(t,["fieldInterface"]),f=(0,n.useRef)(null),s=w((0,n.useState)(!1),2),g=s[0],v=s[1],S=w((0,n.useState)(!1),2),j=S[0],P=S[1],A=w((0,n.useState)([]),2),x=A[0],E=A[1],k=w((0,n.useState)([]),2),_=k[0],I=k[1],R=w((0,n.useState)([]),2),F=R[0],N=R[1],T=y(),C=function(e,r){var n;null==(n=t.onChange)||n.call(t,"integer"===c||"id"===c?e.map(d).filter(m):"number"===c?e.map(d).filter(h):"percent"===c?e.map(b).map(function(e){return parseFloat(String(e))}).filter(function(e){return!Number.isNaN(e)}):e.map(b).filter(function(e){return""!==e}),r)},D=function(e,t){var r=new Set;return e.forEach(function(e){t.forEach(function(t){var n=e[t];null!=n&&""!==n&&r.add(String(n))})}),Array.from(r).join("\n")},M=function(e){if(!e)return void r.message.warning(T("noValidKeywords"));var t=e.split("\n").filter(Boolean);C(t),r.message.success(T("importSuccess",{count:t.length}))};return o().createElement(o().Fragment,null,o().createElement(r.Space.Compact,{block:!0},o().createElement(r.Select,(i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({mode:"tags",tokenSeparators:["\n"],placeholder:T("keywordsInputPlaceholder"),allowClear:!0,suffixIcon:null,maxTagCount:"responsive",open:!!(null==(l=u.value)?void 0:l.length)&&void 0},u),a=a={onChange:function(e,t){C(e,t)}},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(a)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(a)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(a,e))}),i)),o().createElement(r.Tooltip,{title:T("importExcel")},o().createElement(r.Button,{onClick:function(){var e;null==(e=f.current)||e.click()},loading:g,icon:o().createElement(e.UploadOutlined,null)}))),o().createElement("input",{type:"file",ref:f,hidden:!0,accept:".xlsx,.xls",onChange:function(e){var t;return(t=function(){var t,n,o,i,a,l;return function(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:c(0)}),l(a,"throw",{value:c(1)}),l(a,"return",{value:c(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function c(l){return function(c){var u=[l,c];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(c){var u,f,s,y;switch(c.label){case 0:if(!(n=null==(t=e.target.files)?void 0:t[0]))return[2];c.label=1;case 1:return c.trys.push([1,4,5,6]),v(!0),[4,p.e("103").then(p.bind(p,802))];case 2:return o=c.sent(),[4,(u=n,f=o,new Promise(function(e,t){var r=new FileReader;r.onload=function(r){try{var n,o=null==(n=r.target)?void 0:n.result,i=f.read(o,{type:"array"}),a=i.SheetNames[0],l=i.Sheets[a],c=f.utils.sheet_to_json(l,{defval:""});e(c)}catch(e){t(e)}},r.onerror=function(e){return t(e)},r.readAsArrayBuffer(u)}))];case 3:if(0===(i=c.sent()).length)return r.message.error(T("excelFileEmpty")),[2];return E(a=Object.keys(i[0])),N(i),1===a.length?M((s=i,y=a[0],s.map(function(e){return e[y]}).filter(function(e){return null!=e&&""!==e}).join("\n"))):P(!0),[3,6];case 4:return l=c.sent(),console.error(T("errorParsingExcel"),l),r.message.error(T("failedToParseExcel")),[3,6];case 5:return v(!1),e.target.value="",[7];case 6:return[2]}})},function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(e){O(i,n,o,a,l,"next",e)}function l(e){O(i,n,o,a,l,"throw",e)}a(void 0)})})()}}),o().createElement(r.Modal,{title:T("selectExcelColumns"),open:j,onOk:function(){0===_.length?r.message.warning(T("selectAtLeastOneColumn")):(M(D(F,_)),P(!1))},onCancel:function(){return P(!1)},okText:T("confirm"),cancelText:T("cancel")},o().createElement(r.Alert,{type:"info",description:o().createElement(r.Typography,null,o().createElement("ul",null,T("tips").split("\n").map(function(e){return o().createElement("li",{key:e},e)})))}),o().createElement(r.Select,{mode:"multiple",value:_,onChange:function(e){return I(e)},placeholder:T("selectColumnsPlaceholder"),options:x.map(function(e){return{label:e,value:e}})})))};function j(e,t,r,n,o,i,a){try{var l=e[i](a),c=l.value}catch(e){r(e);return}l.done?t(c):Promise.resolve(c).then(n,o)}function P(e,t,r){return(P=k()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&x(o,r.prototype),o}).apply(null,arguments)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t="function"==typeof Map?new Map:void 0;return(E=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return P(e,arguments,A(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),x(r,e)})(e)}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k=function(){return!!e})()}var _=["input","phone","email","uuid","sequence","integer","number","id","percent","nanoid"];function I(t){var n=t.type,i=y(),a="等于任意一个"===i("equalsAny"),l=i("in"===n?"equalsAny":"notEqualsAny");return o().createElement("div",null,l," ",o().createElement(r.Tooltip,{title:o().createElement("div",null,i("providedByPlugin",{pluginName:i("pluginName")})," ",o().createElement("a",{href:"https://".concat(a?"docs-cn":"docs",".nocobase.com/handbook/multi-keyword-filter"),target:"_blank",rel:"noopener noreferrer"},o().createElement(e.LinkOutlined,null)))},o().createElement(e.QuestionCircleOutlined,null)))}function R(e,t){return{label:o().createElement(I,{type:t}),value:"in"===t?"$in":"$notIn",schema:{"x-component":"MultipleKeywordsInput","x-component-props":{fieldInterface:e}}}}var F=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=A(e),function(e,t){var r;if(t&&("object"==((r=t)&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,k()?Reflect.construct(e,t||[],A(this).constructor):e.apply(this,t))}return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),e&&x(r,e),t=[{key:"load",value:function(){var e;return(e=function(){var e;return function(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:c(0)}),l(a,"throw",{value:c(1)}),l(a,"return",{value:c(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function c(l){return function(c){var u=[l,c];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(t){return e=this,_.forEach(function(t){e.app.addFieldInterfaceOperator(t,R(t,"in")),e.app.addFieldInterfaceOperator(t,R(t,"notIn"))}),this.app.addComponents({MultipleKeywordsInput:S}),setTimeout(function(){e.app.apiClient.axios.interceptors.request.use(u)}),[2]})},function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){j(i,n,o,a,l,"next",e)}function l(e){j(i,n,o,a,l,"throw",e)}a(void 0)})}).call(this)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,t),r}(E(t.Plugin))}(),g}()});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useT(): (str: string, options?: Record<string, unknown>) => string;
|
|
10
|
+
export declare function tExpr(key: string): string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import { Application, Plugin } from '@nocobase/client-v2';
|
|
10
|
+
export declare class PluginFilterOperatorMultipleKeywordsClient extends Plugin<any, Application> {
|
|
11
|
+
load(): Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export default PluginFilterOperatorMultipleKeywordsClient;
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,13 +8,15 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.1.0-beta.9",
|
|
12
11
|
"antd": "5.24.2",
|
|
13
12
|
"react": "18.2.0",
|
|
14
13
|
"@ant-design/icons": "5.6.1",
|
|
15
|
-
"lodash": "4.17.21",
|
|
16
14
|
"@formily/react": "2.3.7",
|
|
15
|
+
"@nocobase/client": "2.2.0-alpha.1",
|
|
17
16
|
"react-i18next": "11.18.6",
|
|
18
|
-
"
|
|
19
|
-
"@nocobase/
|
|
17
|
+
"@nocobase/flow-engine": "2.2.0-alpha.1",
|
|
18
|
+
"@nocobase/client-v2": "2.2.0-alpha.1",
|
|
19
|
+
"koa": "3.2.0",
|
|
20
|
+
"@nocobase/server": "2.2.0-alpha.1",
|
|
21
|
+
"axios": "1.7.7"
|
|
20
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){var e={803:function(e,r,t){"use strict";var n=t(538);var o=t(977);var a=o(n("String.prototype.indexOf"));e.exports=function callBoundIntrinsic(e,r){var t=n(e,!!r);if(typeof t==="function"&&a(e,".prototype.")>-1){return o(t)}return t}},977:function(e,r,t){"use strict";var n=t(200);var o=t(538);var a=t(473);var i=o("%TypeError%");var f=o("%Function.prototype.apply%");var l=o("%Function.prototype.call%");var u=o("%Reflect.apply%",true)||n.call(l,f);var p=o("%Object.defineProperty%",true);var c=o("%Math.max%");if(p){try{p({},"a",{value:1})}catch(e){p=null}}e.exports=function callBind(e){if(typeof e!=="function"){throw new i("a function is required")}var r=u(n,l,arguments);return a(r,1+c(0,e.length-(arguments.length-1)),true)};var s=function applyBind(){return u(n,f,arguments)};if(p){p(e.exports,"apply",{value:s})}else{e.exports.apply=s}},708:function(e,r,t){"use strict";var n=t(538);var o=n("%Object.defineProperty%",true);var a=function hasPropertyDescriptors(){if(o){try{o({},"a",{value:1});return true}catch(e){return false}}return false};a.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!a()){return null}try{return o([],"length",{value:1}).length!==1}catch(e){return true}};e.exports=a},473:function(e,r,t){"use strict";var n=t(538);var o=t(564);var a=t(708)();var i=t(501);var f=n("%TypeError%");var l=n("%Math.floor%");e.exports=function setFunctionLength(e,r){if(typeof e!=="function"){throw new f("`fn` is not a function")}if(typeof r!=="number"||r<0||r>4294967295||l(r)!==r){throw new f("`length` must be a positive 32-bit integer")}var t=arguments.length>2&&!!arguments[2];var n=true;var u=true;if("length"in e&&i){var p=i(e,"length");if(p&&!p.configurable){n=false}if(p&&!p.writable){u=false}}if(n||u||!t){if(a){o(e,"length",r,true,true)}else{o(e,"length",r)}}return e}},564:function(e,r,t){"use strict";var n=t(570)();var o=t(538);var a=n&&o("%Object.defineProperty%",true);if(a){try{a({},"a",{value:1})}catch(e){a=false}}var i=o("%SyntaxError%");var f=o("%TypeError%");var l=t(501);e.exports=function defineDataProperty(e,r,t){if(!e||typeof e!=="object"&&typeof e!=="function"){throw new f("`obj` must be an object or a function`")}if(typeof r!=="string"&&typeof r!=="symbol"){throw new f("`property` must be a string or a symbol`")}if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null){throw new f("`nonEnumerable`, if provided, must be a boolean or null")}if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null){throw new f("`nonWritable`, if provided, must be a boolean or null")}if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null){throw new f("`nonConfigurable`, if provided, must be a boolean or null")}if(arguments.length>6&&typeof arguments[6]!=="boolean"){throw new f("`loose`, if provided, must be a boolean")}var n=arguments.length>3?arguments[3]:null;var o=arguments.length>4?arguments[4]:null;var u=arguments.length>5?arguments[5]:null;var p=arguments.length>6?arguments[6]:false;var c=!!l&&l(e,r);if(a){a(e,r,{configurable:u===null&&c?c.configurable:!u,enumerable:n===null&&c?c.enumerable:!n,value:t,writable:o===null&&c?c.writable:!o})}else if(p||!n&&!o&&!u){e[r]=t}else{throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}},570:function(e,r,t){"use strict";var n=t(538);var o=n("%Object.defineProperty%",true);var a=function hasPropertyDescriptors(){if(o){try{o({},"a",{value:1});return true}catch(e){return false}}return false};a.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!a()){return null}try{return o([],"length",{value:1}).length!==1}catch(e){return true}};e.exports=a},320:function(e){"use strict";var r="Function.prototype.bind called on incompatible ";var t=Object.prototype.toString;var n=Math.max;var o="[object Function]";var a=function concatty(e,r){var t=[];for(var n=0;n<e.length;n+=1){t[n]=e[n]}for(var o=0;o<r.length;o+=1){t[o+e.length]=r[o]}return t};var i=function slicy(e,r){var t=[];for(var n=r||0,o=0;n<e.length;n+=1,o+=1){t[o]=e[n]}return t};var joiny=function(e,r){var t="";for(var n=0;n<e.length;n+=1){t+=e[n];if(n+1<e.length){t+=r}}return t};e.exports=function bind(e){var f=this;if(typeof f!=="function"||t.apply(f)!==o){throw new TypeError(r+f)}var l=i(arguments,1);var u;var binder=function(){if(this instanceof u){var r=f.apply(this,a(l,arguments));if(Object(r)===r){return r}return this}return f.apply(e,a(l,arguments))};var p=n(0,f.length-l.length);var c=[];for(var s=0;s<p;s++){c[s]="$"+s}u=Function("binder","return function ("+joiny(c,",")+"){ return binder.apply(this,arguments); }")(binder);if(f.prototype){var y=function Empty(){};y.prototype=f.prototype;u.prototype=new y;y.prototype=null}return u}},200:function(e,r,t){"use strict";var n=t(320);e.exports=Function.prototype.bind||n},538:function(e,r,t){"use strict";var n;var o=SyntaxError;var a=Function;var i=TypeError;var getEvalledConstructor=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}};var f=Object.getOwnPropertyDescriptor;if(f){try{f({},"")}catch(e){f=null}}var throwTypeError=function(){throw new i};var l=f?function(){try{arguments.callee;return throwTypeError}catch(e){try{return f(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError;var u=t(587)();var p=t(894)();var c=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null);var s={};var y=typeof Uint8Array==="undefined"||!c?n:c(Uint8Array);var v={"%AggregateError%":typeof AggregateError==="undefined"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayIteratorPrototype%":u&&c?c([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics==="undefined"?n:Atomics,"%BigInt%":typeof BigInt==="undefined"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array==="undefined"?n:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array==="undefined"?n:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?n:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u&&c?c(c([][Symbol.iterator]())):n,"%JSON%":typeof JSON==="object"?JSON:n,"%Map%":typeof Map==="undefined"?n:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!u||!c?n:c((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?n:Promise,"%Proxy%":typeof Proxy==="undefined"?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect==="undefined"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?n:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!u||!c?n:c((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u&&c?c(""[Symbol.iterator]()):n,"%Symbol%":u?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array==="undefined"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap==="undefined"?n:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?n:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?n:WeakSet};if(c){try{null.error}catch(e){var d=c(c(e));v["%Error.prototype%"]=d}}var g=function doEval(e){var r;if(e==="%AsyncFunction%"){r=getEvalledConstructor("async function () {}")}else if(e==="%GeneratorFunction%"){r=getEvalledConstructor("function* () {}")}else if(e==="%AsyncGeneratorFunction%"){r=getEvalledConstructor("async function* () {}")}else if(e==="%AsyncGenerator%"){var t=doEval("%AsyncGeneratorFunction%");if(t){r=t.prototype}}else if(e==="%AsyncIteratorPrototype%"){var n=doEval("%AsyncGenerator%");if(n&&c){r=c(n.prototype)}}v[e]=r;return r};var b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};var h=t(200);var m=t(157);var S=h.call(Function.call,Array.prototype.concat);var w=h.call(Function.apply,Array.prototype.splice);var O=h.call(Function.call,String.prototype.replace);var j=h.call(Function.call,String.prototype.slice);var A=h.call(Function.call,RegExp.prototype.exec);var P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var x=/\\(\\)?/g;var E=function stringToPath(e){var r=j(e,0,1);var t=j(e,-1);if(r==="%"&&t!=="%"){throw new o("invalid intrinsic syntax, expected closing `%`")}else if(t==="%"&&r!=="%"){throw new o("invalid intrinsic syntax, expected opening `%`")}var n=[];O(e,P,(function(e,r,t,o){n[n.length]=t?O(o,x,"$1"):r||e}));return n};var k=function getBaseIntrinsic(e,r){var t=e;var n;if(m(b,t)){n=b[t];t="%"+n[0]+"%"}if(m(v,t)){var a=v[t];if(a===s){a=g(t)}if(typeof a==="undefined"&&!r){throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!")}return{alias:n,name:t,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function GetIntrinsic(e,r){if(typeof e!=="string"||e.length===0){throw new i("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof r!=="boolean"){throw new i('"allowMissing" argument must be a boolean')}if(A(/^%?[^%]*%?$/,e)===null){throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var t=E(e);var a=t.length>0?t[0]:"";var l=k("%"+a+"%",r);var u=l.name;var p=l.value;var c=false;var s=l.alias;if(s){a=s[0];w(t,S([0,1],s))}for(var y=1,d=true;y<t.length;y+=1){var g=t[y];var b=j(g,0,1);var h=j(g,-1);if((b==='"'||b==="'"||b==="`"||(h==='"'||h==="'"||h==="`"))&&b!==h){throw new o("property names with quotes must have matching quotes")}if(g==="constructor"||!d){c=true}a+="."+g;u="%"+a+"%";if(m(v,u)){p=v[u]}else if(p!=null){if(!(g in p)){if(!r){throw new i("base intrinsic for "+e+" exists, but the property is not available.")}return void n}if(f&&y+1>=t.length){var O=f(p,g);d=!!O;if(d&&"get"in O&&!("originalValue"in O.get)){p=O.get}else{p=p[g]}}else{d=m(p,g);p=p[g]}if(d&&!c){v[u]=p}}}return p}},501:function(e,r,t){"use strict";var n=t(538);var o=n("%Object.getOwnPropertyDescriptor%",true);if(o){try{o([],"length")}catch(e){o=null}}e.exports=o},894:function(e){"use strict";var r={foo:{}};var t=Object;e.exports=function hasProto(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof t)}},587:function(e,r,t){"use strict";var n=typeof Symbol!=="undefined"&&Symbol;var o=t(747);e.exports=function hasNativeSymbols(){if(typeof n!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof n("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return o()}},747:function(e){"use strict";e.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var e={};var r=Symbol("test");var t=Object(r);if(typeof r==="string"){return false}if(Object.prototype.toString.call(r)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}var n=42;e[r]=n;for(r in e){return false}if(typeof Object.keys==="function"&&Object.keys(e).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(e).length!==0){return false}var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r){return false}if(!Object.prototype.propertyIsEnumerable.call(e,r)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var a=Object.getOwnPropertyDescriptor(e,r);if(a.value!==n||a.enumerable!==true){return false}}return true}},157:function(e,r,t){"use strict";var n=Function.prototype.call;var o=Object.prototype.hasOwnProperty;var a=t(200);e.exports=a.call(n,o)},504:function(e,r,t){var n=typeof Map==="function"&&Map.prototype;var o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null;var a=n&&o&&typeof o.get==="function"?o.get:null;var i=n&&Map.prototype.forEach;var f=typeof Set==="function"&&Set.prototype;var l=Object.getOwnPropertyDescriptor&&f?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null;var u=f&&l&&typeof l.get==="function"?l.get:null;var p=f&&Set.prototype.forEach;var c=typeof WeakMap==="function"&&WeakMap.prototype;var s=c?WeakMap.prototype.has:null;var y=typeof WeakSet==="function"&&WeakSet.prototype;var v=y?WeakSet.prototype.has:null;var d=typeof WeakRef==="function"&&WeakRef.prototype;var g=d?WeakRef.prototype.deref:null;var b=Boolean.prototype.valueOf;var h=Object.prototype.toString;var m=Function.prototype.toString;var S=String.prototype.match;var w=String.prototype.slice;var O=String.prototype.replace;var j=String.prototype.toUpperCase;var A=String.prototype.toLowerCase;var P=RegExp.prototype.test;var x=Array.prototype.concat;var E=Array.prototype.join;var k=Array.prototype.slice;var _=Math.floor;var R=typeof BigInt==="function"?BigInt.prototype.valueOf:null;var I=Object.getOwnPropertySymbols;var F=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol.prototype.toString:null;var N=typeof Symbol==="function"&&typeof Symbol.iterator==="object";var B=typeof Symbol==="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===N?"object":"symbol")?Symbol.toStringTag:null;var D=Object.prototype.propertyIsEnumerable;var M=(typeof Reflect==="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function addNumericSeparator(e,r){if(e===Infinity||e===-Infinity||e!==e||e&&e>-1e3&&e<1e3||P.call(/e/,r)){return r}var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==="number"){var n=e<0?-_(-e):_(e);if(n!==e){var o=String(n);var a=w.call(r,o.length+1);return O.call(o,t,"$&_")+"."+O.call(O.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(r,t,"$&_")}var T=t(265);var U=T.custom;var C=isSymbol(U)?U:null;e.exports=function inspect_(e,r,t,n){var o=r||{};if(has(o,"quoteStyle")&&(o.quoteStyle!=="single"&&o.quoteStyle!=="double")){throw new TypeError('option "quoteStyle" must be "single" or "double"')}if(has(o,"maxStringLength")&&(typeof o.maxStringLength==="number"?o.maxStringLength<0&&o.maxStringLength!==Infinity:o.maxStringLength!==null)){throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`')}var f=has(o,"customInspect")?o.customInspect:true;if(typeof f!=="boolean"&&f!=="symbol"){throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`")}if(has(o,"indent")&&o.indent!==null&&o.indent!=="\t"&&!(parseInt(o.indent,10)===o.indent&&o.indent>0)){throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`')}if(has(o,"numericSeparator")&&typeof o.numericSeparator!=="boolean"){throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`')}var l=o.numericSeparator;if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(typeof e==="boolean"){return e?"true":"false"}if(typeof e==="string"){return inspectString(e,o)}if(typeof e==="number"){if(e===0){return Infinity/e>0?"0":"-0"}var c=String(e);return l?addNumericSeparator(e,c):c}if(typeof e==="bigint"){var s=String(e)+"n";return l?addNumericSeparator(e,s):s}var y=typeof o.depth==="undefined"?5:o.depth;if(typeof t==="undefined"){t=0}if(t>=y&&y>0&&typeof e==="object"){return isArray(e)?"[Array]":"[Object]"}var v=getIndent(o,t);if(typeof n==="undefined"){n=[]}else if(indexOf(n,e)>=0){return"[Circular]"}function inspect(e,r,a){if(r){n=k.call(n);n.push(r)}if(a){var i={depth:o.depth};if(has(o,"quoteStyle")){i.quoteStyle=o.quoteStyle}return inspect_(e,i,t+1,n)}return inspect_(e,o,t+1,n)}if(typeof e==="function"&&!isRegExp(e)){var d=nameOf(e);var g=arrObjKeys(e,inspect);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+E.call(g,", ")+" }":"")}if(isSymbol(e)){var h=N?O.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(e);return typeof e==="object"&&!N?markBoxed(h):h}if(isElement(e)){var m="<"+A.call(String(e.nodeName));var S=e.attributes||[];for(var j=0;j<S.length;j++){m+=" "+S[j].name+"="+wrapQuotes(quote(S[j].value),"double",o)}m+=">";if(e.childNodes&&e.childNodes.length){m+="..."}m+="</"+A.call(String(e.nodeName))+">";return m}if(isArray(e)){if(e.length===0){return"[]"}var P=arrObjKeys(e,inspect);if(v&&!singleLineValues(P)){return"["+indentedJoin(P,v)+"]"}return"[ "+E.call(P,", ")+" ]"}if(isError(e)){var _=arrObjKeys(e,inspect);if(!("cause"in Error.prototype)&&"cause"in e&&!D.call(e,"cause")){return"{ ["+String(e)+"] "+E.call(x.call("[cause]: "+inspect(e.cause),_),", ")+" }"}if(_.length===0){return"["+String(e)+"]"}return"{ ["+String(e)+"] "+E.call(_,", ")+" }"}if(typeof e==="object"&&f){if(C&&typeof e[C]==="function"&&T){return T(e,{depth:y-t})}else if(f!=="symbol"&&typeof e.inspect==="function"){return e.inspect()}}if(isMap(e)){var I=[];if(i){i.call(e,(function(r,t){I.push(inspect(t,e,true)+" => "+inspect(r,e))}))}return collectionOf("Map",a.call(e),I,v)}if(isSet(e)){var U=[];if(p){p.call(e,(function(r){U.push(inspect(r,e))}))}return collectionOf("Set",u.call(e),U,v)}if(isWeakMap(e)){return weakCollectionOf("WeakMap")}if(isWeakSet(e)){return weakCollectionOf("WeakSet")}if(isWeakRef(e)){return weakCollectionOf("WeakRef")}if(isNumber(e)){return markBoxed(inspect(Number(e)))}if(isBigInt(e)){return markBoxed(inspect(R.call(e)))}if(isBoolean(e)){return markBoxed(b.call(e))}if(isString(e)){return markBoxed(inspect(String(e)))}if(typeof window!=="undefined"&&e===window){return"{ [object Window] }"}if(e===global){return"{ [object globalThis] }"}if(!isDate(e)&&!isRegExp(e)){var W=arrObjKeys(e,inspect);var L=M?M(e)===Object.prototype:e instanceof Object||e.constructor===Object;var q=e instanceof Object?"":"null prototype";var G=!L&&B&&Object(e)===e&&B in e?w.call(toStr(e),8,-1):q?"Object":"";var Q=L||typeof e.constructor!=="function"?"":e.constructor.name?e.constructor.name+" ":"";var $=Q+(G||q?"["+E.call(x.call([],G||[],q||[]),": ")+"] ":"");if(W.length===0){return $+"{}"}if(v){return $+"{"+indentedJoin(W,v)+"}"}return $+"{ "+E.call(W,", ")+" }"}return String(e)};function wrapQuotes(e,r,t){var n=(t.quoteStyle||r)==="double"?'"':"'";return n+e+n}function quote(e){return O.call(String(e),/"/g,""")}function isArray(e){return toStr(e)==="[object Array]"&&(!B||!(typeof e==="object"&&B in e))}function isDate(e){return toStr(e)==="[object Date]"&&(!B||!(typeof e==="object"&&B in e))}function isRegExp(e){return toStr(e)==="[object RegExp]"&&(!B||!(typeof e==="object"&&B in e))}function isError(e){return toStr(e)==="[object Error]"&&(!B||!(typeof e==="object"&&B in e))}function isString(e){return toStr(e)==="[object String]"&&(!B||!(typeof e==="object"&&B in e))}function isNumber(e){return toStr(e)==="[object Number]"&&(!B||!(typeof e==="object"&&B in e))}function isBoolean(e){return toStr(e)==="[object Boolean]"&&(!B||!(typeof e==="object"&&B in e))}function isSymbol(e){if(N){return e&&typeof e==="object"&&e instanceof Symbol}if(typeof e==="symbol"){return true}if(!e||typeof e!=="object"||!F){return false}try{F.call(e);return true}catch(e){}return false}function isBigInt(e){if(!e||typeof e!=="object"||!R){return false}try{R.call(e);return true}catch(e){}return false}var W=Object.prototype.hasOwnProperty||function(e){return e in this};function has(e,r){return W.call(e,r)}function toStr(e){return h.call(e)}function nameOf(e){if(e.name){return e.name}var r=S.call(m.call(e),/^function\s*([\w$]+)/);if(r){return r[1]}return null}function indexOf(e,r){if(e.indexOf){return e.indexOf(r)}for(var t=0,n=e.length;t<n;t++){if(e[t]===r){return t}}return-1}function isMap(e){if(!a||!e||typeof e!=="object"){return false}try{a.call(e);try{u.call(e)}catch(e){return true}return e instanceof Map}catch(e){}return false}function isWeakMap(e){if(!s||!e||typeof e!=="object"){return false}try{s.call(e,s);try{v.call(e,v)}catch(e){return true}return e instanceof WeakMap}catch(e){}return false}function isWeakRef(e){if(!g||!e||typeof e!=="object"){return false}try{g.call(e);return true}catch(e){}return false}function isSet(e){if(!u||!e||typeof e!=="object"){return false}try{u.call(e);try{a.call(e)}catch(e){return true}return e instanceof Set}catch(e){}return false}function isWeakSet(e){if(!v||!e||typeof e!=="object"){return false}try{v.call(e,v);try{s.call(e,s)}catch(e){return true}return e instanceof WeakSet}catch(e){}return false}function isElement(e){if(!e||typeof e!=="object"){return false}if(typeof HTMLElement!=="undefined"&&e instanceof HTMLElement){return true}return typeof e.nodeName==="string"&&typeof e.getAttribute==="function"}function inspectString(e,r){if(e.length>r.maxStringLength){var t=e.length-r.maxStringLength;var n="... "+t+" more character"+(t>1?"s":"");return inspectString(w.call(e,0,r.maxStringLength),r)+n}var o=O.call(O.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(o,"single",r)}function lowbyte(e){var r=e.charCodeAt(0);var t={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];if(t){return"\\"+t}return"\\x"+(r<16?"0":"")+j.call(r.toString(16))}function markBoxed(e){return"Object("+e+")"}function weakCollectionOf(e){return e+" { ? }"}function collectionOf(e,r,t,n){var o=n?indentedJoin(t,n):E.call(t,", ");return e+" ("+r+") {"+o+"}"}function singleLineValues(e){for(var r=0;r<e.length;r++){if(indexOf(e[r],"\n")>=0){return false}}return true}function getIndent(e,r){var t;if(e.indent==="\t"){t="\t"}else if(typeof e.indent==="number"&&e.indent>0){t=E.call(Array(e.indent+1)," ")}else{return null}return{base:t,prev:E.call(Array(r+1),t)}}function indentedJoin(e,r){if(e.length===0){return""}var t="\n"+r.prev+r.base;return t+E.call(e,","+t)+"\n"+r.prev}function arrObjKeys(e,r){var t=isArray(e);var n=[];if(t){n.length=e.length;for(var o=0;o<e.length;o++){n[o]=has(e,o)?r(e[o],e):""}}var a=typeof I==="function"?I(e):[];var i;if(N){i={};for(var f=0;f<a.length;f++){i["$"+a[f]]=a[f]}}for(var l in e){if(!has(e,l)){continue}if(t&&String(Number(l))===l&&l<e.length){continue}if(N&&i["$"+l]instanceof Symbol){continue}else if(P.call(/[^\w$]/,l)){n.push(r(l,e)+": "+r(e[l],e))}else{n.push(l+": "+r(e[l],e))}}if(typeof I==="function"){for(var u=0;u<a.length;u++){if(D.call(e,a[u])){n.push("["+r(a[u])+"]: "+r(e[a[u]],e))}}}return n}},265:function(e,r,t){e.exports=t(837).inspect},907:function(e){"use strict";var r=String.prototype.replace;var t=/%20/g;var n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return r.call(e,t,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},760:function(e,r,t){"use strict";var n=t(954);var o=t(912);var a=t(907);e.exports={formats:a,parse:o,stringify:n}},912:function(e,r,t){"use strict";var n=t(360);var o=Object.prototype.hasOwnProperty;var a=Array.isArray;var i={allowDots:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictNullHandling:false};var interpretNumericEntities=function(e){return e.replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(parseInt(r,10))}))};var parseArrayValue=function(e,r){if(e&&typeof e==="string"&&r.comma&&e.indexOf(",")>-1){return e.split(",")}return e};var f="utf8=%26%2310003%3B";var l="utf8=%E2%9C%93";var u=function parseQueryStringValues(e,r){var t={__proto__:null};var u=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;var p=r.parameterLimit===Infinity?undefined:r.parameterLimit;var c=u.split(r.delimiter,p);var s=-1;var y;var v=r.charset;if(r.charsetSentinel){for(y=0;y<c.length;++y){if(c[y].indexOf("utf8=")===0){if(c[y]===l){v="utf-8"}else if(c[y]===f){v="iso-8859-1"}s=y;y=c.length}}}for(y=0;y<c.length;++y){if(y===s){continue}var d=c[y];var g=d.indexOf("]=");var b=g===-1?d.indexOf("="):g+1;var h,m;if(b===-1){h=r.decoder(d,i.decoder,v,"key");m=r.strictNullHandling?null:""}else{h=r.decoder(d.slice(0,b),i.decoder,v,"key");m=n.maybeMap(parseArrayValue(d.slice(b+1),r),(function(e){return r.decoder(e,i.decoder,v,"value")}))}if(m&&r.interpretNumericEntities&&v==="iso-8859-1"){m=interpretNumericEntities(m)}if(d.indexOf("[]=")>-1){m=a(m)?[m]:m}if(o.call(t,h)){t[h]=n.combine(t[h],m)}else{t[h]=m}}return t};var parseObject=function(e,r,t,n){var o=n?r:parseArrayValue(r,t);for(var a=e.length-1;a>=0;--a){var i;var f=e[a];if(f==="[]"&&t.parseArrays){i=[].concat(o)}else{i=t.plainObjects?Object.create(null):{};var l=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f;var u=parseInt(l,10);if(!t.parseArrays&&l===""){i={0:o}}else if(!isNaN(u)&&f!==l&&String(u)===l&&u>=0&&(t.parseArrays&&u<=t.arrayLimit)){i=[];i[u]=o}else if(l!=="__proto__"){i[l]=o}}o=i}return o};var p=function parseQueryStringKeys(e,r,t,n){if(!e){return}var a=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;var i=/(\[[^[\]]*])/;var f=/(\[[^[\]]*])/g;var l=t.depth>0&&i.exec(a);var u=l?a.slice(0,l.index):a;var p=[];if(u){if(!t.plainObjects&&o.call(Object.prototype,u)){if(!t.allowPrototypes){return}}p.push(u)}var c=0;while(t.depth>0&&(l=f.exec(a))!==null&&c<t.depth){c+=1;if(!t.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))){if(!t.allowPrototypes){return}}p.push(l[1])}if(l){p.push("["+a.slice(l.index)+"]")}return parseObject(p,r,t,n)};var c=function normalizeParseOptions(e){if(!e){return i}if(e.decoder!==null&&e.decoder!==undefined&&typeof e.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}if(typeof e.charset!=="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var r=typeof e.charset==="undefined"?i.charset:e.charset;return{allowDots:typeof e.allowDots==="undefined"?i.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes==="boolean"?e.allowPrototypes:i.allowPrototypes,allowSparse:typeof e.allowSparse==="boolean"?e.allowSparse:i.allowSparse,arrayLimit:typeof e.arrayLimit==="number"?e.arrayLimit:i.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel==="boolean"?e.charsetSentinel:i.charsetSentinel,comma:typeof e.comma==="boolean"?e.comma:i.comma,decoder:typeof e.decoder==="function"?e.decoder:i.decoder,delimiter:typeof e.delimiter==="string"||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:typeof e.depth==="number"||e.depth===false?+e.depth:i.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===true,interpretNumericEntities:typeof e.interpretNumericEntities==="boolean"?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==="number"?e.parameterLimit:i.parameterLimit,parseArrays:e.parseArrays!==false,plainObjects:typeof e.plainObjects==="boolean"?e.plainObjects:i.plainObjects,strictNullHandling:typeof e.strictNullHandling==="boolean"?e.strictNullHandling:i.strictNullHandling}};e.exports=function(e,r){var t=c(r);if(e===""||e===null||typeof e==="undefined"){return t.plainObjects?Object.create(null):{}}var o=typeof e==="string"?u(e,t):e;var a=t.plainObjects?Object.create(null):{};var i=Object.keys(o);for(var f=0;f<i.length;++f){var l=i[f];var s=p(l,o[l],t,typeof e==="string");a=n.merge(a,s,t)}if(t.allowSparse===true){return a}return n.compact(a)}},954:function(e,r,t){"use strict";var n=t(334);var o=t(360);var a=t(907);var i=Object.prototype.hasOwnProperty;var f={brackets:function brackets(e){return e+"[]"},comma:"comma",indices:function indices(e,r){return e+"["+r+"]"},repeat:function repeat(e){return e}};var l=Array.isArray;var u=Array.prototype.push;var pushToArray=function(e,r){u.apply(e,l(r)?r:[r])};var p=Date.prototype.toISOString;var c=a["default"];var s={addQueryPrefix:false,allowDots:false,charset:"utf-8",charsetSentinel:false,delimiter:"&",encode:true,encoder:o.encode,encodeValuesOnly:false,format:c,formatter:a.formatters[c],indices:false,serializeDate:function serializeDate(e){return p.call(e)},skipNulls:false,strictNullHandling:false};var y=function isNonNullishPrimitive(e){return typeof e==="string"||typeof e==="number"||typeof e==="boolean"||typeof e==="symbol"||typeof e==="bigint"};var v={};var d=function stringify(e,r,t,a,i,f,u,p,c,d,g,b,h,m,S,w){var O=e;var j=w;var A=0;var P=false;while((j=j.get(v))!==void undefined&&!P){var x=j.get(e);A+=1;if(typeof x!=="undefined"){if(x===A){throw new RangeError("Cyclic object value")}else{P=true}}if(typeof j.get(v)==="undefined"){A=0}}if(typeof p==="function"){O=p(r,O)}else if(O instanceof Date){O=g(O)}else if(t==="comma"&&l(O)){O=o.maybeMap(O,(function(e){if(e instanceof Date){return g(e)}return e}))}if(O===null){if(i){return u&&!m?u(r,s.encoder,S,"key",b):r}O=""}if(y(O)||o.isBuffer(O)){if(u){var E=m?r:u(r,s.encoder,S,"key",b);return[h(E)+"="+h(u(O,s.encoder,S,"value",b))]}return[h(r)+"="+h(String(O))]}var k=[];if(typeof O==="undefined"){return k}var _;if(t==="comma"&&l(O)){if(m&&u){O=o.maybeMap(O,u)}_=[{value:O.length>0?O.join(",")||null:void undefined}]}else if(l(p)){_=p}else{var R=Object.keys(O);_=c?R.sort(c):R}var I=a&&l(O)&&O.length===1?r+"[]":r;for(var F=0;F<_.length;++F){var N=_[F];var B=typeof N==="object"&&typeof N.value!=="undefined"?N.value:O[N];if(f&&B===null){continue}var D=l(O)?typeof t==="function"?t(I,N):I:I+(d?"."+N:"["+N+"]");w.set(e,A);var M=n();M.set(v,w);pushToArray(k,stringify(B,D,t,a,i,f,t==="comma"&&m&&l(O)?null:u,p,c,d,g,b,h,m,S,M))}return k};var g=function normalizeStringifyOptions(e){if(!e){return s}if(e.encoder!==null&&typeof e.encoder!=="undefined"&&typeof e.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var r=e.charset||s.charset;if(typeof e.charset!=="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var t=a["default"];if(typeof e.format!=="undefined"){if(!i.call(a.formatters,e.format)){throw new TypeError("Unknown format option provided.")}t=e.format}var n=a.formatters[t];var o=s.filter;if(typeof e.filter==="function"||l(e.filter)){o=e.filter}return{addQueryPrefix:typeof e.addQueryPrefix==="boolean"?e.addQueryPrefix:s.addQueryPrefix,allowDots:typeof e.allowDots==="undefined"?s.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel==="boolean"?e.charsetSentinel:s.charsetSentinel,delimiter:typeof e.delimiter==="undefined"?s.delimiter:e.delimiter,encode:typeof e.encode==="boolean"?e.encode:s.encode,encoder:typeof e.encoder==="function"?e.encoder:s.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==="boolean"?e.encodeValuesOnly:s.encodeValuesOnly,filter:o,format:t,formatter:n,serializeDate:typeof e.serializeDate==="function"?e.serializeDate:s.serializeDate,skipNulls:typeof e.skipNulls==="boolean"?e.skipNulls:s.skipNulls,sort:typeof e.sort==="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling==="boolean"?e.strictNullHandling:s.strictNullHandling}};e.exports=function(e,r){var t=e;var o=g(r);var a;var i;if(typeof o.filter==="function"){i=o.filter;t=i("",t)}else if(l(o.filter)){i=o.filter;a=i}var u=[];if(typeof t!=="object"||t===null){return""}var p;if(r&&r.arrayFormat in f){p=r.arrayFormat}else if(r&&"indices"in r){p=r.indices?"indices":"repeat"}else{p="indices"}var c=f[p];if(r&&"commaRoundTrip"in r&&typeof r.commaRoundTrip!=="boolean"){throw new TypeError("`commaRoundTrip` must be a boolean, or absent")}var s=c==="comma"&&r&&r.commaRoundTrip;if(!a){a=Object.keys(t)}if(o.sort){a.sort(o.sort)}var y=n();for(var v=0;v<a.length;++v){var b=a[v];if(o.skipNulls&&t[b]===null){continue}pushToArray(u,d(t[b],b,c,s,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,y))}var h=u.join(o.delimiter);var m=o.addQueryPrefix===true?"?":"";if(o.charsetSentinel){if(o.charset==="iso-8859-1"){m+="utf8=%26%2310003%3B&"}else{m+="utf8=%E2%9C%93&"}}return h.length>0?m+h:""}},360:function(e,r,t){"use strict";var n=t(907);var o=Object.prototype.hasOwnProperty;var a=Array.isArray;var i=function(){var e=[];for(var r=0;r<256;++r){e.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase())}return e}();var f=function compactQueue(e){while(e.length>1){var r=e.pop();var t=r.obj[r.prop];if(a(t)){var n=[];for(var o=0;o<t.length;++o){if(typeof t[o]!=="undefined"){n.push(t[o])}}r.obj[r.prop]=n}}};var l=function arrayToObject(e,r){var t=r&&r.plainObjects?Object.create(null):{};for(var n=0;n<e.length;++n){if(typeof e[n]!=="undefined"){t[n]=e[n]}}return t};var u=function merge(e,r,t){if(!r){return e}if(typeof r!=="object"){if(a(e)){e.push(r)}else if(e&&typeof e==="object"){if(t&&(t.plainObjects||t.allowPrototypes)||!o.call(Object.prototype,r)){e[r]=true}}else{return[e,r]}return e}if(!e||typeof e!=="object"){return[e].concat(r)}var n=e;if(a(e)&&!a(r)){n=l(e,t)}if(a(e)&&a(r)){r.forEach((function(r,n){if(o.call(e,n)){var a=e[n];if(a&&typeof a==="object"&&r&&typeof r==="object"){e[n]=merge(a,r,t)}else{e.push(r)}}else{e[n]=r}}));return e}return Object.keys(r).reduce((function(e,n){var a=r[n];if(o.call(e,n)){e[n]=merge(e[n],a,t)}else{e[n]=a}return e}),n)};var p=function assignSingleSource(e,r){return Object.keys(r).reduce((function(e,t){e[t]=r[t];return e}),e)};var decode=function(e,r,t){var n=e.replace(/\+/g," ");if(t==="iso-8859-1"){return n.replace(/%[0-9a-f]{2}/gi,unescape)}try{return decodeURIComponent(n)}catch(e){return n}};var c=function encode(e,r,t,o,a){if(e.length===0){return e}var f=e;if(typeof e==="symbol"){f=Symbol.prototype.toString.call(e)}else if(typeof e!=="string"){f=String(e)}if(t==="iso-8859-1"){return escape(f).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}))}var l="";for(var u=0;u<f.length;++u){var p=f.charCodeAt(u);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){l+=f.charAt(u);continue}if(p<128){l=l+i[p];continue}if(p<2048){l=l+(i[192|p>>6]+i[128|p&63]);continue}if(p<55296||p>=57344){l=l+(i[224|p>>12]+i[128|p>>6&63]+i[128|p&63]);continue}u+=1;p=65536+((p&1023)<<10|f.charCodeAt(u)&1023);l+=i[240|p>>18]+i[128|p>>12&63]+i[128|p>>6&63]+i[128|p&63]}return l};var s=function compact(e){var r=[{obj:{o:e},prop:"o"}];var t=[];for(var n=0;n<r.length;++n){var o=r[n];var a=o.obj[o.prop];var i=Object.keys(a);for(var l=0;l<i.length;++l){var u=i[l];var p=a[u];if(typeof p==="object"&&p!==null&&t.indexOf(p)===-1){r.push({obj:a,prop:u});t.push(p)}}}f(r);return e};var y=function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"};var v=function isBuffer(e){if(!e||typeof e!=="object"){return false}return!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))};var d=function combine(e,r){return[].concat(e,r)};var g=function maybeMap(e,r){if(a(e)){var t=[];for(var n=0;n<e.length;n+=1){t.push(r(e[n]))}return t}return r(e)};e.exports={arrayToObject:l,assign:p,combine:d,compact:s,decode:decode,encode:c,isBuffer:v,isRegExp:y,maybeMap:g,merge:u}},334:function(e,r,t){"use strict";var n=t(538);var o=t(803);var a=t(504);var i=n("%TypeError%");var f=n("%WeakMap%",true);var l=n("%Map%",true);var u=o("WeakMap.prototype.get",true);var p=o("WeakMap.prototype.set",true);var c=o("WeakMap.prototype.has",true);var s=o("Map.prototype.get",true);var y=o("Map.prototype.set",true);var v=o("Map.prototype.has",true);var listGetNode=function(e,r){for(var t=e,n;(n=t.next)!==null;t=n){if(n.key===r){t.next=n.next;n.next=e.next;e.next=n;return n}}};var listGet=function(e,r){var t=listGetNode(e,r);return t&&t.value};var listSet=function(e,r,t){var n=listGetNode(e,r);if(n){n.value=t}else{e.next={key:r,next:e.next,value:t}}};var listHas=function(e,r){return!!listGetNode(e,r)};e.exports=function getSideChannel(){var e;var r;var t;var n={assert:function(e){if(!n.has(e)){throw new i("Side channel does not contain "+a(e))}},get:function(n){if(f&&n&&(typeof n==="object"||typeof n==="function")){if(e){return u(e,n)}}else if(l){if(r){return s(r,n)}}else{if(t){return listGet(t,n)}}},has:function(n){if(f&&n&&(typeof n==="object"||typeof n==="function")){if(e){return c(e,n)}}else if(l){if(r){return v(r,n)}}else{if(t){return listHas(t,n)}}return false},set:function(n,o){if(f&&n&&(typeof n==="object"||typeof n==="function")){if(!e){e=new f}p(e,n,o)}else if(l){if(!r){r=new l}y(r,n,o)}else{if(!t){t={key:{},next:null}}listSet(t,n,o)}}};return n}},837:function(e){"use strict";e.exports=require("util")}};var r={};function __nccwpck_require__(t){var n=r[t];if(n!==undefined){return n.exports}var o=r[t]={exports:{}};var a=true;try{e[t](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(760);module.exports=t})();
|
|
1
|
+
(()=>{var e={803:(e,r,t)=>{"use strict";var n=t(538);var o=t(977);var a=o(n("String.prototype.indexOf"));e.exports=function callBoundIntrinsic(e,r){var t=n(e,!!r);if(typeof t==="function"&&a(e,".prototype.")>-1){return o(t)}return t}},977:(e,r,t)=>{"use strict";var n=t(200);var o=t(538);var a=t(473);var i=o("%TypeError%");var f=o("%Function.prototype.apply%");var l=o("%Function.prototype.call%");var u=o("%Reflect.apply%",true)||n.call(l,f);var p=o("%Object.defineProperty%",true);var c=o("%Math.max%");if(p){try{p({},"a",{value:1})}catch(e){p=null}}e.exports=function callBind(e){if(typeof e!=="function"){throw new i("a function is required")}var r=u(n,l,arguments);return a(r,1+c(0,e.length-(arguments.length-1)),true)};var s=function applyBind(){return u(n,f,arguments)};if(p){p(e.exports,"apply",{value:s})}else{e.exports.apply=s}},708:(e,r,t)=>{"use strict";var n=t(538);var o=n("%Object.defineProperty%",true);var a=function hasPropertyDescriptors(){if(o){try{o({},"a",{value:1});return true}catch(e){return false}}return false};a.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!a()){return null}try{return o([],"length",{value:1}).length!==1}catch(e){return true}};e.exports=a},473:(e,r,t)=>{"use strict";var n=t(538);var o=t(564);var a=t(708)();var i=t(501);var f=n("%TypeError%");var l=n("%Math.floor%");e.exports=function setFunctionLength(e,r){if(typeof e!=="function"){throw new f("`fn` is not a function")}if(typeof r!=="number"||r<0||r>4294967295||l(r)!==r){throw new f("`length` must be a positive 32-bit integer")}var t=arguments.length>2&&!!arguments[2];var n=true;var u=true;if("length"in e&&i){var p=i(e,"length");if(p&&!p.configurable){n=false}if(p&&!p.writable){u=false}}if(n||u||!t){if(a){o(e,"length",r,true,true)}else{o(e,"length",r)}}return e}},564:(e,r,t)=>{"use strict";var n=t(570)();var o=t(538);var a=n&&o("%Object.defineProperty%",true);if(a){try{a({},"a",{value:1})}catch(e){a=false}}var i=o("%SyntaxError%");var f=o("%TypeError%");var l=t(501);e.exports=function defineDataProperty(e,r,t){if(!e||typeof e!=="object"&&typeof e!=="function"){throw new f("`obj` must be an object or a function`")}if(typeof r!=="string"&&typeof r!=="symbol"){throw new f("`property` must be a string or a symbol`")}if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null){throw new f("`nonEnumerable`, if provided, must be a boolean or null")}if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null){throw new f("`nonWritable`, if provided, must be a boolean or null")}if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null){throw new f("`nonConfigurable`, if provided, must be a boolean or null")}if(arguments.length>6&&typeof arguments[6]!=="boolean"){throw new f("`loose`, if provided, must be a boolean")}var n=arguments.length>3?arguments[3]:null;var o=arguments.length>4?arguments[4]:null;var u=arguments.length>5?arguments[5]:null;var p=arguments.length>6?arguments[6]:false;var c=!!l&&l(e,r);if(a){a(e,r,{configurable:u===null&&c?c.configurable:!u,enumerable:n===null&&c?c.enumerable:!n,value:t,writable:o===null&&c?c.writable:!o})}else if(p||!n&&!o&&!u){e[r]=t}else{throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}},570:(e,r,t)=>{"use strict";var n=t(538);var o=n("%Object.defineProperty%",true);var a=function hasPropertyDescriptors(){if(o){try{o({},"a",{value:1});return true}catch(e){return false}}return false};a.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!a()){return null}try{return o([],"length",{value:1}).length!==1}catch(e){return true}};e.exports=a},320:e=>{"use strict";var r="Function.prototype.bind called on incompatible ";var t=Object.prototype.toString;var n=Math.max;var o="[object Function]";var a=function concatty(e,r){var t=[];for(var n=0;n<e.length;n+=1){t[n]=e[n]}for(var o=0;o<r.length;o+=1){t[o+e.length]=r[o]}return t};var i=function slicy(e,r){var t=[];for(var n=r||0,o=0;n<e.length;n+=1,o+=1){t[o]=e[n]}return t};var joiny=function(e,r){var t="";for(var n=0;n<e.length;n+=1){t+=e[n];if(n+1<e.length){t+=r}}return t};e.exports=function bind(e){var f=this;if(typeof f!=="function"||t.apply(f)!==o){throw new TypeError(r+f)}var l=i(arguments,1);var u;var binder=function(){if(this instanceof u){var r=f.apply(this,a(l,arguments));if(Object(r)===r){return r}return this}return f.apply(e,a(l,arguments))};var p=n(0,f.length-l.length);var c=[];for(var s=0;s<p;s++){c[s]="$"+s}u=Function("binder","return function ("+joiny(c,",")+"){ return binder.apply(this,arguments); }")(binder);if(f.prototype){var y=function Empty(){};y.prototype=f.prototype;u.prototype=new y;y.prototype=null}return u}},200:(e,r,t)=>{"use strict";var n=t(320);e.exports=Function.prototype.bind||n},538:(e,r,t)=>{"use strict";var n;var o=SyntaxError;var a=Function;var i=TypeError;var getEvalledConstructor=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}};var f=Object.getOwnPropertyDescriptor;if(f){try{f({},"")}catch(e){f=null}}var throwTypeError=function(){throw new i};var l=f?function(){try{arguments.callee;return throwTypeError}catch(e){try{return f(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError;var u=t(587)();var p=t(894)();var c=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null);var s={};var y=typeof Uint8Array==="undefined"||!c?n:c(Uint8Array);var v={"%AggregateError%":typeof AggregateError==="undefined"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayIteratorPrototype%":u&&c?c([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics==="undefined"?n:Atomics,"%BigInt%":typeof BigInt==="undefined"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array==="undefined"?n:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array==="undefined"?n:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?n:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u&&c?c(c([][Symbol.iterator]())):n,"%JSON%":typeof JSON==="object"?JSON:n,"%Map%":typeof Map==="undefined"?n:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!u||!c?n:c((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?n:Promise,"%Proxy%":typeof Proxy==="undefined"?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect==="undefined"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?n:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!u||!c?n:c((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u&&c?c(""[Symbol.iterator]()):n,"%Symbol%":u?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array==="undefined"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap==="undefined"?n:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?n:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?n:WeakSet};if(c){try{null.error}catch(e){var d=c(c(e));v["%Error.prototype%"]=d}}var g=function doEval(e){var r;if(e==="%AsyncFunction%"){r=getEvalledConstructor("async function () {}")}else if(e==="%GeneratorFunction%"){r=getEvalledConstructor("function* () {}")}else if(e==="%AsyncGeneratorFunction%"){r=getEvalledConstructor("async function* () {}")}else if(e==="%AsyncGenerator%"){var t=doEval("%AsyncGeneratorFunction%");if(t){r=t.prototype}}else if(e==="%AsyncIteratorPrototype%"){var n=doEval("%AsyncGenerator%");if(n&&c){r=c(n.prototype)}}v[e]=r;return r};var b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]};var h=t(200);var m=t(157);var S=h.call(Function.call,Array.prototype.concat);var w=h.call(Function.apply,Array.prototype.splice);var O=h.call(Function.call,String.prototype.replace);var j=h.call(Function.call,String.prototype.slice);var A=h.call(Function.call,RegExp.prototype.exec);var P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var x=/\\(\\)?/g;var E=function stringToPath(e){var r=j(e,0,1);var t=j(e,-1);if(r==="%"&&t!=="%"){throw new o("invalid intrinsic syntax, expected closing `%`")}else if(t==="%"&&r!=="%"){throw new o("invalid intrinsic syntax, expected opening `%`")}var n=[];O(e,P,(function(e,r,t,o){n[n.length]=t?O(o,x,"$1"):r||e}));return n};var k=function getBaseIntrinsic(e,r){var t=e;var n;if(m(b,t)){n=b[t];t="%"+n[0]+"%"}if(m(v,t)){var a=v[t];if(a===s){a=g(t)}if(typeof a==="undefined"&&!r){throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!")}return{alias:n,name:t,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function GetIntrinsic(e,r){if(typeof e!=="string"||e.length===0){throw new i("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof r!=="boolean"){throw new i('"allowMissing" argument must be a boolean')}if(A(/^%?[^%]*%?$/,e)===null){throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var t=E(e);var a=t.length>0?t[0]:"";var l=k("%"+a+"%",r);var u=l.name;var p=l.value;var c=false;var s=l.alias;if(s){a=s[0];w(t,S([0,1],s))}for(var y=1,d=true;y<t.length;y+=1){var g=t[y];var b=j(g,0,1);var h=j(g,-1);if((b==='"'||b==="'"||b==="`"||(h==='"'||h==="'"||h==="`"))&&b!==h){throw new o("property names with quotes must have matching quotes")}if(g==="constructor"||!d){c=true}a+="."+g;u="%"+a+"%";if(m(v,u)){p=v[u]}else if(p!=null){if(!(g in p)){if(!r){throw new i("base intrinsic for "+e+" exists, but the property is not available.")}return void n}if(f&&y+1>=t.length){var O=f(p,g);d=!!O;if(d&&"get"in O&&!("originalValue"in O.get)){p=O.get}else{p=p[g]}}else{d=m(p,g);p=p[g]}if(d&&!c){v[u]=p}}}return p}},501:(e,r,t)=>{"use strict";var n=t(538);var o=n("%Object.getOwnPropertyDescriptor%",true);if(o){try{o([],"length")}catch(e){o=null}}e.exports=o},894:e=>{"use strict";var r={foo:{}};var t=Object;e.exports=function hasProto(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof t)}},587:(e,r,t)=>{"use strict";var n=typeof Symbol!=="undefined"&&Symbol;var o=t(747);e.exports=function hasNativeSymbols(){if(typeof n!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof n("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return o()}},747:e=>{"use strict";e.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var e={};var r=Symbol("test");var t=Object(r);if(typeof r==="string"){return false}if(Object.prototype.toString.call(r)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}var n=42;e[r]=n;for(r in e){return false}if(typeof Object.keys==="function"&&Object.keys(e).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(e).length!==0){return false}var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r){return false}if(!Object.prototype.propertyIsEnumerable.call(e,r)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var a=Object.getOwnPropertyDescriptor(e,r);if(a.value!==n||a.enumerable!==true){return false}}return true}},157:(e,r,t)=>{"use strict";var n=Function.prototype.call;var o=Object.prototype.hasOwnProperty;var a=t(200);e.exports=a.call(n,o)},504:(e,r,t)=>{var n=typeof Map==="function"&&Map.prototype;var o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null;var a=n&&o&&typeof o.get==="function"?o.get:null;var i=n&&Map.prototype.forEach;var f=typeof Set==="function"&&Set.prototype;var l=Object.getOwnPropertyDescriptor&&f?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null;var u=f&&l&&typeof l.get==="function"?l.get:null;var p=f&&Set.prototype.forEach;var c=typeof WeakMap==="function"&&WeakMap.prototype;var s=c?WeakMap.prototype.has:null;var y=typeof WeakSet==="function"&&WeakSet.prototype;var v=y?WeakSet.prototype.has:null;var d=typeof WeakRef==="function"&&WeakRef.prototype;var g=d?WeakRef.prototype.deref:null;var b=Boolean.prototype.valueOf;var h=Object.prototype.toString;var m=Function.prototype.toString;var S=String.prototype.match;var w=String.prototype.slice;var O=String.prototype.replace;var j=String.prototype.toUpperCase;var A=String.prototype.toLowerCase;var P=RegExp.prototype.test;var x=Array.prototype.concat;var E=Array.prototype.join;var k=Array.prototype.slice;var _=Math.floor;var R=typeof BigInt==="function"?BigInt.prototype.valueOf:null;var I=Object.getOwnPropertySymbols;var F=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?Symbol.prototype.toString:null;var N=typeof Symbol==="function"&&typeof Symbol.iterator==="object";var B=typeof Symbol==="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===N?"object":"symbol")?Symbol.toStringTag:null;var D=Object.prototype.propertyIsEnumerable;var M=(typeof Reflect==="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function addNumericSeparator(e,r){if(e===Infinity||e===-Infinity||e!==e||e&&e>-1e3&&e<1e3||P.call(/e/,r)){return r}var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==="number"){var n=e<0?-_(-e):_(e);if(n!==e){var o=String(n);var a=w.call(r,o.length+1);return O.call(o,t,"$&_")+"."+O.call(O.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(r,t,"$&_")}var T=t(265);var U=T.custom;var C=isSymbol(U)?U:null;e.exports=function inspect_(e,r,t,n){var o=r||{};if(has(o,"quoteStyle")&&(o.quoteStyle!=="single"&&o.quoteStyle!=="double")){throw new TypeError('option "quoteStyle" must be "single" or "double"')}if(has(o,"maxStringLength")&&(typeof o.maxStringLength==="number"?o.maxStringLength<0&&o.maxStringLength!==Infinity:o.maxStringLength!==null)){throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`')}var f=has(o,"customInspect")?o.customInspect:true;if(typeof f!=="boolean"&&f!=="symbol"){throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`")}if(has(o,"indent")&&o.indent!==null&&o.indent!=="\t"&&!(parseInt(o.indent,10)===o.indent&&o.indent>0)){throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`')}if(has(o,"numericSeparator")&&typeof o.numericSeparator!=="boolean"){throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`')}var l=o.numericSeparator;if(typeof e==="undefined"){return"undefined"}if(e===null){return"null"}if(typeof e==="boolean"){return e?"true":"false"}if(typeof e==="string"){return inspectString(e,o)}if(typeof e==="number"){if(e===0){return Infinity/e>0?"0":"-0"}var c=String(e);return l?addNumericSeparator(e,c):c}if(typeof e==="bigint"){var s=String(e)+"n";return l?addNumericSeparator(e,s):s}var y=typeof o.depth==="undefined"?5:o.depth;if(typeof t==="undefined"){t=0}if(t>=y&&y>0&&typeof e==="object"){return isArray(e)?"[Array]":"[Object]"}var v=getIndent(o,t);if(typeof n==="undefined"){n=[]}else if(indexOf(n,e)>=0){return"[Circular]"}function inspect(e,r,a){if(r){n=k.call(n);n.push(r)}if(a){var i={depth:o.depth};if(has(o,"quoteStyle")){i.quoteStyle=o.quoteStyle}return inspect_(e,i,t+1,n)}return inspect_(e,o,t+1,n)}if(typeof e==="function"&&!isRegExp(e)){var d=nameOf(e);var g=arrObjKeys(e,inspect);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(g.length>0?" { "+E.call(g,", ")+" }":"")}if(isSymbol(e)){var h=N?O.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(e);return typeof e==="object"&&!N?markBoxed(h):h}if(isElement(e)){var m="<"+A.call(String(e.nodeName));var S=e.attributes||[];for(var j=0;j<S.length;j++){m+=" "+S[j].name+"="+wrapQuotes(quote(S[j].value),"double",o)}m+=">";if(e.childNodes&&e.childNodes.length){m+="..."}m+="</"+A.call(String(e.nodeName))+">";return m}if(isArray(e)){if(e.length===0){return"[]"}var P=arrObjKeys(e,inspect);if(v&&!singleLineValues(P)){return"["+indentedJoin(P,v)+"]"}return"[ "+E.call(P,", ")+" ]"}if(isError(e)){var _=arrObjKeys(e,inspect);if(!("cause"in Error.prototype)&&"cause"in e&&!D.call(e,"cause")){return"{ ["+String(e)+"] "+E.call(x.call("[cause]: "+inspect(e.cause),_),", ")+" }"}if(_.length===0){return"["+String(e)+"]"}return"{ ["+String(e)+"] "+E.call(_,", ")+" }"}if(typeof e==="object"&&f){if(C&&typeof e[C]==="function"&&T){return T(e,{depth:y-t})}else if(f!=="symbol"&&typeof e.inspect==="function"){return e.inspect()}}if(isMap(e)){var I=[];if(i){i.call(e,(function(r,t){I.push(inspect(t,e,true)+" => "+inspect(r,e))}))}return collectionOf("Map",a.call(e),I,v)}if(isSet(e)){var U=[];if(p){p.call(e,(function(r){U.push(inspect(r,e))}))}return collectionOf("Set",u.call(e),U,v)}if(isWeakMap(e)){return weakCollectionOf("WeakMap")}if(isWeakSet(e)){return weakCollectionOf("WeakSet")}if(isWeakRef(e)){return weakCollectionOf("WeakRef")}if(isNumber(e)){return markBoxed(inspect(Number(e)))}if(isBigInt(e)){return markBoxed(inspect(R.call(e)))}if(isBoolean(e)){return markBoxed(b.call(e))}if(isString(e)){return markBoxed(inspect(String(e)))}if(typeof window!=="undefined"&&e===window){return"{ [object Window] }"}if(e===global){return"{ [object globalThis] }"}if(!isDate(e)&&!isRegExp(e)){var W=arrObjKeys(e,inspect);var L=M?M(e)===Object.prototype:e instanceof Object||e.constructor===Object;var q=e instanceof Object?"":"null prototype";var G=!L&&B&&Object(e)===e&&B in e?w.call(toStr(e),8,-1):q?"Object":"";var Q=L||typeof e.constructor!=="function"?"":e.constructor.name?e.constructor.name+" ":"";var $=Q+(G||q?"["+E.call(x.call([],G||[],q||[]),": ")+"] ":"");if(W.length===0){return $+"{}"}if(v){return $+"{"+indentedJoin(W,v)+"}"}return $+"{ "+E.call(W,", ")+" }"}return String(e)};function wrapQuotes(e,r,t){var n=(t.quoteStyle||r)==="double"?'"':"'";return n+e+n}function quote(e){return O.call(String(e),/"/g,""")}function isArray(e){return toStr(e)==="[object Array]"&&(!B||!(typeof e==="object"&&B in e))}function isDate(e){return toStr(e)==="[object Date]"&&(!B||!(typeof e==="object"&&B in e))}function isRegExp(e){return toStr(e)==="[object RegExp]"&&(!B||!(typeof e==="object"&&B in e))}function isError(e){return toStr(e)==="[object Error]"&&(!B||!(typeof e==="object"&&B in e))}function isString(e){return toStr(e)==="[object String]"&&(!B||!(typeof e==="object"&&B in e))}function isNumber(e){return toStr(e)==="[object Number]"&&(!B||!(typeof e==="object"&&B in e))}function isBoolean(e){return toStr(e)==="[object Boolean]"&&(!B||!(typeof e==="object"&&B in e))}function isSymbol(e){if(N){return e&&typeof e==="object"&&e instanceof Symbol}if(typeof e==="symbol"){return true}if(!e||typeof e!=="object"||!F){return false}try{F.call(e);return true}catch(e){}return false}function isBigInt(e){if(!e||typeof e!=="object"||!R){return false}try{R.call(e);return true}catch(e){}return false}var W=Object.prototype.hasOwnProperty||function(e){return e in this};function has(e,r){return W.call(e,r)}function toStr(e){return h.call(e)}function nameOf(e){if(e.name){return e.name}var r=S.call(m.call(e),/^function\s*([\w$]+)/);if(r){return r[1]}return null}function indexOf(e,r){if(e.indexOf){return e.indexOf(r)}for(var t=0,n=e.length;t<n;t++){if(e[t]===r){return t}}return-1}function isMap(e){if(!a||!e||typeof e!=="object"){return false}try{a.call(e);try{u.call(e)}catch(e){return true}return e instanceof Map}catch(e){}return false}function isWeakMap(e){if(!s||!e||typeof e!=="object"){return false}try{s.call(e,s);try{v.call(e,v)}catch(e){return true}return e instanceof WeakMap}catch(e){}return false}function isWeakRef(e){if(!g||!e||typeof e!=="object"){return false}try{g.call(e);return true}catch(e){}return false}function isSet(e){if(!u||!e||typeof e!=="object"){return false}try{u.call(e);try{a.call(e)}catch(e){return true}return e instanceof Set}catch(e){}return false}function isWeakSet(e){if(!v||!e||typeof e!=="object"){return false}try{v.call(e,v);try{s.call(e,s)}catch(e){return true}return e instanceof WeakSet}catch(e){}return false}function isElement(e){if(!e||typeof e!=="object"){return false}if(typeof HTMLElement!=="undefined"&&e instanceof HTMLElement){return true}return typeof e.nodeName==="string"&&typeof e.getAttribute==="function"}function inspectString(e,r){if(e.length>r.maxStringLength){var t=e.length-r.maxStringLength;var n="... "+t+" more character"+(t>1?"s":"");return inspectString(w.call(e,0,r.maxStringLength),r)+n}var o=O.call(O.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(o,"single",r)}function lowbyte(e){var r=e.charCodeAt(0);var t={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];if(t){return"\\"+t}return"\\x"+(r<16?"0":"")+j.call(r.toString(16))}function markBoxed(e){return"Object("+e+")"}function weakCollectionOf(e){return e+" { ? }"}function collectionOf(e,r,t,n){var o=n?indentedJoin(t,n):E.call(t,", ");return e+" ("+r+") {"+o+"}"}function singleLineValues(e){for(var r=0;r<e.length;r++){if(indexOf(e[r],"\n")>=0){return false}}return true}function getIndent(e,r){var t;if(e.indent==="\t"){t="\t"}else if(typeof e.indent==="number"&&e.indent>0){t=E.call(Array(e.indent+1)," ")}else{return null}return{base:t,prev:E.call(Array(r+1),t)}}function indentedJoin(e,r){if(e.length===0){return""}var t="\n"+r.prev+r.base;return t+E.call(e,","+t)+"\n"+r.prev}function arrObjKeys(e,r){var t=isArray(e);var n=[];if(t){n.length=e.length;for(var o=0;o<e.length;o++){n[o]=has(e,o)?r(e[o],e):""}}var a=typeof I==="function"?I(e):[];var i;if(N){i={};for(var f=0;f<a.length;f++){i["$"+a[f]]=a[f]}}for(var l in e){if(!has(e,l)){continue}if(t&&String(Number(l))===l&&l<e.length){continue}if(N&&i["$"+l]instanceof Symbol){continue}else if(P.call(/[^\w$]/,l)){n.push(r(l,e)+": "+r(e[l],e))}else{n.push(l+": "+r(e[l],e))}}if(typeof I==="function"){for(var u=0;u<a.length;u++){if(D.call(e,a[u])){n.push("["+r(a[u])+"]: "+r(e[a[u]],e))}}}return n}},265:(e,r,t)=>{e.exports=t(837).inspect},907:e=>{"use strict";var r=String.prototype.replace;var t=/%20/g;var n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return r.call(e,t,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},760:(e,r,t)=>{"use strict";var n=t(954);var o=t(912);var a=t(907);e.exports={formats:a,parse:o,stringify:n}},912:(e,r,t)=>{"use strict";var n=t(360);var o=Object.prototype.hasOwnProperty;var a=Array.isArray;var i={allowDots:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictNullHandling:false};var interpretNumericEntities=function(e){return e.replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(parseInt(r,10))}))};var parseArrayValue=function(e,r){if(e&&typeof e==="string"&&r.comma&&e.indexOf(",")>-1){return e.split(",")}return e};var f="utf8=%26%2310003%3B";var l="utf8=%E2%9C%93";var u=function parseQueryStringValues(e,r){var t={__proto__:null};var u=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;var p=r.parameterLimit===Infinity?undefined:r.parameterLimit;var c=u.split(r.delimiter,p);var s=-1;var y;var v=r.charset;if(r.charsetSentinel){for(y=0;y<c.length;++y){if(c[y].indexOf("utf8=")===0){if(c[y]===l){v="utf-8"}else if(c[y]===f){v="iso-8859-1"}s=y;y=c.length}}}for(y=0;y<c.length;++y){if(y===s){continue}var d=c[y];var g=d.indexOf("]=");var b=g===-1?d.indexOf("="):g+1;var h,m;if(b===-1){h=r.decoder(d,i.decoder,v,"key");m=r.strictNullHandling?null:""}else{h=r.decoder(d.slice(0,b),i.decoder,v,"key");m=n.maybeMap(parseArrayValue(d.slice(b+1),r),(function(e){return r.decoder(e,i.decoder,v,"value")}))}if(m&&r.interpretNumericEntities&&v==="iso-8859-1"){m=interpretNumericEntities(m)}if(d.indexOf("[]=")>-1){m=a(m)?[m]:m}if(o.call(t,h)){t[h]=n.combine(t[h],m)}else{t[h]=m}}return t};var parseObject=function(e,r,t,n){var o=n?r:parseArrayValue(r,t);for(var a=e.length-1;a>=0;--a){var i;var f=e[a];if(f==="[]"&&t.parseArrays){i=[].concat(o)}else{i=t.plainObjects?Object.create(null):{};var l=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f;var u=parseInt(l,10);if(!t.parseArrays&&l===""){i={0:o}}else if(!isNaN(u)&&f!==l&&String(u)===l&&u>=0&&(t.parseArrays&&u<=t.arrayLimit)){i=[];i[u]=o}else if(l!=="__proto__"){i[l]=o}}o=i}return o};var p=function parseQueryStringKeys(e,r,t,n){if(!e){return}var a=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;var i=/(\[[^[\]]*])/;var f=/(\[[^[\]]*])/g;var l=t.depth>0&&i.exec(a);var u=l?a.slice(0,l.index):a;var p=[];if(u){if(!t.plainObjects&&o.call(Object.prototype,u)){if(!t.allowPrototypes){return}}p.push(u)}var c=0;while(t.depth>0&&(l=f.exec(a))!==null&&c<t.depth){c+=1;if(!t.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))){if(!t.allowPrototypes){return}}p.push(l[1])}if(l){p.push("["+a.slice(l.index)+"]")}return parseObject(p,r,t,n)};var c=function normalizeParseOptions(e){if(!e){return i}if(e.decoder!==null&&e.decoder!==undefined&&typeof e.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}if(typeof e.charset!=="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var r=typeof e.charset==="undefined"?i.charset:e.charset;return{allowDots:typeof e.allowDots==="undefined"?i.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes==="boolean"?e.allowPrototypes:i.allowPrototypes,allowSparse:typeof e.allowSparse==="boolean"?e.allowSparse:i.allowSparse,arrayLimit:typeof e.arrayLimit==="number"?e.arrayLimit:i.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel==="boolean"?e.charsetSentinel:i.charsetSentinel,comma:typeof e.comma==="boolean"?e.comma:i.comma,decoder:typeof e.decoder==="function"?e.decoder:i.decoder,delimiter:typeof e.delimiter==="string"||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:typeof e.depth==="number"||e.depth===false?+e.depth:i.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===true,interpretNumericEntities:typeof e.interpretNumericEntities==="boolean"?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==="number"?e.parameterLimit:i.parameterLimit,parseArrays:e.parseArrays!==false,plainObjects:typeof e.plainObjects==="boolean"?e.plainObjects:i.plainObjects,strictNullHandling:typeof e.strictNullHandling==="boolean"?e.strictNullHandling:i.strictNullHandling}};e.exports=function(e,r){var t=c(r);if(e===""||e===null||typeof e==="undefined"){return t.plainObjects?Object.create(null):{}}var o=typeof e==="string"?u(e,t):e;var a=t.plainObjects?Object.create(null):{};var i=Object.keys(o);for(var f=0;f<i.length;++f){var l=i[f];var s=p(l,o[l],t,typeof e==="string");a=n.merge(a,s,t)}if(t.allowSparse===true){return a}return n.compact(a)}},954:(e,r,t)=>{"use strict";var n=t(334);var o=t(360);var a=t(907);var i=Object.prototype.hasOwnProperty;var f={brackets:function brackets(e){return e+"[]"},comma:"comma",indices:function indices(e,r){return e+"["+r+"]"},repeat:function repeat(e){return e}};var l=Array.isArray;var u=Array.prototype.push;var pushToArray=function(e,r){u.apply(e,l(r)?r:[r])};var p=Date.prototype.toISOString;var c=a["default"];var s={addQueryPrefix:false,allowDots:false,charset:"utf-8",charsetSentinel:false,delimiter:"&",encode:true,encoder:o.encode,encodeValuesOnly:false,format:c,formatter:a.formatters[c],indices:false,serializeDate:function serializeDate(e){return p.call(e)},skipNulls:false,strictNullHandling:false};var y=function isNonNullishPrimitive(e){return typeof e==="string"||typeof e==="number"||typeof e==="boolean"||typeof e==="symbol"||typeof e==="bigint"};var v={};var d=function stringify(e,r,t,a,i,f,u,p,c,d,g,b,h,m,S,w){var O=e;var j=w;var A=0;var P=false;while((j=j.get(v))!==void undefined&&!P){var x=j.get(e);A+=1;if(typeof x!=="undefined"){if(x===A){throw new RangeError("Cyclic object value")}else{P=true}}if(typeof j.get(v)==="undefined"){A=0}}if(typeof p==="function"){O=p(r,O)}else if(O instanceof Date){O=g(O)}else if(t==="comma"&&l(O)){O=o.maybeMap(O,(function(e){if(e instanceof Date){return g(e)}return e}))}if(O===null){if(i){return u&&!m?u(r,s.encoder,S,"key",b):r}O=""}if(y(O)||o.isBuffer(O)){if(u){var E=m?r:u(r,s.encoder,S,"key",b);return[h(E)+"="+h(u(O,s.encoder,S,"value",b))]}return[h(r)+"="+h(String(O))]}var k=[];if(typeof O==="undefined"){return k}var _;if(t==="comma"&&l(O)){if(m&&u){O=o.maybeMap(O,u)}_=[{value:O.length>0?O.join(",")||null:void undefined}]}else if(l(p)){_=p}else{var R=Object.keys(O);_=c?R.sort(c):R}var I=a&&l(O)&&O.length===1?r+"[]":r;for(var F=0;F<_.length;++F){var N=_[F];var B=typeof N==="object"&&typeof N.value!=="undefined"?N.value:O[N];if(f&&B===null){continue}var D=l(O)?typeof t==="function"?t(I,N):I:I+(d?"."+N:"["+N+"]");w.set(e,A);var M=n();M.set(v,w);pushToArray(k,stringify(B,D,t,a,i,f,t==="comma"&&m&&l(O)?null:u,p,c,d,g,b,h,m,S,M))}return k};var g=function normalizeStringifyOptions(e){if(!e){return s}if(e.encoder!==null&&typeof e.encoder!=="undefined"&&typeof e.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var r=e.charset||s.charset;if(typeof e.charset!=="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var t=a["default"];if(typeof e.format!=="undefined"){if(!i.call(a.formatters,e.format)){throw new TypeError("Unknown format option provided.")}t=e.format}var n=a.formatters[t];var o=s.filter;if(typeof e.filter==="function"||l(e.filter)){o=e.filter}return{addQueryPrefix:typeof e.addQueryPrefix==="boolean"?e.addQueryPrefix:s.addQueryPrefix,allowDots:typeof e.allowDots==="undefined"?s.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel==="boolean"?e.charsetSentinel:s.charsetSentinel,delimiter:typeof e.delimiter==="undefined"?s.delimiter:e.delimiter,encode:typeof e.encode==="boolean"?e.encode:s.encode,encoder:typeof e.encoder==="function"?e.encoder:s.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==="boolean"?e.encodeValuesOnly:s.encodeValuesOnly,filter:o,format:t,formatter:n,serializeDate:typeof e.serializeDate==="function"?e.serializeDate:s.serializeDate,skipNulls:typeof e.skipNulls==="boolean"?e.skipNulls:s.skipNulls,sort:typeof e.sort==="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling==="boolean"?e.strictNullHandling:s.strictNullHandling}};e.exports=function(e,r){var t=e;var o=g(r);var a;var i;if(typeof o.filter==="function"){i=o.filter;t=i("",t)}else if(l(o.filter)){i=o.filter;a=i}var u=[];if(typeof t!=="object"||t===null){return""}var p;if(r&&r.arrayFormat in f){p=r.arrayFormat}else if(r&&"indices"in r){p=r.indices?"indices":"repeat"}else{p="indices"}var c=f[p];if(r&&"commaRoundTrip"in r&&typeof r.commaRoundTrip!=="boolean"){throw new TypeError("`commaRoundTrip` must be a boolean, or absent")}var s=c==="comma"&&r&&r.commaRoundTrip;if(!a){a=Object.keys(t)}if(o.sort){a.sort(o.sort)}var y=n();for(var v=0;v<a.length;++v){var b=a[v];if(o.skipNulls&&t[b]===null){continue}pushToArray(u,d(t[b],b,c,s,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,y))}var h=u.join(o.delimiter);var m=o.addQueryPrefix===true?"?":"";if(o.charsetSentinel){if(o.charset==="iso-8859-1"){m+="utf8=%26%2310003%3B&"}else{m+="utf8=%E2%9C%93&"}}return h.length>0?m+h:""}},360:(e,r,t)=>{"use strict";var n=t(907);var o=Object.prototype.hasOwnProperty;var a=Array.isArray;var i=function(){var e=[];for(var r=0;r<256;++r){e.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase())}return e}();var f=function compactQueue(e){while(e.length>1){var r=e.pop();var t=r.obj[r.prop];if(a(t)){var n=[];for(var o=0;o<t.length;++o){if(typeof t[o]!=="undefined"){n.push(t[o])}}r.obj[r.prop]=n}}};var l=function arrayToObject(e,r){var t=r&&r.plainObjects?Object.create(null):{};for(var n=0;n<e.length;++n){if(typeof e[n]!=="undefined"){t[n]=e[n]}}return t};var u=function merge(e,r,t){if(!r){return e}if(typeof r!=="object"){if(a(e)){e.push(r)}else if(e&&typeof e==="object"){if(t&&(t.plainObjects||t.allowPrototypes)||!o.call(Object.prototype,r)){e[r]=true}}else{return[e,r]}return e}if(!e||typeof e!=="object"){return[e].concat(r)}var n=e;if(a(e)&&!a(r)){n=l(e,t)}if(a(e)&&a(r)){r.forEach((function(r,n){if(o.call(e,n)){var a=e[n];if(a&&typeof a==="object"&&r&&typeof r==="object"){e[n]=merge(a,r,t)}else{e.push(r)}}else{e[n]=r}}));return e}return Object.keys(r).reduce((function(e,n){var a=r[n];if(o.call(e,n)){e[n]=merge(e[n],a,t)}else{e[n]=a}return e}),n)};var p=function assignSingleSource(e,r){return Object.keys(r).reduce((function(e,t){e[t]=r[t];return e}),e)};var decode=function(e,r,t){var n=e.replace(/\+/g," ");if(t==="iso-8859-1"){return n.replace(/%[0-9a-f]{2}/gi,unescape)}try{return decodeURIComponent(n)}catch(e){return n}};var c=function encode(e,r,t,o,a){if(e.length===0){return e}var f=e;if(typeof e==="symbol"){f=Symbol.prototype.toString.call(e)}else if(typeof e!=="string"){f=String(e)}if(t==="iso-8859-1"){return escape(f).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}))}var l="";for(var u=0;u<f.length;++u){var p=f.charCodeAt(u);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){l+=f.charAt(u);continue}if(p<128){l=l+i[p];continue}if(p<2048){l=l+(i[192|p>>6]+i[128|p&63]);continue}if(p<55296||p>=57344){l=l+(i[224|p>>12]+i[128|p>>6&63]+i[128|p&63]);continue}u+=1;p=65536+((p&1023)<<10|f.charCodeAt(u)&1023);l+=i[240|p>>18]+i[128|p>>12&63]+i[128|p>>6&63]+i[128|p&63]}return l};var s=function compact(e){var r=[{obj:{o:e},prop:"o"}];var t=[];for(var n=0;n<r.length;++n){var o=r[n];var a=o.obj[o.prop];var i=Object.keys(a);for(var l=0;l<i.length;++l){var u=i[l];var p=a[u];if(typeof p==="object"&&p!==null&&t.indexOf(p)===-1){r.push({obj:a,prop:u});t.push(p)}}}f(r);return e};var y=function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"};var v=function isBuffer(e){if(!e||typeof e!=="object"){return false}return!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))};var d=function combine(e,r){return[].concat(e,r)};var g=function maybeMap(e,r){if(a(e)){var t=[];for(var n=0;n<e.length;n+=1){t.push(r(e[n]))}return t}return r(e)};e.exports={arrayToObject:l,assign:p,combine:d,compact:s,decode:decode,encode:c,isBuffer:v,isRegExp:y,maybeMap:g,merge:u}},334:(e,r,t)=>{"use strict";var n=t(538);var o=t(803);var a=t(504);var i=n("%TypeError%");var f=n("%WeakMap%",true);var l=n("%Map%",true);var u=o("WeakMap.prototype.get",true);var p=o("WeakMap.prototype.set",true);var c=o("WeakMap.prototype.has",true);var s=o("Map.prototype.get",true);var y=o("Map.prototype.set",true);var v=o("Map.prototype.has",true);var listGetNode=function(e,r){for(var t=e,n;(n=t.next)!==null;t=n){if(n.key===r){t.next=n.next;n.next=e.next;e.next=n;return n}}};var listGet=function(e,r){var t=listGetNode(e,r);return t&&t.value};var listSet=function(e,r,t){var n=listGetNode(e,r);if(n){n.value=t}else{e.next={key:r,next:e.next,value:t}}};var listHas=function(e,r){return!!listGetNode(e,r)};e.exports=function getSideChannel(){var e;var r;var t;var n={assert:function(e){if(!n.has(e)){throw new i("Side channel does not contain "+a(e))}},get:function(n){if(f&&n&&(typeof n==="object"||typeof n==="function")){if(e){return u(e,n)}}else if(l){if(r){return s(r,n)}}else{if(t){return listGet(t,n)}}},has:function(n){if(f&&n&&(typeof n==="object"||typeof n==="function")){if(e){return c(e,n)}}else if(l){if(r){return v(r,n)}}else{if(t){return listHas(t,n)}}return false},set:function(n,o){if(f&&n&&(typeof n==="object"||typeof n==="function")){if(!e){e=new f}p(e,n,o)}else if(l){if(!r){r=new l}y(r,n,o)}else{if(!t){t={key:{},next:null}}listSet(t,n,o)}}};return n}},837:e=>{"use strict";e.exports=require("util")}};var r={};function __nccwpck_require__(t){var n=r[t];if(n!==undefined){return n.exports}var o=r[t]={exports:{}};var a=true;try{e[t](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(760);module.exports=t})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"qs","description":"A querystring parser that supports nesting and arrays, with a depth limit","homepage":"https://github.com/ljharb/qs","version":"6.11.2","repository":{"type":"git","url":"https://github.com/ljharb/qs.git"},"funding":{"url":"https://github.com/sponsors/ljharb"},"main":"lib/index.js","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"keywords":["querystring","qs","query","url","parse","stringify"],"engines":{"node":">=0.6"},"dependencies":{"side-channel":"^1.0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.0.1","aud":"^2.0.2","browserify":"^16.5.2","eclint":"^2.8.1","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-override-mistake":"^1.0.0","has-property-descriptors":"^1.0.0","has-symbols":"^1.0.3","iconv-lite":"^0.5.1","in-publish":"^2.0.1","mkdirp":"^0.5.5","mock-property":"^1.0.0","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","qs-iconv":"^1.0.4","safe-publish-latest":"^2.0.0","safer-buffer":"^2.1.2","tape":"^5.6.3"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest && npm run dist","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent readme && npm run --silent lint","test":"npm run tests-only","tests-only":"nyc tape 'test/**/*.js'","posttest":"aud --production","readme":"evalmd README.md","postlint":"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)","lint":"eslint --ext=js,mjs .","dist":"mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js"},"license":"BSD-3-Clause","publishConfig":{"ignore":["!dist/*","bower.json","component.json",".github/workflows"]},"_lastModified":"2026-
|
|
1
|
+
{"name":"qs","description":"A querystring parser that supports nesting and arrays, with a depth limit","homepage":"https://github.com/ljharb/qs","version":"6.11.2","repository":{"type":"git","url":"https://github.com/ljharb/qs.git"},"funding":{"url":"https://github.com/sponsors/ljharb"},"main":"lib/index.js","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"keywords":["querystring","qs","query","url","parse","stringify"],"engines":{"node":">=0.6"},"dependencies":{"side-channel":"^1.0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.0.1","aud":"^2.0.2","browserify":"^16.5.2","eclint":"^2.8.1","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-override-mistake":"^1.0.0","has-property-descriptors":"^1.0.0","has-symbols":"^1.0.3","iconv-lite":"^0.5.1","in-publish":"^2.0.1","mkdirp":"^0.5.5","mock-property":"^1.0.0","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","qs-iconv":"^1.0.4","safe-publish-latest":"^2.0.0","safer-buffer":"^2.1.2","tape":"^5.6.3"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest && npm run dist","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent readme && npm run --silent lint","test":"npm run tests-only","tests-only":"nyc tape 'test/**/*.js'","posttest":"aud --production","readme":"evalmd README.md","postlint":"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)","lint":"eslint --ext=js,mjs .","dist":"mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js"},"license":"BSD-3-Clause","publishConfig":{"ignore":["!dist/*","bower.json","component.json",".github/workflows"]},"_lastModified":"2026-06-10T18:12:03.999Z"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import type { InternalAxiosRequestConfig } from 'axios';
|
|
10
|
+
export declare const interceptor: (config: InternalAxiosRequestConfig<unknown>) => InternalAxiosRequestConfig<unknown>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var __create = Object.create;
|
|
11
|
+
var __defProp = Object.defineProperty;
|
|
12
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
15
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
|
+
var __export = (target, all) => {
|
|
17
|
+
for (var name in all)
|
|
18
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
+
};
|
|
20
|
+
var __copyProps = (to, from, except, desc) => {
|
|
21
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
+
for (let key of __getOwnPropNames(from))
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
29
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
|
+
mod
|
|
35
|
+
));
|
|
36
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
37
|
+
var interceptor_exports = {};
|
|
38
|
+
__export(interceptor_exports, {
|
|
39
|
+
interceptor: () => interceptor
|
|
40
|
+
});
|
|
41
|
+
module.exports = __toCommonJS(interceptor_exports);
|
|
42
|
+
var import_qs = __toESM(require("qs"));
|
|
43
|
+
function isRecord(value) {
|
|
44
|
+
return !!value && typeof value === "object" && !Array.isArray(value);
|
|
45
|
+
}
|
|
46
|
+
const interceptor = (config) => {
|
|
47
|
+
const url = config.url || "";
|
|
48
|
+
const [, queryString] = url.split("?");
|
|
49
|
+
const query = import_qs.default.stringify(config.params, {
|
|
50
|
+
strictNullHandling: true,
|
|
51
|
+
arrayFormat: "brackets"
|
|
52
|
+
});
|
|
53
|
+
if ((url + query).length <= 2e3) {
|
|
54
|
+
return config;
|
|
55
|
+
}
|
|
56
|
+
if (queryString) {
|
|
57
|
+
const queryParams = import_qs.default.parse(queryString, {
|
|
58
|
+
strictNullHandling: true
|
|
59
|
+
});
|
|
60
|
+
config.params = { ...queryParams, ...config.params };
|
|
61
|
+
}
|
|
62
|
+
const data = isRecord(config.data) ? config.data : {};
|
|
63
|
+
config.data = { ...data, __params__: config.params, __method__: config.method };
|
|
64
|
+
config.params = {};
|
|
65
|
+
config.method = "post";
|
|
66
|
+
return config;
|
|
67
|
+
};
|
|
68
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
69
|
+
0 && (module.exports = {
|
|
70
|
+
interceptor
|
|
71
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export type KeywordValue = string | number;
|
|
10
|
+
export declare function normalizeKeywords(values: KeywordValue[], fieldInterface: string): KeywordValue[];
|