@fluid-topics/ft-checkbox 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-checkbox.min.js +115 -111
- package/package.json +5 -5
package/build/ft-checkbox.min.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,l),l.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else a.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(ee){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -38,18 +38,18 @@ const v={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:N},w=(t=v,o,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/const
|
|
41
|
+
*/const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/;function
|
|
46
|
+
*/;function U(t,o){return(e,r,i)=>{const a=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=a(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return a(this)}})}}function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!k(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!k(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const I=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
51
|
*/
|
|
52
|
-
const W=globalThis,$=W.trustedTypes,L=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,
|
|
52
|
+
const W=globalThis,$=W.trustedTypes,L=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+Z,z=`<${F}>`,D=document,A=()=>D.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,P="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,j=/>/g,G=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),T=/'/g,Y=/"/g,J=/^(?:script|style|textarea|title)$/i,V=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),X=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Q=new WeakMap,tt=D.createTreeWalker(D,129);function ot(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==L?L.createHTML(o):o}let et=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let a=0,n=0;const s=o.length-1,c=this.parts,[l,p]=((t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=H;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===H?"!--"===c[1]?n=_:void 0!==c[1]?n=j:void 0!==c[2]?(J.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=G):void 0!==c[3]&&(n=G):n===G?">"===c[0]?(n=i??H,l=-1):void 0===c[1]?l=-2:(l=n.lastIndex-c[2].length,s=c[1],n=void 0===c[3]?G:'"'===c[3]?Y:T):n===Y||n===T?n=G:n===_||n===j?n=H:(n=G,i=void 0);const f=n===G&&t[o+1].startsWith("/>")?" ":"";a+=n===H?e+z:l>=0?(r.push(s),e.slice(0,l)+K+e.slice(l)+Z+f):e+Z+(-2===l?o:f)}return[ot(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=tt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(K)){const o=p[n++],e=i.getAttribute(t).split(Z),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:a,name:r[2],strings:e,ctor:"."===r[1]?nt:"?"===r[1]?st:"@"===r[1]?ct:at}),i.removeAttribute(t)}else t.startsWith(Z)&&(c.push({type:6,index:a}),i.removeAttribute(t));if(J.test(i.tagName)){const t=i.textContent.split(Z),o=t.length-1;if(o>0){i.textContent=$?$.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],A()),tt.nextNode(),c.push({type:2,index:++a});i.append(t[o],A())}}}else if(8===i.nodeType)if(i.data===F)c.push({type:2,index:a});else{let t=-1;for(;-1!==(t=i.data.indexOf(Z,t+1));)c.push({type:7,index:a}),t+=Z.length-1}a++}}static createElement(t,o){const e=D.createElement("template");return e.innerHTML=t,e}};function rt(t,o,e=t,r){if(o===X)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=M(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=rt(t,i._$AS(t,o.values),i,r)),o}let it=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),M(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(ot(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??D).importNode(o,!0);tt.currentNode=r;let i=tt.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new it(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new lt(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=tt.nextNode(),a++)}return tt.currentNode=D,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(o){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const a of o)i===e.length?e.push(r=new t(this.k(A()),this.k(A()),this,this.options)):r=e[i],r._$AI(a),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},at=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=rt(this,t,o,0),a=!M(t)||t!==this._$AH&&t!==X,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=rt(this,r[e+n],o,n),s===X&&(s=this._$AH[n]),a||=!M(s)||s!==this._$AH[n],s===q?t=q:t!==q&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},nt=class extends at{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===q?void 0:t}},st=class extends at{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}},ct=class extends at{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=rt(this,t,o,0)??q)===X)return;const e=this._$AH,r=t===q&&e!==q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==q&&(e===q||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},lt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){rt(this,t)}};const pt=W.litHtmlPolyfillSupport;pt?.(et,it),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
53
53
|
/**
|
|
54
54
|
* @license
|
|
55
55
|
* Copyright 2019 Google LLC
|
|
@@ -60,13 +60,13 @@ const ft=globalThis,ht=ft.ShadowRoot&&(void 0===ft.ShadyCSS||ft.ShadyCSS.nativeS
|
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/,{is:Ot,defineProperty:Nt,getOwnPropertyDescriptor:St,getOwnPropertyNames:xt,getOwnPropertySymbols:vt,getPrototypeOf:wt}=Object,Ct=globalThis,Rt=Ct.trustedTypes,
|
|
63
|
+
*/,{is:Ot,defineProperty:Nt,getOwnPropertyDescriptor:St,getOwnPropertyNames:xt,getOwnPropertySymbols:vt,getPrototypeOf:wt}=Object,Ct=globalThis,Rt=Ct.trustedTypes,Et=Rt?Rt.emptyScript:"",Ut=Ct.reactiveElementPolyfillSupport,kt=(t,o)=>t,It={toAttribute(t,o){switch(o){case Boolean:t=t?Et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Wt=(t,o)=>!Ot(t,o),$t={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Lt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=$t){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Nt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=St(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const a=r?.call(this);i.call(this,o),this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const t=this.properties,o=[...xt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(mt(t))}else void 0!==t&&o.push(mt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ht)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=ft.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:It).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:It;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Wt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[kt("elementProperties")]=new Map,Lt[kt("finalized")]=new Map,Ut?.({ReactiveElement:Lt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
const Kt=globalThis,Zt=Kt.trustedTypes,
|
|
69
|
+
const Kt=globalThis,Zt=Kt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,zt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Dt,Mt=`<${At}>`,Bt=document,Pt=()=>Bt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,jt="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,Yt=/>/g,Jt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Xt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),to=Symbol.for("lit-noChange"),oo=Symbol.for("lit-nothing"),eo=new WeakMap,ro=Bt.createTreeWalker(Bt,129);function io(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}const ao=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=Gt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===Gt?"!--"===c[1]?n=Tt:void 0!==c[1]?n=Yt:void 0!==c[2]?(qt.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=Jt):void 0!==c[3]&&(n=Jt):n===Jt?">"===c[0]?(n=i??Gt,l=-1):void 0===c[1]?l=-2:(l=n.lastIndex-c[2].length,s=c[1],n=void 0===c[3]?Jt:'"'===c[3]?Xt:Vt):n===Xt||n===Vt?n=Jt:n===Tt||n===Yt?n=Gt:(n=Jt,i=void 0);const f=n===Jt&&t[o+1].startsWith("/>")?" ":"";a+=n===Gt?e+Mt:l>=0?(r.push(s),e.slice(0,l)+zt+e.slice(l)+Dt+f):e+Dt+(-2===l?o:f)}return[io(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,s=this.parts,[c,l]=ao(t,o);if(this.el=no.createElement(c,e),ro.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ro.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(zt)){const o=l[a++],e=r.getAttribute(t).split(Dt),n=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?po:"?"===n[1]?fo:"@"===n[1]?ho:lo}),r.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Dt),o=t.length-1;if(o>0){r.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Pt()),ro.nextNode(),s.push({type:2,index:++i});r.append(t[o],Pt())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Dt,t+1));)s.push({type:7,index:i}),t+=Dt.length-1}i++}}static createElement(t,o){const e=Bt.createElement("template");return e.innerHTML=t,e}}function so(t,o,e=t,r){if(o===to)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=Ht(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=so(t,i._$AS(t,o.values),i,r)),o}class co{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=oo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=so(this,t,o),Ht(t)?t===oo||null==t||""===t?(this._$AH!==oo&&this._$AR(),this._$AH=oo):t!==this._$AH&&t!==to&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==oo&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(io(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Bt).importNode(o,!0);ro.currentNode=r;let i=ro.nextNode(),a=0,n=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new co(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new yo(i,this,t)),this._$AV.push(o),s=e[++n]}a!==s?.index&&(i=ro.nextNode(),a++)}return ro.currentNode=Bt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=eo.get(t.strings);return void 0===o&&eo.set(t.strings,o=new no(t)),o}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new co(this.k(Pt()),this.k(Pt()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class lo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=oo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=oo}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=so(this,t,o,0),a=!Ht(t)||t!==this._$AH&&t!==to,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=so(this,r[e+n],o,n),s===to&&(s=this._$AH[n]),a||=!Ht(s)||s!==this._$AH[n],s===oo?t=oo:t!==oo&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===oo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class po extends lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oo?void 0:t}}class fo extends lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oo)}}class ho extends lo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=so(this,t,o,0)??oo)===to)return;const e=this._$AH,r=t===oo&&e!==oo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==oo&&(e===oo||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class yo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){so(this,t)}}const go=Kt.litHtmlPolyfillSupport;go?.(no,co),(Kt.litHtmlVersions??=[]).push("3.1.0");
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
72
72
|
* Copyright 2017 Google LLC
|
|
@@ -77,7 +77,11 @@ class uo extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
77
77
|
* @license
|
|
78
78
|
* Copyright 2019 Google LLC
|
|
79
79
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
80
|
-
*/class Ro extends uo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo
|
|
80
|
+
*/class Ro extends uo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Eo,Uo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const ko=Symbol("constructorPrototype"),Io=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class $o extends Ro{constructor(){super(),this[Eo]=new o(5),this[Io]=this.constructor.name,this[ko]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Io]&&Object.setPrototypeOf(this,this[ko])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Wo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const p=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Eo=Wo,Uo([C()],$o.prototype,"exportpartsPrefix",void 0),Uo([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}([])],$o.prototype,"exportpartsPrefixes",void 0),Uo([C()],$o.prototype,"customStylesheet",void 0);const Lo=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");var Ko,Zo;bt`
|
|
81
|
+
.highlight-html-match {
|
|
82
|
+
background: ${Lo};
|
|
83
|
+
}
|
|
84
|
+
`,bt`
|
|
81
85
|
.ft-no-text-select {
|
|
82
86
|
-webkit-touch-callout: none;
|
|
83
87
|
-webkit-user-select: none;
|
|
@@ -109,18 +113,18 @@ class uo extends Lt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
109
113
|
display: inline-block;
|
|
110
114
|
width: 0;
|
|
111
115
|
}
|
|
112
|
-
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(
|
|
116
|
+
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Zo=null===(Ko=window.safari)||void 0===Ko?void 0:Ko.pushNotification)||void 0===Zo||Zo.toString());
|
|
113
117
|
/**
|
|
114
118
|
* @license
|
|
115
119
|
* Copyright 2017 Google LLC
|
|
116
120
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
121
|
*/
|
|
118
|
-
const
|
|
122
|
+
const Fo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
119
123
|
/**
|
|
120
124
|
* @license
|
|
121
125
|
* Copyright 2018 Google LLC
|
|
122
126
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
123
|
-
*/const
|
|
127
|
+
*/const Do=(t=>(...o)=>({_$litDirective$:t,values:o}))(class extends zo{constructor(t){if(super(t),t.type!==Fo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}}),Ao=Oo.extend("--ft-ripple-color","",vo.colorContent),Mo=Ao,Bo=Oo.extend("--ft-ripple-background-color","",Ao),Po=Oo.external(vo.opacityContentOnSurfacePressed,"Design system"),Ho=Oo.external(vo.opacityContentOnSurfaceHover,"Design system"),_o=Oo.external(vo.opacityContentOnSurfaceFocused,"Design system"),jo=Oo.external(vo.opacityContentOnSurfaceSelected,"Design system"),Go=Oo.create("--ft-ripple-border-radius","","SIZE","0px"),To=Oo.extend("--ft-ripple-color","",vo.colorPrimary),Yo=To,Jo=Oo.extend("--ft-ripple-background-color","",To),Vo=Oo.extend("--ft-ripple-color","",vo.colorSecondary),Xo=Vo,qo=Oo.extend("--ft-ripple-background-color","",Vo),Qo=bt`
|
|
124
128
|
:host {
|
|
125
129
|
display: contents;
|
|
126
130
|
}
|
|
@@ -133,7 +137,7 @@ const Zo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
|
|
|
133
137
|
|
|
134
138
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
135
139
|
overflow: hidden;
|
|
136
|
-
border-radius: ${
|
|
140
|
+
border-radius: ${Go};
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
.ft-ripple .ft-ripple--background,
|
|
@@ -167,27 +171,27 @@ const Zo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
|
|
|
167
171
|
}
|
|
168
172
|
|
|
169
173
|
.ft-ripple .ft-ripple--background {
|
|
170
|
-
background-color: ${
|
|
174
|
+
background-color: ${Bo};
|
|
171
175
|
}
|
|
172
176
|
|
|
173
177
|
.ft-ripple .ft-ripple--effect {
|
|
174
|
-
background-color: ${
|
|
178
|
+
background-color: ${Mo};
|
|
175
179
|
}
|
|
176
180
|
|
|
177
181
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
178
|
-
background-color: ${
|
|
182
|
+
background-color: ${qo};
|
|
179
183
|
}
|
|
180
184
|
|
|
181
185
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
182
|
-
background-color: ${
|
|
186
|
+
background-color: ${Xo};
|
|
183
187
|
}
|
|
184
188
|
|
|
185
189
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
186
|
-
background-color: ${
|
|
190
|
+
background-color: ${Jo};
|
|
187
191
|
}
|
|
188
192
|
|
|
189
193
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
190
|
-
background-color: ${
|
|
194
|
+
background-color: ${Yo};
|
|
191
195
|
}
|
|
192
196
|
|
|
193
197
|
.ft-ripple .ft-ripple--background {
|
|
@@ -217,130 +221,130 @@ const Zo=1;let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,
|
|
|
217
221
|
}
|
|
218
222
|
|
|
219
223
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
220
|
-
opacity: ${
|
|
224
|
+
opacity: ${Ho};
|
|
221
225
|
}
|
|
222
226
|
|
|
223
227
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
224
|
-
opacity: ${
|
|
228
|
+
opacity: ${jo};
|
|
225
229
|
}
|
|
226
230
|
|
|
227
231
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
228
|
-
opacity: ${
|
|
232
|
+
opacity: ${_o};
|
|
229
233
|
}
|
|
230
234
|
|
|
231
235
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
232
|
-
opacity: ${
|
|
236
|
+
opacity: ${Po};
|
|
233
237
|
transform: translate(-50%, -50%) scale(1);
|
|
234
238
|
}
|
|
235
|
-
`;var
|
|
239
|
+
`;var te=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class oe extends $o{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Qt`
|
|
236
240
|
<style>
|
|
237
241
|
.ft-ripple .ft-ripple--effect {
|
|
238
242
|
left: ${this.originX}px;
|
|
239
243
|
top: ${this.originY}px;
|
|
240
244
|
}
|
|
241
245
|
</style>
|
|
242
|
-
<div class="${
|
|
246
|
+
<div class="${Do(t)}">
|
|
243
247
|
<div class="ft-ripple--background"></div>
|
|
244
248
|
<div class="ft-ripple--effect"></div>
|
|
245
249
|
</div>
|
|
246
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
250
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}oe.elementDefinitions={},oe.styles=Qo,te([C({type:Boolean})],oe.prototype,"primary",void 0),te([C({type:Boolean})],oe.prototype,"secondary",void 0),te([C({type:Boolean})],oe.prototype,"unbounded",void 0),te([C({type:Boolean})],oe.prototype,"activated",void 0),te([C({type:Boolean})],oe.prototype,"selected",void 0),te([C({type:Boolean})],oe.prototype,"disabled",void 0),te([R()],oe.prototype,"hovered",void 0),te([R()],oe.prototype,"focused",void 0),te([R()],oe.prototype,"pressed",void 0),te([R()],oe.prototype,"rippling",void 0),te([R()],oe.prototype,"originX",void 0),te([R()],oe.prototype,"originY",void 0),te([U(".ft-ripple")],oe.prototype,"ripple",void 0),te([U(".ft-ripple--effect")],oe.prototype,"rippleEffect",void 0),I("ft-ripple")(oe);
|
|
247
251
|
/**
|
|
248
252
|
* @license
|
|
249
253
|
* Copyright 2020 Google LLC
|
|
250
254
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
251
255
|
*/
|
|
252
|
-
const
|
|
256
|
+
const ee=Symbol.for(""),re=t=>{if(t?.r===ee)return t?._$litStatic$},ie=t=>({_$litStatic$:t,r:ee}),ae=new Map,ne=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],s=[];let c,l=0,p=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(a=e[l],i=re(a));)c+=i+o[++l],p=!0;l!==r&&s.push(a),n.push(c),l++}if(l===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=ae.get(t))&&(n.raw=n,ae.set(t,o=n)),e=s}return t(o,...e)})(V);var se;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(se||(se={}));const ce=Oo.extend("--ft-typography-font-family","",vo.titleFont),le=Oo.extend("--ft-typography-font-family","",vo.contentFont),pe={fontFamily:le,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fe=Oo.extend("--ft-typography-title-font-family","",ce),he=Oo.extend("--ft-typography-title-font-size","",pe.fontSize,"20px"),de=Oo.extend("--ft-typography-title-font-weight","",pe.fontWeight,"normal"),ye=Oo.extend("--ft-typography-title-letter-spacing","",pe.letterSpacing,"0.15px"),ge=Oo.extend("--ft-typography-title-line-height","",pe.lineHeight,"1.2"),ue=Oo.extend("--ft-typography-title-text-transform","",pe.textTransform,"inherit"),be=Oo.extend("--ft-typography-title-dense-font-family","",ce),me=Oo.extend("--ft-typography-title-dense-font-size","",pe.fontSize,"14px"),Oe=Oo.extend("--ft-typography-title-dense-font-weight","",pe.fontWeight,"normal"),Ne=Oo.extend("--ft-typography-title-dense-letter-spacing","",pe.letterSpacing,"0.105px"),Se=Oo.extend("--ft-typography-title-dense-line-height","",pe.lineHeight,"1.7"),xe=Oo.extend("--ft-typography-title-dense-text-transform","",pe.textTransform,"inherit"),ve=Oo.extend("--ft-typography-subtitle1-font-family","",le),we=Oo.extend("--ft-typography-subtitle1-font-size","",pe.fontSize,"16px"),Ce=Oo.extend("--ft-typography-subtitle1-font-weight","",pe.fontWeight,"600"),Re=Oo.extend("--ft-typography-subtitle1-letter-spacing","",pe.letterSpacing,"0.144px"),Ee=Oo.extend("--ft-typography-subtitle1-line-height","",pe.lineHeight,"1.5"),Ue=Oo.extend("--ft-typography-subtitle1-text-transform","",pe.textTransform,"inherit"),ke=Oo.extend("--ft-typography-subtitle2-font-family","",le),Ie=Oo.extend("--ft-typography-subtitle2-font-size","",pe.fontSize,"14px"),We=Oo.extend("--ft-typography-subtitle2-font-weight","",pe.fontWeight,"normal"),$e=Oo.extend("--ft-typography-subtitle2-letter-spacing","",pe.letterSpacing,"0.098px"),Le=Oo.extend("--ft-typography-subtitle2-line-height","",pe.lineHeight,"1.7"),Ke=Oo.extend("--ft-typography-subtitle2-text-transform","",pe.textTransform,"inherit"),Ze=Oo.extend("--ft-typography-body1-font-family","",le),Fe=Oo.extend("--ft-typography-body1-font-size","",pe.fontSize,"16px"),ze=Oo.extend("--ft-typography-body1-font-weight","",pe.fontWeight,"normal"),De=Oo.extend("--ft-typography-body1-letter-spacing","",pe.letterSpacing,"0.496px"),Ae=Oo.extend("--ft-typography-body1-line-height","",pe.lineHeight,"1.5"),Me=Oo.extend("--ft-typography-body1-text-transform","",pe.textTransform,"inherit"),Be=Oo.extend("--ft-typography-body2-font-family","",le),Pe=Oo.extend("--ft-typography-body2-font-size","",pe.fontSize,"14px"),He=Oo.extend("--ft-typography-body2-font-weight","",pe.fontWeight,"normal"),_e=Oo.extend("--ft-typography-body2-letter-spacing","",pe.letterSpacing,"0.252px"),je=Oo.extend("--ft-typography-body2-line-height","",pe.lineHeight,"1.4"),Ge=Oo.extend("--ft-typography-body2-text-transform","",pe.textTransform,"inherit"),Te=Oo.extend("--ft-typography-caption-font-family","",le),Ye=Oo.extend("--ft-typography-caption-font-size","",pe.fontSize,"12px"),Je=Oo.extend("--ft-typography-caption-font-weight","",pe.fontWeight,"normal"),Ve=Oo.extend("--ft-typography-caption-letter-spacing","",pe.letterSpacing,"0.396px"),Xe=Oo.extend("--ft-typography-caption-line-height","",pe.lineHeight,"1.33"),qe=Oo.extend("--ft-typography-caption-text-transform","",pe.textTransform,"inherit"),Qe=Oo.extend("--ft-typography-breadcrumb-font-family","",le),tr=Oo.extend("--ft-typography-breadcrumb-font-size","",pe.fontSize,"10px"),or=Oo.extend("--ft-typography-breadcrumb-font-weight","",pe.fontWeight,"normal"),er=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",pe.letterSpacing,"0.33px"),rr=Oo.extend("--ft-typography-breadcrumb-line-height","",pe.lineHeight,"1.6"),ir=Oo.extend("--ft-typography-breadcrumb-text-transform","",pe.textTransform,"inherit"),ar=Oo.extend("--ft-typography-overline-font-family","",le),nr=Oo.extend("--ft-typography-overline-font-size","",pe.fontSize,"10px"),sr=Oo.extend("--ft-typography-overline-font-weight","",pe.fontWeight,"normal"),cr=Oo.extend("--ft-typography-overline-letter-spacing","",pe.letterSpacing,"1.5px"),lr=Oo.extend("--ft-typography-overline-line-height","",pe.lineHeight,"1.6"),pr=Oo.extend("--ft-typography-overline-text-transform","",pe.textTransform,"uppercase"),fr=Oo.extend("--ft-typography-button-font-family","",le),hr=Oo.extend("--ft-typography-button-font-size","",pe.fontSize,"14px"),dr=Oo.extend("--ft-typography-button-font-weight","",pe.fontWeight,"600"),yr=Oo.extend("--ft-typography-button-letter-spacing","",pe.letterSpacing,"1.246px"),gr=Oo.extend("--ft-typography-button-line-height","",pe.lineHeight,"1.15"),ur=Oo.extend("--ft-typography-button-text-transform","",pe.textTransform,"uppercase"),br=bt`
|
|
253
257
|
.ft-typography--title {
|
|
254
|
-
font-family: ${
|
|
255
|
-
font-size: ${
|
|
256
|
-
font-weight: ${
|
|
257
|
-
letter-spacing: ${
|
|
258
|
-
line-height: ${
|
|
259
|
-
text-transform: ${
|
|
260
|
-
}
|
|
261
|
-
`,br=bt`
|
|
262
|
-
.ft-typography--title-dense {
|
|
263
|
-
font-family: ${ue};
|
|
264
|
-
font-size: ${be};
|
|
265
|
-
font-weight: ${me};
|
|
266
|
-
letter-spacing: ${Oe};
|
|
267
|
-
line-height: ${Ne};
|
|
268
|
-
text-transform: ${Se};
|
|
258
|
+
font-family: ${fe};
|
|
259
|
+
font-size: ${he};
|
|
260
|
+
font-weight: ${de};
|
|
261
|
+
letter-spacing: ${ye};
|
|
262
|
+
line-height: ${ge};
|
|
263
|
+
text-transform: ${ue};
|
|
269
264
|
}
|
|
270
265
|
`,mr=bt`
|
|
266
|
+
.ft-typography--title-dense {
|
|
267
|
+
font-family: ${be};
|
|
268
|
+
font-size: ${me};
|
|
269
|
+
font-weight: ${Oe};
|
|
270
|
+
letter-spacing: ${Ne};
|
|
271
|
+
line-height: ${Se};
|
|
272
|
+
text-transform: ${xe};
|
|
273
|
+
}
|
|
274
|
+
`,Or=bt`
|
|
271
275
|
.ft-typography--subtitle1 {
|
|
272
|
-
font-family: ${
|
|
273
|
-
font-size: ${
|
|
274
|
-
font-weight: ${
|
|
275
|
-
letter-spacing: ${
|
|
276
|
-
line-height: ${
|
|
276
|
+
font-family: ${ve};
|
|
277
|
+
font-size: ${we};
|
|
278
|
+
font-weight: ${Ce};
|
|
279
|
+
letter-spacing: ${Re};
|
|
280
|
+
line-height: ${Ee};
|
|
277
281
|
text-transform: ${Ue};
|
|
278
282
|
}
|
|
279
|
-
`,
|
|
283
|
+
`,Nr=bt`
|
|
280
284
|
.ft-typography--subtitle2 {
|
|
281
|
-
font-family: ${
|
|
282
|
-
font-size: ${
|
|
283
|
-
font-weight: ${
|
|
284
|
-
letter-spacing: ${
|
|
285
|
-
line-height: ${
|
|
286
|
-
text-transform: ${
|
|
285
|
+
font-family: ${ke};
|
|
286
|
+
font-size: ${Ie};
|
|
287
|
+
font-weight: ${We};
|
|
288
|
+
letter-spacing: ${$e};
|
|
289
|
+
line-height: ${Le};
|
|
290
|
+
text-transform: ${Ke};
|
|
287
291
|
}
|
|
288
292
|
|
|
289
|
-
`,
|
|
293
|
+
`,Sr=bt`
|
|
290
294
|
.ft-typography--body1 {
|
|
291
|
-
font-family: ${
|
|
292
|
-
font-size: ${
|
|
295
|
+
font-family: ${Ze};
|
|
296
|
+
font-size: ${Fe};
|
|
293
297
|
font-weight: ${ze};
|
|
294
|
-
letter-spacing: ${
|
|
295
|
-
line-height: ${
|
|
296
|
-
text-transform: ${
|
|
297
|
-
}
|
|
298
|
-
`,Sr=bt`
|
|
299
|
-
.ft-typography--body2 {
|
|
300
|
-
font-family: ${Me};
|
|
301
|
-
font-size: ${Be};
|
|
302
|
-
font-weight: ${Pe};
|
|
303
|
-
letter-spacing: ${He};
|
|
304
|
-
line-height: ${_e};
|
|
305
|
-
text-transform: ${je};
|
|
298
|
+
letter-spacing: ${De};
|
|
299
|
+
line-height: ${Ae};
|
|
300
|
+
text-transform: ${Me};
|
|
306
301
|
}
|
|
307
302
|
`,xr=bt`
|
|
308
|
-
.ft-typography--
|
|
309
|
-
font-family: ${
|
|
310
|
-
font-size: ${
|
|
311
|
-
font-weight: ${
|
|
312
|
-
letter-spacing: ${
|
|
313
|
-
line-height: ${
|
|
314
|
-
text-transform: ${
|
|
303
|
+
.ft-typography--body2 {
|
|
304
|
+
font-family: ${Be};
|
|
305
|
+
font-size: ${Pe};
|
|
306
|
+
font-weight: ${He};
|
|
307
|
+
letter-spacing: ${_e};
|
|
308
|
+
line-height: ${je};
|
|
309
|
+
text-transform: ${Ge};
|
|
315
310
|
}
|
|
316
311
|
`,vr=bt`
|
|
317
|
-
.ft-typography--
|
|
318
|
-
font-family: ${
|
|
319
|
-
font-size: ${
|
|
320
|
-
font-weight: ${
|
|
321
|
-
letter-spacing: ${
|
|
322
|
-
line-height: ${
|
|
323
|
-
text-transform: ${
|
|
312
|
+
.ft-typography--caption {
|
|
313
|
+
font-family: ${Te};
|
|
314
|
+
font-size: ${Ye};
|
|
315
|
+
font-weight: ${Je};
|
|
316
|
+
letter-spacing: ${Ve};
|
|
317
|
+
line-height: ${Xe};
|
|
318
|
+
text-transform: ${qe};
|
|
324
319
|
}
|
|
325
320
|
`,wr=bt`
|
|
326
|
-
.ft-typography--
|
|
327
|
-
font-family: ${
|
|
328
|
-
font-size: ${
|
|
329
|
-
font-weight: ${
|
|
330
|
-
letter-spacing: ${
|
|
331
|
-
line-height: ${
|
|
332
|
-
text-transform: ${
|
|
321
|
+
.ft-typography--breadcrumb {
|
|
322
|
+
font-family: ${Qe};
|
|
323
|
+
font-size: ${tr};
|
|
324
|
+
font-weight: ${or};
|
|
325
|
+
letter-spacing: ${er};
|
|
326
|
+
line-height: ${rr};
|
|
327
|
+
text-transform: ${ir};
|
|
333
328
|
}
|
|
334
329
|
`,Cr=bt`
|
|
335
|
-
.ft-typography--
|
|
336
|
-
font-family: ${
|
|
337
|
-
font-size: ${
|
|
338
|
-
font-weight: ${
|
|
339
|
-
letter-spacing: ${
|
|
340
|
-
line-height: ${
|
|
341
|
-
text-transform: ${
|
|
330
|
+
.ft-typography--overline {
|
|
331
|
+
font-family: ${ar};
|
|
332
|
+
font-size: ${nr};
|
|
333
|
+
font-weight: ${sr};
|
|
334
|
+
letter-spacing: ${cr};
|
|
335
|
+
line-height: ${lr};
|
|
336
|
+
text-transform: ${pr};
|
|
342
337
|
}
|
|
343
338
|
`,Rr=bt`
|
|
339
|
+
.ft-typography--button {
|
|
340
|
+
font-family: ${fr};
|
|
341
|
+
font-size: ${hr};
|
|
342
|
+
font-weight: ${dr};
|
|
343
|
+
letter-spacing: ${yr};
|
|
344
|
+
line-height: ${gr};
|
|
345
|
+
text-transform: ${ur};
|
|
346
|
+
}
|
|
347
|
+
`,Er=bt`
|
|
344
348
|
.ft-typography {
|
|
345
349
|
vertical-align: inherit;
|
|
346
350
|
}
|
|
@@ -353,21 +357,21 @@ const oe=Symbol.for(""),ee=t=>{if(t?.r===oe)return t?._$litStatic$},re=t=>({_$li
|
|
|
353
357
|
line-height: ${o.lineHeight};
|
|
354
358
|
text-transform: ${o.textCase};
|
|
355
359
|
}
|
|
356
|
-
`}(t)))];var
|
|
357
|
-
<${
|
|
360
|
+
`}(t)))];var kr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ir extends $o{constructor(){super(...arguments),this.variant=se.body1}render(){return this.element?ne`
|
|
361
|
+
<${ie(this.element)}
|
|
358
362
|
class="ft-typography ft-typography--${this.variant}">
|
|
359
363
|
<slot></slot>
|
|
360
|
-
</${
|
|
361
|
-
`:
|
|
364
|
+
</${ie(this.element)}>
|
|
365
|
+
`:ne`
|
|
362
366
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
363
|
-
`}}
|
|
367
|
+
`}}Ir.styles=[br,mr,Or,Nr,Sr,xr,vr,wr,Cr,Rr,Er,...Ur],kr([C()],Ir.prototype,"element",void 0),kr([C()],Ir.prototype,"variant",void 0),I("ft-typography")(Ir);const Wr={textColor:Oo.extend("--ft-checkbox-text-color","",vo.colorOnSurfaceHigh),colorPrimary:Oo.external(vo.colorPrimary,"Design system"),colorOnPrimary:Oo.external(vo.colorOnPrimary,"Design system"),borderColor:Oo.extend("--ft-checkbox-border-color","",vo.colorOnSurfaceMedium),colorOnSurfaceDisabled:Oo.external(vo.colorOnSurfaceDisabled,"Design system")},$r=bt`
|
|
364
368
|
* {
|
|
365
369
|
box-sizing: border-box;
|
|
366
370
|
}
|
|
367
371
|
|
|
368
372
|
.ft-checkbox {
|
|
369
373
|
box-sizing: border-box;
|
|
370
|
-
color: ${
|
|
374
|
+
color: ${Wr.textColor};
|
|
371
375
|
|
|
372
376
|
display: inline-flex;
|
|
373
377
|
align-items: center;
|
|
@@ -375,7 +379,7 @@ const oe=Symbol.for(""),ee=t=>{if(t?.r===oe)return t?._$litStatic$},re=t=>({_$li
|
|
|
375
379
|
}
|
|
376
380
|
|
|
377
381
|
.ft-checkbox--disabled {
|
|
378
|
-
color: ${
|
|
382
|
+
color: ${Wr.colorOnSurfaceDisabled};
|
|
379
383
|
}
|
|
380
384
|
|
|
381
385
|
input {
|
|
@@ -399,26 +403,26 @@ const oe=Symbol.for(""),ee=t=>{if(t?.r===oe)return t?._$litStatic$},re=t=>({_$li
|
|
|
399
403
|
|
|
400
404
|
.ft-checkbox--box {
|
|
401
405
|
display: flex;
|
|
402
|
-
border: 2px solid ${
|
|
406
|
+
border: 2px solid ${Wr.borderColor};
|
|
403
407
|
border-radius: 2px;
|
|
404
408
|
|
|
405
409
|
width: 18px;
|
|
406
410
|
height: 18px;
|
|
407
411
|
|
|
408
|
-
color: ${
|
|
412
|
+
color: ${Wr.colorOnPrimary};
|
|
409
413
|
}
|
|
410
414
|
|
|
411
415
|
|
|
412
416
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
413
417
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
414
|
-
border-color: ${
|
|
415
|
-
background-color: ${
|
|
418
|
+
border-color: ${Wr.colorPrimary};
|
|
419
|
+
background-color: ${Wr.colorPrimary};
|
|
416
420
|
}
|
|
417
421
|
|
|
418
422
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
419
|
-
border-color: ${
|
|
423
|
+
border-color: ${Wr.colorOnSurfaceDisabled};
|
|
420
424
|
background-color: transparent;
|
|
421
|
-
color: ${
|
|
425
|
+
color: ${Wr.colorOnSurfaceDisabled};
|
|
422
426
|
}
|
|
423
427
|
|
|
424
428
|
.ft-checkbox--checkmark {
|
|
@@ -437,8 +441,8 @@ const oe=Symbol.for(""),ee=t=>{if(t?.r===oe)return t?._$litStatic$},re=t=>({_$li
|
|
|
437
441
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
438
442
|
opacity: 1;
|
|
439
443
|
}
|
|
440
|
-
`;var
|
|
441
|
-
<label class="${
|
|
444
|
+
`;var Lr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Kr extends $o{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Qt`
|
|
445
|
+
<label class="${Do(t)}" for="checkbox-input">
|
|
442
446
|
<div class="ft-checkbox--box-container">
|
|
443
447
|
<ft-ripple
|
|
444
448
|
?disabled=${this.disabled}
|
|
@@ -463,4 +467,4 @@ const oe=Symbol.for(""),ee=t=>{if(t?.r===oe)return t?._$litStatic$},re=t=>({_$li
|
|
|
463
467
|
<slot></slot>
|
|
464
468
|
</ft-typography>
|
|
465
469
|
</label>
|
|
466
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}
|
|
470
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}Kr.elementDefinitions={"ft-ripple":oe,"ft-typography":Ir},Kr.styles=$r,Lr([C()],Kr.prototype,"name",void 0),Lr([C({type:Boolean,reflect:!0})],Kr.prototype,"checked",void 0),Lr([C({type:Boolean})],Kr.prototype,"indeterminate",void 0),Lr([C({type:Boolean})],Kr.prototype,"disabled",void 0),Lr([U(".ft-checkbox")],Kr.prototype,"container",void 0),Lr([U("ft-ripple")],Kr.prototype,"ripple",void 0),I("ft-checkbox")(Kr),t.FtCheckbox=Kr,t.FtCheckboxCssVariables=Wr,t.styles=$r}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-checkbox",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "A checkbox component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
23
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-ripple": "1.1.2",
|
|
23
|
+
"@fluid-topics/ft-typography": "1.1.2",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.1.2",
|
|
25
25
|
"lit": "3.1.0"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "53ce99f657872582bca43cbb7ad691b239b22823"
|
|
28
28
|
}
|