diff --git a/preact.js b/preact.js index 4f6817f9b2..67370b17cf 100644 --- a/preact.js +++ b/preact.js @@ -1,2 +1,2 @@ -!function(e,t){if("function"==typeof define&&define.amd)define(["exports"],t);else if("undefined"!=typeof exports)t(exports);else{var n={exports:{}};t(n.exports),e.preact=n.exports}}(this,function(e){"use strict";function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){var n=d(null,e),r=n._component;return r&&o(r,"componentWillMount"),t.appendChild(n),r&&o(r,"componentDidMount"),n}function r(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;n>a;a++)r[a-2]=arguments[a];var c=void 0,l=[],u=r.length,d=void 0,p=void 0;if(u){c=[];for(var f=0;u>f;f++){var h=r[f];if(!s(h)){h.join?d=h:(d=l,d[0]=h);for(var v=0;v2?r-2:0),i=2;r>i;i++)o[i-2]=arguments[i];return n&&"function"==typeof n?n.apply(e,o):void 0}function i(e){return e&&e.__isVNode===!0}function s(e){return null===e||void 0===e}function a(e,t){if(3===e.nodeType)return"string"==typeof t;var n=t.nodeName;return"function"==typeof n?e._componentConstructor===n:e.nodeName.toLowerCase()===n}function c(e,t){var n=e&&e._component;if(!t.nodeName.prototype.render){var r=d(e,t.nodeName(_(t))||P);return r._componentConstructor=t.nodeName,r}if(n&&e._componentConstructor===t.nodeName){var o=_(t);return n.setProps(o,T),e}return n&&u(e,n),l(t)}function l(e){var t=I.create(e.nodeName),n=_(e);t.setProps(n,w),t._render(U);var r=t.base;return r._component=t,r._componentConstructor=e.nodeName,r}function u(e,t){delete e._component,o(t,"componentWillUnmount");var n=t.base;n&&n.parentNode&&n.parentNode.removeChild(n),o(t,"componentDidUnmount"),I.collect(t)}function d(e,t,n){var r=e,i=t.nodeName;if("function"==typeof i)return c(e,t);if("string"==typeof t){if(e){if(3===e.nodeType)return e.textContent=t,e;1===e.nodeType&&F.collect(e)}return document.createTextNode(t)}(null===i||void 0===i)&&(i="x-undefined-element"),e?e.nodeName.toLowerCase()!==i?(r=F.create(i),f(r,S.call(e.childNodes)),1===e.nodeType&&F.collect(e)):n&&e._component&&e._component!==n&&u(e,e._component):r=F.create(i);var s=y(r)||k,l=t.attributes||k;if(s!==k)for(var p in s)if(A.call(s,p)){var m=l[p];(void 0===m||null===m||m===!1)&&v(r,p,null,s[p])}if(l!==k)for(var g in l)if(A.call(l,g)){var b=l[g];if(void 0!==b&&null!==b&&b!==!1){var _=h(r,g,s[g]);b!==_&&v(r,g,b,_)}}for(var N=S.call(r.childNodes),x={},C=N.length;C--;){var w=N[C].nodeType,T=void 0;if(3===w)T=w.key;else{if(1!==w)continue;T=N[C].getAttribute("key")}T&&(x[T]=N.splice(C,1)[0])}var U=[];if(t.children)for(var C=0,P=t.children.length;P>C;C++){var R=t.children[C],D=R.attributes,T=void 0,O=void 0;if(D&&(T=D.key,O=T&&x[T]),!O){var W=N.length;if(N.length)for(var z=0;W>z;z++)if(a(N[z],R)){O=N.splice(z,1)[0];break}}U.push(d(O,R))}for(var C=0,W=U.length;W>C;C++)if(r.childNodes[C]!==U[C]){var O=U[C],L=O._component,M=r.childNodes[C+1];L&&o(L,"componentWillMount"),M?r.insertBefore(O,M):r.appendChild(O),L&&o(L,"componentDidMount")}for(var C=0,W=N.length;W>C;C++){var O=N[C],L=O._component;L&&o(L,"componentWillUnmount"),O.parentNode.removeChild(O),L?(o(L,"componentDidUnmount"),I.collect(L)):1===O.nodeType&&F.collect(O)}return r}function p(e,t,n){var r=t.split("."),o=r[0];return function(t){var i,a=this,c=e.state,l=void 0,u=void 0;for("string"==typeof n?(l=O(t,n),s(l)&&(a=a._component)&&(l=O(a,n))):l=(a.nodeName+a.type).match(/^input(checkbox|radio)$/i)?a.checked:a.value,"function"==typeof l&&(l=l.call(a)),u=0;u=n)return e.appendChild(t[0]),void(2===n&&e.appendChild(t[1]));for(var r=document.createDocumentFragment(),o=0;n>o;o++)r.appendChild(t[o]);e.appendChild(r)}function h(e,t,n){return"class"===t?e.className:"style"===t?e.style.cssText:n}function v(e,t,n,r){"class"===t?e.className=n:"style"===t?e.style.cssText=n:m(e,t,n,r)}function m(e,t,n,r){if("on"===t.substring(0,2)){var o=V(t),i=e._listeners||(e._listeners={});return i[o]||e.addEventListener(o,g),void(i[o]=n)}var s=typeof n;null===n?e.removeAttribute(t):"function"!==s&&"object"!==s&&e.setAttribute(t,n)}function g(e){var t=this._listeners,n=t[V(e.type)];return n?n.call(this,o(z,"event",e)||e):void 0}function y(e){var t=e.attributes;return t&&t.getNamedItem?t.length?b(t):void 0:t}function b(e){for(var t={},n=e.length;n--;){var r=e[n];t[r.name]=r.value}return t}function _(e){var t=C({},e.attributes);return e.children&&(t.children=e.children),e.text&&(t._content=e.text),t}function N(e){var t="",n=": ",r="; ";for(var o in e)if(A.call(e,o)){var i=e[o];t+=G(o),t+=n,t+=i,"number"!=typeof i||A.call(R,o)||(t+="px"),t+=r}return t}function x(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function C(e,t){for(var n in t)A.call(t,n)&&(e[n]=t[n]);return e}e.render=n,e.h=r;var k={},w={render:!1},T={renderSync:!0},U={build:!0},P="",R="boxFlex boxFlexGroup columnCount fillOpacity flex flexGrow flexPositive flexShrink flexNegative fontWeight lineClamp lineHeight opacity order orphans strokeOpacity widows zIndex zoom".split(" ").reduce(function(e,t){return e[t]=!0,e},{}),S=Array.prototype.slice,A=Object.prototype.hasOwnProperty,D=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return function(n){return A.call(t,n)?t[n]:t[n]=e(n)}},O=function(e,t){return t.split(".").reduce(function(e,t){return e&&e[t]},e)},W={syncComponentUpdates:!0},z={};z.vnode=function(e){var t=e.attributes;if(t){var n=t.style;n&&!n.substring&&(t.style=N(n));var r=t["class"];A.call(t,"className")&&(r=t["class"]=t.className,delete t.className),r&&!r.substring&&(t["class"]=x(r))}};var L=function(){function e(){t(this,e),this._dirty=this._disableRendering=!1,this._linkedStates={},this.nextProps=this.base=null,this.props=o(this,"getDefaultProps")||{},this.state=o(this,"getInitialState")||{},o(this,"initialize")}return e.prototype.shouldComponentUpdate=function(e,t){return!0},e.prototype.linkState=function(e,t){var n=this._linkedStates,r=e+"|"+(t||"");return n[r]||(n[r]=p(this,e,t))},e.prototype.setState=function(e){C(this.state,e),this.triggerRender()},e.prototype.setProps=function(e){var t=arguments.length<=1||void 0===arguments[1]?k:arguments[1],n=this._disableRendering;this._disableRendering=!0,o(this,"componentWillReceiveProps",e,this.props),this.nextProps=e,this._disableRendering=n,t.render!==!1&&(t.renderSync||W.syncComponentUpdates?this._render():this.triggerRender())},e.prototype.triggerRender=function(){this._dirty||(this._dirty=!0,j.add(this))},e.prototype.render=function(e){return r("div",null,e.children)},e.prototype._render=function(e){if(!this._disableRendering){this._dirty=!1;var t=this.nextProps,n=this.state;if(this.base){if(o(this,"shouldComponentUpdate",t,n)===!1)return void(this.props=t);o(this,"componentWillUpdate",t,n)}this.props=t;var r=o(this,"render",t,n);if(this.base||e&&e.build){var i=d(this.base,r||P,this);if(this.base&&i!==this.base){var s=this.base.parentNode;s&&s.replaceChild(i,this.base)}this.base=i,o(this,"componentDidUpdate",t,n)}return r}},e}();e.Component=L;var M=function $(e,n,r){t(this,$),this.nodeName=e,this.attributes=n,this.children=r};e.VNode=M,M.prototype.__isVNode=!0;var j={items:[],itemsOffline:[],add:function(e){if(1===j.items.push(e)){var t=z.debounceRendering;t?t(j.process):setTimeout(j.process,0)}},process:function(){var e=j.items,t=e.length;if(t)for(j.items=j.itemsOffline,j.items.length=0,j.itemsOffline=e;t--;)e[t]._dirty&&e[t]._render()}},E=j.process,F={nodes:{},collect:function(e){F.clean(e);var t=F.normalizeName(e.nodeName),n=F.nodes[t];n?n.push(e):F.nodes[t]=[e]},create:function(e){var t=F.normalizeName(e),n=F.nodes[t];return n&&n.pop()||document.createElement(e)},clean:function(e){e.remove();var t=e.attributes&&e.attributes.length;if(t)for(var n=t;n--;)e.removeAttribute(e.attributes[n].name)},normalizeName:D(function(e){return e.toUpperCase()})},I={components:{},collect:function(e){var t=e.constructor.name,n=I.components[t];n?n.push(e):I.components[t]=[e]},create:function(e){var t=I.components[e.name];if(t&&t.length)for(var n=t.length;n--;)if(t[n].constructor===e)return t.splice(n,1)[0];return new e}},V=D(function(e){return e.replace(/^on/i,"").toLowerCase()}),G=D(function(e){return e.replace(/([A-Z])/,"-$1").toLowerCase()});e.options=W,e.hooks=z,e.rerender=E,e["default"]={options:W,hooks:z,render:n,rerender:E,h:r,Component:L}}); +!function(e,n){if("function"==typeof define&&define.amd)define(["exports"],n);else if("undefined"!=typeof exports)n(exports);else{var t={exports:{}};n(t.exports),e.preact=t.exports}}(this,function(e){"use strict";function n(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function t(e,n){var t=arguments.length<=2||void 0===arguments[2]?null:arguments[2],o=t&&t._component&&t._componentConstructor===e.nodeName,r=y(t,e),a=!o&&r._component;return a&&i(a,"componentWillMount"),y.parentNode!==n&&n.appendChild(r),a&&i(a,"componentDidMount"),r}function o(e,n){for(var t=arguments.length,o=Array(t>2?t-2:0),i=2;t>i;i++)o[i-2]=arguments[i];var c=void 0,l=[],u=o.length,d=void 0,p=void 0;if(u){c=[];for(var f=0;u>f;f++){var m=o[f];if(!s(m)){m.join?d=m:(d=l,d[0]=m);for(var v=0;v2?o-2:0),i=2;o>i;i++)r[i-2]=arguments[i];return t&&"function"==typeof t?t.apply(e,r):void 0}function i(e){for(var n=arguments.length,t=Array(n>1?n-1:0),o=1;n>o;o++)t[o-1]=arguments[o];do r.apply(void 0,[e].concat(t));while(e=e._component)}function a(e){return e&&e.__isVNode===!0}function s(e){return null===e||void 0===e}function c(e,n){if(3===e.nodeType)return"string"==typeof n;if(l(n))return!0;var t=n.nodeName;return"function"==typeof t?e._componentConstructor===t:e.nodeName.toLowerCase()===t}function l(e){var n=e.nodeName;return"function"==typeof n&&!n.prototype.render}function u(e){return e.nodeName(T(e))||R}function d(e){e._dirty||(e._dirty=!0,$.add(e))}function p(e,n){var t=arguments.length<=2||void 0===arguments[2]?D:arguments[2],o=e._disableRendering;e._disableRendering=!0,r(e,"componentWillReceiveProps",n,e.props),e.nextProps=n,e._disableRendering=o,t.render!==!1&&(t.renderSync||F.syncComponentUpdates?f(e):d(e))}function f(e,n){if(!e._disableRendering){e._dirty=!1;var t=e.nextProps,o=e.state;if(e.base){if(r(e,"shouldComponentUpdate",t,o)===!1)return void(e.props=t);r(e,"componentWillUpdate",t,o)}e.props=t;var a=r(e,"render",t,o),s=a&&a.nodeName,c=void 0;if("function"==typeof s&&s.prototype.render){var l=e._component;l&&l.constructor!==s&&(h(e.base,l),l=null);var u=T(a);l?p(l,u,O):(l=Z.create(s),l._parentComponent=e,e._component=l,e.base&&i(l,"componentWillMount"),p(l,u,W),f(l,n),e.base&&i(l,"componentDidMount")),c=l.base}else e._component&&h(e.base,e._component),e._component=null,(e.base||n&&n.build)&&(c=y(e.base,a||R,e));if(e.base&&c!==e.base){var d=e.base.parentNode;d&&d.replaceChild(c,e.base)}return e.base=c,c&&(c._component=e,c._componentConstructor=e.constructor),r(e,"componentDidUpdate",t,o),a}}function m(e,n){var t=e&&e._component;if(l(n)){var o=y(e,u(n));return o._componentConstructor=n.nodeName,o}for(var r=t&&e._componentConstructor===n.nodeName;t&&!r&&(t=t._parentComponent);)r=t.constructor===n.nodeName;return r?p(t,T(n),O):(t&&h(e,t),e=v(n)),e}function v(e){var n=Z.create(e.nodeName),t=T(e);return p(n,t,W),f(n,P),n.base}function h(e,n){e._component===n&&(delete e._component,delete e._componentConstructor),r(n,"componentWillUnmount");var t=n.base;t&&t.parentNode&&t.parentNode.removeChild(t),r(n,"componentDidUnmount"),Z.collect(n)}function y(e,n){var t=e,o=n.nodeName;if("function"!=typeof o||o.prototype.render||(n=u(n),o=n.nodeName),"function"==typeof o)return m(e,n);if("string"==typeof n){if(e){if(3===e.nodeType)return e.textContent=n,e;1===e.nodeType&&H.collect(e)}return document.createTextNode(n)}(null===o||void 0===o)&&(o="x-undefined-element"),e?e.nodeName.toLowerCase()!==o&&(t=H.create(o),b(t,L.call(e.childNodes)),1===e.nodeType&&H.collect(e)):t=H.create(o);var a=k(t)||D,s=n.attributes||D;if(a!==D)for(var l in a)if(M.call(a,l)){var d=s[l];(void 0===d||null===d||d===!1)&&N(t,l,null,a[l])}if(s!==D)for(var p in s)if(M.call(s,p)){var f=s[p];if(void 0!==f&&null!==f&&f!==!1){var v=_(t,p,a[p]);f!==v&&N(t,p,f,v)}}for(var h=L.call(t.childNodes),g={},C=h.length;C--;){var x=h[C].nodeType,w=void 0;if(3===x)w=x.key;else{if(1!==x)continue;w=h[C].getAttribute("key")}w&&(g[w]=h.splice(C,1)[0])}var T=[];if(n.children)for(var C=0,U=n.children.length;U>C;C++){var S=n.children[C],A=S.attributes,w=void 0,W=void 0;if(A&&(w=A.key,W=w&&g[w]),!W){var O=h.length;if(h.length)for(var P=0;O>P;P++)if(c(h[P],S)){W=h.splice(P,1)[0];break}}T.push(y(W,S))}for(var C=0,O=T.length;O>C;C++)if(t.childNodes[C]!==T[C]){var W=T[C],R=W._component,z=t.childNodes[C+1];R&&i(R,"componentWillMount"),z?t.insertBefore(W,z):t.appendChild(W),R&&i(R,"componentDidMount")}for(var C=0,O=h.length;O>C;C++){var W=h[C],R=W._component;R&&r(R,"componentWillUnmount"),W.parentNode.removeChild(W),R?(r(R,"componentDidUnmount"),Z.collect(R)):1===W.nodeType&&H.collect(W)}return t}function g(e,n,t){var o=n.split("."),r=o[0];return function(n){var i,a=this,c=e.state,l=void 0,u=void 0;for("string"==typeof t?(l=j(n,t),s(l)&&(a=a._component)&&(l=j(a,t))):l=(a.nodeName+a.type).match(/^input(checkbox|radio)$/i)?a.checked:a.value,"function"==typeof l&&(l=l.call(a)),u=0;u=t)return e.appendChild(n[0]),void(2===t&&e.appendChild(n[1]));for(var o=document.createDocumentFragment(),r=0;t>r;r++)o.appendChild(n[r]);e.appendChild(o)}function _(e,n,t){return"class"===n?e.className:"style"===n?e.style.cssText:t}function N(e,n,t,o){"class"===n?e.className=t:"style"===n?e.style.cssText=t:C(e,n,t,o)}function C(e,n,t,o){if("on"===n.substring(0,2)){var r=q(n),i=e._listeners||(e._listeners={});return i[r]||e.addEventListener(r,x),void(i[r]=t)}var a=typeof t;null===t?e.removeAttribute(n):"function"!==a&&"object"!==a&&e.setAttribute(n,t)}function x(e){var n=this._listeners[q(e.type)];return n?n.call(this,r(I,"event",e)||e):void 0}function k(e){var n=e.attributes;return n&&n.getNamedItem?n.length?w(n):void 0:n}function w(e){for(var n={},t=e.length;t--;){var o=e[t];n[o.name]=o.value}return n}function T(e){var n=A({},e.attributes);return e.children&&(n.children=e.children),n}function U(e){var n="",t=": ",o="; ";for(var r in e)if(M.call(e,r)){var i=e[r];n+=J(r),n+=t,n+=i,"number"!=typeof i||M.call(z,r)||(n+="px"),n+=o}return n}function S(e){var n="";for(var t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function A(e,n){for(var t in n)M.call(n,t)&&(e[t]=n[t]);return e}e.render=t,e.h=o;var D={},W={render:!1},O={renderSync:!0},P={build:!0},R="",z={boxFlex:1,boxFlexGroup:1,columnCount:1,fillOpacity:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,strokeOpacity:1,widows:1,zIndex:1,zoom:1},L=Array.prototype.slice,M=Object.prototype.hasOwnProperty,E=function(e){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return function(t){return M.call(n,t)?n[t]:n[t]=e(t)}},j=function(e,n){return n.split(".").map(function(n){return e=e&&e[n]}),e},F={syncComponentUpdates:!0},I={vnode:function(e){var n=e.attributes;if(n){var t=n.style;t&&!t.substring&&(n.style=U(t));var o=n["class"];M.call(n,"className")&&(o=n["class"]=n.className,delete n.className),o&&!o.substring&&(n["class"]=S(o))}}},V=function(){function e(){n(this,e),this._dirty=this._disableRendering=!1,this._linkedStates={},this.nextProps=this.base=null,this.props=r(this,"getDefaultProps")||{},this.state=r(this,"getInitialState")||{},r(this,"initialize")}return e.prototype.shouldComponentUpdate=function(e,n){return!0},e.prototype.linkState=function(e,n){var t=this._linkedStates,o=e+"|"+(n||"");return t[o]||(t[o]=g(this,e,n))},e.prototype.setState=function(e){A(this.state,e),d(this)},e.prototype.render=function(e){return o("div",null,e.children)},e}();e.Component=V;var G=function K(e,t,o){n(this,K),this.nodeName=e,this.attributes=t,this.children=o};e.VNode=G,G.prototype.__isVNode=!0;var $={items:[],itemsOffline:[],add:function(e){if(1===$.items.push(e)){var n=I.debounceRendering;n?n($.process):setTimeout($.process,0)}},process:function(){var e=$.items,n=e.length;if(n)for($.items=$.itemsOffline,$.items.length=0,$.itemsOffline=e;n--;)e[n]._dirty&&f(e[n])}},B=$.process,H={nodes:{},normalizeName:E(function(e){return e.toUpperCase()}),collect:function(e){H.clean(e);var n=H.normalizeName(e.nodeName),t=H.nodes[n];t?t.push(e):H.nodes[n]=[e]},create:function(e){var n=H.normalizeName(e),t=H.nodes[n];return t&&t.pop()||document.createElement(e)},clean:function(e){if(e.remove(),3!==e.nodeType){delete e._component,delete e._componentConstructor;var n=e._listeners;if(delete e._listeners,n)for(var t in n)e.removeEventListener(t,x);var o=e.attributes&&e.attributes.length;if(o)for(var t=o;t--;)e.removeAttribute(e.attributes[t].name)}}},Z={components:{},collect:function(e){var n=e.constructor.name,t=Z.components[n];t?t.push(e):Z.components[n]=[e]},create:function(e){var n=Z.components[e.name];if(n&&n.length)for(var t=n.length;t--;)if(n[t].constructor===e)return n.splice(t,1)[0];return new e}},q=E(function(e){return e.replace(/^on/i,"").toLowerCase()}),J=E(function(e){return e.replace(/([A-Z])/,"-$1").toLowerCase()});e.options=F,e.hooks=I,e.rerender=B,e["default"]={options:F,hooks:I,render:t,rerender:B,h:o,Component:V}}); //# sourceMappingURL=preact.js.map \ No newline at end of file diff --git a/preact.js.map b/preact.js.map index f55315891d..63d520b056 100644 --- a/preact.js.map +++ b/preact.js.map @@ -1 +1 @@ -{"version":3,"file":"preact.js","sources":["preact.js"],"names":["render","component","parent","built","build","c","_component","hook","appendChild","h","nodeName","attributes","_len","arguments","length","args","Array","_key","children","undefined","sharedArr","len","arr","lastSimple","i","_p2","empty","join","j","child","simple","isVNode","String","push","p","VNode","hooks","obj","name","fn","_len2","_key2","apply","__isVNode","x","isSameNodeType","node","vnode","nodeType","_componentConstructor","toLowerCase","buildComponentFromVNode","dom","prototype","getNodeProps","EMPTY_BASE","props","setProps","SYNC_RENDER","unmountComponent","createComponentFromVNode","componentRecycler","create","NO_RENDER","_render","DOM_RENDER","base","parentNode","removeChild","collect","rootComponent","out","textContent","recycler","document","createTextNode","appendChildren","slice","call","childNodes","old","getNodeAttributes","EMPTY","attrs","_name","hop","o","setAccessor","_name2","value","prev","getAccessor","keyed","t","key","getAttribute","splice","newChildren","vlen","vchild","_attrs","next","insertBefore","createLinkedState","eventPath","path","split","p0","e","_component$setState","this","state","v","delve","type","match","checked","setState","frag","createDocumentFragment","className","style","cssText","setComplexAccessor","substring","_type","normalizeEventName","l","_listeners","addEventListener","eventProxy","removeAttribute","setAttribute","list","getNamedItem","getAttributesAsObject","item","extend","text","_content","styleObjToCss","s","str","sep","term","prop","val","jsToCss","NON_DIMENSION_PROPS","hashToClassName","renderSync","reduce","a","k","Object","hasOwnProperty","memoize","mem","r","options","syncComponentUpdates","_ref","Component","_classCallCheck","_dirty","_disableRendering","_linkedStates","nextProps","shouldComponentUpdate","linkState","cacheKey","triggerRender","opts","d","renderQueue","add","rendered","_p","replaceChild","exports","items","itemsOffline","debounceRendering","process","setTimeout","rerender","nodes","clean","normalizeName","pop","createElement","remove","toUpperCase","components","constructor","ctor","replace"],"mappings":"mTA4BO,QAASA,GAAOC,EAAWC,GACjC,GAAIC,GAAQC,EAAM,KAAMH,GACvBI,EAAIF,EAAMG,UAIX,OAHID,IAAGE,EAAKF,EAAG,sBACfH,EAAOM,YAAYL,GACfE,GAAGE,EAAKF,EAAG,qBACRF,EAyKD,QAASM,GAAE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C,IAAI,CAAC,CAAE,CACZ,GAAI,GAAG,CAAE,GAAG,IAAI,GAAG,CAAC,AACpB,GAAG,IAAI,IAAI,CAAC,CACZ,CACD,AACD,OAAO,GAAG,CAAC,CACX,AAID,IAAI,OAAO,CAAG,OAAO,CAAE,SAAA,CAAC,SAAI,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,EAAA,CAAE,CAAC,AAIvE,SAAS,MAAM,CAAC,GAAG,CAAE,KAAK,CAAE,CAC3B,IAAK,IAAI,CAAC,IAAI,KAAK,GAAE,GAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAE,CAAC,CAAC,CAAE,CAC5C,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAClB,CAAA,AACD,OAAO,GAAG,CAAC,CACX,QAGQ,OAAO,GAAP,OAAO,SAAE,KAAK,GAAL,KAAK,SAAE,QAAQ,GAAR,QAAQ,sBAClB,CAAE,OAAO,CAAP,OAAO,CAAE,KAAK,CAAL,KAAK,CAAE,MAAM,CAAN,MAAM,CAAE,QAAQ,CAAR,QAAQ,CAAE,CAAC,CAAD,CAAC,CAAE,SAAS,CAAT,SAAS,CAAE","sourcesContent":["const EMPTY = {};\nconst NO_RENDER = { render: false };\nconst SYNC_RENDER = { renderSync: true };\nconst DOM_RENDER = { build: true };\nconst EMPTY_BASE = '';\nconst NON_DIMENSION_PROPS = 'boxFlex boxFlexGroup columnCount fillOpacity flex flexGrow flexPositive flexShrink flexNegative fontWeight lineClamp lineHeight opacity order orphans strokeOpacity widows zIndex zoom'.split(' ').reduce( (a,k) => (a[k]=true, a), {});\n\n/** @private */\nlet slice = Array.prototype.slice;\n\nlet hop = Object.prototype.hasOwnProperty;\n\n/** @private */\nlet memoize = (fn, mem={}) => k => hop.call(mem, k) ? mem[k] : (mem[k] = fn(k));\n\nlet delve = (obj, key) => key.split('.').reduce( (r,k) => (r && r[k]), obj);\n\n/** @public @object Global options */\nlet options = {\n\t/** If `true`, `prop` changes trigger synchronous component updates. */\n\tsyncComponentUpdates: true\n};\n\n/** @public @object Global hook methods */\nlet hooks = {};\n\n\n/** @public Render JSX into a `parent` Element. */\nexport function render(component, parent) {\n\tlet built = build(null, component),\n\t\tc = built._component;\n\tif (c) hook(c, 'componentWillMount');\n\tparent.appendChild(built);\n\tif (c) hook(c, 'componentDidMount');\n\treturn built;\n}\n\n\n/** @protected Processes all created VNodes */\nhooks.vnode = ({ attributes }) => {\n\tif (!attributes) return;\n\n\tlet s = attributes.style;\n\tif (s && !s.substring) {\n\t\tattributes.style = styleObjToCss(s);\n\t}\n\n\tlet c = attributes['class'];\n\tif (hop.call(attributes, 'className')) {\n\t\tc = attributes['class'] = attributes.className;\n\t\tdelete attributes.className;\n\t}\n\tif (c && !c.substring) {\n\t\tattributes['class'] = hashToClassName(c);\n\t}\n};\n\n\n/** @public Base Component, with API similar to React. */\nexport class Component {\n\tconstructor() {\n\t\t/** @private */\n\t\tthis._dirty = this._disableRendering = false;\n\t\t/** @private */\n\t\tthis._linkedStates = {};\n\t\t/** @public */\n\t\tthis.nextProps = this.base = null;\n\t\t/** @type {object} */\n\t\tthis.props = hook(this, 'getDefaultProps') || {};\n\t\t/** @type {object} */\n\t\tthis.state = hook(this, 'getInitialState') || {};\n\t\t// @TODO remove me?\n\t\thook(this, 'initialize');\n\t}\n\n\t/** Returns a `boolean` value indicating if the component should re-render when receiving the given `props` and `state`.\n\t *\t@param {object} props\n\t *\t@param {object} state\n\t */\n\tshouldComponentUpdate(props, state) {\n\t\treturn true;\n\t}\n\n\t/** Returns a function that sets a state property when called.\n\t *\tCalling linkState() repeatedly with the same arguments returns a cached link function.\n\t *\n\t *\tProvides some built-in special cases:\n\t *\t\t- Checkboxes and radio buttons link their boolean `checked` value\n\t *\t\t- Inputs automatically link their `value` property\n\t *\t\t- Event paths fall back to any associated Component if not found on an element\n\t *\t\t- If linked value is a function, will invoke it and use the result\n\t *\n\t *\t@param {string} key\t\t\t\tThe path to set - can be a dot-notated deep key\n\t *\t@param {string} [eventPath]\t\tIf set, attempts to find the new state value at a given dot-notated path within the object passed to the linkedState setter.\n\t *\t@returns {function} linkStateSetter(e)\n\t *\n\t *\t@example Update a \"text\" state value when an input changes:\n\t *\t\t\n\t *\n\t *\t@example Set a deep state value on click\n\t *\t\t