Comparing version 10.11.0 to 10.11.1
@@ -47,4 +47,5 @@ { | ||
"require": "./scheduler.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
} | ||
} |
@@ -127,3 +127,3 @@ import * as _hooks from '../../hooks'; | ||
export interface ForwardFn<P = {}, T = any> { | ||
(props: P, ref: Ref<T>): preact.ComponentChild; | ||
(props: P, ref: ForwardedRef<T>): preact.ComponentChild; | ||
displayName?: string; | ||
@@ -136,2 +136,8 @@ } | ||
interface MutableRefObject<T> { | ||
current: T; | ||
} | ||
export type ForwardedRef<T> = ((instance: T | null) => void) | MutableRefObject<T | null> | null; | ||
export function unstable_batchedUpdates( | ||
@@ -142,2 +148,6 @@ callback: (arg?: any) => void, | ||
export type PropsWithChildren<P = unknown> = P & { | ||
children?: preact.ComponentChild | undefined | ||
}; | ||
export const Children: { | ||
@@ -144,0 +154,0 @@ map<T extends preact.ComponentChild, R>( |
@@ -1,2 +0,2 @@ | ||
var n=require("preact");"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.11.0",n.options,{Fragment:n.Fragment,Component:n.Component}),exports.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e}; | ||
var n=require("preact");"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.11.1",n.options,{Fragment:n.Fragment,Component:n.Component}),exports.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e}; | ||
//# sourceMappingURL=devtools.js.map |
@@ -1,2 +0,2 @@ | ||
import{options as n,Fragment as o,Component as e}from"preact";function t(o,e){return n.__a&&n.__a(e),o}"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.11.0",n,{Fragment:o,Component:e});export{t as addHookName}; | ||
import{options as n,Fragment as o,Component as e}from"preact";function t(o,e){return n.__a&&n.__a(e),o}"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.11.1",n,{Fragment:o,Component:e});export{t as addHookName}; | ||
//# sourceMappingURL=devtools.module.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("preact")):"function"==typeof define&&define.amd?define(["exports","preact"],n):n((e||self).preactDevtools={},e.preact)}(this,function(e,n){"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.11.0",n.options,{Fragment:n.Fragment,Component:n.Component}),e.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e}}); | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("preact")):"function"==typeof define&&define.amd?define(["exports","preact"],n):n((e||self).preactDevtools={},e.preact)}(this,function(e,n){"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.11.1",n.options,{Fragment:n.Fragment,Component:n.Component}),e.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e}}); | ||
//# sourceMappingURL=devtools.umd.js.map |
@@ -5,3 +5,3 @@ import { options, Fragment, Component } from 'preact'; | ||
if (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) { | ||
window.__PREACT_DEVTOOLS__.attachPreact('10.11.0', options, { | ||
window.__PREACT_DEVTOOLS__.attachPreact('10.11.1', options, { | ||
Fragment, | ||
@@ -8,0 +8,0 @@ Component |
@@ -1,2 +0,2 @@ | ||
var n,l,u,t,i,o,r,f={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n)}function p(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v(l,f,i,o,null)}function v(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function h(n){return n.children}function y(n,l){this.props=n,this.context=l}function d(n,l){if(null==l)return n.__?d(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?d(n):null}function _(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return _(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!x.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(x)}function x(){for(var n;x.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?d(i):o,i.__h),T(u,i),i.__e!=o&&_(i)))})}function b(n,l,u,t,i,o,r,c,s,a){var p,y,_,k,x,b,m,A=t&&t.__k||e,C=A.length;for(u.__k=[],p=0;p<l.length;p++)if(null!=(k=u.__k[p]=null==(k=l[p])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v(null,k,null,null,k):Array.isArray(k)?v(h,{children:k},null,null,null):k.__b>0?v(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(_=A[p])||_&&k.key==_.key&&k.type===_.type)A[p]=void 0;else for(y=0;y<C;y++){if((_=A[y])&&k.key==_.key&&k.type===_.type){A[y]=void 0;break}_=null}I(n,k,_=_||f,i,o,r,c,s,a),x=k.__e,(y=k.ref)&&_.ref!=y&&(m||(m=[]),_.ref&&m.push(_.ref,null,k),m.push(y,k.__c||x,k)),null!=x?(null==b&&(b=x),"function"==typeof k.type&&k.__k===_.__k?k.__d=s=g(k,s,n):s=w(n,k,_,A,x,s),"function"==typeof u.type&&(u.__d=s)):s&&_.__e==s&&s.parentNode!=n&&(s=d(_))}for(u.__e=b,p=C;p--;)null!=A[p]&&("function"==typeof u.type&&null!=A[p].__e&&A[p].__e==u.__d&&(u.__d=d(t,p+1)),L(A[p],A[p]));if(m)for(p=0;p<m.length;p++)z(m[p],m[++p],m[++p])}function g(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?g(t,l,u):w(u,t,t,i,t.__e,l));return l}function w(n,l,u,t,i,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else{for(f=o,e=0;(f=f.nextSibling)&&e<t.length;e+=2)if(f==i)break n;n.insertBefore(i,o),r=o}return void 0!==r?r:i.nextSibling}function m(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||C(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C(n,o,l[o],u[o],t)}function A(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c.test(l)?u:u+"px"}function C(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||A(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||A(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,r,f,e,c){var a,p,v,d,_,k,x,g,w,m,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,e=u.__e=t.__e,u.__h=null,r=[e]),(a=l.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,w=(a=H.contextType)&&i[a.__c],m=a?w?w.props.value:a.__:i,t.__c?x=(p=u.__c=t.__c).__=p.__E:("prototype"in H&&H.prototype.render?u.__c=p=new H(g,m):(u.__c=p=new y(g,m),p.constructor=H,p.render=M),w&&w.sub(p),p.props=g,p.state||(p.state={}),p.context=m,p.__n=i,v=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=H.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=s({},p.__s)),s(p.__s,H.getDerivedStateFromProps(g,p.__s))),d=p.props,_=p.state,v)null==H.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==H.getDerivedStateFromProps&&g!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,m),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,m)||u.__v===t.__v){p.props=g,p.state=p.__s,u.__v!==t.__v&&(p.__d=!1),p.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,m),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,k)})}if(p.context=m,p.props=g,p.__v=u,p.__P=n,A=l.__r,C=0,"prototype"in H&&H.prototype.render)p.state=p.__s,p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context);else do{p.__d=!1,A&&A(u),a=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++C<25);p.state=p.__s,null!=p.getChildContext&&(i=s(s({},i),p.getChildContext())),v||null==p.getSnapshotBeforeUpdate||(k=p.getSnapshotBeforeUpdate(d,_)),$=null!=a&&a.type===h&&null==a.key?a.props.children:a,b(n,Array.isArray($)?$:[$],u,t,i,o,r,f,e,c),p.base=u.__e,u.__h=null,p.__h.length&&f.push(p),x&&(p.__E=p.__=null),p.__e=!1}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,r,f,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,r,e,c){var s,p,v,h=t.props,y=u.props,_=u.type,k=0;if("svg"===_&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===_)return document.createTextNode(y);l=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),r=null,c=!1}if(null===_)h===y||c&&l.data===y||(l.data=y);else{if(r=r&&n.call(l.childNodes),p=(h=t.props||f).dangerouslySetInnerHTML,v=y.dangerouslySetInnerHTML,!c){if(null!=r)for(h={},k=0;k<l.attributes.length;k++)h[l.attributes[k].name]=l.attributes[k].value;(v||p)&&(v&&(p&&v.__html==p.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(m(l,y,h,o,c),v)u.__k=[];else if(k=u.props.children,b(l,Array.isArray(k)?k:[k],u,t,i,o&&"foreignObject"!==_,r,e,r?r[0]:t.__k&&d(t,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a(r[k]);c||("value"in y&&void 0!==(k=y.value)&&(k!==l.value||"progress"===_&&!k||"option"===_&&k!==h.value)&&C(l,"value",k,h.value,!1),"checked"in y&&void 0!==(k=y.checked)&&k!==l.checked&&C(l,"checked",k,h.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function L(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&L(i[o],u,"function"!=typeof n.type);t||null==n.__e||a(n.__e),n.__=n.__e=n.__d=void 0}function M(n,l,u){return this.constructor(n,u)}function N(u,t,i){var o,r,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I(t,u=(!o&&i||t).__k=p(h,null,[u]),r||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T(e,u)}n=e.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},y.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k(this))},y.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},y.prototype.render=h,i=[],x.__r=0,r=0,exports.Component=y,exports.Fragment=h,exports.cloneElement=function(l,u,t){var i,o,r,f=s({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),v(l.type,f,i||l.key,o||l.ref,null)},exports.createContext=function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},exports.createElement=p,exports.createRef=function(){return{current:null}},exports.h=p,exports.hydrate=function n(l,u){N(l,u,n)},exports.isValidElement=t,exports.options=l,exports.render=N,exports.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u}; | ||
var n,l,u,t,i,o,r,f={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n)}function v(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return h(l,f,i,o,null)}function h(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function p(n){return n.children}function y(n,l){this.props=n,this.context=l}function d(n,l){if(null==l)return n.__?d(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?d(n):null}function _(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return _(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!x.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(x)}function x(){for(var n;x.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?d(i):o,i.__h),T(u,i),i.__e!=o&&_(i)))})}function b(n,l,u,t,i,o,r,c,s,a){var v,y,_,k,x,b,m,A=t&&t.__k||e,C=A.length;for(u.__k=[],v=0;v<l.length;v++)if(null!=(k=u.__k[v]=null==(k=l[v])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?h(null,k,null,null,k):Array.isArray(k)?h(p,{children:k},null,null,null):k.__b>0?h(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(_=A[v])||_&&k.key==_.key&&k.type===_.type)A[v]=void 0;else for(y=0;y<C;y++){if((_=A[y])&&k.key==_.key&&k.type===_.type){A[y]=void 0;break}_=null}I(n,k,_=_||f,i,o,r,c,s,a),x=k.__e,(y=k.ref)&&_.ref!=y&&(m||(m=[]),_.ref&&m.push(_.ref,null,k),m.push(y,k.__c||x,k)),null!=x?(null==b&&(b=x),"function"==typeof k.type&&k.__k===_.__k?k.__d=s=g(k,s,n):s=w(n,k,_,A,x,s),"function"==typeof u.type&&(u.__d=s)):s&&_.__e==s&&s.parentNode!=n&&(s=d(_))}for(u.__e=b,v=C;v--;)null!=A[v]&&L(A[v],A[v]);if(m)for(v=0;v<m.length;v++)z(m[v],m[++v],m[++v])}function g(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?g(t,l,u):w(u,t,t,i,t.__e,l));return l}function w(n,l,u,t,i,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else{for(f=o,e=0;(f=f.nextSibling)&&e<t.length;e+=2)if(f==i)break n;n.insertBefore(i,o),r=o}return void 0!==r?r:i.nextSibling}function m(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||C(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C(n,o,l[o],u[o],t)}function A(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c.test(l)?u:u+"px"}function C(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||A(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||A(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,r,f,e,c){var a,v,h,d,_,k,x,g,w,m,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,e=u.__e=t.__e,u.__h=null,r=[e]),(a=l.__b)&&a(u);try{n:if("function"==typeof H){g=u.props,w=(a=H.contextType)&&i[a.__c],m=a?w?w.props.value:a.__:i,t.__c?x=(v=u.__c=t.__c).__=v.__E:("prototype"in H&&H.prototype.render?u.__c=v=new H(g,m):(u.__c=v=new y(g,m),v.constructor=H,v.render=M),w&&w.sub(v),v.props=g,v.state||(v.state={}),v.context=m,v.__n=i,h=v.__d=!0,v.__h=[],v._sb=[]),null==v.__s&&(v.__s=v.state),null!=H.getDerivedStateFromProps&&(v.__s==v.state&&(v.__s=s({},v.__s)),s(v.__s,H.getDerivedStateFromProps(g,v.__s))),d=v.props,_=v.state;for(a=0;a<v._sb.length;a++)v.__h.push(v._sb[a]),v._sb=[];if(h)null==H.getDerivedStateFromProps&&null!=v.componentWillMount&&v.componentWillMount(),null!=v.componentDidMount&&v.__h.push(v.componentDidMount);else{if(null==H.getDerivedStateFromProps&&g!==d&&null!=v.componentWillReceiveProps&&v.componentWillReceiveProps(g,m),!v.__e&&null!=v.shouldComponentUpdate&&!1===v.shouldComponentUpdate(g,v.__s,m)||u.__v===t.__v){v.props=g,v.state=v.__s,u.__v!==t.__v&&(v.__d=!1),v.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),v.__h.length&&f.push(v);break n}null!=v.componentWillUpdate&&v.componentWillUpdate(g,v.__s,m),null!=v.componentDidUpdate&&v.__h.push(function(){v.componentDidUpdate(d,_,k)})}if(v.context=m,v.props=g,v.__v=u,v.__P=n,A=l.__r,C=0,"prototype"in H&&H.prototype.render)v.state=v.__s,v.__d=!1,A&&A(u),a=v.render(v.props,v.state,v.context);else do{v.__d=!1,A&&A(u),a=v.render(v.props,v.state,v.context),v.state=v.__s}while(v.__d&&++C<25);v.state=v.__s,null!=v.getChildContext&&(i=s(s({},i),v.getChildContext())),h||null==v.getSnapshotBeforeUpdate||(k=v.getSnapshotBeforeUpdate(d,_)),$=null!=a&&a.type===p&&null==a.key?a.props.children:a,b(n,Array.isArray($)?$:[$],u,t,i,o,r,f,e,c),v.base=u.__e,u.__h=null,v.__h.length&&f.push(v),x&&(v.__E=v.__=null),v.__e=!1}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,r,f,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,r,e,c){var s,v,h,p=t.props,y=u.props,_=u.type,k=0;if("svg"===_&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===_)return document.createTextNode(y);l=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),r=null,c=!1}if(null===_)p===y||c&&l.data===y||(l.data=y);else{if(r=r&&n.call(l.childNodes),v=(p=t.props||f).dangerouslySetInnerHTML,h=y.dangerouslySetInnerHTML,!c){if(null!=r)for(p={},k=0;k<l.attributes.length;k++)p[l.attributes[k].name]=l.attributes[k].value;(h||v)&&(h&&(v&&h.__html==v.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""))}if(m(l,y,p,o,c),h)u.__k=[];else if(k=u.props.children,b(l,Array.isArray(k)?k:[k],u,t,i,o&&"foreignObject"!==_,r,e,r?r[0]:t.__k&&d(t,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a(r[k]);c||("value"in y&&void 0!==(k=y.value)&&(k!==l.value||"progress"===_&&!k||"option"===_&&k!==p.value)&&C(l,"value",k,p.value,!1),"checked"in y&&void 0!==(k=y.checked)&&k!==l.checked&&C(l,"checked",k,p.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function L(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&L(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||a(n.__e),n.__=n.__e=n.__d=void 0}function M(n,l,u){return this.constructor(n,u)}function N(u,t,i){var o,r,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I(t,u=(!o&&i||t).__k=v(p,null,[u]),r||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T(e,u)}n=e.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},y.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),k(this))},y.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},y.prototype.render=p,i=[],x.__r=0,r=0,exports.Component=y,exports.Fragment=p,exports.cloneElement=function(l,u,t){var i,o,r,f=s({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),h(l.type,f,i||l.key,o||l.ref,null)},exports.createContext=function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},exports.createElement=v,exports.createRef=function(){return{current:null}},exports.h=v,exports.hydrate=function n(l,u){N(l,u,n)},exports.isValidElement=t,exports.options=l,exports.render=N,exports.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u}; | ||
//# sourceMappingURL=preact.js.map |
@@ -1,2 +0,2 @@ | ||
!function(){var n,l,u,t,i,o,r,e,f={},c=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(l,u,t){var i,o,r,e={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===e[r]&&(e[r]=l.defaultProps[r]);return y(l,e,i,o,null)}function y(n,t,i,o,r){var e={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(e),e}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function m(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return m(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!b.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(b)}function b(){for(var n;b.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?_(i):o,i.__h),T(u,i),i.__e!=o&&m(i)))})}function g(n,l,u,t,i,o,r,e,a,s){var h,v,p,m,k,b,g,C=t&&t.__k||c,x=C.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(m=u.__k[h]=null==(m=l[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?y(null,m,null,null,m):Array.isArray(m)?y(d,{children:m},null,null,null):m.__b>0?y(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=u,m.__b=u.__b+1,null===(p=C[h])||p&&m.key==p.key&&m.type===p.type)C[h]=void 0;else for(v=0;v<x;v++){if((p=C[v])&&m.key==p.key&&m.type===p.type){C[v]=void 0;break}p=null}I(n,m,p=p||f,i,o,r,e,a,s),k=m.__e,(v=m.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(v,m.__c||k,m)),null!=k?(null==b&&(b=k),"function"==typeof m.type&&m.__k===p.__k?m.__d=a=w(m,a,n):a=A(n,m,p,C,k,a),"function"==typeof u.type&&(u.__d=a)):a&&p.__e==a&&a.parentNode!=n&&(a=_(p))}for(u.__e=b,h=x;h--;)null!=C[h]&&("function"==typeof u.type&&null!=C[h].__e&&C[h].__e==u.__d&&(u.__d=_(t,h+1)),F(C[h],C[h]));if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h])}function w(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?w(t,l,u):A(u,t,t,i,t.__e,l));return l}function A(n,l,u,t,i,o){var r,e,f;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else{for(e=o,f=0;(e=e.nextSibling)&&f<t.length;f+=2)if(e==i)break n;n.insertBefore(i,o),r=o}return void 0!==r?r:i.nextSibling}function C(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||E(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||E(n,o,l[o],u[o],t)}function x(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function E(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||x(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||x(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,r,e,f,c){var a,h,v,y,_,m,k,b,w,A,C,x,E,$=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,f=u.__e=t.__e,u.__h=null,r=[f]),(a=l.__b)&&a(u);try{n:if("function"==typeof $){if(b=u.props,w=(a=$.contextType)&&i[a.__c],A=a?w?w.props.value:a.__:i,t.__c?k=(h=u.__c=t.__c).__=h.__E:("prototype"in $&&$.prototype.render?u.__c=h=new $(b,A):(u.__c=h=new p(b,A),h.constructor=$,h.render=L),w&&w.sub(h),h.props=b,h.state||(h.state={}),h.context=A,h.__n=i,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,$.getDerivedStateFromProps(b,h.__s))),y=h.props,_=h.state,v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,A),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,A)||u.__v===t.__v){h.props=b,h.state=h.__s,u.__v!==t.__v&&(h.__d=!1),h.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,A),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,m)})}if(h.context=A,h.props=b,h.__v=u,h.__P=n,C=l.__r,x=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++x<25);h.state=h.__s,null!=h.getChildContext&&(i=s(s({},i),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(y,_)),E=null!=a&&a.type===d&&null==a.key?a.props.children:a,g(n,Array.isArray(E)?E:[E],u,t,i,o,r,e,f,c),h.base=u.__e,u.__h=null,h.__h.length&&e.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,r,e,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=f,u.__h=!!c,r[r.indexOf(f)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,r,e,c){var a,s,v,y=t.props,d=u.props,p=u.type,m=0;if("svg"===p&&(o=!0),null!=r)for(;m<r.length;m++)if((a=r[m])&&"setAttribute"in a==!!p&&(p?a.localName===p:3===a.nodeType)){l=a,r[m]=null;break}if(null==l){if(null===p)return document.createTextNode(d);l=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),r=null,c=!1}if(null===p)y===d||c&&l.data===d||(l.data=d);else{if(r=r&&n.call(l.childNodes),s=(y=t.props||f).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},m=0;m<l.attributes.length;m++)y[l.attributes[m].name]=l.attributes[m].value;(v||s)&&(v&&(s&&v.__html==s.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,d,y,o,c),v)u.__k=[];else if(m=u.props.children,g(l,Array.isArray(m)?m:[m],u,t,i,o&&"foreignObject"!==p,r,e,r?r[0]:t.__k&&_(t,0),c),null!=r)for(m=r.length;m--;)null!=r[m]&&h(r[m]);c||("value"in d&&void 0!==(m=d.value)&&(m!==l.value||"progress"===p&&!m||"option"===p&&m!==y.value)&&E(l,"value",m,y.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==l.checked&&E(l,"checked",m,y.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function F(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&F(i[o],u,"function"!=typeof n.type);t||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function L(n,l,u){return this.constructor(n,u)}function M(u,t,i){var o,r,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I(t,u=(!o&&i||t).__k=v(d,null,[u]),r||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T(e,u)}n=c.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,i=[],b.__r=0,r=0,e={__proto__:null,render:M,hydrate:function n(l,u){M(l,u,n)},createElement:v,h:v,Fragment:d,createRef:function(){return{current:null}},isValidElement:t,Component:p,cloneElement:function(l,u,t){var i,o,r,e=s({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];return arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),y(l.type,e,i||l.key,o||l.ref,null)},createContext:function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},toChildArray:function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u},options:l},typeof module<"u"?module.exports=e:self.preact=e}(); | ||
!function(){var n,l,u,t,i,o,r,e,f={},c=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(l,u,t){var i,o,r,e={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===e[r]&&(e[r]=l.defaultProps[r]);return y(l,e,i,o,null)}function y(n,t,i,o,r){var e={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(e),e}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function m(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return m(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!b.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(b)}function b(){for(var n;b.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?_(i):o,i.__h),T(u,i),i.__e!=o&&m(i)))})}function g(n,l,u,t,i,o,r,e,a,s){var h,v,p,m,k,b,g,C=t&&t.__k||c,x=C.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(m=u.__k[h]=null==(m=l[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?y(null,m,null,null,m):Array.isArray(m)?y(d,{children:m},null,null,null):m.__b>0?y(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=u,m.__b=u.__b+1,null===(p=C[h])||p&&m.key==p.key&&m.type===p.type)C[h]=void 0;else for(v=0;v<x;v++){if((p=C[v])&&m.key==p.key&&m.type===p.type){C[v]=void 0;break}p=null}I(n,m,p=p||f,i,o,r,e,a,s),k=m.__e,(v=m.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(v,m.__c||k,m)),null!=k?(null==b&&(b=k),"function"==typeof m.type&&m.__k===p.__k?m.__d=a=w(m,a,n):a=A(n,m,p,C,k,a),"function"==typeof u.type&&(u.__d=a)):a&&p.__e==a&&a.parentNode!=n&&(a=_(p))}for(u.__e=b,h=x;h--;)null!=C[h]&&F(C[h],C[h]);if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h])}function w(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?w(t,l,u):A(u,t,t,i,t.__e,l));return l}function A(n,l,u,t,i,o){var r,e,f;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else{for(e=o,f=0;(e=e.nextSibling)&&f<t.length;f+=2)if(e==i)break n;n.insertBefore(i,o),r=o}return void 0!==r?r:i.nextSibling}function C(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||E(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||E(n,o,l[o],u[o],t)}function x(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function E(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||x(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||x(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,r,e,f,c){var a,h,v,y,_,m,k,b,w,A,C,x,E,$=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,f=u.__e=t.__e,u.__h=null,r=[f]),(a=l.__b)&&a(u);try{n:if("function"==typeof $){b=u.props,w=(a=$.contextType)&&i[a.__c],A=a?w?w.props.value:a.__:i,t.__c?k=(h=u.__c=t.__c).__=h.__E:("prototype"in $&&$.prototype.render?u.__c=h=new $(b,A):(u.__c=h=new p(b,A),h.constructor=$,h.render=L),w&&w.sub(h),h.props=b,h.state||(h.state={}),h.context=A,h.__n=i,v=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,$.getDerivedStateFromProps(b,h.__s))),y=h.props,_=h.state;for(a=0;a<h._sb.length;a++)h.__h.push(h._sb[a]),h._sb=[];if(v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,A),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,A)||u.__v===t.__v){h.props=b,h.state=h.__s,u.__v!==t.__v&&(h.__d=!1),h.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,A),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,m)})}if(h.context=A,h.props=b,h.__v=u,h.__P=n,C=l.__r,x=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++x<25);h.state=h.__s,null!=h.getChildContext&&(i=s(s({},i),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(y,_)),E=null!=a&&a.type===d&&null==a.key?a.props.children:a,g(n,Array.isArray(E)?E:[E],u,t,i,o,r,e,f,c),h.base=u.__e,u.__h=null,h.__h.length&&e.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,r,e,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=f,u.__h=!!c,r[r.indexOf(f)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,r,e,c){var a,s,v,y=t.props,d=u.props,p=u.type,m=0;if("svg"===p&&(o=!0),null!=r)for(;m<r.length;m++)if((a=r[m])&&"setAttribute"in a==!!p&&(p?a.localName===p:3===a.nodeType)){l=a,r[m]=null;break}if(null==l){if(null===p)return document.createTextNode(d);l=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),r=null,c=!1}if(null===p)y===d||c&&l.data===d||(l.data=d);else{if(r=r&&n.call(l.childNodes),s=(y=t.props||f).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},m=0;m<l.attributes.length;m++)y[l.attributes[m].name]=l.attributes[m].value;(v||s)&&(v&&(s&&v.__html==s.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,d,y,o,c),v)u.__k=[];else if(m=u.props.children,g(l,Array.isArray(m)?m:[m],u,t,i,o&&"foreignObject"!==p,r,e,r?r[0]:t.__k&&_(t,0),c),null!=r)for(m=r.length;m--;)null!=r[m]&&h(r[m]);c||("value"in d&&void 0!==(m=d.value)&&(m!==l.value||"progress"===p&&!m||"option"===p&&m!==y.value)&&E(l,"value",m,y.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==l.checked&&E(l,"checked",m,y.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function F(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&F(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function L(n,l,u){return this.constructor(n,u)}function M(u,t,i){var o,r,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I(t,u=(!o&&i||t).__k=v(d,null,[u]),r||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T(e,u)}n=c.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,i=[],b.__r=0,r=0,e={__proto__:null,render:M,hydrate:function n(l,u){M(l,u,n)},createElement:v,h:v,Fragment:d,createRef:function(){return{current:null}},isValidElement:t,Component:p,cloneElement:function(l,u,t){var i,o,r,e=s({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];return arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),y(l.type,e,i||l.key,o||l.ref,null)},createContext:function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},toChildArray:function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u},options:l},typeof module<"u"?module.exports=e:self.preact=e}(); | ||
//# sourceMappingURL=preact.min.js.map |
@@ -1,2 +0,2 @@ | ||
var n,l,u,t,i,o,r,e,f={},c=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(l,u,t){var i,o,r,e={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===e[r]&&(e[r]=l.defaultProps[r]);return y(l,e,i,o,null)}function y(n,t,i,o,r){var e={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(e),e}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function m(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return m(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!b.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(b)}function b(){for(var n;b.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?_(i):o,i.__h),T(u,i),i.__e!=o&&m(i)))})}function g(n,l,u,t,i,o,r,e,a,s){var h,v,p,m,k,b,g,C=t&&t.__k||c,x=C.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(m=u.__k[h]=null==(m=l[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?y(null,m,null,null,m):Array.isArray(m)?y(d,{children:m},null,null,null):m.__b>0?y(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=u,m.__b=u.__b+1,null===(p=C[h])||p&&m.key==p.key&&m.type===p.type)C[h]=void 0;else for(v=0;v<x;v++){if((p=C[v])&&m.key==p.key&&m.type===p.type){C[v]=void 0;break}p=null}I(n,m,p=p||f,i,o,r,e,a,s),k=m.__e,(v=m.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(v,m.__c||k,m)),null!=k?(null==b&&(b=k),"function"==typeof m.type&&m.__k===p.__k?m.__d=a=w(m,a,n):a=A(n,m,p,C,k,a),"function"==typeof u.type&&(u.__d=a)):a&&p.__e==a&&a.parentNode!=n&&(a=_(p))}for(u.__e=b,h=x;h--;)null!=C[h]&&("function"==typeof u.type&&null!=C[h].__e&&C[h].__e==u.__d&&(u.__d=_(t,h+1)),F(C[h],C[h]));if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h])}function w(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?w(t,l,u):A(u,t,t,i,t.__e,l));return l}function A(n,l,u,t,i,o){var r,e,f;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else{for(e=o,f=0;(e=e.nextSibling)&&f<t.length;f+=2)if(e==i)break n;n.insertBefore(i,o),r=o}return void 0!==r?r:i.nextSibling}function C(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||E(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||E(n,o,l[o],u[o],t)}function x(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function E(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||x(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||x(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,r,e,f,c){var a,h,v,y,_,m,k,b,w,A,C,x,E,$=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,f=u.__e=t.__e,u.__h=null,r=[f]),(a=l.__b)&&a(u);try{n:if("function"==typeof $){if(b=u.props,w=(a=$.contextType)&&i[a.__c],A=a?w?w.props.value:a.__:i,t.__c?k=(h=u.__c=t.__c).__=h.__E:("prototype"in $&&$.prototype.render?u.__c=h=new $(b,A):(u.__c=h=new p(b,A),h.constructor=$,h.render=L),w&&w.sub(h),h.props=b,h.state||(h.state={}),h.context=A,h.__n=i,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,$.getDerivedStateFromProps(b,h.__s))),y=h.props,_=h.state,v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,A),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,A)||u.__v===t.__v){h.props=b,h.state=h.__s,u.__v!==t.__v&&(h.__d=!1),h.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,A),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,m)})}if(h.context=A,h.props=b,h.__v=u,h.__P=n,C=l.__r,x=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++x<25);h.state=h.__s,null!=h.getChildContext&&(i=s(s({},i),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(y,_)),E=null!=a&&a.type===d&&null==a.key?a.props.children:a,g(n,Array.isArray(E)?E:[E],u,t,i,o,r,e,f,c),h.base=u.__e,u.__h=null,h.__h.length&&e.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,r,e,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=f,u.__h=!!c,r[r.indexOf(f)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,r,e,c){var a,s,v,y=t.props,d=u.props,p=u.type,m=0;if("svg"===p&&(o=!0),null!=r)for(;m<r.length;m++)if((a=r[m])&&"setAttribute"in a==!!p&&(p?a.localName===p:3===a.nodeType)){l=a,r[m]=null;break}if(null==l){if(null===p)return document.createTextNode(d);l=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),r=null,c=!1}if(null===p)y===d||c&&l.data===d||(l.data=d);else{if(r=r&&n.call(l.childNodes),s=(y=t.props||f).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},m=0;m<l.attributes.length;m++)y[l.attributes[m].name]=l.attributes[m].value;(v||s)&&(v&&(s&&v.__html==s.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,d,y,o,c),v)u.__k=[];else if(m=u.props.children,g(l,Array.isArray(m)?m:[m],u,t,i,o&&"foreignObject"!==p,r,e,r?r[0]:t.__k&&_(t,0),c),null!=r)for(m=r.length;m--;)null!=r[m]&&h(r[m]);c||("value"in d&&void 0!==(m=d.value)&&(m!==l.value||"progress"===p&&!m||"option"===p&&m!==y.value)&&E(l,"value",m,y.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==l.checked&&E(l,"checked",m,y.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function F(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&F(i[o],u,"function"!=typeof n.type);t||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function L(n,l,u){return this.constructor(n,u)}function M(u,t,i){var o,r,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I(t,u=(!o&&i||t).__k=v(d,null,[u]),r||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T(e,u)}n=c.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,i=[],b.__r=0,r=0,e={__proto__:null,render:M,hydrate:function n(l,u){M(l,u,n)},createElement:v,h:v,Fragment:d,createRef:function(){return{current:null}},isValidElement:t,Component:p,cloneElement:function(l,u,t){var i,o,r,e=s({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];return arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),y(l.type,e,i||l.key,o||l.ref,null)},createContext:function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},toChildArray:function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u},options:l},typeof module<"u"?module.exports=e:self.preact=e; | ||
var n,l,u,t,i,o,r,e,f={},c=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(l,u,t){var i,o,r,e={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===e[r]&&(e[r]=l.defaultProps[r]);return y(l,e,i,o,null)}function y(n,t,i,o,r){var e={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(e),e}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function m(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return m(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!b.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(b)}function b(){for(var n;b.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,r;n.__d&&(o=(i=(l=n).__v).__e,(r=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(r,i,t,l.__n,void 0!==r.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?_(i):o,i.__h),T(u,i),i.__e!=o&&m(i)))})}function g(n,l,u,t,i,o,r,e,a,s){var h,v,p,m,k,b,g,C=t&&t.__k||c,x=C.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(m=u.__k[h]=null==(m=l[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?y(null,m,null,null,m):Array.isArray(m)?y(d,{children:m},null,null,null):m.__b>0?y(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=u,m.__b=u.__b+1,null===(p=C[h])||p&&m.key==p.key&&m.type===p.type)C[h]=void 0;else for(v=0;v<x;v++){if((p=C[v])&&m.key==p.key&&m.type===p.type){C[v]=void 0;break}p=null}I(n,m,p=p||f,i,o,r,e,a,s),k=m.__e,(v=m.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(v,m.__c||k,m)),null!=k?(null==b&&(b=k),"function"==typeof m.type&&m.__k===p.__k?m.__d=a=w(m,a,n):a=A(n,m,p,C,k,a),"function"==typeof u.type&&(u.__d=a)):a&&p.__e==a&&a.parentNode!=n&&(a=_(p))}for(u.__e=b,h=x;h--;)null!=C[h]&&F(C[h],C[h]);if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h])}function w(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?w(t,l,u):A(u,t,t,i,t.__e,l));return l}function A(n,l,u,t,i,o){var r,e,f;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),r=null;else{for(e=o,f=0;(e=e.nextSibling)&&f<t.length;f+=2)if(e==i)break n;n.insertBefore(i,o),r=o}return void 0!==r?r:i.nextSibling}function C(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||E(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||E(n,o,l[o],u[o],t)}function x(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function E(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||x(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||x(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,r,e,f,c){var a,h,v,y,_,m,k,b,w,A,C,x,E,$=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,f=u.__e=t.__e,u.__h=null,r=[f]),(a=l.__b)&&a(u);try{n:if("function"==typeof $){b=u.props,w=(a=$.contextType)&&i[a.__c],A=a?w?w.props.value:a.__:i,t.__c?k=(h=u.__c=t.__c).__=h.__E:("prototype"in $&&$.prototype.render?u.__c=h=new $(b,A):(u.__c=h=new p(b,A),h.constructor=$,h.render=L),w&&w.sub(h),h.props=b,h.state||(h.state={}),h.context=A,h.__n=i,v=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,$.getDerivedStateFromProps(b,h.__s))),y=h.props,_=h.state;for(a=0;a<h._sb.length;a++)h.__h.push(h._sb[a]),h._sb=[];if(v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,A),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,A)||u.__v===t.__v){h.props=b,h.state=h.__s,u.__v!==t.__v&&(h.__d=!1),h.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,A),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,m)})}if(h.context=A,h.props=b,h.__v=u,h.__P=n,C=l.__r,x=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++x<25);h.state=h.__s,null!=h.getChildContext&&(i=s(s({},i),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(y,_)),E=null!=a&&a.type===d&&null==a.key?a.props.children:a,g(n,Array.isArray(E)?E:[E],u,t,i,o,r,e,f,c),h.base=u.__e,u.__h=null,h.__h.length&&e.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,r,e,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=f,u.__h=!!c,r[r.indexOf(f)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,r,e,c){var a,s,v,y=t.props,d=u.props,p=u.type,m=0;if("svg"===p&&(o=!0),null!=r)for(;m<r.length;m++)if((a=r[m])&&"setAttribute"in a==!!p&&(p?a.localName===p:3===a.nodeType)){l=a,r[m]=null;break}if(null==l){if(null===p)return document.createTextNode(d);l=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),r=null,c=!1}if(null===p)y===d||c&&l.data===d||(l.data=d);else{if(r=r&&n.call(l.childNodes),s=(y=t.props||f).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},m=0;m<l.attributes.length;m++)y[l.attributes[m].name]=l.attributes[m].value;(v||s)&&(v&&(s&&v.__html==s.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,d,y,o,c),v)u.__k=[];else if(m=u.props.children,g(l,Array.isArray(m)?m:[m],u,t,i,o&&"foreignObject"!==p,r,e,r?r[0]:t.__k&&_(t,0),c),null!=r)for(m=r.length;m--;)null!=r[m]&&h(r[m]);c||("value"in d&&void 0!==(m=d.value)&&(m!==l.value||"progress"===p&&!m||"option"===p&&m!==y.value)&&E(l,"value",m,y.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==l.checked&&E(l,"checked",m,y.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function F(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&F(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function L(n,l,u){return this.constructor(n,u)}function M(u,t,i){var o,r,e;l.__&&l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,e=[],I(t,u=(!o&&i||t).__k=v(d,null,[u]),r||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:r?null:t.firstChild?n.call(t.childNodes):null,e,!o&&i?i:r?r.__e:t.firstChild,o),T(e,u)}n=c.slice,l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,i=[],b.__r=0,r=0,e={__proto__:null,render:M,hydrate:function n(l,u){M(l,u,n)},createElement:v,h:v,Fragment:d,createRef:function(){return{current:null}},isValidElement:t,Component:p,cloneElement:function(l,u,t){var i,o,r,e=s({},l.props);for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=u[r];return arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),y(l.type,e,i||l.key,o||l.ref,null)},createContext:function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},toChildArray:function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u},options:l},typeof module<"u"?module.exports=e:self.preact=e; | ||
//# sourceMappingURL=preact.min.module.js.map |
@@ -1,2 +0,2 @@ | ||
!function(n){"function"==typeof define&&define.amd?define(n):n()}(function(){var n,l,u,t,i,o,e,r,f={},c=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(l,u,t){var i,o,e,r={};for(e in u)"key"==e?i=u[e]:"ref"==e?o=u[e]:r[e]=u[e];if(arguments.length>2&&(r.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(e in l.defaultProps)void 0===r[e]&&(r[e]=l.defaultProps[e]);return y(l,r,i,o,null)}function y(n,t,i,o,e){var r={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==e?++u:e};return null==e&&null!=l.vnode&&l.vnode(r),r}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function m(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return m(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!b.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(b)}function b(){for(var n;b.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,e;n.__d&&(o=(i=(l=n).__v).__e,(e=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(e,i,t,l.__n,void 0!==e.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?_(i):o,i.__h),T(u,i),i.__e!=o&&m(i)))})}function g(n,l,u,t,i,o,e,r,a,s){var h,v,p,m,k,b,g,C=t&&t.__k||c,x=C.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(m=u.__k[h]=null==(m=l[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?y(null,m,null,null,m):Array.isArray(m)?y(d,{children:m},null,null,null):m.__b>0?y(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=u,m.__b=u.__b+1,null===(p=C[h])||p&&m.key==p.key&&m.type===p.type)C[h]=void 0;else for(v=0;v<x;v++){if((p=C[v])&&m.key==p.key&&m.type===p.type){C[v]=void 0;break}p=null}I(n,m,p=p||f,i,o,e,r,a,s),k=m.__e,(v=m.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(v,m.__c||k,m)),null!=k?(null==b&&(b=k),"function"==typeof m.type&&m.__k===p.__k?m.__d=a=w(m,a,n):a=A(n,m,p,C,k,a),"function"==typeof u.type&&(u.__d=a)):a&&p.__e==a&&a.parentNode!=n&&(a=_(p))}for(u.__e=b,h=x;h--;)null!=C[h]&&("function"==typeof u.type&&null!=C[h].__e&&C[h].__e==u.__d&&(u.__d=_(t,h+1)),F(C[h],C[h]));if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h])}function w(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?w(t,l,u):A(u,t,t,i,t.__e,l));return l}function A(n,l,u,t,i,o){var e,r,f;if(void 0!==l.__d)e=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),e=null;else{for(r=o,f=0;(r=r.nextSibling)&&f<t.length;f+=2)if(r==i)break n;n.insertBefore(i,o),e=o}return void 0!==e?e:i.nextSibling}function C(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||E(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||E(n,o,l[o],u[o],t)}function x(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function E(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||x(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||x(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,e,r,f,c){var a,h,v,y,_,m,k,b,w,A,C,x,E,$=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,f=u.__e=t.__e,u.__h=null,e=[f]),(a=l.__b)&&a(u);try{n:if("function"==typeof $){if(b=u.props,w=(a=$.contextType)&&i[a.__c],A=a?w?w.props.value:a.__:i,t.__c?k=(h=u.__c=t.__c).__=h.__E:("prototype"in $&&$.prototype.render?u.__c=h=new $(b,A):(u.__c=h=new p(b,A),h.constructor=$,h.render=L),w&&w.sub(h),h.props=b,h.state||(h.state={}),h.context=A,h.__n=i,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,$.getDerivedStateFromProps(b,h.__s))),y=h.props,_=h.state,v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,A),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,A)||u.__v===t.__v){h.props=b,h.state=h.__s,u.__v!==t.__v&&(h.__d=!1),h.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&r.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,A),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,m)})}if(h.context=A,h.props=b,h.__v=u,h.__P=n,C=l.__r,x=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++x<25);h.state=h.__s,null!=h.getChildContext&&(i=s(s({},i),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(y,_)),E=null!=a&&a.type===d&&null==a.key?a.props.children:a,g(n,Array.isArray(E)?E:[E],u,t,i,o,e,r,f,c),h.base=u.__e,u.__h=null,h.__h.length&&r.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==e&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,e,r,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=e)&&(u.__e=f,u.__h=!!c,e[e.indexOf(f)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,e,r,c){var a,s,v,y=t.props,d=u.props,p=u.type,m=0;if("svg"===p&&(o=!0),null!=e)for(;m<e.length;m++)if((a=e[m])&&"setAttribute"in a==!!p&&(p?a.localName===p:3===a.nodeType)){l=a,e[m]=null;break}if(null==l){if(null===p)return document.createTextNode(d);l=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),e=null,c=!1}if(null===p)y===d||c&&l.data===d||(l.data=d);else{if(e=e&&n.call(l.childNodes),s=(y=t.props||f).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=e)for(y={},m=0;m<l.attributes.length;m++)y[l.attributes[m].name]=l.attributes[m].value;(v||s)&&(v&&(s&&v.__html==s.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,d,y,o,c),v)u.__k=[];else if(m=u.props.children,g(l,Array.isArray(m)?m:[m],u,t,i,o&&"foreignObject"!==p,e,r,e?e[0]:t.__k&&_(t,0),c),null!=e)for(m=e.length;m--;)null!=e[m]&&h(e[m]);c||("value"in d&&void 0!==(m=d.value)&&(m!==l.value||"progress"===p&&!m||"option"===p&&m!==y.value)&&E(l,"value",m,y.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==l.checked&&E(l,"checked",m,y.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function F(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&F(i[o],u,"function"!=typeof n.type);t||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function L(n,l,u){return this.constructor(n,u)}function M(u,t,i){var o,e,r;l.__&&l.__(u,t),e=(o="function"==typeof i)?null:i&&i.__k||t.__k,r=[],I(t,u=(!o&&i||t).__k=v(d,null,[u]),e||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:e?null:t.firstChild?n.call(t.childNodes):null,r,!o&&i?i:e?e.__e:t.firstChild,o),T(r,u)}n=c.slice,l={__e:function(n,l,u,t){for(var i,o,e;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),e=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),e=i.__d),e)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,i=[],b.__r=0,e=0,r={__proto__:null,render:M,hydrate:function n(l,u){M(l,u,n)},createElement:v,h:v,Fragment:d,createRef:function(){return{current:null}},isValidElement:t,Component:p,cloneElement:function(l,u,t){var i,o,e,r=s({},l.props);for(e in u)"key"==e?i=u[e]:"ref"==e?o=u[e]:r[e]=u[e];return arguments.length>2&&(r.children=arguments.length>3?n.call(arguments,2):t),y(l.type,r,i||l.key,o||l.ref,null)},createContext:function(n,l){var u={__c:l="__cC"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},toChildArray:function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u},options:l},typeof module<"u"?module.exports=r:self.preact=r}); | ||
!function(n){"function"==typeof define&&define.amd?define(n):n()}(function(){var n,l,u,t,i,o,e,r,f={},c=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(l,u,t){var i,o,e,r={};for(e in u)"key"==e?i=u[e]:"ref"==e?o=u[e]:r[e]=u[e];if(arguments.length>2&&(r.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(e in l.defaultProps)void 0===r[e]&&(r[e]=l.defaultProps[e]);return y(l,r,i,o,null)}function y(n,t,i,o,e){var r={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==e?++u:e};return null==e&&null!=l.vnode&&l.vnode(r),r}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function m(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return m(n)}}function k(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!b.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(b)}function b(){for(var n;b.__r=i.length;)n=i.sort(function(n,l){return n.__v.__b-l.__v.__b}),i=[],n.some(function(n){var l,u,t,i,o,e;n.__d&&(o=(i=(l=n).__v).__e,(e=l.__P)&&(u=[],(t=s({},i)).__v=i.__v+1,I(e,i,t,l.__n,void 0!==e.ownerSVGElement,null!=i.__h?[o]:null,u,null==o?_(i):o,i.__h),T(u,i),i.__e!=o&&m(i)))})}function g(n,l,u,t,i,o,e,r,a,s){var h,v,p,m,k,b,g,C=t&&t.__k||c,x=C.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(m=u.__k[h]=null==(m=l[h])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?y(null,m,null,null,m):Array.isArray(m)?y(d,{children:m},null,null,null):m.__b>0?y(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=u,m.__b=u.__b+1,null===(p=C[h])||p&&m.key==p.key&&m.type===p.type)C[h]=void 0;else for(v=0;v<x;v++){if((p=C[v])&&m.key==p.key&&m.type===p.type){C[v]=void 0;break}p=null}I(n,m,p=p||f,i,o,e,r,a,s),k=m.__e,(v=m.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(v,m.__c||k,m)),null!=k?(null==b&&(b=k),"function"==typeof m.type&&m.__k===p.__k?m.__d=a=w(m,a,n):a=A(n,m,p,C,k,a),"function"==typeof u.type&&(u.__d=a)):a&&p.__e==a&&a.parentNode!=n&&(a=_(p))}for(u.__e=b,h=x;h--;)null!=C[h]&&F(C[h],C[h]);if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h])}function w(n,l,u){for(var t,i=n.__k,o=0;i&&o<i.length;o++)(t=i[o])&&(t.__=n,l="function"==typeof t.type?w(t,l,u):A(u,t,t,i,t.__e,l));return l}function A(n,l,u,t,i,o){var e,r,f;if(void 0!==l.__d)e=l.__d,l.__d=void 0;else if(null==u||i!=o||null==i.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(i),e=null;else{for(r=o,f=0;(r=r.nextSibling)&&f<t.length;f+=2)if(r==i)break n;n.insertBefore(i,o),e=o}return void 0!==e?e:i.nextSibling}function C(n,l,u,t,i){var o;for(o in u)"children"===o||"key"===o||o in l||E(n,o,null,u[o],t);for(o in l)i&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||E(n,o,l[o],u[o],t)}function x(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function E(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||x(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||x(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t||n.addEventListener(l,o?H:$,o):n.removeEventListener(l,o?H:$,o);else if("dangerouslySetInnerHTML"!==l){if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function $(n){this.l[n.type+!1](l.event?l.event(n):n)}function H(n){this.l[n.type+!0](l.event?l.event(n):n)}function I(n,u,t,i,o,e,r,f,c){var a,h,v,y,_,m,k,b,w,A,C,x,E,$=u.type;if(void 0!==u.constructor)return null;null!=t.__h&&(c=t.__h,f=u.__e=t.__e,u.__h=null,e=[f]),(a=l.__b)&&a(u);try{n:if("function"==typeof $){b=u.props,w=(a=$.contextType)&&i[a.__c],A=a?w?w.props.value:a.__:i,t.__c?k=(h=u.__c=t.__c).__=h.__E:("prototype"in $&&$.prototype.render?u.__c=h=new $(b,A):(u.__c=h=new p(b,A),h.constructor=$,h.render=L),w&&w.sub(h),h.props=b,h.state||(h.state={}),h.context=A,h.__n=i,v=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,$.getDerivedStateFromProps(b,h.__s))),y=h.props,_=h.state;for(a=0;a<h._sb.length;a++)h.__h.push(h._sb[a]),h._sb=[];if(v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,A),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,A)||u.__v===t.__v){h.props=b,h.state=h.__s,u.__v!==t.__v&&(h.__d=!1),h.__v=u,u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&r.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,A),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,m)})}if(h.context=A,h.props=b,h.__v=u,h.__P=n,C=l.__r,x=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++x<25);h.state=h.__s,null!=h.getChildContext&&(i=s(s({},i),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(y,_)),E=null!=a&&a.type===d&&null==a.key?a.props.children:a,g(n,Array.isArray(E)?E:[E],u,t,i,o,e,r,f,c),h.base=u.__e,u.__h=null,h.__h.length&&r.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==e&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j(t.__e,u,t,i,o,e,r,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=e)&&(u.__e=f,u.__h=!!c,e[e.indexOf(f)]=null),l.__e(n,u,t)}}function T(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function j(l,u,t,i,o,e,r,c){var a,s,v,y=t.props,d=u.props,p=u.type,m=0;if("svg"===p&&(o=!0),null!=e)for(;m<e.length;m++)if((a=e[m])&&"setAttribute"in a==!!p&&(p?a.localName===p:3===a.nodeType)){l=a,e[m]=null;break}if(null==l){if(null===p)return document.createTextNode(d);l=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),e=null,c=!1}if(null===p)y===d||c&&l.data===d||(l.data=d);else{if(e=e&&n.call(l.childNodes),s=(y=t.props||f).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=e)for(y={},m=0;m<l.attributes.length;m++)y[l.attributes[m].name]=l.attributes[m].value;(v||s)&&(v&&(s&&v.__html==s.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,d,y,o,c),v)u.__k=[];else if(m=u.props.children,g(l,Array.isArray(m)?m:[m],u,t,i,o&&"foreignObject"!==p,e,r,e?e[0]:t.__k&&_(t,0),c),null!=e)for(m=e.length;m--;)null!=e[m]&&h(e[m]);c||("value"in d&&void 0!==(m=d.value)&&(m!==l.value||"progress"===p&&!m||"option"===p&&m!==y.value)&&E(l,"value",m,y.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==l.checked&&E(l,"checked",m,y.checked,!1))}return l}function z(n,u,t){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,t)}}function F(n,u,t){var i,o;if(l.unmount&&l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){l.__e(n,u)}i.base=i.__P=null,n.__c=void 0}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&F(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function L(n,l,u){return this.constructor(n,u)}function M(u,t,i){var o,e,r;l.__&&l.__(u,t),e=(o="function"==typeof i)?null:i&&i.__k||t.__k,r=[],I(t,u=(!o&&i||t).__k=v(d,null,[u]),e||f,f,void 0!==t.ownerSVGElement,!o&&i?[i]:e?null:t.firstChild?n.call(t.childNodes):null,r,!o&&i?i:e?e.__e:t.firstChild,o),T(r,u)}n=c.slice,l={__e:function(n,l,u,t){for(var i,o,e;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),e=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),e=i.__d),e)return i.__E=i}catch(l){n=l}throw n}},u=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,i=[],b.__r=0,e=0,r={__proto__:null,render:M,hydrate:function n(l,u){M(l,u,n)},createElement:v,h:v,Fragment:d,createRef:function(){return{current:null}},isValidElement:t,Component:p,cloneElement:function(l,u,t){var i,o,e,r=s({},l.props);for(e in u)"key"==e?i=u[e]:"ref"==e?o=u[e]:r[e]=u[e];return arguments.length>2&&(r.children=arguments.length>3?n.call(arguments,2):t),y(l.type,r,i||l.key,o||l.ref,null)},createContext:function(n,l){var u={__c:l="__cC"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},toChildArray:function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u},options:l},typeof module<"u"?module.exports=r:self.preact=r}); | ||
//# sourceMappingURL=preact.min.umd.js.map |
@@ -1,2 +0,2 @@ | ||
var n,l,u,i,t,o,r,f={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n)}function h(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v(l,f,t,o,null)}function v(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function y(){return{current:null}}function p(n){return n.children}function d(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function k(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k(n)}}function b(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!g.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(g)}function g(){for(var n;g.__r=t.length;)n=t.sort(function(n,l){return n.__v.__b-l.__v.__b}),t=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=s({},t)).__v=t.__v+1,j(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_(t):o,t.__h),z(u,t),t.__e!=o&&k(t)))})}function w(n,l,u,i,t,o,r,c,s,a){var h,y,d,k,b,g,w,x=i&&i.__k||e,C=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(k=u.__k[h]=null==(k=l[h])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v(null,k,null,null,k):Array.isArray(k)?v(p,{children:k},null,null,null):k.__b>0?v(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y<C;y++){if((d=x[y])&&k.key==d.key&&k.type===d.type){x[y]=void 0;break}d=null}j(n,k,d=d||f,t,o,r,c,s,a),b=k.__e,(y=k.ref)&&d.ref!=y&&(w||(w=[]),d.ref&&w.push(d.ref,null,k),w.push(y,k.__c||b,k)),null!=b?(null==g&&(g=b),"function"==typeof k.type&&k.__k===d.__k?k.__d=s=m(k,s,n):s=A(n,k,d,x,b,s),"function"==typeof u.type&&(u.__d=s)):s&&d.__e==s&&s.parentNode!=n&&(s=_(d))}for(u.__e=g,h=C;h--;)null!=x[h]&&("function"==typeof u.type&&null!=x[h].__e&&x[h].__e==u.__d&&(u.__d=_(i,h+1)),N(x[h],x[h]));if(w)for(h=0;h<w.length;h++)M(w[h],w[++h],w[++h])}function m(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?m(i,l,u):A(u,i,i,t,i.__e,l));return l}function x(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){x(n,l)}):l.push(n)),l}function A(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else{for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o}return void 0!==r?r:t.nextSibling}function C(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H(n,o,l[o],u[o],i)}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c.test(l)?u:u+"px"}function H(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T:I,o):n.removeEventListener(l,o?T:I,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l))}}function I(n){this.l[n.type+!1](l.event?l.event(n):n)}function T(n){this.l[n.type+!0](l.event?l.event(n):n)}function j(n,u,i,t,o,r,f,e,c){var a,h,v,y,_,k,b,g,m,x,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=l.__b)&&a(u);try{n:if("function"==typeof H){if(g=u.props,m=(a=H.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in H&&H.prototype.render?u.__c=h=new H(g,x):(u.__c=h=new d(g,x),h.constructor=H,h.render=O),m&&m.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=H.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,H.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==H.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==H.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||u.__v===i.__v){h.props=g,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,k)})}if(h.context=x,h.props=g,h.__v=u,h.__P=n,A=l.__r,C=0,"prototype"in H&&H.prototype.render)h.state=h.__s,h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++C<25);h.state=h.__s,null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),$=null!=a&&a.type===p&&null==a.key?a.props.children:a,w(n,Array.isArray($)?$:[$],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L(i.__e,u,i,t,o,r,f,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,i)}}function z(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function L(l,u,i,t,o,r,e,c){var s,h,v,y=i.props,p=u.props,d=u.type,k=0;if("svg"===d&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1}if(null===d)y===p||c&&l.data===p||(l.data=p);else{if(r=r&&n.call(l.childNodes),h=(y=i.props||f).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(v||h)&&(v&&(h&&v.__html==h.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,p,y,o,c),v)u.__k=[];else if(k=u.props.children,w(l,Array.isArray(k)?k:[k],u,i,t,o&&"foreignObject"!==d,r,e,r?r[0]:i.__k&&_(i,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a(r[k]);c||("value"in p&&void 0!==(k=p.value)&&(k!==l.value||"progress"===d&&!k||"option"===d&&k!==y.value)&&H(l,"value",k,y.value,!1),"checked"in p&&void 0!==(k=p.checked)&&k!==l.checked&&H(l,"checked",k,y.checked,!1))}return l}function M(n,u,i){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,i)}}function N(n,u,i){var t,o;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(n){l.__e(n,u)}t.base=t.__P=null,n.__c=void 0}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,"function"!=typeof n.type);i||null==n.__e||a(n.__e),n.__=n.__e=n.__d=void 0}function O(n,l,u){return this.constructor(n,u)}function P(u,i,t){var o,r,e;l.__&&l.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,e=[],j(i,u=(!o&&t||i).__k=h(p,null,[u]),r||f,f,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,e,!o&&t?t:r?r.__e:i.firstChild,o),z(e,u)}function S(n,l){P(n,l,S)}function q(l,u,i){var t,o,r,f=s({},l.props);for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),v(l.type,f,t||l.key,o||l.ref,null)}function B(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(b)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=e.slice,l={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l}throw n}},u=0,i=function(n){return null!=n&&void 0===n.constructor},d.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),b(this))},d.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),b(this))},d.prototype.render=p,t=[],g.__r=0,r=0;export{d as Component,p as Fragment,q as cloneElement,B as createContext,h as createElement,y as createRef,h,S as hydrate,i as isValidElement,l as options,P as render,x as toChildArray}; | ||
var n,l,u,i,t,o,r,f={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n)}function h(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v(l,f,t,o,null)}function v(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function y(){return{current:null}}function p(n){return n.children}function d(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function k(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k(n)}}function b(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!g.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||setTimeout)(g)}function g(){for(var n;g.__r=t.length;)n=t.sort(function(n,l){return n.__v.__b-l.__v.__b}),t=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=s({},t)).__v=t.__v+1,j(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_(t):o,t.__h),z(u,t),t.__e!=o&&k(t)))})}function w(n,l,u,i,t,o,r,c,s,a){var h,y,d,k,b,g,w,x=i&&i.__k||e,C=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(k=u.__k[h]=null==(k=l[h])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v(null,k,null,null,k):Array.isArray(k)?v(p,{children:k},null,null,null):k.__b>0?v(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y<C;y++){if((d=x[y])&&k.key==d.key&&k.type===d.type){x[y]=void 0;break}d=null}j(n,k,d=d||f,t,o,r,c,s,a),b=k.__e,(y=k.ref)&&d.ref!=y&&(w||(w=[]),d.ref&&w.push(d.ref,null,k),w.push(y,k.__c||b,k)),null!=b?(null==g&&(g=b),"function"==typeof k.type&&k.__k===d.__k?k.__d=s=m(k,s,n):s=A(n,k,d,x,b,s),"function"==typeof u.type&&(u.__d=s)):s&&d.__e==s&&s.parentNode!=n&&(s=_(d))}for(u.__e=g,h=C;h--;)null!=x[h]&&N(x[h],x[h]);if(w)for(h=0;h<w.length;h++)M(w[h],w[++h],w[++h])}function m(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?m(i,l,u):A(u,i,i,t,i.__e,l));return l}function x(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){x(n,l)}):l.push(n)),l}function A(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else{for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o}return void 0!==r?r:t.nextSibling}function C(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H(n,o,l[o],u[o],i)}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c.test(l)?u:u+"px"}function H(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T:I,o):n.removeEventListener(l,o?T:I,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function I(n){this.l[n.type+!1](l.event?l.event(n):n)}function T(n){this.l[n.type+!0](l.event?l.event(n):n)}function j(n,u,i,t,o,r,f,e,c){var a,h,v,y,_,k,b,g,m,x,A,C,$,H=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=l.__b)&&a(u);try{n:if("function"==typeof H){g=u.props,m=(a=H.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in H&&H.prototype.render?u.__c=h=new H(g,x):(u.__c=h=new d(g,x),h.constructor=H,h.render=O),m&&m.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=H.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,H.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state;for(a=0;a<h._sb.length;a++)h.__h.push(h._sb[a]),h._sb=[];if(v)null==H.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==H.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||u.__v===i.__v){h.props=g,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u)}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,k)})}if(h.context=x,h.props=g,h.__v=u,h.__P=n,A=l.__r,C=0,"prototype"in H&&H.prototype.render)h.state=h.__s,h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context);else do{h.__d=!1,A&&A(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++C<25);h.state=h.__s,null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),$=null!=a&&a.type===p&&null==a.key?a.props.children:a,w(n,Array.isArray($)?$:[$],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L(i.__e,u,i,t,o,r,f,c);(a=l.diffed)&&a(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,i)}}function z(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function L(l,u,i,t,o,r,e,c){var s,h,v,y=i.props,p=u.props,d=u.type,k=0;if("svg"===d&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1}if(null===d)y===p||c&&l.data===p||(l.data=p);else{if(r=r&&n.call(l.childNodes),h=(y=i.props||f).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(v||h)&&(v&&(h&&v.__html==h.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""))}if(C(l,p,y,o,c),v)u.__k=[];else if(k=u.props.children,w(l,Array.isArray(k)?k:[k],u,i,t,o&&"foreignObject"!==d,r,e,r?r[0]:i.__k&&_(i,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a(r[k]);c||("value"in p&&void 0!==(k=p.value)&&(k!==l.value||"progress"===d&&!k||"option"===d&&k!==y.value)&&H(l,"value",k,y.value,!1),"checked"in p&&void 0!==(k=p.checked)&&k!==l.checked&&H(l,"checked",k,y.checked,!1))}return l}function M(n,u,i){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,i)}}function N(n,u,i){var t,o;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(n){l.__e(n,u)}t.base=t.__P=null,n.__c=void 0}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,i||"function"!=typeof n.type);i||null==n.__e||a(n.__e),n.__=n.__e=n.__d=void 0}function O(n,l,u){return this.constructor(n,u)}function P(u,i,t){var o,r,e;l.__&&l.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,e=[],j(i,u=(!o&&t||i).__k=h(p,null,[u]),r||f,f,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,e,!o&&t?t:r?r.__e:i.firstChild,o),z(e,u)}function S(n,l){P(n,l,S)}function q(l,u,i){var t,o,r,f=s({},l.props);for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),v(l.type,f,t||l.key,o||l.ref,null)}function B(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(b)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=e.slice,l={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l}throw n}},u=0,i=function(n){return null!=n&&void 0===n.constructor},d.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(s({},u),this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),b(this))},d.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),b(this))},d.prototype.render=p,t=[],g.__r=0,r=0;export{d as Component,p as Fragment,q as cloneElement,B as createContext,h as createElement,y as createRef,h,S as hydrate,i as isValidElement,l as options,P as render,x as toChildArray}; | ||
//# sourceMappingURL=preact.module.js.map |
@@ -1,2 +0,2 @@ | ||
!function(n,l){"object"==typeof exports&&"undefined"!=typeof module?l(exports):"function"==typeof define&&define.amd?define(["exports"],l):l((n||self).preact={})}(this,function(n){var l,u,i,t,o,f,r,e={},c=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(n,u,i){var t,o,f,r={};for(f in u)"key"==f?t=u[f]:"ref"==f?o=u[f]:r[f]=u[f];if(arguments.length>2&&(r.children=arguments.length>3?l.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(f in n.defaultProps)void 0===r[f]&&(r[f]=n.defaultProps[f]);return y(n,r,t,o,null)}function y(n,l,t,o,f){var r={type:n,props:l,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==f?++i:f};return null==f&&null!=u.vnode&&u.vnode(r),r}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function b(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return b(n)}}function k(n){(!n.__d&&(n.__d=!0)&&o.push(n)&&!g.__r++||f!==u.debounceRendering)&&((f=u.debounceRendering)||setTimeout)(g)}function g(){for(var n;g.__r=o.length;)n=o.sort(function(n,l){return n.__v.__b-l.__v.__b}),o=[],n.some(function(n){var l,u,i,t,o,f;n.__d&&(o=(t=(l=n).__v).__e,(f=l.__P)&&(u=[],(i=a({},t)).__v=t.__v+1,H(f,t,i,l.__n,void 0!==f.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_(t):o,t.__h),I(u,t),t.__e!=o&&b(t)))})}function m(n,l,u,i,t,o,f,r,s,a){var h,v,p,b,k,g,m,A=i&&i.__k||c,T=A.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(b=u.__k[h]=null==(b=l[h])||"boolean"==typeof b?null:"string"==typeof b||"number"==typeof b||"bigint"==typeof b?y(null,b,null,null,b):Array.isArray(b)?y(d,{children:b},null,null,null):b.__b>0?y(b.type,b.props,b.key,b.ref?b.ref:null,b.__v):b)){if(b.__=u,b.__b=u.__b+1,null===(p=A[h])||p&&b.key==p.key&&b.type===p.type)A[h]=void 0;else for(v=0;v<T;v++){if((p=A[v])&&b.key==p.key&&b.type===p.type){A[v]=void 0;break}p=null}H(n,b,p=p||e,t,o,f,r,s,a),k=b.__e,(v=b.ref)&&p.ref!=v&&(m||(m=[]),p.ref&&m.push(p.ref,null,b),m.push(v,b.__c||k,b)),null!=k?(null==g&&(g=k),"function"==typeof b.type&&b.__k===p.__k?b.__d=s=w(b,s,n):s=x(n,b,p,A,k,s),"function"==typeof u.type&&(u.__d=s)):s&&p.__e==s&&s.parentNode!=n&&(s=_(p))}for(u.__e=g,h=T;h--;)null!=A[h]&&("function"==typeof u.type&&null!=A[h].__e&&A[h].__e==u.__d&&(u.__d=_(i,h+1)),M(A[h],A[h]));if(m)for(h=0;h<m.length;h++)L(m[h],m[++h],m[++h])}function w(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?w(i,l,u):x(u,i,i,t,i.__e,l));return l}function x(n,l,u,i,t,o){var f,r,e;if(void 0!==l.__d)f=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),f=null;else{for(r=o,e=0;(r=r.nextSibling)&&e<i.length;e+=2)if(r==t)break n;n.insertBefore(t,o),f=o}return void 0!==f?f:t.nextSibling}function A(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||C(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C(n,o,l[o],u[o],i)}function T(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||s.test(l)?u:u+"px"}function C(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||T(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?j:$,o):n.removeEventListener(l,o?j:$,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l))}}function $(n){this.l[n.type+!1](u.event?u.event(n):n)}function j(n){this.l[n.type+!0](u.event?u.event(n):n)}function H(n,l,i,t,o,f,r,e,c){var s,h,v,y,_,b,k,g,w,x,A,T,C,$=l.type;if(void 0!==l.constructor)return null;null!=i.__h&&(c=i.__h,e=l.__e=i.__e,l.__h=null,f=[e]),(s=u.__b)&&s(l);try{n:if("function"==typeof $){if(g=l.props,w=(s=$.contextType)&&t[s.__c],x=s?w?w.props.value:s.__:t,i.__c?k=(h=l.__c=i.__c).__=h.__E:("prototype"in $&&$.prototype.render?l.__c=h=new $(g,x):(l.__c=h=new p(g,x),h.constructor=$,h.render=N),w&&w.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=a({},h.__s)),a(h.__s,$.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||l.__v===i.__v){h.props=g,h.state=h.__s,l.__v!==i.__v&&(h.__d=!1),h.__v=l,l.__e=i.__e,l.__k=i.__k,l.__k.forEach(function(n){n&&(n.__=l)}),h.__h.length&&r.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,b)})}if(h.context=x,h.props=g,h.__v=l,h.__P=n,A=u.__r,T=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,A&&A(l),s=h.render(h.props,h.state,h.context);else do{h.__d=!1,A&&A(l),s=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++T<25);h.state=h.__s,null!=h.getChildContext&&(t=a(a({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(b=h.getSnapshotBeforeUpdate(y,_)),C=null!=s&&s.type===d&&null==s.key?s.props.children:s,m(n,Array.isArray(C)?C:[C],l,i,t,o,f,r,e,c),h.base=l.__e,l.__h=null,h.__h.length&&r.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==f&&l.__v===i.__v?(l.__k=i.__k,l.__e=i.__e):l.__e=z(i.__e,l,i,t,o,f,r,c);(s=u.diffed)&&s(l)}catch(n){l.__v=null,(c||null!=f)&&(l.__e=e,l.__h=!!c,f[f.indexOf(e)]=null),u.__e(n,l,i)}}function I(n,l){u.__c&&u.__c(l,n),n.some(function(l){try{n=l.__h,l.__h=[],n.some(function(n){n.call(l)})}catch(n){u.__e(n,l.__v)}})}function z(n,u,i,t,o,f,r,c){var s,a,v,y=i.props,d=u.props,p=u.type,b=0;if("svg"===p&&(o=!0),null!=f)for(;b<f.length;b++)if((s=f[b])&&"setAttribute"in s==!!p&&(p?s.localName===p:3===s.nodeType)){n=s,f[b]=null;break}if(null==n){if(null===p)return document.createTextNode(d);n=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),f=null,c=!1}if(null===p)y===d||c&&n.data===d||(n.data=d);else{if(f=f&&l.call(n.childNodes),a=(y=i.props||e).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=f)for(y={},b=0;b<n.attributes.length;b++)y[n.attributes[b].name]=n.attributes[b].value;(v||a)&&(v&&(a&&v.__html==a.__html||v.__html===n.innerHTML)||(n.innerHTML=v&&v.__html||""))}if(A(n,d,y,o,c),v)u.__k=[];else if(b=u.props.children,m(n,Array.isArray(b)?b:[b],u,i,t,o&&"foreignObject"!==p,f,r,f?f[0]:i.__k&&_(i,0),c),null!=f)for(b=f.length;b--;)null!=f[b]&&h(f[b]);c||("value"in d&&void 0!==(b=d.value)&&(b!==n.value||"progress"===p&&!b||"option"===p&&b!==y.value)&&C(n,"value",b,y.value,!1),"checked"in d&&void 0!==(b=d.checked)&&b!==n.checked&&C(n,"checked",b,y.checked,!1))}return n}function L(n,l,i){try{"function"==typeof n?n(l):n.current=l}catch(n){u.__e(n,i)}}function M(n,l,i){var t,o;if(u.unmount&&u.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||L(t,null,l)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(n){u.__e(n,l)}t.base=t.__P=null,n.__c=void 0}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&M(t[o],l,"function"!=typeof n.type);i||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function N(n,l,u){return this.constructor(n,u)}function O(n,i,t){var o,f,r;u.__&&u.__(n,i),f=(o="function"==typeof t)?null:t&&t.__k||i.__k,r=[],H(i,n=(!o&&t||i).__k=v(d,null,[n]),f||e,e,void 0!==i.ownerSVGElement,!o&&t?[t]:f?null:i.firstChild?l.call(i.childNodes):null,r,!o&&t?t:f?f.__e:i.firstChild,o),I(r,n)}l=c.slice,u={__e:function(n,l,u,i){for(var t,o,f;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),f=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),f=t.__d),f)return t.__E=t}catch(l){n=l}throw n}},i=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a({},this.state),"function"==typeof n&&(n=n(a({},u),this.props)),n&&a(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,o=[],g.__r=0,r=0,n.Component=p,n.Fragment=d,n.cloneElement=function(n,u,i){var t,o,f,r=a({},n.props);for(f in u)"key"==f?t=u[f]:"ref"==f?o=u[f]:r[f]=u[f];return arguments.length>2&&(r.children=arguments.length>3?l.call(arguments,2):i),y(n.type,r,t||n.key,o||n.ref,null)},n.createContext=function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},n.createElement=v,n.createRef=function(){return{current:null}},n.h=v,n.hydrate=function n(l,u){O(l,u,n)},n.isValidElement=t,n.options=u,n.render=O,n.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u}}); | ||
!function(n,l){"object"==typeof exports&&"undefined"!=typeof module?l(exports):"function"==typeof define&&define.amd?define(["exports"],l):l((n||self).preact={})}(this,function(n){var l,u,i,t,o,f,r,e={},c=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n)}function v(n,u,i){var t,o,f,r={};for(f in u)"key"==f?t=u[f]:"ref"==f?o=u[f]:r[f]=u[f];if(arguments.length>2&&(r.children=arguments.length>3?l.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(f in n.defaultProps)void 0===r[f]&&(r[f]=n.defaultProps[f]);return y(n,r,t,o,null)}function y(n,l,t,o,f){var r={type:n,props:l,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==f?++i:f};return null==f&&null!=u.vnode&&u.vnode(r),r}function d(n){return n.children}function p(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function b(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return b(n)}}function k(n){(!n.__d&&(n.__d=!0)&&o.push(n)&&!g.__r++||f!==u.debounceRendering)&&((f=u.debounceRendering)||setTimeout)(g)}function g(){for(var n;g.__r=o.length;)n=o.sort(function(n,l){return n.__v.__b-l.__v.__b}),o=[],n.some(function(n){var l,u,i,t,o,f;n.__d&&(o=(t=(l=n).__v).__e,(f=l.__P)&&(u=[],(i=a({},t)).__v=t.__v+1,H(f,t,i,l.__n,void 0!==f.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_(t):o,t.__h),I(u,t),t.__e!=o&&b(t)))})}function m(n,l,u,i,t,o,f,r,s,a){var h,v,p,b,k,g,m,A=i&&i.__k||c,T=A.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(b=u.__k[h]=null==(b=l[h])||"boolean"==typeof b?null:"string"==typeof b||"number"==typeof b||"bigint"==typeof b?y(null,b,null,null,b):Array.isArray(b)?y(d,{children:b},null,null,null):b.__b>0?y(b.type,b.props,b.key,b.ref?b.ref:null,b.__v):b)){if(b.__=u,b.__b=u.__b+1,null===(p=A[h])||p&&b.key==p.key&&b.type===p.type)A[h]=void 0;else for(v=0;v<T;v++){if((p=A[v])&&b.key==p.key&&b.type===p.type){A[v]=void 0;break}p=null}H(n,b,p=p||e,t,o,f,r,s,a),k=b.__e,(v=b.ref)&&p.ref!=v&&(m||(m=[]),p.ref&&m.push(p.ref,null,b),m.push(v,b.__c||k,b)),null!=k?(null==g&&(g=k),"function"==typeof b.type&&b.__k===p.__k?b.__d=s=w(b,s,n):s=x(n,b,p,A,k,s),"function"==typeof u.type&&(u.__d=s)):s&&p.__e==s&&s.parentNode!=n&&(s=_(p))}for(u.__e=g,h=T;h--;)null!=A[h]&&M(A[h],A[h]);if(m)for(h=0;h<m.length;h++)L(m[h],m[++h],m[++h])}function w(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?w(i,l,u):x(u,i,i,t,i.__e,l));return l}function x(n,l,u,i,t,o){var f,r,e;if(void 0!==l.__d)f=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),f=null;else{for(r=o,e=0;(r=r.nextSibling)&&e<i.length;e+=2)if(r==t)break n;n.insertBefore(t,o),f=o}return void 0!==f?f:t.nextSibling}function A(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||C(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||C(n,o,l[o],u[o],i)}function T(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||s.test(l)?u:u+"px"}function C(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||T(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?j:$,o):n.removeEventListener(l,o?j:$,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function $(n){this.l[n.type+!1](u.event?u.event(n):n)}function j(n){this.l[n.type+!0](u.event?u.event(n):n)}function H(n,l,i,t,o,f,r,e,c){var s,h,v,y,_,b,k,g,w,x,A,T,C,$=l.type;if(void 0!==l.constructor)return null;null!=i.__h&&(c=i.__h,e=l.__e=i.__e,l.__h=null,f=[e]),(s=u.__b)&&s(l);try{n:if("function"==typeof $){g=l.props,w=(s=$.contextType)&&t[s.__c],x=s?w?w.props.value:s.__:t,i.__c?k=(h=l.__c=i.__c).__=h.__E:("prototype"in $&&$.prototype.render?l.__c=h=new $(g,x):(l.__c=h=new p(g,x),h.constructor=$,h.render=N),w&&w.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=$.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=a({},h.__s)),a(h.__s,$.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state;for(s=0;s<h._sb.length;s++)h.__h.push(h._sb[s]),h._sb=[];if(v)null==$.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==$.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||l.__v===i.__v){h.props=g,h.state=h.__s,l.__v!==i.__v&&(h.__d=!1),h.__v=l,l.__e=i.__e,l.__k=i.__k,l.__k.forEach(function(n){n&&(n.__=l)}),h.__h.length&&r.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,b)})}if(h.context=x,h.props=g,h.__v=l,h.__P=n,A=u.__r,T=0,"prototype"in $&&$.prototype.render)h.state=h.__s,h.__d=!1,A&&A(l),s=h.render(h.props,h.state,h.context);else do{h.__d=!1,A&&A(l),s=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++T<25);h.state=h.__s,null!=h.getChildContext&&(t=a(a({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(b=h.getSnapshotBeforeUpdate(y,_)),C=null!=s&&s.type===d&&null==s.key?s.props.children:s,m(n,Array.isArray(C)?C:[C],l,i,t,o,f,r,e,c),h.base=l.__e,l.__h=null,h.__h.length&&r.push(h),k&&(h.__E=h.__=null),h.__e=!1}else null==f&&l.__v===i.__v?(l.__k=i.__k,l.__e=i.__e):l.__e=z(i.__e,l,i,t,o,f,r,c);(s=u.diffed)&&s(l)}catch(n){l.__v=null,(c||null!=f)&&(l.__e=e,l.__h=!!c,f[f.indexOf(e)]=null),u.__e(n,l,i)}}function I(n,l){u.__c&&u.__c(l,n),n.some(function(l){try{n=l.__h,l.__h=[],n.some(function(n){n.call(l)})}catch(n){u.__e(n,l.__v)}})}function z(n,u,i,t,o,f,r,c){var s,a,v,y=i.props,d=u.props,p=u.type,b=0;if("svg"===p&&(o=!0),null!=f)for(;b<f.length;b++)if((s=f[b])&&"setAttribute"in s==!!p&&(p?s.localName===p:3===s.nodeType)){n=s,f[b]=null;break}if(null==n){if(null===p)return document.createTextNode(d);n=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,d.is&&d),f=null,c=!1}if(null===p)y===d||c&&n.data===d||(n.data=d);else{if(f=f&&l.call(n.childNodes),a=(y=i.props||e).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(null!=f)for(y={},b=0;b<n.attributes.length;b++)y[n.attributes[b].name]=n.attributes[b].value;(v||a)&&(v&&(a&&v.__html==a.__html||v.__html===n.innerHTML)||(n.innerHTML=v&&v.__html||""))}if(A(n,d,y,o,c),v)u.__k=[];else if(b=u.props.children,m(n,Array.isArray(b)?b:[b],u,i,t,o&&"foreignObject"!==p,f,r,f?f[0]:i.__k&&_(i,0),c),null!=f)for(b=f.length;b--;)null!=f[b]&&h(f[b]);c||("value"in d&&void 0!==(b=d.value)&&(b!==n.value||"progress"===p&&!b||"option"===p&&b!==y.value)&&C(n,"value",b,y.value,!1),"checked"in d&&void 0!==(b=d.checked)&&b!==n.checked&&C(n,"checked",b,y.checked,!1))}return n}function L(n,l,i){try{"function"==typeof n?n(l):n.current=l}catch(n){u.__e(n,i)}}function M(n,l,i){var t,o;if(u.unmount&&u.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||L(t,null,l)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(n){u.__e(n,l)}t.base=t.__P=null,n.__c=void 0}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&M(t[o],l,i||"function"!=typeof n.type);i||null==n.__e||h(n.__e),n.__=n.__e=n.__d=void 0}function N(n,l,u){return this.constructor(n,u)}function O(n,i,t){var o,f,r;u.__&&u.__(n,i),f=(o="function"==typeof t)?null:t&&t.__k||i.__k,r=[],H(i,n=(!o&&t||i).__k=v(d,null,[n]),f||e,e,void 0!==i.ownerSVGElement,!o&&t?[t]:f?null:i.firstChild?l.call(i.childNodes):null,r,!o&&t?t:f?f.__e:i.firstChild,o),I(r,n)}l=c.slice,u={__e:function(n,l,u,i){for(var t,o,f;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),f=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),f=t.__d),f)return t.__E=t}catch(l){n=l}throw n}},i=0,t=function(n){return null!=n&&void 0===n.constructor},p.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a({},this.state),"function"==typeof n&&(n=n(a({},u),this.props)),n&&a(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),k(this))},p.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),k(this))},p.prototype.render=d,o=[],g.__r=0,r=0,n.Component=p,n.Fragment=d,n.cloneElement=function(n,u,i){var t,o,f,r=a({},n.props);for(f in u)"key"==f?t=u[f]:"ref"==f?o=u[f]:r[f]=u[f];return arguments.length>2&&(r.children=arguments.length>3?l.call(arguments,2):i),y(n.type,r,t||n.key,o||n.ref,null)},n.createContext=function(n,l){var u={__c:l="__cC"+r++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(k)},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u},n.createElement=v,n.createRef=function(){return{current:null}},n.h=v,n.hydrate=function n(l,u){O(l,u,n)},n.isValidElement=t,n.options=u,n.render=O,n.toChildArray=function n(l,u){return u=u||[],null==l||"boolean"==typeof l||(Array.isArray(l)?l.some(function(l){n(l,u)}):u.push(l)),u}}); | ||
//# sourceMappingURL=preact.umd.js.map |
@@ -1,2 +0,2 @@ | ||
var n,t,r,u,o=require("preact"),i=0,f=[],c=[],e=o.options.__b,a=o.options.__r,v=o.options.diffed,p=o.options.__c,s=o.options.unmount;function l(n,r){o.options.__h&&o.options.__h(t,n,i||r),i=0;var u=t.__H||(t.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({__V:c}),u.__[n]}function x(n){return i=1,m(P,n)}function m(r,u,o){var i=l(n++,2);if(i.t=r,!i.__c&&(i.__=[o?o(u):P(void 0,u),function(n){var t=i.__N?i.__N[0]:i.__[0],r=i.t(t,n);t!==r&&(i.__N=[r,i.__[1]],i.__c.setState({}))}],i.__c=t,!t.u)){t.u=!0;var f=t.shouldComponentUpdate;t.shouldComponentUpdate=function(n,t,r){if(!i.__c.__H)return!0;var u=i.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return!n.__N}))return!f||f.call(this,n,t,r);var o=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(o=!0)}}),!!o&&(!f||f.call(this,n,t,r))}}return i.__N||i.__}function d(r,u){var i=l(n++,4);!o.options.__s&&T(i.__H,u)&&(i.__=r,i.o=u,t.__h.push(i))}function y(t,r){var u=l(n++,7);return T(u.__H,r)?(u.__V=t(),u.o=r,u.__h=t,u.__V):u.__}function h(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(A),n.__H.__h.forEach(F),n.__H.__h=[]}catch(t){n.__H.__h=[],o.options.__e(t,n.__v)}}o.options.__b=function(n){"function"!=typeof n.type||n.i||n.type===o.Fragment?n.i||(n.i=n.__&&n.__.i?n.__.i:""):n.i=(n.__&&n.__.i?n.__.i:"")+(n.__&&n.__.__k?n.__.__k.indexOf(n):0),t=null,e&&e(n)},o.options.__r=function(u){a&&a(u),n=0;var o=(t=u.__c).__H;o&&(r===t?(o.__h=[],t.__h=[],o.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.o=void 0})):(o.__h.forEach(A),o.__h.forEach(F),o.__h=[])),r=t},o.options.diffed=function(n){v&&v(n);var i=n.__c;i&&i.__H&&(i.__H.__h.length&&(1!==f.push(i)&&u===o.options.requestAnimationFrame||((u=o.options.requestAnimationFrame)||q)(h)),i.__H.__.forEach(function(n){n.o&&(n.__H=n.o),n.__V!==c&&(n.__=n.__V),n.o=void 0,n.__V=c})),r=t=null},o.options.__c=function(n,t){t.some(function(n){try{n.__h.forEach(A),n.__h=n.__h.filter(function(n){return!n.__||F(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],o.options.__e(r,n.__v)}}),p&&p(n,t)},o.options.unmount=function(n){s&&s(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{A(n)}catch(n){t=n}}),r.__H=void 0,t&&o.options.__e(t,r.__v))};var _="function"==typeof requestAnimationFrame;function q(n){var t,r=function(){clearTimeout(u),_&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);_&&(t=requestAnimationFrame(r))}function A(n){var r=t,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),t=r}function F(n){var r=t;n.__c=n.__(),t=r}function T(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function P(n,t){return"function"==typeof t?t(n):t}exports.useCallback=function(n,t){return i=8,y(function(){return n},t)},exports.useContext=function(r){var u=t.context[r.__c],o=l(n++,9);return o.c=r,u?(null==o.__&&(o.__=!0,u.sub(t)),u.props.value):r.__},exports.useDebugValue=function(n,t){o.options.useDebugValue&&o.options.useDebugValue(t?t(n):n)},exports.useEffect=function(r,u){var i=l(n++,3);!o.options.__s&&T(i.__H,u)&&(i.__=r,i.o=u,t.__H.__h.push(i))},exports.useErrorBoundary=function(r){var u=l(n++,10),o=x();return u.__=r,t.componentDidCatch||(t.componentDidCatch=function(n,t){u.__&&u.__(n,t),o[1](n)}),[o[0],function(){o[1](void 0)}]},exports.useId=function(){var r=l(n++,11);return r.__||(r.__="P"+function(n){for(var t=0,r=n.length;r>0;)t=(t<<5)-t+n.charCodeAt(--r)|0;return t}(t.__v.i)+n),r.__},exports.useImperativeHandle=function(n,t,r){i=6,d(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))},exports.useLayoutEffect=d,exports.useMemo=y,exports.useReducer=m,exports.useRef=function(n){return i=5,y(function(){return{current:n}},[])},exports.useState=x; | ||
var n,t,r,u,o=require("preact"),i=0,f=[],c=[],e=o.options.__b,a=o.options.__r,v=o.options.diffed,p=o.options.__c,s=o.options.unmount;function l(n,r){o.options.__h&&o.options.__h(t,n,i||r),i=0;var u=t.__H||(t.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({__V:c}),u.__[n]}function x(n){return i=1,m(P,n)}function m(r,u,o){var i=l(n++,2);if(i.t=r,!i.__c&&(i.__=[o?o(u):P(void 0,u),function(n){var t=i.__N?i.__N[0]:i.__[0],r=i.t(t,n);t!==r&&(i.__N=[r,i.__[1]],i.__c.setState({}))}],i.__c=t,!t.u)){t.u=!0;var f=t.shouldComponentUpdate;t.shouldComponentUpdate=function(n,t,r){if(!i.__c.__H)return!0;var u=i.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return!n.__N}))return!f||f.call(this,n,t,r);var o=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(o=!0)}}),!(!o&&i.__c.props===n)&&(!f||f.call(this,n,t,r))}}return i.__N||i.__}function d(r,u){var i=l(n++,4);!o.options.__s&&T(i.__H,u)&&(i.__=r,i.o=u,t.__h.push(i))}function y(t,r){var u=l(n++,7);return T(u.__H,r)?(u.__V=t(),u.o=r,u.__h=t,u.__V):u.__}function h(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(A),n.__H.__h.forEach(F),n.__H.__h=[]}catch(t){n.__H.__h=[],o.options.__e(t,n.__v)}}o.options.__b=function(n){"function"!=typeof n.type||n.__m||n.type===o.Fragment?n.__m||(n.__m=n.__&&n.__.__m?n.__.__m:""):n.__m=(n.__&&n.__.__m?n.__.__m:"")+(n.__&&n.__.__k?n.__.__k.indexOf(n):0),t=null,e&&e(n)},o.options.__r=function(u){a&&a(u),n=0;var o=(t=u.__c).__H;o&&(r===t?(o.__h=[],t.__h=[],o.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.o=void 0})):(o.__h.forEach(A),o.__h.forEach(F),o.__h=[])),r=t},o.options.diffed=function(n){v&&v(n);var i=n.__c;i&&i.__H&&(i.__H.__h.length&&(1!==f.push(i)&&u===o.options.requestAnimationFrame||((u=o.options.requestAnimationFrame)||q)(h)),i.__H.__.forEach(function(n){n.o&&(n.__H=n.o),n.__V!==c&&(n.__=n.__V),n.o=void 0,n.__V=c})),r=t=null},o.options.__c=function(n,t){t.some(function(n){try{n.__h.forEach(A),n.__h=n.__h.filter(function(n){return!n.__||F(n)})}catch(r){t.some(function(n){n.__h&&(n.__h=[])}),t=[],o.options.__e(r,n.__v)}}),p&&p(n,t)},o.options.unmount=function(n){s&&s(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{A(n)}catch(n){t=n}}),r.__H=void 0,t&&o.options.__e(t,r.__v))};var _="function"==typeof requestAnimationFrame;function q(n){var t,r=function(){clearTimeout(u),_&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);_&&(t=requestAnimationFrame(r))}function A(n){var r=t,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),t=r}function F(n){var r=t;n.__c=n.__(),t=r}function T(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function P(n,t){return"function"==typeof t?t(n):t}exports.useCallback=function(n,t){return i=8,y(function(){return n},t)},exports.useContext=function(r){var u=t.context[r.__c],o=l(n++,9);return o.c=r,u?(null==o.__&&(o.__=!0,u.sub(t)),u.props.value):r.__},exports.useDebugValue=function(n,t){o.options.useDebugValue&&o.options.useDebugValue(t?t(n):n)},exports.useEffect=function(r,u){var i=l(n++,3);!o.options.__s&&T(i.__H,u)&&(i.__=r,i.o=u,t.__H.__h.push(i))},exports.useErrorBoundary=function(r){var u=l(n++,10),o=x();return u.__=r,t.componentDidCatch||(t.componentDidCatch=function(n,t){u.__&&u.__(n,t),o[1](n)}),[o[0],function(){o[1](void 0)}]},exports.useId=function(){var r=l(n++,11);return r.__||(r.__="P"+function(n){for(var t=0,r=n.length;r>0;)t=(t<<5)-t+n.charCodeAt(--r)|0;return t}(t.__v.__m)+n),r.__},exports.useImperativeHandle=function(n,t,r){i=6,d(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))},exports.useLayoutEffect=d,exports.useMemo=y,exports.useReducer=m,exports.useRef=function(n){return i=5,y(function(){return{current:n}},[])},exports.useState=x; | ||
//# sourceMappingURL=hooks.js.map |
@@ -1,2 +0,2 @@ | ||
import{options as n,Fragment as t}from"preact";var r,u,i,o,f=0,c=[],e=[],a=n.__b,v=n.__r,l=n.diffed,m=n.__c,d=n.unmount;function p(t,r){n.__h&&n.__h(u,t,f||r),f=0;var i=u.__H||(u.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:e}),i.__[t]}function y(n){return f=1,h(C,n)}function h(n,t,i){var o=p(r++,2);if(o.t=n,!o.__c&&(o.__=[i?i(t):C(void 0,t),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=u,!u.u)){u.u=!0;var f=u.shouldComponentUpdate;u.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return!n.__N}))return!f||f.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),!!i&&(!f||f.call(this,n,t,r))}}return o.__N||o.__}function s(t,i){var o=p(r++,3);!n.__s&&B(o.__H,i)&&(o.__=t,o.i=i,u.__H.__h.push(o))}function _(t,i){var o=p(r++,4);!n.__s&&B(o.__H,i)&&(o.__=t,o.i=i,u.__h.push(o))}function A(n){return f=5,T(function(){return{current:n}},[])}function F(n,t,r){f=6,_(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))}function T(n,t){var u=p(r++,7);return B(u.__H,t)?(u.__V=n(),u.i=t,u.__h=n,u.__V):u.__}function q(n,t){return f=8,T(function(){return n},t)}function x(n){var t=u.context[n.__c],i=p(r++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(u)),t.props.value):n.__}function P(t,r){n.useDebugValue&&n.useDebugValue(r?r(t):t)}function V(n){var t=p(r++,10),i=y();return t.__=n,u.componentDidCatch||(u.componentDidCatch=function(n,r){t.__&&t.__(n,r),i[1](n)}),[i[0],function(){i[1](void 0)}]}function b(){var n=p(r++,11);return n.__||(n.__="P"+function(n){for(var t=0,r=n.length;r>0;)t=(t<<5)-t+n.charCodeAt(--r)|0;return t}(u.__v.o)+r),n.__}function g(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(w),t.__H.__h.forEach(z),t.__H.__h=[]}catch(r){t.__H.__h=[],n.__e(r,t.__v)}}n.__b=function(n){"function"!=typeof n.type||n.o||n.type===t?n.o||(n.o=n.__&&n.__.o?n.__.o:""):n.o=(n.__&&n.__.o?n.__.o:"")+(n.__&&n.__.__k?n.__.__k.indexOf(n):0),u=null,a&&a(n)},n.__r=function(n){v&&v(n),r=0;var t=(u=n.__c).__H;t&&(i===u?(t.__h=[],u.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=e,n.__N=n.i=void 0})):(t.__h.forEach(w),t.__h.forEach(z),t.__h=[])),i=u},n.diffed=function(t){l&&l(t);var r=t.__c;r&&r.__H&&(r.__H.__h.length&&(1!==c.push(r)&&o===n.requestAnimationFrame||((o=n.requestAnimationFrame)||k)(g)),r.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==e&&(n.__=n.__V),n.i=void 0,n.__V=e})),i=u=null},n.__c=function(t,r){r.some(function(t){try{t.__h.forEach(w),t.__h=t.__h.filter(function(n){return!n.__||z(n)})}catch(u){r.some(function(n){n.__h&&(n.__h=[])}),r=[],n.__e(u,t.__v)}}),m&&m(t,r)},n.unmount=function(t){d&&d(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{w(n)}catch(n){r=n}}),u.__H=void 0,r&&n.__e(r,u.__v))};var j="function"==typeof requestAnimationFrame;function k(n){var t,r=function(){clearTimeout(u),j&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);j&&(t=requestAnimationFrame(r))}function w(n){var t=u,r=n.__c;"function"==typeof r&&(n.__c=void 0,r()),u=t}function z(n){var t=u;n.__c=n.__(),u=t}function B(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function C(n,t){return"function"==typeof t?t(n):t}export{q as useCallback,x as useContext,P as useDebugValue,s as useEffect,V as useErrorBoundary,b as useId,F as useImperativeHandle,_ as useLayoutEffect,T as useMemo,h as useReducer,A as useRef,y as useState}; | ||
import{options as n,Fragment as t}from"preact";var r,u,i,o,f=0,c=[],e=[],a=n.__b,v=n.__r,l=n.diffed,m=n.__c,d=n.unmount;function p(t,r){n.__h&&n.__h(u,t,f||r),f=0;var i=u.__H||(u.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:e}),i.__[t]}function y(n){return f=1,h(C,n)}function h(n,t,i){var o=p(r++,2);if(o.t=n,!o.__c&&(o.__=[i?i(t):C(void 0,t),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=u,!u.u)){u.u=!0;var f=u.shouldComponentUpdate;u.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return!n.__N}))return!f||f.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),!(!i&&o.__c.props===n)&&(!f||f.call(this,n,t,r))}}return o.__N||o.__}function s(t,i){var o=p(r++,3);!n.__s&&B(o.__H,i)&&(o.__=t,o.i=i,u.__H.__h.push(o))}function _(t,i){var o=p(r++,4);!n.__s&&B(o.__H,i)&&(o.__=t,o.i=i,u.__h.push(o))}function A(n){return f=5,T(function(){return{current:n}},[])}function F(n,t,r){f=6,_(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))}function T(n,t){var u=p(r++,7);return B(u.__H,t)?(u.__V=n(),u.i=t,u.__h=n,u.__V):u.__}function q(n,t){return f=8,T(function(){return n},t)}function x(n){var t=u.context[n.__c],i=p(r++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(u)),t.props.value):n.__}function P(t,r){n.useDebugValue&&n.useDebugValue(r?r(t):t)}function V(n){var t=p(r++,10),i=y();return t.__=n,u.componentDidCatch||(u.componentDidCatch=function(n,r){t.__&&t.__(n,r),i[1](n)}),[i[0],function(){i[1](void 0)}]}function b(){var n=p(r++,11);return n.__||(n.__="P"+function(n){for(var t=0,r=n.length;r>0;)t=(t<<5)-t+n.charCodeAt(--r)|0;return t}(u.__v.__m)+r),n.__}function g(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(w),t.__H.__h.forEach(z),t.__H.__h=[]}catch(r){t.__H.__h=[],n.__e(r,t.__v)}}n.__b=function(n){"function"!=typeof n.type||n.__m||n.type===t?n.__m||(n.__m=n.__&&n.__.__m?n.__.__m:""):n.__m=(n.__&&n.__.__m?n.__.__m:"")+(n.__&&n.__.__k?n.__.__k.indexOf(n):0),u=null,a&&a(n)},n.__r=function(n){v&&v(n),r=0;var t=(u=n.__c).__H;t&&(i===u?(t.__h=[],u.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=e,n.__N=n.i=void 0})):(t.__h.forEach(w),t.__h.forEach(z),t.__h=[])),i=u},n.diffed=function(t){l&&l(t);var r=t.__c;r&&r.__H&&(r.__H.__h.length&&(1!==c.push(r)&&o===n.requestAnimationFrame||((o=n.requestAnimationFrame)||k)(g)),r.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==e&&(n.__=n.__V),n.i=void 0,n.__V=e})),i=u=null},n.__c=function(t,r){r.some(function(t){try{t.__h.forEach(w),t.__h=t.__h.filter(function(n){return!n.__||z(n)})}catch(u){r.some(function(n){n.__h&&(n.__h=[])}),r=[],n.__e(u,t.__v)}}),m&&m(t,r)},n.unmount=function(t){d&&d(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{w(n)}catch(n){r=n}}),u.__H=void 0,r&&n.__e(r,u.__v))};var j="function"==typeof requestAnimationFrame;function k(n){var t,r=function(){clearTimeout(u),j&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);j&&(t=requestAnimationFrame(r))}function w(n){var t=u,r=n.__c;"function"==typeof r&&(n.__c=void 0,r()),u=t}function z(n){var t=u;n.__c=n.__(),u=t}function B(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function C(n,t){return"function"==typeof t?t(n):t}export{q as useCallback,x as useContext,P as useDebugValue,s as useEffect,V as useErrorBoundary,b as useId,F as useImperativeHandle,_ as useLayoutEffect,T as useMemo,h as useReducer,A as useRef,y as useState}; | ||
//# sourceMappingURL=hooks.module.js.map |
@@ -1,2 +0,2 @@ | ||
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("preact")):"function"==typeof define&&define.amd?define(["exports","preact"],t):t((n||self).preactHooks={},n.preact)}(this,function(n,t){var u,r,i,o,f=0,e=[],c=[],a=t.options.__b,v=t.options.__r,l=t.options.diffed,d=t.options.__c,p=t.options.unmount;function s(n,u){t.options.__h&&t.options.__h(r,n,f||u),f=0;var i=r.__H||(r.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({__V:c}),i.__[n]}function y(n){return f=1,m(g,n)}function m(n,t,i){var o=s(u++,2);if(o.t=n,!o.__c&&(o.__=[i?i(t):g(void 0,t),function(n){var t=o.__N?o.__N[0]:o.__[0],u=o.t(t,n);t!==u&&(o.__N=[u,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){r.u=!0;var f=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,u){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter(function(n){return n.__c});if(r.every(function(n){return!n.__N}))return!f||f.call(this,n,t,u);var i=!1;return r.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),!!i&&(!f||f.call(this,n,t,u))}}return o.__N||o.__}function h(n,i){var o=s(u++,4);!t.options.__s&&F(o.__H,i)&&(o.__=n,o.i=i,r.__h.push(o))}function _(n,t){var r=s(u++,7);return F(r.__H,t)?(r.__V=n(),r.i=t,r.__h=n,r.__V):r.__}function T(){for(var n;n=e.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(x),n.__H.__h.forEach(A),n.__H.__h=[]}catch(u){n.__H.__h=[],t.options.__e(u,n.__v)}}t.options.__b=function(n){"function"!=typeof n.type||n.o||n.type===t.Fragment?n.o||(n.o=n.__&&n.__.o?n.__.o:""):n.o=(n.__&&n.__.o?n.__.o:"")+(n.__&&n.__.__k?n.__.__k.indexOf(n):0),r=null,a&&a(n)},t.options.__r=function(n){v&&v(n),u=0;var t=(r=n.__c).__H;t&&(i===r?(t.__h=[],r.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0})):(t.__h.forEach(x),t.__h.forEach(A),t.__h=[])),i=r},t.options.diffed=function(n){l&&l(n);var u=n.__c;u&&u.__H&&(u.__H.__h.length&&(1!==e.push(u)&&o===t.options.requestAnimationFrame||((o=t.options.requestAnimationFrame)||q)(T)),u.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c})),i=r=null},t.options.__c=function(n,u){u.some(function(n){try{n.__h.forEach(x),n.__h=n.__h.filter(function(n){return!n.__||A(n)})}catch(r){u.some(function(n){n.__h&&(n.__h=[])}),u=[],t.options.__e(r,n.__v)}}),d&&d(n,u)},t.options.unmount=function(n){p&&p(n);var u,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{x(n)}catch(n){u=n}}),r.__H=void 0,u&&t.options.__e(u,r.__v))};var b="function"==typeof requestAnimationFrame;function q(n){var t,u=function(){clearTimeout(r),b&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(u,100);b&&(t=requestAnimationFrame(u))}function x(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function A(n){var t=r;n.__c=n.__(),r=t}function F(n,t){return!n||n.length!==t.length||t.some(function(t,u){return t!==n[u]})}function g(n,t){return"function"==typeof t?t(n):t}n.useCallback=function(n,t){return f=8,_(function(){return n},t)},n.useContext=function(n){var t=r.context[n.__c],i=s(u++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(r)),t.props.value):n.__},n.useDebugValue=function(n,u){t.options.useDebugValue&&t.options.useDebugValue(u?u(n):n)},n.useEffect=function(n,i){var o=s(u++,3);!t.options.__s&&F(o.__H,i)&&(o.__=n,o.i=i,r.__H.__h.push(o))},n.useErrorBoundary=function(n){var t=s(u++,10),i=y();return t.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,u){t.__&&t.__(n,u),i[1](n)}),[i[0],function(){i[1](void 0)}]},n.useId=function(){var n=s(u++,11);return n.__||(n.__="P"+function(n){for(var t=0,u=n.length;u>0;)t=(t<<5)-t+n.charCodeAt(--u)|0;return t}(r.__v.o)+u),n.__},n.useImperativeHandle=function(n,t,u){f=6,h(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==u?u:u.concat(n))},n.useLayoutEffect=h,n.useMemo=_,n.useReducer=m,n.useRef=function(n){return f=5,_(function(){return{current:n}},[])},n.useState=y}); | ||
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("preact")):"function"==typeof define&&define.amd?define(["exports","preact"],t):t((n||self).preactHooks={},n.preact)}(this,function(n,t){var u,r,i,o,f=0,e=[],c=[],a=t.options.__b,v=t.options.__r,l=t.options.diffed,d=t.options.__c,p=t.options.unmount;function s(n,u){t.options.__h&&t.options.__h(r,n,f||u),f=0;var i=r.__H||(r.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({__V:c}),i.__[n]}function y(n){return f=1,m(g,n)}function m(n,t,i){var o=s(u++,2);if(o.t=n,!o.__c&&(o.__=[i?i(t):g(void 0,t),function(n){var t=o.__N?o.__N[0]:o.__[0],u=o.t(t,n);t!==u&&(o.__N=[u,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){r.u=!0;var f=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,u){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter(function(n){return n.__c});if(r.every(function(n){return!n.__N}))return!f||f.call(this,n,t,u);var i=!1;return r.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),!(!i&&o.__c.props===n)&&(!f||f.call(this,n,t,u))}}return o.__N||o.__}function h(n,i){var o=s(u++,4);!t.options.__s&&F(o.__H,i)&&(o.__=n,o.i=i,r.__h.push(o))}function _(n,t){var r=s(u++,7);return F(r.__H,t)?(r.__V=n(),r.i=t,r.__h=n,r.__V):r.__}function T(){for(var n;n=e.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(x),n.__H.__h.forEach(A),n.__H.__h=[]}catch(u){n.__H.__h=[],t.options.__e(u,n.__v)}}t.options.__b=function(n){"function"!=typeof n.type||n.__m||n.type===t.Fragment?n.__m||(n.__m=n.__&&n.__.__m?n.__.__m:""):n.__m=(n.__&&n.__.__m?n.__.__m:"")+(n.__&&n.__.__k?n.__.__k.indexOf(n):0),r=null,a&&a(n)},t.options.__r=function(n){v&&v(n),u=0;var t=(r=n.__c).__H;t&&(i===r?(t.__h=[],r.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0})):(t.__h.forEach(x),t.__h.forEach(A),t.__h=[])),i=r},t.options.diffed=function(n){l&&l(n);var u=n.__c;u&&u.__H&&(u.__H.__h.length&&(1!==e.push(u)&&o===t.options.requestAnimationFrame||((o=t.options.requestAnimationFrame)||q)(T)),u.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c})),i=r=null},t.options.__c=function(n,u){u.some(function(n){try{n.__h.forEach(x),n.__h=n.__h.filter(function(n){return!n.__||A(n)})}catch(r){u.some(function(n){n.__h&&(n.__h=[])}),u=[],t.options.__e(r,n.__v)}}),d&&d(n,u)},t.options.unmount=function(n){p&&p(n);var u,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{x(n)}catch(n){u=n}}),r.__H=void 0,u&&t.options.__e(u,r.__v))};var b="function"==typeof requestAnimationFrame;function q(n){var t,u=function(){clearTimeout(r),b&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(u,100);b&&(t=requestAnimationFrame(u))}function x(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function A(n){var t=r;n.__c=n.__(),r=t}function F(n,t){return!n||n.length!==t.length||t.some(function(t,u){return t!==n[u]})}function g(n,t){return"function"==typeof t?t(n):t}n.useCallback=function(n,t){return f=8,_(function(){return n},t)},n.useContext=function(n){var t=r.context[n.__c],i=s(u++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(r)),t.props.value):n.__},n.useDebugValue=function(n,u){t.options.useDebugValue&&t.options.useDebugValue(u?u(n):n)},n.useEffect=function(n,i){var o=s(u++,3);!t.options.__s&&F(o.__H,i)&&(o.__=n,o.i=i,r.__H.__h.push(o))},n.useErrorBoundary=function(n){var t=s(u++,10),i=y();return t.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,u){t.__&&t.__(n,u),i[1](n)}),[i[0],function(){i[1](void 0)}]},n.useId=function(){var n=s(u++,11);return n.__||(n.__="P"+function(n){for(var t=0,u=n.length;u>0;)t=(t<<5)-t+n.charCodeAt(--u)|0;return t}(r.__v.__m)+u),n.__},n.useImperativeHandle=function(n,t,u){f=6,h(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==u?u:u.concat(n))},n.useLayoutEffect=h,n.useMemo=_,n.useReducer=m,n.useRef=function(n){return f=5,_(function(){return{current:n}},[])},n.useState=y}); | ||
//# sourceMappingURL=hooks.umd.js.map |
@@ -236,3 +236,3 @@ import { Fragment, options } from 'preact'; | ||
return shouldUpdate | ||
return shouldUpdate || hookState._component.props !== p | ||
? prevScu | ||
@@ -239,0 +239,0 @@ ? prevScu.call(this, p, s, c) |
{ | ||
"name": "preact", | ||
"amdName": "preact", | ||
"version": "10.11.0", | ||
"version": "10.11.1", | ||
"private": false, | ||
@@ -28,2 +28,3 @@ "description": "Fast 3kb React-compatible Virtual DOM library.", | ||
"./debug": { | ||
"types": "./debug/src/index.d.ts", | ||
"browser": "./debug/dist/debug.module.js", | ||
@@ -30,0 +31,0 @@ "umd": "./debug/dist/debug.umd.js", |
@@ -50,3 +50,5 @@ import { assign } from './util'; | ||
if (this._vnode) { | ||
if (callback) this._renderCallbacks.push(callback); | ||
if (callback) { | ||
this._stateCallbacks.push(callback); | ||
} | ||
enqueueRender(this); | ||
@@ -53,0 +55,0 @@ } |
@@ -208,13 +208,2 @@ import { diff, unmount, applyRef } from './index'; | ||
if (oldChildren[i] != null) { | ||
if ( | ||
typeof newParentVNode.type == 'function' && | ||
oldChildren[i]._dom != null && | ||
oldChildren[i]._dom == newParentVNode._nextDom | ||
) { | ||
// If the newParentVNode.__nextDom points to a dom node that is about to | ||
// be unmounted, then get the next sibling of that vnode and set | ||
// _nextDom to it | ||
newParentVNode._nextDom = getDomSibling(oldParentVNode, i + 1); | ||
} | ||
unmount(oldChildren[i], oldChildren[i]); | ||
@@ -221,0 +210,0 @@ } |
@@ -92,2 +92,3 @@ import { EMPTY_OBJ } from '../constants'; | ||
c._renderCallbacks = []; | ||
c._stateCallbacks = []; | ||
} | ||
@@ -113,2 +114,7 @@ | ||
for (tmp = 0; tmp < c._stateCallbacks.length; tmp++) { | ||
c._renderCallbacks.push(c._stateCallbacks[tmp]); | ||
c._stateCallbacks = []; | ||
} | ||
// Invoke pre-render lifecycle methods | ||
@@ -523,3 +529,3 @@ if (isNew) { | ||
if (r[i]) { | ||
unmount(r[i], parentVNode, typeof vnode.type != 'function'); | ||
unmount(r[i], parentVNode, skipRemove || typeof vnode.type !== 'function'); | ||
} | ||
@@ -526,0 +532,0 @@ } |
@@ -136,6 +136,3 @@ import { IS_NON_DIMENSIONAL } from '../constants'; | ||
// never serialize functions as attribute values | ||
} else if ( | ||
value != null && | ||
(value !== false || (name[0] === 'a' && name[1] === 'r')) | ||
) { | ||
} else if (value != null && (value !== false || name.indexOf('-') != -1)) { | ||
dom.setAttribute(name, value); | ||
@@ -142,0 +139,0 @@ } else { |
@@ -42,3 +42,3 @@ export as namespace preact; | ||
export type RefCallback<T> = (instance: T | null) => void; | ||
export type Ref<T> = RefObject<T> | RefCallback<T>; | ||
export type Ref<T> = RefObject<T> | RefCallback<T> | null; | ||
@@ -45,0 +45,0 @@ export type ComponentChild = |
@@ -136,2 +136,3 @@ import * as preact from './index'; | ||
_renderCallbacks: Array<() => void>; // Only class components | ||
_stateCallbacks: Array<() => void>; // Only class components | ||
_globalContext?: any; | ||
@@ -138,0 +139,0 @@ _vnode?: VNode<P> | null; |
926
src/jsx.d.ts
@@ -67,7 +67,13 @@ // Users who only use Preact for SSR might not specify "dom" in their lib in tsconfig.json | ||
export interface SignalLike<T> { | ||
value: T; | ||
peek(): T; | ||
subscribe(fn: (value: T) => void): () => void; | ||
} | ||
export interface SVGAttributes<Target extends EventTarget = SVGElement> | ||
extends HTMLAttributes<Target> { | ||
accentHeight?: number | string; | ||
accumulate?: 'none' | 'sum'; | ||
additive?: 'replace' | 'sum'; | ||
accentHeight?: number | string | SignalLike<number | string>; | ||
accumulate?: 'none' | 'sum' | SignalLike<'none' | 'sum'>; | ||
additive?: 'replace' | 'sum' | SignalLike<'replace' | 'sum'>; | ||
alignmentBaseline?: | ||
@@ -86,238 +92,277 @@ | 'auto' | ||
| 'mathematical' | ||
| 'inherit'; | ||
allowReorder?: 'no' | 'yes'; | ||
alphabetic?: number | string; | ||
amplitude?: number | string; | ||
arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated'; | ||
ascent?: number | string; | ||
attributeName?: string; | ||
attributeType?: string; | ||
autoReverse?: number | string; | ||
azimuth?: number | string; | ||
baseFrequency?: number | string; | ||
baselineShift?: number | string; | ||
baseProfile?: number | string; | ||
bbox?: number | string; | ||
begin?: number | string; | ||
bias?: number | string; | ||
by?: number | string; | ||
calcMode?: number | string; | ||
capHeight?: number | string; | ||
clip?: number | string; | ||
clipPath?: string; | ||
clipPathUnits?: number | string; | ||
clipRule?: number | string; | ||
colorInterpolation?: number | string; | ||
colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit'; | ||
colorProfile?: number | string; | ||
colorRendering?: number | string; | ||
contentScriptType?: number | string; | ||
contentStyleType?: number | string; | ||
cursor?: number | string; | ||
cx?: number | string; | ||
cy?: number | string; | ||
d?: string; | ||
decelerate?: number | string; | ||
descent?: number | string; | ||
diffuseConstant?: number | string; | ||
direction?: number | string; | ||
display?: number | string; | ||
divisor?: number | string; | ||
dominantBaseline?: number | string; | ||
dur?: number | string; | ||
dx?: number | string; | ||
dy?: number | string; | ||
edgeMode?: number | string; | ||
elevation?: number | string; | ||
enableBackground?: number | string; | ||
end?: number | string; | ||
exponent?: number | string; | ||
externalResourcesRequired?: number | string; | ||
fill?: string; | ||
fillOpacity?: number | string; | ||
fillRule?: 'nonzero' | 'evenodd' | 'inherit'; | ||
filter?: string; | ||
filterRes?: number | string; | ||
filterUnits?: number | string; | ||
floodColor?: number | string; | ||
floodOpacity?: number | string; | ||
focusable?: number | string; | ||
fontFamily?: string; | ||
fontSize?: number | string; | ||
fontSizeAdjust?: number | string; | ||
fontStretch?: number | string; | ||
fontStyle?: number | string; | ||
fontVariant?: number | string; | ||
fontWeight?: number | string; | ||
format?: number | string; | ||
from?: number | string; | ||
fx?: number | string; | ||
fy?: number | string; | ||
g1?: number | string; | ||
g2?: number | string; | ||
glyphName?: number | string; | ||
glyphOrientationHorizontal?: number | string; | ||
glyphOrientationVertical?: number | string; | ||
glyphRef?: number | string; | ||
gradientTransform?: string; | ||
gradientUnits?: string; | ||
hanging?: number | string; | ||
horizAdvX?: number | string; | ||
horizOriginX?: number | string; | ||
ideographic?: number | string; | ||
imageRendering?: number | string; | ||
in2?: number | string; | ||
in?: string; | ||
intercept?: number | string; | ||
k1?: number | string; | ||
k2?: number | string; | ||
k3?: number | string; | ||
k4?: number | string; | ||
k?: number | string; | ||
kernelMatrix?: number | string; | ||
kernelUnitLength?: number | string; | ||
kerning?: number | string; | ||
keyPoints?: number | string; | ||
keySplines?: number | string; | ||
keyTimes?: number | string; | ||
lengthAdjust?: number | string; | ||
letterSpacing?: number | string; | ||
lightingColor?: number | string; | ||
limitingConeAngle?: number | string; | ||
local?: number | string; | ||
markerEnd?: string; | ||
markerHeight?: number | string; | ||
markerMid?: string; | ||
markerStart?: string; | ||
markerUnits?: number | string; | ||
markerWidth?: number | string; | ||
mask?: string; | ||
maskContentUnits?: number | string; | ||
maskUnits?: number | string; | ||
mathematical?: number | string; | ||
mode?: number | string; | ||
numOctaves?: number | string; | ||
offset?: number | string; | ||
opacity?: number | string; | ||
operator?: number | string; | ||
order?: number | string; | ||
orient?: number | string; | ||
orientation?: number | string; | ||
origin?: number | string; | ||
overflow?: number | string; | ||
overlinePosition?: number | string; | ||
overlineThickness?: number | string; | ||
paintOrder?: number | string; | ||
panose1?: number | string; | ||
pathLength?: number | string; | ||
patternContentUnits?: string; | ||
patternTransform?: number | string; | ||
patternUnits?: string; | ||
pointerEvents?: number | string; | ||
points?: string; | ||
pointsAtX?: number | string; | ||
pointsAtY?: number | string; | ||
pointsAtZ?: number | string; | ||
preserveAlpha?: number | string; | ||
preserveAspectRatio?: string; | ||
primitiveUnits?: number | string; | ||
r?: number | string; | ||
radius?: number | string; | ||
refX?: number | string; | ||
refY?: number | string; | ||
renderingIntent?: number | string; | ||
repeatCount?: number | string; | ||
repeatDur?: number | string; | ||
requiredExtensions?: number | string; | ||
requiredFeatures?: number | string; | ||
restart?: number | string; | ||
result?: string; | ||
rotate?: number | string; | ||
rx?: number | string; | ||
ry?: number | string; | ||
scale?: number | string; | ||
seed?: number | string; | ||
shapeRendering?: number | string; | ||
slope?: number | string; | ||
spacing?: number | string; | ||
specularConstant?: number | string; | ||
specularExponent?: number | string; | ||
speed?: number | string; | ||
spreadMethod?: string; | ||
startOffset?: number | string; | ||
stdDeviation?: number | string; | ||
stemh?: number | string; | ||
stemv?: number | string; | ||
stitchTiles?: number | string; | ||
stopColor?: string; | ||
stopOpacity?: number | string; | ||
strikethroughPosition?: number | string; | ||
strikethroughThickness?: number | string; | ||
string?: number | string; | ||
stroke?: string; | ||
strokeDasharray?: string | number; | ||
strokeDashoffset?: string | number; | ||
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit'; | ||
strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit'; | ||
strokeMiterlimit?: string | number; | ||
strokeOpacity?: number | string; | ||
strokeWidth?: number | string; | ||
surfaceScale?: number | string; | ||
systemLanguage?: number | string; | ||
tableValues?: number | string; | ||
targetX?: number | string; | ||
targetY?: number | string; | ||
textAnchor?: string; | ||
textDecoration?: number | string; | ||
textLength?: number | string; | ||
textRendering?: number | string; | ||
to?: number | string; | ||
transform?: string; | ||
u1?: number | string; | ||
u2?: number | string; | ||
underlinePosition?: number | string; | ||
underlineThickness?: number | string; | ||
unicode?: number | string; | ||
unicodeBidi?: number | string; | ||
unicodeRange?: number | string; | ||
unitsPerEm?: number | string; | ||
vAlphabetic?: number | string; | ||
values?: string; | ||
vectorEffect?: number | string; | ||
version?: string; | ||
vertAdvY?: number | string; | ||
vertOriginX?: number | string; | ||
vertOriginY?: number | string; | ||
vHanging?: number | string; | ||
vIdeographic?: number | string; | ||
viewBox?: string; | ||
viewTarget?: number | string; | ||
visibility?: number | string; | ||
vMathematical?: number | string; | ||
widths?: number | string; | ||
wordSpacing?: number | string; | ||
writingMode?: number | string; | ||
x1?: number | string; | ||
x2?: number | string; | ||
x?: number | string; | ||
xChannelSelector?: string; | ||
xHeight?: number | string; | ||
xlinkActuate?: string; | ||
xlinkArcrole?: string; | ||
xlinkHref?: string; | ||
xlinkRole?: string; | ||
xlinkShow?: string; | ||
xlinkTitle?: string; | ||
xlinkType?: string; | ||
xmlBase?: string; | ||
xmlLang?: string; | ||
xmlns?: string; | ||
xmlnsXlink?: string; | ||
xmlSpace?: string; | ||
y1?: number | string; | ||
y2?: number | string; | ||
y?: number | string; | ||
yChannelSelector?: string; | ||
z?: number | string; | ||
zoomAndPan?: string; | ||
| 'inherit' | ||
| SignalLike< | ||
| 'auto' | ||
| 'baseline' | ||
| 'before-edge' | ||
| 'text-before-edge' | ||
| 'middle' | ||
| 'central' | ||
| 'after-edge' | ||
| 'text-after-edge' | ||
| 'ideographic' | ||
| 'alphabetic' | ||
| 'hanging' | ||
| 'mathematical' | ||
| 'inherit' | ||
>; | ||
allowReorder?: 'no' | 'yes' | SignalLike<'no' | 'yes'>; | ||
alphabetic?: number | string | SignalLike<number | string>; | ||
amplitude?: number | string | SignalLike<number | string>; | ||
arabicForm?: | ||
| 'initial' | ||
| 'medial' | ||
| 'terminal' | ||
| 'isolated' | ||
| SignalLike<'initial' | 'medial' | 'terminal' | 'isolated'>; | ||
ascent?: number | string | SignalLike<number | string>; | ||
attributeName?: string | SignalLike<string>; | ||
attributeType?: string | SignalLike<string>; | ||
autoReverse?: number | string | SignalLike<number | string>; | ||
azimuth?: number | string | SignalLike<number | string>; | ||
baseFrequency?: number | string | SignalLike<number | string>; | ||
baselineShift?: number | string | SignalLike<number | string>; | ||
baseProfile?: number | string | SignalLike<number | string>; | ||
bbox?: number | string | SignalLike<number | string>; | ||
begin?: number | string | SignalLike<number | string>; | ||
bias?: number | string | SignalLike<number | string>; | ||
by?: number | string | SignalLike<number | string>; | ||
calcMode?: number | string | SignalLike<number | string>; | ||
capHeight?: number | string | SignalLike<number | string>; | ||
clip?: number | string | SignalLike<number | string>; | ||
clipPath?: string | SignalLike<string>; | ||
clipPathUnits?: number | string | SignalLike<number | string>; | ||
clipRule?: number | string | SignalLike<number | string>; | ||
colorInterpolation?: number | string | SignalLike<number | string>; | ||
colorInterpolationFilters?: | ||
| 'auto' | ||
| 'sRGB' | ||
| 'linearRGB' | ||
| 'inherit' | ||
| SignalLike<'auto' | 'sRGB' | 'linearRGB' | 'inherit'>; | ||
colorProfile?: number | string | SignalLike<number | string>; | ||
colorRendering?: number | string | SignalLike<number | string>; | ||
contentScriptType?: number | string | SignalLike<number | string>; | ||
contentStyleType?: number | string | SignalLike<number | string>; | ||
cursor?: number | string | SignalLike<number | string>; | ||
cx?: number | string | SignalLike<number | string>; | ||
cy?: number | string | SignalLike<number | string>; | ||
d?: string | SignalLike<string>; | ||
decelerate?: number | string | SignalLike<number | string>; | ||
descent?: number | string | SignalLike<number | string>; | ||
diffuseConstant?: number | string | SignalLike<number | string>; | ||
direction?: number | string | SignalLike<number | string>; | ||
display?: number | string | SignalLike<number | string>; | ||
divisor?: number | string | SignalLike<number | string>; | ||
dominantBaseline?: number | string | SignalLike<number | string>; | ||
dur?: number | string | SignalLike<number | string>; | ||
dx?: number | string | SignalLike<number | string>; | ||
dy?: number | string | SignalLike<number | string>; | ||
edgeMode?: number | string | SignalLike<number | string>; | ||
elevation?: number | string | SignalLike<number | string>; | ||
enableBackground?: number | string | SignalLike<number | string>; | ||
end?: number | string | SignalLike<number | string>; | ||
exponent?: number | string | SignalLike<number | string>; | ||
externalResourcesRequired?: number | string | SignalLike<number | string>; | ||
fill?: string | SignalLike<string>; | ||
fillOpacity?: number | string | SignalLike<number | string>; | ||
fillRule?: | ||
| 'nonzero' | ||
| 'evenodd' | ||
| 'inherit' | ||
| SignalLike<'nonzero' | 'evenodd' | 'inherit'>; | ||
filter?: string | SignalLike<string>; | ||
filterRes?: number | string | SignalLike<number | string>; | ||
filterUnits?: number | string | SignalLike<number | string>; | ||
floodColor?: number | string | SignalLike<number | string>; | ||
floodOpacity?: number | string | SignalLike<number | string>; | ||
focusable?: number | string | SignalLike<number | string>; | ||
fontFamily?: string | SignalLike<string>; | ||
fontSize?: number | string | SignalLike<number | string>; | ||
fontSizeAdjust?: number | string | SignalLike<number | string>; | ||
fontStretch?: number | string | SignalLike<number | string>; | ||
fontStyle?: number | string | SignalLike<number | string>; | ||
fontVariant?: number | string | SignalLike<number | string>; | ||
fontWeight?: number | string | SignalLike<number | string>; | ||
format?: number | string | SignalLike<number | string>; | ||
from?: number | string | SignalLike<number | string>; | ||
fx?: number | string | SignalLike<number | string>; | ||
fy?: number | string | SignalLike<number | string>; | ||
g1?: number | string | SignalLike<number | string>; | ||
g2?: number | string | SignalLike<number | string>; | ||
glyphName?: number | string | SignalLike<number | string>; | ||
glyphOrientationHorizontal?: number | string | SignalLike<number | string>; | ||
glyphOrientationVertical?: number | string | SignalLike<number | string>; | ||
glyphRef?: number | string | SignalLike<number | string>; | ||
gradientTransform?: string | SignalLike<string>; | ||
gradientUnits?: string | SignalLike<string>; | ||
hanging?: number | string | SignalLike<number | string>; | ||
horizAdvX?: number | string | SignalLike<number | string>; | ||
horizOriginX?: number | string | SignalLike<number | string>; | ||
ideographic?: number | string | SignalLike<number | string>; | ||
imageRendering?: number | string | SignalLike<number | string>; | ||
in2?: number | string | SignalLike<number | string>; | ||
in?: string | SignalLike<string>; | ||
intercept?: number | string | SignalLike<number | string>; | ||
k1?: number | string | SignalLike<number | string>; | ||
k2?: number | string | SignalLike<number | string>; | ||
k3?: number | string | SignalLike<number | string>; | ||
k4?: number | string | SignalLike<number | string>; | ||
k?: number | string | SignalLike<number | string>; | ||
kernelMatrix?: number | string | SignalLike<number | string>; | ||
kernelUnitLength?: number | string | SignalLike<number | string>; | ||
kerning?: number | string | SignalLike<number | string>; | ||
keyPoints?: number | string | SignalLike<number | string>; | ||
keySplines?: number | string | SignalLike<number | string>; | ||
keyTimes?: number | string | SignalLike<number | string>; | ||
lengthAdjust?: number | string | SignalLike<number | string>; | ||
letterSpacing?: number | string | SignalLike<number | string>; | ||
lightingColor?: number | string | SignalLike<number | string>; | ||
limitingConeAngle?: number | string | SignalLike<number | string>; | ||
local?: number | string | SignalLike<number | string>; | ||
markerEnd?: string | SignalLike<string>; | ||
markerHeight?: number | string | SignalLike<number | string>; | ||
markerMid?: string | SignalLike<string>; | ||
markerStart?: string | SignalLike<string>; | ||
markerUnits?: number | string | SignalLike<number | string>; | ||
markerWidth?: number | string | SignalLike<number | string>; | ||
mask?: string | SignalLike<string>; | ||
maskContentUnits?: number | string | SignalLike<number | string>; | ||
maskUnits?: number | string | SignalLike<number | string>; | ||
mathematical?: number | string | SignalLike<number | string>; | ||
mode?: number | string | SignalLike<number | string>; | ||
numOctaves?: number | string | SignalLike<number | string>; | ||
offset?: number | string | SignalLike<number | string>; | ||
opacity?: number | string | SignalLike<number | string>; | ||
operator?: number | string | SignalLike<number | string>; | ||
order?: number | string | SignalLike<number | string>; | ||
orient?: number | string | SignalLike<number | string>; | ||
orientation?: number | string | SignalLike<number | string>; | ||
origin?: number | string | SignalLike<number | string>; | ||
overflow?: number | string | SignalLike<number | string>; | ||
overlinePosition?: number | string | SignalLike<number | string>; | ||
overlineThickness?: number | string | SignalLike<number | string>; | ||
paintOrder?: number | string | SignalLike<number | string>; | ||
panose1?: number | string | SignalLike<number | string>; | ||
pathLength?: number | string | SignalLike<number | string>; | ||
patternContentUnits?: string | SignalLike<string>; | ||
patternTransform?: number | string | SignalLike<number | string>; | ||
patternUnits?: string | SignalLike<string>; | ||
pointerEvents?: number | string | SignalLike<number | string>; | ||
points?: string | SignalLike<string>; | ||
pointsAtX?: number | string | SignalLike<number | string>; | ||
pointsAtY?: number | string | SignalLike<number | string>; | ||
pointsAtZ?: number | string | SignalLike<number | string>; | ||
preserveAlpha?: number | string | SignalLike<number | string>; | ||
preserveAspectRatio?: string | SignalLike<string>; | ||
primitiveUnits?: number | string | SignalLike<number | string>; | ||
r?: number | string | SignalLike<number | string>; | ||
radius?: number | string | SignalLike<number | string>; | ||
refX?: number | string | SignalLike<number | string>; | ||
refY?: number | string | SignalLike<number | string>; | ||
renderingIntent?: number | string | SignalLike<number | string>; | ||
repeatCount?: number | string | SignalLike<number | string>; | ||
repeatDur?: number | string | SignalLike<number | string>; | ||
requiredExtensions?: number | string | SignalLike<number | string>; | ||
requiredFeatures?: number | string | SignalLike<number | string>; | ||
restart?: number | string | SignalLike<number | string>; | ||
result?: string | SignalLike<string>; | ||
rotate?: number | string | SignalLike<number | string>; | ||
rx?: number | string | SignalLike<number | string>; | ||
ry?: number | string | SignalLike<number | string>; | ||
scale?: number | string | SignalLike<number | string>; | ||
seed?: number | string | SignalLike<number | string>; | ||
shapeRendering?: number | string | SignalLike<number | string>; | ||
slope?: number | string | SignalLike<number | string>; | ||
spacing?: number | string | SignalLike<number | string>; | ||
specularConstant?: number | string | SignalLike<number | string>; | ||
specularExponent?: number | string | SignalLike<number | string>; | ||
speed?: number | string | SignalLike<number | string>; | ||
spreadMethod?: string | SignalLike<string>; | ||
startOffset?: number | string | SignalLike<number | string>; | ||
stdDeviation?: number | string | SignalLike<number | string>; | ||
stemh?: number | string | SignalLike<number | string>; | ||
stemv?: number | string | SignalLike<number | string>; | ||
stitchTiles?: number | string | SignalLike<number | string>; | ||
stopColor?: string | SignalLike<string>; | ||
stopOpacity?: number | string | SignalLike<number | string>; | ||
strikethroughPosition?: number | string | SignalLike<number | string>; | ||
strikethroughThickness?: number | string | SignalLike<number | string>; | ||
string?: number | string | SignalLike<number | string>; | ||
stroke?: string | SignalLike<string>; | ||
strokeDasharray?: string | number | SignalLike<number | string>; | ||
strokeDashoffset?: string | number | SignalLike<number | string>; | ||
strokeLinecap?: | ||
| 'butt' | ||
| 'round' | ||
| 'square' | ||
| 'inherit' | ||
| SignalLike<'butt' | 'round' | 'square' | 'inherit'>; | ||
strokeLinejoin?: | ||
| 'miter' | ||
| 'round' | ||
| 'bevel' | ||
| 'inherit' | ||
| SignalLike<'miter' | 'round' | 'bevel' | 'inherit'>; | ||
strokeMiterlimit?: string | number | SignalLike<number | string>; | ||
strokeOpacity?: number | string | SignalLike<number | string>; | ||
strokeWidth?: number | string | SignalLike<number | string>; | ||
surfaceScale?: number | string | SignalLike<number | string>; | ||
systemLanguage?: number | string | SignalLike<number | string>; | ||
tableValues?: number | string | SignalLike<number | string>; | ||
targetX?: number | string | SignalLike<number | string>; | ||
targetY?: number | string | SignalLike<number | string>; | ||
textAnchor?: string | SignalLike<string>; | ||
textDecoration?: number | string | SignalLike<number | string>; | ||
textLength?: number | string | SignalLike<number | string>; | ||
textRendering?: number | string | SignalLike<number | string>; | ||
to?: number | string | SignalLike<number | string>; | ||
transform?: string | SignalLike<string>; | ||
u1?: number | string | SignalLike<number | string>; | ||
u2?: number | string | SignalLike<number | string>; | ||
underlinePosition?: number | string | SignalLike<number | string>; | ||
underlineThickness?: number | string | SignalLike<number | string>; | ||
unicode?: number | string | SignalLike<number | string>; | ||
unicodeBidi?: number | string | SignalLike<number | string>; | ||
unicodeRange?: number | string | SignalLike<number | string>; | ||
unitsPerEm?: number | string | SignalLike<number | string>; | ||
vAlphabetic?: number | string | SignalLike<number | string>; | ||
values?: string | SignalLike<string>; | ||
vectorEffect?: number | string | SignalLike<number | string>; | ||
version?: string | SignalLike<string>; | ||
vertAdvY?: number | string | SignalLike<number | string>; | ||
vertOriginX?: number | string | SignalLike<number | string>; | ||
vertOriginY?: number | string | SignalLike<number | string>; | ||
vHanging?: number | string | SignalLike<number | string>; | ||
vIdeographic?: number | string | SignalLike<number | string>; | ||
viewBox?: string | SignalLike<string>; | ||
viewTarget?: number | string | SignalLike<number | string>; | ||
visibility?: number | string | SignalLike<number | string>; | ||
vMathematical?: number | string | SignalLike<number | string>; | ||
widths?: number | string | SignalLike<number | string>; | ||
wordSpacing?: number | string | SignalLike<number | string>; | ||
writingMode?: number | string | SignalLike<number | string>; | ||
x1?: number | string | SignalLike<number | string>; | ||
x2?: number | string | SignalLike<number | string>; | ||
x?: number | string | SignalLike<number | string>; | ||
xChannelSelector?: string | SignalLike<string>; | ||
xHeight?: number | string | SignalLike<number | string>; | ||
xlinkActuate?: string | SignalLike<string>; | ||
xlinkArcrole?: string | SignalLike<string>; | ||
xlinkHref?: string | SignalLike<string>; | ||
xlinkRole?: string | SignalLike<string>; | ||
xlinkShow?: string | SignalLike<string>; | ||
xlinkTitle?: string | SignalLike<string>; | ||
xlinkType?: string | SignalLike<string>; | ||
xmlBase?: string | SignalLike<string>; | ||
xmlLang?: string | SignalLike<string>; | ||
xmlns?: string | SignalLike<string>; | ||
xmlnsXlink?: string | SignalLike<string>; | ||
xmlSpace?: string | SignalLike<string>; | ||
y1?: number | string | SignalLike<number | string>; | ||
y2?: number | string | SignalLike<number | string>; | ||
y?: number | string | SignalLike<number | string>; | ||
yChannelSelector?: string | SignalLike<string>; | ||
z?: number | string | SignalLike<number | string>; | ||
zoomAndPan?: string | SignalLike<string>; | ||
} | ||
@@ -336,11 +381,8 @@ | ||
export type TargetedAnimationEvent< | ||
Target extends EventTarget | ||
> = TargetedEvent<Target, AnimationEvent>; | ||
export type TargetedClipboardEvent< | ||
Target extends EventTarget | ||
> = TargetedEvent<Target, ClipboardEvent>; | ||
export type TargetedCompositionEvent< | ||
Target extends EventTarget | ||
> = TargetedEvent<Target, CompositionEvent>; | ||
export type TargetedAnimationEvent<Target extends EventTarget> = | ||
TargetedEvent<Target, AnimationEvent>; | ||
export type TargetedClipboardEvent<Target extends EventTarget> = | ||
TargetedEvent<Target, ClipboardEvent>; | ||
export type TargetedCompositionEvent<Target extends EventTarget> = | ||
TargetedEvent<Target, CompositionEvent>; | ||
export type TargetedDragEvent<Target extends EventTarget> = TargetedEvent< | ||
@@ -370,5 +412,4 @@ Target, | ||
>; | ||
export type TargetedTransitionEvent< | ||
Target extends EventTarget | ||
> = TargetedEvent<Target, TransitionEvent>; | ||
export type TargetedTransitionEvent<Target extends EventTarget> = | ||
TargetedEvent<Target, TransitionEvent>; | ||
export type TargetedUIEvent<Target extends EventTarget> = TargetedEvent< | ||
@@ -397,5 +438,4 @@ Target, | ||
>; | ||
export type CompositionEventHandler< | ||
Target extends EventTarget | ||
> = EventHandler<TargetedCompositionEvent<Target>>; | ||
export type CompositionEventHandler<Target extends EventTarget> = | ||
EventHandler<TargetedCompositionEvent<Target>>; | ||
export type DragEventHandler<Target extends EventTarget> = EventHandler< | ||
@@ -640,50 +680,54 @@ TargetedDragEvent<Target> | ||
// Standard HTML Attributes | ||
accept?: string; | ||
acceptCharset?: string; | ||
accessKey?: string; | ||
action?: string; | ||
allow?: string; | ||
allowFullScreen?: boolean; | ||
allowTransparency?: boolean; | ||
alt?: string; | ||
as?: string; | ||
async?: boolean; | ||
autocomplete?: string; | ||
autoComplete?: string; | ||
autocorrect?: string; | ||
autoCorrect?: string; | ||
autofocus?: boolean; | ||
autoFocus?: boolean; | ||
autoPlay?: boolean; | ||
capture?: boolean | string; | ||
cellPadding?: number | string; | ||
cellSpacing?: number | string; | ||
charSet?: string; | ||
challenge?: string; | ||
checked?: boolean; | ||
cite?: string; | ||
class?: string | undefined; | ||
className?: string | undefined; | ||
cols?: number; | ||
colSpan?: number; | ||
content?: string; | ||
contentEditable?: boolean; | ||
contextMenu?: string; | ||
controls?: boolean; | ||
controlsList?: string; | ||
coords?: string; | ||
crossOrigin?: string; | ||
data?: string; | ||
dateTime?: string; | ||
default?: boolean; | ||
defaultChecked?: boolean; | ||
defaultValue?: string; | ||
defer?: boolean; | ||
dir?: 'auto' | 'rtl' | 'ltr'; | ||
disabled?: boolean; | ||
disableRemotePlayback?: boolean; | ||
accept?: string | SignalLike<string>; | ||
acceptCharset?: string | SignalLike<string>; | ||
accessKey?: string | SignalLike<string>; | ||
action?: string | SignalLike<string>; | ||
allow?: string | SignalLike<string>; | ||
allowFullScreen?: boolean | SignalLike<boolean>; | ||
allowTransparency?: boolean | SignalLike<boolean>; | ||
alt?: string | SignalLike<string>; | ||
as?: string | SignalLike<string>; | ||
async?: boolean | SignalLike<boolean>; | ||
autocomplete?: string | SignalLike<string>; | ||
autoComplete?: string | SignalLike<string>; | ||
autocorrect?: string | SignalLike<string>; | ||
autoCorrect?: string | SignalLike<string>; | ||
autofocus?: boolean | SignalLike<boolean>; | ||
autoFocus?: boolean | SignalLike<boolean>; | ||
autoPlay?: boolean | SignalLike<boolean>; | ||
capture?: boolean | string | SignalLike<string>; | ||
cellPadding?: number | string | SignalLike<string>; | ||
cellSpacing?: number | string | SignalLike<string>; | ||
charSet?: string | SignalLike<string>; | ||
challenge?: string | SignalLike<string>; | ||
checked?: boolean | SignalLike<boolean>; | ||
cite?: string | SignalLike<string>; | ||
class?: string | undefined | SignalLike<string | undefined>; | ||
className?: string | undefined | SignalLike<string | undefined>; | ||
cols?: number | SignalLike<number>; | ||
colSpan?: number | SignalLike<number>; | ||
content?: string | SignalLike<string>; | ||
contentEditable?: boolean | SignalLike<boolean>; | ||
contextMenu?: string | SignalLike<string>; | ||
controls?: boolean | SignalLike<boolean>; | ||
controlsList?: string | SignalLike<string>; | ||
coords?: string | SignalLike<string>; | ||
crossOrigin?: string | SignalLike<string>; | ||
data?: string | SignalLike<string>; | ||
dateTime?: string | SignalLike<string>; | ||
default?: boolean | SignalLike<boolean>; | ||
defaultChecked?: boolean | SignalLike<boolean>; | ||
defaultValue?: string | SignalLike<string>; | ||
defer?: boolean | SignalLike<boolean>; | ||
dir?: 'auto' | 'rtl' | 'ltr' | SignalLike<'auto' | 'rtl' | 'ltr'>; | ||
disabled?: boolean | SignalLike<boolean>; | ||
disableRemotePlayback?: boolean | SignalLike<boolean>; | ||
download?: any; | ||
decoding?: 'sync' | 'async' | 'auto'; | ||
draggable?: boolean; | ||
encType?: string; | ||
decoding?: | ||
| 'sync' | ||
| 'async' | ||
| 'auto' | ||
| SignalLike<'sync' | 'async' | 'auto'>; | ||
draggable?: boolean | SignalLike<boolean>; | ||
encType?: string | SignalLike<string>; | ||
enterkeyhint?: | ||
@@ -696,61 +740,64 @@ | 'enter' | ||
| 'search' | ||
| 'send'; | ||
form?: string; | ||
formAction?: string; | ||
formEncType?: string; | ||
formMethod?: string; | ||
formNoValidate?: boolean; | ||
formTarget?: string; | ||
frameBorder?: number | string; | ||
headers?: string; | ||
height?: number | string; | ||
hidden?: boolean; | ||
high?: number; | ||
href?: string; | ||
hrefLang?: string; | ||
for?: string; | ||
htmlFor?: string; | ||
httpEquiv?: string; | ||
icon?: string; | ||
id?: string; | ||
inputMode?: string; | ||
integrity?: string; | ||
is?: string; | ||
keyParams?: string; | ||
keyType?: string; | ||
kind?: string; | ||
label?: string; | ||
lang?: string; | ||
list?: string; | ||
loading?: 'eager' | 'lazy'; | ||
loop?: boolean; | ||
low?: number; | ||
manifest?: string; | ||
marginHeight?: number; | ||
marginWidth?: number; | ||
max?: number | string; | ||
maxLength?: number; | ||
media?: string; | ||
mediaGroup?: string; | ||
method?: string; | ||
min?: number | string; | ||
minLength?: number; | ||
multiple?: boolean; | ||
muted?: boolean; | ||
name?: string; | ||
nomodule?: boolean; | ||
nonce?: string; | ||
noValidate?: boolean; | ||
open?: boolean; | ||
optimum?: number; | ||
part?: string; | ||
pattern?: string; | ||
ping?: string; | ||
placeholder?: string; | ||
playsInline?: boolean; | ||
poster?: string; | ||
preload?: string; | ||
radioGroup?: string; | ||
readonly?: boolean; | ||
readOnly?: boolean; | ||
| 'send' | ||
| SignalLike< | ||
'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | ||
>; | ||
form?: string | SignalLike<string>; | ||
formAction?: string | SignalLike<string>; | ||
formEncType?: string | SignalLike<string>; | ||
formMethod?: string | SignalLike<string>; | ||
formNoValidate?: boolean | SignalLike<boolean>; | ||
formTarget?: string | SignalLike<string>; | ||
frameBorder?: number | string | SignalLike<number | string>; | ||
headers?: string | SignalLike<string>; | ||
height?: number | string | SignalLike<number | string>; | ||
hidden?: boolean | SignalLike<boolean>; | ||
high?: number | SignalLike<number>; | ||
href?: string | SignalLike<string>; | ||
hrefLang?: string | SignalLike<string>; | ||
for?: string | SignalLike<string>; | ||
htmlFor?: string | SignalLike<string>; | ||
httpEquiv?: string | SignalLike<string>; | ||
icon?: string | SignalLike<string>; | ||
id?: string | SignalLike<string>; | ||
inputMode?: string | SignalLike<string>; | ||
integrity?: string | SignalLike<string>; | ||
is?: string | SignalLike<string>; | ||
keyParams?: string | SignalLike<string>; | ||
keyType?: string | SignalLike<string>; | ||
kind?: string | SignalLike<string>; | ||
label?: string | SignalLike<string>; | ||
lang?: string | SignalLike<string>; | ||
list?: string | SignalLike<string>; | ||
loading?: 'eager' | 'lazy' | SignalLike<'eager' | 'lazy'>; | ||
loop?: boolean | SignalLike<boolean>; | ||
low?: number | SignalLike<number>; | ||
manifest?: string | SignalLike<string>; | ||
marginHeight?: number | SignalLike<number>; | ||
marginWidth?: number | SignalLike<number>; | ||
max?: number | string | SignalLike<string>; | ||
maxLength?: number | SignalLike<number>; | ||
media?: string | SignalLike<string>; | ||
mediaGroup?: string | SignalLike<string>; | ||
method?: string | SignalLike<string>; | ||
min?: number | string | SignalLike<string>; | ||
minLength?: number | SignalLike<number>; | ||
multiple?: boolean | SignalLike<boolean>; | ||
muted?: boolean | SignalLike<boolean>; | ||
name?: string | SignalLike<string>; | ||
nomodule?: boolean | SignalLike<boolean>; | ||
nonce?: string | SignalLike<string>; | ||
noValidate?: boolean | SignalLike<boolean>; | ||
open?: boolean | SignalLike<boolean>; | ||
optimum?: number | SignalLike<number>; | ||
part?: string | SignalLike<string>; | ||
pattern?: string | SignalLike<string>; | ||
ping?: string | SignalLike<string>; | ||
placeholder?: string | SignalLike<string>; | ||
playsInline?: boolean | SignalLike<boolean>; | ||
poster?: string | SignalLike<string>; | ||
preload?: string | SignalLike<string>; | ||
radioGroup?: string | SignalLike<string>; | ||
readonly?: boolean | SignalLike<boolean>; | ||
readOnly?: boolean | SignalLike<boolean>; | ||
referrerpolicy?: | ||
@@ -764,41 +811,51 @@ | 'no-referrer' | ||
| 'strict-origin-when-cross-origin' | ||
| 'unsafe-url'; | ||
rel?: string; | ||
required?: boolean; | ||
reversed?: boolean; | ||
role?: string; | ||
rows?: number; | ||
rowSpan?: number; | ||
sandbox?: string; | ||
scope?: string; | ||
scoped?: boolean; | ||
scrolling?: string; | ||
seamless?: boolean; | ||
selected?: boolean; | ||
shape?: string; | ||
size?: number; | ||
sizes?: string; | ||
slot?: string; | ||
span?: number; | ||
spellcheck?: boolean; | ||
spellCheck?: boolean; | ||
src?: string; | ||
srcset?: string; | ||
srcDoc?: string; | ||
srcLang?: string; | ||
srcSet?: string; | ||
start?: number; | ||
step?: number | string; | ||
style?: string | CSSProperties; | ||
summary?: string; | ||
tabIndex?: number; | ||
target?: string; | ||
title?: string; | ||
type?: string; | ||
useMap?: string; | ||
value?: string | string[] | number; | ||
volume?: string | number; | ||
width?: number | string; | ||
wmode?: string; | ||
wrap?: string; | ||
| 'unsafe-url' | ||
| SignalLike< | ||
| 'no-referrer' | ||
| 'no-referrer-when-downgrade' | ||
| 'origin' | ||
| 'origin-when-cross-origin' | ||
| 'same-origin' | ||
| 'strict-origin' | ||
| 'strict-origin-when-cross-origin' | ||
| 'unsafe-url' | ||
>; | ||
rel?: string | SignalLike<string>; | ||
required?: boolean | SignalLike<boolean>; | ||
reversed?: boolean | SignalLike<boolean>; | ||
role?: string | SignalLike<string>; | ||
rows?: number | SignalLike<number>; | ||
rowSpan?: number | SignalLike<number>; | ||
sandbox?: string | SignalLike<string>; | ||
scope?: string | SignalLike<string>; | ||
scoped?: boolean | SignalLike<boolean>; | ||
scrolling?: string | SignalLike<string>; | ||
seamless?: boolean | SignalLike<boolean>; | ||
selected?: boolean | SignalLike<boolean>; | ||
shape?: string | SignalLike<string>; | ||
size?: number | SignalLike<number>; | ||
sizes?: string | SignalLike<string>; | ||
slot?: string | SignalLike<string>; | ||
span?: number | SignalLike<number>; | ||
spellcheck?: boolean | SignalLike<boolean>; | ||
spellCheck?: boolean | SignalLike<boolean>; | ||
src?: string | SignalLike<string>; | ||
srcset?: string | SignalLike<string>; | ||
srcDoc?: string | SignalLike<string>; | ||
srcLang?: string | SignalLike<string>; | ||
srcSet?: string | SignalLike<string>; | ||
start?: number | SignalLike<number>; | ||
step?: number | string | SignalLike<number | string>; | ||
style?: string | CSSProperties | SignalLike<string | CSSProperties>; | ||
summary?: string | SignalLike<string>; | ||
tabIndex?: number | SignalLike<number>; | ||
target?: string | SignalLike<string>; | ||
title?: string | SignalLike<string>; | ||
type?: string | SignalLike<string>; | ||
useMap?: string | SignalLike<string>; | ||
value?: string | string[] | number | SignalLike<string | string[] | number>; | ||
volume?: string | number | SignalLike<string | number>; | ||
width?: number | string | SignalLike<number | string>; | ||
wmode?: string | SignalLike<string>; | ||
wrap?: string | SignalLike<string>; | ||
@@ -812,3 +869,6 @@ // Non-standard Attributes | ||
| 'words' | ||
| 'characters'; | ||
| 'characters' | ||
| SignalLike< | ||
'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | ||
>; | ||
autoCapitalize?: | ||
@@ -820,23 +880,26 @@ | 'off' | ||
| 'words' | ||
| 'characters'; | ||
disablePictureInPicture?: boolean; | ||
results?: number; | ||
translate?: 'yes' | 'no'; | ||
| 'characters' | ||
| SignalLike< | ||
'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | ||
>; | ||
disablePictureInPicture?: boolean | SignalLike<boolean>; | ||
results?: number | SignalLike<number>; | ||
translate?: 'yes' | 'no' | SignalLike<'yes' | 'no'>; | ||
// RDFa Attributes | ||
about?: string; | ||
datatype?: string; | ||
about?: string | SignalLike<string>; | ||
datatype?: string | SignalLike<string>; | ||
inlist?: any; | ||
prefix?: string; | ||
property?: string; | ||
resource?: string; | ||
typeof?: string; | ||
vocab?: string; | ||
prefix?: string | SignalLike<string>; | ||
property?: string | SignalLike<string>; | ||
resource?: string | SignalLike<string>; | ||
typeof?: string | SignalLike<string>; | ||
vocab?: string | SignalLike<string>; | ||
// Microdata Attributes | ||
itemProp?: string; | ||
itemScope?: boolean; | ||
itemType?: string; | ||
itemID?: string; | ||
itemRef?: string; | ||
itemProp?: string | SignalLike<string>; | ||
itemScope?: boolean | SignalLike<boolean>; | ||
itemType?: string | SignalLike<string>; | ||
itemID?: string | SignalLike<string>; | ||
itemRef?: string | SignalLike<string>; | ||
} | ||
@@ -850,13 +913,22 @@ | ||
export interface HTMLMarqueeElement extends HTMLElement { | ||
behavior?: 'scroll' | 'slide' | 'alternate'; | ||
bgColor?: string; | ||
direction?: 'left' | 'right' | 'up' | 'down'; | ||
height?: number | string; | ||
hspace?: number | string; | ||
loop?: number | string; | ||
scrollAmount?: number | string; | ||
scrollDelay?: number | string; | ||
trueSpeed?: boolean; | ||
vspace?: number | string; | ||
width?: number | string; | ||
behavior?: | ||
| 'scroll' | ||
| 'slide' | ||
| 'alternate' | ||
| SignalLike<'scroll' | 'slide' | 'alternate'>; | ||
bgColor?: string | SignalLike<string>; | ||
direction?: | ||
| 'left' | ||
| 'right' | ||
| 'up' | ||
| 'down' | ||
| SignalLike<'left' | 'right' | 'up' | 'down'>; | ||
height?: number | string | SignalLike<number | string>; | ||
hspace?: number | string | SignalLike<number | string>; | ||
loop?: number | string | SignalLike<number | string>; | ||
scrollAmount?: number | string | SignalLike<number | string>; | ||
scrollDelay?: number | string | SignalLike<number | string>; | ||
trueSpeed?: boolean | SignalLike<boolean>; | ||
vspace?: number | string | SignalLike<number | string>; | ||
width?: number | string | SignalLike<number | string>; | ||
} | ||
@@ -863,0 +935,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1150024
130
6461