Files
tekelanew_acs/acs/nladmin-ui/node_modules/preact/dist/preact.umd.js

3 lines
11 KiB
JavaScript
Raw Normal View History

2024-12-03 17:40:13 +08:00
!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,t,u,i,e,o,f,r,c,s,h,a,p=65536,y=1<<17,v=void 0,d={},w=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function b(n,l){for(var t in l)n[t]=l[t];return n}function m(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function k(n,t,u){var i,e,o,f={};for(o in t)"key"==o?i=t[o]:"ref"==o?e=t[o]:f[o]=t[o];if(arguments.length>2&&(f.children=arguments.length>3?l.call(arguments,2):u),"function"==typeof n&&null!=n.defaultProps)for(o in n.defaultProps)f[o]===v&&(f[o]=n.defaultProps[o]);return x(n,f,i,e,null)}function x(n,l,i,e,o){var f={type:n,props:l,key:i,ref:e,__k:null,__:null,__b:0,__e:null,__d:v,__c:null,constructor:v,__v:null==o?++u:o,__i:-1,__u:0};return null==o&&null!=t.vnode&&t.vnode(f),f}function S(n){return n.children}function C(n,l){this.props=n,this.context=l}function M(n,l){if(null==l)return n.__?M(n.__,n.__i+1):null;for(var t;l<n.__k.length;l++)if(null!=(t=n.__k[l])&&null!=t.__e)return t.__e;return"function"==typeof n.type?M(n):null}function P(n){var l,t;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(t=n.__k[l])&&null!=t.__e){n.__e=n.__c.base=t.__e;break}return P(n)}}function T(n){(!n.__d&&(n.__d=!0)&&e.push(n)&&!$.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||f)($)}function $(){var n,l,u,i,o,f,c,s;for(e.sort(r);n=e.shift();)n.__d&&(l=e.length,i=void 0,f=(o=(u=n).__v).__e,c=[],s=[],u.__P&&((i=b({},o)).__v=o.__v+1,t.vnode&&t.vnode(i),z(u.__P,i,o,u.__n,u.__P.namespaceURI,32&o.__u?[f]:null,c,null==f?M(o):f,!!(32&o.__u),s),i.__v=o.__v,i.__.__k[i.__i]=i,E(c,i,s),i.__e!=f&&P(i)),e.length>l&&e.sort(r));$.__r=0}function I(n,l,t,u,i,e,o,f,r,c,s){var h,a,y,_,g,b=u&&u.__k||w,m=l.length;for(t.__d=r,H(t,l,b),r=t.__d,h=0;h<m;h++)null!=(y=t.__k[h])&&(a=-1===y.__i?d:b[y.__i]||d,y.__i=h,z(n,y,a,i,e,o,f,r,c,s),_=y.__e,y.ref&&a.ref!=y.ref&&(a.ref&&V(a.ref,null,y),s.push(y.ref,y.__c||_,y)),null==g&&null!=_&&(g=_),y.__u&p||a.__k===y.__k?r=L(y,r,n):"function"==typeof y.type&&y.__d!==v?r=y.__d:_&&(r=_.nextSibling),y.__d=v,y.__u&=-196609);t.__d=r,t.__e=g}function H(n,l,t){var u,i,e,o,f,r=l.length,c=t.length,s=c,h=0;for(n.__k=[],u=0;u<r;u++)null!=(i=l[u])&&"boolean"!=typeof i&&"function"!=typeof i?(o=u+h,(i=n.__k[u]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?x(null,i,null,null,null):g(i)?x(S,{children:i},null,null,null):i.constructor===v&&i.__b>0?x(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=n,i.__b=n.__b+1,e=null,-1!==(f=i.__i=j(i,t,o,s))&&(s--,(e=t[f])&&(e.__u|=y)),null==e||null===e.__v?(-1==f&&h--,"function"!=typeof i.type&&(i.__u|=p)):f!==o&&(f==o-1?h--:f==o+1?h++:(f>o?h--:h++,i.__u|=p))):i=n.__k[u]=null;if(s)for(u=0;u<c;u++)null!=(e=t[u])&&0==(e.__u&y)&&(e.__e==n.__d&&(n.__d=M(e)),q(e,e))}function L(n,l,t){var u,i;if("function"==typeof n.type){for(u=n.__k,i=0;u&&i<u.length;i++)u[i]&&(u[i].__=n,l=L(u[i],l,t));return l}n.__e!=l&&(l&&n.type&&!t.contains(l)&&(l=M(n)),t.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function j(n,l,t,u){var i=n.key,e=n.type,o=t-1,f=t+1,r=l[t];if(null===r||r&&i==r.key&&e===r.type&&0==(r.__u&y))return t;if(("function"!=typeof e||e===S||i)&&u>(null!=r&&0==(r.__u&y)?1:0))for(;o>=0||f<l.length;){if(o>=0){if((r=l[o])&&0==(r.__u&y)&&i==r.key&&e===r.type)return o;o--}if(f<l.length){if((r=l[f])&&0==(r.__u&y)&&i==r.key&&e===r.type)return f;f++}}return-1}function A(n,l,t){"-"===l[0]?n.setProperty(l,null==t?"":t):n[l]=null==t?"":"number"!=typeof t||_.test(l)?t:t+"px"}function F(n,l,t,u,i){var e;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||A(n.style,l,"");if(t)for(l in t)u&&t[l]===u[l]||A(n.style,l,t[l])}else if("o"===l[0]&&"n"===l[1])e=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().sli
//# sourceMappingURL=preact.umd.js.map