@dooboostore/simple-boot-http-server-ssr
Version:
front end SPA frameworks SSR
2 lines • 229 kB
JavaScript
/*! For license information please see SymbolIntentApiServiceProxy.js.LICENSE.txt */
var t={1946:(t,e,r)=>{r.d(e,{K:()=>n});const n={...r(72343).K,ApplicationJsonPostSimpleBootSsrIntentScheme:"application/json-post+simple-boot-ssr-intent-scheme",Intent:"intent"}},3352:(t,e,r)=>{r.d(e,{L:()=>s});var n,i={d:(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},o={};i.d(o,{L:()=>n}),function(t){t.ContentLength="Content-Length",t.ContentType="Content-Type",t.ContentEncoding="Content-Encoding",t.Accept="Accept",t.Authorization="Authorization",t.CacheControl="Cache-Control",t.Connection="Connection",t.Date="Date",t.Host="Host",t.Pragma="Pragma",t.Trailer="Trailer",t.TransferEncoding="Transfer-Encoding",t.Upgrade="Upgrade",t.Via="Via",t.Warning="Warning",t.AcceptCharset="Accept-Charset",t.AcceptEncoding="Accept-Encoding",t.AcceptLanguage="Accept-Language",t.AccessControlAllowOrigin="Access-Control-Allow-Origin",t.AccessControlAllowMethods="Access-Control-Allow-Methods",t.AccessControlAllowHeaders="Access-Control-Allow-Headers",t.AccessControlExposeHeaders="Access-Control-Expose-Headers",t.Expect="Expect",t.From="From",t.MaxForwards="Max-Forwards",t.Referer="Referer",t.UserAgent="User-Agent",t.Cookie="Cookie",t.SetCookie="Set-Cookie",t.Cookie2="Cookie2",t.SetCookie2="Set-Cookie2",t.Location="Location",t.IfModifiedSince="If-Modified-Since",t.IfUnmodifiedSince="If-Unmodified-Since",t.IfMatch="If-Match",t.IfNoneMatch="If-None-Match",t.IfRange="If-Range",t.Allow="Allow",t.Server="Server"}(n||(n={}));const s=o.L},17953:(t,e,r)=>{r.d(e,{$:()=>s});var n=r(3352),i=r(1946);const o={...n.L,XSimpleBootSsrIntentScheme:"x-simple-boot-ssr-intent-scheme"},s=t=>({[o.Accept]:i.K.ApplicationJsonPostSimpleBootSsrIntentScheme,[o.XSimpleBootSsrIntentScheme]:`Symbol.for(${t.description})`})},49783:(t,e,r)=>{r.d(e,{Op:()=>l,on:()=>u});var n={5053:(t,e,r)=>{r.d(e,{d:()=>c});var n={9771:()=>{var t;!function(t){!function(){var e="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),r=n(t);function n(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==e.Reflect&&(r=n(e.Reflect,r)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,i=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,h={create:s?function(){return V(Object.create(null))}:a?function(){return V({__proto__:null})}:function(){return V({})},has:c?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:c?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},u=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[o]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,i=r+1;i<n;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,B(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,n)},e.prototype.values=function(){return new r(this._keys,this._values,i)},e.prototype.entries=function(){return new r(this._keys,this._values,s)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[o]=function(){return this.entries()},e.prototype._find=function(t,e){if(!B(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(B(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function n(t,e){return t}function i(t,e){return e}function s(t,e){return[t,e]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new l}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[o]=function(){return this.keys()},t}(),y="function"==typeof WeakMap?WeakMap:function(){var t=h.create(),e=n();return function(){function t(){this._key=n()}return t.prototype.has=function(t){var e=i(t,!1);return void 0!==e&&h.has(e,this._key)},t.prototype.get=function(t){var e=i(t,!1);return void 0!==e?h.get(e,this._key):void 0},t.prototype.set=function(t,e){return i(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=i(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=n()},t}();function n(){var e;do{e="@@WeakMap@@"+s()}while(h.has(t,e));return t[e]=!0,e}function i(t,n){if(!r.call(t,e)){if(!n)return;Object.defineProperty(t,e,{value:h.create()})}return t[e]}function o(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function s(){var t=function(){if("function"==typeof Uint8Array){var t=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):o(t,16),t}return o(new Array(16),16)}();t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var e="",r=0;r<16;++r){var n=t[r];4!==r&&6!==r&&8!==r||(e+="-"),n<16&&(e+="0"),e+=n.toString(16).toLowerCase()}return e}}(),p=n?Symbol.for("@reflect-metadata:registry"):void 0,d=function(){var t;return!k(p)&&j(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[p]),k(t)&&(t=function(){var t,r,n,i;k(p)||void 0===e.Reflect||p in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,i=t.getOwnMetadataKeys,o=t.deleteMetadata,s=new y;return{isProviderFor:function(t,e){var r=s.get(t);return!(k(r)||!r.has(e))||!!i(t,e).length&&(k(r)&&(r=new f,s.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:o}}(e.Reflect));var o=new y,s={registerProvider:function(e){if(!Object.isExtensible(s))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case k(r):r=e;break;case r===e:break;case k(n):n=e;break;case n===e:break;default:void 0===i&&(i=new f),i.add(e)}},getProvider:c,setProvider:function(t,e,r){if(!h(r))throw new Error("Metadata provider not registered.");var n=c(t,e);if(n!==r){if(!k(n))return!1;var i=o.get(t);k(i)&&(i=new l,o.set(t,i)),i.set(e,r)}return!0}};return s;function a(e,o){if(!k(r)){if(r.isProviderFor(e,o))return r;if(!k(n)){if(n.isProviderFor(e,o))return r;if(!k(i))for(var s=N(i);;){var a=C(s);if(!a)return;var c=E(a);if(c.isProviderFor(e,o))return F(s),c}}}if(!k(t)&&t.isProviderFor(e,o))return t}function c(t,e){var r,n=o.get(t);return k(n)||(r=n.get(e)),k(r)?(k(r=a(t,e))||(k(n)&&(n=new l,o.set(t,n)),n.set(e,r)),r):r}function h(t){if(k(t))throw new TypeError;return r===t||n===t||!k(i)&&i.has(t)}}()),!k(p)&&j(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),g=function(t){var e=new y,r={isProviderFor:function(t,r){var n=e.get(t);return!k(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,i){n(r,i,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var i=n(e,r,!1);return!k(i)&&A(i.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var i=n(e,r,!1);if(!k(i))return i.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],i=n(t,e,!1);if(k(i))return r;for(var o=N(i.keys()),s=0;;){var a=C(o);if(!a)return r.length=s,r;var c=E(a);try{r[s]=c}catch(t){try{F(o)}finally{throw t}}s++}},OrdinaryDeleteMetadata:function(t,r,i){var o=n(r,i,!1);if(k(o))return!1;if(!o.delete(t))return!1;if(0===o.size){var s=e.get(r);k(s)||(s.delete(i),0===s.size&&e.delete(s))}return!0}};return d.registerProvider(r),r;function n(n,i,o){var s=e.get(n),a=!1;if(k(s)){if(!o)return;s=new l,e.set(n,s),a=!0}var c=s.get(i);if(k(c)){if(!o)return;if(c=new l,s.set(i,c),!t.setProvider(n,i,r))throw s.delete(i),a&&e.delete(n),new Error("Wrong provider for target.")}return c}}(d);function m(t,e,r){if(b(t,e,r))return!0;var n=I(e);return!M(n)&&m(t,n,r)}function b(t,e,r){var n=W(e,r,!1);return!k(n)&&A(n.OrdinaryHasOwnMetadata(t,e,r))}function v(t,e,r){if(b(t,e,r))return w(t,e,r);var n=I(e);return M(n)?void 0:v(t,n,r)}function w(t,e,r){var n=W(e,r,!1);if(!k(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function x(t,e,r,n){W(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function O(t,e){var r=P(t,e),n=I(t);if(null===n)return r;var i=O(n,e);if(i.length<=0)return r;if(r.length<=0)return i;for(var o=new f,s=[],a=0,c=r;a<c.length;a++){var h=c[a];o.has(h)||(o.add(h),s.push(h))}for(var u=0,l=i;u<l.length;u++)h=l[u],o.has(h)||(o.add(h),s.push(h));return s}function P(t,e){var r=W(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function S(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function k(t){return void 0===t}function M(t){return null===t}function j(t){return"object"==typeof t?null!==t:"function"==typeof t}function A(t){return!!t}function _(t){var e=function(t){switch(S(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var e=L(t,i);if(void 0!==e){var r=e.call(t,"string");if(j(r))throw new TypeError;return r}return function(t){var e,r,n=t.toString;if(R(n)&&!j(r=n.call(t)))return r;if(R(e=t.valueOf)&&!j(r=e.call(t)))return r;throw new TypeError}(t)}(t);return"symbol"==typeof e?e:function(t){return""+t}(e)}function z(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function R(t){return"function"==typeof t}function T(t){return"function"==typeof t}function B(t,e){return t===e||t!=t&&e!=e}function L(t,e){var r=t[e];if(null!=r){if(!R(r))throw new TypeError;return r}}function N(t){var e=L(t,o);if(!R(e))throw new TypeError;var r=e.call(t);if(!j(r))throw new TypeError;return r}function E(t){return t.value}function C(t){var e=t.next();return!e.done&&e}function F(t){var e=t.return;e&&e.call(t)}function I(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===u)return e;if(e!==u)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var i=n.constructor;return"function"!=typeof i||i===t?e:i}function W(t,e,r){var n=d.getProvider(t,e);if(!k(n))return n;if(r){if(d.setProvider(t,e,g))return g;throw new Error("Illegal state.")}}function V(t){return t.__=void 0,delete t.__,t}t("decorate",function(t,e,r,n){if(k(r)){if(!z(t))throw new TypeError;if(!T(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!k(n)&&!M(n)){if(!T(n))throw new TypeError;e=n}}return e}(t,e)}if(!z(t))throw new TypeError;if(!j(e))throw new TypeError;if(!j(n)&&!k(n)&&!M(n))throw new TypeError;return M(n)&&(n=void 0),function(t,e,r,n){for(var i=t.length-1;i>=0;--i){var o=(0,t[i])(e,r,n);if(!k(o)&&!M(o)){if(!j(o))throw new TypeError;n=o}}return n}(t,e,r=_(r),n)}),t("metadata",function(t,e){return function(r,n){if(!j(r))throw new TypeError;if(!k(n)&&!function(t){switch(S(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;x(t,e,r,n)}}),t("defineMetadata",function(t,e,r,n){if(!j(r))throw new TypeError;return k(n)||(n=_(n)),x(t,e,r,n)}),t("hasMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),m(t,e,r)}),t("hasOwnMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),b(t,e,r)}),t("getMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),v(t,e,r)}),t("getOwnMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),w(t,e,r)}),t("getMetadataKeys",function(t,e){if(!j(t))throw new TypeError;return k(e)||(e=_(e)),O(t,e)}),t("getOwnMetadataKeys",function(t,e){if(!j(t))throw new TypeError;return k(e)||(e=_(e)),P(t,e)}),t("deleteMetadata",function(t,e,r){if(!j(e))throw new TypeError;if(k(r)||(r=_(r)),!j(e))throw new TypeError;k(r)||(r=_(r));var n=W(e,r,!1);return!k(n)&&n.OrdinaryDeleteMetadata(t,e,r)})}(r,e),void 0===e.Reflect&&(e.Reflect=t)}()}(t||(t={}))}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return n[t](r,r.exports,o),r.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var s,a={};o.d(a,{d:()=>s}),o(9771),function(t){t.getParameterTypes=(t,e)=>e?Reflect.getMetadata("design:paramtypes",t,e)||[]:Reflect.getMetadata("design:paramtypes",t)||[],t.getReturnType=(t,e)=>Reflect.getMetadata("design:returntype",t,e),t.getType=(t,e)=>e?Reflect.getMetadata("design:type",t,e):Reflect.getMetadata("design:type",t),t.getMetadata=(t,e,r)=>r?Reflect.getMetadata(t,e,r):Reflect.getMetadata(t,e),t.getMetadataKeys=t=>Reflect.getMetadataKeys(t),t.getOwnMetadata=(t,e,r)=>r?Reflect.getOwnMetadata(t,e,r):Reflect.getOwnMetadata(t,e),t.getMetadatas=e=>t.getMetadataKeys(e).map(r=>t.getMetadata(r,e)),t.metadata=(t,e)=>Reflect.metadata(t,e),t.defineMetadata=(t,e,r,n)=>{n&&Reflect.defineMetadata?Reflect.defineMetadata(t,e,r,n):Reflect.defineMetadata&&Reflect.defineMetadata(t,e,r)}}(s||(s={}));const c=a.d},6404:()=>{var t;!function(t){!function(){var e="object"==typeof globalThis?globalThis:"object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),r=n(t);function n(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==e.Reflect&&(r=n(e.Reflect,r)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,i=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,h={create:s?function(){return V(Object.create(null))}:a?function(){return V({__proto__:null})}:function(){return V({})},has:c?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:c?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},u=Object.getPrototypeOf(Function),l="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[o]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}(),n=function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,i=r+1;i<n;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,B(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,i)},e.prototype.values=function(){return new r(this._keys,this._values,s)},e.prototype.entries=function(){return new r(this._keys,this._values,a)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[o]=function(){return this.entries()},e.prototype._find=function(t,e){if(!B(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(B(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();return n;function i(t,e){return t}function s(t,e){return e}function a(t,e){return[t,e]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new l}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[o]=function(){return this.keys()},t}(),y="function"==typeof WeakMap?WeakMap:function(){var t=h.create(),e=n();return function(){function t(){this._key=n()}return t.prototype.has=function(t){var e=i(t,!1);return void 0!==e&&h.has(e,this._key)},t.prototype.get=function(t){var e=i(t,!1);return void 0!==e?h.get(e,this._key):void 0},t.prototype.set=function(t,e){return i(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=i(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=n()},t}();function n(){var e;do{e="@@WeakMap@@"+s()}while(h.has(t,e));return t[e]=!0,e}function i(t,n){if(!r.call(t,e)){if(!n)return;Object.defineProperty(t,e,{value:h.create()})}return t[e]}function o(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function s(){var t=function(){if("function"==typeof Uint8Array){var t=new Uint8Array(16);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):o(t,16),t}return o(new Array(16),16)}();t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var e="",r=0;r<16;++r){var n=t[r];4!==r&&6!==r&&8!==r||(e+="-"),n<16&&(e+="0"),e+=n.toString(16).toLowerCase()}return e}}(),p=n?Symbol.for("@reflect-metadata:registry"):void 0,d=function(){var t;return!k(p)&&j(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[p]),k(t)&&(t=function(){var t,r,n,i;k(p)||void 0===e.Reflect||p in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,i=t.getOwnMetadataKeys,o=t.deleteMetadata,s=new y;return{isProviderFor:function(t,e){var r=s.get(t);return!(k(r)||!r.has(e))||!!i(t,e).length&&(k(r)&&(r=new f,s.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:o}}(e.Reflect));var o=new y,s={registerProvider:function(e){if(!Object.isExtensible(s))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case k(r):r=e;break;case r===e:break;case k(n):n=e;break;case n===e:break;default:void 0===i&&(i=new f),i.add(e)}},getProvider:c,setProvider:function(t,e,r){if(!h(r))throw new Error("Metadata provider not registered.");var n=c(t,e);if(n!==r){if(!k(n))return!1;var i=o.get(t);k(i)&&(i=new l,o.set(t,i)),i.set(e,r)}return!0}};return s;function a(e,o){if(!k(r)){if(r.isProviderFor(e,o))return r;if(!k(n)){if(n.isProviderFor(e,o))return r;if(!k(i))for(var s=N(i);;){var a=C(s);if(!a)return;var c=E(a);if(c.isProviderFor(e,o))return F(s),c}}}if(!k(t)&&t.isProviderFor(e,o))return t}function c(t,e){var r,n=o.get(t);return k(n)||(r=n.get(e)),k(r)?(k(r=a(t,e))||(k(n)&&(n=new l,o.set(t,n)),n.set(e,r)),r):r}function h(t){if(k(t))throw new TypeError;return r===t||n===t||!k(i)&&i.has(t)}}()),!k(p)&&j(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),g=function(t){var e=new y,r={isProviderFor:function(t,r){var n=e.get(t);return!k(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,i){n(r,i,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var i=n(e,r,!1);return!k(i)&&A(i.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var i=n(e,r,!1);if(!k(i))return i.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],i=n(t,e,!1);if(k(i))return r;for(var o=N(i.keys()),s=0;;){var a=C(o);if(!a)return r.length=s,r;var c=E(a);try{r[s]=c}catch(t){try{F(o)}finally{throw t}}s++}},OrdinaryDeleteMetadata:function(t,r,i){var o=n(r,i,!1);if(k(o))return!1;if(!o.delete(t))return!1;if(0===o.size){var s=e.get(r);k(s)||(s.delete(i),0===s.size&&e.delete(s))}return!0}};return d.registerProvider(r),r;function n(n,i,o){var s=e.get(n),a=!1;if(k(s)){if(!o)return;s=new l,e.set(n,s),a=!0}var c=s.get(i);if(k(c)){if(!o)return;if(c=new l,s.set(i,c),!t.setProvider(n,i,r))throw s.delete(i),a&&e.delete(n),new Error("Wrong provider for target.")}return c}}(d);function m(t,e,r){if(b(t,e,r))return!0;var n=I(e);return!M(n)&&m(t,n,r)}function b(t,e,r){var n=W(e,r,!1);return!k(n)&&A(n.OrdinaryHasOwnMetadata(t,e,r))}function v(t,e,r){if(b(t,e,r))return w(t,e,r);var n=I(e);return M(n)?void 0:v(t,n,r)}function w(t,e,r){var n=W(e,r,!1);if(!k(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function x(t,e,r,n){W(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function O(t,e){var r=P(t,e),n=I(t);if(null===n)return r;var i=O(n,e);if(i.length<=0)return r;if(r.length<=0)return i;for(var o=new f,s=[],a=0,c=r;a<c.length;a++){var h=c[a];o.has(h)||(o.add(h),s.push(h))}for(var u=0,l=i;u<l.length;u++)h=l[u],o.has(h)||(o.add(h),s.push(h));return s}function P(t,e){var r=W(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function S(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function k(t){return void 0===t}function M(t){return null===t}function j(t){return"object"==typeof t?null!==t:"function"==typeof t}function A(t){return!!t}function _(t){var e=function(t){switch(S(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var e="string",r=L(t,i);if(void 0!==r){var n=r.call(t,e);if(j(n))throw new TypeError;return n}return function(t){var e,r,n=t.toString;if(R(n)&&!j(r=n.call(t)))return r;if(R(e=t.valueOf)&&!j(r=e.call(t)))return r;throw new TypeError}(t)}(t);return"symbol"==typeof e?e:function(t){return""+t}(e)}function z(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function R(t){return"function"==typeof t}function T(t){return"function"==typeof t}function B(t,e){return t===e||t!=t&&e!=e}function L(t,e){var r=t[e];if(null!=r){if(!R(r))throw new TypeError;return r}}function N(t){var e=L(t,o);if(!R(e))throw new TypeError;var r=e.call(t);if(!j(r))throw new TypeError;return r}function E(t){return t.value}function C(t){var e=t.next();return!e.done&&e}function F(t){var e=t.return;e&&e.call(t)}function I(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===u)return e;if(e!==u)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var i=n.constructor;return"function"!=typeof i||i===t?e:i}function W(t,e,r){var n=d.getProvider(t,e);if(!k(n))return n;if(r){if(d.setProvider(t,e,g))return g;throw new Error("Illegal state.")}}function V(t){return t.__=void 0,delete t.__,t}t("decorate",function(t,e,r,n){if(k(r)){if(!z(t))throw new TypeError;if(!T(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!k(n)&&!M(n)){if(!T(n))throw new TypeError;e=n}}return e}(t,e)}if(!z(t))throw new TypeError;if(!j(e))throw new TypeError;if(!j(n)&&!k(n)&&!M(n))throw new TypeError;return M(n)&&(n=void 0),function(t,e,r,n){for(var i=t.length-1;i>=0;--i){var o=(0,t[i])(e,r,n);if(!k(o)&&!M(o)){if(!j(o))throw new TypeError;n=o}}return n}(t,e,r=_(r),n)}),t("metadata",function(t,e){return function(r,n){if(!j(r))throw new TypeError;if(!k(n)&&!function(t){switch(S(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;x(t,e,r,n)}}),t("defineMetadata",function(t,e,r,n){if(!j(r))throw new TypeError;return k(n)||(n=_(n)),x(t,e,r,n)}),t("hasMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),m(t,e,r)}),t("hasOwnMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),b(t,e,r)}),t("getMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),v(t,e,r)}),t("getOwnMetadata",function(t,e,r){if(!j(e))throw new TypeError;return k(r)||(r=_(r)),w(t,e,r)}),t("getMetadataKeys",function(t,e){if(!j(t))throw new TypeError;return k(e)||(e=_(e)),O(t,e)}),t("getOwnMetadataKeys",function(t,e){if(!j(t))throw new TypeError;return k(e)||(e=_(e)),P(t,e)}),t("deleteMetadata",function(t,e,r){if(!j(e))throw new TypeError;if(k(r)||(r=_(r)),!j(e))throw new TypeError;k(r)||(r=_(r));var n=W(e,r,!1);return!k(n)&&n.OrdinaryDeleteMetadata(t,e,r)})}(r,e),void 0===e.Reflect&&(e.Reflect=t)}()}(t||(t={}))}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return n[t](r,r.exports,o),r.exports}o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var s,a,c={},h=(o(6404),o(5053),{d:(t,e)=>{for(var r in e)h.o(e,r)&&!h.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)});h.d({},{U:()=>s}),function(t){t.isArrowFunction=t=>"function"==typeof t&&void 0===t.prototype&&!t.toString().startsWith("class"),t.isPlainObject=t=>null!==t&&"object"==typeof t&&t.constructor===Object,t.isFrozen=t=>Object.isFrozen(t),t.isSealed=t=>Object.isSealed(t),t.isFrozenOrSealed=e=>t.isFrozen(e)||t.isSealed(e),t.isFrozenAndSealed=e=>t.isFrozen(e)&&t.isSealed(e),t.isNotFrozen=t=>!Object.isFrozen(t),t.isNotSealed=t=>!Object.isSealed(t),t.isNotFrozenOrSealed=e=>!t.isFrozen(e)&&!t.isSealed(e),t.isNotFrozenAndSealed=e=>!t.isFrozen(e)||!t.isSealed(e),t.isNullOrUndefined=t=>null==t||void 0===t,t.isConstructor=t=>"function"==typeof t&&void 0!==t.prototype&&t.prototype.constructor===t,t.isFunction=e=>"function"==typeof e&&!t.isConstructor(e),t.isNullish=e=>t.isNotNullish(e),t.isNotNullish=e=>Array.isArray(e)||t.isString(e)?e.length>0:e instanceof Set||e instanceof Map?e.size>0:"object"==typeof e&&null!==e?Object.keys(e).length>0:null!=e,t.isNotNullUndefined=t=>null!=t,t.isNull=t=>null===t,t.isUndefined=t=>void 0===t,t.isArray=e=>!t.isNullOrUndefined(e)&&"[object Array]"===Object.prototype.toString.call(e).trim(),t.isStringNumber=t=>"number"==typeof t?!isNaN(t):"string"==typeof t&&""!==t.trim()&&!isNaN(Number(t)),t.isNumber=e=>!t.isNullOrUndefined(e)&&"[object Number]"===Object.prototype.toString.call(e).trim(),t.isIterator=t=>null!=t&&"function"==typeof t[Symbol.iterator],t.isString=e=>!t.isNullOrUndefined(e)&&"[object String]"===Object.prototype.toString.call(e).trim(),t.isObject=e=>!t.isNullOrUndefined(e)&&"[object Object]"===Object.prototype.toString.call(e).trim(),t.isMap=e=>!t.isNullOrUndefined(e)&&"[object Map]"===Object.prototype.toString.call(e).trim(),t.isEmpty=e=>!!t.isNullOrUndefined(e)||(t.isArray(e)?0===e.length:t.isString(e)?0===e.trim().length:t.isMap(e)?0===e.size:!!t.isObject(e)&&0===Object.keys(e).length),t.isSet=t=>t instanceof Set,t.isNullishFiltered=t=>Array.isArray(t)?t.every(t=>null!=t):null!=t,t.isFalsyFiltered=t=>Array.isArray(t)?t.every(t=>t):!!t,t.includeValue=(t,e)=>Object.values(t).includes(e),t.includeKey=(t,e)=>Object.keys(t).includes(e),t.lastConsonantLetter=t=>(t.charCodeAt(t.length-1)-44032)%28>0,t.inRange=(t,e,r)=>e<=t&&t<=r,t.isBase64=t=>{let e=t;const r=t.split(";base64,");if(r.length>1)e=r[1];else if(t.startsWith("data:")){const r=t.indexOf(",");r>-1&&(e=t.substring(r+1))}return""===e||e.length,/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}}(s||(s={})),function(t){t.Singleton="Singleton",t.Transient="Transient"}(a||(a={})),new Map,new Set,Symbol("Sim"),Symbol("PostConstruct");const u=c.on,l=c.Op},72343:(t,e,r)=>{r.d(e,{K:()=>s});var n,i={d:(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},o={};i.d(o,{K:()=>n}),function(t){t.ApplicationJson="application/json",t.ApplicationOctetStream="application/octet-stream",t.ApplicationXml="application/xml",t.ApplicationJsonPatch="application/json-patch+json",t.ApplicationXWwwFormUrlencoded="application/x-www-form-urlencoded",t.TextPlain="text/plain",t.TextHtml="text/html",t.All="*/*",t.TextCss="text/css",t.TextJavascript="text/javascript",t.TextXml="text/xml",t.TextXslt="text/xslt",t.TextXmlDtd="text/xml-dtd",t.TextPlainUtf8="text/plain; charset=utf-8",t.ImagePng="image/png",t.ImageGif="image/gif",t.ImageJpeg="image/jpeg",t.ImageSvg="image/svg+xml",t.ImageBmp="image/bmp",t.ImageTiff="image/tiff",t.ImagePdf="application/pdf",t.ImageXBmp="image/x-bmp",t.ImageXpixmap="image/x-xpixmap",t.ImageXxbm="image/x-xbm",t.MultipartFormData="multipart/form-data"}(n||(n={}));const s=o.K},88385:(t,e,r)=>{r.d(e,{T:()=>y});var n={2676:(t,e,r)=>{r.d(e,{B:()=>n});var n,i=r(7855),o=r(9284);!function(t){let e,r;t.constructorName=t=>t&&t.constructor&&t.constructor.name?t.constructor.name:t&&t.name?t.name:void 0,t.deepCopy=t=>t instanceof Map?new Map(JSON.parse(JSON.stringify(Array.from(t.entries())))):t instanceof Set?new Set(JSON.parse(JSON.stringify(Array.from(t.values())))):o.U.isNullOrUndefined(t)?t:JSON.parse(JSON.stringify(t)),t.allProtoTypeName=(e,r)=>{let n=[];if(e){const i=Object.getPrototypeOf(e);i&&(n=Object.keys(i)||[]).length>0&&(n=n.concat(t.allProtoTypeName(i,r)))}let i=n.filter(t=>"constructor"!==t);if(r&&e){const t=Object.getPrototypeOf(e);i=i.filter(e=>r(e,t?.[e]))}return i},t.uniqueKeys=t=>Array.from(new Set((Array.isArray(t)?t:[t]).flatMap(t=>Object.keys(t)))),t.ownPropertyNames=t=>{const e=[];if(t)if(t.prototype)e.push(...Object.getOwnPropertyNames(Object.getPrototypeOf(t)));else{const r=Object.getPrototypeOf(t);e.push(...Object.getOwnPropertyNames(r))}return e.filter(t=>"constructor"!==t)},t.protoTypeName=t=>{let e=[];if(t){const r=Object.getPrototypeOf(t);e=Object.keys(r)||[]}return e.filter(t=>"constructor"!==t)},t.protoTypes=t=>{const e=[];if(t){const r=Object.getPrototypeOf(t);(Object.keys(r)||[]).filter(t=>"constructor"!==t).forEach(t=>{e.push(r[t])})}return e},t.seal=t=>Object.seal(t),t.isPrototypeOfTarget=(t,e)=>!(!t||!e)&&Object.prototype.isPrototypeOf.call(t.prototype,e),t.prototypeOfDepth=(t,e)=>{let r=t;const n=[];if(e)do{if(r=Object.getPrototypeOf(r),r?.constructor===e)break;n.push(r)}while(r);return n},t.allProtoType=t=>{const e=(t,r=[])=>(t.prototype&&(r.push(t),e(Object.getPrototypeOf(t),r)),r);return e(t)},t.prototypeOf=t=>Object.getPrototypeOf(t),t.prototypeKeyMap=t=>{const e=new Map;if(t){const r=Object.getPrototypeOf(t);(Object.keys(r)||[]).filter(t=>"constructor"!==t).forEach(t=>{e.set(r[t],t)})}return e},t.prototypeName=(e,r)=>t.prototypeKeyMap(e).get(r),t.pickRandomKey=t=>{const e=Object.keys(t);return e[Math.floor(Math.random()*e.length)]},t.pickRandomValue=t=>{const e=Object.keys(t);return t[e[Math.floor(Math.random()*e.length)]]},t.pickRandomKeyValue=t=>{const e=Object.keys(t),r=e[Math.floor(Math.random()*e.length)];return{key:r,value:t[r]}},t.keyValues=t=>Object.keys(t).map(e=>({key:e,value:t[e]})),t.entries=t=>Object.entries(t),t.values=t=>Object.values(t),t.keys=t=>Object.keys(t),t.keyLength=e=>t.keys(e).length,t.toDeleteUndefinedAndNull=(t,e)=>{const r=t=>Array.isArray(t)?t.filter(t=>null!=t).map(r):t&&"object"==typeof t?e?.deep?Object.fromEntries(Object.entries(t).filter(([t,e])=>null!=e).map(([t,e])=>[t,r(e)])):Object.fromEntries(Object.entries(t).filter(([t,e])=>null!=e)):t;return r(t)},function(t){t.isFunctionScript=t=>t.trim().startsWith("function"),t.isArrowFunctionScript=t=>/^\s*\([^)]*\)\s*=>/.test(t),t.toOptionalChainPath=e=>{if(!e)return"";if(e.trim().startsWith("{")&&e.trim().endsWith("}"))return e;if(t.isFunctionScript(e)||t.isArrowFunctionScript(e))return e;if(e.includes(" ? ")&&e.includes(" : ")){const t=e.split(/(\s+\?\s+|\s+:\s+)/).map((t,e)=>{if(0===e){const e=t.match(/[^?.[\]]+|\[[^\]]*\]/g);if(e&&e.length>1)return e.join("?.")}return t});return t.join("")}if(e.includes("(")){const r=[];let n=e,i=0;const o=/(\w+)\(([^()]*(?:\([^()]*\)[^()]*)*)\)/g;let s;for(;null!==(s=o.exec(e));){const e=s[0],o=s[1],a=s[2],c=`__FUNC_CALL_${i}__`,h=`${o}?.(${a?t.toOptionalChainPath(a):""})`;r.push({original:e,processed:h,placeholder:c}),n=n.replace(e,c),i++}const a=n.match(/[^?.[\]]+|\[[^\]]*\]/g);let c="";c=a&&a.length>1?a.join("?."):n;for(const t of r)c=c.replace(t.placeholder,t.processed);return c}const r=e.match(/[^?.[\]]+|\[[^\]]*\]/g);return r?r.join("?."):e},t.removeOptionalChainOperator=t=>t?t.replace(/\?\./g,".").replace(/\.\[/g,"["):"";const e=t=>{const e=[],r=/\.([^.\[]+)|\[(\d+)\]|\[(['"])(.*?)\3\]/g;let n,i=0;const o=t.match(r);if(o&&(o?.index??0)>0)e.push(t.substring(0,o.index)),i=o.index;else if(!o&&t.length>0)return e.push(t),e;for(;null!==(n=r.exec(t));){if(n.index>i){const r=t.substring(i,n.index);r.startsWith(".")?e.push(r.substring(1)):e.push(r)}n[1]?e.push(n[1]):n[2]?e.push(parseInt(n[2],10)):n[4]&&e.push(n[4]),i=r.lastIndex}if(i<t.length){const r=t.substring(i);r.startsWith(".")?e.push(r.substring(1)):e.push(r)}return e};t.to=e=>{const r={};return Object.entries(e).forEach(([e,n])=>{t.set(r,e,n)}),r},t.set=(t,r,n)=>{const i=e(r);let o=t;for(let t=0;t<i.length;t++){const e=i[t];if(t===i.length-1)o[e]=n;else{const r=i[t+1];if("number"==typeof r){if(Array.isArray(o[e])||(o[e]=[]),Array.isArray(o[e]))for(;o[e].length<=r;)o[e].push({})}else"object"==typeof o[e]&&null!==o[e]||(o[e]={});o=o[e]}}},t.get=(t,r,n)=>{const i=e(r);let o=t;for(let t=0;t<i.length;t++){const e=i[t];if(null==o)return n;if("object"!=typeof o||null===o||!(e in o))return n;o=o[e]}return o},t.deletePath=(t,r)=>{const n=e(r);if(0===n.length)return!1;let i=t;for(let t=0;t<n.length-1;t++){const e=n[t];if(null==i)return!1;if("object"!=typeof i||null===i||!(e in i))return!1;i=i[e]}const o=n[n.length-1];return null!==i&&"object"==typeof i&&o in i&&(Array.isArray(i)&&"number"==typeof o?i.splice(o,1):delete i[o],!0)},t.availablePath=(t,e)=>{const r=[],n=t=>"number"==typeof t?"["+t+"]":/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(t)?t:"['"+t+"']",i=(t,o,s)=>{null!==t&&"object"==typeof t&&(s.has(t)||(s.add(t),Array.isArray(t)?t.forEach((t,a)=>{const c=n(a),h=o?`${o}${c}`:c;e&&!e(h,t)||r.push(h),i(t,h,s)}):Object.keys(t).forEach(a=>{const c=n(a);let h;h=c.startsWith("[")?o?`${o}${c}`:c:o?`${o}.${c}`:c,e&&!e(h,t[a])||r.push(h),i(t[a],h,s)})))};return i(t,"",new Set),r},t.detectPathFromScript=(t,e)=>{const r=new Set;class n{constructor(t){this.prefix=t,this.usingVars=r}set(t,e,r,n){return!0}get(t,e,r){if("symbol"==typeof e)return this.createSafeProxy(this.prefix);let n;const i=String(e);return n=isNaN(Number(i))?this.prefix?`${this.prefix}.${i}`:i:this.prefix?`${this.prefix}[${i}]`:i,n&&this.usingVars.add(n),this.createSafeProxy(n)}apply(t,e,r){return this.createSafeProxy(this.prefix)}createSafeProxy(t){const e=new n(t);return new Proxy(()=>{},{get:(r,n,i)=>n===Symbol.toPrimitive?()=>"":"valueOf"===n?()=>e.createSafeProxy(t):"toString"===n?()=>"":e.get(r,n,i),set:e.set.bind(e),apply:e.apply.bind(e)})}}const i={window:new Proxy(()=>{},new n("window")),document:new Proxy(()=>{},new n("document")),console:new Proxy(()=>{},new n("console"))},o=new Proxy(()=>{},new n("this"));try{new Function("window","document","console",`"use strict"; ${t}; `).call(o,i.window,i.document,i.console)}catch(t){console.error("detectPathFromScript error:",t)}if(e?.excludeThis){const t=new Set;return r.forEach(e=>{"this"!==e&&(e.startsWith("this.")?t.add(e.substring(5)):t.add(e))}),t}return r}}(e=t.Path||(t.Path={})),t.toDeleteKey=(e,r)=>{const n={...e};return t.deleteKey(n,r),n},t.deleteKey=(t,e)=>{e.filter(t=>(0,i.O)(t)).forEach(e=>{delete t[e]})},function(t){t.evalReturn=(e,r={})=>{let n="",i="";return"object"==typeof e?(n=e.bodyScript,i=e.returnScript):i=e,t.eval(`${n}; return ${i} `,r)},t.eval=(t,e={})=>{try{return Function(`"use strict"; ${t} `).bind(e)()}catch(e){return console.error("eval error",e),void console.error(t)}}}(r=t.Script||(t.Script={}))}(n||(n={}))},3205:(t,e,r)=>{r.d(e,{O:()=>o});var n=r(7553),i=r(9244);class o extends n.M{constructor(t){super(),this.volume=0,this.mass=0,this.e=0,this.rotate=0,this.width=0,this.height=0,this.transform=[1,0,0,1,0,0],this.color={r:0,g:0,b:0,a:255},this.updateObjWithDefaults(t)}copyObj(){return new o({x:this.x,y:this.y,z:this.z,volume:this.volume,mass:this.mass,e:this.e,rotate:this.rotate,width:this.width,height:this.height,transform:[...this.transform],color:{...this.color},data:{...this.data}})}updateObjWithDefaults(t){if(t){this.x=t.x??this.x,this.y=t.y??this.y,this.z=t.z??this.z,this.volume=t.volume??this.volume,this.mass=t.mass??this.mass,this.e=t.e??this.e,this.rotate=t.rotate??this.rotate,this.width=t.width??this.width,this.height=t.height??this.height,this.transform=[...t.transform??this.transform],this.color={...t.color??this.color};const e=t.data??this.data;this.data=e?{...e}:void 0}}setObj(t){if(t){this.x=t.x??0,this.y=t.y??0,this.z=t.z??0,this.volume=t.volume??0,this.mass=t.mass??0,this.e=t.e??0,this.rotate=t.rotate??0,this.width=t.width??0,this.height=t.height??0,this.transform=[...t.transform??[1,0,0,1,0,0]],this.color={...t.color??{r:0,g:0,b:0,a:255}};const e=t.data;this.data=e?{...e}:void 0}}toRect(){return new i.r(this.x,this.y,this.width,this.height)}}},3599:(t,e,r)=>{r.d(e,{z:()=>n});var n,i=r(8741),o=r(7553),s=r(3205),a=r(4068);!function(t){t.getMinByObjectArray=(t,e)=>{let r;if(e&&t&&t.length>0){r=t[0][e];for(let n=1;n<t.length;n++)r=Math.min(r,t[n][e])}return r},t.hypot=(...t)=>Math.hypot(...t),t.pythagorean=(t,e)=>Math.sqrt(t*t+e*e),t.getMaxByObjectArray=(t,e)=>{let r;if(e&&t&&t.length>0){r=t[0][e];for(let n=1;n<t.length;n++)r=Math.max(r,t[n][e])}return r},t.sum=t=>t.reduce((t,e)=>t+e,0),t.avg=e=>e.length>0?t.sum(e)/e.length:0,t.minMax=(t,e)=>Math.min(Math.max(t,e.min),e.max),t.max=t=>t.length>0?Math.max(...t):void 0,t.min=t=>t.length>0?Math.min(...t):void 0,t.getSumByObjectArray=(t,e)=>{let r=0;if(e&&t&&t.length>0)for(let n=0;n<t.length;n++)r+=t[n][e];return r},t.radians=(t,{type:e="degreeAngle"})=>"ratio"===e?2*t*Math.PI:"percent"===e?t/100*2*Math.PI:t/180*Math.PI,t.degrees=(t,{type:e="degreeAngle"})=>"ratio"===e?360*t:"percent"===e?t/100*360:180*t/Math.PI,t.ratio=(t,e,r=1)=>r*(e/t),t.getBetweenLength=(t,e)=>e-t,t.getPercentByTotal=(t,e)=>e/t*100,t.getRatioByTotal=(t,e)=>e/t,t.getValueByTotalInPercent=(t,e)=>t*e/100,t.getValueByTotalInRatio=(t,e)=>t*e,t.getValuePercentUp=(t,e)=>t*(1+e/100),t.getValueRatioUp=(t,e)=>t*(1+e),t.getValuePercentDown=(t,e)=>t*(1-e/100),t.getValueRatioDown=(t,e)=>t*(1-e),t.beziers=(e,r)=>{const n=new Array(r).fill(void 0);for(let i=0;i<n.length;i++)n[i]=t.bezier(e,r,i);return n},t.bezier=(e,r,n)=>{if(e&&e.length>0){const s=e.map(t=>new o.M(t.x,t.y,t.z)),a=[];return s.reduce((t,e)=>{const i=t.toSub(e).div(r).mult(n+1);return a.push(t.toSub(i)),e}),a.length<=1?a[0]:t.bezier(a.map(t=>new i.M(t)),r,n)}return new o.M},t.cubicBezier=function(e,r,n){if(e.start instanceof s.O&&e.end instanceof s.O){const i=t.cubicBezier({start:e.start.x,end:e.end.x},r,n),o=t.cubicBezier({start:e.start.y,end:e.end.y},r,n),a=t.cubicBezier({start:e.start.z,end:e.end.z},r,n),c=t.cubicBezier({start:e.start.volume,end:e.end.volume},r,n),h=t.cubicBezier({start:e.start.mass,end:e.end.mass},r,n),u=t.cubicBezier({start:e.start.e,end:e.end.e},r,n),l=t.cubicBezier({start:e.start.rotate,end:e.end.rotate},r,n),f=t.cubicBezier({start:e.start.width,end:e.end.width},r,n),y=t.cubicBezier({start:e.start.height,end:e.end.height},r,n),p=t.cubicBezier({start:e.start.transform[0],end:e.end.transform[0]},r,n),d=t.cubicBezier({start:e.start.transform[1],end:e.end.transform[1]},r,n),g=t.cubicBezier({start:e.start.transform[2],end:e.end.transform[2]},r,n),m=t.cubicBezier({start:e.start.transform[3],end:e.end.transform[3]},r,n),b=t.cubicBezier({start:e.start.transform[4],end:e.end.transform[4]},r,n),v=t.cubicBezier({start:e.start.transform[5],end:e.end.transform[5]},r,n),w=t.cubicBezier({start:e.start.color.r??0,end:e.end.color.r??0},r,n),x=t.cubicBezier({start:e.start.color.g??0,end:e.end.color.g??0},r,n),O=t.cubicBezier({start:e.start.color.b??0,end:e.end.color.b??0},r,n),P=t.cubicBezier({start:e.start.color.a??255,end:e.end.color.a??255},r,n);return i.map((t,e)=>{const r=new s.O({x:t,y:o[e],z:a[e]});return r.volume=c[e],r.mass=h[e],r.e=u[e],r.rotate=l[e],r.width=f[e],r.height=y[e],r.transform=[p[e],d[e],g[e],m[e],b[e],v[e]],r.color={r:w[e],g:x[e],b:O[e],a:P[e]},r})}if(e.start instanceof i.M&&e.end instanceof i.M){const o=t.cubicBezier({start:e.start.x,end:e.end.x},r,n),s=t.cubicBezier({start:e.start.y,end:e.end.y},r,n),a=t.cubicBezier({start:e.start.z,end:e.end.z},r,n);return o.map((t,e)=>new i.M(t,s[e],a[e]))}const{start:o,end:a}=e,{frame:c}=r;let{p1x:h,p1y:u,p2x:l,p2y:f}=Array.isArray(n)?{p1x:n[0],p1y:n[1],p2x:n[2],p2y:n[3]}:n;h="random"===h?Math.random():h,u="random"===u?Math.random():u,l="random"===l?Math.random():l,f="random"===f?Math.random():f;const y=[],p=a-o,d=t=>{const e=Number(t*t),r=Number(e*t),n=Number(1-t),i=Number(n*n);return 0*Number(i*n)+3*i*t*Number(u)+3*n*e*Number(f)+1*r},g=c+1;for(let t=1;t<g;t++){const e=o+p*d(t/g);y.push(e)}return y},t.diff=(t,e)=>Math.abs(t-e),t.distSqToLineSegment=(t,e,r)=>{const n=(e.x-r.x)**2+(e.y-r.y)**2;if(0===n)return(t.x-e.x)**2+(t.y-e.y)**2;let i=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/n;i=Math.max(0,Math.min(1,i));const o=e.x+i*(r.x-e.x),s=e.y+i*(r.y-e.y);return(t.x-o)**2+(t.y-s)**2},t.rotatePoint=(t,e,r)=>{const n=t.x-e.x,i=t.y-e.y,o=n*Math.cos(r)-i*Math.sin(r),s=n*Math.sin(r)+i*Math.cos(r);return new a.P(o+e.x,s+e.y)}}(n||(n={}))},4068:(t,e,r)=>{r.d(e,{P:()=>n});class n{constructor(t,e){"object"==typeof t?(this.x=t.x??0,this.y=t.y??0):(this.x=t??0,this.y=e??0)}copy(){return new n(this.x,this.y)}}},5275:(t,e,r)=>{r.d(e,{s:()=>n});const n=t=>!!t&&"number"==typeof t.width&&"number"==typeof t.height},7553:(t,e,r)=>{r.d(e,{M:()=>o});var n=r(8741),i=r(4068);class o{constructor(t,e,r){t instanceof n.M?(this.x=t.x,this.y=t.y,this.z=t.z):"object"==typeof t?(this.x=t.x??0,this.y=t.y??0,this.z=t.z??0):(this.x=t??0,this.y=e??0,this.z=r??0)}set(t,e=0,r=0){return t instanceof o||t instanceof n.M?this.set(t.x||0,t.y||0,t.z||0):(this.x=t,this.y=e,this.z=r),this}get(){return new o(this.x,this.y,this.z)}mag(){const t=this.x,e=this.y,r=this.z;return Math.sqrt(t*t+e*e+r*r)}add(t,e=0,r=0){t instanceof o||t instanceof n.M?(this.x+=t.x,this.y+=t.y,this.z+=t.z):(this.x+=t,this.y+=e,this.z+=r)}toAdd(t,e){return new o(t.x+e.x,t.y+e.y,t.x+e.y)}sub(t,e=0,r=0){t instanceof o||t instanceof n.M?(this.x-=t.x,this.y-=t.y,this.z-=t.z):(this.x-=t,this.y-=e,this.z-=r)}toSub(t){const e=this;return new o(e.x-t.x,e.y-t.y,e.z-t.z)}mult(t){return t instanceof o||t instanceof n.M?(this.x*=t.x,this.y*=t.y,this.z*=t.z):(this.x*=t,this.y*=t,this.z*=t),this}toMult(t){const e=this;return new o(e.x*=t.x,e.y*=t.y,e.z*=t.z)}div(t){return t instanceof o||t instanceof n.M?(this.x/=t.x,this.y/=t.y,this.z/=t.z):(this.x/=t,this.y/=t,this.z/=t),this}toDiv(t){const e=this.get();return e.x/=t,e.y/=t,e.z/=t,e}dist(t){const e=this.x-t.x,r=this.y-t.y,n=this.z-t.z;return Math.sqrt(e*e+r*r+n*n)}toDist(t){const e=this,r=e.x-t.x,n=e.y-t.y,i=e.z-t.z;return Math.sqrt(r*r+n*n+i*i)}dot(t,e,r){return t instanceof o||t instanceof n.M?this.x*t.x+this.y*t.y+this.z*t.z:this.x*t+this.y*e+this.z*r}cross(t){const e=this.x,r=this.y,n=this.z;return new o(r*t.z-t.y*n,n*t.x-t.z*e,e*t.y-t.x*r)}normalize(){const t=this.mag();t>0&&this.div(t)}limit(t){this.mag()>t&&(this.normalize(),this.mult(t))}heading2D(){return-Math.atan2(-this.y,this.x)}random2D(){return this.fromAngle(Math.random()*(2*Math.PI))}fromAngle(t,e=1){return new o(e*Math.cos(t),e*Math.sin(t),0)}fromAngles(t,e,r=1){const n=Math.cos(e),i=Math.sin(e),s=Math.cos(t),a=Math.sin(t);return new o(r*a*i,-r*s,r*a*n)}array(){return[this.x,this.y,this.z]}toPoint3D(){return new n.M(this.x,this.y,this.z)}toPoint2D(){return new i.P(this.x,this.y)}copy(){return new o(this.x,this.y,this.z)}toString(){return"["+this.x+", "+this.y+", "+this.z+"]"}}},7855:(t,e,r)=>{r.d(e,{O:()=>n});const n=t=>null!=t},8741:(t,e,r)=>{r.d(e,{M:()=>o});var n=r(7553),i=r(4068);class o extends i.P{constructor(t,e,r){t instanceof n.M?(super(t.x,t.y),this.z=t.z):"object"==typeof t?(super({x:t.x??0,y:t.y??0}),this.z=t.z??0):(super(t,e),this.z=r??0)}copy(){return new o(this.x,this.y,this.z)}}},9244:(t,e,r)=>{r.d(e,{r:()=>s});var n=r(4068),i=r(3599),o=r(5275);class s{constructor(t,e,r=0,i=0){(0,o.s)(t)?(this._start=new n.P(0,0),this._width=t.width,this._height=t.height):"object"==typeof t&&"object"==typeof e?(this._start=t instanceof n.P?t:new n.P(t.x,t.y),this.end=e instanceof n.P?e:new n.P(e.x,e.y)):"object"==typeof t&&"number"==typeof e?(this._start=t instanceof n.P?t:new n.P(t.x,t.y),this._width=e,this._height=r):"number"==typeof t&&"number"==typeof e&&(this._start=new n.P(t,e),this._width=r,this._height=i)}valueLinkControl(t){let e,r=!1;var n;return"object"==typeof(n=t)&&"value"in n&&"noLink"in n?(e=t.value,r=t.noLink):e=t,{value:e,noLink:r}}get width(){return this._width}get height(){return this._height}get start(){return this._start.copy()}set width(t){this.setWidth(t)}setWidth(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=i.z.getPercentByTotal(this._width,e);this._width=e,this.applyWidthPercentLinks({value:n,noLink:r})}set height(t){this.setHeight(t)}setHeight(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=i.z.getPercentByTotal(this._height,e);this._height=e,this.applyHeightPercentLinks({value:n,noLink:r})}set start(t){let{value:e,noLink:r}=this.valueLinkControl(t);const o=new n.P({x:i.z.getPercentByTotal(this._start.x,e.x),y:i.z.getPercentByTotal(this._start.y,e.y)});this._start=e,this.applyStartPercentLinks({value:o,noLink:r})}setWidthFromEnd(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=i.z.getPercentByTotal(this.start.x,e);this._start.x=this.end.x-e,this.applyStartXPercentLinks({value:n,noLink:r})}set widthFromEnd(t){this.setWidthFromEnd(t)}setHeightFromEnd(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=this.end.y-e,o=i.z.getPercentByTotal(this.start.y,n);this._start.y=n,this.applyStartYPercentLinks({value:o,noLink:r})}set heightFromEnd(t){this.setHeightFromEnd(t)}setWidthFromCenter(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=this.center.x-e/2,o=i.z.getPercentByTotal(this.start.x,n);this._start.x=n,this.applyStartXPercentLinks(o)}set widthFromCenter(t){this.setWidthFromCenter(t)}setHeightFromCenter(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=this.center.y-e/2,o=i.z.getPercentByTotal(this.start.y,n);this._start.y=n,this.applyStartYPercentLinks(o)}set heightFromCenter(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=this.center.y-e/2,o=i.z.getPercentByTotal(this.start.y,n);this._start.y=n,this.applyStartYPercentLinks(o)}set x(t){this.setX(t)}setX(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=e-this._start.x,o=i.z.getPercentByTotal(this.width,n);this._start.x=e,this.applyStartXPercentLinks({value:o,noLink:r})}set y(t){this.setY(t)}setY(t){let{value:e,noLink:r}=this.valueLinkControl(t);const n=e-this._start.y,o=i.z.getPercentByTotal(this.height,n);this._start.y=e,this.applyStartYPercentLinks({value:o,noLink:r})}applyWidthPercentLinks(t){let{value:e,noLink:r}=this.valueLinkControl(t);!this.linkRects||"boolean"=