@florid-kit/components 0.4.32 → 0.4.34
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/index.js +29 -25
- package/index.mjs +108 -103
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/const X=globalThis,dt=X.ShadowRoot&&(X.ShadyCSS===void 0||X.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),
|
|
5
|
+
*/const X=globalThis,dt=X.ShadowRoot&&(X.ShadyCSS===void 0||X.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),ft=new WeakMap;let St=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(dt&&t===void 0){const i=e!==void 0&&e.length===1;i&&(t=ft.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&ft.set(e,t))}return t}toString(){return this.cssText}};const zt=n=>new St(typeof n=="string"?n:n+"",void 0,pt),$=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((i,o,r)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+n[r+1],n[0]);return new St(e,n,pt)},Ot=(n,t)=>{if(dt)n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),o=X.litNonce;o!==void 0&&i.setAttribute("nonce",o),i.textContent=e.cssText,n.appendChild(i)}},bt=dt?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return zt(e)})(n):n;/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const{is:Ht,defineProperty:Mt,getOwnPropertyDescriptor:Tt,getOwnPropertyNames:Dt,getOwnPropertySymbols:Ut,getPrototypeOf:Nt}=Object,
|
|
9
|
+
*/const{is:Ht,defineProperty:Mt,getOwnPropertyDescriptor:Tt,getOwnPropertyNames:Dt,getOwnPropertySymbols:Ut,getPrototypeOf:Nt}=Object,S=globalThis,yt=S.trustedTypes,jt=yt?yt.emptyScript:"",it=S.reactiveElementPolyfillSupport,V=(n,t)=>n,J={toAttribute(n,t){switch(t){case Boolean:n=n?jt:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},ut=(n,t)=>!Ht(n,t),mt={attribute:!0,type:String,converter:J,reflect:!1,useDefault:!1,hasChanged:ut};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),S.litPropertyMetadata??(S.litPropertyMetadata=new WeakMap);let T=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=mt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);o!==void 0&&Mt(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=Tt(this.prototype,t)??{get(){return this[e]},set(s){this[e]=s}};return{get:o,set(s){const c=o==null?void 0:o.call(this);r==null||r.call(this,s),this.requestUpdate(t,c,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??mt}static _$Ei(){if(this.hasOwnProperty(V("elementProperties")))return;const t=Nt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(V("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(V("properties"))){const e=this.properties,i=[...Dt(e),...Ut(e)];for(const o of i)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,o]of e)this.elementProperties.set(i,o)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const o=this._$Eu(e,i);o!==void 0&&this._$Eh.set(o,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const o of i)e.unshift(bt(o))}else t!==void 0&&e.push(bt(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ot(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){var r;const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(o!==void 0&&i.reflect===!0){const s=(((r=i.converter)==null?void 0:r.toAttribute)!==void 0?i.converter:J).toAttribute(e,i.type);this._$Em=t,s==null?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){var r,s;const i=this.constructor,o=i._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const c=i.getPropertyOptions(o),l=typeof c.converter=="function"?{fromAttribute:c.converter}:((r=c.converter)==null?void 0:r.fromAttribute)!==void 0?c.converter:J;this._$Em=o,this[o]=l.fromAttribute(e,c.type)??((s=this._$Ej)==null?void 0:s.get(o))??null,this._$Em=null}}requestUpdate(t,e,i){var o;if(t!==void 0){const r=this.constructor,s=this[t];if(i??(i=r.getPropertyOptions(t)),!((i.hasChanged??ut)(s,e)||i.useDefault&&i.reflect&&s===((o=this._$Ej)==null?void 0:o.get(t))&&!this.hasAttribute(r._$Eu(t,i))))return;this.C(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:o,wrapped:r},s){i&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),r!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),o===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[r,s]of o){const{wrapped:c}=s,l=this[r];c!==!0||this._$AL.has(r)||l===void 0||this.C(r,void 0,s,l)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach(o=>{var r;return(r=o.hostUpdate)==null?void 0:r.call(o)}),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var o;return(o=i.hostUpdated)==null?void 0:o.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};T.elementStyles=[],T.shadowRootOptions={mode:"open"},T[V("elementProperties")]=new Map,T[V("finalized")]=new Map,it==null||it({ReactiveElement:T}),(S.reactiveElementVersions??(S.reactiveElementVersions=[])).push("2.1.0");/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const
|
|
13
|
+
*/const F=globalThis,Y=F.trustedTypes,wt=Y?Y.createPolicy("lit-html",{createHTML:n=>n}):void 0,Lt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,kt="?"+E,Vt=`<${kt}>`,z=document,R=()=>z.createComment(""),Z=n=>n===null||typeof n!="object"&&typeof n!="function",gt=Array.isArray,Ft=n=>gt(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",st=`[
|
|
14
14
|
\f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$t=/-->/g,xt=/>/g,P=RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),_t=/'/g,Ct=/"/g,Pt=/^(?:script|style|textarea|title)$/i,
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),_t=/'/g,Ct=/"/g,Pt=/^(?:script|style|textarea|title)$/i,Rt=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),h=Rt(1),O=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),At=new WeakMap,B=z.createTreeWalker(z,129);function Bt(n,t){if(!gt(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return wt!==void 0?wt.createHTML(t):t}const Zt=(n,t)=>{const e=n.length-1,i=[];let o,r=t===2?"<svg>":t===3?"<math>":"",s=j;for(let c=0;c<e;c++){const l=n[c];let g,f,p=-1,x=0;for(;x<l.length&&(s.lastIndex=x,f=s.exec(l),f!==null);)x=s.lastIndex,s===j?f[1]==="!--"?s=$t:f[1]!==void 0?s=xt:f[2]!==void 0?(Pt.test(f[2])&&(o=RegExp("</"+f[2],"g")),s=P):f[3]!==void 0&&(s=P):s===P?f[0]===">"?(s=o??j,p=-1):f[1]===void 0?p=-2:(p=s.lastIndex-f[2].length,g=f[1],s=f[3]===void 0?P:f[3]==='"'?Ct:_t):s===Ct||s===_t?s=P:s===$t||s===xt?s=j:(s=P,o=void 0);const A=s===P&&n[c+1].startsWith("/>")?" ":"";r+=s===j?l+Vt:p>=0?(i.push(g),l.slice(0,p)+Lt+l.slice(p)+E+A):l+E+(p===-2?c:A)}return[Bt(n,r+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class q{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const c=t.length-1,l=this.parts,[g,f]=Zt(t,e);if(this.el=q.createElement(g,i),B.currentNode=this.el.content,e===2||e===3){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=B.nextNode())!==null&&l.length<c;){if(o.nodeType===1){if(o.hasAttributes())for(const p of o.getAttributeNames())if(p.endsWith(Lt)){const x=f[s++],A=o.getAttribute(p).split(E),K=/([.?@])?(.*)/.exec(x);l.push({type:1,index:r,name:K[2],strings:A,ctor:K[1]==="."?Wt:K[1]==="?"?Gt:K[1]==="@"?Kt:tt}),o.removeAttribute(p)}else p.startsWith(E)&&(l.push({type:6,index:r}),o.removeAttribute(p));if(Pt.test(o.tagName)){const p=o.textContent.split(E),x=p.length-1;if(x>0){o.textContent=Y?Y.emptyScript:"";for(let A=0;A<x;A++)o.append(p[A],R()),B.nextNode(),l.push({type:2,index:++r});o.append(p[x],R())}}}else if(o.nodeType===8)if(o.data===kt)l.push({type:2,index:r});else{let p=-1;for(;(p=o.data.indexOf(E,p+1))!==-1;)l.push({type:7,index:r}),p+=E.length-1}r++}}static createElement(t,e){const i=z.createElement("template");return i.innerHTML=t,i}}function D(n,t,e=n,i){var s,c;if(t===O)return t;let o=i!==void 0?(s=e._$Co)==null?void 0:s[i]:e._$Cl;const r=Z(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==r&&((c=o==null?void 0:o._$AO)==null||c.call(o,!1),r===void 0?o=void 0:(o=new r(n),o._$AT(n,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=o:e._$Cl=o),o!==void 0&&(t=D(n,o._$AS(n,t.values),o,i)),t}class qt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=((t==null?void 0:t.creationScope)??z).importNode(e,!0);B.currentNode=o;let r=B.nextNode(),s=0,c=0,l=i[0];for(;l!==void 0;){if(s===l.index){let g;l.type===2?g=new G(r,r.nextSibling,this,t):l.type===1?g=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(g=new Xt(r,this,t)),this._$AV.push(g),l=i[++c]}s!==(l==null?void 0:l.index)&&(r=B.nextNode(),s++)}return B.currentNode=z,o}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class G{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=D(this,t,e),Z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==O&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.T(z.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=q.createElement(Bt(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===o)this._$AH.p(e);else{const s=new qt(o,this),c=s.u(this.options);s.p(e),this.T(c),this._$AH=s}}_$AC(t){let e=At.get(t.strings);return e===void 0&&At.set(t.strings,e=new q(t)),e}k(t){gt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new G(this.O(R()),this.O(R()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class tt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=d}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(r===void 0)t=D(this,t,e,0),s=!Z(t)||t!==this._$AH&&t!==O,s&&(this._$AH=t);else{const c=t;let l,g;for(t=r[0],l=0;l<r.length-1;l++)g=D(this,c[i+l],e,l),g===O&&(g=this._$AH[l]),s||(s=!Z(g)||g!==this._$AH[l]),g===d?t=d:t!==d&&(t+=(g??"")+r[l+1]),this._$AH[l]=g}s&&!o&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Wt extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class Gt extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Kt extends tt{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=D(this,t,e,0)??d)===O)return;const i=this._$AH,o=t===d&&i!==d||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==d&&(i===d||o);o&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Xt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}const rt=F.litHtmlPolyfillSupport;rt==null||rt(q,G),(F.litHtmlVersions??(F.litHtmlVersions=[])).push("3.3.0");const Jt=(n,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let o=i._$litPart$;if(o===void 0){const r=(e==null?void 0:e.renderBefore)??null;i._$litPart$=o=new G(t.insertBefore(R(),r),r,void 0,e??{})}return o._$AI(n),o};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/const
|
|
19
|
+
*/const I=globalThis;let m=class extends T{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Jt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return O}};var Et;m._$litElement$=!0,m.finalized=!0,(Et=I.litElementHydrateSupport)==null||Et.call(I,{LitElement:m});const at=I.litElementPolyfillSupport;at==null||at({LitElement:m});(I.litElementVersions??(I.litElementVersions=[])).push("4.2.0");/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2023 Google LLC
|
|
42
42
|
* SPDX-License-Identifier: Apache-2.0
|
|
43
|
-
*/const
|
|
43
|
+
*/const vt=Symbol("internals"),lt=Symbol("privateInternals");function ne(n){var t;class e extends n{get[(t=vt,t)](){return this[lt]||(this[lt]=this.attachInternals()),this[lt]}}return e}/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2023 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: Apache-2.0
|
|
47
|
-
*/function oe(n){n.addInitializer(t=>{const e=t;e.addEventListener("click",async i=>{const{type:o,[
|
|
47
|
+
*/function oe(n){n.addInitializer(t=>{const e=t;e.addEventListener("click",async i=>{const{type:o,[vt]:r}=e,{form:s}=r;if(!(!s||o==="button")&&(await new Promise(c=>{setTimeout(c)}),!i.defaultPrevented)){if(o==="reset"){s.reset();return}s.addEventListener("submit",c=>{Object.defineProperty(c,"submitter",{configurable:!0,enumerable:!0,get:()=>e})},{capture:!0,once:!0}),r.setFormValue(e.value),s.requestSubmit()}})})}const ie=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
48
48
|
<path d="M8 3.6275C7.06799 0.971489 3.25399 -0.0226278 1.67414 2.30983C0.0877404 4.65197 1.67414 6.99412 2.62598 8.33249C3.0147 8.87905 8 14 8 14C8 14 12.9853 8.87905 13.374 8.33249C14.3259 6.99412 15.9123 4.65197 14.3259 2.30983C12.746 -0.0226277 8.97167 0.971489 8 3.6275Z" stroke="#3F2B2E" stroke-linecap="round"/>
|
|
49
49
|
</svg>
|
|
50
50
|
`,se=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
`,ge=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
79
79
|
<path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
|
|
80
80
|
</svg>
|
|
81
|
-
`,
|
|
81
|
+
`,ve=`<?xml version="1.0" encoding="utf-8"?>
|
|
82
82
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
83
83
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
84
84
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
<path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
|
|
89
89
|
s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
|
|
90
90
|
</svg>
|
|
91
|
-
`,
|
|
91
|
+
`,fe=`<?xml version="1.0" encoding="utf-8"?>
|
|
92
92
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
93
93
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
94
94
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -100,25 +100,28 @@
|
|
|
100
100
|
`,be=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
101
101
|
<path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
|
|
102
102
|
</svg>
|
|
103
|
-
`,ye=`<svg width="
|
|
103
|
+
`,ye=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
104
|
+
<path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
|
|
105
|
+
</svg>
|
|
106
|
+
`,me=`<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
104
107
|
<path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
|
|
105
108
|
</svg>
|
|
106
|
-
`,
|
|
109
|
+
`,we=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
107
110
|
<path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
|
|
108
111
|
</svg>
|
|
109
|
-
`,et={wishlist:ie,playerv:se,chevronRight:re,chevronLeft:ae,icoPlus:
|
|
112
|
+
`,et={wishlist:ie,playerv:se,chevronRight:re,chevronLeft:ae,icoPlus:ve,icoMinus:fe,"star-0":le,"star-25":ce,"star-50":he,"star-75":de,"star-100":pe,cross:ue,search:ge,arrowLeft:be,arrowTop:ye,cart:me,notifyme:we};/**
|
|
110
113
|
* @license
|
|
111
114
|
* Copyright 2017 Google LLC
|
|
112
115
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
113
|
-
*/const
|
|
116
|
+
*/const $e={CHILD:2},xe=n=>(...t)=>({_$litDirective$:n,values:t});class _e{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)}}/**
|
|
114
117
|
* @license
|
|
115
118
|
* Copyright 2017 Google LLC
|
|
116
119
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
|
-
*/class ct extends
|
|
120
|
+
*/class ct extends _e{constructor(t){if(super(t),this.it=d,t.type!==$e.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===d||t==null)return this._t=void 0,this.it=t;if(t===O)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ct.directiveName="unsafeHTML",ct.resultType=1;/**
|
|
118
121
|
* @license
|
|
119
122
|
* Copyright 2017 Google LLC
|
|
120
123
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
121
|
-
*/class ht extends ct{}ht.directiveName="unsafeSVG",ht.resultType=2;const W
|
|
124
|
+
*/class ht extends ct{}ht.directiveName="unsafeSVG",ht.resultType=2;const W=xe(ht);var Ce=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,y=(n,t,e,i)=>{for(var o=i>1?void 0:i?Ae(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&Ce(t,e,o),o};const Ee=ne(m);let u=class extends Ee{constructor(){super(...arguments),this.type="submit",this.value="",this.variant="primary",this.text="",this.textsecond="",this.fullwidth=!1,this.disabled=!1,this.startIconModel="search",this.endIconModel="chevronRight",this.startIcon=!1,this.endIcon=!1,this.panelTarget="",this.href="",this.target=""}get name(){return this.getAttribute("name")??""}set name(n){this.setAttribute("name",n)}get form(){return this[vt].form}handleClick(){if(this.panelTarget){const n=document.getElementById(this.panelTarget);n!=null&&n.openPanel&&typeof n.openPanel=="function"?n.openPanel():console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`)}}render(){return this.href?this.renderLink():this.renderButton()}renderIcon(n){const t=n==="start"?this.startIconModel:this.endIconModel;if(!t)return d;const e=et[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return h`<span class="${n==="start"?"icon-start":"icon-end"}">${W(e)}</span>`}renderButton(){const n=this.text||this.textsecond;return h`
|
|
122
125
|
<button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick}>
|
|
123
126
|
${this.startIcon?this.renderIcon("start"):d}
|
|
124
127
|
${n?h`
|
|
@@ -298,7 +301,7 @@
|
|
|
298
301
|
transform: translateX(4px);
|
|
299
302
|
}
|
|
300
303
|
//End icon movment on hover
|
|
301
|
-
`;y([a()],u.prototype,"type",2);y([a({reflect:!0})],u.prototype,"value",2);y([a({type:String,reflect:!0})],u.prototype,"variant",2);y([a({type:String})],u.prototype,"text",2);y([a({type:String})],u.prototype,"textsecond",2);y([a({type:Boolean,reflect:!0})],u.prototype,"fullwidth",2);y([a({type:Boolean,reflect:!0})],u.prototype,"disabled",2);y([a({type:String,reflect:!0})],u.prototype,"startIconModel",2);y([a({type:String,reflect:!0})],u.prototype,"endIconModel",2);y([a({type:Boolean,reflect:!0,attribute:"starticon"})],u.prototype,"startIcon",2);y([a({type:Boolean,reflect:!0,attribute:"endicon"})],u.prototype,"endIcon",2);y([a({type:String,attribute:"paneltarget",reflect:!0})],u.prototype,"panelTarget",2);y([a({type:String})],u.prototype,"href",2);y([a({type:String})],u.prototype,"target",2);u=y([L("o-button")],u);var Se=Object.defineProperty,
|
|
304
|
+
`;y([a()],u.prototype,"type",2);y([a({reflect:!0})],u.prototype,"value",2);y([a({type:String,reflect:!0})],u.prototype,"variant",2);y([a({type:String})],u.prototype,"text",2);y([a({type:String})],u.prototype,"textsecond",2);y([a({type:Boolean,reflect:!0})],u.prototype,"fullwidth",2);y([a({type:Boolean,reflect:!0})],u.prototype,"disabled",2);y([a({type:String,reflect:!0})],u.prototype,"startIconModel",2);y([a({type:String,reflect:!0})],u.prototype,"endIconModel",2);y([a({type:Boolean,reflect:!0,attribute:"starticon"})],u.prototype,"startIcon",2);y([a({type:Boolean,reflect:!0,attribute:"endicon"})],u.prototype,"endIcon",2);y([a({type:String,attribute:"paneltarget",reflect:!0})],u.prototype,"panelTarget",2);y([a({type:String})],u.prototype,"href",2);y([a({type:String})],u.prototype,"target",2);u=y([L("o-button")],u);var Se=Object.defineProperty,Le=Object.getOwnPropertyDescriptor,nt=(n,t,e,i)=>{for(var o=i>1?void 0:i?Le(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&Se(t,e,o),o};let U=class extends m{constructor(){super(...arguments),this.status="empty",this.ariaDescribedBy="a-product-name",this.label="Add to wishlist",this.toggleStatus=()=>{this.status=this.status==="empty"?"filled":"empty",this.setAttribute("aria-pressed",String(this.status==="filled")),this.dispatchEvent(new CustomEvent("wishlist-toggle",{detail:{status:this.status},bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),this.setAttribute("role","button"),this.setAttribute("aria-pressed",String(this.status==="filled"))}firstUpdated(){this.addEventListener("click",this.toggleStatus),this.addEventListener("keydown",this.handleKeydown)}handleKeydown(n){(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),this.toggleStatus())}render(){const n=et.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return h`
|
|
302
305
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
303
306
|
<span class="sr-only">${this.label}</span>
|
|
304
307
|
${W(n)}
|
|
@@ -362,7 +365,7 @@
|
|
|
362
365
|
width: 0.1rem !important;
|
|
363
366
|
white-space: nowrap !important;
|
|
364
367
|
}
|
|
365
|
-
`;nt([a({type:String,reflect:!0})],U.prototype,"status",2);nt([a({type:String,reflect:!0})],U.prototype,"ariaDescribedBy",2);nt([a({type:String,reflect:!0})],U.prototype,"label",2);U=nt([L("o-wishlist-button")],U);var
|
|
368
|
+
`;nt([a({type:String,reflect:!0})],U.prototype,"status",2);nt([a({type:String,reflect:!0})],U.prototype,"ariaDescribedBy",2);nt([a({type:String,reflect:!0})],U.prototype,"label",2);U=nt([L("o-wishlist-button")],U);var ke=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,k=(n,t,e,i)=>{for(var o=i>1?void 0:i?Pe(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&ke(t,e,o),o};let w=class extends m{constructor(){super(...arguments),this.bgstyle="background-light",this.size="medium",this.status="empty",this.type="button",this.strokewidth="1",this.icon="wishlist",this.disabled=!1}updated(n){super.updated(n),this.style.setProperty("--icon-stroke-width",this.strokewidth)}render(){const n=et[this.icon]??"",t=`icon-${this.icon}`,e=n.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return h`
|
|
366
369
|
${this.type==="span"?h`
|
|
367
370
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
368
371
|
${W(e)}
|
|
@@ -580,10 +583,10 @@
|
|
|
580
583
|
* @license
|
|
581
584
|
* Copyright 2018 Google LLC
|
|
582
585
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
583
|
-
*/const
|
|
586
|
+
*/const Be=n=>n??d;var Ie=Object.defineProperty,ze=Object.getOwnPropertyDescriptor,H=(n,t,e,i)=>{for(var o=i>1?void 0:i?ze(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&Ie(t,e,o),o};let _=class extends m{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(n){(!this.href||this.href==="#")&&n.preventDefault()}render(){const n=this.href||"#";return h`
|
|
584
587
|
<a
|
|
585
588
|
href="${n}"
|
|
586
|
-
target="${
|
|
589
|
+
target="${Be(this.target||void 0)}"
|
|
587
590
|
@click="${this._handleClick}"
|
|
588
591
|
>
|
|
589
592
|
${this.endIcon&&this.reverseEndIcon?h`
|
|
@@ -693,7 +696,7 @@
|
|
|
693
696
|
height: 1px;
|
|
694
697
|
}
|
|
695
698
|
/* End of underline effect */
|
|
696
|
-
`;H([a({type:String})],_.prototype,"href",2);H([a({type:String})],_.prototype,"target",2);H([a({type:String,reflect:!0})],_.prototype,"template",2);H([a({type:Boolean,reflect:!0})],_.prototype,"inverse",2);H([a({type:Boolean,reflect:!0})],_.prototype,"endIcon",2);H([a({type:Boolean,reflect:!0})],_.prototype,"reverseEndIcon",2);_=H([L("o-link")],_);var
|
|
699
|
+
`;H([a({type:String})],_.prototype,"href",2);H([a({type:String})],_.prototype,"target",2);H([a({type:String,reflect:!0})],_.prototype,"template",2);H([a({type:Boolean,reflect:!0})],_.prototype,"inverse",2);H([a({type:Boolean,reflect:!0})],_.prototype,"endIcon",2);H([a({type:Boolean,reflect:!0})],_.prototype,"reverseEndIcon",2);_=H([L("o-link")],_);var Oe=Object.defineProperty,He=Object.getOwnPropertyDescriptor,ot=(n,t,e,i)=>{for(var o=i>1?void 0:i?He(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&Oe(t,e,o),o};let N=class extends m{constructor(){super(...arguments),this.rating=0}getStarKeys(){const n=[];for(let t=0;t<5;t++){const e=this.rating-t;let i;e>=1?i=100:e<=0?i=0:i=Math.round(e*100/25)*25,n.push(`star-${i}`)}return n}render(){const n=this.getStarKeys();return h`
|
|
697
700
|
<div class="rating">
|
|
698
701
|
<div class="stars">
|
|
699
702
|
${n.map(t=>h`<span class="star">${W(et[t]??"")}</span>`)}
|
|
@@ -733,7 +736,7 @@
|
|
|
733
736
|
text-decoration: underline;
|
|
734
737
|
cursor: pointer;
|
|
735
738
|
}
|
|
736
|
-
`;ot([a({type:Number})],N.prototype,"rating",2);ot([a({type:String})],N.prototype,"reviewCount",2);ot([a({type:String})],N.prototype,"href",2);N=ot([L("o-rating")],N);var
|
|
739
|
+
`;ot([a({type:Number})],N.prototype,"rating",2);ot([a({type:String})],N.prototype,"reviewCount",2);ot([a({type:String})],N.prototype,"href",2);N=ot([L("o-rating")],N);var Me=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,b=(n,t,e,i)=>{for(var o=i>1?void 0:i?Te(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&Me(t,e,o),o};let v=class extends m{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.closeButtonLabel="Close the modal",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.secondaryButtonLabel="",this.secondaryButtonVariant="secondary",this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.previousFocusedElement=null,this.handleKeyDown=n=>{this.open&&(n.key==="Escape"?this.closePanel():n.key==="Tab"&&this.trapFocus(n))}}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),window.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0})}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),window.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}trapFocus(n){const t=this.getFocusableElements();if(t.length===0)return;const e=t[0],i=t[t.length-1];n.shiftKey&&document.activeElement===e?(n.preventDefault(),i.focus()):!n.shiftKey&&document.activeElement===i&&(n.preventDefault(),e.focus())}getFocusableElements(){const n=this.renderRoot.querySelector(".panel");return n?Array.from(n.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(t=>!t.hasAttribute("disabled")):[]}openPanel(){this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open"),this.updateComplete.then(()=>{const n=this.getFocusableElements()[0];n==null||n.focus()})}closePanel(){var n;this.open=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),(n=this.previousFocusedElement)==null||n.focus(),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(){typeof this.onFirstButtonClick=="function"&&this.onFirstButtonClick(),this.closePanel()}handleSecondaryClick(){typeof this.onSecondaryButtonClick=="function"&&this.onSecondaryButtonClick(),this.closePanel()}updated(){this.style.setProperty("--z-overlay",`${this.zIndex}`),this.style.setProperty("--z-panel",`${this.zIndex+1}`)}render(){return h`
|
|
737
740
|
<div class="overlay" style="z-index: ${this.zIndex}" @click=${this.closePanel}></div>
|
|
738
741
|
<div
|
|
739
742
|
class="panel"
|
|
@@ -779,7 +782,7 @@
|
|
|
779
782
|
</div>
|
|
780
783
|
`:null}
|
|
781
784
|
</div>
|
|
782
|
-
`}};
|
|
785
|
+
`}};v.styles=$`
|
|
783
786
|
:host {
|
|
784
787
|
--z-overlay: 99;
|
|
785
788
|
--z-panel: 100;
|
|
@@ -864,6 +867,7 @@
|
|
|
864
867
|
margin-bottom: auto;
|
|
865
868
|
overflow: hidden;
|
|
866
869
|
width: 100%;
|
|
870
|
+
color: var(--color-content-heading);
|
|
867
871
|
}
|
|
868
872
|
|
|
869
873
|
.close-btn {
|
|
@@ -922,7 +926,7 @@
|
|
|
922
926
|
--line-height: var(--line-height-280);
|
|
923
927
|
}
|
|
924
928
|
}
|
|
925
|
-
`;b([a({type:Boolean,reflect:!0})],
|
|
929
|
+
`;b([a({type:Boolean,reflect:!0})],v.prototype,"open",2);b([a({type:Boolean,reflect:!0})],v.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],v.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],v.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],v.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],v.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],v.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],v.prototype,"firstButtonVariant",2);b([a({type:Function})],v.prototype,"onFirstButtonClick",2);b([a({type:String,reflect:!0})],v.prototype,"secondaryButtonLabel",2);b([a({type:String,reflect:!0})],v.prototype,"secondaryButtonVariant",2);b([a({type:Function})],v.prototype,"onSecondaryButtonClick",2);b([a({type:Boolean,reflect:!0})],v.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],v.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],v.prototype,"initialized",2);v=b([L("o-side-panel")],v);var De=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,M=(n,t,e,i)=>{for(var o=i>1?void 0:i?Ue(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&De(t,e,o),o};let C=class extends m{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.focusedIndex=0,this.playerIconTemplate=h`
|
|
926
930
|
<o-icon-button
|
|
927
931
|
icon="playerv"
|
|
928
932
|
size="xsmall"
|
|
@@ -1053,7 +1057,7 @@
|
|
|
1053
1057
|
height: 0;
|
|
1054
1058
|
width: 0;
|
|
1055
1059
|
}
|
|
1056
|
-
`;M([a({type:Array})],C.prototype,"thumbnails",2);M([a({type:Number})],C.prototype,"activeIndex",2);M([a({type:Array})],C.prototype,"disabledIndexes",2);M([a({type:String})],C.prototype,"maxWidth",2);M([a({type:Object})],C.prototype,"swiperInstance",2);M([te()],C.prototype,"focusedIndex",2);C=M([L("thumbnail-navigation")],C);var
|
|
1060
|
+
`;M([a({type:Array})],C.prototype,"thumbnails",2);M([a({type:Number})],C.prototype,"activeIndex",2);M([a({type:Array})],C.prototype,"disabledIndexes",2);M([a({type:String})],C.prototype,"maxWidth",2);M([a({type:Object})],C.prototype,"swiperInstance",2);M([te()],C.prototype,"focusedIndex",2);C=M([L("thumbnail-navigation")],C);var Ne=Object.defineProperty,je=Object.getOwnPropertyDescriptor,It=(n,t,e,i)=>{for(var o=i>1?void 0:i?je(t,e):t,r=n.length-1,s;r>=0;r--)(s=n[r])&&(o=(i?s(t,e,o):s(o))||o);return i&&o&&Ne(t,e,o),o};let Q=class extends m{constructor(){super(...arguments),this.type=""}render(){return h`
|
|
1057
1061
|
<span class="tag"><slot></slot></span>
|
|
1058
1062
|
`}};Q.styles=$`
|
|
1059
1063
|
.tag {
|
|
@@ -1102,4 +1106,4 @@
|
|
|
1102
1106
|
background-color: var(--color-content-success);
|
|
1103
1107
|
}
|
|
1104
1108
|
|
|
1105
|
-
`;
|
|
1109
|
+
`;It([a({type:String,reflect:!0})],Q.prototype,"type",2);Q=It([L("o-tag")],Q);
|
package/index.mjs
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const X = globalThis, dt = X.ShadowRoot && (X.ShadyCSS === void 0 || X.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, pt = Symbol(),
|
|
7
|
-
let
|
|
6
|
+
const X = globalThis, dt = X.ShadowRoot && (X.ShadyCSS === void 0 || X.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, pt = Symbol(), ft = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let St = class {
|
|
8
8
|
constructor(t, e, i) {
|
|
9
9
|
if (this._$cssResult$ = !0, i !== pt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
10
|
this.cssText = t, this.t = e;
|
|
@@ -14,7 +14,7 @@ let Et = class {
|
|
|
14
14
|
const e = this.t;
|
|
15
15
|
if (dt && t === void 0) {
|
|
16
16
|
const i = e !== void 0 && e.length === 1;
|
|
17
|
-
i && (t =
|
|
17
|
+
i && (t = ft.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ft.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,13 +22,13 @@ let Et = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const zt = (n) => new
|
|
25
|
+
const zt = (n) => new St(typeof n == "string" ? n : n + "", void 0, pt), $ = (n, ...t) => {
|
|
26
26
|
const e = n.length === 1 ? n[0] : t.reduce((i, o, r) => i + ((s) => {
|
|
27
27
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
28
28
|
if (typeof s == "number") return s;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(o) + n[r + 1], n[0]);
|
|
31
|
-
return new
|
|
31
|
+
return new St(e, n, pt);
|
|
32
32
|
}, Ot = (n, t) => {
|
|
33
33
|
if (dt) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
@@ -45,7 +45,7 @@ const zt = (n) => new Et(typeof n == "string" ? n : n + "", void 0, pt), $ = (n,
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: Ht, defineProperty: Mt, getOwnPropertyDescriptor: Tt, getOwnPropertyNames: Dt, getOwnPropertySymbols: Ut, getPrototypeOf: Nt } = Object,
|
|
48
|
+
const { is: Ht, defineProperty: Mt, getOwnPropertyDescriptor: Tt, getOwnPropertyNames: Dt, getOwnPropertySymbols: Ut, getPrototypeOf: Nt } = Object, S = globalThis, yt = S.trustedTypes, jt = yt ? yt.emptyScript : "", it = S.reactiveElementPolyfillSupport, V = (n, t) => n, J = { toAttribute(n, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
n = n ? jt : null;
|
|
@@ -74,7 +74,7 @@ const { is: Ht, defineProperty: Mt, getOwnPropertyDescriptor: Tt, getOwnProperty
|
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
76
|
} }, ut = (n, t) => !Ht(n, t), mt = { attribute: !0, type: String, converter: J, reflect: !1, useDefault: !1, hasChanged: ut };
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), S.litPropertyMetadata ?? (S.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let T = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
@@ -276,16 +276,16 @@ let T = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[V("elementProperties")] = /* @__PURE__ */ new Map(), T[V("finalized")] = /* @__PURE__ */ new Map(), it == null || it({ ReactiveElement: T }), (
|
|
279
|
+
T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[V("elementProperties")] = /* @__PURE__ */ new Map(), T[V("finalized")] = /* @__PURE__ */ new Map(), it == null || it({ ReactiveElement: T }), (S.reactiveElementVersions ?? (S.reactiveElementVersions = [])).push("2.1.0");
|
|
280
280
|
/**
|
|
281
281
|
* @license
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const
|
|
285
|
+
const F = globalThis, Y = F.trustedTypes, wt = Y ? Y.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Lt = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, kt = "?" + E, Vt = `<${kt}>`, z = document, R = () => z.createComment(""), Z = (n) => n === null || typeof n != "object" && typeof n != "function", gt = Array.isArray, Ft = (n) => gt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", st = `[
|
|
286
286
|
\f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $t = /-->/g, xt = />/g, P = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), _t = /'/g, Ct = /"/g, Pt = /^(?:script|style|textarea|title)$/i,
|
|
288
|
-
function
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), _t = /'/g, Ct = /"/g, Pt = /^(?:script|style|textarea|title)$/i, Rt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), h = Rt(1), O = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), At = /* @__PURE__ */ new WeakMap(), B = z.createTreeWalker(z, 129);
|
|
288
|
+
function Bt(n, t) {
|
|
289
289
|
if (!gt(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
290
|
return wt !== void 0 ? wt.createHTML(t) : t;
|
|
291
291
|
}
|
|
@@ -294,41 +294,41 @@ const Zt = (n, t) => {
|
|
|
294
294
|
let o, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = j;
|
|
295
295
|
for (let c = 0; c < e; c++) {
|
|
296
296
|
const l = n[c];
|
|
297
|
-
let g,
|
|
298
|
-
for (; x < l.length && (s.lastIndex = x,
|
|
297
|
+
let g, f, p = -1, x = 0;
|
|
298
|
+
for (; x < l.length && (s.lastIndex = x, f = s.exec(l), f !== null); ) x = s.lastIndex, s === j ? f[1] === "!--" ? s = $t : f[1] !== void 0 ? s = xt : f[2] !== void 0 ? (Pt.test(f[2]) && (o = RegExp("</" + f[2], "g")), s = P) : f[3] !== void 0 && (s = P) : s === P ? f[0] === ">" ? (s = o ?? j, p = -1) : f[1] === void 0 ? p = -2 : (p = s.lastIndex - f[2].length, g = f[1], s = f[3] === void 0 ? P : f[3] === '"' ? Ct : _t) : s === Ct || s === _t ? s = P : s === $t || s === xt ? s = j : (s = P, o = void 0);
|
|
299
299
|
const A = s === P && n[c + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
r += s === j ? l + Vt : p >= 0 ? (i.push(g), l.slice(0, p) + Lt + l.slice(p) +
|
|
300
|
+
r += s === j ? l + Vt : p >= 0 ? (i.push(g), l.slice(0, p) + Lt + l.slice(p) + E + A) : l + E + (p === -2 ? c : A);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [Bt(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
303
303
|
};
|
|
304
304
|
class q {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
306
306
|
let o;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
|
-
const c = t.length - 1, l = this.parts, [g,
|
|
310
|
-
if (this.el = q.createElement(g, i),
|
|
309
|
+
const c = t.length - 1, l = this.parts, [g, f] = Zt(t, e);
|
|
310
|
+
if (this.el = q.createElement(g, i), B.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const p = this.el.content.firstChild;
|
|
312
312
|
p.replaceWith(...p.childNodes);
|
|
313
313
|
}
|
|
314
|
-
for (; (o =
|
|
314
|
+
for (; (o = B.nextNode()) !== null && l.length < c; ) {
|
|
315
315
|
if (o.nodeType === 1) {
|
|
316
316
|
if (o.hasAttributes()) for (const p of o.getAttributeNames()) if (p.endsWith(Lt)) {
|
|
317
|
-
const x =
|
|
317
|
+
const x = f[s++], A = o.getAttribute(p).split(E), K = /([.?@])?(.*)/.exec(x);
|
|
318
318
|
l.push({ type: 1, index: r, name: K[2], strings: A, ctor: K[1] === "." ? Wt : K[1] === "?" ? Gt : K[1] === "@" ? Kt : tt }), o.removeAttribute(p);
|
|
319
|
-
} else p.startsWith(
|
|
319
|
+
} else p.startsWith(E) && (l.push({ type: 6, index: r }), o.removeAttribute(p));
|
|
320
320
|
if (Pt.test(o.tagName)) {
|
|
321
|
-
const p = o.textContent.split(
|
|
321
|
+
const p = o.textContent.split(E), x = p.length - 1;
|
|
322
322
|
if (x > 0) {
|
|
323
323
|
o.textContent = Y ? Y.emptyScript : "";
|
|
324
|
-
for (let A = 0; A < x; A++) o.append(p[A],
|
|
325
|
-
o.append(p[x],
|
|
324
|
+
for (let A = 0; A < x; A++) o.append(p[A], R()), B.nextNode(), l.push({ type: 2, index: ++r });
|
|
325
|
+
o.append(p[x], R());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
} else if (o.nodeType === 8) if (o.data === kt) l.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
|
-
for (; (p = o.data.indexOf(
|
|
331
|
+
for (; (p = o.data.indexOf(E, p + 1)) !== -1; ) l.push({ type: 7, index: r }), p += E.length - 1;
|
|
332
332
|
}
|
|
333
333
|
r++;
|
|
334
334
|
}
|
|
@@ -357,16 +357,16 @@ class qt {
|
|
|
357
357
|
}
|
|
358
358
|
u(t) {
|
|
359
359
|
const { el: { content: e }, parts: i } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? z).importNode(e, !0);
|
|
360
|
-
|
|
361
|
-
let r =
|
|
360
|
+
B.currentNode = o;
|
|
361
|
+
let r = B.nextNode(), s = 0, c = 0, l = i[0];
|
|
362
362
|
for (; l !== void 0; ) {
|
|
363
363
|
if (s === l.index) {
|
|
364
364
|
let g;
|
|
365
365
|
l.type === 2 ? g = new G(r, r.nextSibling, this, t) : l.type === 1 ? g = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (g = new Xt(r, this, t)), this._$AV.push(g), l = i[++c];
|
|
366
366
|
}
|
|
367
|
-
s !== (l == null ? void 0 : l.index) && (r =
|
|
367
|
+
s !== (l == null ? void 0 : l.index) && (r = B.nextNode(), s++);
|
|
368
368
|
}
|
|
369
|
-
return
|
|
369
|
+
return B.currentNode = z, o;
|
|
370
370
|
}
|
|
371
371
|
p(t) {
|
|
372
372
|
let e = 0;
|
|
@@ -393,7 +393,7 @@ class G {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = D(this, t, e), Z(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
396
|
+
t = D(this, t, e), Z(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ft(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -406,7 +406,7 @@ class G {
|
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var r;
|
|
409
|
-
const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = q.createElement(
|
|
409
|
+
const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = q.createElement(Bt(i.h, i.h[0]), this.options)), i);
|
|
410
410
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
412
|
const s = new qt(o, this), c = s.u(this.options);
|
|
@@ -421,7 +421,7 @@ class G {
|
|
|
421
421
|
gt(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
423
|
let i, o = 0;
|
|
424
|
-
for (const r of t) o === e.length ? e.push(i = new G(this.O(
|
|
424
|
+
for (const r of t) o === e.length ? e.push(i = new G(this.O(R()), this.O(R()), this, this.options)) : i = e[o], i._$AI(r), o++;
|
|
425
425
|
o < e.length && (this._$AR(i && i._$AB.nextSibling, o), e.length = o);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -502,14 +502,14 @@ class Xt {
|
|
|
502
502
|
D(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const rt =
|
|
506
|
-
rt == null || rt(q, G), (
|
|
505
|
+
const rt = F.litHtmlPolyfillSupport;
|
|
506
|
+
rt == null || rt(q, G), (F.litHtmlVersions ?? (F.litHtmlVersions = [])).push("3.3.0");
|
|
507
507
|
const Jt = (n, t, e) => {
|
|
508
508
|
const i = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
509
|
let o = i._$litPart$;
|
|
510
510
|
if (o === void 0) {
|
|
511
511
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
-
i._$litPart$ = o = new G(t.insertBefore(
|
|
512
|
+
i._$litPart$ = o = new G(t.insertBefore(R(), r), r, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return o._$AI(n), o;
|
|
515
515
|
};
|
|
@@ -518,7 +518,7 @@ const Jt = (n, t, e) => {
|
|
|
518
518
|
* Copyright 2017 Google LLC
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
|
-
const
|
|
521
|
+
const I = globalThis;
|
|
522
522
|
let m = class extends T {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -544,11 +544,11 @@ let m = class extends T {
|
|
|
544
544
|
return O;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
m._$litElement$ = !0, m.finalized = !0, (
|
|
549
|
-
const at =
|
|
547
|
+
var Et;
|
|
548
|
+
m._$litElement$ = !0, m.finalized = !0, (Et = I.litElementHydrateSupport) == null || Et.call(I, { LitElement: m });
|
|
549
|
+
const at = I.litElementPolyfillSupport;
|
|
550
550
|
at == null || at({ LitElement: m });
|
|
551
|
-
(
|
|
551
|
+
(I.litElementVersions ?? (I.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
@@ -614,11 +614,11 @@ $`
|
|
|
614
614
|
* Copyright 2023 Google LLC
|
|
615
615
|
* SPDX-License-Identifier: Apache-2.0
|
|
616
616
|
*/
|
|
617
|
-
const
|
|
617
|
+
const vt = Symbol("internals"), lt = Symbol("privateInternals");
|
|
618
618
|
function ne(n) {
|
|
619
619
|
var t;
|
|
620
620
|
class e extends n {
|
|
621
|
-
get [(t =
|
|
621
|
+
get [(t = vt, t)]() {
|
|
622
622
|
return this[lt] || (this[lt] = this.attachInternals()), this[lt];
|
|
623
623
|
}
|
|
624
624
|
}
|
|
@@ -633,7 +633,7 @@ function oe(n) {
|
|
|
633
633
|
n.addInitializer((t) => {
|
|
634
634
|
const e = t;
|
|
635
635
|
e.addEventListener("click", async (i) => {
|
|
636
|
-
const { type: o, [
|
|
636
|
+
const { type: o, [vt]: r } = e, { form: s } = r;
|
|
637
637
|
if (!(!s || o === "button") && (await new Promise((c) => {
|
|
638
638
|
setTimeout(c);
|
|
639
639
|
}), !i.defaultPrevented)) {
|
|
@@ -690,7 +690,7 @@ const ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
690
690
|
`, ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
691
691
|
<path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
|
|
692
692
|
</svg>
|
|
693
|
-
`,
|
|
693
|
+
`, ve = `<?xml version="1.0" encoding="utf-8"?>
|
|
694
694
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
695
695
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
696
696
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -700,7 +700,7 @@ const ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
700
700
|
<path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
|
|
701
701
|
s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
|
|
702
702
|
</svg>
|
|
703
|
-
`,
|
|
703
|
+
`, fe = `<?xml version="1.0" encoding="utf-8"?>
|
|
704
704
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
705
705
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
706
706
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -712,10 +712,13 @@ const ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
712
712
|
`, be = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
713
713
|
<path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
|
|
714
714
|
</svg>
|
|
715
|
-
`, ye = `<svg width="
|
|
715
|
+
`, ye = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
716
|
+
<path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
|
|
717
|
+
</svg>
|
|
718
|
+
`, me = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
716
719
|
<path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
|
|
717
720
|
</svg>
|
|
718
|
-
`,
|
|
721
|
+
`, we = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
719
722
|
<path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
|
|
720
723
|
</svg>
|
|
721
724
|
`, et = {
|
|
@@ -723,8 +726,8 @@ const ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
723
726
|
playerv: se,
|
|
724
727
|
chevronRight: re,
|
|
725
728
|
chevronLeft: ae,
|
|
726
|
-
icoPlus:
|
|
727
|
-
icoMinus:
|
|
729
|
+
icoPlus: ve,
|
|
730
|
+
icoMinus: fe,
|
|
728
731
|
"star-0": le,
|
|
729
732
|
"star-25": ce,
|
|
730
733
|
"star-50": he,
|
|
@@ -733,16 +736,17 @@ const ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
733
736
|
cross: ue,
|
|
734
737
|
search: ge,
|
|
735
738
|
arrowLeft: be,
|
|
736
|
-
|
|
737
|
-
|
|
739
|
+
arrowTop: ye,
|
|
740
|
+
cart: me,
|
|
741
|
+
notifyme: we
|
|
738
742
|
};
|
|
739
743
|
/**
|
|
740
744
|
* @license
|
|
741
745
|
* Copyright 2017 Google LLC
|
|
742
746
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
743
747
|
*/
|
|
744
|
-
const
|
|
745
|
-
class
|
|
748
|
+
const $e = { CHILD: 2 }, xe = (n) => (...t) => ({ _$litDirective$: n, values: t });
|
|
749
|
+
class _e {
|
|
746
750
|
constructor(t) {
|
|
747
751
|
}
|
|
748
752
|
get _$AU() {
|
|
@@ -763,9 +767,9 @@ class xe {
|
|
|
763
767
|
* Copyright 2017 Google LLC
|
|
764
768
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
765
769
|
*/
|
|
766
|
-
class ct extends
|
|
770
|
+
class ct extends _e {
|
|
767
771
|
constructor(t) {
|
|
768
|
-
if (super(t), this.it = d, t.type !==
|
|
772
|
+
if (super(t), this.it = d, t.type !== $e.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
769
773
|
}
|
|
770
774
|
render(t) {
|
|
771
775
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -786,14 +790,14 @@ ct.directiveName = "unsafeHTML", ct.resultType = 1;
|
|
|
786
790
|
class ht extends ct {
|
|
787
791
|
}
|
|
788
792
|
ht.directiveName = "unsafeSVG", ht.resultType = 2;
|
|
789
|
-
const W =
|
|
790
|
-
var
|
|
791
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
793
|
+
const W = xe(ht);
|
|
794
|
+
var Ce = Object.defineProperty, Ae = Object.getOwnPropertyDescriptor, y = (n, t, e, i) => {
|
|
795
|
+
for (var o = i > 1 ? void 0 : i ? Ae(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
792
796
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
793
|
-
return i && o &&
|
|
797
|
+
return i && o && Ce(t, e, o), o;
|
|
794
798
|
};
|
|
795
|
-
const
|
|
796
|
-
let u = class extends
|
|
799
|
+
const Ee = ne(m);
|
|
800
|
+
let u = class extends Ee {
|
|
797
801
|
constructor() {
|
|
798
802
|
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "search", this.endIconModel = "chevronRight", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "";
|
|
799
803
|
}
|
|
@@ -804,7 +808,7 @@ let u = class extends Ae {
|
|
|
804
808
|
this.setAttribute("name", n);
|
|
805
809
|
}
|
|
806
810
|
get form() {
|
|
807
|
-
return this[
|
|
811
|
+
return this[vt].form;
|
|
808
812
|
}
|
|
809
813
|
handleClick() {
|
|
810
814
|
if (this.panelTarget) {
|
|
@@ -1061,8 +1065,8 @@ y([
|
|
|
1061
1065
|
u = y([
|
|
1062
1066
|
L("o-button")
|
|
1063
1067
|
], u);
|
|
1064
|
-
var Se = Object.defineProperty,
|
|
1065
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1068
|
+
var Se = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, nt = (n, t, e, i) => {
|
|
1069
|
+
for (var o = i > 1 ? void 0 : i ? Le(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1066
1070
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
1067
1071
|
return i && o && Se(t, e, o), o;
|
|
1068
1072
|
};
|
|
@@ -1179,10 +1183,10 @@ nt([
|
|
|
1179
1183
|
U = nt([
|
|
1180
1184
|
L("o-wishlist-button")
|
|
1181
1185
|
], U);
|
|
1182
|
-
var
|
|
1183
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1186
|
+
var ke = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, k = (n, t, e, i) => {
|
|
1187
|
+
for (var o = i > 1 ? void 0 : i ? Pe(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1184
1188
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
1185
|
-
return i && o &&
|
|
1189
|
+
return i && o && ke(t, e, o), o;
|
|
1186
1190
|
};
|
|
1187
1191
|
let w = class extends m {
|
|
1188
1192
|
constructor() {
|
|
@@ -1443,9 +1447,9 @@ w = k([
|
|
|
1443
1447
|
* Copyright 2018 Google LLC
|
|
1444
1448
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1445
1449
|
*/
|
|
1446
|
-
const
|
|
1447
|
-
var Ie = Object.defineProperty,
|
|
1448
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1450
|
+
const Be = (n) => n ?? d;
|
|
1451
|
+
var Ie = Object.defineProperty, ze = Object.getOwnPropertyDescriptor, H = (n, t, e, i) => {
|
|
1452
|
+
for (var o = i > 1 ? void 0 : i ? ze(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1449
1453
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
1450
1454
|
return i && o && Ie(t, e, o), o;
|
|
1451
1455
|
};
|
|
@@ -1461,7 +1465,7 @@ let _ = class extends m {
|
|
|
1461
1465
|
return h`
|
|
1462
1466
|
<a
|
|
1463
1467
|
href="${n}"
|
|
1464
|
-
target="${
|
|
1468
|
+
target="${Be(this.target || void 0)}"
|
|
1465
1469
|
@click="${this._handleClick}"
|
|
1466
1470
|
>
|
|
1467
1471
|
${this.endIcon && this.reverseEndIcon ? h`
|
|
@@ -1596,10 +1600,10 @@ H([
|
|
|
1596
1600
|
_ = H([
|
|
1597
1601
|
L("o-link")
|
|
1598
1602
|
], _);
|
|
1599
|
-
var
|
|
1600
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1603
|
+
var Oe = Object.defineProperty, He = Object.getOwnPropertyDescriptor, ot = (n, t, e, i) => {
|
|
1604
|
+
for (var o = i > 1 ? void 0 : i ? He(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1601
1605
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
1602
|
-
return i && o &&
|
|
1606
|
+
return i && o && Oe(t, e, o), o;
|
|
1603
1607
|
};
|
|
1604
1608
|
let N = class extends m {
|
|
1605
1609
|
constructor() {
|
|
@@ -1674,12 +1678,12 @@ ot([
|
|
|
1674
1678
|
N = ot([
|
|
1675
1679
|
L("o-rating")
|
|
1676
1680
|
], N);
|
|
1677
|
-
var
|
|
1678
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1681
|
+
var Me = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, b = (n, t, e, i) => {
|
|
1682
|
+
for (var o = i > 1 ? void 0 : i ? Te(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1679
1683
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
1680
|
-
return i && o &&
|
|
1684
|
+
return i && o && Me(t, e, o), o;
|
|
1681
1685
|
};
|
|
1682
|
-
let
|
|
1686
|
+
let v = class extends m {
|
|
1683
1687
|
constructor() {
|
|
1684
1688
|
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.secondaryButtonLabel = "", this.secondaryButtonVariant = "secondary", this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (n) => {
|
|
1685
1689
|
this.open && (n.key === "Escape" ? this.closePanel() : n.key === "Tab" && this.trapFocus(n));
|
|
@@ -1778,7 +1782,7 @@ let f = class extends m {
|
|
|
1778
1782
|
`;
|
|
1779
1783
|
}
|
|
1780
1784
|
};
|
|
1781
|
-
|
|
1785
|
+
v.styles = $`
|
|
1782
1786
|
:host {
|
|
1783
1787
|
--z-overlay: 99;
|
|
1784
1788
|
--z-panel: 100;
|
|
@@ -1863,6 +1867,7 @@ f.styles = $`
|
|
|
1863
1867
|
margin-bottom: auto;
|
|
1864
1868
|
overflow: hidden;
|
|
1865
1869
|
width: 100%;
|
|
1870
|
+
color: var(--color-content-heading);
|
|
1866
1871
|
}
|
|
1867
1872
|
|
|
1868
1873
|
.close-btn {
|
|
@@ -1924,56 +1929,56 @@ f.styles = $`
|
|
|
1924
1929
|
`;
|
|
1925
1930
|
b([
|
|
1926
1931
|
a({ type: Boolean, reflect: !0 })
|
|
1927
|
-
],
|
|
1932
|
+
], v.prototype, "open", 2);
|
|
1928
1933
|
b([
|
|
1929
1934
|
a({ type: Boolean, reflect: !0 })
|
|
1930
|
-
],
|
|
1935
|
+
], v.prototype, "showHeader", 2);
|
|
1931
1936
|
b([
|
|
1932
1937
|
a({ type: Boolean, reflect: !0 })
|
|
1933
|
-
],
|
|
1938
|
+
], v.prototype, "showFooter", 2);
|
|
1934
1939
|
b([
|
|
1935
1940
|
a({ type: Boolean, reflect: !0 })
|
|
1936
|
-
],
|
|
1941
|
+
], v.prototype, "showHeaderStartIcon", 2);
|
|
1937
1942
|
b([
|
|
1938
1943
|
a({ type: String, reflect: !0 })
|
|
1939
|
-
],
|
|
1944
|
+
], v.prototype, "headerTitle", 2);
|
|
1940
1945
|
b([
|
|
1941
1946
|
a({ type: String, reflect: !0 })
|
|
1942
|
-
],
|
|
1947
|
+
], v.prototype, "closeButtonLabel", 2);
|
|
1943
1948
|
b([
|
|
1944
1949
|
a({ type: String, reflect: !0 })
|
|
1945
|
-
],
|
|
1950
|
+
], v.prototype, "firstButtonLabel", 2);
|
|
1946
1951
|
b([
|
|
1947
1952
|
a({ type: String, reflect: !0 })
|
|
1948
|
-
],
|
|
1953
|
+
], v.prototype, "firstButtonVariant", 2);
|
|
1949
1954
|
b([
|
|
1950
1955
|
a({ type: Function })
|
|
1951
|
-
],
|
|
1956
|
+
], v.prototype, "onFirstButtonClick", 2);
|
|
1952
1957
|
b([
|
|
1953
1958
|
a({ type: String, reflect: !0 })
|
|
1954
|
-
],
|
|
1959
|
+
], v.prototype, "secondaryButtonLabel", 2);
|
|
1955
1960
|
b([
|
|
1956
1961
|
a({ type: String, reflect: !0 })
|
|
1957
|
-
],
|
|
1962
|
+
], v.prototype, "secondaryButtonVariant", 2);
|
|
1958
1963
|
b([
|
|
1959
1964
|
a({ type: Function })
|
|
1960
|
-
],
|
|
1965
|
+
], v.prototype, "onSecondaryButtonClick", 2);
|
|
1961
1966
|
b([
|
|
1962
1967
|
a({ type: Boolean, reflect: !0 })
|
|
1963
|
-
],
|
|
1968
|
+
], v.prototype, "disablePortal", 2);
|
|
1964
1969
|
b([
|
|
1965
1970
|
a({ type: Number, reflect: !0 })
|
|
1966
|
-
],
|
|
1971
|
+
], v.prototype, "zIndex", 2);
|
|
1967
1972
|
b([
|
|
1968
1973
|
a({ type: Boolean, reflect: !0 })
|
|
1969
|
-
],
|
|
1970
|
-
|
|
1974
|
+
], v.prototype, "initialized", 2);
|
|
1975
|
+
v = b([
|
|
1971
1976
|
L("o-side-panel")
|
|
1972
|
-
],
|
|
1973
|
-
var
|
|
1974
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1977
|
+
], v);
|
|
1978
|
+
var De = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, M = (n, t, e, i) => {
|
|
1979
|
+
for (var o = i > 1 ? void 0 : i ? Ue(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
1975
1980
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
1976
|
-
return i && o &&
|
|
1981
|
+
return i && o && De(t, e, o), o;
|
|
1977
1982
|
};
|
|
1978
1983
|
let C = class extends m {
|
|
1979
1984
|
constructor() {
|
|
@@ -2161,10 +2166,10 @@ M([
|
|
|
2161
2166
|
C = M([
|
|
2162
2167
|
L("thumbnail-navigation")
|
|
2163
2168
|
], C);
|
|
2164
|
-
var
|
|
2165
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2169
|
+
var Ne = Object.defineProperty, je = Object.getOwnPropertyDescriptor, It = (n, t, e, i) => {
|
|
2170
|
+
for (var o = i > 1 ? void 0 : i ? je(t, e) : t, r = n.length - 1, s; r >= 0; r--)
|
|
2166
2171
|
(s = n[r]) && (o = (i ? s(t, e, o) : s(o)) || o);
|
|
2167
|
-
return i && o &&
|
|
2172
|
+
return i && o && Ne(t, e, o), o;
|
|
2168
2173
|
};
|
|
2169
2174
|
let Q = class extends m {
|
|
2170
2175
|
constructor() {
|
|
@@ -2224,9 +2229,9 @@ Q.styles = $`
|
|
|
2224
2229
|
}
|
|
2225
2230
|
|
|
2226
2231
|
`;
|
|
2227
|
-
|
|
2232
|
+
It([
|
|
2228
2233
|
a({ type: String, reflect: !0 })
|
|
2229
2234
|
], Q.prototype, "type", 2);
|
|
2230
|
-
Q =
|
|
2235
|
+
Q = It([
|
|
2231
2236
|
L("o-tag")
|
|
2232
2237
|
], Q);
|