@florid-kit/components 0.8.9 → 0.8.10
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/components/filter-chip.d.ts +4 -2
- package/index.js +21 -19
- package/index.mjs +66 -63
- package/package.json +1 -1
|
@@ -9,9 +9,11 @@ export declare class OccitaneFilterChip extends buttonBaseClass {
|
|
|
9
9
|
selected: boolean;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
fullwidth: boolean;
|
|
12
|
-
private
|
|
12
|
+
private crossIconName;
|
|
13
|
+
private strikethroughIcon;
|
|
13
14
|
private handleClick;
|
|
14
|
-
private
|
|
15
|
+
private crossIcon;
|
|
16
|
+
private strikeThroughImg;
|
|
15
17
|
protected render(): import('lit').TemplateResult<1>;
|
|
16
18
|
}
|
|
17
19
|
declare global {
|
package/index.js
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const Q=globalThis,ht=Q.trustedTypes,zt=ht?ht.createPolicy("lit-html",{createHTML:o=>o}):void 0,
|
|
13
|
+
*/const Q=globalThis,ht=Q.trustedTypes,zt=ht?ht.createPolicy("lit-html",{createHTML:o=>o}):void 0,Rt="$lit$",z=`lit$${Math.random().toFixed(9).slice(2)}$`,Ft="?"+z,ae=`<${Ft}>`,F=document,tt=()=>F.createComment(""),et=o=>o===null||typeof o!="object"&&typeof o!="function",kt=Array.isArray,le=o=>kt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",bt=`[
|
|
14
14
|
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,U=RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Mt=/'/g,Tt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,ce=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=ce(1),H=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),jt=new WeakMap,N=
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Mt=/'/g,Tt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,ce=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=ce(1),H=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),jt=new WeakMap,N=F.createTreeWalker(F,129);function Zt(o,t){if(!kt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}const he=(o,t)=>{const e=o.length-1,n=[];let i,s=t===2?"<svg>":t===3?"<math>":"",r=J;for(let h=0;h<e;h++){const c=o[h];let v,f,p=-1,I=0;for(;I<c.length&&(r.lastIndex=I,f=r.exec(c),f!==null);)I=r.lastIndex,r===J?f[1]==="!--"?r=Dt:f[1]!==void 0?r=Ht:f[2]!==void 0?(Vt.test(f[2])&&(i=RegExp("</"+f[2],"g")),r=U):f[3]!==void 0&&(r=U):r===U?f[0]===">"?(r=i??J,p=-1):f[1]===void 0?p=-2:(p=r.lastIndex-f[2].length,v=f[1],r=f[3]===void 0?U:f[3]==='"'?Tt:Mt):r===Tt||r===Mt?r=U:r===Dt||r===Ht?r=J:(r=U,i=void 0);const B=r===U&&o[h+1].startsWith("/>")?" ":"";s+=r===J?c+ae:p>=0?(n.push(v),c.slice(0,p)+Rt+c.slice(p)+z+B):c+z+(p===-2?h:B)}return[Zt(o,s+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class ot{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let s=0,r=0;const h=t.length-1,c=this.parts,[v,f]=he(t,e);if(this.el=ot.createElement(v,n),N.currentNode=this.el.content,e===2||e===3){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=N.nextNode())!==null&&c.length<h;){if(i.nodeType===1){if(i.hasAttributes())for(const p of i.getAttributeNames())if(p.endsWith(Rt)){const I=f[r++],B=i.getAttribute(p).split(z),at=/([.?@])?(.*)/.exec(I);c.push({type:1,index:s,name:at[2],strings:B,ctor:at[1]==="."?pe:at[1]==="?"?ue:at[1]==="@"?ve:dt}),i.removeAttribute(p)}else p.startsWith(z)&&(c.push({type:6,index:s}),i.removeAttribute(p));if(Vt.test(i.tagName)){const p=i.textContent.split(z),I=p.length-1;if(I>0){i.textContent=ht?ht.emptyScript:"";for(let B=0;B<I;B++)i.append(p[B],tt()),N.nextNode(),c.push({type:2,index:++s});i.append(p[I],tt())}}}else if(i.nodeType===8)if(i.data===Ft)c.push({type:2,index:s});else{let p=-1;for(;(p=i.data.indexOf(z,p+1))!==-1;)c.push({type:7,index:s}),p+=z.length-1}s++}}static createElement(t,e){const n=F.createElement("template");return n.innerHTML=t,n}}function W(o,t,e=o,n){var r,h;if(t===H)return t;let i=n!==void 0?(r=e._$Co)==null?void 0:r[n]:e._$Cl;const s=et(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==s&&((h=i==null?void 0:i._$AO)==null||h.call(i,!1),s===void 0?i=void 0:(i=new s(o),i._$AT(o,e,n)),n!==void 0?(e._$Co??(e._$Co=[]))[n]=i:e._$Cl=i),i!==void 0&&(t=W(o,i._$AS(o,t.values),i,n)),t}class de{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:n}=this._$AD,i=((t==null?void 0:t.creationScope)??F).importNode(e,!0);N.currentNode=i;let s=N.nextNode(),r=0,h=0,c=n[0];for(;c!==void 0;){if(r===c.index){let v;c.type===2?v=new st(s,s.nextSibling,this,t):c.type===1?v=new c.ctor(s,c.name,c.strings,this,t):c.type===6&&(v=new be(s,this,t)),this._$AV.push(v),c=n[++h]}r!==(c==null?void 0:c.index)&&(s=N.nextNode(),r++)}return N.currentNode=F,i}p(t){let e=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class st{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,n,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cv=(i==null?void 0:i.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=W(this,t,e),et(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==H&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):le(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&&et(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){var s;const{values:e,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ot.createElement(Zt(n.h,n.h[0]),this.options)),n);if(((s=this._$AH)==null?void 0:s._$AD)===i)this._$AH.p(e);else{const r=new de(i,this),h=r.u(this.options);r.p(e),this.T(h),this._$AH=r}}_$AC(t){let e=jt.get(t.strings);return e===void 0&&jt.set(t.strings,e=new ot(t)),e}k(t){kt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const s of t)i===e.length?e.push(n=new st(this.O(tt()),this.O(tt()),this,this.options)):n=e[i],n._$AI(s),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class dt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,i,s){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=d}_$AI(t,e=this,n,i){const s=this.strings;let r=!1;if(s===void 0)t=W(this,t,e,0),r=!et(t)||t!==this._$AH&&t!==H,r&&(this._$AH=t);else{const h=t;let c,v;for(t=s[0],c=0;c<s.length-1;c++)v=W(this,h[n+c],e,c),v===H&&(v=this._$AH[c]),r||(r=!et(v)||v!==this._$AH[c]),v===d?t=d:t!==d&&(t+=(v??"")+s[c+1]),this._$AH[c]=v}r&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class pe extends dt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class ue extends dt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class ve extends dt{constructor(t,e,n,i,s){super(t,e,n,i,s),this.type=5}_$AI(t,e=this){if((t=W(this,t,e,0)??d)===H)return;const n=this._$AH,i=t===d&&n!==d||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==d&&(n===d||i);i&&this.element.removeEventListener(this.name,this,n),s&&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 be{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){W(this,t)}}const gt=Q.litHtmlPolyfillSupport;gt==null||gt(ot,st),(Q.litHtmlVersions??(Q.litHtmlVersions=[])).push("3.3.0");const ge=(o,t,e)=>{const n=(e==null?void 0:e.renderBefore)??t;let i=n._$litPart$;if(i===void 0){const s=(e==null?void 0:e.renderBefore)??null;n._$litPart$=i=new st(t.insertBefore(tt(),s),s,void 0,e??{})}return i._$AI(o),i};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/const
|
|
19
|
+
*/const R=globalThis;let b=class extends q{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=ge(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 H}};var Ut;b._$litElement$=!0,b.finalized=!0,(Ut=R.litElementHydrateSupport)==null||Ut.call(R,{LitElement:b});const ft=R.litElementPolyfillSupport;ft==null||ft({LitElement:b});(R.litElementVersions??(R.litElementVersions=[])).push("4.2.0");/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -125,7 +125,9 @@
|
|
|
125
125
|
`,Ne=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
126
126
|
<path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
|
|
127
127
|
</svg>
|
|
128
|
-
`,
|
|
128
|
+
`,Re=`<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
129
|
+
<line x1="0" y1="0" x2="200" y2="200" />
|
|
130
|
+
</svg>`,X={wishlist:we,playerv:xe,chevronRight:$e,chevronLeft:_e,icoPlus:Oe,icoMinus:Pe,"star-0":Ce,"star-25":ke,"star-50":Ae,"star-75":Se,"star-100":Ee,cross:Le,search:Ie,arrowLeft:Be,arrowTop:ze,cart:De,notifyme:He,triangledown:Me,triangleup:Te,checkstroke:je,pause:Ue,mapDualArrow:Ne,strikeDiagonal:Re};/**
|
|
129
131
|
* @license
|
|
130
132
|
* Copyright 2017 Google LLC
|
|
131
133
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -137,7 +139,7 @@
|
|
|
137
139
|
* @license
|
|
138
140
|
* Copyright 2017 Google LLC
|
|
139
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/class wt extends mt{}wt.directiveName="unsafeSVG",wt.resultType=2;const M=Gt(wt);var Fe=Object.defineProperty,
|
|
142
|
+
*/class wt extends mt{}wt.directiveName="unsafeSVG",wt.resultType=2;const M=Gt(wt);var Fe=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,w=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ve(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Fe(t,e,i),i};const Ze=Wt(b);let u=class extends Ze{constructor(){super(...arguments),this.type="submit",this.value="",this.variant="primary",this.text="",this.textsecond="",this.fullwidth=!1,this.disabled=!1,this.startIconModel="",this.endIconModel="",this.startIcon=!1,this.endIcon=!1,this.panelTarget="",this.href="",this.target=""}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[At].form}handleClick(){if(this.panelTarget){const o=document.getElementById(this.panelTarget);o!=null&&o.openPanel&&typeof o.openPanel=="function"?o.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(o){const t=o==="start"?this.startIconModel:this.endIconModel;if(!t)return d;const e=X[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${M(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
|
|
141
143
|
<button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick}>
|
|
142
144
|
${this.startIcon?this.renderIcon("start"):d}
|
|
143
145
|
${o?l`
|
|
@@ -322,7 +324,7 @@
|
|
|
322
324
|
transform: translateX(4px);
|
|
323
325
|
}
|
|
324
326
|
//End icon movment on hover
|
|
325
|
-
`;w([a()],u.prototype,"type",2);w([a({reflect:!0})],u.prototype,"value",2);w([a({type:String,reflect:!0})],u.prototype,"variant",2);w([a({type:String})],u.prototype,"text",2);w([a({type:String})],u.prototype,"textsecond",2);w([a({type:Boolean,reflect:!0})],u.prototype,"fullwidth",2);w([a({type:Boolean,reflect:!0})],u.prototype,"disabled",2);w([a({type:String,reflect:!0})],u.prototype,"startIconModel",2);w([a({type:String,reflect:!0})],u.prototype,"endIconModel",2);w([a({type:Boolean,reflect:!0,attribute:"starticon"})],u.prototype,"startIcon",2);w([a({type:Boolean,reflect:!0,attribute:"endicon"})],u.prototype,"endIcon",2);w([a({type:String,attribute:"paneltarget",reflect:!0})],u.prototype,"panelTarget",2);w([a({type:String})],u.prototype,"href",2);w([a({type:String})],u.prototype,"target",2);u=w([x("o-button")],u);var
|
|
327
|
+
`;w([a()],u.prototype,"type",2);w([a({reflect:!0})],u.prototype,"value",2);w([a({type:String,reflect:!0})],u.prototype,"variant",2);w([a({type:String})],u.prototype,"text",2);w([a({type:String})],u.prototype,"textsecond",2);w([a({type:Boolean,reflect:!0})],u.prototype,"fullwidth",2);w([a({type:Boolean,reflect:!0})],u.prototype,"disabled",2);w([a({type:String,reflect:!0})],u.prototype,"startIconModel",2);w([a({type:String,reflect:!0})],u.prototype,"endIconModel",2);w([a({type:Boolean,reflect:!0,attribute:"starticon"})],u.prototype,"startIcon",2);w([a({type:Boolean,reflect:!0,attribute:"endicon"})],u.prototype,"endIcon",2);w([a({type:String,attribute:"paneltarget",reflect:!0})],u.prototype,"panelTarget",2);w([a({type:String})],u.prototype,"href",2);w([a({type:String})],u.prototype,"target",2);u=w([x("o-button")],u);var qe=Object.defineProperty,We=Object.getOwnPropertyDescriptor,pt=(o,t,e,n)=>{for(var i=n>1?void 0:n?We(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&qe(t,e,i),i};let K=class extends b{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(o){(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.toggleStatus())}render(){const o=X.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
|
|
326
328
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
327
329
|
<span class="sr-only">${this.label}</span>
|
|
328
330
|
${M(o)}
|
|
@@ -394,7 +396,7 @@
|
|
|
394
396
|
* @license
|
|
395
397
|
* Copyright 2018 Google LLC
|
|
396
398
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
397
|
-
*/const $=o=>o??d;var
|
|
399
|
+
*/const $=o=>o??d;var Ke=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,E=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ge(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Ke(t,e,i),i};let _=class extends b{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,this.showSrLabel=!1,this.srLabel=""}updated(o){super.updated(o),this.style.setProperty("--icon-stroke-width",this.strokewidth)}render(){const o=X[this.icon]??"",t=`icon-${this.icon}`,e=o.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),n=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
|
|
398
400
|
${this.type==="span"?l`
|
|
399
401
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
400
402
|
${M(e)}
|
|
@@ -616,7 +618,7 @@
|
|
|
616
618
|
.sr-only {
|
|
617
619
|
display: none;
|
|
618
620
|
}
|
|
619
|
-
`;E([a({type:String,reflect:!0})],_.prototype,"bgstyle",2);E([a({type:String,reflect:!0})],_.prototype,"size",2);E([a({type:String,reflect:!0})],_.prototype,"status",2);E([a({type:String,reflect:!0})],_.prototype,"type",2);E([a({type:String})],_.prototype,"strokewidth",2);E([a({type:String})],_.prototype,"icon",2);E([a({type:Boolean,reflect:!0})],_.prototype,"disabled",2);E([a({type:Boolean})],_.prototype,"showSrLabel",2);E([a({type:String})],_.prototype,"srLabel",2);_=E([x("o-icon-button")],_);var
|
|
621
|
+
`;E([a({type:String,reflect:!0})],_.prototype,"bgstyle",2);E([a({type:String,reflect:!0})],_.prototype,"size",2);E([a({type:String,reflect:!0})],_.prototype,"status",2);E([a({type:String,reflect:!0})],_.prototype,"type",2);E([a({type:String})],_.prototype,"strokewidth",2);E([a({type:String})],_.prototype,"icon",2);E([a({type:Boolean,reflect:!0})],_.prototype,"disabled",2);E([a({type:Boolean})],_.prototype,"showSrLabel",2);E([a({type:String})],_.prototype,"srLabel",2);_=E([x("o-icon-button")],_);var Xe=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Z=(o,t,e,n)=>{for(var i=n>1?void 0:n?Je(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Xe(t,e,i),i};let O=class extends b{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){const o=this.href||"#";return l`
|
|
620
622
|
<a
|
|
621
623
|
href="${o}"
|
|
622
624
|
target="${$(this.target||void 0)}"
|
|
@@ -729,7 +731,7 @@
|
|
|
729
731
|
height: 1px;
|
|
730
732
|
}
|
|
731
733
|
/* End of underline effect */
|
|
732
|
-
`;Z([a({type:String})],O.prototype,"href",2);Z([a({type:String})],O.prototype,"target",2);Z([a({type:String,reflect:!0})],O.prototype,"template",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"inverse",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"endIcon",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"reverseEndIcon",2);O=Z([x("o-link")],O);var
|
|
734
|
+
`;Z([a({type:String})],O.prototype,"href",2);Z([a({type:String})],O.prototype,"target",2);Z([a({type:String,reflect:!0})],O.prototype,"template",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"inverse",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"endIcon",2);Z([a({type:Boolean,reflect:!0})],O.prototype,"reverseEndIcon",2);O=Z([x("o-link")],O);var Ye=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,ut=(o,t,e,n)=>{for(var i=n>1?void 0:n?Qe(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&Ye(t,e,i),i};let G=class extends b{constructor(){super(...arguments),this.rating=0}getStarKeys(){const o=[];for(let t=0;t<5;t++){const e=this.rating-t;let n;e>=1?n=100:e<=0?n=0:n=Math.round(e*100/25)*25,o.push(`star-${n}`)}return o}render(){const o=this.getStarKeys();return l`
|
|
733
735
|
<div class="rating">
|
|
734
736
|
<div class="stars">
|
|
735
737
|
${o.map(t=>l`<span class="star">${M(X[t]??"")}</span>`)}
|
|
@@ -769,7 +771,7 @@
|
|
|
769
771
|
text-decoration: underline;
|
|
770
772
|
cursor: pointer;
|
|
771
773
|
}
|
|
772
|
-
`;ut([a({type:Number})],G.prototype,"rating",2);ut([a({type:String})],G.prototype,"reviewCount",2);ut([a({type:String})],G.prototype,"href",2);G=ut([x("o-rating")],G);var
|
|
774
|
+
`;ut([a({type:Number})],G.prototype,"rating",2);ut([a({type:String})],G.prototype,"reviewCount",2);ut([a({type:String})],G.prototype,"href",2);G=ut([x("o-rating")],G);var to=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,m=(o,t,e,n)=>{for(var i=n>1?void 0:n?eo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&to(t,e,i),i};let g=class extends b{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=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))}}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(o){const t=this.getFocusableElements();if(t.length===0)return;const e=t[0],n=t[t.length-1];o.shiftKey&&document.activeElement===e?(o.preventDefault(),n.focus()):!o.shiftKey&&document.activeElement===n&&(o.preventDefault(),e.focus())}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");return o?Array.from(o.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 o=this.getFocusableElements()[0];o==null||o.focus()})}closePanel(){var o;this.open=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),(o=this.previousFocusedElement)==null||o.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 l`
|
|
773
775
|
<div class="overlay" style="z-index: ${this.zIndex}" @click=${this.closePanel}></div>
|
|
774
776
|
<div
|
|
775
777
|
class="panel"
|
|
@@ -955,7 +957,7 @@
|
|
|
955
957
|
--line-height: var(--line-height-280);
|
|
956
958
|
}
|
|
957
959
|
}
|
|
958
|
-
`;m([a({type:Boolean,reflect:!0})],g.prototype,"open",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showHeader",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showFooter",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showHeaderStartIcon",2);m([a({type:String,reflect:!0})],g.prototype,"headerTitle",2);m([a({type:String,reflect:!0})],g.prototype,"closeButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"firstButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"firstButtonVariant",2);m([a({type:Function})],g.prototype,"onFirstButtonClick",2);m([a({type:String,reflect:!0})],g.prototype,"secondaryButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"secondaryButtonVariant",2);m([a({type:Function})],g.prototype,"onSecondaryButtonClick",2);m([a({type:Boolean,reflect:!0})],g.prototype,"disablePortal",2);m([a({type:Number,reflect:!0})],g.prototype,"zIndex",2);m([a({type:Boolean,reflect:!0})],g.prototype,"initialized",2);g=m([x("o-side-panel")],g);var
|
|
960
|
+
`;m([a({type:Boolean,reflect:!0})],g.prototype,"open",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showHeader",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showFooter",2);m([a({type:Boolean,reflect:!0})],g.prototype,"showHeaderStartIcon",2);m([a({type:String,reflect:!0})],g.prototype,"headerTitle",2);m([a({type:String,reflect:!0})],g.prototype,"closeButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"firstButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"firstButtonVariant",2);m([a({type:Function})],g.prototype,"onFirstButtonClick",2);m([a({type:String,reflect:!0})],g.prototype,"secondaryButtonLabel",2);m([a({type:String,reflect:!0})],g.prototype,"secondaryButtonVariant",2);m([a({type:Function})],g.prototype,"onSecondaryButtonClick",2);m([a({type:Boolean,reflect:!0})],g.prototype,"disablePortal",2);m([a({type:Number,reflect:!0})],g.prototype,"zIndex",2);m([a({type:Boolean,reflect:!0})],g.prototype,"initialized",2);g=m([x("o-side-panel")],g);var oo=Object.defineProperty,io=Object.getOwnPropertyDescriptor,T=(o,t,e,n)=>{for(var i=n>1?void 0:n?io(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&oo(t,e,i),i};let A=class extends b{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
|
|
959
961
|
<o-icon-button
|
|
960
962
|
icon="playerv"
|
|
961
963
|
size="xsmall"
|
|
@@ -1091,7 +1093,7 @@
|
|
|
1091
1093
|
height: 0;
|
|
1092
1094
|
width: 0;
|
|
1093
1095
|
}
|
|
1094
|
-
`;T([a({type:Array})],A.prototype,"thumbnails",2);T([a({type:Number})],A.prototype,"activeIndex",2);T([a({type:Array})],A.prototype,"disabledIndexes",2);T([a({type:String})],A.prototype,"maxWidth",2);T([a({type:String})],A.prototype,"altressource",2);T([a({type:Object})],A.prototype,"swiperInstance",2);T([V()],A.prototype,"focusedIndex",2);A=T([x("thumbnail-navigation")],A);var
|
|
1096
|
+
`;T([a({type:Array})],A.prototype,"thumbnails",2);T([a({type:Number})],A.prototype,"activeIndex",2);T([a({type:Array})],A.prototype,"disabledIndexes",2);T([a({type:String})],A.prototype,"maxWidth",2);T([a({type:String})],A.prototype,"altressource",2);T([a({type:Object})],A.prototype,"swiperInstance",2);T([V()],A.prototype,"focusedIndex",2);A=T([x("thumbnail-navigation")],A);var no=Object.defineProperty,ro=Object.getOwnPropertyDescriptor,St=(o,t,e,n)=>{for(var i=n>1?void 0:n?ro(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&no(t,e,i),i};let it=class extends b{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
|
|
1095
1097
|
<span class="tag ${this.bgstyle}"><slot></slot></span>
|
|
1096
1098
|
`}};it.styles=y`
|
|
1097
1099
|
.tag {
|
|
@@ -1148,7 +1150,7 @@
|
|
|
1148
1150
|
background-color: var(--color-content-success);
|
|
1149
1151
|
}
|
|
1150
1152
|
|
|
1151
|
-
`;St([a({type:String,reflect:!0})],it.prototype,"type",2);St([a({type:String,reflect:!0})],it.prototype,"bgstyle",2);it=St([x("o-tag")],it);var
|
|
1153
|
+
`;St([a({type:String,reflect:!0})],it.prototype,"type",2);St([a({type:String,reflect:!0})],it.prototype,"bgstyle",2);it=St([x("o-tag")],it);var so=Object.defineProperty,ao=Object.getOwnPropertyDescriptor,Et=(o,t,e,n)=>{for(var i=n>1?void 0:n?ao(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&so(t,e,i),i};let nt=class extends b{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
|
|
1152
1154
|
<div class="tooltip">
|
|
1153
1155
|
<span class="tooltiptext">${this.text}</span>
|
|
1154
1156
|
<slot></slot>
|
|
@@ -1245,7 +1247,7 @@
|
|
|
1245
1247
|
border-color: transparent var(--color-alpha-dark-strongest) transparent transparent;
|
|
1246
1248
|
}
|
|
1247
1249
|
|
|
1248
|
-
`;Et([a({type:String,reflect:!0})],nt.prototype,"type",2);Et([a({type:String,reflect:!0})],nt.prototype,"text",2);nt=Et([x("o-tooltip")],nt);var
|
|
1250
|
+
`;Et([a({type:String,reflect:!0})],nt.prototype,"type",2);Et([a({type:String,reflect:!0})],nt.prototype,"text",2);nt=Et([x("o-tooltip")],nt);var lo=Object.defineProperty,co=Object.getOwnPropertyDescriptor,P=(o,t,e,n)=>{for(var i=n>1?void 0:n?co(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&lo(t,e,i),i};let k=class extends b{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>{this._focusActiveOption()})}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(o){this.options.length>0&&(this.options.some(e=>e.value===this.value)||(this.value=this.options[0].value))}render(){const o=X.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
|
|
1249
1251
|
<button
|
|
1250
1252
|
role="combobox"
|
|
1251
1253
|
aria-haspopup="listbox"
|
|
@@ -1432,7 +1434,7 @@
|
|
|
1432
1434
|
input[type="hidden"] {
|
|
1433
1435
|
display: none;
|
|
1434
1436
|
}
|
|
1435
|
-
`;P([a({type:Array,reflect:!0})],k.prototype,"options",2);P([a({type:String,reflect:!0})],k.prototype,"value",2);P([a({type:String,reflect:!0})],k.prototype,"name",2);P([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2);P([a({type:String,reflect:!0})],k.prototype,"width",2);P([V()],k.prototype,"open",2);P([V()],k.prototype,"activeIndex",2);P([V()],k.prototype,"menuWidth",2);k=P([x("o-dropdown")],k);var
|
|
1437
|
+
`;P([a({type:Array,reflect:!0})],k.prototype,"options",2);P([a({type:String,reflect:!0})],k.prototype,"value",2);P([a({type:String,reflect:!0})],k.prototype,"name",2);P([a({type:Boolean,reflect:!0})],k.prototype,"disabled",2);P([a({type:String,reflect:!0})],k.prototype,"width",2);P([V()],k.prototype,"open",2);P([V()],k.prototype,"activeIndex",2);P([V()],k.prototype,"menuWidth",2);k=P([x("o-dropdown")],k);var ho=Object.getOwnPropertyDescriptor,po=(o,t,e,n)=>{for(var i=n>1?void 0:n?ho(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=r(i)||i);return i};let xt=class extends b{render(){return l` <span class="dots"></span> `}};xt.styles=y`
|
|
1436
1438
|
:host {
|
|
1437
1439
|
display: flex;
|
|
1438
1440
|
align-items: center;
|
|
@@ -1483,7 +1485,7 @@
|
|
|
1483
1485
|
background-color: var(--color-container-action-primary-pressed);
|
|
1484
1486
|
}
|
|
1485
1487
|
}
|
|
1486
|
-
`;xt=
|
|
1488
|
+
`;xt=po([x("o-dots")],xt);var uo=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,L=(o,t,e,n)=>{for(var i=n>1?void 0:n?vo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&uo(t,e,i),i};let C=class extends b{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.additionaltext="+X variant(s)",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>this._focusActiveOption())}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(){this.options.length>0&&(this.options.some(t=>t.value===this.value)||(this.value=this.options[0].value))}render(){const o=X.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
|
|
1487
1489
|
<button
|
|
1488
1490
|
role="combobox"
|
|
1489
1491
|
aria-haspopup="listbox"
|
|
@@ -1724,8 +1726,8 @@
|
|
|
1724
1726
|
* @license
|
|
1725
1727
|
* Copyright 2018 Google LLC
|
|
1726
1728
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1727
|
-
*/const Jt="important",
|
|
1728
|
-
${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${
|
|
1729
|
+
*/const Jt="important",bo=" !"+Jt,go=Gt(class extends Xt{constructor(o){var t;if(super(o),o.type!==Kt.ATTRIBUTE||o.name!=="style"||((t=o.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{const n=o[e];return n==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[t]){const{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?e.removeProperty(n):e[n]=null);for(const n in t){const i=t[n];if(i!=null){this.ft.add(n);const s=typeof i=="string"&&i.endsWith(bo);n.includes("-")||s?e.setProperty(n,s?i.slice(0,-11):i,s?Jt:""):e[n]=i}}return H}});var fo=Object.defineProperty,yo=Object.getOwnPropertyDescriptor,Lt=(o,t,e,n)=>{for(var i=n>1?void 0:n?yo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&fo(t,e,i),i};let rt=class extends b{constructor(){super(...arguments),this.option={},this.imageSize=64}render(){const o=this.option.clickable,t={width:`${this.imageSize}px`,height:`${this.imageSize}px`},e=l`
|
|
1730
|
+
${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${go(t)} />`:""}
|
|
1729
1731
|
<div class="m-reassurance-content">
|
|
1730
1732
|
<h3 class="a-reassurance-text">${$(this.option.title)}</h3>
|
|
1731
1733
|
<p class="a-reassurance-description">${$(this.option.description)}</p>
|
|
@@ -1811,7 +1813,7 @@
|
|
|
1811
1813
|
overflow: hidden;
|
|
1812
1814
|
}
|
|
1813
1815
|
}
|
|
1814
|
-
`;Lt([a({type:Object,reflect:!0})],rt.prototype,"option",2);Lt([a({type:Number,reflect:!0})],rt.prototype,"imageSize",2);rt=Lt([x("o-reassurance")],rt);var
|
|
1816
|
+
`;Lt([a({type:Object,reflect:!0})],rt.prototype,"option",2);Lt([a({type:Number,reflect:!0})],rt.prototype,"imageSize",2);rt=Lt([x("o-reassurance")],rt);var mo=Object.defineProperty,wo=Object.getOwnPropertyDescriptor,j=(o,t,e,n)=>{for(var i=n>1?void 0:n?wo(t,e):t,s=o.length-1,r;s>=0;s--)(r=o[s])&&(i=(n?r(t,e,i):r(i))||i);return n&&i&&mo(t,e,i),i};const xo=Wt(b);let S=class extends xo{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1}handleClick(o){this.selected||(this.selected=!0)}render(){const o=this.text;return this.link?l`
|
|
1815
1817
|
<a href="${this.link}" class="o-chip">
|
|
1816
1818
|
${o?this.text:l`<slot></slot>`}
|
|
1817
1819
|
</a>
|
package/index.mjs
CHANGED
|
@@ -282,9 +282,9 @@ q.elementStyles = [], q.shadowRootOptions = { mode: "open" }, q[Y("elementProper
|
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const Q = globalThis, ht = Q.trustedTypes, zt = ht ? ht.createPolicy("lit-html", { createHTML: (o) => o }) : void 0,
|
|
285
|
+
const Q = globalThis, ht = Q.trustedTypes, zt = ht ? ht.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Rt = "$lit$", z = `lit$${Math.random().toFixed(9).slice(2)}$`, Ft = "?" + z, ae = `<${Ft}>`, F = document, tt = () => F.createComment(""), et = (o) => o === null || typeof o != "object" && typeof o != "function", kt = Array.isArray, le = (o) => kt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", bt = `[
|
|
286
286
|
\f\r]`, J = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dt = /-->/g, Ht = />/g, U = RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Mt = /'/g, Tt = /"/g, Vt = /^(?:script|style|textarea|title)$/i, ce = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ce(1), H = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), N =
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Mt = /'/g, Tt = /"/g, Vt = /^(?:script|style|textarea|title)$/i, ce = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ce(1), H = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), N = F.createTreeWalker(F, 129);
|
|
288
288
|
function Zt(o, t) {
|
|
289
289
|
if (!kt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
290
|
return zt !== void 0 ? zt.createHTML(t) : t;
|
|
@@ -297,7 +297,7 @@ const he = (o, t) => {
|
|
|
297
297
|
let v, f, p = -1, I = 0;
|
|
298
298
|
for (; I < c.length && (r.lastIndex = I, f = r.exec(c), f !== null); ) I = r.lastIndex, r === J ? f[1] === "!--" ? r = Dt : f[1] !== void 0 ? r = Ht : f[2] !== void 0 ? (Vt.test(f[2]) && (i = RegExp("</" + f[2], "g")), r = U) : f[3] !== void 0 && (r = U) : r === U ? f[0] === ">" ? (r = i ?? J, p = -1) : f[1] === void 0 ? p = -2 : (p = r.lastIndex - f[2].length, v = f[1], r = f[3] === void 0 ? U : f[3] === '"' ? Tt : Mt) : r === Tt || r === Mt ? r = U : r === Dt || r === Ht ? r = J : (r = U, i = void 0);
|
|
299
299
|
const B = r === U && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
s += r === J ? c + ae : p >= 0 ? (n.push(v), c.slice(0, p) +
|
|
300
|
+
s += r === J ? c + ae : p >= 0 ? (n.push(v), c.slice(0, p) + Rt + c.slice(p) + z + B) : c + z + (p === -2 ? h : B);
|
|
301
301
|
}
|
|
302
302
|
return [Zt(o, s + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
@@ -313,7 +313,7 @@ class ot {
|
|
|
313
313
|
}
|
|
314
314
|
for (; (i = N.nextNode()) !== null && c.length < h; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(Rt)) {
|
|
317
317
|
const I = f[r++], B = i.getAttribute(p).split(z), at = /([.?@])?(.*)/.exec(I);
|
|
318
318
|
c.push({ type: 1, index: s, name: at[2], strings: B, ctor: at[1] === "." ? pe : at[1] === "?" ? ue : at[1] === "@" ? ve : dt }), i.removeAttribute(p);
|
|
319
319
|
} else p.startsWith(z) && (c.push({ type: 6, index: s }), i.removeAttribute(p));
|
|
@@ -325,7 +325,7 @@ class ot {
|
|
|
325
325
|
i.append(p[I], tt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === Ft) c.push({ type: 2, index: s });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
331
|
for (; (p = i.data.indexOf(z, p + 1)) !== -1; ) c.push({ type: 7, index: s }), p += z.length - 1;
|
|
@@ -334,7 +334,7 @@ class ot {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, e) {
|
|
337
|
-
const n =
|
|
337
|
+
const n = F.createElement("template");
|
|
338
338
|
return n.innerHTML = t, n;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
@@ -356,7 +356,7 @@ class de {
|
|
|
356
356
|
return this._$AM._$AU;
|
|
357
357
|
}
|
|
358
358
|
u(t) {
|
|
359
|
-
const { el: { content: e }, parts: n } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ??
|
|
359
|
+
const { el: { content: e }, parts: n } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? F).importNode(e, !0);
|
|
360
360
|
N.currentNode = i;
|
|
361
361
|
let s = N.nextNode(), r = 0, h = 0, c = n[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
@@ -366,7 +366,7 @@ class de {
|
|
|
366
366
|
}
|
|
367
367
|
r !== (c == null ? void 0 : c.index) && (s = N.nextNode(), r++);
|
|
368
368
|
}
|
|
369
|
-
return N.currentNode =
|
|
369
|
+
return N.currentNode = F, i;
|
|
370
370
|
}
|
|
371
371
|
p(t) {
|
|
372
372
|
let e = 0;
|
|
@@ -402,7 +402,7 @@ class st {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d && et(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
405
|
+
this._$AH !== d && et(this._$AH) ? this._$AA.nextSibling.data = t : this.T(F.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var s;
|
|
@@ -518,7 +518,7 @@ const ge = (o, t, e) => {
|
|
|
518
518
|
* Copyright 2017 Google LLC
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
|
-
const
|
|
521
|
+
const R = globalThis;
|
|
522
522
|
let b = class extends q {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -545,10 +545,10 @@ let b = class extends q {
|
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
var Ut;
|
|
548
|
-
b._$litElement$ = !0, b.finalized = !0, (Ut =
|
|
549
|
-
const ft =
|
|
548
|
+
b._$litElement$ = !0, b.finalized = !0, (Ut = R.litElementHydrateSupport) == null || Ut.call(R, { LitElement: b });
|
|
549
|
+
const ft = R.litElementPolyfillSupport;
|
|
550
550
|
ft == null || ft({ LitElement: b });
|
|
551
|
-
(
|
|
551
|
+
(R.litElementVersions ?? (R.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
@@ -737,7 +737,9 @@ const we = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
737
737
|
`, Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
738
738
|
<path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
|
|
739
739
|
</svg>
|
|
740
|
-
`,
|
|
740
|
+
`, Re = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
741
|
+
<line x1="0" y1="0" x2="200" y2="200" />
|
|
742
|
+
</svg>`, X = {
|
|
741
743
|
wishlist: we,
|
|
742
744
|
playerv: xe,
|
|
743
745
|
chevronRight: $e,
|
|
@@ -759,7 +761,8 @@ const we = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
759
761
|
triangleup: Te,
|
|
760
762
|
checkstroke: je,
|
|
761
763
|
pause: Ue,
|
|
762
|
-
mapDualArrow: Ne
|
|
764
|
+
mapDualArrow: Ne,
|
|
765
|
+
strikeDiagonal: Re
|
|
763
766
|
};
|
|
764
767
|
/**
|
|
765
768
|
* @license
|
|
@@ -812,13 +815,13 @@ class wt extends mt {
|
|
|
812
815
|
}
|
|
813
816
|
wt.directiveName = "unsafeSVG", wt.resultType = 2;
|
|
814
817
|
const M = Gt(wt);
|
|
815
|
-
var Fe = Object.defineProperty,
|
|
816
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
818
|
+
var Fe = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, w = (o, t, e, n) => {
|
|
819
|
+
for (var i = n > 1 ? void 0 : n ? Ve(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
817
820
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
818
821
|
return n && i && Fe(t, e, i), i;
|
|
819
822
|
};
|
|
820
|
-
const
|
|
821
|
-
let u = class extends
|
|
823
|
+
const Ze = Wt(b);
|
|
824
|
+
let u = class extends Ze {
|
|
822
825
|
constructor() {
|
|
823
826
|
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "";
|
|
824
827
|
}
|
|
@@ -1091,10 +1094,10 @@ w([
|
|
|
1091
1094
|
u = w([
|
|
1092
1095
|
x("o-button")
|
|
1093
1096
|
], u);
|
|
1094
|
-
var
|
|
1095
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1097
|
+
var qe = Object.defineProperty, We = Object.getOwnPropertyDescriptor, pt = (o, t, e, n) => {
|
|
1098
|
+
for (var i = n > 1 ? void 0 : n ? We(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1096
1099
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1097
|
-
return n && i &&
|
|
1100
|
+
return n && i && qe(t, e, i), i;
|
|
1098
1101
|
};
|
|
1099
1102
|
let K = class extends b {
|
|
1100
1103
|
constructor() {
|
|
@@ -1219,10 +1222,10 @@ K = pt([
|
|
|
1219
1222
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1220
1223
|
*/
|
|
1221
1224
|
const $ = (o) => o ?? d;
|
|
1222
|
-
var
|
|
1223
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1225
|
+
var Ke = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, E = (o, t, e, n) => {
|
|
1226
|
+
for (var i = n > 1 ? void 0 : n ? Ge(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1224
1227
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1225
|
-
return n && i &&
|
|
1228
|
+
return n && i && Ke(t, e, i), i;
|
|
1226
1229
|
};
|
|
1227
1230
|
let _ = class extends b {
|
|
1228
1231
|
constructor() {
|
|
@@ -1492,10 +1495,10 @@ E([
|
|
|
1492
1495
|
_ = E([
|
|
1493
1496
|
x("o-icon-button")
|
|
1494
1497
|
], _);
|
|
1495
|
-
var
|
|
1496
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1498
|
+
var Xe = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, Z = (o, t, e, n) => {
|
|
1499
|
+
for (var i = n > 1 ? void 0 : n ? Je(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1497
1500
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1498
|
-
return n && i &&
|
|
1501
|
+
return n && i && Xe(t, e, i), i;
|
|
1499
1502
|
};
|
|
1500
1503
|
let O = class extends b {
|
|
1501
1504
|
constructor() {
|
|
@@ -1644,10 +1647,10 @@ Z([
|
|
|
1644
1647
|
O = Z([
|
|
1645
1648
|
x("o-link")
|
|
1646
1649
|
], O);
|
|
1647
|
-
var
|
|
1648
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1650
|
+
var Ye = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, ut = (o, t, e, n) => {
|
|
1651
|
+
for (var i = n > 1 ? void 0 : n ? Qe(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1649
1652
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1650
|
-
return n && i &&
|
|
1653
|
+
return n && i && Ye(t, e, i), i;
|
|
1651
1654
|
};
|
|
1652
1655
|
let G = class extends b {
|
|
1653
1656
|
constructor() {
|
|
@@ -1722,10 +1725,10 @@ ut([
|
|
|
1722
1725
|
G = ut([
|
|
1723
1726
|
x("o-rating")
|
|
1724
1727
|
], G);
|
|
1725
|
-
var
|
|
1726
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1728
|
+
var to = Object.defineProperty, eo = Object.getOwnPropertyDescriptor, m = (o, t, e, n) => {
|
|
1729
|
+
for (var i = n > 1 ? void 0 : n ? eo(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1727
1730
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1728
|
-
return n && i &&
|
|
1731
|
+
return n && i && to(t, e, i), i;
|
|
1729
1732
|
};
|
|
1730
1733
|
let g = class extends b {
|
|
1731
1734
|
constructor() {
|
|
@@ -2015,10 +2018,10 @@ m([
|
|
|
2015
2018
|
g = m([
|
|
2016
2019
|
x("o-side-panel")
|
|
2017
2020
|
], g);
|
|
2018
|
-
var
|
|
2019
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2021
|
+
var oo = Object.defineProperty, io = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
|
|
2022
|
+
for (var i = n > 1 ? void 0 : n ? io(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2020
2023
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2021
|
-
return n && i &&
|
|
2024
|
+
return n && i && oo(t, e, i), i;
|
|
2022
2025
|
};
|
|
2023
2026
|
let A = class extends b {
|
|
2024
2027
|
constructor() {
|
|
@@ -2227,10 +2230,10 @@ T([
|
|
|
2227
2230
|
A = T([
|
|
2228
2231
|
x("thumbnail-navigation")
|
|
2229
2232
|
], A);
|
|
2230
|
-
var
|
|
2231
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2233
|
+
var no = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, St = (o, t, e, n) => {
|
|
2234
|
+
for (var i = n > 1 ? void 0 : n ? ro(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2232
2235
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2233
|
-
return n && i &&
|
|
2236
|
+
return n && i && no(t, e, i), i;
|
|
2234
2237
|
};
|
|
2235
2238
|
let it = class extends b {
|
|
2236
2239
|
constructor() {
|
|
@@ -2307,10 +2310,10 @@ St([
|
|
|
2307
2310
|
it = St([
|
|
2308
2311
|
x("o-tag")
|
|
2309
2312
|
], it);
|
|
2310
|
-
var
|
|
2311
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2313
|
+
var so = Object.defineProperty, ao = Object.getOwnPropertyDescriptor, Et = (o, t, e, n) => {
|
|
2314
|
+
for (var i = n > 1 ? void 0 : n ? ao(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2312
2315
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2313
|
-
return n && i &&
|
|
2316
|
+
return n && i && so(t, e, i), i;
|
|
2314
2317
|
};
|
|
2315
2318
|
let nt = class extends b {
|
|
2316
2319
|
constructor() {
|
|
@@ -2427,10 +2430,10 @@ Et([
|
|
|
2427
2430
|
nt = Et([
|
|
2428
2431
|
x("o-tooltip")
|
|
2429
2432
|
], nt);
|
|
2430
|
-
var
|
|
2431
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2433
|
+
var lo = Object.defineProperty, co = Object.getOwnPropertyDescriptor, P = (o, t, e, n) => {
|
|
2434
|
+
for (var i = n > 1 ? void 0 : n ? co(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2432
2435
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2433
|
-
return n && i &&
|
|
2436
|
+
return n && i && lo(t, e, i), i;
|
|
2434
2437
|
};
|
|
2435
2438
|
let k = class extends b {
|
|
2436
2439
|
constructor() {
|
|
@@ -2722,8 +2725,8 @@ P([
|
|
|
2722
2725
|
k = P([
|
|
2723
2726
|
x("o-dropdown")
|
|
2724
2727
|
], k);
|
|
2725
|
-
var
|
|
2726
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2728
|
+
var ho = Object.getOwnPropertyDescriptor, po = (o, t, e, n) => {
|
|
2729
|
+
for (var i = n > 1 ? void 0 : n ? ho(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2727
2730
|
(r = o[s]) && (i = r(i) || i);
|
|
2728
2731
|
return i;
|
|
2729
2732
|
};
|
|
@@ -2784,13 +2787,13 @@ xt.styles = y`
|
|
|
2784
2787
|
}
|
|
2785
2788
|
}
|
|
2786
2789
|
`;
|
|
2787
|
-
xt =
|
|
2790
|
+
xt = po([
|
|
2788
2791
|
x("o-dots")
|
|
2789
2792
|
], xt);
|
|
2790
|
-
var
|
|
2791
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2793
|
+
var uo = Object.defineProperty, vo = Object.getOwnPropertyDescriptor, L = (o, t, e, n) => {
|
|
2794
|
+
for (var i = n > 1 ? void 0 : n ? vo(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2792
2795
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2793
|
-
return n && i &&
|
|
2796
|
+
return n && i && uo(t, e, i), i;
|
|
2794
2797
|
};
|
|
2795
2798
|
let C = class extends b {
|
|
2796
2799
|
constructor() {
|
|
@@ -3140,7 +3143,7 @@ C = L([
|
|
|
3140
3143
|
* Copyright 2018 Google LLC
|
|
3141
3144
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3142
3145
|
*/
|
|
3143
|
-
const Jt = "important",
|
|
3146
|
+
const Jt = "important", bo = " !" + Jt, go = Gt(class extends Xt {
|
|
3144
3147
|
constructor(o) {
|
|
3145
3148
|
var t;
|
|
3146
3149
|
if (super(o), o.type !== Kt.ATTRIBUTE || o.name !== "style" || ((t = o.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
@@ -3159,17 +3162,17 @@ const Jt = "important", vo = " !" + Jt, bo = Gt(class extends Xt {
|
|
|
3159
3162
|
const i = t[n];
|
|
3160
3163
|
if (i != null) {
|
|
3161
3164
|
this.ft.add(n);
|
|
3162
|
-
const s = typeof i == "string" && i.endsWith(
|
|
3165
|
+
const s = typeof i == "string" && i.endsWith(bo);
|
|
3163
3166
|
n.includes("-") || s ? e.setProperty(n, s ? i.slice(0, -11) : i, s ? Jt : "") : e[n] = i;
|
|
3164
3167
|
}
|
|
3165
3168
|
}
|
|
3166
3169
|
return H;
|
|
3167
3170
|
}
|
|
3168
3171
|
});
|
|
3169
|
-
var
|
|
3170
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3172
|
+
var fo = Object.defineProperty, yo = Object.getOwnPropertyDescriptor, Lt = (o, t, e, n) => {
|
|
3173
|
+
for (var i = n > 1 ? void 0 : n ? yo(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
3171
3174
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
3172
|
-
return n && i &&
|
|
3175
|
+
return n && i && fo(t, e, i), i;
|
|
3173
3176
|
};
|
|
3174
3177
|
let rt = class extends b {
|
|
3175
3178
|
constructor() {
|
|
@@ -3180,7 +3183,7 @@ let rt = class extends b {
|
|
|
3180
3183
|
width: `${this.imageSize}px`,
|
|
3181
3184
|
height: `${this.imageSize}px`
|
|
3182
3185
|
}, e = l`
|
|
3183
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${
|
|
3186
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${go(t)} />` : ""}
|
|
3184
3187
|
<div class="m-reassurance-content">
|
|
3185
3188
|
<h3 class="a-reassurance-text">${$(this.option.title)}</h3>
|
|
3186
3189
|
<p class="a-reassurance-description">${$(this.option.description)}</p>
|
|
@@ -3280,13 +3283,13 @@ Lt([
|
|
|
3280
3283
|
rt = Lt([
|
|
3281
3284
|
x("o-reassurance")
|
|
3282
3285
|
], rt);
|
|
3283
|
-
var
|
|
3284
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3286
|
+
var mo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
|
|
3287
|
+
for (var i = n > 1 ? void 0 : n ? wo(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
3285
3288
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
3286
|
-
return n && i &&
|
|
3289
|
+
return n && i && mo(t, e, i), i;
|
|
3287
3290
|
};
|
|
3288
|
-
const
|
|
3289
|
-
let S = class extends
|
|
3291
|
+
const xo = Wt(b);
|
|
3292
|
+
let S = class extends xo {
|
|
3290
3293
|
constructor() {
|
|
3291
3294
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1;
|
|
3292
3295
|
}
|