Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uland

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uland - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

8

async.js

@@ -1,7 +0,7 @@

self.uland=function(e){"use strict";var t=CustomEvent;const n=(e,t,n,s)=>{const l=new WeakMap,o=new WeakMap,a=new WeakMap,c=e=>l.has(e),i=e=>{c(e)&&(u(e,e.removeEventListener,l.get(e)),l.delete(e))},u=(e,t,n)=>{t.call(e,"disconnected",n),t.call(e,"connected",n)},h=(e,t,n,r)=>{for(let{length:s}=e,l=0;l<s;l++)d(e[l],t,n,r)},d=(e,r,s,l)=>{c(e)&&!s.has(e)&&(l.delete(e),s.set(e,0),e.dispatchEvent(new(n||CustomEvent)(r))),h(e[t||"children"]||[],r,s,l)},f=new(s||MutationObserver)((e=>{for(let{length:t}=e,n=0;n<t;n++){const{removedNodes:t,addedNodes:r}=e[n];h(t,"disconnected",a,o),h(r,"connected",o,a)}}));return f.observe(e||document,{subtree:!0,childList:!0}),{has:c,connect:(e,t)=>{i(e),(t||(t={})).handleEvent||(t.handleEvent=r),u(e,e.addEventListener,t),l.set(e,t)},disconnect:i,kill(){f.disconnect()}}};function r(e){e.type in this&&this[e.type](e)}var s=Promise;let l=null,o=new Set;const a=new WeakMap,c=e=>{const{$:t,r:n,h:r}=e;g(n)&&(u.get(r).delete(e),n()),g(e.r=t())&&u.get(r).add(e)},i=()=>{const e=o;o=new Set,e.forEach((({h:e,c:t,a:n,e:r})=>{r&&e.apply(t,n)}))},u=new WeakMap,h=[],d=[];function f(e,t){return e!==this[t]}const p=()=>a.get(l),g=e=>"function"==typeof e,w=e=>{const t={h:n,c:null,a:null,e:0,i:0,s:[]};return a.set(n,t),n;function n(){const r=l;l=n,t.e=t.i=0;try{return e.apply(t.c=this,t.a=arguments)}finally{l=r,h.length&&v.then(h.forEach.bind(h.splice(0),c)),d.length&&d.splice(0).forEach(c)}}},v=new s((e=>e()));function y(e){const{_:t,value:n}=this;n!==e&&(this._=new Set,this.value=e,t.forEach((({h:e,c:t,a:n})=>{e.apply(t,n)})))}const m=(e,t)=>{const n=p(),{i:r,s:s}=n;return r!==s.length&&t&&!t.some(f,s[r]._)||(s[r]={$:e(),_:t}),s[n.i++].$},b=e=>(t,n)=>{const r=p(),{i:s,s:l,h:o}=r,a=s===l.length;r.i++,a&&(u.has(o)||u.set(o,new Set),l[s]={$:t,_:n,r:null,h:o}),(a||!n||n.some(f,l[s]._))&&e.push(l[s]),l[s].$=t,l[s]._=n},$=b(h),C=b(d),k=(e,t)=>g(t)?t(e):t,E=(e,t,n)=>{const r=p(),{i:s,s:l}=r;s===l.length&&l.push({$:g(n)?n(t):k(void 0,t),set:t=>{l[s].$=e(l[s].$,t),(e=>{o.has(e)||(e.e=1,o.add(e),v.then(i))})(r)}});const{$:a,set:c}=l[r.i++];return[a,c]},x=new WeakMap,N=e=>(e=>{const t=u.get(e);t&&v.then((()=>{t.forEach((e=>{e.r(),e.r=null})),t.clear()}))})(x.get(e)),M=e=>(e=>u.has(e))(x.get(e)),S=e=>{const t=w(e);return x.set(n,t),n;async function n(){return await t.apply(this,arguments)}};
self.uland=function(e){"use strict";var t=CustomEvent;const n=(e,t,n,s)=>{const l=new WeakMap,o=new WeakMap,a=new WeakMap,c=e=>l.has(e),i=e=>{c(e)&&(u(e,e.removeEventListener,l.get(e)),l.delete(e))},u=(e,t,n)=>{t.call(e,"disconnected",n),t.call(e,"connected",n)},h=(e,t,n,r)=>{for(let{length:s}=e,l=0;l<s;l++)d(e[l],t,n,r)},d=(e,r,s,l)=>{c(e)&&!s.has(e)&&(l.delete(e),s.set(e,0),e.dispatchEvent(new(n||CustomEvent)(r))),h(e[t||"children"]||[],r,s,l)},f=new(s||MutationObserver)((e=>{for(let{length:t}=e,n=0;n<t;n++){const{removedNodes:t,addedNodes:r}=e[n];h(t,"disconnected",a,o),h(r,"connected",o,a)}}));return f.observe(e||document,{subtree:!0,childList:!0}),{has:c,connect:(e,t)=>{i(e),(t||(t={})).handleEvent||(t.handleEvent=r),u(e,e.addEventListener,t),l.set(e,t)},disconnect:i,kill(){f.disconnect()}}};function r(e){e.type in this&&this[e.type](e)}var s=Promise;let l=null,o=new Set;const a=e=>{const{$:t,r:n,h:r}=e;p(n)&&(i.get(r).delete(e),n()),p(e.r=t())&&i.get(r).add(e)},c=()=>{const e=o;o=new Set,e.forEach((({h:e,c:t,a:n,e:r})=>{r&&e.apply(t,n)}))},i=new WeakMap,u=[],h=[];function d(e,t){return e!==this[t]}const f=()=>l,p=e=>"function"==typeof e,g=e=>{const t={h:n,c:null,a:null,e:0,i:0,s:[]};return n;function n(){const n=l;l=t,t.e=t.i=0;try{return e.apply(t.c=this,t.a=arguments)}finally{l=n,u.length&&w.then(u.forEach.bind(u.splice(0),a)),h.length&&h.splice(0).forEach(a)}}},w=new s((e=>e()));function v(e){const{_:t,value:n}=this;n!==e&&(this._=new Set,this.value=e,t.forEach((({h:e,c:t,a:n})=>{e.apply(t,n)})))}const y=(e,t)=>{const n=f(),{i:r,s:s}=n;return r!==s.length&&t&&!t.some(d,s[r]._)||(s[r]={$:e(),_:t}),s[n.i++].$},m=e=>(t,n)=>{const r=f(),{i:s,s:l,h:o}=r,a=s===l.length;r.i++,a&&(i.has(o)||i.set(o,new Set),l[s]={$:t,_:n,r:null,h:o}),(a||!n||n.some(d,l[s]._))&&e.push(l[s]),l[s].$=t,l[s]._=n},b=m(u),$=m(h),C=(e,t)=>p(t)?t(e):t,E=(e,t,n)=>{const r=f(),{i:s,s:l}=r;s===l.length&&l.push({$:p(n)?n(t):C(void 0,t),set:t=>{l[s].$=e(l[s].$,t),(e=>{o.has(e)||(e.e=1,o.add(e),w.then(c))})(r)}});const{$:a,set:i}=l[r.i++];return[a,i]},k=new WeakMap,x=e=>(e=>{const t=i.get(e);t&&w.then((()=>{t.forEach((e=>{e.r(),e.r=null})),t.clear()}))})(k.get(e)),N=e=>(e=>i.has(e))(k.get(e)),M=e=>{const t=g(e);return k.set(n,t),n;async function n(){return await t.apply(this,arguments)}};
/*! (c) Andrea Giammarchi - ISC */
let L=null,T=null,W=null;const _=new WeakMap,A=new WeakMap,O=(e,t,n,r)=>{const s=s=>{_.has(e)||(_.set(e,0),v.then((()=>{_.delete(e),e.apply(t,n)}))),r(s)};return A.set(r,s),s},j=(e,t,n,r)=>e?[r[0],A.get(r[1])||O(e,t,n,r[1])]:r,R=(e,t)=>{const n=S(t?async function(){const[t,r,s]=[L,T,W];[L,T,W]=[n,this,arguments];try{return await e.apply(T,W)}finally{[L,T,W]=[t,r,s]}}:e);return n};
let S=null,L=null,T=null;const _=new WeakMap,A=new WeakMap,W=(e,t,n,r)=>{const s=s=>{_.has(e)||(_.set(e,0),w.then((()=>{_.delete(e),e.apply(t,n)}))),r(s)};return A.set(r,s),s},O=(e,t,n,r)=>e?[r[0],A.get(r[1])||W(e,t,n,r[1])]:r,j=(e,t)=>{const n=M(t?async function(){const[t,r,s]=[S,L,T];[S,L,T]=[n,this,arguments];try{return await e.apply(L,T)}finally{[S,L,T]=[t,r,s]}}:e);return n};
/*! (c) Andrea Giammarchi - ISC */
let B=null;const D=({firstChild:e})=>{if(e&&1!==e.nodeType&&!(e=e.nextElementSibling))throw"unobservable";return e},H=e=>{const{nodeType:t}=e;if(t)return 1===t?e:D(e);{const t=e.valueOf();return t!==e?H(t):D(t)}},z=(e,r)=>{const s=R(e,r);return async function(){const e=await s.apply(this,arguments);if(M(s)){const r=H(e);B||(B=n(r.ownerDocument,"children",t)),B.has(r)||B.connect(r,{disconnected(){N(s)}})}return e}};var P=e=>({get:t=>e.get(t),set:(t,n)=>(e.set(t,n),n)});const{isArray:q}=Array,{indexOf:F,slice:G}=[],I=/([^\s\\>"'=]+)\s*=\s*(['"]?)$/,J=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,K=/<[a-z][^>]+$/i,Q=/>[^<>]*$/,U=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/>)/gi,V=/\s+$/,X=(e,t)=>0<t--&&(K.test(e[t])||!Q.test(e[t])&&X(e,t)),Y=(e,t,n)=>J.test(t)?e:`<${t}${n.replace(V,"")}></${t}>`;const Z=(e,t)=>111===e.nodeType?1/t<0?t?(({firstChild:e,lastChild:t})=>{const n=document.createRange();return n.setStartAfter(e),n.setEndAfter(t),n.deleteContents(),e})(e):e.lastChild:t?e.valueOf():e.firstChild:e;
let R=null;const B=({firstChild:e})=>{if(e&&1!==e.nodeType&&!(e=e.nextElementSibling))throw"unobservable";return e},D=e=>{const{nodeType:t}=e;if(t)return 1===t?e:B(e);{const t=e.valueOf();return t!==e?D(t):B(t)}},H=(e,r)=>{const s=j(e,r);return async function(){const e=await s.apply(this,arguments);if(N(s)){const r=D(e);R||(R=n(r.ownerDocument,"children",t)),R.has(r)||R.connect(r,{disconnected(){x(s)}})}return e}};var z=e=>({get:t=>e.get(t),set:(t,n)=>(e.set(t,n),n)});const{isArray:P}=Array,{indexOf:q,slice:F}=[],G=/([^\s\\>"'=]+)\s*=\s*(['"]?)$/,I=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,J=/<[a-z][^>]+$/i,K=/>[^<>]*$/,Q=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/>)/gi,U=/\s+$/,V=(e,t)=>0<t--&&(J.test(e[t])||!K.test(e[t])&&V(e,t)),X=(e,t,n)=>I.test(t)?e:`<${t}${n.replace(U,"")}></${t}>`;const Y=(e,t)=>111===e.nodeType?1/t<0?t?(({firstChild:e,lastChild:t})=>{const n=document.createRange();return n.setStartAfter(e),n.setEndAfter(t),n.deleteContents(),e})(e):e.lastChild:t?e.valueOf():e.firstChild:e;
/*! (c) Andrea Giammarchi - ISC */
self.ee=function(e){var t="fragment",n="template",r="content"in l(n)?function(e){var t=l(n);return t.innerHTML=e,t.content}:function(e){var r=l(t),o=l(n),a=null;if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(e)){var c=RegExp.$1;o.innerHTML="<table>"+e+"</table>",a=o.querySelectorAll(c)}else o.innerHTML=e,a=o.childNodes;return s(r,a),r};return function(e,t){return("svg"===t?o:r)(e)};function s(e,t){for(var n=t.length;n--;)e.appendChild(t[0])}function l(n){return n===t?e.createDocumentFragment():e.createElementNS("http://www.w3.org/1999/xhtml",n)}function o(e){var n=l(t),r=l("div");return r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+e+"</svg>",s(n,r.firstChild.childNodes),n}}(document);const te=({childNodes:e},t)=>e[t],ne=e=>{const t=[];let{parentNode:n}=e;for(;n;)t.push(F.call(n.childNodes,e)),n=(e=n).parentNode;return t},{createTreeWalker:re,importNode:se}=document,le=1!=se.length,oe=le?(e,t)=>se.call(document,ee(e,t),!0):ee,ae=le?e=>re.call(document,e,129,null,!1):e=>re.call(document,e,129),ce=(e,t,n)=>((e,t,n,r,s)=>{const l=n.length;let o=t.length,a=l,c=0,i=0,u=null;for(;c<o||i<a;)if(o===c){const t=a<l?i?r(n[i-1],-0).nextSibling:r(n[a-i],0):s;for(;i<a;)e.insertBefore(r(n[i++],1),t)}else if(a===i)for(;c<o;)u&&u.has(t[c])||e.removeChild(r(t[c],-1)),c++;else if(t[c]===n[i])c++,i++;else if(t[o-1]===n[a-1])o--,a--;else if(t[c]===n[a-1]&&n[i]===t[o-1]){const s=r(t[--o],-1).nextSibling;e.insertBefore(r(n[i++],1),r(t[c++],-1).nextSibling),e.insertBefore(r(n[--a],1),s),t[o]=n[a]}else{if(!u){u=new Map;let e=i;for(;e<a;)u.set(n[e],e++)}if(u.has(t[c])){const s=u.get(t[c]);if(i<s&&s<a){let l=c,h=1;for(;++l<o&&l<a&&u.get(t[l])===s+h;)h++;if(h>s-i){const l=r(t[c],0);for(;i<s;)e.insertBefore(r(n[i++],1),l)}else e.replaceChild(r(n[i++],1),r(t[c++],-1))}else c++}else e.removeChild(r(t[c++],-1))}return n})(e.parentNode,t,n,Z,e),ie=(e,t)=>"ref"===t?(e=>t=>{"function"==typeof t?t(e):t.current=e})(e):"aria"===t?(e=>t=>{for(const n in t){const r="role"===n?n:`aria-${n}`,s=t[n];null==s?e.removeAttribute(r):e.setAttribute(r,s)}})(e):".dataset"===t?(({dataset:e})=>t=>{for(const n in t){const r=t[n];null==r?delete e[n]:e[n]=r}})(e):"."===t.slice(0,1)?((e,t)=>n=>{e[t]=n})(e,t.slice(1)):"on"===t.slice(0,2)?((e,t)=>{let n,r=t.slice(2);return!(t in e)&&t.toLowerCase()in e&&(r=r.toLowerCase()),t=>{const s=q(t)?t:[t,!1];n!==s[0]&&(n&&e.removeEventListener(r,n,s[1]),(n=s[0])&&e.addEventListener(r,n,s[1]))}})(e,t):((e,t)=>{let n,r=!0;const s=document.createAttributeNS(null,t);return t=>{n!==t&&(n=t,null==n?r||(e.removeAttributeNode(s),r=!0):(s.value=t,r&&(e.setAttributeNodeNS(s),r=!1)))}})(e,t);function ue(e){const{type:t,path:n}=e,r=n.reduceRight(te,this);return"node"===t?(e=>{let t,n,r=[];const s=l=>{switch(typeof l){case"string":case"number":case"boolean":t!==l&&(t=l,n?n.textContent=l:n=document.createTextNode(l),r=ce(e,r,[n]));break;case"object":case"undefined":if(null==l){t!=l&&(t=l,r=ce(e,r,[]));break}if(q(l)){t=l,0===l.length?r=ce(e,r,[]):"object"==typeof l[0]?r=ce(e,r,l):s(String(l));break}"ELEMENT_NODE"in l&&t!==l&&(t=l,r=ce(e,r,11===l.nodeType?G.call(l.childNodes):[l]))}};return s})(r):"attr"===t?ie(r,e.name):(e=>{let t;return n=>{t!=n&&(t=n,e.textContent=null==n?"":n)}})(r)}const he="isµ",de=P(new WeakMap),fe=(e,t)=>{const n=((e,t,n)=>{const r=[],{length:s}=e;for(let n=1;n<s;n++){const s=e[n-1];r.push(I.test(s)&&X(e,n)?s.replace(I,((e,r,s)=>`${t}${n-1}=${s||'"'}${r}${s?"":'"'}`)):`${s}\x3c!--${t}${n-1}--\x3e`)}r.push(e[s-1]);const l=r.join("").trim();return n?l:l.replace(U,Y)})(t,he,"svg"===e),r=oe(n,e),s=ae(r),l=[],o=t.length-1;let a=0,c=`isµ${a}`;for(;a<o;){const e=s.nextNode();if(!e)throw`bad template: ${n}`;if(8===e.nodeType)e.textContent===c&&(l.push({type:"node",path:ne(e)}),c="isµ"+ ++a);else{for(;e.hasAttribute(c);)l.push({type:"attr",path:ne(e),name:e.getAttribute(c)}),e.removeAttribute(c),c="isµ"+ ++a;/^(?:style|textarea)$/i.test(e.tagName)&&e.textContent.trim()===`\x3c!--${c}--\x3e`&&(e.textContent="",l.push({type:"text",path:ne(e)}),c="isµ"+ ++a)}}return{content:r,nodes:l}},pe=(e,t)=>{const{content:n,nodes:r}=de.get(t)||de.set(t,fe(e,t)),s=se.call(document,n,!0);return{content:s,updates:r.map(ue,s)}},ge=(e,{type:t,template:n,values:r})=>{const{length:s}=r;we(e,r,s);let{entry:l}=e;l&&l.template===n&&l.type===t||(e.entry=l=((e,t)=>{const{content:n,updates:r}=pe(e,t);return{type:e,template:t,content:n,updates:r,wire:null}})(t,n));const{content:o,updates:a,wire:c}=l;for(let e=0;e<s;e++)a[e](r[e]);return c||(l.wire=(e=>{const{childNodes:t}=e,{length:n}=t;if(n<2)return n?t[0]:e;const r=G.call(t,0);return{ELEMENT_NODE:1,nodeType:111,firstChild:r[0],lastChild:r[n-1],valueOf(){if(t.length!==n){let t=0;for(;t<n;)e.appendChild(r[t++])}return e}}})(o))},we=({stack:e},t,n)=>{for(let r=0;r<n;r++){const n=t[r];n instanceof ve?t[r]=ge(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):q(n)?we(e[r]||(e[r]={stack:[],entry:null,wire:null}),n,n.length):e[r]=null}n<e.length&&e.splice(n)};function ve(e,t,n){this.type=e,this.template=t,this.values=n}const{create:ye,defineProperties:me}=Object,be=e=>{const t=P(new WeakMap);return me(((t,...n)=>new ve(e,t,n)),{for:{value(n,r){const s=t.get(n)||t.set(n,ye(null));return s[r]||(s[r]=(t=>(n,...r)=>ge(t,{type:e,template:n,values:r}))({stack:[],entry:null,wire:null}))}},node:{value:(t,...n)=>ge({stack:[],entry:null,wire:null},{type:e,template:t,values:n}).valueOf()}})},$e=P(new WeakMap),Ce=be("html"),ke=be("svg"),{create:Ee}=Object,xe=(e,...t)=>new ve("html",e,t);xe.for=je(Ce);const Ne=(e,...t)=>new ve("svg",e,t);Ne.for=je(ke);const Me=P(new WeakMap),Se=(e,t)=>z((async function(){const n=await t.f.apply(this,arguments);return n instanceof ve?(await We(e,n),t.$=Ae(t,n)):t.$=n,t.$})),Le=()=>({s:[],e:null}),Te=(e,{f:t,c:n,a:r})=>{let{e:s}=e;return s&&s.f===t||(e.e=s={f:t,h:null,$:null},s.h=Se(Le(),s)),s.h.apply(n,r)},We=async(e,{values:t})=>{await _e(e,t,t.length)},_e=async(e,t,n)=>{const{s:r}=e;for(let e=0;e<n;e++){const n=await t[e];n instanceof Oe?t[e]=await Te(r[e]||(r[e]=Le()),n):n instanceof ve?await We(r[e]||(r[e]=Le()),n):q(n)?await _e(r[e]||(r[e]=Le()),n,n.length):r[e]=null}n<r.length&&r.splice(n)},Ae=(e,{type:t,template:n,values:r})=>("svg"===t?ke:Ce).for(e,t)(n,...r);function Oe(e,t,n){this.f=e,this.c=t,this.a=n}function je(e){const t=P(new WeakMap);return(n,r)=>{const s=t.get(n)||t.set(n,Ee(null)),l=s[r]||(s[r]=Le());return async(t,...s)=>(await _e(l,s),e.for(n,r)(t,...s))}}return e.Component=function(e){return function(){return new Oe(e,this,arguments)}},e.createContext=e=>({_:new Set,provide:y,value:e}),e.html=xe,e.render=(e,t)=>(Me.get(e)||Me.set(e,{c:Le(),h:z((async function(t){const n=await("function"==typeof t?t():t);return((e,t)=>{const n="function"==typeof t?t():t,r=$e.get(e)||$e.set(e,{stack:[],entry:null,wire:null}),s=n instanceof ve?ge(r,n):n;return s!==r.wire&&(r.wire=s,e.textContent="",e.appendChild(s.valueOf())),e})(e,n instanceof Oe?await Te(this.c,n):(await We(this.c,n),n))}),e)})).h(t),e.svg=Ne,e.useCallback=(e,t)=>m((()=>e),t),e.useContext=({_:e,value:t})=>(e.add(p()),t),e.useEffect=$,e.useLayoutEffect=C,e.useMemo=m,e.useReducer=(e,t,n)=>j(L,T,W,E(e,t,n)),e.useRef=e=>{const t=p(),{i:n,s:r}=t;return n===r.length&&r.push({current:e}),r[t.i++]},e.useState=e=>j(L,T,W,(e=>E(k,e))(e)),e}({});
self.Z=function(e){var t="fragment",n="template",r="content"in l(n)?function(e){var t=l(n);return t.innerHTML=e,t.content}:function(e){var r=l(t),o=l(n),a=null;if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(e)){var c=RegExp.$1;o.innerHTML="<table>"+e+"</table>",a=o.querySelectorAll(c)}else o.innerHTML=e,a=o.childNodes;return s(r,a),r};return function(e,t){return("svg"===t?o:r)(e)};function s(e,t){for(var n=t.length;n--;)e.appendChild(t[0])}function l(n){return n===t?e.createDocumentFragment():e.createElementNS("http://www.w3.org/1999/xhtml",n)}function o(e){var n=l(t),r=l("div");return r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+e+"</svg>",s(n,r.firstChild.childNodes),n}}(document);const ee=({childNodes:e},t)=>e[t],te=e=>{const t=[];let{parentNode:n}=e;for(;n;)t.push(q.call(n.childNodes,e)),n=(e=n).parentNode;return t},{createTreeWalker:ne,importNode:re}=document,se=1!=re.length,le=se?(e,t)=>re.call(document,Z(e,t),!0):Z,oe=se?e=>ne.call(document,e,129,null,!1):e=>ne.call(document,e,129),ae=(e,t,n)=>((e,t,n,r,s)=>{const l=n.length;let o=t.length,a=l,c=0,i=0,u=null;for(;c<o||i<a;)if(o===c){const t=a<l?i?r(n[i-1],-0).nextSibling:r(n[a-i],0):s;for(;i<a;)e.insertBefore(r(n[i++],1),t)}else if(a===i)for(;c<o;)u&&u.has(t[c])||e.removeChild(r(t[c],-1)),c++;else if(t[c]===n[i])c++,i++;else if(t[o-1]===n[a-1])o--,a--;else if(t[c]===n[a-1]&&n[i]===t[o-1]){const s=r(t[--o],-1).nextSibling;e.insertBefore(r(n[i++],1),r(t[c++],-1).nextSibling),e.insertBefore(r(n[--a],1),s),t[o]=n[a]}else{if(!u){u=new Map;let e=i;for(;e<a;)u.set(n[e],e++)}if(u.has(t[c])){const s=u.get(t[c]);if(i<s&&s<a){let l=c,h=1;for(;++l<o&&l<a&&u.get(t[l])===s+h;)h++;if(h>s-i){const l=r(t[c],0);for(;i<s;)e.insertBefore(r(n[i++],1),l)}else e.replaceChild(r(n[i++],1),r(t[c++],-1))}else c++}else e.removeChild(r(t[c++],-1))}return n})(e.parentNode,t,n,Y,e),ce=(e,t)=>"ref"===t?(e=>t=>{"function"==typeof t?t(e):t.current=e})(e):"aria"===t?(e=>t=>{for(const n in t){const r="role"===n?n:`aria-${n}`,s=t[n];null==s?e.removeAttribute(r):e.setAttribute(r,s)}})(e):".dataset"===t?(({dataset:e})=>t=>{for(const n in t){const r=t[n];null==r?delete e[n]:e[n]=r}})(e):"."===t.slice(0,1)?((e,t)=>n=>{e[t]=n})(e,t.slice(1)):"on"===t.slice(0,2)?((e,t)=>{let n,r=t.slice(2);return!(t in e)&&t.toLowerCase()in e&&(r=r.toLowerCase()),t=>{const s=P(t)?t:[t,!1];n!==s[0]&&(n&&e.removeEventListener(r,n,s[1]),(n=s[0])&&e.addEventListener(r,n,s[1]))}})(e,t):((e,t)=>{let n,r=!0;const s=document.createAttributeNS(null,t);return t=>{n!==t&&(n=t,null==n?r||(e.removeAttributeNode(s),r=!0):(s.value=t,r&&(e.setAttributeNodeNS(s),r=!1)))}})(e,t);function ie(e){const{type:t,path:n}=e,r=n.reduceRight(ee,this);return"node"===t?(e=>{let t,n,r=[];const s=l=>{switch(typeof l){case"string":case"number":case"boolean":t!==l&&(t=l,n?n.textContent=l:n=document.createTextNode(l),r=ae(e,r,[n]));break;case"object":case"undefined":if(null==l){t!=l&&(t=l,r=ae(e,r,[]));break}if(P(l)){t=l,0===l.length?r=ae(e,r,[]):"object"==typeof l[0]?r=ae(e,r,l):s(String(l));break}"ELEMENT_NODE"in l&&t!==l&&(t=l,r=ae(e,r,11===l.nodeType?F.call(l.childNodes):[l]))}};return s})(r):"attr"===t?ce(r,e.name):(e=>{let t;return n=>{t!=n&&(t=n,e.textContent=null==n?"":n)}})(r)}const ue="isµ",he=z(new WeakMap),de=(e,t)=>{const n=((e,t,n)=>{const r=[],{length:s}=e;for(let n=1;n<s;n++){const s=e[n-1];r.push(G.test(s)&&V(e,n)?s.replace(G,((e,r,s)=>`${t}${n-1}=${s||'"'}${r}${s?"":'"'}`)):`${s}\x3c!--${t}${n-1}--\x3e`)}r.push(e[s-1]);const l=r.join("").trim();return n?l:l.replace(Q,X)})(t,ue,"svg"===e),r=le(n,e),s=oe(r),l=[],o=t.length-1;let a=0,c=`isµ${a}`;for(;a<o;){const e=s.nextNode();if(!e)throw`bad template: ${n}`;if(8===e.nodeType)e.textContent===c&&(l.push({type:"node",path:te(e)}),c="isµ"+ ++a);else{for(;e.hasAttribute(c);)l.push({type:"attr",path:te(e),name:e.getAttribute(c)}),e.removeAttribute(c),c="isµ"+ ++a;/^(?:style|textarea)$/i.test(e.tagName)&&e.textContent.trim()===`\x3c!--${c}--\x3e`&&(e.textContent="",l.push({type:"text",path:te(e)}),c="isµ"+ ++a)}}return{content:r,nodes:l}},fe=(e,t)=>{const{content:n,nodes:r}=he.get(t)||he.set(t,de(e,t)),s=re.call(document,n,!0);return{content:s,updates:r.map(ie,s)}},pe=(e,{type:t,template:n,values:r})=>{const{length:s}=r;ge(e,r,s);let{entry:l}=e;l&&l.template===n&&l.type===t||(e.entry=l=((e,t)=>{const{content:n,updates:r}=fe(e,t);return{type:e,template:t,content:n,updates:r,wire:null}})(t,n));const{content:o,updates:a,wire:c}=l;for(let e=0;e<s;e++)a[e](r[e]);return c||(l.wire=(e=>{const{childNodes:t}=e,{length:n}=t;if(n<2)return n?t[0]:e;const r=F.call(t,0);return{ELEMENT_NODE:1,nodeType:111,firstChild:r[0],lastChild:r[n-1],valueOf(){if(t.length!==n){let t=0;for(;t<n;)e.appendChild(r[t++])}return e}}})(o))},ge=({stack:e},t,n)=>{for(let r=0;r<n;r++){const n=t[r];n instanceof we?t[r]=pe(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):P(n)?ge(e[r]||(e[r]={stack:[],entry:null,wire:null}),n,n.length):e[r]=null}n<e.length&&e.splice(n)};function we(e,t,n){this.type=e,this.template=t,this.values=n}const{create:ve,defineProperties:ye}=Object,me=e=>{const t=z(new WeakMap);return ye(((t,...n)=>new we(e,t,n)),{for:{value(n,r){const s=t.get(n)||t.set(n,ve(null));return s[r]||(s[r]=(t=>(n,...r)=>pe(t,{type:e,template:n,values:r}))({stack:[],entry:null,wire:null}))}},node:{value:(t,...n)=>pe({stack:[],entry:null,wire:null},{type:e,template:t,values:n}).valueOf()}})},be=z(new WeakMap),$e=me("html"),Ce=me("svg"),{create:Ee}=Object,ke=(e,...t)=>new we("html",e,t);ke.for=Oe($e);const xe=(e,...t)=>new we("svg",e,t);xe.for=Oe(Ce);const Ne=z(new WeakMap),Me=(e,t)=>H((async function(){const n=await t.f.apply(this,arguments);return n instanceof we?(await Te(e,n),t.$=Ae(t,n)):t.$=n,t.$})),Se=()=>({s:[],e:null}),Le=(e,{f:t,c:n,a:r})=>{let{e:s}=e;return s&&s.f===t||(e.e=s={f:t,h:null,$:null},s.h=Me(Se(),s)),s.h.apply(n,r)},Te=async(e,{values:t})=>{await _e(e,t,t.length)},_e=async(e,t,n)=>{const{s:r}=e;for(let e=0;e<n;e++){const n=await t[e];n instanceof We?t[e]=await Le(r[e]||(r[e]=Se()),n):n instanceof we?await Te(r[e]||(r[e]=Se()),n):P(n)?await _e(r[e]||(r[e]=Se()),n,n.length):r[e]=null}n<r.length&&r.splice(n)},Ae=(e,{type:t,template:n,values:r})=>("svg"===t?Ce:$e).for(e,t)(n,...r);function We(e,t,n){this.f=e,this.c=t,this.a=n}function Oe(e){const t=z(new WeakMap);return(n,r)=>{const s=t.get(n)||t.set(n,Ee(null)),l=s[r]||(s[r]=Se());return async(t,...s)=>(await _e(l,s),e.for(n,r)(t,...s))}}return e.Component=function(e){return function(){return new We(e,this,arguments)}},e.createContext=e=>({_:new Set,provide:v,value:e}),e.html=ke,e.render=(e,t)=>(Ne.get(e)||Ne.set(e,{c:Se(),h:H((async function(t){const n=await("function"==typeof t?t():t);return((e,t)=>{const n="function"==typeof t?t():t,r=be.get(e)||be.set(e,{stack:[],entry:null,wire:null}),s=n instanceof we?pe(r,n):n;return s!==r.wire&&(r.wire=s,e.textContent="",e.appendChild(s.valueOf())),e})(e,n instanceof We?await Le(this.c,n):(await Te(this.c,n),n))}),e)})).h(t),e.svg=xe,e.useCallback=(e,t)=>y((()=>e),t),e.useContext=({_:e,value:t})=>(e.add(f()),t),e.useEffect=b,e.useLayoutEffect=$,e.useMemo=y,e.useReducer=(e,t,n)=>O(S,L,T,E(e,t,n)),e.useRef=e=>{const t=f(),{i:n,s:r}=t;return n===r.length&&r.push({current:e}),r[t.i++]},e.useState=e=>O(S,L,T,(e=>E(C,e))(e)),e}({});

@@ -1,7 +0,7 @@

self.uland=function(e){"use strict";var t=CustomEvent;const n=(e,t,n,s)=>{const l=new WeakMap,o=new WeakMap,c=new WeakMap,a=e=>l.has(e),i=e=>{a(e)&&(u(e,e.removeEventListener,l.get(e)),l.delete(e))},u=(e,t,n)=>{t.call(e,"disconnected",n),t.call(e,"connected",n)},h=(e,t,n,r)=>{for(let{length:s}=e,l=0;l<s;l++)d(e[l],t,n,r)},d=(e,r,s,l)=>{a(e)&&!s.has(e)&&(l.delete(e),s.set(e,0),e.dispatchEvent(new(n||CustomEvent)(r))),h(e[t||"children"]||[],r,s,l)},f=new(s||MutationObserver)((e=>{for(let{length:t}=e,n=0;n<t;n++){const{removedNodes:t,addedNodes:r}=e[n];h(t,"disconnected",c,o),h(r,"connected",o,c)}}));return f.observe(e||document,{subtree:!0,childList:!0}),{has:a,connect:(e,t)=>{i(e),(t||(t={})).handleEvent||(t.handleEvent=r),u(e,e.addEventListener,t),l.set(e,t)},disconnect:i,kill(){f.disconnect()}}};function r(e){e.type in this&&this[e.type](e)}var s=Promise;let l=null,o=new Set;const c=new WeakMap,a=e=>{const{$:t,r:n,h:r}=e;m(n)&&(u.get(r).delete(e),n()),m(e.r=t())&&u.get(r).add(e)},i=()=>{const e=o;o=new Set,e.forEach((({h:e,c:t,a:n,e:r})=>{r&&e.apply(t,n)}))},u=new WeakMap,h=[],d=[];function f(e,t){return e!==this[t]}const p=e=>{const t=u.get(e);t&&w.then((()=>{t.forEach((e=>{e.r(),e.r=null})),t.clear()}))},g=()=>c.get(l),v=e=>u.has(e),m=e=>"function"==typeof e,y=e=>{const t={h:n,c:null,a:null,e:0,i:0,s:[]};return c.set(n,t),n;function n(){const r=l;l=n,t.e=t.i=0;try{return e.apply(t.c=this,t.a=arguments)}finally{l=r,h.length&&w.then(h.forEach.bind(h.splice(0),a)),d.length&&d.splice(0).forEach(a)}}},w=new s((e=>e()));function b(e){const{_:t,value:n}=this;n!==e&&(this._=new Set,this.value=e,t.forEach((({h:e,c:t,a:n})=>{e.apply(t,n)})))}const $=(e,t)=>{const n=g(),{i:r,s:s}=n;return r!==s.length&&t&&!t.some(f,s[r]._)||(s[r]={$:e(),_:t}),s[n.i++].$},C=e=>(t,n)=>{const r=g(),{i:s,s:l,h:o}=r,c=s===l.length;r.i++,c&&(u.has(o)||u.set(o,new Set),l[s]={$:t,_:n,r:null,h:o}),(c||!n||n.some(f,l[s]._))&&e.push(l[s]),l[s].$=t,l[s]._=n},E=C(h),k=C(d),x=(e,t)=>m(t)?t(e):t,N=(e,t,n)=>{const r=g(),{i:s,s:l}=r;s===l.length&&l.push({$:m(n)?n(t):x(void 0,t),set:t=>{l[s].$=e(l[s].$,t),(e=>{o.has(e)||(e.e=1,o.add(e),w.then(i))})(r)}});const{$:c,set:a}=l[r.i++];return[c,a]};
self.uland=function(e){"use strict";var t=CustomEvent;const n=(e,t,n,s)=>{const l=new WeakMap,o=new WeakMap,c=new WeakMap,a=e=>l.has(e),i=e=>{a(e)&&(u(e,e.removeEventListener,l.get(e)),l.delete(e))},u=(e,t,n)=>{t.call(e,"disconnected",n),t.call(e,"connected",n)},h=(e,t,n,r)=>{for(let{length:s}=e,l=0;l<s;l++)d(e[l],t,n,r)},d=(e,r,s,l)=>{a(e)&&!s.has(e)&&(l.delete(e),s.set(e,0),e.dispatchEvent(new(n||CustomEvent)(r))),h(e[t||"children"]||[],r,s,l)},f=new(s||MutationObserver)((e=>{for(let{length:t}=e,n=0;n<t;n++){const{removedNodes:t,addedNodes:r}=e[n];h(t,"disconnected",c,o),h(r,"connected",o,c)}}));return f.observe(e||document,{subtree:!0,childList:!0}),{has:a,connect:(e,t)=>{i(e),(t||(t={})).handleEvent||(t.handleEvent=r),u(e,e.addEventListener,t),l.set(e,t)},disconnect:i,kill(){f.disconnect()}}};function r(e){e.type in this&&this[e.type](e)}var s=Promise;let l=null,o=new Set;const c=e=>{const{$:t,r:n,h:r}=e;v(n)&&(i.get(r).delete(e),n()),v(e.r=t())&&i.get(r).add(e)},a=()=>{const e=o;o=new Set,e.forEach((({h:e,c:t,a:n,e:r})=>{r&&e.apply(t,n)}))},i=new WeakMap,u=[],h=[];function d(e,t){return e!==this[t]}const f=e=>{const t=i.get(e);t&&y.then((()=>{t.forEach((e=>{e.r(),e.r=null})),t.clear()}))},p=()=>l,g=e=>i.has(e),v=e=>"function"==typeof e,m=e=>{const t={h:n,c:null,a:null,e:0,i:0,s:[]};return n;function n(){const n=l;l=t,t.e=t.i=0;try{return e.apply(t.c=this,t.a=arguments)}finally{l=n,u.length&&y.then(u.forEach.bind(u.splice(0),c)),h.length&&h.splice(0).forEach(c)}}},y=new s((e=>e()));function w(e){const{_:t,value:n}=this;n!==e&&(this._=new Set,this.value=e,t.forEach((({h:e,c:t,a:n})=>{e.apply(t,n)})))}const b=(e,t)=>{const n=p(),{i:r,s:s}=n;return r!==s.length&&t&&!t.some(d,s[r]._)||(s[r]={$:e(),_:t}),s[n.i++].$},$=e=>(t,n)=>{const r=p(),{i:s,s:l,h:o}=r,c=s===l.length;r.i++,c&&(i.has(o)||i.set(o,new Set),l[s]={$:t,_:n,r:null,h:o}),(c||!n||n.some(d,l[s]._))&&e.push(l[s]),l[s].$=t,l[s]._=n},C=$(u),E=$(h),k=(e,t)=>v(t)?t(e):t,x=(e,t,n)=>{const r=p(),{i:s,s:l}=r;s===l.length&&l.push({$:v(n)?n(t):k(void 0,t),set:t=>{l[s].$=e(l[s].$,t),(e=>{o.has(e)||(e.e=1,o.add(e),y.then(a))})(r)}});const{$:c,set:i}=l[r.i++];return[c,i]};
/*! (c) Andrea Giammarchi - ISC */
let M=null,S=null,L=null;const T=new WeakMap,_=new WeakMap,A=(e,t,n,r)=>{const s=s=>{T.has(e)||(T.set(e,0),w.then((()=>{T.delete(e),e.apply(t,n)}))),r(s)};return _.set(r,s),s},W=(e,t,n,r)=>e?[r[0],_.get(r[1])||A(e,t,n,r[1])]:r,O=(e,t)=>{const n=y(t?function(){const[t,r,s]=[M,S,L];[M,S,L]=[n,this,arguments];try{return e.apply(S,L)}finally{[M,S,L]=[t,r,s]}}:e);return n};
let N=null,M=null,S=null;const L=new WeakMap,T=new WeakMap,_=(e,t,n,r)=>{const s=s=>{L.has(e)||(L.set(e,0),y.then((()=>{L.delete(e),e.apply(t,n)}))),r(s)};return T.set(r,s),s},A=(e,t,n,r)=>e?[r[0],T.get(r[1])||_(e,t,n,r[1])]:r,O=(e,t)=>{const n=m(t?function(){const[t,r,s]=[N,M,S];[N,M,S]=[n,this,arguments];try{return e.apply(M,S)}finally{[N,M,S]=[t,r,s]}}:e);return n};
/*! (c) Andrea Giammarchi - ISC */
let j=null;const R=({firstChild:e})=>{if(e&&1!==e.nodeType&&!(e=e.nextElementSibling))throw"unobservable";return e},B=e=>{const{nodeType:t}=e;if(t)return 1===t?e:R(e);{const t=e.valueOf();return t!==e?B(t):R(t)}},D=(e,r)=>{const s=O(e,r);return function(){const e=s.apply(this,arguments);if(v(s)){const r=B(e);j||(j=n(r.ownerDocument,"children",t)),j.has(r)||j.connect(r,{disconnected(){p(s)}})}return e}};var H=e=>({get:t=>e.get(t),set:(t,n)=>(e.set(t,n),n)});const{isArray:z}=Array,{indexOf:P,slice:q}=[],F=/([^\s\\>"'=]+)\s*=\s*(['"]?)$/,G=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,I=/<[a-z][^>]+$/i,J=/>[^<>]*$/,K=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/>)/gi,Q=/\s+$/,U=(e,t)=>0<t--&&(I.test(e[t])||!J.test(e[t])&&U(e,t)),V=(e,t,n)=>G.test(t)?e:`<${t}${n.replace(Q,"")}></${t}>`;const X=(e,t)=>111===e.nodeType?1/t<0?t?(({firstChild:e,lastChild:t})=>{const n=document.createRange();return n.setStartAfter(e),n.setEndAfter(t),n.deleteContents(),e})(e):e.lastChild:t?e.valueOf():e.firstChild:e;
let W=null;const j=({firstChild:e})=>{if(e&&1!==e.nodeType&&!(e=e.nextElementSibling))throw"unobservable";return e},R=e=>{const{nodeType:t}=e;if(t)return 1===t?e:j(e);{const t=e.valueOf();return t!==e?R(t):j(t)}},B=(e,r)=>{const s=O(e,r);return function(){const e=s.apply(this,arguments);if(g(s)){const r=R(e);W||(W=n(r.ownerDocument,"children",t)),W.has(r)||W.connect(r,{disconnected(){f(s)}})}return e}};var D=e=>({get:t=>e.get(t),set:(t,n)=>(e.set(t,n),n)});const{isArray:H}=Array,{indexOf:z,slice:P}=[],q=/([^\s\\>"'=]+)\s*=\s*(['"]?)$/,F=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,G=/<[a-z][^>]+$/i,I=/>[^<>]*$/,J=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/>)/gi,K=/\s+$/,Q=(e,t)=>0<t--&&(G.test(e[t])||!I.test(e[t])&&Q(e,t)),U=(e,t,n)=>F.test(t)?e:`<${t}${n.replace(K,"")}></${t}>`;const V=(e,t)=>111===e.nodeType?1/t<0?t?(({firstChild:e,lastChild:t})=>{const n=document.createRange();return n.setStartAfter(e),n.setEndAfter(t),n.deleteContents(),e})(e):e.lastChild:t?e.valueOf():e.firstChild:e;
/*! (c) Andrea Giammarchi - ISC */
self.Y=function(e){var t="fragment",n="template",r="content"in l(n)?function(e){var t=l(n);return t.innerHTML=e,t.content}:function(e){var r=l(t),o=l(n),c=null;if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(e)){var a=RegExp.$1;o.innerHTML="<table>"+e+"</table>",c=o.querySelectorAll(a)}else o.innerHTML=e,c=o.childNodes;return s(r,c),r};return function(e,t){return("svg"===t?o:r)(e)};function s(e,t){for(var n=t.length;n--;)e.appendChild(t[0])}function l(n){return n===t?e.createDocumentFragment():e.createElementNS("http://www.w3.org/1999/xhtml",n)}function o(e){var n=l(t),r=l("div");return r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+e+"</svg>",s(n,r.firstChild.childNodes),n}}(document);const Z=({childNodes:e},t)=>e[t],ee=e=>{const t=[];let{parentNode:n}=e;for(;n;)t.push(P.call(n.childNodes,e)),n=(e=n).parentNode;return t},{createTreeWalker:te,importNode:ne}=document,re=1!=ne.length,se=re?(e,t)=>ne.call(document,Y(e,t),!0):Y,le=re?e=>te.call(document,e,129,null,!1):e=>te.call(document,e,129),oe=(e,t,n)=>((e,t,n,r,s)=>{const l=n.length;let o=t.length,c=l,a=0,i=0,u=null;for(;a<o||i<c;)if(o===a){const t=c<l?i?r(n[i-1],-0).nextSibling:r(n[c-i],0):s;for(;i<c;)e.insertBefore(r(n[i++],1),t)}else if(c===i)for(;a<o;)u&&u.has(t[a])||e.removeChild(r(t[a],-1)),a++;else if(t[a]===n[i])a++,i++;else if(t[o-1]===n[c-1])o--,c--;else if(t[a]===n[c-1]&&n[i]===t[o-1]){const s=r(t[--o],-1).nextSibling;e.insertBefore(r(n[i++],1),r(t[a++],-1).nextSibling),e.insertBefore(r(n[--c],1),s),t[o]=n[c]}else{if(!u){u=new Map;let e=i;for(;e<c;)u.set(n[e],e++)}if(u.has(t[a])){const s=u.get(t[a]);if(i<s&&s<c){let l=a,h=1;for(;++l<o&&l<c&&u.get(t[l])===s+h;)h++;if(h>s-i){const l=r(t[a],0);for(;i<s;)e.insertBefore(r(n[i++],1),l)}else e.replaceChild(r(n[i++],1),r(t[a++],-1))}else a++}else e.removeChild(r(t[a++],-1))}return n})(e.parentNode,t,n,X,e),ce=(e,t)=>"ref"===t?(e=>t=>{"function"==typeof t?t(e):t.current=e})(e):"aria"===t?(e=>t=>{for(const n in t){const r="role"===n?n:`aria-${n}`,s=t[n];null==s?e.removeAttribute(r):e.setAttribute(r,s)}})(e):".dataset"===t?(({dataset:e})=>t=>{for(const n in t){const r=t[n];null==r?delete e[n]:e[n]=r}})(e):"."===t.slice(0,1)?((e,t)=>n=>{e[t]=n})(e,t.slice(1)):"on"===t.slice(0,2)?((e,t)=>{let n,r=t.slice(2);return!(t in e)&&t.toLowerCase()in e&&(r=r.toLowerCase()),t=>{const s=z(t)?t:[t,!1];n!==s[0]&&(n&&e.removeEventListener(r,n,s[1]),(n=s[0])&&e.addEventListener(r,n,s[1]))}})(e,t):((e,t)=>{let n,r=!0;const s=document.createAttributeNS(null,t);return t=>{n!==t&&(n=t,null==n?r||(e.removeAttributeNode(s),r=!0):(s.value=t,r&&(e.setAttributeNodeNS(s),r=!1)))}})(e,t);function ae(e){const{type:t,path:n}=e,r=n.reduceRight(Z,this);return"node"===t?(e=>{let t,n,r=[];const s=l=>{switch(typeof l){case"string":case"number":case"boolean":t!==l&&(t=l,n?n.textContent=l:n=document.createTextNode(l),r=oe(e,r,[n]));break;case"object":case"undefined":if(null==l){t!=l&&(t=l,r=oe(e,r,[]));break}if(z(l)){t=l,0===l.length?r=oe(e,r,[]):"object"==typeof l[0]?r=oe(e,r,l):s(String(l));break}"ELEMENT_NODE"in l&&t!==l&&(t=l,r=oe(e,r,11===l.nodeType?q.call(l.childNodes):[l]))}};return s})(r):"attr"===t?ce(r,e.name):(e=>{let t;return n=>{t!=n&&(t=n,e.textContent=null==n?"":n)}})(r)}const ie="isµ",ue=H(new WeakMap),he=(e,t)=>{const n=((e,t,n)=>{const r=[],{length:s}=e;for(let n=1;n<s;n++){const s=e[n-1];r.push(F.test(s)&&U(e,n)?s.replace(F,((e,r,s)=>`${t}${n-1}=${s||'"'}${r}${s?"":'"'}`)):`${s}\x3c!--${t}${n-1}--\x3e`)}r.push(e[s-1]);const l=r.join("").trim();return n?l:l.replace(K,V)})(t,ie,"svg"===e),r=se(n,e),s=le(r),l=[],o=t.length-1;let c=0,a=`isµ${c}`;for(;c<o;){const e=s.nextNode();if(!e)throw`bad template: ${n}`;if(8===e.nodeType)e.textContent===a&&(l.push({type:"node",path:ee(e)}),a="isµ"+ ++c);else{for(;e.hasAttribute(a);)l.push({type:"attr",path:ee(e),name:e.getAttribute(a)}),e.removeAttribute(a),a="isµ"+ ++c;/^(?:style|textarea)$/i.test(e.tagName)&&e.textContent.trim()===`\x3c!--${a}--\x3e`&&(e.textContent="",l.push({type:"text",path:ee(e)}),a="isµ"+ ++c)}}return{content:r,nodes:l}},de=(e,t)=>{const{content:n,nodes:r}=ue.get(t)||ue.set(t,he(e,t)),s=ne.call(document,n,!0);return{content:s,updates:r.map(ae,s)}},fe=(e,{type:t,template:n,values:r})=>{const{length:s}=r;pe(e,r,s);let{entry:l}=e;l&&l.template===n&&l.type===t||(e.entry=l=((e,t)=>{const{content:n,updates:r}=de(e,t);return{type:e,template:t,content:n,updates:r,wire:null}})(t,n));const{content:o,updates:c,wire:a}=l;for(let e=0;e<s;e++)c[e](r[e]);return a||(l.wire=(e=>{const{childNodes:t}=e,{length:n}=t;if(n<2)return n?t[0]:e;const r=q.call(t,0);return{ELEMENT_NODE:1,nodeType:111,firstChild:r[0],lastChild:r[n-1],valueOf(){if(t.length!==n){let t=0;for(;t<n;)e.appendChild(r[t++])}return e}}})(o))},pe=({stack:e},t,n)=>{for(let r=0;r<n;r++){const n=t[r];n instanceof ge?t[r]=fe(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):z(n)?pe(e[r]||(e[r]={stack:[],entry:null,wire:null}),n,n.length):e[r]=null}n<e.length&&e.splice(n)};function ge(e,t,n){this.type=e,this.template=t,this.values=n}const{create:ve,defineProperties:me}=Object,ye=e=>{const t=H(new WeakMap);return me(((t,...n)=>new ge(e,t,n)),{for:{value(n,r){const s=t.get(n)||t.set(n,ve(null));return s[r]||(s[r]=(t=>(n,...r)=>fe(t,{type:e,template:n,values:r}))({stack:[],entry:null,wire:null}))}},node:{value:(t,...n)=>fe({stack:[],entry:null,wire:null},{type:e,template:t,values:n}).valueOf()}})},we=H(new WeakMap),be=ye("html"),$e=ye("svg"),{create:Ce}=Object,Ee=(e,...t)=>new ge("html",e,t);Ee.for=We(be);const ke=(e,...t)=>new ge("svg",e,t);ke.for=We($e);const xe=H(new WeakMap),Ne=(e,t)=>D((function(){const n=t.f.apply(this,arguments);return n instanceof ge?(Le(e,n),t.$=_e(t,n)):t.$=n,t.$})),Me=()=>({s:[],e:null}),Se=(e,{f:t,c:n,a:r})=>{let{e:s}=e;return s&&s.f===t||(e.e=s={f:t,h:null,$:null},s.h=Ne(Me(),s)),s.h.apply(n,r)},Le=(e,{values:t})=>{Te(e,t,t.length)},Te=(e,t,n)=>{const{s:r}=e;for(let e=0;e<n;e++){const n=t[e];n instanceof Ae?t[e]=Se(r[e]||(r[e]=Me()),n):n instanceof ge?Le(r[e]||(r[e]=Me()),n):z(n)?Te(r[e]||(r[e]=Me()),n,n.length):r[e]=null}n<r.length&&r.splice(n)},_e=(e,{type:t,template:n,values:r})=>("svg"===t?$e:be).for(e,t)(n,...r);function Ae(e,t,n){this.f=e,this.c=t,this.a=n}function We(e){const t=H(new WeakMap);return(n,r)=>{const s=t.get(n)||t.set(n,Ce(null)),l=s[r]||(s[r]=Me());return(t,...s)=>(Te(l,s),e.for(n,r)(t,...s))}}return e.Component=function(e){return function(){return new Ae(e,this,arguments)}},e.createContext=e=>({_:new Set,provide:b,value:e}),e.html=Ee,e.render=(e,t)=>(xe.get(e)||xe.set(e,{c:Me(),h:D((function(t){const n="function"==typeof t?t():t;return((e,t)=>{const n="function"==typeof t?t():t,r=we.get(e)||we.set(e,{stack:[],entry:null,wire:null}),s=n instanceof ge?fe(r,n):n;return s!==r.wire&&(r.wire=s,e.textContent="",e.appendChild(s.valueOf())),e})(e,n instanceof Ae?Se(this.c,n):(Le(this.c,n),n))}),e)})).h(t),e.svg=ke,e.useCallback=(e,t)=>$((()=>e),t),e.useContext=({_:e,value:t})=>(e.add(g()),t),e.useEffect=E,e.useLayoutEffect=k,e.useMemo=$,e.useReducer=(e,t,n)=>W(M,S,L,N(e,t,n)),e.useRef=e=>{const t=g(),{i:n,s:r}=t;return n===r.length&&r.push({current:e}),r[t.i++]},e.useState=e=>W(M,S,L,(e=>N(x,e))(e)),Object.defineProperty(e,"__esModule",{value:!0}),e}({});
self.X=function(e){var t="fragment",n="template",r="content"in l(n)?function(e){var t=l(n);return t.innerHTML=e,t.content}:function(e){var r=l(t),o=l(n),c=null;if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(e)){var a=RegExp.$1;o.innerHTML="<table>"+e+"</table>",c=o.querySelectorAll(a)}else o.innerHTML=e,c=o.childNodes;return s(r,c),r};return function(e,t){return("svg"===t?o:r)(e)};function s(e,t){for(var n=t.length;n--;)e.appendChild(t[0])}function l(n){return n===t?e.createDocumentFragment():e.createElementNS("http://www.w3.org/1999/xhtml",n)}function o(e){var n=l(t),r=l("div");return r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+e+"</svg>",s(n,r.firstChild.childNodes),n}}(document);const Y=({childNodes:e},t)=>e[t],Z=e=>{const t=[];let{parentNode:n}=e;for(;n;)t.push(z.call(n.childNodes,e)),n=(e=n).parentNode;return t},{createTreeWalker:ee,importNode:te}=document,ne=1!=te.length,re=ne?(e,t)=>te.call(document,X(e,t),!0):X,se=ne?e=>ee.call(document,e,129,null,!1):e=>ee.call(document,e,129),le=(e,t,n)=>((e,t,n,r,s)=>{const l=n.length;let o=t.length,c=l,a=0,i=0,u=null;for(;a<o||i<c;)if(o===a){const t=c<l?i?r(n[i-1],-0).nextSibling:r(n[c-i],0):s;for(;i<c;)e.insertBefore(r(n[i++],1),t)}else if(c===i)for(;a<o;)u&&u.has(t[a])||e.removeChild(r(t[a],-1)),a++;else if(t[a]===n[i])a++,i++;else if(t[o-1]===n[c-1])o--,c--;else if(t[a]===n[c-1]&&n[i]===t[o-1]){const s=r(t[--o],-1).nextSibling;e.insertBefore(r(n[i++],1),r(t[a++],-1).nextSibling),e.insertBefore(r(n[--c],1),s),t[o]=n[c]}else{if(!u){u=new Map;let e=i;for(;e<c;)u.set(n[e],e++)}if(u.has(t[a])){const s=u.get(t[a]);if(i<s&&s<c){let l=a,h=1;for(;++l<o&&l<c&&u.get(t[l])===s+h;)h++;if(h>s-i){const l=r(t[a],0);for(;i<s;)e.insertBefore(r(n[i++],1),l)}else e.replaceChild(r(n[i++],1),r(t[a++],-1))}else a++}else e.removeChild(r(t[a++],-1))}return n})(e.parentNode,t,n,V,e),oe=(e,t)=>"ref"===t?(e=>t=>{"function"==typeof t?t(e):t.current=e})(e):"aria"===t?(e=>t=>{for(const n in t){const r="role"===n?n:`aria-${n}`,s=t[n];null==s?e.removeAttribute(r):e.setAttribute(r,s)}})(e):".dataset"===t?(({dataset:e})=>t=>{for(const n in t){const r=t[n];null==r?delete e[n]:e[n]=r}})(e):"."===t.slice(0,1)?((e,t)=>n=>{e[t]=n})(e,t.slice(1)):"on"===t.slice(0,2)?((e,t)=>{let n,r=t.slice(2);return!(t in e)&&t.toLowerCase()in e&&(r=r.toLowerCase()),t=>{const s=H(t)?t:[t,!1];n!==s[0]&&(n&&e.removeEventListener(r,n,s[1]),(n=s[0])&&e.addEventListener(r,n,s[1]))}})(e,t):((e,t)=>{let n,r=!0;const s=document.createAttributeNS(null,t);return t=>{n!==t&&(n=t,null==n?r||(e.removeAttributeNode(s),r=!0):(s.value=t,r&&(e.setAttributeNodeNS(s),r=!1)))}})(e,t);function ce(e){const{type:t,path:n}=e,r=n.reduceRight(Y,this);return"node"===t?(e=>{let t,n,r=[];const s=l=>{switch(typeof l){case"string":case"number":case"boolean":t!==l&&(t=l,n?n.textContent=l:n=document.createTextNode(l),r=le(e,r,[n]));break;case"object":case"undefined":if(null==l){t!=l&&(t=l,r=le(e,r,[]));break}if(H(l)){t=l,0===l.length?r=le(e,r,[]):"object"==typeof l[0]?r=le(e,r,l):s(String(l));break}"ELEMENT_NODE"in l&&t!==l&&(t=l,r=le(e,r,11===l.nodeType?P.call(l.childNodes):[l]))}};return s})(r):"attr"===t?oe(r,e.name):(e=>{let t;return n=>{t!=n&&(t=n,e.textContent=null==n?"":n)}})(r)}const ae="isµ",ie=D(new WeakMap),ue=(e,t)=>{const n=((e,t,n)=>{const r=[],{length:s}=e;for(let n=1;n<s;n++){const s=e[n-1];r.push(q.test(s)&&Q(e,n)?s.replace(q,((e,r,s)=>`${t}${n-1}=${s||'"'}${r}${s?"":'"'}`)):`${s}\x3c!--${t}${n-1}--\x3e`)}r.push(e[s-1]);const l=r.join("").trim();return n?l:l.replace(J,U)})(t,ae,"svg"===e),r=re(n,e),s=se(r),l=[],o=t.length-1;let c=0,a=`isµ${c}`;for(;c<o;){const e=s.nextNode();if(!e)throw`bad template: ${n}`;if(8===e.nodeType)e.textContent===a&&(l.push({type:"node",path:Z(e)}),a="isµ"+ ++c);else{for(;e.hasAttribute(a);)l.push({type:"attr",path:Z(e),name:e.getAttribute(a)}),e.removeAttribute(a),a="isµ"+ ++c;/^(?:style|textarea)$/i.test(e.tagName)&&e.textContent.trim()===`\x3c!--${a}--\x3e`&&(e.textContent="",l.push({type:"text",path:Z(e)}),a="isµ"+ ++c)}}return{content:r,nodes:l}},he=(e,t)=>{const{content:n,nodes:r}=ie.get(t)||ie.set(t,ue(e,t)),s=te.call(document,n,!0);return{content:s,updates:r.map(ce,s)}},de=(e,{type:t,template:n,values:r})=>{const{length:s}=r;fe(e,r,s);let{entry:l}=e;l&&l.template===n&&l.type===t||(e.entry=l=((e,t)=>{const{content:n,updates:r}=he(e,t);return{type:e,template:t,content:n,updates:r,wire:null}})(t,n));const{content:o,updates:c,wire:a}=l;for(let e=0;e<s;e++)c[e](r[e]);return a||(l.wire=(e=>{const{childNodes:t}=e,{length:n}=t;if(n<2)return n?t[0]:e;const r=P.call(t,0);return{ELEMENT_NODE:1,nodeType:111,firstChild:r[0],lastChild:r[n-1],valueOf(){if(t.length!==n){let t=0;for(;t<n;)e.appendChild(r[t++])}return e}}})(o))},fe=({stack:e},t,n)=>{for(let r=0;r<n;r++){const n=t[r];n instanceof pe?t[r]=de(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):H(n)?fe(e[r]||(e[r]={stack:[],entry:null,wire:null}),n,n.length):e[r]=null}n<e.length&&e.splice(n)};function pe(e,t,n){this.type=e,this.template=t,this.values=n}const{create:ge,defineProperties:ve}=Object,me=e=>{const t=D(new WeakMap);return ve(((t,...n)=>new pe(e,t,n)),{for:{value(n,r){const s=t.get(n)||t.set(n,ge(null));return s[r]||(s[r]=(t=>(n,...r)=>de(t,{type:e,template:n,values:r}))({stack:[],entry:null,wire:null}))}},node:{value:(t,...n)=>de({stack:[],entry:null,wire:null},{type:e,template:t,values:n}).valueOf()}})},ye=D(new WeakMap),we=me("html"),be=me("svg"),{create:$e}=Object,Ce=(e,...t)=>new pe("html",e,t);Ce.for=Ae(we);const Ee=(e,...t)=>new pe("svg",e,t);Ee.for=Ae(be);const ke=D(new WeakMap),xe=(e,t)=>B((function(){const n=t.f.apply(this,arguments);return n instanceof pe?(Se(e,n),t.$=Te(t,n)):t.$=n,t.$})),Ne=()=>({s:[],e:null}),Me=(e,{f:t,c:n,a:r})=>{let{e:s}=e;return s&&s.f===t||(e.e=s={f:t,h:null,$:null},s.h=xe(Ne(),s)),s.h.apply(n,r)},Se=(e,{values:t})=>{Le(e,t,t.length)},Le=(e,t,n)=>{const{s:r}=e;for(let e=0;e<n;e++){const n=t[e];n instanceof _e?t[e]=Me(r[e]||(r[e]=Ne()),n):n instanceof pe?Se(r[e]||(r[e]=Ne()),n):H(n)?Le(r[e]||(r[e]=Ne()),n,n.length):r[e]=null}n<r.length&&r.splice(n)},Te=(e,{type:t,template:n,values:r})=>("svg"===t?be:we).for(e,t)(n,...r);function _e(e,t,n){this.f=e,this.c=t,this.a=n}function Ae(e){const t=D(new WeakMap);return(n,r)=>{const s=t.get(n)||t.set(n,$e(null)),l=s[r]||(s[r]=Ne());return(t,...s)=>(Le(l,s),e.for(n,r)(t,...s))}}return e.Component=function(e){return function(){return new _e(e,this,arguments)}},e.createContext=e=>({_:new Set,provide:w,value:e}),e.html=Ce,e.render=(e,t)=>(ke.get(e)||ke.set(e,{c:Ne(),h:B((function(t){const n="function"==typeof t?t():t;return((e,t)=>{const n="function"==typeof t?t():t,r=ye.get(e)||ye.set(e,{stack:[],entry:null,wire:null}),s=n instanceof pe?de(r,n):n;return s!==r.wire&&(r.wire=s,e.textContent="",e.appendChild(s.valueOf())),e})(e,n instanceof _e?Me(this.c,n):(Se(this.c,n),n))}),e)})).h(t),e.svg=Ee,e.useCallback=(e,t)=>b((()=>e),t),e.useContext=({_:e,value:t})=>(e.add(p()),t),e.useEffect=C,e.useLayoutEffect=E,e.useMemo=b,e.useReducer=(e,t,n)=>A(N,M,S,x(e,t,n)),e.useRef=e=>{const t=p(),{i:n,s:r}=t;return n===r.length&&r.push({current:e}),r[t.i++]},e.useState=e=>A(N,M,S,(e=>x(k,e))(e)),Object.defineProperty(e,"__esModule",{value:!0}),e}({});

@@ -165,5 +165,4 @@ self.uland = (function (exports) {

var h = null,
var info = null,
schedule = new Set();
var hooks = new WeakMap();

@@ -214,3 +213,3 @@ var invoke = function invoke(effect) {

var getInfo = function getInfo() {
return hooks.get(h);
return info;
};

@@ -224,3 +223,3 @@ var hasEffect = function hasEffect(hook) {

var hooked = function hooked(callback) {
var info = {
var current = {
h: hook,

@@ -233,14 +232,13 @@ c: null,

};
hooks.set(hook, info);
return hook;
function hook() {
var p = h;
h = hook;
info.e = info.i = 0;
var prev = info;
info = current;
current.e = current.i = 0;
try {
return callback.apply(info.c = this, info.a = arguments);
return callback.apply(current.c = this, current.a = arguments);
} finally {
h = p;
info = prev;
if (effects.length) wait.then(effects.forEach.bind(effects.splice(0), invoke));

@@ -374,3 +372,3 @@ if (layoutEffects.length) layoutEffects.splice(0).forEach(invoke);

/*! (c) Andrea Giammarchi - ISC */
var h$1 = null,
var h = null,
c = null,

@@ -406,6 +404,6 @@ a = null;

function () {
var ph = h$1,
var ph = h,
pc = c,
pa = a;
h$1 = hook;
h = hook;
c = this;

@@ -420,3 +418,3 @@ a = arguments;

} finally {
h$1 = ph;
h = ph;
c = pc;

@@ -429,6 +427,6 @@ a = pa;

var useReducer$1 = function useReducer$1(reducer, value, init) {
return wrap(h$1, c, a, useReducer(reducer, value, init));
return wrap(h, c, a, useReducer(reducer, value, init));
};
var useState$1 = function useState$1(value) {
return wrap(h$1, c, a, useState(value));
return wrap(h, c, a, useState(value));
};

@@ -435,0 +433,0 @@

self.uland=function(n){"use strict";function t(n){return function(n){if(Array.isArray(n))return e(n)}(n)||function(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}(n)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);"Object"===r&&n.constructor&&(r=n.constructor.name);if("Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(n,t)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
/*! (c) Andrea Giammarchi - ISC */()}function e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}var r={};r.CustomEvent="function"==typeof CustomEvent?CustomEvent:function(n){return t[n]=new t("").constructor[n],t;function t(n,t){t||(t={});var e=document.createEvent("CustomEvent");return e.initCustomEvent(n,!!t.bubbles,!!t.cancelable,t.detail),e}}("prototype");var u=r.CustomEvent,o=function(n,t,e,r){var u=new WeakMap,o=new WeakMap,i=new WeakMap,c=function(n){return u.has(n)},l=function(n){c(n)&&(f(n,n.removeEventListener,u.get(n)),u.delete(n))},f=function(n,t,e){t.call(n,"disconnected",e),t.call(n,"connected",e)},s=function(n,t,e,r){for(var u=n.length,o=0;o<u;o++)v(n[o],t,e,r)},v=function(n,r,u,o){c(n)&&!u.has(n)&&(o.delete(n),u.set(n,0),n.dispatchEvent(new(e||CustomEvent)(r))),s(n[t||"children"]||[],r,u,o)},h=new(r||MutationObserver)((function(n){for(var t=n.length,e=0;e<t;e++){var r=n[e],u=r.removedNodes,a=r.addedNodes;s(u,"disconnected",i,o),s(a,"connected",o,i)}}));return h.observe(n||document,{subtree:!0,childList:!0}),{has:c,connect:function(n,t){l(n),(t||(t={})).handleEvent||(t.handleEvent=a),f(n,n.addEventListener,t),u.set(n,t)},disconnect:l,kill:function(){h.disconnect()}}};function a(n){n.type in this&&this[n.type](n)}var i="function"==typeof Promise?Promise:function(n){var t,e=[],r=0;return n((function(n){t=n,r=1,e.splice(0).forEach(u)})),{then:u};function u(n){return r?setTimeout(n,0,t):e.push(n),this}},c=null,l=new Set,f=new WeakMap,s=function(n){var t=n.$,e=n.r,r=n.h;b(e)&&(h.get(r).delete(n),e()),b(n.r=t())&&h.get(r).add(n)},v=function(){var n=l;l=new Set,n.forEach((function(n){var t=n.h,e=n.c,r=n.a;n.e&&t.apply(e,r)}))},h=new WeakMap,d=[],p=[];function m(n,t){return n!==this[t]}var g=function(n){var t=h.get(n);t&&E.then((function(){t.forEach((function(n){n.r(),n.r=null})),t.clear()}))},y=function(){return f.get(c)},w=function(n){return h.has(n)},b=function(n){return"function"==typeof n},E=new i((function(n){return n()}));function C(n){var t=this._;this.value!==n&&(this._=new Set,this.value=n,t.forEach((function(n){var t=n.h,e=n.c,r=n.a;t.apply(e,r)})))}var k=function(n,t){var e=y(),r=e.i,u=e.s;return r!==u.length&&t&&!t.some(m,u[r]._)||(u[r]={$:n(),_:t}),u[e.i++].$},A=function(n){return function(t,e){var r=y(),u=r.i,o=r.s,a=r.h,i=u===o.length;r.i++,i&&(h.has(a)||h.set(a,new Set),o[u]={$:t,_:e,r:null,h:a}),(i||!e||e.some(m,o[u]._))&&n.push(o[u]),o[u].$=t,o[u]._=e}},x=A(d),N=A(p),M=function(n,t){return b(t)?t(n):t},S=function(n,t,e){var r=y(),u=r.i,o=r.s;u===o.length&&o.push({$:b(e)?e(t):M(void 0,t),set:function(t){o[u].$=n(o[u].$,t),function(n){l.has(n)||(n.e=1,l.add(n),E.then(v))}(r)}});var a=o[r.i++];return[a.$,a.set]},$=null,O=null,T=null,L=new WeakMap,_=new WeakMap,W=function(n,t,e,r){var u=function(u){L.has(n)||(L.set(n,0),E.then((function(){L.delete(n),n.apply(t,e)}))),r(u)};return _.set(r,u),u},j=function(n,t,e,r){return n?[r[0],_.get(r[1])||W(n,t,e,r[1])]:r},R=function(n,t){var e=function(n){var t={h:e,c:null,a:null,e:0,i:0,s:[]};return f.set(e,t),e;function e(){var r=c;c=e,t.e=t.i=0;try{return n.apply(t.c=this,t.a=arguments)}finally{c=r,d.length&&E.then(d.forEach.bind(d.splice(0),s)),p.length&&p.splice(0).forEach(s)}}}(t?function(){var t=$,r=O,u=T;$=e,O=this,T=arguments;try{return n.apply(O,T)}finally{$=t,O=r,T=u}}:n);return e},B=null,D=function(n){var t=n.firstChild;if(t&&1!==t.nodeType&&!(t=t.nextElementSibling))throw"unobservable";return t},H=function n(t){var e=t.nodeType;if(e)return 1===e?t:D(t);var r=t.valueOf();return r!==t?n(r):D(r)},P=function(n,t){var e=R(n,t);return function(){var n=e.apply(this,arguments);if(w(e)){var t=H(n);B||(B=o(t.ownerDocument,"children",u)),B.has(t)||B.connect(t,{disconnected:function(){g(e)}})}return n}},z=function(n){return{get:function(t){return n.get(t)},set:function(t,e){return n.set(t,e),e}}},I=Array.isArray,q=[],F=q.indexOf,U=q.slice,G=/([^\s\\>"'=]+)\s*=\s*(['"]?)$/,J=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,K=/<[a-z][^>]+$/i,Q=/>[^<>]*$/,V=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/>)/gi,X=/\s+$/,Y=function n(t,e){return 0<e--&&(K.test(t[e])||!Q.test(t[e])&&n(t,e))},Z=function(n,t,e){return J.test(t)?n:"<".concat(t).concat(e.replace(X,""),"></").concat(t,">")},nn=function(n,t,e){for(var r=[],u=n.length,o=function(e){var u=n[e-1];r.push(G.test(u)&&Y(n,e)?u.replace(G,(function(n,r,u){return"".concat(t).concat(e-1,"=").concat(u||'"').concat(r).concat(u?"":'"')})):"".concat(u,"\x3c!--").concat(t).concat(e-1,"--\x3e"))},a=1;a<u;a++)o(a);r.push(n[u-1]);var i=r.join("").trim();return e?i:i.replace(V,Z)},tn=function(n,t){return 111===n.nodeType?1/t<0?t?function(n){var t=n.firstChild,e=n.lastChild,r=document.createRange();return r.setStartAfter(t),r.setEndAfter(e),r.deleteContents(),t}(n):n.lastChild:t?n.valueOf():n.firstChild:n},en=function(n){var t="fragment",e="template",r="content"in o(e)?function(n){var t=o(e);return t.innerHTML=n,t.content}:function(n){var r=o(t),a=o(e),i=null;if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(n)){var c=RegExp.$1;a.innerHTML="<table>"+n+"</table>",i=a.querySelectorAll(c)}else a.innerHTML=n,i=a.childNodes;return u(r,i),r};return function(n,t){return("svg"===t?a:r)(n)};function u(n,t){for(var e=t.length;e--;)n.appendChild(t[0])}function o(e){return e===t?n.createDocumentFragment():n.createElementNS("http://www.w3.org/1999/xhtml",e)}function a(n){var e=o(t),r=o("div");return r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+n+"</svg>",u(e,r.firstChild.childNodes),e}}(document),rn=function(n,t){return n.childNodes[t]},un=function(n){for(var t=[],e=n.parentNode;e;)t.push(F.call(e.childNodes,n)),e=(n=e).parentNode;return t},on=document,an=on.createTreeWalker,cn=on.importNode,ln=1!=cn.length,fn=ln?function(n,t){return cn.call(document,en(n,t),!0)}:en,sn=ln?function(n){return an.call(document,n,129,null,!1)}:function(n){return an.call(document,n,129)},vn=function(n,t,e){return function(n,t,e,r,u){for(var o=e.length,a=t.length,i=o,c=0,l=0,f=null;c<a||l<i;)if(a===c)for(var s=i<o?l?r(e[l-1],-0).nextSibling:r(e[i-l],0):u;l<i;)n.insertBefore(r(e[l++],1),s);else if(i===l)for(;c<a;)f&&f.has(t[c])||n.removeChild(r(t[c],-1)),c++;else if(t[c]===e[l])c++,l++;else if(t[a-1]===e[i-1])a--,i--;else if(t[c]===e[i-1]&&e[l]===t[a-1]){var v=r(t[--a],-1).nextSibling;n.insertBefore(r(e[l++],1),r(t[c++],-1).nextSibling),n.insertBefore(r(e[--i],1),v),t[a]=e[i]}else{if(!f){f=new Map;for(var h=l;h<i;)f.set(e[h],h++)}if(f.has(t[c])){var d=f.get(t[c]);if(l<d&&d<i){for(var p=c,m=1;++p<a&&p<i&&f.get(t[p])===d+m;)m++;if(m>d-l)for(var g=r(t[c],0);l<d;)n.insertBefore(r(e[l++],1),g);else n.replaceChild(r(e[l++],1),r(t[c++],-1))}else c++}else n.removeChild(r(t[c++],-1))}return e}(n.parentNode,t,e,tn,n)},hn=function(n,t){return"ref"===t?function(n){return function(t){"function"==typeof t?t(n):t.current=n}}(n):"aria"===t?function(n){return function(t){for(var e in t){var r="role"===e?e:"aria-".concat(e),u=t[e];null==u?n.removeAttribute(r):n.setAttribute(r,u)}}}(n):".dataset"===t?function(n){var t=n.dataset;return function(n){for(var e in n){var r=n[e];null==r?delete t[e]:t[e]=r}}}(n):"."===t.slice(0,1)?function(n,t){return function(e){n[t]=e}}(n,t.slice(1)):"on"===t.slice(0,2)?function(n,t){var e,r=t.slice(2);return!(t in n)&&t.toLowerCase()in n&&(r=r.toLowerCase()),function(t){var u=I(t)?t:[t,!1];e!==u[0]&&(e&&n.removeEventListener(r,e,u[1]),(e=u[0])&&n.addEventListener(r,e,u[1]))}}(n,t):function(n,t){var e,r=!0,u=document.createAttributeNS(null,t);return function(t){e!==t&&(null==(e=t)?r||(n.removeAttributeNode(u),r=!0):(u.value=t,r&&(n.setAttributeNodeNS(u),r=!1)))}}(n,t)};function dn(n){var t=n.type,e=n.path.reduceRight(rn,this);return"node"===t?function(n){var t,e,r=[];return function u(o){switch(typeof o){case"string":case"number":case"boolean":t!==o&&(t=o,e?e.textContent=o:e=document.createTextNode(o),r=vn(n,r,[e]));break;case"object":case"undefined":if(null==o){t!=o&&(t=o,r=vn(n,r,[]));break}if(I(o)){t=o,0===o.length?r=vn(n,r,[]):"object"==typeof o[0]?r=vn(n,r,o):u(String(o));break}"ELEMENT_NODE"in o&&t!==o&&(t=o,r=vn(n,r,11===o.nodeType?U.call(o.childNodes):[o]))}}}(e):"attr"===t?hn(e,n.name):function(n){var t;return function(e){t!=e&&(t=e,n.textContent=null==e?"":e)}}(e)}var pn="isµ",mn=z(new WeakMap),gn=function(n,t){var e=mn.get(t)||mn.set(t,function(n,t){for(var e=nn(t,pn,"svg"===n),r=fn(e,n),u=sn(r),o=[],a=t.length-1,i=0,c="".concat(pn).concat(i);i<a;){var l=u.nextNode();if(!l)throw"bad template: ".concat(e);if(8===l.nodeType)l.textContent===c&&(o.push({type:"node",path:un(l)}),c="".concat(pn).concat(++i));else{for(;l.hasAttribute(c);)o.push({type:"attr",path:un(l),name:l.getAttribute(c)}),l.removeAttribute(c),c="".concat(pn).concat(++i);/^(?:style|textarea)$/i.test(l.tagName)&&l.textContent.trim()==="\x3c!--".concat(c,"--\x3e")&&(l.textContent="",o.push({type:"text",path:un(l)}),c="".concat(pn).concat(++i))}}return{content:r,nodes:o}}(n,t)),r=e.content,u=e.nodes,o=cn.call(document,r,!0);return{content:o,updates:u.map(dn,o)}},yn=function(n,t){var e=t.type,r=t.template,u=t.values,o=u.length;wn(n,u,o);var a=n.entry;a&&a.template===r&&a.type===e||(n.entry=a=function(n,t){var e=gn(n,t);return{type:n,template:t,content:e.content,updates:e.updates,wire:null}}(e,r));for(var i=a,c=i.content,l=i.updates,f=i.wire,s=0;s<o;s++)l[s](u[s]);return f||(a.wire=function(n){var t=n.childNodes,e=t.length;if(e<2)return e?t[0]:n;var r=U.call(t,0);return{ELEMENT_NODE:1,nodeType:111,firstChild:r[0],lastChild:r[e-1],valueOf:function(){if(t.length!==e)for(var u=0;u<e;)n.appendChild(r[u++]);return n}}}(c))},wn=function n(t,e,r){for(var u=t.stack,o=0;o<r;o++){var a=e[o];a instanceof bn?e[o]=yn(u[o]||(u[o]={stack:[],entry:null,wire:null}),a):I(a)?n(u[o]||(u[o]={stack:[],entry:null,wire:null}),a,a.length):u[o]=null}r<u.length&&u.splice(r)};function bn(n,t,e){this.type=n,this.template=t,this.values=e}var En=Object.create,Cn=Object.defineProperties,kn=function(n){var t=z(new WeakMap);return Cn((function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),u=1;u<e;u++)r[u-1]=arguments[u];return new bn(n,t,r)}),{for:{value:function(e,r){var u=t.get(e)||t.set(e,En(null));return u[r]||(u[r]=function(t){return function(e){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];return yn(t,{type:n,template:e,values:u})}}({stack:[],entry:null,wire:null}))}},node:{value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),u=1;u<e;u++)r[u-1]=arguments[u];return yn({stack:[],entry:null,wire:null},{type:n,template:t,values:r}).valueOf()}}})},An=z(new WeakMap),xn=kn("html"),Nn=kn("svg"),Mn=Object.create,Sn=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return new bn("html",n,e)};Sn.for=Bn(xn);var $n=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return new bn("svg",n,e)};$n.for=Bn(Nn);var On=z(new WeakMap),Tn=function(){return{s:[],e:null}},Ln=function(n,t){var e=t.f,r=t.c,u=t.a,o=n.e;return o&&o.f===e||(n.e=o={f:e,h:null,$:null},o.h=function(n,t){return P((function(){var e=t.f.apply(this,arguments);return e instanceof bn?(_n(n,e),t.$=jn(t,e)):t.$=e,t.$}))}(Tn(),o)),o.h.apply(r,u)},_n=function(n,t){var e=t.values;Wn(n,e,e.length)},Wn=function n(t,e,r){for(var u=t.s,o=0;o<r;o++){var a=e[o];a instanceof Rn?e[o]=Ln(u[o]||(u[o]=Tn()),a):a instanceof bn?_n(u[o]||(u[o]=Tn()),a):I(a)?n(u[o]||(u[o]=Tn()),a,a.length):u[o]=null}r<u.length&&u.splice(r)},jn=function(n,e){var r=e.type,u=e.template,o=e.values;return("svg"===r?Nn:xn).for(n,r).apply(void 0,[u].concat(t(o)))};function Rn(n,t,e){this.f=n,this.c=t,this.a=e}function Bn(n){var t=z(new WeakMap);return function(e,r){var u=t.get(e)||t.set(e,Mn(null)),o=u[r]||(u[r]=Tn());return function(t){for(var u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];return Wn(o,a),n.for(e,r).apply(void 0,[t].concat(a))}}}return n.Component=function(n){return function(){return new Rn(n,this,arguments)}},n.createContext=function(n){return{_:new Set,provide:C,value:n}},n.html=Sn,n.render=function(n,t){return(On.get(n)||On.set(n,{c:Tn(),h:P((function(t){var e="function"==typeof t?t():t;return function(n,t){var e="function"==typeof t?t():t,r=An.get(n)||An.set(n,{stack:[],entry:null,wire:null}),u=e instanceof bn?yn(r,e):e;return u!==r.wire&&(r.wire=u,n.textContent="",n.appendChild(u.valueOf())),n}(n,e instanceof Rn?Ln(this.c,e):(_n(this.c,e),e))}),n)})).h(t)},n.svg=$n,n.useCallback=function(n,t){return k((function(){return n}),t)},n.useContext=function(n){var t=n._,e=n.value;return t.add(y()),e},n.useEffect=x,n.useLayoutEffect=N,n.useMemo=k,n.useReducer=function(n,t,e){return j($,O,T,S(n,t,e))},n.useRef=function(n){var t=y(),e=t.i,r=t.s;return e===r.length&&r.push({current:n}),r[t.i++]},n.useState=function(n){return j($,O,T,function(n){return S(M,n)}(n))},Object.defineProperty(n,"__esModule",{value:!0}),n}({});
/*! (c) Andrea Giammarchi - ISC */()}function e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}var r={};r.CustomEvent="function"==typeof CustomEvent?CustomEvent:function(n){return t[n]=new t("").constructor[n],t;function t(n,t){t||(t={});var e=document.createEvent("CustomEvent");return e.initCustomEvent(n,!!t.bubbles,!!t.cancelable,t.detail),e}}("prototype");var u=r.CustomEvent,o=function(n,t,e,r){var u=new WeakMap,o=new WeakMap,i=new WeakMap,c=function(n){return u.has(n)},l=function(n){c(n)&&(f(n,n.removeEventListener,u.get(n)),u.delete(n))},f=function(n,t,e){t.call(n,"disconnected",e),t.call(n,"connected",e)},s=function(n,t,e,r){for(var u=n.length,o=0;o<u;o++)v(n[o],t,e,r)},v=function(n,r,u,o){c(n)&&!u.has(n)&&(o.delete(n),u.set(n,0),n.dispatchEvent(new(e||CustomEvent)(r))),s(n[t||"children"]||[],r,u,o)},h=new(r||MutationObserver)((function(n){for(var t=n.length,e=0;e<t;e++){var r=n[e],u=r.removedNodes,a=r.addedNodes;s(u,"disconnected",i,o),s(a,"connected",o,i)}}));return h.observe(n||document,{subtree:!0,childList:!0}),{has:c,connect:function(n,t){l(n),(t||(t={})).handleEvent||(t.handleEvent=a),f(n,n.addEventListener,t),u.set(n,t)},disconnect:l,kill:function(){h.disconnect()}}};function a(n){n.type in this&&this[n.type](n)}var i="function"==typeof Promise?Promise:function(n){var t,e=[],r=0;return n((function(n){t=n,r=1,e.splice(0).forEach(u)})),{then:u};function u(n){return r?setTimeout(n,0,t):e.push(n),this}},c=null,l=new Set,f=function(n){var t=n.$,e=n.r,r=n.h;w(e)&&(v.get(r).delete(n),e()),w(n.r=t())&&v.get(r).add(n)},s=function(){var n=l;l=new Set,n.forEach((function(n){var t=n.h,e=n.c,r=n.a;n.e&&t.apply(e,r)}))},v=new WeakMap,h=[],d=[];function p(n,t){return n!==this[t]}var m=function(n){var t=v.get(n);t&&b.then((function(){t.forEach((function(n){n.r(),n.r=null})),t.clear()}))},y=function(){return c},g=function(n){return v.has(n)},w=function(n){return"function"==typeof n},b=new i((function(n){return n()}));function E(n){var t=this._;this.value!==n&&(this._=new Set,this.value=n,t.forEach((function(n){var t=n.h,e=n.c,r=n.a;t.apply(e,r)})))}var C=function(n,t){var e=y(),r=e.i,u=e.s;return r!==u.length&&t&&!t.some(p,u[r]._)||(u[r]={$:n(),_:t}),u[e.i++].$},k=function(n){return function(t,e){var r=y(),u=r.i,o=r.s,a=r.h,i=u===o.length;r.i++,i&&(v.has(a)||v.set(a,new Set),o[u]={$:t,_:e,r:null,h:a}),(i||!e||e.some(p,o[u]._))&&n.push(o[u]),o[u].$=t,o[u]._=e}},A=k(h),x=k(d),N=function(n,t){return w(t)?t(n):t},M=function(n,t,e){var r=y(),u=r.i,o=r.s;u===o.length&&o.push({$:w(e)?e(t):N(void 0,t),set:function(t){o[u].$=n(o[u].$,t),function(n){l.has(n)||(n.e=1,l.add(n),b.then(s))}(r)}});var a=o[r.i++];return[a.$,a.set]},S=null,$=null,O=null,T=new WeakMap,L=new WeakMap,_=function(n,t,e,r){var u=function(u){T.has(n)||(T.set(n,0),b.then((function(){T.delete(n),n.apply(t,e)}))),r(u)};return L.set(r,u),u},W=function(n,t,e,r){return n?[r[0],L.get(r[1])||_(n,t,e,r[1])]:r},j=function(n,t){var e=function(n){var t={h:e,c:null,a:null,e:0,i:0,s:[]};return e;function e(){var e=c;c=t,t.e=t.i=0;try{return n.apply(t.c=this,t.a=arguments)}finally{c=e,h.length&&b.then(h.forEach.bind(h.splice(0),f)),d.length&&d.splice(0).forEach(f)}}}(t?function(){var t=S,r=$,u=O;S=e,$=this,O=arguments;try{return n.apply($,O)}finally{S=t,$=r,O=u}}:n);return e},R=null,B=function(n){var t=n.firstChild;if(t&&1!==t.nodeType&&!(t=t.nextElementSibling))throw"unobservable";return t},D=function n(t){var e=t.nodeType;if(e)return 1===e?t:B(t);var r=t.valueOf();return r!==t?n(r):B(r)},H=function(n,t){var e=j(n,t);return function(){var n=e.apply(this,arguments);if(g(e)){var t=D(n);R||(R=o(t.ownerDocument,"children",u)),R.has(t)||R.connect(t,{disconnected:function(){m(e)}})}return n}},P=function(n){return{get:function(t){return n.get(t)},set:function(t,e){return n.set(t,e),e}}},z=Array.isArray,I=[],q=I.indexOf,F=I.slice,U=/([^\s\\>"'=]+)\s*=\s*(['"]?)$/,G=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,J=/<[a-z][^>]+$/i,K=/>[^<>]*$/,Q=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/>)/gi,V=/\s+$/,X=function n(t,e){return 0<e--&&(J.test(t[e])||!K.test(t[e])&&n(t,e))},Y=function(n,t,e){return G.test(t)?n:"<".concat(t).concat(e.replace(V,""),"></").concat(t,">")},Z=function(n,t,e){for(var r=[],u=n.length,o=function(e){var u=n[e-1];r.push(U.test(u)&&X(n,e)?u.replace(U,(function(n,r,u){return"".concat(t).concat(e-1,"=").concat(u||'"').concat(r).concat(u?"":'"')})):"".concat(u,"\x3c!--").concat(t).concat(e-1,"--\x3e"))},a=1;a<u;a++)o(a);r.push(n[u-1]);var i=r.join("").trim();return e?i:i.replace(Q,Y)},nn=function(n,t){return 111===n.nodeType?1/t<0?t?function(n){var t=n.firstChild,e=n.lastChild,r=document.createRange();return r.setStartAfter(t),r.setEndAfter(e),r.deleteContents(),t}(n):n.lastChild:t?n.valueOf():n.firstChild:n},tn=function(n){var t="fragment",e="template",r="content"in o(e)?function(n){var t=o(e);return t.innerHTML=n,t.content}:function(n){var r=o(t),a=o(e),i=null;if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(n)){var c=RegExp.$1;a.innerHTML="<table>"+n+"</table>",i=a.querySelectorAll(c)}else a.innerHTML=n,i=a.childNodes;return u(r,i),r};return function(n,t){return("svg"===t?a:r)(n)};function u(n,t){for(var e=t.length;e--;)n.appendChild(t[0])}function o(e){return e===t?n.createDocumentFragment():n.createElementNS("http://www.w3.org/1999/xhtml",e)}function a(n){var e=o(t),r=o("div");return r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+n+"</svg>",u(e,r.firstChild.childNodes),e}}(document),en=function(n,t){return n.childNodes[t]},rn=function(n){for(var t=[],e=n.parentNode;e;)t.push(q.call(e.childNodes,n)),e=(n=e).parentNode;return t},un=document,on=un.createTreeWalker,an=un.importNode,cn=1!=an.length,ln=cn?function(n,t){return an.call(document,tn(n,t),!0)}:tn,fn=cn?function(n){return on.call(document,n,129,null,!1)}:function(n){return on.call(document,n,129)},sn=function(n,t,e){return function(n,t,e,r,u){for(var o=e.length,a=t.length,i=o,c=0,l=0,f=null;c<a||l<i;)if(a===c)for(var s=i<o?l?r(e[l-1],-0).nextSibling:r(e[i-l],0):u;l<i;)n.insertBefore(r(e[l++],1),s);else if(i===l)for(;c<a;)f&&f.has(t[c])||n.removeChild(r(t[c],-1)),c++;else if(t[c]===e[l])c++,l++;else if(t[a-1]===e[i-1])a--,i--;else if(t[c]===e[i-1]&&e[l]===t[a-1]){var v=r(t[--a],-1).nextSibling;n.insertBefore(r(e[l++],1),r(t[c++],-1).nextSibling),n.insertBefore(r(e[--i],1),v),t[a]=e[i]}else{if(!f){f=new Map;for(var h=l;h<i;)f.set(e[h],h++)}if(f.has(t[c])){var d=f.get(t[c]);if(l<d&&d<i){for(var p=c,m=1;++p<a&&p<i&&f.get(t[p])===d+m;)m++;if(m>d-l)for(var y=r(t[c],0);l<d;)n.insertBefore(r(e[l++],1),y);else n.replaceChild(r(e[l++],1),r(t[c++],-1))}else c++}else n.removeChild(r(t[c++],-1))}return e}(n.parentNode,t,e,nn,n)},vn=function(n,t){return"ref"===t?function(n){return function(t){"function"==typeof t?t(n):t.current=n}}(n):"aria"===t?function(n){return function(t){for(var e in t){var r="role"===e?e:"aria-".concat(e),u=t[e];null==u?n.removeAttribute(r):n.setAttribute(r,u)}}}(n):".dataset"===t?function(n){var t=n.dataset;return function(n){for(var e in n){var r=n[e];null==r?delete t[e]:t[e]=r}}}(n):"."===t.slice(0,1)?function(n,t){return function(e){n[t]=e}}(n,t.slice(1)):"on"===t.slice(0,2)?function(n,t){var e,r=t.slice(2);return!(t in n)&&t.toLowerCase()in n&&(r=r.toLowerCase()),function(t){var u=z(t)?t:[t,!1];e!==u[0]&&(e&&n.removeEventListener(r,e,u[1]),(e=u[0])&&n.addEventListener(r,e,u[1]))}}(n,t):function(n,t){var e,r=!0,u=document.createAttributeNS(null,t);return function(t){e!==t&&(null==(e=t)?r||(n.removeAttributeNode(u),r=!0):(u.value=t,r&&(n.setAttributeNodeNS(u),r=!1)))}}(n,t)};function hn(n){var t=n.type,e=n.path.reduceRight(en,this);return"node"===t?function(n){var t,e,r=[];return function u(o){switch(typeof o){case"string":case"number":case"boolean":t!==o&&(t=o,e?e.textContent=o:e=document.createTextNode(o),r=sn(n,r,[e]));break;case"object":case"undefined":if(null==o){t!=o&&(t=o,r=sn(n,r,[]));break}if(z(o)){t=o,0===o.length?r=sn(n,r,[]):"object"==typeof o[0]?r=sn(n,r,o):u(String(o));break}"ELEMENT_NODE"in o&&t!==o&&(t=o,r=sn(n,r,11===o.nodeType?F.call(o.childNodes):[o]))}}}(e):"attr"===t?vn(e,n.name):function(n){var t;return function(e){t!=e&&(t=e,n.textContent=null==e?"":e)}}(e)}var dn="isµ",pn=P(new WeakMap),mn=function(n,t){var e=pn.get(t)||pn.set(t,function(n,t){for(var e=Z(t,dn,"svg"===n),r=ln(e,n),u=fn(r),o=[],a=t.length-1,i=0,c="".concat(dn).concat(i);i<a;){var l=u.nextNode();if(!l)throw"bad template: ".concat(e);if(8===l.nodeType)l.textContent===c&&(o.push({type:"node",path:rn(l)}),c="".concat(dn).concat(++i));else{for(;l.hasAttribute(c);)o.push({type:"attr",path:rn(l),name:l.getAttribute(c)}),l.removeAttribute(c),c="".concat(dn).concat(++i);/^(?:style|textarea)$/i.test(l.tagName)&&l.textContent.trim()==="\x3c!--".concat(c,"--\x3e")&&(l.textContent="",o.push({type:"text",path:rn(l)}),c="".concat(dn).concat(++i))}}return{content:r,nodes:o}}(n,t)),r=e.content,u=e.nodes,o=an.call(document,r,!0);return{content:o,updates:u.map(hn,o)}},yn=function(n,t){var e=t.type,r=t.template,u=t.values,o=u.length;gn(n,u,o);var a=n.entry;a&&a.template===r&&a.type===e||(n.entry=a=function(n,t){var e=mn(n,t);return{type:n,template:t,content:e.content,updates:e.updates,wire:null}}(e,r));for(var i=a,c=i.content,l=i.updates,f=i.wire,s=0;s<o;s++)l[s](u[s]);return f||(a.wire=function(n){var t=n.childNodes,e=t.length;if(e<2)return e?t[0]:n;var r=F.call(t,0);return{ELEMENT_NODE:1,nodeType:111,firstChild:r[0],lastChild:r[e-1],valueOf:function(){if(t.length!==e)for(var u=0;u<e;)n.appendChild(r[u++]);return n}}}(c))},gn=function n(t,e,r){for(var u=t.stack,o=0;o<r;o++){var a=e[o];a instanceof wn?e[o]=yn(u[o]||(u[o]={stack:[],entry:null,wire:null}),a):z(a)?n(u[o]||(u[o]={stack:[],entry:null,wire:null}),a,a.length):u[o]=null}r<u.length&&u.splice(r)};function wn(n,t,e){this.type=n,this.template=t,this.values=e}var bn=Object.create,En=Object.defineProperties,Cn=function(n){var t=P(new WeakMap);return En((function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),u=1;u<e;u++)r[u-1]=arguments[u];return new wn(n,t,r)}),{for:{value:function(e,r){var u=t.get(e)||t.set(e,bn(null));return u[r]||(u[r]=function(t){return function(e){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];return yn(t,{type:n,template:e,values:u})}}({stack:[],entry:null,wire:null}))}},node:{value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),u=1;u<e;u++)r[u-1]=arguments[u];return yn({stack:[],entry:null,wire:null},{type:n,template:t,values:r}).valueOf()}}})},kn=P(new WeakMap),An=Cn("html"),xn=Cn("svg"),Nn=Object.create,Mn=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return new wn("html",n,e)};Mn.for=Rn(An);var Sn=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return new wn("svg",n,e)};Sn.for=Rn(xn);var $n=P(new WeakMap),On=function(){return{s:[],e:null}},Tn=function(n,t){var e=t.f,r=t.c,u=t.a,o=n.e;return o&&o.f===e||(n.e=o={f:e,h:null,$:null},o.h=function(n,t){return H((function(){var e=t.f.apply(this,arguments);return e instanceof wn?(Ln(n,e),t.$=Wn(t,e)):t.$=e,t.$}))}(On(),o)),o.h.apply(r,u)},Ln=function(n,t){var e=t.values;_n(n,e,e.length)},_n=function n(t,e,r){for(var u=t.s,o=0;o<r;o++){var a=e[o];a instanceof jn?e[o]=Tn(u[o]||(u[o]=On()),a):a instanceof wn?Ln(u[o]||(u[o]=On()),a):z(a)?n(u[o]||(u[o]=On()),a,a.length):u[o]=null}r<u.length&&u.splice(r)},Wn=function(n,e){var r=e.type,u=e.template,o=e.values;return("svg"===r?xn:An).for(n,r).apply(void 0,[u].concat(t(o)))};function jn(n,t,e){this.f=n,this.c=t,this.a=e}function Rn(n){var t=P(new WeakMap);return function(e,r){var u=t.get(e)||t.set(e,Nn(null)),o=u[r]||(u[r]=On());return function(t){for(var u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];return _n(o,a),n.for(e,r).apply(void 0,[t].concat(a))}}}return n.Component=function(n){return function(){return new jn(n,this,arguments)}},n.createContext=function(n){return{_:new Set,provide:E,value:n}},n.html=Mn,n.render=function(n,t){return($n.get(n)||$n.set(n,{c:On(),h:H((function(t){var e="function"==typeof t?t():t;return function(n,t){var e="function"==typeof t?t():t,r=kn.get(n)||kn.set(n,{stack:[],entry:null,wire:null}),u=e instanceof wn?yn(r,e):e;return u!==r.wire&&(r.wire=u,n.textContent="",n.appendChild(u.valueOf())),n}(n,e instanceof jn?Tn(this.c,e):(Ln(this.c,e),e))}),n)})).h(t)},n.svg=Sn,n.useCallback=function(n,t){return C((function(){return n}),t)},n.useContext=function(n){var t=n._,e=n.value;return t.add(y()),e},n.useEffect=A,n.useLayoutEffect=x,n.useMemo=C,n.useReducer=function(n,t,e){return W(S,$,O,M(n,t,e))},n.useRef=function(n){var t=y(),e=t.i,r=t.s;return e===r.length&&r.push({current:n}),r[t.i++]},n.useState=function(n){return W(S,$,O,function(n){return M(N,n)}(n))},Object.defineProperty(n,"__esModule",{value:!0}),n}({});
{
"name": "uland",
"version": "0.5.3",
"version": "0.5.4",
"main": "./cjs/index.js",

@@ -31,3 +31,3 @@ "scripts": {

"drop-babel-typeof": "^1.0.3",
"rollup": "^2.35.1",
"rollup": "^2.36.0",
"rollup-plugin-babel": "^4.4.0",

@@ -54,3 +54,3 @@ "rollup-plugin-includepaths": "^0.2.4",

"uarray": "^1.0.0",
"uhooks-dom": "^0.2.1",
"uhooks-dom": "^0.2.2",
"uhtml": "^2.2.0",

@@ -57,0 +57,0 @@ "umap": "^1.0.2"

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc