node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

2
server/node_modules/@ucast/js/dist/es5m/index.js generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import{ITSELF as r,createInterpreter as n}from"@ucast/core";function t(r,n,t){for(var u=0,e=r.length;u<e;u++)if(0===t(r[u],n))return!0;return!1}function u(r,n){return Array.isArray(r)&&Number.isNaN(Number(n))}function e(r,n,t){if(!u(r,n))return t(r,n);for(var e=[],o=0;o<r.length;o++){var i=t(r[o],n);void 0!==i&&(e=e.concat(i))}return e}function o(r){return function(n,t,u){var e=u.get(t,n.field);return Array.isArray(e)?e.some((function(t){return r(n,t,u)})):r(n,e,u)}}function i(){return(i=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(r[u]=t[u])}return r}).apply(this,arguments)}var f=function(r,n){return r[n]};function c(r,n,t){var u=n.lastIndexOf(".");return-1===u?[r,n]:[t(r,n.slice(0,u)),n.slice(u+1)]}function a(n,t,u){if(void 0===u&&(u=f),t===r)return n;if(!n)throw new Error('Unable to get field "'+t+'" out of '+String(n)+".");return function(r,n,t){if(-1===n.indexOf("."))return e(r,n,t);for(var u=n.split("."),o=r,i=0,f=u.length;i<f;i++)if(!(o=e(o,u[i],t))||"object"!=typeof o)return o;return o}(n,t,u)}function v(r){return function(n,t){return a(n,t,r)}}function l(r,n){return r===n?0:r>n?1:-1}function y(r,t){return void 0===t&&(t={}),n(r,i({get:a,compare:l},t))}var b=function(r,n,t){var u=t.interpret;return r.value.some((function(r){return u(r,n)}))},m=function(r,n,t){return!b(r,n,t)},d=function(r,n,t){var u=t.interpret;return r.value.every((function(r){return u(r,n)}))},g=function(r,n,t){return!(0,t.interpret)(r.value[0],n)},p=function(r,n,u){var e=u.compare,o=(0,u.get)(n,r.field);return Array.isArray(o)&&!Array.isArray(r.value)?t(o,r.value,e):0===e(o,r.value)},A=function(r,n,t){return!p(r,n,t)},s=o((function(r,n,t){var u=t.compare(n,r.value);return 0===u||-1===u})),h=o((function(r,n,t){return-1===t.compare(n,r.value)})),j=o((function(r,n,t){return 1===t.compare(n,r.value)})),w=o((function(r,n,t){var u=t.compare(n,r.value);return 0===u||1===u})),_=function(n,t,e){var o=e.get;if(n.field===r)return void 0!==t;var i=c(t,n.field,o),f=i[0],a=i[1],v=function(r){return null==r?Boolean(r)===n.value:r.hasOwnProperty(a)===n.value};return u(f,a)?f.some(v):v(f)},x=o((function(r,n){return"number"==typeof n&&n%r.value[0]===r.value[1]})),O=function(n,t,e){var o=e.get,i=c(t,n.field,o),f=i[0],a=i[1],v=function(r){var t=o(r,a);return Array.isArray(t)&&t.length===n.value};return n.field!==r&&u(f,a)?f.some(v):v(f)},N=o((function(r,n){return"string"==typeof n&&r.value.test(n)})),q=o((function(r,n,u){var e=u.compare;return t(r.value,n,e)})),z=function(r,n,t){return!q(r,n,t)},B=function(r,n,u){var e=u.compare,o=(0,u.get)(n,r.field);return Array.isArray(o)&&r.value.every((function(r){return t(o,r,e)}))},E=function(r,n,t){var u=t.interpret,e=(0,t.get)(n,r.field);return Array.isArray(e)&&e.some((function(n){return u(r.value,n)}))},M=function(r,n){return r.value.call(n)},S=i({},Object.freeze({__proto__:null,or:b,nor:m,and:d,not:g,eq:p,ne:A,lte:s,lt:h,gt:j,gte:w,exists:_,mod:x,size:O,regex:N,within:q,nin:z,all:B,elemMatch:E,where:M}),{in:q}),U=y(S);export{B as all,S as allInterpreters,d as and,l as compare,v as createGetter,y as createJsInterpreter,E as elemMatch,p as eq,_ as exists,a as getObjectField,c as getObjectFieldCursor,j as gt,w as gte,U as interpret,h as lt,s as lte,x as mod,A as ne,z as nin,m as nor,g as not,b as or,N as regex,O as size,M as where,q as within};
//# sourceMappingURL=index.js.map

1
server/node_modules/@ucast/js/dist/es5m/index.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

2
server/node_modules/@ucast/js/dist/es6c/index.js generated vendored Normal file
View File

@@ -0,0 +1,2 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@ucast/core");function t(r,t,e){for(let n=0,o=r.length;n<o;n++)if(0===e(r[n],t))return!0;return!1}function e(r,t){return Array.isArray(r)&&Number.isNaN(Number(t))}function n(r,t,n){if(!e(r,t))return n(r,t);let o=[];for(let e=0;e<r.length;e++){const s=n(r[e],t);void 0!==s&&(o=o.concat(s))}return o}function o(r){return(t,e,n)=>{const o=n.get(e,t.field);return Array.isArray(o)?o.some(e=>r(t,e,n)):r(t,o,n)}}const s=(r,t)=>r[t];function u(r,t,e){const n=t.lastIndexOf(".");return-1===n?[r,t]:[e(r,t.slice(0,n)),t.slice(n+1)]}function p(t,e,o=s){if(e===r.ITSELF)return t;if(!t)throw new Error(`Unable to get field "${e}" out of ${String(t)}.`);return function(r,t,e){if(-1===t.indexOf("."))return n(r,t,e);const o=t.split(".");let s=r;for(let r=0,t=o.length;r<t;r++)if(s=n(s,o[r],e),!s||"object"!=typeof s)return s;return s}(t,e,o)}function c(r,t){return r===t?0:r>t?1:-1}function i(t,e={}){return r.createInterpreter(t,Object.assign({get:p,compare:c},e))}const x=(r,t,{interpret:e})=>r.value.some(r=>e(r,t)),f=(r,t,e)=>!x(r,t,e),a=(r,t,{interpret:e})=>r.value.every(r=>e(r,t)),l=(r,t,{interpret:e})=>!e(r.value[0],t),g=(r,e,{compare:n,get:o})=>{const s=o(e,r.field);return Array.isArray(s)&&!Array.isArray(r.value)?t(s,r.value,n):0===n(s,r.value)},y=(r,t,e)=>!g(r,t,e),b=o((r,t,e)=>{const n=e.compare(t,r.value);return 0===n||-1===n}),m=o((r,t,e)=>-1===e.compare(t,r.value)),A=o((r,t,e)=>1===e.compare(t,r.value)),d=o((r,t,e)=>{const n=e.compare(t,r.value);return 0===n||1===n}),_=(t,n,{get:o})=>{if(t.field===r.ITSELF)return void 0!==n;const[s,p]=u(n,t.field,o),c=r=>null==r?Boolean(r)===t.value:r.hasOwnProperty(p)===t.value;return e(s,p)?s.some(c):c(s)},j=o((r,t)=>"number"==typeof t&&t%r.value[0]===r.value[1]),v=(t,n,{get:o})=>{const[s,p]=u(n,t.field,o),c=r=>{const e=o(r,p);return Array.isArray(e)&&e.length===t.value};return t.field!==r.ITSELF&&e(s,p)?s.some(c):c(s)},h=o((r,t)=>"string"==typeof t&&r.value.test(t)),w=o((r,e,{compare:n})=>t(r.value,e,n)),O=(r,t,e)=>!w(r,t,e),q=(r,e,{compare:n,get:o})=>{const s=o(e,r.field);return Array.isArray(s)&&r.value.every(r=>t(s,r,n))},M=(r,t,{interpret:e,get:n})=>{const o=n(t,r.field);return Array.isArray(o)&&o.some(t=>e(r.value,t))},N=(r,t)=>r.value.call(t);var $=Object.freeze({__proto__:null,or:x,nor:f,and:a,not:l,eq:g,ne:y,lte:b,lt:m,gt:A,gte:d,exists:_,mod:j,size:v,regex:h,within:w,nin:O,all:q,elemMatch:M,where:N});const z=Object.assign({},$,{in:w}),B=i(z);exports.all=q,exports.allInterpreters=z,exports.and=a,exports.compare=c,exports.createGetter=function(r){return(t,e)=>p(t,e,r)},exports.createJsInterpreter=i,exports.elemMatch=M,exports.eq=g,exports.exists=_,exports.getObjectField=p,exports.getObjectFieldCursor=u,exports.gt=A,exports.gte=d,exports.interpret=B,exports.lt=m,exports.lte=b,exports.mod=j,exports.ne=y,exports.nin=O,exports.nor=f,exports.not=l,exports.or=x,exports.regex=h,exports.size=v,exports.where=N,exports.within=w;
//# sourceMappingURL=index.js.map

1
server/node_modules/@ucast/js/dist/es6c/index.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

2
server/node_modules/@ucast/js/dist/es6m/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import{ITSELF as r,createInterpreter as t}from"@ucast/core";function n(r,t,n){for(let e=0,o=r.length;e<o;e++)if(0===n(r[e],t))return!0;return!1}function e(r,t){return Array.isArray(r)&&Number.isNaN(Number(t))}function o(r,t,n){if(!e(r,t))return n(r,t);let o=[];for(let e=0;e<r.length;e++){const u=n(r[e],t);void 0!==u&&(o=o.concat(u))}return o}function u(r){return(t,n,e)=>{const o=e.get(n,t.field);return Array.isArray(o)?o.some(n=>r(t,n,e)):r(t,o,e)}}const c=(r,t)=>r[t];function i(r,t,n){const e=t.lastIndexOf(".");return-1===e?[r,t]:[n(r,t.slice(0,e)),t.slice(e+1)]}function f(t,n,e=c){if(n===r)return t;if(!t)throw new Error(`Unable to get field "${n}" out of ${String(t)}.`);return function(r,t,n){if(-1===t.indexOf("."))return o(r,t,n);const e=t.split(".");let u=r;for(let r=0,t=e.length;r<t;r++)if(u=o(u,e[r],n),!u||"object"!=typeof u)return u;return u}(t,n,e)}function s(r){return(t,n)=>f(t,n,r)}function a(r,t){return r===t?0:r>t?1:-1}function l(r,n={}){return t(r,Object.assign({get:f,compare:a},n))}const p=(r,t,{interpret:n})=>r.value.some(r=>n(r,t)),g=(r,t,n)=>!p(r,t,n),m=(r,t,{interpret:n})=>r.value.every(r=>n(r,t)),y=(r,t,{interpret:n})=>!n(r.value[0],t),b=(r,t,{compare:e,get:o})=>{const u=o(t,r.field);return Array.isArray(u)&&!Array.isArray(r.value)?n(u,r.value,e):0===e(u,r.value)},A=(r,t,n)=>!b(r,t,n),d=u((r,t,n)=>{const e=n.compare(t,r.value);return 0===e||-1===e}),h=u((r,t,n)=>-1===n.compare(t,r.value)),j=u((r,t,n)=>1===n.compare(t,r.value)),w=u((r,t,n)=>{const e=n.compare(t,r.value);return 0===e||1===e}),_=(t,n,{get:o})=>{if(t.field===r)return void 0!==n;const[u,c]=i(n,t.field,o),f=r=>null==r?Boolean(r)===t.value:r.hasOwnProperty(c)===t.value;return e(u,c)?u.some(f):f(u)},v=u((r,t)=>"number"==typeof t&&t%r.value[0]===r.value[1]),x=(t,n,{get:o})=>{const[u,c]=i(n,t.field,o),f=r=>{const n=o(r,c);return Array.isArray(n)&&n.length===t.value};return t.field!==r&&e(u,c)?u.some(f):f(u)},O=u((r,t)=>"string"==typeof t&&r.value.test(t)),N=u((r,t,{compare:e})=>n(r.value,t,e)),$=(r,t,n)=>!N(r,t,n),q=(r,t,{compare:e,get:o})=>{const u=o(t,r.field);return Array.isArray(u)&&r.value.every(r=>n(u,r,e))},z=(r,t,{interpret:n,get:e})=>{const o=e(t,r.field);return Array.isArray(o)&&o.some(t=>n(r.value,t))},B=(r,t)=>r.value.call(t);var E=Object.freeze({__proto__:null,or:p,nor:g,and:m,not:y,eq:b,ne:A,lte:d,lt:h,gt:j,gte:w,exists:_,mod:v,size:x,regex:O,within:N,nin:$,all:q,elemMatch:z,where:B});const M=Object.assign({},E,{in:N}),S=l(M);export{q as all,M as allInterpreters,m as and,a as compare,s as createGetter,l as createJsInterpreter,z as elemMatch,b as eq,_ as exists,f as getObjectField,i as getObjectFieldCursor,j as gt,w as gte,S as interpret,h as lt,d as lte,v as mod,A as ne,$ as nin,g as nor,y as not,p as or,O as regex,x as size,B as where,N as within};
//# sourceMappingURL=index.mjs.map

File diff suppressed because one or more lines are too long

23
server/node_modules/@ucast/js/dist/types/defaults.d.ts generated vendored Normal file
View File

@@ -0,0 +1,23 @@
export declare const allInterpreters: {
in: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<unknown[]>, unknown>;
or: import("./types").JsInterpreter<import("@ucast/core").CompoundCondition<import("@ucast/core").Condition<unknown>>, any>;
nor: import("./types").JsInterpreter<import("@ucast/core").CompoundCondition<import("@ucast/core").Condition<unknown>>, any>;
and: import("./types").JsInterpreter<import("@ucast/core").CompoundCondition<import("@ucast/core").Condition<unknown>>, any>;
not: import("./types").JsInterpreter<import("@ucast/core").CompoundCondition<import("@ucast/core").Condition<unknown>>, any>;
eq: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<unknown>, any>;
ne: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<unknown>, any>;
lte: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
lt: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
gt: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
gte: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
exists: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<boolean>, any>;
mod: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<[number, number]>, number | Record<string | number | symbol, unknown>>;
size: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<number>, unknown[] | Record<string | number | symbol, unknown>>;
regex: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<RegExp>, string | Record<string | number | symbol, unknown>>;
within: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<unknown[]>, unknown>;
nin: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<unknown[]>, unknown>;
all: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<unknown[]>, any>;
elemMatch: import("./types").JsInterpreter<import("@ucast/core").FieldCondition<import("@ucast/core").Condition<unknown>>, any>;
where: import("./types").JsInterpreter<import("@ucast/core").DocumentCondition<(this: Record<string | number | symbol, unknown>) => boolean>, Record<string | number | symbol, unknown>>;
};
export declare const interpret: (...args: [import("@ucast/core").Condition<unknown>, any] | [import("@ucast/core").Condition<unknown>, string | number | Date | Record<string | number | symbol, unknown>] | [import("@ucast/core").Condition<unknown>, number | Record<string | number | symbol, unknown>] | [import("@ucast/core").Condition<unknown>, unknown[] | Record<string | number | symbol, unknown>] | [import("@ucast/core").Condition<unknown>, string | Record<string | number | symbol, unknown>] | [import("@ucast/core").Condition<unknown>, unknown] | [import("@ucast/core").Condition<unknown>, Record<string | number | symbol, unknown>]) => boolean;

4
server/node_modules/@ucast/js/dist/types/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
export * from './interpreters';
export * from './interpreter';
export * from './defaults';
export type { JsInterpretationOptions, JsInterpreter } from './types';

View File

@@ -0,0 +1,10 @@
import { ITSELF } from '@ucast/core';
import { GetField } from './utils';
import { JsInterpretationOptions, JsInterpreter } from './types';
declare type Field = string | typeof ITSELF;
export declare function getObjectFieldCursor<T extends {}>(object: T, path: string, get: GetField): readonly [T, string];
export declare function getObjectField(object: unknown, field: Field, get?: GetField): any;
export declare function createGetter<T extends GetField>(get: T): (object: Parameters<T>[0], field: Parameters<T>[1]) => any;
export declare function compare<T>(a: T, b: T): 0 | 1 | -1;
export declare function createJsInterpreter<T extends JsInterpreter<any>, O extends Partial<JsInterpretationOptions>>(operators: Record<string, T>, options?: O): (...args: T extends (a: any, c: any) => any ? [import("@ucast/core").Condition<unknown>] : T extends (a: any, b: any, c: any) => any ? [import("@ucast/core").Condition<unknown>, Parameters<T>[1]] : [import("@ucast/core").Condition<unknown>, Parameters<T>[1], Parameters<T>[2], ...unknown[]]) => ReturnType<T>;
export {};

View File

@@ -0,0 +1,24 @@
import { CompoundCondition as Compound, FieldCondition as Field, DocumentCondition as Document, Condition } from '@ucast/core';
import { JsInterpreter as Interpret } from './types';
import { AnyObject } from './utils';
export declare const or: Interpret<Compound>;
export declare const nor: typeof or;
export declare const and: Interpret<Compound>;
export declare const not: Interpret<Compound>;
export declare const eq: Interpret<Field>;
export declare const ne: typeof eq;
export declare const lte: Interpret<Field<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
export declare const lt: Interpret<Field<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
export declare const gt: Interpret<Field<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
export declare const gte: Interpret<Field<string | number | Date>, string | number | Date | Record<string | number | symbol, unknown>>;
export declare const exists: Interpret<Field<boolean>>;
export declare const mod: Interpret<Field<[number, number]>, number | Record<string | number | symbol, unknown>>;
export declare const size: Interpret<Field<number>, AnyObject | unknown[]>;
export declare const regex: Interpret<Field<RegExp>, string | Record<string | number | symbol, unknown>>;
export declare const within: Interpret<Field<unknown[]>, unknown>;
export declare const nin: typeof within;
export declare const all: Interpret<Field<unknown[]>>;
export declare const elemMatch: Interpret<Field<Condition>>;
declare type WhereFunction = (this: AnyObject) => boolean;
export declare const where: Interpret<Document<WhereFunction>, AnyObject>;
export {};

6
server/node_modules/@ucast/js/dist/types/types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,6 @@
import { Condition, ITSELF, InterpretationContext } from '@ucast/core';
export interface JsInterpretationOptions {
get(object: any, field: string | typeof ITSELF): any;
compare<T>(a: T, b: T): 1 | -1 | 0;
}
export declare type JsInterpreter<N extends Condition, Value = any> = (node: N, value: Value, context: InterpretationContext<JsInterpreter<N, Value>> & JsInterpretationOptions) => boolean;

8
server/node_modules/@ucast/js/dist/types/utils.d.ts generated vendored Normal file
View File

@@ -0,0 +1,8 @@
import { FieldCondition } from '@ucast/core';
import { JsInterpretationOptions, JsInterpreter } from './types';
export declare type AnyObject = Record<PropertyKey, unknown>;
export declare type GetField = (object: any, field: string) => any;
export declare function includes<T>(items: T[], value: T, compare: JsInterpretationOptions['compare']): boolean;
export declare function isArrayAndNotNumericField<T>(object: T | T[], field: string): object is T[];
export declare function getValueByPath(object: AnyObject, field: string, get: GetField): any;
export declare function testValueOrArray<T, U = T>(test: JsInterpreter<FieldCondition<T>, U>): JsInterpreter<FieldCondition<T>, Record<string | number | symbol, unknown> | U>;

2
server/node_modules/@ucast/js/dist/umd/index.js generated vendored Normal file
View File

@@ -0,0 +1,2 @@
!function(r,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@ucast/core")):"function"==typeof define&&define.amd?define(["exports","@ucast/core"],n):n(((r=r||self).ucast=r.ucast||{},r.ucast.js={}),r.ucast.core)}(this,(function(r,n){"use strict";function t(r,n,t){for(var u=0,e=r.length;u<e;u++)if(0===t(r[u],n))return!0;return!1}function u(r,n){return Array.isArray(r)&&Number.isNaN(Number(n))}function e(r,n,t){if(!u(r,n))return t(r,n);for(var e=[],o=0;o<r.length;o++){var i=t(r[o],n);void 0!==i&&(e=e.concat(i))}return e}function o(r){return function(n,t,u){var e=u.get(t,n.field);return Array.isArray(e)?e.some((function(t){return r(n,t,u)})):r(n,e,u)}}function i(){return(i=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(r[u]=t[u])}return r}).apply(this,arguments)}var f=function(r,n){return r[n]};function c(r,n,t){var u=n.lastIndexOf(".");return-1===u?[r,n]:[t(r,n.slice(0,u)),n.slice(u+1)]}function a(r,t,u){if(void 0===u&&(u=f),t===n.ITSELF)return r;if(!r)throw new Error('Unable to get field "'+t+'" out of '+String(r)+".");return function(r,n,t){if(-1===n.indexOf("."))return e(r,n,t);for(var u=n.split("."),o=r,i=0,f=u.length;i<f;i++)if(!(o=e(o,u[i],t))||"object"!=typeof o)return o;return o}(r,t,u)}function v(r,n){return r===n?0:r>n?1:-1}function l(r,t){return void 0===t&&(t={}),n.createInterpreter(r,i({get:a,compare:v},t))}var s=function(r,n,t){var u=t.interpret;return r.value.some((function(r){return u(r,n)}))},d=function(r,n,t){return!s(r,n,t)},y=function(r,n,t){var u=t.interpret;return r.value.every((function(r){return u(r,n)}))},p=function(r,n,t){return!(0,t.interpret)(r.value[0],n)},b=function(r,n,u){var e=u.compare,o=(0,u.get)(n,r.field);return Array.isArray(o)&&!Array.isArray(r.value)?t(o,r.value,e):0===e(o,r.value)},g=function(r,n,t){return!b(r,n,t)},m=o((function(r,n,t){var u=t.compare(n,r.value);return 0===u||-1===u})),A=o((function(r,n,t){return-1===t.compare(n,r.value)})),h=o((function(r,n,t){return 1===t.compare(n,r.value)})),j=o((function(r,n,t){var u=t.compare(n,r.value);return 0===u||1===u})),_=function(r,t,e){var o=e.get;if(r.field===n.ITSELF)return void 0!==t;var i=c(t,r.field,o),f=i[0],a=i[1],v=function(n){return null==n?Boolean(n)===r.value:n.hasOwnProperty(a)===r.value};return u(f,a)?f.some(v):v(f)},x=o((function(r,n){return"number"==typeof n&&n%r.value[0]===r.value[1]})),w=function(r,t,e){var o=e.get,i=c(t,r.field,o),f=i[0],a=i[1],v=function(n){var t=o(n,a);return Array.isArray(t)&&t.length===r.value};return r.field!==n.ITSELF&&u(f,a)?f.some(v):v(f)},O=o((function(r,n){return"string"==typeof n&&r.value.test(n)})),q=o((function(r,n,u){var e=u.compare;return t(r.value,n,e)})),M=function(r,n,t){return!q(r,n,t)},N=function(r,n,u){var e=u.compare,o=(0,u.get)(n,r.field);return Array.isArray(o)&&r.value.every((function(r){return t(o,r,e)}))},z=function(r,n,t){var u=t.interpret,e=(0,t.get)(n,r.field);return Array.isArray(e)&&e.some((function(n){return u(r.value,n)}))},B=function(r,n){return r.value.call(n)},E=i({},Object.freeze({__proto__:null,or:s,nor:d,and:y,not:p,eq:b,ne:g,lte:m,lt:A,gt:h,gte:j,exists:_,mod:x,size:w,regex:O,within:q,nin:M,all:N,elemMatch:z,where:B}),{in:q}),S=l(E);r.all=N,r.allInterpreters=E,r.and=y,r.compare=v,r.createGetter=function(r){return function(n,t){return a(n,t,r)}},r.createJsInterpreter=l,r.elemMatch=z,r.eq=b,r.exists=_,r.getObjectField=a,r.getObjectFieldCursor=c,r.gt=h,r.gte=j,r.interpret=S,r.lt=A,r.lte=m,r.mod=x,r.ne=g,r.nin=M,r.nor=d,r.not=p,r.or=s,r.regex=O,r.size=w,r.where=B,r.within=q,Object.defineProperty(r,"__esModule",{value:!0})}));
//# sourceMappingURL=index.js.map

1
server/node_modules/@ucast/js/dist/umd/index.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long