diff --git a/docs/.cache b/docs/.cache deleted file mode 100644 index 3bd66e5..0000000 --- a/docs/.cache +++ /dev/null @@ -1 +0,0 @@ -{"hash":"0da4e1f2154d941712482501318f3227","version":"0.0.9","optionHash":"f6563dabc73b6d74416854bf80e9a53b","result":{"outputFilePrefix":"/","html":["","","","","",""],"files":["/favicon-16x16.png","/favicon-32x32.png","/favicon.ico","/android-chrome-36x36.png","/android-chrome-48x48.png","/android-chrome-72x72.png","/android-chrome-96x96.png","/android-chrome-144x144.png","/android-chrome-192x192.png","/android-chrome-256x256.png","/android-chrome-384x384.png","/android-chrome-512x512.png","/firefox_app_60x60.png","/firefox_app_128x128.png","/firefox_app_512x512.png","/manifest.json","/manifest.webapp"]}} \ No newline at end of file diff --git a/docs/icons/.cache b/docs/icons/.cache new file mode 100644 index 0000000..c7982ca --- /dev/null +++ b/docs/icons/.cache @@ -0,0 +1 @@ +{"hash":"0da4e1f2154d941712482501318f3227","version":"0.0.9","optionHash":"a5ae7aea006b371eaa31825af6b541e3","result":{"outputFilePrefix":"icons/","html":["","","","","",""],"files":["icons/favicon-16x16.png","icons/favicon-32x32.png","icons/favicon.ico","icons/android-chrome-36x36.png","icons/android-chrome-48x48.png","icons/android-chrome-72x72.png","icons/android-chrome-96x96.png","icons/android-chrome-144x144.png","icons/android-chrome-192x192.png","icons/android-chrome-256x256.png","icons/android-chrome-384x384.png","icons/android-chrome-512x512.png","icons/firefox_app_128x128.png","icons/firefox_app_60x60.png","icons/firefox_app_512x512.png","icons/manifest.json","icons/manifest.webapp"]}} \ No newline at end of file diff --git a/docs/android-chrome-144x144.png b/docs/icons/android-chrome-144x144.png similarity index 100% rename from docs/android-chrome-144x144.png rename to docs/icons/android-chrome-144x144.png diff --git a/docs/android-chrome-192x192.png b/docs/icons/android-chrome-192x192.png similarity index 100% rename from docs/android-chrome-192x192.png rename to docs/icons/android-chrome-192x192.png diff --git a/docs/android-chrome-256x256.png b/docs/icons/android-chrome-256x256.png similarity index 100% rename from docs/android-chrome-256x256.png rename to docs/icons/android-chrome-256x256.png diff --git a/docs/android-chrome-36x36.png b/docs/icons/android-chrome-36x36.png similarity index 100% rename from docs/android-chrome-36x36.png rename to docs/icons/android-chrome-36x36.png diff --git a/docs/android-chrome-384x384.png b/docs/icons/android-chrome-384x384.png similarity index 100% rename from docs/android-chrome-384x384.png rename to docs/icons/android-chrome-384x384.png diff --git a/docs/android-chrome-48x48.png b/docs/icons/android-chrome-48x48.png similarity index 100% rename from docs/android-chrome-48x48.png rename to docs/icons/android-chrome-48x48.png diff --git a/docs/android-chrome-512x512.png b/docs/icons/android-chrome-512x512.png similarity index 100% rename from docs/android-chrome-512x512.png rename to docs/icons/android-chrome-512x512.png diff --git a/docs/android-chrome-72x72.png b/docs/icons/android-chrome-72x72.png similarity index 100% rename from docs/android-chrome-72x72.png rename to docs/icons/android-chrome-72x72.png diff --git a/docs/android-chrome-96x96.png b/docs/icons/android-chrome-96x96.png similarity index 100% rename from docs/android-chrome-96x96.png rename to docs/icons/android-chrome-96x96.png diff --git a/docs/favicon-16x16.png b/docs/icons/favicon-16x16.png similarity index 100% rename from docs/favicon-16x16.png rename to docs/icons/favicon-16x16.png diff --git a/docs/favicon-32x32.png b/docs/icons/favicon-32x32.png similarity index 100% rename from docs/favicon-32x32.png rename to docs/icons/favicon-32x32.png diff --git a/docs/favicon.ico b/docs/icons/favicon.ico similarity index 100% rename from docs/favicon.ico rename to docs/icons/favicon.ico diff --git a/docs/firefox_app_128x128.png b/docs/icons/firefox_app_128x128.png similarity index 100% rename from docs/firefox_app_128x128.png rename to docs/icons/firefox_app_128x128.png diff --git a/docs/firefox_app_512x512.png b/docs/icons/firefox_app_512x512.png similarity index 100% rename from docs/firefox_app_512x512.png rename to docs/icons/firefox_app_512x512.png diff --git a/docs/firefox_app_60x60.png b/docs/icons/firefox_app_60x60.png similarity index 100% rename from docs/firefox_app_60x60.png rename to docs/icons/firefox_app_60x60.png diff --git a/docs/manifest.json b/docs/icons/manifest.json similarity index 100% rename from docs/manifest.json rename to docs/icons/manifest.json diff --git a/docs/manifest.webapp b/docs/icons/manifest.webapp similarity index 100% rename from docs/manifest.webapp rename to docs/icons/manifest.webapp diff --git a/docs/icons/stats.json b/docs/icons/stats.json index d9055d4..db23288 100644 --- a/docs/icons/stats.json +++ b/docs/icons/stats.json @@ -1 +1 @@ -{"outputFilePrefix":"/","html":["","","","","",""],"files":["/favicon-16x16.png","/favicon-32x32.png","/favicon.ico","/android-chrome-36x36.png","/android-chrome-48x48.png","/android-chrome-72x72.png","/android-chrome-96x96.png","/android-chrome-144x144.png","/android-chrome-192x192.png","/android-chrome-256x256.png","/android-chrome-384x384.png","/android-chrome-512x512.png","/firefox_app_60x60.png","/firefox_app_128x128.png","/firefox_app_512x512.png","/manifest.json","/manifest.webapp"]} \ No newline at end of file +{"outputFilePrefix":"icons/","html":["","","","","",""],"files":["icons/favicon-16x16.png","icons/favicon-32x32.png","icons/favicon.ico","icons/android-chrome-36x36.png","icons/android-chrome-48x48.png","icons/android-chrome-72x72.png","icons/android-chrome-96x96.png","icons/android-chrome-144x144.png","icons/android-chrome-192x192.png","icons/android-chrome-256x256.png","icons/android-chrome-384x384.png","icons/android-chrome-512x512.png","icons/firefox_app_128x128.png","icons/firefox_app_60x60.png","icons/firefox_app_512x512.png","icons/manifest.json","icons/manifest.webapp"]} \ No newline at end of file diff --git a/docs/index.3343a67e40e62db0aba6.bundle.js b/docs/index.3343a67e40e62db0aba6.bundle.js new file mode 100644 index 0000000..aad4db3 --- /dev/null +++ b/docs/index.3343a67e40e62db0aba6.bundle.js @@ -0,0 +1,183 @@ +!function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,s){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(s,r,function(e){return t[e]}.bind(null,r));return s},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=8)}([function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",s=t[3];if(!s)return n;if(e&&"function"==typeof btoa){var r=(o=s,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),i=s.sources.map(function(t){return"/*# sourceURL="+s.sourceRoot+t+" */"});return[n].concat(i).concat([r]).join("\n")}var o;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var s={},r=0;r"function"==typeof t&&s.has(t),i=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=e;for(;s!==n;){const e=s.nextSibling;t.removeChild(s),s=e}},a={},l={},c=`{{lit-${String(Math.random()).slice(2)}}}`,h=`\x3c!--${c}--\x3e`,p=new RegExp(`${c}|${h}`),d="$lit$";class u{constructor(t,e){this.parts=[],this.element=e;let n=-1,s=0;const r=[],i=e=>{const o=e.content,a=document.createTreeWalker(o,133,null,!1);let l=0;for(;a.nextNode();){n++;const e=a.currentNode;if(1===e.nodeType){if(e.hasAttributes()){const r=e.attributes;let i=0;for(let t=0;t=0&&i++;for(;i-- >0;){const r=t.strings[s],i=y.exec(r)[2],o=i.toLowerCase()+d,a=e.getAttribute(o).split(p);this.parts.push({type:"attribute",index:n,name:i,strings:a}),e.removeAttribute(o),s+=a.length-1}}"TEMPLATE"===e.tagName&&i(e)}else if(3===e.nodeType){const t=e.data;if(t.indexOf(c)>=0){const i=e.parentNode,o=t.split(p),a=o.length-1;for(let t=0;t-1!==t.index,m=()=>document.createComment(""),y=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/; +/** + * @license + * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at + * http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at + * http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at + * http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at + * http://polymer.github.io/PATENTS.txt + */ +class g{constructor(t,e,n){this._parts=[],this.template=t,this.processor=e,this.options=n}update(t){let e=0;for(const n of this._parts)void 0!==n&&n.setValue(t[e]),e++;for(const t of this._parts)void 0!==t&&t.commit()}_clone(){const t=i?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=this.template.parts;let n=0,s=0;const r=t=>{const i=document.createTreeWalker(t,133,null,!1);let o=i.nextNode();for(;nnull===t||!("object"==typeof t||"function"==typeof t);class S{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:this.startNode;o(this.startNode.parentNode,t.nextSibling,this.endNode)}}class x{constructor(t,e,n){if(this.value=void 0,this._pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}setValue(t){this._pendingValue=t}commit(){for(;r(this._pendingValue);){const t=this._pendingValue;this._pendingValue=a,t(this)}if(this._pendingValue===a)return;const t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=a}}class P extends S{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new C(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class C extends b{}let N=!1;try{const t={get capture(){return N=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}class A{constructor(t,e,n){this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this._boundHandleEvent=(t=>this.handleEvent(t))}setValue(t){this._pendingValue=t}commit(){for(;r(this._pendingValue);){const t=this._pendingValue;this._pendingValue=a,t(this)}if(this._pendingValue===a)return;const t=this._pendingValue,e=this.value,n=null==t||null!=e&&(t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive),s=null!=t&&(null==e||n);n&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),s&&(this._options=E(t),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=t,this._pendingValue=a}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const E=t=>t&&(N?{capture:t.capture,passive:t.passive,once:t.once}:t.capture); +/** + * @license + * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at + * http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at + * http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at + * http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at + * http://polymer.github.io/PATENTS.txt + */const T=new class{handleAttributeExpressions(t,e,n,s){const r=e[0];return"."===r?new P(t,e.slice(1),n).parts:"@"===r?[new A(t,e.slice(1),s.eventContext)]:"?"===r?[new x(t,e.slice(1),n)]:new S(t,e,n).parts}handleTextExpression(t){return new w(t)}}; +/** + * @license + * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at + * http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at + * http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at + * http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at + * http://polymer.github.io/PATENTS.txt + */function O(t){let e=V.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},V.set(t.type,e));let n=e.stringsArray.get(t.strings);if(void 0!==n)return n;const s=t.strings.join(c);return void 0===(n=e.keyString.get(s))&&(n=new u(t,t.getTemplateElement()),e.keyString.set(s,n)),e.stringsArray.set(t.strings,n),n}const V=new Map,j=new WeakMap; +/** + * @license + * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at + * http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at + * http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at + * http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at + * http://polymer.github.io/PATENTS.txt + */ +/** + * @license + * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at + * http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at + * http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at + * http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at + * http://polymer.github.io/PATENTS.txt + */ +(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");const k=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;st.parentNode.removeChild(t))}const U=t=>{let e=11===t.nodeType?0:1;const n=document.createTreeWalker(t,R,null,!1);for(;n.nextNode();)e++;return e},z=function(t){for(let e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;e`${t}--${e}`;let L=!0;void 0===window.ShadyCSS?L=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),L=!1);const $=t=>e=>{const n=q(e.type,t);let s=V.get(n);void 0===s&&(s={stringsArray:new WeakMap,keyString:new Map},V.set(n,s));let r=s.stringsArray.get(e.strings);if(void 0!==r)return r;const i=e.strings.join(c);if(void 0===(r=s.keyString.get(i))){const n=e.getTemplateElement();L&&window.ShadyCSS.prepareTemplateDom(n,t),r=new u(e,n),s.keyString.set(i,r)}return s.stringsArray.set(e.strings,r),r},F=["html","svg"],I=new Set,H=(t,e,n)=>{I.add(n);const s=t.querySelectorAll("style");if(0===s.length)return void window.ShadyCSS.prepareTemplateStyles(e.element,n);const r=document.createElement("style");for(let t=0;t{F.forEach(e=>{const n=V.get(q(e,t));void 0!==n&&n.keyString.forEach(t=>{const e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach(t=>{n.add(t)}),M(t,n)})})})(n),function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const s=t.element.content,r=t.parts;if(null==n)return void s.appendChild(e);const i=document.createTreeWalker(s,R,null,!1);let o=z(r),a=0,l=-1;for(;i.nextNode();)for(l++,i.currentNode===n&&(a=U(e),n.parentNode.insertBefore(e,n));-1!==o&&r[o].index===l;){if(a>0){for(;-1!==o;)r[o].index+=a,o=z(r,o);return}o=z(r,o)}}(e,r,e.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(e.element,n),window.ShadyCSS.nativeShadow){const n=e.element.content.querySelector("style");t.insertBefore(n.cloneNode(!0),t.firstChild)}else{e.element.content.insertBefore(r,e.element.content.firstChild);const t=new Set;t.add(r),M(e,t)}}; +/** + * @license + * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at + * http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at + * http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at + * http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at + * http://polymer.github.io/PATENTS.txt + */ +window.JSCompiler_renameProperty=((t,e)=>t);const W={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},B=(t,e)=>e!==t&&(e==e||t==t),J={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:B},D=Promise.resolve(!0),G=1,K=4,Q=8,X=16,Y=32;class Z extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=D,this._hasConnectedResolver=void 0,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();const t=[];return this._classProperties.forEach((e,n)=>{const s=this._attributeNameForProperty(n,e);void 0!==s&&(this._attributeToPropertyMap.set(s,n),t.push(s))}),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J;if(this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const n="symbol"==typeof t?Symbol():`__${t}`;Object.defineProperty(this.prototype,t,{get(){return this[n]},set(e){const s=this[t];this[n]=e,this.requestUpdate(t,s)},configurable:!0,enumerable:!0})}static finalize(){if(this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))&&this.finalized)return;const t=Object.getPrototypeOf(this);if("function"==typeof t.finalize&&t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const t=this.properties,e=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(const n of e)this.createProperty(n,t[n])}}static _attributeNameForProperty(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:B)(t,e)}static _propertyValueFromAttribute(t,e){const n=e.type,s=e.converter||W,r="function"==typeof s?s:s.fromAttribute;return r?r(t,n):t}static _propertyValueToAttribute(t,e){if(void 0===e.reflect)return;const n=e.type,s=e.converter;return(s&&s.toAttribute||W.toAttribute)(t,n)}initialize(){this._saveInstanceProperties()}_saveInstanceProperties(){this.constructor._classProperties.forEach((t,e)=>{if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,t)}})}_applyInstanceProperties(){this._instanceProperties.forEach((t,e)=>this[e]=t),this._instanceProperties=void 0}connectedCallback(){this._updateState=this._updateState|Y,this._hasConnectedResolver?(this._hasConnectedResolver(),this._hasConnectedResolver=void 0):this.requestUpdate()}disconnectedCallback(){}attributeChangedCallback(t,e,n){e!==n&&this._attributeToProperty(t,n)}_propertyToAttribute(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J;const s=this.constructor,r=s._attributeNameForProperty(t,n);if(void 0!==r){const t=s._propertyValueToAttribute(e,n);if(void 0===t)return;this._updateState=this._updateState|Q,null==t?this.removeAttribute(r):this.setAttribute(r,t),this._updateState=this._updateState&~Q}}_attributeToProperty(t,e){if(this._updateState&Q)return;const n=this.constructor,s=n._attributeToPropertyMap.get(t);if(void 0!==s){const t=n._classProperties.get(s)||J;this._updateState=this._updateState|X,this[s]=n._propertyValueFromAttribute(e,t),this._updateState=this._updateState&~X}}requestUpdate(t,e){let n=!0;if(void 0!==t&&!this._changedProperties.has(t)){const s=this.constructor,r=s._classProperties.get(t)||J;s._valueHasChanged(this[t],e,r.hasChanged)?(this._changedProperties.set(t,e),!0!==r.reflect||this._updateState&X||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,r))):n=!1}return!this._hasRequestedUpdate&&n&&this._enqueueUpdate(),this.updateComplete}async _enqueueUpdate(){let t;this._updateState=this._updateState|K;const e=this._updatePromise;this._updatePromise=new Promise(e=>t=e),await e,this._hasConnected||await new Promise(t=>this._hasConnectedResolver=t);const n=this.performUpdate();null!=n&&"function"==typeof n.then&&await n,t(!this._hasRequestedUpdate)}get _hasConnected(){return this._updateState&Y}get _hasRequestedUpdate(){return this._updateState&K}get hasUpdated(){return this._updateState&G}performUpdate(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){const t=this._changedProperties;this.update(t),this._markUpdated(),this._updateState&G||(this._updateState=this._updateState|G,this.firstUpdated(t)),this.updated(t)}else this._markUpdated()}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~K}get updateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((t,e)=>this._propertyToAttribute(e,this[e],t)),this._reflectingProperties=void 0)}updated(t){}firstUpdated(t){}}Z.finalized=!0;nt((t,e)=>t.querySelector(e)),nt((t,e)=>t.querySelectorAll(e));const tt=(t,e,n)=>{Object.defineProperty(e,n,t)},et=(t,e)=>({kind:"method",placement:"prototype",key:e.key,descriptor:t});function nt(t){return e=>(n,s)=>{const r={get(){return t(this.renderRoot,e)},enumerable:!0,configurable:!0};return void 0!==s?tt(r,n,s):et(r,n)}}const st="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Symbol(); +/** + * @license + * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. + * This code may only be used under the BSD style license found at + * http://polymer.github.io/LICENSE.txt + * The complete set of authors may be found at + * http://polymer.github.io/AUTHORS.txt + * The complete set of contributors may be found at + * http://polymer.github.io/CONTRIBUTORS.txt + * Code distributed by Google as part of the polymer project is also + * subject to an additional IP rights grant found at + * http://polymer.github.io/PATENTS.txt + */ +(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");const rt=t=>t.flat?t.flat(1/0):function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let s=0,r=e.length;s(t.add(e),t),new Set).forEach(t=>e.unshift(t))}else t&&e.push(t);return e}initialize(){super.initialize(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?st?this.renderRoot.adoptedStyleSheets=t.map(t=>t.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(t=>t.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){super.update(t);const e=this.render();e instanceof _&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(t=>{const e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)}))}render(){}}it.finalized=!0,it.render=((t,e,n)=>{const s=n.scopeName,r=j.has(e),i=e instanceof ShadowRoot&&L&&t instanceof _,a=i&&!I.has(s),l=a?document.createDocumentFragment():e;if(((t,e,n)=>{let s=j.get(e);void 0===s&&(o(e,e.firstChild),j.set(e,s=new w(Object.assign({templateFactory:O},n))),s.appendInto(e)),s.setValue(t),s.commit()})(t,l,Object.assign({templateFactory:$(s)},n)),a){const t=j.get(l);j.delete(l),t.value instanceof g&&H(l,t.value.template,s),o(e,e.firstChild),e.appendChild(l),j.set(e,t)}!r&&i&&window.ShadyCSS.styleElement(e.host)});var ot,at,lt,ct,ht=n(1),pt=n.n(ht),dt=n(2),ut=n.n(dt);let ft=(ot=Object,at=ot.getPrototypeOf||function(t){return t.__proto__},lt=ot.setPrototypeOf||function(t,e){return t.__proto__=e,t},ct="object"==typeof Reflect?Reflect.construct:function(t,e,n){var s,r=[null];return r.push.apply(r,e),s=t.bind.apply(t,r),lt(new s,n.prototype)},function(t){var e=at(t);return lt(t,lt(function(){return ct(e,arguments,at(this).constructor)},e))})(class extends it{render(){return k` + + +
+   +

+ Welcome to + Create Evergreen App!

+
+ `}});customElements.define("eve-header",ft);var mt=n(3),yt=n.n(mt);let gt=function(t){var e=t.getPrototypeOf||function(t){return t.__proto__},n=t.setPrototypeOf||function(t,e){return t.__proto__=e,t},s="object"==typeof Reflect?Reflect.construct:function(t,e,s){var r,i=[null];return i.push.apply(i,e),r=t.bind.apply(t,i),n(new r,s.prototype)};return function(t){var r=e(t);return n(t,n(function(){return s(r,arguments,e(this).constructor)},r))}}(Object)(class extends it{render(){return k` + + +
+

To get started, edit src/pages/home/home.js!

+
+ `}});customElements.define("eve-home-page",gt);var _t=n(4),vt=n.n(_t);let St=function(t){var e=t.getPrototypeOf||function(t){return t.__proto__},n=t.setPrototypeOf||function(t,e){return t.__proto__=e,t},s="object"==typeof Reflect?Reflect.construct:function(t,e,s){var r,i=[null];return i.push.apply(i,e),r=t.bind.apply(t,i),n(new r,s.prototype)};return function(t){var r=e(t);return n(t,n(function(){return s(r,arguments,e(this).constructor)},r))}}(Object)(class extends it{render(){return k` + + +
+
+ +
+
+ +
+
+ `}});customElements.define("eve-app",St)}]); \ No newline at end of file diff --git a/docs/index.ea55b1b86fc694f9f5c4.bundle.js b/docs/index.ea55b1b86fc694f9f5c4.bundle.js deleted file mode 100644 index ca56215..0000000 --- a/docs/index.ea55b1b86fc694f9f5c4.bundle.js +++ /dev/null @@ -1,182 +0,0 @@ -!function(t){var e={};function n(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,s){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(s,r,function(e){return t[e]}.bind(null,r));return s},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=8)}([function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",s=t[3];if(!s)return n;if(e&&"function"==typeof btoa){var r=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(s),i=s.sources.map(function(t){return"/*# sourceURL="+s.sourceRoot+t+" */"});return[n].concat(i).concat([r]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var s={},r=0;r"function"==typeof t&&s.has(t),i=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=e;for(;s!==n;){const e=s.nextSibling;t.removeChild(s),s=e}},a={},l=`{{lit-${String(Math.random()).slice(2)}}}`,c=`\x3c!--${l}--\x3e`,u=new RegExp(`${l}|${c}`),p=(()=>{const t=document.createElement("div");return t.setAttribute("style","{{bad value}}"),"{{bad value}}"!==t.getAttribute("style")})();class d{constructor(t,e){this.parts=[],this.element=e;let n=-1,s=0;const r=[],i=e=>{const o=e.content,a=document.createTreeWalker(o,133,null,!1);let c,d;for(;a.nextNode();){n++,c=d;const e=d=a.currentNode;if(1===e.nodeType){if(e.hasAttributes()){const r=e.attributes;let i=0;for(let t=0;t=0&&i++;for(;i-- >0;){const r=t.strings[s],i=m.exec(r)[2],o=p&&"style"===i?"style$":/^[a-zA-Z-]*$/.test(i)?i:i.toLowerCase(),a=e.getAttribute(o).split(u);this.parts.push({type:"attribute",index:n,name:i,strings:a}),e.removeAttribute(o),s+=a.length-1}}"TEMPLATE"===e.tagName&&i(e)}else if(3===e.nodeType){const t=e.nodeValue;if(t.indexOf(l)<0)continue;const i=e.parentNode,o=t.split(u),a=o.length-1;s+=a;for(let t=0;t-1!==t.index,f=()=>document.createComment(""),m=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -class _{constructor(t,e,n){this._parts=[],this.template=t,this.processor=e,this.options=n}update(t){let e=0;for(const n of this._parts)void 0!==n&&n.setValue(t[e]),e++;for(const t of this._parts)void 0!==t&&t.commit()}_clone(){const t=i?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=this.template.parts;let n=0,s=0;const r=t=>{const i=document.createTreeWalker(t,133,null,!1);let o=i.nextNode();for(;n");!(n=(r>-1||n)&&-1===t.indexOf("<",r+1))&&p&&(e=e.replace(m,(t,e,n,s)=>"style"===n?`${e}style$${s}`:t)),e+=n?c:l}return e+=this.strings[t]}getTemplateElement(){const t=document.createElement("template");return t.innerHTML=this.getHTML(),t}} -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -const g=t=>null===t||!("object"==typeof t||"function"==typeof t);class y{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(let t=0;t{this.value===t&&(this.setValue(e),this.commit())})}clear(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;o(this.startNode.parentNode,t.nextSibling,this.endNode)}}class P{constructor(t,e,n){if(this.value=void 0,this._pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}setValue(t){this._pendingValue=t}commit(){for(;r(this._pendingValue);){const t=this._pendingValue;this._pendingValue=a,t(this)}if(this._pendingValue===a)return;const t=!!this._pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=t,this._pendingValue=a}}class S extends y{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new w(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class w extends b{}let N=!1;try{const t={get capture(){return N=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}class T{constructor(t,e,n){this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this._boundHandleEvent=(t=>this.handleEvent(t))}setValue(t){this._pendingValue=t}commit(){for(;r(this._pendingValue);){const t=this._pendingValue;this._pendingValue=a,t(this)}if(this._pendingValue===a)return;const t=this._pendingValue,e=this.value,n=null==t||null!=e&&(t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive),s=null!=t&&(null==e||n);n&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),this._options=E(t),s&&this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options),this.value=t,this._pendingValue=a}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const E=t=>t&&(N?{capture:t.capture,passive:t.passive,once:t.once}:t.capture); -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */const O=new class{handleAttributeExpressions(t,e,n,s){const r=e[0];return"."===r?new S(t,e.slice(1),n).parts:"@"===r?[new T(t,e.slice(1),s.eventContext)]:"?"===r?[new P(t,e.slice(1),n)]:new y(t,e,n).parts}handleTextExpression(t){return new x(t)}}; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */function C(t){let e=A.get(t.type);void 0===e&&(e=new Map,A.set(t.type,e));let n=e.get(t.strings);return void 0===n&&(n=new d(t,t.getTemplateElement()),e.set(t.strings,n)),n}const A=new Map,V=new WeakMap,M=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;st.parentNode.removeChild(t))}const k=t=>{let e=t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?0:1;const n=document.createTreeWalker(t,j,null,!1);for(;n.nextNode();)e++;return e},U=function(t){for(let e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;e`${t}--${e}`;let F=!0;void 0===window.ShadyCSS?F=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),F=!1);const z=["html","svg"],L=new Set,I=(t,e,n)=>{L.add(n);const s=t.querySelectorAll("style");if(0===s.length)return;const r=document.createElement("style");for(let t=0;t{z.forEach(e=>{const n=A.get($(e,t));void 0!==n&&n.forEach(t=>{const e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach(t=>{n.add(t)}),R(t,n)})})})(n),function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const s=t.element.content,r=t.parts;if(null===n||void 0===n)return void s.appendChild(e);const i=document.createTreeWalker(s,j,null,!1);let o=U(r),a=0,l=-1;for(;i.nextNode();)for(l++,i.currentNode===n&&(a=k(e),n.parentNode.insertBefore(e,n));-1!==o&&r[o].index===l;){if(a>0){for(;-1!==o;)r[o].index+=a,o=U(r,o);return}o=U(r,o)}}(e,r,e.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(e.element,n),window.ShadyCSS.nativeShadow){const n=e.element.content.querySelector("style");t.insertBefore(n.cloneNode(!0),t.firstChild)}else{e.element.content.insertBefore(r,e.element.content.firstChild);const t=new Set;t.add(r),R(e,t)}};function q(t,e){return function(t){if(Array.isArray(t))return t} -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */(t)||function(t,e){var n=[],s=!0,r=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(s=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);s=!0);}catch(t){r=!0,i=t}finally{try{s||null==a.return||a.return()}finally{if(r)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}const H=t=>null!==t,W=t=>t?"":null,B=(t,e)=>e!==t&&(e==e||t==t),D={attribute:!0,type:String,reflect:!1,hasChanged:B},X=new Promise(t=>t(!0)),G=1,J=4,Z=8;class K extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=X,this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this._finalize();const t=[];for(const n of this._classProperties){var e=q(n,2);const s=e[0],r=e[1],i=this._attributeNameForProperty(s,r);void 0!==i&&(this._attributeToPropertyMap.set(i,s),t.push(i))}return t}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;if(!this.hasOwnProperty("_classProperties")){this._classProperties=new Map;const t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((t,e)=>this._classProperties.set(e,t))}if(this._classProperties.set(t,e),this.prototype.hasOwnProperty(t))return;const n="symbol"==typeof t?Symbol():`__${t}`;Object.defineProperty(this.prototype,t,{get(){return this[n]},set(s){const r=this[t];this[n]=s,this._requestPropertyUpdate(t,r,e)},configurable:!0,enumerable:!0})}static _finalize(){if(this.hasOwnProperty("_finalized")&&this._finalized)return;const t=Object.getPrototypeOf(this);"function"==typeof t._finalize&&t._finalize(),this._finalized=!0,this._attributeToPropertyMap=new Map;const e=this.properties,n=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const t of n)this.createProperty(t,e[t])}static _attributeNameForProperty(t,e){const n=void 0!==e&&e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:B)(t,e)}static _propertyValueFromAttribute(t,e){const n=e&&e.type;if(void 0===n)return t;const s=n===Boolean?H:"function"==typeof n?n:n.fromAttribute;return s?s(t):t}static _propertyValueToAttribute(t,e){if(void 0===e||void 0===e.reflect)return;return(e.type===Boolean?W:e.type&&e.type.toAttribute||String)(t)}initialize(){this.renderRoot=this.createRenderRoot(),this._saveInstanceProperties()}_saveInstanceProperties(){for(const t of this.constructor._classProperties){const e=q(t,1)[0];if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,t)}}}_applyInstanceProperties(){for(const e of this._instanceProperties){var t=q(e,2);const n=t[0],s=t[1];this[n]=s}this._instanceProperties=void 0}createRenderRoot(){return this.attachShadow({mode:"open"})}connectedCallback(){this._updateState&G?void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this):this.requestUpdate()}disconnectedCallback(){}attributeChangedCallback(t,e,n){e!==n&&this._attributeToProperty(t,n)}_propertyToAttribute(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D;const s=this.constructor,r=s._propertyValueToAttribute(e,n);if(void 0!==r){const e=s._attributeNameForProperty(t,n);void 0!==e&&(this._updateState=this._updateState|Z,null===r?this.removeAttribute(e):this.setAttribute(e,r),this._updateState=this._updateState&~Z)}}_attributeToProperty(t,e){if(!(this._updateState&Z)){const n=this.constructor,s=n._attributeToPropertyMap.get(t);if(void 0!==s){const t=n._classProperties.get(s);this[s]=n._propertyValueFromAttribute(e,t)}}}requestUpdate(t,e){if(void 0!==t){const n=this.constructor._classProperties.get(t)||D;return this._requestPropertyUpdate(t,e,n)}return this._invalidate()}_requestPropertyUpdate(t,e,n){return this.constructor._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0===n.reflect&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n)),this._invalidate()):this.updateComplete}async _invalidate(){if(!this._hasRequestedUpdate){let t;this._updateState=this._updateState|J;const e=this._updatePromise;this._updatePromise=new Promise(e=>t=e),await e,this._validate(),t(!this._hasRequestedUpdate)}return this.updateComplete}get _hasRequestedUpdate(){return this._updateState&J}_validate(){if(this._instanceProperties&&this._applyInstanceProperties(),this.shouldUpdate(this._changedProperties)){const t=this._changedProperties;this.update(t),this._markUpdated(),this._updateState&G||(this._updateState=this._updateState|G,this.firstUpdated(t)),this.updated(t)}else this._markUpdated()}_markUpdated(){this._changedProperties=new Map,this._updateState=this._updateState&~J}get updateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){if(void 0!==this._reflectingProperties&&this._reflectingProperties.size>0){for(const t of this._reflectingProperties){var e=q(t,2);const n=e[0],s=e[1];this._propertyToAttribute(n,this[n],s)}this._reflectingProperties=void 0}}updated(t){}firstUpdated(t){}}K._attributeToPropertyMap=new Map,K._finalized=!0,K._classProperties=new Map,K.properties={}; -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -Q((t,e)=>t.querySelector(e)),Q((t,e)=>t.querySelectorAll(e));function Q(t){return e=>(n,s)=>{Object.defineProperty(n,s,{get(){return t(this.renderRoot,e)},enumerable:!0,configurable:!0})}} -/** - * @license - * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. - * This code may only be used under the BSD style license found at - * http://polymer.github.io/LICENSE.txt - * The complete set of authors may be found at - * http://polymer.github.io/AUTHORS.txt - * The complete set of contributors may be found at - * http://polymer.github.io/CONTRIBUTORS.txt - * Code distributed by Google as part of the polymer project is also - * subject to an additional IP rights grant found at - * http://polymer.github.io/PATENTS.txt - */ -class Y extends K{update(t){super.update(t);const e=this.render();e instanceof v&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this})}render(){}}Y.render=((t,e,n)=>{const s=n.scopeName,r=V.has(e);if(((t,e,n)=>{let s=V.get(e);void 0===s&&(o(e,e.firstChild),V.set(e,s=new x(Object.assign({templateFactory:C},n))),s.appendInto(e)),s.setValue(t),s.commit()})(t,e,Object.assign({templateFactory:(t=>e=>{const n=$(e.type,t);let s=A.get(n);void 0===s&&(s=new Map,A.set(n,s));let r=s.get(e.strings);if(void 0===r){const n=e.getTemplateElement();F&&window.ShadyCSS.prepareTemplateDom(n,t),r=new d(e,n),s.set(e.strings,r)}return r})(s)},n)),e instanceof ShadowRoot&&F&&t instanceof v){if(!L.has(s)){const t=V.get(e).value;I(e,t.template,s)}r||window.ShadyCSS.styleElement(e.host)}});var tt=n(1),et=n.n(tt),nt=n(2),st=n.n(nt);let rt=function(t){var e=t.getPrototypeOf||function(t){return t.__proto__},n=t.setPrototypeOf||function(t,e){return t.__proto__=e,t},s="object"==typeof Reflect?Reflect.construct:function(t,e,s){var r,i=[null];return i.push.apply(i,e),r=t.bind.apply(t,i),n(new r,s.prototype)};return function(t){var r=e(t);return n(t,n(function(){return s(r,arguments,e(this).constructor)},r))}}(Object)(class extends Y{render(){return M` - - -
-   -

- Welcome to - Create Evergreen App!

-
- `}});customElements.define("eve-header",rt);var it=n(3),ot=n.n(it);let at=function(t){var e=t.getPrototypeOf||function(t){return t.__proto__},n=t.setPrototypeOf||function(t,e){return t.__proto__=e,t},s="object"==typeof Reflect?Reflect.construct:function(t,e,s){var r,i=[null];return i.push.apply(i,e),r=t.bind.apply(t,i),n(new r,s.prototype)};return function(t){var r=e(t);return n(t,n(function(){return s(r,arguments,e(this).constructor)},r))}}(Object)(class extends Y{render(){return M` - - -
-

To get started, edit src/pages/home/home.js!

-
- `}});customElements.define("eve-home-page",at);var lt=n(4),ct=n.n(lt);let ut=function(t){var e=t.getPrototypeOf||function(t){return t.__proto__},n=t.setPrototypeOf||function(t,e){return t.__proto__=e,t},s="object"==typeof Reflect?Reflect.construct:function(t,e,s){var r,i=[null];return i.push.apply(i,e),r=t.bind.apply(t,i),n(new r,s.prototype)};return function(t){var r=e(t);return n(t,n(function(){return s(r,arguments,e(this).constructor)},r))}}(Object)(class extends Y{render(){return M` - - -
-
- -
-
- -
-
- `}});customElements.define("eve-app",ut)}]); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index e8b4113..0b4f1b8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + @@ -25,13 +25,13 @@ - + - - + + - + - - + + diff --git a/docs/report.html b/docs/report.html index c535344..b4d82d4 100644 --- a/docs/report.html +++ b/docs/report.html @@ -57,7 +57,7 @@
diff --git a/package.json b/package.json index 2d8b63b..54ba39d 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ ], "scripts": { "lint": "eslint \"./tasks/**/*.js\" \"./test/**/*.js\"", - "gh-pages": "rimraf ./docs && cd ./template && npm run build && cd ../ && cp -rv ./template/public/ ./docs", + "gh-pages": "rimraf ./docs && cd ./template && npm ci && npm run build && cd ../ && cp -rv ./template/public/ ./docs", "test:template": "cd template && npm i && export NODE_ENV=production && npm run test && npm run lint && npm run build", "test:template-backup": "export NODE_ENV=production && npm i --prefix template && npm test --prefix template && npm run lint --prefix template && npm run build --prefix template", "test": "mocha --timeout 5000"