TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1 @@
|
||||
const i=new WeakMap;class t{constructor(t,s){this.startPaused=!1,this.disabled=!1,this.clients=new Set,this.pendingComplete=!1,this.host=t,this.defaultOptions=s.defaultOptions||{},this.startPaused=!!s.startPaused,this.disabled=!!s.disabled,this.onComplete=s.onComplete,i.set(this.host,this)}async add(i){this.clients.add(i),this.startPaused&&i.webAnimation?.pause(),this.pendingComplete=!0,await i.finished,this.pendingComplete&&!this.isAnimating&&(this.pendingComplete=!1,this.onComplete?.())}remove(i){this.clients.delete(i)}pause(){this.clients.forEach((i=>i.webAnimation?.pause()))}play(){this.clients.forEach((i=>i.webAnimation?.play()))}cancel(){this.clients.forEach((i=>i.webAnimation?.cancel())),this.clients.clear()}finish(){this.clients.forEach((i=>i.webAnimation?.finish())),this.clients.clear()}togglePlay(){this.isPlaying?this.pause():this.play()}get isAnimating(){return this.clients.size>0}get isPlaying(){return Array.from(this.clients).some((i=>"running"===i.webAnimation?.playState))}async finished(){await Promise.all(Array.from(this.clients).map((i=>i.finished)))}}export{t as AnimateController,i as controllerMap};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
export{Animate,animate,animationFrame,defaultCssProperties,defaultKeyframeOptions,fade,fadeIn,fadeInSlow,fadeOut,flyAbove,flyBelow,flyLeft,flyRight,none,transformProps}from"@lit-labs/motion/animate.js";export{AnimateController,controllerMap}from"@lit-labs/motion/animate-controller.js";export{Position,position}from"@lit-labs/motion/position.js";
|
||||
@@ -0,0 +1 @@
|
||||
import{nothing as t}from"lit/html.js";import{directive as i,PartType as s}from"lit/directive.js";import{AsyncDirective as o}from"lit/async-directive.js";const r=["top","right","bottom","left"];class e extends o{constructor(t){if(super(t),t.type!==s.ELEMENT)throw Error("The `position` directive must be used in attribute position.")}render(i,s){return t}update(t,[i,s]){return void 0===this.u&&(this.u=t.options?.host,this.u.addController(this)),this.S=t.element,this.C=i,this.F=s??["left","top","width","height"],this.render(i,s)}hostUpdated(){this.$()}$(){const t="function"==typeof this.C?this.C():this.C?.value,i=t.offsetParent;if(void 0===t||!i)return;const s=t.getBoundingClientRect(),o=i.getBoundingClientRect();this.F?.forEach((t=>{const i=r.includes(t)?s[t]-o[t]:s[t];this.S.style[t]=i+"px"}))}}const h=i(e);export{e as Position,h as position};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2019 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n("string"==typeof t?t:t+"",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};
|
||||
@@ -0,0 +1 @@
|
||||
export{customElement}from"@lit/reactive-element/decorators/custom-element.js";export{property,standardProperty}from"@lit/reactive-element/decorators/property.js";export{state}from"@lit/reactive-element/decorators/state.js";export{eventOptions}from"@lit/reactive-element/decorators/event-options.js";export{query}from"@lit/reactive-element/decorators/query.js";export{queryAll}from"@lit/reactive-element/decorators/query-all.js";export{queryAsync}from"@lit/reactive-element/decorators/query-async.js";export{queryAssignedElements}from"@lit/reactive-element/decorators/query-assigned-elements.js";export{queryAssignedNodes}from"@lit/reactive-element/decorators/query-assigned-nodes.js";
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const t=t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{t as customElement};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
function t(t){return(n,o)=>{const c="function"==typeof n?n:n[o];Object.assign(c,t)}}export{t as eventOptions};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{defaultConverter as t,notEqual as e}from"@lit/reactive-element/reactive-element.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error("Unsupported decorator location: "+n)};function n(t){return(e,o)=>"object"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};
|
||||
@@ -0,0 +1,7 @@
|
||||
import{desc as t}from"@lit/reactive-element/decorators/base.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
let e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import{desc as t}from"@lit/reactive-element/decorators/base.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/function o(o){return(e,n)=>{const{slot:r,selector:s}=o??{},c="slot"+(r?`[name=${r}]`:":not([name])");return t(e,n,{get(){const t=this.renderRoot?.querySelector(c),e=t?.assignedElements(o)??[];return void 0===s?e:e.filter((t=>t.matches(s)))}})}}export{o as queryAssignedElements};
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import{desc as t}from"@lit/reactive-element/decorators/base.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/function n(n){return(o,r)=>{const{slot:e}=n??{},s="slot"+(e?`[name=${e}]`:":not([name])");return t(o,r,{get(){const t=this.renderRoot?.querySelector(s);return t?.assignedNodes(n)??[]}})}}export{n as queryAssignedNodes};
|
||||
@@ -0,0 +1,7 @@
|
||||
import{desc as t}from"@lit/reactive-element/decorators/base.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
function r(r){return(n,e)=>t(n,e,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}export{r as queryAsync};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{desc as t}from"@lit/reactive-element/decorators/base.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}="object"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{property as t}from"@lit/reactive-element/decorators/property.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};
|
||||
@@ -0,0 +1,6 @@
|
||||
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/var i,n="__scoped";null!==(i=globalThis.reactiveElementPolyfillSupport)&&void 0!==i||(globalThis.reactiveElementPolyfillSupport=function(i){var t=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var o=t.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(o);var d=o.createRenderRoot;o.createRenderRoot=function(){var i,t,o,w=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(n)){this.constructor[n]=!0;var s=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(t=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===t||t.prepareAdoptedCssText(s,w),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),w)}return null!==(o=this.shadowRoot)&&void 0!==o?o:this.attachShadow(this.constructor.shadowRootOptions)};var w=o.connectedCallback;o.connectedCallback=function(){w.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var s=o._$AE;o._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),s.call(this,i)}}})}));
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2023 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const r=(r,t)=>r===t||r.length===t.length&&r.every(((r,e)=>i(r,t[e]))),t=Object.prototype.valueOf,e=Object.prototype.toString,{keys:n}=Object,{isArray:f}=Array,i=(r,o)=>{if(Object.is(r,o))return!0;if(null!==r&&null!==o&&"object"==typeof r&&"object"==typeof o){if(r.constructor!==o.constructor)return!1;if(f(r))return r.length===o.length&&r.every(((r,t)=>i(r,o[t])));if(r.valueOf!==t)return r.valueOf()===o.valueOf();if(r.toString!==e)return r.toString()===o.toString();if(r instanceof Map&&o instanceof Map){if(r.size!==o.size)return!1;for(const[t,e]of r.entries())if(!1===i(e,o.get(t))||void 0===e&&!1===o.has(t))return!1;return!0}if(r instanceof Set&&o instanceof Set){if(r.size!==o.size)return!1;for(const t of r.keys())if(!1===o.has(t))return!1;return!0}if(r instanceof RegExp)return r.source===o.source&&r.flags===o.flags;const u=n(r);if(u.length!==n(o).length)return!1;for(const t of u)if(!o.hasOwnProperty(t)||!i(r[t],o[t]))return!1;return!0}return!1};export{r as deepArrayEquals,i as deepEquals};
|
||||
@@ -0,0 +1 @@
|
||||
export{Task,TaskStatus,initialState,shallowArrayEquals}from"@lit/task/task.js";
|
||||
@@ -0,0 +1,6 @@
|
||||
import{notEqual as t}from"@lit/reactive-element";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const s={INITIAL:0,PENDING:1,COMPLETE:2,ERROR:3},i=Symbol();class h{get taskComplete(){return this.t||(1===this.i?this.t=new Promise(((t,s)=>{this.o=t,this.h=s})):3===this.i?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,s,i){this.p=0,this.i=0,(this._=t).addController(this);const h="object"==typeof s?s:{task:s,args:i};this.v=h.task,this.j=h.args,this.m=h.argsEqual??r,this.k=h.onComplete,this.A=h.onError,this.autoRun=h.autoRun??!0,"initialValue"in h&&(this.u=h.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){!0===this.autoRun&&this.S()}hostUpdated(){"afterUpdate"===this.autoRun&&this.S()}T(){if(void 0===this.j)return;const t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){const t=this.T(),s=this.O;this.O=t,t===s||void 0===t||void 0!==s&&this.m(s,t)||await this.run(t)}async run(t){let s,h;t??=this.T(),this.O=t,1===this.i?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,"afterUpdate"===this.autoRun?queueMicrotask((()=>this._.requestUpdate())):this._.requestUpdate();const r=++this.p;this.q=new AbortController;let e=!1;try{s=await this.v(t,{signal:this.q.signal})}catch(t){e=!0,h=t}if(this.p===r){if(s===i)this.i=0;else{if(!1===e){try{this.k?.(s)}catch{}this.i=2,this.o?.(s)}else{try{this.A?.(h)}catch{}this.i=3,this.h?.(h)}this.u=s,this.l=h}this._.requestUpdate()}}abort(t){1===this.i&&this.q?.abort(t)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){switch(this.i){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}}const r=(s,i)=>s===i||s.length===i.length&&s.every(((s,h)=>!t(s,i[h])));export{h as Task,s as TaskStatus,i as initialState,r as shallowArrayEquals};
|
||||
@@ -0,0 +1,15 @@
|
||||
This directory contains all packaged third-party frontend libraries needed
|
||||
for the TYPO3 CMS Core. They are mostly managed via Grunt or have been adapted
|
||||
to fit our needs.
|
||||
|
||||
Please make sure to never reference any file directly here, rather copy
|
||||
a file needed in your own extension or reference it via JavaScript import
|
||||
statments instead of using the Path to this Contrib/ directory.
|
||||
|
||||
Libraries not handled by bower/Grunt:
|
||||
|
||||
- bootstrap/bootstrap.js
|
||||
Twitter Bootstrap 3 is not shipped as an AMD module, and has been adapted to be
|
||||
wrapped as an AMD module called "bootstrap".
|
||||
|
||||
Benni, March 2015.
|
||||
@@ -0,0 +1 @@
|
||||
var d=new Map;function H(o){var n=d.get(o);n&&n.destroy()}function L(o){var n=d.get(o);n&&n.update()}var u=null;typeof window>"u"?((u=function(o){return o}).destroy=function(o){return o},u.update=function(o){return o}):((u=function(o,n){return o&&Array.prototype.forEach.call(o.length?o:[o],function(m){return function(e){if(e&&e.nodeName&&e.nodeName==="TEXTAREA"&&!d.has(e)){var c,y=null,t=window.getComputedStyle(e),g=(c=e.value,function(){v({testForHeightReduction:c===""||!e.value.startsWith(c),restoreTextAlign:null}),c=e.value}),p=function(a){e.removeEventListener("autosize:destroy",p),e.removeEventListener("autosize:update",i),e.removeEventListener("input",g),window.removeEventListener("resize",i),Object.keys(a).forEach(function(l){return e.style[l]=a[l]}),d.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",p),e.addEventListener("autosize:update",i),e.addEventListener("input",g),window.addEventListener("resize",i),e.style.overflowX="hidden",e.style.wordWrap="break-word",d.set(e,{destroy:p,update:i}),i()}function v(a){var l,s,w=a.restoreTextAlign,f=w===void 0?null:w,E=a.testForHeightReduction,b=E===void 0||E,T=t.overflowY;if(e.scrollHeight!==0&&(t.resize==="vertical"?e.style.resize="none":t.resize==="both"&&(e.style.resize="horizontal"),b&&(l=function(r){for(var z=[];r&&r.parentNode&&r.parentNode instanceof Element;)r.parentNode.scrollTop&&z.push([r.parentNode,r.parentNode.scrollTop]),r=r.parentNode;return function(){return z.forEach(function(A){var h=A[0],F=A[1];h.style.scrollBehavior="auto",h.scrollTop=F,h.style.scrollBehavior=null})}}(e),e.style.height=""),s=t.boxSizing==="content-box"?e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&s>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflow="scroll"),s=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflow="hidden"),e.style.height=s+"px",f&&(e.style.textAlign=f),l&&l(),y!==s&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),y=s),T!==t.overflow&&!f)){var x=t.textAlign;t.overflow==="hidden"&&(e.style.textAlign=x==="start"?"end":"start"),v({restoreTextAlign:x,testForHeightReduction:!0})}}function i(){v({testForHeightReduction:!0,restoreTextAlign:null})}}(m)}),o}).destroy=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],H),o},u.update=function(o){return o&&Array.prototype.forEach.call(o.length?o:[o],L),o});var N=u,W=N;export{W as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/custom-element.js";export*from"@lit/reactive-element/decorators/property.js";export*from"@lit/reactive-element/decorators/state.js";export*from"@lit/reactive-element/decorators/event-options.js";export*from"@lit/reactive-element/decorators/query.js";export*from"@lit/reactive-element/decorators/query-all.js";export*from"@lit/reactive-element/decorators/query-async.js";export*from"@lit/reactive-element/decorators/query-assigned-elements.js";export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/custom-element.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/event-options.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/property.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-all.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-assigned-elements.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-async.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/state.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element";export*from"lit-html";export{LitElement,_$LE}from"lit-element/lit-element.js";
|
||||
@@ -0,0 +1,6 @@
|
||||
import{ReactiveElement as e}from"@lit/reactive-element";export*from"@lit/reactive-element";import{render as n,noChange as l}from"lit-html";export*from"lit-html";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/class h extends e{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=n(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return l}}h._$litElement$=!0,h["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:h});const f=globalThis.litElementPolyfillSupport;f?.({LitElement:h});const x={_$AK:(t,e,s)=>{t._$AK(e,s)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.1.0");export{h as LitElement,x as _$LE};
|
||||
@@ -0,0 +1,6 @@
|
||||
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/var i,n,o="__scoped";null!==(i=globalThis.reactiveElementPolyfillSupport)&&void 0!==i||(globalThis.reactiveElementPolyfillSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var t=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(t);var d=t.createRenderRoot;t.createRenderRoot=function(){var i,n,t,w=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var v=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(n=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===n||n.prepareAdoptedCssText(v,w),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),w)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var w=t.connectedCallback;t.connectedCallback=function(){w.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var v=t._$AE;t._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),v.call(this,i)}}});var t,d=new Set,w=new Map;null!==(n=globalThis.litHtmlPolyfillSupport)&&void 0!==n||(globalThis.litHtmlPolyfillSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var o=function(i){return void 0!==i&&!d.has(i)},t=function(i){var n=w.get(i);return void 0===n&&w.set(i,n=[]),n},v=new Map,l=i.createElement;i.createElement=function(n,d){var w=l.call(i,n,d),v=null==d?void 0:d.scope;if(void 0!==v&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(w,v),o(v))){var r=t(v),u=w.content.querySelectorAll("style");r.push.apply(r,Array.from(u).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return w};var r=document.createDocumentFragment(),u=document.createComment(""),s=n.prototype,e=s._$AI;s._$AI=function(i,n){var v,l;void 0===n&&(n=this);var s=this._$AA.parentNode,a=null===(v=this.options)||void 0===v?void 0:v.scope;if(s instanceof ShadowRoot&&o(a)){var h=this._$AA,f=this._$AB;r.appendChild(u),this._$AA=u,this._$AB=null,e.call(this,i,n);var c=(null==i?void 0:i._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,n){var o,v=t(i),l=0!==v.length;l&&((o=document.createElement("style")).textContent=v.join("\n"),n.content.appendChild(o)),d.add(i),w.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),l&&window.ShadyCSS.nativeShadow&&null!==(o=n.content.querySelector("style"))&&n.content.appendChild(o)}(a,c),r.removeChild(u),null===(l=window.ShadyCSS)||void 0===l?void 0:l.nativeShadow){var y=c.content.querySelector("style");null!==y&&r.appendChild(y.cloneNode(!0))}s.insertBefore(r,f),this._$AA=h,this._$AB=f}else e.call(this,i,n)},s._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=v.get(t);void 0===d&&v.set(t,d=new Map);var w=d.get(n.strings);return void 0===w&&d.set(n.strings,w=new i(n,this.options)),w}}}),null!==(t=globalThis.litElementPolyfillSupport)&&void 0!==t||(globalThis.litElementPolyfillSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n._$AJ=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})}));
|
||||
@@ -0,0 +1,6 @@
|
||||
import{_$LE as v}from"lit-element/lit-element.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const x={attributeToProperty:v._$AK,changedProperties:v._$AL};export{x as _$LE};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{isSingleExpression as rt}from"lit-html/directive-helpers.js";import{Directive as i,PartType as t}from"lit-html/directive.js";export{directive}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const mt=(i,t)=>{const e=i._$AN;if(void 0===e)return!1;for(const i of e)i._$AO?.(t,!1),mt(i,t);return!0},_t=i=>{let t,e;do{if(void 0===(t=i._$AM))break;e=t._$AN,e.delete(i),i=t}while(0===e?.size)},wt=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(void 0===e)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),gt(t)}};function bt(i){void 0!==this._$AN?(_t(this),this._$AM=i,wt(this)):this._$AM=i}function yt(i,t=!1,e=0){const s=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)mt(s[i],!1),_t(s[i]);else null!=s&&(mt(s,!1),_t(s));else mt(this,i)}const gt=i=>{i.type==t.CHILD&&(i._$AP??=yt,i._$AQ??=bt)};class $t extends i{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,e){super._$AT(i,t,e),wt(this),this.isConnected=i._$AU}_$AO(i,t=!0){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),t&&(mt(this,i),_t(this))}setValue(i){if(rt(this.t))this.t._$AI(i,this);else{const t=[...this.t._$AH];t[this.i]=i,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}}export{$t as AsyncDirective,i as Directive,t as PartType};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{_$LH as io}from"lit-html/lit-html.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const{I:et}=io,st=o=>null===o||"object"!=typeof o&&"function"!=typeof o,no={HTML:1,SVG:2,MATHML:3},nt=(o,t)=>void 0===t?void 0!==o?._$litType$:o?._$litType$===t,ot=o=>null!=o?._$litType$?.h,eo=o=>void 0!==o?._$litDirective$,lo=o=>o?._$litDirective$,rt=o=>void 0===o.strings,lt=()=>document.createComment(""),at=(o,t,i)=>{const n=o._$AA.parentNode,e=void 0===t?o._$AB:t._$AA;if(void 0===i){const t=n.insertBefore(lt(),e),l=n.insertBefore(lt(),e);i=new et(t,l,o,o.options)}else{const t=i._$AB.nextSibling,l=i._$AM,c=l!==o;if(c){let t;i._$AQ?.(o),i._$AM=o,void 0!==i._$AP&&(t=o._$AU)!==l._$AU&&i._$AP(t)}if(t!==e||c){let o=i._$AA;for(;o!==t;){const t=o.nextSibling;n.insertBefore(o,e),o=t}}}return i},ct=(o,t,i=o)=>(o._$AI(t,i),o),ht={},dt=(o,t=ht)=>o._$AH=t,ut=o=>o._$AH,pt=o=>{o._$AP?.(!1,!0);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o}},ft=o=>{o._$AR()};export{no as TemplateResultType,ft as clearPart,ut as getCommittedValue,lo as getDirectiveClass,at as insertPart,ot as isCompiledTemplateResult,eo as isDirectiveResult,st as isPrimitive,rt as isSingleExpression,nt as isTemplateResult,pt as removePart,ct as setChildPartValue,dt as setCommittedValue};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this.t=t,this._$AM=e,this.i=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{directive as e,PartType as t}from"lit-html/directive.js";import{AsyncReplaceDirective as kt}from"lit-html/directives/async-replace.js";import{clearPart as ft,insertPart as at,setChildPartValue as ct}from"lit-html/directive-helpers.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const jt=e(class extends kt{constructor(r){if(super(r),r.type!==t.CHILD)throw Error("asyncAppend can only be used in child expressions")}update(r,e){return this.tt=r,super.update(r,e)}commitValue(r,e){0===e&&ft(this.tt);const s=at(this.tt);ct(s,r)}});export{jt as asyncAppend};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{noChange as R}from"lit-html/lit-html.js";import{AsyncDirective as $t}from"lit-html/async-directive.js";import{PseudoWeakRef as Tt,Pauser as Et,forAwaitOf as ti}from"lit-html/directives/private-async-helpers.js";import{directive as e}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/class kt extends $t{constructor(){super(...arguments),this.K=new Tt(this),this.X=new Et}render(t,i){return R}update(t,[i,s]){if(this.isConnected||this.disconnected(),i===this.J)return R;this.J=i;let r=0;const{K:e,X:n}=this;return ti(i,(async t=>{for(;n.get();)await n.get();const o=e.deref();if(void 0!==o){if(o.J!==i)return!1;void 0!==s&&(t=s(t,r)),o.commitValue(t,r),r++}return!0})),R}commitValue(t,i){this.setValue(t)}disconnected(){this.K.disconnect(),this.X.pause()}reconnected(){this.K.reconnect(this),this.X.resume()}}const Ot=e(kt);export{kt as AsyncReplaceDirective,Ot as asyncReplace};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{render as Q,nothing as D}from"lit-html/lit-html.js";import{directive as e,Directive as i}from"lit-html/directive.js";import{isTemplateResult as nt,getCommittedValue as ut,setCommittedValue as dt,insertPart as at,clearPart as ft,isCompiledTemplateResult as ot}from"lit-html/directive-helpers.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const Pt=t=>ot(t)?t._$litType$.h:t.strings,At=e(class extends i{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[i]){const s=nt(this.it)?Pt(this.it):null,e=nt(i)?Pt(i):null;if(null!==s&&(null===e||s!==e)){const i=ut(t).pop();let e=this.et.get(s);if(void 0===e){const t=document.createDocumentFragment();e=Q(D,t),e.setConnected(!1),this.et.set(s,e)}dt(e,[i]),at(e,void 0,i)}if(null!==e){if(null===s||s!==e){const i=this.et.get(e);if(void 0!==i){const s=ut(i).pop();ft(t),at(t,void 0,s),dt(t,[s])}}this.it=i}else this.it=void 0;return this.render(i)}});export{At as cache};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const rr=(r,o,t)=>{for(const t of o)if(t[0]===r)return(0,t[1])();return t?.()};export{rr as choose};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2018 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const Rt=e(class extends i{constructor(s){if(super(s),s.type!==t.ATTRIBUTE||"class"!==s.name||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(t,[s]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in s)s[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(s)}const i=t.element.classList;for(const t of this.st)t in s||(i.remove(t),this.st.delete(t));for(const t in s){const r=!!s[t];r===this.st.has(t)||this.nt?.has(t)||(r?(i.add(t),this.st.add(t)):(i.remove(t),this.st.delete(t)))}return R}});export{Rt as classMap};
|
||||
@@ -0,0 +1,7 @@
|
||||
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2018 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const Vt={},It=e(class extends i{constructor(){super(...arguments),this.ot=Vt}render(r,t){return t()}update(r,[t,s]){if(Array.isArray(t)){if(Array.isArray(this.ot)&&this.ot.length===t.length&&t.every(((r,t)=>r===this.ot[t])))return R}else if(this.ot===t)return R;return this.ot=Array.isArray(t)?Array.from(t):t,this.render(t,s)}});export{It as guard};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{nothing as D}from"lit-html/lit-html.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2018 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const to=t=>t??D;export{to as ifDefined};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
function*oo(o,t){const f="function"==typeof t;if(void 0!==o){let i=-1;for(const n of o)i>-1&&(yield f?t(i):t),i++,yield n}}export{oo as join};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{nothing as D}from"lit-html/lit-html.js";import{directive as e,Directive as i}from"lit-html/directive.js";import{setCommittedValue as dt}from"lit-html/directive-helpers.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const Bt=e(class extends i{constructor(){super(...arguments),this.key=D}render(r,t){return this.key=r,t}update(r,[t,e]){return t!==this.key&&(dt(r),this.key=t),e}});export{Bt as keyed};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{noChange as R,nothing as D}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";import{isSingleExpression as rt,setCommittedValue as dt}from"lit-html/directive-helpers.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const Ft=e(class extends i{constructor(r){if(super(r),r.type!==t.PROPERTY&&r.type!==t.ATTRIBUTE&&r.type!==t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!rt(r))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(r,[e]){if(e===R||e===D)return e;const i=r.element,n=r.name;if(r.type===t.PROPERTY){if(e===i[n])return R}else if(r.type===t.BOOLEAN_ATTRIBUTE){if(!!e===i.hasAttribute(n))return R}else if(r.type===t.ATTRIBUTE&&i.getAttribute(n)===e+"")return R;return dt(r),e}});export{Ft as live};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
function*oo(o,f){if(void 0!==o){let i=0;for(const t of o)yield f(t,i++)}}export{oo as map};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const ti=async(t,s)=>{for await(const i of t)if(!1===await s(i))return};class Tt{constructor(t){this.Y=t}disconnect(){this.Y=void 0}reconnect(t){this.Y=t}deref(){return this.Y}}class Et{constructor(){this.Z=void 0,this.q=void 0}get(){return this.Z}pause(){this.Z??=new Promise((t=>this.q=t))}resume(){this.q?.(),this.Z=this.q=void 0}}export{Et as Pauser,Tt as PseudoWeakRef,ti as forAwaitOf};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
function*oo(o,t,e=1){const i=void 0===t?0:o;t??=o;for(let o=i;e>0?o<t:t<o;o+=e)yield o}export{oo as range};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{nothing as D}from"lit-html/lit-html.js";import{AsyncDirective as $t}from"lit-html/async-directive.js";import{directive as e}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const ii=()=>new Zt;class Zt{}const qt=new WeakMap,Kt=e(class extends $t{render(t){return D}update(t,[i]){const s=i!==this.Y;return s&&void 0!==this.Y&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.Y=i,this.ht=t.options?.host,this.rt(this.ct=t.element)),D}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.Y){const i=this.ht??globalThis;let s=qt.get(i);void 0===s&&(s=new WeakMap,qt.set(i,s)),void 0!==s.get(this.Y)&&this.Y.call(this.ht,void 0),s.set(this.Y,t),void 0!==t&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return"function"==typeof this.Y?qt.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{ii as createRef,Kt as ref};
|
||||
@@ -0,0 +1,7 @@
|
||||
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";import{getCommittedValue as ut,setChildPartValue as ct,insertPart as at,removePart as pt,setCommittedValue as dt}from"lit-html/directive-helpers.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const Jt=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},Qt=e(class extends i{constructor(e){if(super(e),e.type!==t.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return{values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(e,[s,t,r]){const l=ut(e),{values:o,keys:i}=this.dt(s,t,r);if(!Array.isArray(l))return this.ut=i,o;const n=this.ut??=[],f=[];let u,c,d=0,p=l.length-1,a=0,h=o.length-1;for(;d<=p&&a<=h;)if(null===l[d])d++;else if(null===l[p])p--;else if(n[d]===i[a])f[a]=ct(l[d],o[a]),d++,a++;else if(n[p]===i[h])f[h]=ct(l[p],o[h]),p--,h--;else if(n[d]===i[h])f[h]=ct(l[d],o[h]),at(e,f[h+1],l[d]),d++,h--;else if(n[p]===i[a])f[a]=ct(l[p],o[a]),at(e,l[d],l[p]),p--,a++;else if(void 0===u&&(u=Jt(i,a,h),c=Jt(n,d,p)),u.has(n[d]))if(u.has(n[p])){const s=c.get(i[a]),t=void 0!==s?l[s]:null;if(null===t){const s=at(e,l[d]);ct(s,o[a]),f[a]=s}else f[a]=ct(t,o[a]),at(e,l[d],t),l[s]=null;a++}else pt(l[p]),p--;else pt(l[d]),d++;for(;a<=h;){const s=at(e,f[h+1]);ct(s,o[a]),f[a++]=s}for(;d<=p;){const e=l[d++];null!==e&&pt(e)}return this.ut=i,dt(e,f),R}});export{Qt as repeat};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2018 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const ee="important",ie=" !"+ee,se=e(class extends i{constructor(e){if(super(e),e.type!==t.ATTRIBUTE||"style"!==e.name||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?r.removeProperty(t):r[t]=null);for(const t in e){const s=e[t];if(null!=s){this.ft.add(t);const e="string"==typeof s&&s.endsWith(ie);t.includes("-")||e?r.setProperty(t,e?s.slice(0,-11):s,e?ee:""):r[t]=s}}return R}});export{se as styleMap};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{noChange as R}from"lit-html/lit-html.js";import{directive as e,Directive as i,PartType as t}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const oe=e(class extends i{constructor(r){if(super(r),r.type!==t.CHILD)throw Error("templateContent can only be used in child bindings")}render(t){return this.vt===t?R:(this.vt=t,document.importNode(t.content,!0))}});export{oe as templateContent};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{nothing as D,noChange as R}from"lit-html/lit-html.js";import{Directive as i,PartType as t,directive as e}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/class le extends i{constructor(i){if(super(i),this.it=D,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this._t=void 0,this.it=t;if(t===R)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}}le.directiveName="unsafeHTML",le.resultType=1;const ae=e(le);export{le as UnsafeHTMLDirective,ae as unsafeHTML};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{directive as e}from"lit-html/directive.js";import{UnsafeHTMLDirective as le}from"lit-html/directives/unsafe-html.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2024 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/class he extends le{}he.directiveName="unsafeMath",he.resultType=3;const de=e(he);export{de as unsafeMathML};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{directive as e}from"lit-html/directive.js";import{UnsafeHTMLDirective as le}from"lit-html/directives/unsafe-html.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/class pe extends le{}pe.directiveName="unsafeSVG",pe.resultType=2;const fe=e(pe);export{fe as unsafeSVG};
|
||||
@@ -0,0 +1,6 @@
|
||||
import{noChange as R}from"lit-html/lit-html.js";import{isPrimitive as st}from"lit-html/directive-helpers.js";import{AsyncDirective as $t}from"lit-html/async-directive.js";import{PseudoWeakRef as Tt,Pauser as Et}from"lit-html/directives/private-async-helpers.js";import{directive as e}from"lit-html/directive.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/const me=t=>!st(t)&&"function"==typeof t.then,_e=1073741823;class we extends $t{constructor(){super(...arguments),this.wt=_e,this.bt=[],this.K=new Tt(this),this.X=new Et}render(...t){return t.find((t=>!me(t)))??R}update(t,s){const i=this.bt;let e=i.length;this.bt=s;const r=this.K,o=this.X;this.isConnected||this.disconnected();for(let t=0;t<s.length&&!(t>this.wt);t++){const n=s[t];if(!me(n))return this.wt=t,n;t<e&&n===i[t]||(this.wt=_e,e=0,Promise.resolve(n).then((async t=>{for(;o.get();)await o.get();const s=r.deref();if(void 0!==s){const i=s.bt.indexOf(n);i>-1&&i<s.wt&&(s.wt=i,s.setValue(t))}})))}return R}disconnected(){this.K.disconnect(),this.X.pause()}reconnected(){this.K.reconnect(this),this.X.resume()}}const be=e(we);export{we as UntilDirective,be as until};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
function nn(n,r,t){return n?r(n):t?.(n)}export{nn as when};
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2022 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const co=!1;export{co as isServer};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
!function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/var i,n=new Set,o=new Map;null!==(i=globalThis.litHtmlPolyfillSupport)&&void 0!==i||(globalThis.litHtmlPolyfillSupport=function(i,t){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!n.has(i)},e=function(i){var n=o.get(i);return void 0===n&&o.set(i,n=[]),n},v=new Map,u=i.createElement;i.createElement=function(n,o){var t=u.call(i,n,o),v=null==o?void 0:o.scope;if(void 0!==v&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,v),d(v))){var l=e(v),r=t.content.querySelectorAll("style");l.push.apply(l,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var l=document.createDocumentFragment(),r=document.createComment(""),a=t.prototype,s=a._$AI;a._$AI=function(i,t){var v,u;void 0===t&&(t=this);var a=this._$AA.parentNode,w=null===(v=this.options)||void 0===v?void 0:v.scope;if(a instanceof ShadowRoot&&d(w)){var f=this._$AA,c=this._$AB;l.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,t);var h=(null==i?void 0:i._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,t){var d,v=e(i),u=0!==v.length;u&&((d=document.createElement("style")).textContent=v.join("\n"),t.content.appendChild(d)),n.add(i),o.delete(i),window.ShadyCSS.prepareTemplateStyles(t,i),u&&window.ShadyCSS.nativeShadow&&null!==(d=t.content.querySelector("style"))&&t.content.appendChild(d)}(w,h),l.removeChild(r),null===(u=window.ShadyCSS)||void 0===u?void 0:u.nativeShadow){var y=h.content.querySelector("style");null!==y&&l.appendChild(y.cloneNode(!0))}a.insertBefore(l,c),this._$AA=f,this._$AB=c}else s.call(this,i,t)},a._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=v.get(t);void 0===d&&v.set(t,d=new Map);var e=d.get(n.strings);return void 0===e&&d.set(n.strings,e=new i(n,this.options)),e}}})}));
|
||||
@@ -0,0 +1,7 @@
|
||||
import{_$LH as X,noChange as R}from"lit-html/lit-html.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2019 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
let Me=null;const Ie={boundAttributeSuffix:X.M,marker:X.P,markerMatch:X.A,HTML_RESULT:X.C,getTemplateHtml:X.L,overrideDirectiveResolve:(e,t)=>class extends e{_$AS(e,r){return t(this,r)}},patchDirectiveResolve:(e,t)=>{if(e.prototype._$AS!==t){Me??=e.prototype._$AS.name;for(let r=e.prototype;r!==Object.prototype;r=Object.getPrototypeOf(r))if(r.hasOwnProperty(Me))return void(r[Me]=t);throw Error("Internal error: It is possible that both dev mode and production mode Lit was mixed together during SSR. Please comment on the issue: https://github.com/lit/lit/issues/4527")}},setDirectiveClass(e,t){e._$litDirective$=t},getAttributePartCommittedValue:(e,t,r)=>{let i=R;return e.j=e=>i=e,e._$AI(t,e,r),i},connectedDisconnectable:e=>({...e,_$AU:!0}),resolveDirective:X.V,AttributePart:X.H,PropertyPart:X.B,BooleanAttributePart:X.N,EventPart:X.U,ElementPart:X.F,TemplateInstance:X.R,isIterable:X.D,ChildPart:X.I};export{Ie as _$LH};
|
||||
@@ -0,0 +1,7 @@
|
||||
import{html as A,svg as C,mathml as L}from"lit-html/lit-html.js";
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
const $e=Symbol.for(""),xe=t=>{if(t?.r===$e)return t?._$litStatic$},tr=t=>({_$litStatic$:t,r:$e}),er=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:$e}),Te=new Map,Ee=t=>(r,...e)=>{const a=e.length;let o,s;const i=[],l=[];let n,u=0,c=!1;for(;u<a;){for(n=r[u];u<a&&void 0!==(s=e[u],o=xe(s));)n+=o+r[++u],c=!0;u!==a&&l.push(s),i.push(n),u++}if(u===a&&i.push(r[a]),c){const t=i.join("$$lit$$");void 0===(r=Te.get(t))&&(i.raw=i,Te.set(t,r=i)),e=l}return t(r,...e)},ke=Ee(A),Oe=Ee(C),Se=Ee(L);export{ke as html,er as literal,Se as mathml,Oe as svg,tr as unsafeStatic,Ee as withStatic};
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/async-directive.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/custom-element.js";export*from"@lit/reactive-element/decorators/property.js";export*from"@lit/reactive-element/decorators/state.js";export*from"@lit/reactive-element/decorators/event-options.js";export*from"@lit/reactive-element/decorators/query.js";export*from"@lit/reactive-element/decorators/query-all.js";export*from"@lit/reactive-element/decorators/query-async.js";export*from"@lit/reactive-element/decorators/query-assigned-elements.js";export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/custom-element.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/event-options.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/property.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-all.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-assigned-elements.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query-async.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/query.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"@lit/reactive-element/decorators/state.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directive-helpers.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directive.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/async-append.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/async-replace.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/cache.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/choose.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/class-map.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/guard.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/if-defined.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/join.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/keyed.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/live.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/map.js";
|
||||
@@ -0,0 +1 @@
|
||||
export*from"lit-html/directives/range.js";
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user