Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

skatejs

Package Overview
Dependencies
Maintainers
7
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skatejs - npm Package Compare versions

Comparing version 4.5.2 to 4.6.0

34

dist/index-with-deps.min.js

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.skate=t():e.skate=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var u=n[r]={exports:{},id:r,loaded:!1};return e[r].call(u.exports,u,u.exports,t),u.loaded=!0,u.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.vdom=t.symbols=t.ready=t.props=t.prop=t.link=t.h=t.emit=t.define=t.Component=void 0;var o=n(1),i=u(o),a=n(7),l=u(a),c=n(9),f=u(c),s=n(13),d=r(s),p=n(32),y=r(p),v=n(34),h=r(v),b=n(35),_=r(b),m=n(26),g=r(m),O=n(36),k=r(O),P=f.builder();t.Component=d.default,t.define=y.default,t.emit=h.default,t.h=P,t.link=_.default,t.prop=i,t.props=g.default,t.ready=k.default,t.symbols=l,t.vdom=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),i.default.apply(void 0,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.object=t.string=t.number=t.boolean=t.array=void 0,t.create=u;var o=n(2),i=r(o),a=n(5),l=r(a),c=n(6),f=r(c),s=function(e){return(0,l.default)(e)?null:JSON.parse(e)},d=(t.array=u({coerce:function(e){return Array.isArray(e)?e:(0,l.default)(e)?null:[e]},default:function(){return[]},deserialize:s,serialize:JSON.stringify}),t.boolean=u({coerce:function(e){return!!e},default:!1,deserialize:function(e){return!(null===e)},serialize:function(e){return e?"":null}}),function(e){return(0,l.default)(e)?0:Number(e)});t.number=u({default:0,coerce:d,deserialize:d,serialize:f.default}),t.string=u({default:"",coerce:f.default,deserialize:f.default,serialize:f.default}),t.object=u({default:function(){return{}},deserialize:s,serialize:JSON.stringify})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=n(3),o=r(u);t.default=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(t){return(0,o.default)(t).forEach(function(n){return e[n]=t[n]})}),e}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.getOwnPropertyNames(e);return(0,u.isFunction)(Object.getOwnPropertySymbols)?t.concat(Object.getOwnPropertySymbols(e)):t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var u=n(4)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isFunction=function(e){return"function"==typeof e},t.isObject=function(e){return"object"===("undefined"==typeof e?"undefined":n(e))&&null!==e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"===("undefined"==typeof e?"undefined":n(e))},t.isUndefined=function(e){return"undefined"==typeof e}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"undefined"==typeof e||null===e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=n(5),o=r(u),i=function(e){return(0,o.default)(e)?null:String(e)};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8);Object.defineProperty(t,"name",{enumerable:!0,get:function(){return r.name}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.connected="____skate_connected",t.created="____skate_created",t.name="____skate_name",t.ctorCreateInitProps="____skate_ctor_createInitProps",t.ctorObservedAttributes="____skate_ctor_observedAttributes",t.ctorProps="____skate_ctor_props",t.ctorPropsMap="____skate_ctor_propsMap",t.props="____skate_props",t.ref="____skate_ref",t.renderer="____skate_renderer",t.rendering="____skate_rendering",t.rendererDebounced="____skate_rendererDebounced",t.updated="____skate_updated"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n){var r=e[C];r||(r=e[C]={}),"undefined"==typeof r[t]&&e.addEventListener(t,function(e){r[t]&&r[t].call(this,e)}),r[t]="function"==typeof n?n:null}function a(e){if(!e)return e;if(e[m.name])return e[m.name];if(e.prototype instanceof M){var t=new e;return e[m.name]=t.localName}return e}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;V=[e,t,n]}function c(){var e=L.apply(void 0,u(V));return V=null,e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T;return function n(){for(var r=arguments.length,u=Array(r),o=0;o<r;o++)u[o]=arguments[o];if(u[0]=a(u[0]),E=null,"function"==typeof u[0])return E=u[0],t.apply(void 0,u);if(S.length)S[S.length-1].push([n,u]);else{if(e===z){if(N)return++N;var i=e.apply(void 0,u);return i[w]&&++N,i}if(e===_.elementClose){if(1===N&&(0,_.skip)(),N&&--N)return;var f=e.apply(void 0,u),s=f[m.ref];return delete f[m.ref],"function"==typeof s&&s(f),f}if(!N||e===l||e===c)return e.apply(void 0,u)}}}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];E?E[x][t[0]]=t[1]:S.length?S[S.length-1].push([s,t]):(V.push(t[0]),V.push(t[1]))}function d(e,t,n){for(var r={key:t,statics:n},u=arguments.length,o=Array(u>3?u-3:0),i=3;i<u;i++)o[i-3]=arguments[i];for(var a=0;a<o.length;a+=2)r[o[a]]=o[a+1];e[x]=r,S.push([])}function p(e){var t=S.pop(),n=e[x];delete e[x];var r=e(n,function(){return t.forEach(function(e){return e[0].apply(e,u(e[1]))})});return"function"==typeof r?r():r}function y(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return L.apply(void 0,[e].concat(n)),U(e)}function v(e,t){for(var n="undefined"==typeof t?"undefined":b(t),r=arguments.length,u=Array(r>2?r-2:0),o=2;o<r;o++)u[o-2]=arguments[o];return"function"!==n&&"string"!==n&&"number"!==n||u.unshift(t),null!==t&&"object"===n||(t={}),I(e,t.key,t.statics),delete t.key,delete t.statics,Object.keys(t).forEach(function(e){return s(e,t[e])}),F(e),u.forEach(function(e){var t="undefined"==typeof e?"undefined":b(e);"function"===t?e():"string"===t||"number"===t?R(e):Array.isArray(e)&&e.forEach(function(e){return e()})}),U(e)}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return v.bind.apply(v,[null].concat(t))}:t.map(function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return v.bind.apply(v,[null,e].concat(n))}})}Object.defineProperty(t,"__esModule",{value:!0}),t.text=t.elementVoid=t.elementOpenStart=t.elementOpenEnd=t.elementOpen=t.elementClose=t.attr=void 0;var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.element=v,t.builder=h;var _=n(10),m=n(8),g=n(11),O=r(g),k=n(12),P=r(k),j=P.default.customElements,M=P.default.HTMLElement,A=_.attributes[_.symbols.default],S=[],w="__skip",C="__events",x="__props",E=void 0,V=void 0,N=0,T=function(){},D=(0,O.default)(_.attributes,o({key:T,statics:T,checked:_.applyProp,className:_.applyProp,disabled:_.applyProp,value:_.applyProp,ref:function(e,t,n){e[m.ref]=n},skip:function(e,t,n){n?e[w]=!0:delete e[w]}},_.symbols.default,function(e,t,n){var r=j.get(e.localName)||{props:{},prototype:{}},u=r.props,o=r.prototype;if((t in u||t in e||t in o)&&!("ownerSVGElement"in e))return void(0,_.applyProp)(e,t,n);if(n===!1)return void A(e,t);if(0===t.indexOf("on")){var a=t[2],l=void 0;if("-"===a?l=t.substring(3):a===a.toUpperCase()&&(l=a.toLowerCase()+t.substring(3)),l)return void i(e,l,n)}A(e,t,n)})),z=D(_.elementOpen),I=f(l,d),F=f(c),L=f(z,d),U=f(_.elementClose,p),R=f(_.text);t.attr=s,t.elementClose=U,t.elementOpen=L,t.elementOpenEnd=F,t.elementOpenStart=I,t.elementVoid=y,t.text=R},function(e,t,n){/**
* @license
* Copyright 2015 The Incremental DOM Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS-IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
"use strict";function r(e,t){this.attrs=l(),this.attrsArr=[],this.newAttrs=l(),this.key=t,this.keyMap=null,this.keyMapValid=!0,this.nodeName=e,this.text=null}function u(){this.created=A.nodesCreated&&[],this.deleted=A.nodesDeleted&&[]}var o=Object.prototype.hasOwnProperty,i=Object.create,a=function(e,t){return o.call(e,t)},l=function(){return i(null)},c=function(e,t,n){var u=new r(t,n);return e.__incrementalDOMData=u,u},f=function(e){var t=e.__incrementalDOMData;if(!t){var n=e.nodeName.toLowerCase(),r=null;e instanceof Element&&(r=e.getAttribute("key")),t=c(e,n,r)}return t},s={default:"__default",placeholder:"__placeholder"},d=function(e){return 0===e.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===e.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":void 0},p=function(e,t,n){if(null==n)e.removeAttribute(t);else{var r=d(t);r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}},y=function(e,t,n){e[t]=n},v=function(e,t,n){if("string"==typeof n)e.style.cssText=n;else{e.style.cssText="";var r=e.style,u=n;for(var o in u)a(u,o)&&(r[o]=u[o])}},h=function(e,t,n){var r=typeof n;"object"===r||"function"===r?y(e,t,n):p(e,t,n)},b=function(e,t,n){var r=f(e),u=r.attrs;if(u[t]!==n){var o=_[t]||_[s.default];o(e,t,n),u[t]=n}},_=l();_[s.default]=h,_[s.placeholder]=function(){},_.style=v;var m=function(e,t){return"svg"===e?"http://www.w3.org/2000/svg":"foreignObject"===f(t).nodeName?null:t.namespaceURI},g=function(e,t,n,r,u){var o=m(n,t),i=void 0;if(i=o?e.createElementNS(o,n):e.createElement(n),c(i,n,r),u)for(var a=0;a<u.length;a+=2)b(i,u[a],u[a+1]);return i},O=function(e){var t=e.createTextNode("");return c(t,"#text",null),t},k=function(e){for(var t=l(),n=e.firstElementChild;n;){var r=f(n).key;r&&(t[r]=n),n=n.nextElementSibling}return t},P=function(e){var t=f(e);return t.keyMap||(t.keyMap=k(e)),t.keyMap},j=function(e,t){return t?P(e)[t]:null},M=function(e,t,n){P(e)[t]=n},A={nodesCreated:null,nodesDeleted:null};u.prototype.markCreated=function(e){this.created&&this.created.push(e)},u.prototype.markDeleted=function(e){this.deleted&&this.deleted.push(e)},u.prototype.notifyChanges=function(){this.created&&this.created.length>0&&A.nodesCreated(this.created),this.deleted&&this.deleted.length>0&&A.nodesDeleted(this.deleted)};var S=null,w=null,C=null,x=null,E=null,V=function(e){var t=function(t,n,r){var o=S,i=x,a=E,l=w,c=C;S=new u,x=t,E=t.ownerDocument,C=t.parentNode,e(t,n,r),S.notifyChanges(),S=o,x=i,E=a,w=l,C=c};return t},N=V(function(e,t,n){w=e,F(),t(n),U()}),T=V(function(e,t,n){w={nextSibling:e},t(n)}),D=function(e,t){var n=f(w);return e===n.nodeName&&t==n.key},z=function(e,t,n){if(!w||!D(e,t)){var r=void 0;t&&(r=j(C,t)),r||(r="#text"===e?O(E):g(E,C,e,t,n),t&&M(C,t,r),S.markCreated(r)),w&&f(w).key?(C.replaceChild(r,w),f(C).keyMapValid=!1):C.insertBefore(r,w),w=r}},I=function(){var e=C,t=f(e),n=t.keyMap,r=t.keyMapValid,u=e.lastChild,o=void 0;if(!(u===w&&r||t.attrs[s.placeholder]&&e!==x)){for(;u!==w;)e.removeChild(u),S.markDeleted(u),o=f(u).key,o&&delete n[o],u=e.lastChild;if(!r){for(o in n)u=n[o],u.parentNode!==e&&(S.markDeleted(u),delete n[o]);t.keyMapValid=!0}}},F=function(){C=w,w=null},L=function(){w=w?w.nextSibling:C.firstChild},U=function(){I(),w=C,C=C.parentNode},R=function(e,t,n){return L(),z(e,t,n),F(),C},J=function(){return U(),w},B=function(){return L(),z("#text",null,null),w},H=function(){return C},K=function(){w=C.lastChild},q=3,G=[],W=function(e,t,n,r){for(var u=R(e,t,n),o=f(u),i=o.attrsArr,a=o.newAttrs,l=!1,c=q,s=0;c<arguments.length;c+=1,s+=1)if(i[s]!==arguments[c]){l=!0;break}for(;c<arguments.length;c+=1,s+=1)i[s]=arguments[c];if(s<i.length&&(l=!0,i.length=s),l){for(c=q;c<arguments.length;c+=2)a[arguments[c]]=arguments[c+1];for(var d in a)b(u,d,a[d]),a[d]=void 0}return u},X=function(e,t,n){G[0]=e,G[1]=t,G[2]=n},Z=function(e,t){G.push(e,t)},Q=function(){var e=W.apply(null,G);return G.length=0,e},Y=function(e){var t=J();return t},$=function(e,t,n,r){return W.apply(null,arguments),Y(e)},ee=function(e,t,n,r){return W.apply(null,arguments),K(),Y(e)},te=function(e,t){var n=B(),r=f(n);if(r.text!==e){r.text=e;for(var u=e,o=1;o<arguments.length;o+=1){var i=arguments[o];u=i(u)}n.data=u}return n};t.patch=N,t.patchInner=N,t.patchOuter=T,t.currentElement=H,t.skip=K,t.elementVoid=$,t.elementOpenStart=X,t.elementOpenEnd=Q,t.elementOpen=W,t.elementClose=Y,t.elementPlaceholder=ee,t.text=te,t.attr=Z,t.symbols=s,t.attributes=_,t.applyAttr=p,t.applyProp=y,t.notifications=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n={};return Object.keys(t).forEach(function(r){n[r]=e[r],e[r]=t[r]}),n}function o(e,t){(0,a.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n){return function(){var r=u(e,t),i=n.apply(void 0,arguments);return o(e,r),i}}};var i=n(2),a=r(i)},function(e,t){(function(t){"use strict";e.exports="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||this}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n,r){return t===e[J]&&n===e[B]&&r===e[H]}function l(e){var t=(0,x.default)(e);return(0,w.default)(t).reduce(function(e,n){return e[n]=(0,N.createNativePropertyDescriptor)(t[n]),e},{})}function c(e){var t=l(e);return function(e){(0,w.default)(t).forEach(function(n){var r=t[n];r.beforeDefineProperty(e);var u=n in e,o=u&&e[n];Object.defineProperty(e,n,r),u&&(e[n]=o)})}}Object.defineProperty(t,"__esModule",{value:!0});var f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function e(t,n,r){null===t&&(t=Function.prototype);var u=Object.getOwnPropertyDescriptor(t,n);if(void 0===u){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in u)return u.value;var i=u.get;if(void 0!==i)return i.call(r)},d=n(10),p=n(8),y=n(2),v=r(y),h=n(14),b=r(h),_=n(15),m=r(_),g=n(16),O=r(g),k=n(18),P=(r(k),n(19)),j=r(P),M=n(20),A=r(M),S=n(3),w=r(S),C=n(21),x=r(C),E=n(26),V=r(E),N=n(27),T=n(4),D=n(31),z=r(D),I=n(25),F=r(I),L=n(12),U=r(L),R=U.default.HTMLElement||function(){function e(){i(this,e)}return e}(),J=(0,b.default)("prevName"),B=(0,b.default)("prevOldValue"),H=(0,b.default)("prevNewValue"),K=function(e){function t(){var e;i(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),l=a.constructor;a[p.created]=!0,l.hasOwnProperty(p.ctorCreateInitProps)||(0,F.default)(l,p.ctorCreateInitProps,c(l)),a[p.rendererDebounced]=(0,O.default)(a[p.renderer].bind(a));var f=(0,w.default)((0,x.default)(l)).length;f&&l[p.ctorCreateInitProps]&&l[p.ctorCreateInitProps](a),!a.renderCallback&&l.render&&(a.renderCallback=l.render.bind(l,a));var s=l.created;(0,T.isFunction)(s)&&s(a);var d=(0,m.default)(a),y=d.readyCallbacks;return y&&(y.forEach(function(e){return e(a)}),delete d.readyCallbacks),a}return o(t,e),f(t,null,[{key:"observedAttributes",get:function(){var e=this.hasOwnProperty(p.ctorObservedAttributes)?this[p.ctorObservedAttributes]:[],n=(0,x.default)(this),r=Object.keys(n).map(function(e){return n[e].attrSource}).filter(Boolean),u=r.concat(e).concat(s(t.__proto__||Object.getPrototypeOf(t),"observedAttributes",this));return u.filter(function(e,t){return u.indexOf(e)===t})},set:function(e){e=Array.isArray(e)?e:[],(0,F.default)(this,"observedAttributes",e)}},{key:"props",get:function(){return(0,v.default)({},s(t.__proto__||Object.getPrototypeOf(t),"props",this),this[p.ctorProps])},set:function(e){(0,F.default)(this,p.ctorProps,e)}}]),f(t,[{key:"connectedCallback",value:function(){(0,j.default)(this).resumeAttributesUpdates(),this[p.connected]=!0,this[p.rendererDebounced]();var e=this.constructor.attached;(0,T.isFunction)(e)&&e(this),this.setAttribute("defined","")}},{key:"disconnectedCallback",value:function(){(0,j.default)(this).suspendAttributesUpdates(),this[p.connected]=!1;var e=this.constructor.detached;(0,T.isFunction)(e)&&e(this)}},{key:"attributeChangedCallback",value:function(e,t,n){if(!a(this,e,t,n)){this[J]=e,this[B]=t,this[H]=n;var r=(0,m.default)(this,"attrSourceLinks")[e];if(r){var u=(0,j.default)(this).onAttributeChanged(e,n);if(u){var o=(0,x.default)(this.constructor)[r],i=null!==n&&o.deserialize?o.deserialize(n):n,l=(0,m.default)(this,"props")[r];l.settingPropFromAttrSource=!0,this[r]=i,l.settingPropFromAttrSource=!1}}var c=this.constructor.attributeChanged;(0,T.isFunction)(c)&&c(this,{name:e,newValue:n,oldValue:t})}}},{key:"updatedCallback",value:function(e){return this.constructor.hasOwnProperty("updated"),this.constructor.updated(this,e)}},{key:"renderedCallback",value:function(){return this.constructor.hasOwnProperty("rendered"),this.constructor.rendered(this)}},{key:"rendererCallback",value:function(){return this.constructor.renderer(this)}},{key:p.renderer,value:function(){!this[p.rendering]&&this[p.connected]&&(this[p.rendering]=!0,this[p.updated]()&&(0,T.isFunction)(this.renderCallback)&&(this.rendererCallback(),this.renderedCallback()),this[p.rendering]=!1)}},{key:p.updated,value:function(){var e=this[p.props];return this[p.props]=(0,V.default)(this),this.updatedCallback(e)}}],[{key:"extend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=function(e){function t(){return i(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),t}(t),r=(0,A.default)(e),a=(0,A.default)(e.prototype);return delete r.prototype,Object.defineProperties(n,r),Object.defineProperties(n.prototype,a),n}},{key:"rendered",value:function(){}},{key:"renderer",value:function(e){e.shadowRoot||e.attachShadow({mode:"open"}),(0,d.patchInner)(e.shadowRoot,function(){var t=e.renderCallback(e);(0,T.isFunction)(t)?t():Array.isArray(t)&&t.forEach(function(e){(0,T.isFunction)(e)&&e()})})}},{key:"updated",value:function(e,t){if(!t)return!0;for(var n=(0,w.default)(t),r=0;r<n.length;r++){var u=n[r];if(!(0,z.default)(t[u],e[u]))return!0}return!1}}]),t}(R);t.default=K},function(e,t){"use strict";function n(e){return"function"==typeof Symbol?Symbol(e):e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){var t=!1,n=0,r=[],o=document.createElement("span"),i=new s(function(){e.apply(void 0,u(r)),t=!1,r=null});return i.observe(o,{childList:!0}),function(){for(var e=arguments.length,u=Array(e),i=0;i<e;i++)u[i]=arguments[i];r=u,t||(t=!0,o.textContent=""+n,n+=1)}}function i(e){var t=!1,n=[];return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];n=o,t||(t=!0,setTimeout(function(){t=!1,e.apply(void 0,u(n))},1))}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(17),l=r(a),c=n(12),f=r(c),s=f.default.MutationObserver;t.default=(0,l.default)(s)?o:i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=["native code","[object MutationObserverConstructor]"];t.default=function(e){return n.map(function(t){return(e||"").toString().indexOf([t])>-1}).reduce(function(e,t){return e||t})}},function(e,t,n){"use strict";function r(e,t,n){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){var t=e[s];return t||(t=new f(e),e[s]=t),t}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=o;var a=n(6),l=r(a),c=n(4),f=function(){function e(t){u(this,e),this.elem=t,this.connected=!1,this.pendingValues={},this.lastSetValues={}}return i(e,[{key:"suspendAttributesUpdates",value:function(){this.connected=!1}},{key:"resumeAttributesUpdates",value:function(){var e=this;this.connected=!0;var t=Object.keys(this.pendingValues);t.forEach(function(t){var n=e.pendingValues[t];(0,c.isUndefined)(n)||(delete e.pendingValues[t],e._syncAttrValue(t,n))})}},{key:"onAttributeChanged",value:function(e,t){t=(0,l.default)(t),this._clearPendingValue(e);var n=this.lastSetValues[e]!==t;return this.lastSetValues[e]=t,n}},{key:"setAttrValue",value:function(e,t){t=(0,l.default)(t),this.lastSetValues[e]=t,this.connected?(this._clearPendingValue(e),this._syncAttrValue(e,t)):this.pendingValues[e]=t}},{key:"_syncAttrValue",value:function(e,t){var n=(0,l.default)(this.elem.getAttribute(e));t!==n&&(null===t?this.elem.removeAttribute(e):this.elem.setAttribute(e,t))}},{key:"_clearPendingValue",value:function(e){e in this.pendingValues&&delete this.pendingValues[e]}}]),e}(),s="____skate_attributesMgr"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.default)(e).reduce(function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t},{})};var u=n(3),o=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){return e.hasOwnProperty(o.ctorPropsMap)||!function(){var t=e.props||{},n=(0,a.default)(t).reduce(function(e,n){return e[n]=new c.default(n,t[n]),e},{});(0,s.default)(e,o.ctorPropsMap,n)}(),e[o.ctorPropsMap]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var o=n(8),i=n(3),a=r(i),l=n(22),c=r(l),f=n(25),s=r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if((0,p.isSymbol)(t))(0,d.default)(t.toString()+" symbol property cannot have an attribute.");else{if(e===!0)return(0,l.default)(String(t));if((0,p.isString)(e))return e}return null}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(23),l=r(a),c=n(5),f=r(c),s=n(24),d=r(s),p=n(4),y=function(){function e(t,n){var r=this;u(this,e),this._nameOrSymbol=t,n=n||{},this.attrSource=null,this.attrTarget=null,this.attrTargetIsNotSource=!1,this.coerce=function(e){return e},this.default=null,this.deserialize=function(e){return e},this.get=null,this.serialize=function(e){return(0,f.default)(e)?null:String(e)},this.set=null,Object.keys(n).forEach(function(e){var u=n[e];switch(e){case"attribute":if((0,p.isObject)(u)){var i=u.source,a=u.target;i||a||(0,d.default)(e+" 'source' or 'target' is missing."),r.attrSource=o(i,t),r.attrTarget=o(a,t),r.attrTargetIsNotSource=r.attrTarget!==r.attrSource}else r.attrSource=r.attrTarget=o(u,t);break;case"coerce":case"deserialize":case"get":case"serialize":case"set":(0,p.isFunction)(u)?r[e]=u:(0,d.default)(e+" must be a function.");break;case"default":case"initial":r[e]=u;break;default:r[e]=u}})}return i(e,[{key:"nameOrSymbol",get:function(){return this._nameOrSymbol}}]),e}();t.default=y},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split(/([A-Z])/).reduce(function(e,t,n){var r=e&&n%2!==0?"-":"";return""+e+r+t.toLowerCase()})}},function(e,t){"use strict";function n(e){throw new Error(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(e,t,n){Object.defineProperty(e,t,{configurable:!0,value:n})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){var t={};return(0,f.default)((0,d.default)(e.constructor)).forEach(function(n){t[n]=e[n]}),t}function o(e,t){(0,l.default)(e,t),e[i.renderer]&&e[i.renderer]()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,p.isUndefined)(t)?u(e):o(e,t)};var i=n(8),a=n(2),l=r(a),c=n(3),f=r(c),s=n(21),d=r(s),p=n(4)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=e.nameOrSymbol,n={configurable:!0,enumerable:!0};return n.beforeDefineProperty=function(n){var r=(0,b.default)(n,t),u=e.attrSource;u&&((0,a.default)(n,"attrSourceLinks")[u]=t);var o=n[t],i=!1;(0,c.default)(o)&&(u&&n.hasAttribute(u)?(i=!0,o=e.deserialize(n.getAttribute(u))):o="initial"in e?(0,v.default)(n,e):(0,p.default)(n,e)),o=e.coerce(o),r.internalValue=o;var l=e.attrTarget&&!(0,c.default)(o)&&(!i||e.attrTargetIsNotSource);if(l){var f=e.serialize(o);(0,s.default)(n).setAttrValue(e.attrTarget,f)}},n.get=function(){var n=(0,b.default)(this,t),r=n.internalValue;return e.get?e.get(this,{name:t,internalValue:r}):r},n.set=function(n){var r=(0,b.default)(this,t),u=(0,c.default)(n);if(u&&(n=(0,p.default)(this,e)),n=e.coerce(n),e.set){var i=r.oldValue;(0,c.default)(i)&&(i=null);var a={name:t,newValue:n,oldValue:i};e.set(this,a)}this[o.rendererDebounced](this),r.internalValue=r.oldValue=n;var l=e.attrTarget&&(e.attrTargetIsNotSource||!r.settingPropFromAttrSource);if(l){var f=u?null:e.serialize(n);(0,s.default)(this).setAttrValue(e.attrTarget,f)}},n}Object.defineProperty(t,"__esModule",{value:!0}),t.createNativePropertyDescriptor=u;var o=n(8),i=n(15),a=r(i),l=n(5),c=r(l),f=n(19),s=r(f),d=n(28),p=r(d),y=n(29),v=r(y),h=n(30),b=r(h)},function(e,t){"use strict";function n(e,t){return"function"==typeof t.default?t.default(e,{name:t.nameOrSymbol}):t.default}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(e,t){return"function"==typeof t.initial?t.initial(e,{name:t.nameOrSymbol}):t.initial}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=(0,i.default)(e,"props");return n[t]||(n[t]={})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var o=n(15),i=r(o)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.is||(Object.is=function(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}),t.default=Object.is},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(){for(var e=s.default.customElements,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0],l=n[1];if(!e)throw new Error("Skate requires native custom element support or a polyfill.");if(1===n.length){if("string"==typeof i)throw new Error("When passing only one argument to define(), it must be a custom element constructor.");l=i,i=(0,c.default)()}return e.get(i)&&(i=(0,c.default)(i)),"object"===("undefined"==typeof l?"undefined":u(l))&&(l=a.default.extend(l)),l[o.name]=i,e.define(i,l),l};var o=n(8),i=n(13),a=r(i),l=n(33),c=r(l),f=n(12),s=r(f)},function(e,t){"use strict";function n(e){var t="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)});return(e||"x")+"-"+t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.detail;delete t.detail;var r=void 0;return a?(r=new a(e,t),Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),Object.defineProperty(r,"composed",{value:t.composed}),r.initCustomEvent(e,t.bubbles,t.cancelable,n)),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),e.dispatchEvent(u(t,n))};var o=n(12),i=r(o),a=function(e){if(e)try{new e("emit-init")}catch(e){return}return e}(i.default.Event)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=e.type;return"checkbox"===t||"radio"===t?!!e.checked&&(e.value||!0):e.value}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n){var r=n.target||n.composedPath()[0],i=o(r),l=t||r.name||"value";if(l.indexOf(".")>-1){var c=l.split("."),f=c[0],s=c.pop(),d=c.reduce(function(e,t){return e&&e[t]},e);d[s||n.target.name]=i,(0,a.default)(e,u({},f,e[f]))}else(0,a.default)(e,u({},l,i))}};var i=n(26),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e);e[u.created]?t(e):n.readyCallbacks?n.readyCallbacks.push(t):n.readyCallbacks=[t]};var u=n(8),o=n(15),i=r(o)}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.skatejs=e():t.skatejs=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=37)}([function(t,e,n){"use strict";n.d(e,"i",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"g",function(){return u}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return c}),n.d(e,"d",function(){return l}),n.d(e,"l",function(){return f}),n.d(e,"m",function(){return s}),n.d(e,"c",function(){return d}),n.d(e,"j",function(){return p}),n.d(e,"h",function(){return h}),n.d(e,"k",function(){return y});var r="____skate_connected",i="____skate_created",o="____skate_name",u="____skate_ctor_createInitProps",a="____skate_ctor_observedAttributes",c="____skate_ctor_props",l="____skate_ctor_propsMap",f="____skate_props",s="____skate_ref",d="____skate_renderer",p="____skate_rendering",h="____skate_rendererDebounced",y="____skate_updated"},function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.getOwnPropertyNames(t);return n.i(i.c)(Object.getOwnPropertySymbols)?e.concat(Object.getOwnPropertySymbols(t)):e}var i=n(2);e.a=r},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return u}),n.d(e,"d",function(){return a}),n.d(e,"a",function(){return c});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t){return"function"==typeof t},o=function(t){return"object"===("undefined"==typeof t?"undefined":r(t))&&null!==t},u=function(t){return"string"==typeof t},a=function(t){return"symbol"===("undefined"==typeof t?"undefined":r(t))},c=function(t){return"undefined"==typeof t}},function(t,e,n){"use strict";(function(e){t.exports="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this}).call(e,n(36))},function(t,e,n){"use strict";var r=n(1);e.a=function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return i.forEach(function(e){return n.i(r.a)(e).forEach(function(n){return t[n]=e[n]})}),t}},function(t,e,n){"use strict";e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.__SKATE_DATA||(t.__SKATE_DATA={});return e&&(n[e]||(n[e]={}))||n}},function(t,e,n){"use strict";e.a=function(t){return"undefined"==typeof t||null===t}},function(t,e,n){"use strict";function r(t){var e={};return n.i(a.a)(n.i(c.a)(t.constructor)).forEach(function(n){e[n]=t[n]}),e}function i(t,e){n.i(u.a)(t,e),t[o.c]&&t[o.c]()}var o=n(0),u=n(4),a=n(1),c=n(10),l=n(2);e.a=function(t,e){return n.i(l.a)(e)?r(t):i(t,e)}},function(t,e,n){"use strict";function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e,n){}function a(t,e,n,r){return e===t[E]&&n===t[V]&&r===t[T]}function c(t){var e=n.i(g.a)(t);return n.i(m.a)(e).reduce(function(t,r){return t[r]=n.i(k.a)(e[r]),t},{})}function l(t){var e=c(t);return function(t){n.i(m.a)(e).forEach(function(n){var r=e[n];r.beforeDefineProperty(t);var i=n in t,o=i&&t[n];Object.defineProperty(t,n,r),i&&(t[n]=o)})}}var f=n(13),s=(n.n(f),n(0)),d=n(4),p=n(24),h=n(5),y=n(26),v=n(9),b=n(30),m=n(1),g=n(10),_=n(7),k=n(22),O=n(2),w=n(23),A=n(11),S=n(3),j=n.n(S),C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var u=i.get;if(void 0!==u)return u.call(r)},P=j.a.HTMLElement||function(){function t(){o(this,t)}return t}(),E=n.i(p.a)("prevName"),V=n.i(p.a)("prevOldValue"),T=n.i(p.a)("prevNewValue"),M=function(t){function e(){var t;o(this,e);for(var i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];var f=r(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),d=f.constructor;f[s.b]=!0,d.hasOwnProperty(s.g)||n.i(A.a)(d,s.g,l(d)),f[s.h]=n.i(y.a)(f[s.c].bind(f));var p=n.i(m.a)(n.i(g.a)(d)).length;p&&d[s.g]&&d[s.g](f),!f.renderCallback&&d.render&&(u(f,"static render","renderCallback"),f.renderCallback=d.render.bind(d,f));var v=d.created;n.i(O.c)(v)&&(u(f,"static created","constructor"),v(f));var b=n.i(h.a)(f),_=b.readyCallbacks;return _&&(_.forEach(function(t){return t(f)}),delete b.readyCallbacks),f}return i(e,t),C(e,null,[{key:"observedAttributes",get:function(){var t=this.hasOwnProperty(s.e)?this[s.e]:[],r=n.i(g.a)(this),i=Object.keys(r).map(function(t){return r[t].attrSource}).filter(Boolean),o=i.concat(t).concat(x(e.__proto__||Object.getPrototypeOf(e),"observedAttributes",this));return o.filter(function(t,e){return o.indexOf(t)===e})},set:function(t){t=Array.isArray(t)?t:[],n.i(A.a)(this,"observedAttributes",t)}},{key:"props",get:function(){return n.i(d.a)({},x(e.__proto__||Object.getPrototypeOf(e),"props",this),this[s.f])},set:function(t){n.i(A.a)(this,s.f,t)}}]),C(e,[{key:"connectedCallback",value:function(){n.i(v.a)(this).resumeAttributesUpdates(),this[s.i]=!0,this[s.h]();var t=this.constructor.attached;n.i(O.c)(t)&&(u(this,"static attached","connectedCallback"),t(this)),this.setAttribute("defined","")}},{key:"disconnectedCallback",value:function(){n.i(v.a)(this).suspendAttributesUpdates(),this[s.i]=!1;var t=this.constructor.detached;n.i(O.c)(t)&&(u(this,"static detached","disconnectedCallback"),t(this))}},{key:"attributeChangedCallback",value:function(t,e,r){if(!a(this,t,e,r)){this[E]=t,this[V]=e,this[T]=r;var i=n.i(h.a)(this,"attrSourceLinks")[t];if(i){var o=n.i(v.a)(this).onAttributeChanged(t,r);if(o){var c=n.i(g.a)(this.constructor)[i],l=null!==r&&c.deserialize?c.deserialize(r):r,f=n.i(h.a)(this,"props")[i];f.settingPropFromAttrSource=!0,this[i]=l,f.settingPropFromAttrSource=!1}}var s=this.constructor.attributeChanged;n.i(O.c)(s)&&(u(this,"static attributeChanged","attributeChangedCallback"),s(this,{name:t,newValue:r,oldValue:e}))}}},{key:"updatedCallback",value:function(t){return this.constructor.hasOwnProperty("updated")&&u(this,"static updated","updatedCallback"),this.constructor.updated(this,t)}},{key:"renderedCallback",value:function(){return this.constructor.hasOwnProperty("rendered")&&u(this,"static rendered","renderedCallback"),this.constructor.rendered(this)}},{key:"rendererCallback",value:function(){return this.constructor.renderer(this)}},{key:s.c,value:function(){!this[s.j]&&this[s.i]&&(this[s.j]=!0,this[s.k]()&&n.i(O.c)(this.renderCallback)&&(this.rendererCallback(),this.renderedCallback()),this[s.j]=!1)}},{key:s.k,value:function(){var t=this[s.l];return this[s.l]=n.i(_.a)(this),this.updatedCallback(t)}}],[{key:"extend",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,u=function(t){function e(){return o(this,e),r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(e),a=n.i(b.a)(t),c=n.i(b.a)(t.prototype);return delete a.prototype,Object.defineProperties(u,a),Object.defineProperties(u.prototype,c),u}},{key:"rendered",value:function(){}},{key:"renderer",value:function(t){t.shadowRoot||t.attachShadow({mode:"open"}),n.i(f.patchInner)(t.shadowRoot,function(){var e=t.renderCallback(t);n.i(O.c)(e)?e():Array.isArray(e)&&e.forEach(function(t){n.i(O.c)(t)&&t()})})}},{key:"updated",value:function(t,e){if(!e)return!0;for(var r=n.i(m.a)(e),i=0;i<r.length;i++){var o=r[i];if(!n.i(w.a)(e[o],t[o]))return!0}return!1}}]),e}(P);M.is="",e.a=M},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){var e=t[l];return e||(e=new c(t),t[l]=e),e}var o=n(12),u=n(2);e.a=i;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(){function t(e){r(this,t),this.elem=e,this.connected=!1,this.pendingValues={},this.lastSetValues={}}return a(t,[{key:"suspendAttributesUpdates",value:function(){this.connected=!1}},{key:"resumeAttributesUpdates",value:function(){var t=this;this.connected=!0;var e=Object.keys(this.pendingValues);e.forEach(function(e){var r=t.pendingValues[e];n.i(u.a)(r)||(delete t.pendingValues[e],t._syncAttrValue(e,r))})}},{key:"onAttributeChanged",value:function(t,e){e=n.i(o.a)(e),this._clearPendingValue(t);var r=this.lastSetValues[t]!==e;return this.lastSetValues[t]=e,r}},{key:"setAttrValue",value:function(t,e){e=n.i(o.a)(e),this.lastSetValues[t]=e,this.connected?(this._clearPendingValue(t),this._syncAttrValue(t,e)):this.pendingValues[t]=e}},{key:"_syncAttrValue",value:function(t,e){var r=n.i(o.a)(this.elem.getAttribute(t));e!==r&&(null===e?this.elem.removeAttribute(t):this.elem.setAttribute(t,e))}},{key:"_clearPendingValue",value:function(t){t in this.pendingValues&&delete this.pendingValues[t]}}]),t}(),l="____skate_attributesMgr"},function(t,e,n){"use strict";function r(t){return t.hasOwnProperty(i.d)||!function(){var e=t.props||{},r=n.i(o.a)(e).reduce(function(t,n){return t[n]=new u.a(n,e[n]),t},{});n.i(a.a)(t,i.d,r)}(),t[i.d]}var i=n(0),o=n(1),u=n(34),a=n(11);e.a=r},function(t,e,n){"use strict";function r(t,e,n){Object.defineProperty(t,e,{configurable:!0,value:n})}e.a=r},function(t,e,n){"use strict";var r=n(6),i=function(t){return n.i(r.a)(t)?null:String(t)};e.a=i},function(t,e,n){"use strict";function r(t,e){this.attrs=c(),this.attrsArr=[],this.newAttrs=c(),this.key=e,this.keyMap=null,this.keyMapValid=!0,this.nodeName=t,this.text=null}function i(){this.created=j.nodesCreated&&[],this.deleted=j.nodesDeleted&&[]}/**
* @license
* Copyright 2015 The Incremental DOM Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS-IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var o=Object.prototype.hasOwnProperty,u=Object.create,a=function(t,e){return o.call(t,e)},c=function(){return u(null)},l=function(t,e,n){var i=new r(e,n);return t.__incrementalDOMData=i,i},f=function(t){var e=t.__incrementalDOMData;if(!e){var n=t.nodeName.toLowerCase(),r=null;t instanceof Element&&(r=t.getAttribute("key")),e=l(t,n,r)}return e},s={default:"__default",placeholder:"__placeholder"},d=function(t){return 0===t.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===t.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":void 0},p=function(t,e,n){if(null==n)t.removeAttribute(e);else{var r=d(e);r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}},h=function(t,e,n){t[e]=n},y=function(t,e,n){if("string"==typeof n)t.style.cssText=n;else{t.style.cssText="";var r=t.style,i=n;for(var o in i)a(i,o)&&(r[o]=i[o])}},v=function(t,e,n){var r=typeof n;"object"===r||"function"===r?h(t,e,n):p(t,e,n)},b=function(t,e,n){var r=f(t),i=r.attrs;if(i[e]!==n){var o=m[e]||m[s.default];o(t,e,n),i[e]=n}},m=c();m[s.default]=v,m[s.placeholder]=function(){},m.style=y;var g=function(t,e){return"svg"===t?"http://www.w3.org/2000/svg":"foreignObject"===f(e).nodeName?null:e.namespaceURI},_=function(t,e,n,r,i){var o=g(n,e),u=void 0;if(u=o?t.createElementNS(o,n):t.createElement(n),l(u,n,r),i)for(var a=0;a<i.length;a+=2)b(u,i[a],i[a+1]);return u},k=function(t){var e=t.createTextNode("");return l(e,"#text",null),e},O=function(t){for(var e=c(),n=t.firstElementChild;n;){var r=f(n).key;r&&(e[r]=n),n=n.nextElementSibling}return e},w=function(t){var e=f(t);return e.keyMap||(e.keyMap=O(t)),e.keyMap},A=function(t,e){return e?w(t)[e]:null},S=function(t,e,n){w(t)[e]=n},j={nodesCreated:null,nodesDeleted:null};i.prototype.markCreated=function(t){this.created&&this.created.push(t)},i.prototype.markDeleted=function(t){this.deleted&&this.deleted.push(t)},i.prototype.notifyChanges=function(){this.created&&this.created.length>0&&j.nodesCreated(this.created),this.deleted&&this.deleted.length>0&&j.nodesDeleted(this.deleted)};var C=null,x=null,P=null,E=null,V=null,T=function(t){var e=function(e,n,r){var o=C,u=E,a=V,c=x,l=P;C=new i,E=e,V=e.ownerDocument,P=e.parentNode,t(e,n,r),C.notifyChanges(),C=o,E=u,V=a,x=c,P=l};return e},M=T(function(t,e,n){x=t,I(),e(n),F()}),N=T(function(t,e,n){x={nextSibling:t},e(n)}),z=function(t,e){var n=f(x);return t===n.nodeName&&e==n.key},D=function(t,e,n){if(!x||!z(t,e)){var r=void 0;e&&(r=A(P,e)),r||(r="#text"===t?k(V):_(V,P,t,e,n),e&&S(P,e,r),C.markCreated(r)),x&&f(x).key?(P.replaceChild(r,x),f(P).keyMapValid=!1):P.insertBefore(r,x),x=r}},L=function(){var t=P,e=f(t),n=e.keyMap,r=e.keyMapValid,i=t.lastChild,o=void 0;if(!(i===x&&r||e.attrs[s.placeholder]&&t!==E)){for(;i!==x;)t.removeChild(i),C.markDeleted(i),o=f(i).key,o&&delete n[o],i=t.lastChild;if(!r){for(o in n)i=n[o],i.parentNode!==t&&(C.markDeleted(i),delete n[o]);e.keyMapValid=!0}}},I=function(){P=x,x=null},U=function(){x=x?x.nextSibling:P.firstChild},F=function(){L(),x=P,P=P.parentNode},H=function(t,e,n){return U(),D(t,e,n),I(),P},R=function(){return F(),x},J=function(){return U(),D("#text",null,null),x},B=function(){return P},K=function(){x=P.lastChild},q=3,G=[],X=function(t,e,n,r){for(var i=H(t,e,n),o=f(i),u=o.attrsArr,a=o.newAttrs,c=!1,l=q,s=0;l<arguments.length;l+=1,s+=1)if(u[s]!==arguments[l]){c=!0;break}for(;l<arguments.length;l+=1,s+=1)u[s]=arguments[l];if(s<u.length&&(c=!0,u.length=s),c){for(l=q;l<arguments.length;l+=2)a[arguments[l]]=arguments[l+1];for(var d in a)b(i,d,a[d]),a[d]=void 0}return i},Y=function(t,e,n){G[0]=t,G[1]=e,G[2]=n},Z=function(t,e){G.push(t,e)},Q=function(){var t=X.apply(null,G);return G.length=0,t},W=function(t){var e=R();return e},$=function(t,e,n,r){return X.apply(null,arguments),W(t)},tt=function(t,e,n,r){return X.apply(null,arguments),K(),W(t)},et=function(t,e){var n=J(),r=f(n);if(r.text!==t){r.text=t;for(var i=t,o=1;o<arguments.length;o+=1){var u=arguments[o];i=u(i)}n.data=i}return n};e.patch=M,e.patchInner=M,e.patchOuter=N,e.currentElement=B,e.skip=K,e.elementVoid=$,e.elementOpenStart=Y,e.elementOpenEnd=Q,e.elementOpen=X,e.elementClose=W,e.elementPlaceholder=tt,e.text=et,e.attr=Z,e.symbols=s,e.attributes=m,e.applyAttr=p,e.applyProp=h,e.notifications=j},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),i=n(20),o=n(21),u=n(8),a=n(15),c=n(16),l=n(17),f=n(7),s=n(19);n.d(e,"vdom",function(){return o}),n.d(e,"Component",function(){return u.a}),n.d(e,"define",function(){return a.a}),n.d(e,"emit",function(){return c.a}),n.d(e,"link",function(){return l.a}),n.d(e,"prop",function(){return r}),n.d(e,"props",function(){return f.a}),n.d(e,"ready",function(){return s.a}),n.d(e,"symbols",function(){return i}),n.d(e,"h",function(){return d});var d=o.builder()},function(t,e,n){"use strict";var r=n(8),i=n(35),o=n(3),u=n.n(o),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.a=function(){for(var t=u.a.customElements,e=u.a.HTMLElement,o=arguments.length,c=Array(o),l=0;l<o;l++)c[l]=arguments[l];var f=c[0],s=c[1];if(!t)throw new Error("Skate requires native custom element support or a polyfill.");if(1===c.length&&(s=f,f=null),"object"===("undefined"==typeof s?"undefined":a(s))&&(s=r.a.extend(s)),!(s.prototype instanceof e))throw new Error("You must provide a constructor that extends HTMLElement to define().");return 2===c.length?t.define(t.get(f)?n.i(i.a)(f):f,s):(s.hasOwnProperty("is")||(s.is=n.i(i.a)()),t.define(s.is,s)),s}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.detail;delete e.detail;var r=void 0;return u?(r=new u(t,e),Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),Object.defineProperty(r,"composed",{value:e.composed}),r.initCustomEvent(t,e.bubbles,e.cancelable,n)),r}var i=n(3),o=n.n(i),u=function(t){if(t)try{new t("emit-init")}catch(t){return}return t}(o.a.Event);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),t.dispatchEvent(r(e,n))}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t){var e=t.type;return"checkbox"===e||"radio"===e?!!t.checked&&(t.value||!0):t.value}var o=n(7);e.a=function(t,e){return function(u){var a=u.target||u.composedPath()[0],c=i(a),l=e||a.name||"value";if(l.indexOf(".")>-1){var f=l.split("."),s=f[0],d=f.pop(),p=f.reduce(function(t,e){return t&&t[e]},t);p[d||u.target.name]=c,n.i(o.a)(t,r({},s,t[s]))}else n.i(o.a)(t,r({},l,c))}}},function(t,e,n){"use strict";function r(t){return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.unshift({},t),i.a.apply(void 0,n)}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),o=n(6),u=n(12);e.create=r,n.d(e,"array",function(){return c}),n.d(e,"boolean",function(){return l}),n.d(e,"number",function(){return s}),n.d(e,"string",function(){return d}),n.d(e,"object",function(){return p});var a=function(t){return n.i(o.a)(t)?null:JSON.parse(t)},c=r({coerce:function(t){return Array.isArray(t)?t:n.i(o.a)(t)?null:[t]},default:function(){return[]},deserialize:a,serialize:JSON.stringify}),l=r({coerce:function(t){return!!t},default:!1,deserialize:function(t){return!(null===t)},serialize:function(t){return t?"":null}}),f=function(t){return n.i(o.a)(t)?0:Number(t)},s=r({default:0,coerce:f,deserialize:f,serialize:u.a}),d=r({default:"",coerce:u.a,deserialize:u.a,serialize:u.a}),p=r({default:function(){return{}},deserialize:a,serialize:JSON.stringify})},function(t,e,n){"use strict";var r=n(0),i=n(5);e.a=function(t,e){var o=n.i(i.a)(t);t[r.b]?e(t):o.readyCallbacks?o.readyCallbacks.push(e):o.readyCallbacks=[e]}},function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"name",function(){return r.a})},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e,n){var r=t[C];r||(r=t[C]={}),"undefined"==typeof r[e]&&t.addEventListener(e,function(t){r[e]&&r[e].call(this,t)}),r[e]="function"==typeof n?n:null}function u(t){if(!t)return t;if(t.is)return t.is;if(t.prototype instanceof w){if(t[b.a])return t[b.a];var e=new t;return e[b.a]=e.localName}return t}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;E=[t,e,n]}function c(){var t=L.apply(void 0,r(E));return E=null,t}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T;return function r(){for(var i=arguments.length,o=Array(i),l=0;l<i;l++)o[l]=arguments[l];if(o[0]=u(o[0]),P=null,"function"==typeof o[0])return P=o[0],e.apply(void 0,o);if(S.length)S[S.length-1].push([r,o]);else{if(t===N){if(V)return++V;var f=t.apply(void 0,o);return f[j]&&++V,f}if(t===v.elementClose){if(1===V&&n.i(v.skip)(),V&&--V)return;var s=t.apply(void 0,o),d=s[b.m];return delete s[b.m],"function"==typeof d&&d(s),s}if(!V||t===a||t===c)return t.apply(void 0,o)}}}function f(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];P?P[x][e[0]]=e[1]:S.length?S[S.length-1].push([f,e]):(E.push(e[0]),E.push(e[1]))}function s(t,e,n){for(var r={key:e,statics:n},i=arguments.length,o=Array(i>3?i-3:0),u=3;u<i;u++)o[u-3]=arguments[u];for(var a=0;a<o.length;a+=2)r[o[a]]=o[a+1];t[x]=r,S.push([])}function d(t){var e=S.pop(),n=t[x];delete t[x];var i=t(n,function(){return e.forEach(function(t){return t[0].apply(t,r(t[1]))})});return"function"==typeof i?i():i}function p(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return L.apply(void 0,[t].concat(n)),I(t)}function h(t,e){for(var n="undefined"==typeof e?"undefined":k(e),r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return"function"!==n&&"string"!==n&&"number"!==n||i.unshift(e),null!==e&&"object"===n||(e={}),z(t,e.key,e.statics),delete e.key,delete e.statics,Object.keys(e).forEach(function(t){return f(t,e[t])}),D(t),i.forEach(function(t){var e="undefined"==typeof t?"undefined":k(t);"function"===e?t():"string"===e||"number"===e?U(t):Array.isArray(t)&&t.forEach(function(t){return t()})}),I(t)}function y(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return h.bind.apply(h,[null].concat(e))}:e.map(function(t){return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return h.bind.apply(h,[null,t].concat(n))}})}Object.defineProperty(e,"__esModule",{value:!0});var v=n(13),b=(n.n(v),n(0)),m=n(33),g=n(3),_=n.n(g);e.element=h,e.builder=y,n.d(e,"attr",function(){return f}),n.d(e,"elementClose",function(){return I}),n.d(e,"elementOpen",function(){return L}),n.d(e,"elementOpenEnd",function(){return D}),n.d(e,"elementOpenStart",function(){return z}),n.d(e,"elementVoid",function(){return p}),n.d(e,"text",function(){return U});var k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O=_.a.customElements,w=_.a.HTMLElement,A=v.attributes[v.symbols.default],S=[],j="__skip",C="__events",x="__props",P=void 0,E=void 0,V=0,T=function(){},M=n.i(m.a)(v.attributes,i({key:T,statics:T,checked:v.applyProp,className:v.applyProp,disabled:v.applyProp,value:v.applyProp,ref:function(t,e,n){t[b.m]=n},skip:function(t,e,n){n?t[j]=!0:delete t[j]}},v.symbols.default,function(t,e,r){var i=O.get(t.localName),u=i&&i.props||{},a=i&&i.prototype||{};if((e in u||e in t||e in a)&&!("ownerSVGElement"in t))return void n.i(v.applyProp)(t,e,r);if(r===!1)return void A(t,e);if(0===e.indexOf("on")){var c=e[2],l=void 0;if("-"===c?l=e.substring(3):c===c.toUpperCase()&&(l=c.toLowerCase()+e.substring(3)),l)return void o(t,l,r)}A(t,e,r)})),N=M(v.elementOpen),z=l(a,s),D=l(c),L=l(N,s),I=l(v.elementClose,d),U=l(v.text)},function(t,e,n){"use strict";function r(t){var e=t.nameOrSymbol,r={configurable:!0,enumerable:!0};return r.beforeDefineProperty=function(r){var i=n.i(f.a)(r,e),s=t.attrSource;s&&(n.i(o.a)(r,"attrSourceLinks")[s]=e);var d=r[e],p=!1;n.i(u.a)(d)&&(s&&r.hasAttribute(s)?(p=!0,d=t.deserialize(r.getAttribute(s))):d="initial"in t?n.i(l.a)(r,t):n.i(c.a)(r,t)),d=t.coerce(d),i.internalValue=d;var h=t.attrTarget&&!n.i(u.a)(d)&&(!p||t.attrTargetIsNotSource);if(h){var y=t.serialize(d);n.i(a.a)(r).setAttrValue(t.attrTarget,y)}},r.get=function(){var r=n.i(f.a)(this,e),i=r.internalValue;return t.get?t.get(this,{name:e,internalValue:i}):i},r.set=function(r){var o=n.i(f.a)(this,e),l=n.i(u.a)(r);if(l&&(r=n.i(c.a)(this,t)),r=t.coerce(r),t.set){var s=o.oldValue;n.i(u.a)(s)&&(s=null);var d={name:e,newValue:r,oldValue:s};t.set(this,d)}this[i.h](this),o.internalValue=o.oldValue=r;var p=t.attrTarget&&(t.attrTargetIsNotSource||!o.settingPropFromAttrSource);if(p){var h=l?null:t.serialize(r);n.i(a.a)(this).setAttrValue(t.attrTarget,h)}},r}var i=n(0),o=n(5),u=n(6),a=n(9),c=n(28),l=n(29),f=n(31);e.a=r},function(t,e,n){"use strict";Object.is||(Object.is=function(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}),e.a=Object.is},function(t,e,n){"use strict";function r(t){return"function"==typeof Symbol?Symbol(t):t}e.a=r},function(t,e,n){"use strict";e.a=function(t){return t.split(/([A-Z])/).reduce(function(t,e,n){var r=t&&n%2!==0?"-":"";return""+t+r+e.toLowerCase()})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t){var e=!1,n=0,i=[],o=document.createElement("span"),u=new l(function(){t.apply(void 0,r(i)),e=!1,i=null});return u.observe(o,{childList:!0}),function(){for(var t=arguments.length,r=Array(t),u=0;u<t;u++)r[u]=arguments[u];i=r,e||(e=!0,o.textContent=""+n,n+=1)}}function o(t){var e=!1,n=[];return function(){for(var i=arguments.length,o=Array(i),u=0;u<i;u++)o[u]=arguments[u];n=o,e||(e=!0,setTimeout(function(){e=!1,t.apply(void 0,r(n))},1))}}var u=n(32),a=n(3),c=n.n(a),l=c.a.MutationObserver;e.a=n.i(u.a)(l)?i:o},function(t,e,n){"use strict";function r(t){throw new Error(t)}e.a=r},function(t,e,n){"use strict";function r(t,e){return"function"==typeof e.default?e.default(t,{name:e.nameOrSymbol}):e.default}e.a=r},function(t,e,n){"use strict";function r(t,e){return"function"==typeof e.initial?e.initial(t,{name:e.nameOrSymbol}):e.initial}e.a=r},function(t,e,n){"use strict";var r=n(1);e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.i(r.a)(t).reduce(function(e,n){return e[n]=Object.getOwnPropertyDescriptor(t,n),e},{})}},function(t,e,n){"use strict";function r(t,e){var r=n.i(i.a)(t,"props");return r[e]||(r[e]={})}var i=n(5);e.a=r},function(t,e,n){"use strict";var r=["native code","[object MutationObserverConstructor]"];e.a=function(t){return r.map(function(e){return(t||"").toString().indexOf([e])>-1}).reduce(function(t,e){return t||e})}},function(t,e,n){"use strict";function r(t,e){var n={};return Object.keys(e).forEach(function(r){n[r]=t[r],t[r]=e[r]}),n}function i(t,e){n.i(o.a)(t,e)}var o=n(4);e.a=function(t,e){return function(n){return function(){var o=r(t,e),u=n.apply(void 0,arguments);return i(t,o),u}}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(n.i(c.d)(e))n.i(a.a)(e.toString()+" symbol property cannot have an attribute.");else{if(t===!0)return n.i(o.a)(String(e));if(n.i(c.e)(t))return t}return null}var o=n(25),u=n(6),a=n(27),c=n(2),l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(){function t(e,o){var l=this;r(this,t),this._nameOrSymbol=e,o=o||{},this.attrSource=null,this.attrTarget=null,this.attrTargetIsNotSource=!1,this.coerce=function(t){return t},this.default=null,this.deserialize=function(t){return t},this.get=null,this.serialize=function(t){return n.i(u.a)(t)?null:String(t)},this.set=null,Object.keys(o).forEach(function(t){var r=o[t];switch(t){case"attribute":if(n.i(c.b)(r)){var u=r.source,f=r.target;u||f||n.i(a.a)(t+" 'source' or 'target' is missing."),l.attrSource=i(u,e),l.attrTarget=i(f,e),l.attrTargetIsNotSource=l.attrTarget!==l.attrSource}else l.attrSource=l.attrTarget=i(r,e);break;case"coerce":case"deserialize":case"get":case"serialize":case"set":n.i(c.c)(r)?l[t]=r:n.i(a.a)(t+" must be a function.");break;case"default":case"initial":l[t]=r;break;default:l[t]=r}})}return l(t,[{key:"nameOrSymbol",get:function(){return this._nameOrSymbol}}]),t}();e.a=f},function(t,e,n){"use strict";function r(t){var e="xxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0,n="x"===t?e:3&e|8;return n.toString(16)});return(t||"x")+"-"+e}e.a=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){t.exports=n(14)}])});
//# sourceMappingURL=index-with-deps.min.js.map

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("incremental-dom"),require("window-or-global")):"function"==typeof define&&define.amd?define(["exports","incremental-dom","window-or-global"],t):t(e.skate=e.skate||{},e.IncrementalDOM,e.windowOrGlobal)}(this,function(e,t,n){function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.getOwnPropertyNames(e);return K(Object.getOwnPropertySymbols)?t.concat(Object.getOwnPropertySymbols(e)):t}function o(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),X.apply(void 0,n)}}function i(e,t){var n={};return Object.keys(t).forEach(function(r){n[r]=e[r],e[r]=t[r]}),n}function u(e,t){X(e,t)}function a(e,t,n){var r=e[Ce];r||(r=e[Ce]={}),"undefined"==typeof r[t]&&e.addEventListener(t,function(e){r[t]&&r[t].call(this,e)}),r[t]="function"==typeof n?n:null}function c(e){if(!e)return e;if(e[se])return e[se];if(e.prototype instanceof Ae){var t=new e;return e[se]=t.localName}return e}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;xe=[e,t,n]}function s(){var e=Le.apply(void 0,H(xe));return xe=null,e}function f(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Te;return function r(){for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];if(i[0]=c(i[0]),Ve=null,"function"==typeof i[0])return Ve=i[0],n.apply(void 0,i);if(Pe.length)Pe[Pe.length-1].push([r,i]);else{if(e===Ie){if(ze)return++ze;var a=e.apply(void 0,i);return a[je]&&++ze,a}if(e===t.elementClose){if(1===ze&&t.skip(),ze&&--ze)return;var f=e.apply(void 0,i),d=f[ye];return delete f[ye],"function"==typeof d&&d(f),f}if(!ze||e===l||e===s)return e.apply(void 0,i)}}}function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];Ve?Ve[Ee][t[0]]=t[1]:Pe.length?Pe[Pe.length-1].push([d,t]):(xe.push(t[0]),xe.push(t[1]))}function p(e,t,n){for(var r={key:t,statics:n},o=arguments.length,i=Array(o>3?o-3:0),u=3;u<o;u++)i[u-3]=arguments[u];for(var a=0;a<i.length;a+=2)r[i[a]]=i[a+1];e[Ee]=r,Pe.push([])}function h(e){var t=Pe.pop(),n=e[Ee];delete e[Ee];var r=e(n,function(){return t.forEach(function(e){return e[0].apply(e,H(e[1]))})});return"function"==typeof r?r():r}function v(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Le.apply(void 0,[e].concat(n)),Ue(e)}function y(e,t){for(var n="undefined"==typeof t?"undefined":L(t),r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return"function"!==n&&"string"!==n&&"number"!==n||o.unshift(t),null!==t&&"object"===n||(t={}),Me(e,t.key,t.statics),delete t.key,delete t.statics,Object.keys(t).forEach(function(e){return d(e,t[e])}),De(e),o.forEach(function(e){var t="undefined"==typeof e?"undefined":L(e);"function"===t?e():"string"===t||"number"===t?Fe(e):Array.isArray(e)&&e.forEach(function(e){return e()})}),Ue(e)}function b(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.bind.apply(y,[null].concat(t))}:t.map(function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return y.bind.apply(y,[null,e].concat(n))}})}function g(e){return"function"==typeof Symbol?Symbol(e):e}function m(e){var t=!1,n=0,r=[],o=document.createElement("span"),i=new He(function(){e.apply(void 0,H(r)),t=!1,r=null});return i.observe(o,{childList:!0}),function(){for(var e=arguments.length,i=Array(e),u=0;u<e;u++)i[u]=arguments[u];r=i,t||(t=!0,o.textContent=""+n,n+=1)}}function _(e){var t=!1,n=[];return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];n=o,t||(t=!0,setTimeout(function(){t=!1,e.apply(void 0,H(n))},1))}}function k(e){var t=e[We];return t||(t=new Be(e),e[We]=t),t}function O(e){throw new Error(e)}function w(e,t){if(Z(t))O(t.toString()+" symbol property cannot have an attribute.");else{if(e===!0)return Qe(String(t));if(W(e))return e}return null}function A(e,t,n){Object.defineProperty(e,t,{configurable:!0,value:n})}function S(e){return e.hasOwnProperty(he)||!function(){var t=e.props||{},n=r(t).reduce(function(e,n){return e[n]=new Xe(n,t[n]),e},{});A(e,he,n)}(),e[he]}function P(e){var t={};return r(S(e.constructor)).forEach(function(n){t[n]=e[n]}),t}function j(e,t){X(e,t),e[be]&&e[be]()}function C(e,t){return"function"==typeof t.default?t.default(e,{name:t.nameOrSymbol}):t.default}function E(e,t){return"function"==typeof t.initial?t.initial(e,{name:t.nameOrSymbol}):t.initial}function V(e,t){var n=Je(e,"props");return n[t]||(n[t]={})}function x(e){var t=e.nameOrSymbol,n={configurable:!0,enumerable:!0};return n.beforeDefineProperty=function(n){var r=V(n,t),o=e.attrSource;o&&(Je(n,"attrSourceLinks")[o]=t);var i=n[t],u=!1;Y(i)&&(o&&n.hasAttribute(o)?(u=!0,i=e.deserialize(n.getAttribute(o))):i="initial"in e?E(n,e):C(n,e)),i=e.coerce(i),r.internalValue=i;var a=e.attrTarget&&!Y(i)&&(!u||e.attrTargetIsNotSource);if(a){var c=e.serialize(i);k(n).setAttrValue(e.attrTarget,c)}},n.get=function(){var n=V(this,t),r=n.internalValue;return e.get?e.get(this,{name:t,internalValue:r}):r},n.set=function(n){var r=V(this,t),o=Y(n);if(o&&(n=C(this,e)),n=e.coerce(n),e.set){var i=r.oldValue;Y(i)&&(i=null);var u={name:t,newValue:n,oldValue:i};e.set(this,u)}this[me](this),r.internalValue=r.oldValue=n;var a=e.attrTarget&&(e.attrTargetIsNotSource||!r.settingPropFromAttrSource);if(a){var c=o?null:e.serialize(n);k(this).setAttrValue(e.attrTarget,c)}},n}function z(e,t,n,r){return t===e[tt]&&n===e[nt]&&r===e[rt]}function T(e){var t=S(e);return r(t).reduce(function(e,n){return e[n]=x(t[n]),e},{})}function N(e){var t=T(e);return function(e){r(t).forEach(function(n){var r=t[n];r.beforeDefineProperty(e);var o=n in e,i=o&&e[n];Object.defineProperty(e,n,r),o&&(e[n]=i)})}}function I(e){var t="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)});return(e||"x")+"-"+t}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.detail;delete t.detail;var r=void 0;return ut?(r=new ut(e,t),Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),Object.defineProperty(r,"composed",{value:t.composed}),r.initCustomEvent(e,t.bubbles,t.cancelable,n)),r}function D(e){var t=e.type;return"checkbox"===t||"radio"===t?!!e.checked&&(e.value||!0):e.value}n="default"in n?n.default:n;var L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var a={key:e,arg:t,resolve:n,reject:o,next:null};u?u=u.next=a:(i=u=a,r(e,t))})}function r(n,i){try{var u=t[n](i),a=u.value;a instanceof e?Promise.resolve(a.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(u.done?"return":"normal",u.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):u=null}var i,u;this._invoke=n,"function"!=typeof t.return&&(this.return=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new t(e.apply(this,arguments))}},await:function(t){return new e(t)}}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),F=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),q=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},J=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var u=o.get;if(void 0!==u)return u.call(r)},R=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},G=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},H=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},K=function(e){return"function"==typeof e},B=function(e){return"object"===("undefined"==typeof e?"undefined":L(e))&&null!==e},W=function(e){return"string"==typeof e},Z=function(e){return"symbol"===("undefined"==typeof e?"undefined":L(e))},Q=function(e){return"undefined"==typeof e},X=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.forEach(function(t){return r(t).forEach(function(n){return e[n]=t[n]})}),e},Y=function(e){return"undefined"==typeof e||null===e},$=function(e){return Y(e)?null:String(e)},ee=function(e){return Y(e)?null:JSON.parse(e)},te=o({coerce:function(e){return Array.isArray(e)?e:Y(e)?null:[e]},default:function(){return[]},deserialize:ee,serialize:JSON.stringify}),ne=o({coerce:function(e){return!!e},default:!1,deserialize:function(e){return!(null===e)},serialize:function(e){return e?"":null}}),re=function(e){return Y(e)?0:Number(e)},oe=o({default:0,coerce:re,deserialize:re,serialize:$}),ie=o({default:"",coerce:$,deserialize:$,serialize:$}),ue=o({default:function(){return{}},deserialize:ee,serialize:JSON.stringify}),ae=Object.freeze({create:o,array:te,boolean:ne,number:oe,string:ie,object:ue}),ce="____skate_connected",le="____skate_created",se="____skate_name",fe="____skate_ctor_createInitProps",de="____skate_ctor_observedAttributes",pe="____skate_ctor_props",he="____skate_ctor_propsMap",ve="____skate_props",ye="____skate_ref",be="____skate_renderer",ge="____skate_rendering",me="____skate_rendererDebounced",_e="____skate_updated",ke=Object.freeze({name:se}),Oe=function(e,t){return function(n){return function(){var r=i(e,t),o=n.apply(void 0,arguments);return u(e,r),o}}},we=n.customElements,Ae=n.HTMLElement,Se=t.attributes[t.symbols.default],Pe=[],je="__skip",Ce="__events",Ee="__props",Ve=void 0,xe=void 0,ze=0,Te=function(){},Ne=Oe(t.attributes,q({key:Te,statics:Te,checked:t.applyProp,className:t.applyProp,disabled:t.applyProp,value:t.applyProp,ref:function(e,t,n){e[ye]=n},skip:function(e,t,n){n?e[je]=!0:delete e[je]}},t.symbols.default,function(e,n,r){var o=we.get(e.localName)||{props:{},prototype:{}},i=o.props,u=o.prototype;if((n in i||n in e||n in u)&&!("ownerSVGElement"in e))return void t.applyProp(e,n,r);if(r===!1)return void Se(e,n);if(0===n.indexOf("on")){var c=n[2],l=void 0;if("-"===c?l=n.substring(3):c===c.toUpperCase()&&(l=c.toLowerCase()+n.substring(3)),l)return void a(e,l,r)}Se(e,n,r)})),Ie=Ne(t.elementOpen),Me=f(l,p),De=f(s),Le=f(Ie,p),Ue=f(t.elementClose,h),Fe=f(t.text),qe=Object.freeze({element:y,builder:b,attr:d,elementClose:Ue,elementOpen:Le,elementOpenEnd:De,elementOpenStart:Me,elementVoid:v,text:Fe}),Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n},Re=["native code","[object MutationObserverConstructor]"],Ge=function(e){return Re.map(function(t){return(e||"").toString().indexOf([t])>-1}).reduce(function(e,t){return e||t})},He=n.MutationObserver,Ke=Ge(He)?m:_,Be=function(){function e(t){U(this,e),this.elem=t,this.connected=!1,this.pendingValues={},this.lastSetValues={}}return F(e,[{key:"suspendAttributesUpdates",value:function(){this.connected=!1}},{key:"resumeAttributesUpdates",value:function(){var e=this;this.connected=!0;var t=Object.keys(this.pendingValues);t.forEach(function(t){var n=e.pendingValues[t];Q(n)||(delete e.pendingValues[t],e._syncAttrValue(t,n))})}},{key:"onAttributeChanged",value:function(e,t){t=$(t),this._clearPendingValue(e);var n=this.lastSetValues[e]!==t;return this.lastSetValues[e]=t,n}},{key:"setAttrValue",value:function(e,t){t=$(t),this.lastSetValues[e]=t,this.connected?(this._clearPendingValue(e),this._syncAttrValue(e,t)):this.pendingValues[e]=t}},{key:"_syncAttrValue",value:function(e,t){var n=$(this.elem.getAttribute(e));t!==n&&(null===t?this.elem.removeAttribute(e):this.elem.setAttribute(e,t))}},{key:"_clearPendingValue",value:function(e){e in this.pendingValues&&delete this.pendingValues[e]}}]),e}(),We="____skate_attributesMgr",Ze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(e).reduce(function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t},{})},Qe=function(e){return e.split(/([A-Z])/).reduce(function(e,t,n){var r=e&&n%2!==0?"-":"";return""+e+r+t.toLowerCase()})},Xe=function(){function e(t,n){var r=this;U(this,e),this._nameOrSymbol=t,n=n||{},this.attrSource=null,this.attrTarget=null,this.attrTargetIsNotSource=!1,this.coerce=function(e){return e},this.default=null,this.deserialize=function(e){return e},this.get=null,this.serialize=function(e){return Y(e)?null:String(e)},this.set=null,Object.keys(n).forEach(function(e){var o=n[e];switch(e){case"attribute":if(B(o)){var i=o.source,u=o.target;i||u||O(e+" 'source' or 'target' is missing."),r.attrSource=w(i,t),r.attrTarget=w(u,t),r.attrTargetIsNotSource=r.attrTarget!==r.attrSource}else r.attrSource=r.attrTarget=w(o,t);break;case"coerce":case"deserialize":case"get":case"serialize":case"set":K(o)?r[e]=o:O(e+" must be a function.");break;case"default":case"initial":r[e]=o;break;default:r[e]=o}})}return F(e,[{key:"nameOrSymbol",get:function(){return this._nameOrSymbol}}]),e}(),Ye=function(e,t){return Q(t)?P(e):j(e,t)};Object.is||(Object.is=function(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t});var $e=Object.is,et=n.HTMLElement||function(){function e(){U(this,e)}return e}(),tt=g("prevName"),nt=g("prevOldValue"),rt=g("prevNewValue"),ot=function(e){function n(){var e;U(this,n);for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];var u=G(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(o))),a=u.constructor;u[le]=!0,a.hasOwnProperty(fe)||A(a,fe,N(a)),u[me]=Ke(u[be].bind(u));var c=r(S(a)).length;c&&a[fe]&&a[fe](u),!u.renderCallback&&a.render&&(u.renderCallback=a.render.bind(a,u));var l=a.created;K(l)&&l(u);var s=Je(u),f=s.readyCallbacks;return f&&(f.forEach(function(e){return e(u)}),delete s.readyCallbacks),u}return R(n,e),F(n,null,[{key:"observedAttributes",get:function(){var e=this.hasOwnProperty(de)?this[de]:[],t=S(this),r=Object.keys(t).map(function(e){return t[e].attrSource}).filter(Boolean),o=r.concat(e).concat(J(n.__proto__||Object.getPrototypeOf(n),"observedAttributes",this));return o.filter(function(e,t){return o.indexOf(e)===t})},set:function(e){e=Array.isArray(e)?e:[],A(this,"observedAttributes",e)}},{key:"props",get:function(){return X({},J(n.__proto__||Object.getPrototypeOf(n),"props",this),this[pe])},set:function(e){A(this,pe,e)}}]),F(n,[{key:"connectedCallback",value:function(){k(this).resumeAttributesUpdates(),this[ce]=!0,this[me]();var e=this.constructor.attached;K(e)&&e(this),this.setAttribute("defined","")}},{key:"disconnectedCallback",value:function(){k(this).suspendAttributesUpdates(),this[ce]=!1;var e=this.constructor.detached;K(e)&&e(this)}},{key:"attributeChangedCallback",value:function(e,t,n){if(!z(this,e,t,n)){this[tt]=e,this[nt]=t,this[rt]=n;var r=Je(this,"attrSourceLinks")[e];if(r){var o=k(this).onAttributeChanged(e,n);if(o){var i=S(this.constructor)[r],u=null!==n&&i.deserialize?i.deserialize(n):n,a=Je(this,"props")[r];a.settingPropFromAttrSource=!0,this[r]=u,a.settingPropFromAttrSource=!1}}var c=this.constructor.attributeChanged;K(c)&&c(this,{name:e,newValue:n,oldValue:t})}}},{key:"updatedCallback",value:function(e){return this.constructor.hasOwnProperty("updated"),this.constructor.updated(this,e)}},{key:"renderedCallback",value:function(){return this.constructor.hasOwnProperty("rendered"),this.constructor.rendered(this)}},{key:"rendererCallback",value:function(){return this.constructor.renderer(this)}},{key:be,value:function(){!this[ge]&&this[ce]&&(this[ge]=!0,this[_e]()&&K(this.renderCallback)&&(this.rendererCallback(),this.renderedCallback()),this[ge]=!1)}},{key:_e,value:function(){var e=this[ve];return this[ve]=Ye(this),this.updatedCallback(e)}}],[{key:"extend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=function(e){function t(){return U(this,t),G(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return R(t,e),t}(t),r=Ze(e),o=Ze(e.prototype);return delete r.prototype,Object.defineProperties(n,r),Object.defineProperties(n.prototype,o),n}},{key:"rendered",value:function(){}},{key:"renderer",value:function(e){e.shadowRoot||e.attachShadow({mode:"open"}),t.patchInner(e.shadowRoot,function(){var t=e.renderCallback(e);K(t)?t():Array.isArray(t)&&t.forEach(function(e){K(e)&&e()})})}},{key:"updated",value:function(e,t){if(!t)return!0;for(var n=r(t),o=0;o<n.length;o++){var i=n[o];if(!$e(t[i],e[i]))return!0}return!1}}]),n}(et),it=function(){for(var e=n.customElements,t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=r[0],u=r[1];if(!e)throw new Error("Skate requires native custom element support or a polyfill.");if(1===r.length){if("string"==typeof i)throw new Error("When passing only one argument to define(), it must be a custom element constructor.");u=i,i=I()}return e.get(i)&&(i=I(i)),"object"===("undefined"==typeof u?"undefined":L(u))&&(u=ot.extend(u)),u[se]=i,e.define(i,u),u},ut=function(e){if(e)try{new e("emit-init")}catch(e){return}return e}(n.Event),at=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),e.dispatchEvent(M(t,n))},ct=function(e,t){return function(n){var r=n.target||n.composedPath()[0],o=D(r),i=t||r.name||"value";if(i.indexOf(".")>-1){var u=i.split("."),a=u[0],c=u.pop(),l=u.reduce(function(e,t){return e&&e[t]},e);l[c||n.target.name]=o,Ye(e,q({},a,e[a]))}else Ye(e,q({},i,o))}},lt=function(e,t){var n=Je(e);e[le]?t(e):n.readyCallbacks?n.readyCallbacks.push(t):n.readyCallbacks=[t]},st=b();e.Component=ot,e.define=it,e.emit=at,e.h=st,e.link=ct,e.prop=ae,e.props=Ye,e.ready=lt,e.symbols=ke,e.vdom=qe,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=index.min.js.map
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("window-or-global"),require("incremental-dom")):"function"==typeof define&&define.amd?define(["window-or-global","incremental-dom"],e):"object"==typeof exports?exports.skatejs=e(require("window-or-global"),require("incremental-dom")):t.skatejs=e(t["window-or-global"],t["incremental-dom"])}(this,function(t,e){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=36)}([function(t,e,n){"use strict";n.d(e,"i",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"g",function(){return u}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return c}),n.d(e,"d",function(){return s}),n.d(e,"l",function(){return f}),n.d(e,"m",function(){return l}),n.d(e,"c",function(){return d}),n.d(e,"j",function(){return p}),n.d(e,"h",function(){return y}),n.d(e,"k",function(){return v});var r="____skate_connected",i="____skate_created",o="____skate_name",u="____skate_ctor_createInitProps",a="____skate_ctor_observedAttributes",c="____skate_ctor_props",s="____skate_ctor_propsMap",f="____skate_props",l="____skate_ref",d="____skate_renderer",p="____skate_rendering",y="____skate_rendererDebounced",v="____skate_updated"},function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.getOwnPropertyNames(t);return n.i(i.c)(Object.getOwnPropertySymbols)?e.concat(Object.getOwnPropertySymbols(t)):e}var i=n(2);e.a=r},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"e",function(){return u}),n.d(e,"d",function(){return a}),n.d(e,"a",function(){return c});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t){return"function"==typeof t},o=function(t){return"object"===("undefined"==typeof t?"undefined":r(t))&&null!==t},u=function(t){return"string"==typeof t},a=function(t){return"symbol"===("undefined"==typeof t?"undefined":r(t))},c=function(t){return"undefined"==typeof t}},function(e,n){e.exports=t},function(t,e,n){"use strict";var r=n(1);e.a=function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return i.forEach(function(e){return n.i(r.a)(e).forEach(function(n){return t[n]=e[n]})}),t}},function(t,e,n){"use strict";e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.__SKATE_DATA||(t.__SKATE_DATA={});return e&&(n[e]||(n[e]={}))||n}},function(t,e,n){"use strict";e.a=function(t){return"undefined"==typeof t||null===t}},function(t,e,n){"use strict";function r(t){var e={};return n.i(a.a)(n.i(c.a)(t.constructor)).forEach(function(n){e[n]=t[n]}),e}function i(t,e){n.i(u.a)(t,e),t[o.c]&&t[o.c]()}var o=n(0),u=n(4),a=n(1),c=n(10),s=n(2);e.a=function(t,e){return n.i(s.a)(e)?r(t):i(t,e)}},function(t,e,n){"use strict";function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e,n){}function a(t,e,n,r){return e===t[x]&&n===t[V]&&r===t[T]}function c(t){var e=n.i(g.a)(t);return n.i(m.a)(e).reduce(function(t,r){return t[r]=n.i(k.a)(e[r]),t},{})}function s(t){var e=c(t);return function(t){n.i(m.a)(e).forEach(function(n){var r=e[n];r.beforeDefineProperty(t);var i=n in t,o=i&&t[n];Object.defineProperty(t,n,r),i&&(t[n]=o)})}}var f=n(13),l=(n.n(f),n(0)),d=n(4),p=n(24),y=n(5),v=n(26),h=n(9),b=n(30),m=n(1),g=n(10),_=n(7),k=n(22),O=n(2),A=n(23),S=n(11),w=n(3),j=n.n(w),P=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),C=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if("value"in i)return i.value;var u=i.get;if(void 0!==u)return u.call(r)},E=j.a.HTMLElement||function(){function t(){o(this,t)}return t}(),x=n.i(p.a)("prevName"),V=n.i(p.a)("prevOldValue"),T=n.i(p.a)("prevNewValue"),z=function(t){function e(){var t;o(this,e);for(var i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];var f=r(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),d=f.constructor;f[l.b]=!0,d.hasOwnProperty(l.g)||n.i(S.a)(d,l.g,s(d)),f[l.h]=n.i(v.a)(f[l.c].bind(f));var p=n.i(m.a)(n.i(g.a)(d)).length;p&&d[l.g]&&d[l.g](f),!f.renderCallback&&d.render&&(u(f,"static render","renderCallback"),f.renderCallback=d.render.bind(d,f));var h=d.created;n.i(O.c)(h)&&(u(f,"static created","constructor"),h(f));var b=n.i(y.a)(f),_=b.readyCallbacks;return _&&(_.forEach(function(t){return t(f)}),delete b.readyCallbacks),f}return i(e,t),P(e,null,[{key:"observedAttributes",get:function(){var t=this.hasOwnProperty(l.e)?this[l.e]:[],r=n.i(g.a)(this),i=Object.keys(r).map(function(t){return r[t].attrSource}).filter(Boolean),o=i.concat(t).concat(C(e.__proto__||Object.getPrototypeOf(e),"observedAttributes",this));return o.filter(function(t,e){return o.indexOf(t)===e})},set:function(t){t=Array.isArray(t)?t:[],n.i(S.a)(this,"observedAttributes",t)}},{key:"props",get:function(){return n.i(d.a)({},C(e.__proto__||Object.getPrototypeOf(e),"props",this),this[l.f])},set:function(t){n.i(S.a)(this,l.f,t)}}]),P(e,[{key:"connectedCallback",value:function(){n.i(h.a)(this).resumeAttributesUpdates(),this[l.i]=!0,this[l.h]();var t=this.constructor.attached;n.i(O.c)(t)&&(u(this,"static attached","connectedCallback"),t(this)),this.setAttribute("defined","")}},{key:"disconnectedCallback",value:function(){n.i(h.a)(this).suspendAttributesUpdates(),this[l.i]=!1;var t=this.constructor.detached;n.i(O.c)(t)&&(u(this,"static detached","disconnectedCallback"),t(this))}},{key:"attributeChangedCallback",value:function(t,e,r){if(!a(this,t,e,r)){this[x]=t,this[V]=e,this[T]=r;var i=n.i(y.a)(this,"attrSourceLinks")[t];if(i){var o=n.i(h.a)(this).onAttributeChanged(t,r);if(o){var c=n.i(g.a)(this.constructor)[i],s=null!==r&&c.deserialize?c.deserialize(r):r,f=n.i(y.a)(this,"props")[i];f.settingPropFromAttrSource=!0,this[i]=s,f.settingPropFromAttrSource=!1}}var l=this.constructor.attributeChanged;n.i(O.c)(l)&&(u(this,"static attributeChanged","attributeChangedCallback"),l(this,{name:t,newValue:r,oldValue:e}))}}},{key:"updatedCallback",value:function(t){return this.constructor.hasOwnProperty("updated")&&u(this,"static updated","updatedCallback"),this.constructor.updated(this,t)}},{key:"renderedCallback",value:function(){return this.constructor.hasOwnProperty("rendered")&&u(this,"static rendered","renderedCallback"),this.constructor.rendered(this)}},{key:"rendererCallback",value:function(){return this.constructor.renderer(this)}},{key:l.c,value:function(){!this[l.j]&&this[l.i]&&(this[l.j]=!0,this[l.k]()&&n.i(O.c)(this.renderCallback)&&(this.rendererCallback(),this.renderedCallback()),this[l.j]=!1)}},{key:l.k,value:function(){var t=this[l.l];return this[l.l]=n.i(_.a)(this),this.updatedCallback(t)}}],[{key:"extend",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,u=function(t){function e(){return o(this,e),r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(e),a=n.i(b.a)(t),c=n.i(b.a)(t.prototype);return delete a.prototype,Object.defineProperties(u,a),Object.defineProperties(u.prototype,c),u}},{key:"rendered",value:function(){}},{key:"renderer",value:function(t){t.shadowRoot||t.attachShadow({mode:"open"}),n.i(f.patchInner)(t.shadowRoot,function(){var e=t.renderCallback(t);n.i(O.c)(e)?e():Array.isArray(e)&&e.forEach(function(t){n.i(O.c)(t)&&t()})})}},{key:"updated",value:function(t,e){if(!e)return!0;for(var r=n.i(m.a)(e),i=0;i<r.length;i++){var o=r[i];if(!n.i(A.a)(e[o],t[o]))return!0}return!1}}]),e}(E);z.is="",e.a=z},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){var e=t[s];return e||(e=new c(t),t[s]=e),e}var o=n(12),u=n(2);e.a=i;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=function(){function t(e){r(this,t),this.elem=e,this.connected=!1,this.pendingValues={},this.lastSetValues={}}return a(t,[{key:"suspendAttributesUpdates",value:function(){this.connected=!1}},{key:"resumeAttributesUpdates",value:function(){var t=this;this.connected=!0;var e=Object.keys(this.pendingValues);e.forEach(function(e){var r=t.pendingValues[e];n.i(u.a)(r)||(delete t.pendingValues[e],t._syncAttrValue(e,r))})}},{key:"onAttributeChanged",value:function(t,e){e=n.i(o.a)(e),this._clearPendingValue(t);var r=this.lastSetValues[t]!==e;return this.lastSetValues[t]=e,r}},{key:"setAttrValue",value:function(t,e){e=n.i(o.a)(e),this.lastSetValues[t]=e,this.connected?(this._clearPendingValue(t),this._syncAttrValue(t,e)):this.pendingValues[t]=e}},{key:"_syncAttrValue",value:function(t,e){var r=n.i(o.a)(this.elem.getAttribute(t));e!==r&&(null===e?this.elem.removeAttribute(t):this.elem.setAttribute(t,e))}},{key:"_clearPendingValue",value:function(t){t in this.pendingValues&&delete this.pendingValues[t]}}]),t}(),s="____skate_attributesMgr"},function(t,e,n){"use strict";function r(t){return t.hasOwnProperty(i.d)||!function(){var e=t.props||{},r=n.i(o.a)(e).reduce(function(t,n){return t[n]=new u.a(n,e[n]),t},{});n.i(a.a)(t,i.d,r)}(),t[i.d]}var i=n(0),o=n(1),u=n(34),a=n(11);e.a=r},function(t,e,n){"use strict";function r(t,e,n){Object.defineProperty(t,e,{configurable:!0,value:n})}e.a=r},function(t,e,n){"use strict";var r=n(6),i=function(t){return n.i(r.a)(t)?null:String(t)};e.a=i},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(18),i=n(20),o=n(21),u=n(8),a=n(15),c=n(16),s=n(17),f=n(7),l=n(19);n.d(e,"vdom",function(){return o}),n.d(e,"Component",function(){return u.a}),n.d(e,"define",function(){return a.a}),n.d(e,"emit",function(){return c.a}),n.d(e,"link",function(){return s.a}),n.d(e,"prop",function(){return r}),n.d(e,"props",function(){return f.a}),n.d(e,"ready",function(){return l.a}),n.d(e,"symbols",function(){return i}),n.d(e,"h",function(){return d});var d=o.builder()},function(t,e,n){"use strict";var r=n(8),i=n(35),o=n(3),u=n.n(o),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.a=function(){for(var t=u.a.customElements,e=u.a.HTMLElement,o=arguments.length,c=Array(o),s=0;s<o;s++)c[s]=arguments[s];var f=c[0],l=c[1];if(!t)throw new Error("Skate requires native custom element support or a polyfill.");if(1===c.length&&(l=f,f=null),"object"===("undefined"==typeof l?"undefined":a(l))&&(l=r.a.extend(l)),!(l.prototype instanceof e))throw new Error("You must provide a constructor that extends HTMLElement to define().");return 2===c.length?t.define(t.get(f)?n.i(i.a)(f):f,l):(l.hasOwnProperty("is")||(l.is=n.i(i.a)()),t.define(l.is,l)),l}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.detail;delete e.detail;var r=void 0;return u?(r=new u(t,e),Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),Object.defineProperty(r,"composed",{value:e.composed}),r.initCustomEvent(t,e.bubbles,e.cancelable,n)),r}var i=n(3),o=n.n(i),u=function(t){if(t)try{new t("emit-init")}catch(t){return}return t}(o.a.Event);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),t.dispatchEvent(r(e,n))}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t){var e=t.type;return"checkbox"===e||"radio"===e?!!t.checked&&(t.value||!0):t.value}var o=n(7);e.a=function(t,e){return function(u){var a=u.target||u.composedPath()[0],c=i(a),s=e||a.name||"value";if(s.indexOf(".")>-1){var f=s.split("."),l=f[0],d=f.pop(),p=f.reduce(function(t,e){return t&&t[e]},t);p[d||u.target.name]=c,n.i(o.a)(t,r({},l,t[l]))}else n.i(o.a)(t,r({},s,c))}}},function(t,e,n){"use strict";function r(t){return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.unshift({},t),i.a.apply(void 0,n)}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),o=n(6),u=n(12);e.create=r,n.d(e,"array",function(){return c}),n.d(e,"boolean",function(){return s}),n.d(e,"number",function(){return l}),n.d(e,"string",function(){return d}),n.d(e,"object",function(){return p});var a=function(t){return n.i(o.a)(t)?null:JSON.parse(t)},c=r({coerce:function(t){return Array.isArray(t)?t:n.i(o.a)(t)?null:[t]},default:function(){return[]},deserialize:a,serialize:JSON.stringify}),s=r({coerce:function(t){return!!t},default:!1,deserialize:function(t){return!(null===t)},serialize:function(t){return t?"":null}}),f=function(t){return n.i(o.a)(t)?0:Number(t)},l=r({default:0,coerce:f,deserialize:f,serialize:u.a}),d=r({default:"",coerce:u.a,deserialize:u.a,serialize:u.a}),p=r({default:function(){return{}},deserialize:a,serialize:JSON.stringify})},function(t,e,n){"use strict";var r=n(0),i=n(5);e.a=function(t,e){var o=n.i(i.a)(t);t[r.b]?e(t):o.readyCallbacks?o.readyCallbacks.push(e):o.readyCallbacks=[e]}},function(t,e,n){"use strict";var r=n(0);Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"name",function(){return r.a})},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e,n){var r=t[P];r||(r=t[P]={}),"undefined"==typeof r[e]&&t.addEventListener(e,function(t){r[e]&&r[e].call(this,t)}),r[e]="function"==typeof n?n:null}function u(t){if(!t)return t;if(t.is)return t.is;if(t.prototype instanceof A){if(t[b.a])return t[b.a];var e=new t;return e[b.a]=e.localName}return t}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;x=[t,e,n]}function c(){var t=D.apply(void 0,r(x));return x=null,t}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T;return function r(){for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];if(o[0]=u(o[0]),E=null,"function"==typeof o[0])return E=o[0],e.apply(void 0,o);if(w.length)w[w.length-1].push([r,o]);else{if(t===M){if(V)return++V;var f=t.apply(void 0,o);return f[j]&&++V,f}if(t===h.elementClose){if(1===V&&n.i(h.skip)(),V&&--V)return;var l=t.apply(void 0,o),d=l[b.m];return delete l[b.m],"function"==typeof d&&d(l),l}if(!V||t===a||t===c)return t.apply(void 0,o)}}}function f(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];E?E[C][e[0]]=e[1]:w.length?w[w.length-1].push([f,e]):(x.push(e[0]),x.push(e[1]))}function l(t,e,n){for(var r={key:e,statics:n},i=arguments.length,o=Array(i>3?i-3:0),u=3;u<i;u++)o[u-3]=arguments[u];for(var a=0;a<o.length;a+=2)r[o[a]]=o[a+1];t[C]=r,w.push([])}function d(t){var e=w.pop(),n=t[C];delete t[C];var i=t(n,function(){return e.forEach(function(t){return t[0].apply(t,r(t[1]))})});return"function"==typeof i?i():i}function p(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return D.apply(void 0,[t].concat(n)),I(t)}function y(t,e){for(var n="undefined"==typeof e?"undefined":k(e),r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return"function"!==n&&"string"!==n&&"number"!==n||i.unshift(e),null!==e&&"object"===n||(e={}),N(t,e.key,e.statics),delete e.key,delete e.statics,Object.keys(e).forEach(function(t){return f(t,e[t])}),L(t),i.forEach(function(t){var e="undefined"==typeof t?"undefined":k(t);"function"===e?t():"string"===e||"number"===e?q(t):Array.isArray(t)&&t.forEach(function(t){return t()})}),I(t)}function v(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return y.bind.apply(y,[null].concat(e))}:e.map(function(t){return function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return y.bind.apply(y,[null,t].concat(n))}})}Object.defineProperty(e,"__esModule",{value:!0});var h=n(13),b=(n.n(h),n(0)),m=n(33),g=n(3),_=n.n(g);e.element=y,e.builder=v,n.d(e,"attr",function(){return f}),n.d(e,"elementClose",function(){return I}),n.d(e,"elementOpen",function(){return D}),n.d(e,"elementOpenEnd",function(){return L}),n.d(e,"elementOpenStart",function(){return N}),n.d(e,"elementVoid",function(){return p}),n.d(e,"text",function(){return q});var k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O=_.a.customElements,A=_.a.HTMLElement,S=h.attributes[h.symbols.default],w=[],j="__skip",P="__events",C="__props",E=void 0,x=void 0,V=0,T=function(){},z=n.i(m.a)(h.attributes,i({key:T,statics:T,checked:h.applyProp,className:h.applyProp,disabled:h.applyProp,value:h.applyProp,ref:function(t,e,n){t[b.m]=n},skip:function(t,e,n){n?t[j]=!0:delete t[j]}},h.symbols.default,function(t,e,r){var i=O.get(t.localName),u=i&&i.props||{},a=i&&i.prototype||{};if((e in u||e in t||e in a)&&!("ownerSVGElement"in t))return void n.i(h.applyProp)(t,e,r);if(r===!1)return void S(t,e);if(0===e.indexOf("on")){var c=e[2],s=void 0;if("-"===c?s=e.substring(3):c===c.toUpperCase()&&(s=c.toLowerCase()+e.substring(3)),s)return void o(t,s,r)}S(t,e,r)})),M=z(h.elementOpen),N=s(a,l),L=s(c),D=s(M,l),I=s(h.elementClose,d),q=s(h.text)},function(t,e,n){"use strict";function r(t){var e=t.nameOrSymbol,r={configurable:!0,enumerable:!0};return r.beforeDefineProperty=function(r){var i=n.i(f.a)(r,e),l=t.attrSource;l&&(n.i(o.a)(r,"attrSourceLinks")[l]=e);var d=r[e],p=!1;n.i(u.a)(d)&&(l&&r.hasAttribute(l)?(p=!0,d=t.deserialize(r.getAttribute(l))):d="initial"in t?n.i(s.a)(r,t):n.i(c.a)(r,t)),d=t.coerce(d),i.internalValue=d;var y=t.attrTarget&&!n.i(u.a)(d)&&(!p||t.attrTargetIsNotSource);if(y){var v=t.serialize(d);n.i(a.a)(r).setAttrValue(t.attrTarget,v)}},r.get=function(){var r=n.i(f.a)(this,e),i=r.internalValue;return t.get?t.get(this,{name:e,internalValue:i}):i},r.set=function(r){var o=n.i(f.a)(this,e),s=n.i(u.a)(r);if(s&&(r=n.i(c.a)(this,t)),r=t.coerce(r),t.set){var l=o.oldValue;n.i(u.a)(l)&&(l=null);var d={name:e,newValue:r,oldValue:l};t.set(this,d)}this[i.h](this),o.internalValue=o.oldValue=r;var p=t.attrTarget&&(t.attrTargetIsNotSource||!o.settingPropFromAttrSource);if(p){var y=s?null:t.serialize(r);n.i(a.a)(this).setAttrValue(t.attrTarget,y)}},r}var i=n(0),o=n(5),u=n(6),a=n(9),c=n(28),s=n(29),f=n(31);e.a=r},function(t,e,n){"use strict";Object.is||(Object.is=function(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}),e.a=Object.is},function(t,e,n){"use strict";function r(t){return"function"==typeof Symbol?Symbol(t):t}e.a=r},function(t,e,n){"use strict";e.a=function(t){return t.split(/([A-Z])/).reduce(function(t,e,n){var r=t&&n%2!==0?"-":"";return""+t+r+e.toLowerCase()})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function i(t){var e=!1,n=0,i=[],o=document.createElement("span"),u=new s(function(){t.apply(void 0,r(i)),e=!1,i=null});return u.observe(o,{childList:!0}),function(){for(var t=arguments.length,r=Array(t),u=0;u<t;u++)r[u]=arguments[u];i=r,e||(e=!0,o.textContent=""+n,n+=1)}}function o(t){var e=!1,n=[];return function(){for(var i=arguments.length,o=Array(i),u=0;u<i;u++)o[u]=arguments[u];n=o,e||(e=!0,setTimeout(function(){e=!1,t.apply(void 0,r(n))},1))}}var u=n(32),a=n(3),c=n.n(a),s=c.a.MutationObserver;e.a=n.i(u.a)(s)?i:o},function(t,e,n){"use strict";function r(t){throw new Error(t)}e.a=r},function(t,e,n){"use strict";function r(t,e){return"function"==typeof e.default?e.default(t,{name:e.nameOrSymbol}):e.default}e.a=r},function(t,e,n){"use strict";function r(t,e){return"function"==typeof e.initial?e.initial(t,{name:e.nameOrSymbol}):e.initial}e.a=r},function(t,e,n){"use strict";var r=n(1);e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.i(r.a)(t).reduce(function(e,n){return e[n]=Object.getOwnPropertyDescriptor(t,n),e},{})}},function(t,e,n){"use strict";function r(t,e){var r=n.i(i.a)(t,"props");return r[e]||(r[e]={})}var i=n(5);e.a=r},function(t,e,n){"use strict";var r=["native code","[object MutationObserverConstructor]"];e.a=function(t){return r.map(function(e){return(t||"").toString().indexOf([e])>-1}).reduce(function(t,e){return t||e})}},function(t,e,n){"use strict";function r(t,e){var n={};return Object.keys(e).forEach(function(r){n[r]=t[r],t[r]=e[r]}),n}function i(t,e){n.i(o.a)(t,e)}var o=n(4);e.a=function(t,e){return function(n){return function(){var o=r(t,e),u=n.apply(void 0,arguments);return i(t,o),u}}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(n.i(c.d)(e))n.i(a.a)(e.toString()+" symbol property cannot have an attribute.");else{if(t===!0)return n.i(o.a)(String(e));if(n.i(c.e)(t))return t}return null}var o=n(25),u=n(6),a=n(27),c=n(2),s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(){function t(e,o){var s=this;r(this,t),this._nameOrSymbol=e,o=o||{},this.attrSource=null,this.attrTarget=null,this.attrTargetIsNotSource=!1,this.coerce=function(t){return t},this.default=null,this.deserialize=function(t){return t},this.get=null,this.serialize=function(t){return n.i(u.a)(t)?null:String(t)},this.set=null,Object.keys(o).forEach(function(t){var r=o[t];switch(t){case"attribute":if(n.i(c.b)(r)){var u=r.source,f=r.target;u||f||n.i(a.a)(t+" 'source' or 'target' is missing."),s.attrSource=i(u,e),s.attrTarget=i(f,e),s.attrTargetIsNotSource=s.attrTarget!==s.attrSource}else s.attrSource=s.attrTarget=i(r,e);break;case"coerce":case"deserialize":case"get":case"serialize":case"set":n.i(c.c)(r)?s[t]=r:n.i(a.a)(t+" must be a function.");break;case"default":case"initial":s[t]=r;break;default:s[t]=r}})}return s(t,[{key:"nameOrSymbol",get:function(){return this._nameOrSymbol}}]),t}();e.a=f},function(t,e,n){"use strict";function r(t){var e="xxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0,n="x"===t?e:3&e|8;return n.toString(16)});return(t||"x")+"-"+e}e.a=r},function(t,e,n){t.exports=n(14)}])});
//# sourceMappingURL=index.min.js.map

@@ -28,21 +28,45 @@ {

"incremental-dom": "0.4.1",
"rollup-plugin-replace": "^1.1.1",
"window-or-global": "1.0.1"
},
"devDependencies": {
"@webpack-blocks/babel6": "^0.3.0",
"@webpack-blocks/webpack2": "^0.3.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-preset-es2015": "6.16.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.16.0",
"birdpoo": "0.x",
"commitizen": "^2.8.2",
"cz-conventional-changelog": "1.2.0",
"gitbook-cli": "^2.3.0",
"gitbook-plugin-jsfiddle": "^1.0.0",
"karma": "1.3.0",
"karma-chai-plugins": "0.8.0",
"karma-chrome-launcher": "2.0.0",
"karma-firefox-launcher": "1.0.0",
"karma-mocha": "1.3.0",
"karma-opera-launcher": "1.0.0",
"karma-safari-launcher": "1.0.0",
"karma-sauce-launcher": "^1.0.0",
"karma-saucelabs-launcher": "0.0.0",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "1.8.1",
"mocha": "3.2.0",
"react": "15.4.2",
"react-dom": "15.4.2",
"skatejs-build": "12.x",
"semantic-release": "^6.3.2",
"semistandard": "^9.0.0",
"skatejs-web-components": "5.x",
"typescript": "^2.1.4",
"typescript-formatter": "^4.0.1"
"typescript-formatter": "^4.0.1",
"webpack": "2.2.0-rc.3"
},
"scripts": {
"test": "node dist/ && sk-tests && npm run test:ts",
"docs:build": "npm run gitbook install && gitbook build",
"docs:watch": "npm run gitbook install && gitbook serve",
"prepublish": "rm -rf dist && webpack && webpack -p && webpack --config webpack.config.bundle.js && webpack -p --config webpack.config.bundle.js",
"release": "semantic-release pre && npm publish && semantic-release post",
"test": "npm run prepublish && node dist/ && semistandard && karma start --single-run && npm run test:ts",
"test:ts": "tsfmt -r && tsc -p ./",
"prepublish": "sk-bundle",
"gitbook:dev": "gitbook serve"
"test:watch": "karma start"
},

@@ -57,5 +81,6 @@ "config": {

"/src/polyfills/object-is.js"
]
],
"parser": "babel-eslint"
},
"version": "4.5.2"
"version": "4.6.0"
}

@@ -5,3 +5,2 @@ # [Skate][gitbook]

[![Build Status](https://travis-ci.org/skatejs/skatejs.svg?branch=master)](https://travis-ci.org/skatejs/skatejs)
[![Size](https://img.shields.io/badge/min+gz-4.64%20kB-blue.svg)](https://unpkg.com/skatejs)
[![Join the chat at https://gitter.im/skatejs/skatejs](https://badges.gitter.im/skatejs/skatejs.svg)](https://gitter.im/skatejs/skatejs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

@@ -18,3 +17,2 @@ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

- Inherently cross-framework compatible. For example, it works seamlessly with - and complements - React and other frameworks.
- Skate itself is only 4k min+gz.
- It's very fast.

@@ -21,0 +19,0 @@ - It works with multiple versions of itself on the page.

@@ -18,3 +18,2 @@ import { patchInner } from 'incremental-dom';

import debounce from '../util/debounce';
import deprecated from '../util/deprecated';
import getAttrMgr from '../util/attributes-manager';

@@ -36,2 +35,10 @@ import getOwnPropertyDescriptors from '../util/get-own-property-descriptors';

// TEMPORARY: Once deprecations in this file are removed, this can be removed.
function deprecated (elem, oldUsage, newUsage) {
if (process.env.NODE_ENV !== 'production') {
const ownerName = elem.localName ? elem.localName : String(elem);
console.warn(`${ownerName} ${oldUsage} is deprecated. Use ${newUsage}.`);
}
}
function preventDoubleCalling (elem, name, oldValue, newValue) {

@@ -97,2 +104,4 @@ return name === elem[_prevName] &&

export default class extends HTMLElement {
static is = ''
/**

@@ -160,3 +169,3 @@ * Returns unique attribute names configured with props and

if (!this.renderCallback && constructor.render) {
DEBUG && deprecated(this, 'static render', 'renderCallback');
deprecated(this, 'static render', 'renderCallback');
this.renderCallback = constructor.render.bind(constructor, this);

@@ -172,3 +181,3 @@ }

if (isFunction(created)) {
DEBUG && deprecated(this, 'static created', 'constructor');
deprecated(this, 'static created', 'constructor');
created(this);

@@ -206,3 +215,3 @@ }

if (isFunction(attached)) {
DEBUG && deprecated(this, 'static attached', 'connectedCallback');
deprecated(this, 'static attached', 'connectedCallback');
attached(this);

@@ -230,3 +239,3 @@ }

if (isFunction(detached)) {
DEBUG && deprecated(this, 'static detached', 'disconnectedCallback');
deprecated(this, 'static detached', 'disconnectedCallback');
detached(this);

@@ -270,3 +279,3 @@ }

if (isFunction(attributeChanged)) {
DEBUG && deprecated(this, 'static attributeChanged', 'attributeChangedCallback');
deprecated(this, 'static attributeChanged', 'attributeChangedCallback');
attributeChanged(this, { name, newValue, oldValue });

@@ -279,3 +288,3 @@ }

if (this.constructor.hasOwnProperty('updated')) {
DEBUG && deprecated(this, 'static updated', 'updatedCallback');
deprecated(this, 'static updated', 'updatedCallback');
}

@@ -288,3 +297,3 @@ return this.constructor.updated(this, prevProps);

if (this.constructor.hasOwnProperty('rendered')) {
DEBUG && deprecated(this, 'static rendered', 'renderedCallback');
deprecated(this, 'static rendered', 'renderedCallback');
}

@@ -291,0 +300,0 @@ return this.constructor.rendered(this);

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

import { name as $name } from '../util/symbols';
import Component from './component';

@@ -7,3 +6,3 @@ import uniqueId from '../util/unique-id';

export default function (...args) {
const { customElements } = root;
const { customElements, HTMLElement } = root;
let [ name, Ctor ] = args;

@@ -15,23 +14,14 @@

// Support passing an anonymous definition.
if (args.length === 1) {
// We are checking string for now, but once we remove the ability to pass
// an object literal, we can change this to check "function" and invert the
// blocks of logic.
if (typeof name === 'string') {
throw new Error('When passing only one argument to define(), it must be a custom element constructor.');
} else {
Ctor = name;
name = uniqueId();
}
// DEPRECATED remove when removing the "name" argument.
if (process.env.NODE_ENV !== 'production' && args.length === 2) {
console.warn('The "name" argument to define() is deprecated. Please define a `static is` property on the constructor instead.');
}
// Ensure there's no conflicts.
if (customElements.get(name)) {
name = uniqueId(name);
// DEPRECATED remove when removing the "name" argument.
if (args.length === 1) {
Ctor = name;
name = null;
}
// DEPRECATED
//
// Object literals.
// DEPRECATED Object literals.
if (typeof Ctor === 'object') {

@@ -41,9 +31,22 @@ Ctor = Component.extend(Ctor);

// This allows us to check this before instantiating the custom element to
// find its name from the constructor in the vdom module, thus improving
// performance but still falling back to a robust method.
Ctor[$name] = name;
// Ensure a custom element is passed.
if (!(Ctor.prototype instanceof HTMLElement)) {
throw new Error('You must provide a constructor that extends HTMLElement to define().');
}
// Sipmle define. Not supporting customised built-ins yet.
customElements.define(name, Ctor);
// DEPRECATED two arguments
if (args.length === 2) {
customElements.define(customElements.get(name) ? uniqueId(name) : name, Ctor);
} else {
// We must use hasOwnProperty() because we want to know if it was specified
// directly on this class, not subclasses, as we don't want to inherit tag
// names from subclasses.
if (!Ctor.hasOwnProperty('is')) {
// If we used defineProperty() then the consumer must also use it and
// cannot use property initialisers. Instead we just set it so they can
// use whatever method of overridding that they want.
Ctor.is = uniqueId();
}
customElements.define(Ctor.is, Ctor);
}

@@ -50,0 +53,0 @@ // The spec doesn't return but this allows for a simpler, more concise API.

@@ -52,2 +52,2 @@ import assign from '../util/assign';

serialize: JSON.stringify
});
});

@@ -92,6 +92,5 @@ /* eslint no-plusplus: 0 */

[symbols.default] (elem, name, value) {
const { props, prototype } = customElements.get(elem.localName) || {
props: {},
prototype: {}
};
const ce = customElements.get(elem.localName);
const props = ce && ce.props || {};
const prototype = ce && ce.prototype || {};

@@ -149,13 +148,18 @@ // TODO when refactoring properties to not have to workaround the old

// We try and return the cached tag name, if one exists.
if (name[$name]) {
return name[$name];
// We try and return the cached tag name, if one exists. This will work with
// *any* web component of any version that defines a `static is` property.
if (name.is) {
return name.is;
}
// If it's a custom element, we get the tag name by constructing it and
// caching it.
// Get the name for the custom element by constructing it and using the
// localName property. Cache it and lookup the cached value for future calls.
if (name.prototype instanceof HTMLElement) {
if (name[$name]) {
return name[$name];
}
// eslint-disable-next-line
const elem = new name();
return (name[$name] = elem.localName);
return (elem[$name] = elem.localName);
}

@@ -162,0 +166,0 @@

@@ -6,3 +6,3 @@ export { } from "./jsx";

export type ComponentProps <El, T> = {
[P in keyof T]: PropOptions<El, T[P]>;
[P in keyof T]: PropOptions<El, T[P]>;
};

@@ -22,2 +22,3 @@

static is: string;
static readonly props: ComponentProps<any, any>;

@@ -24,0 +25,0 @@ static readonly observedAttributes: string[];

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

// DEPRECATED prefix when we deprecated the name argument to define()
export default function uniqueId (prefix) {

@@ -2,0 +3,0 @@ // http://stackoverflow.com/questions/105034/create-guid-uuid-in-javascript/2117523#2117523

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc