Socket
Socket
Sign inDemoInstall

@lume/variable

Package Overview
Dependencies
5
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.3 to 0.8.0

2

dist/global.js

@@ -1,2 +0,2 @@

(()=>{var __webpack_modules__={839:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";var _utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(620),__WEBPACK_DEFAULT_EXPORT__=null,supportsSpread=isSyntaxSupported("Object(...[{}])"),supportsClass=isSyntaxSupported("class Test {}"),supportsNewTarget=isSyntaxSupported("new.target"),TRUE_CONSTRUCTOR=Symbol?Symbol("trueConstructor"):"__newlessTrueConstructor__",setPrototype=Object.setPrototypeOf||function(e,t){e.__proto__=t},construct=Reflect&&Reflect.construct||function(){if(supportsClass)return Function("constructor, args, target",`\n 'use strict';\n\n if (arguments.length === 3 && typeof target !== 'function')\n throw new TypeError(target + ' is not a constructor');\n\n target = target || constructor;\n\n // extend target so the right prototype is constructed (or nearly the\n // right one; ideally we'd do instantiator.prototype = target.prototype,\n // but a class's prototype property is not writable)\n class instantiator extends target {};\n // but ensure the *logic* is 'constructor' for ES2015-compliant engines\n Object.setPrototypeOf(instantiator, constructor);\n // ...and for Safari 9\n instantiator.prototype.constructor = constructor;\n\n // The spread operator is *dramatically faster, so use it if we can:\n // http://jsperf.com/new-via-spread-vs-dynamic-function/4\n ${supportsSpread?"\n\n var value = new instantiator(...([].slice.call(args)));\n\n ":"\n\n // otherwise, create a dynamic function in order to use 'new'\n // Note using 'function.bind' would be simpler, but is much slower:\n // http://jsperf.com/new-operator-with-dynamic-function-vs-bind\n var argList = '';\n for (var i = 0, len = args.length; i < len; i++) {\n if (i > 0) argList += ',';\n argList += 'args[' + i + ']';\n }\n var constructCall = Function('constructor, args',\n 'return new constructor( ' + argList + ' );'\n );\n var value = constructCall(constructor, args);\n\n args = Array.prototype.slice.call(args);\n args = [null].concat(args);\n var value = new constructor.bind.apply(constructor, args);\n\n "}\n\n // fix up the prototype so it matches the intended one, not one who's\n // prototype is the intended one :P\n Object.setPrototypeOf(value, target.prototype);\n return value;\n `);var e=function(){};return function(t,n,r){if(3===arguments.length&&"function"!=typeof r)throw new TypeError(r+" is not a constructor");e.prototype=(r||t).prototype;var o=new e,s=t.apply(o,n);return"object"==typeof s&&s?(s.__proto__=(r||t).prototype,s):o}}(),SKIP_PROPERTIES=null;function copyProperties(e,t){if(Object.getOwnPropertyNames&&Object.defineProperty){var n=Object.getOwnPropertyNames(e);Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e)));for(var r=n.length-1;r>=0;r--)-1===SKIP_PROPERTIES.indexOf(n[r])&&Object.defineProperty(t,n[r],Object.getOwnPropertyDescriptor(e,n[r]))}else for(var o in e)t[o]=e[o]}function newless(constructor){var name=constructor.name,usesClassSyntax="class"===constructor.toString().substr(0,5),requiresNew=!!usesClassSyntax||null,newlessConstructor=(()=>function(){if(!requiresNew&&this instanceof newlessConstructor){if(!1===requiresNew){const e=constructor.apply(this,arguments);return"object"==typeof e&&e||this}try{requiresNew=!1;const e=constructor.apply(this,arguments);return"object"==typeof e&&e||this}catch(e){if(!(e instanceof TypeError&&(/class constructor/i.test(e.message)||/use the 'new' operator/i.test(e.message))))throw e instanceof Error&&/Illegal constructor/i.test(e.message)&&Object.create(constructor.prototype)instanceof Node&&console.error(`The following error can happen if a Custom Element is called\nwith 'new' before being defined. The constructor was ${constructor.name}: `,constructor),e;requiresNew=!0}}var newTarget,hasNewTarget=!1;supportsNewTarget&&(eval("newTarget = new.target"),newTarget&&(hasNewTarget=!0)),supportsNewTarget&&hasNewTarget||(newTarget=this instanceof newlessConstructor?this.constructor:constructor);const returnValue=construct(constructor,arguments,newTarget);return this instanceof newlessConstructor&&setPrototype(this,returnValue),returnValue})();if(name){const e=getFunctionBody(newlessConstructor);newlessConstructor=Function("constructor, construct, setPrototype, requiresNew, supportsNewTarget",`\n var newlessConstructor = function ${name}() { ${e} };\n return newlessConstructor\n `)(constructor,construct,setPrototype,requiresNew,supportsNewTarget)}return constructor.length&&setDescriptor(newlessConstructor,"length",{value:constructor.length}),newlessConstructor.prototype=Object.create(constructor.prototype),newlessConstructor.prototype.constructor=newlessConstructor,constructor.prototype.constructor=constructor,newlessConstructor[TRUE_CONSTRUCTOR]=constructor,copyProperties(constructor,newlessConstructor),setPrototype(newlessConstructor,constructor),newlessConstructor}function isSyntaxSupported(e,t=!0){try{return!!Function("",(t?"'use strict';":"")+e)}catch(e){return!1}}},620:(e,t,n)=>{"use strict";n.d(t,{Gm:()=>d,Ie:()=>r,Md:()=>_,Sh:()=>o,U8:()=>h,ld:()=>a,nk:()=>p,q$:()=>c,uh:()=>l,yA:()=>f});class r{constructor(){this.m=new WeakMap}set(e,t){this.m.set(e,t),this.m.set(t,e)}get(e){return this.m.get(e)}has(e){return this.m.has(e)}}function o(e){const t=e.toString().split("\n");return t.shift(),t.pop(),t.join("\n")}const s={enumerable:!0,configurable:!0};function c(e,t,n,r=!1){n=u(r?a(e,t):Object.getOwnPropertyDescriptor(e,t),n),Object.defineProperty(e,t,n)}function i(e,t){let n,r;const o=Object.getOwnPropertyDescriptors(e);for(const e in t)n=t[e],r=o[e],t[e]=u(r,n);Object.defineProperties(e,t)}function u(e,t){if(("get"in t||"set"in t)&&("value"in t||"writable"in t))throw new TypeError("cannot specify both accessors and a value or writable attribute");return e&&("get"in t||"set"in t?(delete e.value,delete e.writable):("value"in t||"writable"in t)&&(delete e.get,delete e.set)),{...s,...e,...t}}function l(e,t,n=!0){let r,o=!1;return r=1===arguments.length?e:n?a(e,t):Object.getOwnPropertyDescriptor(e,t),r&&(r.get||r.set)&&(o=!0),o}function a(e,t){let n,r=e;for(;r;){if(n=Object.getOwnPropertyDescriptor(r,t),n)return n.owner=r,n;r=r.__proto__}}function f(e){let t=e,n=[];for(;t;)n=n.concat(Object.getOwnPropertyNames(t)),t=t.__proto__;return n=Array.from(new Set(n)),n}function p(e,t){let n=e.__proto__;do{if(t===n)return!0;n=n.__proto__}while(n);return!1}function d(e,t,n){const r=Object.getOwnPropertyNames(e);let o=r.length;for(;o--;){const s=r[o],c=Object.getOwnPropertyDescriptor(e,s);n&&n(c),Object.defineProperty(t,s,c)}}function _(e,{defaultClassDescriptor:{writable:t,enumerable:n,configurable:r}}){const o=Object.getOwnPropertyDescriptors(e);let s;for(const e in o)s=o[e],("value"in s||"writable"in s)&&(s.writable=t),s.enumerable=n,s.configurable=r;i(e,o)}function h(e,{defaultClassDescriptor:{writable:t,enumerable:n,configurable:r}},o){const s=Object.getOwnPropertyDescriptors(e);let c;for(const e in s)o&&o.includes(e)?delete s[e]:(c=s[e],("value"in c||"writable"in c)&&(c.writable=t),c.enumerable=n,c.configurable=r);i(e,s)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{$DEVCOMP:()=>L,$PROXY:()=>V,$TRACK:()=>W,DEV:()=>{},ErrorBoundary:()=>Pt,For:()=>_t,Index:()=>ht,Match:()=>wt,Show:()=>gt,Suspense:()=>St,SuspenseList:()=>Ot,Switch:()=>bt,_trackReactiveProperty:()=>Ct,autorun:()=>At,batch:()=>ge,cancelCallback:()=>M,children:()=>Ce,circular:()=>Dt,createComponent:()=>ot,createComputed:()=>ue,createContext:()=>Ae,createDeferred:()=>_e,createEffect:()=>ae,createMemo:()=>pe,createReaction:()=>fe,createRenderEffect:()=>le,createResource:()=>de,createRoot:()=>ce,createSelector:()=>he,createSignal:()=>ie,createUniqueId:()=>dt,enableExternalSource:()=>Ne,enableHydration:()=>rt,enableScheduling:()=>ke,equalFn:()=>$,from:()=>Je,getListener:()=>me,getOwner:()=>Oe,indexArray:()=>tt,lazy:()=>at,mapArray:()=>et,mergeProps:()=>ut,observable:()=>He,on:()=>we,onCleanup:()=>ve,onError:()=>Pe,onMount:()=>ye,reactify:()=>Rt,reactive:()=>jt,requestCallback:()=>R,resetErrorBoundaries:()=>vt,runWithOwner:()=>Se,sharedConfig:()=>F,splitProps:()=>lt,startTransition:()=>Te,untrack:()=>be,useContext:()=>je,useTransition:()=>xe,variable:()=>xt,version:()=>Ft});var e=__webpack_require__(620);const t=["subclass","extends",...Object.getOwnPropertyNames(new Function)],n=new WeakMap,r=new WeakMap,o=new e.Ie,s=new WeakMap,c=new WeakMap,i=new WeakMap,u=new WeakMap,l=new WeakMap,a={mode:"es5",nativeNaming:!1,prototypeWritable:!1,defaultClassDescriptor:{writable:!0,enumerable:!1,configurable:!0},setClassDescriptors:!0};class f extends Error{}class p extends Error{}function d(e,t){let n=e.cachedPublicAccesses.get(t);return n||(P(e,t)?e.cachedPublicAccesses.set(t,n=h(t).publicToPrivate.get(t)):v(e,t)?e.cachedPublicAccesses.set(t,n=o.get(t)):e.cachedPublicAccesses.set(t,n=t),n)}function _(e,t){let n=e.cachedProtectedAccesses.get(t);if(n)return n;if(y(e,t))e.cachedProtectedAccesses.set(t,n=o.get(t)||g(t));else if(P(e,t)){const r=h(t).publicToPrivate.get(t);e.cachedProtectedAccesses.set(t,n=o.get(r)||g(r))}else v(e,t)&&e.cachedProtectedAccesses.set(t,n=t);if(!n)throw new p("invalid access of protected member");return n}function h(e){return s.get(e)}function g(e){const t=function(e){let t=null,r=e.__proto__;for(;r;){if(t=n.get(r),t)return t;r=r.__proto__}return t}(e),r=Object.create(t);return o.set(e,r),r}function b(e,t){let n=e.cachedPrivateAccesses.get(t);if(n)return n;if(y(e,t))e.cachedPrivateAccesses.set(t,n=e.publicToPrivate.get(t)||w(e,t));else if(v(e,t)){const r=o.get(t);e.cachedPrivateAccesses.set(t,n=e.publicToPrivate.get(r)||w(e,r))}else P(e,t)&&e.cachedPrivateAccesses.set(t,n=t);if(!n)throw new p("invalid access of private member");return n}function w(e,t){const n=Object.create(e.privatePrototype);return e.publicToPrivate.set(t,n),s.set(n,e),n}function y(t,n,r=!0){if(!r)return(0,e.nk)(n,t.publicPrototype);for(const r of Array.from(c.get(t.classBrand)))if((0,e.nk)(n,r))return!0;return!1}function v(t,n,r=!0){if(!r)return(0,e.nk)(n,t.protectedPrototype);for(const r of Array.from(i.get(t.classBrand)))if((0,e.nk)(n,r))return!0;return!1}function P(t,n,r=!0){if(!r)return(0,e.nk)(n,t.privatePrototype);for(const r of Array.from(u.get(t.classBrand)))if((0,e.nk)(n,r))return!0;return!1}function m(e,t,n){const{parentPublicPrototype:r,parentProtectedPrototype:o,parentPrivatePrototype:s}=t;if(y(t,n,!1))return O(n,r,e);if(v(t,n,!1))return O(n,o,e);if(P(t,n,!1))return O(n,s,e);throw new f("invalid super access")}function O(t,n,r){let o=r.get(t);if(!o){r.set(t,o=Object.create(n));const s=(0,e.yA)(n);let c=s.length;for(;c--;){const r=s[c];(0,e.q$)(o,r,{get:function(){let o;const s=(0,e.ld)(n,r);if(s&&(0,e.uh)(s)){const e=s.get;e&&(o=e.call(t))}else o=n[r];return o&&o.call&&"function"==typeof o&&(o=o.bind(t)),o},set:function(o){const s=(0,e.ld)(n,r);if(s&&(0,e.uh)(s)){const e=s.set;e&&(o=e.call(t,o))}else t[r]=o}},!0)}}return o}var S;!function(o){(o=o?{...a,...o}:a).defaultClassDescriptor={...a.defaultClassDescriptor,...o.defaultClassDescriptor};const{mode:s,prototypeWritable:f,setClassDescriptors:p,nativeNaming:h}=o;function g(...e){let t=!1;if("function"==typeof this&&(t=!0),e.length<=3){let n="",r=null,o=null;"string"==typeof e[0]?n=e[0]:"function"!=typeof e[0]&&"object"!=typeof e[0]||(r=e[0],o=e[1]),"function"!=typeof e[1]&&"object"!=typeof e[1]||(r=e[1],o=e[2]);const s=t?w.call(this,n,r,o):w(n,r,o);return s.extends=function(e,t,s){return t=t||r,s=s||o,w.call(e,n,t,s)},s}throw new TypeError("invalid args")}return g;function w(a,w,y){let v=this;if("string"!=typeof a)throw new TypeError("\n You must specify a string for the 'className' argument.\n ");let P=null;if(w&&"object"==typeof w)P=w;else if(!v&&(!w||"function"!=typeof w&&"object"!=typeof w)){let t;return h&&a?t=new Function(`return function ${a}() {}`)():(t=function(){},a&&(0,e.q$)(t,"name",{value:a})),t.prototype={__proto__:Object.prototype,constructor:t},(0,e.q$)(t,"subclass",{value:g,writable:!0,enumerable:!1,configurable:!1}),t}const O=y?void 0:new e.Ie;y&&(l.get(y)||l.set(y,new e.Ie));const S={className:a,get publicToPrivate(){return O||l.get(y)},classBrand:y=y||{brand:"lexical"},cachedPublicAccesses:new WeakMap,cachedProtectedAccesses:new WeakMap,cachedPrivateAccesses:new WeakMap},k=new WeakMap,T=m.bind(null,k,S),x=d.bind(null,S),A=_.bind(null,S),j=b.bind(null,S);if(x.prototype={},A.prototype={},j.prototype={},x.Public=x,x.Protected=A,x.Private=j,x.Super=T,A.Public=x,A.Protected=A,A.Private=j,A.Super=T,P=P||w&&w(x,A,j,T),P&&"object"!=typeof P&&"function"!=typeof P)throw new TypeError("\n The return value of a class definer function, if any, should be\n an object, or a class constructor.\n ");let C,E=null;"function"==typeof P&&(E=P,P=P.prototype,v=E.prototype.__proto__.constructor),P&&(C=P.static,delete P.static,"function"==typeof P.public&&(P.public=P.public(A,j)),"function"==typeof P.protected&&(P.protected=P.protected(x,j)),"function"==typeof P.private&&(P.private=P.private(x,A))),v=v||Object;const N=v.prototype,q=P&&P.public||P||Object.create(N);q.__proto__!==N&&(q.__proto__=N);const R=function(e){let t,r=e;for(;r&&!t;)t=n.get(r),r=r.__proto__;return t||{}}(N),M=P&&P.protected||Object.create(R);M.__proto__!==R&&(M.__proto__=R),n.set(q,M);const D=function(e){let t,n=e;for(;n&&!t;)t=r.get(n),n=n.__proto__;return t||{}}(N),F=P&&P.private||Object.create(D);if(F.__proto__!==D&&(F.__proto__=D),r.set(q,F),c.get(y)||c.set(y,new Set),i.get(y)||i.set(y,new Set),u.get(y)||u.set(y,new Set),c.get(y).add(q),i.get(y).add(M),u.get(y).add(F),S.publicPrototype=q,S.privatePrototype=F,S.protectedPrototype=M,S.parentPublicPrototype=N,S.parentProtectedPrototype=R,S.parentPrivatePrototype=D,(0,e.Gm)(x.prototype,q),(0,e.Gm)(A.prototype,M),(0,e.Gm)(j.prototype,F),P&&(delete P.public,delete P.protected,delete P.private,P!==q&&(0,e.Gm)(P,q)),E)return C&&(0,e.Gm)(C,E),E;const I=q.hasOwnProperty("constructor")?q.constructor:null;let $=null,V=null;if("es5"!==s)throw new TypeError("\n The lowclass \"mode\" option can only be 'es5' for now.\n ");if($=function(){let e=null,t=null;return t=I||v,t!==Object&&(e=t.apply(this,arguments)),!e||"object"!=typeof e&&"function"!=typeof e?this:e},V=q,a)if(h){const t=(0,e.Sh)($),n=$.prototype;$=new Function(" userConstructor, ParentClass ",`\n return function ${a}() { ${t} }\n `)(I,v),$.prototype=n}else(0,e.q$)($,"name",{value:a});return I&&I.length&&(0,e.q$)($,"length",{value:I.length}),$.__proto__=v,C&&(0,e.Gm)(C,$),(0,e.q$)($,"subclass",{value:g,writable:!0,enumerable:!1,configurable:!1}),$.prototype=V,$.prototype.constructor=$,p&&((0,e.U8)($,o,t),(0,e.q$)($,"prototype",{writable:f}),(0,e.Md)($.prototype,o),(0,e.Md)(M,o),(0,e.Md)(F,o)),S.constructor=$,$}}(),function(e){e.PROXIES_ON_INSTANCE_AND_PROTOTYPE="PROXIES_ON_INSTANCE_AND_PROTOTYPE",e.PROXIES_ON_PROTOTYPE="PROXIES_ON_PROTOTYPE",e.PROXY_AFTER_INSTANCE_AND_PROTOTYPE="PROXY_AFTER_INSTANCE_AND_PROTOTYPE"}(S||(S={})),S.PROXIES_ON_INSTANCE_AND_PROTOTYPE;new WeakMap;__webpack_require__(839);let k=1,T=!1,x=!1,A=[],j=null,C=null,E=0,N=null,q=null;function R(e,t){N||function(){const e=new MessageChannel,t=e.port2;if(N=()=>t.postMessage(null),e.port1.onmessage=()=>{if(null!==q){const e=performance.now();E=e+5;const n=!0;try{q(n,e)?t.postMessage(null):q=null}catch(e){throw t.postMessage(null),e}}},navigator&&navigator.scheduling&&navigator.scheduling.isInputPending){const e=navigator.scheduling;C=()=>{const t=performance.now();return t>=E&&(!!e.isInputPending()||t>=300)}}else C=()=>performance.now()>=E}();let n=performance.now(),r=1073741823;t&&t.timeout&&(r=t.timeout);const o={id:k++,fn:e,startTime:n,expirationTime:n+r};return function(e,t){e.splice(function(){let n=0,r=e.length-1;for(;n<=r;){const o=r+n>>1,s=t.expirationTime-e[o].expirationTime;if(s>0)n=o+1;else{if(!(s<0))return o;r=o-1}}return n}(),0,t)}(A,o),T||x||(T=!0,q=D,N()),o}function M(e){e.fn=null}function D(e,t){T=!1,x=!0;try{return function(e,t){let n=t;for(j=A[0]||null;null!==j&&(!(j.expirationTime>n)||e&&!C());){const e=j.fn;null!==e?(j.fn=null,e(j.expirationTime<=n),n=performance.now(),j===A[0]&&A.shift()):A.shift(),j=A[0]||null}return null!==j}(e,t)}finally{j=null,x=!1}}const F={};function I(e){F.context=e}const $=(e,t)=>e===t,V=Symbol("solid-proxy"),W=Symbol("solid-track"),L=Symbol("solid-dev-component"),U={equals:$};let Y=null,B=Ve;const X={},G={owned:null,cleanups:null,context:null,owner:null},[z,K]=ie(!1);var H=null;let J,Q=null,Z=null,ee=null,te=null,ne=null,re=null,oe=null,se=0;function ce(e,t){const n=te,r=H,o=0===e.length,s=o?G:{owned:null,cleanups:null,context:null,owner:t||r},c=o?e:()=>e((()=>Ye(s)));H=s,te=null;try{return $e(c,!0)}finally{te=n,H=r}}function ie(e,t){t=t?Object.assign({},U,t):U;const n={value:e,observers:null,observerSlots:null,pending:X,comparator:t.equals||void 0};return[qe.bind(n),e=>("function"==typeof e&&(e=Q&&Q.running&&Q.sources.has(n)?e(n.pending!==X?n.pending:n.tValue):e(n.pending!==X?n.pending:n.value)),Re(n,e))]}function ue(e,t,n){const r=Fe(e,t,!0,1);Z&&Q&&Q.running?re.push(r):Me(r)}function le(e,t,n){const r=Fe(e,t,!1,1);Z&&Q&&Q.running?re.push(r):Me(r)}function ae(e,t,n){B=We;const r=Fe(e,t,!1,1),o=J&&Ge(H,J.id);o&&(r.suspense=o),r.user=!0,oe?oe.push(r):Me(r)}function fe(e,t){let n;const r=Fe((()=>{n?n():be(e),n=void 0}),void 0,!1,0),o=J&&Ge(H,J.id);return o&&(r.suspense=o),r.user=!0,e=>{n=e,Me(r)}}function pe(e,t,n){n=n?Object.assign({},U,n):U;const r=Fe(e,t,!0,0);return r.pending=X,r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,Z&&Q&&Q.running?(r.tState=1,re.push(r)):Me(r),qe.bind(r)}function de(e,t,n){2===arguments.length?"object"==typeof t&&(n=t,t=e,e=!0):1===arguments.length&&(t=e,e=!0),n||(n={});const r=new Set,[o,s]=ie(n.initialValue),[c,i]=ie(void 0,{equals:!1}),[u,l]=ie(!1),[a,f]=ie();let p,d=null,_=null,h=null,g=!1,b=!1,w="initialValue"in n,y="function"==typeof e&&pe(e);function v(e,t,r,o){return d===e&&(d=null,w=!0,_&&(e===_||t===_)&&n.onHydrated&&queueMicrotask((()=>n.onHydrated(o,{value:t}))),_=null,f(p=r),Q&&e&&g?(Q.promises.delete(e),g=!1,$e((()=>{Q.running=!0,Q.promises.size||(oe.push.apply(oe,Q.effects),Q.effects=[]),P(t)}),!1)):P(t)),t}function P(e){ge((()=>{s((()=>e)),l(!1);for(const e of r.keys())e.decrement();r.clear()}))}function m(){const e=J&&Ge(H,J.id),t=o();if(p)throw p;return te&&!te.user&&e&&ue((()=>{c(),d&&(e.resolved&&Q?Q.promises.add(d):r.has(e)||(e.increment(),r.add(e)))})),t}function O(n=!0){if(n&&b)return;b=!1,f(p=void 0);const r=y?y():e;if(g=Q&&Q.running,null==r||!1===r)return void v(d,be(o));Q&&d&&Q.promises.delete(d);const s=_||be((()=>t(r,{value:o(),refetching:n})));return"object"==typeof s&&"then"in s?(d=s,b=!0,queueMicrotask((()=>b=!1)),ge((()=>{l(!0),i()})),s.then((e=>v(s,e,void 0,r)),(e=>v(s,e,e)))):(v(d,s),s)}return F.context&&(h=`${F.context.id}${F.context.count++}`,F.load&&(_=F.load(h))),Object.defineProperties(m,{loading:{get:()=>u()},error:{get:()=>a()},latest:{get(){if(!w)return m();if(p)throw p;return o()}}}),y?ue((()=>O(!1))):O(!1),[m,{refetch:O,mutate:s}]}function _e(e,t){let n,r=t?t.timeoutMs:void 0;const o=Fe((()=>(n&&n.fn||(n=R((()=>c((()=>o.value))),void 0!==r?{timeout:r}:void 0)),e())),void 0,!0),[s,c]=ie(o.value,t);return Me(o),c((()=>o.value)),s}function he(e,t=$,n){const r=new Map,o=Fe((n=>{const o=e();for(const e of r.keys())if(t(e,o)!==t(e,n)){const t=r.get(e);for(const e of t.values())e.state=1,e.pure?re.push(e):oe.push(e)}return o}),void 0,!0,1);return Me(o),e=>{let n;if(n=te){let t;(t=r.get(e))?t.add(n):r.set(e,t=new Set([n])),ve((()=>{t.delete(n),!t.size&&r.delete(e)}))}return t(e,Q&&Q.running&&Q.sources.has(o)?o.tValue:o.value)}}function ge(e){if(ne)return e();let t;const n=ne=[];try{t=e()}finally{ne=null}return $e((()=>{for(let e=0;e<n.length;e+=1){const t=n[e];if(t.pending!==X){const e=t.pending;t.pending=X,Re(t,e)}}}),!1),t}function be(e){let t,n=te;return te=null,t=e(),te=n,t}function we(e,t,n){const r=Array.isArray(e);let o,s=n&&n.defer;return n=>{let c;if(r){c=Array(e.length);for(let t=0;t<e.length;t++)c[t]=e[t]()}else c=e();if(s)return void(s=!1);const i=be((()=>t(c,o,n)));return o=c,i}}function ye(e){ae((()=>be(e)))}function ve(e){return null===H||(null===H.cleanups?H.cleanups=[e]:H.cleanups.push(e)),e}function Pe(e){Y||(Y=Symbol("error")),null===H||(null===H.context?H.context={[Y]:[e]}:H.context[Y]?H.context[Y].push(e):H.context[Y]=[e])}function me(){return te}function Oe(){return H}function Se(e,t){const n=H;H=e;try{return $e(t,!0)}finally{H=n}}function ke(e=R){Z=e}function Te(e){if(Q&&Q.running)return e(),Q.done;const t=te,n=H;return Promise.resolve().then((()=>{let r;return te=t,H=n,(Z||J)&&(r=Q||(Q={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise((e=>r.resolve=e))),r.running=!0),ge(e),te=H=null,r?r.done:void 0}))}function xe(){return[z,Te]}function Ae(e){const t=Symbol("context");return{id:t,Provider:Ke(t),defaultValue:e}}function je(e){let t;return void 0!==(t=Ge(H,e.id))?t:e.defaultValue}function Ce(e){const t=pe(e);return pe((()=>ze(t())))}function Ee(){return J||(J=Ae({}))}function Ne(e){if(ee){const t=ee;ee=(n,r)=>{const o=t(n,r),s=e((e=>o.track(e)),r);return{track:e=>s.track(e),dispose(){s.dispose(),o.dispose()}}}}else ee=e}function qe(){const e=Q&&Q.running;if(this.sources&&(!e&&this.state||e&&this.tState)){const t=re;re=null,!e&&1===this.state||e&&1===this.tState?Me(this):Le(this),re=t}if(te){const e=this.observers?this.observers.length:0;te.sources?(te.sources.push(this),te.sourceSlots.push(e)):(te.sources=[this],te.sourceSlots=[e]),this.observers?(this.observers.push(te),this.observerSlots.push(te.sources.length-1)):(this.observers=[te],this.observerSlots=[te.sources.length-1])}return e&&Q.sources.has(this)?this.tValue:this.value}function Re(e,t,n){if(ne)return e.pending===X&&ne.push(e),e.pending=t,t;if(e.comparator)if(Q&&Q.running&&Q.sources.has(e)){if(e.comparator(e.tValue,t))return t}else if(e.comparator(e.value,t))return t;let r=!1;return Q?(r=Q.running,(r||!n&&Q.sources.has(e))&&(Q.sources.add(e),e.tValue=t),r||(e.value=t)):e.value=t,e.observers&&e.observers.length&&$e((()=>{for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];r&&Q.disposed.has(n)||((r&&!n.tState||!r&&!n.state)&&(n.pure?re.push(n):oe.push(n),n.observers&&Ue(n)),r?n.tState=1:n.state=1)}if(re.length>1e6)throw re=[],new Error}),!1),t}function Me(e){if(!e.fn)return;Ye(e);const t=H,n=te,r=se;te=H=e,De(e,Q&&Q.running&&Q.sources.has(e)?e.tValue:e.value,r),Q&&!Q.running&&Q.sources.has(e)&&queueMicrotask((()=>{$e((()=>{Q&&(Q.running=!0),De(e,e.tValue,r)}),!1)})),te=n,H=t}function De(e,t,n){let r;try{r=e.fn(t)}catch(e){Xe(e)}(!e.updatedAt||e.updatedAt<=n)&&(e.observers&&e.observers.length?Re(e,r,!0):Q&&Q.running&&e.pure?(Q.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function Fe(e,t,n,r=1,o){const s={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:H,context:null,pure:n};if(Q&&Q.running&&(s.state=0,s.tState=r),null===H||H!==G&&(Q&&Q.running&&H.pure?H.tOwned?H.tOwned.push(s):H.tOwned=[s]:H.owned?H.owned.push(s):H.owned=[s]),ee){const[e,t]=ie(void 0,{equals:!1}),n=ee(s.fn,t);ve((()=>n.dispose()));const r=()=>Te(t).then((()=>o.dispose())),o=ee(s.fn,r);s.fn=t=>(e(),Q&&Q.running?o.track(t):n.track(t))}return s}function Ie(e){const t=Q&&Q.running;if(!t&&0===e.state||t&&0===e.tState)return;if(!t&&2===e.state||t&&2===e.tState)return Le(e);if(e.suspense&&be(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<se);){if(t&&Q.disposed.has(e))return;(!t&&e.state||t&&e.tState)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,o=n[r+1];for(;(t=t.owner)&&t!==o;)if(Q.disposed.has(t))return}if(!t&&1===e.state||t&&1===e.tState)Me(e);else if(!t&&2===e.state||t&&2===e.tState){const t=re;re=null,Le(e,n[0]),re=t}}}function $e(e,t){if(re)return e();let n=!1;t||(re=[]),oe?n=!0:oe=[],se++;try{const t=e();return function(e){if(re&&(Z&&Q&&Q.running?function(e){for(let t=0;t<e.length;t++){const n=e[t],r=Q.queue;r.has(n)||(r.add(n),Z((()=>{r.delete(n),$e((()=>{Q.running=!0,Ie(n),r.size||(oe.push.apply(oe,Q.effects),Q.effects=[])}),!1),Q&&(Q.running=!1)})))}}(re):Ve(re),re=null),e)return;let t;if(Q&&Q.running){if(Q.promises.size||Q.queue.size)return Q.running=!1,Q.effects.push.apply(Q.effects,oe),oe=null,void K(!0);const e=Q.sources,n=Q.disposed;t=Q.resolve;for(const e of oe)"tState"in e&&(e.state=e.tState),delete e.tState;Q=null,ge((()=>{for(const e of n)Ye(e);for(const t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)Ye(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}K(!1)}))}oe.length?ge((()=>{B(oe),oe=null})):oe=null,t&&t()}(n),t}catch(e){re||(oe=null),Xe(e)}}function Ve(e){for(let t=0;t<e.length;t++)Ie(e[t])}function We(e){let t,n=0;for(t=0;t<e.length;t++){const r=e[t];r.user?e[n++]=r:Ie(r)}F.context&&I();const r=e.length;for(t=0;t<n;t++)Ie(e[t]);for(t=r;t<e.length;t++)Ie(e[t])}function Le(e,t){const n=Q&&Q.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){const o=e.sources[r];o.sources&&(!n&&1===o.state||n&&1===o.tState?o!==t&&Ie(o):(!n&&2===o.state||n&&2===o.tState)&&Le(o,t))}}function Ue(e){const t=Q&&Q.running;for(let n=0;n<e.observers.length;n+=1){const r=e.observers[n];(!t&&!r.state||t&&!r.tState)&&(t?r.tState=2:r.state=2,r.pure?re.push(r):oe.push(r),r.observers&&Ue(r))}}function Ye(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){const e=r.pop(),o=t.observerSlots.pop();n<r.length&&(e.sourceSlots[o]=n,r[n]=e,t.observerSlots[n]=o)}}if(Q&&Q.running&&e.pure){if(e.tOwned){for(t=0;t<e.tOwned.length;t++)Ye(e.tOwned[t]);delete e.tOwned}Be(e,!0)}else if(e.owned){for(t=0;t<e.owned.length;t++)Ye(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}Q&&Q.running?e.tState=0:e.state=0,e.context=null}function Be(e,t){if(t||(e.tState=0,Q.disposed.add(e)),e.owned)for(let t=0;t<e.owned.length;t++)Be(e.owned[t])}function Xe(e){const t=Y&&Ge(H,Y);if(!t)throw e;for(const n of t)n(e)}function Ge(e,t){return e?e.context&&void 0!==e.context[t]?e.context[t]:Ge(e.owner,t):void 0}function ze(e){if("function"==typeof e&&!e.length)return ze(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const r=ze(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r)}return t}return e}function Ke(e){return function(t){let n;return ue((()=>n=be((()=>(H.context={[e]:t.value},Ce((()=>t.children))))))),n}}function He(e){return{subscribe(t){if(!(t instanceof Object)||null==t)throw new TypeError("Expected the observer to be an object.");const n="function"==typeof t?t:t.next&&t.next.bind(t);if(!n)return{unsubscribe(){}};const r=ce((t=>(ue((()=>{const t=e();be((()=>n(t)))})),t)));return Oe()&&ve(r),{unsubscribe(){r()}}},[Symbol.observable||"@@observable"](){return this}}}function Je(e){const[t,n]=ie(void 0,{equals:!1});if("subscribe"in e){const t=e.subscribe((e=>n((()=>e))));ve((()=>"unsubscribe"in t?t.unsubscribe():t()))}else ve(e(n));return t}const Qe=Symbol("fallback");function Ze(e){for(let t=0;t<e.length;t++)e[t]()}function et(e,t,n={}){let r=[],o=[],s=[],c=0,i=t.length>1?[]:null;return ve((()=>Ze(s))),()=>{let u,l,a=e()||[];return a[W],be((()=>{let e,t,p,d,_,h,g,b,w,y=a.length;if(0===y)0!==c&&(Ze(s),s=[],r=[],o=[],c=0,i&&(i=[])),n.fallback&&(r=[Qe],o[0]=ce((e=>(s[0]=e,n.fallback()))),c=1);else if(0===c){for(o=new Array(y),l=0;l<y;l++)r[l]=a[l],o[l]=ce(f);c=y}else{for(p=new Array(y),d=new Array(y),i&&(_=new Array(y)),h=0,g=Math.min(c,y);h<g&&r[h]===a[h];h++);for(g=c-1,b=y-1;g>=h&&b>=h&&r[g]===a[b];g--,b--)p[b]=o[g],d[b]=s[g],i&&(_[b]=i[g]);for(e=new Map,t=new Array(b+1),l=b;l>=h;l--)w=a[l],u=e.get(w),t[l]=void 0===u?-1:u,e.set(w,l);for(u=h;u<=g;u++)w=r[u],l=e.get(w),void 0!==l&&-1!==l?(p[l]=o[u],d[l]=s[u],i&&(_[l]=i[u]),l=t[l],e.set(w,l)):s[u]();for(l=h;l<y;l++)l in p?(o[l]=p[l],s[l]=d[l],i&&(i[l]=_[l],i[l](l))):o[l]=ce(f);o=o.slice(0,c=y),r=a.slice(0)}return o}));function f(e){if(s[l]=e,i){const[e,n]=ie(l);return i[l]=n,t(a[l],e)}return t(a[l])}}}function tt(e,t,n={}){let r,o=[],s=[],c=[],i=[],u=0;return ve((()=>Ze(c))),()=>{const l=e()||[];return l[W],be((()=>{if(0===l.length)return 0!==u&&(Ze(c),c=[],o=[],s=[],u=0,i=[]),n.fallback&&(o=[Qe],s[0]=ce((e=>(c[0]=e,n.fallback()))),u=1),s;for(o[0]===Qe&&(c[0](),c=[],o=[],s=[],u=0),r=0;r<l.length;r++)r<o.length&&o[r]!==l[r]?i[r]((()=>l[r])):r>=o.length&&(s[r]=ce(a));for(;r<o.length;r++)c[r]();return u=i.length=c.length=l.length,o=l.slice(0),s=s.slice(0,u)}));function a(e){c[r]=e;const[n,o]=ie(l[r]);return i[r]=o,t(n,r)}}}let nt=!1;function rt(){nt=!0}function ot(e,t){if(nt&&F.context){const n=F.context;I({...F.context,id:`${F.context.id}${F.context.count++}-`,count:0});const r=be((()=>e(t||{})));return I(n),r}return be((()=>e(t||{})))}function st(){return!0}const ct={get:(e,t,n)=>t===V?n:e.get(t),has:(e,t)=>e.has(t),set:st,deleteProperty:st,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:st,deleteProperty:st}),ownKeys:e=>e.keys()};function it(e){return null==(e="function"==typeof e?e():e)?{}:e}function ut(...e){return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){const r=it(e[n])[t];if(void 0!==r)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in it(e[n]))return!0;return!1},keys(){const t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(it(e[n])));return[...new Set(t)]}},ct)}function lt(e,...t){const n=new Set(t.flat()),r=Object.getOwnPropertyDescriptors(e),o=t.map((t=>{const n={};for(let o=0;o<t.length;o++){const s=t[o];Object.defineProperty(n,s,r[s]?r[s]:{get:()=>e[s],set:()=>!0})}return n}));return o.push(new Proxy({get:t=>n.has(t)?void 0:e[t],has:t=>!n.has(t)&&t in e,keys:()=>Object.keys(e).filter((e=>!n.has(e)))},ct)),o}function at(e){let t,n;const r=r=>{const o=F.context;if(o){const[r,s]=ie();(n||(n=e())).then((e=>{I(o),s((()=>e.default)),I()})),t=r}else if(t){const e=t();if(e)return e(r)}else{const[r]=de((()=>(n||(n=e())).then((e=>e.default))));t=r}let s;return pe((()=>(s=t())&&be((()=>{if(!o)return s(r);const e=F.context;I(o);const t=s(r);return I(e),t}))))};return r.preload=()=>n||((n=e()).then((e=>t=()=>e.default)),n),r}let ft,pt=0;function dt(){const e=F.context;return e?`${e.id}${e.count++}`:"cl-"+pt++}function _t(e){const t="fallback"in e&&{fallback:()=>e.fallback};return pe(et((()=>e.each),e.children,t||void 0))}function ht(e){const t="fallback"in e&&{fallback:()=>e.fallback};return pe(tt((()=>e.each),e.children,t||void 0))}function gt(e){let t=!1;const n=pe((()=>e.when),void 0,{equals:(e,n)=>t?e===n:!e==!n});return pe((()=>{const r=n();if(r){const n=e.children;return(t="function"==typeof n&&n.length>0)?be((()=>n(r))):n}return e.fallback}))}function bt(e){let t=!1;const n=Ce((()=>e.children)),r=pe((()=>{let e=n();Array.isArray(e)||(e=[e]);for(let t=0;t<e.length;t++){const n=e[t].when;if(n)return[t,n,e[t]]}return[-1]}),void 0,{equals:(e,n)=>e[0]===n[0]&&(t?e[1]===n[1]:!e[1]==!n[1])&&e[2]===n[2]});return pe((()=>{const[n,o,s]=r();if(n<0)return e.fallback;const c=s.children;return(t="function"==typeof c&&c.length>0)?be((()=>c(o))):c}))}function wt(e){return e}const yt={};function vt(){ft&&[...ft].forEach((e=>e(yt)))}function Pt(e){let t=yt;F.context&&F.load&&(t=F.load(F.context.id+F.context.count)||yt);const[n,r]=ie(t);return ft||(ft=new Set),ft.add(r),ve((()=>ft.delete(r))),pe((()=>{let t;if((t=n())!==yt){const n=e.fallback;return"function"==typeof n&&n.length?be((()=>n(t,(()=>r(yt))))):n}return Pe(r),e.children}))}const mt=Ae();function Ot(e){let t,n,r;const o=je(mt);if(o){const[e,s]=ie(!1);t=s,[n,r]=o.register(e)}const[s,c]=ie([]),i=ot(mt.Provider,{value:{register:e=>{const[t,n]=ie(!1),[r,o]=ie(!1);return c((t=>[...t,{inFallback:e,showContent:n,showFallback:o}])),[t,r]}},get children(){return e.children}});return ue((()=>{const o=e.revealOrder,c=e.tail,i=!n||n(),u=!r||r(),l=s(),a="backwards"===o;if("together"===o){const e=l.every((e=>!e.inFallback()));return t&&t(!e),void l.forEach((t=>{t.showContent(e&&i),t.showFallback(u)}))}let f=!1;for(let e=0,n=l.length;e<n;e++){const r=a?n-e-1:e,o=l[r].inFallback();if(f||o){const e=!f;e&&t&&t(!0),!c||e&&"collapsed"===c?l[r].showFallback(u):l[r].showFallback(!1),f=!0,l[r].showContent(e)}else l[r].showContent(i),l[r].showFallback(u)}!f&&t&&t(!1)})),i}function St(e){let t,n,r,o,s,c,i=0;const[u,l]=ie(!1),a=Ee(),f={increment:()=>{1==++i&&l(!0)},decrement:()=>{0==--i&&l(!1)},inFallback:u,effects:[],resolved:!1},p=Oe();if(F.context&&F.load){const e=F.context.id+F.context.count;if(o=F.load(e),o){"object"==typeof o&&"then"in o||(o=Promise.resolve(o));const[t,n]=ie(void 0,{equals:!1});s=t,o.then((t=>{if((c=t)||F.done)return n();F.gather(e),I(r),n(),I()}))}else null===o&&F.gather(e)}const d=je(mt);let _;return d&&([t,n]=d.register(f.inFallback)),ve((()=>_&&_())),ot(a.Provider,{value:f,get children(){return pe((()=>{if(c)throw c;if(r=F.context,s)return s(),s=void 0;r&&void 0===o&&I();const i=pe((()=>e.children));return pe((()=>{const s=f.inFallback(),c=!t||t(),u=!n||n();return _&&_(),s&&void 0===o||!c?u?ce((t=>(_=t,r&&(I({id:r.id+"f",count:0}),r=void 0),e.fallback)),p):void 0:(f.resolved=!0,r=o=void 0,l=f.effects,oe.push.apply(oe,l),l.length=0,i());var l}))}))}})}function kt(){return this()}function Tt(e){return this(e)}function xt(e){const[t,n]=ie(e,{equals:!1}),r=e=>void 0===e?t():(n((()=>e)),e),o=kt.bind(r),s=Tt.bind(r);return r.get=o,r.set=s,r[0]=o,r[1]=s,r[Symbol.iterator]=function*(){yield r[0],yield r[1]},r}function At(e){let t;return ce((n=>{t=n,ae(e)})),t}function jt(e,t,n){const r=1===arguments.length&&"kind"in e;if(r){const t=e;return"class"===t.kind?{...t,finisher:Et}:{...t,finisher:e=>(Ct(e,t.key),t.finisher?.(e)??e)}}if(1===arguments.length&&"function"==typeof e)return Et(e);const o=e.constructor;Ct(o,t)}function Ct(e,t){e.reactiveProperties&&e.hasOwnProperty("reactiveProperties")||(e.reactiveProperties=[]),e.reactiveProperties.includes(t)||e.reactiveProperties.push(t)}function Et(e){var t;return e.hasOwnProperty("__isReactive__")?e:((t=class extends e{constructor(...t){if(me())return be((()=>{const n=Reflect.construct(e,t,new.target);return Rt(n,e),n}));super(...t),Rt(this,e)}}).__isReactive__=!0,t)}function Nt(t,n){if("string"!=typeof n)throw new Error("TODO: support for non-string fields with @reactive decorator");const r="v_"+n;let o,s,c,i=(0,e.ld)(t,n);if(i)if(o=i.get,s=i.set,o||s){if(!o||!s)return void console.warn('The `@reactive` decorator was used on an accessor named "'+n+'" which had a getter or a setter, but not both. Reactivity on accessors works only when accessors have both get and set. In this case the decorator does not do anything.');delete i.get,delete i.set}else{if(c=i.value,!i.writable)return void console.warn("The `@reactive` decorator was used on a property named "+n+" that is not writable. Reactivity is not enabled for non-writable properties.");delete i.value,delete i.writable}i={configurable:!0,enumerable:!0,...i,get:o?function(){return qt(this,r,c)(),o.call(this)}:function(){return qt(this,r,c)()},set:s?function(e){s.call(this,e),qt(this,r)(e),this.__propsSetAtLeastOnce__||(this.__propsSetAtLeastOnce__=new Set),this.__propsSetAtLeastOnce__.add(n)}:function(e){qt(this,r)(e),this.__propsSetAtLeastOnce__||(this.__propsSetAtLeastOnce__=new Set),this.__propsSetAtLeastOnce__.add(n)}},t.__reactifiedProps__||(t.__reactifiedProps__=new Set),t.__reactifiedProps__.add(n),Object.defineProperty(t,n,i)}function qt(e,t,n){let r=e[t];return r||(e[t]=r=xt(n),r)}function Rt(e,t){if(function(e){return"function"==typeof e}(t)){const n=t.reactiveProperties;Array.isArray(n)&&Mt(e,n)}else Mt(e,t);return e}function Mt(e,t){for(const n of t){if(e.__reactifiedProps__?.has(n))continue;const t=e[n];Nt(e,n),e[n]=t}}function Dt(e,t,n,r){let o=!0;const s=At((()=>{const t=e();o&&!(o=!1)?r(t):o=!0})),c=At((()=>{const e=n();o&&!(o=!1)?t(e):o=!0}));return function(){s(),c()}}const Ft="0.7.3"})();var __webpack_export_target__=LUME="undefined"==typeof LUME?{}:LUME;for(var i in __webpack_exports__)__webpack_export_target__[i]=__webpack_exports__[i];__webpack_exports__.__esModule&&Object.defineProperty(__webpack_export_target__,"__esModule",{value:!0})})();
(()=>{var __webpack_modules__={839:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";var _utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(620),__WEBPACK_DEFAULT_EXPORT__=null,supportsSpread=isSyntaxSupported("Object(...[{}])"),supportsClass=isSyntaxSupported("class Test {}"),supportsNewTarget=isSyntaxSupported("new.target"),TRUE_CONSTRUCTOR=Symbol?Symbol("trueConstructor"):"__newlessTrueConstructor__",setPrototype=Object.setPrototypeOf||function(e,t){e.__proto__=t},construct=Reflect&&Reflect.construct||function(){if(supportsClass)return Function("constructor, args, target",`\n 'use strict';\n\n if (arguments.length === 3 && typeof target !== 'function')\n throw new TypeError(target + ' is not a constructor');\n\n target = target || constructor;\n\n // extend target so the right prototype is constructed (or nearly the\n // right one; ideally we'd do instantiator.prototype = target.prototype,\n // but a class's prototype property is not writable)\n class instantiator extends target {};\n // but ensure the *logic* is 'constructor' for ES2015-compliant engines\n Object.setPrototypeOf(instantiator, constructor);\n // ...and for Safari 9\n instantiator.prototype.constructor = constructor;\n\n // The spread operator is *dramatically faster, so use it if we can:\n // http://jsperf.com/new-via-spread-vs-dynamic-function/4\n ${supportsSpread?"\n\n var value = new instantiator(...([].slice.call(args)));\n\n ":"\n\n // otherwise, create a dynamic function in order to use 'new'\n // Note using 'function.bind' would be simpler, but is much slower:\n // http://jsperf.com/new-operator-with-dynamic-function-vs-bind\n var argList = '';\n for (var i = 0, len = args.length; i < len; i++) {\n if (i > 0) argList += ',';\n argList += 'args[' + i + ']';\n }\n var constructCall = Function('constructor, args',\n 'return new constructor( ' + argList + ' );'\n );\n var value = constructCall(constructor, args);\n\n args = Array.prototype.slice.call(args);\n args = [null].concat(args);\n var value = new constructor.bind.apply(constructor, args);\n\n "}\n\n // fix up the prototype so it matches the intended one, not one who's\n // prototype is the intended one :P\n Object.setPrototypeOf(value, target.prototype);\n return value;\n `);var e=function(){};return function(t,r,n){if(3===arguments.length&&"function"!=typeof n)throw new TypeError(n+" is not a constructor");e.prototype=(n||t).prototype;var o=new e,s=t.apply(o,r);return"object"==typeof s&&s?(s.__proto__=(n||t).prototype,s):o}}(),SKIP_PROPERTIES=null;function copyProperties(e,t){if(Object.getOwnPropertyNames&&Object.defineProperty){var r=Object.getOwnPropertyNames(e);Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e)));for(var n=r.length-1;n>=0;n--)-1===SKIP_PROPERTIES.indexOf(r[n])&&Object.defineProperty(t,r[n],Object.getOwnPropertyDescriptor(e,r[n]))}else for(var o in e)t[o]=e[o]}function newless(constructor){var name=constructor.name,usesClassSyntax="class"===constructor.toString().substr(0,5),requiresNew=!!usesClassSyntax||null,newlessConstructor=(()=>function(){if(!requiresNew&&this instanceof newlessConstructor){if(!1===requiresNew){const e=constructor.apply(this,arguments);return"object"==typeof e&&e||this}try{requiresNew=!1;const e=constructor.apply(this,arguments);return"object"==typeof e&&e||this}catch(e){if(!(e instanceof TypeError&&(/class constructor/i.test(e.message)||/use the 'new' operator/i.test(e.message))))throw e instanceof Error&&/Illegal constructor/i.test(e.message)&&Object.create(constructor.prototype)instanceof Node&&console.error(`The following error can happen if a Custom Element is called\nwith 'new' before being defined. The constructor was ${constructor.name}: `,constructor),e;requiresNew=!0}}var newTarget,hasNewTarget=!1;supportsNewTarget&&(eval("newTarget = new.target"),newTarget&&(hasNewTarget=!0)),supportsNewTarget&&hasNewTarget||(newTarget=this instanceof newlessConstructor?this.constructor:constructor);const returnValue=construct(constructor,arguments,newTarget);return this instanceof newlessConstructor&&setPrototype(this,returnValue),returnValue})();if(name){const e=getFunctionBody(newlessConstructor);newlessConstructor=Function("constructor, construct, setPrototype, requiresNew, supportsNewTarget",`\n var newlessConstructor = function ${name}() { ${e} };\n return newlessConstructor\n `)(constructor,construct,setPrototype,requiresNew,supportsNewTarget)}return constructor.length&&setDescriptor(newlessConstructor,"length",{value:constructor.length}),newlessConstructor.prototype=Object.create(constructor.prototype),newlessConstructor.prototype.constructor=newlessConstructor,constructor.prototype.constructor=constructor,newlessConstructor[TRUE_CONSTRUCTOR]=constructor,copyProperties(constructor,newlessConstructor),setPrototype(newlessConstructor,constructor),newlessConstructor}function isSyntaxSupported(e,t=!0){try{return!!Function("",(t?"'use strict';":"")+e)}catch(e){return!1}}},620:(e,t,r)=>{"use strict";r.d(t,{Gm:()=>_,Ie:()=>n,Md:()=>d,Sh:()=>o,U8:()=>w,ld:()=>l,nk:()=>f,q$:()=>c,uh:()=>a,yA:()=>p});class n{constructor(){this.m=new WeakMap}set(e,t){this.m.set(e,t),this.m.set(t,e)}get(e){return this.m.get(e)}has(e){return this.m.has(e)}}function o(e){const t=e.toString().split("\n");return t.shift(),t.pop(),t.join("\n")}const s={enumerable:!0,configurable:!0};function c(e,t,r,n=!1){r=u(n?l(e,t):Object.getOwnPropertyDescriptor(e,t),r),Object.defineProperty(e,t,r)}function i(e,t){let r,n;const o=Object.getOwnPropertyDescriptors(e);for(const e in t)r=t[e],n=o[e],t[e]=u(n,r);Object.defineProperties(e,t)}function u(e,t){if(("get"in t||"set"in t)&&("value"in t||"writable"in t))throw new TypeError("cannot specify both accessors and a value or writable attribute");return e&&("get"in t||"set"in t?(delete e.value,delete e.writable):("value"in t||"writable"in t)&&(delete e.get,delete e.set)),{...s,...e,...t}}function a(e,t,r=!0){let n,o=!1;return n=1===arguments.length?e:r?l(e,t):Object.getOwnPropertyDescriptor(e,t),n&&(n.get||n.set)&&(o=!0),o}function l(e,t){let r,n=e;for(;n;){if(r=Object.getOwnPropertyDescriptor(n,t),r)return r.owner=n,r;n=n.__proto__}}function p(e){let t=e,r=[];for(;t;)r=r.concat(Object.getOwnPropertyNames(t)),t=t.__proto__;return r=Array.from(new Set(r)),r}function f(e,t){let r=e.__proto__;do{if(t===r)return!0;r=r.__proto__}while(r);return!1}function _(e,t,r){const n=Object.getOwnPropertyNames(e);let o=n.length;for(;o--;){const s=n[o],c=Object.getOwnPropertyDescriptor(e,s);r&&r(c),Object.defineProperty(t,s,c)}}function d(e,{defaultClassDescriptor:{writable:t,enumerable:r,configurable:n}}){const o=Object.getOwnPropertyDescriptors(e);let s;for(const e in o)s=o[e],("value"in s||"writable"in s)&&(s.writable=t),s.enumerable=r,s.configurable=n;i(e,o)}function w(e,{defaultClassDescriptor:{writable:t,enumerable:r,configurable:n}},o){const s=Object.getOwnPropertyDescriptors(e);let c;for(const e in s)o&&o.includes(e)?delete s[e]:(c=s[e],("value"in c||"writable"in c)&&(c.writable=t),c.enumerable=r,c.configurable=n);i(e,s)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{_trackReactiveProperty:()=>pe,autorun:()=>ae,circular:()=>be,reactify:()=>we,reactive:()=>le,variable:()=>ue,version:()=>ge});var e=__webpack_require__(620);const t=["subclass","extends",...Object.getOwnPropertyNames(new Function)],r=new WeakMap,n=new WeakMap,o=new e.Ie,s=new WeakMap,c=new WeakMap,i=new WeakMap,u=new WeakMap,a=new WeakMap,l={mode:"es5",nativeNaming:!1,prototypeWritable:!1,defaultClassDescriptor:{writable:!0,enumerable:!1,configurable:!0},setClassDescriptors:!0};class p extends Error{}class f extends Error{}function _(e,t){let r=e.cachedPublicAccesses.get(t);return r||(P(e,t)?e.cachedPublicAccesses.set(t,r=w(t).publicToPrivate.get(t)):v(e,t)?e.cachedPublicAccesses.set(t,r=o.get(t)):e.cachedPublicAccesses.set(t,r=t),r)}function d(e,t){let r=e.cachedProtectedAccesses.get(t);if(r)return r;if(y(e,t))e.cachedProtectedAccesses.set(t,r=o.get(t)||h(t));else if(P(e,t)){const n=w(t).publicToPrivate.get(t);e.cachedProtectedAccesses.set(t,r=o.get(n)||h(n))}else v(e,t)&&e.cachedProtectedAccesses.set(t,r=t);if(!r)throw new f("invalid access of protected member");return r}function w(e){return s.get(e)}function h(e){const t=function(e){let t=null,n=e.__proto__;for(;n;){if(t=r.get(n),t)return t;n=n.__proto__}return t}(e),n=Object.create(t);return o.set(e,n),n}function b(e,t){let r=e.cachedPrivateAccesses.get(t);if(r)return r;if(y(e,t))e.cachedPrivateAccesses.set(t,r=e.publicToPrivate.get(t)||g(e,t));else if(v(e,t)){const n=o.get(t);e.cachedPrivateAccesses.set(t,r=e.publicToPrivate.get(n)||g(e,n))}else P(e,t)&&e.cachedPrivateAccesses.set(t,r=t);if(!r)throw new f("invalid access of private member");return r}function g(e,t){const r=Object.create(e.privatePrototype);return e.publicToPrivate.set(t,r),s.set(r,e),r}function y(t,r,n=!0){if(!n)return(0,e.nk)(r,t.publicPrototype);for(const n of Array.from(c.get(t.classBrand)))if((0,e.nk)(r,n))return!0;return!1}function v(t,r,n=!0){if(!n)return(0,e.nk)(r,t.protectedPrototype);for(const n of Array.from(i.get(t.classBrand)))if((0,e.nk)(r,n))return!0;return!1}function P(t,r,n=!0){if(!n)return(0,e.nk)(r,t.privatePrototype);for(const n of Array.from(u.get(t.classBrand)))if((0,e.nk)(r,n))return!0;return!1}function O(e,t,r){const{parentPublicPrototype:n,parentProtectedPrototype:o,parentPrivatePrototype:s}=t;if(y(t,r,!1))return m(r,n,e);if(v(t,r,!1))return m(r,o,e);if(P(t,r,!1))return m(r,s,e);throw new p("invalid super access")}function m(t,r,n){let o=n.get(t);if(!o){n.set(t,o=Object.create(r));const s=(0,e.yA)(r);let c=s.length;for(;c--;){const n=s[c];(0,e.q$)(o,n,{get:function(){let o;const s=(0,e.ld)(r,n);if(s&&(0,e.uh)(s)){const e=s.get;e&&(o=e.call(t))}else o=r[n];return o&&o.call&&"function"==typeof o&&(o=o.bind(t)),o},set:function(o){const s=(0,e.ld)(r,n);if(s&&(0,e.uh)(s)){const e=s.set;e&&(o=e.call(t,o))}else t[n]=o}},!0)}}return o}var S;!function(o){(o=o?{...l,...o}:l).defaultClassDescriptor={...l.defaultClassDescriptor,...o.defaultClassDescriptor};const{mode:s,prototypeWritable:p,setClassDescriptors:f,nativeNaming:w}=o;function h(...e){let t=!1;if("function"==typeof this&&(t=!0),e.length<=3){let r="",n=null,o=null;"string"==typeof e[0]?r=e[0]:"function"!=typeof e[0]&&"object"!=typeof e[0]||(n=e[0],o=e[1]),"function"!=typeof e[1]&&"object"!=typeof e[1]||(n=e[1],o=e[2]);const s=t?g.call(this,r,n,o):g(r,n,o);return s.extends=function(e,t,s){return t=t||n,s=s||o,g.call(e,r,t,s)},s}throw new TypeError("invalid args")}return h;function g(l,g,y){let v=this;if("string"!=typeof l)throw new TypeError("\n You must specify a string for the 'className' argument.\n ");let P=null;if(g&&"object"==typeof g)P=g;else if(!v&&(!g||"function"!=typeof g&&"object"!=typeof g)){let t;return w&&l?t=new Function(`return function ${l}() {}`)():(t=function(){},l&&(0,e.q$)(t,"name",{value:l})),t.prototype={__proto__:Object.prototype,constructor:t},(0,e.q$)(t,"subclass",{value:h,writable:!0,enumerable:!1,configurable:!1}),t}const m=y?void 0:new e.Ie;y&&(a.get(y)||a.set(y,new e.Ie));const S={className:l,get publicToPrivate(){return m||a.get(y)},classBrand:y=y||{brand:"lexical"},cachedPublicAccesses:new WeakMap,cachedProtectedAccesses:new WeakMap,cachedPrivateAccesses:new WeakMap},T=new WeakMap,k=O.bind(null,T,S),j=_.bind(null,S),A=d.bind(null,S),E=b.bind(null,S);if(j.prototype={},A.prototype={},E.prototype={},j.Public=j,j.Protected=A,j.Private=E,j.Super=k,A.Public=j,A.Protected=A,A.Private=E,A.Super=k,P=P||g&&g(j,A,E,k),P&&"object"!=typeof P&&"function"!=typeof P)throw new TypeError("\n The return value of a class definer function, if any, should be\n an object, or a class constructor.\n ");let N,C=null;"function"==typeof P&&(C=P,P=P.prototype,v=C.prototype.__proto__.constructor),P&&(N=P.static,delete P.static,"function"==typeof P.public&&(P.public=P.public(A,E)),"function"==typeof P.protected&&(P.protected=P.protected(j,E)),"function"==typeof P.private&&(P.private=P.private(j,A))),v=v||Object;const x=v.prototype,R=P&&P.public||P||Object.create(x);R.__proto__!==x&&(R.__proto__=x);const q=function(e){let t,n=e;for(;n&&!t;)t=r.get(n),n=n.__proto__;return t||{}}(x),M=P&&P.protected||Object.create(q);M.__proto__!==q&&(M.__proto__=q),r.set(R,M);const D=function(e){let t,r=e;for(;r&&!t;)t=n.get(r),r=r.__proto__;return t||{}}(x),I=P&&P.private||Object.create(D);if(I.__proto__!==D&&(I.__proto__=D),n.set(R,I),c.get(y)||c.set(y,new Set),i.get(y)||i.set(y,new Set),u.get(y)||u.set(y,new Set),c.get(y).add(R),i.get(y).add(M),u.get(y).add(I),S.publicPrototype=R,S.privatePrototype=I,S.protectedPrototype=M,S.parentPublicPrototype=x,S.parentProtectedPrototype=q,S.parentPrivatePrototype=D,(0,e.Gm)(j.prototype,R),(0,e.Gm)(A.prototype,M),(0,e.Gm)(E.prototype,I),P&&(delete P.public,delete P.protected,delete P.private,P!==R&&(0,e.Gm)(P,R)),C)return N&&(0,e.Gm)(N,C),C;const W=R.hasOwnProperty("constructor")?R.constructor:null;let L=null,$=null;if("es5"!==s)throw new TypeError("\n The lowclass \"mode\" option can only be 'es5' for now.\n ");if(L=function(){let e=null,t=null;return t=W||v,t!==Object&&(e=t.apply(this,arguments)),!e||"object"!=typeof e&&"function"!=typeof e?this:e},$=R,l)if(w){const t=(0,e.Sh)(L),r=L.prototype;L=new Function(" userConstructor, ParentClass ",`\n return function ${l}() { ${t} }\n `)(W,v),L.prototype=r}else(0,e.q$)(L,"name",{value:l});return W&&W.length&&(0,e.q$)(L,"length",{value:W.length}),L.__proto__=v,N&&(0,e.Gm)(N,L),(0,e.q$)(L,"subclass",{value:h,writable:!0,enumerable:!1,configurable:!1}),L.prototype=$,L.prototype.constructor=L,f&&((0,e.U8)(L,o,t),(0,e.q$)(L,"prototype",{writable:p}),(0,e.Md)(L.prototype,o),(0,e.Md)(M,o),(0,e.Md)(I,o)),S.constructor=L,L}}(),function(e){e.PROXIES_ON_INSTANCE_AND_PROTOTYPE="PROXIES_ON_INSTANCE_AND_PROTOTYPE",e.PROXIES_ON_PROTOTYPE="PROXIES_ON_PROTOTYPE",e.PROXY_AFTER_INSTANCE_AND_PROTOTYPE="PROXY_AFTER_INSTANCE_AND_PROTOTYPE"}(S||(S={})),S.PROXIES_ON_INSTANCE_AND_PROTOTYPE;new WeakMap;__webpack_require__(839);const T={};const k=(Symbol("solid-proxy"),Symbol("solid-track"),Symbol("solid-dev-component"),{equals:(e,t)=>e===t});let j=J;const A={},E={owned:null,cleanups:null,context:null,owner:null},[N,C]=L(!1);var x=null;let R=null,q=null,M=null,D=null,I=null,W=0;function L(e,t){t=t?Object.assign({},k,t):k;const r={value:e,observers:null,observerSlots:null,pending:A,comparator:t.equals||void 0};return[Y.bind(r),e=>("function"==typeof e&&(e=R&&R.running&&R.sources.has(r)?e(r.pending!==A?r.pending:r.tValue):e(r.pending!==A?r.pending:r.value)),X(r,e))]}function $(e,t,r){r=r?Object.assign({},k,r):k;const n=K(e,t,!0,0);return n.pending=A,n.observers=null,n.observerSlots=null,n.comparator=r.equals||void 0,B(n),Y.bind(n)}function F(e){if(M)return e();let t;const r=M=[];try{t=e()}finally{M=null}return H((()=>{for(let e=0;e<r.length;e+=1){const t=r[e];if(t.pending!==A){const e=t.pending;t.pending=A,X(t,e)}}}),!1),t}function V(e){let t,r=q;return q=null,t=e(),q=r,t}function U(e){const t=$(e);return $((()=>oe(t())))}function Y(){const e=R&&R.running;if(this.sources&&(!e&&this.state||e&&this.tState)){const t=D;D=null,!e&&1===this.state||e&&1===this.tState?B(this):Z(this),D=t}if(q){const e=this.observers?this.observers.length:0;q.sources?(q.sources.push(this),q.sourceSlots.push(e)):(q.sources=[this],q.sourceSlots=[e]),this.observers?(this.observers.push(q),this.observerSlots.push(q.sources.length-1)):(this.observers=[q],this.observerSlots=[q.sources.length-1])}return e&&R.sources.has(this)?this.tValue:this.value}function X(e,t,r){if(M)return e.pending===A&&M.push(e),e.pending=t,t;if(e.comparator)if(R&&R.running&&R.sources.has(e)){if(e.comparator(e.tValue,t))return t}else if(e.comparator(e.value,t))return t;let n=!1;return R?(n=R.running,(n||!r&&R.sources.has(e))&&(R.sources.add(e),e.tValue=t),n||(e.value=t)):e.value=t,e.observers&&e.observers.length&&H((()=>{for(let t=0;t<e.observers.length;t+=1){const r=e.observers[t];n&&R.disposed.has(r)||((n&&!r.tState||!n&&!r.state)&&(r.pure?D.push(r):I.push(r),r.observers&&ee(r)),n?r.tState=1:r.state=1)}if(D.length>1e6)throw D=[],new Error}),!1),t}function B(e){if(!e.fn)return;te(e);const t=x,r=q,n=W;q=x=e,G(e,R&&R.running&&R.sources.has(e)?e.tValue:e.value,n),R&&!R.running&&R.sources.has(e)&&queueMicrotask((()=>{H((()=>{R&&(R.running=!0),G(e,e.tValue,n)}),!1)})),q=r,x=t}function G(e,t,r){let n;try{n=e.fn(t)}catch(e){ne(e)}(!e.updatedAt||e.updatedAt<=r)&&(e.observers&&e.observers.length?X(e,n,!0):R&&R.running&&e.pure?(R.sources.add(e),e.tValue=n):e.value=n,e.updatedAt=r)}function K(e,t,r,n=1,o){const s={fn:e,state:n,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:x,context:null,pure:r};return R&&R.running&&(s.state=0,s.tState=n),null===x||x!==E&&(R&&R.running&&x.pure?x.tOwned?x.tOwned.push(s):x.tOwned=[s]:x.owned?x.owned.push(s):x.owned=[s]),s}function z(e){const t=R&&R.running;if(!t&&0===e.state||t&&0===e.tState)return;if(!t&&2===e.state||t&&2===e.tState)return Z(e);if(e.suspense&&V(e.suspense.inFallback))return e.suspense.effects.push(e);const r=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<W);){if(t&&R.disposed.has(e))return;(!t&&e.state||t&&e.tState)&&r.push(e)}for(let n=r.length-1;n>=0;n--){if(e=r[n],t){let t=e,o=r[n+1];for(;(t=t.owner)&&t!==o;)if(R.disposed.has(t))return}if(!t&&1===e.state||t&&1===e.tState)B(e);else if(!t&&2===e.state||t&&2===e.tState){const t=D;D=null,Z(e,r[0]),D=t}}}function H(e,t){if(D)return e();let r=!1;t||(D=[]),I?r=!0:I=[],W++;try{const t=e();return function(e){if(D&&(J(D),D=null),e)return;let t;if(R&&R.running){if(R.promises.size||R.queue.size)return R.running=!1,R.effects.push.apply(R.effects,I),I=null,void C(!0);const e=R.sources,r=R.disposed;t=R.resolve;for(const e of I)"tState"in e&&(e.state=e.tState),delete e.tState;R=null,F((()=>{for(const e of r)te(e);for(const t of e){if(t.value=t.tValue,t.owned)for(let e=0,r=t.owned.length;e<r;e++)te(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}C(!1)}))}I.length?F((()=>{j(I),I=null})):I=null,t&&t()}(r),t}catch(e){D||(I=null),ne(e)}}function J(e){for(let t=0;t<e.length;t++)z(e[t])}function Q(e){let t,r=0;for(t=0;t<e.length;t++){const n=e[t];n.user?e[r++]=n:z(n)}var n;T.context&&(T.context=n);const o=e.length;for(t=0;t<r;t++)z(e[t]);for(t=o;t<e.length;t++)z(e[t])}function Z(e,t){const r=R&&R.running;r?e.tState=0:e.state=0;for(let n=0;n<e.sources.length;n+=1){const o=e.sources[n];o.sources&&(!r&&1===o.state||r&&1===o.tState?o!==t&&z(o):(!r&&2===o.state||r&&2===o.tState)&&Z(o,t))}}function ee(e){const t=R&&R.running;for(let r=0;r<e.observers.length;r+=1){const n=e.observers[r];(!t&&!n.state||t&&!n.tState)&&(t?n.tState=2:n.state=2,n.pure?D.push(n):I.push(n),n.observers&&ee(n))}}function te(e){let t;if(e.sources)for(;e.sources.length;){const t=e.sources.pop(),r=e.sourceSlots.pop(),n=t.observers;if(n&&n.length){const e=n.pop(),o=t.observerSlots.pop();r<n.length&&(e.sourceSlots[o]=r,n[r]=e,t.observerSlots[r]=o)}}if(R&&R.running&&e.pure){if(e.tOwned){for(t=0;t<e.tOwned.length;t++)te(e.tOwned[t]);delete e.tOwned}re(e,!0)}else if(e.owned){for(t=0;t<e.owned.length;t++)te(e.owned[t]);e.owned=null}if(e.cleanups){for(t=0;t<e.cleanups.length;t++)e.cleanups[t]();e.cleanups=null}R&&R.running?e.tState=0:e.state=0,e.context=null}function re(e,t){if(t||(e.tState=0,R.disposed.add(e)),e.owned)for(let t=0;t<e.owned.length;t++)re(e.owned[t])}function ne(e){throw e}function oe(e){if("function"==typeof e&&!e.length)return oe(e());if(Array.isArray(e)){const t=[];for(let r=0;r<e.length;r++){const n=oe(e[r]);Array.isArray(n)?t.push.apply(t,n):t.push(n)}return t}return e}function se(e){return function(t){let r;return B(K((()=>r=V((()=>(x.context={[e]:t.value},U((()=>t.children)))))),n,!0,1)),r;var n}}function ce(){return this()}function ie(e){return this(e)}function ue(e){const[t,r]=L(e,{equals:!1}),n=e=>void 0===e?t():(r((()=>e)),e),o=ce.bind(n),s=ie.bind(n);return n.get=o,n.set=s,n[0]=o,n[1]=s,n[Symbol.iterator]=function*(){yield n[0],yield n[1]},n}function ae(e){let t;return function(e,t){const r=q,n=x,o=0===e.length,s=o?E:{owned:null,cleanups:null,context:null,owner:t||n},c=o?e:()=>e((()=>te(s)));x=s,q=null;try{H(c,!0)}finally{q=r,x=n}}((r=>{t=r,function(e,t,r){j=Q;const n=K(e,t,!1,1);n.user=!0,I?I.push(n):B(n)}(e)})),t}function le(e,t,r){const n=1===arguments.length&&"kind"in e;if(n){const t=e;return"class"===t.kind?{...t,finisher:fe}:{...t,finisher(e){var r,n;return pe(e,t.key),null!==(n=null===(r=t.finisher)||void 0===r?void 0:r.call(t,e))&&void 0!==n?n:e}}}if(1===arguments.length&&"function"==typeof e)return fe(e);const o=e.constructor;pe(o,t)}function pe(e,t){e.reactiveProperties&&e.hasOwnProperty("reactiveProperties")||(e.reactiveProperties=[]),e.reactiveProperties.includes(t)||e.reactiveProperties.push(t)}function fe(e){var t;return e.hasOwnProperty("__isReactive__")?e:((t=class extends e{constructor(...t){if(q)return V((()=>{const r=Reflect.construct(e,t,new.target);return we(r,e),r}));super(...t),we(this,e)}}).__isReactive__=!0,t)}function _e(t,r){if("string"!=typeof r)throw new Error("TODO: support for non-string fields with @reactive decorator");const n="v_"+r;let o,s,c,i=(0,e.ld)(t,r);if(i)if(o=i.get,s=i.set,o||s){if(!o||!s)return void console.warn('The `@reactive` decorator was used on an accessor named "'+r+'" which had a getter or a setter, but not both. Reactivity on accessors works only when accessors have both get and set. In this case the decorator does not do anything.');delete i.get,delete i.set}else{if(c=i.value,!i.writable)return void console.warn("The `@reactive` decorator was used on a property named "+r+" that is not writable. Reactivity is not enabled for non-writable properties.");delete i.value,delete i.writable}i={configurable:!0,enumerable:!0,...i,get:o?function(){return de(this,n,c)(),o.call(this)}:function(){return de(this,n,c)()},set:s?function(e){s.call(this,e),de(this,n)(e),this.__propsSetAtLeastOnce__||(this.__propsSetAtLeastOnce__=new Set),this.__propsSetAtLeastOnce__.add(r)}:function(e){de(this,n)(e),this.__propsSetAtLeastOnce__||(this.__propsSetAtLeastOnce__=new Set),this.__propsSetAtLeastOnce__.add(r)}},t.__reactifiedProps__||(t.__reactifiedProps__=new Set),t.__reactifiedProps__.add(r),Object.defineProperty(t,r,i)}function de(e,t,r){let n=e[t];return n||(e[t]=n=ue(r),n)}function we(e,t){if(function(e){return"function"==typeof e}(t)){const r=t.reactiveProperties;Array.isArray(r)&&he(e,r)}else he(e,t);return e}function he(e,t){var r;for(const n of t){if(null===(r=e.__reactifiedProps__)||void 0===r?void 0:r.has(n))continue;const t=e[n];_e(e,n),e[n]=t}}function be(e,t,r,n){let o=!0;const s=ae((()=>{const t=e();o&&!(o=!1)?n(t):o=!0})),c=ae((()=>{const e=r();o&&!(o=!1)?t(e):o=!0}));return function(){s(),c()}}Symbol("fallback"),function(e){const t=Symbol("context");se(t)}();const ge="0.8.0"})();var __webpack_export_target__=LUME="undefined"==typeof LUME?{}:LUME;for(var i in __webpack_exports__)__webpack_export_target__[i]=__webpack_exports__[i];__webpack_exports__.__esModule&&Object.defineProperty(__webpack_export_target__,"__esModule",{value:!0})})();
//# sourceMappingURL=global.js.map

@@ -1,2 +0,1 @@

export * from 'solid-js';
export interface VariableGetter<T> {

@@ -32,3 +31,4 @@ (): T;

export declare function circular<Type>(first: VariableGetter<Type>, setFirst: (v: Type) => void, second: VariableGetter<Type>, setSecond: (v: Type) => void): StopFunction;
export declare const version = "0.7.3";
export declare const version = "0.8.0";
export {};
//# sourceMappingURL=index.d.ts.map
import { getInheritedDescriptor } from 'lowclass';
import { createSignal, createEffect, createRoot, untrack, getListener } from 'solid-js';
export * from 'solid-js';
function readVariable() {

@@ -47,4 +46,5 @@ return this();

finisher(Class) {
var _a, _b;
_trackReactiveProperty(Class, classElement.key);
return classElement.finisher?.(Class) ?? Class;
return (_b = (_a = classElement.finisher) === null || _a === void 0 ? void 0 : _a.call(classElement, Class)) !== null && _b !== void 0 ? _b : Class;
},

@@ -179,4 +179,5 @@ };

function createReactiveAccessors(obj, props) {
var _a;
for (const prop of props) {
if (obj.__reactifiedProps__?.has(prop))
if ((_a = obj.__reactifiedProps__) === null || _a === void 0 ? void 0 : _a.has(prop))
continue;

@@ -209,3 +210,3 @@ const initialValue = obj[prop];

}
export const version = '0.7.3';
export const version = '0.8.0';
//# sourceMappingURL=index.js.map
{
"name": "@lume/variable",
"version": "0.7.3",
"version": "0.8.0",
"description": "Create reactive variables and react their changes.",

@@ -5,0 +5,0 @@ "author": "Joe Pea <joe@trusktr.io>",

import {getInheritedDescriptor} from 'lowclass'
import {createSignal, createEffect, createRoot, untrack, getListener} from 'solid-js'
export * from 'solid-js'
export interface VariableGetter<T> {

@@ -368,2 +366,2 @@ (): T

export const version = '0.7.3'
export const version = '0.8.0'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc