New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ficusjs/renderers

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ficusjs/renderers - npm Package Compare versions

Comparing version
5.8.0
to
5.8.1
+1
-1
dist/css.mjs

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

function createStyle(e){const t=document.createElement("style");return t.appendChild(document.createTextNode(e)),t}function css(e,...t){const n=e.raw;let c="",r=1;const o=arguments.length;let l,s;for(;r<o;)l=n[r-1],s=t[r-1],c+=l+s,r++;return c+=n[n.length-1],createStyle(c)}export{css};
function css(e,...t){const n=e.raw;let c="",o=1;const r=arguments.length;let s,l;for(;o<r;)s=n[o-1],l=t[o-1],c+=s+l,o++;return c+=n[n.length-1],function(e){const t=document.createElement("style");return t.appendChild(document.createTextNode(e)),t}(c)}export{css};
//# sourceMappingURL=css.mjs.map

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

{"version":3,"file":"css.mjs","sources":["../src/css.mjs"],"sourcesContent":["function createStyle (css) {\n const style = document.createElement('style')\n style.appendChild(document.createTextNode(css))\n return style\n}\n\nexport function css (literals, ...vars) {\n const raw = literals.raw\n let result = ''\n let i = 1\n const len = arguments.length\n let str\n let variable\n\n while (i < len) {\n str = raw[i - 1]\n variable = vars[i - 1]\n result += str + variable\n i++\n }\n result += raw[raw.length - 1]\n\n return createStyle(result)\n}\n"],"names":["createStyle","css","style","document","createElement","appendChild","createTextNode","literals","vars","raw","result","i","len","arguments","length","str","variable"],"mappings":"AAAA,SAASA,YAAaC,GACpB,MAAMC,EAAQC,SAASC,cAAc,SAErC,OADAF,EAAMG,YAAYF,SAASG,eAAeL,IACnCC,CACT,CAEO,SAASD,IAAKM,KAAaC,GAChC,MAAMC,EAAMF,EAASE,IACrB,IAAIC,EAAS,GACTC,EAAI,EACR,MAAMC,EAAMC,UAAUC,OACtB,IAAIC,EACAC,EAEJ,KAAOL,EAAIC,GACTG,EAAMN,EAAIE,EAAI,GACdK,EAAWR,EAAKG,EAAI,GACpBD,GAAUK,EAAMC,EAChBL,IAIF,OAFAD,GAAUD,EAAIA,EAAIK,OAAS,GAEpBd,YAAYU,EACrB"}
{"version":3,"file":"css.mjs","sources":["../src/css.mjs"],"sourcesContent":["function createStyle (css) {\n const style = document.createElement('style')\n style.appendChild(document.createTextNode(css))\n return style\n}\n\nexport function css (literals, ...vars) {\n const raw = literals.raw\n let result = ''\n let i = 1\n const len = arguments.length\n let str\n let variable\n\n while (i < len) {\n str = raw[i - 1]\n variable = vars[i - 1]\n result += str + variable\n i++\n }\n result += raw[raw.length - 1]\n\n return createStyle(result)\n}\n"],"names":["css","literals","vars","raw","result","i","len","arguments","length","str","variable","style","document","createElement","appendChild","createTextNode","createStyle"],"mappings":"AAMO,SAASA,IAAKC,KAAaC,GAChC,MAAMC,EAAMF,EAASE,IACrB,IAAIC,EAAS,GACTC,EAAI,EACR,MAAMC,EAAMC,UAAUC,OACtB,IAAIC,EACAC,EAEJ,KAAOL,EAAIC,GACTG,EAAMN,EAAIE,EAAI,GACdK,EAAWR,EAAKG,EAAI,GACpBD,GAAUK,EAAMC,EAChBL,IAIF,OAFAD,GAAUD,EAAIA,EAAIK,OAAS,GApB7B,SAAsBR,GACpB,MAAMW,EAAQC,SAASC,cAAc,SAErC,OADAF,EAAMG,YAAYF,SAASG,eAAef,IACnCW,CACT,CAkBSK,CAAYZ,EACrB"}

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

{"version":3,"file":"htm-preact.mjs","sources":["../node_modules/htm/preact/standalone.mjs"],"sourcesContent":["var e,n,_,t,o,r,u,l={},i=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(e,n){for(var _ in n)e[_]=n[_];return e}function f(e){var n=e.parentNode;n&&n.removeChild(e)}function a(n,_,t){var o,r,u,l={};for(u in _)\"key\"==u?o=_[u]:\"ref\"==u?r=_[u]:l[u]=_[u];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):t),\"function\"==typeof n&&null!=n.defaultProps)for(u in n.defaultProps)void 0===l[u]&&(l[u]=n.defaultProps[u]);return p(n,l,o,r,null)}function p(e,t,o,r,u){var l={type:e,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++_:u};return null!=n.vnode&&n.vnode(l),l}function h(e){return e.children}function d(e,n){this.props=e,this.context=n}function v(e,n){if(null==n)return e.__?v(e.__,e.__.__k.indexOf(e)+1):null;for(var _;n<e.__k.length;n++)if(null!=(_=e.__k[n])&&null!=_.__e)return _.__e;return\"function\"==typeof e.type?v(e):null}function y(e){var n,_;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(_=e.__k[n])&&null!=_.__e){e.__e=e.__c.base=_.__e;break}return y(e)}}function m(e){(!e.__d&&(e.__d=!0)&&t.push(e)&&!g.__r++||r!==n.debounceRendering)&&((r=n.debounceRendering)||o)(g)}function g(){for(var e;g.__r=t.length;)e=t.sort(function(e,n){return e.__v.__b-n.__v.__b}),t=[],e.some(function(e){var n,_,t,o,r,u;e.__d&&(r=(o=(n=e).__v).__e,(u=n.__P)&&(_=[],(t=s({},o)).__v=o.__v+1,P(u,o,t,n.__n,void 0!==u.ownerSVGElement,null!=o.__h?[r]:null,_,null==r?v(o):r,o.__h),D(_,o),o.__e!=r&&y(o)))})}function k(e,n,_,t,o,r,u,c,s,f){var a,d,y,m,g,k,x,H=t&&t.__k||i,E=H.length;for(_.__k=[],a=0;a<n.length;a++)if(null!=(m=_.__k[a]=null==(m=n[a])||\"boolean\"==typeof m?null:\"string\"==typeof m||\"number\"==typeof m||\"bigint\"==typeof m?p(null,m,null,null,m):Array.isArray(m)?p(h,{children:m},null,null,null):m.__b>0?p(m.type,m.props,m.key,null,m.__v):m)){if(m.__=_,m.__b=_.__b+1,null===(y=H[a])||y&&m.key==y.key&&m.type===y.type)H[a]=void 0;else for(d=0;d<E;d++){if((y=H[d])&&m.key==y.key&&m.type===y.type){H[d]=void 0;break}y=null}P(e,m,y=y||l,o,r,u,c,s,f),g=m.__e,(d=m.ref)&&y.ref!=d&&(x||(x=[]),y.ref&&x.push(y.ref,null,m),x.push(d,m.__c||g,m)),null!=g?(null==k&&(k=g),\"function\"==typeof m.type&&null!=m.__k&&m.__k===y.__k?m.__d=s=b(m,s,e):s=C(e,m,y,H,g,s),f||\"option\"!==_.type?\"function\"==typeof _.type&&(_.__d=s):e.value=\"\"):s&&y.__e==s&&s.parentNode!=e&&(s=v(y))}for(_.__e=k,a=E;a--;)null!=H[a]&&(\"function\"==typeof _.type&&null!=H[a].__e&&H[a].__e==_.__d&&(_.__d=v(t,a+1)),U(H[a],H[a]));if(x)for(a=0;a<x.length;a++)T(x[a],x[++a],x[++a])}function b(e,n,_){var t,o;for(t=0;t<e.__k.length;t++)(o=e.__k[t])&&(o.__=e,n=\"function\"==typeof o.type?b(o,n,_):C(_,o,o,e.__k,o.__e,n));return n}function C(e,n,_,t,o,r){var u,l,i;if(void 0!==n.__d)u=n.__d,n.__d=void 0;else if(null==_||o!=r||null==o.parentNode)e:if(null==r||r.parentNode!==e)e.appendChild(o),u=null;else{for(l=r,i=0;(l=l.nextSibling)&&i<t.length;i+=2)if(l==o)break e;e.insertBefore(o,r),u=r}return void 0!==u?u:o.nextSibling}function x(e,n,_){\"-\"===n[0]?e.setProperty(n,_):e[n]=null==_?\"\":\"number\"!=typeof _||c.test(n)?_:_+\"px\"}function H(e,n,_,t,o){var r;e:if(\"style\"===n)if(\"string\"==typeof _)e.style.cssText=_;else{if(\"string\"==typeof t&&(e.style.cssText=t=\"\"),t)for(n in t)_&&n in _||x(e.style,n,\"\");if(_)for(n in _)t&&_[n]===t[n]||x(e.style,n,_[n])}else if(\"o\"===n[0]&&\"n\"===n[1])r=n!==(n=n.replace(/Capture$/,\"\")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+r]=_,_?t||e.addEventListener(n,r?S:E,r):e.removeEventListener(n,r?S:E,r);else if(\"dangerouslySetInnerHTML\"!==n){if(o)n=n.replace(/xlink[H:h]/,\"h\").replace(/sName$/,\"s\");else if(\"href\"!==n&&\"list\"!==n&&\"form\"!==n&&\"tabIndex\"!==n&&\"download\"!==n&&n in e)try{e[n]=null==_?\"\":_;break e}catch(e){}\"function\"==typeof _||(null!=_&&(!1!==_||\"a\"===n[0]&&\"r\"===n[1])?e.setAttribute(n,_):e.removeAttribute(n))}}function E(e){this.l[e.type+!1](n.event?n.event(e):e)}function S(e){this.l[e.type+!0](n.event?n.event(e):e)}function P(e,_,t,o,r,u,l,i,c){var f,a,p,v,y,m,g,b,C,x,H,E=_.type;if(void 0!==_.constructor)return null;null!=t.__h&&(c=t.__h,i=_.__e=t.__e,_.__h=null,u=[i]),(f=n.__b)&&f(_);try{e:if(\"function\"==typeof E){if(b=_.props,C=(f=E.contextType)&&o[f.__c],x=f?C?C.props.value:f.__:o,t.__c?g=(a=_.__c=t.__c).__=a.__E:(\"prototype\"in E&&E.prototype.render?_.__c=a=new E(b,x):(_.__c=a=new d(b,x),a.constructor=E,a.render=A),C&&C.sub(a),a.props=b,a.state||(a.state={}),a.context=x,a.__n=o,p=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=E.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=s({},a.__s)),s(a.__s,E.getDerivedStateFromProps(b,a.__s))),v=a.props,y=a.state,p)null==E.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==E.getDerivedStateFromProps&&b!==v&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,x),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,x)||_.__v===t.__v){a.props=b,a.state=a.__s,_.__v!==t.__v&&(a.__d=!1),a.__v=_,_.__e=t.__e,_.__k=t.__k,_.__k.forEach(function(e){e&&(e.__=_)}),a.__h.length&&l.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,x),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(v,y,m)})}a.context=x,a.props=b,a.state=a.__s,(f=n.__r)&&f(_),a.__d=!1,a.__v=_,a.__P=e,f=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(o=s(s({},o),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(m=a.getSnapshotBeforeUpdate(v,y)),H=null!=f&&f.type===h&&null==f.key?f.props.children:f,k(e,Array.isArray(H)?H:[H],_,t,o,r,u,l,i,c),a.base=_.__e,_.__h=null,a.__h.length&&l.push(a),g&&(a.__E=a.__=null),a.__e=!1}else null==u&&_.__v===t.__v?(_.__k=t.__k,_.__e=t.__e):_.__e=w(t.__e,_,t,o,r,u,l,c);(f=n.diffed)&&f(_)}catch(e){_.__v=null,(c||null!=u)&&(_.__e=i,_.__h=!!c,u[u.indexOf(i)]=null),n.__e(e,_,t)}}function D(e,_){n.__c&&n.__c(_,e),e.some(function(_){try{e=_.__h,_.__h=[],e.some(function(e){e.call(_)})}catch(e){n.__e(e,_.__v)}})}function w(n,_,t,o,r,u,i,c){var s,a,p,h=t.props,d=_.props,y=_.type,m=0;if(\"svg\"===y&&(r=!0),null!=u)for(;m<u.length;m++)if((s=u[m])&&(s===n||(y?s.localName==y:3==s.nodeType))){n=s,u[m]=null;break}if(null==n){if(null===y)return document.createTextNode(d);n=r?document.createElementNS(\"http://www.w3.org/2000/svg\",y):document.createElement(y,d.is&&d),u=null,c=!1}if(null===y)h===d||c&&n.data===d||(n.data=d);else{if(u=u&&e.call(n.childNodes),a=(h=t.props||l).dangerouslySetInnerHTML,p=d.dangerouslySetInnerHTML,!c){if(null!=u)for(h={},m=0;m<n.attributes.length;m++)h[n.attributes[m].name]=n.attributes[m].value;(p||a)&&(p&&(a&&p.__html==a.__html||p.__html===n.innerHTML)||(n.innerHTML=p&&p.__html||\"\"))}if(function(e,n,_,t,o){var r;for(r in _)\"children\"===r||\"key\"===r||r in n||H(e,r,null,_[r],t);for(r in n)o&&\"function\"!=typeof n[r]||\"children\"===r||\"key\"===r||\"value\"===r||\"checked\"===r||_[r]===n[r]||H(e,r,n[r],_[r],t)}(n,d,h,r,c),p)_.__k=[];else if(m=_.props.children,k(n,Array.isArray(m)?m:[m],_,t,o,r&&\"foreignObject\"!==y,u,i,u?u[0]:t.__k&&v(t,0),c),null!=u)for(m=u.length;m--;)null!=u[m]&&f(u[m]);c||(\"value\"in d&&void 0!==(m=d.value)&&(m!==n.value||\"progress\"===y&&!m)&&H(n,\"value\",m,h.value,!1),\"checked\"in d&&void 0!==(m=d.checked)&&m!==n.checked&&H(n,\"checked\",m,h.checked,!1))}return n}function T(e,_,t){try{\"function\"==typeof e?e(_):e.current=_}catch(e){n.__e(e,t)}}function U(e,_,t){var o,r;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||T(o,null,_)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,_)}o.base=o.__P=null}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&U(o[r],_,\"function\"!=typeof e.type);t||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function A(e,n,_){return this.constructor(e,_)}function M(_,t,o){var r,u,i;n.__&&n.__(_,t),u=(r=\"function\"==typeof o)?null:o&&o.__k||t.__k,i=[],P(t,_=(!r&&o||t).__k=a(h,null,[_]),u||l,l,void 0!==t.ownerSVGElement,!r&&o?[o]:u?null:t.firstChild?e.call(t.childNodes):null,i,!r&&o?o:u?u.__e:t.firstChild,r),D(i,_)}function F(e,n){var _={__c:n=\"__cC\"+u++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var _,t;return this.getChildContext||(_=[],(t={})[n]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&_.some(m)},this.sub=function(e){_.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){_.splice(_.indexOf(e),1),n&&n.call(e)}}),e.children}};return _.Provider.__=_.Consumer.contextType=_}e=i.slice,n={__e:function(e,n){for(var _,t,o;n=n.__;)if((_=n.__c)&&!_.__)try{if((t=_.constructor)&&null!=t.getDerivedStateFromError&&(_.setState(t.getDerivedStateFromError(e)),o=_.__d),null!=_.componentDidCatch&&(_.componentDidCatch(e),o=_.__d),o)return _.__E=_}catch(n){e=n}throw e}},_=0,d.prototype.setState=function(e,n){var _;_=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),\"function\"==typeof e&&(e=e(s({},_),this.props)),e&&s(_,e),null!=e&&this.__v&&(n&&this.__h.push(n),m(this))},d.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),m(this))},d.prototype.render=h,t=[],o=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,g.__r=0,u=0;var L,N,W,R=0,I=[],O=n.__b,V=n.__r,q=n.diffed,B=n.__c,$=n.unmount;function j(e,_){n.__h&&n.__h(N,e,R||_),R=0;var t=N.__H||(N.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function G(e){return R=1,z(ie,e)}function z(e,n,_){var t=j(L++,2);return t.t=e,t.__c||(t.__=[_?_(n):ie(void 0,n),function(e){var n=t.t(t.__[0],e);t.__[0]!==n&&(t.__=[n,t.__[1]],t.__c.setState({}))}],t.__c=N),t.__}function J(e,_){var t=j(L++,3);!n.__s&&le(t.__H,_)&&(t.__=e,t.__H=_,N.__H.__h.push(t))}function K(e,_){var t=j(L++,4);!n.__s&&le(t.__H,_)&&(t.__=e,t.__H=_,N.__h.push(t))}function Q(e){return R=5,Y(function(){return{current:e}},[])}function X(e,n,_){R=6,K(function(){\"function\"==typeof e?e(n()):e&&(e.current=n())},null==_?_:_.concat(e))}function Y(e,n){var _=j(L++,7);return le(_.__H,n)&&(_.__=e(),_.__H=n,_.__h=e),_.__}function Z(e,n){return R=8,Y(function(){return e},n)}function ee(e){var n=N.context[e.__c],_=j(L++,9);return _.c=e,n?(null==_.__&&(_.__=!0,n.sub(N)),n.props.value):e.__}function ne(e,_){n.useDebugValue&&n.useDebugValue(_?_(e):e)}function _e(e){var n=j(L++,10),_=G();return n.__=e,N.componentDidCatch||(N.componentDidCatch=function(e){n.__&&n.__(e),_[1](e)}),[_[0],function(){_[1](void 0)}]}function te(){I.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ue),e.__H.__h=[]}catch(_){e.__H.__h=[],n.__e(_,e.__v)}}),I=[]}n.__b=function(e){N=null,O&&O(e)},n.__r=function(e){V&&V(e),L=0;var n=(N=e.__c).__H;n&&(n.__h.forEach(re),n.__h.forEach(ue),n.__h=[])},n.diffed=function(e){q&&q(e);var _=e.__c;_&&_.__H&&_.__H.__h.length&&(1!==I.push(_)&&W===n.requestAnimationFrame||((W=n.requestAnimationFrame)||function(e){var n,_=function(){clearTimeout(t),oe&&cancelAnimationFrame(n),setTimeout(e)},t=setTimeout(_,100);oe&&(n=requestAnimationFrame(_))})(te)),N=void 0},n.__c=function(e,_){_.some(function(e){try{e.__h.forEach(re),e.__h=e.__h.filter(function(e){return!e.__||ue(e)})}catch(t){_.some(function(e){e.__h&&(e.__h=[])}),_=[],n.__e(t,e.__v)}}),B&&B(e,_)},n.unmount=function(e){$&&$(e);var _=e.__c;if(_&&_.__H)try{_.__H.__.forEach(re)}catch(e){n.__e(e,_.__v)}};var oe=\"function\"==typeof requestAnimationFrame;function re(e){var n=N;\"function\"==typeof e.__c&&e.__c(),N=n}function ue(e){var n=N;e.__c=e.__(),N=n}function le(e,n){return!e||e.length!==n.length||n.some(function(n,_){return n!==e[_]})}function ie(e,n){return\"function\"==typeof n?n(e):n}var ce=function(e,n,_,t){var o;n[0]=0;for(var r=1;r<n.length;r++){var u=n[r++],l=n[r]?(n[0]|=u?1:2,_[n[r++]]):n[++r];3===u?t[0]=l:4===u?t[1]=Object.assign(t[1]||{},l):5===u?(t[1]=t[1]||{})[n[++r]]=l:6===u?t[1][n[++r]]+=l+\"\":u?(o=e.apply(l,ce(e,l,_,[\"\",null])),t.push(o),l[0]?n[0]|=2:(n[r-2]=0,n[r]=o)):t.push(l)}return t},se=new Map,fe=function(e){var n=se.get(this);return n||(n=new Map,se.set(this,n)),(n=ce(this,n.get(e)||(n.set(e,n=function(e){for(var n,_,t=1,o=\"\",r=\"\",u=[0],l=function(e){1===t&&(e||(o=o.replace(/^\\s*\\n\\s*|\\s*\\n\\s*$/g,\"\")))?u.push(0,e,o):3===t&&(e||o)?(u.push(3,e,o),t=2):2===t&&\"...\"===o&&e?u.push(4,e,0):2===t&&o&&!e?u.push(5,0,!0,o):t>=5&&((o||!e&&5===t)&&(u.push(t,0,o,_),t=6),e&&(u.push(t,e,0,_),t=6)),o=\"\"},i=0;i<e.length;i++){i&&(1===t&&l(),l(i));for(var c=0;c<e[i].length;c++)n=e[i][c],1===t?\"<\"===n?(l(),u=[u],t=3):o+=n:4===t?\"--\"===o&&\">\"===n?(t=1,o=\"\"):o=n+o[0]:r?n===r?r=\"\":o+=n:'\"'===n||\"'\"===n?r=n:\">\"===n?(l(),t=1):t&&(\"=\"===n?(t=5,_=o,o=\"\"):\"/\"===n&&(t<5||\">\"===e[i][c+1])?(l(),3===t&&(u=u[0]),t=u,(u=u[0]).push(2,0,t),t=0):\" \"===n||\"\\t\"===n||\"\\n\"===n||\"\\r\"===n?(l(),t=2):o+=n),3===t&&\"!--\"===o&&(t=4,u=u[0])}return l(),u}(e)),n),arguments,[])).length>1?n:n[0]}.bind(a);export{a as h,fe as html,M as render,d as Component,F as createContext,G as useState,z as useReducer,J as useEffect,K as useLayoutEffect,Q as useRef,X as useImperativeHandle,Y as useMemo,Z as useCallback,ee as useContext,ne as useDebugValue,_e as useErrorBoundary};\n"],"names":["e","n","_","t","o","r","l","i","c","s","f","parentNode","removeChild","a","u","arguments","length","children","call","defaultProps","p","type","props","key","ref","__k","__","__b","__e","__d","__c","__h","constructor","__v","vnode","h","d","this","context","v","indexOf","y","base","m","push","g","__r","debounceRendering","sort","some","__P","P","__n","ownerSVGElement","D","k","x","H","E","Array","isArray","b","C","value","U","T","appendChild","nextSibling","insertBefore","setProperty","test","style","cssText","replace","toLowerCase","slice","addEventListener","S","removeEventListener","setAttribute","removeAttribute","event","contextType","__E","prototype","render","A","sub","state","__s","getDerivedStateFromProps","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","forEach","componentWillUpdate","componentDidUpdate","getChildContext","getSnapshotBeforeUpdate","w","diffed","localName","nodeType","document","createTextNode","createElementNS","createElement","is","data","childNodes","dangerouslySetInnerHTML","attributes","name","__html","innerHTML","checked","current","unmount","componentWillUnmount","M","firstChild","getDerivedStateFromError","setState","componentDidCatch","forceUpdate","Promise","then","bind","resolve","setTimeout","W","I","O","V","q","B","$","te","__H","re","ue","requestAnimationFrame","clearTimeout","oe","cancelAnimationFrame","filter","ce","Object","assign","apply","se","Map","fe","get","set"],"mappings":"AAAG,IAACA,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC,EAAIC,EAAE,GAAGC,EAAE,GAAGC,EAAE,oEAAoE,SAASC,EAAET,EAAEC,GAAG,IAAI,IAAIC,KAAKD,EAAED,EAAEE,GAAGD,EAAEC,GAAG,OAAOF,CAAC,CAAC,SAASU,EAAEV,GAAG,IAAIC,EAAED,EAAEW,WAAWV,GAAGA,EAAEW,YAAYZ,EAAE,CAAC,SAASa,EAAEZ,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAES,EAAER,EAAE,CAAA,EAAG,IAAIQ,KAAKZ,EAAE,OAAOY,EAAEV,EAAEF,EAAEY,GAAG,OAAOA,EAAET,EAAEH,EAAEY,GAAGR,EAAEQ,GAAGZ,EAAEY,GAAG,GAAGC,UAAUC,OAAO,IAAIV,EAAEW,SAASF,UAAUC,OAAO,EAAEhB,EAAEkB,KAAKH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AAMH,EAAEO,GAAGC,EAAE,KAAKF,IAAI,IAAIH,IAAIW,EAAEA,EAAE,IAAIX,EAAEW,GAAGA,EAAEA,EAAE,IAAI8B,KAAK,EAAE,EAAEzC,GAAGA,EAAE,GAAG,MAAMF,GAAG,OAAOA,GAAG,OAAOA,GAAG,OAAOA,GAAGK,IAAIH,EAAE,GAAGC,GAAGH,GAAG,IAAIE,GAAG,QAAQC,IAAID,EAAE,EAAEW,EAAEA,EAAE,GAAG,CAAC,OAAOR,IAAIQ,CAAC,CAAptB,CAAstBd,IAAIC,GAAGc,UAAU,KAAKC,OAAO,EAAEf,EAAEA,EAAE,EAAE,EAAE+H,KAAKnH","x_google_ignoreList":[0]}
{"version":3,"file":"htm-preact.mjs","sources":["../node_modules/htm/preact/standalone.mjs"],"sourcesContent":["var e,n,_,t,o,r,u,l={},i=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(e,n){for(var _ in n)e[_]=n[_];return e}function f(e){var n=e.parentNode;n&&n.removeChild(e)}function a(n,_,t){var o,r,u,l={};for(u in _)\"key\"==u?o=_[u]:\"ref\"==u?r=_[u]:l[u]=_[u];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):t),\"function\"==typeof n&&null!=n.defaultProps)for(u in n.defaultProps)void 0===l[u]&&(l[u]=n.defaultProps[u]);return p(n,l,o,r,null)}function p(e,t,o,r,u){var l={type:e,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++_:u};return null!=n.vnode&&n.vnode(l),l}function h(e){return e.children}function d(e,n){this.props=e,this.context=n}function v(e,n){if(null==n)return e.__?v(e.__,e.__.__k.indexOf(e)+1):null;for(var _;n<e.__k.length;n++)if(null!=(_=e.__k[n])&&null!=_.__e)return _.__e;return\"function\"==typeof e.type?v(e):null}function y(e){var n,_;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(_=e.__k[n])&&null!=_.__e){e.__e=e.__c.base=_.__e;break}return y(e)}}function m(e){(!e.__d&&(e.__d=!0)&&t.push(e)&&!g.__r++||r!==n.debounceRendering)&&((r=n.debounceRendering)||o)(g)}function g(){for(var e;g.__r=t.length;)e=t.sort(function(e,n){return e.__v.__b-n.__v.__b}),t=[],e.some(function(e){var n,_,t,o,r,u;e.__d&&(r=(o=(n=e).__v).__e,(u=n.__P)&&(_=[],(t=s({},o)).__v=o.__v+1,P(u,o,t,n.__n,void 0!==u.ownerSVGElement,null!=o.__h?[r]:null,_,null==r?v(o):r,o.__h),D(_,o),o.__e!=r&&y(o)))})}function k(e,n,_,t,o,r,u,c,s,f){var a,d,y,m,g,k,x,H=t&&t.__k||i,E=H.length;for(_.__k=[],a=0;a<n.length;a++)if(null!=(m=_.__k[a]=null==(m=n[a])||\"boolean\"==typeof m?null:\"string\"==typeof m||\"number\"==typeof m||\"bigint\"==typeof m?p(null,m,null,null,m):Array.isArray(m)?p(h,{children:m},null,null,null):m.__b>0?p(m.type,m.props,m.key,null,m.__v):m)){if(m.__=_,m.__b=_.__b+1,null===(y=H[a])||y&&m.key==y.key&&m.type===y.type)H[a]=void 0;else for(d=0;d<E;d++){if((y=H[d])&&m.key==y.key&&m.type===y.type){H[d]=void 0;break}y=null}P(e,m,y=y||l,o,r,u,c,s,f),g=m.__e,(d=m.ref)&&y.ref!=d&&(x||(x=[]),y.ref&&x.push(y.ref,null,m),x.push(d,m.__c||g,m)),null!=g?(null==k&&(k=g),\"function\"==typeof m.type&&null!=m.__k&&m.__k===y.__k?m.__d=s=b(m,s,e):s=C(e,m,y,H,g,s),f||\"option\"!==_.type?\"function\"==typeof _.type&&(_.__d=s):e.value=\"\"):s&&y.__e==s&&s.parentNode!=e&&(s=v(y))}for(_.__e=k,a=E;a--;)null!=H[a]&&(\"function\"==typeof _.type&&null!=H[a].__e&&H[a].__e==_.__d&&(_.__d=v(t,a+1)),U(H[a],H[a]));if(x)for(a=0;a<x.length;a++)T(x[a],x[++a],x[++a])}function b(e,n,_){var t,o;for(t=0;t<e.__k.length;t++)(o=e.__k[t])&&(o.__=e,n=\"function\"==typeof o.type?b(o,n,_):C(_,o,o,e.__k,o.__e,n));return n}function C(e,n,_,t,o,r){var u,l,i;if(void 0!==n.__d)u=n.__d,n.__d=void 0;else if(null==_||o!=r||null==o.parentNode)e:if(null==r||r.parentNode!==e)e.appendChild(o),u=null;else{for(l=r,i=0;(l=l.nextSibling)&&i<t.length;i+=2)if(l==o)break e;e.insertBefore(o,r),u=r}return void 0!==u?u:o.nextSibling}function x(e,n,_){\"-\"===n[0]?e.setProperty(n,_):e[n]=null==_?\"\":\"number\"!=typeof _||c.test(n)?_:_+\"px\"}function H(e,n,_,t,o){var r;e:if(\"style\"===n)if(\"string\"==typeof _)e.style.cssText=_;else{if(\"string\"==typeof t&&(e.style.cssText=t=\"\"),t)for(n in t)_&&n in _||x(e.style,n,\"\");if(_)for(n in _)t&&_[n]===t[n]||x(e.style,n,_[n])}else if(\"o\"===n[0]&&\"n\"===n[1])r=n!==(n=n.replace(/Capture$/,\"\")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+r]=_,_?t||e.addEventListener(n,r?S:E,r):e.removeEventListener(n,r?S:E,r);else if(\"dangerouslySetInnerHTML\"!==n){if(o)n=n.replace(/xlink[H:h]/,\"h\").replace(/sName$/,\"s\");else if(\"href\"!==n&&\"list\"!==n&&\"form\"!==n&&\"tabIndex\"!==n&&\"download\"!==n&&n in e)try{e[n]=null==_?\"\":_;break e}catch(e){}\"function\"==typeof _||(null!=_&&(!1!==_||\"a\"===n[0]&&\"r\"===n[1])?e.setAttribute(n,_):e.removeAttribute(n))}}function E(e){this.l[e.type+!1](n.event?n.event(e):e)}function S(e){this.l[e.type+!0](n.event?n.event(e):e)}function P(e,_,t,o,r,u,l,i,c){var f,a,p,v,y,m,g,b,C,x,H,E=_.type;if(void 0!==_.constructor)return null;null!=t.__h&&(c=t.__h,i=_.__e=t.__e,_.__h=null,u=[i]),(f=n.__b)&&f(_);try{e:if(\"function\"==typeof E){if(b=_.props,C=(f=E.contextType)&&o[f.__c],x=f?C?C.props.value:f.__:o,t.__c?g=(a=_.__c=t.__c).__=a.__E:(\"prototype\"in E&&E.prototype.render?_.__c=a=new E(b,x):(_.__c=a=new d(b,x),a.constructor=E,a.render=A),C&&C.sub(a),a.props=b,a.state||(a.state={}),a.context=x,a.__n=o,p=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=E.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=s({},a.__s)),s(a.__s,E.getDerivedStateFromProps(b,a.__s))),v=a.props,y=a.state,p)null==E.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==E.getDerivedStateFromProps&&b!==v&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,x),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,x)||_.__v===t.__v){a.props=b,a.state=a.__s,_.__v!==t.__v&&(a.__d=!1),a.__v=_,_.__e=t.__e,_.__k=t.__k,_.__k.forEach(function(e){e&&(e.__=_)}),a.__h.length&&l.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,x),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(v,y,m)})}a.context=x,a.props=b,a.state=a.__s,(f=n.__r)&&f(_),a.__d=!1,a.__v=_,a.__P=e,f=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(o=s(s({},o),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(m=a.getSnapshotBeforeUpdate(v,y)),H=null!=f&&f.type===h&&null==f.key?f.props.children:f,k(e,Array.isArray(H)?H:[H],_,t,o,r,u,l,i,c),a.base=_.__e,_.__h=null,a.__h.length&&l.push(a),g&&(a.__E=a.__=null),a.__e=!1}else null==u&&_.__v===t.__v?(_.__k=t.__k,_.__e=t.__e):_.__e=w(t.__e,_,t,o,r,u,l,c);(f=n.diffed)&&f(_)}catch(e){_.__v=null,(c||null!=u)&&(_.__e=i,_.__h=!!c,u[u.indexOf(i)]=null),n.__e(e,_,t)}}function D(e,_){n.__c&&n.__c(_,e),e.some(function(_){try{e=_.__h,_.__h=[],e.some(function(e){e.call(_)})}catch(e){n.__e(e,_.__v)}})}function w(n,_,t,o,r,u,i,c){var s,a,p,h=t.props,d=_.props,y=_.type,m=0;if(\"svg\"===y&&(r=!0),null!=u)for(;m<u.length;m++)if((s=u[m])&&(s===n||(y?s.localName==y:3==s.nodeType))){n=s,u[m]=null;break}if(null==n){if(null===y)return document.createTextNode(d);n=r?document.createElementNS(\"http://www.w3.org/2000/svg\",y):document.createElement(y,d.is&&d),u=null,c=!1}if(null===y)h===d||c&&n.data===d||(n.data=d);else{if(u=u&&e.call(n.childNodes),a=(h=t.props||l).dangerouslySetInnerHTML,p=d.dangerouslySetInnerHTML,!c){if(null!=u)for(h={},m=0;m<n.attributes.length;m++)h[n.attributes[m].name]=n.attributes[m].value;(p||a)&&(p&&(a&&p.__html==a.__html||p.__html===n.innerHTML)||(n.innerHTML=p&&p.__html||\"\"))}if(function(e,n,_,t,o){var r;for(r in _)\"children\"===r||\"key\"===r||r in n||H(e,r,null,_[r],t);for(r in n)o&&\"function\"!=typeof n[r]||\"children\"===r||\"key\"===r||\"value\"===r||\"checked\"===r||_[r]===n[r]||H(e,r,n[r],_[r],t)}(n,d,h,r,c),p)_.__k=[];else if(m=_.props.children,k(n,Array.isArray(m)?m:[m],_,t,o,r&&\"foreignObject\"!==y,u,i,u?u[0]:t.__k&&v(t,0),c),null!=u)for(m=u.length;m--;)null!=u[m]&&f(u[m]);c||(\"value\"in d&&void 0!==(m=d.value)&&(m!==n.value||\"progress\"===y&&!m)&&H(n,\"value\",m,h.value,!1),\"checked\"in d&&void 0!==(m=d.checked)&&m!==n.checked&&H(n,\"checked\",m,h.checked,!1))}return n}function T(e,_,t){try{\"function\"==typeof e?e(_):e.current=_}catch(e){n.__e(e,t)}}function U(e,_,t){var o,r;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||T(o,null,_)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,_)}o.base=o.__P=null}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&U(o[r],_,\"function\"!=typeof e.type);t||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function A(e,n,_){return this.constructor(e,_)}function M(_,t,o){var r,u,i;n.__&&n.__(_,t),u=(r=\"function\"==typeof o)?null:o&&o.__k||t.__k,i=[],P(t,_=(!r&&o||t).__k=a(h,null,[_]),u||l,l,void 0!==t.ownerSVGElement,!r&&o?[o]:u?null:t.firstChild?e.call(t.childNodes):null,i,!r&&o?o:u?u.__e:t.firstChild,r),D(i,_)}function F(e,n){var _={__c:n=\"__cC\"+u++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var _,t;return this.getChildContext||(_=[],(t={})[n]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&_.some(m)},this.sub=function(e){_.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){_.splice(_.indexOf(e),1),n&&n.call(e)}}),e.children}};return _.Provider.__=_.Consumer.contextType=_}e=i.slice,n={__e:function(e,n){for(var _,t,o;n=n.__;)if((_=n.__c)&&!_.__)try{if((t=_.constructor)&&null!=t.getDerivedStateFromError&&(_.setState(t.getDerivedStateFromError(e)),o=_.__d),null!=_.componentDidCatch&&(_.componentDidCatch(e),o=_.__d),o)return _.__E=_}catch(n){e=n}throw e}},_=0,d.prototype.setState=function(e,n){var _;_=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),\"function\"==typeof e&&(e=e(s({},_),this.props)),e&&s(_,e),null!=e&&this.__v&&(n&&this.__h.push(n),m(this))},d.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),m(this))},d.prototype.render=h,t=[],o=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,g.__r=0,u=0;var L,N,W,R=0,I=[],O=n.__b,V=n.__r,q=n.diffed,B=n.__c,$=n.unmount;function j(e,_){n.__h&&n.__h(N,e,R||_),R=0;var t=N.__H||(N.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function G(e){return R=1,z(ie,e)}function z(e,n,_){var t=j(L++,2);return t.t=e,t.__c||(t.__=[_?_(n):ie(void 0,n),function(e){var n=t.t(t.__[0],e);t.__[0]!==n&&(t.__=[n,t.__[1]],t.__c.setState({}))}],t.__c=N),t.__}function J(e,_){var t=j(L++,3);!n.__s&&le(t.__H,_)&&(t.__=e,t.__H=_,N.__H.__h.push(t))}function K(e,_){var t=j(L++,4);!n.__s&&le(t.__H,_)&&(t.__=e,t.__H=_,N.__h.push(t))}function Q(e){return R=5,Y(function(){return{current:e}},[])}function X(e,n,_){R=6,K(function(){\"function\"==typeof e?e(n()):e&&(e.current=n())},null==_?_:_.concat(e))}function Y(e,n){var _=j(L++,7);return le(_.__H,n)&&(_.__=e(),_.__H=n,_.__h=e),_.__}function Z(e,n){return R=8,Y(function(){return e},n)}function ee(e){var n=N.context[e.__c],_=j(L++,9);return _.c=e,n?(null==_.__&&(_.__=!0,n.sub(N)),n.props.value):e.__}function ne(e,_){n.useDebugValue&&n.useDebugValue(_?_(e):e)}function _e(e){var n=j(L++,10),_=G();return n.__=e,N.componentDidCatch||(N.componentDidCatch=function(e){n.__&&n.__(e),_[1](e)}),[_[0],function(){_[1](void 0)}]}function te(){I.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ue),e.__H.__h=[]}catch(_){e.__H.__h=[],n.__e(_,e.__v)}}),I=[]}n.__b=function(e){N=null,O&&O(e)},n.__r=function(e){V&&V(e),L=0;var n=(N=e.__c).__H;n&&(n.__h.forEach(re),n.__h.forEach(ue),n.__h=[])},n.diffed=function(e){q&&q(e);var _=e.__c;_&&_.__H&&_.__H.__h.length&&(1!==I.push(_)&&W===n.requestAnimationFrame||((W=n.requestAnimationFrame)||function(e){var n,_=function(){clearTimeout(t),oe&&cancelAnimationFrame(n),setTimeout(e)},t=setTimeout(_,100);oe&&(n=requestAnimationFrame(_))})(te)),N=void 0},n.__c=function(e,_){_.some(function(e){try{e.__h.forEach(re),e.__h=e.__h.filter(function(e){return!e.__||ue(e)})}catch(t){_.some(function(e){e.__h&&(e.__h=[])}),_=[],n.__e(t,e.__v)}}),B&&B(e,_)},n.unmount=function(e){$&&$(e);var _=e.__c;if(_&&_.__H)try{_.__H.__.forEach(re)}catch(e){n.__e(e,_.__v)}};var oe=\"function\"==typeof requestAnimationFrame;function re(e){var n=N;\"function\"==typeof e.__c&&e.__c(),N=n}function ue(e){var n=N;e.__c=e.__(),N=n}function le(e,n){return!e||e.length!==n.length||n.some(function(n,_){return n!==e[_]})}function ie(e,n){return\"function\"==typeof n?n(e):n}var ce=function(e,n,_,t){var o;n[0]=0;for(var r=1;r<n.length;r++){var u=n[r++],l=n[r]?(n[0]|=u?1:2,_[n[r++]]):n[++r];3===u?t[0]=l:4===u?t[1]=Object.assign(t[1]||{},l):5===u?(t[1]=t[1]||{})[n[++r]]=l:6===u?t[1][n[++r]]+=l+\"\":u?(o=e.apply(l,ce(e,l,_,[\"\",null])),t.push(o),l[0]?n[0]|=2:(n[r-2]=0,n[r]=o)):t.push(l)}return t},se=new Map,fe=function(e){var n=se.get(this);return n||(n=new Map,se.set(this,n)),(n=ce(this,n.get(e)||(n.set(e,n=function(e){for(var n,_,t=1,o=\"\",r=\"\",u=[0],l=function(e){1===t&&(e||(o=o.replace(/^\\s*\\n\\s*|\\s*\\n\\s*$/g,\"\")))?u.push(0,e,o):3===t&&(e||o)?(u.push(3,e,o),t=2):2===t&&\"...\"===o&&e?u.push(4,e,0):2===t&&o&&!e?u.push(5,0,!0,o):t>=5&&((o||!e&&5===t)&&(u.push(t,0,o,_),t=6),e&&(u.push(t,e,0,_),t=6)),o=\"\"},i=0;i<e.length;i++){i&&(1===t&&l(),l(i));for(var c=0;c<e[i].length;c++)n=e[i][c],1===t?\"<\"===n?(l(),u=[u],t=3):o+=n:4===t?\"--\"===o&&\">\"===n?(t=1,o=\"\"):o=n+o[0]:r?n===r?r=\"\":o+=n:'\"'===n||\"'\"===n?r=n:\">\"===n?(l(),t=1):t&&(\"=\"===n?(t=5,_=o,o=\"\"):\"/\"===n&&(t<5||\">\"===e[i][c+1])?(l(),3===t&&(u=u[0]),t=u,(u=u[0]).push(2,0,t),t=0):\" \"===n||\"\\t\"===n||\"\\n\"===n||\"\\r\"===n?(l(),t=2):o+=n),3===t&&\"!--\"===o&&(t=4,u=u[0])}return l(),u}(e)),n),arguments,[])).length>1?n:n[0]}.bind(a);export{a as h,fe as html,M as render,d as Component,F as createContext,G as useState,z as useReducer,J as useEffect,K as useLayoutEffect,Q as useRef,X as useImperativeHandle,Y as useMemo,Z as useCallback,ee as useContext,ne as useDebugValue,_e as useErrorBoundary};\n"],"names":["e","n","_","t","o","r","l","i","c","s","f","parentNode","removeChild","a","u","arguments","length","children","call","defaultProps","p","type","props","key","ref","__k","__","__b","__e","__d","__c","__h","constructor","__v","vnode","h","d","this","context","v","indexOf","y","base","m","push","g","__r","debounceRendering","sort","some","__P","P","__n","ownerSVGElement","D","k","x","H","E","Array","isArray","b","C","value","U","T","appendChild","nextSibling","insertBefore","setProperty","test","style","cssText","replace","toLowerCase","slice","addEventListener","S","removeEventListener","setAttribute","removeAttribute","event","contextType","__E","prototype","render","A","sub","state","__s","getDerivedStateFromProps","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","forEach","componentWillUpdate","componentDidUpdate","getChildContext","getSnapshotBeforeUpdate","w","diffed","localName","nodeType","document","createTextNode","createElementNS","createElement","is","data","childNodes","dangerouslySetInnerHTML","attributes","name","__html","innerHTML","checked","current","unmount","componentWillUnmount","M","firstChild","getDerivedStateFromError","setState","componentDidCatch","forceUpdate","Promise","then","bind","resolve","setTimeout","W","I","O","V","q","B","$","te","__H","re","ue","requestAnimationFrame","clearTimeout","oe","cancelAnimationFrame","filter","ce","Object","assign","apply","se","Map","fe","get","set"],"mappings":"AAAG,IAACA,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC,EAAIC,EAAE,GAAGC,EAAE,GAAGC,EAAE,oEAAoE,SAASC,EAAET,EAAEC,GAAG,IAAI,IAAIC,KAAKD,EAAED,EAAEE,GAAGD,EAAEC,GAAG,OAAOF,CAAC,CAAC,SAASU,EAAEV,GAAG,IAAIC,EAAED,EAAEW,WAAWV,GAAGA,EAAEW,YAAYZ,EAAE,CAAC,SAASa,EAAEZ,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAES,EAAER,EAAE,CAAA,EAAG,IAAIQ,KAAKZ,EAAE,OAAOY,EAAEV,EAAEF,EAAEY,GAAG,OAAOA,EAAET,EAAEH,EAAEY,GAAGR,EAAEQ,GAAGZ,EAAEY,GAAG,GAAGC,UAAUC,OAAO,IAAIV,EAAEW,SAASF,UAAUC,OAAO,EAAEhB,EAAEkB,KAAKH,UAAU,GAAGZ,GAAG,mBAAmBF,GAAG,MAAMA,EAAEkB,aAAa,IAAIL,KAAKb,EAAEkB,kBAAa,IAASb,EAAEQ,KAAKR,EAAEQ,GAAGb,EAAEkB,aAAaL,IAAI,OAAOM,EAAEnB,EAAEK,EAAEF,EAAEC,EAAE,KAAK,CAAC,SAASe,EAAEpB,EAAEG,EAAEC,EAAEC,EAAES,GAAG,IAAIR,EAAE,CAACe,KAAKrB,EAAEsB,MAAMnB,EAAEoB,IAAInB,EAAEoB,IAAInB,EAAEoB,IAAI,KAAKC,GAAG,KAAKC,IAAI,EAAEC,IAAI,KAAKC,SAAI,EAAOC,IAAI,KAAKC,IAAI,KAAKC,iBAAY,EAAOC,IAAI,MAAMnB,IAAIZ,EAAEY,GAAG,OAAO,MA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"],"sourcesContent":["/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar t;const i=window,s=i.trustedTypes,e=s?s.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,o=\"$lit$\",n=`lit$${(Math.random()+\"\").slice(9)}$`,l=\"?\"+n,h=`<${l}>`,r=document,u=()=>r.createComment(\"\"),d=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,c=Array.isArray,v=t=>c(t)||\"function\"==typeof(null==t?void 0:t[Symbol.iterator]),a=\"[ \\t\\n\\f\\r]\",f=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,_=/-->/g,m=/>/g,p=RegExp(`>|${a}(?:([^\\\\s\"'>=/]+)(${a}*=${a}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),g=/'/g,$=/\"/g,y=/^(?:script|style|textarea|title)$/i,w=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=w(1),b=w(2),T=Symbol.for(\"lit-noChange\"),A=Symbol.for(\"lit-nothing\"),E=new WeakMap,C=r.createTreeWalker(r,129,null,!1);function P(t,i){if(!Array.isArray(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==e?e.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?\"<svg>\":\"\",u=f;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f?\"!--\"===c[1]?u=_:void 0!==c[1]?u=m:void 0!==c[2]?(y.test(c[2])&&(l=RegExp(\"</\"+c[2],\"g\")),u=p):void 0!==c[3]&&(u=p):u===p?\">\"===c[0]?(u=null!=l?l:f,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p:'\"'===c[3]?$:g):u===$||u===g?u=p:u===_||u===m?u=f:(u=p,l=void 0);const w=u===p&&t[i+1].startsWith(\"/>\")?\" \":\"\";r+=u===f?s+h:v>=0?(e.push(d),s.slice(0,v)+o+s.slice(v)+n+w):s+n+(-2===v?(e.push(void 0),i):w)}return[P(t,r+(t[s]||\"<?>\")+(2===i?\"</svg>\":\"\")),e]};class N{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V(t,i);if(this.el=N.createElement(a,e),C.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(h=C.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o)||i.startsWith(n)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o).split(n),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:\".\"===i[1]?H:\"?\"===i[1]?L:\"@\"===i[1]?z:k})}else v.push({type:6,index:r})}for(const i of t)h.removeAttribute(i)}if(y.test(h.tagName)){const t=h.textContent.split(n),i=t.length-1;if(i>0){h.textContent=s?s.emptyScript:\"\";for(let s=0;s<i;s++)h.append(t[s],u()),C.nextNode(),v.push({type:2,index:++r});h.append(t[i],u())}}}else if(8===h.nodeType)if(h.data===l)v.push({type:2,index:r});else{let t=-1;for(;-1!==(t=h.data.indexOf(n,t+1));)v.push({type:7,index:r}),t+=n.length-1}r++}}static createElement(t,i){const s=r.createElement(\"template\");return s.innerHTML=t,s}}function S(t,i,s=t,e){var o,n,l,h;if(i===T)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d(i)?void 0:i._$litDirective$;return(null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S(t,r._$AS(t,i.values),r,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r).importNode(s,!0);C.currentNode=o;let n=C.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z(n,this,t)),this._$AV.push(i),u=e[++h]}l!==(null==u?void 0:u.index)&&(n=C.nextNode(),l++)}return C.currentNode=r,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class R{constructor(t,i,s,e){var o;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),d(t)?t===A||null==t||\"\"===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==A&&d(this._$AH)?this._$AA.nextSibling.data=t:this.$(r.createTextNode(t)),this._$AH=t}g(t){var i;const{values:s,_$litType$:e}=t,o=\"number\"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N.createElement(P(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else{const t=new M(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new N(t)),i}T(t){c(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R(this.k(u()),this.k(u()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class k{constructor(t,i,s,e,o){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else{const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S(this,e[s+l],i,l),h===T&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===A?t=A:t!==A&&(t+=(null!=h?h:\"\")+o[l+1]),this._$AH[l]=h}n&&!e&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:\"\")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}const I=s?s.emptyScript:\"\";class L extends k{constructor(){super(...arguments),this.type=4}j(t){t&&t!==A?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name)}}class z extends k{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5}_$AI(t,i=this){var s;if((t=null!==(s=S(this,t,i,0))&&void 0!==s?s:A)===T)return;const e=this._$AH,o=t===A&&e!==A||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A&&(e===A||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,s;\"function\"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const j={O:o,P:n,A:l,C:1,M:V,L:M,D:v,R:S,I:R,V:k,H:L,N:z,U:H,F:Z},B=i.litHtmlPolyfillSupport;null==B||B(N,R),(null!==(t=i.litHtmlVersions)&&void 0!==t?t:i.litHtmlVersions=[]).push(\"2.7.5\");const D=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R(i.insertBefore(u(),t),t,void 0,null!=s?s:{})}return l._$AI(t),l};export{j as _$LH,x as html,T as noChange,A as nothing,D as render,b as svg};\n//# sourceMappingURL=lit-html.js.map\n"],"names":["t","i","window","s","trustedTypes","e","createPolicy","createHTML","o","n","Math","random","slice","l","h","r","document","u","createComment","d","c","Array","isArray","a","f","_","m","p","RegExp","g","$","y","x","_$litType$","strings","values","w","T","Symbol","for","A","E","WeakMap","C","createTreeWalker","P","hasOwnProperty","Error","V","length","v","lastIndex","exec","test","startsWith","push","N","constructor","this","parts","el","createElement","currentNode","content","firstChild","remove","append","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","endsWith","getAttribute","toLowerCase","split","type","index","name","ctor","H","L","z","k","removeAttribute","tagName","textContent","emptyScript","data","indexOf","static","innerHTML","S","_$Co","_$Cl","_$litDirective$","_$AO","call","_$AT","_$AS","M","_$AV","_$AN","_$AD","_$AM","parentNode","_$AU","creationScope","importNode","R","nextSibling","Z","_$AI","_$AH","_$AA","_$AB","options","_$Cp","isConnected","startNode","endNode","_$AR","iterator","insertBefore","createTextNode","_$AC","get","set","_$AP","setConnected","element","fill","String","j","setAttribute","super","arguments","I","capture","once","passive","removeEventListener","addEventListener","handleEvent","host","B","litHtmlPolyfillSupport","litHtmlVersions","D","renderBefore","_$litPart$"],"mappings":";;;;;AAKA,IAAIA,EAAO,MAACC,EAAEC,OAAOC,EAAEF,EAAEG,aAAaC,EAAEF,EAAEA,EAAEG,aAAa,WAAW,CAACC,WAAWP,GAAGA,SAAI,EAAOQ,EAAE,QAAQC,EAAE,QAAQC,KAAKC,SAAS,IAAIC,MAAM,MAAMC,EAAE,IAAIJ,EAAEK,EAAE,IAAID,KAAKE,EAAEC,SAASC,EAAE,IAAIF,EAAEG,cAAc,IAAIC,EAAEnB,GAAG,OAAOA,GAAG,iBAAiBA,GAAG,mBAAmBA,EAAEoB,EAAEC,MAAMC,QAAyEC,EAAE,cAAcC,EAAE,sDAAsDC,EAAE,OAAOC,EAAE,KAAKC,EAAEC,OAAO,KAAKL,sBAAsBA,MAAMA,uCAAuC,KAAKM,EAAE,KAAKC,EAAE,KAAKC,EAAE,qCAAwFC,EAAjDhC,IAAG,CAACC,KAAKE,KAAK,CAAC8B,WAAWjC,EAAEkC,QAAQjC,EAAEkC,OAAOhC,IAAMiC,CAAE,GAAUC,EAAEC,OAAOC,IAAI,gBAAgBC,EAAEF,OAAOC,IAAI,eAAeE,EAAE,IAAIC,QAAQC,EAAE5B,EAAE6B,iBAAiB7B,EAAE,IAAI,MAA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IAAIgG,EAAE5G,EAAE0H,aAAa1G,IAAIjB,GAAGA,OAAE,EAAO,MAAMG,EAAEA,EAAE,CAAA,EAAG,CAAC,OAAOU,EAAEmG,KAAKhH,GAAGa","x_google_ignoreList":[0]}
{"version":3,"file":"lit-html.mjs","sources":["../node_modules/lit-html/lit-html.js"],"sourcesContent":["/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nvar t;const i=window,s=i.trustedTypes,e=s?s.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,o=\"$lit$\",n=`lit$${(Math.random()+\"\").slice(9)}$`,l=\"?\"+n,h=`<${l}>`,r=document,u=()=>r.createComment(\"\"),d=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,c=Array.isArray,v=t=>c(t)||\"function\"==typeof(null==t?void 0:t[Symbol.iterator]),a=\"[ \\t\\n\\f\\r]\",f=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,_=/-->/g,m=/>/g,p=RegExp(`>|${a}(?:([^\\\\s\"'>=/]+)(${a}*=${a}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),g=/'/g,$=/\"/g,y=/^(?:script|style|textarea|title)$/i,w=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=w(1),b=w(2),T=Symbol.for(\"lit-noChange\"),A=Symbol.for(\"lit-nothing\"),E=new WeakMap,C=r.createTreeWalker(r,129,null,!1);function P(t,i){if(!Array.isArray(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==e?e.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?\"<svg>\":\"\",u=f;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f?\"!--\"===c[1]?u=_:void 0!==c[1]?u=m:void 0!==c[2]?(y.test(c[2])&&(l=RegExp(\"</\"+c[2],\"g\")),u=p):void 0!==c[3]&&(u=p):u===p?\">\"===c[0]?(u=null!=l?l:f,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p:'\"'===c[3]?$:g):u===$||u===g?u=p:u===_||u===m?u=f:(u=p,l=void 0);const w=u===p&&t[i+1].startsWith(\"/>\")?\" \":\"\";r+=u===f?s+h:v>=0?(e.push(d),s.slice(0,v)+o+s.slice(v)+n+w):s+n+(-2===v?(e.push(void 0),i):w)}return[P(t,r+(t[s]||\"<?>\")+(2===i?\"</svg>\":\"\")),e]};class N{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V(t,i);if(this.el=N.createElement(a,e),C.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(h=C.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o)||i.startsWith(n)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o).split(n),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:\".\"===i[1]?H:\"?\"===i[1]?L:\"@\"===i[1]?z:k})}else v.push({type:6,index:r})}for(const i of t)h.removeAttribute(i)}if(y.test(h.tagName)){const t=h.textContent.split(n),i=t.length-1;if(i>0){h.textContent=s?s.emptyScript:\"\";for(let s=0;s<i;s++)h.append(t[s],u()),C.nextNode(),v.push({type:2,index:++r});h.append(t[i],u())}}}else if(8===h.nodeType)if(h.data===l)v.push({type:2,index:r});else{let t=-1;for(;-1!==(t=h.data.indexOf(n,t+1));)v.push({type:7,index:r}),t+=n.length-1}r++}}static createElement(t,i){const s=r.createElement(\"template\");return s.innerHTML=t,s}}function S(t,i,s=t,e){var o,n,l,h;if(i===T)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d(i)?void 0:i._$litDirective$;return(null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S(t,r._$AS(t,i.values),r,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r).importNode(s,!0);C.currentNode=o;let n=C.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z(n,this,t)),this._$AV.push(i),u=e[++h]}l!==(null==u?void 0:u.index)&&(n=C.nextNode(),l++)}return C.currentNode=r,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class R{constructor(t,i,s,e){var o;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),d(t)?t===A||null==t||\"\"===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==A&&d(this._$AH)?this._$AA.nextSibling.data=t:this.$(r.createTextNode(t)),this._$AH=t}g(t){var i;const{values:s,_$litType$:e}=t,o=\"number\"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N.createElement(P(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else{const t=new M(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new N(t)),i}T(t){c(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R(this.k(u()),this.k(u()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class k{constructor(t,i,s,e,o){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else{const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S(this,e[s+l],i,l),h===T&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===A?t=A:t!==A&&(t+=(null!=h?h:\"\")+o[l+1]),this._$AH[l]=h}n&&!e&&this.j(t)}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:\"\")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===A?void 0:t}}const I=s?s.emptyScript:\"\";class L extends k{constructor(){super(...arguments),this.type=4}j(t){t&&t!==A?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name)}}class z extends k{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5}_$AI(t,i=this){var s;if((t=null!==(s=S(this,t,i,0))&&void 0!==s?s:A)===T)return;const e=this._$AH,o=t===A&&e!==A||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A&&(e===A||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,s;\"function\"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const j={O:o,P:n,A:l,C:1,M:V,L:M,D:v,R:S,I:R,V:k,H:L,N:z,U:H,F:Z},B=i.litHtmlPolyfillSupport;null==B||B(N,R),(null!==(t=i.litHtmlVersions)&&void 0!==t?t:i.litHtmlVersions=[]).push(\"2.7.5\");const D=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R(i.insertBefore(u(),t),t,void 0,null!=s?s:{})}return l._$AI(t),l};export{j as _$LH,x as html,T as noChange,A as nothing,D as render,b as svg};\n//# sourceMappingURL=lit-html.js.map\n"],"names":["t","i","window","s","trustedTypes","e","createPolicy","createHTML","o","n","Math","random","slice","l","h","r","document","u","createComment","d","c","Array","isArray","a","f","_","m","p","RegExp","g","$","y","x","_$litType$","strings","values","w","T","Symbol","for","A","E","WeakMap","C","createTreeWalker","P","hasOwnProperty","Error","V","length","v","lastIndex","exec","test","startsWith","push","N","constructor","this","parts","el","createElement","currentNode","content","firstChild","remove","append","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","endsWith","getAttribute","toLowerCase","split","type","index","name","ctor","H","L","z","k","removeAttribute","tagName","textContent","emptyScript","data","indexOf","innerHTML","S","_$Co","_$Cl","_$litDirective$","_$AO","call","_$AT","_$AS","M","_$AV","_$AN","_$AD","_$AM","parentNode","_$AU","creationScope","importNode","R","nextSibling","Z","_$AI","_$AH","_$AA","_$AB","options","_$Cp","isConnected","startNode","endNode","_$AR","iterator","insertBefore","createTextNode","_$AC","get","set","_$AP","setConnected","element","fill","String","j","setAttribute","super","arguments","I","capture","once","passive","removeEventListener","addEventListener","handleEvent","host","B","litHtmlPolyfillSupport","litHtmlVersions","D","renderBefore","_$litPart$"],"mappings":";;;;;AAKA,IAAIA,EAAO,MAACC,EAAEC,OAAOC,EAAEF,EAAEG,aAAaC,EAAEF,EAAEA,EAAEG,aAAa,WAAW,CAACC,WAAWP,GAAGA,SAAI,EAAOQ,EAAE,QAAQC,EAAE,QAAQC,KAAKC,SAAS,IAAIC,MAAM,MAAMC,EAAE,IAAIJ,EAAEK,EAAE,IAAID,KAAKE,EAAEC,SAASC,EAAE,IAAIF,EAAEG,cAAc,IAAIC,EAAEnB,GAAG,OAAOA,GAAG,iBAAiBA,GAAG,mBAAmBA,EAAEoB,EAAEC,MAAMC,QAAyEC,EAAE,cAAcC,EAAE,sDAAsDC,EAAE,OAAOC,EAAE,KAAKC,EAAEC,OAAO,KAAKL,sBAAsBA,MAAMA,uCAAuC,KAAKM,EAAE,KAAKC,EAAE,KAAKC,EAAE,qCAAwFC,EAAjDhC,IAAG,CAACC,KAAKE,KAAK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AQ5G,EAAEC,EAAEiJ,uBAAkB,IAASlJ,EAAEA,EAAEC,EAAEiJ,gBAAgB,IAAI3F,KAAK,SAAc,MAAC4F,EAAE,CAACnJ,EAAEC,EAAEE,KAAK,IAAIE,EAAEG,EAAE,MAAMC,EAAE,QAAQJ,EAAE,MAAMF,OAAE,EAAOA,EAAEiJ,oBAAe,IAAS/I,EAAEA,EAAEJ,EAAE,IAAIY,EAAEJ,EAAE4I,WAAW,QAAG,IAASxI,EAAE,CAAC,MAAMb,EAAE,QAAQQ,EAAE,MAAML,OAAE,EAAOA,EAAEiJ,oBAAe,IAAS5I,EAAEA,EAAE,KAAKC,EAAE4I,WAAWxI,EAAE,IAAI+F,EAAE3G,EAAEyH,aAAazG,IAAIjB,GAAGA,OAAE,EAAO,MAAMG,EAAEA,EAAE,CAAA,EAAG,CAAC,OAAOU,EAAEkG,KAAK/G,GAAGa","x_google_ignoreList":[0]}
class e extends Map{set(e,t){return super.set(e,t),t}}class t extends WeakMap{set(e,t){return super.set(e,t),t}}
/*! (c) Andrea Giammarchi - ISC */const n=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,r=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/?)>/g,s=/([^\s\\>"'=]+)\s*=\s*(['"]?)\x01/g,l=/[\x01\x02]/g;const diffable=(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,{isArray:o}=Array,getValue=e=>null==e?e:e.valueOf(),event=(e,t)=>{let n,r,s=t.slice(2);return!(t in e)&&(r=t.toLowerCase())in e&&(s=r.slice(2)),t=>{const r=o(t)?t:[t,!1];n!==r[0]&&(n&&e.removeEventListener(s,n,r[1]),(n=r[0])&&e.addEventListener(s,n,r[1]))}};const{isArray:a,prototype:i}=Array,{indexOf:c}=i,{createDocumentFragment:u,createElement:d,createElementNS:p,createTextNode:f,createTreeWalker:h,importNode:m}=new Proxy({},{get:(e,t)=>document[t].bind(document)});let g;const createContent=(e,t)=>t?(e=>{g||(g=p("http://www.w3.org/2000/svg","svg")),g.innerHTML=e;const t=u();return t.append(...g.childNodes),t})(e):(e=>{const t=d("template");return t.innerHTML=e,t.content})(e),reducePath=({childNodes:e},t)=>e[t],diff=(e,t,n)=>((e,t,n,r,s)=>{const l=n.length;let o=t.length,a=l,i=0,c=0,u=null;for(;i<o||c<a;)if(o===i){const t=a<l?c?r(n[c-1],-0).nextSibling:r(n[a-c],0):s;for(;c<a;)e.insertBefore(r(n[c++],1),t)}else if(a===c)for(;i<o;)u&&u.has(t[i])||e.removeChild(r(t[i],-1)),i++;else if(t[i]===n[c])i++,c++;else if(t[o-1]===n[a-1])o--,a--;else if(t[i]===n[a-1]&&n[c]===t[o-1]){const s=r(t[--o],-1).nextSibling;e.insertBefore(r(n[c++],1),r(t[i++],-1).nextSibling),e.insertBefore(r(n[--a],1),s),t[o]=n[a]}else{if(!u){u=new Map;let e=c;for(;e<a;)u.set(n[e],e++)}if(u.has(t[i])){const s=u.get(t[i]);if(c<s&&s<a){let l=i,d=1;for(;++l<o&&l<a&&u.get(t[l])===s+d;)d++;if(d>s-c){const l=r(t[i],0);for(;c<s;)e.insertBefore(r(n[c++],1),l)}else e.replaceChild(r(n[c++],1),r(t[i++],-1))}else i++}else e.removeChild(r(t[i++],-1))}return n})(e.parentNode,t,n,diffable,e),handleAttribute=(e,t)=>{switch(t[0]){case"?":return((e,t,n)=>r=>{const s=!!getValue(r);n!==s&&((n=s)?e.setAttribute(t,""):e.removeAttribute(t))})(e,t.slice(1),!1);case".":return((e,t)=>"dataset"===t?(({dataset:e})=>t=>{for(const n in t){const r=t[n];null==r?delete e[n]:e[n]=r}})(e):n=>{e[t]=n})(e,t.slice(1));case"@":return event(e,"on"+t.slice(1));case"o":if("n"===t[1])return event(e,t)}switch(t){case"ref":return(e=>{let t;return n=>{t!==n&&(t=n,"function"==typeof n?n(e):n.current=e)}})(e);case"aria":return(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)}return((e,t)=>{let n,r=!0;const s=document.createAttributeNS(null,t);return t=>{const l=getValue(t);n!==l&&(null==(n=l)?r||(e.removeAttributeNode(s),r=!0):(s.value=l,r&&(e.setAttributeNodeNS(s),r=!1)))}})(e,t)};function handlers(e){const{type:t,path:n}=e,r=n.reduceRight(reducePath,this);return"node"===t?(e=>{let t,n,r=[];const anyContent=s=>{switch(typeof s){case"string":case"number":case"boolean":t!==s&&(t=s,n||(n=f("")),n.data=s,r=diff(e,r,[n]));break;case"object":case"undefined":if(null==s){t!=s&&(t=s,r=diff(e,r,[]));break}if(a(s)){t=s,0===s.length?r=diff(e,r,[]):"object"==typeof s[0]?r=diff(e,r,s):anyContent(String(s));break}if(t!==s)if("ELEMENT_NODE"in s)t=s,r=diff(e,r,11===s.nodeType?[...s.childNodes]:[s]);else{const e=s.valueOf();e!==s&&anyContent(e)}break;case"function":anyContent(s(e))}};return anyContent})(r):"attr"===t?handleAttribute(r,e.name):(e=>{let t;return n=>{const r=getValue(n);t!=r&&(t=r,e.textContent=null==r?"":r)}})(r)}const createPath=e=>{const t=[];let{parentNode:n}=e;for(;n;)t.push(c.call(n.childNodes,e)),e=n,({parentNode:n}=e);return t},y=new t,b=/^(?:textarea|script|style|title|plaintext|xmp)$/,mapTemplate=(e,t)=>{const o="svg"===e,a=((e,t,o)=>{let a=0;return e.join("").trim().replace(r,((e,t,r,l)=>{let a=t+r.replace(s,"=$2$1").trimEnd();return l.length&&(a+=o||n.test(t)?" /":"></"+t),"<"+a+">"})).replace(l,(e=>""===e?"\x3c!--"+t+a+++"--\x3e":t+a++))})(t,"isµ",o),i=createContent(a,o),c=h(i,129),u=[],d=t.length-1;let p=0,f=`isµ${p}`;for(;p<d;){const e=c.nextNode();if(!e)throw`bad template: ${a}`;if(8===e.nodeType)e.data===f&&(u.push({type:"node",path:createPath(e)}),f="isµ"+ ++p);else{for(;e.hasAttribute(f);)u.push({type:"attr",path:createPath(e),name:e.getAttribute(f)}),e.removeAttribute(f),f="isµ"+ ++p;b.test(e.localName)&&e.textContent.trim()===`\x3c!--${f}--\x3e`&&(e.textContent="",u.push({type:"text",path:createPath(e)}),f="isµ"+ ++p)}}return{content:i,nodes:u}},mapUpdates=(e,t)=>{const{content:n,nodes:r}=y.get(t)||y.set(t,mapTemplate(e,t)),s=m(n,!0);return{content:s,updates:r.map(handlers,s)}},unroll=(e,{type:t,template:n,values:r})=>{const s=unrollValues(e,r);let{entry:l}=e;l&&l.template===n&&l.type===t||(e.entry=l=((e,t)=>{const{content:n,updates:r}=mapUpdates(e,t);return{type:e,template:t,content:n,updates:r,wire:null}})(t,n));const{content:o,updates:a,wire:i}=l;for(let e=0;e<s;e++)a[e](r[e]);return i||(l.wire=(e=>{const{firstChild:t,lastChild:n}=e;if(t===n)return n||e;const{childNodes:r}=e,s=[...r];return{ELEMENT_NODE:1,nodeType:111,firstChild:t,lastChild:n,valueOf:()=>(r.length!==s.length&&e.append(...s),e)}})(o))},unrollValues=({stack:e},t)=>{const{length:n}=t;for(let r=0;r<n;r++){const n=t[r];n instanceof w?t[r]=unroll(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):a(n)?unrollValues(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):e[r]=null}return n<e.length&&e.splice(n),n};class w{constructor(e,t,n){this.type=e,this.template=t,this.values=n}}const tag=n=>{const r=new t;return Object.assign(((e,...t)=>new w(n,e,t)),{for(t,s){const l=r.get(t)||r.set(t,new e);return l.get(s)||l.set(s,(e=>(t,...r)=>unroll(e,{type:n,template:t,values:r}))({stack:[],entry:null,wire:null}))},node:(e,...t)=>unroll({stack:[],entry:null,wire:null},new w(n,e,t)).valueOf()})},x=new t,v=tag("html");function renderer(e,t){((e,t)=>{const n="function"==typeof t?t():t,r=x.get(e)||x.set(e,{stack:[],entry:null,wire:null}),s=n instanceof w?unroll(r,n):n;s!==r.wire&&(r.wire=s,e.replaceChildren(s.valueOf()))})(t,e)}tag("svg");export{v as html,renderer};
/*! (c) Andrea Giammarchi - ISC */const n=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i,r=/<([a-z]+[a-z0-9:._-]*)([^>]*?)(\/?)>/g,s=/([^\s\\>"'=]+)\s*=\s*(['"]?)\x01/g,l=/[\x01\x02]/g;const diffable=(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,{isArray:o}=Array,getValue=e=>null==e?e:e.valueOf(),event=(e,t)=>{let n,r,s=t.slice(2);return!(t in e)&&(r=t.toLowerCase())in e&&(s=r.slice(2)),t=>{const r=o(t)?t:[t,!1];n!==r[0]&&(n&&e.removeEventListener(s,n,r[1]),(n=r[0])&&e.addEventListener(s,n,r[1]))}};const{isArray:a,prototype:i}=Array,{indexOf:c}=i,{createDocumentFragment:u,createElement:d,createElementNS:p,createTextNode:f,createTreeWalker:h,importNode:m}=new Proxy({},{get:(e,t)=>document[t].bind(document)});let g;const createContent=(e,t)=>t?(e=>{g||(g=p("http://www.w3.org/2000/svg","svg")),g.innerHTML=e;const t=u();return t.append(...g.childNodes),t})(e):(e=>{const t=d("template");return t.innerHTML=e,t.content})(e),reducePath=({childNodes:e},t)=>e[t],diff=(e,t,n)=>((e,t,n,r,s)=>{const l=n.length;let o=t.length,a=l,i=0,c=0,u=null;for(;i<o||c<a;)if(o===i){const t=a<l?c?r(n[c-1],-0).nextSibling:r(n[a-c],0):s;for(;c<a;)e.insertBefore(r(n[c++],1),t)}else if(a===c)for(;i<o;)u&&u.has(t[i])||e.removeChild(r(t[i],-1)),i++;else if(t[i]===n[c])i++,c++;else if(t[o-1]===n[a-1])o--,a--;else if(t[i]===n[a-1]&&n[c]===t[o-1]){const s=r(t[--o],-1).nextSibling;e.insertBefore(r(n[c++],1),r(t[i++],-1).nextSibling),e.insertBefore(r(n[--a],1),s),t[o]=n[a]}else{if(!u){u=new Map;let e=c;for(;e<a;)u.set(n[e],e++)}if(u.has(t[i])){const s=u.get(t[i]);if(c<s&&s<a){let l=i,d=1;for(;++l<o&&l<a&&u.get(t[l])===s+d;)d++;if(d>s-c){const l=r(t[i],0);for(;c<s;)e.insertBefore(r(n[c++],1),l)}else e.replaceChild(r(n[c++],1),r(t[i++],-1))}else i++}else e.removeChild(r(t[i++],-1))}return n})(e.parentNode,t,n,diffable,e),handleAttribute=(e,t)=>{switch(t[0]){case"?":return((e,t,n)=>r=>{const s=!!getValue(r);n!==s&&((n=s)?e.setAttribute(t,""):e.removeAttribute(t))})(e,t.slice(1),!1);case".":return((e,t)=>"dataset"===t?(({dataset:e})=>t=>{for(const n in t){const r=t[n];null==r?delete e[n]:e[n]=r}})(e):n=>{e[t]=n})(e,t.slice(1));case"@":return event(e,"on"+t.slice(1));case"o":if("n"===t[1])return event(e,t)}switch(t){case"ref":return(e=>{let t;return n=>{t!==n&&(t=n,"function"==typeof n?n(e):n.current=e)}})(e);case"aria":return(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)}return((e,t)=>{let n,r=!0;const s=document.createAttributeNS(null,t);return t=>{const l=getValue(t);n!==l&&(null==(n=l)?r||(e.removeAttributeNode(s),r=!0):(s.value=l,r&&(e.setAttributeNodeNS(s),r=!1)))}})(e,t)};function handlers(e){const{type:t,path:n}=e,r=n.reduceRight(reducePath,this);return"node"===t?(e=>{let t,n,r=[];const anyContent=s=>{switch(typeof s){case"string":case"number":case"boolean":t!==s&&(t=s,n||(n=f("")),n.data=s,r=diff(e,r,[n]));break;case"object":case"undefined":if(null==s){t!=s&&(t=s,r=diff(e,r,[]));break}if(a(s)){t=s,0===s.length?r=diff(e,r,[]):"object"==typeof s[0]?r=diff(e,r,s):anyContent(String(s));break}if(t!==s)if("ELEMENT_NODE"in s)t=s,r=diff(e,r,11===s.nodeType?[...s.childNodes]:[s]);else{const e=s.valueOf();e!==s&&anyContent(e)}break;case"function":anyContent(s(e))}};return anyContent})(r):"attr"===t?handleAttribute(r,e.name):(e=>{let t;return n=>{const r=getValue(n);t!=r&&(t=r,e.textContent=null==r?"":r)}})(r)}const createPath=e=>{const t=[];let{parentNode:n}=e;for(;n;)t.push(c.call(n.childNodes,e)),e=n,({parentNode:n}=e);return t},y="isµ",b=new t,w=/^(?:textarea|script|style|title|plaintext|xmp)$/,mapTemplate=(e,t)=>{const o="svg"===e,a=((e,t,o)=>{let a=0;return e.join("").trim().replace(r,((e,t,r,l)=>{let a=t+r.replace(s,"=$2$1").trimEnd();return l.length&&(a+=o||n.test(t)?" /":"></"+t),"<"+a+">"})).replace(l,(e=>""===e?"\x3c!--"+t+a+++"--\x3e":t+a++))})(t,y,o),i=createContent(a,o),c=h(i,129),u=[],d=t.length-1;let p=0,f=`${y}${p}`;for(;p<d;){const e=c.nextNode();if(!e)throw`bad template: ${a}`;if(8===e.nodeType)e.data===f&&(u.push({type:"node",path:createPath(e)}),f=`${y}${++p}`);else{for(;e.hasAttribute(f);)u.push({type:"attr",path:createPath(e),name:e.getAttribute(f)}),e.removeAttribute(f),f=`${y}${++p}`;w.test(e.localName)&&e.textContent.trim()===`\x3c!--${f}--\x3e`&&(e.textContent="",u.push({type:"text",path:createPath(e)}),f=`${y}${++p}`)}}return{content:i,nodes:u}},mapUpdates=(e,t)=>{const{content:n,nodes:r}=b.get(t)||b.set(t,mapTemplate(e,t)),s=m(n,!0);return{content:s,updates:r.map(handlers,s)}},unroll=(e,{type:t,template:n,values:r})=>{const s=unrollValues(e,r);let{entry:l}=e;l&&l.template===n&&l.type===t||(e.entry=l=((e,t)=>{const{content:n,updates:r}=mapUpdates(e,t);return{type:e,template:t,content:n,updates:r,wire:null}})(t,n));const{content:o,updates:a,wire:i}=l;for(let e=0;e<s;e++)a[e](r[e]);return i||(l.wire=(e=>{const{firstChild:t,lastChild:n}=e;if(t===n)return n||e;const{childNodes:r}=e,s=[...r];return{ELEMENT_NODE:1,nodeType:111,firstChild:t,lastChild:n,valueOf:()=>(r.length!==s.length&&e.append(...s),e)}})(o))},unrollValues=({stack:e},t)=>{const{length:n}=t;for(let r=0;r<n;r++){const n=t[r];n instanceof x?t[r]=unroll(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):a(n)?unrollValues(e[r]||(e[r]={stack:[],entry:null,wire:null}),n):e[r]=null}return n<e.length&&e.splice(n),n};class x{constructor(e,t,n){this.type=e,this.template=t,this.values=n}}const tag=n=>{const r=new t;return Object.assign(((e,...t)=>new x(n,e,t)),{for(t,s){const l=r.get(t)||r.set(t,new e);return l.get(s)||l.set(s,(e=>(t,...r)=>unroll(e,{type:n,template:t,values:r}))({stack:[],entry:null,wire:null}))},node:(e,...t)=>unroll({stack:[],entry:null,wire:null},new x(n,e,t)).valueOf()})},v=new t,N=tag("html");function renderer(e,t){((e,t)=>{const n="function"==typeof t?t():t,r=v.get(e)||v.set(e,{stack:[],entry:null,wire:null}),s=n instanceof x?unroll(r,n):n;s!==r.wire&&(r.wire=s,e.replaceChildren(s.valueOf()))})(t,e)}tag("svg");export{N as html,renderer};
//# sourceMappingURL=uhtml.mjs.map

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

{"version":3,"file":"uhtml.mjs","sources":["../node_modules/@webreflection/mapset/esm/index.js","../node_modules/@webreflection/uparser/esm/index.js","../node_modules/@webreflection/uwire/esm/index.js","../node_modules/uarray/esm/index.js","../node_modules/uhandlers/esm/index.js","../node_modules/uhtml/esm/utils.js","../node_modules/uhtml/esm/handlers.js","../node_modules/udomdiff/esm/index.js","../node_modules/uhtml/esm/rabbit.js","../node_modules/uhtml/esm/index.js","../src/uhtml.mjs"],"sourcesContent":["export class MapSet extends Map {\n set(key, value) {\n super.set(key, value);\n return value;\n }\n}\n\nexport class WeakMapSet extends WeakMap {\n set(key, value) {\n super.set(key, value);\n return value;\n }\n}\n","/*! (c) Andrea Giammarchi - ISC */\nconst empty = /^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i;\nconst elements = /<([a-z]+[a-z0-9:._-]*)([^>]*?)(\\/?)>/g;\nconst attributes = /([^\\s\\\\>\"'=]+)\\s*=\\s*(['\"]?)\\x01/g;\nconst holes = /[\\x01\\x02]/g;\n\n// \\x01 Node.ELEMENT_NODE\n// \\x02 Node.ATTRIBUTE_NODE\n\n/**\n * Given a template, find holes as both nodes and attributes and\n * return a string with holes as either comment nodes or named attributes.\n * @param {string[]} template a template literal tag array\n * @param {string} prefix prefix to use per each comment/attribute\n * @param {boolean} svg enforces self-closing tags\n * @returns {string} X/HTML with prefixed comments or attributes\n */\nexport default (template, prefix, svg) => {\n let i = 0;\n return template\n .join('\\x01')\n .trim()\n .replace(\n elements,\n (_, name, attrs, selfClosing) => {\n let ml = name + attrs.replace(attributes, '\\x02=$2$1').trimEnd();\n if (selfClosing.length)\n ml += (svg || empty.test(name)) ? ' /' : ('></' + name);\n return '<' + ml + '>';\n }\n )\n .replace(\n holes,\n hole => hole === '\\x01' ?\n ('<!--' + prefix + i++ + '-->') :\n (prefix + i++)\n );\n};\n","const ELEMENT_NODE = 1;\nconst nodeType = 111;\n\nconst remove = ({firstChild, lastChild}) => {\n const range = document.createRange();\n range.setStartAfter(firstChild);\n range.setEndAfter(lastChild);\n range.deleteContents();\n return firstChild;\n};\n\nexport const diffable = (node, operation) => node.nodeType === nodeType ?\n ((1 / operation) < 0 ?\n (operation ? remove(node) : node.lastChild) :\n (operation ? node.valueOf() : node.firstChild)) :\n node\n;\n\nexport const persistent = fragment => {\n const {firstChild, lastChild} = fragment;\n if (firstChild === lastChild)\n return lastChild || fragment;\n const {childNodes} = fragment;\n const nodes = [...childNodes];\n return {\n ELEMENT_NODE,\n nodeType,\n firstChild,\n lastChild,\n valueOf() {\n if (childNodes.length !== nodes.length)\n fragment.append(...nodes);\n return fragment;\n }\n };\n};\n","const {isArray} = Array;\nconst {indexOf, slice} = [];\n\nexport {isArray, indexOf, slice};\n","import {isArray} from 'uarray';\n\n// flag for foreign checks (slower path, fast by default)\nlet useForeign = false;\n\nexport class Foreign {\n constructor(handler, value) {\n useForeign = true;\n this._ = (...args) => handler(...args, value);\n }\n}\n\nexport const foreign = (handler, value) => new Foreign(handler, value);\n\nexport const aria = node => values => {\n for (const key in values) {\n const name = key === 'role' ? key : `aria-${key}`;\n const value = values[key];\n if (value == null)\n node.removeAttribute(name);\n else\n node.setAttribute(name, value);\n }\n};\n\nconst getValue = value => value == null ? value : value.valueOf();\n\nexport const attribute = (node, name) => {\n let oldValue, orphan = true;\n const attributeNode = document.createAttributeNS(null, name);\n return newValue => {\n const value = useForeign && (newValue instanceof Foreign) ?\n newValue._(node, name) : getValue(newValue);\n if (oldValue !== value) {\n if ((oldValue = value) == null) {\n if (!orphan) {\n node.removeAttributeNode(attributeNode);\n orphan = true;\n }\n }\n else {\n attributeNode.value = value;\n if (orphan) {\n node.setAttributeNodeNS(attributeNode);\n orphan = false;\n }\n }\n }\n };\n};\n\nexport const boolean = (node, key, oldValue) => newValue => {\n const value = !!getValue(newValue);\n if (oldValue !== value) {\n // when IE won't be around anymore ...\n // node.toggleAttribute(key, oldValue = !!value);\n if ((oldValue = value))\n node.setAttribute(key, '');\n else\n node.removeAttribute(key);\n }\n};\n\nexport const data = ({dataset}) => values => {\n for (const key in values) {\n const value = values[key];\n if (value == null)\n delete dataset[key];\n else\n dataset[key] = value;\n }\n};\n\nexport const event = (node, name) => {\n let oldValue, lower, type = name.slice(2);\n if (!(name in node) && (lower = name.toLowerCase()) in node)\n type = lower.slice(2);\n return newValue => {\n const info = isArray(newValue) ? newValue : [newValue, false];\n if (oldValue !== info[0]) {\n if (oldValue)\n node.removeEventListener(type, oldValue, info[1]);\n if (oldValue = info[0])\n node.addEventListener(type, oldValue, info[1]);\n }\n };\n};\n\nexport const ref = node => {\n let oldValue;\n return value => {\n if (oldValue !== value) {\n oldValue = value;\n if (typeof value === 'function')\n value(node);\n else\n value.current = node;\n }\n };\n};\n\nexport const setter = (node, key) => key === 'dataset' ?\n data(node) :\n value => {\n node[key] = value;\n };\n\nexport const text = node => {\n let oldValue;\n return newValue => {\n const value = getValue(newValue);\n if (oldValue != value) {\n oldValue = value;\n node.textContent = value == null ? '' : value;\n }\n };\n};\n","const {isArray, prototype} = Array;\nconst {indexOf} = prototype;\n\nexport {isArray, indexOf};\n\nconst {\n createDocumentFragment,\n createElement,\n createElementNS,\n createTextNode,\n createTreeWalker,\n importNode\n} = new Proxy({}, {\n get: (_, method) => document[method].bind(document)\n});\n\nexport {createTextNode, createTreeWalker, importNode};\n\nconst createHTML = html => {\n const template = createElement('template');\n template.innerHTML = html;\n return template.content;\n};\n\nlet xml;\nconst createSVG = svg => {\n if (!xml) xml = createElementNS('http://www.w3.org/2000/svg', 'svg');\n xml.innerHTML = svg;\n const content = createDocumentFragment();\n content.append(...xml.childNodes);\n return content;\n};\n\nexport const createContent = (text, svg) => svg ?\n createSVG(text) : createHTML(text);\n","import {diffable} from '@webreflection/uwire';\n\nimport {aria, attribute, boolean, event, ref, setter, text} from 'uhandlers';\nimport udomdiff from 'udomdiff';\n\nimport {isArray, createTextNode} from './utils.js';\n\n// from a generic path, retrieves the exact targeted node\nconst reducePath = ({childNodes}, i) => childNodes[i];\n\n// this helper avoid code bloat around handleAnything() callback\nconst diff = (comment, oldNodes, newNodes) => udomdiff(\n comment.parentNode,\n // TODO: there is a possible edge case where a node has been\n // removed manually, or it was a keyed one, attached\n // to a shared reference between renders.\n // In this case udomdiff might fail at removing such node\n // as its parent won't be the expected one.\n // The best way to avoid this issue is to filter oldNodes\n // in search of those not live, or not in the current parent\n // anymore, but this would require both a change to uwire,\n // exposing a parentNode from the firstChild, as example,\n // but also a filter per each diff that should exclude nodes\n // that are not in there, penalizing performance quite a lot.\n // As this has been also a potential issue with domdiff,\n // and both lighterhtml and hyperHTML might fail with this\n // very specific edge case, I might as well document this possible\n // \"diffing shenanigan\" and call it a day.\n oldNodes,\n newNodes,\n diffable,\n comment\n);\n\n// if an interpolation represents a comment, the whole\n// diffing will be related to such comment.\n// This helper is in charge of understanding how the new\n// content for such interpolation/hole should be updated\nconst handleAnything = comment => {\n let oldValue, text, nodes = [];\n const anyContent = newValue => {\n switch (typeof newValue) {\n // primitives are handled as text content\n case 'string':\n case 'number':\n case 'boolean':\n if (oldValue !== newValue) {\n oldValue = newValue;\n if (!text)\n text = createTextNode('');\n text.data = newValue;\n nodes = diff(comment, nodes, [text]);\n }\n break;\n // null, and undefined are used to cleanup previous content\n case 'object':\n case 'undefined':\n if (newValue == null) {\n if (oldValue != newValue) {\n oldValue = newValue;\n nodes = diff(comment, nodes, []);\n }\n break;\n }\n // arrays and nodes have a special treatment\n if (isArray(newValue)) {\n oldValue = newValue;\n // arrays can be used to cleanup, if empty\n if (newValue.length === 0)\n nodes = diff(comment, nodes, []);\n // or diffed, if these contains nodes or \"wires\"\n else if (typeof newValue[0] === 'object')\n nodes = diff(comment, nodes, newValue);\n // in all other cases the content is stringified as is\n else\n anyContent(String(newValue));\n break;\n }\n // if the new value is a DOM node, or a wire, and it's\n // different from the one already live, then it's diffed.\n // if the node is a fragment, it's appended once via its childNodes\n // There is no `else` here, meaning if the content\n // is not expected one, nothing happens, as easy as that.\n if (oldValue !== newValue) {\n if ('ELEMENT_NODE' in newValue) {\n oldValue = newValue;\n nodes = diff(\n comment,\n nodes,\n newValue.nodeType === 11 ?\n [...newValue.childNodes] :\n [newValue]\n );\n }\n else {\n const value = newValue.valueOf();\n if (value !== newValue)\n anyContent(value);\n }\n }\n break;\n case 'function':\n anyContent(newValue(comment));\n break;\n }\n };\n return anyContent;\n};\n\n// attributes can be:\n// * ref=${...} for hooks and other purposes\n// * aria=${...} for aria attributes\n// * ?boolean=${...} for boolean attributes\n// * .dataset=${...} for dataset related attributes\n// * .setter=${...} for Custom Elements setters or nodes with setters\n// such as buttons, details, options, select, etc\n// * @event=${...} to explicitly handle event listeners\n// * onevent=${...} to automatically handle event listeners\n// * generic=${...} to handle an attribute just like an attribute\nconst handleAttribute = (node, name/*, svg*/) => {\n switch (name[0]) {\n case '?': return boolean(node, name.slice(1), false);\n case '.': return setter(node, name.slice(1));\n case '@': return event(node, 'on' + name.slice(1));\n case 'o': if (name[1] === 'n') return event(node, name);\n }\n\n switch (name) {\n case 'ref': return ref(node);\n case 'aria': return aria(node);\n }\n\n return attribute(node, name/*, svg*/);\n};\n\n// each mapped update carries the update type and its path\n// the type is either node, attribute, or text, while\n// the path is how to retrieve the related node to update.\n// In the attribute case, the attribute name is also carried along.\nexport function handlers(options) {\n const {type, path} = options;\n const node = path.reduceRight(reducePath, this);\n return type === 'node' ?\n handleAnything(node) :\n (type === 'attr' ?\n handleAttribute(node, options.name/*, options.svg*/) :\n text(node));\n};\n","/**\n * ISC License\n *\n * Copyright (c) 2020, Andrea Giammarchi, @WebReflection\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n * PERFORMANCE OF THIS SOFTWARE.\n */\n\n/**\n * @param {Node} parentNode The container where children live\n * @param {Node[]} a The list of current/live children\n * @param {Node[]} b The list of future children\n * @param {(entry: Node, action: number) => Node} get\n * The callback invoked per each entry related DOM operation.\n * @param {Node} [before] The optional node used as anchor to insert before.\n * @returns {Node[]} The same list of future children.\n */\nexport default (parentNode, a, b, get, before) => {\n const bLength = b.length;\n let aEnd = a.length;\n let bEnd = bLength;\n let aStart = 0;\n let bStart = 0;\n let map = null;\n while (aStart < aEnd || bStart < bEnd) {\n // append head, tail, or nodes in between: fast path\n if (aEnd === aStart) {\n // we could be in a situation where the rest of nodes that\n // need to be added are not at the end, and in such case\n // the node to `insertBefore`, if the index is more than 0\n // must be retrieved, otherwise it's gonna be the first item.\n const node = bEnd < bLength ?\n (bStart ?\n (get(b[bStart - 1], -0).nextSibling) :\n get(b[bEnd - bStart], 0)) :\n before;\n while (bStart < bEnd)\n parentNode.insertBefore(get(b[bStart++], 1), node);\n }\n // remove head or tail: fast path\n else if (bEnd === bStart) {\n while (aStart < aEnd) {\n // remove the node only if it's unknown or not live\n if (!map || !map.has(a[aStart]))\n parentNode.removeChild(get(a[aStart], -1));\n aStart++;\n }\n }\n // same node: fast path\n else if (a[aStart] === b[bStart]) {\n aStart++;\n bStart++;\n }\n // same tail: fast path\n else if (a[aEnd - 1] === b[bEnd - 1]) {\n aEnd--;\n bEnd--;\n }\n // The once here single last swap \"fast path\" has been removed in v1.1.0\n // https://github.com/WebReflection/udomdiff/blob/single-final-swap/esm/index.js#L69-L85\n // reverse swap: also fast path\n else if (\n a[aStart] === b[bEnd - 1] &&\n b[bStart] === a[aEnd - 1]\n ) {\n // this is a \"shrink\" operation that could happen in these cases:\n // [1, 2, 3, 4, 5]\n // [1, 4, 3, 2, 5]\n // or asymmetric too\n // [1, 2, 3, 4, 5]\n // [1, 2, 3, 5, 6, 4]\n const node = get(a[--aEnd], -1).nextSibling;\n parentNode.insertBefore(\n get(b[bStart++], 1),\n get(a[aStart++], -1).nextSibling\n );\n parentNode.insertBefore(get(b[--bEnd], 1), node);\n // mark the future index as identical (yeah, it's dirty, but cheap 👍)\n // The main reason to do this, is that when a[aEnd] will be reached,\n // the loop will likely be on the fast path, as identical to b[bEnd].\n // In the best case scenario, the next loop will skip the tail,\n // but in the worst one, this node will be considered as already\n // processed, bailing out pretty quickly from the map index check\n a[aEnd] = b[bEnd];\n }\n // map based fallback, \"slow\" path\n else {\n // the map requires an O(bEnd - bStart) operation once\n // to store all future nodes indexes for later purposes.\n // In the worst case scenario, this is a full O(N) cost,\n // and such scenario happens at least when all nodes are different,\n // but also if both first and last items of the lists are different\n if (!map) {\n map = new Map;\n let i = bStart;\n while (i < bEnd)\n map.set(b[i], i++);\n }\n // if it's a future node, hence it needs some handling\n if (map.has(a[aStart])) {\n // grab the index of such node, 'cause it might have been processed\n const index = map.get(a[aStart]);\n // if it's not already processed, look on demand for the next LCS\n if (bStart < index && index < bEnd) {\n let i = aStart;\n // counts the amount of nodes that are the same in the future\n let sequence = 1;\n while (++i < aEnd && i < bEnd && map.get(a[i]) === (index + sequence))\n sequence++;\n // effort decision here: if the sequence is longer than replaces\n // needed to reach such sequence, which would brings again this loop\n // to the fast path, prepend the difference before a sequence,\n // and move only the future list index forward, so that aStart\n // and bStart will be aligned again, hence on the fast path.\n // An example considering aStart and bStart are both 0:\n // a: [1, 2, 3, 4]\n // b: [7, 1, 2, 3, 6]\n // this would place 7 before 1 and, from that time on, 1, 2, and 3\n // will be processed at zero cost\n if (sequence > (index - bStart)) {\n const node = get(a[aStart], 0);\n while (bStart < index)\n parentNode.insertBefore(get(b[bStart++], 1), node);\n }\n // if the effort wasn't good enough, fallback to a replace,\n // moving both source and target indexes forward, hoping that some\n // similar node will be found later on, to go back to the fast path\n else {\n parentNode.replaceChild(\n get(b[bStart++], 1),\n get(a[aStart++], -1)\n );\n }\n }\n // otherwise move the source forward, 'cause there's nothing to do\n else\n aStart++;\n }\n // this node has no meaning in the future list, so it's more than safe\n // to remove it, and check the next live node out instead, meaning\n // that only the live list index should be forwarded\n else\n parentNode.removeChild(get(a[aStart++], -1));\n }\n }\n return b;\n};\n","import {WeakMapSet} from '@webreflection/mapset';\nimport instrument from '@webreflection/uparser';\nimport {persistent} from '@webreflection/uwire';\n\nimport {handlers} from './handlers.js';\nimport {isArray, indexOf, createContent, createTreeWalker, importNode} from './utils.js';\n\n// from a fragment container, create an array of indexes\n// related to its child nodes, so that it's possible\n// to retrieve later on exact node via reducePath\nconst createPath = node => {\n const path = [];\n let {parentNode} = node;\n while (parentNode) {\n path.push(indexOf.call(parentNode.childNodes, node));\n node = parentNode;\n ({parentNode} = node);\n }\n return path;\n};\n\n// the prefix is used to identify either comments, attributes, or nodes\n// that contain the related unique id. In the attribute cases\n// isµX=\"attribute-name\" will be used to map current X update to that\n// attribute name, while comments will be like <!--isµX-->, to map\n// the update to that specific comment node, hence its parent.\n// style and textarea will have <!--isµX--> text content, and are handled\n// directly through text-only updates.\nconst prefix = 'isµ';\n\n// Template Literals are unique per scope and static, meaning a template\n// should be parsed once, and once only, as it will always represent the same\n// content, within the exact same amount of updates each time.\n// This cache relates each template to its unique content and updates.\nconst cache = new WeakMapSet;\n\n// a RegExp that helps checking nodes that cannot contain comments\nconst textOnly = /^(?:textarea|script|style|title|plaintext|xmp)$/;\n\nexport const createCache = () => ({\n stack: [], // each template gets a stack for each interpolation \"hole\"\n\n entry: null, // each entry contains details, such as:\n // * the template that is representing\n // * the type of node it represents (html or svg)\n // * the content fragment with all nodes\n // * the list of updates per each node (template holes)\n // * the \"wired\" node or fragment that will get updates\n // if the template or type are different from the previous one\n // the entry gets re-created each time\n\n wire: null // each rendered node represent some wired content and\n // this reference to the latest one. If different, the node\n // will be cleaned up and the new \"wire\" will be appended\n});\n\n// the entry stored in the rendered node cache, and per each \"hole\"\nconst createEntry = (type, template) => {\n const {content, updates} = mapUpdates(type, template);\n return {type, template, content, updates, wire: null};\n};\n\n// a template is instrumented to be able to retrieve where updates are needed.\n// Each unique template becomes a fragment, cloned once per each other\n// operation based on the same template, i.e. data => html`<p>${data}</p>`\nconst mapTemplate = (type, template) => {\n const svg = type === 'svg';\n const text = instrument(template, prefix, svg);\n const content = createContent(text, svg);\n // once instrumented and reproduced as fragment, it's crawled\n // to find out where each update is in the fragment tree\n const tw = createTreeWalker(content, 1 | 128);\n const nodes = [];\n const length = template.length - 1;\n let i = 0;\n // updates are searched via unique names, linearly increased across the tree\n // <div isµ0=\"attr\" isµ1=\"other\"><!--isµ2--><style><!--isµ3--</style></div>\n let search = `${prefix}${i}`;\n while (i < length) {\n const node = tw.nextNode();\n // if not all updates are bound but there's nothing else to crawl\n // it means that there is something wrong with the template.\n if (!node)\n throw `bad template: ${text}`;\n // if the current node is a comment, and it contains isµX\n // it means the update should take care of any content\n if (node.nodeType === 8) {\n // The only comments to be considered are those\n // which content is exactly the same as the searched one.\n if (node.data === search) {\n nodes.push({type: 'node', path: createPath(node)});\n search = `${prefix}${++i}`;\n }\n }\n else {\n // if the node is not a comment, loop through all its attributes\n // named isµX and relate attribute updates to this node and the\n // attribute name, retrieved through node.getAttribute(\"isµX\")\n // the isµX attribute will be removed as irrelevant for the layout\n // let svg = -1;\n while (node.hasAttribute(search)) {\n nodes.push({\n type: 'attr',\n path: createPath(node),\n name: node.getAttribute(search)\n });\n node.removeAttribute(search);\n search = `${prefix}${++i}`;\n }\n // if the node was a style, textarea, or others, check its content\n // and if it is <!--isµX--> then update tex-only this node\n if (\n textOnly.test(node.localName) &&\n node.textContent.trim() === `<!--${search}-->`\n ){\n node.textContent = '';\n nodes.push({type: 'text', path: createPath(node)});\n search = `${prefix}${++i}`;\n }\n }\n }\n // once all nodes to update, or their attributes, are known, the content\n // will be cloned in the future to represent the template, and all updates\n // related to such content retrieved right away without needing to re-crawl\n // the exact same template, and its content, more than once.\n return {content, nodes};\n};\n\n// if a template is unknown, perform the previous mapping, otherwise grab\n// its details such as the fragment with all nodes, and updates info.\nconst mapUpdates = (type, template) => {\n const {content, nodes} = (\n cache.get(template) ||\n cache.set(template, mapTemplate(type, template))\n );\n // clone deeply the fragment\n const fragment = importNode(content, true);\n // and relate an update handler per each node that needs one\n const updates = nodes.map(handlers, fragment);\n // return the fragment and all updates to use within its nodes\n return {content: fragment, updates};\n};\n\n// as html and svg can be nested calls, but no parent node is known\n// until rendered somewhere, the unroll operation is needed to\n// discover what to do with each interpolation, which will result\n// into an update operation.\nexport const unroll = (info, {type, template, values}) => {\n // interpolations can contain holes and arrays, so these need\n // to be recursively discovered\n const length = unrollValues(info, values);\n let {entry} = info;\n // if the cache entry is either null or different from the template\n // and the type this unroll should resolve, create a new entry\n // assigning a new content fragment and the list of updates.\n if (!entry || (entry.template !== template || entry.type !== type))\n info.entry = (entry = createEntry(type, template));\n const {content, updates, wire} = entry;\n // even if the fragment and its nodes is not live yet,\n // it is already possible to update via interpolations values.\n for (let i = 0; i < length; i++)\n updates[i](values[i]);\n // if the entry was new, or representing a different template or type,\n // create a new persistent entity to use during diffing.\n // This is simply a DOM node, when the template has a single container,\n // as in `<p></p>`, or a \"wire\" in `<p></p><p></p>` and similar cases.\n return wire || (entry.wire = persistent(content));\n};\n\n// the stack retains, per each interpolation value, the cache\n// related to each interpolation value, or null, if the render\n// was conditional and the value is not special (Array or Hole)\nconst unrollValues = ({stack}, values) => {\n const {length} = values;\n for (let i = 0; i < length; i++) {\n const hole = values[i];\n // each Hole gets unrolled and re-assigned as value\n // so that domdiff will deal with a node/wire, not with a hole\n if (hole instanceof Hole)\n values[i] = unroll(\n stack[i] || (stack[i] = createCache()),\n hole\n );\n // arrays are recursively resolved so that each entry will contain\n // also a DOM node or a wire, hence it can be diffed if/when needed\n else if (isArray(hole))\n unrollValues(stack[i] || (stack[i] = createCache()), hole);\n // if the value is nothing special, the stack doesn't need to retain data\n // this is useful also to cleanup previously retained data, if the value\n // was a Hole, or an Array, but not anymore, i.e.:\n // const update = content => html`<div>${content}</div>`;\n // update(listOfItems); update(null); update(html`hole`)\n else\n stack[i] = null;\n }\n if (length < stack.length)\n stack.splice(length);\n return length;\n};\n\n/**\n * Holds all details wrappers needed to render the content further on.\n * @constructor\n * @param {string} type The hole type, either `html` or `svg`.\n * @param {string[]} template The template literals used to the define the content.\n * @param {Array} values Zero, one, or more interpolated values to render.\n */\nexport class Hole {\n constructor(type, template, values) {\n this.type = type;\n this.template = template;\n this.values = values;\n }\n};\n","import {MapSet, WeakMapSet} from '@webreflection/mapset';\n\nimport {Hole, createCache, unroll} from './rabbit.js';\n\n// both `html` and `svg` template literal tags are polluted\n// with a `for(ref[, id])` and a `node` tag too\nconst tag = type => {\n // both `html` and `svg` tags have their own cache\n const keyed = new WeakMapSet;\n // keyed operations always re-use the same cache and unroll\n // the template and its interpolations right away\n const fixed = cache => (template, ...values) => unroll(\n cache,\n {type, template, values}\n );\n return Object.assign(\n // non keyed operations are recognized as instance of Hole\n // during the \"unroll\", recursively resolved and updated\n (template, ...values) => new Hole(type, template, values),\n {\n // keyed operations need a reference object, usually the parent node\n // which is showing keyed results, and optionally a unique id per each\n // related node, handy with JSON results and mutable list of objects\n // that usually carry a unique identifier\n for(ref, id) {\n const memo = keyed.get(ref) || keyed.set(ref, new MapSet);\n return memo.get(id) || memo.set(id, fixed(createCache()));\n },\n // it is possible to create one-off content out of the box via node tag\n // this might return the single created node, or a fragment with all\n // nodes present at the root level and, of course, their child nodes\n node: (template, ...values) => unroll(createCache(), new Hole(type, template, values)).valueOf()\n }\n );\n};\n\n// each rendered node gets its own cache\nconst cache = new WeakMapSet;\n\n// rendering means understanding what `html` or `svg` tags returned\n// and it relates a specific node to its own unique cache.\n// Each time the content to render changes, the node is cleaned up\n// and the new new content is appended, and if such content is a Hole\n// then it's \"unrolled\" to resolve all its inner nodes.\nconst render = (where, what) => {\n const hole = typeof what === 'function' ? what() : what;\n const info = cache.get(where) || cache.set(where, createCache());\n const wire = hole instanceof Hole ? unroll(info, hole) : hole;\n if (wire !== info.wire) {\n info.wire = wire;\n // valueOf() simply returns the node itself, but in case it was a \"wire\"\n // it will eventually re-append all nodes to its fragment so that such\n // fragment can be re-appended many times in a meaningful way\n // (wires are basically persistent fragments facades with special behavior)\n where.replaceChildren(wire.valueOf());\n }\n return where;\n};\n\nconst html = tag('html');\nconst svg = tag('svg');\n\nexport {Hole, render, html, svg};\n","import { html, render as uhtmlRenderer } from 'uhtml'\n\nfunction renderer (what, where) {\n uhtmlRenderer(where, what)\n}\n\nexport { html, renderer }\n"],"names":["MapSet","Map","set","key","value","super","WeakMapSet","WeakMap","empty","elements","attributes","holes","diffable","node","operation","nodeType","firstChild","lastChild","range","document","createRange","setStartAfter","setEndAfter","deleteContents","remove","valueOf","isArray","Array","getValue","event","name","oldValue","lower","type","slice","toLowerCase","newValue","info","removeEventListener","addEventListener","prototype","indexOf","createDocumentFragment","createElement","createElementNS","createTextNode","createTreeWalker","importNode","Proxy","get","_","method","bind","xml","createContent","text","svg","innerHTML","content","append","childNodes","createSVG","html","template","createHTML","reducePath","i","diff","comment","oldNodes","newNodes","parentNode","a","b","before","bLength","length","aEnd","bEnd","aStart","bStart","map","insertBefore","has","removeChild","nextSibling","index","sequence","replaceChild","udomdiff","handleAttribute","setAttribute","removeAttribute","boolean","dataset","values","data","setter","current","ref","aria","orphan","attributeNode","createAttributeNS","removeAttributeNode","setAttributeNodeNS","attribute","handlers","options","path","reduceRight","this","nodes","anyContent","String","handleAnything","textContent","createPath","push","call","cache","textOnly","mapTemplate","prefix","join","trim","replace","attrs","selfClosing","ml","trimEnd","test","hole","instrument","tw","search","nextNode","hasAttribute","getAttribute","localName","mapUpdates","fragment","updates","unroll","unrollValues","entry","wire","createEntry","ELEMENT_NODE","persistent","stack","Hole","splice","constructor","tag","keyed","Object","assign","for","id","memo","fixed","renderer","what","where","replaceChildren","uhtmlRenderer"],"mappings":"AAAO,MAAMA,UAAeC,IAC1BC,IAAIC,EAAKC,GAEP,OADAC,MAAMH,IAAIC,EAAKC,GACRA,CACR,EAGI,MAAME,UAAmBC,QAC9BL,IAAIC,EAAKC,GAEP,OADAC,MAAMH,IAAIC,EAAKC,GACRA,CACR;kCCVH,MAAMI,EAAQ,8FACRC,EAAW,wCACXC,EAAa,oCACbC,EAAQ,cCJd,MAWaC,SAAW,CAACC,EAAMC,IAVd,M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gBnB,EAAKzH,WAEjB,ECrDZ6I,CAAcF,EAAOD,EACvB,CDwDYT,IAAI","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9]}
{"version":3,"file":"uhtml.mjs","sources":["../node_modules/@webreflection/mapset/esm/index.js","../node_modules/@webreflection/uparser/esm/index.js","../node_modules/@webreflection/uwire/esm/index.js","../node_modules/uarray/esm/index.js","../node_modules/uhandlers/esm/index.js","../node_modules/uhtml/esm/utils.js","../node_modules/uhtml/esm/handlers.js","../node_modules/udomdiff/esm/index.js","../node_modules/uhtml/esm/rabbit.js","../node_modules/uhtml/esm/index.js","../src/uhtml.mjs"],"sourcesContent":["export class MapSet extends Map {\n set(key, value) {\n super.set(key, value);\n return value;\n }\n}\n\nexport class WeakMapSet extends WeakMap {\n set(key, value) {\n super.set(key, value);\n return value;\n }\n}\n","/*! (c) Andrea Giammarchi - ISC */\nconst empty = /^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i;\nconst elements = /<([a-z]+[a-z0-9:._-]*)([^>]*?)(\\/?)>/g;\nconst attributes = /([^\\s\\\\>\"'=]+)\\s*=\\s*(['\"]?)\\x01/g;\nconst holes = /[\\x01\\x02]/g;\n\n// \\x01 Node.ELEMENT_NODE\n// \\x02 Node.ATTRIBUTE_NODE\n\n/**\n * Given a template, find holes as both nodes and attributes and\n * return a string with holes as either comment nodes or named attributes.\n * @param {string[]} template a template literal tag array\n * @param {string} prefix prefix to use per each comment/attribute\n * @param {boolean} svg enforces self-closing tags\n * @returns {string} X/HTML with prefixed comments or attributes\n */\nexport default (template, prefix, svg) => {\n let i = 0;\n return template\n .join('\\x01')\n .trim()\n .replace(\n elements,\n (_, name, attrs, selfClosing) => {\n let ml = name + attrs.replace(attributes, '\\x02=$2$1').trimEnd();\n if (selfClosing.length)\n ml += (svg || empty.test(name)) ? ' /' : ('></' + name);\n return '<' + ml + '>';\n }\n )\n .replace(\n holes,\n hole => hole === '\\x01' ?\n ('<!--' + prefix + i++ + '-->') :\n (prefix + i++)\n );\n};\n","const ELEMENT_NODE = 1;\nconst nodeType = 111;\n\nconst remove = ({firstChild, lastChild}) => {\n const range = document.createRange();\n range.setStartAfter(firstChild);\n range.setEndAfter(lastChild);\n range.deleteContents();\n return firstChild;\n};\n\nexport const diffable = (node, operation) => node.nodeType === nodeType ?\n ((1 / operation) < 0 ?\n (operation ? remove(node) : node.lastChild) :\n (operation ? node.valueOf() : node.firstChild)) :\n node\n;\n\nexport const persistent = fragment => {\n const {firstChild, lastChild} = fragment;\n if (firstChild === lastChild)\n return lastChild || fragment;\n const {childNodes} = fragment;\n const nodes = [...childNodes];\n return {\n ELEMENT_NODE,\n nodeType,\n firstChild,\n lastChild,\n valueOf() {\n if (childNodes.length !== nodes.length)\n fragment.append(...nodes);\n return fragment;\n }\n };\n};\n","const {isArray} = Array;\nconst {indexOf, slice} = [];\n\nexport {isArray, indexOf, slice};\n","import {isArray} from 'uarray';\n\n// flag for foreign checks (slower path, fast by default)\nlet useForeign = false;\n\nexport class Foreign {\n constructor(handler, value) {\n useForeign = true;\n this._ = (...args) => handler(...args, value);\n }\n}\n\nexport const foreign = (handler, value) => new Foreign(handler, value);\n\nexport const aria = node => values => {\n for (const key in values) {\n const name = key === 'role' ? key : `aria-${key}`;\n const value = values[key];\n if (value == null)\n node.removeAttribute(name);\n else\n node.setAttribute(name, value);\n }\n};\n\nconst getValue = value => value == null ? value : value.valueOf();\n\nexport const attribute = (node, name) => {\n let oldValue, orphan = true;\n const attributeNode = document.createAttributeNS(null, name);\n return newValue => {\n const value = useForeign && (newValue instanceof Foreign) ?\n newValue._(node, name) : getValue(newValue);\n if (oldValue !== value) {\n if ((oldValue = value) == null) {\n if (!orphan) {\n node.removeAttributeNode(attributeNode);\n orphan = true;\n }\n }\n else {\n attributeNode.value = value;\n if (orphan) {\n node.setAttributeNodeNS(attributeNode);\n orphan = false;\n }\n }\n }\n };\n};\n\nexport const boolean = (node, key, oldValue) => newValue => {\n const value = !!getValue(newValue);\n if (oldValue !== value) {\n // when IE won't be around anymore ...\n // node.toggleAttribute(key, oldValue = !!value);\n if ((oldValue = value))\n node.setAttribute(key, '');\n else\n node.removeAttribute(key);\n }\n};\n\nexport const data = ({dataset}) => values => {\n for (const key in values) {\n const value = values[key];\n if (value == null)\n delete dataset[key];\n else\n dataset[key] = value;\n }\n};\n\nexport const event = (node, name) => {\n let oldValue, lower, type = name.slice(2);\n if (!(name in node) && (lower = name.toLowerCase()) in node)\n type = lower.slice(2);\n return newValue => {\n const info = isArray(newValue) ? newValue : [newValue, false];\n if (oldValue !== info[0]) {\n if (oldValue)\n node.removeEventListener(type, oldValue, info[1]);\n if (oldValue = info[0])\n node.addEventListener(type, oldValue, info[1]);\n }\n };\n};\n\nexport const ref = node => {\n let oldValue;\n return value => {\n if (oldValue !== value) {\n oldValue = value;\n if (typeof value === 'function')\n value(node);\n else\n value.current = node;\n }\n };\n};\n\nexport const setter = (node, key) => key === 'dataset' ?\n data(node) :\n value => {\n node[key] = value;\n };\n\nexport const text = node => {\n let oldValue;\n return newValue => {\n const value = getValue(newValue);\n if (oldValue != value) {\n oldValue = value;\n node.textContent = value == null ? '' : value;\n }\n };\n};\n","const {isArray, prototype} = Array;\nconst {indexOf} = prototype;\n\nexport {isArray, indexOf};\n\nconst {\n createDocumentFragment,\n createElement,\n createElementNS,\n createTextNode,\n createTreeWalker,\n importNode\n} = new Proxy({}, {\n get: (_, method) => document[method].bind(document)\n});\n\nexport {createTextNode, createTreeWalker, importNode};\n\nconst createHTML = html => {\n const template = createElement('template');\n template.innerHTML = html;\n return template.content;\n};\n\nlet xml;\nconst createSVG = svg => {\n if (!xml) xml = createElementNS('http://www.w3.org/2000/svg', 'svg');\n xml.innerHTML = svg;\n const content = createDocumentFragment();\n content.append(...xml.childNodes);\n return content;\n};\n\nexport const createContent = (text, svg) => svg ?\n createSVG(text) : createHTML(text);\n","import {diffable} from '@webreflection/uwire';\n\nimport {aria, attribute, boolean, event, ref, setter, text} from 'uhandlers';\nimport udomdiff from 'udomdiff';\n\nimport {isArray, createTextNode} from './utils.js';\n\n// from a generic path, retrieves the exact targeted node\nconst reducePath = ({childNodes}, i) => childNodes[i];\n\n// this helper avoid code bloat around handleAnything() callback\nconst diff = (comment, oldNodes, newNodes) => udomdiff(\n comment.parentNode,\n // TODO: there is a possible edge case where a node has been\n // removed manually, or it was a keyed one, attached\n // to a shared reference between renders.\n // In this case udomdiff might fail at removing such node\n // as its parent won't be the expected one.\n // The best way to avoid this issue is to filter oldNodes\n // in search of those not live, or not in the current parent\n // anymore, but this would require both a change to uwire,\n // exposing a parentNode from the firstChild, as example,\n // but also a filter per each diff that should exclude nodes\n // that are not in there, penalizing performance quite a lot.\n // As this has been also a potential issue with domdiff,\n // and both lighterhtml and hyperHTML might fail with this\n // very specific edge case, I might as well document this possible\n // \"diffing shenanigan\" and call it a day.\n oldNodes,\n newNodes,\n diffable,\n comment\n);\n\n// if an interpolation represents a comment, the whole\n// diffing will be related to such comment.\n// This helper is in charge of understanding how the new\n// content for such interpolation/hole should be updated\nconst handleAnything = comment => {\n let oldValue, text, nodes = [];\n const anyContent = newValue => {\n switch (typeof newValue) {\n // primitives are handled as text content\n case 'string':\n case 'number':\n case 'boolean':\n if (oldValue !== newValue) {\n oldValue = newValue;\n if (!text)\n text = createTextNode('');\n text.data = newValue;\n nodes = diff(comment, nodes, [text]);\n }\n break;\n // null, and undefined are used to cleanup previous content\n case 'object':\n case 'undefined':\n if (newValue == null) {\n if (oldValue != newValue) {\n oldValue = newValue;\n nodes = diff(comment, nodes, []);\n }\n break;\n }\n // arrays and nodes have a special treatment\n if (isArray(newValue)) {\n oldValue = newValue;\n // arrays can be used to cleanup, if empty\n if (newValue.length === 0)\n nodes = diff(comment, nodes, []);\n // or diffed, if these contains nodes or \"wires\"\n else if (typeof newValue[0] === 'object')\n nodes = diff(comment, nodes, newValue);\n // in all other cases the content is stringified as is\n else\n anyContent(String(newValue));\n break;\n }\n // if the new value is a DOM node, or a wire, and it's\n // different from the one already live, then it's diffed.\n // if the node is a fragment, it's appended once via its childNodes\n // There is no `else` here, meaning if the content\n // is not expected one, nothing happens, as easy as that.\n if (oldValue !== newValue) {\n if ('ELEMENT_NODE' in newValue) {\n oldValue = newValue;\n nodes = diff(\n comment,\n nodes,\n newValue.nodeType === 11 ?\n [...newValue.childNodes] :\n [newValue]\n );\n }\n else {\n const value = newValue.valueOf();\n if (value !== newValue)\n anyContent(value);\n }\n }\n break;\n case 'function':\n anyContent(newValue(comment));\n break;\n }\n };\n return anyContent;\n};\n\n// attributes can be:\n// * ref=${...} for hooks and other purposes\n// * aria=${...} for aria attributes\n// * ?boolean=${...} for boolean attributes\n// * .dataset=${...} for dataset related attributes\n// * .setter=${...} for Custom Elements setters or nodes with setters\n// such as buttons, details, options, select, etc\n// * @event=${...} to explicitly handle event listeners\n// * onevent=${...} to automatically handle event listeners\n// * generic=${...} to handle an attribute just like an attribute\nconst handleAttribute = (node, name/*, svg*/) => {\n switch (name[0]) {\n case '?': return boolean(node, name.slice(1), false);\n case '.': return setter(node, name.slice(1));\n case '@': return event(node, 'on' + name.slice(1));\n case 'o': if (name[1] === 'n') return event(node, name);\n }\n\n switch (name) {\n case 'ref': return ref(node);\n case 'aria': return aria(node);\n }\n\n return attribute(node, name/*, svg*/);\n};\n\n// each mapped update carries the update type and its path\n// the type is either node, attribute, or text, while\n// the path is how to retrieve the related node to update.\n// In the attribute case, the attribute name is also carried along.\nexport function handlers(options) {\n const {type, path} = options;\n const node = path.reduceRight(reducePath, this);\n return type === 'node' ?\n handleAnything(node) :\n (type === 'attr' ?\n handleAttribute(node, options.name/*, options.svg*/) :\n text(node));\n};\n","/**\n * ISC License\n *\n * Copyright (c) 2020, Andrea Giammarchi, @WebReflection\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n * PERFORMANCE OF THIS SOFTWARE.\n */\n\n/**\n * @param {Node} parentNode The container where children live\n * @param {Node[]} a The list of current/live children\n * @param {Node[]} b The list of future children\n * @param {(entry: Node, action: number) => Node} get\n * The callback invoked per each entry related DOM operation.\n * @param {Node} [before] The optional node used as anchor to insert before.\n * @returns {Node[]} The same list of future children.\n */\nexport default (parentNode, a, b, get, before) => {\n const bLength = b.length;\n let aEnd = a.length;\n let bEnd = bLength;\n let aStart = 0;\n let bStart = 0;\n let map = null;\n while (aStart < aEnd || bStart < bEnd) {\n // append head, tail, or nodes in between: fast path\n if (aEnd === aStart) {\n // we could be in a situation where the rest of nodes that\n // need to be added are not at the end, and in such case\n // the node to `insertBefore`, if the index is more than 0\n // must be retrieved, otherwise it's gonna be the first item.\n const node = bEnd < bLength ?\n (bStart ?\n (get(b[bStart - 1], -0).nextSibling) :\n get(b[bEnd - bStart], 0)) :\n before;\n while (bStart < bEnd)\n parentNode.insertBefore(get(b[bStart++], 1), node);\n }\n // remove head or tail: fast path\n else if (bEnd === bStart) {\n while (aStart < aEnd) {\n // remove the node only if it's unknown or not live\n if (!map || !map.has(a[aStart]))\n parentNode.removeChild(get(a[aStart], -1));\n aStart++;\n }\n }\n // same node: fast path\n else if (a[aStart] === b[bStart]) {\n aStart++;\n bStart++;\n }\n // same tail: fast path\n else if (a[aEnd - 1] === b[bEnd - 1]) {\n aEnd--;\n bEnd--;\n }\n // The once here single last swap \"fast path\" has been removed in v1.1.0\n // https://github.com/WebReflection/udomdiff/blob/single-final-swap/esm/index.js#L69-L85\n // reverse swap: also fast path\n else if (\n a[aStart] === b[bEnd - 1] &&\n b[bStart] === a[aEnd - 1]\n ) {\n // this is a \"shrink\" operation that could happen in these cases:\n // [1, 2, 3, 4, 5]\n // [1, 4, 3, 2, 5]\n // or asymmetric too\n // [1, 2, 3, 4, 5]\n // [1, 2, 3, 5, 6, 4]\n const node = get(a[--aEnd], -1).nextSibling;\n parentNode.insertBefore(\n get(b[bStart++], 1),\n get(a[aStart++], -1).nextSibling\n );\n parentNode.insertBefore(get(b[--bEnd], 1), node);\n // mark the future index as identical (yeah, it's dirty, but cheap 👍)\n // The main reason to do this, is that when a[aEnd] will be reached,\n // the loop will likely be on the fast path, as identical to b[bEnd].\n // In the best case scenario, the next loop will skip the tail,\n // but in the worst one, this node will be considered as already\n // processed, bailing out pretty quickly from the map index check\n a[aEnd] = b[bEnd];\n }\n // map based fallback, \"slow\" path\n else {\n // the map requires an O(bEnd - bStart) operation once\n // to store all future nodes indexes for later purposes.\n // In the worst case scenario, this is a full O(N) cost,\n // and such scenario happens at least when all nodes are different,\n // but also if both first and last items of the lists are different\n if (!map) {\n map = new Map;\n let i = bStart;\n while (i < bEnd)\n map.set(b[i], i++);\n }\n // if it's a future node, hence it needs some handling\n if (map.has(a[aStart])) {\n // grab the index of such node, 'cause it might have been processed\n const index = map.get(a[aStart]);\n // if it's not already processed, look on demand for the next LCS\n if (bStart < index && index < bEnd) {\n let i = aStart;\n // counts the amount of nodes that are the same in the future\n let sequence = 1;\n while (++i < aEnd && i < bEnd && map.get(a[i]) === (index + sequence))\n sequence++;\n // effort decision here: if the sequence is longer than replaces\n // needed to reach such sequence, which would brings again this loop\n // to the fast path, prepend the difference before a sequence,\n // and move only the future list index forward, so that aStart\n // and bStart will be aligned again, hence on the fast path.\n // An example considering aStart and bStart are both 0:\n // a: [1, 2, 3, 4]\n // b: [7, 1, 2, 3, 6]\n // this would place 7 before 1 and, from that time on, 1, 2, and 3\n // will be processed at zero cost\n if (sequence > (index - bStart)) {\n const node = get(a[aStart], 0);\n while (bStart < index)\n parentNode.insertBefore(get(b[bStart++], 1), node);\n }\n // if the effort wasn't good enough, fallback to a replace,\n // moving both source and target indexes forward, hoping that some\n // similar node will be found later on, to go back to the fast path\n else {\n parentNode.replaceChild(\n get(b[bStart++], 1),\n get(a[aStart++], -1)\n );\n }\n }\n // otherwise move the source forward, 'cause there's nothing to do\n else\n aStart++;\n }\n // this node has no meaning in the future list, so it's more than safe\n // to remove it, and check the next live node out instead, meaning\n // that only the live list index should be forwarded\n else\n parentNode.removeChild(get(a[aStart++], -1));\n }\n }\n return b;\n};\n","import {WeakMapSet} from '@webreflection/mapset';\nimport instrument from '@webreflection/uparser';\nimport {persistent} from '@webreflection/uwire';\n\nimport {handlers} from './handlers.js';\nimport {isArray, indexOf, createContent, createTreeWalker, importNode} from './utils.js';\n\n// from a fragment container, create an array of indexes\n// related to its child nodes, so that it's possible\n// to retrieve later on exact node via reducePath\nconst createPath = node => {\n const path = [];\n let {parentNode} = node;\n while (parentNode) {\n path.push(indexOf.call(parentNode.childNodes, node));\n node = parentNode;\n ({parentNode} = node);\n }\n return path;\n};\n\n// the prefix is used to identify either comments, attributes, or nodes\n// that contain the related unique id. In the attribute cases\n// isµX=\"attribute-name\" will be used to map current X update to that\n// attribute name, while comments will be like <!--isµX-->, to map\n// the update to that specific comment node, hence its parent.\n// style and textarea will have <!--isµX--> text content, and are handled\n// directly through text-only updates.\nconst prefix = 'isµ';\n\n// Template Literals are unique per scope and static, meaning a template\n// should be parsed once, and once only, as it will always represent the same\n// content, within the exact same amount of updates each time.\n// This cache relates each template to its unique content and updates.\nconst cache = new WeakMapSet;\n\n// a RegExp that helps checking nodes that cannot contain comments\nconst textOnly = /^(?:textarea|script|style|title|plaintext|xmp)$/;\n\nexport const createCache = () => ({\n stack: [], // each template gets a stack for each interpolation \"hole\"\n\n entry: null, // each entry contains details, such as:\n // * the template that is representing\n // * the type of node it represents (html or svg)\n // * the content fragment with all nodes\n // * the list of updates per each node (template holes)\n // * the \"wired\" node or fragment that will get updates\n // if the template or type are different from the previous one\n // the entry gets re-created each time\n\n wire: null // each rendered node represent some wired content and\n // this reference to the latest one. If different, the node\n // will be cleaned up and the new \"wire\" will be appended\n});\n\n// the entry stored in the rendered node cache, and per each \"hole\"\nconst createEntry = (type, template) => {\n const {content, updates} = mapUpdates(type, template);\n return {type, template, content, updates, wire: null};\n};\n\n// a template is instrumented to be able to retrieve where updates are needed.\n// Each unique template becomes a fragment, cloned once per each other\n// operation based on the same template, i.e. data => html`<p>${data}</p>`\nconst mapTemplate = (type, template) => {\n const svg = type === 'svg';\n const text = instrument(template, prefix, svg);\n const content = createContent(text, svg);\n // once instrumented and reproduced as fragment, it's crawled\n // to find out where each update is in the fragment tree\n const tw = createTreeWalker(content, 1 | 128);\n const nodes = [];\n const length = template.length - 1;\n let i = 0;\n // updates are searched via unique names, linearly increased across the tree\n // <div isµ0=\"attr\" isµ1=\"other\"><!--isµ2--><style><!--isµ3--</style></div>\n let search = `${prefix}${i}`;\n while (i < length) {\n const node = tw.nextNode();\n // if not all updates are bound but there's nothing else to crawl\n // it means that there is something wrong with the template.\n if (!node)\n throw `bad template: ${text}`;\n // if the current node is a comment, and it contains isµX\n // it means the update should take care of any content\n if (node.nodeType === 8) {\n // The only comments to be considered are those\n // which content is exactly the same as the searched one.\n if (node.data === search) {\n nodes.push({type: 'node', path: createPath(node)});\n search = `${prefix}${++i}`;\n }\n }\n else {\n // if the node is not a comment, loop through all its attributes\n // named isµX and relate attribute updates to this node and the\n // attribute name, retrieved through node.getAttribute(\"isµX\")\n // the isµX attribute will be removed as irrelevant for the layout\n // let svg = -1;\n while (node.hasAttribute(search)) {\n nodes.push({\n type: 'attr',\n path: createPath(node),\n name: node.getAttribute(search)\n });\n node.removeAttribute(search);\n search = `${prefix}${++i}`;\n }\n // if the node was a style, textarea, or others, check its content\n // and if it is <!--isµX--> then update tex-only this node\n if (\n textOnly.test(node.localName) &&\n node.textContent.trim() === `<!--${search}-->`\n ){\n node.textContent = '';\n nodes.push({type: 'text', path: createPath(node)});\n search = `${prefix}${++i}`;\n }\n }\n }\n // once all nodes to update, or their attributes, are known, the content\n // will be cloned in the future to represent the template, and all updates\n // related to such content retrieved right away without needing to re-crawl\n // the exact same template, and its content, more than once.\n return {content, nodes};\n};\n\n// if a template is unknown, perform the previous mapping, otherwise grab\n// its details such as the fragment with all nodes, and updates info.\nconst mapUpdates = (type, template) => {\n const {content, nodes} = (\n cache.get(template) ||\n cache.set(template, mapTemplate(type, template))\n );\n // clone deeply the fragment\n const fragment = importNode(content, true);\n // and relate an update handler per each node that needs one\n const updates = nodes.map(handlers, fragment);\n // return the fragment and all updates to use within its nodes\n return {content: fragment, updates};\n};\n\n// as html and svg can be nested calls, but no parent node is known\n// until rendered somewhere, the unroll operation is needed to\n// discover what to do with each interpolation, which will result\n// into an update operation.\nexport const unroll = (info, {type, template, values}) => {\n // interpolations can contain holes and arrays, so these need\n // to be recursively discovered\n const length = unrollValues(info, values);\n let {entry} = info;\n // if the cache entry is either null or different from the template\n // and the type this unroll should resolve, create a new entry\n // assigning a new content fragment and the list of updates.\n if (!entry || (entry.template !== template || entry.type !== type))\n info.entry = (entry = createEntry(type, template));\n const {content, updates, wire} = entry;\n // even if the fragment and its nodes is not live yet,\n // it is already possible to update via interpolations values.\n for (let i = 0; i < length; i++)\n updates[i](values[i]);\n // if the entry was new, or representing a different template or type,\n // create a new persistent entity to use during diffing.\n // This is simply a DOM node, when the template has a single container,\n // as in `<p></p>`, or a \"wire\" in `<p></p><p></p>` and similar cases.\n return wire || (entry.wire = persistent(content));\n};\n\n// the stack retains, per each interpolation value, the cache\n// related to each interpolation value, or null, if the render\n// was conditional and the value is not special (Array or Hole)\nconst unrollValues = ({stack}, values) => {\n const {length} = values;\n for (let i = 0; i < length; i++) {\n const hole = values[i];\n // each Hole gets unrolled and re-assigned as value\n // so that domdiff will deal with a node/wire, not with a hole\n if (hole instanceof Hole)\n values[i] = unroll(\n stack[i] || (stack[i] = createCache()),\n hole\n );\n // arrays are recursively resolved so that each entry will contain\n // also a DOM node or a wire, hence it can be diffed if/when needed\n else if (isArray(hole))\n unrollValues(stack[i] || (stack[i] = createCache()), hole);\n // if the value is nothing special, the stack doesn't need to retain data\n // this is useful also to cleanup previously retained data, if the value\n // was a Hole, or an Array, but not anymore, i.e.:\n // const update = content => html`<div>${content}</div>`;\n // update(listOfItems); update(null); update(html`hole`)\n else\n stack[i] = null;\n }\n if (length < stack.length)\n stack.splice(length);\n return length;\n};\n\n/**\n * Holds all details wrappers needed to render the content further on.\n * @constructor\n * @param {string} type The hole type, either `html` or `svg`.\n * @param {string[]} template The template literals used to the define the content.\n * @param {Array} values Zero, one, or more interpolated values to render.\n */\nexport class Hole {\n constructor(type, template, values) {\n this.type = type;\n this.template = template;\n this.values = values;\n }\n};\n","import {MapSet, WeakMapSet} from '@webreflection/mapset';\n\nimport {Hole, createCache, unroll} from './rabbit.js';\n\n// both `html` and `svg` template literal tags are polluted\n// with a `for(ref[, id])` and a `node` tag too\nconst tag = type => {\n // both `html` and `svg` tags have their own cache\n const keyed = new WeakMapSet;\n // keyed operations always re-use the same cache and unroll\n // the template and its interpolations right away\n const fixed = cache => (template, ...values) => unroll(\n cache,\n {type, template, values}\n );\n return Object.assign(\n // non keyed operations are recognized as instance of Hole\n // during the \"unroll\", recursively resolved and updated\n (template, ...values) => new Hole(type, template, values),\n {\n // keyed operations need a reference object, usually the parent node\n // which is showing keyed results, and optionally a unique id per each\n // related node, handy with JSON results and mutable list of objects\n // that usually carry a unique identifier\n for(ref, id) {\n const memo = keyed.get(ref) || keyed.set(ref, new MapSet);\n return memo.get(id) || memo.set(id, fixed(createCache()));\n },\n // it is possible to create one-off content out of the box via node tag\n // this might return the single created node, or a fragment with all\n // nodes present at the root level and, of course, their child nodes\n node: (template, ...values) => unroll(createCache(), new Hole(type, template, values)).valueOf()\n }\n );\n};\n\n// each rendered node gets its own cache\nconst cache = new WeakMapSet;\n\n// rendering means understanding what `html` or `svg` tags returned\n// and it relates a specific node to its own unique cache.\n// Each time the content to render changes, the node is cleaned up\n// and the new new content is appended, and if such content is a Hole\n// then it's \"unrolled\" to resolve all its inner nodes.\nconst render = (where, what) => {\n const hole = typeof what === 'function' ? what() : what;\n const info = cache.get(where) || cache.set(where, createCache());\n const wire = hole instanceof Hole ? unroll(info, hole) : hole;\n if (wire !== info.wire) {\n info.wire = wire;\n // valueOf() simply returns the node itself, but in case it was a \"wire\"\n // it will eventually re-append all nodes to its fragment so that such\n // fragment can be re-appended many times in a meaningful way\n // (wires are basically persistent fragments facades with special behavior)\n where.replaceChildren(wire.valueOf());\n }\n return where;\n};\n\nconst html = tag('html');\nconst svg = tag('svg');\n\nexport {Hole, render, html, svg};\n","import { html, render as uhtmlRenderer } from 'uhtml'\n\nfunction renderer (what, where) {\n uhtmlRenderer(where, what)\n}\n\nexport { html, renderer }\n"],"names":["MapSet","Map","set","key","value","super","WeakMapSet","WeakMap","empty","elements","attributes","holes","diffable","node","operation","nodeType","firstChild","lastChild","range","document","createRange","setStartAfter","setEndAfter","deleteContents","remove","valueOf","isArray","Array","getValue","event","name","oldValue","lower","type","slice","toLowerCase","newValue","info","removeEventListener","addEventListener","prototype","indexOf","createDocumentFragment","createElement","createElementNS","createTextNode","createTreeWalker","importNode","Proxy","get","_","method","bind","xml","createContent","text","svg","innerHTML","content","append","childNodes","createSVG","html","template","createHTML","reducePath","i","diff","comment","oldNodes","newNodes","parentNode","a","b","before","bLength","length","aEnd","bEnd","aStart","bStart","map","insertBefore","has","removeChild","nextSibling","index","sequence","replaceChild","udomdiff","handleAttribute","setAttribute","removeAttribute","boolean","dataset","values","data","setter","current","ref","aria","orphan","attributeNode","createAttributeNS","removeAttributeNode","setAttributeNodeNS","attribute","handlers","options","path","reduceRight","this","nodes","anyContent","String","handleAnything","textContent","createPath","push","call","prefix","cache","textOnly","mapTemplate","join","trim","replace","attrs","selfClosing","ml","trimEnd","test","hole","instrument","tw","search","nextNode","hasAttribute","getAttribute","localName","mapUpdates","fragment","updates","unroll","unrollValues","entry","wire","createEntry","ELEMENT_NODE","persistent","stack","Hole","splice","constructor","tag","keyed","Object","assign","id","memo","fixed","renderer","what","where","replaceChildren","uhtmlRenderer"],"mappings":"AAAO,MAAMA,UAAeC,IAC1B,GAAAC,CAAIC,EAAKC,GAEP,OADAC,MAAMH,IAAIC,EAAKC,GACRA,CACR,EAGI,MAAME,UAAmBC,QAC9B,GAAAL,CAAIC,EAAKC,GAEP,OADAC,MAAMH,IAAIC,EAAKC,GACRA,CACR;kCCVH,MAAMI,EAAQ,8FACRC,EAAW,wCACXC,EAAa,oCACbC,EAAQ,cCJd,MAWaC,SAAW,CAACC,EAAMC,IAVd,MAU4BD,EAAKE,SAC9C,EAAID,EAAa,EAChBA,EAVU,GAAEE,aAAYC,gBAC3B,MAAMC,EAAQC,SAASC,cAIvB,OAHAF,EAAMG,cAAcL,GACpBE,EAAMI,YAAYL,GAClBC,EAAMK,iBACCP,CAAU,EAKFQ,CAAOX,GAAQA,EAAKI,UAChCH,EAAYD,EAAKY,UAAYZ,EAAKG,WACrCH,GCfKa,QAAAA,GAAWC,MCyBZC,SAAWxB,GAAkB,MAATA,EAAgBA,EAAQA,EAAMqB,UAgD3CI,MAAQ,CAAChB,EAAMiB,KAC1B,IAAIC,EAAUC,EAAOC,EAAOH,EAAKI,MAAM,GAGvC,QAFMJ,KAAQjB,KAAUmB,EAAQF,EAAKK,iBAAkBtB,IACrDoB,EAAOD,EAAME,MAAM,IACdE,IACL,MAAMC,EAAOX,EAAQU,GAAYA,EAAW,CAACA,GAAU,GACnDL,IAAaM,EAAK,KAChBN,GACFlB,EAAKyB,oBAAoBL,EAAMF,EAAUM,EAAK,KAC5CN,EAAWM,EAAK,KAClBxB,EAAK0B,iBAAiBN,EAAMF,EAAUM,EAAK,IAC9C,CACF,ECrFH,MAAMX,QAACA,EAAOc,UAAEA,GAAab,OACv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MAAO,KASPC,KAAM,OCxBD,EAIDrI,KAAM,CAACkD,KAAagC,IAAWgD,ODQH,CAChCO,MAAO,GAEPL,MAAO,KASPC,KAAM,MCpBmD,IAAIK,EAAKtH,EAAM8B,EAAUgC,IAAStE,WAE1F,EAIGgG,EAAQ,IAAInH,EAsBZwD,EAAO4F,IAAI,QCzDjB,SAASO,SAAUC,EAAMC,GD0CV,EAACA,EAAOD,KACrB,MAAM9B,EAAuB,mBAAT8B,EAAsBA,IAASA,EAC7C7H,EAAOoF,EAAMxE,IAAIkH,IAAU1C,EAAMvH,IAAIiK,EDPX,CAChCb,MAAO,GAEPL,MAAO,KASPC,KAAM,OCJAA,EAAOd,aAAgBmB,EAAOR,OAAO1G,EAAM+F,GAAQA,EACrDc,IAAS7G,EAAK6G,OAChB7G,EAAK6G,KAAOA,EAKZiB,EAAMC,gBAAgBlB,EAAKzH,WAEjB,ECrDZ4I,CAAcF,EAAOD,EACvB,CDwDYR,IAAI","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9]}
{
"name": "@ficusjs/renderers",
"version": "5.8.0",
"version": "5.8.1",
"description": "Minified ES module renderers for FicusJS",

@@ -21,5 +21,6 @@ "type": "module",

"dev": "run-p serve open",
"open": "open-cli http://localhost:8080/test/e2e",
"lint": "standard \"./src/**/*.mjs\" \"./test/unit/**/*.mjs\"",
"open": "open-cli http://127.0.0.1:8080/test/e2e",
"test": "run-p test:*",
"test:e2e": "start-server-and-test serve:silent http://localhost:8080 cy:run",
"test:e2e": "start-server-and-test serve:silent http://127.0.0.1:8080 cy:run",
"test:unit": "ava test/unit/**/*.spec.mjs",

@@ -80,6 +81,7 @@ "test:unit:watch": "ava test/unit/**/*.spec.mjs --watch",

"@rollup/plugin-alias": "5.0.0",
"@rollup/plugin-commonjs": "25.0.2",
"@rollup/plugin-commonjs": "25.0.3",
"@rollup/plugin-node-resolve": "15.1.0",
"c8": "8.0.0",
"cypress": "12.17.0",
"@rollup/plugin-terser": "^0.4.3",
"c8": "8.0.1",
"cypress": "12.17.2",
"http-server": "14.1.1",

@@ -91,5 +93,4 @@ "htm": "3.1.1",

"open-cli": "7.2.0",
"rollup": "3.26.2",
"rollup": "3.27.0",
"rollup-plugin-filesize": "10.0.0",
"rollup-plugin-terser": "7.0.2",
"standard": "16.0.4",

@@ -96,0 +97,0 @@ "start-server-and-test": "2.0.0",

@@ -166,3 +166,3 @@ # FicusJS renderers

```bash
npm install # or, yarn install
npm install
```

@@ -173,3 +173,3 @@

```bash
npm run dev # or, yarn dev
npm run dev
```

@@ -176,0 +176,0 @@