@fluid-topics/ft-reorderable-list 1.2.61 → 1.2.62
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.
|
@@ -63,7 +63,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
63
63
|
border-radius: 999px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
`;var Zr=b(E());var Rr=Symbol.for(""),Sn=e=>{if(e?.r===Rr)return e?._$litStatic$},ro=e=>({_$litStatic$:e,r:Rr});var Er=new Map,ao=e=>(o,...a)=>{let n=a.length,c,l,s=[],p=[],y,h=0,C=!1;for(;h<n;){for(y=o[h];h<n&&(l=a[h],(c=Sn(l))!==void 0);)y+=c+o[++h],C=!0;h!==n&&p.push(l),s.push(y),h++}if(h===n&&s.push(o[n]),C){let x=s.join("$$lit$$");(o=Er.get(x))===void 0&&(s.raw=s,Er.set(x,o=s)),a=p}return e(o,...a)},no=ao(Ho),Fs=ao(Do),Ks=ao(Uo);var io=b(it()),Mr=b(E());var
|
|
66
|
+
`;var Zr=b(E());var Rr=Symbol.for(""),Sn=e=>{if(e?.r===Rr)return e?._$litStatic$},ro=e=>({_$litStatic$:e,r:Rr});var Er=new Map,ao=e=>(o,...a)=>{let n=a.length,c,l,s=[],p=[],y,h=0,C=!1;for(;h<n;){for(y=o[h];h<n&&(l=a[h],(c=Sn(l))!==void 0);)y+=c+o[++h],C=!0;h!==n&&p.push(l),s.push(y),h++}if(h===n&&s.push(o[n]),C){let x=s.join("$$lit$$");(o=Er.get(x))===void 0&&(s.raw=s,Er.set(x,o=s)),a=p}return e(o,...a)},no=ao(Ho),Fs=ao(Do),Ks=ao(Uo);var io=b(it()),Mr=b(E());var V;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(V||(V={}));var nt=b(T()),m=b(E());var Te=b(T());function Lr(e){let o=Pe[e];return Te.css`
|
|
67
67
|
.ft-typography--${(0,Te.unsafeCSS)(e)} {
|
|
68
68
|
font-family: ${o.fontFamily};
|
|
69
69
|
font-size: ${o.fontSize};
|
|
@@ -167,7 +167,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
167
167
|
.ft-typography {
|
|
168
168
|
vertical-align: inherit;
|
|
169
169
|
}
|
|
170
|
-
`,Ur=[Object.keys(Pe).map(e=>Lr(e))];var Gr=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},X=class extends Mr.FtLitElement{constructor(){super(...arguments),this.variant=
|
|
170
|
+
`,Ur=[Object.keys(Pe).map(e=>Lr(e))];var Gr=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},X=class extends Mr.FtLitElement{constructor(){super(...arguments),this.variant=V.body1}render(){return this.element?no`
|
|
171
171
|
<${ro(this.element)}
|
|
172
172
|
part="text"
|
|
173
173
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -404,7 +404,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
404
404
|
.ft-icon--material {
|
|
405
405
|
font-family: ${H.materialFontFamily}, "Material Icons", sans-serif;
|
|
406
406
|
}
|
|
407
|
-
`,ct.noTextSelect];var oa=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),
|
|
407
|
+
`,ct.noTextSelect];var oa=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),G={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:oa,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",yt.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",oa),verticalPadding:O.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:O.FtCssVariableFactory.external(O.designSystemVariables.colorOpacityDisabled,"Design system")},ra=O.FtCssVariableFactory.extend("--ft-button-primary-color","",O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorOnPrimary)),co={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-primary-background-color","",O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorPrimary)),color:ra,rippleColor:O.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ra)},ut={borderRadius:O.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusM)),verticalPadding:O.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},na=[aa.css`
|
|
408
408
|
:host {
|
|
409
409
|
display: inline-block;
|
|
410
410
|
max-width: 100%;
|
|
@@ -415,7 +415,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
415
415
|
box-shadow: 0px 0px 0px transparent;
|
|
416
416
|
border: 0px solid transparent;
|
|
417
417
|
text-shadow: 0px 0px 0px transparent;
|
|
418
|
-
font-size: ${
|
|
418
|
+
font-size: ${G.fontSize};
|
|
419
419
|
text-decoration: none;
|
|
420
420
|
}
|
|
421
421
|
|
|
@@ -445,21 +445,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
445
445
|
border: none;
|
|
446
446
|
pointer-events: auto;
|
|
447
447
|
|
|
448
|
-
--ft-button-internal-line-height: max(calc(${
|
|
449
|
-
--ft-button-internal-color: ${
|
|
450
|
-
${(0,O.setVariable)(H.size,
|
|
451
|
-
${(0,O.setVariable)(u.color,
|
|
448
|
+
--ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
|
|
449
|
+
--ft-button-internal-color: ${G.color};
|
|
450
|
+
${(0,O.setVariable)(H.size,G.iconSize)};
|
|
451
|
+
${(0,O.setVariable)(u.color,G.rippleColor)};
|
|
452
452
|
|
|
453
|
-
border-radius: ${
|
|
454
|
-
padding: ${
|
|
455
|
-
background-color: ${
|
|
453
|
+
border-radius: ${G.borderRadius};
|
|
454
|
+
padding: ${G.verticalPadding} ${G.horizontalPadding};
|
|
455
|
+
background-color: ${G.backgroundColor};
|
|
456
456
|
color: var(--ft-button-internal-color);
|
|
457
457
|
-webkit-mask-image: radial-gradient(white, black);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
.ft-button.ft-button--outlined {
|
|
461
461
|
border: 1px solid var(--ft-button-internal-color);
|
|
462
|
-
padding: calc(${
|
|
462
|
+
padding: calc(${G.verticalPadding} - 1px) calc(${G.horizontalPadding} - 1px);
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.ft-button.ft-button--dense {
|
|
@@ -477,7 +477,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
.ft-button--round {
|
|
480
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
480
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${G.verticalPadding});
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
.ft-button--round.ft-button--dense {
|
|
@@ -486,7 +486,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
486
486
|
|
|
487
487
|
.ft-button[disabled] {
|
|
488
488
|
filter: grayscale(1);
|
|
489
|
-
opacity: ${
|
|
489
|
+
opacity: ${G.opacityDisabled};
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
.ft-button.ft-button--primary {
|
|
@@ -505,7 +505,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
505
505
|
white-space: nowrap;
|
|
506
506
|
text-overflow: ellipsis;
|
|
507
507
|
display: block;
|
|
508
|
-
margin: 0 ${
|
|
508
|
+
margin: 0 ${G.iconPadding};
|
|
509
509
|
${(0,O.setVariable)(yt.fontSize,"1em")};
|
|
510
510
|
${(0,O.setVariable)(yt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
511
511
|
}
|
|
@@ -524,8 +524,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
.ft-button--label[hidden] + [part="icon"] {
|
|
527
|
-
margin: 0 calc(${
|
|
528
|
-
padding: 0 ${
|
|
527
|
+
margin: 0 calc(${G.horizontalPadding} * -1);
|
|
528
|
+
padding: 0 ${G.verticalPadding};
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -538,7 +538,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
ft-loader {
|
|
541
|
-
${(0,O.setVariable)(L.size,
|
|
541
|
+
${(0,O.setVariable)(L.size,G.iconSize)};
|
|
542
542
|
${(0,O.setVariable)(L.color,"var(--ft-button-internal-color)")};
|
|
543
543
|
}
|
|
544
544
|
`,O.noTextSelect];var Bt=b(E());var sa=b(E());var ca=b(T()),M=b(it()),la=b(ke()),ye=b(E());var Q=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},I=class extends ye.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ye.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ye.Debouncer(10),this.moveRipple=o=>{var a,n;let{x:c,y:l}=this.getCoordinates(o),s=(n=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(c!=null?c-s.x:s.width/2),this.originY=Math.round(l!=null?l-s.y:s.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ca.html`
|
|
@@ -581,7 +581,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
581
581
|
position: relative;
|
|
582
582
|
word-break: break-word;
|
|
583
583
|
}
|
|
584
|
-
`;var ya=["top","right","bottom","left"],fa=["start","end"],so=ya.reduce((e,o)=>e.concat(o,o+"-"+fa[0],o+"-"+fa[1]),[]),ua=Math.min,ga=Math.max;var Cn={left:"right",right:"left",bottom:"top",top:"bottom"},On={start:"end",end:"start"};function po(e,o,a){return ga(e,ua(o,a))}function ze(e,o){return typeof e=="function"?e(o):e}function re(e){return e.split("-")[0]}function At(e){return e.split("-")[1]}function fo(e){return e==="x"?"y":"x"}function yo(e){return e==="y"?"height":"width"}function _e(e){return["top","bottom"].includes(re(e))?"y":"x"}function uo(e){return fo(_e(e))}function ma(e,o,a){a===void 0&&(a=!1);let n=At(e),c=uo(e),l=yo(c),s=c==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(s=lo(s)),[s,lo(s)]}function ha(e){return e.replace(/start|end/g,o=>On[o])}function lo(e){return e.replace(/left|right|bottom|top/g,o=>Cn[o])}function vn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ba(e){return typeof e!="number"?vn(e):{top:e,right:e,bottom:e,left:e}}function Ut(e){let{x:o,y:a,width:n,height:c}=e;return{width:n,height:c,top:a,left:o,right:o+n,bottom:a+c,x:o,y:a}}function xa(e,o,a){let{reference:n,floating:c}=e,l=_e(o),s=uo(o),p=yo(s),y=re(o),h=l==="y",C=n.x+n.width/2-c.width/2,x=n.y+n.height/2-c.height/2,N=n[p]/2-c[p]/2,v;switch(y){case"top":v={x:C,y:n.y-c.height};break;case"bottom":v={x:C,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:x};break;case"left":v={x:n.x-c.width,y:x};break;default:v={x:n.x,y:n.y}}switch(At(o)){case"start":v[s]-=N*(a&&h?-1:1);break;case"end":v[s]+=N*(a&&h?-1:1);break}return v}var Sa=async(e,o,a)=>{let{placement:n="bottom",strategy:c="absolute",middleware:l=[],platform:s}=a,p=l.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:c}),{x:C,y:x}=xa(h,n,y),N=n,v={},w=0;for(let P=0;P<p.length;P++){let{name:z,fn:W}=p[P],{x:_,y:j,data:Rt,reset:F}=await W({x:C,y:x,initialPlacement:n,placement:N,strategy:c,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});C=_??C,x=j??x,v={...v,[z]:{...v[z],...Rt}},F&&w<=50&&(w++,typeof F=="object"&&(F.placement&&(N=F.placement),F.rects&&(h=F.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:c}):F.rects),{x:C,y:x}=xa(h,N,y)),P=-1)}return{x:C,y:x,placement:N,strategy:c,middlewareData:v}};async function go(e,o){var a;o===void 0&&(o={});let{x:n,y:c,platform:l,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:C="viewport",elementContext:x="floating",altBoundary:N=!1,padding:v=0}=ze(o,e),w=ba(v),z=p[N?x==="floating"?"reference":"floating":x],W=Ut(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(z)))==null||a?z:z.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:C,strategy:y})),_=x==="floating"?{x:n,y:c,width:s.floating.width,height:s.floating.height}:s.reference,j=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Rt=await(l.isElement==null?void 0:l.isElement(j))?await(l.getScale==null?void 0:l.getScale(j))||{x:1,y:1}:{x:1,y:1},F=Ut(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:_,offsetParent:j,strategy:y}):_);return{top:(W.top-F.top+w.top)/Rt.y,bottom:(F.bottom-W.bottom+w.bottom)/Rt.y,left:(W.left-F.left+w.left)/Rt.x,right:(F.right-W.right+w.right)/Rt.x}}function Nn(e,o,a){return(e?[...a.filter(c=>At(c)===e),...a.filter(c=>At(c)!==e)]:a.filter(c=>re(c)===c)).filter(c=>e?At(c)===e||(o?ha(c)!==c:!1):!0)}var mo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,c;let{rects:l,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:C=!1,alignment:x,allowedPlacements:N=so,autoAlignment:v=!0,...w}=ze(e,o),P=x!==void 0||N===so?Nn(x||null,v,N):N,z=await go(o,w),W=((a=s.autoPlacement)==null?void 0:a.index)||0,_=P[W];if(_==null)return{};let j=ma(_,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==_)return{reset:{placement:P[0]}};let Rt=[z[re(_)],z[j[0]],z[j[1]]],F=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:Rt}],wo=P[W+1];if(wo)return{data:{index:W+1,overflows:F},reset:{placement:wo}};let Eo=F.map(pt=>{let ce=At(pt.placement);return[pt.placement,ce&&C?pt.overflows.slice(0,2).reduce((cn,ln)=>cn+ln,0):pt.overflows[0],pt.overflows]}).sort((pt,ce)=>pt[1]-ce[1]),Ro=((c=Eo.filter(pt=>pt[2].slice(0,At(pt[0])?2:3).every(ce=>ce<=0))[0])==null?void 0:c[0])||Eo[0][0];return Ro!==p?{data:{index:W+1,overflows:F},reset:{placement:Ro}}:{}}}};var ho=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:c}=o,{mainAxis:l=!0,crossAxis:s=!1,limiter:p={fn:z=>{let{x:W,y:_}=z;return{x:W,y:_}}},...y}=ze(e,o),h={x:a,y:n},C=await go(o,y),x=_e(re(c)),N=fo(x),v=h[N],w=h[x];if(l){let z=N==="y"?"top":"left",W=N==="y"?"bottom":"right",_=v+C[z],j=v-C[W];v=po(_,v,j)}if(s){let z=x==="y"?"top":"left",W=x==="y"?"bottom":"right",_=w+C[z],j=w-C[W];w=po(_,w,j)}let P=p.fn({...o,[N]:v,[x]:w});return{...P,data:{x:P.x-a,y:P.y-n,enabled:{[N]:l,[x]:s}}}}}};var bo=Math.min,ae=Math.max,ue=Math.round;var vt=e=>({x:e,y:e});function Nt(e){return Oa(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function wt(e){var o;return(o=(Oa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Oa(e){return e instanceof Node||e instanceof J(e).Node}function gt(e){return e instanceof Element||e instanceof J(e).Element}function lt(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function Ca(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function ne(e){let{overflow:o,overflowX:a,overflowY:n,display:c}=ot(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(c)}function va(e){return["table","td","th"].includes(Nt(e))}function De(e){let o=Ue(),a=ot(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function Na(e){let o=Gt(e);for(;lt(o)&&!ge(o);){if(De(o))return o;o=Gt(o)}return null}function Ue(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ge(e){return["html","body","#document"].includes(Nt(e))}function ot(e){return J(e).getComputedStyle(e)}function me(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Gt(e){if(Nt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Ca(e)&&e.host||wt(e);return Ca(o)?o.host:o}function wa(e){let o=Gt(e);return ge(o)?e.ownerDocument?e.ownerDocument.body:e.body:lt(o)&&ne(o)?o:wa(o)}function He(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=wa(e),l=c===((n=e.ownerDocument)==null?void 0:n.body),s=J(c);return l?o.concat(s,s.visualViewport||[],ne(c)?c:[],s.frameElement&&a?He(s.frameElement):[]):o.concat(c,He(c,[],a))}function La(e){let o=ot(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,c=lt(e),l=c?e.offsetWidth:a,s=c?e.offsetHeight:n,p=ue(a)!==l||ue(n)!==s;return p&&(a=l,n=s),{width:a,height:n,$:p}}function Aa(e){return gt(e)?e:e.contextElement}function ie(e){let o=Aa(e);if(!lt(o))return vt(1);let a=o.getBoundingClientRect(),{width:n,height:c,$:l}=La(o),s=(l?ue(a.width):a.width)/n,p=(l?ue(a.height):a.height)/c;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var Rn=vt(0);function $a(e){let o=J(e);return!Ue()||!o.visualViewport?Rn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ln(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function he(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=Aa(e),s=vt(1);o&&(n?gt(n)&&(s=ie(n)):s=ie(e));let p=Ln(l,a,n)?$a(l):vt(0),y=(c.left+p.x)/s.x,h=(c.top+p.y)/s.y,C=c.width/s.x,x=c.height/s.y;if(l){let N=J(l),v=n&>(n)?J(n):n,w=N.frameElement;for(;w&&n&&v!==N;){let P=ie(w),z=w.getBoundingClientRect(),W=ot(w),_=z.left+(w.clientLeft+parseFloat(W.paddingLeft))*P.x,j=z.top+(w.clientTop+parseFloat(W.paddingTop))*P.y;y*=P.x,h*=P.y,C*=P.x,x*=P.y,y+=_,h+=j,w=J(w).frameElement}}return Ut({width:C,height:x,x:y,y:h})}function An(e){let{rect:o,offsetParent:a,strategy:n}=e,c=lt(a),l=wt(a);if(a===l)return o;let s={scrollLeft:0,scrollTop:0},p=vt(1),y=vt(0);if((c||!c&&n!=="fixed")&&((Nt(a)!=="body"||ne(l))&&(s=me(a)),lt(a))){let h=he(a);p=ie(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+y.x,y:o.y*p.y-s.scrollTop*p.y+y.y}}function $n(e){return Array.from(e.getClientRects())}function Ia(e){return he(wt(e)).left+me(e).scrollLeft}function In(e){let o=wt(e),a=me(e),n=e.ownerDocument.body,c=ae(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),l=ae(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+Ia(e),p=-a.scrollTop;return ot(n).direction==="rtl"&&(s+=ae(o.clientWidth,n.clientWidth)-c),{width:c,height:l,x:s,y:p}}function Bn(e,o){let a=J(e),n=wt(e),c=a.visualViewport,l=n.clientWidth,s=n.clientHeight,p=0,y=0;if(c){l=c.width,s=c.height;let h=Ue();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:s,x:p,y}}function Pn(e,o){let a=he(e,!0,o==="fixed"),n=a.top+e.clientTop,c=a.left+e.clientLeft,l=lt(e)?ie(e):vt(1),s=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=n*l.y;return{width:s,height:p,x:y,y:h}}function Ea(e,o,a){let n;if(o==="viewport")n=Bn(e,a);else if(o==="document")n=In(wt(e));else if(gt(o))n=Pn(o,a);else{let c=$a(e);n={...o,x:o.x-c.x,y:o.y-c.y}}return Ut(n)}function Ba(e,o){let a=Gt(e);return a===o||!gt(a)||ge(a)?!1:ot(a).position==="fixed"||Ba(a,o)}function Wn(e,o){let a=o.get(e);if(a)return a;let n=He(e,[],!1).filter(p=>gt(p)&&Nt(p)!=="body"),c=null,l=ot(e).position==="fixed",s=l?Gt(e):e;for(;gt(s)&&!ge(s);){let p=ot(s),y=De(s);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||ne(s)&&!y&&Ba(e,s))?n=n.filter(C=>C!==s):c=p,s=Gt(s)}return o.set(e,n),n}function Tn(e){let{element:o,boundary:a,rootBoundary:n,strategy:c}=e,s=[...a==="clippingAncestors"?Wn(o,this._c):[].concat(a),n],p=s[0],y=s.reduce((h,C)=>{let x=Ea(o,C,c);return h.top=ae(x.top,h.top),h.right=bo(x.right,h.right),h.bottom=bo(x.bottom,h.bottom),h.left=ae(x.left,h.left),h},Ea(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function kn(e){return La(e)}function zn(e,o,a){let n=lt(o),c=wt(o),l=a==="fixed",s=he(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=vt(0);if(n||!n&&!l)if((Nt(o)!=="body"||ne(c))&&(p=me(o)),n){let h=he(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=Ia(c));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function Ra(e,o){return!lt(e)||ot(e).position==="fixed"?null:o?o(e):e.offsetParent}function Pa(e,o){let a=J(e);if(!lt(e))return a;let n=Ra(e,o);for(;n&&va(n)&&ot(n).position==="static";)n=Ra(n,o);return n&&(Nt(n)==="html"||Nt(n)==="body"&&ot(n).position==="static"&&!De(n))?a:n||Na(e)||a}var _n=async function(e){let{reference:o,floating:a,strategy:n}=e,c=this.getOffsetParent||Pa,l=this.getDimensions;return{reference:zn(o,await c(a),n),floating:{x:0,y:0,...await l(a)}}};function Hn(e){return ot(e).direction==="rtl"}var Ge={convertOffsetParentRelativeRectToViewportRelativeRect:An,getDocumentElement:wt,getClippingRect:Tn,getOffsetParent:Pa,getElementRects:_n,getClientRects:$n,getDimensions:kn,getScale:ie,isElement:gt,isRTL:Hn};var Wa=(e,o,a)=>{let n=new Map,c={platform:Ge,...a},l={...c.platform,_c:n};return Sa(e,o,{...c,platform:l})};function Ta(e){return Dn(e)}function xo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Dn(e){for(let o=e;o;o=xo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=xo(e);o;o=xo(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function ka(e,o,a){return Wa(e,o,{platform:{...Ge,getOffsetParent:n=>Ge.getOffsetParent(n,Ta)},middleware:[ho({crossAxis:!0}),mo({allowedPlacements:[a]})]})}var tt=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},B=class extends be.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new be.Debouncer,this.revealDebouncer=new be.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return za.html`
|
|
584
|
+
`;var ya=["top","right","bottom","left"],fa=["start","end"],so=ya.reduce((e,o)=>e.concat(o,o+"-"+fa[0],o+"-"+fa[1]),[]),ua=Math.min,ga=Math.max;var Cn={left:"right",right:"left",bottom:"top",top:"bottom"},On={start:"end",end:"start"};function po(e,o,a){return ga(e,ua(o,a))}function ze(e,o){return typeof e=="function"?e(o):e}function re(e){return e.split("-")[0]}function At(e){return e.split("-")[1]}function fo(e){return e==="x"?"y":"x"}function yo(e){return e==="y"?"height":"width"}function _e(e){return["top","bottom"].includes(re(e))?"y":"x"}function uo(e){return fo(_e(e))}function ma(e,o,a){a===void 0&&(a=!1);let n=At(e),c=uo(e),l=yo(c),s=c==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(s=lo(s)),[s,lo(s)]}function ha(e){return e.replace(/start|end/g,o=>On[o])}function lo(e){return e.replace(/left|right|bottom|top/g,o=>Cn[o])}function vn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ba(e){return typeof e!="number"?vn(e):{top:e,right:e,bottom:e,left:e}}function Ut(e){let{x:o,y:a,width:n,height:c}=e;return{width:n,height:c,top:a,left:o,right:o+n,bottom:a+c,x:o,y:a}}function xa(e,o,a){let{reference:n,floating:c}=e,l=_e(o),s=uo(o),p=yo(s),y=re(o),h=l==="y",C=n.x+n.width/2-c.width/2,x=n.y+n.height/2-c.height/2,N=n[p]/2-c[p]/2,v;switch(y){case"top":v={x:C,y:n.y-c.height};break;case"bottom":v={x:C,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:x};break;case"left":v={x:n.x-c.width,y:x};break;default:v={x:n.x,y:n.y}}switch(At(o)){case"start":v[s]-=N*(a&&h?-1:1);break;case"end":v[s]+=N*(a&&h?-1:1);break}return v}var Sa=async(e,o,a)=>{let{placement:n="bottom",strategy:c="absolute",middleware:l=[],platform:s}=a,p=l.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:c}),{x:C,y:x}=xa(h,n,y),N=n,v={},w=0;for(let P=0;P<p.length;P++){let{name:z,fn:W}=p[P],{x:_,y:j,data:Rt,reset:K}=await W({x:C,y:x,initialPlacement:n,placement:N,strategy:c,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});C=_??C,x=j??x,v={...v,[z]:{...v[z],...Rt}},K&&w<=50&&(w++,typeof K=="object"&&(K.placement&&(N=K.placement),K.rects&&(h=K.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:c}):K.rects),{x:C,y:x}=xa(h,N,y)),P=-1)}return{x:C,y:x,placement:N,strategy:c,middlewareData:v}};async function go(e,o){var a;o===void 0&&(o={});let{x:n,y:c,platform:l,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:C="viewport",elementContext:x="floating",altBoundary:N=!1,padding:v=0}=ze(o,e),w=ba(v),z=p[N?x==="floating"?"reference":"floating":x],W=Ut(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(z)))==null||a?z:z.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:C,strategy:y})),_=x==="floating"?{x:n,y:c,width:s.floating.width,height:s.floating.height}:s.reference,j=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Rt=await(l.isElement==null?void 0:l.isElement(j))?await(l.getScale==null?void 0:l.getScale(j))||{x:1,y:1}:{x:1,y:1},K=Ut(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:_,offsetParent:j,strategy:y}):_);return{top:(W.top-K.top+w.top)/Rt.y,bottom:(K.bottom-W.bottom+w.bottom)/Rt.y,left:(W.left-K.left+w.left)/Rt.x,right:(K.right-W.right+w.right)/Rt.x}}function Nn(e,o,a){return(e?[...a.filter(c=>At(c)===e),...a.filter(c=>At(c)!==e)]:a.filter(c=>re(c)===c)).filter(c=>e?At(c)===e||(o?ha(c)!==c:!1):!0)}var mo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,c;let{rects:l,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:C=!1,alignment:x,allowedPlacements:N=so,autoAlignment:v=!0,...w}=ze(e,o),P=x!==void 0||N===so?Nn(x||null,v,N):N,z=await go(o,w),W=((a=s.autoPlacement)==null?void 0:a.index)||0,_=P[W];if(_==null)return{};let j=ma(_,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==_)return{reset:{placement:P[0]}};let Rt=[z[re(_)],z[j[0]],z[j[1]]],K=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:Rt}],wo=P[W+1];if(wo)return{data:{index:W+1,overflows:K},reset:{placement:wo}};let Eo=K.map(pt=>{let ce=At(pt.placement);return[pt.placement,ce&&C?pt.overflows.slice(0,2).reduce((cn,ln)=>cn+ln,0):pt.overflows[0],pt.overflows]}).sort((pt,ce)=>pt[1]-ce[1]),Ro=((c=Eo.filter(pt=>pt[2].slice(0,At(pt[0])?2:3).every(ce=>ce<=0))[0])==null?void 0:c[0])||Eo[0][0];return Ro!==p?{data:{index:W+1,overflows:K},reset:{placement:Ro}}:{}}}};var ho=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:c}=o,{mainAxis:l=!0,crossAxis:s=!1,limiter:p={fn:z=>{let{x:W,y:_}=z;return{x:W,y:_}}},...y}=ze(e,o),h={x:a,y:n},C=await go(o,y),x=_e(re(c)),N=fo(x),v=h[N],w=h[x];if(l){let z=N==="y"?"top":"left",W=N==="y"?"bottom":"right",_=v+C[z],j=v-C[W];v=po(_,v,j)}if(s){let z=x==="y"?"top":"left",W=x==="y"?"bottom":"right",_=w+C[z],j=w-C[W];w=po(_,w,j)}let P=p.fn({...o,[N]:v,[x]:w});return{...P,data:{x:P.x-a,y:P.y-n,enabled:{[N]:l,[x]:s}}}}}};var bo=Math.min,ae=Math.max,ue=Math.round;var vt=e=>({x:e,y:e});function Nt(e){return Oa(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function wt(e){var o;return(o=(Oa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Oa(e){return e instanceof Node||e instanceof J(e).Node}function gt(e){return e instanceof Element||e instanceof J(e).Element}function lt(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function Ca(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function ne(e){let{overflow:o,overflowX:a,overflowY:n,display:c}=ot(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(c)}function va(e){return["table","td","th"].includes(Nt(e))}function De(e){let o=Ue(),a=ot(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function Na(e){let o=Gt(e);for(;lt(o)&&!ge(o);){if(De(o))return o;o=Gt(o)}return null}function Ue(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ge(e){return["html","body","#document"].includes(Nt(e))}function ot(e){return J(e).getComputedStyle(e)}function me(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Gt(e){if(Nt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Ca(e)&&e.host||wt(e);return Ca(o)?o.host:o}function wa(e){let o=Gt(e);return ge(o)?e.ownerDocument?e.ownerDocument.body:e.body:lt(o)&&ne(o)?o:wa(o)}function He(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=wa(e),l=c===((n=e.ownerDocument)==null?void 0:n.body),s=J(c);return l?o.concat(s,s.visualViewport||[],ne(c)?c:[],s.frameElement&&a?He(s.frameElement):[]):o.concat(c,He(c,[],a))}function La(e){let o=ot(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,c=lt(e),l=c?e.offsetWidth:a,s=c?e.offsetHeight:n,p=ue(a)!==l||ue(n)!==s;return p&&(a=l,n=s),{width:a,height:n,$:p}}function Aa(e){return gt(e)?e:e.contextElement}function ie(e){let o=Aa(e);if(!lt(o))return vt(1);let a=o.getBoundingClientRect(),{width:n,height:c,$:l}=La(o),s=(l?ue(a.width):a.width)/n,p=(l?ue(a.height):a.height)/c;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var Rn=vt(0);function $a(e){let o=J(e);return!Ue()||!o.visualViewport?Rn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ln(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function he(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=Aa(e),s=vt(1);o&&(n?gt(n)&&(s=ie(n)):s=ie(e));let p=Ln(l,a,n)?$a(l):vt(0),y=(c.left+p.x)/s.x,h=(c.top+p.y)/s.y,C=c.width/s.x,x=c.height/s.y;if(l){let N=J(l),v=n&>(n)?J(n):n,w=N.frameElement;for(;w&&n&&v!==N;){let P=ie(w),z=w.getBoundingClientRect(),W=ot(w),_=z.left+(w.clientLeft+parseFloat(W.paddingLeft))*P.x,j=z.top+(w.clientTop+parseFloat(W.paddingTop))*P.y;y*=P.x,h*=P.y,C*=P.x,x*=P.y,y+=_,h+=j,w=J(w).frameElement}}return Ut({width:C,height:x,x:y,y:h})}function An(e){let{rect:o,offsetParent:a,strategy:n}=e,c=lt(a),l=wt(a);if(a===l)return o;let s={scrollLeft:0,scrollTop:0},p=vt(1),y=vt(0);if((c||!c&&n!=="fixed")&&((Nt(a)!=="body"||ne(l))&&(s=me(a)),lt(a))){let h=he(a);p=ie(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+y.x,y:o.y*p.y-s.scrollTop*p.y+y.y}}function $n(e){return Array.from(e.getClientRects())}function Ia(e){return he(wt(e)).left+me(e).scrollLeft}function In(e){let o=wt(e),a=me(e),n=e.ownerDocument.body,c=ae(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),l=ae(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+Ia(e),p=-a.scrollTop;return ot(n).direction==="rtl"&&(s+=ae(o.clientWidth,n.clientWidth)-c),{width:c,height:l,x:s,y:p}}function Bn(e,o){let a=J(e),n=wt(e),c=a.visualViewport,l=n.clientWidth,s=n.clientHeight,p=0,y=0;if(c){l=c.width,s=c.height;let h=Ue();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:s,x:p,y}}function Pn(e,o){let a=he(e,!0,o==="fixed"),n=a.top+e.clientTop,c=a.left+e.clientLeft,l=lt(e)?ie(e):vt(1),s=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=n*l.y;return{width:s,height:p,x:y,y:h}}function Ea(e,o,a){let n;if(o==="viewport")n=Bn(e,a);else if(o==="document")n=In(wt(e));else if(gt(o))n=Pn(o,a);else{let c=$a(e);n={...o,x:o.x-c.x,y:o.y-c.y}}return Ut(n)}function Ba(e,o){let a=Gt(e);return a===o||!gt(a)||ge(a)?!1:ot(a).position==="fixed"||Ba(a,o)}function Wn(e,o){let a=o.get(e);if(a)return a;let n=He(e,[],!1).filter(p=>gt(p)&&Nt(p)!=="body"),c=null,l=ot(e).position==="fixed",s=l?Gt(e):e;for(;gt(s)&&!ge(s);){let p=ot(s),y=De(s);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||ne(s)&&!y&&Ba(e,s))?n=n.filter(C=>C!==s):c=p,s=Gt(s)}return o.set(e,n),n}function Tn(e){let{element:o,boundary:a,rootBoundary:n,strategy:c}=e,s=[...a==="clippingAncestors"?Wn(o,this._c):[].concat(a),n],p=s[0],y=s.reduce((h,C)=>{let x=Ea(o,C,c);return h.top=ae(x.top,h.top),h.right=bo(x.right,h.right),h.bottom=bo(x.bottom,h.bottom),h.left=ae(x.left,h.left),h},Ea(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function kn(e){return La(e)}function zn(e,o,a){let n=lt(o),c=wt(o),l=a==="fixed",s=he(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=vt(0);if(n||!n&&!l)if((Nt(o)!=="body"||ne(c))&&(p=me(o)),n){let h=he(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=Ia(c));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function Ra(e,o){return!lt(e)||ot(e).position==="fixed"?null:o?o(e):e.offsetParent}function Pa(e,o){let a=J(e);if(!lt(e))return a;let n=Ra(e,o);for(;n&&va(n)&&ot(n).position==="static";)n=Ra(n,o);return n&&(Nt(n)==="html"||Nt(n)==="body"&&ot(n).position==="static"&&!De(n))?a:n||Na(e)||a}var _n=async function(e){let{reference:o,floating:a,strategy:n}=e,c=this.getOffsetParent||Pa,l=this.getDimensions;return{reference:zn(o,await c(a),n),floating:{x:0,y:0,...await l(a)}}};function Hn(e){return ot(e).direction==="rtl"}var Ge={convertOffsetParentRelativeRectToViewportRelativeRect:An,getDocumentElement:wt,getClippingRect:Tn,getOffsetParent:Pa,getElementRects:_n,getClientRects:$n,getDimensions:kn,getScale:ie,isElement:gt,isRTL:Hn};var Wa=(e,o,a)=>{let n=new Map,c={platform:Ge,...a},l={...c.platform,_c:n};return Sa(e,o,{...c,platform:l})};function Ta(e){return Dn(e)}function xo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Dn(e){for(let o=e;o;o=xo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=xo(e);o;o=xo(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function ka(e,o,a){return Wa(e,o,{platform:{...Ge,getOffsetParent:n=>Ge.getOffsetParent(n,Ta)},middleware:[ho({crossAxis:!0}),mo({allowedPlacements:[a]})]})}var tt=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},B=class extends be.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new be.Debouncer,this.revealDebouncer=new be.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return za.html`
|
|
585
585
|
<div part="container"
|
|
586
586
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
587
587
|
@mouseenter=${this.onHover}
|
|
@@ -611,8 +611,11 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
611
611
|
<div></div>
|
|
612
612
|
<div></div>
|
|
613
613
|
</div>
|
|
614
|
-
`}};Mt.styles=Jr;(0,Ka.customElement)("ft-loader")(Mt);var It=b(T()),So=b(ke()),
|
|
615
|
-
<ft-ripple part="ripple"
|
|
614
|
+
`}};Mt.styles=Jr;(0,Ka.customElement)("ft-loader")(Mt);var It=b(T()),So=b(ke()),U=b(it()),F=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},A=class extends(0,Bt.toFtFormComponent)(Bt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",o=>{var a;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var o,a,n;let c=It.html`
|
|
615
|
+
<ft-ripple part="ripple"
|
|
616
|
+
?disabled=${this.isDisabled()}
|
|
617
|
+
?activated=${this.activated}
|
|
618
|
+
></ft-ripple>
|
|
616
619
|
<ft-typography part="label"
|
|
617
620
|
variant=${this.typographyVariant}
|
|
618
621
|
element="span"
|
|
@@ -648,7 +651,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
648
651
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
649
652
|
`:It.html`
|
|
650
653
|
<slot part="icon" name="icon"></slot>
|
|
651
|
-
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}focusWithoutTooltip(){var o;this.setTooltipManual(!0),(o=this.button)===null||o===void 0||o.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(o,a){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(o,a)}setTooltipManual(o){this.tooltip&&(this.tooltip.manual=o)}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Bt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};A.elementDefinitions={"ft-ripple":I,"ft-tooltip":B,"ft-typography":X,"ft-icon":Z,"ft-loader":Mt};
|
|
654
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}focusWithoutTooltip(){var o;this.setTooltipManual(!0),(o=this.button)===null||o===void 0||o.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(o,a){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(o,a)}setTooltipManual(o){this.tooltip&&(this.tooltip.manual=o)}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Bt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};A.elementDefinitions={"ft-ripple":I,"ft-tooltip":B,"ft-typography":X,"ft-icon":Z,"ft-loader":Mt};F([(0,U.property)()],A.prototype,"href",void 0);F([(0,U.property)()],A.prototype,"target",void 0);F([(0,U.property)()],A.prototype,"type",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"disabled",void 0);F([(0,U.property)()],A.prototype,"label",void 0);F([(0,U.property)()],A.prototype,"icon",void 0);F([(0,U.property)()],A.prototype,"iconVariant",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"trailingIcon",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"loading",void 0);F([(0,U.property)({attribute:"aria-label"})],A.prototype,"ariaLabel",void 0);F([(0,U.property)()],A.prototype,"tooltipPosition",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"hideTooltip",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"forceTooltip",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"activated",void 0);F([(0,U.query)(".ft-button")],A.prototype,"button",void 0);F([(0,U.query)(".ft-button--label slot")],A.prototype,"slottedContent",void 0);F([(0,U.query)("[part=tooltip]")],A.prototype,"tooltip",void 0);var Me=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Et=class extends A{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Et.styles=[Va.safariEllipsisFix,na];Me([(0,Ce.property)({type:Boolean})],Et.prototype,"primary",void 0);Me([(0,Ce.property)({type:Boolean})],Et.prototype,"outlined",void 0);Me([(0,Ce.property)({type:Boolean})],Et.prototype,"dense",void 0);Me([(0,Ce.property)({type:Boolean})],Et.prototype,"round",void 0);var Oe=b(it());var Fe=b(E());var ja=b(T()),f=b(E());var Ya=[ja.css`
|
|
652
655
|
:host {
|
|
653
656
|
display: inline-block;
|
|
654
657
|
max-width: 100%;
|
|
@@ -1114,7 +1117,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1114
1117
|
.ftds--size-small.ft-button--icon-only {
|
|
1115
1118
|
width: ${d.smallIconOnlyWidth};
|
|
1116
1119
|
}
|
|
1117
|
-
`,f.noTextSelect];var Ze=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},st=class extends(0,Fe.toFtdsBase)(A){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=We.brand,this.iconVariant=mt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Kt.large:return
|
|
1120
|
+
`,f.noTextSelect];var Ze=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},st=class extends(0,Fe.toFtdsBase)(A){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=We.brand,this.iconVariant=mt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Kt.large:return V.body2medium;case Kt.medium:return V.caption1medium;case Kt.small:return V.caption2medium}}};st.styles=[Fe.safariEllipsisFix,Ya];Ze([(0,Oe.property)({type:Boolean})],st.prototype,"primary",void 0);Ze([(0,Oe.property)({type:Boolean})],st.prototype,"secondary",void 0);Ze([(0,Oe.property)({type:Boolean})],st.prototype,"tertiary",void 0);Ze([(0,Oe.property)({type:Boolean})],st.prototype,"round",void 0);(0,Co.customElement)("ft-button")(Et);(0,Co.customElement)("ftds-button")(st);var vo=b(E());var Xa=b(T()),qa=b(it()),Qa=b(E());var Ja=b(ke()),Un=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Pt=class extends Qa.FtLitElement{constructor(){super(...arguments),this.icon="info"}render(){return Xa.html`
|
|
1118
1121
|
<div class="${(0,Ja.classMap)(this.noticeClasses)}" part="container">
|
|
1119
1122
|
<div part="icon">
|
|
1120
1123
|
<ft-icon value="${this.icon}"></ft-icon>
|
|
@@ -1152,7 +1155,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1152
1155
|
border-bottom-right-radius: ${Zt.borderRadius};
|
|
1153
1156
|
border: 1px solid ${Zt.noticeColor};
|
|
1154
1157
|
}
|
|
1155
|
-
`;var ve=class extends Pt{get typographyVariant(){return
|
|
1158
|
+
`;var ve=class extends Pt{get typographyVariant(){return V.body2}get noticeClasses(){return{}}};ve.styles=en;var Ke;(function(e){e.info="info",e.warning="warning",e.error="error",e.success="success"})(Ke||(Ke={}));var on=b(E());var rn=b(T());var an=rn.css`
|
|
1156
1159
|
[part="container"] {
|
|
1157
1160
|
display: inline-flex;
|
|
1158
1161
|
align-items: flex-start;
|
|
@@ -1227,7 +1230,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1227
1230
|
font-size: 16px;
|
|
1228
1231
|
--ft-notice-gap: 4px;
|
|
1229
1232
|
}
|
|
1230
|
-
`;var Ve=b(it());var Oo=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},bt=class extends Pt{constructor(){super(...arguments),this.variant=Ke.info,this.collapsible=!1,this.dense=!1,this.iconByVariant={error:rt.CLOSE_PLAIN,info:rt.INFO,success:rt.CHECK_PLAIN,warning:rt.WARNING}}get typographyVariant(){return this.dense?
|
|
1233
|
+
`;var Ve=b(it());var Oo=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},bt=class extends Pt{constructor(){super(...arguments),this.variant=Ke.info,this.collapsible=!1,this.dense=!1,this.iconByVariant={error:rt.CLOSE_PLAIN,info:rt.INFO,success:rt.CHECK_PLAIN,warning:rt.WARNING}}get typographyVariant(){return this.dense?V.caption1medium:V.body2regular}get noticeClasses(){return{[this.variant]:!0,collapsible:this.collapsible,dense:this.dense}}update(o){super.update(o),o.has("variant")&&(this.icon=this.iconByVariant[this.variant])}};bt.styles=an;Oo([(0,Ve.property)()],bt.prototype,"variant",void 0);Oo([(0,Ve.property)({type:Boolean})],bt.prototype,"collapsible",void 0);Oo([(0,Ve.property)({type:Boolean})],bt.prototype,"dense",void 0);(0,vo.customElement)("ft-notice")(ve);(0,vo.customElement)("ftds-notice")(bt);var je=class extends CustomEvent{constructor(o){super("reorderable-list-item-remove",{detail:{id:o},bubbles:!0,composed:!0})}},Ye=class extends CustomEvent{constructor(o){super("reorderable-list-item-edit",{detail:{id:o},bubbles:!0,composed:!0})}},Ne=class extends CustomEvent{constructor(){super("reorderable-list-order-change",{bubbles:!0,composed:!0})}};var Wt=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},et=class extends at.FtLitElement{constructor(){super(...arguments),this.editable=!1,this.removable=!1,this.emptyListMessage="",this.items=[],this.draggingItem=void 0}render(){return q.html`
|
|
1231
1234
|
<div class="ftds-reorderable-list--container">
|
|
1232
1235
|
<ol role="listbox"
|
|
1233
1236
|
aria-activedescendant=""
|
|
@@ -1264,7 +1267,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1264
1267
|
`:q.nothing}
|
|
1265
1268
|
</div>
|
|
1266
1269
|
</li>`):q.html`
|
|
1267
|
-
<ft-typography variant="${
|
|
1270
|
+
<ft-typography variant="${V.body2semibold}">${this.emptyListMessage}</ft-typography>`}
|
|
1268
1271
|
</ol>
|
|
1269
1272
|
<slot part="actions"></slot>
|
|
1270
1273
|
</div>
|
|
@@ -1281,7 +1284,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1281
1284
|
@click="${a=>{a.target.focus()}}"
|
|
1282
1285
|
|
|
1283
1286
|
></ft-icon>
|
|
1284
|
-
<ft-typography variant="${
|
|
1287
|
+
<ft-typography variant="${V.body2semibold}">
|
|
1285
1288
|
${o.label}
|
|
1286
1289
|
</ft-typography>
|
|
1287
1290
|
`}renderItemLeftActions(o){return o.actions?q.html`
|