@fluid-topics/ft-snap-scroll 1.1.9 → 1.1.11

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.
@@ -509,7 +509,7 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
509
509
  }
510
510
 
511
511
  .ft-tooltip {
512
- position: absolute;
512
+ position: fixed;
513
513
  box-sizing: border-box;
514
514
  overflow: hidden;
515
515
  width: max-content;
@@ -527,7 +527,7 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
527
527
  position: relative;
528
528
  word-break: break-word;
529
529
  }
530
- `,Xo=["start","end"],qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Xo[0],o+"-"+Xo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function se(t){return"x"===t?"y":"x"}function ce(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function fe(t){return se(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,o,e){let{reference:r,floating:i}=t;const n=pe(o),a=fe(o),l=ce(a),s=ae(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(s){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function ge(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ne(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=he(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function ue(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=qo,autoAlignment:h=!0,...y}=ne(t,o),g=void 0!==f||d===qo?ue(f||null,h,d):d,u=await ge(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=fe(t),n=ce(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[ae(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=le(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function me(t){return ve(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Oe(t){var o;return null==(o=(ve(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ve(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ie(t){const o=Re(),e=Ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Re(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function We(t){return["html","body","#document"].includes(me(t))}function Ue(t){return xe(t).getComputedStyle(t)}function ke(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ee(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||Oe(t);return we(o)?o.host:o}function Le(t){const o=Ee(t);return We(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:Le(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Le(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?ze(a.frameElement):[]):o.concat(i,ze(i,[],e))}function Ke(t){const o=Ue(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ze(t){return Ne(t)?t:t.contextElement}function Fe(t){const o=Ze(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ke(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Re()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function He(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ze(t);let a=oe(1);o&&(r?Ne(r)&&(a=Fe(r)):a=Fe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Fe(e),o=e.getBoundingClientRect(),r=Ue(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=i,c+=n,e=xe(e).frameElement}}return he({width:p,height:f,x:s,y:c})}function Ae(t){return He(Oe(t)).left+ke(t).scrollLeft}function Ge(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=Oe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=Re();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Oe(t),e=ke(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Ae(t);const l=-e.scrollTop;return"rtl"===Ue(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Oe(t));else if(Ne(o))r=function(t,o){const e=He(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Fe(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Te(t,o){const e=Ee(t);return!(e===o||!Ne(e)||We(e))&&("fixed"===Ue(e).position||Te(e,o))}function Pe(t,o,e){const r=Se(o),i=Oe(o),n="fixed"===e,a=He(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=ke(o)),r){const t=He(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=Ae(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function je(t,o){return Se(t)&&"fixed"!==Ue(t).position?o?o(t):t.offsetParent:null}function Me(t,o){const e=xe(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===Ue(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Ue(r).position&&!Ie(r))?e:r||function(t){let o=Ee(t);for(;Se(o)&&!We(o);){if(Ie(o))return o;o=Ee(o)}return null}(t)||e}const _e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=Oe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const s=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=ke(e)),Se(e))){const t=He(e);l=Fe(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Ue(t).position;let a=n?Ee(t):t;for(;Ne(a)&&!We(a);){const o=Ue(a),e=Ie(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Te(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ee(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Ge(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Ge(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Me,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Me,n=this.getDimensions;return{reference:Pe(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ke(t)},getScale:Fe,isElement:Ne,isRTL:function(t){return"rtl"===Ue(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:_e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ye(c,r,s),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ye(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};var Ve,Xe,qe,Je=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qe extends o.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 o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
530
+ `,Xo=["start","end"],qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Xo[0],o+"-"+Xo[1])),[]),Jo=Math.min,Qo=Math.max,te=Math.round,oe=t=>({x:t,y:t}),ee={left:"right",right:"left",bottom:"top",top:"bottom"},re={start:"end",end:"start"};function ie(t,o,e){return Qo(t,Jo(o,e))}function ne(t,o){return"function"==typeof t?t(o):t}function ae(t){return t.split("-")[0]}function le(t){return t.split("-")[1]}function se(t){return"x"===t?"y":"x"}function ce(t){return"y"===t?"height":"width"}function pe(t){return["top","bottom"].includes(ae(t))?"y":"x"}function fe(t){return se(pe(t))}function de(t){return t.replace(/left|right|bottom|top/g,(t=>ee[t]))}function he(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,o,e){let{reference:r,floating:i}=t;const n=pe(o),a=fe(o),l=ce(a),s=ae(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(s){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(le(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function ge(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ne(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=he(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=he(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function ue(t,o,e){return(t?[...e.filter((o=>le(o)===t)),...e.filter((o=>le(o)!==t))]:e.filter((t=>ae(t)===t))).filter((e=>!t||(le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>re[t]))}(e)!==e)))}const be=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=qo,autoAlignment:h=!0,...y}=ne(t,o),g=void 0!==f||d===qo?ue(f||null,h,d):d,u=await ge(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=le(t),i=fe(t),n=ce(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=de(a)),[a,de(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[ae(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=le(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,le(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function me(t){return ve(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Oe(t){var o;return null==(o=(ve(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ve(t){return t instanceof Node||t instanceof xe(t).Node}function Ne(t){return t instanceof Element||t instanceof xe(t).Element}function Se(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot)}function Ce(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function $e(t){return["table","td","th"].includes(me(t))}function Ie(t){const o=Re(),e=Ue(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Re(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function We(t){return["html","body","#document"].includes(me(t))}function Ue(t){return xe(t).getComputedStyle(t)}function ke(t){return Ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ee(t){if("html"===me(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||Oe(t);return we(o)?o.host:o}function Le(t){const o=Ee(t);return We(o)?t.ownerDocument?t.ownerDocument.body:t.body:Se(o)&&Ce(o)?o:Le(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Le(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=xe(i);return n?o.concat(a,a.visualViewport||[],Ce(i)?i:[],a.frameElement&&e?ze(a.frameElement):[]):o.concat(i,ze(i,[],e))}function Ke(t){const o=Ue(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Se(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=te(e)!==n||te(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ze(t){return Ne(t)?t:t.contextElement}function Fe(t){const o=Ze(t);if(!Se(o))return oe(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ke(o);let a=(n?te(e.width):e.width)/r,l=(n?te(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Be=oe(0);function De(t){const o=xe(t);return Re()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function He(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ze(t);let a=oe(1);o&&(r?Ne(r)&&(a=Fe(r)):a=Fe(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==xe(t))&&o}(n,e,r)?De(n):oe(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=xe(n),o=r&&Ne(r)?xe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Fe(e),o=e.getBoundingClientRect(),r=Ue(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=i,c+=n,e=xe(e).frameElement}}return he({width:p,height:f,x:s,y:c})}function Ae(t){return He(Oe(t)).left+ke(t).scrollLeft}function Ge(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=xe(t),r=Oe(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=Re();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Oe(t),e=ke(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Ae(t);const l=-e.scrollTop;return"rtl"===Ue(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Oe(t));else if(Ne(o))r=function(t,o){const e=He(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Se(t)?Fe(t):oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=De(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return he(r)}function Te(t,o){const e=Ee(t);return!(e===o||!Ne(e)||We(e))&&("fixed"===Ue(e).position||Te(e,o))}function Pe(t,o,e){const r=Se(o),i=Oe(o),n="fixed"===e,a=He(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=oe(0);if(r||!r&&!n)if(("body"!==me(o)||Ce(i))&&(l=ke(o)),r){const t=He(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=Ae(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function je(t,o){return Se(t)&&"fixed"!==Ue(t).position?o?o(t):t.offsetParent:null}function Me(t,o){const e=xe(t);if(!Se(t))return e;let r=je(t,o);for(;r&&$e(r)&&"static"===Ue(r).position;)r=je(r,o);return r&&("html"===me(r)||"body"===me(r)&&"static"===Ue(r).position&&!Ie(r))?e:r||function(t){let o=Ee(t);for(;Se(o)&&!We(o);){if(Ie(o))return o;o=Ee(o)}return null}(t)||e}const _e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Se(e),n=Oe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=oe(1);const s=oe(0);if((i||!i&&"fixed"!==r)&&(("body"!==me(e)||Ce(n))&&(a=ke(e)),Se(e))){const t=He(e);l=Fe(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Oe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>Ne(t)&&"body"!==me(t))),i=null;const n="fixed"===Ue(t).position;let a=n?Ee(t):t;for(;Ne(a)&&!We(a);){const o=Ue(a),e=Ie(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ce(a)&&!e&&Te(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ee(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Ge(o,e,i);return t.top=Qo(r.top,t.top),t.right=Jo(r.right,t.right),t.bottom=Jo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Ge(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Me,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Me,n=this.getDimensions;return{reference:Pe(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ke(t)},getScale:Fe,isElement:Ne,isRTL:function(t){return"rtl"===Ue(t).direction}},Ye=(t,o,e)=>{const r=new Map,i={platform:_e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=ye(c,r,s),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=ye(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ve(t){return function(t){for(let o=t;o;o=Xe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Xe(t);o;o=Xe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Xe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var qe,Je,Qe,tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class or extends o.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 o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
531
531
  <div part="container"
532
532
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
533
533
  @mouseenter=${this.onHover}
@@ -535,7 +535,7 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
535
535
  @focusin=${this.onHover}
536
536
  @focusout=${this.onOut}
537
537
  @touchstart=${this.onTouch}>
538
- <slot></slot>
538
+ <slot part="slot"></slot>
539
539
  <div part="tooltip" role="tooltip" inert
540
540
  class="ft-tooltip ft-tooltip--${this.validPosition}"
541
541
  ?hidden=${!this.visible}>
@@ -545,19 +545,19 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
545
545
  </div>
546
546
  </div>
547
547
  </div>
548
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ye(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=ne(t,o),c={x:e,y:r},p=await ge(o,s),f=pe(ae(i)),d=se(f);let h=c[d],y=c[f];if(n){const t="y"===d?"bottom":"right";h=ie(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";y=ie(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),be({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Qe.elementDefinitions={"ft-typography":Go},Qe.styles=Vo,Je([r.property()],Qe.prototype,"text",void 0),Je([r.property({type:Boolean})],Qe.prototype,"manual",void 0),Je([r.property({type:Boolean})],Qe.prototype,"inline",void 0),Je([r.property({type:Number})],Qe.prototype,"delay",void 0),Je([r.property()],Qe.prototype,"position",void 0),Je([r.queryAssignedNodes()],Qe.prototype,"slotNodes",void 0),Je([r.query(".ft-tooltip--container")],Qe.prototype,"container",void 0),Je([r.query(".ft-tooltip")],Qe.prototype,"tooltip",void 0),Je([r.query(".ft-tooltip--content")],Qe.prototype,"tooltipContent",void 0),Je([r.state()],Qe.prototype,"visible",void 0),Je([r.eventOptions({passive:!0})],Qe.prototype,"onTouch",null),Je([r.eventOptions({passive:!0})],Qe.prototype,"onHover",null),Je([r.eventOptions({passive:!0})],Qe.prototype,"onOut",null),o.customElement("ft-tooltip")(Qe),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ve||(Ve={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Xe||(Xe={})),new Map([...["abw"].map((t=>[t,Xe.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Xe.AUDIO])),...["avi"].map((t=>[t,Xe.AVI])),...["chm","xhs"].map((t=>[t,Xe.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Xe.CODE])),...["csv"].map((t=>[t,Xe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Xe.DITA])),...["epub"].map((t=>[t,Xe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Xe.EXCEL])),...["flac"].map((t=>[t,Xe.FLAC])),...["gif"].map((t=>[t,Xe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Xe.GZIP])),...["html","htm","xhtml"].map((t=>[t,Xe.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Xe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Xe.JPEG])),...["json"].map((t=>[t,Xe.JSON])),...["m4a","m4p"].map((t=>[t,Xe.M4A])),...["mov","qt"].map((t=>[t,Xe.MOV])),...["mp3"].map((t=>[t,Xe.MP3])),...["mp4","m4v"].map((t=>[t,Xe.MP4])),...["ogg","oga"].map((t=>[t,Xe.OGG])),...["pdf","ps"].map((t=>[t,Xe.PDF])),...["png"].map((t=>[t,Xe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Xe.POWERPOINT])),...["rar"].map((t=>[t,Xe.RAR])),...["stp"].map((t=>[t,Xe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Xe.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Xe.VIDEO])),...["wav"].map((t=>[t,Xe.WAV])),...["wma"].map((t=>[t,Xe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Xe.WORD])),...["xml","xsl","rdf"].map((t=>[t,Xe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Xe.YAML])),...["zip"].map((t=>[t,Xe.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qe||(qe={}));var tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class or extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(qe).includes(this.variant)?this.variant:qe.fluid_topics,o=t!==qe.material||!!this.value;return e.html`
548
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ye(this.slottedElement,this.tooltip,{platform:{..._e,getOffsetParent:t=>_e.getOffsetParent(t,Ve)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=ne(t,o),c={x:e,y:r},p=await ge(o,s),f=pe(ae(i)),d=se(f);let h=c[d],y=c[f];if(n){const t="y"===d?"bottom":"right";h=ie(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";y=ie(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),be({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}or.elementDefinitions={"ft-typography":Go},or.styles=Vo,tr([r.property()],or.prototype,"text",void 0),tr([r.property({type:Boolean})],or.prototype,"manual",void 0),tr([r.property({type:Boolean})],or.prototype,"inline",void 0),tr([r.property({type:Number})],or.prototype,"delay",void 0),tr([r.property()],or.prototype,"position",void 0),tr([r.queryAssignedNodes()],or.prototype,"slotNodes",void 0),tr([r.query(".ft-tooltip--container")],or.prototype,"container",void 0),tr([r.query(".ft-tooltip")],or.prototype,"tooltip",void 0),tr([r.query(".ft-tooltip--content")],or.prototype,"tooltipContent",void 0),tr([r.state()],or.prototype,"visible",void 0),tr([r.eventOptions({passive:!0})],or.prototype,"onTouch",null),tr([r.eventOptions({passive:!0})],or.prototype,"onHover",null),tr([r.eventOptions({passive:!0})],or.prototype,"onOut",null),o.customElement("ft-tooltip")(or),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(qe||(qe={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Je||(Je={})),new Map([...["abw"].map((t=>[t,Je.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Je.AUDIO])),...["avi"].map((t=>[t,Je.AVI])),...["chm","xhs"].map((t=>[t,Je.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Je.CODE])),...["csv"].map((t=>[t,Je.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Je.DITA])),...["epub"].map((t=>[t,Je.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Je.EXCEL])),...["flac"].map((t=>[t,Je.FLAC])),...["gif"].map((t=>[t,Je.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Je.GZIP])),...["html","htm","xhtml"].map((t=>[t,Je.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Je.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Je.JPEG])),...["json"].map((t=>[t,Je.JSON])),...["m4a","m4p"].map((t=>[t,Je.M4A])),...["mov","qt"].map((t=>[t,Je.MOV])),...["mp3"].map((t=>[t,Je.MP3])),...["mp4","m4v"].map((t=>[t,Je.MP4])),...["ogg","oga"].map((t=>[t,Je.OGG])),...["pdf","ps"].map((t=>[t,Je.PDF])),...["png"].map((t=>[t,Je.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Je.POWERPOINT])),...["rar"].map((t=>[t,Je.RAR])),...["stp"].map((t=>[t,Je.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Je.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Je.VIDEO])),...["wav"].map((t=>[t,Je.WAV])),...["wma"].map((t=>[t,Je.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Je.WORD])),...["xml","xsl","rdf"].map((t=>[t,Je.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Je.YAML])),...["zip"].map((t=>[t,Je.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));var er=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,o=t!==Qe.material||!!this.value;return e.html`
549
549
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
550
550
  ${n.unsafeHTML(this.resolvedIcon)}
551
551
  <slot ?hidden=${o}></slot>
552
552
  </i>
553
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case qe.file_format:this.resolvedIcon=null!==(t=Xe[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case qe.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Ve[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}or.elementDefinitions={},or.styles=Ht,tr([r.property()],or.prototype,"variant",void 0),tr([r.property()],or.prototype,"value",void 0),tr([r.state()],or.prototype,"resolvedIcon",void 0),tr([r.query("slot")],or.prototype,"slottedContent",void 0),o.customElement("ft-icon")(or);class er extends o.FtLitElement{render(){return e.html`
553
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Qe.file_format:this.resolvedIcon=null!==(t=Je[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Qe.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=qe[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}rr.elementDefinitions={},rr.styles=Ht,er([r.property()],rr.prototype,"variant",void 0),er([r.property()],rr.prototype,"value",void 0),er([r.state()],rr.prototype,"resolvedIcon",void 0),er([r.query("slot")],rr.prototype,"slottedContent",void 0),o.customElement("ft-icon")(rr);class ir extends o.FtLitElement{render(){return e.html`
554
554
  <div class="ft-loader">
555
555
  <div></div>
556
556
  <div></div>
557
557
  <div></div>
558
558
  <div></div>
559
559
  </div>
560
- `}}er.styles=Bt,o.customElement("ft-loader")(er);var rr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ir extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
560
+ `}}ir.styles=Bt,o.customElement("ft-loader")(ir);var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
561
561
  <button part="button"
562
562
  class="${i.classMap(this.buttonClasses)}"
563
563
  aria-label="${this.getLabel()}"
@@ -580,7 +580,7 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
580
580
  </ft-tooltip>
581
581
  `:t}resolveIcon(){return this.loading?e.html`
582
582
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
583
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ir.elementDefinitions={"ft-ripple":qt,"ft-tooltip":Qe,"ft-typography":Go,"ft-icon":or,"ft-loader":er},rr([r.property({type:String,reflect:!0})],ir.prototype,"role",void 0),rr([r.property()],ir.prototype,"type",void 0),rr([r.property({type:Boolean})],ir.prototype,"disabled",void 0),rr([r.property()],ir.prototype,"label",void 0),rr([r.property()],ir.prototype,"icon",void 0),rr([r.property()],ir.prototype,"iconVariant",void 0),rr([r.property({type:Boolean})],ir.prototype,"trailingIcon",void 0),rr([r.property({type:Boolean})],ir.prototype,"loading",void 0),rr([r.property()],ir.prototype,"tooltipPosition",void 0),rr([r.property({type:Boolean})],ir.prototype,"hideTooltip",void 0),rr([r.property({type:Boolean})],ir.prototype,"forceTooltip",void 0),rr([r.query(".ft-button")],ir.prototype,"button",void 0),rr([r.query(".ft-button--label slot")],ir.prototype,"slottedContent",void 0);var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends ir{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"}}ar.styles=[o.safariEllipsisFix,Vt],nr([r.property({type:Boolean})],ar.prototype,"primary",void 0),nr([r.property({type:Boolean})],ar.prototype,"outlined",void 0),nr([r.property({type:Boolean})],ar.prototype,"dense",void 0),nr([r.property({type:Boolean})],ar.prototype,"round",void 0);const lr=[e.css`
583
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ar.elementDefinitions={"ft-ripple":qt,"ft-tooltip":or,"ft-typography":Go,"ft-icon":rr,"ft-loader":ir},nr([r.property({type:String,reflect:!0})],ar.prototype,"role",void 0),nr([r.property()],ar.prototype,"type",void 0),nr([r.property({type:Boolean})],ar.prototype,"disabled",void 0),nr([r.property()],ar.prototype,"label",void 0),nr([r.property()],ar.prototype,"icon",void 0),nr([r.property()],ar.prototype,"iconVariant",void 0),nr([r.property({type:Boolean})],ar.prototype,"trailingIcon",void 0),nr([r.property({type:Boolean})],ar.prototype,"loading",void 0),nr([r.property()],ar.prototype,"tooltipPosition",void 0),nr([r.property({type:Boolean})],ar.prototype,"hideTooltip",void 0),nr([r.property({type:Boolean})],ar.prototype,"forceTooltip",void 0),nr([r.query(".ft-button")],ar.prototype,"button",void 0),nr([r.query(".ft-button--label slot")],ar.prototype,"slottedContent",void 0);var lr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sr extends ar{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"}}sr.styles=[o.safariEllipsisFix,Vt],lr([r.property({type:Boolean})],sr.prototype,"primary",void 0),lr([r.property({type:Boolean})],sr.prototype,"outlined",void 0),lr([r.property({type:Boolean})],sr.prototype,"dense",void 0),lr([r.property({type:Boolean})],sr.prototype,"round",void 0);const cr=[e.css`
584
584
  :host {
585
585
  display: inline-block;
586
586
  max-width: 100%;
@@ -798,7 +798,7 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
798
798
  width: ${O.smallIconOnlyWidth};
799
799
  padding: unset;
800
800
  }
801
- `,o.noTextSelect];var sr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cr extends ir{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}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&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"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}}get typographyVariant(){return this.small?Ho.caption1medium:Ho.body2medium}}cr.styles=[o.safariEllipsisFix,lr],sr([r.property({type:Boolean})],cr.prototype,"primary",void 0),sr([r.property({type:Boolean})],cr.prototype,"secondary",void 0),sr([r.property({type:Boolean})],cr.prototype,"tertiary",void 0),sr([r.property({type:Boolean})],cr.prototype,"neutral",void 0),sr([r.property({type:Boolean})],cr.prototype,"small",void 0),o.customElement("ft-button")(ar),o.customElement("ftds-button")(cr);const pr={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},fr=e.css`
801
+ `,o.noTextSelect];var pr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fr extends ar{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}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&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"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}}get typographyVariant(){return this.small?Ho.caption1medium:Ho.body2medium}}fr.styles=[o.safariEllipsisFix,cr],pr([r.property({type:Boolean})],fr.prototype,"primary",void 0),pr([r.property({type:Boolean})],fr.prototype,"secondary",void 0),pr([r.property({type:Boolean})],fr.prototype,"tertiary",void 0),pr([r.property({type:Boolean})],fr.prototype,"neutral",void 0),pr([r.property({type:Boolean})],fr.prototype,"small",void 0),o.customElement("ft-button")(sr),o.customElement("ftds-button")(fr);const dr={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},hr=e.css`
802
802
  .ft-snap-scroll {
803
803
  box-sizing: border-box;
804
804
  position: relative;
@@ -833,7 +833,7 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
833
833
  flex-wrap: nowrap;
834
834
  align-items: flex-start;
835
835
  justify-content: flex-start;
836
- gap: ${pr.gap};
836
+ gap: ${dr.gap};
837
837
  }
838
838
 
839
839
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -876,11 +876,11 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
876
876
  .ft-snap-scroll--next {
877
877
  position: absolute;
878
878
  display: flex;
879
- z-index: ${pr.buttonsZIndex};
879
+ z-index: ${dr.buttonsZIndex};
880
880
  opacity: 1;
881
881
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
882
882
  ${o.setVariable(Gt.backgroundColor,"transparent")};
883
- ${o.setVariable(Gt.color,pr.buttonsColor)};
883
+ ${o.setVariable(Gt.color,dr.buttonsColor)};
884
884
  }
885
885
 
886
886
  .ft-snap-scroll--previous[hidden],
@@ -893,37 +893,37 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
893
893
  top: 0;
894
894
  left: -1px;
895
895
  bottom: 0;
896
- background: linear-gradient(to right, ${pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
896
+ background: linear-gradient(to right, ${dr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
897
897
  }
898
898
 
899
899
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
900
900
  top: -1px;
901
901
  left: 0;
902
902
  right: 0;
903
- background: linear-gradient(to bottom, ${pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
903
+ background: linear-gradient(to bottom, ${dr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
904
904
  }
905
905
 
906
906
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
907
907
  top: 0;
908
908
  right: -1px;
909
909
  bottom: 0;
910
- background: linear-gradient(to left, ${pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
910
+ background: linear-gradient(to left, ${dr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
911
911
  }
912
912
 
913
913
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
914
914
  left: 0;
915
915
  right: 0;
916
916
  bottom: -1px;
917
- background: linear-gradient(to top, ${pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
917
+ background: linear-gradient(to top, ${dr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
918
918
  }
919
919
 
920
920
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
921
921
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
922
922
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
923
923
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
924
- background-color: ${pr.colorSurface};
924
+ background-color: ${dr.colorSurface};
925
925
  }
926
- `;var dr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hr extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class yr extends o.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new o.Debouncer(200),this.updateScrollDebouncer=new o.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=i.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":o.isSafari}),r=this.controls&&this.withScroll;return e.html`
926
+ `;var yr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gr extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class ur extends o.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new o.Debouncer(200),this.updateScrollDebouncer=new o.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=i.classMap({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":o.isSafari}),r=this.controls&&this.withScroll;return e.html`
927
927
  <div part="container" class="${t}">
928
928
  <ft-button
929
929
  class="ft-snap-scroll--previous"
@@ -947,4 +947,4 @@ const Ko=Symbol.for(""),Zo=t=>{if(t?.r===Ko)return t?._$litStatic$},Fo=t=>({_$li
947
947
  @click=${this.next}
948
948
  ></ft-button>
949
949
  </div>
950
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new hr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}yr.elementDefinitions={"ft-button":ar},yr.styles=fr,dr([r.property({type:Boolean})],yr.prototype,"horizontal",void 0),dr([r.property({type:Boolean})],yr.prototype,"hideScrollbar",void 0),dr([r.property({type:Boolean})],yr.prototype,"controls",void 0),dr([r.property({type:Boolean})],yr.prototype,"limitSize",void 0),dr([r.state()],yr.prototype,"elements",void 0),dr([r.state()],yr.prototype,"currentElement",void 0),dr([r.state()],yr.prototype,"withScroll",void 0),dr([r.state()],yr.prototype,"startReached",void 0),dr([r.state()],yr.prototype,"endReached",void 0),dr([r.query(".ft-snap-scroll--content")],yr.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(yr),t.CurrentElementChange=hr,t.FtSnapScroll=yr,t.FtSnapScrollCssVariables=pr,t.styles=fr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
950
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new gr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}ur.elementDefinitions={"ft-button":sr},ur.styles=hr,yr([r.property({type:Boolean})],ur.prototype,"horizontal",void 0),yr([r.property({type:Boolean})],ur.prototype,"hideScrollbar",void 0),yr([r.property({type:Boolean})],ur.prototype,"controls",void 0),yr([r.property({type:Boolean})],ur.prototype,"limitSize",void 0),yr([r.state()],ur.prototype,"elements",void 0),yr([r.state()],ur.prototype,"currentElement",void 0),yr([r.state()],ur.prototype,"withScroll",void 0),yr([r.state()],ur.prototype,"startReached",void 0),yr([r.state()],ur.prototype,"endReached",void 0),yr([r.query(".ft-snap-scroll--content")],ur.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(ur),t.CurrentElementChange=gr,t.FtSnapScroll=ur,t.FtSnapScrollCssVariables=dr,t.styles=hr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(an){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(ln){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -633,7 +633,7 @@ const Hr=Symbol.for(""),Tr=t=>{if(t?.r===Hr)return t?._$litStatic$},jr=t=>({_$li
633
633
  }
634
634
 
635
635
  .ft-tooltip {
636
- position: absolute;
636
+ position: fixed;
637
637
  box-sizing: border-box;
638
638
  overflow: hidden;
639
639
  width: max-content;
@@ -651,7 +651,7 @@ const Hr=Symbol.for(""),Tr=t=>{if(t?.r===Hr)return t?._$litStatic$},jr=t=>({_$li
651
651
  position: relative;
652
652
  word-break: break-word;
653
653
  }
654
- `,ii=["start","end"],ni=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ii[0],o+"-"+ii[1])),[]),ai=Math.min,si=Math.max,li=Math.round,ci=t=>({x:t,y:t}),pi={left:"right",right:"left",bottom:"top",top:"bottom"},fi={start:"end",end:"start"};function hi(t,o,e){return si(t,ai(o,e))}function di(t,o){return"function"==typeof t?t(o):t}function ui(t){return t.split("-")[0]}function yi(t){return t.split("-")[1]}function gi(t){return"x"===t?"y":"x"}function bi(t){return"y"===t?"height":"width"}function mi(t){return["top","bottom"].includes(ui(t))?"y":"x"}function xi(t){return gi(mi(t))}function Oi(t){return t.replace(/left|right|bottom|top/g,(t=>pi[t]))}function vi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Si(t,o,e){let{reference:r,floating:i}=t;const n=mi(o),a=xi(o),s=bi(a),l=ui(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(yi(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Ni(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=di(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=vi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=vi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function wi(t,o,e){return(t?[...e.filter((o=>yi(o)===t)),...e.filter((o=>yi(o)!==t))]:e.filter((t=>ui(t)===t))).filter((e=>!t||(yi(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>fi[t]))}(e)!==e)))}const Ci=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=ni,autoAlignment:d=!0,...u}=di(t,o),y=void 0!==f||h===ni?wi(f||null,d,h):h,g=await Ni(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=yi(t),i=xi(t),n=bi(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Oi(a)),[a,Oi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[ui(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:v},reset:{placement:S}};const N=v.map((t=>{const o=yi(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,yi(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function $i(t){return Ui(t)?(t.nodeName||"").toLowerCase():"#document"}function Ri(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ei(t){var o;return null==(o=(Ui(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ui(t){return t instanceof Node||t instanceof Ri(t).Node}function ki(t){return t instanceof Element||t instanceof Ri(t).Element}function Ii(t){return t instanceof HTMLElement||t instanceof Ri(t).HTMLElement}function Li(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ri(t).ShadowRoot)}function Wi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Bi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function zi(t){return["table","td","th"].includes($i(t))}function Fi(t){const o=Ki(),e=Bi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ki(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Zi(t){return["html","body","#document"].includes($i(t))}function Bi(t){return Ri(t).getComputedStyle(t)}function Ai(t){return ki(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mi(t){if("html"===$i(t))return t;const o=t.assignedSlot||t.parentNode||Li(t)&&t.host||Ei(t);return Li(o)?o.host:o}function Di(t){const o=Mi(t);return Zi(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ii(o)&&Wi(o)?o:Di(o)}function Pi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Di(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Ri(i);return n?o.concat(a,a.visualViewport||[],Wi(i)?i:[],a.frameElement&&e?Pi(a.frameElement):[]):o.concat(i,Pi(i,[],e))}function Hi(t){const o=Bi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ii(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=li(e)!==n||li(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Ti(t){return ki(t)?t:t.contextElement}function ji(t){const o=Ti(t);if(!Ii(o))return ci(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Hi(o);let a=(n?li(e.width):e.width)/r,s=(n?li(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const _i=ci(0);function Gi(t){const o=Ri(t);return Ki()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:_i}function Yi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ti(t);let a=ci(1);o&&(r?ki(r)&&(a=ji(r)):a=ji(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ri(t))&&o}(n,e,r)?Gi(n):ci(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Ri(n),o=r&&ki(r)?Ri(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ji(e),o=e.getBoundingClientRect(),r=Bi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=Ri(e).frameElement}}return vi({width:p,height:f,x:l,y:c})}function Vi(t){return Yi(Ei(t)).left+Ai(t).scrollLeft}function Ji(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ri(t),r=Ei(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Ki();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Ei(t),e=Ai(t),r=t.ownerDocument.body,i=si(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=si(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Vi(t);const s=-e.scrollTop;return"rtl"===Bi(r).direction&&(a+=si(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Ei(t));else if(ki(o))r=function(t,o){const e=Yi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ii(t)?ji(t):ci(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Gi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return vi(r)}function qi(t,o){const e=Mi(t);return!(e===o||!ki(e)||Zi(e))&&("fixed"===Bi(e).position||qi(e,o))}function Xi(t,o,e){const r=Ii(o),i=Ei(o),n="fixed"===e,a=Yi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=ci(0);if(r||!r&&!n)if(("body"!==$i(o)||Wi(i))&&(s=Ai(o)),r){const t=Yi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Vi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Qi(t,o){return Ii(t)&&"fixed"!==Bi(t).position?o?o(t):t.offsetParent:null}function tn(t,o){const e=Ri(t);if(!Ii(t))return e;let r=Qi(t,o);for(;r&&zi(r)&&"static"===Bi(r).position;)r=Qi(r,o);return r&&("html"===$i(r)||"body"===$i(r)&&"static"===Bi(r).position&&!Fi(r))?e:r||function(t){let o=Mi(t);for(;Ii(o)&&!Zi(o);){if(Fi(o))return o;o=Mi(o)}return null}(t)||e}const on={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ii(e),n=Ei(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=ci(1);const l=ci(0);if((i||!i&&"fixed"!==r)&&(("body"!==$i(e)||Wi(n))&&(a=Ai(e)),Ii(e))){const t=Yi(e);s=ji(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ei,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Pi(t,[],!1).filter((t=>ki(t)&&"body"!==$i(t))),i=null;const n="fixed"===Bi(t).position;let a=n?Mi(t):t;for(;ki(a)&&!Zi(a);){const o=Bi(a),e=Fi(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Wi(a)&&!e&&qi(t,a))?r=r.filter((t=>t!==a)):i=o,a=Mi(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=Ji(o,e,i);return t.top=si(r.top,t.top),t.right=ai(r.right,t.right),t.bottom=ai(r.bottom,t.bottom),t.left=si(r.left,t.left),t}),Ji(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||tn,n=this.getDimensions;return{reference:Xi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Hi(t)},getScale:ji,isElement:ki,isRTL:function(t){return"rtl"===Bi(t).direction}},en=(t,o,e)=>{const r=new Map,i={platform:on,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Si(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Si(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};var rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends Fo{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 U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
654
+ `,ii=["start","end"],ni=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ii[0],o+"-"+ii[1])),[]),ai=Math.min,si=Math.max,li=Math.round,ci=t=>({x:t,y:t}),pi={left:"right",right:"left",bottom:"top",top:"bottom"},fi={start:"end",end:"start"};function hi(t,o,e){return si(t,ai(o,e))}function di(t,o){return"function"==typeof t?t(o):t}function ui(t){return t.split("-")[0]}function yi(t){return t.split("-")[1]}function gi(t){return"x"===t?"y":"x"}function bi(t){return"y"===t?"height":"width"}function mi(t){return["top","bottom"].includes(ui(t))?"y":"x"}function xi(t){return gi(mi(t))}function Oi(t){return t.replace(/left|right|bottom|top/g,(t=>pi[t]))}function vi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Si(t,o,e){let{reference:r,floating:i}=t;const n=mi(o),a=xi(o),s=bi(a),l=ui(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(yi(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Ni(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=di(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=vi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=vi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function wi(t,o,e){return(t?[...e.filter((o=>yi(o)===t)),...e.filter((o=>yi(o)!==t))]:e.filter((t=>ui(t)===t))).filter((e=>!t||(yi(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>fi[t]))}(e)!==e)))}const Ci=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=ni,autoAlignment:d=!0,...u}=di(t,o),y=void 0!==f||h===ni?wi(f||null,d,h):h,g=await Ni(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=yi(t),i=xi(t),n=bi(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Oi(a)),[a,Oi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[ui(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:v},reset:{placement:S}};const N=v.map((t=>{const o=yi(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,yi(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function $i(t){return Ui(t)?(t.nodeName||"").toLowerCase():"#document"}function Ri(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ei(t){var o;return null==(o=(Ui(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ui(t){return t instanceof Node||t instanceof Ri(t).Node}function ki(t){return t instanceof Element||t instanceof Ri(t).Element}function Ii(t){return t instanceof HTMLElement||t instanceof Ri(t).HTMLElement}function Li(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ri(t).ShadowRoot)}function Wi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Bi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function zi(t){return["table","td","th"].includes($i(t))}function Fi(t){const o=Ki(),e=Bi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ki(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Zi(t){return["html","body","#document"].includes($i(t))}function Bi(t){return Ri(t).getComputedStyle(t)}function Ai(t){return ki(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mi(t){if("html"===$i(t))return t;const o=t.assignedSlot||t.parentNode||Li(t)&&t.host||Ei(t);return Li(o)?o.host:o}function Di(t){const o=Mi(t);return Zi(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ii(o)&&Wi(o)?o:Di(o)}function Pi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Di(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Ri(i);return n?o.concat(a,a.visualViewport||[],Wi(i)?i:[],a.frameElement&&e?Pi(a.frameElement):[]):o.concat(i,Pi(i,[],e))}function Hi(t){const o=Bi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ii(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=li(e)!==n||li(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Ti(t){return ki(t)?t:t.contextElement}function ji(t){const o=Ti(t);if(!Ii(o))return ci(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Hi(o);let a=(n?li(e.width):e.width)/r,s=(n?li(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const _i=ci(0);function Gi(t){const o=Ri(t);return Ki()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:_i}function Yi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ti(t);let a=ci(1);o&&(r?ki(r)&&(a=ji(r)):a=ji(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ri(t))&&o}(n,e,r)?Gi(n):ci(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Ri(n),o=r&&ki(r)?Ri(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ji(e),o=e.getBoundingClientRect(),r=Bi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=Ri(e).frameElement}}return vi({width:p,height:f,x:l,y:c})}function Vi(t){return Yi(Ei(t)).left+Ai(t).scrollLeft}function Ji(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ri(t),r=Ei(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Ki();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Ei(t),e=Ai(t),r=t.ownerDocument.body,i=si(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=si(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Vi(t);const s=-e.scrollTop;return"rtl"===Bi(r).direction&&(a+=si(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Ei(t));else if(ki(o))r=function(t,o){const e=Yi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ii(t)?ji(t):ci(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Gi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return vi(r)}function qi(t,o){const e=Mi(t);return!(e===o||!ki(e)||Zi(e))&&("fixed"===Bi(e).position||qi(e,o))}function Xi(t,o,e){const r=Ii(o),i=Ei(o),n="fixed"===e,a=Yi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=ci(0);if(r||!r&&!n)if(("body"!==$i(o)||Wi(i))&&(s=Ai(o)),r){const t=Yi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Vi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Qi(t,o){return Ii(t)&&"fixed"!==Bi(t).position?o?o(t):t.offsetParent:null}function tn(t,o){const e=Ri(t);if(!Ii(t))return e;let r=Qi(t,o);for(;r&&zi(r)&&"static"===Bi(r).position;)r=Qi(r,o);return r&&("html"===$i(r)||"body"===$i(r)&&"static"===Bi(r).position&&!Fi(r))?e:r||function(t){let o=Mi(t);for(;Ii(o)&&!Zi(o);){if(Fi(o))return o;o=Mi(o)}return null}(t)||e}const on={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ii(e),n=Ei(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=ci(1);const l=ci(0);if((i||!i&&"fixed"!==r)&&(("body"!==$i(e)||Wi(n))&&(a=Ai(e)),Ii(e))){const t=Yi(e);s=ji(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ei,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Pi(t,[],!1).filter((t=>ki(t)&&"body"!==$i(t))),i=null;const n="fixed"===Bi(t).position;let a=n?Mi(t):t;for(;ki(a)&&!Zi(a);){const o=Bi(a),e=Fi(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Wi(a)&&!e&&qi(t,a))?r=r.filter((t=>t!==a)):i=o,a=Mi(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=Ji(o,e,i);return t.top=si(r.top,t.top),t.right=ai(r.right,t.right),t.bottom=ai(r.bottom,t.bottom),t.left=si(r.left,t.left),t}),Ji(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||tn,n=this.getDimensions;return{reference:Xi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Hi(t)},getScale:ji,isElement:ki,isRTL:function(t){return"rtl"===Bi(t).direction}},en=(t,o,e)=>{const r=new Map,i={platform:on,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Si(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Si(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function rn(t){return function(t){for(let o=t;o;o=nn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=nn(t);o;o=nn(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function nn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends Fo{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 U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
655
655
  <div part="container"
656
656
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
657
657
  @mouseenter=${this.onHover}
@@ -659,7 +659,7 @@ const Hr=Symbol.for(""),Tr=t=>{if(t?.r===Hr)return t?._$litStatic$},jr=t=>({_$li
659
659
  @focusin=${this.onHover}
660
660
  @focusout=${this.onOut}
661
661
  @touchstart=${this.onTouch}>
662
- <slot></slot>
662
+ <slot part="slot"></slot>
663
663
  <div part="tooltip" role="tooltip" inert
664
664
  class="ft-tooltip ft-tooltip--${this.validPosition}"
665
665
  ?hidden=${!this.visible}>
@@ -669,25 +669,25 @@ const Hr=Symbol.for(""),Tr=t=>{if(t?.r===Hr)return t?._$litStatic$},jr=t=>({_$li
669
669
  </div>
670
670
  </div>
671
671
  </div>
672
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",en(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=di(t,o),c={x:e,y:r},p=await Ni(o,l),f=mi(ui(i)),h=gi(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=hi(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=hi(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Ci({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}nn.elementDefinitions={"ft-typography":Jr},nn.styles=ri,rn([w()],nn.prototype,"text",void 0),rn([w({type:Boolean})],nn.prototype,"manual",void 0),rn([w({type:Boolean})],nn.prototype,"inline",void 0),rn([w({type:Number})],nn.prototype,"delay",void 0),rn([w()],nn.prototype,"position",void 0),rn([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],nn.prototype,"slotNodes",void 0),rn([E(".ft-tooltip--container")],nn.prototype,"container",void 0),rn([E(".ft-tooltip")],nn.prototype,"tooltip",void 0),rn([E(".ft-tooltip--content")],nn.prototype,"tooltipContent",void 0),rn([C()],nn.prototype,"visible",void 0),rn([$({passive:!0})],nn.prototype,"onTouch",null),rn([$({passive:!0})],nn.prototype,"onHover",null),rn([$({passive:!0})],nn.prototype,"onOut",null),I("ft-tooltip")(nn);
672
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",en(this.slottedElement,this.tooltip,{platform:{...on,getOffsetParent:t=>on.getOffsetParent(t,rn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=di(t,o),c={x:e,y:r},p=await Ni(o,l),f=mi(ui(i)),h=gi(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=hi(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=hi(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Ci({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}sn.elementDefinitions={"ft-typography":Jr},sn.styles=ri,an([w()],sn.prototype,"text",void 0),an([w({type:Boolean})],sn.prototype,"manual",void 0),an([w({type:Boolean})],sn.prototype,"inline",void 0),an([w({type:Number})],sn.prototype,"delay",void 0),an([w()],sn.prototype,"position",void 0),an([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],sn.prototype,"slotNodes",void 0),an([E(".ft-tooltip--container")],sn.prototype,"container",void 0),an([E(".ft-tooltip")],sn.prototype,"tooltip",void 0),an([E(".ft-tooltip--content")],sn.prototype,"tooltipContent",void 0),an([C()],sn.prototype,"visible",void 0),an([$({passive:!0})],sn.prototype,"onTouch",null),an([$({passive:!0})],sn.prototype,"onHover",null),an([$({passive:!0})],sn.prototype,"onOut",null),I("ft-tooltip")(sn);
673
673
  /**
674
674
  * @license
675
675
  * Copyright 2017 Google LLC
676
676
  * SPDX-License-Identifier: BSD-3-Clause
677
677
  */
678
- class an extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}an.directiveName="unsafeHTML",an.resultType=1;const sn=Br(an);var ln,cn,pn;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(ln||(ln={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(cn||(cn={})),new Map([...["abw"].map((t=>[t,cn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,cn.AUDIO])),...["avi"].map((t=>[t,cn.AVI])),...["chm","xhs"].map((t=>[t,cn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,cn.CODE])),...["csv"].map((t=>[t,cn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,cn.DITA])),...["epub"].map((t=>[t,cn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,cn.EXCEL])),...["flac"].map((t=>[t,cn.FLAC])),...["gif"].map((t=>[t,cn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,cn.GZIP])),...["html","htm","xhtml"].map((t=>[t,cn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,cn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,cn.JPEG])),...["json"].map((t=>[t,cn.JSON])),...["m4a","m4p"].map((t=>[t,cn.M4A])),...["mov","qt"].map((t=>[t,cn.MOV])),...["mp3"].map((t=>[t,cn.MP3])),...["mp4","m4v"].map((t=>[t,cn.MP4])),...["ogg","oga"].map((t=>[t,cn.OGG])),...["pdf","ps"].map((t=>[t,cn.PDF])),...["png"].map((t=>[t,cn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,cn.POWERPOINT])),...["rar"].map((t=>[t,cn.RAR])),...["stp"].map((t=>[t,cn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,cn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,cn.VIDEO])),...["wav"].map((t=>[t,cn.WAV])),...["wma"].map((t=>[t,cn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,cn.WORD])),...["xml","xsl","rdf"].map((t=>[t,cn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,cn.YAML])),...["zip"].map((t=>[t,cn.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pn||(pn={}));var fn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hn extends Fo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(pn).includes(this.variant)?this.variant:pn.fluid_topics,o=t!==pn.material||!!this.value;return to`
678
+ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}ln.directiveName="unsafeHTML",ln.resultType=1;const cn=Br(ln);var pn,fn,hn;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(pn||(pn={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(fn||(fn={})),new Map([...["abw"].map((t=>[t,fn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,fn.AUDIO])),...["avi"].map((t=>[t,fn.AVI])),...["chm","xhs"].map((t=>[t,fn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,fn.CODE])),...["csv"].map((t=>[t,fn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fn.DITA])),...["epub"].map((t=>[t,fn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fn.EXCEL])),...["flac"].map((t=>[t,fn.FLAC])),...["gif"].map((t=>[t,fn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fn.GZIP])),...["html","htm","xhtml"].map((t=>[t,fn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,fn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fn.JPEG])),...["json"].map((t=>[t,fn.JSON])),...["m4a","m4p"].map((t=>[t,fn.M4A])),...["mov","qt"].map((t=>[t,fn.MOV])),...["mp3"].map((t=>[t,fn.MP3])),...["mp4","m4v"].map((t=>[t,fn.MP4])),...["ogg","oga"].map((t=>[t,fn.OGG])),...["pdf","ps"].map((t=>[t,fn.PDF])),...["png"].map((t=>[t,fn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fn.POWERPOINT])),...["rar"].map((t=>[t,fn.RAR])),...["stp"].map((t=>[t,fn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,fn.VIDEO])),...["wav"].map((t=>[t,fn.WAV])),...["wma"].map((t=>[t,fn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fn.WORD])),...["xml","xsl","rdf"].map((t=>[t,fn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fn.YAML])),...["zip"].map((t=>[t,fn.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(hn||(hn={}));var dn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class un extends Fo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(hn).includes(this.variant)?this.variant:hn.fluid_topics,o=t!==hn.material||!!this.value;return to`
679
679
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
680
- ${sn(this.resolvedIcon)}
680
+ ${cn(this.resolvedIcon)}
681
681
  <slot ?hidden=${o}></slot>
682
682
  </i>
683
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case pn.file_format:this.resolvedIcon=null!==(t=cn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case pn.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=ln[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}hn.elementDefinitions={},hn.styles=$r,fn([w()],hn.prototype,"variant",void 0),fn([w()],hn.prototype,"value",void 0),fn([C()],hn.prototype,"resolvedIcon",void 0),fn([E("slot")],hn.prototype,"slottedContent",void 0),I("ft-icon")(hn);class dn extends Fo{render(){return to`
683
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case hn.file_format:this.resolvedIcon=null!==(t=fn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case hn.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=pn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}un.elementDefinitions={},un.styles=$r,dn([w()],un.prototype,"variant",void 0),dn([w()],un.prototype,"value",void 0),dn([C()],un.prototype,"resolvedIcon",void 0),dn([E("slot")],un.prototype,"slottedContent",void 0),I("ft-icon")(un);class yn extends Fo{render(){return to`
684
684
  <div class="ft-loader">
685
685
  <div></div>
686
686
  <div></div>
687
687
  <div></div>
688
688
  <div></div>
689
689
  </div>
690
- `}}dn.styles=wr,I("ft-loader")(dn);var un=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Go].form}constructor(...t){super(t),this[Go]=this.attachInternals(),this[Go].role=o}setFormValue(t){this[Go].setFormValue(t)}}}(Fo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
690
+ `}}yn.styles=wr,I("ft-loader")(yn);var gn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Go].form}constructor(...t){super(t),this[Go]=this.attachInternals(),this[Go].role=o}setFormValue(t){this[Go].setFormValue(t)}}}(Fo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
691
691
  <button part="button"
692
692
  class="${Mr(this.buttonClasses)}"
693
693
  aria-label="${this.getLabel()}"
@@ -710,7 +710,7 @@ class an extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
710
710
  </ft-tooltip>
711
711
  `:t}resolveIcon(){return this.loading?to`
712
712
  <ft-loader part="loader icon"></ft-loader> `:this.icon?to`
713
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}yn.elementDefinitions={"ft-ripple":Pr,"ft-tooltip":nn,"ft-typography":Jr,"ft-icon":hn,"ft-loader":dn},un([w({type:String,reflect:!0})],yn.prototype,"role",void 0),un([w()],yn.prototype,"type",void 0),un([w({type:Boolean})],yn.prototype,"disabled",void 0),un([w()],yn.prototype,"label",void 0),un([w()],yn.prototype,"icon",void 0),un([w()],yn.prototype,"iconVariant",void 0),un([w({type:Boolean})],yn.prototype,"trailingIcon",void 0),un([w({type:Boolean})],yn.prototype,"loading",void 0),un([w()],yn.prototype,"tooltipPosition",void 0),un([w({type:Boolean})],yn.prototype,"hideTooltip",void 0),un([w({type:Boolean})],yn.prototype,"forceTooltip",void 0),un([E(".ft-button")],yn.prototype,"button",void 0),un([E(".ft-button--label slot")],yn.prototype,"slottedContent",void 0);var gn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends yn{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"}}bn.styles=[Bo,Fr],gn([w({type:Boolean})],bn.prototype,"primary",void 0),gn([w({type:Boolean})],bn.prototype,"outlined",void 0),gn([w({type:Boolean})],bn.prototype,"dense",void 0),gn([w({type:Boolean})],bn.prototype,"round",void 0);const mn=[mt`
713
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}bn.elementDefinitions={"ft-ripple":Pr,"ft-tooltip":sn,"ft-typography":Jr,"ft-icon":un,"ft-loader":yn},gn([w({type:String,reflect:!0})],bn.prototype,"role",void 0),gn([w()],bn.prototype,"type",void 0),gn([w({type:Boolean})],bn.prototype,"disabled",void 0),gn([w()],bn.prototype,"label",void 0),gn([w()],bn.prototype,"icon",void 0),gn([w()],bn.prototype,"iconVariant",void 0),gn([w({type:Boolean})],bn.prototype,"trailingIcon",void 0),gn([w({type:Boolean})],bn.prototype,"loading",void 0),gn([w()],bn.prototype,"tooltipPosition",void 0),gn([w({type:Boolean})],bn.prototype,"hideTooltip",void 0),gn([w({type:Boolean})],bn.prototype,"forceTooltip",void 0),gn([E(".ft-button")],bn.prototype,"button",void 0),gn([E(".ft-button--label slot")],bn.prototype,"slottedContent",void 0);var mn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xn extends bn{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"}}xn.styles=[Bo,Fr],mn([w({type:Boolean})],xn.prototype,"primary",void 0),mn([w({type:Boolean})],xn.prototype,"outlined",void 0),mn([w({type:Boolean})],xn.prototype,"dense",void 0),mn([w({type:Boolean})],xn.prototype,"round",void 0);const On=[mt`
714
714
  :host {
715
715
  display: inline-block;
716
716
  max-width: 100%;
@@ -928,7 +928,7 @@ class an extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
928
928
  width: ${Co.smallIconOnlyWidth};
929
929
  padding: unset;
930
930
  }
931
- `,Zo];var xn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class On extends yn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}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&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"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}}get typographyVariant(){return this.small?Yr.caption1medium:Yr.body2medium}}On.styles=[Bo,mn],xn([w({type:Boolean})],On.prototype,"primary",void 0),xn([w({type:Boolean})],On.prototype,"secondary",void 0),xn([w({type:Boolean})],On.prototype,"tertiary",void 0),xn([w({type:Boolean})],On.prototype,"neutral",void 0),xn([w({type:Boolean})],On.prototype,"small",void 0),I("ft-button")(bn),I("ftds-button")(On);const vn={buttonsColor:Oo.extend("--ft-snap-scroll-buttons-color","",$o.colorPrimary),buttonsZIndex:Oo.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Oo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Oo.external($o.colorSurface,"Design system")},Sn=mt`
931
+ `,Zo];var vn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sn extends bn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}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&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"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}}get typographyVariant(){return this.small?Yr.caption1medium:Yr.body2medium}}Sn.styles=[Bo,On],vn([w({type:Boolean})],Sn.prototype,"primary",void 0),vn([w({type:Boolean})],Sn.prototype,"secondary",void 0),vn([w({type:Boolean})],Sn.prototype,"tertiary",void 0),vn([w({type:Boolean})],Sn.prototype,"neutral",void 0),vn([w({type:Boolean})],Sn.prototype,"small",void 0),I("ft-button")(xn),I("ftds-button")(Sn);const Nn={buttonsColor:Oo.extend("--ft-snap-scroll-buttons-color","",$o.colorPrimary),buttonsZIndex:Oo.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Oo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Oo.external($o.colorSurface,"Design system")},wn=mt`
932
932
  .ft-snap-scroll {
933
933
  box-sizing: border-box;
934
934
  position: relative;
@@ -963,7 +963,7 @@ class an extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
963
963
  flex-wrap: nowrap;
964
964
  align-items: flex-start;
965
965
  justify-content: flex-start;
966
- gap: ${vn.gap};
966
+ gap: ${Nn.gap};
967
967
  }
968
968
 
969
969
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1006,11 +1006,11 @@ class an extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
1006
1006
  .ft-snap-scroll--next {
1007
1007
  position: absolute;
1008
1008
  display: flex;
1009
- z-index: ${vn.buttonsZIndex};
1009
+ z-index: ${Nn.buttonsZIndex};
1010
1010
  opacity: 1;
1011
1011
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1012
1012
  ${vo(Er.backgroundColor,"transparent")};
1013
- ${vo(Er.color,vn.buttonsColor)};
1013
+ ${vo(Er.color,Nn.buttonsColor)};
1014
1014
  }
1015
1015
 
1016
1016
  .ft-snap-scroll--previous[hidden],
@@ -1023,37 +1023,37 @@ class an extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
1023
1023
  top: 0;
1024
1024
  left: -1px;
1025
1025
  bottom: 0;
1026
- background: linear-gradient(to right, ${vn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1026
+ background: linear-gradient(to right, ${Nn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1027
1027
  }
1028
1028
 
1029
1029
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1030
1030
  top: -1px;
1031
1031
  left: 0;
1032
1032
  right: 0;
1033
- background: linear-gradient(to bottom, ${vn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1033
+ background: linear-gradient(to bottom, ${Nn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1034
1034
  }
1035
1035
 
1036
1036
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1037
1037
  top: 0;
1038
1038
  right: -1px;
1039
1039
  bottom: 0;
1040
- background: linear-gradient(to left, ${vn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1040
+ background: linear-gradient(to left, ${Nn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1041
1041
  }
1042
1042
 
1043
1043
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1044
1044
  left: 0;
1045
1045
  right: 0;
1046
1046
  bottom: -1px;
1047
- background: linear-gradient(to top, ${vn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1047
+ background: linear-gradient(to top, ${Nn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1048
1048
  }
1049
1049
 
1050
1050
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1051
1051
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1052
1052
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1053
1053
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1054
- background-color: ${vn.colorSurface};
1054
+ background-color: ${Nn.colorSurface};
1055
1055
  }
1056
- `;var Nn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wn extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Cn extends Fo{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new U(200),this.updateScrollDebouncer=new U(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Mr({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":qo}),o=this.controls&&this.withScroll;return to`
1056
+ `;var Cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Rn extends Fo{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new U(200),this.updateScrollDebouncer=new U(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Mr({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":qo}),o=this.controls&&this.withScroll;return to`
1057
1057
  <div part="container" class="${t}">
1058
1058
  <ft-button
1059
1059
  class="ft-snap-scroll--previous"
@@ -1077,4 +1077,4 @@ class an extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
1077
1077
  @click=${this.next}
1078
1078
  ></ft-button>
1079
1079
  </div>
1080
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new wn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}Cn.elementDefinitions={"ft-button":bn},Cn.styles=Sn,Nn([w({type:Boolean})],Cn.prototype,"horizontal",void 0),Nn([w({type:Boolean})],Cn.prototype,"hideScrollbar",void 0),Nn([w({type:Boolean})],Cn.prototype,"controls",void 0),Nn([w({type:Boolean})],Cn.prototype,"limitSize",void 0),Nn([C()],Cn.prototype,"elements",void 0),Nn([C()],Cn.prototype,"currentElement",void 0),Nn([C()],Cn.prototype,"withScroll",void 0),Nn([C()],Cn.prototype,"startReached",void 0),Nn([C()],Cn.prototype,"endReached",void 0),Nn([E(".ft-snap-scroll--content")],Cn.prototype,"contentSlot",void 0),I("ft-snap-scroll")(Cn),t.CurrentElementChange=wn,t.FtSnapScroll=Cn,t.FtSnapScrollCssVariables=vn,t.styles=Sn}({});
1080
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new $n(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}Rn.elementDefinitions={"ft-button":xn},Rn.styles=wn,Cn([w({type:Boolean})],Rn.prototype,"horizontal",void 0),Cn([w({type:Boolean})],Rn.prototype,"hideScrollbar",void 0),Cn([w({type:Boolean})],Rn.prototype,"controls",void 0),Cn([w({type:Boolean})],Rn.prototype,"limitSize",void 0),Cn([C()],Rn.prototype,"elements",void 0),Cn([C()],Rn.prototype,"currentElement",void 0),Cn([C()],Rn.prototype,"withScroll",void 0),Cn([C()],Rn.prototype,"startReached",void 0),Cn([C()],Rn.prototype,"endReached",void 0),Cn([E(".ft-snap-scroll--content")],Rn.prototype,"contentSlot",void 0),I("ft-snap-scroll")(Rn),t.CurrentElementChange=$n,t.FtSnapScroll=Rn,t.FtSnapScrollCssVariables=Nn,t.styles=wn}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-snap-scroll",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "Vertical or horizontal container with snap scrolling.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.1.9",
23
- "@fluid-topics/ft-wc-utils": "1.1.9",
22
+ "@fluid-topics/ft-button": "1.1.11",
23
+ "@fluid-topics/ft-wc-utils": "1.1.11",
24
24
  "lit": "3.1.0"
25
25
  },
26
- "gitHead": "260010bbe1de163e812ed46e15cd25b7008f2f87"
26
+ "gitHead": "077ec0dd3948ed41aa130d5a4cdc3d77f0dd2e6c"
27
27
  }