var n,l,t,u,i,e,o,r,f,c,s,a,h,p,v={},y=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w=Array.isArray;function m(n,l){for(var t in l)n[t]=l[t];return n}function _(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function g(l,t,u){var i,e,o,r={};for(o in t)"key"==o?i=t[o]:"ref"==o?e=t[o]:r[o]=t[o];if(arguments.length>2&&(r.children=arguments.length>3?n.call(arguments,2):u),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===r[o]&&(r[o]=l.defaultProps[o]);return b(l,r,i,e,null)}function b(n,u,i,e,o){var r={type:n,props:u,key:i,ref:e,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++t:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(r),r}function k(n){return n.children}function x(n,l){this.props=n,this.context=l}function C(n,l){if(null==l)return n.__?C(n.__,n.__i+1):null;for(var t;ls&&i.sort(r),n=i.shift(),s=i.length,n.__d&&(u=void 0,e=void 0,o=(e=(t=n).__v).__e,f=[],c=[],t.__P&&((u=m({},e)).__v=e.__v+1,l.vnode&&l.vnode(u),T(t.__P,u,e,t.__n,t.__P.namespaceURI,32&e.__u?[o]:null,f,null==o?C(e):o,!!(32&e.__u),c),u.__v=e.__v,u.__.__k[u.__i]=u,O(f,u,c),e.__e=e.__=null,u.__e!=o&&S(u)));$.__r=0}function A(n,l,t,u,i,e,o,r,f,c,s){var a,h,p,d,w,m,_,g=u&&u.__k||y,b=l.length;for(f=I(t,l,g,f,b),a=0;a0?o=n.__k[e]=b(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):n.__k[e]=o,f=e+h,o.__=n,o.__b=n.__b+1,r=null,-1!=(c=o.__i=E(o,t,f,a))&&(a--,(r=t[c])&&(r.__u|=2)),null==r||null==r.__v?(-1==c&&(i>s?h--:if?h--:h++,o.__u|=4))):n.__k[e]=null;if(a)for(e=0;e(s?1:0))for(i=t-1,e=t+1;i>=0||e=0?i--:e++])&&0==(2&c.__u)&&r==c.key&&f==c.type)return o;return-1}function F(n,l,t){"-"==l[0]?n.setProperty(l,null==t?"":t):n[l]=null==t?"":"number"!=typeof t||d.test(l)?t:t+"px"}function H(n,l,t,u,i){var e,o;n:if("style"==l)if("string"==typeof t)n.style.cssText=t;else{if("string"==typeof u&&(n.style.cssText=u=""),u)for(l in u)t&&l in t||F(n.style,l,"");if(t)for(l in t)u&&t[l]==u[l]||F(n.style,l,t[l])}else if("o"==l[0]&&"n"==l[1])e=l!=(l=l.replace(f,"$1")),o=l.toLowerCase(),l=o in n||"onFocusOut"==l||"onFocusIn"==l?o.slice(2):l.slice(2),n.l||(n.l={}),n.l[l+e]=t,t?u?t.t=u.t:(t.t=c,n.addEventListener(l,e?a:s,e)):n.removeEventListener(l,e?a:s,e);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==t?"":t;break n}catch(n){}"function"==typeof t||(null==t||!1===t&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==t?"":t))}}function L(n){return function(t){if(this.l){var u=this.l[t.type+n];if(null==t.u)t.u=c++;else if(t.u0?n:w(n)?n.map(V):m({},n)}function z(t,u,i,e,o,r,f,c,s){var a,h,p,y,d,m,g,b=i.props||v,k=u.props,x=u.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=r)for(a=0;a2&&(f.children=arguments.length>3?n.call(arguments,2):u),b(l.type,f,i||l.key,e||l.ref,null)},createContext:function(n){function l(n){var t,u;return this.getChildContext||(t=new Set,(u={})[l.__c]=this,this.getChildContext=function(){return u},this.componentWillUnmount=function(){t=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&t.forEach(function(n){n.__e=!0,M(n)})},this.sub=function(n){t.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){t&&t.delete(n),l&&l.call(n)}}),n.children}return l.__c="__cC"+h++,l.__=n,l.Provider=l.__l=(l.Consumer=function(n,l){return n.children(l)}).contextType=l,l},toChildArray:function n(l,t){return t=t||[],null==l||"boolean"==typeof l||(w(l)?l.some(function(l){n(l,t)}):t.push(l)),t},options:l},typeof module<"u"?module.exports=p:self.preact=p; //# sourceMappingURL=preact.min.module.js.map