diff --git a/Build/package.json b/Build/package.json index a5a32d4f5bad0b02f11c6f0c5844acc2669f6f9a..9738be3be3772f3d63da0ae6832257762718752d 100644 --- a/Build/package.json +++ b/Build/package.json @@ -79,6 +79,7 @@ }, "dependencies": { "@claviska/jquery-minicolors": "^2.3.5", + "@lit/reactive-element": "1.0.0-rc.3", "@popperjs/core": "^2.9.1", "@typo3/icons": "^2.2.2", "autosize": "^4.0.2", @@ -99,9 +100,9 @@ "imagesloaded": "^4.1.4", "jquery": "^3.5.1", "jquery-ui": "github:jquery/jquery-ui#1.11.4", - "lit": "^2.0.0-rc.2", - "lit-element": "^3.0.0-rc.2", - "lit-html": "^2.0.0-rc.3", + "lit": "^2.0.0-rc.3", + "lit-element": "^3.0.0-rc.3", + "lit-html": "^2.0.0-rc.4", "moment": "^2.29.0", "moment-timezone": "^0.5.31", "muuri": "^0.9.3", diff --git a/Build/yarn.lock b/Build/yarn.lock index 36b5fbf6f3140a89c24a249f302ee817402a91e0..6580f44524e1908da6150b5232cc494ebf34f9c0 100644 --- a/Build/yarn.lock +++ b/Build/yarn.lock @@ -405,6 +405,11 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== +"@lit/reactive-element@1.0.0-rc.3": + version "1.0.0-rc.3" + resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.0.0-rc.3.tgz#5032f493fbf39781b187a7e2dd5d256537c8760c" + integrity sha512-Rs2px1keOQUNJUo5B+WExl5v244ZNCiN/iMVNO9evFdJjAdWCIupR/p14zRPkNHsciRBELLTcOZ379cI9O6PDg== + "@lit/reactive-element@^1.0.0-rc.2": version "1.0.0-rc.2" resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.0.0-rc.2.tgz#f24dba16ea571a08dca70f1783bd2ca5ec8de3ee" @@ -5747,6 +5752,14 @@ lit-element@^3.0.0-rc.2: "@lit/reactive-element" "^1.0.0-rc.2" lit-html "^2.0.0-rc.3" +lit-element@^3.0.0-rc.3: + version "3.0.0-rc.3" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.0.0-rc.3.tgz#cece8f092d28eb6f9c6b23e4138ff5d7260897ef" + integrity sha512-NDe7yjW18gfYQb1GIEQr1T8sB1GUAb1HB62pdAEw+SK6lUW7OFPKQqCOlRhZ6qJXsw9KxMnyYIprLZT4FZdYdQ== + dependencies: + "@lit/reactive-element" "^1.0.0-rc.2" + lit-html "^2.0.0-rc.4" + lit-html@^2.0.0-rc.3: version "2.0.0-rc.3" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.0.0-rc.3.tgz#1c216e548630e18d3093d97f4e29563abce659af" @@ -5754,14 +5767,21 @@ lit-html@^2.0.0-rc.3: dependencies: "@types/trusted-types" "^1.0.1" -lit@^2.0.0-rc.2: - version "2.0.0-rc.2" - resolved "https://registry.yarnpkg.com/lit/-/lit-2.0.0-rc.2.tgz#724a2d621aa098001d73bf7106f3a72b7b5948ef" - integrity sha512-BOCuoJR04WaTV8UqTKk09cNcQA10Aq2LCcBOiHuF7TzWH5RNDsbCBP5QM9sLBSotGTXbDug/gFO08jq6TbyEtw== +lit-html@^2.0.0-rc.4: + version "2.0.0-rc.4" + resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.0.0-rc.4.tgz#1015fa8f1f7c8c5b79999ed0bc11c3b79ff1aab5" + integrity sha512-WSLGu3vxq7y8q/oOd9I3zxyBELNLLiDk6gAYoKK4PGctI5fbh6lhnO/jVBdy0PV/vTc+cLJCA/occzx3YoNPeg== + dependencies: + "@types/trusted-types" "^1.0.1" + +lit@^2.0.0-rc.3: + version "2.0.0-rc.3" + resolved "https://registry.yarnpkg.com/lit/-/lit-2.0.0-rc.3.tgz#8b6a85268aba287c11125dfe57e88e0bc09beaff" + integrity sha512-UZDLWuspl7saA+WvS0e+TE3NdGGE05hOIwUPTWiibs34c5QupcEzpjB/aElt79V9bELQVNbUUwa0Ow7D1Wuszw== dependencies: "@lit/reactive-element" "^1.0.0-rc.2" lit-element "^3.0.0-rc.2" - lit-html "^2.0.0-rc.3" + lit-html "^2.0.0-rc.4" livereload-js@^2.3.0: version "2.4.0" diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/css-tag.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/css-tag.js index c28cbbe44efe86096a9e7e2b8b6f7dc35afab9cc..e2b394aaf9528fdb4b5b5d33ea73aff28c0a0b8c 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/css-tag.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/css-tag.js @@ -3,4 +3,4 @@ define(["exports"],(function(exports){"use strict"; * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const t=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e=Symbol();class s{constructor(t,s){if(s!==e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return t&&void 0===this.t&&(this.t=new CSSStyleSheet,this.t.replaceSync(this.cssText)),this.t}toString(){return this.cssText}}const n=new Map,o=t=>{let o=n.get(t);return void 0===o&&n.set(t,o=new s(t,e)),o},r=t=>o("string"==typeof t?t:t+""),u=t?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;exports.CSSResult=s,exports.adoptStyles=(e,s)=>{t?e.adoptedStyleSheets=s.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):s.forEach(t=>{const s=document.createElement("style");s.textContent=t.cssText,e.appendChild(s)})},exports.css=(t,...e)=>{const n=1===t.length?t[0]:e.reduce((e,n,o)=>e+(t=>{if(t instanceof s)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.")})(n)+t[o+1],t[0]);return o(n)},exports.getCompatibleStyle=u,exports.supportsAdoptingStyleSheets=t,exports.unsafeCSS=r,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const t=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e=Symbol(),s=new Map;class n{constructor(t,s){if(this._$cssResult$=!0,s!==e)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let e=s.get(this.cssText);return t&&void 0===e&&(s.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}const o=t=>new n("string"==typeof t?t:t+"",e),i=t?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return o(e)})(t):t;exports.CSSResult=n,exports.adoptStyles=(e,s)=>{t?e.adoptedStyleSheets=s.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):s.forEach(t=>{const s=document.createElement("style");s.textContent=t.cssText,e.appendChild(s)})},exports.css=(t,...s)=>{const o=1===t.length?t[0]:s.reduce((e,s,n)=>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[n+1],t[0]);return new n(o,e)},exports.getCompatibleStyle=i,exports.supportsAdoptingStyleSheets=t,exports.unsafeCSS=o,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/decorators/state.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/decorators/state.js index 9e4754d2a6c7dd525e84eec1c37528f7e7092b7b..4ed4f7fd4e0143500a3babc81bb26f1762569a63 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/decorators/state.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/decorators/state.js @@ -3,4 +3,4 @@ define(["exports","./property"],(function(exports,property){"use strict"; * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */exports.state=function(r){return property.property({...r,state:!0,attribute:!1})},Object.defineProperty(exports,"__esModule",{value:!0})})); + */exports.state=function(t){return property.property({...t,state:!0})},Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/polyfill-support.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/polyfill-support.js index cd58ea9ccbac6268b5394a18918aa2998c77e4a9..e44ef46f60ca58b66049843637312b2addff20c4 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/polyfill-support.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/polyfill-support.js @@ -4,4 +4,4 @@ define((function(){"use strict";var i;i=function(){ * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var i,n,t="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var o=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(o);var d=o.createRenderRoot;o.createRenderRoot=function(){var i,n,o,w=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(t)){this.constructor[t]=!0;var e=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(e,w),void 0===this.constructor.J&&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 e=o.E;o.E=function(i){var n=!this.hasUpdated;e.call(this,i),n&&window.ShadyCSS.styleElement(this)}}})},"function"==typeof define&&define.amd?define(i):i()})); +var i,n,t="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var o=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(o);var d=o.createRenderRoot;o.createRenderRoot=function(){var i,n,o,w=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(t)){this.constructor[t]=!0;var e=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(e,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 e=o._$AE;o._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),e.call(this,i)}}})},"function"==typeof define&&define.amd?define(i):i()})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/reactive-element.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/reactive-element.js index 7a79634c2cfbe827e0817cd32cf028ff353637c0..09719b2172828556a93dd4364b24a5710979f210 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/reactive-element.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/@lit/reactive-element/reactive-element.js @@ -3,4 +3,4 @@ define(["exports","./css-tag"],(function(exports,cssTag){"use strict"; * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var s,e,h,r;const o={toAttribute(t,i){switch(i){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},n=(t,i)=>i!==t&&(i==i||t==t),l={attribute:!0,type:String,converter:o,reflect:!1,hasChanged:n};class a extends HTMLElement{constructor(){super(),this.Πi=new Map,this.Πo=void 0,this.Πl=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.Πh=null,this.u()}static addInitializer(t){var i;null!==(i=this.v)&&void 0!==i||(this.v=[]),this.v.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((i,s)=>{const e=this.Πp(s,i);void 0!==e&&(this.Πm.set(e,s),t.push(e))}),t}static createProperty(t,i=l){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,i,s){return{get(){return this[i]},set(e){const h=this[t];this[i]=e,this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this.Πm=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(cssTag.getCompatibleStyle(i))}else void 0!==i&&s.push(cssTag.getCompatibleStyle(i));return s}static Πp(t,i){const s=i.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this.Πg=new Promise(t=>this.enableUpdating=t),this.L=new Map,this.Π_(),this.requestUpdate(),null===(t=this.constructor.v)||void 0===t||t.forEach(t=>t(this))}addController(t){var i,s;(null!==(i=this.ΠU)&&void 0!==i?i:this.ΠU=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var i;null===(i=this.ΠU)||void 0===i||i.splice(this.ΠU.indexOf(t)>>>0,1)}Π_(){this.constructor.elementProperties.forEach((t,i)=>{this.hasOwnProperty(i)&&(this.Πi.set(i,this[i]),delete this[i])})}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return cssTag.adoptStyles(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this.ΠU)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}),this.Πl&&(this.Πl(),this.Πo=this.Πl=void 0)}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this.ΠU)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}),this.Πo=new Promise(t=>this.Πl=t)}attributeChangedCallback(t,i,s){this.K(t,s)}Πj(t,i,s=l){var e,h;const r=this.constructor.Πp(t,s);if(void 0!==r&&!0===s.reflect){const n=(null!==(h=null===(e=s.converter)||void 0===e?void 0:e.toAttribute)&&void 0!==h?h:o.toAttribute)(i,s.type);this.Πh=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this.Πh=null}}K(t,i){var s,e,h;const r=this.constructor,n=r.Πm.get(t);if(void 0!==n&&this.Πh!==n){const t=r.getPropertyOptions(n),l=t.converter,a=null!==(h=null!==(e=null===(s=l)||void 0===s?void 0:s.fromAttribute)&&void 0!==e?e:"function"==typeof l?l:null)&&void 0!==h?h:o.fromAttribute;this.Πh=n,this[n]=a(i,t.type),this.Πh=null}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||n)(this[t],i)?(this.L.has(t)||this.L.set(t,i),!0===s.reflect&&this.Πh!==t&&(void 0===this.Πk&&(this.Πk=new Map),this.Πk.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this.Πg=this.Πq())}async Πq(){this.isUpdatePending=!0;try{for(await this.Πg;this.Πo;)await this.Πo}catch(t){Promise.reject(t)}const t=this.performUpdate();return null!=t&&await t,!this.isUpdatePending}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this.Πi&&(this.Πi.forEach((t,i)=>this[i]=t),this.Πi=void 0);let i=!1;const s=this.L;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this.ΠU)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)}),this.update(s)):this.Π$()}catch(t){throw i=!1,this.Π$(),t}i&&this.E(s)}willUpdate(t){}E(t){var i;null===(i=this.ΠU)||void 0===i||i.forEach(t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}Π$(){this.L=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.Πg}shouldUpdate(t){return!0}update(t){void 0!==this.Πk&&(this.Πk.forEach((t,i)=>this.Πj(i,this[i],t)),this.Πk=void 0),this.Π$()}updated(t){}firstUpdated(t){}}a.finalized=!0,a.elementProperties=new Map,a.elementStyles=[],a.shadowRootOptions={mode:"open"},null===(e=(s=window).reactiveElementPlatformSupport)||void 0===e||e.call(s,{ReactiveElement:a}),(null!==(h=(r=window).reactiveElementVersions)&&void 0!==h?h:r.reactiveElementVersions=[]).push("1.0.0-rc.2"),exports.CSSResult=cssTag.CSSResult,exports.adoptStyles=cssTag.adoptStyles,exports.css=cssTag.css,exports.getCompatibleStyle=cssTag.getCompatibleStyle,exports.supportsAdoptingStyleSheets=cssTag.supportsAdoptingStyleSheets,exports.unsafeCSS=cssTag.unsafeCSS,exports.ReactiveElement=a,exports.defaultConverter=o,exports.notEqual=n,Object.defineProperty(exports,"__esModule",{value:!0})})); + */var s,e,r,h;const o={toAttribute(t,i){switch(i){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},n=(t,i)=>i!==t&&(i==i||t==t),l={attribute:!0,type:String,converter:o,reflect:!1,hasChanged:n};class a extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((i,s)=>{const e=this._$Eh(s,i);void 0!==e&&(this._$Eu.set(e,s),t.push(e))}),t}static createProperty(t,i=l){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,i,s){return{get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(cssTag.getCompatibleStyle(i))}else void 0!==i&&s.push(cssTag.getCompatibleStyle(i));return s}static _$Eh(t,i){const s=i.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var i,s;(null!==(i=this._$Em)&&void 0!==i?i:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var i;null===(i=this._$Em)||void 0===i||i.splice(this._$Em.indexOf(t)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i])})}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return cssTag.adoptStyles(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)})}attributeChangedCallback(t,i,s){this._$AK(t,s)}_$Eg(t,i,s=l){var e,r;const h=this.constructor._$Eh(t,s);if(void 0!==h&&!0===s.reflect){const n=(null!==(r=null===(e=s.converter)||void 0===e?void 0:e.toAttribute)&&void 0!==r?r:o.toAttribute)(i,s.type);this._$Ei=t,null==n?this.removeAttribute(h):this.setAttribute(h,n),this._$Ei=null}}_$AK(t,i){var s,e,r;const h=this.constructor,n=h._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){const t=h.getPropertyOptions(n),l=t.converter,a=null!==(r=null!==(e=null===(s=l)||void 0===s?void 0:s.fromAttribute)&&void 0!==e?e:"function"==typeof l?l:null)&&void 0!==r?r:o.fromAttribute;this._$Ei=n,this[n]=a(i,t.type),this._$Ei=null}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||n)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(t){Promise.reject(t)}const t=this.performUpdate();return null!=t&&await t,!this.isUpdatePending}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,i)=>this[i]=t),this._$Et=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)}),this.update(s)):this._$E_()}catch(t){throw i=!1,this._$E_(),t}i&&this._$AE(s)}willUpdate(t){}_$AE(t){var i;null===(i=this._$Em)||void 0===i||i.forEach(t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$E_(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return!0}update(t){void 0!==this._$ES&&(this._$ES.forEach((t,i)=>this._$Eg(i,this[i],t)),this._$ES=void 0),this._$E_()}updated(t){}firstUpdated(t){}}a.finalized=!0,a.elementProperties=new Map,a.elementStyles=[],a.shadowRootOptions={mode:"open"},null===(e=(s=window).reactiveElementPlatformSupport)||void 0===e||e.call(s,{ReactiveElement:a}),(null!==(r=(h=window).reactiveElementVersions)&&void 0!==r?r:h.reactiveElementVersions=[]).push("1.0.0-rc.3"),exports.CSSResult=cssTag.CSSResult,exports.adoptStyles=cssTag.adoptStyles,exports.css=cssTag.css,exports.getCompatibleStyle=cssTag.getCompatibleStyle,exports.supportsAdoptingStyleSheets=cssTag.supportsAdoptingStyleSheets,exports.unsafeCSS=cssTag.unsafeCSS,exports.ReactiveElement=a,exports.defaultConverter=o,exports.notEqual=n,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/experimental-hydrate-support.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/experimental-hydrate-support.js index dc508a36ba8dbaca38e68dd6e9d556878bc87f95..936a6ebd62cc4df336093a4895c63cd60009310c 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/experimental-hydrate-support.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/experimental-hydrate-support.js @@ -3,4 +3,4 @@ define(["lit-html","lit-html/experimental-hydrate"],(function(litHtml,experiment * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */window.litElementHydrateSupport=({LitElement:s})=>{const e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(s),"observedAttributes").get;Object.defineProperty(s,"observedAttributes",{get(){return[...e.call(this),"defer-hydration"]}});const h=s.prototype.attributeChangedCallback;s.prototype.attributeChangedCallback=function(t,i,s){"defer-hydration"===t&&null===s&&n.call(this),h.call(this,t,i,s)};const n=s.prototype.connectedCallback;s.prototype.connectedCallback=function(){this.hasAttribute("defer-hydration")||n.call(this)};const o=s.prototype.createRenderRoot;s.prototype.createRenderRoot=function(){return this.shadowRoot?(this.G=!0,this.shadowRoot):o.call(this)};const r=Object.getPrototypeOf(s.prototype).update;s.prototype.update=function(s){const e=this.render();r.call(this,s),this.G?(this.G=!1,experimentalHydrate.hydrate(e,this.renderRoot,this.renderOptions)):litHtml.render(e,this.renderRoot,this.renderOptions)}}})); + */window.litElementHydrateSupport=({LitElement:s})=>{const e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(s),"observedAttributes").get;Object.defineProperty(s,"observedAttributes",{get(){return[...e.call(this),"defer-hydration"]}});const h=s.prototype.attributeChangedCallback;s.prototype.attributeChangedCallback=function(t,i,s){"defer-hydration"===t&&null===s&&n.call(this),h.call(this,t,i,s)};const n=s.prototype.connectedCallback;s.prototype.connectedCallback=function(){this.hasAttribute("defer-hydration")||n.call(this)};const o=s.prototype.createRenderRoot;s.prototype.createRenderRoot=function(){return this.shadowRoot?(this._$AG=!0,this.shadowRoot):o.call(this)};const r=Object.getPrototypeOf(s.prototype).update;s.prototype.update=function(s){const e=this.render();r.call(this,s),this._$AG?(this._$AG=!1,experimentalHydrate.hydrate(e,this.renderRoot,this.renderOptions)):litHtml.render(e,this.renderRoot,this.renderOptions)}}})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/index.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/index.js index ddbf0a194dba80cf6fc34ecc28cd9b14f927985c..d5f7c47239a7fbc05c72809d1768844198e7cd1c 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/index.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/index.js @@ -3,4 +3,4 @@ define(["exports","@lit/reactive-element/decorators/base","@lit/reactive-element * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'."),Object.keys(base).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return base[k]}})})),Object.keys(customElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return customElement[k]}})})),Object.keys(property).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return property[k]}})})),Object.keys(state).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return state[k]}})})),Object.keys(eventOptions).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return eventOptions[k]}})})),Object.keys(query).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return query[k]}})})),Object.keys(queryAll).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAll[k]}})})),Object.keys(queryAsync).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAsync[k]}})})),Object.keys(queryAssignedNodes).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAssignedNodes[k]}})})),Object.keys(litHtml).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return litHtml[k]}})})),Object.keys(reactiveElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return reactiveElement[k]}})})),exports.LitElement=litElement.LitElement,exports.UpdatingElement=litElement.UpdatingElement,exports._Φ=litElement._Φ,Object.defineProperty(exports,"__esModule",{value:!0})})); + */console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'."),Object.keys(base).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return base[k]}})})),Object.keys(customElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return customElement[k]}})})),Object.keys(property).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return property[k]}})})),Object.keys(state).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return state[k]}})})),Object.keys(eventOptions).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return eventOptions[k]}})})),Object.keys(query).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return query[k]}})})),Object.keys(queryAll).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAll[k]}})})),Object.keys(queryAsync).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAsync[k]}})})),Object.keys(queryAssignedNodes).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return queryAssignedNodes[k]}})})),Object.keys(litHtml).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return litHtml[k]}})})),Object.keys(reactiveElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return reactiveElement[k]}})})),exports.LitElement=litElement.LitElement,exports.UpdatingElement=litElement.UpdatingElement,exports._$LE=litElement._$LE,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/lit-element.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/lit-element.js index 348ee39da105ca421252101b1f3b56843709421b..4ed1effea6c288e2549408cf0c9ad5a549085a04 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/lit-element.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/lit-element.js @@ -3,4 +3,4 @@ define(["exports","lit-html","@lit/reactive-element"],(function(exports,litHtml, * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var i,l,o,s,n,a;const c=reactiveElement.ReactiveElement;(null!==(i=(a=window).litElementVersions)&&void 0!==i?i:a.litElementVersions=[]).push("3.0.0-rc.2");class h extends reactiveElement.ReactiveElement{constructor(){super(...arguments),this.renderOptions={host:this},this.Φt=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const r=this.render();super.update(t),this.Φt=litHtml.render(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this.Φt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.Φt)||void 0===t||t.setConnected(!1)}render(){return litHtml.noChange}}h.finalized=!0,h._$litElement$=!0,null===(o=(l=window).litElementHydrateSupport)||void 0===o||o.call(l,{LitElement:h}),null===(n=(s=window).litElementPlatformSupport)||void 0===n||n.call(s,{LitElement:h});Object.keys(litHtml).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return litHtml[k]}})})),Object.keys(reactiveElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return reactiveElement[k]}})})),exports.LitElement=h,exports.UpdatingElement=c,exports._Φ={K:(t,e,r)=>{t.K(e,r)},L:t=>t.L},Object.defineProperty(exports,"__esModule",{value:!0})})); + */var i,l,o,s,n,a;const c=reactiveElement.ReactiveElement;class h extends reactiveElement.ReactiveElement{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const r=this.render();super.update(t),this._$Dt=litHtml.render(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return litHtml.noChange}}h.finalized=!0,h._$litElement$=!0,null===(l=(i=window).litElementHydrateSupport)||void 0===l||l.call(i,{LitElement:h}),null===(s=(o=window).litElementPlatformSupport)||void 0===s||s.call(o,{LitElement:h});(null!==(n=(a=window).litElementVersions)&&void 0!==n?n:a.litElementVersions=[]).push("3.0.0-rc.3"),Object.keys(litHtml).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return litHtml[k]}})})),Object.keys(reactiveElement).forEach((function(k){"default"!==k&&Object.defineProperty(exports,k,{enumerable:!0,get:function(){return reactiveElement[k]}})})),exports.LitElement=h,exports.UpdatingElement=c,exports._$LE={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL},Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/polyfill-support.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/polyfill-support.js index c32efba83c0a1b469907a330ddd0ea24aaa12e90..92c6e0a2274d4a4680ddcb5b3869ea7ea394ac6e 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/polyfill-support.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/polyfill-support.js @@ -4,10 +4,10 @@ define((function(){"use strict";var i;i=function(){var i,n,o;i=function(){ * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var i,n,o="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=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,e=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,e),void 0===this.constructor.J&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var v=t.E;t.E=function(i){var n=!this.hasUpdated;v.call(this,i),n&&window.ShadyCSS.styleElement(this)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){ +var i,n,o="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=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,e=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var u=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(u,e),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var u=t._$AE;t._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),u.call(this,i)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){ /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var i,n,o=new Set,t=new Map;null!==(i=(n=window).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},e=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),e=null==o?void 0:o.scope;if(void 0!==e){window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,e);var u=d(e),w=t.content.querySelectorAll("style");u.push.apply(u,Array.from(w).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var u=document.createDocumentFragment(),w=document.createComment(""),r=n.prototype,f=r.I;r.I=function(i,n){var e,v,r;void 0===n&&(n=this);var s,l=this.A.parentNode,a=null===(e=this.options)||void 0===e?void 0:e.scope;if(l instanceof ShadowRoot&&void 0!==(s=a)&&!o.has(s)){var h=this.A,c=this.B;u.appendChild(w),this.A=w,this.B=null,f.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this.H.D.el:document.createElement("template");if(function(i,n){var e=d(i),v=0!==e.length;if(v){var u=document.createElement("style");u.textContent=e.join("\n"),n.content.appendChild(u)}o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&n.content.appendChild(n.content.querySelector("style"))}(a,y),u.removeChild(w),null===(r=window.ShadyCSS)||void 0===r?void 0:r.nativeShadow){var p=y.content.querySelector("style");null!==p&&u.appendChild(p.cloneNode(!0))}l.insertBefore(u,c),this.A=h,this.B=c}else f.call(this,i,n)},r.C=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=e.get(t);void 0===d&&e.set(t,d=new Map);var v=d.get(n.strings);return void 0===v&&d.set(n.strings,v=new i(n,this.options)),v}}})})),null!==(n=(o=window).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n.J=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})},"function"==typeof define&&define.amd?define(i):i()})); +var i,n,o=new Set,t=new Map;null!==(i=(n=window).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!o.has(i)},e=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},u=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),u=null==o?void 0:o.scope;if(void 0!==u&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,u),d(u))){var w=e(u),r=t.content.querySelectorAll("style");w.push.apply(w,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var w=document.createDocumentFragment(),r=document.createComment(""),f=n.prototype,s=f._$AI;f._$AI=function(i,n){var u,v,f;void 0===n&&(n=this);var l=this._$AA.parentNode,a=null===(u=this.options)||void 0===u?void 0:u.scope;if(l instanceof ShadowRoot&&d(a)){var h=this._$AA,c=this._$AB;w.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,n){var d,u=e(i),v=0!==u.length;v&&((d=document.createElement("style")).textContent=u.join("\n"),n.content.appendChild(d)),o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&null!==(d=n.content.querySelector("style"))&&n.content.appendChild(d)}(a,y),w.removeChild(r),null===(f=window.ShadyCSS)||void 0===f?void 0:f.nativeShadow){var p=y.content.querySelector("style");null!==p&&w.appendChild(p.cloneNode(!0))}l.insertBefore(w,c),this._$AA=h,this._$AB=c}else s.call(this,i,n)},f._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=u.get(t);void 0===d&&u.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}}})})),null!==(n=(o=window).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=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)}}})},"function"==typeof define&&define.amd?define(i):i()})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/private-ssr-support.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/private-ssr-support.js index 868ba71cc76be97cf67770c11affe158551f3ab0..9f469ded24ccbc0cceb05b08ce562e0c2fef918c 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/private-ssr-support.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-element/private-ssr-support.js @@ -3,4 +3,4 @@ define(["exports","./lit-element"],(function(exports,litElement){"use strict"; * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e={attributeToProperty:litElement._Φ.K,changedProperties:litElement._Φ.L};exports._Φ=e,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const e={attributeToProperty:litElement._$LE._$AK,changedProperties:litElement._$LE._$AL};exports._$LE=e,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/async-directive.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/async-directive.js index 8bf66bb8bcf559d9cd9d2578b6b42455a69af484..714d08b7e7c909bc4d2854f56eda8231c611f5b5 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/async-directive.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/async-directive.js @@ -1,6 +1,6 @@ -define(["exports","./lit-html","./directive","./directive-helpers"],(function(exports,litHtml,directive,directiveHelpers){"use strict"; +define(["exports","./directive-helpers","./directive"],(function(exports,directiveHelpers,directive){"use strict"; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const r=(i,t)=>{var s,e;const o=i.N;if(void 0===o)return!1;for(const i of o)null===(e=(s=i).O)||void 0===e||e.call(s,t,!1),r(i,t);return!0},o=i=>{let t,s;do{if(void 0===(t=i.M))break;s=t.N,s.delete(i),i=t}while(0===(null==s?void 0:s.size))},h=i=>{for(let t;t=i.M;i=t){let s=t.N;if(void 0===s)t.N=s=new Set;else if(s.has(i))break;s.add(i),d(t)}};function n(i){void 0!==this.N?(o(this),this.M=i,h(this)):this.M=i}function l(i,t=!1,s=0){const e=this.H,h=this.N;if(void 0!==h&&0!==h.size)if(t)if(Array.isArray(e))for(let i=s;i<e.length;i++)r(e[i],!1),o(e[i]);else null!=e&&(r(e,!1),o(e));else r(this,i)}const d=i=>{var t,e,r,o;i.type==directive.PartType.CHILD&&(null!==(t=(r=i).P)&&void 0!==t||(r.P=l),null!==(e=(o=i).Q)&&void 0!==e||(o.Q=n))};class c extends directive.Directive{constructor(){super(...arguments),this.isConnected=!0,this.ut=litHtml.noChange,this.N=void 0}T(i,t,s){super.T(i,t,s),h(this)}O(i,t=!0){this.at(i),t&&(r(this,i),o(this))}at(t){var s,e;t!==this.isConnected&&(t?(this.isConnected=!0,this.ut!==litHtml.noChange&&(this.setValue(this.ut),this.ut=litHtml.noChange),null===(s=this.reconnected)||void 0===s||s.call(this)):(this.isConnected=!1,null===(e=this.disconnected)||void 0===e||e.call(this)))}S(i,t){if(!this.isConnected)throw Error(`AsyncDirective ${this.constructor.name} was rendered while its tree was disconnected.`);return super.S(i,t)}setValue(i){if(this.isConnected)if(directiveHelpers.isSingleExpression(this.Σdt))this.Σdt.I(i,this);else{const t=[...this.Σdt.H];t[this.Σct]=i,this.Σdt.I(t,this,0)}else this.ut=i}disconnected(){}reconnected(){}}exports.directive=directive.directive,exports.AsyncDirective=c,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const e=(i,t)=>{var s,o;const n=i._$AN;if(void 0===n)return!1;for(const i of n)null===(o=(s=i)._$AO)||void 0===o||o.call(s,t,!1),e(i,t);return!0},o=i=>{let t,s;do{if(void 0===(t=i._$AM))break;s=t._$AN,s.delete(i),i=t}while(0===(null==s?void 0:s.size))},n=i=>{for(let t;t=i._$AM;i=t){let s=t._$AN;if(void 0===s)t._$AN=s=new Set;else if(s.has(i))break;s.add(i),l(t)}};function r(i){void 0!==this._$AN?(o(this),this._$AM=i,n(this)):this._$AM=i}function h(i,t=!1,s=0){const n=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(t)if(Array.isArray(n))for(let i=s;i<n.length;i++)e(n[i],!1),o(n[i]);else null!=n&&(e(n,!1),o(n));else e(this,i)}const l=i=>{var t,e,o,n;i.type==directive.PartType.CHILD&&(null!==(t=(o=i)._$AP)&&void 0!==t||(o._$AP=h),null!==(e=(n=i)._$AQ)&&void 0!==e||(n._$AQ=r))};class d extends directive.Directive{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,s){super._$AT(i,t,s),n(this),this.isConnected=i._$AU}_$AO(i,t=!0){var s,n;i!==this.isConnected&&(this.isConnected=i,i?null===(s=this.reconnected)||void 0===s||s.call(this):null===(n=this.disconnected)||void 0===n||n.call(this)),t&&(e(this,i),o(this))}setValue(t){if(directiveHelpers.isSingleExpression(this._$Ct))this._$Ct._$AI(t,this);else{const i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}}exports.directive=directive.directive,exports.AsyncDirective=d,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive-helpers.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive-helpers.js index c4c5092da1dc181dfc83b49365c7deda77ea9110..ab0dbdf5a9e6d2787c53b682bc3af723a40fd77e 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive-helpers.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive-helpers.js @@ -3,4 +3,4 @@ define(["exports","./lit-html"],(function(exports,litHtml){"use strict"; * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const{et:t}=litHtml._Σ,e=()=>document.createComment(""),s={};exports.TemplateResultType={HTML:1,SVG:2},exports.clearPart=o=>{o.R()},exports.getCommittedValue=o=>o.H,exports.getDirectiveClass=o=>{var t;return null===(t=o)||void 0===t?void 0:t._$litDirective$},exports.insertPart=(o,i,n)=>{var v;const l=o.A.parentNode,r=void 0===i?o.B:i.A;if(void 0===n){const i=l.insertBefore(e(),r),v=l.insertBefore(e(),r);n=new t(i,v,o,o.options)}else{const t=n.B.nextSibling,i=n.M!==o;if(i&&(null===(v=n.Q)||void 0===v||v.call(n,o),n.M=o),t!==r||i){let o=n.A;for(;o!==t;){const t=o.nextSibling;l.insertBefore(o,r),o=t}}}return n},exports.isDirectiveResult=o=>{var t;return void 0!==(null===(t=o)||void 0===t?void 0:t._$litDirective$)},exports.isPrimitive=o=>null===o||"object"!=typeof o&&"function"!=typeof o,exports.isSingleExpression=o=>void 0===o.strings,exports.isTemplateResult=(o,t)=>{var i,n;return void 0===t?void 0!==(null===(i=o)||void 0===i?void 0:i._$litType$):(null===(n=o)||void 0===n?void 0:n._$litType$)===t},exports.removePart=o=>{var t;null===(t=o.P)||void 0===t||t.call(o,!1,!0);let i=o.A;const n=o.B.nextSibling;for(;i!==n;){const o=i.nextSibling;i.remove(),i=o}},exports.setChildPartValue=(o,t,i=o)=>(o.I(t,i),o),exports.setCommittedValue=(o,t=s)=>o.H=t,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const{H:i}=litHtml._$LH,e=()=>document.createComment(""),f={};exports.TemplateResultType={HTML:1,SVG:2},exports.clearPart=o=>{o._$AR()},exports.getCommittedValue=o=>o._$AH,exports.getDirectiveClass=o=>{var i;return null===(i=o)||void 0===i?void 0:i._$litDirective$},exports.insertPart=(o,t,n)=>{var v;const l=o._$AA.parentNode,d=void 0===t?o._$AB:t._$AA;if(void 0===n){const t=l.insertBefore(e(),d),v=l.insertBefore(e(),d);n=new i(t,v,o,o.options)}else{const i=n._$AB.nextSibling,t=n._$AM,r=t!==o;if(r){let i;null===(v=n._$AQ)||void 0===v||v.call(n,o),n._$AM=o,void 0!==n._$AP&&(i=o._$AU)!==t._$AU&&n._$AP(i)}if(i!==d||r){let o=n._$AA;for(;o!==i;){const i=o.nextSibling;l.insertBefore(o,d),o=i}}}return n},exports.isDirectiveResult=o=>{var i;return void 0!==(null===(i=o)||void 0===i?void 0:i._$litDirective$)},exports.isPrimitive=o=>null===o||"object"!=typeof o&&"function"!=typeof o,exports.isSingleExpression=o=>void 0===o.strings,exports.isTemplateResult=(o,i)=>{var t,n;return void 0===i?void 0!==(null===(t=o)||void 0===t?void 0:t._$litType$):(null===(n=o)||void 0===n?void 0:n._$litType$)===i},exports.removePart=o=>{var i;null===(i=o._$AP)||void 0===i||i.call(o,!1,!0);let t=o._$AA;const n=o._$AB.nextSibling;for(;t!==n;){const o=t.nextSibling;t.remove(),t=o}},exports.setChildPartValue=(o,i,t=o)=>(o._$AI(i,t),o),exports.setCommittedValue=(o,i=f)=>o._$AH=i,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive.js index 1caff29aeb25e9028856b2d5f64a37016db9bb00..479121cb5cd0a10b7e4d938dfbbe23e59c209755 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directive.js @@ -3,4 +3,4 @@ define(["exports"],(function(exports){"use strict"; * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */exports.Directive=class{constructor(t){}T(t,i,s){this.Σdt=t,this.M=i,this.Σct=s}S(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}},exports.PartType={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},exports.directive=t=>(...i)=>({_$litDirective$:t,values:i}),Object.defineProperty(exports,"__esModule",{value:!0})})); + */exports.Directive=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}},exports.PartType={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},exports.directive=t=>(...e)=>({_$litDirective$:t,values:e}),Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-append.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-append.js index 2c928afc711136157fc8cd6deeb9b3c331e9ac94..b37e662ab070ba1311f9cd38c04f145785ffed85 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-append.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-append.js @@ -1,6 +1,6 @@ -define(["exports","../lit-html","../directive","../directive-helpers","../async-directive"],(function(exports,litHtml,directive,directiveHelpers,asyncDirective){"use strict"; +define(["exports","../directive-helpers","../directive","./async-replace"],(function(exports,directiveHelpers,directive,asyncReplace){"use strict"; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const c=directive.directive(class extends asyncDirective.AsyncDirective{constructor(t){if(super(t),t.type!==directive.PartType.CHILD)throw Error("asyncAppend can only be used in child expressions")}render(e,i){return litHtml.noChange}update(e,[i,s]){if(i!==this.vt)return this.vt=i,this.Σft(e,s),litHtml.noChange}async Σft(t,e){let i=0;const{vt:n}=this;for await(let c of n){if(this.vt!==n)break;this.wt&&await this.wt,0===i&&directiveHelpers.clearPart(t),void 0!==e&&(c=e(c,i));const h=directiveHelpers.insertPart(t);directiveHelpers.setChildPartValue(h,c),i++}}disconnected(){this.wt=new Promise(t=>this.yt=t)}reconnected(){this.wt=void 0,this.yt()}});exports.asyncAppend=c,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const c=directive.directive(class extends asyncReplace.AsyncReplaceDirective{constructor(r){if(super(r),r.type!==directive.PartType.CHILD)throw Error("asyncAppend can only be used in child expressions")}update(r,e){return this._$CX=r,super.update(r,e)}commitValue(r,e){0===e&&directiveHelpers.clearPart(this._$CX);const s=directiveHelpers.insertPart(this._$CX);directiveHelpers.setChildPartValue(s,r)}});exports.asyncAppend=c,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-replace.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-replace.js index 26f2a9e2cf1e52f0171b9c9a5d4d54225bb770bb..fa55db02c1d62d7876de72b22904ba4522aafc42 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-replace.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/async-replace.js @@ -1,6 +1,6 @@ -define(["exports","../lit-html","../directive","../async-directive"],(function(exports,litHtml,directive,asyncDirective){"use strict"; +define(["exports","../lit-html","../directive","../async-directive","./private-async-helpers"],(function(exports,litHtml,directive,asyncDirective,privateAsyncHelpers){"use strict"; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const s=directive.directive(class extends asyncDirective.AsyncDirective{render(i,e){return litHtml.noChange}update(i,[e,s]){if(e!==this.vt)return this.vt=e,this.Σft(s),litHtml.noChange}async Σft(t){let i=0;const{vt:e}=this;for await(let s of e){if(this.vt!==e)break;this.wt&&await this.wt,void 0!==t&&(s=t(s,i)),this.setValue(s),i++}}disconnected(){this.wt=new Promise(t=>this.yt=t)}reconnected(){this.wt=void 0,this.yt()}});exports.asyncReplace=s,Object.defineProperty(exports,"__esModule",{value:!0})})); + */class o extends asyncDirective.AsyncDirective{constructor(){super(...arguments),this._$CU=new privateAsyncHelpers.PseudoWeakRef(this),this._$CY=new privateAsyncHelpers.Pauser}render(i,s){return litHtml.noChange}update(i,[s,r]){if(this.isConnected||this.disconnected(),s===this._$CJ)return;this._$CJ=s;let e=0;const{_$CU:o,_$CY:h}=this;return privateAsyncHelpers.forAwaitOf(s,async t=>{for(;h.get();)await h.get();const i=o.deref();if(void 0!==i){if(i._$CJ!==s)return!1;void 0!==r&&(t=r(t,e)),i.commitValue(t,e),e++}return!0}),litHtml.noChange}commitValue(t,i){this.setValue(t)}disconnected(){this._$CU.disconnect(),this._$CY.pause()}reconnected(){this._$CU.reconnect(this),this._$CY.resume()}}const h=directive.directive(o);exports.AsyncReplaceDirective=o,exports.asyncReplace=h,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/cache.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/cache.js index b9e39061a77d123f908b3db362f49c6078f40e72..cf7924eb6df57e389159c303fe8fbe5865df50d7 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/cache.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/cache.js @@ -1,6 +1,6 @@ -define(["exports","../lit-html","../directive","../directive-helpers"],(function(exports,litHtml,directive,directiveHelpers){"use strict"; +define(["exports","../lit-html","../directive-helpers","../directive"],(function(exports,litHtml,directiveHelpers,directive){"use strict"; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const d=directive.directive(class extends directive.Directive{constructor(t){super(t),this._t=new WeakMap}render(t){return[t]}update(s,[e]){if(directiveHelpers.isTemplateResult(this.vt)&&(!directiveHelpers.isTemplateResult(e)||this.vt.strings!==e.strings)){const e=directiveHelpers.getCommittedValue(s).pop();let o=this._t.get(this.vt.strings);if(void 0===o){const s=document.createDocumentFragment();o=litHtml.render(litHtml.nothing,s),this._t.set(this.vt.strings,o)}directiveHelpers.setCommittedValue(o,[e]),directiveHelpers.insertPart(o,void 0,e),e.setConnected(!1)}if(directiveHelpers.isTemplateResult(e)){if(!directiveHelpers.isTemplateResult(this.vt)||this.vt.strings!==e.strings){const t=this._t.get(e.strings);if(void 0!==t){const i=directiveHelpers.getCommittedValue(t).pop();directiveHelpers.clearPart(s),directiveHelpers.insertPart(s,void 0,i),directiveHelpers.setCommittedValue(s,[i]),i.setConnected(!0)}}this.vt=e}else this.vt=void 0;return this.render(e)}});exports.cache=d,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const d=directive.directive(class extends directive.Directive{constructor(t){super(t),this.tt=new WeakMap}render(t){return[t]}update(s,[e]){if(directiveHelpers.isTemplateResult(this.it)&&(!directiveHelpers.isTemplateResult(e)||this.it.strings!==e.strings)){const e=directiveHelpers.getCommittedValue(s).pop();let o=this.tt.get(this.it.strings);if(void 0===o){const s=document.createDocumentFragment();o=litHtml.render(litHtml.nothing,s),o.setConnected(!1),this.tt.set(this.it.strings,o)}directiveHelpers.setCommittedValue(o,[e]),directiveHelpers.insertPart(o,void 0,e)}if(directiveHelpers.isTemplateResult(e)){if(!directiveHelpers.isTemplateResult(this.it)||this.it.strings!==e.strings){const t=this.tt.get(e.strings);if(void 0!==t){const i=directiveHelpers.getCommittedValue(t).pop();directiveHelpers.clearPart(s),directiveHelpers.insertPart(s,void 0,i),directiveHelpers.setCommittedValue(s,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});exports.cache=d,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/class-map.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/class-map.js index 45c054cdef9ea0ffcd2ae435201c1be97e45ae5c..3bd0e0fa578271035ecc48fc4aa8321c97c6e1bb 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/class-map.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/class-map.js @@ -3,4 +3,4 @@ define(["exports","../lit-html","../directive"],(function(exports,litHtml,direct * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e=directive.directive(class extends directive.Directive{constructor(t){var s;if(super(t),t.type!==directive.PartType.ATTRIBUTE||"class"!==t.name||(null===(s=t.strings)||void 0===s?void 0:s.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(s,[r]){if(void 0===this.bt){this.bt=new Set;for(const t in r)r[t]&&this.bt.add(t);return this.render(r)}const i=s.element.classList;this.bt.forEach(t=>{t in r||(i.remove(t),this.bt.delete(t))});for(const t in r){const s=!!r[t];s!==this.bt.has(t)&&(s?(i.add(t),this.bt.add(t)):(i.remove(t),this.bt.delete(t)))}return litHtml.noChange}});exports.classMap=e,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const e=directive.directive(class extends directive.Directive{constructor(t){var s;if(super(t),t.type!==directive.PartType.ATTRIBUTE||"class"!==t.name||(null===(s=t.strings)||void 0===s?void 0:s.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(s,[r]){if(void 0===this.st){this.st=new Set;for(const t in r)r[t]&&this.st.add(t);return this.render(r)}const i=s.element.classList;this.st.forEach(t=>{t in r||(i.remove(t),this.st.delete(t))});for(const t in r){const s=!!r[t];s!==this.st.has(t)&&(s?(i.add(t),this.st.add(t)):(i.remove(t),this.st.delete(t)))}return litHtml.noChange}});exports.classMap=e,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/guard.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/guard.js index 244fc821be65545e3c1d048c97afff8885b4b81b..caba2bf6a2b58921e19fdaee2fe44f985eeab926 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/guard.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/guard.js @@ -3,4 +3,4 @@ define(["exports","../lit-html","../directive"],(function(exports,litHtml,direct * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e={},i=directive.directive(class extends directive.Directive{constructor(){super(...arguments),this.$t=e}render(r,t){return t()}update(t,[s,e]){if(Array.isArray(s)){if(Array.isArray(this.$t)&&this.$t.length===s.length&&s.every((r,t)=>r===this.$t[t]))return litHtml.noChange}else if(this.$t===s)return litHtml.noChange;return this.$t=Array.isArray(s)?Array.from(s):s,this.render(s,e)}});exports.guard=i,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const e={},i=directive.directive(class extends directive.Directive{constructor(){super(...arguments),this.et=e}render(r,t){return t()}update(t,[s,e]){if(Array.isArray(s)){if(Array.isArray(this.et)&&this.et.length===s.length&&s.every((r,t)=>r===this.et[t]))return litHtml.noChange}else if(this.et===s)return litHtml.noChange;return this.et=Array.isArray(s)?Array.from(s):s,this.render(s,e)}});exports.guard=i,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/live.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/live.js index 72d19d5765c7579b442118f62826d18116053f69..478ff410ab4c827e2bef98ead38acf5352fd1750 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/live.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/live.js @@ -1,4 +1,4 @@ -define(["exports","../lit-html","../directive","../directive-helpers"],(function(exports,litHtml,directive,directiveHelpers){"use strict"; +define(["exports","../lit-html","../directive-helpers","../directive"],(function(exports,litHtml,directiveHelpers,directive){"use strict"; /** * @license * Copyright 2020 Google LLC diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/private-async-helpers.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/private-async-helpers.js new file mode 100644 index 0000000000000000000000000000000000000000..c9b9affa83350742b0791fc0c2913dc32a92d94a --- /dev/null +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/private-async-helpers.js @@ -0,0 +1,6 @@ +define(["exports"],(function(exports){"use strict"; +/** + * @license + * Copyright 2021 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */exports.Pauser=class{constructor(){this.G=void 0,this.K=void 0}get(){return this.G}pause(){var t;null!==(t=this.G)&&void 0!==t||(this.G=new Promise(t=>this.K=t))}resume(){var t;null===(t=this.K)||void 0===t||t.call(this),this.G=this.K=void 0}},exports.PseudoWeakRef=class{constructor(t){this.q=t}disconnect(){this.q=void 0}reconnect(t){this.q=t}deref(){return this.q}},exports.forAwaitOf=async(t,s)=>{for await(const i of t)if(!1===await s(i))return},Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/ref.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/ref.js index 19f9482f553bc8f7d0d21df1b86473a67856f60b..72f569c33ea12ef4897ccca3075c1a17089bdc4c 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/ref.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/ref.js @@ -3,4 +3,4 @@ define(["exports","../lit-html","../directive","../async-directive"],(function(e * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */class o{}const h=new WeakMap,n=directive.directive(class extends asyncDirective.AsyncDirective{render(i){return litHtml.nothing}update(i,[s]){var e;const o=s!==this.gt;return o&&void 0!==this.gt&&this.xt(void 0),(o||this.Tt!==this.Et)&&(this.gt=s,this.At=null===(e=i.options)||void 0===e?void 0:e.host,this.xt(this.Et=i.element)),litHtml.nothing}xt(t){"function"==typeof this.gt?(void 0!==h.get(this.gt)&&this.gt.call(this.At,void 0),h.set(this.gt,t),void 0!==t&&this.gt.call(this.At,t)):this.gt.value=t}get Tt(){var t;return"function"==typeof this.gt?h.get(this.gt):null===(t=this.gt)||void 0===t?void 0:t.value}disconnected(){this.Tt===this.Et&&this.xt(void 0)}reconnected(){this.xt(this.Et)}});exports.createRef=()=>new o,exports.ref=n,Object.defineProperty(exports,"__esModule",{value:!0})})); + */class o{}const h=new WeakMap,n=directive.directive(class extends asyncDirective.AsyncDirective{render(i){return litHtml.nothing}update(i,[s]){var e;const o=s!==this.q;return o&&void 0!==this.q&&this.nt(void 0),(o||this.ot!==this.rt)&&(this.q=s,this.lt=null===(e=i.options)||void 0===e?void 0:e.host,this.nt(this.rt=i.element)),litHtml.nothing}nt(t){"function"==typeof this.q?(void 0!==h.get(this.q)&&this.q.call(this.lt,void 0),h.set(this.q,t),void 0!==t&&this.q.call(this.lt,t)):this.q.value=t}get ot(){var t;return"function"==typeof this.q?h.get(this.q):null===(t=this.q)||void 0===t?void 0:t.value}disconnected(){this.ot===this.rt&&this.nt(void 0)}reconnected(){this.nt(this.rt)}});exports.createRef=()=>new o,exports.ref=n,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/repeat.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/repeat.js index 044928d4cc42fda2bf4ae43d5b964c5f5b935d76..7f9c120ff1b0e036c8e333590e871885f4592a03 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/repeat.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/repeat.js @@ -1,6 +1,6 @@ -define(["exports","../lit-html","../directive","../directive-helpers"],(function(exports,litHtml,directive,directiveHelpers){"use strict"; +define(["exports","../lit-html","../directive-helpers","../directive"],(function(exports,litHtml,directiveHelpers,directive){"use strict"; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=directive.directive(class extends directive.Directive{constructor(e){if(super(e),e.type!==directive.PartType.CHILD)throw Error("repeat() can only be used in text expressions")}Mt(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.Mt(e,s,t).values}update(s,[t,r,c]){var d;const p=directiveHelpers.getCommittedValue(s),{values:v,keys:a}=this.Mt(t,r,c);if(!p)return this.Pt=a,v;const h=null!==(d=this.Pt)&&void 0!==d?d:this.Pt=[],m=[];let x,y,j=0,k=p.length-1,w=0,b=v.length-1;for(;j<=k&&w<=b;)if(null===p[j])j++;else if(null===p[k])k--;else if(h[j]===a[w])m[w]=directiveHelpers.setChildPartValue(p[j],v[w]),j++,w++;else if(h[k]===a[b])m[b]=directiveHelpers.setChildPartValue(p[k],v[b]),k--,b--;else if(h[j]===a[b])m[b]=directiveHelpers.setChildPartValue(p[j],v[b]),directiveHelpers.insertPart(s,m[b+1],p[j]),j++,b--;else if(h[k]===a[w])m[w]=directiveHelpers.setChildPartValue(p[k],v[w]),directiveHelpers.insertPart(s,p[j],p[k]),k--,w++;else if(void 0===x&&(x=u(a,w,b),y=u(h,j,k)),x.has(h[j]))if(x.has(h[k])){const e=y.get(a[w]),t=void 0!==e?p[e]:null;if(null===t){const e=directiveHelpers.insertPart(s,p[j]);directiveHelpers.setChildPartValue(e,v[w]),m[w]=e}else m[w]=directiveHelpers.setChildPartValue(t,v[w]),directiveHelpers.insertPart(s,p[j],t),p[e]=null;w++}else directiveHelpers.removePart(p[k]),k--;else directiveHelpers.removePart(p[j]),j++;for(;w<=b;){const e=directiveHelpers.insertPart(s,m[b+1]);directiveHelpers.setChildPartValue(e,v[w]),m[w++]=e}for(;j<=k;){const e=p[j++];null!==e&&directiveHelpers.removePart(e)}return this.Pt=a,directiveHelpers.setCommittedValue(s,m),litHtml.noChange}});exports.repeat=c,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=directive.directive(class extends directive.Directive{constructor(e){if(super(e),e.type!==directive.PartType.CHILD)throw Error("repeat() can only be used in text expressions")}ht(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.ht(e,s,t).values}update(s,[t,r,c]){var d;const p=directiveHelpers.getCommittedValue(s),{values:v,keys:a}=this.ht(t,r,c);if(!p)return this.dt=a,v;const h=null!==(d=this.dt)&&void 0!==d?d:this.dt=[],m=[];let x,y,j=0,k=p.length-1,w=0,b=v.length-1;for(;j<=k&&w<=b;)if(null===p[j])j++;else if(null===p[k])k--;else if(h[j]===a[w])m[w]=directiveHelpers.setChildPartValue(p[j],v[w]),j++,w++;else if(h[k]===a[b])m[b]=directiveHelpers.setChildPartValue(p[k],v[b]),k--,b--;else if(h[j]===a[b])m[b]=directiveHelpers.setChildPartValue(p[j],v[b]),directiveHelpers.insertPart(s,m[b+1],p[j]),j++,b--;else if(h[k]===a[w])m[w]=directiveHelpers.setChildPartValue(p[k],v[w]),directiveHelpers.insertPart(s,p[j],p[k]),k--,w++;else if(void 0===x&&(x=u(a,w,b),y=u(h,j,k)),x.has(h[j]))if(x.has(h[k])){const e=y.get(a[w]),t=void 0!==e?p[e]:null;if(null===t){const e=directiveHelpers.insertPart(s,p[j]);directiveHelpers.setChildPartValue(e,v[w]),m[w]=e}else m[w]=directiveHelpers.setChildPartValue(t,v[w]),directiveHelpers.insertPart(s,p[j],t),p[e]=null;w++}else directiveHelpers.removePart(p[k]),k--;else directiveHelpers.removePart(p[j]),j++;for(;w<=b;){const e=directiveHelpers.insertPart(s,m[b+1]);directiveHelpers.setChildPartValue(e,v[w]),m[w++]=e}for(;j<=k;){const e=p[j++];null!==e&&directiveHelpers.removePart(e)}return this.dt=a,directiveHelpers.setCommittedValue(s,m),litHtml.noChange}});exports.repeat=c,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/style-map.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/style-map.js index 99e27835d07cb0644191554e513424a0fb6f4cd2..477e400526870e69481b82bf332ada36fd247a96 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/style-map.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/style-map.js @@ -3,4 +3,4 @@ define(["exports","../lit-html","../directive"],(function(exports,litHtml,direct * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const i=directive.directive(class extends directive.Directive{constructor(t){var e;if(super(t),t.type!==directive.PartType.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.St){this.St=new Set;for(const t in r)this.St.add(t);return this.render(r)}this.St.forEach(t=>{null==r[t]&&(this.St.delete(t),t.includes("-")?s.removeProperty(t):s[t]="")});for(const t in r){const e=r[t];null!=e&&(this.St.add(t),t.includes("-")?s.setProperty(t,e):s[t]=e)}return litHtml.noChange}});exports.styleMap=i,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const i=directive.directive(class extends directive.Directive{constructor(t){var e;if(super(t),t.type!==directive.PartType.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ct){this.ct=new Set;for(const t in r)this.ct.add(t);return this.render(r)}this.ct.forEach(t=>{null==r[t]&&(this.ct.delete(t),t.includes("-")?s.removeProperty(t):s[t]="")});for(const t in r){const e=r[t];null!=e&&(this.ct.add(t),t.includes("-")?s.setProperty(t,e):s[t]=e)}return litHtml.noChange}});exports.styleMap=i,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/template-content.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/template-content.js index 6a3dbc422dc03178556c2c3de872e1e4262d29d9..d548932a79cb2da79093974b82d7681be2fb8200 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/template-content.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/template-content.js @@ -3,4 +3,4 @@ define(["exports","../lit-html","../directive"],(function(exports,litHtml,direct * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const o=directive.directive(class extends directive.Directive{constructor(t){if(super(t),t.type!==directive.PartType.CHILD)throw Error("templateContent can only be used in child bindings")}render(r){return this.kt===r?litHtml.noChange:(this.kt=r,document.importNode(r.content,!0))}});exports.templateContent=o,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const o=directive.directive(class extends directive.Directive{constructor(t){if(super(t),t.type!==directive.PartType.CHILD)throw Error("templateContent can only be used in child bindings")}render(r){return this.ut===r?litHtml.noChange:(this.ut=r,document.importNode(r.content,!0))}});exports.templateContent=o,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/unsafe-html.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/unsafe-html.js index ee0afb3be1b0b820b784073f637d99816018e2b9..1b5b74957b3fb4beca2190d6bc07530f813841ef 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/unsafe-html.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/unsafe-html.js @@ -3,4 +3,4 @@ define(["exports","../lit-html","../directive"],(function(exports,litHtml,direct * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */class n extends directive.Directive{constructor(i){if(super(i),this.vt=litHtml.nothing,i.type!==directive.PartType.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===litHtml.nothing)return this.Vt=void 0,this.vt=r;if(r===litHtml.noChange)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.vt)return this.Vt;this.vt=r;const s=[r];return s.raw=s,this.Vt={_$litType$:this.constructor.resultType,strings:s,values:[]}}}n.directiveName="unsafeHTML",n.resultType=1;const o=directive.directive(n);exports.UnsafeHTMLDirective=n,exports.unsafeHTML=o,Object.defineProperty(exports,"__esModule",{value:!0})})); + */class n extends directive.Directive{constructor(i){if(super(i),this.it=litHtml.nothing,i.type!==directive.PartType.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===litHtml.nothing)return this.vt=void 0,this.it=r;if(r===litHtml.noChange)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this.vt;this.it=r;const s=[r];return s.raw=s,this.vt={_$litType$:this.constructor.resultType,strings:s,values:[]}}}n.directiveName="unsafeHTML",n.resultType=1;const o=directive.directive(n);exports.UnsafeHTMLDirective=n,exports.unsafeHTML=o,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/until.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/until.js index 8082a7e4d96942af5f1b697db76ca949b3cc671b..c88a719e2262fc40e06ec1fe150265ff83e5c038 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/until.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/directives/until.js @@ -1,6 +1,6 @@ -define(["exports","../lit-html","../directive","../directive-helpers","../async-directive"],(function(exports,litHtml,directive,directiveHelpers,asyncDirective){"use strict"; +define(["exports","../lit-html","../directive-helpers","../directive","../async-directive","./private-async-helpers"],(function(exports,litHtml,directiveHelpers,directive,asyncDirective,privateAsyncHelpers){"use strict"; /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const e=t=>!directiveHelpers.isPrimitive(t)&&"function"==typeof t.then,o=directive.directive(class extends asyncDirective.AsyncDirective{constructor(){super(...arguments),this.Ct=2147483647,this.Rt=[]}render(...r){var s;return null!==(s=r.find(t=>!e(t)))&&void 0!==s?s:litHtml.noChange}update(r,s){const i=this.Rt;let o=i.length;this.Rt=s;for(let t=0;t<s.length&&!(t>this.Ct);t++){const r=s[t];if(!e(r))return this.Ct=t,r;t<o&&r===i[t]||(this.Ct=2147483647,o=0,Promise.resolve(r).then(t=>{const s=this.Rt.indexOf(r);s>-1&&s<this.Ct&&(this.Ct=s,this.setValue(t))}))}return litHtml.noChange}});exports.until=o,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const n=t=>!directiveHelpers.isPrimitive(t)&&"function"==typeof t.then;class h extends asyncDirective.AsyncDirective{constructor(){super(...arguments),this._$Cft=1073741823,this._$Cwt=[],this._$CU=new privateAsyncHelpers.PseudoWeakRef(this),this._$CY=new privateAsyncHelpers.Pauser}render(...s){var i;return null!==(i=s.find(t=>!n(t)))&&void 0!==i?i:litHtml.noChange}update(s,i){const r=this._$Cwt;let e=r.length;this._$Cwt=i;const o=this._$CU,h=this._$CY;this.isConnected||this.disconnected();for(let t=0;t<i.length&&!(t>this._$Cft);t++){const s=i[t];if(!n(s))return this._$Cft=t,s;t<e&&s===r[t]||(this._$Cft=1073741823,e=0,Promise.resolve(s).then(async t=>{for(;h.get();)await h.get();const i=o.deref();if(void 0!==i){const r=i._$Cwt.indexOf(s);r>-1&&r<i._$Cft&&(i._$Cft=r,i.setValue(t))}}))}return litHtml.noChange}disconnected(){this._$CU.disconnect(),this._$CY.pause()}reconnected(){this._$CU.reconnect(this),this._$CY.resume()}}const c=directive.directive(h);exports.UntilDirective=h,exports.until=c,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/experimental-hydrate.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/experimental-hydrate.js index ca94d77e949ffbb7a1a9a401e815657d647442da..8808a4bdc36457c843f8d624ea322544300a18c0 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/experimental-hydrate.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/experimental-hydrate.js @@ -1,6 +1,6 @@ -define(["exports","./lit-html","./directive","./directive-helpers"],(function(exports,litHtml,directive,directiveHelpers){"use strict"; +define(["exports","./lit-html","./directive-helpers","./directive"],(function(exports,litHtml,directiveHelpers,directive){"use strict"; /** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const{tt:i,it:a,st:s,et:c,ht:d}=litHtml._Σ,f=(t,r,l,d)=>{let p,f;if(0===l.length)f=new c(r,null,void 0,d),p=t;else{const e=l[l.length-1];if("template-instance"===e.type)f=new c(r,null,e.instance,d),e.instance.l.push(f),p=e.result.values[e.instancePartIndex++],e.templatePartIndex++;else if("iterable"===e.type){f=new c(r,null,e.part,d);const t=e.iterator.next();if(t.done)throw p=void 0,e.done=!0,Error("Unhandled shorter than expected iterable");p=t.value,e.part.H.push(f)}else f=new c(r,null,e.part,d)}if(p=s(f,p),p===litHtml.noChange)l.push({part:f,type:"leaf"});else if(directiveHelpers.isPrimitive(p))l.push({part:f,type:"leaf"}),f.H=p;else if(directiveHelpers.isTemplateResult(p)){const e="lit-part "+m(p);if(r.data!==e)throw Error("Hydration value mismatch: Unexpected TemplateResult rendered to part");{const e=c.prototype.C(p),t=new i(e,f);l.push({type:"template-instance",instance:t,part:f,templatePartIndex:0,instancePartIndex:0,result:p}),f.H=t}}else a(p)?(l.push({part:f,type:"iterable",value:p,iterator:p[Symbol.iterator](),done:!1}),f.H=[]):(l.push({part:f,type:"leaf"}),f.H=null==p?"":p);return f},h=(e,t,r)=>{if(void 0===t)throw Error("unbalanced part marker");t.B=e;const n=r.pop();if("iterable"===n.type&&!n.iterator.next().done)throw Error("unexpected longer than expected iterable");if(r.length>0)return r[r.length-1].part},u=(e,t,n)=>{var o;const i=/lit-node (\d+)/.exec(e.data),a=parseInt(i[1]),c=null!==(o=e.previousSibling)&&void 0!==o?o:e.parentElement,p=t[t.length-1];if("template-instance"!==p.type)throw Error("internal error");{const e=p.instance;for(;;){const t=e.D.parts[p.templatePartIndex];if(void 0===t||t.type!==directive.PartType.ATTRIBUTE&&t.type!==directive.PartType.ELEMENT||t.index!==a)break;if(t.type===directive.PartType.ATTRIBUTE){const o=new t.ctor(c,t.name,t.strings,p.instance,n),i=directiveHelpers.isSingleExpression(o)?p.result.values[p.instancePartIndex]:p.result.values,a=!(o.type===directive.PartType.EVENT||o.type===directive.PartType.PROPERTY);o.I(i,o,p.instancePartIndex,a),p.instancePartIndex+=t.strings.length-1,e.l.push(o)}else{const t=new d(c,p.instance,n);s(t,p.result.values[p.instancePartIndex++]),e.l.push(t)}p.templatePartIndex++}}},m=e=>{const t=new Uint32Array(2).fill(5381);for(const r of e.strings)for(let e=0;e<r.length;e++)t[e%2]=33*t[e%2]^r.charCodeAt(e);return btoa(String.fromCharCode(...new Uint8Array(t.buffer)))};exports.digestForTemplateResult=m,exports.hydrate=(e,t,r={})=>{if(void 0!==t._$litPart$)throw Error("container already contains a live render");let n,o;const l=[],i=document.createTreeWalker(t,NodeFilter.SHOW_COMMENT,null,!1);let a;for(;null!==(a=i.nextNode());){const t=a.data;if(t.startsWith("lit-part")){if(0===l.length&&void 0!==n)throw Error("there must be only one root part per container");o=f(e,a,l,r),null!=n||(n=o)}else if(t.startsWith("lit-node")){u(a,l,r);const e=a.parentElement;e.hasAttribute("defer-hydration")&&e.removeAttribute("defer-hydration")}else if(t.startsWith("/lit-part")){if(1===l.length&&o!==n)throw Error("internal error");o=h(a,o,l)}}console.assert(void 0!==n,"there should be exactly one root part in a render container"),t._$litPart$=n},Object.defineProperty(exports,"__esModule",{value:!0})})); + */const{D:i,L:a,j:s,H:c,F:d}=litHtml._$LH,f=(t,r,l,d)=>{let p,f;if(0===l.length)f=new c(r,null,void 0,d),p=t;else{const e=l[l.length-1];if("template-instance"===e.type)f=new c(r,null,e.instance,d),e.instance.v.push(f),p=e.result.values[e.instancePartIndex++],e.templatePartIndex++;else if("iterable"===e.type){f=new c(r,null,e.part,d);const t=e.iterator.next();if(t.done)throw p=void 0,e.done=!0,Error("Unhandled shorter than expected iterable");p=t.value,e.part._$AH.push(f)}else f=new c(r,null,e.part,d)}if(p=s(f,p),p===litHtml.noChange)l.push({part:f,type:"leaf"});else if(directiveHelpers.isPrimitive(p))l.push({part:f,type:"leaf"}),f._$AH=p;else if(directiveHelpers.isTemplateResult(p)){const e="lit-part "+m(p);if(r.data!==e)throw Error("Hydration value mismatch: Unexpected TemplateResult rendered to part");{const e=c.prototype._$AC(p),t=new i(e,f);l.push({type:"template-instance",instance:t,part:f,templatePartIndex:0,instancePartIndex:0,result:p}),f._$AH=t}}else a(p)?(l.push({part:f,type:"iterable",value:p,iterator:p[Symbol.iterator](),done:!1}),f._$AH=[]):(l.push({part:f,type:"leaf"}),f._$AH=null==p?"":p);return f},h=(e,t,r)=>{if(void 0===t)throw Error("unbalanced part marker");t._$AB=e;const n=r.pop();if("iterable"===n.type&&!n.iterator.next().done)throw Error("unexpected longer than expected iterable");if(r.length>0)return r[r.length-1].part},u=(e,t,n)=>{var o;const i=/lit-node (\d+)/.exec(e.data),a=parseInt(i[1]),c=null!==(o=e.previousSibling)&&void 0!==o?o:e.parentElement,p=t[t.length-1];if("template-instance"!==p.type)throw Error("internal error");{const e=p.instance;for(;;){const t=e._$AD.parts[p.templatePartIndex];if(void 0===t||t.type!==directive.PartType.ATTRIBUTE&&t.type!==directive.PartType.ELEMENT||t.index!==a)break;if(t.type===directive.PartType.ATTRIBUTE){const o=new t.ctor(c,t.name,t.strings,p.instance,n),i=directiveHelpers.isSingleExpression(o)?p.result.values[p.instancePartIndex]:p.result.values,a=!(o.type===directive.PartType.EVENT||o.type===directive.PartType.PROPERTY);o._$AI(i,o,p.instancePartIndex,a),p.instancePartIndex+=t.strings.length-1,e.v.push(o)}else{const t=new d(c,p.instance,n);s(t,p.result.values[p.instancePartIndex++]),e.v.push(t)}p.templatePartIndex++}}},m=e=>{const t=new Uint32Array(2).fill(5381);for(const r of e.strings)for(let e=0;e<r.length;e++)t[e%2]=33*t[e%2]^r.charCodeAt(e);return btoa(String.fromCharCode(...new Uint8Array(t.buffer)))};exports.digestForTemplateResult=m,exports.hydrate=(e,t,r={})=>{if(void 0!==t._$litPart$)throw Error("container already contains a live render");let n,o;const l=[],i=document.createTreeWalker(t,NodeFilter.SHOW_COMMENT,null,!1);let a;for(;null!==(a=i.nextNode());){const t=a.data;if(t.startsWith("lit-part")){if(0===l.length&&void 0!==n)throw Error("there must be only one root part per container");o=f(e,a,l,r),null!=n||(n=o)}else if(t.startsWith("lit-node")){u(a,l,r);const e=a.parentElement;e.hasAttribute("defer-hydration")&&e.removeAttribute("defer-hydration")}else if(t.startsWith("/lit-part")){if(1===l.length&&o!==n)throw Error("internal error");o=h(a,o,l)}}console.assert(void 0!==n,"there should be exactly one root part in a render container"),t._$litPart$=n},Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/lit-html.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/lit-html.js index 8fc700765de4b333bf0e6194a3edeb9b57ccf25e..cbc23b38454ab274ae684352ea25bb551d9b2ecc 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/lit-html.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/lit-html.js @@ -3,4 +3,4 @@ define(["exports"],(function(exports){"use strict"; * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */var t,i,s,e;const o=window.trustedTypes,l=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,n=`lit$${(Math.random()+"").slice(9)}$`,h="?"+n,r=`<${h}>`,u=document,c=(t="")=>u.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,v=Array.isArray,a=t=>{var i;return v(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])},f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,m=/>/g,p=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,$=/'/g,g=/"/g,y=/^(?:script|style|textarea)$/i,b=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),T=b(1),x=b(2),w=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),P=new WeakMap,E=u.createTreeWalker(u,129,null,!1),M=(t,i)=>{const s=t.length-1,e=[];let o,h=2===i?"<svg>":"",u=f;for(let i=0;i<s;i++){const s=t[i];let l,c,d=-1,v=0;for(;v<s.length&&(u.lastIndex=v,c=u.exec(s),null!==c);)v=u.lastIndex,u===f?"!--"===c[1]?u=_:void 0!==c[1]?u=m:void 0!==c[2]?(y.test(c[2])&&(o=RegExp("</"+c[2],"g")),u=p):void 0!==c[3]&&(u=p):u===p?">"===c[0]?(u=null!=o?o:f,d=-1):void 0===c[1]?d=-2:(d=u.lastIndex-c[2].length,l=c[1],u=void 0===c[3]?p:'"'===c[3]?g:$):u===g||u===$?u=p:u===_||u===m?u=f:(u=p,o=void 0);const a=u===p&&t[i+1].startsWith("/>")?" ":"";h+=u===f?s+r:d>=0?(e.push(l),s.slice(0,d)+"$lit$"+s.slice(d)+n+a):s+n+(-2===d?(e.push(void 0),i):a)}const c=h+(t[s]||"<?>")+(2===i?"</svg>":"");return[void 0!==l?l.createHTML(c):c,e]};class N{constructor({strings:t,_$litType$:i},s){let e;this.parts=[];let l=0,r=0;const u=t.length-1,d=this.parts,[v,a]=M(t,i);if(this.el=N.createElement(v,s),E.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(e=E.nextNode())&&d.length<u;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const i of e.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(n)){const s=a[r++];if(t.push(i),void 0!==s){const t=e.getAttribute(s.toLowerCase()+"$lit$").split(n),i=/([.?@])?(.*)/.exec(s);d.push({type:1,index:l,name:i[2],strings:t,ctor:"."===i[1]?I:"?"===i[1]?L:"@"===i[1]?R:H})}else d.push({type:6,index:l})}for(const i of t)e.removeAttribute(i)}if(y.test(e.tagName)){const t=e.textContent.split(n),i=t.length-1;if(i>0){e.textContent=o?o.emptyScript:"";for(let s=0;s<i;s++)e.append(t[s],c()),E.nextNode(),d.push({type:2,index:++l});e.append(t[i],c())}}}else if(8===e.nodeType)if(e.data===h)d.push({type:2,index:l});else{let t=-1;for(;-1!==(t=e.data.indexOf(n,t+1));)d.push({type:7,index:l}),t+=n.length-1}l++}}static createElement(t,i){const s=u.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){var o,l,n,h;if(i===w)return i;let r=void 0!==e?null===(o=s.Σi)||void 0===o?void 0:o[e]:s.Σo;const u=d(i)?void 0:i._$litDirective$;return(null==r?void 0:r.constructor)!==u&&(null===(l=null==r?void 0:r.O)||void 0===l||l.call(r,!1),void 0===u?r=void 0:(r=new u(t),r.T(t,s,e)),void 0!==e?(null!==(n=(h=s).Σi)&&void 0!==n?n:h.Σi=[])[e]=r:s.Σo=r),void 0!==r&&(i=S(t,r.S(t,i.values),r,e)),i}class k{constructor(t,i){this.l=[],this.N=void 0,this.D=t,this.M=i}u(t){var i;const{el:{content:s},parts:e}=this.D,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:u).importNode(s,!0);E.currentNode=o;let l=E.nextNode(),n=0,h=0,r=e[0];for(;void 0!==r;){if(n===r.index){let i;2===r.type?i=new C(l,l.nextSibling,this,t):1===r.type?i=new r.ctor(l,r.name,r.strings,this,t):6===r.type&&(i=new z(l,this,t)),this.l.push(i),r=e[++h]}n!==(null==r?void 0:r.index)&&(l=E.nextNode(),n++)}return o}v(t){let i=0;for(const s of this.l)void 0!==s&&(void 0!==s.strings?(s.I(t,s,i),i+=s.strings.length-2):s.I(t[i])),i++}}class C{constructor(t,i,s,e){this.type=2,this.N=void 0,this.A=t,this.B=i,this.M=s,this.options=e}setConnected(t){var i;null===(i=this.P)||void 0===i||i.call(this,t)}get parentNode(){return this.A.parentNode}get startNode(){return this.A}get endNode(){return this.B}I(t,i=this){t=S(this,t,i),d(t)?t===A||null==t||""===t?(this.H!==A&&this.R(),this.H=A):t!==this.H&&t!==w&&this.m(t):void 0!==t._$litType$?this._(t):void 0!==t.nodeType?this.$(t):a(t)?this.g(t):this.m(t)}k(t,i=this.B){return this.A.parentNode.insertBefore(t,i)}$(t){this.H!==t&&(this.R(),this.H=this.k(t))}m(t){const i=this.A.nextSibling;null!==i&&3===i.nodeType&&(null===this.B?null===i.nextSibling:i===this.B.previousSibling)?i.data=t:this.$(u.createTextNode(t)),this.H=t}_(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this.C(t):(void 0===e.el&&(e.el=N.createElement(e.h,this.options)),e);if((null===(i=this.H)||void 0===i?void 0:i.D)===o)this.H.v(s);else{const t=new k(o,this),i=t.u(this.options);t.v(s),this.$(i),this.H=t}}C(t){let i=P.get(t.strings);return void 0===i&&P.set(t.strings,i=new N(t)),i}g(t){v(this.H)||(this.H=[],this.R());const i=this.H;let s,e=0;for(const o of t)e===i.length?i.push(s=new C(this.k(c()),this.k(c()),this,this.options)):s=i[e],s.I(o),e++;e<i.length&&(this.R(s&&s.B.nextSibling,e),i.length=e)}R(t=this.A.nextSibling,i){var s;for(null===(s=this.P)||void 0===s||s.call(this,!1,!0,i);t&&t!==this.B;){const i=t.nextSibling;t.remove(),t=i}}}class H{constructor(t,i,s,e,o){this.type=1,this.H=A,this.N=void 0,this.V=void 0,this.element=t,this.name=i,this.M=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this.H=Array(s.length-1).fill(A),this.strings=s):this.H=A}get tagName(){return this.element.tagName}I(t,i=this,s,e){const o=this.strings;let l=!1;if(void 0===o)t=S(this,t,i,0),l=!d(t)||t!==this.H&&t!==w,l&&(this.H=t);else{const e=t;let n,h;for(t=o[0],n=0;n<o.length-1;n++)h=S(this,e[s+n],i,n),h===w&&(h=this.H[n]),l||(l=!d(h)||h!==this.H[n]),h===A?t=A:t!==A&&(t+=(null!=h?h:"")+o[n+1]),this.H[n]=h}l&&!e&&this.W(t)}W(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class I extends H{constructor(){super(...arguments),this.type=3}W(t){this.element[this.name]=t===A?void 0:t}}class L extends H{constructor(){super(...arguments),this.type=4}W(t){t&&t!==A?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class R extends H{constructor(){super(...arguments),this.type=5}I(t,i=this){var s;if((t=null!==(s=S(this,t,i,0))&&void 0!==s?s:A)===w)return;const e=this.H,o=t===A&&e!==A||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,l=t!==A&&(e===A||o);o&&this.element.removeEventListener(this.name,this,e),l&&this.element.addEventListener(this.name,this,t),this.H=t}handleEvent(t){var i,s;"function"==typeof this.H?this.H.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this.H.handleEvent(t)}}class z{constructor(t,i,s){this.element=t,this.type=6,this.N=void 0,this.V=void 0,this.M=i,this.options=s}I(t){S(this,t)}}const Z={Z:"$lit$",U:n,Y:h,q:1,X:M,tt:k,it:a,st:S,et:C,ot:H,nt:L,rt:R,lt:I,ht:z};null===(i=(t=window).litHtmlPlatformSupport)||void 0===i||i.call(t,N,C),(null!==(s=(e=window).litHtmlVersions)&&void 0!==s?s:e.litHtmlVersions=[]).push("2.0.0-rc.3"),exports._Σ=Z,exports.html=T,exports.noChange=w,exports.nothing=A,exports.render=(t,i,s)=>{var e,o;const l=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let n=l._$litPart$;if(void 0===n){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;l._$litPart$=n=new C(i.insertBefore(c(),t),t,void 0,s)}return n.I(t),n},exports.svg=x,Object.defineProperty(exports,"__esModule",{value:!0})})); + */var t,i,s,e;const o=window.trustedTypes,n=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,l=`lit$${(Math.random()+"").slice(9)}$`,h="?"+l,r=`<${h}>`,u=document,c=(t="")=>u.createComment(t),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,v=Array.isArray,a=t=>{var i;return v(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])},f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,m=/>/g,$=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,g=/'/g,p=/"/g,y=/^(?:script|style|textarea)$/i,b=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),T=b(1),x=b(2),w=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),C=new WeakMap,V=u.createTreeWalker(u,129,null,!1),E=(t,i)=>{const s=t.length-1,e=[];let o,h=2===i?"<svg>":"",u=f;for(let i=0;i<s;i++){const s=t[i];let n,c,d=-1,v=0;for(;v<s.length&&(u.lastIndex=v,c=u.exec(s),null!==c);)v=u.lastIndex,u===f?"!--"===c[1]?u=_:void 0!==c[1]?u=m:void 0!==c[2]?(y.test(c[2])&&(o=RegExp("</"+c[2],"g")),u=$):void 0!==c[3]&&(u=$):u===$?">"===c[0]?(u=null!=o?o:f,d=-1):void 0===c[1]?d=-2:(d=u.lastIndex-c[2].length,n=c[1],u=void 0===c[3]?$:'"'===c[3]?p:g):u===p||u===g?u=$:u===_||u===m?u=f:(u=$,o=void 0);const a=u===$&&t[i+1].startsWith("/>")?" ":"";h+=u===f?s+r:d>=0?(e.push(n),s.slice(0,d)+"$lit$"+s.slice(d)+l+a):s+l+(-2===d?(e.push(void 0),i):a)}const c=h+(t[s]||"<?>")+(2===i?"</svg>":"");return[void 0!==n?n.createHTML(c):c,e]};class M{constructor({strings:t,_$litType$:i},s){let e;this.parts=[];let n=0,r=0;const u=t.length-1,d=this.parts,[v,a]=E(t,i);if(this.el=M.createElement(v,s),V.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(e=V.nextNode())&&d.length<u;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const i of e.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(l)){const s=a[r++];if(t.push(i),void 0!==s){const t=e.getAttribute(s.toLowerCase()+"$lit$").split(l),i=/([.?@])?(.*)/.exec(s);d.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?I:"?"===i[1]?L:"@"===i[1]?R:H})}else d.push({type:6,index:n})}for(const i of t)e.removeAttribute(i)}if(y.test(e.tagName)){const t=e.textContent.split(l),i=t.length-1;if(i>0){e.textContent=o?o.emptyScript:"";for(let s=0;s<i;s++)e.append(t[s],c()),V.nextNode(),d.push({type:2,index:++n});e.append(t[i],c())}}}else if(8===e.nodeType)if(e.data===h)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(l,t+1));)d.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,i){const s=u.createElement("template");return s.innerHTML=t,s}}function N(t,i,s=t,e){var o,n,l,h;if(i===w)return i;let r=void 0!==e?null===(o=s._$Cl)||void 0===o?void 0:o[e]:s._$Cu;const u=d(i)?void 0:i._$litDirective$;return(null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Cl)&&void 0!==l?l:h._$Cl=[])[e]=r:s._$Cu=r),void 0!==r&&(i=N(t,r._$AS(t,i.values),r,e)),i}class S{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:u).importNode(s,!0);V.currentNode=o;let n=V.nextNode(),l=0,h=0,r=e[0];for(;void 0!==r;){if(l===r.index){let i;2===r.type?i=new k(n,n.nextSibling,this,t):1===r.type?i=new r.ctor(n,r.name,r.strings,this,t):6===r.type&&(i=new z(n,this,t)),this.v.push(i),r=e[++h]}l!==(null==r?void 0:r.index)&&(n=V.nextNode(),l++)}return o}m(t){let i=0;for(const s of this.v)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class k{constructor(t,i,s,e){this.type=2,this._$C_=!0,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$C_}get parentNode(){return this._$AA.parentNode}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=N(this,t,i),d(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==w&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.A(t):a(t)?this.M(t):this.$(t)}C(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}A(t){this._$AH!==t&&(this._$AR(),this._$AH=this.C(t))}$(t){const i=this._$AA.nextSibling;null!==i&&3===i.nodeType&&(null===this._$AB?null===i.nextSibling:i===this._$AB.previousSibling)?i.data=t:this.A(u.createTextNode(t)),this._$AH=t}T(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=M.createElement(e.h,this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.m(s);else{const t=new S(o,this),i=t.p(this.options);t.m(s),this.A(i),this._$AH=t}}_$AC(t){let i=C.get(t.strings);return void 0===i&&C.set(t.strings,i=new M(t)),i}M(t){v(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new k(this.C(c()),this.C(c()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$C_=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class H{constructor(t,i,s,e,o){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(A),this.strings=s):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=N(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==w,n&&(this._$AH=t);else{const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=N(this,e[s+l],i,l),h===w&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===A?t=A:t!==A&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h}n&&!e&&this.P(t)}P(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class I extends H{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===A?void 0:t}}class L extends H{constructor(){super(...arguments),this.type=4}P(t){t&&t!==A?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class R extends H{constructor(){super(...arguments),this.type=5}_$AI(t,i=this){var s;if((t=null!==(s=N(this,t,i,0))&&void 0!==s?s:A)===w)return;const e=this._$AH,o=t===A&&e!==A||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A&&(e===A||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}const Z={V:"$lit$",k:l,R:h,I:1,N:E,D:S,L:a,j:N,H:k,O:H,W:L,Z:R,B:I,F:z};null===(i=(t=window).litHtmlPlatformSupport)||void 0===i||i.call(t,M,k),(null!==(s=(e=window).litHtmlVersions)&&void 0!==s?s:e.litHtmlVersions=[]).push("2.0.0-rc.4"),exports._$LH=Z,exports.html=T,exports.noChange=w,exports.nothing=A,exports.render=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new k(i.insertBefore(c(),t),t,void 0,null!=s?s:{})}return l._$AI(t),l},exports.svg=x,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/polyfill-support.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/polyfill-support.js index 16a00f215bcab1929d808321ee9244900f3663fb..2adca24b5e01a98c974e142009b9063a355c5cf2 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/polyfill-support.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/polyfill-support.js @@ -4,4 +4,4 @@ define((function(){"use strict";var i;i=function(){ * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var i,n,o=new Set,t=new Map;null!==(i=(n=window).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},v=new Map,e=i.createElement;i.createElement=function(n,o){var t=e.call(i,n,o),v=null==o?void 0:o.scope;if(void 0!==v){window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,v);var u=d(v),r=t.content.querySelectorAll("style");u.push.apply(u,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var u=document.createDocumentFragment(),r=document.createComment(""),l=n.prototype,a=l.I;l.I=function(i,n){var v,e,l;void 0===n&&(n=this);var s,w=this.A.parentNode,f=null===(v=this.options)||void 0===v?void 0:v.scope;if(w instanceof ShadowRoot&&void 0!==(s=f)&&!o.has(s)){var c=this.A,h=this.B;u.appendChild(r),this.A=r,this.B=null,a.call(this,i,n);var y=(null===(e=i)||void 0===e?void 0:e._$litType$)?this.H.D.el:document.createElement("template");if(function(i,n){var v=d(i),e=0!==v.length;if(e){var u=document.createElement("style");u.textContent=v.join("\n"),n.content.appendChild(u)}o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),e&&window.ShadyCSS.nativeShadow&&n.content.appendChild(n.content.querySelector("style"))}(f,y),u.removeChild(r),null===(l=window.ShadyCSS)||void 0===l?void 0:l.nativeShadow){var m=y.content.querySelector("style");null!==m&&u.appendChild(m.cloneNode(!0))}w.insertBefore(u,h),this.A=c,this.B=h}else a.call(this,i,n)},l.C=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}}})},"function"==typeof define&&define.amd?define(i):i()})); +var i,n,o=new Set,t=new Map;null!==(i=(n=window).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!o.has(i)},v=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},e=new Map,u=i.createElement;i.createElement=function(n,o){var t=u.call(i,n,o),e=null==o?void 0:o.scope;if(void 0!==e&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,e),d(e))){var l=v(e),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=n.prototype,s=a._$AI;a._$AI=function(i,n){var e,u,a;void 0===n&&(n=this);var w=this._$AA.parentNode,f=null===(e=this.options)||void 0===e?void 0:e.scope;if(w instanceof ShadowRoot&&d(f)){var c=this._$AA,h=this._$AB;l.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,n);var y=(null===(u=i)||void 0===u?void 0:u._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,n){var d,e=v(i),u=0!==e.length;u&&((d=document.createElement("style")).textContent=e.join("\n"),n.content.appendChild(d)),o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),u&&window.ShadyCSS.nativeShadow&&null!==(d=n.content.querySelector("style"))&&n.content.appendChild(d)}(f,y),l.removeChild(r),null===(a=window.ShadyCSS)||void 0===a?void 0:a.nativeShadow){var m=y.content.querySelector("style");null!==m&&l.appendChild(m.cloneNode(!0))}w.insertBefore(l,h),this._$AA=c,this._$AB=h}else s.call(this,i,n)},a._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=e.get(t);void 0===d&&e.set(t,d=new Map);var v=d.get(n.strings);return void 0===v&&d.set(n.strings,v=new i(n,this.options)),v}}})},"function"==typeof define&&define.amd?define(i):i()})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/private-ssr-support.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/private-ssr-support.js index 7ea93933ab73054b54fc3dbe99b0c99c77f65908..ab494598d66a4d1e6d594c19138c97d4dd13fa82 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/private-ssr-support.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/private-ssr-support.js @@ -3,4 +3,4 @@ define(["exports","./lit-html"],(function(exports,litHtml){"use strict"; * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const r={boundAttributeSuffix:litHtml._Σ.Z,marker:litHtml._Σ.U,markerMatch:litHtml._Σ.Y,HTML_RESULT:litHtml._Σ.q,getTemplateHtml:litHtml._Σ.X,overrideDirectiveResolve:(t,e)=>class extends t{S(t,r){return e(this,r)}},getAttributePartCommittedValue:(t,r,a)=>{let i=litHtml.noChange;return t.W=t=>i=t,t.I(r,t,a),i},resolveDirective:litHtml._Σ.st,AttributePart:litHtml._Σ.ot,PropertyPart:litHtml._Σ.lt,BooleanAttributePart:litHtml._Σ.nt,EventPart:litHtml._Σ.rt,ElementPart:litHtml._Σ.ht};exports._Σ=r,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const r={boundAttributeSuffix:litHtml._$LH.V,marker:litHtml._$LH.k,markerMatch:litHtml._$LH.R,HTML_RESULT:litHtml._$LH.I,getTemplateHtml:litHtml._$LH.N,overrideDirectiveResolve:(t,e)=>class extends t{_$AS(t,r){return e(this,r)}},setDirectiveClass(t,e){t._$litDirective$=e},getAttributePartCommittedValue:(t,r,i)=>{let a=litHtml.noChange;return t.P=t=>a=t,t._$AI(r,t,i),a},connectedDisconnectable:t=>({...t,_$AU:!0}),resolveDirective:litHtml._$LH.j,AttributePart:litHtml._$LH.O,PropertyPart:litHtml._$LH.B,BooleanAttributePart:litHtml._$LH.W,EventPart:litHtml._$LH.Z,ElementPart:litHtml._$LH.F};exports._$LH=r,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/static.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/static.js index 02fb198d8ba1e67b22c26207b180ad7afaede0ca..bdf116f770e19021d79b2f97bf451cad1bd75a2c 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/static.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit-html/static.js @@ -3,4 +3,4 @@ define(["exports","./lit-html"],(function(exports,litHtml){"use strict"; * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */const i=new Map,a=t=>(e,...o)=>{var r;const a=o.length;let l,s;const n=[],u=[];let c,$=0,v=!1;for(;$<a;){for(c=e[$];$<a&&void 0!==(s=o[$],l=null===(r=s)||void 0===r?void 0:r.It);)c+=l+e[++$],v=!0;u.push(s),n.push(c),$++}if($===a&&n.push(e[a]),v){const t=n.join("$$lit$$");void 0===(e=i.get(t))&&i.set(t,e=n),o=u}return t(e,...o)},l=a(litHtml.html),s=a(litHtml.svg);exports.html=l,exports.literal=(t,...e)=>({It:e.reduce((e,o,r)=>e+(t=>{if(void 0!==t.It)return t.It;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.`)})(o)+t[r+1],t[0])}),exports.svg=s,exports.unsafeStatic=t=>({It:t}),exports.withStatic=a,Object.defineProperty(exports,"__esModule",{value:!0})})); + */const i=new Map,a=t=>(e,...o)=>{var r;const a=o.length;let l,s;const n=[],u=[];let c,$=0,v=!1;for(;$<a;){for(c=e[$];$<a&&void 0!==(s=o[$],l=null===(r=s)||void 0===r?void 0:r._$litStatic$);)c+=l+e[++$],v=!0;u.push(s),n.push(c),$++}if($===a&&n.push(e[a]),v){const t=n.join("$$lit$$");void 0===(e=i.get(t))&&i.set(t,e=n),o=u}return t(e,...o)},l=a(litHtml.html),s=a(litHtml.svg);exports.html=l,exports.literal=(t,...e)=>({_$litStatic$:e.reduce((e,o,r)=>e+(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.`)})(o)+t[r+1],t[0])}),exports.svg=s,exports.unsafeStatic=t=>({_$litStatic$:t}),exports.withStatic=a,Object.defineProperty(exports,"__esModule",{value:!0})})); diff --git a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit/polyfill-support.js b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit/polyfill-support.js index 22e96099dfb47e26260840501a608553b9ad87be..f5d12e83fd4999b74d851b5a25e095d6cbd6617f 100644 --- a/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit/polyfill-support.js +++ b/typo3/sysext/core/Resources/Public/JavaScript/Contrib/lit/polyfill-support.js @@ -4,10 +4,10 @@ define((function(){"use strict";var i;i=function(){var i;i=function(){var i,n,o; * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var i,n,o="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=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,e=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,e),void 0===this.constructor.J&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var v=t.E;t.E=function(i){var n=!this.hasUpdated;v.call(this,i),n&&window.ShadyCSS.styleElement(this)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){ +var i,n,o="__scoped";null!==(i=(n=window).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=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,e=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var u=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(u,e),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var u=t._$AE;t._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),u.call(this,i)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){ /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ -var i,n,o=new Set,t=new Map;null!==(i=(n=window).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},e=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),e=null==o?void 0:o.scope;if(void 0!==e){window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,e);var u=d(e),f=t.content.querySelectorAll("style");u.push.apply(u,Array.from(f).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var u=document.createDocumentFragment(),f=document.createComment(""),r=n.prototype,w=r.I;r.I=function(i,n){var e,v,r;void 0===n&&(n=this);var s,a=this.A.parentNode,l=null===(e=this.options)||void 0===e?void 0:e.scope;if(a instanceof ShadowRoot&&void 0!==(s=l)&&!o.has(s)){var h=this.A,c=this.B;u.appendChild(f),this.A=f,this.B=null,w.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this.H.D.el:document.createElement("template");if(function(i,n){var e=d(i),v=0!==e.length;if(v){var u=document.createElement("style");u.textContent=e.join("\n"),n.content.appendChild(u)}o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&n.content.appendChild(n.content.querySelector("style"))}(l,y),u.removeChild(f),null===(r=window.ShadyCSS)||void 0===r?void 0:r.nativeShadow){var p=y.content.querySelector("style");null!==p&&u.appendChild(p.cloneNode(!0))}a.insertBefore(u,c),this.A=h,this.B=c}else w.call(this,i,n)},r.C=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=e.get(t);void 0===d&&e.set(t,d=new Map);var v=d.get(n.strings);return void 0===v&&d.set(n.strings,v=new i(n,this.options)),v}}})})),null!==(n=(o=window).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n.J=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})},"function"==typeof define&&define.amd?define(i):i()},"function"==typeof define&&define.amd?define(i):i()})); +var i,n,o=new Set,t=new Map;null!==(i=(n=window).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!o.has(i)},e=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},u=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),u=null==o?void 0:o.scope;if(void 0!==u&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,u),d(u))){var f=e(u),r=t.content.querySelectorAll("style");f.push.apply(f,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var f=document.createDocumentFragment(),r=document.createComment(""),w=n.prototype,s=w._$AI;w._$AI=function(i,n){var u,v,w;void 0===n&&(n=this);var l=this._$AA.parentNode,a=null===(u=this.options)||void 0===u?void 0:u.scope;if(l instanceof ShadowRoot&&d(a)){var h=this._$AA,c=this._$AB;f.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,n){var d,u=e(i),v=0!==u.length;v&&((d=document.createElement("style")).textContent=u.join("\n"),n.content.appendChild(d)),o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&null!==(d=n.content.querySelector("style"))&&n.content.appendChild(d)}(a,y),f.removeChild(r),null===(w=window.ShadyCSS)||void 0===w?void 0:w.nativeShadow){var p=y.content.querySelector("style");null!==p&&f.appendChild(p.cloneNode(!0))}l.insertBefore(f,c),this._$AA=h,this._$AB=c}else s.call(this,i,n)},w._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=u.get(t);void 0===d&&u.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}}})})),null!==(n=(o=window).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=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)}}})},"function"==typeof define&&define.amd?define(i):i()},"function"==typeof define&&define.amd?define(i):i()}));