@ctrliq/quantic-components 1.63.2 → 1.63.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/code-input/index.js +4 -11
- package/dist/combobox/index.d.ts +1 -1
- package/dist/combobox/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/meta/index.js.map +1 -1
- package/dist/number-input/index.js +3 -7
- package/dist/quantic-components.js +47 -53
- package/dist/quantic-components.js.map +1 -1
- package/dist/quantic-components.min.js +96 -96
- package/dist/quantic-components.min.js.map +1 -1
- package/dist/select/index.js +4 -8
- package/dist/shared/shared.utils.d.ts +22 -0
- package/dist/shared/shared.utils.js +27 -0
- package/dist/shared/shared.utils.test.js +39 -2
- package/dist/text-input/index.js +4 -11
- package/dist/textarea/index.js +4 -10
- package/dist/types/combobox/index.d.ts +1 -1
- package/dist/types/shared/shared.utils.d.ts +22 -0
- package/package.json +1 -1
|
@@ -590,7 +590,7 @@ const{I:Ze}=re,Ge=()=>document.createComment(""),Ne=(e,t,i)=>{const n=e._$AA.par
|
|
|
590
590
|
* @license
|
|
591
591
|
* Copyright 2020 Google LLC
|
|
592
592
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
593
|
-
*/const ct=()=>new rt;class rt{}const lt=new WeakMap,at=Fe(class extends st{render(e){return W}update(e,[t]){const i=t!==this.G;return i&&void 0!==this.G&&this.rt(void 0),(i||this.lt!==this.ct)&&(this.G=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),W}rt(e){if(this.isConnected||(e=void 0),"function"==typeof this.G){const t=this.ht??globalThis;let i=lt.get(t);void 0===i&&(i=new WeakMap,lt.set(t,i)),void 0!==i.get(this.G)&&this.G.call(this.ht,void 0),i.set(this.G,e),void 0!==e&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){return"function"==typeof this.G?lt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}),dt=Math.min,ut=Math.max,ht=Math.round,pt=Math.floor,gt=e=>({x:e,y:e}),vt={left:"right",right:"left",bottom:"top",top:"bottom"};function wt(e,t,i){return ut(e,dt(t,i))}function mt(e,t){return"function"==typeof e?e(t):e}function kt(e){return e.split("-")[0]}function xt(e){return e.split("-")[1]}function yt(e){return"x"===e?"y":"x"}function Lt(e){return"y"===e?"height":"width"}function It(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function ft(e){return yt(It(e))}function Ct(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const bt=["left","right"],Mt=["right","left"],qt=["top","bottom"],St=["bottom","top"];function Bt(e,t,i,n){const o=xt(e);let s=function(e,t,i){switch(e){case"top":case"bottom":return i?t?Mt:bt:t?bt:Mt;case"left":case"right":return t?qt:St;default:return[]}}(kt(e),"start"===i,n);return o&&(s=s.map(e=>e+"-"+o),t&&(s=s.concat(s.map(Ct)))),s}function At(e){const t=kt(e);return vt[t]+e.slice(t.length)}function Pt(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function jt(e){const{x:t,y:i,width:n,height:o}=e;return{width:n,height:o,top:i,left:t,right:t+n,bottom:i+o,x:t,y:i}}function zt(e,t,i){let{reference:n,floating:o}=e;const s=It(t),c=ft(t),r=Lt(c),l=kt(t),a="y"===s,d=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,h=n[r]/2-o[r]/2;let p;switch(l){case"top":p={x:d,y:n.y-o.height};break;case"bottom":p={x:d,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:u};break;case"left":p={x:n.x-o.width,y:u};break;default:p={x:n.x,y:n.y}}switch(xt(t)){case"start":p[c]-=h*(i&&a?-1:1);break;case"end":p[c]+=h*(i&&a?-1:1)}return p}async function Ht(e,t){var i;void 0===t&&(t={});const{x:n,y:o,platform:s,rects:c,elements:r,strategy:l}=e,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=mt(t,e),g=Pt(p),v=r[h?"floating"===u?"reference":"floating":u],w=jt(await s.getClippingRect({element:null==(i=await(null==s.isElement?void 0:s.isElement(v)))||i?v:v.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(r.floating)),boundary:a,rootBoundary:d,strategy:l})),m="floating"===u?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(r.floating)),x=await(null==s.isElement?void 0:s.isElement(k))&&await(null==s.getScale?void 0:s.getScale(k))||{x:1,y:1},y=jt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:m,offsetParent:k,strategy:l}):m);return{top:(w.top-y.top+g.top)/x.y,bottom:(y.bottom-w.bottom+g.bottom)/x.y,left:(w.left-y.left+g.left)/x.x,right:(y.right-w.right+g.right)/x.x}}const Tt=new Set(["left","top"]);function Dt(){return"undefined"!=typeof window}function Vt(e){return Ot(e)?(e.nodeName||"").toLowerCase():"#document"}function Ft(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Rt(e){var t;return null==(t=(Ot(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ot(e){return!!Dt()&&(e instanceof Node||e instanceof Ft(e).Node)}function $t(e){return!!Dt()&&(e instanceof Element||e instanceof Ft(e).Element)}function _t(e){return!!Dt()&&(e instanceof HTMLElement||e instanceof Ft(e).HTMLElement)}function Et(e){return!(!Dt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Ft(e).ShadowRoot)}function Ut(e){const{overflow:t,overflowX:i,overflowY:n,display:o}=ei(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+i)&&"inline"!==o&&"contents"!==o}function Zt(e){return/^(table|td|th)$/.test(Vt(e))}function Gt(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const Nt=/transform|translate|scale|rotate|perspective|filter/,Wt=/paint|layout|strict|content/,Xt=e=>!!e&&"none"!==e;let Kt;function Jt(e){const t=$t(e)?ei(e):e;return Xt(t.transform)||Xt(t.translate)||Xt(t.scale)||Xt(t.rotate)||Xt(t.perspective)||!Qt()&&(Xt(t.backdropFilter)||Xt(t.filter))||Nt.test(t.willChange||"")||Wt.test(t.contain||"")}function Qt(){return null==Kt&&(Kt="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Kt}function Yt(e){return/^(html|body|#document)$/.test(Vt(e))}function ei(e){return Ft(e).getComputedStyle(e)}function ti(e){return $t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ii(e){if("html"===Vt(e))return e;const t=e.assignedSlot||e.parentNode||Et(e)&&e.host||Rt(e);return Et(t)?t.host:t}function ni(e){const t=ii(e);return Yt(t)?e.ownerDocument?e.ownerDocument.body:e.body:_t(t)&&Ut(t)?t:ni(t)}function oi(e,t,i){var n;void 0===t&&(t=[]),void 0===i&&(i=!0);const o=ni(e),s=o===(null==(n=e.ownerDocument)?void 0:n.body),c=Ft(o);if(s){const e=si(c);return t.concat(c,c.visualViewport||[],Ut(o)?o:[],e&&i?oi(e):[])}return t.concat(o,oi(o,[],i))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ci(e){const t=ei(e);let i=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=_t(e),s=o?e.offsetWidth:i,c=o?e.offsetHeight:n,r=ht(i)!==s||ht(n)!==c;return r&&(i=s,n=c),{width:i,height:n,$:r}}function ri(e){return $t(e)?e:e.contextElement}function li(e){const t=ri(e);if(!_t(t))return gt(1);const i=t.getBoundingClientRect(),{width:n,height:o,$:s}=ci(t);let c=(s?ht(i.width):i.width)/n,r=(s?ht(i.height):i.height)/o;return c&&Number.isFinite(c)||(c=1),r&&Number.isFinite(r)||(r=1),{x:c,y:r}}const ai=gt(0);function di(e){const t=Ft(e);return Qt()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ai}function ui(e,t,i,n){void 0===t&&(t=!1),void 0===i&&(i=!1);const o=e.getBoundingClientRect(),s=ri(e);let c=gt(1);t&&(n?$t(n)&&(c=li(n)):c=li(e));const r=function(e,t,i){return void 0===t&&(t=!1),!(!i||t&&i!==Ft(e))&&t}(s,i,n)?di(s):gt(0);let l=(o.left+r.x)/c.x,a=(o.top+r.y)/c.y,d=o.width/c.x,u=o.height/c.y;if(s){const e=Ft(s),t=n&&$t(n)?Ft(n):n;let i=e,o=si(i);for(;o&&n&&t!==i;){const e=li(o),t=o.getBoundingClientRect(),n=ei(o),s=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,c=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,a*=e.y,d*=e.x,u*=e.y,l+=s,a+=c,i=Ft(o),o=si(i)}}return jt({width:d,height:u,x:l,y:a})}function hi(e,t){const i=ti(e).scrollLeft;return t?t.left+i:ui(Rt(e)).left+i}function pi(e,t){const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-hi(e,i),y:i.top+t.scrollTop}}function gi(e,t,i){let n;if("viewport"===t)n=function(e,t){const i=Ft(e),n=Rt(e),o=i.visualViewport;let s=n.clientWidth,c=n.clientHeight,r=0,l=0;if(o){s=o.width,c=o.height;const e=Qt();(!e||e&&"fixed"===t)&&(r=o.offsetLeft,l=o.offsetTop)}const a=hi(n);if(a<=0){const e=n.ownerDocument,t=e.body,i=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,c=Math.abs(n.clientWidth-t.clientWidth-o);c<=25&&(s-=c)}else a<=25&&(s+=a);return{width:s,height:c,x:r,y:l}}(e,i);else if("document"===t)n=function(e){const t=Rt(e),i=ti(e),n=e.ownerDocument.body,o=ut(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=ut(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let c=-i.scrollLeft+hi(e);const r=-i.scrollTop;return"rtl"===ei(n).direction&&(c+=ut(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:c,y:r}}(Rt(e));else if($t(t))n=function(e,t){const i=ui(e,!0,"fixed"===t),n=i.top+e.clientTop,o=i.left+e.clientLeft,s=_t(e)?li(e):gt(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:o*s.x,y:n*s.y}}(t,i);else{const i=di(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return jt(n)}function vi(e,t){const i=ii(e);return!(i===t||!$t(i)||Yt(i))&&("fixed"===ei(i).position||vi(i,t))}function wi(e,t,i){const n=_t(t),o=Rt(t),s="fixed"===i,c=ui(e,!0,s,t);let r={scrollLeft:0,scrollTop:0};const l=gt(0);function a(){l.x=hi(o)}if(n||!n&&!s)if(("body"!==Vt(t)||Ut(o))&&(r=ti(t)),n){const e=ui(t,!0,s,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&a();s&&!n&&o&&a();const d=!o||n||s?gt(0):pi(o,r);return{x:c.left+r.scrollLeft-l.x-d.x,y:c.top+r.scrollTop-l.y-d.y,width:c.width,height:c.height}}function mi(e){return"static"===ei(e).position}function ki(e,t){if(!_t(e)||"fixed"===ei(e).position)return null;if(t)return t(e);let i=e.offsetParent;return Rt(e)===i&&(i=i.ownerDocument.body),i}function xi(e,t){const i=Ft(e);if(Gt(e))return i;if(!_t(e)){let t=ii(e);for(;t&&!Yt(t);){if($t(t)&&!mi(t))return t;t=ii(t)}return i}let n=ki(e,t);for(;n&&Zt(n)&&mi(n);)n=ki(n,t);return n&&Yt(n)&&mi(n)&&!Jt(n)?i:n||function(e){let t=ii(e);for(;_t(t)&&!Yt(t);){if(Jt(t))return t;if(Gt(t))return null;t=ii(t)}return null}(e)||i}const yi={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:n,strategy:o}=e;const s="fixed"===o,c=Rt(n),r=!!t&&Gt(t.floating);if(n===c||r&&s)return i;let l={scrollLeft:0,scrollTop:0},a=gt(1);const d=gt(0),u=_t(n);if((u||!u&&!s)&&(("body"!==Vt(n)||Ut(c))&&(l=ti(n)),u)){const e=ui(n);a=li(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}const h=!c||u||s?gt(0):pi(c,l);return{width:i.width*a.x,height:i.height*a.y,x:i.x*a.x-l.scrollLeft*a.x+d.x+h.x,y:i.y*a.y-l.scrollTop*a.y+d.y+h.y}},getDocumentElement:Rt,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:n,strategy:o}=e;const s=[..."clippingAncestors"===i?Gt(t)?[]:function(e,t){const i=t.get(e);if(i)return i;let n=oi(e,[],!1).filter(e=>$t(e)&&"body"!==Vt(e)),o=null;const s="fixed"===ei(e).position;let c=s?ii(e):e;for(;$t(c)&&!Yt(c);){const t=ei(c),i=Jt(c);i||"fixed"!==t.position||(o=null),(s?!i&&!o:!i&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||Ut(c)&&!i&&vi(e,c))?n=n.filter(e=>e!==c):o=t,c=ii(c)}return t.set(e,n),n}(t,this._c):[].concat(i),n],c=gi(t,s[0],o);let r=c.top,l=c.right,a=c.bottom,d=c.left;for(let e=1;e<s.length;e++){const i=gi(t,s[e],o);r=ut(i.top,r),l=dt(i.right,l),a=dt(i.bottom,a),d=ut(i.left,d)}return{width:l-d,height:a-r,x:d,y:r}},getOffsetParent:xi,getElementRects:async function(e){const t=this.getOffsetParent||xi,i=this.getDimensions,n=await i(e.floating);return{reference:wi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:i}=ci(e);return{width:t,height:i}},getScale:li,isElement:$t,isRTL:function(e){return"rtl"===ei(e).direction}};function Li(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ii(e,t,i,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,a=ri(e),d=o||s?[...a?oi(a):[],...t?oi(t):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",i,{passive:!0}),s&&e.addEventListener("resize",i)});const u=a&&r?function(e,t){let i,n=null;const o=Rt(e);function s(){var e;clearTimeout(i),null==(e=n)||e.disconnect(),n=null}return function c(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),s();const a=e.getBoundingClientRect(),{left:d,top:u,width:h,height:p}=a;if(r||t(),!h||!p)return;const g={rootMargin:-pt(u)+"px "+-pt(o.clientWidth-(d+h))+"px "+-pt(o.clientHeight-(u+p))+"px "+-pt(d)+"px",threshold:ut(0,dt(1,l))||1};let v=!0;function w(t){const n=t[0].intersectionRatio;if(n!==l){if(!v)return c();n?c(!1,n):i=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==n||Li(a,e.getBoundingClientRect())||c(),v=!1}try{n=new IntersectionObserver(w,{...g,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(w,g)}n.observe(e)}(!0),s}(a,i):null;let h,p=-1,g=null;c&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===a&&g&&t&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),i()}),a&&!l&&g.observe(a),t&&g.observe(t));let v=l?ui(e):null;return l&&function t(){const n=ui(e);v&&!Li(v,n)&&i();v=n,h=requestAnimationFrame(t)}(),i(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",i),s&&e.removeEventListener("resize",i)}),null==u||u(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(h)}}const fi=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,n;const{x:o,y:s,placement:c,middlewareData:r}=t,l=await async function(e,t){const{placement:i,platform:n,elements:o}=e,s=await(null==n.isRTL?void 0:n.isRTL(o.floating)),c=kt(i),r=xt(i),l="y"===It(i),a=Tt.has(c)?-1:1,d=s&&l?-1:1,u=mt(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:g}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return r&&"number"==typeof g&&(p="end"===r?-1*g:g),l?{x:p*d,y:h*a}:{x:h*a,y:p*d}}(t,e);return c===(null==(i=r.offset)?void 0:i.placement)&&null!=(n=r.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:c}}}}},Ci=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:n,placement:o,platform:s}=t,{mainAxis:c=!0,crossAxis:r=!1,limiter:l={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...a}=mt(e,t),d={x:i,y:n},u=await s.detectOverflow(t,a),h=It(kt(o)),p=yt(h);let g=d[p],v=d[h];if(c){const e="y"===p?"bottom":"right";g=wt(g+u["y"===p?"top":"left"],g,g-u[e])}if(r){const e="y"===h?"bottom":"right";v=wt(v+u["y"===h?"top":"left"],v,v-u[e])}const w=l.fn({...t,[p]:g,[h]:v});return{...w,data:{x:w.x-i,y:w.y-n,enabled:{[p]:c,[h]:r}}}}}},bi=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,n;const{placement:o,middlewareData:s,rects:c,initialPlacement:r,platform:l,elements:a}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...w}=mt(e,t);if(null!=(i=s.arrow)&&i.alignmentOffset)return{};const m=kt(o),k=It(r),x=kt(r)===r,y=await(null==l.isRTL?void 0:l.isRTL(a.floating)),L=h||(x||!v?[At(r)]:function(e){const t=At(e);return[Ct(e),t,Ct(t)]}(r)),I="none"!==g;!h&&I&&L.push(...Bt(r,v,g,y));const f=[r,...L],C=await l.detectOverflow(t,w),b=[];let M=(null==(n=s.flip)?void 0:n.overflows)||[];if(d&&b.push(C[m]),u){const e=function(e,t,i){void 0===i&&(i=!1);const n=xt(e),o=ft(e),s=Lt(o);let c="x"===o?n===(i?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=At(c)),[c,At(c)]}(o,c,y);b.push(C[e[0]],C[e[1]])}if(M=[...M,{placement:o,overflows:b}],!b.every(e=>e<=0)){var q,S;const e=((null==(q=s.flip)?void 0:q.index)||0)+1,t=f[e];if(t){if(!("alignment"===u&&k!==It(t))||M.every(e=>It(e.placement)!==k||e.overflows[0]>0))return{data:{index:e,overflows:M},reset:{placement:t}}}let i=null==(S=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:S.placement;if(!i)switch(p){case"bestFit":{var B;const e=null==(B=M.filter(e=>{if(I){const t=It(e.placement);return t===k||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:B[0];e&&(i=e);break}case"initialPlacement":i=r}if(o!==i)return{reset:{placement:i}}}return{}}}},Mi=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:n,placement:o,rects:s,platform:c,elements:r,middlewareData:l}=t,{element:a,padding:d=0}=mt(e,t)||{};if(null==a)return{};const u=Pt(d),h={x:i,y:n},p=ft(o),g=Lt(p),v=await c.getDimensions(a),w="y"===p,m=w?"top":"left",k=w?"bottom":"right",x=w?"clientHeight":"clientWidth",y=s.reference[g]+s.reference[p]-h[p]-s.floating[g],L=h[p]-s.reference[p],I=await(null==c.getOffsetParent?void 0:c.getOffsetParent(a));let f=I?I[x]:0;f&&await(null==c.isElement?void 0:c.isElement(I))||(f=r.floating[x]||s.floating[g]);const C=y/2-L/2,b=f/2-v[g]/2-1,M=dt(u[m],b),q=dt(u[k],b),S=M,B=f-v[g]-q,A=f/2-v[g]/2+C,P=wt(S,A,B),j=!l.arrow&&null!=xt(o)&&A!==P&&s.reference[g]/2-(A<S?M:q)-v[g]/2<0,z=j?A<S?A-S:A-B:0;return{[p]:h[p]+z,data:{[p]:P,centerOffset:A-P-z,...j&&{alignmentOffset:z}},reset:j}}}),qi=(e,t,i)=>{const n=new Map,o={platform:yi,...i},s={...o.platform,_c:n};return(async(e,t,i)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:c}=i,r=c.detectOverflow?c:{...c,detectOverflow:Ht},l=await(null==c.isRTL?void 0:c.isRTL(t));let a=await c.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=zt(a,n,l),h=n,p=0;const g={};for(let i=0;i<s.length;i++){const v=s[i];if(!v)continue;const{name:w,fn:m}=v,{x:k,y:x,data:y,reset:L}=await m({x:d,y:u,initialPlacement:n,placement:h,strategy:o,middlewareData:g,rects:a,platform:r,elements:{reference:e,floating:t}});d=null!=k?k:d,u=null!=x?x:u,g[w]={...g[w],...y},L&&p<50&&(p++,"object"==typeof L&&(L.placement&&(h=L.placement),L.rects&&(a=!0===L.rects?await c.getElementRects({reference:e,floating:t,strategy:o}):L.rects),({x:d,y:u}=zt(a,h,l))),i=-1)}return{x:d,y:u,placement:h,strategy:o,middlewareData:g}})(e,t,{...o,platform:s})};function Si(e){class i extends e{constructor(){super(...arguments),this.ariaLabel=null,this.ariaDescription=null,this.ariaInvalid=null}getA11yAttributes(e){const t=e?.label??this.ariaLabel,i=e?.description??this.ariaDescription,n=e?.invalid??"true"===this.ariaInvalid;return{label:$e(t||void 0),description:$e(i||void 0),invalid:$e(n?"true":void 0)}}}return t([Le({type:"string",attribute:"aria-label",description:"Accessible label for the component (aria-label)."})],i.prototype,"ariaLabel",void 0),t([Le({type:"string",attribute:"aria-description",description:"Accessible description bound directly to aria-description."})],i.prototype,"ariaDescription",void 0),t([Le({type:"string",attribute:"aria-invalid",description:"Marks the component invalid for assistive technologies (aria-invalid)."})],i.prototype,"ariaInvalid",void 0),i}const Bi={Gray:"gray",Brand:"brand",Error:"error",Warning:"warning",Success:"success",GrayBlue:"gray-blue",BlueLight:"blue-light",Blue:"blue",Indigo:"indigo",Purple:"purple",Pink:"pink",Orange:"orange"},Ai=["gray","brand","error","warning","success","gray-blue","blue-light","blue","indigo","purple","pink","orange"],Pi="24rem",ji="36rem",zi="48rem",Hi="64rem",Ti="75rem",Di="96rem";function Vi(e,t,i){return Math.min(Math.max(e,t),i)}function Fi(e){return Ai.map(t=>`.color--${t} {\n ${e(t)}\n}`).join("\n")}function Ri(e){const t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});return e?`${e}-${t}`:t}const Oi={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconChevronDown=class extends Ue{render(){return G`
|
|
593
|
+
*/const ct=()=>new rt;class rt{}const lt=new WeakMap,at=Fe(class extends st{render(e){return W}update(e,[t]){const i=t!==this.G;return i&&void 0!==this.G&&this.rt(void 0),(i||this.lt!==this.ct)&&(this.G=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),W}rt(e){if(this.isConnected||(e=void 0),"function"==typeof this.G){const t=this.ht??globalThis;let i=lt.get(t);void 0===i&&(i=new WeakMap,lt.set(t,i)),void 0!==i.get(this.G)&&this.G.call(this.ht,void 0),i.set(this.G,e),void 0!==e&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){return"function"==typeof this.G?lt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}),dt=Math.min,ut=Math.max,ht=Math.round,pt=Math.floor,gt=e=>({x:e,y:e}),vt={left:"right",right:"left",bottom:"top",top:"bottom"};function wt(e,t,i){return ut(e,dt(t,i))}function mt(e,t){return"function"==typeof e?e(t):e}function kt(e){return e.split("-")[0]}function xt(e){return e.split("-")[1]}function yt(e){return"x"===e?"y":"x"}function Lt(e){return"y"===e?"height":"width"}function It(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function ft(e){return yt(It(e))}function Ct(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const bt=["left","right"],Mt=["right","left"],qt=["top","bottom"],St=["bottom","top"];function Bt(e,t,i,n){const o=xt(e);let s=function(e,t,i){switch(e){case"top":case"bottom":return i?t?Mt:bt:t?bt:Mt;case"left":case"right":return t?qt:St;default:return[]}}(kt(e),"start"===i,n);return o&&(s=s.map(e=>e+"-"+o),t&&(s=s.concat(s.map(Ct)))),s}function At(e){const t=kt(e);return vt[t]+e.slice(t.length)}function Pt(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function jt(e){const{x:t,y:i,width:n,height:o}=e;return{width:n,height:o,top:i,left:t,right:t+n,bottom:i+o,x:t,y:i}}function zt(e,t,i){let{reference:n,floating:o}=e;const s=It(t),c=ft(t),r=Lt(c),l=kt(t),a="y"===s,d=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,h=n[r]/2-o[r]/2;let p;switch(l){case"top":p={x:d,y:n.y-o.height};break;case"bottom":p={x:d,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:u};break;case"left":p={x:n.x-o.width,y:u};break;default:p={x:n.x,y:n.y}}switch(xt(t)){case"start":p[c]-=h*(i&&a?-1:1);break;case"end":p[c]+=h*(i&&a?-1:1)}return p}async function Ht(e,t){var i;void 0===t&&(t={});const{x:n,y:o,platform:s,rects:c,elements:r,strategy:l}=e,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=mt(t,e),g=Pt(p),v=r[h?"floating"===u?"reference":"floating":u],w=jt(await s.getClippingRect({element:null==(i=await(null==s.isElement?void 0:s.isElement(v)))||i?v:v.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(r.floating)),boundary:a,rootBoundary:d,strategy:l})),m="floating"===u?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,k=await(null==s.getOffsetParent?void 0:s.getOffsetParent(r.floating)),x=await(null==s.isElement?void 0:s.isElement(k))&&await(null==s.getScale?void 0:s.getScale(k))||{x:1,y:1},y=jt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:m,offsetParent:k,strategy:l}):m);return{top:(w.top-y.top+g.top)/x.y,bottom:(y.bottom-w.bottom+g.bottom)/x.y,left:(w.left-y.left+g.left)/x.x,right:(y.right-w.right+g.right)/x.x}}const Tt=new Set(["left","top"]);function Dt(){return"undefined"!=typeof window}function Vt(e){return Ot(e)?(e.nodeName||"").toLowerCase():"#document"}function Ft(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Rt(e){var t;return null==(t=(Ot(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ot(e){return!!Dt()&&(e instanceof Node||e instanceof Ft(e).Node)}function $t(e){return!!Dt()&&(e instanceof Element||e instanceof Ft(e).Element)}function _t(e){return!!Dt()&&(e instanceof HTMLElement||e instanceof Ft(e).HTMLElement)}function Et(e){return!(!Dt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Ft(e).ShadowRoot)}function Ut(e){const{overflow:t,overflowX:i,overflowY:n,display:o}=ei(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+i)&&"inline"!==o&&"contents"!==o}function Zt(e){return/^(table|td|th)$/.test(Vt(e))}function Gt(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const Nt=/transform|translate|scale|rotate|perspective|filter/,Wt=/paint|layout|strict|content/,Xt=e=>!!e&&"none"!==e;let Kt;function Jt(e){const t=$t(e)?ei(e):e;return Xt(t.transform)||Xt(t.translate)||Xt(t.scale)||Xt(t.rotate)||Xt(t.perspective)||!Qt()&&(Xt(t.backdropFilter)||Xt(t.filter))||Nt.test(t.willChange||"")||Wt.test(t.contain||"")}function Qt(){return null==Kt&&(Kt="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Kt}function Yt(e){return/^(html|body|#document)$/.test(Vt(e))}function ei(e){return Ft(e).getComputedStyle(e)}function ti(e){return $t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ii(e){if("html"===Vt(e))return e;const t=e.assignedSlot||e.parentNode||Et(e)&&e.host||Rt(e);return Et(t)?t.host:t}function ni(e){const t=ii(e);return Yt(t)?e.ownerDocument?e.ownerDocument.body:e.body:_t(t)&&Ut(t)?t:ni(t)}function oi(e,t,i){var n;void 0===t&&(t=[]),void 0===i&&(i=!0);const o=ni(e),s=o===(null==(n=e.ownerDocument)?void 0:n.body),c=Ft(o);if(s){const e=si(c);return t.concat(c,c.visualViewport||[],Ut(o)?o:[],e&&i?oi(e):[])}return t.concat(o,oi(o,[],i))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ci(e){const t=ei(e);let i=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=_t(e),s=o?e.offsetWidth:i,c=o?e.offsetHeight:n,r=ht(i)!==s||ht(n)!==c;return r&&(i=s,n=c),{width:i,height:n,$:r}}function ri(e){return $t(e)?e:e.contextElement}function li(e){const t=ri(e);if(!_t(t))return gt(1);const i=t.getBoundingClientRect(),{width:n,height:o,$:s}=ci(t);let c=(s?ht(i.width):i.width)/n,r=(s?ht(i.height):i.height)/o;return c&&Number.isFinite(c)||(c=1),r&&Number.isFinite(r)||(r=1),{x:c,y:r}}const ai=gt(0);function di(e){const t=Ft(e);return Qt()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ai}function ui(e,t,i,n){void 0===t&&(t=!1),void 0===i&&(i=!1);const o=e.getBoundingClientRect(),s=ri(e);let c=gt(1);t&&(n?$t(n)&&(c=li(n)):c=li(e));const r=function(e,t,i){return void 0===t&&(t=!1),!(!i||t&&i!==Ft(e))&&t}(s,i,n)?di(s):gt(0);let l=(o.left+r.x)/c.x,a=(o.top+r.y)/c.y,d=o.width/c.x,u=o.height/c.y;if(s){const e=Ft(s),t=n&&$t(n)?Ft(n):n;let i=e,o=si(i);for(;o&&n&&t!==i;){const e=li(o),t=o.getBoundingClientRect(),n=ei(o),s=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,c=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,a*=e.y,d*=e.x,u*=e.y,l+=s,a+=c,i=Ft(o),o=si(i)}}return jt({width:d,height:u,x:l,y:a})}function hi(e,t){const i=ti(e).scrollLeft;return t?t.left+i:ui(Rt(e)).left+i}function pi(e,t){const i=e.getBoundingClientRect();return{x:i.left+t.scrollLeft-hi(e,i),y:i.top+t.scrollTop}}function gi(e,t,i){let n;if("viewport"===t)n=function(e,t){const i=Ft(e),n=Rt(e),o=i.visualViewport;let s=n.clientWidth,c=n.clientHeight,r=0,l=0;if(o){s=o.width,c=o.height;const e=Qt();(!e||e&&"fixed"===t)&&(r=o.offsetLeft,l=o.offsetTop)}const a=hi(n);if(a<=0){const e=n.ownerDocument,t=e.body,i=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,c=Math.abs(n.clientWidth-t.clientWidth-o);c<=25&&(s-=c)}else a<=25&&(s+=a);return{width:s,height:c,x:r,y:l}}(e,i);else if("document"===t)n=function(e){const t=Rt(e),i=ti(e),n=e.ownerDocument.body,o=ut(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=ut(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let c=-i.scrollLeft+hi(e);const r=-i.scrollTop;return"rtl"===ei(n).direction&&(c+=ut(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:c,y:r}}(Rt(e));else if($t(t))n=function(e,t){const i=ui(e,!0,"fixed"===t),n=i.top+e.clientTop,o=i.left+e.clientLeft,s=_t(e)?li(e):gt(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:o*s.x,y:n*s.y}}(t,i);else{const i=di(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return jt(n)}function vi(e,t){const i=ii(e);return!(i===t||!$t(i)||Yt(i))&&("fixed"===ei(i).position||vi(i,t))}function wi(e,t,i){const n=_t(t),o=Rt(t),s="fixed"===i,c=ui(e,!0,s,t);let r={scrollLeft:0,scrollTop:0};const l=gt(0);function a(){l.x=hi(o)}if(n||!n&&!s)if(("body"!==Vt(t)||Ut(o))&&(r=ti(t)),n){const e=ui(t,!0,s,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&a();s&&!n&&o&&a();const d=!o||n||s?gt(0):pi(o,r);return{x:c.left+r.scrollLeft-l.x-d.x,y:c.top+r.scrollTop-l.y-d.y,width:c.width,height:c.height}}function mi(e){return"static"===ei(e).position}function ki(e,t){if(!_t(e)||"fixed"===ei(e).position)return null;if(t)return t(e);let i=e.offsetParent;return Rt(e)===i&&(i=i.ownerDocument.body),i}function xi(e,t){const i=Ft(e);if(Gt(e))return i;if(!_t(e)){let t=ii(e);for(;t&&!Yt(t);){if($t(t)&&!mi(t))return t;t=ii(t)}return i}let n=ki(e,t);for(;n&&Zt(n)&&mi(n);)n=ki(n,t);return n&&Yt(n)&&mi(n)&&!Jt(n)?i:n||function(e){let t=ii(e);for(;_t(t)&&!Yt(t);){if(Jt(t))return t;if(Gt(t))return null;t=ii(t)}return null}(e)||i}const yi={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:i,offsetParent:n,strategy:o}=e;const s="fixed"===o,c=Rt(n),r=!!t&&Gt(t.floating);if(n===c||r&&s)return i;let l={scrollLeft:0,scrollTop:0},a=gt(1);const d=gt(0),u=_t(n);if((u||!u&&!s)&&(("body"!==Vt(n)||Ut(c))&&(l=ti(n)),u)){const e=ui(n);a=li(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}const h=!c||u||s?gt(0):pi(c,l);return{width:i.width*a.x,height:i.height*a.y,x:i.x*a.x-l.scrollLeft*a.x+d.x+h.x,y:i.y*a.y-l.scrollTop*a.y+d.y+h.y}},getDocumentElement:Rt,getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:n,strategy:o}=e;const s=[..."clippingAncestors"===i?Gt(t)?[]:function(e,t){const i=t.get(e);if(i)return i;let n=oi(e,[],!1).filter(e=>$t(e)&&"body"!==Vt(e)),o=null;const s="fixed"===ei(e).position;let c=s?ii(e):e;for(;$t(c)&&!Yt(c);){const t=ei(c),i=Jt(c);i||"fixed"!==t.position||(o=null),(s?!i&&!o:!i&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||Ut(c)&&!i&&vi(e,c))?n=n.filter(e=>e!==c):o=t,c=ii(c)}return t.set(e,n),n}(t,this._c):[].concat(i),n],c=gi(t,s[0],o);let r=c.top,l=c.right,a=c.bottom,d=c.left;for(let e=1;e<s.length;e++){const i=gi(t,s[e],o);r=ut(i.top,r),l=dt(i.right,l),a=dt(i.bottom,a),d=ut(i.left,d)}return{width:l-d,height:a-r,x:d,y:r}},getOffsetParent:xi,getElementRects:async function(e){const t=this.getOffsetParent||xi,i=this.getDimensions,n=await i(e.floating);return{reference:wi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:i}=ci(e);return{width:t,height:i}},getScale:li,isElement:$t,isRTL:function(e){return"rtl"===ei(e).direction}};function Li(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ii(e,t,i,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,a=ri(e),d=o||s?[...a?oi(a):[],...t?oi(t):[]]:[];d.forEach(e=>{o&&e.addEventListener("scroll",i,{passive:!0}),s&&e.addEventListener("resize",i)});const u=a&&r?function(e,t){let i,n=null;const o=Rt(e);function s(){var e;clearTimeout(i),null==(e=n)||e.disconnect(),n=null}return function c(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),s();const a=e.getBoundingClientRect(),{left:d,top:u,width:h,height:p}=a;if(r||t(),!h||!p)return;const g={rootMargin:-pt(u)+"px "+-pt(o.clientWidth-(d+h))+"px "+-pt(o.clientHeight-(u+p))+"px "+-pt(d)+"px",threshold:ut(0,dt(1,l))||1};let v=!0;function w(t){const n=t[0].intersectionRatio;if(n!==l){if(!v)return c();n?c(!1,n):i=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==n||Li(a,e.getBoundingClientRect())||c(),v=!1}try{n=new IntersectionObserver(w,{...g,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(w,g)}n.observe(e)}(!0),s}(a,i):null;let h,p=-1,g=null;c&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===a&&g&&t&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),i()}),a&&!l&&g.observe(a),t&&g.observe(t));let v=l?ui(e):null;return l&&function t(){const n=ui(e);v&&!Li(v,n)&&i();v=n,h=requestAnimationFrame(t)}(),i(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",i),s&&e.removeEventListener("resize",i)}),null==u||u(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(h)}}const fi=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var i,n;const{x:o,y:s,placement:c,middlewareData:r}=t,l=await async function(e,t){const{placement:i,platform:n,elements:o}=e,s=await(null==n.isRTL?void 0:n.isRTL(o.floating)),c=kt(i),r=xt(i),l="y"===It(i),a=Tt.has(c)?-1:1,d=s&&l?-1:1,u=mt(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:g}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return r&&"number"==typeof g&&(p="end"===r?-1*g:g),l?{x:p*d,y:h*a}:{x:h*a,y:p*d}}(t,e);return c===(null==(i=r.offset)?void 0:i.placement)&&null!=(n=r.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:c}}}}},Ci=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:n,placement:o,platform:s}=t,{mainAxis:c=!0,crossAxis:r=!1,limiter:l={fn:e=>{let{x:t,y:i}=e;return{x:t,y:i}}},...a}=mt(e,t),d={x:i,y:n},u=await s.detectOverflow(t,a),h=It(kt(o)),p=yt(h);let g=d[p],v=d[h];if(c){const e="y"===p?"bottom":"right";g=wt(g+u["y"===p?"top":"left"],g,g-u[e])}if(r){const e="y"===h?"bottom":"right";v=wt(v+u["y"===h?"top":"left"],v,v-u[e])}const w=l.fn({...t,[p]:g,[h]:v});return{...w,data:{x:w.x-i,y:w.y-n,enabled:{[p]:c,[h]:r}}}}}},bi=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var i,n;const{placement:o,middlewareData:s,rects:c,initialPlacement:r,platform:l,elements:a}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...w}=mt(e,t);if(null!=(i=s.arrow)&&i.alignmentOffset)return{};const m=kt(o),k=It(r),x=kt(r)===r,y=await(null==l.isRTL?void 0:l.isRTL(a.floating)),L=h||(x||!v?[At(r)]:function(e){const t=At(e);return[Ct(e),t,Ct(t)]}(r)),I="none"!==g;!h&&I&&L.push(...Bt(r,v,g,y));const f=[r,...L],C=await l.detectOverflow(t,w),b=[];let M=(null==(n=s.flip)?void 0:n.overflows)||[];if(d&&b.push(C[m]),u){const e=function(e,t,i){void 0===i&&(i=!1);const n=xt(e),o=ft(e),s=Lt(o);let c="x"===o?n===(i?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=At(c)),[c,At(c)]}(o,c,y);b.push(C[e[0]],C[e[1]])}if(M=[...M,{placement:o,overflows:b}],!b.every(e=>e<=0)){var q,S;const e=((null==(q=s.flip)?void 0:q.index)||0)+1,t=f[e];if(t){if(!("alignment"===u&&k!==It(t))||M.every(e=>It(e.placement)!==k||e.overflows[0]>0))return{data:{index:e,overflows:M},reset:{placement:t}}}let i=null==(S=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:S.placement;if(!i)switch(p){case"bestFit":{var B;const e=null==(B=M.filter(e=>{if(I){const t=It(e.placement);return t===k||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:B[0];e&&(i=e);break}case"initialPlacement":i=r}if(o!==i)return{reset:{placement:i}}}return{}}}},Mi=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:n,placement:o,rects:s,platform:c,elements:r,middlewareData:l}=t,{element:a,padding:d=0}=mt(e,t)||{};if(null==a)return{};const u=Pt(d),h={x:i,y:n},p=ft(o),g=Lt(p),v=await c.getDimensions(a),w="y"===p,m=w?"top":"left",k=w?"bottom":"right",x=w?"clientHeight":"clientWidth",y=s.reference[g]+s.reference[p]-h[p]-s.floating[g],L=h[p]-s.reference[p],I=await(null==c.getOffsetParent?void 0:c.getOffsetParent(a));let f=I?I[x]:0;f&&await(null==c.isElement?void 0:c.isElement(I))||(f=r.floating[x]||s.floating[g]);const C=y/2-L/2,b=f/2-v[g]/2-1,M=dt(u[m],b),q=dt(u[k],b),S=M,B=f-v[g]-q,A=f/2-v[g]/2+C,P=wt(S,A,B),j=!l.arrow&&null!=xt(o)&&A!==P&&s.reference[g]/2-(A<S?M:q)-v[g]/2<0,z=j?A<S?A-S:A-B:0;return{[p]:h[p]+z,data:{[p]:P,centerOffset:A-P-z,...j&&{alignmentOffset:z}},reset:j}}}),qi=(e,t,i)=>{const n=new Map,o={platform:yi,...i},s={...o.platform,_c:n};return(async(e,t,i)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:c}=i,r=c.detectOverflow?c:{...c,detectOverflow:Ht},l=await(null==c.isRTL?void 0:c.isRTL(t));let a=await c.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=zt(a,n,l),h=n,p=0;const g={};for(let i=0;i<s.length;i++){const v=s[i];if(!v)continue;const{name:w,fn:m}=v,{x:k,y:x,data:y,reset:L}=await m({x:d,y:u,initialPlacement:n,placement:h,strategy:o,middlewareData:g,rects:a,platform:r,elements:{reference:e,floating:t}});d=null!=k?k:d,u=null!=x?x:u,g[w]={...g[w],...y},L&&p<50&&(p++,"object"==typeof L&&(L.placement&&(h=L.placement),L.rects&&(a=!0===L.rects?await c.getElementRects({reference:e,floating:t,strategy:o}):L.rects),({x:d,y:u}=zt(a,h,l))),i=-1)}return{x:d,y:u,placement:h,strategy:o,middlewareData:g}})(e,t,{...o,platform:s})};function Si(e){class i extends e{constructor(){super(...arguments),this.ariaLabel=null,this.ariaDescription=null,this.ariaInvalid=null}getA11yAttributes(e){const t=e?.label??this.ariaLabel,i=e?.description??this.ariaDescription,n=e?.invalid??"true"===this.ariaInvalid;return{label:$e(t||void 0),description:$e(i||void 0),invalid:$e(n?"true":void 0)}}}return t([Le({type:"string",attribute:"aria-label",description:"Accessible label for the component (aria-label)."})],i.prototype,"ariaLabel",void 0),t([Le({type:"string",attribute:"aria-description",description:"Accessible description bound directly to aria-description."})],i.prototype,"ariaDescription",void 0),t([Le({type:"string",attribute:"aria-invalid",description:"Marks the component invalid for assistive technologies (aria-invalid)."})],i.prototype,"ariaInvalid",void 0),i}const Bi={Gray:"gray",Brand:"brand",Error:"error",Warning:"warning",Success:"success",GrayBlue:"gray-blue",BlueLight:"blue-light",Blue:"blue",Indigo:"indigo",Purple:"purple",Pink:"pink",Orange:"orange"},Ai=["gray","brand","error","warning","success","gray-blue","blue-light","blue","indigo","purple","pink","orange"],Pi="24rem",ji="36rem",zi="48rem",Hi="64rem",Ti="75rem",Di="96rem";function Vi(e,t,i){return Math.min(Math.max(e,t),i)}function Fi(e){return Ai.map(t=>`.color--${t} {\n ${e(t)}\n}`).join("\n")}function Ri(e){const t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});return e?`${e}-${t}`:t}function Oi(e,t,i,n="value"){t.has(n)&&void 0!==t.get(n)&&e.dispatchEvent(new CustomEvent("value-changed",{detail:{value:i},bubbles:!0,composed:!0}))}const $i={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconChevronDown=class extends Ue{render(){return G`
|
|
594
594
|
<!-- @license lucide-static v0.511.0 - ISC -->
|
|
595
595
|
<svg
|
|
596
596
|
class="lucide lucide-chevron-down"
|
|
@@ -626,7 +626,7 @@ const{I:Ze}=re,Ge=()=>document.createComment(""),Ne=(e,t,i)=>{const n=e._$AA.par
|
|
|
626
626
|
<line x1="12" x2="12.01" y1="16" y2="16" />
|
|
627
627
|
</svg>
|
|
628
628
|
|
|
629
|
-
`}},e.LucideIconCircleAlert.styles=Ue.styles,e.LucideIconCircleAlert=t([Ce("quantic-icon-lucide-circle-alert")],e.LucideIconCircleAlert),e.LucideIconChevronDown.ensureDefined(),e.LucideIconCircleAlert.ensureDefined(),e.Combobox=class extends(Si(fe)){constructor(){super(),this.listboxId=Ri("combobox-listbox"),this.value="",this.name="",this.placeholder="",this.options=[],this.size
|
|
629
|
+
`}},e.LucideIconCircleAlert.styles=Ue.styles,e.LucideIconCircleAlert=t([Ce("quantic-icon-lucide-circle-alert")],e.LucideIconCircleAlert),e.LucideIconChevronDown.ensureDefined(),e.LucideIconCircleAlert.ensureDefined(),e.Combobox=class extends(Si(fe)){constructor(){super(),this.listboxId=Ri("combobox-listbox"),this.value="",this.name="",this.placeholder="",this.options=[],this.size=$i.Medium,this.disabled=!1,this.required=!1,this.invalid=!1,this.emptyLabel="No results",this.allowCustomValue=!1,this._open=!1,this._inputValue="",this._activeIndex=-1,this._inputRef=ct(),this._listboxRef=ct(),this.internals=this.attachInternals()}updated(e){const t=e.has("value"),i=e.has("options"),n=e.has("allowCustomValue");if(t||n||i&&!this._open){const e=this.options.find(e=>e.value===this.value);e?this._inputValue=e.label:this.allowCustomValue?this._inputValue=this.value:this._inputValue=""}e.has("value")&&this.internals.setFormValue(this.value),(e.has("value")||e.has("required"))&&this.updateValidity(),e.has("options")&&this._open&&(this._activeIndex=-1),e.has("_activeIndex")&&this._activeIndex>=0&&this.shadowRoot?.querySelectorAll('[role="option"]')[this._activeIndex]?.scrollIntoView({block:"nearest"})}get filteredOptions(){if(!this._inputValue)return this.options;const e=this.filterFn??((e,t)=>e.label.toLowerCase().includes(t.toLowerCase()));return this.options.filter(t=>e(t,this._inputValue))}firstNavigableIndex(){return this.filteredOptions.findIndex(e=>!e.disabled)}lastNavigableIndex(){const e=this.filteredOptions;for(let t=e.length-1;t>=0;t--)if(!e[t].disabled)return t;return-1}nextNavigableIndex(e,t){const i=this.filteredOptions;let n=e+t;for(;n>=0&&n<i.length;){if(!i[n].disabled)return n;n+=t}return e}async openList(){this._open||this.disabled||(this._open=!0,this._activeIndex=-1,await this.updateComplete,this.positionListbox())}closeList(e=!1){if(this._open)if(this._open=!1,this._activeIndex=-1,this.cleanup?.(),this.cleanup=void 0,!e||!this.allowCustomValue&&this._inputValue.trim()){const e=this.options.find(e=>e.value===this.value);this._inputValue=e?.label??(this.allowCustomValue?this.value:"")}else this.commitInputValue()}commitInputValue(){const e=this._inputValue.trim();this._inputValue=e,e!==this.value&&(this.value=e,this.internals.setFormValue(e),this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:e},bubbles:!0,composed:!0})))}positionListbox(){const e=this._listboxRef.value;e&&(this.cleanup=Ii(this,e,async()=>{if(!e)return;const{x:t,y:i}=await qi(this,e,{placement:"bottom-start",middleware:[fi(4),bi(),Ci({padding:8})],strategy:"absolute"});Object.assign(e.style,{left:`${t}px`,top:`${i}px`,width:`${this.getBoundingClientRect().width}px`})}))}selectOption(e){this.value=e.value,this._inputValue=e.label,this.internals.setFormValue(e.value),this._open=!1,this._activeIndex=-1,this.cleanup?.(),this.cleanup=void 0,this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:this.value},bubbles:!0,composed:!0})),this._inputRef.value?.focus()}handleInput(e){const t=e.target;this._inputValue=t.value,this._activeIndex=-1,this._open||this.openList(),this.dispatchEvent(new CustomEvent("input-changed",{detail:{value:this._inputValue},bubbles:!0,composed:!0}))}handleKeyDown(e){switch(e.key){case"ArrowDown":e.preventDefault(),this._open?this._activeIndex=this.nextNavigableIndex(this._activeIndex,1):this.openList().then(()=>{this._activeIndex=this.firstNavigableIndex()});break;case"ArrowUp":if(!this._open)return;e.preventDefault(),this._activeIndex=this.nextNavigableIndex(this._activeIndex,-1);break;case"Home":if(!this._open)return;e.preventDefault(),this._activeIndex=this.firstNavigableIndex();break;case"End":if(!this._open)return;e.preventDefault(),this._activeIndex=this.lastNavigableIndex();break;case"Enter":if(this._open&&this._activeIndex>=0){const t=this.filteredOptions[this._activeIndex];t&&!t.disabled&&(e.preventDefault(),this.selectOption(t))}else!this._open||!this.allowCustomValue&&this._inputValue.trim()||(e.preventDefault(),this.closeList(!0));break;case"Escape":e.preventDefault(),this.closeList();break;case"Tab":this.closeList(!0)}}handleBlur(){this.closeList(!0),this.dispatchEvent(new Event("blur",{bubbles:!0,composed:!0}))}handleFocus(){this.dispatchEvent(new Event("focus",{bubbles:!0,composed:!0}))}handleChevronMouseDown(e){e.preventDefault(),this._open?this.closeList():(this._inputRef.value?.focus(),this.openList())}formResetCallback(){this.value="",this._inputValue="",this.internals.setFormValue("")}formStateRestoreCallback(e){this.value=e,this.internals.setFormValue(e);const t=this.options.find(t=>t.value===e);this._inputValue=t?.label??(this.allowCustomValue?e:"")}formDisabledCallback(e){this.disabled=e}disconnectedCallback(){super.disconnectedCallback(),this.cleanup?.()}updateValidity(){const e=this._inputRef.value;e&&this.internals.setValidity(e.validity,e.validationMessage,e)}get activeDescendant(){if(this._open&&!(this._activeIndex<0))return`${this.listboxId}-opt-${this._activeIndex}`}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0}),t=Oe({listbox:!0,"is-open":this._open,[`size--${this.size}`]:!0}),i=this.getA11yAttributes({invalid:this.invalid}),n=this.filteredOptions;return Z`
|
|
630
630
|
<div class=${e}>
|
|
631
631
|
<input
|
|
632
632
|
${at(this._inputRef)}
|
|
@@ -652,11 +652,11 @@ const{I:Ze}=re,Ge=()=>document.createComment(""),Ne=(e,t,i)=>{const n=e._$AA.par
|
|
|
652
652
|
@blur=${this.handleBlur}
|
|
653
653
|
/>
|
|
654
654
|
${this.invalid?Z`<quantic-icon-lucide-circle-alert
|
|
655
|
-
size=${this.size
|
|
655
|
+
size=${this.size===$i.ExtraSmall?_e.ExtraSmall:_e.Small}
|
|
656
656
|
class="error-icon"
|
|
657
657
|
></quantic-icon-lucide-circle-alert>`:""}
|
|
658
658
|
<quantic-icon-lucide-chevron-down
|
|
659
|
-
size=${this.size
|
|
659
|
+
size=${this.size===$i.ExtraSmall?_e.ExtraSmall:_e.Small}
|
|
660
660
|
class="suffix-icon"
|
|
661
661
|
@mousedown=${this.handleChevronMouseDown}
|
|
662
662
|
></quantic-icon-lucide-chevron-down>
|
|
@@ -967,7 +967,7 @@ const{I:Ze}=re,Ge=()=>document.createComment(""),Ne=(e,t,i)=>{const n=e._$AA.par
|
|
|
967
967
|
);
|
|
968
968
|
color: var(--quantic-text-tertiary);
|
|
969
969
|
}
|
|
970
|
-
`,t([Le({type:"string",default:"",reflect:!0,description:"Currently selected value submitted with the form."})],e.Combobox.prototype,"value",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Combobox.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder shown when no option is selected."})],e.Combobox.prototype,"placeholder",void 0),t([Le({type:"ComboboxOption[]",default:"[]",description:"Options to display. Each item must have a label (display text) and value (form value). Set this prop reactively to implement async/server-side filtering."})],e.Combobox.prototype,"options",void 0),t([Le({type:"ComboboxSize",options:Object.values(
|
|
970
|
+
`,t([Le({type:"string",default:"",reflect:!0,description:"Currently selected value submitted with the form."})],e.Combobox.prototype,"value",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Combobox.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder shown when no option is selected."})],e.Combobox.prototype,"placeholder",void 0),t([Le({type:"ComboboxOption[]",default:"[]",description:"Options to display. Each item must have a label (display text) and value (form value). Set this prop reactively to implement async/server-side filtering."})],e.Combobox.prototype,"options",void 0),t([Le({type:"ComboboxSize",options:Object.values($i),default:$i.Medium,description:"Controls padding and font size."})],e.Combobox.prototype,"size",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Combobox.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.Combobox.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-combobox-field."})],e.Combobox.prototype,"invalid",void 0),t([Le({type:"string",default:"No results",description:"Text shown in the listbox when no options match the input."})],e.Combobox.prototype,"emptyLabel",void 0),t([Le({type:"boolean",default:"false",description:"When true, the user can type a value that does not match any option. The typed text is preserved on blur/Enter and surfaced through the value-changed event. When false (default), only values from the options list are accepted."})],e.Combobox.prototype,"allowCustomValue",void 0),t([Le({type:"(option: ComboboxOption, inputValue: string) => boolean",description:"Custom filter predicate. If omitted, defaults to case-insensitive substring match on option.label."})],e.Combobox.prototype,"filterFn",void 0),t([ve()],e.Combobox.prototype,"_open",void 0),t([ve()],e.Combobox.prototype,"_inputValue",void 0),t([ve()],e.Combobox.prototype,"_activeIndex",void 0),e.Combobox=t([Ie("value-changed",{description:"Fired when the user selects an option from the list, clears the field, or commits a custom value when allowCustomValue is enabled.",detail:"{ value: string }"}),Ie("input-changed",{description:"Fired on every keystroke in the text field. Use to drive async filtering by updating the options prop in response.",detail:"{ value: string }"}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ce("quantic-combobox")],e.Combobox);const _i=Bi,Ei={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.Badge=class extends fe{constructor(){super(...arguments),this.color=_i.Brand,this.size=Ei.Medium,this.rounded=!1,this.icon=!1}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0,[`color--${this.color}`]:!0,icon:this.icon,rounded:this.rounded});return je`
|
|
971
971
|
<div class=${e}>
|
|
972
972
|
<slot name="before" data-description="Content before the label (e.g. icon)."></slot>
|
|
973
973
|
<slot data-description="Badge label text or icon."></slot>
|
|
@@ -1067,7 +1067,7 @@ const{I:Ze}=re,Ge=()=>document.createComment(""),Ne=(e,t,i)=>{const n=e._$AA.par
|
|
|
1067
1067
|
display: flex;
|
|
1068
1068
|
align-items: center;
|
|
1069
1069
|
}
|
|
1070
|
-
`,t([Le({type:"BadgeColor",options:Object.values(
|
|
1070
|
+
`,t([Le({type:"BadgeColor",options:Object.values(_i),default:_i.Brand,description:'Semantic color. Use "error" for failures, "success" for passing states, "warning" for caution, "brand" (default) for neutral highlights.'})],e.Badge.prototype,"color",void 0),t([Le({type:"BadgeSize",options:Object.values(Ei),default:Ei.Medium,description:"Controls padding and font size."})],e.Badge.prototype,"size",void 0),t([Le({type:"boolean",default:"false",description:"Applies a fully rounded (pill) border radius."})],e.Badge.prototype,"rounded",void 0),t([Le({type:"boolean",default:"false",description:"Square icon-only mode — equal padding on all sides."})],e.Badge.prototype,"icon",void 0),e.Badge=t([Ce("quantic-badge")],e.Badge),e.Badge.ensureDefined(),e.StatusBadge=class extends fe{constructor(){super(...arguments),this.color=_i.Gray,this.size=Ei.Medium}render(){return je`
|
|
1071
1071
|
<quantic-badge color=${this.color} size=${this.size}>
|
|
1072
1072
|
<span class="status-dot" slot="before"></span>
|
|
1073
1073
|
<slot></slot>
|
|
@@ -1083,7 +1083,7 @@ const{I:Ze}=re,Ge=()=>document.createComment(""),Ne=(e,t,i)=>{const n=e._$AA.par
|
|
|
1083
1083
|
border-radius: 50%;
|
|
1084
1084
|
background-color: currentColor;
|
|
1085
1085
|
}
|
|
1086
|
-
`,t([Le({type:"BadgeColor",options:Object.values(
|
|
1086
|
+
`,t([Le({type:"BadgeColor",options:Object.values(_i),default:_i.Gray,description:"Semantic color of both the dot and badge background."})],e.StatusBadge.prototype,"color",void 0),t([Le({type:"BadgeSize",options:Object.values(Ei),default:Ei.Medium,description:"Controls padding and font size."})],e.StatusBadge.prototype,"size",void 0),e.StatusBadge=t([Ce("quantic-status-badge")],e.StatusBadge);const Ui={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},Zi=Bi;e.CapacityBar=class extends fe{constructor(){super(...arguments),this.total=0,this.used=0,this.size=Ui.Small,this.color=Zi.Brand,this.label=null,this.ariaLabel=null}get safeTotal(){return Number.isFinite(this.total)?Vi(Math.trunc(this.total),0,100):0}get clamped(){return Number.isFinite(this.used)?Vi(Math.trunc(this.used),0,this.safeTotal):0}render(){const{clamped:e,safeTotal:t}=this;return Z`
|
|
1087
1087
|
<div
|
|
1088
1088
|
class=${Oe({wrapper:!0,[`size--${this.size}`]:!0})}
|
|
1089
1089
|
>
|
|
@@ -1198,13 +1198,13 @@ const{I:Ze}=re,Ge=()=>document.createComment(""),Ne=(e,t,i)=>{const n=e._$AA.par
|
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
${r(Fi(e=>`--quantic-component-capacity-bar-color: var(--quantic-utility-${e}-500);`))}
|
|
1201
|
-
`,t([Le({type:"number",default:"0",description:"Total number of capacity segments (max 100)."})],e.CapacityBar.prototype,"total",void 0),t([Le({type:"number",default:"0",description:"Number of used/filled segments. Clamped to [0, total]."})],e.CapacityBar.prototype,"used",void 0),t([Le({type:"CapacityBarSize",options:Object.values(
|
|
1201
|
+
`,t([Le({type:"number",default:"0",description:"Total number of capacity segments (max 100)."})],e.CapacityBar.prototype,"total",void 0),t([Le({type:"number",default:"0",description:"Number of used/filled segments. Clamped to [0, total]."})],e.CapacityBar.prototype,"used",void 0),t([Le({type:"CapacityBarSize",options:Object.values(Ui),default:Ui.Small,description:"Controls segment height and label font size."})],e.CapacityBar.prototype,"size",void 0),t([Le({type:"CapacityBarColor",options:Object.values(Zi),default:Zi.Brand,description:"Color of filled segments."})],e.CapacityBar.prototype,"color",void 0),t([Le({type:"string",description:"Optional visible text label rendered next to the bar."})],e.CapacityBar.prototype,"label",void 0),t([Le({type:"string",attribute:"aria-label",description:"Accessible label for the meter element; falls back to the label prop."})],e.CapacityBar.prototype,"ariaLabel",void 0),e.CapacityBar=t([Ce("quantic-capacity-bar")],e.CapacityBar);
|
|
1202
1202
|
/**
|
|
1203
1203
|
* @license
|
|
1204
1204
|
* Copyright 2021 Google LLC
|
|
1205
1205
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1206
1206
|
*/
|
|
1207
|
-
let
|
|
1207
|
+
let Gi=class extends Event{constructor(e,t,i,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=t,this.callback=i,this.subscribe=n??!1}};
|
|
1208
1208
|
/**
|
|
1209
1209
|
* @license
|
|
1210
1210
|
* Copyright 2021 Google LLC
|
|
@@ -1215,28 +1215,28 @@ let Zi=class extends Event{constructor(e,t,i,n){super("context-request",{bubbles
|
|
|
1215
1215
|
* Copyright 2021 Google LLC
|
|
1216
1216
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1217
1217
|
*/
|
|
1218
|
-
let
|
|
1218
|
+
let Ni=class{constructor(e,t,i,n){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(e,t)=>{this.unsubscribe&&(this.unsubscribe!==t&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=e,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(e,t)),this.unsubscribe=t},this.host=e,void 0!==t.context){const e=t;this.context=e.context,this.callback=e.callback,this.subscribe=e.subscribe??!1}else this.context=t,this.callback=i,this.subscribe=n??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Gi(this.context,this.host,this.t,this.subscribe))}};
|
|
1219
1219
|
/**
|
|
1220
1220
|
* @license
|
|
1221
1221
|
* Copyright 2021 Google LLC
|
|
1222
1222
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1223
|
-
*/class
|
|
1223
|
+
*/class Wi{get value(){return this.o}set value(e){this.setValue(e)}setValue(e,t=!1){const i=t||!Object.is(e,this.o);this.o=e,i&&this.updateObservers()}constructor(e){this.subscriptions=new Map,this.updateObservers=()=>{for(const[e,{disposer:t}]of this.subscriptions)e(this.o,t)},void 0!==e&&(this.value=e)}addCallback(e,t,i){if(!i)return void e(this.value);this.subscriptions.has(e)||this.subscriptions.set(e,{disposer:()=>{this.subscriptions.delete(e)},consumerHost:t});const{disposer:n}=this.subscriptions.get(e);e(this.value,n)}clearCallbacks(){this.subscriptions.clear()}}
|
|
1224
1224
|
/**
|
|
1225
1225
|
* @license
|
|
1226
1226
|
* Copyright 2021 Google LLC
|
|
1227
1227
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1228
|
-
*/let
|
|
1228
|
+
*/let Xi=class extends Event{constructor(e,t){super("context-provider",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=t}},Ki=class extends Wi{constructor(e,t,i){super(void 0!==t.context?t.initialValue:i),this.onContextRequest=e=>{if(e.context!==this.context)return;const t=e.contextTarget??e.composedPath()[0];t!==this.host&&(e.stopPropagation(),this.addCallback(e.callback,t,e.subscribe))},this.onProviderRequest=e=>{if(e.context!==this.context)return;if((e.contextTarget??e.composedPath()[0])===this.host)return;const t=new Set;for(const[e,{consumerHost:i}]of this.subscriptions)t.has(e)||(t.add(e),i.dispatchEvent(new Gi(this.context,i,e,!0)));e.stopPropagation()},this.host=e,void 0!==t.context?this.context=t.context:this.context=t,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Xi(this.context,this.host))}};
|
|
1229
1229
|
/**
|
|
1230
1230
|
* @license
|
|
1231
1231
|
* Copyright 2017 Google LLC
|
|
1232
1232
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1233
1233
|
*/
|
|
1234
|
-
function
|
|
1234
|
+
function Ji({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i)return{get(){return t.get.call(this)},set(e){return n.get(this).setValue(e),t.set.call(this,e)},init(t){return n.set(this,new Ki(this,{context:e,initialValue:t})),t}};{t.constructor.addInitializer(t=>{n.set(t,new Ki(t,{context:e}))});const o=Object.getOwnPropertyDescriptor(t,i);let s;if(void 0===o){const e=new WeakMap;s={get(){return e.get(this)},set(t){n.get(this).setValue(t),e.set(this,t)},configurable:!0,enumerable:!0}}else{const e=o.set;s={...o,set(t){n.get(this).setValue(t),e?.call(this,t)}}}return void Object.defineProperty(t,i,s)}}}
|
|
1235
1235
|
/**
|
|
1236
1236
|
* @license
|
|
1237
1237
|
* Copyright 2022 Google LLC
|
|
1238
1238
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1239
|
-
*/function
|
|
1239
|
+
*/function Qi({context:e,subscribe:t}){return(i,n)=>{"object"==typeof n?n.addInitializer(function(){new Ni(this,{context:e,callback:e=>{i.set.call(this,e)},subscribe:t})}):i.constructor.addInitializer(i=>{new Ni(i,{context:e,callback:e=>{i[n]=e},subscribe:t})})}}const Yi={Small:"sm",Medium:"md",Large:"lg"},en="button-group.size";var tn,nn,on;e.ButtonGroup=class extends fe{constructor(){super(...arguments),this.size=Yi.Medium,this.ariaLabel=null}render(){return Z`
|
|
1240
1240
|
<div
|
|
1241
1241
|
class="container"
|
|
1242
1242
|
role="toolbar"
|
|
@@ -1270,7 +1270,7 @@ function Ki({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1270
1270
|
border: 1px solid var(--quantic-component-button-group-border-color);
|
|
1271
1271
|
border-radius: var(--quantic-component-button-group-border-radius);
|
|
1272
1272
|
}
|
|
1273
|
-
`,t([
|
|
1273
|
+
`,t([Ji({context:en}),Le({type:"ButtonGroupSize",options:Object.values(Yi),default:Yi.Medium,description:"Size applied to all child items via context."})],e.ButtonGroup.prototype,"size",void 0),t([Le({type:"string",attribute:"aria-label",description:"Accessible label for the toolbar role."})],e.ButtonGroup.prototype,"ariaLabel",void 0),e.ButtonGroup=t([Ce("quantic-button-group")],e.ButtonGroup),e.ButtonGroupItem=class extends fe{constructor(){super(...arguments),this.disabled=!1,this.active=!1}render(){const e=Oe({main:!0,[`size--${this.size}`]:!!this.size,"is-active":this.active});return Z`
|
|
1274
1274
|
<button
|
|
1275
1275
|
class=${e}
|
|
1276
1276
|
tabindex=${this.disabled?-1:0}
|
|
@@ -1392,7 +1392,7 @@ function Ki({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1392
1392
|
display: flex;
|
|
1393
1393
|
align-items: center;
|
|
1394
1394
|
}
|
|
1395
|
-
`,t([
|
|
1395
|
+
`,t([Qi({context:en,subscribe:!0})],e.ButtonGroupItem.prototype,"size",void 0),t([Le({type:"boolean",default:"false",description:"Prevents interaction and reduces opacity.",reflect:!0})],e.ButtonGroupItem.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",description:"Marks this item as the currently selected/active option.",reflect:!0})],e.ButtonGroupItem.prototype,"active",void 0),e.ButtonGroupItem=t([Ce("quantic-button-group-item")],e.ButtonGroupItem),e.GridDensity=void 0,(tn=e.GridDensity||(e.GridDensity={})).Dense="dense",tn.Compact="compact",tn.Comfortable="comfortable",tn.Sparse="sparse",tn.Custom="custom",e.CardVariant=void 0,(nn=e.CardVariant||(e.CardVariant={})).Solid="solid",nn.Outline="outline",e.CardSize=void 0,(on=e.CardSize||(e.CardSize={})).ExtraSmall="xs",on.Small="sm",on.Medium="md",on.Large="lg";const sn=e.GridDensity;e.Card=class extends(Me(fe)){constructor(){super(...arguments),this.as="div",this.variant=e.CardVariant.Outline,this.size=e.CardSize.Medium,this.type="button",this.disabled=!1}render(){const e=Oe({main:!0,[`variant--${this.variant}`]:!0,[`size--${this.size}`]:!0,"is-interactive":"button"===this.as||"a"===this.as,"is-disabled":this.disabled,"has-action-icon":this.hasSlotContent("action-icon")}),t=e=>{this.handleAutoHide(e),this.requestUpdate()},i=je`
|
|
1396
1396
|
<slot
|
|
1397
1397
|
name="header"
|
|
1398
1398
|
class="header"
|
|
@@ -2183,7 +2183,7 @@ function Ki({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2183
2183
|
[hidden] {
|
|
2184
2184
|
display: none;
|
|
2185
2185
|
}
|
|
2186
|
-
`,e.CardTitle=t([Ce("quantic-card-title")],e.CardTitle);const
|
|
2186
|
+
`,e.CardTitle=t([Ce("quantic-card-title")],e.CardTitle);const cn={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.CodeInput=class extends(Si(fe)){constructor(){super(),this.value="",this.rows=4,this.name="",this.placeholder="",this.size=cn.Medium,this.disabled=!1,this.readOnly=!1,this.required=!1,this.invalid=!1,this.lineNumbers=!1,this.stretch=!1,this.tabIndent=!1,this.lineCount=1,this.handleKeydown=e=>{!this.tabIndent||"Tab"!==e.key||this.disabled||this.readOnly||(e.preventDefault(),document.execCommand("insertText",!1,"\t")),this.forwardNative(e)},this.internals=this.attachInternals()}updated(e){e.has("value")&&(this.internals.setFormValue(this.value),this.updateValidity(),this.lineCount=Math.max(1,this.value.split("\n").length)),Oi(this,e,this.value)}handleInput(e){this.value=e.target.value}forwardNative(e){const t={bubbles:!0,cancelable:e.cancelable,composed:!0};e instanceof KeyboardEvent?this.dispatchEvent(new KeyboardEvent(e.type,{...t,key:e.key,code:e.code,location:e.location,repeat:e.repeat,isComposing:e.isComposing,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey})):e instanceof FocusEvent?this.dispatchEvent(new FocusEvent(e.type,{...t,relatedTarget:e.relatedTarget})):this.dispatchEvent(new Event(e.type,t))}handleScroll(e){const t=e.target;this.lineNumbersEl&&(this.lineNumbersEl.scrollTop=t.scrollTop)}formResetCallback(){this.value="",this.internals.setFormValue(""),this.lineCount=1}formStateRestoreCallback(e){this.value=e,this.internals.setFormValue(e),this.lineCount=Math.max(1,e.split("\n").length)}formDisabledCallback(e){this.disabled=e}updateValidity(){const e=this.shadowRoot?.querySelector("textarea");e&&this.internals.setValidity(e.validity,e.validationMessage,e)}renderLineNumbers(){const e=Math.max(2,String(this.lineCount).length);return Array.from({length:this.lineCount},(t,i)=>Z`<span>${String(i+1).padStart(e,"0")}</span>`)}render(){const e=this.getA11yAttributes({invalid:this.invalid}),t=Oe({main:!0,[`size--${this.size}`]:!0,"has-line-numbers":this.lineNumbers,stretch:this.stretch});return Z`
|
|
2187
2187
|
<div class=${t}>
|
|
2188
2188
|
${this.lineNumbers?Z`<div class="line-numbers" aria-hidden="true">
|
|
2189
2189
|
${this.renderLineNumbers()}
|
|
@@ -2415,7 +2415,7 @@ function Ki({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2415
2415
|
.textarea:read-only {
|
|
2416
2416
|
cursor: default;
|
|
2417
2417
|
}
|
|
2418
|
-
`,t([Le({type:"string",default:"''",description:"Current value of the editor."})],e.CodeInput.prototype,"value",void 0),t([Le({type:"number",default:"4",description:"Number of visible text rows in the textarea."})],e.CodeInput.prototype,"rows",void 0),t([Le({type:"string",default:"''",description:"Name submitted with form data."})],e.CodeInput.prototype,"name",void 0),t([Le({type:"string",default:"''",description:"Placeholder text shown when the editor is empty."})],e.CodeInput.prototype,"placeholder",void 0),t([Le({type:"CodeInputSize",options:Object.values(
|
|
2418
|
+
`,t([Le({type:"string",default:"''",description:"Current value of the editor."})],e.CodeInput.prototype,"value",void 0),t([Le({type:"number",default:"4",description:"Number of visible text rows in the textarea."})],e.CodeInput.prototype,"rows",void 0),t([Le({type:"string",default:"''",description:"Name submitted with form data."})],e.CodeInput.prototype,"name",void 0),t([Le({type:"string",default:"''",description:"Placeholder text shown when the editor is empty."})],e.CodeInput.prototype,"placeholder",void 0),t([Le({type:"CodeInputSize",options:Object.values(cn),default:cn.Medium,description:"Controls font size and padding."})],e.CodeInput.prototype,"size",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and applies disabled styling."})],e.CodeInput.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Allows text to be read but not edited."})],e.CodeInput.prototype,"readOnly",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.CodeInput.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling when the field fails validation."})],e.CodeInput.prototype,"invalid",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Shows a line-number gutter on the left side of the editor.",attribute:"line-numbers"})],e.CodeInput.prototype,"lineNumbers",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Makes the editor fill the height of its container. Overrides rows."})],e.CodeInput.prototype,"stretch",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Inserts a tab character when pressing Tab instead of moving focus. Disabled by default to preserve keyboard navigation.",attribute:"tab-indent"})],e.CodeInput.prototype,"tabIndent",void 0),t([me(".line-numbers")],e.CodeInput.prototype,"lineNumbersEl",void 0),t([ve()],e.CodeInput.prototype,"lineCount",void 0),e.CodeInput=t([Ie("value-changed",{description:"Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ie("keydown",{forwarded:!0}),Ie("keyup",{forwarded:!0}),Ie("keypress",{forwarded:!0}),Ce("quantic-code-input")],e.CodeInput);const rn={Small:"sm",Medium:"md",Large:"lg"};e.Checkbox=class extends(Si(fe)){constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.indeterminate=!1,this.label="",this.name="",this.size=rn.Medium,this.defaultChecked=!1,this.defaultIndeterminate=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked"),this.defaultIndeterminate=this.hasAttribute("indeterminate")}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}updated(e){super.updated(e);const t=this.renderRoot.querySelector("input");t&&(t.indeterminate=this.indeterminate,e.has("checked")&&(t.checked=this.checked)),e.has("checked")&&this.internals.setFormValue(this.checked?"on":null)}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked,indeterminate:this.indeterminate},bubbles:!0,composed:!0}))}formResetCallback(){const e=this.renderRoot.querySelector("input");this.checked=this.defaultChecked,this.indeterminate=this.defaultIndeterminate,this.internals.setFormValue(this.defaultChecked?"on":null),e&&(e.checked=this.defaultChecked,e.indeterminate=this.defaultIndeterminate)}formStateRestoreCallback(e){this.checked="on"===e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}get computedLabel(){return this.ariaLabel||this.label}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({label:this.computedLabel,invalid:this.invalid});return Z`
|
|
2419
2419
|
<label class=${e}>
|
|
2420
2420
|
<input
|
|
2421
2421
|
type="checkbox"
|
|
@@ -2598,7 +2598,7 @@ function Ki({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2598
2598
|
input:disabled + .box .dashmark {
|
|
2599
2599
|
color: var(--quantic-fg-disabled-subtle);
|
|
2600
2600
|
}
|
|
2601
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the checkbox is checked."})],e.Checkbox.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the checkbox as required for form validation."})],e.Checkbox.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and applies disabled styling."})],e.Checkbox.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling when the field fails validation."})],e.Checkbox.prototype,"invalid",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Shows an indeterminate (partial-selection) state."})],e.Checkbox.prototype,"indeterminate",void 0),t([Le({type:"string",default:"''",description:"Visible label text. Overridden by slotted content."})],e.Checkbox.prototype,"label",void 0),t([Le({type:"string",default:"''",description:"Name submitted with form data."})],e.Checkbox.prototype,"name",void 0),t([Le({type:"CheckboxSize",options:Object.values(
|
|
2601
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the checkbox is checked."})],e.Checkbox.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the checkbox as required for form validation."})],e.Checkbox.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and applies disabled styling."})],e.Checkbox.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling when the field fails validation."})],e.Checkbox.prototype,"invalid",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Shows an indeterminate (partial-selection) state."})],e.Checkbox.prototype,"indeterminate",void 0),t([Le({type:"string",default:"''",description:"Visible label text. Overridden by slotted content."})],e.Checkbox.prototype,"label",void 0),t([Le({type:"string",default:"''",description:"Name submitted with form data."})],e.Checkbox.prototype,"name",void 0),t([Le({type:"CheckboxSize",options:Object.values(rn),default:rn.Medium,description:"Controls the size of the checkbox box and label text."})],e.Checkbox.prototype,"size",void 0),e.Checkbox=t([Ie("value-changed",{description:"Fired whenever the input's value is updated (on input & change).",detail:"{ checked: boolean, indeterminate: boolean }"}),Ie("input",{forwarded:!0}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ie("keydown",{forwarded:!0}),Ie("keyup",{forwarded:!0}),Ce("quantic-checkbox")],e.Checkbox);const ln={Small:"sm",Medium:"md",Large:"lg",XLarge:"xl"},an={None:"none",Subtle:"subtle",Opaque:"opaque"},dn={Dialog:"dialog",AlertDialog:"alertdialog"};e.DialogBackdropElement=class extends fe{constructor(){super(...arguments),this.visible=!1,this.variant=an.Opaque}render(){return Z`<div class="backdrop backdrop--${this.variant}"></div>`}},e.DialogBackdropElement.meta={tag:"quantic-dialog-backdrop",description:"Semi-transparent overlay rendered behind quantic-dialog. Internal sub-component — do not use directly.",category:"feedback",relatedTo:["quantic-dialog"]},e.DialogBackdropElement.styles=l`
|
|
2602
2602
|
:host {
|
|
2603
2603
|
position: fixed;
|
|
2604
2604
|
inset: 0;
|
|
@@ -2636,7 +2636,7 @@ function Ki({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2636
2636
|
background-color: transparent;
|
|
2637
2637
|
pointer-events: none;
|
|
2638
2638
|
}
|
|
2639
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the backdrop is visible."})],e.DialogBackdropElement.prototype,"visible",void 0),t([Le({type:"DialogBackdrop",options:Object.values(
|
|
2639
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the backdrop is visible."})],e.DialogBackdropElement.prototype,"visible",void 0),t([Le({type:"DialogBackdrop",options:Object.values(an),default:an.Opaque,description:"Visual style of the backdrop overlay."})],e.DialogBackdropElement.prototype,"variant",void 0),e.DialogBackdropElement=t([Ce("quantic-dialog-backdrop")],e.DialogBackdropElement),e.DialogTitle=class extends(Me(fe)){constructor(){super(...arguments),this.level="2"}render(){return Z`
|
|
2640
2640
|
<div class="main">
|
|
2641
2641
|
<hgroup>
|
|
2642
2642
|
<slot
|
|
@@ -2716,12 +2716,12 @@ function Ki({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2716
2716
|
* tabbable 6.3.0
|
|
2717
2717
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
2718
2718
|
*/
|
|
2719
|
-
var
|
|
2719
|
+
var un=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],hn=un.join(","),pn="undefined"==typeof Element,gn=pn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,vn=!pn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},wn=function(e,t){var i;void 0===t&&(t=!0);var n=null==e||null===(i=e.getAttribute)||void 0===i?void 0:i.call(e,"inert");return""===n||"true"===n||t&&e&&wn(e.parentNode)},mn=function(e,t,i){if(wn(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(hn));return t&&gn.call(e,hn)&&n.unshift(e),n=n.filter(i)},kn=function(e,t,i){for(var n=[],o=Array.from(e);o.length;){var s=o.shift();if(!wn(s,!1))if("SLOT"===s.tagName){var c=s.assignedElements(),r=c.length?c:s.children,l=kn(r,!0,i);i.flatten?n.push.apply(n,l):n.push({scopeParent:s,candidates:l})}else{gn.call(s,hn)&&i.filter(s)&&(t||!e.includes(s))&&n.push(s);var a=s.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(s),d=!wn(a,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(s));if(a&&d){var u=kn(!0===a?s.children:a.children,!0,i);i.flatten?n.push.apply(n,u):n.push({scopeParent:s,candidates:u})}else o.unshift.apply(o,s.children)}}return n},xn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},yn=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,i=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===i||"true"===i}(e))&&!xn(e)?0:e.tabIndex},Ln=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},In=function(e){return"INPUT"===e.tagName},fn=function(e){return function(e){return In(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,i=e.form||vn(e),n=function(e){return i.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===t)return e[i]}(t,e.form);return!o||o===e}(e)},Cn=function(e){var t=e.getBoundingClientRect(),i=t.width,n=t.height;return 0===i&&0===n},bn=function(e,t){var i=t.displayCheck,n=t.getShadowRoot;if("full-native"===i&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var o=gn.call(e,"details>summary:first-of-type")?e.parentElement:e;if(gn.call(o,"details:not([open]) *"))return!0;if(i&&"full"!==i&&"full-native"!==i&&"legacy-full"!==i){if("non-zero-area"===i)return Cn(e)}else{if("function"==typeof n){for(var s=e;e;){var c=e.parentElement,r=vn(e);if(c&&!c.shadowRoot&&!0===n(c))return Cn(e);e=e.assignedSlot?e.assignedSlot:c||r===e.ownerDocument?c:r.host}e=s}if(function(e){var t,i,n,o,s=e&&vn(e),c=null===(t=s)||void 0===t?void 0:t.host,r=!1;if(s&&s!==e)for(r=!!(null!==(i=c)&&void 0!==i&&null!==(n=i.ownerDocument)&&void 0!==n&&n.contains(c)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!r&&c;){var l,a,d;r=!(null===(a=c=null===(l=s=vn(c))||void 0===l?void 0:l.host)||void 0===a||null===(d=a.ownerDocument)||void 0===d||!d.contains(c))}return r}(e))return!e.getClientRects().length;if("legacy-full"!==i)return!0}return!1},Mn=function(e,t){return!(t.disabled||wn(t)||function(e){return In(e)&&"hidden"===e.type}(t)||bn(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var i=0;i<t.children.length;i++){var n=t.children.item(i);if("LEGEND"===n.tagName)return!!gn.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},qn=function(e,t){return!(fn(t)||yn(t)<0||!Mn(e,t))},Sn=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Bn=function(e){var t=[],i=[];return e.forEach(function(e,n){var o=!!e.scopeParent,s=o?e.scopeParent:e,c=function(e,t){var i=yn(e);return i<0&&t&&!xn(e)?0:i}(s,o),r=o?Bn(e.candidates):s;0===c?o?t.push.apply(t,r):t.push(s):i.push({documentOrder:n,tabIndex:c,item:e,isScope:o,content:r})}),i.sort(Ln).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},An=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==gn.call(e,hn)&&qn(t,e)},Pn=un.concat("iframe").join(","),jn=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==gn.call(e,Pn)&&Mn(t,e)};
|
|
2720
2720
|
/*!
|
|
2721
2721
|
* focus-trap 7.6.6
|
|
2722
2722
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
2723
2723
|
*/
|
|
2724
|
-
function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function zn(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Hn(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function Tn(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(i),!0).forEach(function(t){zn(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Hn(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function Dn(e){return function(e){if(Array.isArray(e))return jn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return jn(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?jn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Vn=function(e,t){if(e.length>0){var i=e[e.length-1];i!==t&&i._setPausedState(!0)}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},Fn=function(e,t){var i=e.indexOf(t);-1!==i&&e.splice(i,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},Rn=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},On=function(e){return Rn(e)&&!e.shiftKey},$n=function(e){return Rn(e)&&e.shiftKey},_n=function(e){return setTimeout(e,0)},En=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,i):e},Un=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Zn=[],Gn=function(e,t){var i,n=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||Zn,s=Tn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:On,isKeyBackward:$n},t),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},r=function(e,t,i){return e&&void 0!==e[t]?e[t]:s[i||t]},l=function(e,t){var i="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return c.containerGroups.findIndex(function(t){var n=t.container,o=t.tabbableNodes;return n.contains(e)||(null==i?void 0:i.includes(n))||o.find(function(t){return t===e})})},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.hasFallback,o=void 0!==i&&i,c=t.params,r=void 0===c?[]:c,l=s[e];if("function"==typeof l&&(l=l.apply(void 0,Dn(r))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=l;if("string"==typeof l){try{a=n.querySelector(l)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!a&&!o)throw new Error("`".concat(e,"` as selector refers to no known node"))}return a},d=function(){var e=a("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!Pn(e,s.tabbableOptions))if(l(n.activeElement)>=0)e=n.activeElement;else{var t=c.tabbableGroups[0];e=t&&t.firstTabbableNode||a("fallbackFocus")}else null===e&&(e=a("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(c.containerGroups=c.containers.map(function(e){var t=function(e,t){var i;return i=(t=t||{}).getShadowRoot?mn([e],t.includeContainer,{filter:Mn.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:qn}):wn(e,t.includeContainer,Mn.bind(null,t)),Sn(i)}(e,s.tabbableOptions),i=function(e,t){return(t=t||{}).getShadowRoot?mn([e],t.includeContainer,{filter:bn.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):wn(e,t.includeContainer,bn.bind(null,t))}(e,s.tabbableOptions),n=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,c=i.find(function(e){return Bn(e)}),r=i.slice().reverse().find(function(e){return Bn(e)}),l=!!t.find(function(e){return xn(e)>0});return{container:e,tabbableNodes:t,focusableNodes:i,posTabIndexesFound:l,firstTabbableNode:n,lastTabbableNode:o,firstDomTabbableNode:c,lastDomTabbableNode:r,nextTabbableNode:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?n?i.slice(i.indexOf(e)+1).find(function(e){return Bn(e)}):i.slice(0,i.indexOf(e)).reverse().find(function(e){return Bn(e)}):t[o+(n?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!a("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(e){return e.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?h(t.shadowRoot):t},p=function(e){!1!==e&&e!==h(document)&&(e&&e.focus?(e.focus({preventScroll:!!s.preventScroll}),c.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):p(d()))},g=function(e){var t=a("setReturnFocus",{params:[e]});return t||!1!==t&&e},v=function(e){var t=e.target,i=e.event,n=e.isBackward,o=void 0!==n&&n;t=t||Un(i),u();var r=null;if(c.tabbableGroups.length>0){var d=l(t,i),h=d>=0?c.containerGroups[d]:void 0;if(d<0)r=o?c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:c.tabbableGroups[0].firstTabbableNode;else if(o){var p=c.tabbableGroups.findIndex(function(e){var i=e.firstTabbableNode;return t===i});if(p<0&&(h.container===t||Pn(t,s.tabbableOptions)&&!Bn(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var g=0===p?c.tabbableGroups.length-1:p-1,v=c.tabbableGroups[g];r=xn(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else Rn(i)||(r=h.nextTabbableNode(t,!1))}else{var w=c.tabbableGroups.findIndex(function(e){var i=e.lastTabbableNode;return t===i});if(w<0&&(h.container===t||Pn(t,s.tabbableOptions)&&!Bn(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(w=d),w>=0){var m=w===c.tabbableGroups.length-1?0:w+1,k=c.tabbableGroups[m];r=xn(t)>=0?k.firstTabbableNode:k.firstDomTabbableNode}else Rn(i)||(r=h.nextTabbableNode(t))}}else r=a("fallbackFocus");return r},w=function(e){var t=Un(e);l(t,e)>=0||(En(s.clickOutsideDeactivates,e)?i.deactivate({returnFocus:s.returnFocusOnDeactivate}):En(s.allowOutsideClick,e)||e.preventDefault())},m=function(e){var t=Un(e),i=l(t,e)>=0;if(i||t instanceof Document)i&&(c.mostRecentlyFocusedNode=t);else{var n;e.stopImmediatePropagation();var o=!0;if(c.mostRecentlyFocusedNode)if(xn(c.mostRecentlyFocusedNode)>0){var r=l(c.mostRecentlyFocusedNode),a=c.containerGroups[r].tabbableNodes;if(a.length>0){var u=a.findIndex(function(e){return e===c.mostRecentlyFocusedNode});u>=0&&(s.isKeyForward(c.recentNavEvent)?u+1<a.length&&(n=a[u+1],o=!1):u-1>=0&&(n=a[u-1],o=!1))}}else c.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return xn(e)>0})})||(o=!1);else o=!1;o&&(n=v({target:c.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(c.recentNavEvent)})),p(n||(c.mostRecentlyFocusedNode||d()))}c.recentNavEvent=void 0},k=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c.recentNavEvent=e;var i=v({event:e,isBackward:t});i&&(Rn(e)&&e.preventDefault(),p(i))}(e,s.isKeyBackward(e))},x=function(e){(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)})(e)&&!1!==En(s.escapeDeactivates,e)&&(e.preventDefault(),i.deactivate())},y=function(e){var t=Un(e);l(t,e)>=0||En(s.clickOutsideDeactivates,e)||En(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},L=function(){if(c.active)return Vn(o,i),c.delayInitialFocusTimer=s.delayInitialFocus?_n(function(){p(d())}):p(d()),n.addEventListener("focusin",m,!0),n.addEventListener("mousedown",w,{capture:!0,passive:!1}),n.addEventListener("touchstart",w,{capture:!0,passive:!1}),n.addEventListener("click",y,{capture:!0,passive:!1}),n.addEventListener("keydown",k,{capture:!0,passive:!1}),n.addEventListener("keydown",x),i},I=function(){if(c.active)return n.removeEventListener("focusin",m,!0),n.removeEventListener("mousedown",w,!0),n.removeEventListener("touchstart",w,!0),n.removeEventListener("click",y,!0),n.removeEventListener("keydown",k,!0),n.removeEventListener("keydown",x),i},f="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===c.mostRecentlyFocusedNode})})&&p(d())}):void 0,C=function(){f&&(f.disconnect(),c.active&&!c.paused&&c.containers.map(function(e){f.observe(e,{subtree:!0,childList:!0})}))};return i={get active(){return c.active},get paused(){return c.paused},activate:function(e){if(c.active)return this;var t=r(e,"onActivate"),i=r(e,"onPostActivate"),o=r(e,"checkCanFocusTrap");o||u(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=h(n),null==t||t();var s=function(){o&&u(),L(),C(),null==i||i()};return o?(o(c.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!c.active)return this;var t=Tn({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,I(),c.active=!1,c.paused=!1,C(),Fn(o,i);var n=r(t,"onDeactivate"),l=r(t,"onPostDeactivate"),a=r(t,"checkCanReturnFocus"),d=r(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var u=function(){_n(function(){d&&p(g(c.nodeFocusedBeforeActivation)),null==l||l()})};return d&&a?(a(g(c.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){return c.active?(c.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return c.active?(c.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return c.containers=t.map(function(e){return"string"==typeof e?n.querySelector(e):e}),c.active&&u(),C(),this}},Object.defineProperties(i,{_isManuallyPaused:{value:function(){return c.manuallyPaused}},_setPausedState:{value:function(e,t){if(c.paused===e)return this;if(c.paused=e,e){var i=r(t,"onPause"),n=r(t,"onPostPause");null==i||i(),I(),C(),null==n||n()}else{var o=r(t,"onUnpause"),s=r(t,"onPostUnpause");null==o||o(),u(),L(),C(),null==s||s()}return this}}}),i.updateContainerElements(e),i};e.DialogBackdropElement.ensureDefined(),e.Button.ensureDefined(),e.LucideIconX.ensureDefined(),e.Dialog=class extends(Me(fe)){constructor(){super(...arguments),this.open=!1,this.size=rn.Medium,this.showCloseButton=!0,this.backdrop=ln.Opaque,this.persistent=!1,this.role=an.Dialog,this.ariaLabel=null,this.dialogId=Ri("dialog"),this.headerId=Ri("dialog-title"),this.originalOverflow="",this.originalPaddingRight="",this.handleTriggerClick=()=>{this.show()},this.handleEscape=e=>{"Escape"===e.key&&this.open&&(e.stopPropagation(),this.persistent||this.hide())},this.handleBackdropClick=e=>{this.persistent||e.target===this.wrapperElement&&this.hide()},this.hide=async()=>{if(!this.open||this.persistent)return;const e=new Event("before-close",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)}}connectedCallback(){super.connectedCallback(),this.addEventListener("dialog-close",this.hide),this.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){if(super.disconnectedCallback(),this.removeEventListener("dialog-close",this.hide),this.removeEventListener("keydown",this.handleEscape),this.unlockBodyScroll(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}}updated(e){super.updated(e),e.has("open")&&(this.open?this._activate():e.get("open")&&this._deactivate())}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}get hasHeaderContent(){return this.headerSlot?.assignedNodes({flatten:!0}).some(e=>e.nodeType!==Node.TEXT_NODE||e.textContent?.trim())??!1}handleSlotChange(){const e=this.triggerElement;e&&(e.setAttribute("aria-controls",this.dialogId),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",this.open?"true":"false"))}lockBodyScroll(){if("undefined"==typeof document)return;const e=window.innerWidth-document.documentElement.clientWidth;this.originalOverflow=document.body.style.overflow,this.originalPaddingRight=document.body.style.paddingRight,document.body.style.overflow="hidden",e>0&&(document.body.style.paddingRight=`${e}px`)}unlockBodyScroll(){"undefined"!=typeof document&&(document.body.style.overflow=this.originalOverflow,document.body.style.paddingRight=this.originalPaddingRight)}updateTriggerAria(){const e=this.triggerElement;e&&e.setAttribute("aria-expanded",this.open?"true":"false")}async waitForDialogRender(){await this.updateComplete,await new Promise(e=>{const t=()=>{this.wrapperElement?.removeEventListener("transitionend",t),e()};this.wrapperElement?.addEventListener("transitionend",t),setTimeout(t,500)})}async show(){if(this.open)return;const e=new Event("before-open",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!0)}async toggle(){this.open?await this.hide():await this.show()}async _activate(){if(this.updateTriggerAria(),this.lockBodyScroll(),this.backdropElement&&(await this.backdropElement.updateComplete,this.backdropElement.visible=!0),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!0},bubbles:!0,composed:!0})),await this.updateComplete,this.mainElement)try{this.focusTrap=Gn(this.mainElement,{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,returnFocusOnDeactivate:!0,fallbackFocus:this.mainElement,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate()}catch(e){console.error("Failed to activate focus trap:",e),this.focusTrap=null}await this.waitForDialogRender(),this.dispatchEvent(new Event("after-open",{bubbles:!0,composed:!0}))}async _deactivate(){if(this.updateTriggerAria(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}this.backdropElement&&(this.backdropElement.visible=!1),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!1},bubbles:!0,composed:!0})),await this.waitForDialogRender(),this.unlockBodyScroll(),this.dispatchEvent(new Event("after-close",{bubbles:!0,composed:!0}))}render(){return Z`
|
|
2724
|
+
function zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function Hn(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Tn(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function Dn(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(i),!0).forEach(function(t){Hn(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Tn(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function Vn(e){return function(e){if(Array.isArray(e))return zn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return zn(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?zn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fn=function(e,t){if(e.length>0){var i=e[e.length-1];i!==t&&i._setPausedState(!0)}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},Rn=function(e,t){var i=e.indexOf(t);-1!==i&&e.splice(i,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},On=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},$n=function(e){return On(e)&&!e.shiftKey},_n=function(e){return On(e)&&e.shiftKey},En=function(e){return setTimeout(e,0)},Un=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,i):e},Zn=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Gn=[],Nn=function(e,t){var i,n=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||Gn,s=Dn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:$n,isKeyBackward:_n},t),c={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},r=function(e,t,i){return e&&void 0!==e[t]?e[t]:s[i||t]},l=function(e,t){var i="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return c.containerGroups.findIndex(function(t){var n=t.container,o=t.tabbableNodes;return n.contains(e)||(null==i?void 0:i.includes(n))||o.find(function(t){return t===e})})},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.hasFallback,o=void 0!==i&&i,c=t.params,r=void 0===c?[]:c,l=s[e];if("function"==typeof l&&(l=l.apply(void 0,Vn(r))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=l;if("string"==typeof l){try{a=n.querySelector(l)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!a&&!o)throw new Error("`".concat(e,"` as selector refers to no known node"))}return a},d=function(){var e=a("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!jn(e,s.tabbableOptions))if(l(n.activeElement)>=0)e=n.activeElement;else{var t=c.tabbableGroups[0];e=t&&t.firstTabbableNode||a("fallbackFocus")}else null===e&&(e=a("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(c.containerGroups=c.containers.map(function(e){var t=function(e,t){var i;return i=(t=t||{}).getShadowRoot?kn([e],t.includeContainer,{filter:qn.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Sn}):mn(e,t.includeContainer,qn.bind(null,t)),Bn(i)}(e,s.tabbableOptions),i=function(e,t){return(t=t||{}).getShadowRoot?kn([e],t.includeContainer,{filter:Mn.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):mn(e,t.includeContainer,Mn.bind(null,t))}(e,s.tabbableOptions),n=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,c=i.find(function(e){return An(e)}),r=i.slice().reverse().find(function(e){return An(e)}),l=!!t.find(function(e){return yn(e)>0});return{container:e,tabbableNodes:t,focusableNodes:i,posTabIndexesFound:l,firstTabbableNode:n,lastTabbableNode:o,firstDomTabbableNode:c,lastDomTabbableNode:r,nextTabbableNode:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?n?i.slice(i.indexOf(e)+1).find(function(e){return An(e)}):i.slice(0,i.indexOf(e)).reverse().find(function(e){return An(e)}):t[o+(n?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!a("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(e){return e.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?h(t.shadowRoot):t},p=function(e){!1!==e&&e!==h(document)&&(e&&e.focus?(e.focus({preventScroll:!!s.preventScroll}),c.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):p(d()))},g=function(e){var t=a("setReturnFocus",{params:[e]});return t||!1!==t&&e},v=function(e){var t=e.target,i=e.event,n=e.isBackward,o=void 0!==n&&n;t=t||Zn(i),u();var r=null;if(c.tabbableGroups.length>0){var d=l(t,i),h=d>=0?c.containerGroups[d]:void 0;if(d<0)r=o?c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:c.tabbableGroups[0].firstTabbableNode;else if(o){var p=c.tabbableGroups.findIndex(function(e){var i=e.firstTabbableNode;return t===i});if(p<0&&(h.container===t||jn(t,s.tabbableOptions)&&!An(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var g=0===p?c.tabbableGroups.length-1:p-1,v=c.tabbableGroups[g];r=yn(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else On(i)||(r=h.nextTabbableNode(t,!1))}else{var w=c.tabbableGroups.findIndex(function(e){var i=e.lastTabbableNode;return t===i});if(w<0&&(h.container===t||jn(t,s.tabbableOptions)&&!An(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(w=d),w>=0){var m=w===c.tabbableGroups.length-1?0:w+1,k=c.tabbableGroups[m];r=yn(t)>=0?k.firstTabbableNode:k.firstDomTabbableNode}else On(i)||(r=h.nextTabbableNode(t))}}else r=a("fallbackFocus");return r},w=function(e){var t=Zn(e);l(t,e)>=0||(Un(s.clickOutsideDeactivates,e)?i.deactivate({returnFocus:s.returnFocusOnDeactivate}):Un(s.allowOutsideClick,e)||e.preventDefault())},m=function(e){var t=Zn(e),i=l(t,e)>=0;if(i||t instanceof Document)i&&(c.mostRecentlyFocusedNode=t);else{var n;e.stopImmediatePropagation();var o=!0;if(c.mostRecentlyFocusedNode)if(yn(c.mostRecentlyFocusedNode)>0){var r=l(c.mostRecentlyFocusedNode),a=c.containerGroups[r].tabbableNodes;if(a.length>0){var u=a.findIndex(function(e){return e===c.mostRecentlyFocusedNode});u>=0&&(s.isKeyForward(c.recentNavEvent)?u+1<a.length&&(n=a[u+1],o=!1):u-1>=0&&(n=a[u-1],o=!1))}}else c.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return yn(e)>0})})||(o=!1);else o=!1;o&&(n=v({target:c.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(c.recentNavEvent)})),p(n||(c.mostRecentlyFocusedNode||d()))}c.recentNavEvent=void 0},k=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c.recentNavEvent=e;var i=v({event:e,isBackward:t});i&&(On(e)&&e.preventDefault(),p(i))}(e,s.isKeyBackward(e))},x=function(e){(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)})(e)&&!1!==Un(s.escapeDeactivates,e)&&(e.preventDefault(),i.deactivate())},y=function(e){var t=Zn(e);l(t,e)>=0||Un(s.clickOutsideDeactivates,e)||Un(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},L=function(){if(c.active)return Fn(o,i),c.delayInitialFocusTimer=s.delayInitialFocus?En(function(){p(d())}):p(d()),n.addEventListener("focusin",m,!0),n.addEventListener("mousedown",w,{capture:!0,passive:!1}),n.addEventListener("touchstart",w,{capture:!0,passive:!1}),n.addEventListener("click",y,{capture:!0,passive:!1}),n.addEventListener("keydown",k,{capture:!0,passive:!1}),n.addEventListener("keydown",x),i},I=function(){if(c.active)return n.removeEventListener("focusin",m,!0),n.removeEventListener("mousedown",w,!0),n.removeEventListener("touchstart",w,!0),n.removeEventListener("click",y,!0),n.removeEventListener("keydown",k,!0),n.removeEventListener("keydown",x),i},f="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===c.mostRecentlyFocusedNode})})&&p(d())}):void 0,C=function(){f&&(f.disconnect(),c.active&&!c.paused&&c.containers.map(function(e){f.observe(e,{subtree:!0,childList:!0})}))};return i={get active(){return c.active},get paused(){return c.paused},activate:function(e){if(c.active)return this;var t=r(e,"onActivate"),i=r(e,"onPostActivate"),o=r(e,"checkCanFocusTrap");o||u(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=h(n),null==t||t();var s=function(){o&&u(),L(),C(),null==i||i()};return o?(o(c.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!c.active)return this;var t=Dn({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,I(),c.active=!1,c.paused=!1,C(),Rn(o,i);var n=r(t,"onDeactivate"),l=r(t,"onPostDeactivate"),a=r(t,"checkCanReturnFocus"),d=r(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var u=function(){En(function(){d&&p(g(c.nodeFocusedBeforeActivation)),null==l||l()})};return d&&a?(a(g(c.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){return c.active?(c.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return c.active?(c.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return c.containers=t.map(function(e){return"string"==typeof e?n.querySelector(e):e}),c.active&&u(),C(),this}},Object.defineProperties(i,{_isManuallyPaused:{value:function(){return c.manuallyPaused}},_setPausedState:{value:function(e,t){if(c.paused===e)return this;if(c.paused=e,e){var i=r(t,"onPause"),n=r(t,"onPostPause");null==i||i(),I(),C(),null==n||n()}else{var o=r(t,"onUnpause"),s=r(t,"onPostUnpause");null==o||o(),u(),L(),C(),null==s||s()}return this}}}),i.updateContainerElements(e),i};e.DialogBackdropElement.ensureDefined(),e.Button.ensureDefined(),e.LucideIconX.ensureDefined(),e.Dialog=class extends(Me(fe)){constructor(){super(...arguments),this.open=!1,this.size=ln.Medium,this.showCloseButton=!0,this.backdrop=an.Opaque,this.persistent=!1,this.role=dn.Dialog,this.ariaLabel=null,this.dialogId=Ri("dialog"),this.headerId=Ri("dialog-title"),this.originalOverflow="",this.originalPaddingRight="",this.handleTriggerClick=()=>{this.show()},this.handleEscape=e=>{"Escape"===e.key&&this.open&&(e.stopPropagation(),this.persistent||this.hide())},this.handleBackdropClick=e=>{this.persistent||e.target===this.wrapperElement&&this.hide()},this.hide=async()=>{if(!this.open||this.persistent)return;const e=new Event("before-close",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)}}connectedCallback(){super.connectedCallback(),this.addEventListener("dialog-close",this.hide),this.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){if(super.disconnectedCallback(),this.removeEventListener("dialog-close",this.hide),this.removeEventListener("keydown",this.handleEscape),this.unlockBodyScroll(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}}updated(e){super.updated(e),e.has("open")&&(this.open?this._activate():e.get("open")&&this._deactivate())}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}get hasHeaderContent(){return this.headerSlot?.assignedNodes({flatten:!0}).some(e=>e.nodeType!==Node.TEXT_NODE||e.textContent?.trim())??!1}handleSlotChange(){const e=this.triggerElement;e&&(e.setAttribute("aria-controls",this.dialogId),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",this.open?"true":"false"))}lockBodyScroll(){if("undefined"==typeof document)return;const e=window.innerWidth-document.documentElement.clientWidth;this.originalOverflow=document.body.style.overflow,this.originalPaddingRight=document.body.style.paddingRight,document.body.style.overflow="hidden",e>0&&(document.body.style.paddingRight=`${e}px`)}unlockBodyScroll(){"undefined"!=typeof document&&(document.body.style.overflow=this.originalOverflow,document.body.style.paddingRight=this.originalPaddingRight)}updateTriggerAria(){const e=this.triggerElement;e&&e.setAttribute("aria-expanded",this.open?"true":"false")}async waitForDialogRender(){await this.updateComplete,await new Promise(e=>{const t=()=>{this.wrapperElement?.removeEventListener("transitionend",t),e()};this.wrapperElement?.addEventListener("transitionend",t),setTimeout(t,500)})}async show(){if(this.open)return;const e=new Event("before-open",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!0)}async toggle(){this.open?await this.hide():await this.show()}async _activate(){if(this.updateTriggerAria(),this.lockBodyScroll(),this.backdropElement&&(await this.backdropElement.updateComplete,this.backdropElement.visible=!0),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!0},bubbles:!0,composed:!0})),await this.updateComplete,this.mainElement)try{this.focusTrap=Nn(this.mainElement,{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,returnFocusOnDeactivate:!0,fallbackFocus:this.mainElement,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate()}catch(e){console.error("Failed to activate focus trap:",e),this.focusTrap=null}await this.waitForDialogRender(),this.dispatchEvent(new Event("after-open",{bubbles:!0,composed:!0}))}async _deactivate(){if(this.updateTriggerAria(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}this.backdropElement&&(this.backdropElement.visible=!1),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!1},bubbles:!0,composed:!0})),await this.waitForDialogRender(),this.unlockBodyScroll(),this.dispatchEvent(new Event("after-close",{bubbles:!0,composed:!0}))}render(){return Z`
|
|
2725
2725
|
<div class="trigger" @click=${this.handleTriggerClick}>
|
|
2726
2726
|
<slot name="trigger" @slotchange=${this.handleSlotChange}></slot>
|
|
2727
2727
|
</div>
|
|
@@ -2907,10 +2907,10 @@ function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;
|
|
|
2907
2907
|
.trigger {
|
|
2908
2908
|
display: contents;
|
|
2909
2909
|
}
|
|
2910
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.Dialog.prototype,"open",void 0),t([Le({type:"DialogSize",options:Object.values(
|
|
2910
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.Dialog.prototype,"open",void 0),t([Le({type:"DialogSize",options:Object.values(ln),default:ln.Medium,description:"Maximum width of the dialog panel."})],e.Dialog.prototype,"size",void 0),t([Le({type:"boolean",default:"true",description:"Shows a built-in close button in the top-right corner."})],e.Dialog.prototype,"showCloseButton",void 0),t([Le({type:"DialogBackdrop",options:Object.values(an),default:an.Opaque,description:"Style of the backdrop overlay."})],e.Dialog.prototype,"backdrop",void 0),t([Le({type:"boolean",default:"false",description:"Prevents the dialog from being closed via Escape or backdrop click."})],e.Dialog.prototype,"persistent",void 0),t([Le({type:"DialogRole",options:Object.values(dn),default:dn.Dialog,description:'ARIA role for the dialog element. Use "alertdialog" for confirmation dialogs.'})],e.Dialog.prototype,"role",void 0),t([Le({type:"string",attribute:"aria-label",description:"Accessible label when the dialog has no visible heading."})],e.Dialog.prototype,"ariaLabel",void 0),t([me("quantic-dialog-backdrop")],e.Dialog.prototype,"backdropElement",void 0),t([me(".wrapper")],e.Dialog.prototype,"wrapperElement",void 0),t([me(".main")],e.Dialog.prototype,"mainElement",void 0),t([me('slot[name="trigger"]')],e.Dialog.prototype,"triggerSlot",void 0),t([me('slot[name="header"]')],e.Dialog.prototype,"headerSlot",void 0),e.Dialog=t([Ie("open-changed",{description:"Fired when the dialog open state changes.",detail:"{ open: boolean }"}),Ie("before-open",{description:"Fired before the dialog opens."}),Ie("after-open",{description:"Fired after the dialog opens and animations complete."}),Ie("before-close",{description:"Fired before the dialog closes."}),Ie("after-close",{description:"Fired after the dialog closes and animations complete."}),Ce("quantic-dialog")],e.Dialog),e.ConfirmDialog=class extends fe{constructor(){super(...arguments),this.open=!1,this.heading="",this.message="",this.confirmText="Confirm",this.cancelText="Cancel",this.destructive=!1,this.loading=!1,this.persistent=!1,this.showCloseButton=!0,this.size=ln.Small,this.handleConfirmClick=()=>{if(this.loading)return;const e=new Event("confirm",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)},this.handleCancelClick=()=>{this.loading||(this.dispatchEvent(new Event("cancel",{bubbles:!0,composed:!0})),this.open=!1)},this.handleInnerBeforeClose=()=>{this.dispatchEvent(new Event("cancel",{bubbles:!0,composed:!0}))},this.handleInnerOpenChanged=e=>{const t=e.detail;this.open!==t.open&&(this.open=t.open)}}updated(e){super.updated(e),e.has("open")&&this.innerDialog&&(this.innerDialog.open=this.open)}get buttonSize(){return this.size===ln.Large||this.size===ln.XLarge?He.Medium:He.Small}render(){return Z`
|
|
2911
2911
|
<quantic-dialog
|
|
2912
2912
|
.size=${this.size}
|
|
2913
|
-
.role=${
|
|
2913
|
+
.role=${dn.AlertDialog}
|
|
2914
2914
|
?persistent=${this.persistent||this.loading}
|
|
2915
2915
|
?show-close-button=${this.showCloseButton&&!this.loading}
|
|
2916
2916
|
@before-close=${this.handleInnerBeforeClose}
|
|
@@ -2972,7 +2972,7 @@ function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;
|
|
|
2972
2972
|
[hidden] {
|
|
2973
2973
|
display: none;
|
|
2974
2974
|
}
|
|
2975
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.ConfirmDialog.prototype,"open",void 0),t([Le({type:"string",description:"Heading shown in the dialog header."})],e.ConfirmDialog.prototype,"heading",void 0),t([Le({type:"string",description:"Body message. Ignored if default slot has content. Use the slot for rich content."})],e.ConfirmDialog.prototype,"message",void 0),t([Le({type:"string",attribute:"confirm-text",default:'"Confirm"',description:"Label for the confirm action button."})],e.ConfirmDialog.prototype,"confirmText",void 0),t([Le({type:"string",attribute:"cancel-text",default:'"Cancel"',description:"Label for the cancel action button."})],e.ConfirmDialog.prototype,"cancelText",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Renders the confirm button in error/danger colors. Use for irreversible actions such as delete or remove."})],e.ConfirmDialog.prototype,"destructive",void 0),t([Le({type:"boolean",default:"false",description:"Disables both action buttons. Set while performing an async action after a confirm event."})],e.ConfirmDialog.prototype,"loading",void 0),t([Le({type:"boolean",default:"false",description:"Prevents the dialog from being closed via Escape, backdrop, or the close button."})],e.ConfirmDialog.prototype,"persistent",void 0),t([Le({type:"boolean",attribute:"show-close-button",default:"true",description:"Shows the close (X) button in the top-right corner."})],e.ConfirmDialog.prototype,"showCloseButton",void 0),t([Le({type:"DialogSize",options:Object.values(
|
|
2975
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.ConfirmDialog.prototype,"open",void 0),t([Le({type:"string",description:"Heading shown in the dialog header."})],e.ConfirmDialog.prototype,"heading",void 0),t([Le({type:"string",description:"Body message. Ignored if default slot has content. Use the slot for rich content."})],e.ConfirmDialog.prototype,"message",void 0),t([Le({type:"string",attribute:"confirm-text",default:'"Confirm"',description:"Label for the confirm action button."})],e.ConfirmDialog.prototype,"confirmText",void 0),t([Le({type:"string",attribute:"cancel-text",default:'"Cancel"',description:"Label for the cancel action button."})],e.ConfirmDialog.prototype,"cancelText",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Renders the confirm button in error/danger colors. Use for irreversible actions such as delete or remove."})],e.ConfirmDialog.prototype,"destructive",void 0),t([Le({type:"boolean",default:"false",description:"Disables both action buttons. Set while performing an async action after a confirm event."})],e.ConfirmDialog.prototype,"loading",void 0),t([Le({type:"boolean",default:"false",description:"Prevents the dialog from being closed via Escape, backdrop, or the close button."})],e.ConfirmDialog.prototype,"persistent",void 0),t([Le({type:"boolean",attribute:"show-close-button",default:"true",description:"Shows the close (X) button in the top-right corner."})],e.ConfirmDialog.prototype,"showCloseButton",void 0),t([Le({type:"DialogSize",options:Object.values(ln),default:ln.Small,description:"Maximum width of the dialog panel."})],e.ConfirmDialog.prototype,"size",void 0),t([me("quantic-dialog")],e.ConfirmDialog.prototype,"innerDialog",void 0),e.ConfirmDialog=t([Ie("confirm",{description:"Fired when the confirm button is clicked. Cancellable — call preventDefault() to keep the dialog open (e.g. while performing an async action with `loading`)."}),Ie("cancel",{description:"Fired when the dialog is dismissed via the cancel button, close button, Escape, or backdrop click."}),Ce("quantic-confirm-dialog")],e.ConfirmDialog);const Wn={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg",ExtraLarge:"xl"},Xn="dropdown-menu.size",Kn={Top:"top",TopStart:"top-start",TopEnd:"top-end",Bottom:"bottom",BottomStart:"bottom-start",BottomEnd:"bottom-end",Left:"left",LeftStart:"left-start",LeftEnd:"left-end",Right:"right",RightStart:"right-start",RightEnd:"right-end"},Jn={Click:"click",Hover:"hover",Focus:"focus",Manual:"manual"};e.PopoverPopup=class extends(Me(fe)){constructor(){super(...arguments),this.visible=!1}render(){return Z`
|
|
2976
2976
|
<div class="main">
|
|
2977
2977
|
<slot name="header" @slotchange=${this.handleAutoHide}></slot>
|
|
2978
2978
|
<slot></slot>
|
|
@@ -3070,7 +3070,7 @@ function jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;
|
|
|
3070
3070
|
* Copyright 2018 Google LLC
|
|
3071
3071
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3072
3072
|
*/
|
|
3073
|
-
const
|
|
3073
|
+
const Qn="important",Yn=" !"+Qn,eo=Fe(class extends Re{constructor(e){if(super(e),e.type!==De||"style"!==e.name||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,i)=>{const n=e[i];return null==n?t:t+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(t)),this.render(t);for(const e of this.ft)null==t[e]&&(this.ft.delete(e),e.includes("-")?i.removeProperty(e):i[e]=null);for(const e in t){const n=t[e];if(null!=n){this.ft.add(e);const t="string"==typeof n&&n.endsWith(Yn);e.includes("-")||t?i.setProperty(e,t?n.slice(0,-11):n,t?Qn:""):i[e]=n}}return N}});e.PopoverPopup.ensureDefined(),e.Button.ensureDefined(),e.LucideIconX.ensureDefined(),e.Popover=class extends fe{constructor(){super(...arguments),this.placement=Kn.Bottom,this.trigger=Jn.Click,this.open=!1,this.offset=8,this.disabled=!1,this.closeable=!1,this.popoverId=Ri("popover"),this.handleTriggerClick=e=>{this.disabled||this.trigger!==Jn.Click||(e.stopPropagation(),this.toggle())},this.handleTriggerMouseEnter=()=>{this.disabled||this.trigger!==Jn.Hover||(this.clearTimeouts(),this.showTimeout=window.setTimeout(()=>this.show(),150))},this.handleTriggerMouseLeave=()=>{this.disabled||this.trigger!==Jn.Hover||(this.clearTimeouts(),this.hideTimeout=window.setTimeout(()=>this.hide(),150))},this.handleTriggerFocus=()=>{this.disabled||this.trigger!==Jn.Focus||this.show()},this.handleTriggerBlur=()=>{this.disabled||this.trigger!==Jn.Focus||this.hide()},this.handlePopupMouseEnter=()=>{this.trigger===Jn.Hover&&this.clearTimeouts()},this.handlePopupMouseLeave=()=>{this.trigger===Jn.Hover&&(this.clearTimeouts(),this.hideTimeout=window.setTimeout(()=>this.hide(),150))},this.handleEscape=e=>{"Escape"===e.key&&this.open&&this.hide()},this.handleClickOutside=e=>{const t=e.composedPath(),i=t.includes(this)||this.popup&&t.includes(this.popup);this.open&&!i&&this.hide()},this.hide=async()=>{if(!this.open)return;const e=new Event("before-close",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1,this.updateTriggerAria(),this.popup&&(this.cleanup?.(),this.popup.visible=!1,this.removeClickOutsideListener(),document.removeEventListener("keydown",this.handleEscape),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!1},bubbles:!0,composed:!0})),this.dispatchEvent(new Event("after-close",{bubbles:!0,composed:!0}))))}}connectedCallback(){super.connectedCallback(),this.addEventListener("popover-close",this.hide)}firstUpdated(){this.open&&this.show()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeouts(),this.cleanup?.(),this.removeClickOutsideListener(),document.removeEventListener("keydown",this.handleEscape),this.removeEventListener("popover-close",this.hide)}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}handleSlotChange(){const e=this.triggerElement;e&&(e.setAttribute("aria-controls",this.popoverId),e.setAttribute("aria-expanded",this.open?"true":"false"))}clearTimeouts(){this.showTimeout&&clearTimeout(this.showTimeout),this.hideTimeout&&clearTimeout(this.hideTimeout),this.showTimeout=void 0,this.hideTimeout=void 0}addClickOutsideListener(){document.addEventListener("click",this.handleClickOutside,!0)}removeClickOutsideListener(){document.removeEventListener("click",this.handleClickOutside,!0)}async toggle(){this.open?await this.hide():await this.show()}async show(){if(this.disabled||this.open)return;const e=new Event("before-open",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!0,this.updateTriggerAria(),this.popup&&this.triggerElement&&(await this.popup.updateComplete,this.popup.visible=!0,this.popup.id=this.popoverId,this.popup.setAttribute("role","dialog"),this.popup.setAttribute("aria-modal","true"),this.updatePosition(),this.removeClickOutsideListener(),this.addClickOutsideListener(),document.removeEventListener("keydown",this.handleEscape),document.addEventListener("keydown",this.handleEscape),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!0},bubbles:!0,composed:!0})),this.dispatchEvent(new Event("after-open",{bubbles:!0,composed:!0}))))}updateTriggerAria(){const e=this.triggerElement;e&&e.setAttribute("aria-expanded",this.open?"true":"false")}updatePosition(){if(this.triggerElement&&this.popup){const e=[fi(this.offset),bi(),Ci({padding:8})];this.cleanup=Ii(this.triggerElement,this.popup,async()=>{if(!this.triggerElement||!this.popup)return;const{x:t,y:i}=await qi(this.triggerElement,this.popup,{placement:this.placement,middleware:e,strategy:"fixed"});Object.assign(this.popup.style,{left:`${t}px`,top:`${i}px`})})}}isLeftAligned(){return this.placement===Kn.Left||this.placement===Kn.LeftStart||this.placement===Kn.LeftEnd}isRightAligned(){return this.placement===Kn.Right||this.placement===Kn.RightStart||this.placement===Kn.RightEnd}isTopAligned(){return this.placement===Kn.Top||this.placement===Kn.TopStart||this.placement===Kn.TopEnd}isBottomAligned(){return this.placement===Kn.Bottom||this.placement===Kn.BottomStart||this.placement===Kn.BottomEnd}get originY(){return this.isTopAligned()?1:this.isBottomAligned()?-1:0}get originX(){return this.isLeftAligned()?1:this.isRightAligned()?-1:0}render(){return Z`
|
|
3074
3074
|
<div
|
|
3075
3075
|
class="trigger"
|
|
3076
3076
|
@click=${this.handleTriggerClick}
|
|
@@ -3082,7 +3082,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3082
3082
|
<slot name="trigger" @slotchange=${this.handleSlotChange}></slot>
|
|
3083
3083
|
</div>
|
|
3084
3084
|
<quantic-popover-popup
|
|
3085
|
-
style=${
|
|
3085
|
+
style=${eo({"--origin-y":this.originY,"--origin-x":this.originX})}
|
|
3086
3086
|
@slotchange=${this.handleSlotChange}
|
|
3087
3087
|
@mouseenter=${this.handlePopupMouseEnter}
|
|
3088
3088
|
@mouseleave=${this.handlePopupMouseLeave}
|
|
@@ -3126,7 +3126,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3126
3126
|
top: var(--quantic-spacing-2);
|
|
3127
3127
|
right: var(--quantic-spacing-2);
|
|
3128
3128
|
}
|
|
3129
|
-
`,t([Le({type:"PopoverPlacement",options:Object.values(
|
|
3129
|
+
`,t([Le({type:"PopoverPlacement",options:Object.values(Kn),default:Kn.Bottom,description:"Preferred placement of the popup relative to the trigger."})],e.Popover.prototype,"placement",void 0),t([Le({type:"PopoverTrigger",options:Object.values(Jn),default:Jn.Click,description:'Interaction that opens the popover: "click", "hover", "focus", or "manual".'})],e.Popover.prototype,"trigger",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the popover is currently open."})],e.Popover.prototype,"open",void 0),t([Le({type:"number",default:"8",description:"Distance in pixels between the trigger and the popup."})],e.Popover.prototype,"offset",void 0),t([Le({type:"boolean",default:"false",description:"Prevents the popover from opening."})],e.Popover.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",description:"Shows a close button inside the popup."})],e.Popover.prototype,"closeable",void 0),t([me('slot[name="trigger"]')],e.Popover.prototype,"triggerSlot",void 0),t([me("quantic-popover-popup")],e.Popover.prototype,"popup",void 0),e.Popover=t([Ie("open-changed",{description:"Fired when the popover open state changes.",detail:"{ open: boolean }"}),Ie("before-open",{description:"Fired before the popover opens."}),Ie("after-open",{description:"Fired after the popover opens and animations complete."}),Ie("before-close",{description:"Fired before the popover closes."}),Ie("after-close",{description:"Fired after the popover closes and animations complete."}),Ce("quantic-popover")],e.Popover),e.Popover.ensureDefined(),e.DropdownMenu=class extends fe{constructor(){super(...arguments),this.size=Wn.Medium,this.placement=Kn.BottomStart,this.open=!1,this.persistent=!1,this.disabled=!1,this.offset=4,this.focusedIndex=0,this.keyHandlers={ArrowDown:()=>this.focusItemAtIndex(this.focusedIndex+1),ArrowUp:()=>this.focusItemAtIndex(this.focusedIndex-1),Home:()=>this.focusItemAtIndex(0),End:()=>{const e=this.getMenuItems();this.focusItemAtIndex(e.length-1)},Escape:()=>this.close(),Tab:()=>this.close()}}connectedCallback(){super.connectedCallback(),this.addEventListener("item-selected",this.handleItemSelected)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("item-selected",this.handleItemSelected)}getMenuItems(){return this.menuItems.filter(e=>"quantic-dropdown-menu-item"===e.tagName.toLowerCase()&&!e.hasAttribute("disabled"))}focusItemAtIndex(e){const t=this.getMenuItems();0!==t.length&&(this.focusedIndex=Vi(e,0,t.length-1),t[this.focusedIndex].focus())}handleKeyDown(e){if(!this.open)return;if(0===this.getMenuItems().length)return;const t=this.keyHandlers[e.key];t&&(e.preventDefault(),e.stopPropagation(),t())}handleItemSelected(e){e.target!==this&&(e.stopPropagation(),this.dispatchEvent(new CustomEvent("item-selected",{detail:e.detail,bubbles:!0,composed:!0})),this.persistent||this.close())}handleOpenChanged(e){this.open=e.detail.open,this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:this.open},bubbles:!0,composed:!0}))}handleAfterOpen(){this.updateComplete.then(()=>{this.focusedIndex=0,this.focusItemAtIndex(0)})}async toggle(){await(this.popoverElement?.toggle())}async show(){await(this.popoverElement?.show())}async close(){this.focusedIndex=0,await(this.popoverElement?.hide())}render(){return Z`
|
|
3130
3130
|
<quantic-popover
|
|
3131
3131
|
placement=${this.placement}
|
|
3132
3132
|
trigger="click"
|
|
@@ -3189,7 +3189,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3189
3189
|
overflow-y: auto;
|
|
3190
3190
|
padding: var(--quantic-component-dropdown-menu-padding);
|
|
3191
3191
|
}
|
|
3192
|
-
`,t([
|
|
3192
|
+
`,t([Ji({context:Xn}),Le({type:"DropdownMenuSize",options:Object.values(Wn),default:Wn.Medium,description:"Size passed down to all child menu items."})],e.DropdownMenu.prototype,"size",void 0),t([Le({type:"PopoverPlacement",options:Object.values(Kn),default:Kn.BottomStart,description:"Preferred placement of the floating menu relative to the trigger."})],e.DropdownMenu.prototype,"placement",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the menu is currently open."})],e.DropdownMenu.prototype,"open",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"When true, the menu stays open after an item is selected."})],e.DropdownMenu.prototype,"persistent",void 0),t([Le({type:"boolean",default:"false",description:"Prevents the trigger from opening the menu."})],e.DropdownMenu.prototype,"disabled",void 0),t([Le({type:"number",default:"4",description:"Distance in pixels between the trigger and the floating menu."})],e.DropdownMenu.prototype,"offset",void 0),t([me("quantic-popover")],e.DropdownMenu.prototype,"popoverElement",void 0),t([me(".menu-content")],e.DropdownMenu.prototype,"menuContent",void 0),t([ke({flatten:!0})],e.DropdownMenu.prototype,"menuItems",void 0),e.DropdownMenu=t([Ie("open-changed",{description:"Fired when the dropdown menu open state changes.",detail:"{ open: boolean }"}),Ie("item-selected",{description:"Fired when a menu item is selected.",detail:"{ value: string }"}),Ce("quantic-dropdown-menu")],e.DropdownMenu),e.DropdownMenuItem=class extends fe{constructor(){super(...arguments),this.as="button",this.disabled=!1,this.selected=!1,this.value="",this.destructive=!1,this.label=""}focus(e){this.mainEl?.focus(e)}handleClick(e){if(this.disabled)return e.preventDefault(),void e.stopPropagation();this.dispatchEvent(new CustomEvent("item-selected",{detail:{value:this.value},bubbles:!0,composed:!0,cancelable:!1}))}render(){const e=Oe({main:!0,[`size--${this.size}`]:!!this.size,"is-selected":this.selected,"is-destructive":this.destructive}),t=this.rel??("_blank"===this.target?"noopener noreferrer":void 0);return"a"===this.as?Z`<a
|
|
3193
3193
|
class=${e}
|
|
3194
3194
|
role="menuitem"
|
|
3195
3195
|
tabindex="-1"
|
|
@@ -3379,7 +3379,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3379
3379
|
overflow: visible;
|
|
3380
3380
|
display: flex;
|
|
3381
3381
|
}
|
|
3382
|
-
`,t([
|
|
3382
|
+
`,t([Qi({context:Xn,subscribe:!0})],e.DropdownMenuItem.prototype,"size",void 0),t([me(".main")],e.DropdownMenuItem.prototype,"mainEl",void 0),t([Le({type:'"button" | "a"',default:"button",description:'Underlying HTML element. Use "a" for navigation items.'})],e.DropdownMenuItem.prototype,"as",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and reduces opacity."})],e.DropdownMenuItem.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the item as the currently active selection."})],e.DropdownMenuItem.prototype,"selected",void 0),t([Le({type:"string",default:"",description:"Value emitted in the item-selected event detail."})],e.DropdownMenuItem.prototype,"value",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Renders in error/danger colors for destructive actions."})],e.DropdownMenuItem.prototype,"destructive",void 0),t([Le({type:"string",default:"",description:"Accessible label used as the element title attribute."})],e.DropdownMenuItem.prototype,"label",void 0),t([Le({type:"string",description:'URL for link items (as="a" only).'})],e.DropdownMenuItem.prototype,"href",void 0),t([Le({type:"string",description:'Link target (as="a" only).'})],e.DropdownMenuItem.prototype,"target",void 0),t([Le({type:"string",description:'Download filename (as="a" only).'})],e.DropdownMenuItem.prototype,"download",void 0),t([Le({type:"string",description:'Link rel attribute (as="a" only). Defaults to "noopener noreferrer" when target="_blank".'})],e.DropdownMenuItem.prototype,"rel",void 0),e.DropdownMenuItem=t([Ie("item-selected",{description:"Fired when the item is selected.",detail:"{ value: string }"}),Ce("quantic-dropdown-menu-item")],e.DropdownMenuItem),e.DropdownMenuGroup=class extends(Me(fe)){constructor(){super(...arguments),this.label=""}render(){const e=this.label||this.hasSlotContent("label");return Z`
|
|
3383
3383
|
<div class="label" id="group-label" ?hidden=${!e}>
|
|
3384
3384
|
<slot name="label">${this.label}</slot>
|
|
3385
3385
|
</div>
|
|
@@ -3424,7 +3424,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3424
3424
|
flex-direction: column;
|
|
3425
3425
|
gap: var(--quantic-spacing-0-5);
|
|
3426
3426
|
}
|
|
3427
|
-
`,t([Le({type:"string",default:"",description:"Section heading displayed above the group items."})],e.DropdownMenuGroup.prototype,"label",void 0),e.DropdownMenuGroup=t([Ce("quantic-dropdown-menu-group")],e.DropdownMenuGroup);const
|
|
3427
|
+
`,t([Le({type:"string",default:"",description:"Section heading displayed above the group items."})],e.DropdownMenuGroup.prototype,"label",void 0),e.DropdownMenuGroup=t([Ce("quantic-dropdown-menu-group")],e.DropdownMenuGroup);const to={Error:"error",Success:"success",Warning:"warning"},io={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},no={Default:"default",Grid:"grid"},oo={Above:"above",Below:"below"},so={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};function co(e,i,n){let o=class extends(be(i)){constructor(){super(...arguments),this.label="",this.hint="",this.message="",this.required=!1,this.fieldId=Ri("field")}get computedLabel(){return this.getSlotTextContent("label")||this.label}get computedHint(){return this.getSlotTextContent("hint")||this.hint}get computedMessage(){return this.getSlotTextContent("message")||this.message}getFieldA11yContext(){const e=(t=[this.computedHint,this.computedMessage],t.filter(e=>null!=e&&""!==e)).join(". ");var t;return{fieldId:this.fieldId,description:e,label:this.computedLabel,isInvalid:this.status===to.Error,status:this.status}}render(){const e=this.getFieldA11yContext();return Z`
|
|
3428
3428
|
<quantic-field
|
|
3429
3429
|
fieldId=${this.fieldId}
|
|
3430
3430
|
?required=${this.required}
|
|
@@ -3436,7 +3436,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3436
3436
|
${n.call(this,e)}
|
|
3437
3437
|
<slot name="message" slot="message">${this.message}</slot>
|
|
3438
3438
|
</quantic-field>
|
|
3439
|
-
`}};return t([Le({type:"string",default:"''",description:"Field label text. Prefer the label slot for rich content."})],o.prototype,"label",void 0),t([Le({type:"string",default:"''",description:"Helper text. Prefer the hint slot for rich content."})],o.prototype,"hint",void 0),t([Le({type:"string",default:"''",description:"Validation message text. Prefer the message slot for rich content."})],o.prototype,"message",void 0),t([Le({type:"boolean",default:"false",description:"Marks the field as required."})],o.prototype,"required",void 0),t([Le({type:"FieldValidationStatus",options:Object.values(
|
|
3439
|
+
`}};return t([Le({type:"string",default:"''",description:"Field label text. Prefer the label slot for rich content."})],o.prototype,"label",void 0),t([Le({type:"string",default:"''",description:"Helper text. Prefer the hint slot for rich content."})],o.prototype,"hint",void 0),t([Le({type:"string",default:"''",description:"Validation message text. Prefer the message slot for rich content."})],o.prototype,"message",void 0),t([Le({type:"boolean",default:"false",description:"Marks the field as required."})],o.prototype,"required",void 0),t([Le({type:"FieldValidationStatus",options:Object.values(to),description:"Validation state controlling message color."})],o.prototype,"status",void 0),o=t([Ce(`quantic-${e}-field`)],o),o}e.Field=class extends(be(fe)){constructor(){super(...arguments),this.fieldId="",this.label="",this.hint="",this.message="",this.required=!1,this.size=so.Medium,this.hintPosition=oo.Below}render(){const e=!!this.getSlotTextContent("label")||this.label,t=!!this.getSlotTextContent("hint")||this.hint,i=!!this.getSlotTextContent("message")||this.message,n=t?Z`
|
|
3440
3440
|
<div id="hint-${this.fieldId}" class="hint">
|
|
3441
3441
|
<slot name="hint">${this.hint}</slot>
|
|
3442
3442
|
</div>
|
|
@@ -3590,7 +3590,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3590
3590
|
.message--state-warning {
|
|
3591
3591
|
color: var(--quantic-text-warning-primary);
|
|
3592
3592
|
}
|
|
3593
|
-
`],t([Le({type:"string",default:"''",description:"ID linking the label and hint/message elements to the control for accessibility."})],e.Field.prototype,"fieldId",void 0),t([Le({type:"string",default:"",description:"Label text. Prefer the label slot for rich content."})],e.Field.prototype,"label",void 0),t([Le({type:"string",default:"",description:"Helper text displayed near the control. Prefer the hint slot for rich content."})],e.Field.prototype,"hint",void 0),t([Le({type:"string",default:"",description:"Validation message text. Prefer the message slot for rich content."})],e.Field.prototype,"message",void 0),t([Le({type:"boolean",default:"false",description:"Appends a required indicator (*) to the label."})],e.Field.prototype,"required",void 0),t([Le({type:"FieldValidationStatus",options:Object.values(
|
|
3593
|
+
`],t([Le({type:"string",default:"''",description:"ID linking the label and hint/message elements to the control for accessibility."})],e.Field.prototype,"fieldId",void 0),t([Le({type:"string",default:"",description:"Label text. Prefer the label slot for rich content."})],e.Field.prototype,"label",void 0),t([Le({type:"string",default:"",description:"Helper text displayed near the control. Prefer the hint slot for rich content."})],e.Field.prototype,"hint",void 0),t([Le({type:"string",default:"",description:"Validation message text. Prefer the message slot for rich content."})],e.Field.prototype,"message",void 0),t([Le({type:"boolean",default:"false",description:"Appends a required indicator (*) to the label."})],e.Field.prototype,"required",void 0),t([Le({type:"FieldValidationStatus",options:Object.values(to),description:"Validation state that controls message text color."})],e.Field.prototype,"status",void 0),t([Le({type:"FieldSize",options:Object.values(so),default:so.Medium,description:"Controls font size of label and hint text."})],e.Field.prototype,"size",void 0),t([Le({type:"FieldHintPosition",options:Object.values(oo),default:oo.Below,attribute:"hint-position",description:"Position of the hint relative to the control."})],e.Field.prototype,"hintPosition",void 0),e.Field=t([Ce("quantic-field")],e.Field),e.FieldGroup=class extends fe{constructor(){super(...arguments),this.size=io.Medium,this.layout=no.Default}render(){const e=Oe({"field-group":!0,[`size--${this.size}`]:!0,[`layout--${this.layout}`]:!0});return Z`
|
|
3594
3594
|
<div class=${e}>
|
|
3595
3595
|
<slot></slot>
|
|
3596
3596
|
</div>
|
|
@@ -3639,7 +3639,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3639
3639
|
)
|
|
3640
3640
|
);
|
|
3641
3641
|
}
|
|
3642
|
-
`,t([Le({type:"FieldGroupSize",options:Object.values(
|
|
3642
|
+
`,t([Le({type:"FieldGroupSize",options:Object.values(io),default:io.Medium,description:'Controls spacing between child fields, and the minimum column width when layout="grid".'})],e.FieldGroup.prototype,"size",void 0),t([Le({type:"FieldGroupLayout",options:Object.values(no),default:no.Default,description:'Layout mode. "grid" arranges fields in responsive columns.'})],e.FieldGroup.prototype,"layout",void 0),e.FieldGroup=t([Ce("quantic-field-group")],e.FieldGroup),e.Field.ensureDefined(),e.Checkbox.ensureDefined(),co("checkbox",e.Checkbox,function(e){return Z`
|
|
3643
3643
|
<quantic-checkbox
|
|
3644
3644
|
.checked=${this.checked}
|
|
3645
3645
|
.indeterminate=${this.indeterminate}
|
|
@@ -3655,7 +3655,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3655
3655
|
>
|
|
3656
3656
|
<slot></slot>
|
|
3657
3657
|
</quantic-checkbox>
|
|
3658
|
-
`}),
|
|
3658
|
+
`}),co("combobox",e.Combobox,function(e){return Z`
|
|
3659
3659
|
<quantic-combobox
|
|
3660
3660
|
.value=${this.value}
|
|
3661
3661
|
.name=${this.name}
|
|
@@ -3712,7 +3712,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3712
3712
|
<path d="m2 2 20 20" />
|
|
3713
3713
|
</svg>
|
|
3714
3714
|
|
|
3715
|
-
`}},e.LucideIconEyeOff.styles=Ue.styles,e.LucideIconEyeOff=t([Ce("quantic-icon-lucide-eye-off")],e.LucideIconEyeOff);const
|
|
3715
|
+
`}},e.LucideIconEyeOff.styles=Ue.styles,e.LucideIconEyeOff=t([Ce("quantic-icon-lucide-eye-off")],e.LucideIconEyeOff);const ro={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconCircleAlert.ensureDefined(),e.LucideIconEye.ensureDefined(),e.LucideIconEyeOff.ensureDefined(),e.Button.ensureDefined(),e.TextInput=class extends(Si(fe)){constructor(){super(),this.value="",this.type="text",this.name="",this.placeholder="",this.size=ro.Medium,this.disabled=!1,this.required=!1,this.readOnly=!1,this.invalid=!1,this.autoComplete="off",this.showPassword=!1,this.internals=this.attachInternals()}togglePassword(){this.showPassword=!this.showPassword}get iconSize(){return{[ro.ExtraSmall]:_e.ExtraSmall,[ro.Small]:_e.ExtraSmall,[ro.Medium]:_e.Small,[ro.Large]:_e.Medium}[this.size]}updated(e){e.has("value")&&(this.internals.setFormValue(this.value),this.updateValidity()),Oi(this,e,this.value)}forwardNative(e){const t=e.target;this.value=t.value,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}handleKeyDown(e){this.forwardNative(e),"Enter"===e.key&&this.internals.form?.requestSubmit()}dispatchValueChanged(e){this.value=e.target.value}formResetCallback(){this.value="",this.internals.setFormValue("")}formStateRestoreCallback(e){this.value=e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}updateValidity(){const e=this.shadowRoot?.querySelector("input");e&&this.internals.setValidity(e.validity,e.validationMessage,e)}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return Z`
|
|
3716
3716
|
<div class=${e}>
|
|
3717
3717
|
<slot
|
|
3718
3718
|
name="prefix"
|
|
@@ -3894,7 +3894,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3894
3894
|
.password-toggle {
|
|
3895
3895
|
margin-inline-start: var(--quantic-spacing-2);
|
|
3896
3896
|
}
|
|
3897
|
-
`,t([Le({type:"string",default:"",description:"Current value of the input."})],e.TextInput.prototype,"value",void 0),t([Le({type:"string",default:"text",description:"Native input type."})],e.TextInput.prototype,"type",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.TextInput.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder text shown when the field is empty."})],e.TextInput.prototype,"placeholder",void 0),t([Le({type:"TextInputSize",options:Object.values(
|
|
3897
|
+
`,t([Le({type:"string",default:"",description:"Current value of the input."})],e.TextInput.prototype,"value",void 0),t([Le({type:"string",default:"text",description:"Native input type."})],e.TextInput.prototype,"type",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.TextInput.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder text shown when the field is empty."})],e.TextInput.prototype,"placeholder",void 0),t([Le({type:"TextInputSize",options:Object.values(ro),default:ro.Medium,description:"Controls padding and font size."})],e.TextInput.prototype,"size",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.TextInput.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.TextInput.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Makes the field non-editable but still focusable and selectable."})],e.TextInput.prototype,"readOnly",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.TextInput.prototype,"invalid",void 0),t([Le({type:"string",default:"off",reflect:!0,description:"Native autocomplete attribute passed to the inner <input>."})],e.TextInput.prototype,"autoComplete",void 0),t([ve()],e.TextInput.prototype,"showPassword",void 0),e.TextInput=t([Ie("value-changed",{description:"Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ie("input",{forwarded:!0}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ie("keydown",{forwarded:!0}),Ie("keyup",{forwarded:!0}),Ie("keypress",{forwarded:!0}),Ce("quantic-text-input")],e.TextInput),e.TextInput.ensureDefined(),co("text",e.TextInput,function(e){return Z`
|
|
3898
3898
|
<quantic-text-input
|
|
3899
3899
|
.value=${this.value}
|
|
3900
3900
|
.type=${this.type}
|
|
@@ -3915,7 +3915,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3915
3915
|
<slot name="prefix" slot="prefix"></slot>
|
|
3916
3916
|
<slot name="suffix" slot="suffix"></slot>
|
|
3917
3917
|
</quantic-text-input>
|
|
3918
|
-
`});const
|
|
3918
|
+
`});const lo={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconCircleAlert.ensureDefined(),e.LucideIconChevronDown.ensureDefined(),e.Select=class extends(Si(fe)){constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.placeholder="",this.size=lo.Medium,this.disabled=!1,this.required=!1,this.invalid=!1,this._selectRef=ct(),this._slottedOptions=[]}dispatchValueChanged(e){this.value=e.target.value}openDropdown(e){if(!this.disabled){e.stopPropagation();const t=this._selectRef.value;t?.showPicker(),t?.click(),t?.focus()}}updated(e){if(e.has("value")){const e=this._selectRef.value,t=this.options.find(([,e])=>e===this.value);e&&t&&(e.value=t[1])}Oi(this,e,this.value)}forwardNative(e){this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}handleSlotChange(e){const t=e.target.assignedElements({flatten:!0});this._slottedOptions=t.filter(e=>"OPTION"===e.tagName),this.requestUpdate()}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return Z`
|
|
3919
3919
|
<slot @slotchange=${this.handleSlotChange} style="display: none"></slot>
|
|
3920
3920
|
<div class="${e}">
|
|
3921
3921
|
<slot name="prefix"></slot>
|
|
@@ -3939,11 +3939,11 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
3939
3939
|
</option>`):Z`<option value="" disabled>No options available</option>`)()}
|
|
3940
3940
|
</select>
|
|
3941
3941
|
${this.invalid?Z`<quantic-icon-lucide-circle-alert
|
|
3942
|
-
size=${this.size===
|
|
3942
|
+
size=${this.size===lo.ExtraSmall?_e.ExtraSmall:_e.Small}
|
|
3943
3943
|
class="error-icon"
|
|
3944
3944
|
></quantic-icon-lucide-circle-alert>`:Z`<slot name="suffix">
|
|
3945
3945
|
<quantic-icon-lucide-chevron-down
|
|
3946
|
-
size=${this.size===
|
|
3946
|
+
size=${this.size===lo.ExtraSmall?_e.ExtraSmall:_e.Small}
|
|
3947
3947
|
class="suffix-icon"
|
|
3948
3948
|
@click=${this.openDropdown}
|
|
3949
3949
|
></quantic-icon-lucide-chevron-down>
|
|
@@ -4078,7 +4078,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4078
4078
|
.error-icon {
|
|
4079
4079
|
color: var(--quantic-border-error);
|
|
4080
4080
|
}
|
|
4081
|
-
`,t([Le({type:"Option<T>[]",default:"[]",description:"Array of [label, value] tuples. Alternatively, slot native <option> elements."})],e.Select.prototype,"options",void 0),t([Le({type:"string",default:"",reflect:!0,description:"Currently selected value."})],e.Select.prototype,"value",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Select.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder option shown when no value is selected."})],e.Select.prototype,"placeholder",void 0),t([Le({type:"SelectSize",options:Object.values(
|
|
4081
|
+
`,t([Le({type:"Option<T>[]",default:"[]",description:"Array of [label, value] tuples. Alternatively, slot native <option> elements."})],e.Select.prototype,"options",void 0),t([Le({type:"string",default:"",reflect:!0,description:"Currently selected value."})],e.Select.prototype,"value",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Select.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder option shown when no value is selected."})],e.Select.prototype,"placeholder",void 0),t([Le({type:"SelectSize",options:Object.values(lo),default:lo.Medium,description:"Controls padding and font size."})],e.Select.prototype,"size",void 0),t([Le({type:"boolean",default:"false",description:"Prevents interaction."})],e.Select.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",description:"Marks the field as required for form validation."})],e.Select.prototype,"required",void 0),t([Le({type:"boolean",default:"false",description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Select.prototype,"invalid",void 0),e.Select=t([Ie("value-changed",{description:"Fired whenever the value changes, from user selection or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ce("quantic-select")],e.Select),co("select",e.Select,function(e){return Z`
|
|
4082
4082
|
<quantic-select
|
|
4083
4083
|
.value=${this.value}
|
|
4084
4084
|
.name=${this.name}
|
|
@@ -4096,7 +4096,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4096
4096
|
<slot name="prefix" slot="prefix"></slot>
|
|
4097
4097
|
<slot></slot>
|
|
4098
4098
|
</quantic-select>
|
|
4099
|
-
`});const
|
|
4099
|
+
`});const ao={XSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},uo={Default:"default",Inline:"inline",Segmented:"segmented"},ho="radio-group.variant";e.Radio=class extends fe{constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.label="",this.name="",this.value="",this.size=ao.Medium,this.defaultChecked=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked")}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}updated(e){if(super.updated(e),e.has("checked")){this.internals.setFormValue(this.checked?this.value:null);const e=this.renderRoot.querySelector("input");e&&(e.checked=this.checked)}}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}formResetCallback(){const e=this.renderRoot.querySelector("input");this.checked=this.defaultChecked,this.internals.setFormValue(this.defaultChecked?this.value:null),e&&(e.checked=this.defaultChecked)}formStateRestoreCallback(e){this.checked=e===this.value,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0,[`variant--${this.groupVariant}`]:!!this.groupVariant,checked:this.checked});return Z`
|
|
4100
4100
|
<label class=${e}>
|
|
4101
4101
|
<input
|
|
4102
4102
|
type="radio"
|
|
@@ -4283,8 +4283,8 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4283
4283
|
input:disabled + .circle .dot {
|
|
4284
4284
|
background-color: var(--quantic-fg-disabled-subtle);
|
|
4285
4285
|
}
|
|
4286
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether this radio is selected."})],e.Radio.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the radio as required for form validation."})],e.Radio.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Radio.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.Radio.prototype,"invalid",void 0),t([Le({type:"string",default:"",description:"Visible label text. If omitted, the default slot is used instead."})],e.Radio.prototype,"label",void 0),t([Le({type:"string",description:"Shared radio group name for form submission."})],e.Radio.prototype,"name",void 0),t([Le({type:"string",description:"Value submitted with the form when this radio is checked."})],e.Radio.prototype,"value",void 0),t([Le({type:"RadioSize",options:Object.values(
|
|
4287
|
-
class=${Oe({group:!0,"group--inline":this.variant===
|
|
4286
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether this radio is selected."})],e.Radio.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the radio as required for form validation."})],e.Radio.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Radio.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.Radio.prototype,"invalid",void 0),t([Le({type:"string",default:"",description:"Visible label text. If omitted, the default slot is used instead."})],e.Radio.prototype,"label",void 0),t([Le({type:"string",description:"Shared radio group name for form submission."})],e.Radio.prototype,"name",void 0),t([Le({type:"string",description:"Value submitted with the form when this radio is checked."})],e.Radio.prototype,"value",void 0),t([Le({type:"RadioSize",options:Object.values(ao),default:ao.Medium,description:"Controls the size of the radio control and label."})],e.Radio.prototype,"size",void 0),t([Qi({context:ho,subscribe:!0})],e.Radio.prototype,"groupVariant",void 0),e.Radio=t([Ie("value-changed",{description:"Fired whenever the input's value is updated (on input & change).",detail:"{ checked: boolean }"}),Ie("input",{forwarded:!0}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ie("keydown",{forwarded:!0}),Ie("keyup",{forwarded:!0}),Ce("quantic-radio")],e.Radio),e.RadioGroup=class extends(Si(fe)){constructor(){super(),this.name="",this.value="",this.disabled=!1,this.required=!1,this.invalid=!1,this.variant=uo.Default,this.internals=this.attachInternals(),this.handleValueChanged=this.handleValueChanged.bind(this)}connectedCallback(){super.connectedCallback(),this.addEventListener("value-changed",this.handleValueChanged)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("value-changed",this.handleValueChanged)}handleValueChanged(e){const t=e,i=t.target;i&&"quantic-radio"===i.tagName.toLowerCase()&&(e.stopPropagation(),t.detail?.checked&&(this.value=i.value,this.uncheckOthers(i),this.internals.setFormValue(this.value||null),this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:this.value},bubbles:!0,composed:!0}))))}uncheckOthers(e){this.querySelectorAll("quantic-radio").forEach(t=>{t!==e&&t.checked&&(t.checked=!1)})}updated(e){super.updated(e),(e.has("name")||e.has("disabled")||e.has("required"))&&this.syncRadioProperties(),e.has("value")&&(this.syncSelection(),this.internals.setFormValue(this.value||null))}syncRadioProperties(){this.querySelectorAll("quantic-radio").forEach(e=>{e.name=this.name,e.disabled=this.disabled,e.required=this.required})}syncSelection(){this.querySelectorAll("quantic-radio").forEach(e=>{e.checked=e.value===this.value})}firstUpdated(){this.syncRadioProperties(),this.syncSelection()}formResetCallback(){this.value="",this.internals.setFormValue(null),this.syncSelection()}formStateRestoreCallback(e){this.value=e||"",this.internals.setFormValue(e),this.syncSelection()}formDisabledCallback(e){this.disabled=e}render(){const e=this.getA11yAttributes({invalid:this.invalid});return Z`<div
|
|
4287
|
+
class=${Oe({group:!0,"group--inline":this.variant===uo.Inline,"group--segmented":this.variant===uo.Segmented})}
|
|
4288
4288
|
role="radiogroup"
|
|
4289
4289
|
aria-label=${e.label}
|
|
4290
4290
|
aria-description=${e.description}
|
|
@@ -4315,7 +4315,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4315
4315
|
border: 1px solid var(--quantic-border-primary);
|
|
4316
4316
|
background: var(--quantic-bg-primary);
|
|
4317
4317
|
}
|
|
4318
|
-
`,t([Le({type:"string",description:"Name submitted with form data. Propagated to all child quantic-radio elements."})],e.RadioGroup.prototype,"name",void 0),t([Le({type:"string",description:"Currently selected radio value."})],e.RadioGroup.prototype,"value",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction. Propagated to all child radios."})],e.RadioGroup.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required. Propagated to all child radios."})],e.RadioGroup.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.RadioGroup.prototype,"invalid",void 0),t([
|
|
4318
|
+
`,t([Le({type:"string",description:"Name submitted with form data. Propagated to all child quantic-radio elements."})],e.RadioGroup.prototype,"name",void 0),t([Le({type:"string",description:"Currently selected radio value."})],e.RadioGroup.prototype,"value",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction. Propagated to all child radios."})],e.RadioGroup.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required. Propagated to all child radios."})],e.RadioGroup.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.RadioGroup.prototype,"invalid",void 0),t([Ji({context:ho}),Le({type:"RadioGroupVariant",options:Object.values(uo),reflect:!0,description:"Visual variant propagated to all child radios via context."})],e.RadioGroup.prototype,"variant",void 0),e.RadioGroup=t([Ie("value-changed",{description:"Fired whenever the selected radio changes.",detail:"{ value: string }"}),Ce("quantic-radio-group")],e.RadioGroup),e.RadioGroup.ensureDefined(),co("radio-group",e.RadioGroup,function(e){return Z`
|
|
4319
4319
|
<quantic-radio-group
|
|
4320
4320
|
.value=${this.value}
|
|
4321
4321
|
.name=${this.name}
|
|
@@ -4331,7 +4331,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4331
4331
|
>
|
|
4332
4332
|
<slot></slot>
|
|
4333
4333
|
</quantic-radio-group>
|
|
4334
|
-
`});const
|
|
4334
|
+
`});const po={Small:"sm",Medium:"md",Large:"lg"};e.Toggle=class extends(Si(be(fe))){constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.label="",this.name="",this.size=po.Medium,this.defaultChecked=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked")}updated(e){super.updated(e),e.has("checked")&&this.internals.setFormValue(this.checked?"on":null)}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}formResetCallback(){this.checked=this.defaultChecked,this.internals.setFormValue(this.defaultChecked?"on":null);const e=this.renderRoot.querySelector("input");e&&(e.checked=this.defaultChecked)}formStateRestoreCallback(e){this.checked="on"===e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}get computedLabel(){return this.ariaLabel||this.label}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({label:this.computedLabel,invalid:this.invalid}),i=Z`
|
|
4335
4335
|
<input
|
|
4336
4336
|
type="checkbox"
|
|
4337
4337
|
name=${this.name}
|
|
@@ -4498,7 +4498,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4498
4498
|
input:disabled + .track .thumb {
|
|
4499
4499
|
background-color: var(--quantic-fg-disabled-subtle);
|
|
4500
4500
|
}
|
|
4501
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the toggle is on."})],e.Toggle.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.Toggle.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Toggle.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Toggle.prototype,"invalid",void 0),t([Le({type:"string",default:"",description:"Visible label text rendered next to the toggle."})],e.Toggle.prototype,"label",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Toggle.prototype,"name",void 0),t([Le({type:"ToggleSize",options:Object.values(
|
|
4501
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the toggle is on."})],e.Toggle.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.Toggle.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Toggle.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Toggle.prototype,"invalid",void 0),t([Le({type:"string",default:"",description:"Visible label text rendered next to the toggle."})],e.Toggle.prototype,"label",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Toggle.prototype,"name",void 0),t([Le({type:"ToggleSize",options:Object.values(po),default:po.Medium,description:"Controls the size of the toggle track and thumb."})],e.Toggle.prototype,"size",void 0),e.Toggle=t([Ie("value-changed",{description:"Fired whenever the input's value is updated (on input & change).",detail:"{ checked: boolean }"}),Ie("input",{forwarded:!0}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ie("keydown",{forwarded:!0}),Ie("keyup",{forwarded:!0}),Ce("quantic-toggle")],e.Toggle),e.Toggle.ensureDefined(),co("toggle",e.Toggle,function(e){return Z`
|
|
4502
4502
|
<quantic-toggle
|
|
4503
4503
|
.checked=${this.checked}
|
|
4504
4504
|
.name=${this.name}
|
|
@@ -4513,7 +4513,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4513
4513
|
>
|
|
4514
4514
|
<slot></slot>
|
|
4515
4515
|
</quantic-toggle>
|
|
4516
|
-
`});const
|
|
4516
|
+
`});const go={Small:"sm",Medium:"md",Large:"lg"},vo={Default:"default",Bare:"bare"};e.Fieldset=class extends fe{constructor(){super(...arguments),this.legend="",this.description="",this.size=go.Medium,this.variant=vo.Default}render(){const e=Oe({fieldset:!0,[`size--${this.size}`]:!0,[`variant--${this.variant}`]:!0});return Z`
|
|
4517
4517
|
<fieldset class=${e}>
|
|
4518
4518
|
${this.legend||this.description?Z`
|
|
4519
4519
|
<div class="header">
|
|
@@ -4621,7 +4621,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
4621
4621
|
flex-direction: column;
|
|
4622
4622
|
gap: var(--quantic-spacing-4);
|
|
4623
4623
|
}
|
|
4624
|
-
`,t([Le({type:"string",default:"",description:"Section heading displayed as the fieldset legend."})],e.Fieldset.prototype,"legend",void 0),t([Le({type:"string",default:"",description:"Optional description text shown below the legend."})],e.Fieldset.prototype,"description",void 0),t([Le({type:"FieldsetSize",options:Object.values(
|
|
4624
|
+
`,t([Le({type:"string",default:"",description:"Section heading displayed as the fieldset legend."})],e.Fieldset.prototype,"legend",void 0),t([Le({type:"string",default:"",description:"Optional description text shown below the legend."})],e.Fieldset.prototype,"description",void 0),t([Le({type:"FieldsetSize",options:Object.values(go),default:go.Medium,description:"Controls padding and spacing between fields."})],e.Fieldset.prototype,"size",void 0),t([Le({type:"FieldsetVariant",options:Object.values(vo),default:vo.Default,description:'Visual style. "bare" removes border and padding for inline use.'})],e.Fieldset.prototype,"variant",void 0),e.Fieldset=t([Ce("quantic-fieldset")],e.Fieldset),e.BrandIconApptainerOutline=class extends Ue{render(){return G`
|
|
4625
4625
|
<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4626
4626
|
<path d="M24.3701 0.620117C37.6001 0.620117 48.3701 11.3901 48.3701 24.6201C48.3701 37.8501 37.6001 48.6201 24.3701 48.6201C11.1402 48.6201 0.370183 37.8501 0.370117 24.6201C0.370117 11.3901 11.1401 0.620117 24.3701 0.620117ZM24.3701 3.37012C12.6501 3.37012 3.12012 12.9001 3.12012 24.6201C3.12018 36.3401 12.6502 45.8701 24.3701 45.8701C36.0901 45.8701 45.6201 36.3401 45.6201 24.6201C45.6201 12.9001 36.0901 3.37012 24.3701 3.37012ZM32.0078 32.9951C32.0754 33.0597 32.1383 33.1318 32.1934 33.2119C32.2903 33.3533 32.3562 33.5068 32.3945 33.6641L35.4707 38.9922L35.5352 39.1172C35.8209 39.7527 35.584 40.514 34.9678 40.8701C34.3513 41.2261 33.5737 41.0505 33.166 40.4854L33.0898 40.3672L30.5186 35.9141C28.6877 36.8711 26.6489 37.3769 24.5703 37.374H24.5684L24.5674 37.375C22.2699 37.3745 20.111 36.7669 18.2393 35.7061L15.6406 40.207C15.2609 40.8646 14.4203 41.0896 13.7627 40.71C13.1052 40.3301 12.88 39.4896 13.2598 38.832L24.3203 19.6797L32.0078 32.9951ZM19.6143 33.3252C21.0818 34.1527 22.7704 34.625 24.5703 34.625H24.5723L24.9531 34.6182C26.4139 34.5649 27.8417 34.191 29.1416 33.5303L24.3193 25.1777L19.6143 33.3252ZM35.8066 21.1729C36.5568 21.0555 37.2604 21.5682 37.3779 22.3184C37.4811 22.9776 37.5254 23.6489 37.5254 24.3174C37.5253 26.7288 36.8738 28.9981 35.7373 30.9395L35.6602 31.0576C35.2491 31.6202 34.4698 31.7912 33.8555 31.4316C33.2003 31.048 32.9798 30.2051 33.3633 29.5498L33.5273 29.2607C34.3219 27.7966 34.7753 26.11 34.7754 24.3174C34.7754 23.7682 34.739 23.2407 34.6611 22.7432C34.544 21.9931 35.0566 21.2903 35.8066 21.1729ZM13.293 21.4336C14.0447 21.54 14.5681 22.2356 14.4619 22.9873C14.402 23.4102 14.375 23.8529 14.375 24.3174V24.3193C14.3724 26.0448 14.8013 27.7409 15.6182 29.251L15.7861 29.5508L15.8516 29.6758C16.1405 30.3097 15.9082 31.0722 15.2939 31.4316C14.6795 31.791 13.9011 31.6194 13.4902 31.0566L13.4131 30.9395L13.1992 30.5596C12.1641 28.646 11.6218 26.4986 11.625 24.3154C11.6251 23.7455 11.6584 23.1724 11.7393 22.6016C11.846 21.8502 12.5415 21.3274 13.293 21.4336ZM26.126 12.6582C26.3031 11.9689 26.9723 11.5357 27.6611 11.6396L27.7998 11.668L28.376 11.8311C31.231 12.7099 33.6556 14.56 35.2959 16.9785C35.7219 17.6069 35.558 18.4625 34.9297 18.8887C34.3013 19.3145 33.4457 19.1506 33.0195 18.5225C31.717 16.602 29.8018 15.1471 27.5664 14.459L27.1152 14.332L26.9814 14.29C26.3273 14.0495 25.9491 13.3477 26.126 12.6582ZM21.3506 11.668C22.086 11.4792 22.8354 11.9229 23.0244 12.6582C23.213 13.3936 22.7695 14.1432 22.0342 14.332C19.6056 14.9558 17.5207 16.4736 16.1426 18.5186L16.0576 18.6309C15.6118 19.1664 14.8237 19.2883 14.2334 18.8906C13.6039 18.4662 13.4382 17.6111 13.8623 16.9814L14.1982 16.5049C15.9343 14.1612 18.4402 12.4154 21.3506 11.668Z" fill="currentColor"/>
|
|
4627
4627
|
</svg>
|
|
@@ -36356,7 +36356,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
36356
36356
|
<line x1="8" x2="14" y1="11" y2="11" />
|
|
36357
36357
|
</svg>
|
|
36358
36358
|
|
|
36359
|
-
`}},e.LucideIconZoomOut.styles=Ue.styles,e.LucideIconZoomOut=t([Ce("quantic-icon-lucide-zoom-out")],e.LucideIconZoomOut);const
|
|
36359
|
+
`}},e.LucideIconZoomOut.styles=Ue.styles,e.LucideIconZoomOut=t([Ce("quantic-icon-lucide-zoom-out")],e.LucideIconZoomOut);const wo={ExtraSmall:"xs",Small:"sm",Medium:"md"};e.IconLabel=class extends fe{constructor(){super(...arguments),this.size=wo.Medium,this.syncIconSizes=()=>{this.shadowRoot?.querySelector('slot[name="icon"]')?.assignedElements().forEach(e=>e.size=this.size)}}updated(e){e.has("size")&&this.syncIconSizes()}render(){return je`
|
|
36360
36360
|
<div class=${Oe({main:!0,[`size--${this.size}`]:!0})}>
|
|
36361
36361
|
<slot name="icon" @slotchange=${this.syncIconSizes}></slot>
|
|
36362
36362
|
<slot></slot>
|
|
@@ -36390,7 +36390,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
36390
36390
|
display: flex;
|
|
36391
36391
|
align-items: center;
|
|
36392
36392
|
}
|
|
36393
|
-
`,t([Le({type:"IconLabelSize",options:Object.values(
|
|
36393
|
+
`,t([Le({type:"IconLabelSize",options:Object.values(wo),default:wo.Medium,description:"Controls font size and icon gap."})],e.IconLabel.prototype,"size",void 0),e.IconLabel=t([Ce("quantic-icon-label")],e.IconLabel),e.LucideIconPencil.ensureDefined(),e.InlineEdit=class extends(be(fe)){constructor(){super(...arguments),this.label="",this.active=!1,this.invalid=!1,this.handleActivateClick=()=>{this.active||this.activate()},this.handleTriggerKey=e=>{this.active||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.stopPropagation(),this.activate())},this.handleKeyDown=e=>{this.active&&"Escape"===e.key&&(this.deactivate(!0),this.dispatchEvent(new CustomEvent("cancel",{bubbles:!0,composed:!0})))},this.handleFocusOut=e=>{if(!this.active||this.invalid)return;this.contains(e.relatedTarget)||this.shadowRoot?.contains(e.relatedTarget)||this.deactivate()}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("focusout",this.handleFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("focusout",this.handleFocusOut)}activate(){this.active=!0,this.updateComplete.then(()=>{const e=this.renderRoot.querySelector('slot[name="editor"]'),t=e?.assignedElements()[0],i=t?.shadowRoot?.querySelector('input, textarea, select, [tabindex]:not([tabindex="-1"])')??t;i?.focus()})}deactivate(e=!1){this.active=!1,e&&this.updateComplete.then(()=>{this.renderRoot.querySelector(".row")?.focus()})}render(){const e=this.hasSlotContent("label")||!!this.label;return Z`
|
|
36394
36394
|
<div
|
|
36395
36395
|
class="${Oe({row:!0,"is-active":this.active})}"
|
|
36396
36396
|
role="${this.active?"group":"button"}"
|
|
@@ -36524,7 +36524,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
36524
36524
|
.is-active .editor {
|
|
36525
36525
|
display: block;
|
|
36526
36526
|
}
|
|
36527
|
-
`,t([Le({type:"string",default:"",description:"Fallback label text when no label slot content is provided."})],e.InlineEdit.prototype,"label",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"When true, the editor slot is visible and the display is hidden."})],e.InlineEdit.prototype,"active",void 0),t([Le({type:"boolean",default:"false",description:"When true, focusout does not close the editor. The editor stays open until the value is valid or the user cancels."})],e.InlineEdit.prototype,"invalid",void 0),e.InlineEdit=t([Ie("cancel",{description:"Fired on Escape. Consumer should revert optimistic state."}),Ce("quantic-inline-edit")],e.InlineEdit);const
|
|
36527
|
+
`,t([Le({type:"string",default:"",description:"Fallback label text when no label slot content is provided."})],e.InlineEdit.prototype,"label",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"When true, the editor slot is visible and the display is hidden."})],e.InlineEdit.prototype,"active",void 0),t([Le({type:"boolean",default:"false",description:"When true, focusout does not close the editor. The editor stays open until the value is valid or the user cancels."})],e.InlineEdit.prototype,"invalid",void 0),e.InlineEdit=t([Ie("cancel",{description:"Fired on Escape. Consumer should revert optimistic state."}),Ce("quantic-inline-edit")],e.InlineEdit);const mo={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconChevronUp.ensureDefined(),e.LucideIconChevronDown.ensureDefined(),e.LucideIconCircleAlert.ensureDefined(),e.NumberInput=class extends(Si(fe)){get value(){return this._value}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t),this.internals.setFormValue(null!==e?String(e):"")}constructor(){super(),this.inputRef=ct(),this._value=null,this.min=void 0,this.max=void 0,this.step=1,this.name="",this.placeholder="",this.size=mo.Medium,this.disabled=!1,this.required=!1,this.invalid=!1,this.internals=this.attachInternals()}updated(e){e.has("value")&&this.updateValidity(),Oi(this,e,this.value)}stepUp(){this.inputRef.value?.stepUp(),this.syncValue()}stepDown(){this.inputRef.value?.stepDown(),this.syncValue()}syncValue(){const e=this.inputRef.value?.valueAsNumber;this.value=void 0===e||isNaN(e)?null:e}updateValidity(){const e=this.inputRef.value;e&&this.internals.setValidity(e.validity,e.validationMessage,e)}forwardNative(e){e instanceof KeyboardEvent?this.dispatchEvent(new KeyboardEvent(e.type,{bubbles:!0,composed:!0,key:e.key,code:e.code,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey,repeat:e.repeat})):e instanceof FocusEvent?this.dispatchEvent(new FocusEvent(e.type,{bubbles:!0,composed:!0,relatedTarget:e.relatedTarget})):this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}handleKeyDown(e){this.forwardNative(e),"Enter"===e.key&&this.internals.form?.requestSubmit()}formResetCallback(){this.value=null}formStateRestoreCallback(e){const t=parseFloat(e);this.value=isNaN(t)?null:t}formDisabledCallback(e){this.disabled=e}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return Z`
|
|
36528
36528
|
<div class=${e}>
|
|
36529
36529
|
<slot name="prefix"></slot>
|
|
36530
36530
|
<input
|
|
@@ -36775,9 +36775,9 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
36775
36775
|
.error-icon {
|
|
36776
36776
|
color: var(--quantic-border-error);
|
|
36777
36777
|
}
|
|
36778
|
-
`,t([Le({type:"number",default:"null",reflect:!0,description:"Current numeric value. null when the field is empty."})],e.NumberInput.prototype,"value",null),t([Le({type:"number",description:"Minimum allowed value."})],e.NumberInput.prototype,"min",void 0),t([Le({type:"number",description:"Maximum allowed value."})],e.NumberInput.prototype,"max",void 0),t([Le({type:"number",default:"1",description:"Step increment for stepper buttons and keyboard arrow keys."})],e.NumberInput.prototype,"step",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.NumberInput.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder text shown when the field is empty."})],e.NumberInput.prototype,"placeholder",void 0),t([Le({type:"NumberInputSize",options:Object.values(
|
|
36778
|
+
`,t([Le({type:"number",default:"null",reflect:!0,description:"Current numeric value. null when the field is empty."})],e.NumberInput.prototype,"value",null),t([Le({type:"number",description:"Minimum allowed value."})],e.NumberInput.prototype,"min",void 0),t([Le({type:"number",description:"Maximum allowed value."})],e.NumberInput.prototype,"max",void 0),t([Le({type:"number",default:"1",description:"Step increment for stepper buttons and keyboard arrow keys."})],e.NumberInput.prototype,"step",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.NumberInput.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder text shown when the field is empty."})],e.NumberInput.prototype,"placeholder",void 0),t([Le({type:"NumberInputSize",options:Object.values(mo),default:mo.Medium,description:"Controls padding and font size."})],e.NumberInput.prototype,"size",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.NumberInput.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.NumberInput.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.NumberInput.prototype,"invalid",void 0),e.NumberInput=t([Ie("value-changed",{description:"Fired whenever the value changes, from user input, stepper click, or a programmatic update. Not fired on initial render.",detail:"{ value: number | null }"}),Ie("input",{forwarded:!0}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ie("keydown",{forwarded:!0}),Ie("keyup",{forwarded:!0}),Ie("keypress",{forwarded:!0}),Ce("quantic-number-input")],e.NumberInput);const ko={MAX_LINES:1e4,FOLLOW_SCROLL_THRESHOLD:50},xo=["log-black","log-danger","log-success","log-warning","log-blue","log-magenta","log-info","log-white","log-gray","log-danger","log-success","log-warning","log-blue","log-magenta","log-info","log-white"],yo=["#1c1c1c","#8b0000","#006400","#808000","#00008b","#800080","#008b8b","#a9a9a9","#404040","#ff4444","#44ff44","#ffff44","#4444ff","#ff44ff","#44ffff","#ffffff"];function Lo(e){if(e<232){const t=e-16,i=Math.floor(t/36),n=Math.floor(t%36/6),o=t%6,s=e=>0===e?0:55+40*e;return`rgb(${s(i)},${s(n)},${s(o)})`}const t=8+10*(e-232);return`rgb(${t},${t},${t})`}function Io(){return{fgClass:null,fgRgb:null,bgColor:null,bold:!1,dim:!1,italic:!1,underline:!1}}function fo(e,t){const i=""===t?[0]:t.split(";").map(Number),n={...e};let o=0;for(;o<i.length;){const e=i[o];if(0===e)Object.assign(n,Io());else if(1===e)n.bold=!0;else if(2===e)n.dim=!0;else if(3===e)n.italic=!0;else if(4===e)n.underline=!0;else if(22===e)n.bold=!1,n.dim=!1;else if(23===e)n.italic=!1;else if(24===e)n.underline=!1;else if(e>=30&&e<=37)n.fgClass=xo[e-30],n.fgRgb=null;else if(38===e){const e=i[o+1];if(5===e&&o+2<i.length){const e=i[o+2];e<16?(n.fgClass=xo[e],n.fgRgb=null):(n.fgClass=null,n.fgRgb=Lo(e)),o+=2}else 2===e&&o+4<i.length&&(n.fgClass=null,n.fgRgb=`rgb(${i[o+2]},${i[o+3]},${i[o+4]})`,o+=4)}else if(39===e)n.fgClass=null,n.fgRgb=null;else if(e>=40&&e<=47)n.bgColor=yo[e-40];else if(48===e){const e=i[o+1];if(5===e&&o+2<i.length){const e=i[o+2];n.bgColor=e<16?yo[e]:Lo(e),o+=2}else 2===e&&o+4<i.length&&(n.bgColor=`rgb(${i[o+2]},${i[o+3]},${i[o+4]})`,o+=4)}else 49===e?n.bgColor=null:e>=90&&e<=97?(n.fgClass=xo[e-90+8],n.fgRgb=null):e>=100&&e<=107&&(n.bgColor=yo[e-100+8]);o++}return n}function Co(e){const t=[];let i={fgClass:null,fgRgb:null,bgColor:null,bold:!1,dim:!1,italic:!1,underline:!1},n=0;for(const o of e.matchAll(/\x1b\[([0-9;]*)m/g)){const s=e.slice(n,o.index);s&&t.push({text:s,state:i}),i=fo(i,o[1]),n=o.index+o[0].length}const o=e.slice(n);return o&&t.push({text:o,state:i}),t}e.Checkbox.ensureDefined(),e.LogOutput=class extends fe{constructor(){super(...arguments),this.follow=!0,this.followLabel="Follow",this.lineNumbers=!1,this.maxLines=ko.MAX_LINES,this.lineBuffer=[],this.resizeObserver=null,this.handleScroll=()=>{const{scrollTop:e,scrollHeight:t,clientHeight:i}=this.outputEl,n=t-e-i;this.follow=!(n>ko.FOLLOW_SCROLL_THRESHOLD)}}get lines(){return this.lineBuffer.map(e=>e.raw)}set lines(e){this.lineBuffer=this.clampToMax(e.map(e=>({raw:e,parsed:Co(e)})))}firstUpdated(){this.outputEl.addEventListener("scroll",this.handleScroll),this.resizeObserver=new ResizeObserver(()=>{this.follow&&this.scrollToBottom()}),this.resizeObserver.observe(this.outputEl)}updated(e){e.has("maxLines")&&(this.lineBuffer=this.clampToMax(this.lineBuffer)),this.follow&&this.scrollToBottom()}disconnectedCallback(){super.disconnectedCallback(),this.outputEl?.removeEventListener("scroll",this.handleScroll),this.resizeObserver?.disconnect(),this.resizeObserver=null}appendLine(e){this.lineBuffer=this.clampToMax([...this.lineBuffer,{raw:e,parsed:Co(e)}])}clampToMax(e){return e.length>this.maxLines?e.slice(-this.maxLines):e}renderSegment({text:e,state:t}){if(function(e){return!(null!==e.fgClass||null!==e.fgRgb||null!==e.bgColor||e.bold||e.dim||e.italic||e.underline)}(t))return e;const i={"log-bold":t.bold,"log-dim":t.dim,"log-italic":t.italic,"log-underline":t.underline};return t.fgClass&&(i[t.fgClass]=!0),Z`<span
|
|
36779
36779
|
class=${Oe(i)}
|
|
36780
|
-
style=${
|
|
36780
|
+
style=${eo({color:t.fgRgb,background:t.bgColor})}
|
|
36781
36781
|
>${e}</span
|
|
36782
36782
|
>`}scrollToBottom(){this.outputEl.scrollTop=this.outputEl.scrollHeight}handleFollowChange(e){this.follow=e.detail.checked,this.follow&&this.scrollToBottom()}render(){return Z`
|
|
36783
36783
|
<div class="toolbar">
|
|
@@ -36952,7 +36952,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
36952
36952
|
.output::-webkit-scrollbar-thumb:hover {
|
|
36953
36953
|
background: rgba(var(--quantic-fg-white-rgb), 0.2);
|
|
36954
36954
|
}
|
|
36955
|
-
`,t([Le({type:"boolean",default:"true",reflect:!0,description:"When true, the output automatically scrolls to the latest line."})],e.LogOutput.prototype,"follow",void 0),t([Le({type:"string",default:"Follow",attribute:"follow-label",description:"Label text for the follow toggle checkbox."})],e.LogOutput.prototype,"followLabel",void 0),t([Le({type:"boolean",default:"false",reflect:!0,attribute:"line-numbers",description:"When true, prepends line numbers to each row."})],e.LogOutput.prototype,"lineNumbers",void 0),t([Le({type:"number",default:String(
|
|
36955
|
+
`,t([Le({type:"boolean",default:"true",reflect:!0,description:"When true, the output automatically scrolls to the latest line."})],e.LogOutput.prototype,"follow",void 0),t([Le({type:"string",default:"Follow",attribute:"follow-label",description:"Label text for the follow toggle checkbox."})],e.LogOutput.prototype,"followLabel",void 0),t([Le({type:"boolean",default:"false",reflect:!0,attribute:"line-numbers",description:"When true, prepends line numbers to each row."})],e.LogOutput.prototype,"lineNumbers",void 0),t([Le({type:"number",default:String(ko.MAX_LINES),attribute:"max-lines",description:"Maximum number of lines retained in the buffer. Older lines are dropped when the limit is exceeded."})],e.LogOutput.prototype,"maxLines",void 0),t([ve()],e.LogOutput.prototype,"lineBuffer",void 0),t([me(".output")],e.LogOutput.prototype,"outputEl",void 0),e.LogOutput=t([Ce("quantic-log-output")],e.LogOutput);const bo={Primary:"primary",Secondary:"secondary"},Mo={Default:"default",Focused:"focused"};e.Navbar=class extends fe{constructor(){super(...arguments),this.ariaLabel="Navbar navigation"}render(){return je`
|
|
36956
36956
|
<nav class="main" role="navigation" aria-label=${this.ariaLabel}>
|
|
36957
36957
|
<slot></slot>
|
|
36958
36958
|
</nav>
|
|
@@ -37041,7 +37041,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37041
37041
|
flex-shrink: 0;
|
|
37042
37042
|
display: flex;
|
|
37043
37043
|
}
|
|
37044
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Highlights the item as the currently active route."})],e.NavbarMenuItem.prototype,"selected",void 0),t([Le({type:"string",default:"",description:"URL to navigate to. When set the element renders as an <a> tag."})],e.NavbarMenuItem.prototype,"href",void 0),t([Le({type:"string",default:"",attribute:"aria-label",description:"Accessible label for the nav item (required for icon-only items)."})],e.NavbarMenuItem.prototype,"ariaLabel",void 0),e.NavbarMenuItem=t([Ce("quantic-navbar-menu-item")],e.NavbarMenuItem);class
|
|
37044
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Highlights the item as the currently active route."})],e.NavbarMenuItem.prototype,"selected",void 0),t([Le({type:"string",default:"",description:"URL to navigate to. When set the element renders as an <a> tag."})],e.NavbarMenuItem.prototype,"href",void 0),t([Le({type:"string",default:"",attribute:"aria-label",description:"Accessible label for the nav item (required for icon-only items)."})],e.NavbarMenuItem.prototype,"ariaLabel",void 0),e.NavbarMenuItem=t([Ce("quantic-navbar-menu-item")],e.NavbarMenuItem);class qo{constructor(e,t){this.host=e,this.matchesValue=!1,this.handleChange=e=>{this.matchesValue=e.matches,this.host.requestUpdate()},"undefined"!=typeof window&&window.matchMedia&&(this.mediaQuery=window.matchMedia(t),this.matchesValue=this.mediaQuery.matches),this.host.addController(this)}hostConnected(){this.mediaQuery?.addEventListener("change",this.handleChange)}hostDisconnected(){this.mediaQuery?.removeEventListener("change",this.handleChange)}get matches(){return!!this.mediaQuery&&this.matchesValue}}class So{static below(e){return`(max-width: ${e-1}px)`}static above(e){return`(min-width: ${e}px)`}static between(e,t){return`(min-width: ${e}px) and (max-width: ${t-1}px)`}}function Bo(e){return function(t,i){const n=Symbol(i);Object.defineProperty(t,i,{get(){return this[n]||(this[n]=new qo(this,e)),this[n].matches},enumerable:!0,configurable:!0})}}const Ao="aside.expanded";e.Button.ensureDefined(),e.LucideIconMenu.ensureDefined(),e.Layout=class extends(Me(fe)){constructor(){super(...arguments),this.variant=Mo.Default,this._isAsideExpanded=!0,this.handleAsideExpand=e=>{this.isAsideExpanded=e.detail.expanded},this.handleKeydown=e=>{"Escape"===e.key&&this.isAsideExpanded&&(this.isAsideExpanded=!1)},this.handleSlotChange=e=>{this.handleAutoHide(e),this.requestUpdate()}}get isAsideExpanded(){return this._isAsideExpanded}set isAsideExpanded(e){const t=this._isAsideExpanded;this._isAsideExpanded=e,t!==e&&(this.requestUpdate("isAsideExpanded",t),e?this.activateFocusTrap():this.deactivateFocusTrap())}toggleAsideExpanded(){this.isAsideExpanded=!this.isAsideExpanded}async activateFocusTrap(){if(this.isSmallViewport&&this.asideElement){await this.updateComplete;try{this.focusTrap=Nn(this.asideElement,{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,initialFocus:!1,returnFocusOnDeactivate:!0,setReturnFocus:()=>this.toggleButtonElement||document.body,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate()}catch(e){console.error("Failed to activate focus trap:",e),this.focusTrap=null}}}deactivateFocusTrap(){if(this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleKeydown),this.deactivateFocusTrap()}willUpdate(e){void 0===this.previousIsSmallViewport&&(this._isAsideExpanded=!this.isSmallViewport,this.previousIsSmallViewport=this.isSmallViewport)}updated(e){super.updated(e),this.previousIsSmallViewport!==this.isSmallViewport&&(this.isAsideExpanded=!this.isSmallViewport),this.previousIsSmallViewport=this.isSmallViewport}get isAsideCollapsible(){return this.isSmallViewport&&this.hasSidebar}get hasSidebar(){return!this.isSlotEmpty("sidebar")}get hasTitlebar(){return!this.isSlotEmpty("titlebar")}get hasHeader(){return this.isAsideCollapsible||["titlebar","navbar","logo"].some(e=>!this.isSlotEmpty(e))}render(){const e=je`<quantic-button
|
|
37045
37045
|
class="toggle-button"
|
|
37046
37046
|
variant="outline"
|
|
37047
37047
|
size="sm"
|
|
@@ -37349,11 +37349,11 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37349
37349
|
min-width: var(--quantic-spacing-80);
|
|
37350
37350
|
max-width: var(--quantic-spacing-160);
|
|
37351
37351
|
}
|
|
37352
|
-
`,t([Le({type:"LayoutVariant",options:Object.values(
|
|
37352
|
+
`,t([Le({type:"LayoutVariant",options:Object.values(Mo),default:Mo.Default,reflect:!0,description:'Layout mode. "default" uses full-bleed content; "focused" centres content with a max-width cap.'})],e.Layout.prototype,"variant",void 0),t([Bo(So.below(1024))],e.Layout.prototype,"isSmallViewport",void 0),t([me(".aside")],e.Layout.prototype,"asideElement",void 0),t([me(".toggle-button")],e.Layout.prototype,"toggleButtonElement",void 0),t([Ji({context:Ao})],e.Layout.prototype,"_isAsideExpanded",void 0),e.Layout=t([Ce("quantic-layout")],e.Layout),e.LayoutLogo=class extends fe{render(){return!0===this.expanded?Z`<slot name="expanded"></slot>`:Z`<slot name="collapsed"></slot>`}},e.LayoutLogo.meta={tag:"quantic-layout-logo",description:"Logo area that lives inside the quantic-layout header or sidebar. Automatically switches between expanded and collapsed slots based on the sidebar state consumed from context.",category:"layout",slots:{expanded:{description:"Logo shown when the sidebar is expanded (full wordmark)."},collapsed:{description:"Logo shown when the sidebar is collapsed (icon only)."}}},e.LayoutLogo.styles=l`
|
|
37353
37353
|
:host {
|
|
37354
37354
|
display: contents;
|
|
37355
37355
|
}
|
|
37356
|
-
`,t([
|
|
37356
|
+
`,t([Qi({context:Ao,subscribe:!0})],e.LayoutLogo.prototype,"expanded",void 0),e.LayoutLogo=t([Ce("quantic-layout-logo")],e.LayoutLogo),e.Page=class extends fe{constructor(){super(...arguments),this.fill=!1,this.bleeds=!1}render(){return je`
|
|
37357
37357
|
<main class="main">
|
|
37358
37358
|
<slot></slot>
|
|
37359
37359
|
</main>
|
|
@@ -37385,7 +37385,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37385
37385
|
:host([fill]) .main {
|
|
37386
37386
|
overflow: hidden;
|
|
37387
37387
|
}
|
|
37388
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Constrain the page to the available height and clip overflow, so internal regions own their own scrolling (e.g. splitter panes, full-height grids, maps). Without this, the page grows with its content and the layout body slot scrolls."})],e.Page.prototype,"fill",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Remove the default padding so content extends edge-to-edge. Useful for full-bleed layouts such as maps, images, or custom-padded regions."})],e.Page.prototype,"bleeds",void 0),e.Page=t([Ce("quantic-page")],e.Page);const
|
|
37388
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Constrain the page to the available height and clip overflow, so internal regions own their own scrolling (e.g. splitter panes, full-height grids, maps). Without this, the page grows with its content and the layout body slot scrolls."})],e.Page.prototype,"fill",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Remove the default padding so content extends edge-to-edge. Useful for full-bleed layouts such as maps, images, or custom-padded regions."})],e.Page.prototype,"bleeds",void 0),e.Page=t([Ce("quantic-page")],e.Page);const Po={Top:"top",TopStart:"top-start",TopEnd:"top-end",Bottom:"bottom",BottomStart:"bottom-start",BottomEnd:"bottom-end",Left:"left",LeftStart:"left-start",LeftEnd:"left-end",Right:"right",RightStart:"right-start",RightEnd:"right-end"},jo={Small:"sm",Medium:"md",Large:"lg"};var zo,Ho,To;e.TooltipPopup=class extends fe{constructor(){super(...arguments),this.visible=!1}render(){return Z`
|
|
37389
37389
|
<div class="content"><slot></slot></div>
|
|
37390
37390
|
<div class="arrow"></div>
|
|
37391
37391
|
`}},e.TooltipPopup.meta={tag:"quantic-tooltip-popup",description:"Internal floating content container for quantic-tooltip. Positioned absolutely relative to the trigger via @floating-ui/dom. Not intended for direct use — use quantic-tooltip instead.",category:"feedback",slots:{"":{description:"Tooltip content (managed by quantic-tooltip)."}},relatedTo:["quantic-tooltip"]},e.TooltipPopup.styles=l`
|
|
@@ -37438,7 +37438,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37438
37438
|
background-color: var(--quantic-component-tooltip-background);
|
|
37439
37439
|
transform: rotate(45deg);
|
|
37440
37440
|
}
|
|
37441
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Controls visibility — toggled by the parent quantic-tooltip."})],e.TooltipPopup.prototype,"visible",void 0),t([me(".arrow")],e.TooltipPopup.prototype,"arrowElement",void 0),e.TooltipPopup=t([Ce("quantic-tooltip-popup")],e.TooltipPopup),e.TooltipPopup.ensureDefined(),e.Tooltip=class extends fe{constructor(){super(...arguments),this.placement=
|
|
37441
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Controls visibility — toggled by the parent quantic-tooltip."})],e.TooltipPopup.prototype,"visible",void 0),t([me(".arrow")],e.TooltipPopup.prototype,"arrowElement",void 0),e.TooltipPopup=t([Ce("quantic-tooltip-popup")],e.TooltipPopup),e.TooltipPopup.ensureDefined(),e.Tooltip=class extends fe{constructor(){super(...arguments),this.placement=Po.Top,this.size=jo.Medium,this.showDelay=250,this.hideDelay=0,this.disabled=!1,this.offset=8,this.open=!1,this.tooltipId=Ri("tooltip"),this.contentElements=[],this.handleMouseEnter=()=>{this.disabled||this.open||(this.clearTimeouts(),this.showTimeout=window.setTimeout(()=>this.show(),this.showDelay))},this.handleMouseLeave=()=>{this.disabled||this.open||(this.clearTimeouts(),this.hideTimeout=window.setTimeout(()=>this.hide(),this.hideDelay))},this.handleFocus=()=>{this.disabled||this.open||(this.clearTimeouts(),this.show())},this.handleBlur=()=>{this.disabled||this.open||(this.clearTimeouts(),this.hide())},this.handleEscape=e=>{"Escape"!==e.key||this.open||this.hide()}}firstUpdated(){this.isConnected&&this.initPopup()}connectedCallback(){super.connectedCallback(),this.hasUpdated&&!this.popup&&this.initPopup()}initPopup(){this.popup=document.createElement("quantic-tooltip-popup"),this.movePopupToContainer(),this.open&&this.show()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeouts(),this.cleanup?.(),this.restorePopup()}restorePopup(){this.contentElements.forEach(e=>{e.setAttribute("slot","content"),this.appendChild(e)}),this.contentElements=[],this.popup?.remove(),this.popup=void 0}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}handleSlotChange(){const e=this.triggerElement;e&&e.setAttribute("aria-describedby",this.tooltipId)}clearTimeouts(){this.showTimeout&&clearTimeout(this.showTimeout),this.hideTimeout&&clearTimeout(this.hideTimeout),this.showTimeout=void 0,this.hideTimeout=void 0}async show(){this.popup&&this.triggerElement&&(await this.popup.updateComplete,this.popup.visible=!0,this.popup.id=this.tooltipId,this.popup.setAttribute("role","tooltip"),this.popup.setAttribute("aria-hidden","false"),this.updatePosition(),document.addEventListener("keydown",this.handleEscape))}hide(){this.popup&&(this.cleanup?.(),this.popup.visible=!1,this.popup.setAttribute("aria-hidden","true"),document.removeEventListener("keydown",this.handleEscape))}movePopupToContainer(){if(!this.popup)return;this.copyCustomPropertiesToPopup(),this.contentElements=Array.from(this.children).filter(e=>"content"===e.getAttribute("slot")),this.contentElements.forEach(e=>{e.removeAttribute("slot"),this.popup.appendChild(e)});let e=this.container?document.querySelector(this.container):document.body;e||(console.warn(`Tooltip container "${this.container}" not found, using body`),e=document.body),e.appendChild(this.popup)}copyCustomPropertiesToPopup(){if(!this.popup)return;const e=getComputedStyle(this);for(const t of Array.from(e)){if(!t.startsWith("--quantic"))continue;const i=e.getPropertyValue(t).trim();i&&this.popup.style.setProperty(t,i)}}updatePosition(){if(this.triggerElement&&this.popup&&this.popup.arrowElement){const{arrowElement:e}=this.popup,t=[fi(this.offset),bi(),Ci({padding:8}),Mi({element:e})];this.cleanup=Ii(this.triggerElement,this.popup,async()=>{if(!this.triggerElement||!this.popup||!e)return;const{x:i,y:n,placement:o,middlewareData:s}=await qi(this.triggerElement,this.popup,{placement:this.placement,middleware:t,strategy:"fixed"});if(Object.assign(this.popup.style,{left:`${i}px`,top:`${n}px`}),s.arrow){const{x:t,y:i}=s.arrow,n={top:"bottom",right:"left",bottom:"top",left:"right"}[o.split("-")[0]];Object.assign(e.style,{left:null!=t?`${t}px`:"",top:null!=i?`${i}px`:"",right:"",bottom:"",[n]:"calc(var(--quantic-component-tooltip-arrow-size) / -2)"})}})}}render(){return Z`
|
|
37442
37442
|
<div
|
|
37443
37443
|
class="trigger"
|
|
37444
37444
|
@mouseenter=${this.handleMouseEnter}
|
|
@@ -37482,7 +37482,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37482
37482
|
.trigger {
|
|
37483
37483
|
display: contents;
|
|
37484
37484
|
}
|
|
37485
|
-
`,t([Le({type:"TooltipPlacement",options:Object.values(
|
|
37485
|
+
`,t([Le({type:"TooltipPlacement",options:Object.values(Po),default:Po.Top,description:"Preferred placement of the tooltip relative to the trigger."})],e.Tooltip.prototype,"placement",void 0),t([Le({type:"TooltipSize",options:Object.values(jo),default:jo.Medium,reflect:!0,description:"Controls max-width, padding, and font size of the tooltip popup."})],e.Tooltip.prototype,"size",void 0),t([Le({type:"number",attribute:"show-delay",default:"250",description:"Delay in milliseconds before the tooltip appears."})],e.Tooltip.prototype,"showDelay",void 0),t([Le({type:"number",attribute:"hide-delay",default:"0",description:"Delay in milliseconds before the tooltip hides."})],e.Tooltip.prototype,"hideDelay",void 0),t([Le({type:"boolean",default:"false",description:"Prevents the tooltip from showing."})],e.Tooltip.prototype,"disabled",void 0),t([Le({type:"number",default:"8",description:"Distance in pixels between the trigger and the tooltip popup."})],e.Tooltip.prototype,"offset",void 0),t([Le({type:"boolean",default:"false",description:"Controls tooltip visibility programmatically."})],e.Tooltip.prototype,"open",void 0),t([Le({type:"string",description:"CSS selector of the DOM element to teleport the popup into. Defaults to document.body."})],e.Tooltip.prototype,"container",void 0),t([me("slot:not([name])")],e.Tooltip.prototype,"triggerSlot",void 0),e.Tooltip=t([Ce("quantic-tooltip")],e.Tooltip),e.Tooltip.ensureDefined(),e.SidebarMenuItem=class extends fe{constructor(){super(...arguments),this.selected=!1,this.href="",this.label="",this.variant=bo.Primary}hasIcon(){const e=this.shadowRoot?.querySelector('slot[name="icon"]');return e?.assignedElements().length>0}render(){const e=this.isDesktopViewport&&!1===this.isAsideExpanded,t=Oe({main:!0,"is-selected":this.selected,"is-collapsed":e,[`variant--${this.variant}`]:!0}),i=e?null:Z`<span class="label">${this.label||Z`<slot></slot>`}</span>
|
|
37486
37486
|
<slot name="after"></slot>`,n=this.label||this.textContent?.trim()||"",o=n.charAt(0).toUpperCase(),s=e&&!this.hasIcon()&&o?Z`<span class="icon-fallback">${o}</span>`:Z`<slot name="icon"></slot>`,c=Z` ${s} ${i} `,r=e&&n?n:void 0,l=this.href?Z`<a class=${t} href=${this.href} aria-label=${$e(r)}>${c}</a>`:Z`<button class=${t} aria-label=${$e(r)}>${c}</button>`;return e&&n?Z`<quantic-tooltip placement="right">
|
|
37487
37487
|
${l}
|
|
37488
37488
|
<span slot="content">${n}</span>
|
|
@@ -37604,7 +37604,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37604
37604
|
quantic-tooltip {
|
|
37605
37605
|
display: contents;
|
|
37606
37606
|
}
|
|
37607
|
-
`,t([
|
|
37607
|
+
`,t([Qi({context:Ao,subscribe:!0})],e.SidebarMenuItem.prototype,"isAsideExpanded",void 0),t([Bo(So.above(1024))],e.SidebarMenuItem.prototype,"isDesktopViewport",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Highlights the item as the currently active route."})],e.SidebarMenuItem.prototype,"selected",void 0),t([Le({type:"string",default:"",description:"URL to navigate to. When set the element renders as an <a> tag."})],e.SidebarMenuItem.prototype,"href",void 0),t([Le({type:"string",default:"",description:"Text label shown next to the icon."})],e.SidebarMenuItem.prototype,"label",void 0),t([Le({type:"SidebarMenuItemVariant",options:Object.values(bo),default:bo.Primary,description:'Visual style. "primary" is the default; "secondary" uses smaller font and muted colour.'})],e.SidebarMenuItem.prototype,"variant",void 0),e.SidebarMenuItem=t([Ce("quantic-sidebar-menu-item")],e.SidebarMenuItem),e.SidebarMenuItem.ensureDefined(),e.LucideIconPanelLeftClose.ensureDefined(),e.LucideIconPanelLeft.ensureDefined(),e.Sidebar=class extends(Me(fe)){constructor(){super(...arguments),this.ariaLabel="Sidebar navigation",this.collapsible=!1,this.handleToggle=()=>{this.dispatchEvent(new CustomEvent("expanded-changed",{detail:{expanded:!this.isAsideExpanded},bubbles:!0,composed:!0}))}}render(){return je`
|
|
37608
37608
|
<nav
|
|
37609
37609
|
class=${Oe({main:!0,"is-aside-expanded":!1!==this.isAsideExpanded})}
|
|
37610
37610
|
role="navigation"
|
|
@@ -37629,7 +37629,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37629
37629
|
@click=${this.handleToggle}
|
|
37630
37630
|
title=${this.isAsideExpanded?"Collapse sidebar":"Expand sidebar"}
|
|
37631
37631
|
label=${this.isAsideExpanded?"Collapse":"Expand sidebar"}
|
|
37632
|
-
variant=${
|
|
37632
|
+
variant=${bo.Secondary}
|
|
37633
37633
|
>
|
|
37634
37634
|
${this.isAsideExpanded?je`<quantic-icon-lucide-panel-left-close
|
|
37635
37635
|
slot="icon"
|
|
@@ -37724,7 +37724,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37724
37724
|
[hidden] {
|
|
37725
37725
|
display: none;
|
|
37726
37726
|
}
|
|
37727
|
-
`,t([
|
|
37727
|
+
`,t([Qi({context:Ao,subscribe:!0})],e.Sidebar.prototype,"isAsideExpanded",void 0),t([Le({type:"string",default:"Sidebar navigation",description:"Accessible label for the nav landmark."})],e.Sidebar.prototype,"ariaLabel",void 0),t([Le({type:"boolean",default:"false",attribute:"collapsible",description:"When true, shows a toggle button at the bottom of the sidebar on desktop viewports."})],e.Sidebar.prototype,"collapsible",void 0),t([Bo(So.above(1024))],e.Sidebar.prototype,"isDesktopViewport",void 0),e.Sidebar=t([Ce("quantic-sidebar")],e.Sidebar),e.SidebarMenuItemGroup=class extends fe{constructor(){super(...arguments),this.label=""}render(){const e=this.label&&!1!==this.expanded;return Z`
|
|
37728
37728
|
${e?Z`<div class="label">${this.label}</div>`:""}
|
|
37729
37729
|
<div class="items">
|
|
37730
37730
|
<slot></slot>
|
|
@@ -37754,7 +37754,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
37754
37754
|
flex-direction: column;
|
|
37755
37755
|
gap: var(--quantic-spacing-1);
|
|
37756
37756
|
}
|
|
37757
|
-
`,t([
|
|
37757
|
+
`,t([Qi({context:Ao,subscribe:!0})],e.SidebarMenuItemGroup.prototype,"expanded",void 0),t([Le({type:"string",default:"",description:"Section label displayed above the group items."})],e.SidebarMenuItemGroup.prototype,"label",void 0),e.SidebarMenuItemGroup=t([Ce("quantic-sidebar-menu-item-group")],e.SidebarMenuItemGroup),e.OptionCardVariant=void 0,(zo=e.OptionCardVariant||(e.OptionCardVariant={})).Ghost="ghost",zo.Solid="solid",e.OptionCardType=void 0,(Ho=e.OptionCardType||(e.OptionCardType={})).Single="single",Ho.Multiple="multiple",e.OptionCardSize=void 0,(To=e.OptionCardSize||(e.OptionCardSize={})).Small="sm",To.Medium="md",To.Large="lg";const Do="option-card-group.context";e.OptionCard=class extends(Me(fe)){constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.name="",this.variant=e.OptionCardVariant.Ghost,this.size=e.OptionCardSize.Medium,this.defaultChecked=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked")}get computedDisabled(){return this.disabled||this.groupContext?.disabled||!1}get computedInvalid(){return this.invalid||this.groupContext?.invalid||!1}get inputType(){return this.groupContext?.type===e.OptionCardType.Multiple?"checkbox":"radio"}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}updated(e){if(super.updated(e),e.has("checked")&&void 0!==this.value){const e="checkbox"===this.inputType?this.checked?"on":null:this.checked?this.value:null;this.internals.setFormValue(e);const t=this.renderRoot.querySelector("input");t&&(t.checked=this.checked)}e.has("value")&&this.dispatchEvent(new CustomEvent("property-updated",{detail:{value:this.value},bubbles:!0,composed:!0}))}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked,value:this.value},bubbles:!0,composed:!0}))}formResetCallback(){const e=this.renderRoot.querySelector("input");this.checked=this.defaultChecked;const t="checkbox"===this.inputType?this.defaultChecked?"on":null:this.defaultChecked?this.value:null;void 0!==t&&this.internals.setFormValue(t),e&&(e.checked=this.defaultChecked)}formStateRestoreCallback(e){"checkbox"===this.inputType?this.checked="on"===e:this.checked=e===this.value,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}render(){const e=Oe({label:!0,[`size--${this.size}`]:!0,[`variant--${this.variant}`]:!0,checked:this.checked,disabled:this.computedDisabled,invalid:this.computedInvalid}),t="radio"===this.inputType,i="input";return Z`
|
|
37758
37758
|
<input
|
|
37759
37759
|
id=${i}
|
|
37760
37760
|
type=${this.inputType}
|
|
@@ -38075,7 +38075,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38075
38075
|
[hidden] {
|
|
38076
38076
|
display: none;
|
|
38077
38077
|
}
|
|
38078
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the card is currently selected."})],e.OptionCard.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the card as required for form validation."})],e.OptionCard.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.OptionCard.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.OptionCard.prototype,"invalid",void 0),t([Le({type:"string",reflect:!0,description:"Form value submitted when this card is selected."})],e.OptionCard.prototype,"value",void 0),t([Le({type:"string",description:"Name attribute passed to the underlying input for form association."})],e.OptionCard.prototype,"name",void 0),t([Le({type:"OptionCardVariant",options:Object.values(e.OptionCardVariant),default:e.OptionCardVariant.Ghost,description:"Visual style of the card."})],e.OptionCard.prototype,"variant",void 0),t([Le({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Controls padding and font size."})],e.OptionCard.prototype,"size",void 0),t([
|
|
38078
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the card is currently selected."})],e.OptionCard.prototype,"checked",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the card as required for form validation."})],e.OptionCard.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.OptionCard.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.OptionCard.prototype,"invalid",void 0),t([Le({type:"string",reflect:!0,description:"Form value submitted when this card is selected."})],e.OptionCard.prototype,"value",void 0),t([Le({type:"string",description:"Name attribute passed to the underlying input for form association."})],e.OptionCard.prototype,"name",void 0),t([Le({type:"OptionCardVariant",options:Object.values(e.OptionCardVariant),default:e.OptionCardVariant.Ghost,description:"Visual style of the card."})],e.OptionCard.prototype,"variant",void 0),t([Le({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Controls padding and font size."})],e.OptionCard.prototype,"size",void 0),t([Qi({context:Do,subscribe:!0})],e.OptionCard.prototype,"groupContext",void 0),e.OptionCard=t([Ie("value-changed",{description:"Fired whenever the card's selection state changes.",detail:"{ checked: boolean, value: string }"}),Ie("input",{forwarded:!0}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ce("quantic-option-card")],e.OptionCard),e.Grid.ensureDefined(),e.OptionCardGroup=class extends(Si(fe)){constructor(){super(),this.name="",this.values=[],this.disabled=!1,this.required=!1,this.invalid=!1,this.type=e.OptionCardType.Single,this.density=e.GridDensity.Comfortable,this.size=e.OptionCardSize.Medium,this.groupContext={type:this.type,disabled:this.disabled,invalid:this.invalid},this.internals=this.attachInternals(),this.handleValueChanged=this.handleValueChanged.bind(this),this.handleCardPropertyUpdated=this.handleCardPropertyUpdated.bind(this)}connectedCallback(){super.connectedCallback(),this.addEventListener("value-changed",this.handleValueChanged),this.addEventListener("property-updated",this.handleCardPropertyUpdated)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("value-changed",this.handleValueChanged),this.removeEventListener("property-updated",this.handleCardPropertyUpdated)}handleValueChanged(t){const i=t,n=i.target;if(n&&"quantic-option-card"===n.tagName.toLowerCase())if(t.stopPropagation(),this.type===e.OptionCardType.Single){if(!i.detail?.checked)return;this.value=n.value,this.uncheckOthers(n),this.internals.setFormValue(this.value||null),this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:this.value},bubbles:!0,composed:!0}))}else{const e=i.detail?.checked,t=n.value;e?void 0===t||this.values.includes(t)||(this.values=[...this.values,t]):this.values=this.values.filter(e=>e!==t);const o=this.values.length>0?this.values.join(","):null;this.internals.setFormValue(o),this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:this.values},bubbles:!0,composed:!0}))}}handleCardPropertyUpdated(t){const i=t.target;i&&"quantic-option-card"===i.tagName.toLowerCase()&&(t.stopPropagation(),this.type===e.OptionCardType.Single?this.syncSingleSelection():this.syncMultipleSelection())}uncheckOthers(e){this.querySelectorAll("quantic-option-card").forEach(t=>{t!==e&&t.checked&&(t.checked=!1)})}updated(t){if(super.updated(t),(t.has("type")||t.has("disabled")||t.has("invalid"))&&(this.groupContext={type:this.type,disabled:this.disabled,invalid:this.invalid}),(t.has("name")||t.has("size")||t.has("disabled")||t.has("required"))&&this.syncCardProperties(),t.has("value")&&this.type===e.OptionCardType.Single&&(this.syncSingleSelection(),this.internals.setFormValue(this.value||null)),t.has("values")&&this.type===e.OptionCardType.Multiple){this.syncMultipleSelection();const e=this.values.length>0?this.values.join(","):null;this.internals.setFormValue(e)}}syncCardProperties(){this.querySelectorAll("quantic-option-card").forEach(e=>{e.name=this.name,e.size=this.size,e.disabled=this.disabled,e.required=this.required})}syncSingleSelection(){this.querySelectorAll("quantic-option-card").forEach(e=>{e.checked=void 0!==e.value&&e.value===this.value})}syncMultipleSelection(){this.querySelectorAll("quantic-option-card").forEach(e=>{e.checked=void 0!==e.value&&this.values.includes(e.value)})}firstUpdated(){this.syncCardProperties(),this.type===e.OptionCardType.Single?this.syncSingleSelection():this.syncMultipleSelection()}formResetCallback(){this.type===e.OptionCardType.Single?(this.value=void 0,this.internals.setFormValue(null),this.syncSingleSelection()):(this.values=[],this.internals.setFormValue(null),this.syncMultipleSelection())}formStateRestoreCallback(t){this.type===e.OptionCardType.Single?(this.value=t??void 0,this.internals.setFormValue(t),this.syncSingleSelection()):(this.values=t?t.split(","):[],this.internals.setFormValue(t),this.syncMultipleSelection())}formDisabledCallback(e){this.disabled=e}render(){const t=this.getA11yAttributes({invalid:this.invalid}),i=this.type===e.OptionCardType.Single?"radiogroup":"group";return Z`<div
|
|
38079
38079
|
class="option-card-group"
|
|
38080
38080
|
role=${i}
|
|
38081
38081
|
aria-label=${t.label}
|
|
@@ -38093,7 +38093,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38093
38093
|
.option-card-group {
|
|
38094
38094
|
display: contents;
|
|
38095
38095
|
}
|
|
38096
|
-
`,t([Le({type:"string",description:"Shared name attribute propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"name",void 0),t([Le({type:"string",reflect:!0,description:"Currently selected value (single-select mode)."})],e.OptionCardGroup.prototype,"value",void 0),t([Le({type:"string[]",default:"[]",description:"Selected values in multiple-select mode."})],e.OptionCardGroup.prototype,"values",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction on all cards."})],e.OptionCardGroup.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required for form validation."})],e.OptionCardGroup.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling to all cards."})],e.OptionCardGroup.prototype,"invalid",void 0),t([Le({type:"OptionCardType",options:Object.values(e.OptionCardType),default:e.OptionCardType.Single,description:'Selection mode: "single" for radio behaviour, "multiple" for checkbox behaviour.'})],e.OptionCardGroup.prototype,"type",void 0),t([Le({type:"GridDensity",description:"Column density of the card grid layout."})],e.OptionCardGroup.prototype,"density",void 0),t([Le({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Size propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"size",void 0),t([
|
|
38096
|
+
`,t([Le({type:"string",description:"Shared name attribute propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"name",void 0),t([Le({type:"string",reflect:!0,description:"Currently selected value (single-select mode)."})],e.OptionCardGroup.prototype,"value",void 0),t([Le({type:"string[]",default:"[]",description:"Selected values in multiple-select mode."})],e.OptionCardGroup.prototype,"values",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction on all cards."})],e.OptionCardGroup.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required for form validation."})],e.OptionCardGroup.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling to all cards."})],e.OptionCardGroup.prototype,"invalid",void 0),t([Le({type:"OptionCardType",options:Object.values(e.OptionCardType),default:e.OptionCardType.Single,description:'Selection mode: "single" for radio behaviour, "multiple" for checkbox behaviour.'})],e.OptionCardGroup.prototype,"type",void 0),t([Le({type:"GridDensity",description:"Column density of the card grid layout."})],e.OptionCardGroup.prototype,"density",void 0),t([Le({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Size propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"size",void 0),t([Ji({context:Do})],e.OptionCardGroup.prototype,"groupContext",void 0),e.OptionCardGroup=t([Ie("value-changed",{description:"Fired whenever the selected card(s) change.",detail:"{ value: string | string[] }"}),Ce("quantic-option-card-group")],e.OptionCardGroup);const Vo={Small:"sm",Medium:"md",Large:"lg"},Fo=(e,t)=>t>=e?Array.from({length:t-e+1},(t,i)=>e+i):[];var Ro,Oo;e.LucideIconArrowLeft.ensureDefined(),e.LucideIconArrowRight.ensureDefined(),e.ButtonGroup.ensureDefined(),e.ButtonGroupItem.ensureDefined(),e.Pagination=class extends fe{constructor(){super(...arguments),this.size=Vo.Medium,this.currentPage=1,this.totalPages=1,this.maxDisplayedPages=5}_handlePageChange(e){e<1||e>this.totalPages||e===this.currentPage||this.dispatchEvent(new CustomEvent("page-change",{detail:{page:e},bubbles:!0,composed:!0}))}_handlePrevious(){this._handlePageChange(this.currentPage-1)}_handleNext(){this._handlePageChange(this.currentPage+1)}render(){const e=this.currentPage<=1,t=this.currentPage>=this.totalPages,i=((e,t,i)=>{if(t<=i)return Fo(1,t);const n=i-2,o=Math.max(Math.floor(n/2),0),s=Math.max(e-o,2),c=Math.min(e+o,t-1),r=c-s+1,[l,a]=r>=n?[s,c]:2===s?[s,Math.min(s+n-1,t-1)]:[Math.max(c-n+1,2),c];return[1,...l>2?["ellipsis"]:[],...Fo(l,a),...a<t-1?["ellipsis"]:[],t]})(this.currentPage,this.totalPages,this.maxDisplayedPages);return Z`
|
|
38097
38097
|
<nav role="navigation" aria-label="Pagination">
|
|
38098
38098
|
<quantic-button-group size=${this.size}>
|
|
38099
38099
|
<quantic-button-group-item
|
|
@@ -38138,7 +38138,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38138
38138
|
.icon {
|
|
38139
38139
|
color: var(--quantic-text-secondary);
|
|
38140
38140
|
}
|
|
38141
|
-
`,t([
|
|
38141
|
+
`,t([Ji({context:en}),Le({type:"PaginationSize",options:Object.values(Vo),default:Vo.Medium,reflect:!0,description:"Controls the size of the pagination buttons."})],e.Pagination.prototype,"size",void 0),t([Le({type:"number",default:"1",reflect:!0,attribute:"current-page",description:"Currently active page (1-indexed)."})],e.Pagination.prototype,"currentPage",void 0),t([Le({type:"number",default:"1",reflect:!0,attribute:"total-pages",description:"Total number of pages."})],e.Pagination.prototype,"totalPages",void 0),t([Le({type:"number",default:"5",reflect:!0,attribute:"max-displayed-pages",description:"Maximum number of page buttons to display before collapsing with ellipsis."})],e.Pagination.prototype,"maxDisplayedPages",void 0),e.Pagination=t([Ie("page-change",{description:"Emitted when the current page changes.",detail:"{ page: number }"}),Ce("quantic-pagination")],e.Pagination),e.PanelVariant=void 0,(Ro=e.PanelVariant||(e.PanelVariant={})).Solid="solid",Ro.Outline="outline",Ro.Ghost="ghost",e.PanelHeaderSize=void 0,(Oo=e.PanelHeaderSize||(e.PanelHeaderSize={})).Small="sm",Oo.Medium="md",Oo.Large="lg",e.Panel=class extends(Me(fe)){constructor(){super(...arguments),this.variant=e.PanelVariant.Outline,this.highlighted=!1}render(){const e=Oe({main:!0,[`variant--${this.variant}`]:!0,highlighted:this.highlighted});return je`
|
|
38142
38142
|
<div class=${e}>
|
|
38143
38143
|
<slot
|
|
38144
38144
|
name="header"
|
|
@@ -38303,7 +38303,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38303
38303
|
flex-direction: column;
|
|
38304
38304
|
gap: var(--quantic-spacing-6);
|
|
38305
38305
|
}
|
|
38306
|
-
`,e.PanelGroup=t([Ce("quantic-panel-group")],e.PanelGroup);const
|
|
38306
|
+
`,e.PanelGroup=t([Ce("quantic-panel-group")],e.PanelGroup);const $o={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},_o=Bi;e.Progress=class extends fe{constructor(){super(...arguments),this.size=$o.Small,this.label=!1,this.color=_o.Brand,this.ariaLabel=null,this.description=null}get indeterminate(){return void 0===this.value}get clamped(){if(!this.indeterminate)return Vi(this.value,0,100)}updated(e){super.updated(e),e.has("value")&&!this.indeterminate&&this.style.setProperty("--quantic-component-progress-value",`${this.clamped}%`)}render(){const{clamped:e,indeterminate:t}=this;return Z`
|
|
38307
38307
|
<div
|
|
38308
38308
|
class=${Oe({main:!0,[`size--${this.size}`]:!0})}
|
|
38309
38309
|
>
|
|
@@ -38420,7 +38420,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38420
38420
|
width: 100%;
|
|
38421
38421
|
}
|
|
38422
38422
|
}
|
|
38423
|
-
`,t([Le({type:"number",description:"Current progress value (0–100). Omit for indeterminate mode."})],e.Progress.prototype,"value",void 0),t([Le({type:"ProgressSize",options:Object.values(
|
|
38423
|
+
`,t([Le({type:"number",description:"Current progress value (0–100). Omit for indeterminate mode."})],e.Progress.prototype,"value",void 0),t([Le({type:"ProgressSize",options:Object.values($o),default:$o.Small,description:"Controls the bar height and label font size."})],e.Progress.prototype,"size",void 0),t([Le({type:"boolean",default:"false",description:"Shows a percentage label next to the bar (only in determinate mode)."})],e.Progress.prototype,"label",void 0),t([Le({type:"ProgressColor",options:Object.values(_o),default:_o.Brand,description:"Fill color of the progress bar."})],e.Progress.prototype,"color",void 0),t([Le({attribute:"aria-label",type:"string",description:"Accessible label for the progressbar role."})],e.Progress.prototype,"ariaLabel",void 0),t([Le({type:"string",description:"Accessible description forwarded to aria-description."})],e.Progress.prototype,"description",void 0),e.Progress=t([Ce("quantic-progress")],e.Progress);const Eo=Bi,Uo={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg",ExtraLarge:"xl"};e.Spinner=class extends fe{constructor(){super(...arguments),this.size=Uo.Medium,this.label="Loading"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","status")}render(){return Z`
|
|
38424
38424
|
<div
|
|
38425
38425
|
class=${Oe({sizer:!0,[`size--${this.size}`]:!0,[`color--${this.color}`]:!!this.color})}
|
|
38426
38426
|
aria-hidden="true"
|
|
@@ -38518,14 +38518,14 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38518
38518
|
transform: rotate(360deg);
|
|
38519
38519
|
}
|
|
38520
38520
|
}
|
|
38521
|
-
`,t([Le({type:"SpinnerSize",options:Object.values(
|
|
38521
|
+
`,t([Le({type:"SpinnerSize",options:Object.values(Uo),default:Uo.Medium,description:"Diameter of the spinner ring."})],e.Spinner.prototype,"size",void 0),t([Le({type:"SpinnerColor",options:Object.values(Eo),description:"Overrides the ring color. Defaults to currentColor."})],e.Spinner.prototype,"color",void 0),t([Le({type:"string",default:"Loading",description:"Visually hidden text announced by screen readers."})],e.Spinner.prototype,"label",void 0),e.Spinner=t([Ce("quantic-spinner")],e.Spinner);const Zo={Line:"line",Gradient:"gradient",Filled:"filled"};const Go=Bi;function No(e){const t=Number.isFinite(e.minSize)?e.minSize:0,i=Number.isFinite(e.maxSize)?e.maxSize:100,n=Vi(t,0,100),o=Vi(i,0,100);return{min:Math.min(n,o),max:Math.max(n,o)}}function Wo(e,t){return t.reduce((t,i,n)=>i.collapsed?t:t+e[n],0)}function Xo(e,t,i){const{a:n,b:o,total:s}=i,c=Math.max(n.min,s-o.max),r=Math.min(n.max,s-o.min),l=Vi(e+t,Math.min(c,r),Math.max(c,r));return[l,s-l]}function Ko(e,t){return e*t/100}function Jo(e,t){if(e.length!==t.length)return e;const i=Wo(e,t);return 0===i?e.map(()=>0):e.map((e,n)=>t[n]?.collapsed?0:e/i*100)}e.Sparkline=class extends fe{constructor(){super(...arguments),this.values=[],this.variant=Zo.Line,this.color=Go.Brand}get points(){return function(e,t,i){if(e.length<2)return"";const n=t??Math.min(...e),o=i??Math.max(...e);return e.map((t,i)=>function(e,t,i,n,o){return`${t/(i-1)*100},${n===o?20:40*(1-(e-n)/(o-n))}`}(t,i,e.length,n,o)).join(" ")}(this.values,this.yMin,this.yMax)}render(){const e=this.values.length>=2?this.points:null;return Z`
|
|
38522
38522
|
<svg
|
|
38523
38523
|
class=${Oe({[`color--${this.color}`]:!0})}
|
|
38524
38524
|
viewBox="0 0 100 40"
|
|
38525
38525
|
preserveAspectRatio="none"
|
|
38526
38526
|
aria-hidden="true"
|
|
38527
38527
|
>
|
|
38528
|
-
${e?this.variant===
|
|
38528
|
+
${e?this.variant===Zo.Gradient?G`
|
|
38529
38529
|
<defs>
|
|
38530
38530
|
<linearGradient id="sg" x1="0" y1="0" x2="0" y2="1.5">
|
|
38531
38531
|
<stop offset="0%"></stop>
|
|
@@ -38533,7 +38533,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38533
38533
|
</linearGradient>
|
|
38534
38534
|
</defs>
|
|
38535
38535
|
<polygon points="${e} 100,40 0,40" fill="url(#sg)"></polygon>
|
|
38536
|
-
`:this.variant===
|
|
38536
|
+
`:this.variant===Zo.Filled?G`<polygon class="fill" points="${e} 100,40 0,40"></polygon>`:W:W}
|
|
38537
38537
|
${e?G`<polyline points="${e}"></polyline>`:W}
|
|
38538
38538
|
</svg>
|
|
38539
38539
|
`}},e.Sparkline.meta={tag:"quantic-sparkline",description:"Compact inline chart (line, filled, or gradient) for showing trends without axes or labels. Purely visual — provide an accessible label via the parent context.",category:"display"},e.Sparkline.styles=l`
|
|
@@ -38588,7 +38588,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38588
38588
|
}
|
|
38589
38589
|
|
|
38590
38590
|
${r(Fi(e=>`--quantic-component-sparkline-color: var(--quantic-utility-${e}-500);`))}
|
|
38591
|
-
`,t([Le({type:"number[]",default:"[]",description:"Array of numeric data points to chart."})],e.Sparkline.prototype,"values",void 0),t([Le({type:"SparklineVariant",options:Object.values(
|
|
38591
|
+
`,t([Le({type:"number[]",default:"[]",description:"Array of numeric data points to chart."})],e.Sparkline.prototype,"values",void 0),t([Le({type:"SparklineVariant",options:Object.values(Zo),default:Zo.Line,description:"Chart style — line, filled area, or gradient fill."})],e.Sparkline.prototype,"variant",void 0),t([Le({type:"SparklineColor",options:Object.values(Go),default:Go.Brand,description:"Stroke and fill color."})],e.Sparkline.prototype,"color",void 0),t([Le({type:"number",description:"Override the minimum Y value used for scaling. Defaults to the data minimum."})],e.Sparkline.prototype,"yMin",void 0),t([Le({type:"number",description:"Override the maximum Y value used for scaling. Defaults to the data maximum."})],e.Sparkline.prototype,"yMax",void 0),e.Sparkline=t([Ce("quantic-sparkline")],e.Sparkline);const Qo={percent:0,flex:1};function Yo(e,t){if(0===t)return[];const i=e.trim().split(/\s+/).filter(Boolean),n=Array.from({length:t},(e,t)=>t<i.length?(e=>{if(e.endsWith("%")){const t=parseFloat(e);return{percent:isNaN(t)||t<0?0:t,flex:0}}const t="*"===e?1:parseFloat(e);return{percent:0,flex:isNaN(t)||t<=0?1:t}})(i[t]):Qo),o=n.reduce((e,{percent:t})=>e+t,0),s=n.reduce((e,{flex:t})=>e+t,0),c=Math.max(0,100-o),r=n.map(({percent:e,flex:t})=>0===t?e:s>0?t/s*c:0),l=r.reduce((e,t)=>e+t,0);return l>0?r.map(e=>e/l*100):Array(t).fill(100/t)}var es,ts,is,ns;e.SplitterGroup=class extends fe{constructor(){super(...arguments),this.direction="horizontal",this.resizable=!1,this.split="",this.collapseBelow="640px",this.panes=[],this.sizes=[],this.mutationObserver=null,this.collapsedObserver=null,this.resizeObserver=null,this.dragInfo=null,this.handlePointerMove=e=>{if(!this.dragInfo)return;const t="vertical"===this.direction?this.wrapper.clientHeight:this.wrapper.clientWidth;if(0===t)return;const{dividerIndex:i,startX:n,startY:o,startLayoutA:s,startLayoutB:c}=this.dragInfo,r=this.panes[i-1],l=this.panes[i],a=("vertical"===this.direction?e.clientY-o:e.clientX-n)/t*100,[d,u]=Xo(s,a,{a:No(r),b:No(l),total:s+c}),h=[...this.sizes];h[i-1]=Ko(d,this.dragInfo.activeSizesSum),h[i]=Ko(u,this.dragInfo.activeSizesSum),this.sizes=h,this.applySizes()},this.handlePointerUp=()=>{this.dragInfo&&(this.renderRoot.querySelectorAll(".divider.dragging").forEach(e=>{e.classList.remove("dragging")}),this.removeEventListener("pointermove",this.handlePointerMove),this.removeEventListener("pointerup",this.handlePointerUp),this.removeEventListener("pointercancel",this.handlePointerUp),this.dragInfo=null,this.dispatchEvent(new CustomEvent("resize",{bubbles:!0,composed:!0,detail:{sizes:this.sizes}})))}}connectedCallback(){super.connectedCallback(),this.discoverPanes(),this.mutationObserver=new MutationObserver(()=>this.discoverPanes()),this.mutationObserver.observe(this,{childList:!0})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.collapsedObserver?.disconnect(),this.resizeObserver?.disconnect(),this.dragInfo&&(this.removeEventListener("pointermove",this.handlePointerMove),this.removeEventListener("pointerup",this.handlePointerUp),this.removeEventListener("pointercancel",this.handlePointerUp),this.dragInfo=null)}firstUpdated(){this.setupResizeObserver()}updated(e){super.updated(e),e.has("split")&&(this.sizes=Yo(this.split,this.panes.length),this.applySizes()),e.has("collapseBelow")&&this.checkStacked()}discoverPanes(){const e=Array.from(this.querySelectorAll(":scope > quantic-splitter-pane"));e.forEach((e,t)=>{const i=`pane-${t}`;e.getAttribute("slot")!==i&&e.setAttribute("slot",i)}),this.panes.forEach(t=>{e.includes(t)||(t.removeAttribute("slot"),t.removeAttribute("stacked"))});const t=this.panes.length;this.panes=e,e.length!==t&&(this.sizes=Yo(this.split,e.length)),this.setupCollapsedObserver(),this.applySizes()}setupCollapsedObserver(){this.collapsedObserver?.disconnect(),0!==this.panes.length&&(this.collapsedObserver=new MutationObserver(()=>{this.panes=[...this.panes],this.applySizes()}),this.panes.forEach(e=>{this.collapsedObserver.observe(e,{attributes:!0,attributeFilter:["collapsed"]})}))}setupResizeObserver(){this.wrapper&&(this.resizeObserver=new ResizeObserver(e=>{const t=e[0];t&&this.checkStackedForSize(t.contentRect.width)}),this.resizeObserver.observe(this.wrapper))}checkStacked(){this.wrapper&&this.checkStackedForSize(this.wrapper.clientWidth)}checkStackedForSize(e){if("vertical"===this.direction)return;const t=(this.collapseBelow??"").trim();if(!t.endsWith("px"))return;const i=parseFloat(t);if(!Number.isFinite(i))return;const n=e<=i;this.toggleAttribute("stacked",n),this.panes.forEach(e=>e.toggleAttribute("stacked",n))}applySizes(){const e=Jo(this.sizes,this.panes);this.panes.forEach((t,i)=>{t.style.setProperty("--quantic-component-splitter-pane-flex-grow",String(e[i]))}),this.renderRoot.querySelectorAll('[part="divider"]').forEach((t,i)=>{t.setAttribute("aria-valuenow",String(Math.round(e[i])))})}dividerEffectiveBounds(e,t){const i=No(this.panes[e-1]),n=No(this.panes[e]),o=t[e-1]+t[e];return{min:Math.max(i.min,o-n.max),max:Math.min(i.max,o-n.min)}}isDividerDisabled(e){return!this.resizable||(this.panes[e-1]?.collapsed??!1)||(this.panes[e]?.collapsed??!1)}isDividerHidden(e){return(this.panes[e-1]?.hasAttribute("collapsed")??!1)||(this.panes[e]?.hasAttribute("collapsed")??!1)}handleDividerPointerDown(e,t){e.preventDefault();const i=e.currentTarget;i.setPointerCapture(e.pointerId),i.classList.add("dragging");const n=Jo(this.sizes,this.panes),o=Wo(this.sizes,this.panes);this.dragInfo={dividerIndex:t,startX:e.clientX,startY:e.clientY,startLayoutA:n[t-1],startLayoutB:n[t],activeSizesSum:o},this.addEventListener("pointermove",this.handlePointerMove),this.addEventListener("pointerup",this.handlePointerUp),this.addEventListener("pointercancel",this.handlePointerUp)}handleDividerKeyDown(e,t){const i=function(e,t){if(t){if("ArrowUp"===e)return-1;if("ArrowDown"===e)return 1}else{if("ArrowLeft"===e)return-1;if("ArrowRight"===e)return 1}return null}(e.key,"vertical"===this.direction);if(null===i)return;e.preventDefault();const n=Jo(this.sizes,this.panes),[o,s]=Xo(n[t-1],i,{a:No(this.panes[t-1]),b:No(this.panes[t]),total:n[t-1]+n[t]}),c=Wo(this.sizes,this.panes),r=[...this.sizes];r[t-1]=Ko(o,c),r[t]=Ko(s,c),this.sizes=r,this.applySizes(),this.dispatchEvent(new CustomEvent("resize",{bubbles:!0,composed:!0,detail:{sizes:this.sizes}}))}render(){const e=Jo(this.sizes,this.panes);return Z`
|
|
38592
38592
|
<div
|
|
38593
38593
|
class=${Oe({wrapper:!0,"direction--horizontal":"horizontal"===this.direction,"direction--vertical":"vertical"===this.direction})}
|
|
38594
38594
|
>
|
|
@@ -38731,7 +38731,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38731
38731
|
:host([variant='solid']) {
|
|
38732
38732
|
background: var(--quantic-bg-secondary);
|
|
38733
38733
|
}
|
|
38734
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Collapses the pane to zero size, hiding its content."})],e.SplitterPane.prototype,"collapsed",void 0),t([Le({type:"number",default:"10",attribute:"min-size",description:"Minimum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"minSize",void 0),t([Le({type:"number",default:"90",attribute:"max-size",description:"Maximum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"maxSize",void 0),t([Le({type:'"default" | "solid"',default:"default",reflect:!0,description:'Visual style — "solid" applies a secondary background color.'})],e.SplitterPane.prototype,"variant",void 0),e.SplitterPane=t([Ce("quantic-splitter-pane")],e.SplitterPane),e.TableVariant=void 0,(
|
|
38734
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Collapses the pane to zero size, hiding its content."})],e.SplitterPane.prototype,"collapsed",void 0),t([Le({type:"number",default:"10",attribute:"min-size",description:"Minimum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"minSize",void 0),t([Le({type:"number",default:"90",attribute:"max-size",description:"Maximum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"maxSize",void 0),t([Le({type:'"default" | "solid"',default:"default",reflect:!0,description:'Visual style — "solid" applies a secondary background color.'})],e.SplitterPane.prototype,"variant",void 0),e.SplitterPane=t([Ce("quantic-splitter-pane")],e.SplitterPane),e.TableVariant=void 0,(es=e.TableVariant||(e.TableVariant={})).Outline="outline",es.Minimal="minimal",es.Striped="striped",e.TableSize=void 0,(ts=e.TableSize||(e.TableSize={})).ExtraSmall="xs",ts.Small="sm",ts.Medium="md",ts.Large="lg",e.SortDirection=void 0,(is=e.SortDirection||(e.SortDirection={})).Ascending="asc",is.Descending="desc",is.None="none",e.CellAlign=void 0,(ns=e.CellAlign||(e.CellAlign={})).Left="left",ns.Center="center",ns.Right="right";const os="table.variant";e.Table=class extends(Me(fe)){constructor(){super(...arguments),this.size=e.TableSize.Medium,this.variant=e.TableVariant.Outline,this.dense=!1,this.ariaLabel=null}render(){return Z`
|
|
38735
38735
|
<slot
|
|
38736
38736
|
name="toolbar"
|
|
38737
38737
|
class="toolbar"
|
|
@@ -38831,7 +38831,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38831
38831
|
[hidden] {
|
|
38832
38832
|
display: none;
|
|
38833
38833
|
}
|
|
38834
|
-
`,t([Le({type:"TableSize",options:Object.values(e.TableSize),default:e.TableSize.Medium,reflect:!0,description:"Controls cell padding and font size."})],e.Table.prototype,"size",void 0),t([
|
|
38834
|
+
`,t([Le({type:"TableSize",options:Object.values(e.TableSize),default:e.TableSize.Medium,reflect:!0,description:"Controls cell padding and font size."})],e.Table.prototype,"size",void 0),t([Ji({context:os}),Le({type:"TableVariant",options:Object.values(e.TableVariant),default:e.TableVariant.Outline,reflect:!0,description:'Visual style. "outline" adds row borders; "striped" alternates row backgrounds; "minimal" removes borders.'})],e.Table.prototype,"variant",void 0),t([Le({type:"boolean",default:"false",description:"Reduces cell padding for compact display."})],e.Table.prototype,"dense",void 0),t([Le({type:"string",attribute:"aria-label",description:"Accessible label for the table."})],e.Table.prototype,"ariaLabel",void 0),t([Le({type:"string",attribute:"aria-labelledby",description:"ID of an element that labels the table."})],e.Table.prototype,"ariaLabelledby",void 0),e.Table=t([Ce("quantic-table")],e.Table),e.TableControls=class extends fe{constructor(){super(...arguments),this.ariaLabel=null}render(){return Z`
|
|
38835
38835
|
<div class="start">
|
|
38836
38836
|
<slot></slot>
|
|
38837
38837
|
</div>
|
|
@@ -38967,7 +38967,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38967
38967
|
:host(:nth-child(odd).variant--striped) {
|
|
38968
38968
|
background-color: var(--quantic-component-table-row-striped-bg);
|
|
38969
38969
|
}
|
|
38970
|
-
`,t([
|
|
38970
|
+
`,t([Qi({context:os,subscribe:!0})],e.TableRow.prototype,"variant",void 0),t([Le({type:"string",default:"row",reflect:!0,description:"ARIA role for the table row."})],e.TableRow.prototype,"role",void 0),e.TableRow=t([Ce("quantic-table-row")],e.TableRow),e.TableCell=class extends fe{constructor(){super(...arguments),this.variant=e.TableVariant.Outline,this.role="cell",this.align=e.CellAlign.Left}willUpdate(){this.classList&&this.style&&(Object.entries({"variant--minimal":this.variant===e.TableVariant.Minimal,"variant--outline":this.variant===e.TableVariant.Outline,"variant--striped":this.variant===e.TableVariant.Striped}).forEach(([e,t])=>{this.classList.toggle(e,t)}),this.width&&(this.style.width=this.width),this.style.setProperty("--cell-align",this.align))}render(){return Z`<slot></slot>`}},e.TableCell.meta={tag:"quantic-table-cell",description:"Individual data cell within a quantic-table-row. Receives variant context from the parent quantic-table.",category:"display",slots:{"":{description:"Cell content — text, elements, or other components."}},relatedTo:["quantic-table-row","quantic-table"]},e.TableCell.styles=l`
|
|
38971
38971
|
:host {
|
|
38972
38972
|
display: table-cell;
|
|
38973
38973
|
padding: var(--quantic-component-table-padding);
|
|
@@ -38980,12 +38980,12 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
38980
38980
|
:host(.variant--outline) {
|
|
38981
38981
|
border-bottom: 1px solid var(--quantic-component-table-border-color);
|
|
38982
38982
|
}
|
|
38983
|
-
`,t([
|
|
38983
|
+
`,t([Qi({context:os,subscribe:!0})],e.TableCell.prototype,"variant",void 0),t([Le({type:"string",default:"cell",reflect:!0,description:"ARIA role for the table cell."})],e.TableCell.prototype,"role",void 0),t([Le({type:"CellAlign",options:Object.values(e.CellAlign),default:e.CellAlign.Left,reflect:!0,description:"Horizontal text alignment within the cell."})],e.TableCell.prototype,"align",void 0),t([Le({type:"string",description:'Inline width applied to this column (e.g. "200px" or "20%").'})],e.TableCell.prototype,"width",void 0),e.TableCell=t([Ce("quantic-table-cell")],e.TableCell),e.TableFooter=class extends fe{constructor(){super(...arguments),this.role="rowgroup"}render(){return Z`<slot></slot>`}},e.TableFooter.meta={tag:"quantic-table-footer",description:"The <tfoot> equivalent for quantic-table. Place quantic-table-row elements with summary or footer data as children.",category:"display",slots:{"":{description:"quantic-table-row elements with footer data."}},relatedTo:["quantic-table","quantic-table-row"]},e.TableFooter.styles=l`
|
|
38984
38984
|
:host {
|
|
38985
38985
|
display: table-footer-group;
|
|
38986
38986
|
border-top: 1px solid var(--quantic-component-table-border-color);
|
|
38987
38987
|
}
|
|
38988
|
-
`,t([Le({type:"string",default:"rowgroup",reflect:!0,description:"ARIA role for the footer row group."})],e.TableFooter.prototype,"role",void 0),e.TableFooter=t([Ce("quantic-table-footer")],e.TableFooter);const
|
|
38988
|
+
`,t([Le({type:"string",default:"rowgroup",reflect:!0,description:"ARIA role for the footer row group."})],e.TableFooter.prototype,"role",void 0),e.TableFooter=t([Ce("quantic-table-footer")],e.TableFooter);const ss={Horizontal:"horizontal",Vertical:"vertical"},cs={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},rs="tabs.id",ls="tabs.size",as="tabs.orientation",ds="tabs.selectedIndex";e.Tabs=class extends fe{constructor(){super(...arguments),this.size=cs.Medium,this.orientation=ss.Horizontal,this.selectedIndex=0,this.id=""}connectedCallback(){super.connectedCallback(),this.addEventListener("tab-selected",this._onTabSelect),this.id||(this.id=`tabs-${Math.random().toString(36).substring(2,9)}`)}firstUpdated(){this._assignSlots();const e=this.shadowRoot.querySelector('slot[name="buttons"]'),t=this.shadowRoot.querySelector('slot[name="panels"]');e?.addEventListener("slotchange",this._assignSlots),t?.addEventListener("slotchange",()=>{this._assignSlots(),this.requestUpdate()})}_assignSlots(){Array.from(this.children).filter(e=>e instanceof HTMLElement).forEach(e=>{const t=e.tagName.toLowerCase();"quantic-tab-button"===t&&(e.slot="buttons"),"quantic-tab-panel"===t&&(e.slot="panels")})}_onTabSelect(e){e.target.closest("quantic-tabs")===this&&(this.selectedIndex=e.detail.index)}render(){const e=Oe({main:!0,[`orientation--${this.orientation}`]:!0}),t=Oe({panels:!0,"panels--hidden":0===this._panelElements.length});return Z`
|
|
38989
38989
|
<div class=${e}>
|
|
38990
38990
|
<div class="buttons" role="tablist"><slot name="buttons"></slot></div>
|
|
38991
38991
|
<div class=${t}><slot name="panels"></slot></div>
|
|
@@ -39056,14 +39056,14 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39056
39056
|
border-right: 1px solid var(--quantic-border-tertiary);
|
|
39057
39057
|
width: var(--quantic-spacing-56);
|
|
39058
39058
|
}
|
|
39059
|
-
`,t([
|
|
39059
|
+
`,t([Ji({context:ls}),Le({type:"TabsSize",options:Object.values(cs),default:"md",reflect:!0,description:"Controls tab button font size and padding, and the gap between the tab buttons and panels."})],e.Tabs.prototype,"size",void 0),t([Ji({context:as}),Le({type:"TabsOrientation",options:Object.values(ss),default:"horizontal",description:'Layout direction: "horizontal" shows tabs along the top, "vertical" shows them on the left.'})],e.Tabs.prototype,"orientation",void 0),t([Ji({context:ds}),Le({type:"number",default:"0",description:"Zero-based index of the currently active tab."})],e.Tabs.prototype,"selectedIndex",void 0),t([Ji({context:rs}),Le({type:"string",description:"Unique identifier shared via context to link buttons and panels. Auto-generated if not set."})],e.Tabs.prototype,"id",void 0),t([ke({slot:"panels"})],e.Tabs.prototype,"_panelElements",void 0),e.Tabs=t([Ie("tab-selected",{description:"Fired when a tab is selected, providing the index of the selected tab.",detail:"{ index: number }"}),Ce("quantic-tabs")],e.Tabs);const us=(e,t)=>`tabbutton-${e}-${t}`,hs=(e,t)=>`tabpanel-${e}-${t}`;e.TabButton=class extends fe{constructor(){super(...arguments),this.defaultSize=cs.Medium,this.size=this.defaultSize,this.defaultOrientation=ss.Horizontal,this.orientation=this.defaultOrientation,this.defaultSelectedIndex=0,this.selectedIndex=this.defaultSelectedIndex,this.tabsId="",this.disabled=!1,this.buttonRef=ct()}_onClick(){this.disabled||(this.dispatchEvent(new CustomEvent("tab-selected",{detail:{index:this.index},bubbles:!0,composed:!0})),this.buttonRef.value?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}))}render(){const e=this.selectedIndex===this.index,t=Oe({main:!0,"is-active":e,"is-disabled":this.disabled,[`orientation--${this.orientation}`]:!0,disabled:this.disabled,[`size--${this.size}`]:!0});return Z`
|
|
39060
39060
|
<button
|
|
39061
39061
|
${at(this.buttonRef)}
|
|
39062
39062
|
class=${t}
|
|
39063
|
-
id=${
|
|
39063
|
+
id=${us(this.tabsId,this.index)}
|
|
39064
39064
|
role="tab"
|
|
39065
39065
|
aria-selected=${e}
|
|
39066
|
-
aria-controls=${
|
|
39066
|
+
aria-controls=${hs(this.tabsId,this.index)}
|
|
39067
39067
|
aria-disabled=${this.disabled}
|
|
39068
39068
|
?disabled=${this.disabled}
|
|
39069
39069
|
tabindex=${e&&!this.disabled?0:-1}
|
|
@@ -39216,10 +39216,10 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39216
39216
|
.is-disabled::after {
|
|
39217
39217
|
display: none;
|
|
39218
39218
|
}
|
|
39219
|
-
`,t([Le({type:"TabsSize",reflect:!0,description:"SSR fallback for size before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultSize",void 0),t([
|
|
39220
|
-
id=${
|
|
39219
|
+
`,t([Le({type:"TabsSize",reflect:!0,description:"SSR fallback for size before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultSize",void 0),t([Qi({context:ls,subscribe:!0})],e.TabButton.prototype,"size",void 0),t([Le({type:"TabsOrientation",reflect:!0,description:"SSR fallback for orientation before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultOrientation",void 0),t([Qi({context:as,subscribe:!0})],e.TabButton.prototype,"orientation",void 0),t([Le({type:"number",default:"0",reflect:!0,description:"SSR fallback for selected index before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultSelectedIndex",void 0),t([Qi({context:ds,subscribe:!0})],e.TabButton.prototype,"selectedIndex",void 0),t([Qi({context:rs,subscribe:!0})],e.TabButton.prototype,"tabsId",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents this tab from being selected."})],e.TabButton.prototype,"disabled",void 0),t([Le({type:"number",reflect:!0,description:"Zero-based position of this button; must match the index of the corresponding quantic-tab-panel.",required:!0})],e.TabButton.prototype,"index",void 0),e.TabButton=t([Ie("tab-selected",{description:"Fired when a tab is selected, providing the index of the selected tab.",detail:"{ index: number }"}),Ce("quantic-tab-button")],e.TabButton),e.TabPanel=class extends fe{constructor(){super(...arguments),this.defaultSelectedIndex=0,this.selectedIndex=this.defaultSelectedIndex,this.tabsId=""}render(){const e=this.selectedIndex===this.index,t=Oe({main:!0,"is-active":e});return Z`<div
|
|
39220
|
+
id=${hs(this.tabsId,this.index)}
|
|
39221
39221
|
class=${t}
|
|
39222
|
-
aria-labelledby=${
|
|
39222
|
+
aria-labelledby=${us(this.tabsId,this.index)}
|
|
39223
39223
|
role="tabpanel"
|
|
39224
39224
|
tabindex="0"
|
|
39225
39225
|
>
|
|
@@ -39253,7 +39253,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39253
39253
|
.is-active {
|
|
39254
39254
|
display: block;
|
|
39255
39255
|
}
|
|
39256
|
-
`,t([Le({type:"number",default:"0",reflect:!0,description:"SSR fallback for selected index before context propagates from quantic-tabs."})],e.TabPanel.prototype,"defaultSelectedIndex",void 0),t([
|
|
39256
|
+
`,t([Le({type:"number",default:"0",reflect:!0,description:"SSR fallback for selected index before context propagates from quantic-tabs."})],e.TabPanel.prototype,"defaultSelectedIndex",void 0),t([Qi({context:ds,subscribe:!0})],e.TabPanel.prototype,"selectedIndex",void 0),t([Qi({context:rs,subscribe:!0})],e.TabPanel.prototype,"tabsId",void 0),t([Le({type:"number",reflect:!0,description:"Zero-based position of this panel; must match the index of the corresponding quantic-tab-button.",required:!0})],e.TabPanel.prototype,"index",void 0),e.TabPanel=t([Ce("quantic-tab-panel")],e.TabPanel);const ps={Small:"sm",Medium:"md",Large:"lg"};e.Checkbox.ensureDefined(),e.LucideIconX.ensureDefined(),e.Tag=class extends fe{constructor(){super(...arguments),this.size=ps.Medium,this.selectable=!1,this.dismissible=!1,this.selected=!1}handleClick(){this.selectable&&(this.selected=!this.selected,this.dispatchEvent(new CustomEvent("tag-select",{detail:{selected:this.selected},bubbles:!0,composed:!0})))}handleDismiss(e){e.preventDefault(),e.stopPropagation(),this.dispatchEvent(new CustomEvent("tag-dismiss",{bubbles:!0,composed:!0}))}handleKeyDown(e){!this.selectable||"Enter"!==e.key&&" "!==e.key||e.target.closest(".dismiss-button")||(e.preventDefault(),this.handleClick())}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0,selectable:this.selectable});return je`
|
|
39257
39257
|
<div
|
|
39258
39258
|
class=${e}
|
|
39259
39259
|
@click=${this.handleClick}
|
|
@@ -39263,7 +39263,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39263
39263
|
aria-checked=${this.selectable?String(this.selected):void 0}
|
|
39264
39264
|
>
|
|
39265
39265
|
${this.selectable?je`<quantic-checkbox
|
|
39266
|
-
size=${this.size===
|
|
39266
|
+
size=${this.size===ps.Large?"md":"sm"}
|
|
39267
39267
|
?checked=${this.selected}
|
|
39268
39268
|
></quantic-checkbox>`:null}
|
|
39269
39269
|
<slot name="before"></slot>
|
|
@@ -39390,7 +39390,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39390
39390
|
display: flex;
|
|
39391
39391
|
align-items: center;
|
|
39392
39392
|
}
|
|
39393
|
-
`,t([Le({type:"TagSize",options:Object.values(
|
|
39393
|
+
`,t([Le({type:"TagSize",options:Object.values(ps),default:ps.Medium,description:"Controls padding and font size."})],e.Tag.prototype,"size",void 0),t([Le({type:"boolean",default:"false",description:"Renders a checkbox and makes the tag toggleable."})],e.Tag.prototype,"selectable",void 0),t([Le({type:"boolean",default:"false",description:"Shows a dismiss (×) button to remove the tag."})],e.Tag.prototype,"dismissible",void 0),t([Le({type:"boolean",default:"false",description:"Current selected state when selectable is true."})],e.Tag.prototype,"selected",void 0),e.Tag=t([Ie("tag-select",{description:"Fired when a tag's selection state changes (only when selectable is true).",detail:"{ selected: boolean }"}),Ie("tag-dismiss",{description:"Fired when a tag's dismiss button is clicked (only when dismissible is true)."}),Ce("quantic-tag")],e.Tag),e.Tag.ensureDefined();const gs=Bi;e.StatusTag=class extends fe{constructor(){super(...arguments),this.size=ps.Medium,this.color=gs.Gray,this.selectable=!1,this.dismissible=!1,this.selected=!1}render(){const e=Oe({"status-dot":!0,[`color--${this.color}`]:!0});return je`
|
|
39394
39394
|
<quantic-tag
|
|
39395
39395
|
size=${this.size}
|
|
39396
39396
|
?selectable=${this.selectable}
|
|
@@ -39413,7 +39413,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39413
39413
|
}
|
|
39414
39414
|
|
|
39415
39415
|
${r(Fi(e=>`color: var(--quantic-utility-${e}-700);`))}
|
|
39416
|
-
`,t([Le({type:"TagSize",options:Object.values(
|
|
39416
|
+
`,t([Le({type:"TagSize",options:Object.values(ps),default:ps.Medium,description:"Controls padding and font size."})],e.StatusTag.prototype,"size",void 0),t([Le({type:"StatusTagColor",options:Object.values(gs),default:gs.Gray,description:"Semantic color applied to the status dot and text."})],e.StatusTag.prototype,"color",void 0),t([Le({type:"boolean",default:"false",description:"Renders a checkbox and makes the tag toggleable."})],e.StatusTag.prototype,"selectable",void 0),t([Le({type:"boolean",default:"false",description:"Shows a dismiss (×) button to remove the tag."})],e.StatusTag.prototype,"dismissible",void 0),t([Le({type:"boolean",default:"false",description:"Current selected state when selectable is true."})],e.StatusTag.prototype,"selected",void 0),e.StatusTag=t([Ce("quantic-status-tag")],e.StatusTag),e.Tag.ensureDefined(),e.CountTag=class extends fe{constructor(){super(...arguments),this.size=ps.Medium,this.selectable=!1,this.dismissible=!1,this.selected=!1,this.count=""}render(){return je`
|
|
39417
39417
|
<quantic-tag
|
|
39418
39418
|
size=${this.size}
|
|
39419
39419
|
?selectable=${this.selectable}
|
|
@@ -39436,7 +39436,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39436
39436
|
padding: 0 var(--quantic-spacing-1-5);
|
|
39437
39437
|
font-weight: var(--quantic-font-weight-medium);
|
|
39438
39438
|
}
|
|
39439
|
-
`,t([Le({type:"TagSize",options:Object.values(
|
|
39439
|
+
`,t([Le({type:"TagSize",options:Object.values(ps),default:ps.Medium,description:"Controls padding and font size."})],e.CountTag.prototype,"size",void 0),t([Le({type:"boolean",default:"false",description:"Renders a checkbox and makes the tag toggleable."})],e.CountTag.prototype,"selectable",void 0),t([Le({type:"boolean",default:"false",description:"Shows a dismiss (×) button to remove the tag."})],e.CountTag.prototype,"dismissible",void 0),t([Le({type:"boolean",default:"false",description:"Current selected state when selectable is true."})],e.CountTag.prototype,"selected",void 0),t([Le({type:"string",default:"",description:"Numeric count displayed in the trailing badge."})],e.CountTag.prototype,"count",void 0),e.CountTag=t([Ce("quantic-count-tag")],e.CountTag);const vs={Body:"body",Display:"display"},ws={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg",ExtraLarge:"xl",TwoExtraLarge:"2xl"},ms=[".main {\n color: var(--quantic-text-primary);\n font-weight: inherit;\n }",...Object.values(vs).map(e=>`\n.variant--${e} {\n font-family: var(--quantic-font-family-${e});\n}`),...Object.values(ws).flatMap(e=>Object.values(vs).map(t=>((e,t)=>`\n.size--${t}-${e} {\n font-size: var(--quantic-font-size-${t}-${e});\n line-height: var(--quantic-line-height-${t}-${e});\n}`)(e,t)))].join("\n");e.Text=class extends fe{constructor(){super(...arguments),this.as="span",this.variant=vs.Body}render(){const e={main:!0,[`variant--${this.variant}`]:!0,[`size--${this.variant}-${this.size}`]:!!this.size},t=Ae(this.as);return je`<${t} class=${Oe(e)}><slot></slot></${t}>`}},e.Text.meta={tag:"quantic-text",description:"Typography component for rendering text with consistent sizing, weight, and color tokens. Renders any HTML element via the `as` prop for semantic correctness.",category:"display",slots:{"":{description:"Text content to render."}},relatedTo:[]},e.Text.styles=r(ms),t([Le({type:"string",default:"span",description:'HTML tag to render (e.g. "p", "h1", "span", "label").'})],e.Text.prototype,"as",void 0),t([Le({type:"TextVariant",options:Object.values(vs),default:vs.Body,description:"Font family variant — body or display."})],e.Text.prototype,"variant",void 0),t([Le({type:"TextSize",options:Object.values(ws),description:"Font size and line-height token. Omit to inherit from context."})],e.Text.prototype,"size",void 0),e.Text=t([Ce("quantic-text")],e.Text);const ks={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},xs={None:"none",Vertical:"vertical",Horizontal:"horizontal",Both:"both"};e.LucideIconCircleAlert.ensureDefined(),e.Textarea=class extends(Si(fe)){constructor(){super(),this.value="",this.name="",this.placeholder="",this.size=ks.Medium,this.rows=4,this.resize=xs.Vertical,this.disabled=!1,this.required=!1,this.readOnly=!1,this.invalid=!1,this.autoComplete="off",this.internals=this.attachInternals()}updated(e){e.has("value")&&(this.internals.setFormValue(this.value),this.updateValidity()),Oi(this,e,this.value)}forwardNative(e){const t=e.target;this.value=t.value,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}dispatchValueChanged(e){this.value=e.target.value}formResetCallback(){this.value="",this.internals.setFormValue("")}formStateRestoreCallback(e){this.value=e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}updateValidity(){const e=this.shadowRoot?.querySelector("textarea");e&&this.internals.setValidity(e.validity,e.validationMessage,e)}render(){const e=Oe({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return Z`
|
|
39440
39440
|
<div class=${e}>
|
|
39441
39441
|
<textarea
|
|
39442
39442
|
.value=${this.value}
|
|
@@ -39446,7 +39446,7 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39446
39446
|
name=${this.name}
|
|
39447
39447
|
.rows=${this.rows}
|
|
39448
39448
|
part="input"
|
|
39449
|
-
style=${
|
|
39449
|
+
style=${eo({resize:this.resize})}
|
|
39450
39450
|
?readonly=${this.readOnly}
|
|
39451
39451
|
?required=${this.required}
|
|
39452
39452
|
?disabled=${this.disabled}
|
|
@@ -39577,15 +39577,15 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39577
39577
|
color: var(--quantic-border-error);
|
|
39578
39578
|
pointer-events: none;
|
|
39579
39579
|
}
|
|
39580
|
-
`,t([Le({type:"string",default:"",description:"Current value of the textarea."})],e.Textarea.prototype,"value",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Textarea.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder text shown when the field is empty."})],e.Textarea.prototype,"placeholder",void 0),t([Le({type:"TextareaSize",options:Object.values(
|
|
39580
|
+
`,t([Le({type:"string",default:"",description:"Current value of the textarea."})],e.Textarea.prototype,"value",void 0),t([Le({type:"string",description:"Name submitted with form data."})],e.Textarea.prototype,"name",void 0),t([Le({type:"string",description:"Placeholder text shown when the field is empty."})],e.Textarea.prototype,"placeholder",void 0),t([Le({type:"TextareaSize",options:Object.values(ks),default:ks.Medium,description:"Controls padding and font size."})],e.Textarea.prototype,"size",void 0),t([Le({type:"number",default:"4",description:"Number of visible text rows."})],e.Textarea.prototype,"rows",void 0),t([Le({type:"TextareaResize",options:Object.values(xs),default:xs.Vertical,description:"Controls the resize handle direction."})],e.Textarea.prototype,"resize",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Textarea.prototype,"disabled",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.Textarea.prototype,"required",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Makes the field non-editable but still focusable and selectable."})],e.Textarea.prototype,"readOnly",void 0),t([Le({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Textarea.prototype,"invalid",void 0),t([Le({type:"string",default:"off",reflect:!0,description:"Native autocomplete attribute passed to the inner <textarea>."})],e.Textarea.prototype,"autoComplete",void 0),e.Textarea=t([Ie("value-changed",{description:"Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ie("input",{forwarded:!0}),Ie("change",{forwarded:!0}),Ie("focus",{forwarded:!0}),Ie("blur",{forwarded:!0}),Ie("keydown",{forwarded:!0}),Ie("keyup",{forwarded:!0}),Ie("keypress",{forwarded:!0}),Ce("quantic-textarea")],e.Textarea);const ys={Success:"success",Error:"error",Warning:"warning",Info:"info"};e.Button.ensureDefined(),e.LucideIconCircleCheck.ensureDefined(),e.LucideIconCircleX.ensureDefined(),e.LucideIconInfo.ensureDefined(),e.LucideIconTriangleAlert.ensureDefined(),e.LucideIconX.ensureDefined(),e.Toast=class extends(Me(fe)){constructor(){super(...arguments),this.open=!1,this.type=ys.Info,this.showCloseButton=!0,this.ariaLabel=null,this.handleCloseClick=()=>{this.dispatchEvent(new Event("close",{bubbles:!0,composed:!0}))}}updated(e){super.updated(e),e.has("open")&&void 0!==e.get("open")&&this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:this.open},bubbles:!0,composed:!0}))}renderDefaultIcon(){switch(this.type){case ys.Success:return Z`<quantic-icon-lucide-circle-check
|
|
39581
39581
|
size="md"
|
|
39582
|
-
></quantic-icon-lucide-circle-check>`;case
|
|
39582
|
+
></quantic-icon-lucide-circle-check>`;case ys.Error:return Z`<quantic-icon-lucide-circle-x
|
|
39583
39583
|
size="md"
|
|
39584
|
-
></quantic-icon-lucide-circle-x>`;case
|
|
39584
|
+
></quantic-icon-lucide-circle-x>`;case ys.Warning:return Z`<quantic-icon-lucide-triangle-alert
|
|
39585
39585
|
size="md"
|
|
39586
39586
|
></quantic-icon-lucide-triangle-alert>`;default:return Z`<quantic-icon-lucide-info
|
|
39587
39587
|
size="md"
|
|
39588
|
-
></quantic-icon-lucide-info>`}}render(){const e=this.type===
|
|
39588
|
+
></quantic-icon-lucide-info>`}}render(){const e=this.type===ys.Error;return Z`
|
|
39589
39589
|
<div
|
|
39590
39590
|
class="container"
|
|
39591
39591
|
role=${e?"alert":"status"}
|
|
@@ -39735,5 +39735,5 @@ const Jn="important",Qn=" !"+Jn,Yn=Fe(class extends Re{constructor(e){if(super(e
|
|
|
39735
39735
|
[hidden] {
|
|
39736
39736
|
display: none;
|
|
39737
39737
|
}
|
|
39738
|
-
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the toast is visible."})],e.Toast.prototype,"open",void 0),t([Le({type:"ToastType",options:Object.values(xs),default:xs.Info,reflect:!0,description:"Severity. Drives icon and color tokens."})],e.Toast.prototype,"type",void 0),t([Le({type:"boolean",attribute:"show-close-button",default:"true",description:'Shows a built-in close button. Click dispatches a "close" event.'})],e.Toast.prototype,"showCloseButton",void 0),t([Le({type:"string",attribute:"aria-label",description:"Accessible label when no title slot is provided."})],e.Toast.prototype,"ariaLabel",void 0),e.Toast=t([Ie("open-changed",{description:"Fired when the open state changes.",detail:"{ open: boolean }"}),Ie("close",{description:"Fired when the user clicks the close button. The consumer is responsible for setting open=false."}),Ce("quantic-toast")],e.Toast),e.AlertType=qe,e.BadgeColor=$i,e.BadgeSize=_i,e.ButtonGroupSize=Qi,e.ButtonGrow=Te,e.ButtonSize=He,e.ButtonVariant=ze,e.CapacityBarColor=Ui,e.CapacityBarSize=Ei,e.CardGroupDensity=on,e.CheckboxSize=cn,e.CodeInputSize=sn,e.ComboboxSize=Oi,e.DialogBackdrop=ln,e.DialogRole=an,e.DialogSize=rn,e.DropdownMenuSize=Nn,e.FieldGroupLayout=io,e.FieldGroupSize=to,e.FieldHintPosition=no,e.FieldSize=oo,e.FieldValidationStatus=eo,e.FieldsetSize=po,e.FieldsetVariant=go,e.IconBase=Ue,e.IconLabelSize=vo,e.IconName=Ee,e.IconSize=_e,e.LOG_OUTPUT_DEFAULTS=mo,e.LayoutVariant=bo,e.NumberInputSize=wo,e.PaginationSize=Do,e.PopoverPlacement=Xn,e.PopoverTrigger=Kn,e.ProgressColor=$o,e.ProgressSize=Oo,e.QuanticElement=fe,e.RadioGroupVariant=ao,e.RadioSize=lo,e.SelectSize=ro,e.SidebarMenuItemVariant=Co,e.SparklineColor=Zo,e.SparklineVariant=Uo,e.SpinnerColor=_o,e.SpinnerSize=Eo,e.StatusTagColor=ps,e.TabsOrientation=os,e.TabsSize=ss,e.TagSize=hs,e.TextInputSize=co,e.TextSize=vs,e.TextVariant=gs,e.TextareaResize=ks,e.TextareaSize=ms,e.ToastType=xs,e.ToggleSize=ho,e.icons={"apptainer.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0.620117C37.6001 0.620117 48.3701 11.3901 48.3701 24.6201C48.3701 37.8501 37.6001 48.6201 24.3701 48.6201C11.1402 48.6201 0.370183 37.8501 0.370117 24.6201C0.370117 11.3901 11.1401 0.620117 24.3701 0.620117ZM24.3701 3.37012C12.6501 3.37012 3.12012 12.9001 3.12012 24.6201C3.12018 36.3401 12.6502 45.8701 24.3701 45.8701C36.0901 45.8701 45.6201 36.3401 45.6201 24.6201C45.6201 12.9001 36.0901 3.37012 24.3701 3.37012ZM32.0078 32.9951C32.0754 33.0597 32.1383 33.1318 32.1934 33.2119C32.2903 33.3533 32.3562 33.5068 32.3945 33.6641L35.4707 38.9922L35.5352 39.1172C35.8209 39.7527 35.584 40.514 34.9678 40.8701C34.3513 41.2261 33.5737 41.0505 33.166 40.4854L33.0898 40.3672L30.5186 35.9141C28.6877 36.8711 26.6489 37.3769 24.5703 37.374H24.5684L24.5674 37.375C22.2699 37.3745 20.111 36.7669 18.2393 35.7061L15.6406 40.207C15.2609 40.8646 14.4203 41.0896 13.7627 40.71C13.1052 40.3301 12.88 39.4896 13.2598 38.832L24.3203 19.6797L32.0078 32.9951ZM19.6143 33.3252C21.0818 34.1527 22.7704 34.625 24.5703 34.625H24.5723L24.9531 34.6182C26.4139 34.5649 27.8417 34.191 29.1416 33.5303L24.3193 25.1777L19.6143 33.3252ZM35.8066 21.1729C36.5568 21.0555 37.2604 21.5682 37.3779 22.3184C37.4811 22.9776 37.5254 23.6489 37.5254 24.3174C37.5253 26.7288 36.8738 28.9981 35.7373 30.9395L35.6602 31.0576C35.2491 31.6202 34.4698 31.7912 33.8555 31.4316C33.2003 31.048 32.9798 30.2051 33.3633 29.5498L33.5273 29.2607C34.3219 27.7966 34.7753 26.11 34.7754 24.3174C34.7754 23.7682 34.739 23.2407 34.6611 22.7432C34.544 21.9931 35.0566 21.2903 35.8066 21.1729ZM13.293 21.4336C14.0447 21.54 14.5681 22.2356 14.4619 22.9873C14.402 23.4102 14.375 23.8529 14.375 24.3174V24.3193C14.3724 26.0448 14.8013 27.7409 15.6182 29.251L15.7861 29.5508L15.8516 29.6758C16.1405 30.3097 15.9082 31.0722 15.2939 31.4316C14.6795 31.791 13.9011 31.6194 13.4902 31.0566L13.4131 30.9395L13.1992 30.5596C12.1641 28.646 11.6218 26.4986 11.625 24.3154C11.6251 23.7455 11.6584 23.1724 11.7393 22.6016C11.846 21.8502 12.5415 21.3274 13.293 21.4336ZM26.126 12.6582C26.3031 11.9689 26.9723 11.5357 27.6611 11.6396L27.7998 11.668L28.376 11.8311C31.231 12.7099 33.6556 14.56 35.2959 16.9785C35.7219 17.6069 35.558 18.4625 34.9297 18.8887C34.3013 19.3145 33.4457 19.1506 33.0195 18.5225C31.717 16.602 29.8018 15.1471 27.5664 14.459L27.1152 14.332L26.9814 14.29C26.3273 14.0495 25.9491 13.3477 26.126 12.6582ZM21.3506 11.668C22.086 11.4792 22.8354 11.9229 23.0244 12.6582C23.213 13.3936 22.7695 14.1432 22.0342 14.332C19.6056 14.9558 17.5207 16.4736 16.1426 18.5186L16.0576 18.6309C15.6118 19.1664 14.8237 19.2883 14.2334 18.8906C13.6039 18.4662 13.4382 17.6111 13.8623 16.9814L14.1982 16.5049C15.9343 14.1612 18.4402 12.4154 21.3506 11.668Z" fill="currentColor"/>\n</svg>\n',"apptainer.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0.620117C37.73 0.620117 48.5 11.3901 48.5 24.6201C48.4999 37.8501 37.73 48.6201 24.5 48.6201C11.27 48.6201 0.500066 37.8501 0.5 24.6201C0.5 11.3901 11.27 0.620117 24.5 0.620117ZM13.6055 38.958C13.2952 39.496 13.4798 40.1845 14.0176 40.4951C14.5554 40.8053 15.2439 40.6205 15.5547 40.083L18.167 35.5586C20.0267 36.6374 22.1871 37.2545 24.4883 37.2549V37.2559L24.4893 37.2549L24.4902 37.2559V37.2549C26.6919 37.258 28.8491 36.6812 30.75 35.5928L33.4355 40.2432L33.498 40.3398C33.8316 40.802 34.4684 40.9462 34.9727 40.6553C35.4769 40.3641 35.6699 39.7407 35.4365 39.2207L35.3848 39.1182L24.4502 20.1807L13.6055 38.958ZM29.625 33.6445C28.1777 34.4718 26.5499 34.9387 24.8799 34.999L24.4922 35.0059H24.4902C22.595 35.0059 20.8203 34.4971 19.292 33.6094L24.4492 24.6797L29.625 33.6445ZM13.249 22.0068C12.6341 21.9192 12.0644 22.347 11.9766 22.9619C11.898 23.5124 11.8653 24.0662 11.8652 24.6191C11.8622 26.7335 12.3917 28.813 13.4023 30.665L13.6113 31.0322L13.6748 31.1289C14.0128 31.5875 14.651 31.7254 15.1523 31.4297C15.6535 31.1337 15.8406 30.5088 15.6025 29.9912L15.5488 29.8887L15.3779 29.5869C14.548 28.0661 14.1127 26.3583 14.1152 24.6221V24.6211C14.1152 24.1553 14.143 23.7086 14.2041 23.2803C14.292 22.6653 13.8639 22.0948 13.249 22.0068ZM36.958 22.5723C36.8126 22.0211 36.2696 21.6583 35.6943 21.749C35.1191 21.8401 34.7154 22.3526 34.7471 22.9219L34.7588 23.0361L34.8105 23.4189C34.8543 23.806 34.875 24.2084 34.875 24.6211C34.8748 26.5444 34.3515 28.3479 33.4414 29.8887C33.1259 30.4236 33.3031 31.1138 33.8379 31.4297C34.3726 31.7452 35.0628 31.5675 35.3789 31.0332C36.4885 29.1546 37.1248 26.957 37.125 24.6211C37.125 24.1344 37.1004 23.6465 37.0459 23.165L36.9814 22.6855L36.958 22.5723ZM14.0498 17.5186C13.7011 18.0323 13.8341 18.7319 14.3477 19.0811C14.8612 19.4298 15.5608 19.2964 15.9102 18.7832L14.0498 17.5186ZM27.5244 12.3574C26.9606 12.2736 26.4132 12.629 26.2695 13.1934C26.1264 13.7576 26.4373 14.3317 26.9727 14.5273L27.083 14.5605L27.543 14.6895C29.8208 15.3846 31.769 16.8528 33.0918 18.7861C33.4427 19.2982 34.1428 19.4295 34.6553 19.0791C35.1678 18.7284 35.2986 18.0283 34.9482 17.5156C33.3462 15.1742 30.9808 13.3858 28.1992 12.5371L27.6377 12.3809L27.5244 12.3574ZM22.7207 13.1934C22.5674 12.5913 21.9546 12.2277 21.3525 12.3809C18.3285 13.1507 15.7495 15.0184 14.0498 17.5186L14.9805 18.1504L15.9102 18.7832C17.3104 16.7235 19.4324 15.1908 21.9082 14.5605C22.5096 14.4071 22.8733 13.795 22.7207 13.1934Z" fill="currentColor"/>\n</svg>\n',"ascender.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.410156C38.1001 0.410156 48.8701 11.1802 48.8701 24.4102C48.87 37.6401 38.1001 48.4102 24.8701 48.4102C11.6402 48.4102 0.870217 37.6401 0.870117 24.4102C0.870117 11.1802 11.6401 0.410156 24.8701 0.410156ZM24.8701 3.16016C13.1501 3.16016 3.62012 12.6902 3.62012 24.4102C3.62022 36.1301 13.1502 45.6602 24.8701 45.6602C36.5901 45.6602 46.12 36.1301 46.1201 24.4102C46.1201 12.6902 36.5901 3.16016 24.8701 3.16016ZM31.6807 37.625H16.3301C15.5707 37.625 14.9551 37.0094 14.9551 36.25C14.9551 35.4906 15.5707 34.875 16.3301 34.875H26.8994L19.9141 22.8711L11.9404 36.6777C11.5606 37.3352 10.72 37.5603 10.0625 37.1807C9.40497 36.8009 9.17994 35.9603 9.55957 35.3027L19.9053 17.3887L31.6807 37.625ZM42.209 30.499L42.2734 30.624C42.561 31.2588 42.3263 32.0211 41.7109 32.3789C41.0955 32.7366 40.3175 32.5629 39.9082 31.999L39.8311 31.8809L35.9326 25.1748H27.9805C27.2211 25.1748 26.6055 24.5592 26.6055 23.7998C26.6056 23.0405 27.2211 22.4248 27.9805 22.4248H34.333L28.7031 12.7412L25.5605 18.1777L25.4844 18.2959C25.0765 18.8613 24.2982 19.037 23.6816 18.6807C23.0242 18.3006 22.7996 17.4592 23.1797 16.8018L28.6963 7.25879L42.209 30.499Z" fill="currentColor"/>\n</svg>\n',"ascender.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.2598 0.410156C37.4898 0.410156 48.2598 11.1802 48.2598 24.4102C48.2597 37.6401 37.4897 48.4102 24.2598 48.4102C11.0299 48.41 0.259865 37.64 0.259766 24.4102C0.259766 11.1802 11.0299 0.410289 24.2598 0.410156ZM9.13184 35.7539C8.825 36.2941 9.0145 36.9812 9.55469 37.2881C10.0949 37.5947 10.7821 37.4054 11.0889 36.8652L19.3115 22.3867L26.7246 35.125H15.7305C15.1091 35.125 14.6055 35.6287 14.6055 36.25C14.6055 36.8713 15.1091 37.375 15.7305 37.375H30.6367L19.2881 17.873L9.13184 35.7539ZM22.5957 17.2676C22.2852 17.8057 22.4698 18.4941 23.0078 18.8047C23.5459 19.115 24.2344 18.9306 24.5449 18.3926L28.0938 12.2432L34.1582 22.6748H26.9902C26.369 22.6749 25.8653 23.1786 25.8652 23.7998C25.8652 24.4211 26.369 24.9247 26.9902 24.9248H35.4658L39.4375 31.7559L39.501 31.8516C39.8359 32.313 40.472 32.4549 40.9756 32.1621C41.479 31.8692 41.671 31.2459 41.4355 30.7266L41.3828 30.625L28.0869 7.75586L22.5957 17.2676Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8198 0C25.2497 0 25.6799 0.0102806 26.1099 0.0302734C39.3197 0.730265 49.5 12.0597 48.8003 25.2695C48.1303 38.0195 37.6099 48 24.8599 48C24.4299 48 23.99 47.98 23.5601 47.96C17.1601 47.6199 11.2797 44.81 6.98975 40.04C2.69984 35.2701 0.529633 29.1197 0.869629 22.7197C1.54975 9.97994 12.07 0.00014739 24.8198 0ZM24.8198 2.75C13.53 2.75015 4.21962 11.5902 3.61963 22.8701C3.46548 25.6581 3.86521 28.4492 4.79541 31.082C5.72568 33.7149 7.169 36.1375 9.04053 38.21C12.8305 42.4298 18.0405 44.9197 23.7104 45.2197C24.0903 45.2397 24.48 45.25 24.8599 45.25C36.1499 45.25 45.4601 36.4099 46.0601 25.1299C46.68 13.43 37.6701 3.40034 25.9702 2.78027C25.5902 2.76027 25.2098 2.75 24.8198 2.75ZM28.9907 10.2197L26.9487 12.0615L26.2144 11.2461V22.625H37.5806L36.7876 21.9102L38.6294 19.8682L43.2231 24.0098L38.6294 28.1514L36.7876 26.1094L37.6021 25.375H26.2144V36.75L26.939 35.9473L28.981 37.7891L24.8394 42.3828L20.6968 37.7891L22.7397 35.9473L23.4644 36.75V25.375H12.0981L12.9019 26.0996L11.0601 28.1416L6.46533 24L11.0601 19.8574L12.9019 21.9004L12.0981 22.625H23.4644V11.2676L22.7495 12.0615L20.7075 10.2197L24.8491 5.62598L28.9907 10.2197ZM18.3345 30.6152H20.2397V33.3652H15.5845V28.7207H18.3345V30.6152ZM34.2046 33.2559H29.5601V30.5059H31.4546V28.6104H34.2046V33.2559ZM20.1294 17.4951H18.2349V19.4004H15.4849V14.7451H20.1294V17.4951ZM34.0952 19.29H31.3452V17.3955H29.4497V14.6455H34.0952V19.29Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.02 48H24.0103C24.0119 48 24.0135 47.999 24.0151 47.999C24.0168 47.999 24.0184 48 24.02 48ZM23.98 0C24.41 0 24.84 0.0102734 25.27 0.0302734C38.4798 0.730272 48.6602 12.0597 47.9604 25.2695C47.2805 38.0078 36.7628 47.9964 24.0151 47.999C23.5868 47.9989 23.1585 47.9898 22.7202 47.96C16.3202 47.62 10.4299 44.81 6.1499 40.04C1.85992 35.27 -0.310214 29.1197 0.0297852 22.7197C0.709913 9.97986 11.2301 1.99937e-05 23.98 0ZM20.0337 10.2109L21.8911 11.8848L22.8745 10.793V22.875H10.7827L11.8745 21.8916L10.2007 20.0342L5.80322 24L10.2007 27.9648L11.8745 26.1084L10.7837 25.125H22.8745V37.2148L21.8911 36.124L20.0337 37.7988L23.9995 42.1963L27.9644 37.7988L26.1079 36.124L25.271 37.0527L25.1245 37.2148V25.125H37.2261L36.1245 26.1182L37.7983 27.9756L38.7261 27.1377L42.1958 24.0098L38.7261 20.8818L37.7983 20.0439L36.1245 21.9014L37.2046 22.875H25.1245V10.7939L26.1079 11.8848L27.9644 10.2109L23.9995 5.81348L20.0337 10.2109ZM14.9946 28.7207V33.1152H19.3892V30.8652H17.2446V28.7207H14.9946ZM30.8647 28.6104V30.7559H28.7095V33.0059H33.1147V28.6104H30.8647ZM14.8843 14.9951V19.4004H17.1343V17.2451H19.2896V14.9951H14.8843ZM28.6089 14.8955V17.1455H30.7544V19.29H33.0044V14.8955H28.6089Z" fill="currentColor"/>\n</svg>\n',"fuzzball.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.035036 23.1954C0.753066 9.70572 12.3046 -0.654732 25.8026 0.0322852C39.2924 0.750967 49.6825 12.3095 48.9647 25.7989C48.2703 38.8474 37.4317 48.9979 24.5145 48.9981C24.0777 48.9981 23.6396 48.9861 23.1981 48.9629C9.70842 48.2445 -0.682501 36.6851 0.035036 23.1954ZM24.4872 2.60064C12.9421 2.60071 3.2556 11.6715 2.63465 23.334C1.9934 35.3896 11.2808 45.7197 23.3368 46.3624C35.3775 47.0012 45.7234 37.7166 46.3651 25.6602C47.0066 13.605 37.7201 3.27476 25.6639 2.63189C25.2705 2.61063 24.8769 2.60064 24.4872 2.60064ZM19.7411 23.7422C19.7397 23.7446 19.7386 23.7477 19.7372 23.7501C16.9166 28.4585 18.3193 34.5379 22.827 37.5616L23.2733 37.8448L21.9354 40.0782C15.8431 36.4292 13.8556 28.5048 17.5038 22.4122C17.5052 22.4098 17.5072 22.4077 17.5087 22.4053L19.7411 23.7422ZM21.4706 28.2491C24.2239 33.2007 30.4921 34.9858 35.4442 32.2344H35.4452L36.7098 34.5098C30.5036 37.9613 22.6464 35.7204 19.1942 29.5147C19.1929 29.5123 19.1926 29.5092 19.1913 29.5069L21.4657 28.2422C21.4671 28.2446 21.4692 28.2467 21.4706 28.2491ZM39.2743 18.9297C39.1605 26.0303 33.2917 31.7146 26.1913 31.6016C26.1885 31.6016 26.1852 31.6007 26.1825 31.6006L26.2245 28.9981C26.2271 28.9981 26.2297 28.9981 26.2323 28.9981C31.8973 29.0895 36.5785 24.5532 36.6718 18.8887L39.2743 18.9297ZM22.8095 17.3965C22.8121 17.3966 22.8146 17.3975 22.8173 17.3975L22.7753 20.0001C22.7726 20.0001 22.7701 20.0001 22.7675 20.0001C17.2793 19.9115 12.7149 24.166 12.3505 29.5821L12.329 30.1094L9.72547 30.0684C9.83928 22.9677 15.7089 17.2834 22.8095 17.3965ZM27.0643 8.91998C33.1567 12.5689 35.1451 20.4933 31.497 26.586C31.4955 26.5884 31.4935 26.5905 31.4921 26.5928L29.2587 25.2549C29.26 25.2526 29.2612 25.2504 29.2626 25.2481C32.1742 20.3878 30.5862 14.0665 25.7274 11.1534L27.0643 8.91998ZM12.2899 14.4883C18.4962 11.0365 26.3533 13.2776 29.8055 19.4835C29.8069 19.4858 29.8082 19.4879 29.8095 19.4903L27.535 20.7559C27.5337 20.7536 27.5315 20.7514 27.5302 20.7491C24.8629 15.9521 18.8968 14.1267 14.0243 16.5186L13.5555 16.7637L12.2899 14.4883Z" fill="currentColor"/>\n</svg>\n',"fuzzball.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0C38.0309 0.000123698 49 10.9691 49 24.5C48.9998 38.0307 38.0307 48.9999 24.5 49C10.9691 49 0.000197927 38.0308 0 24.5C0 10.969 10.969 0 24.5 0ZM17.5039 22.4111C13.8556 28.5038 15.8431 36.4292 21.9355 40.0781L23.2734 37.8447L22.8271 37.5615C18.3193 34.5379 16.9168 28.4585 19.7373 23.75C19.7387 23.7476 19.7398 23.7446 19.7412 23.7422L17.5078 22.4053C17.5065 22.4073 17.5052 22.4091 17.5039 22.4111ZM19.1914 29.5068C19.1927 29.5092 19.193 29.5122 19.1943 29.5146C22.6467 35.7204 30.5037 37.9606 36.71 34.5088L35.4443 32.2344C30.4923 34.9857 24.2241 33.2004 21.4707 28.249C21.4694 28.2467 21.4672 28.2445 21.4658 28.2422L19.1914 29.5068ZM36.6709 18.8887C36.5774 24.553 31.8973 29.0885 26.2324 28.9971C26.2298 28.9971 26.2272 28.9981 26.2246 28.998L26.1826 31.6006C26.1852 31.6006 26.1878 31.6015 26.1904 31.6016C33.291 31.7147 39.1606 26.0304 39.2744 18.9297L36.6709 18.8887ZM22.8096 17.3955C15.7091 17.2823 9.83951 22.9667 9.72559 30.0674L12.3291 30.1094L12.3506 29.5811C12.7154 24.1653 17.2796 19.9114 22.7676 20C22.7702 20 22.7728 19.999 22.7754 19.999L22.8174 17.3965C22.8148 17.3964 22.8122 17.3956 22.8096 17.3955ZM25.7275 11.1533C30.5861 14.0665 32.1743 20.3878 29.2627 25.248C29.2614 25.2503 29.2601 25.2526 29.2588 25.2549L31.4922 26.5918C31.4936 26.5897 31.4957 26.5882 31.4971 26.5859C35.1454 20.4933 33.157 12.5679 27.0645 8.91895L25.7275 11.1533ZM29.8057 19.4824C26.3533 13.2769 18.4962 11.0366 12.29 14.4883L13.5557 16.7637V16.7627C18.5079 14.0112 24.7769 15.7972 27.5303 20.749C27.5316 20.7513 27.5329 20.7536 27.5342 20.7559L29.8096 19.4902C29.8083 19.4878 29.807 19.4848 29.8057 19.4824Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"support.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5198 0.570312C24.9496 0.570312 25.3897 0.590359 25.8196 0.610352C32.2196 0.950352 38.0999 3.76027 42.3899 8.53027C46.6798 13.3002 48.8499 19.4498 48.51 25.8496C47.83 38.5896 37.3098 48.5703 24.5598 48.5703C24.1299 48.5703 23.6997 48.56 23.2698 48.54C10.0599 47.8399 -0.119673 36.5097 0.580322 23.2998C1.25039 10.55 11.77 0.570457 24.5198 0.570312ZM24.5198 3.30957C13.23 3.30971 3.91969 12.1499 3.31958 23.4297C3.00958 29.0897 4.94048 34.5298 8.74048 38.7598C12.5405 42.9897 17.7505 45.4803 23.4104 45.7803C23.7802 45.8003 24.17 45.8096 24.5598 45.8096C35.8497 45.8096 45.1598 36.9702 45.76 25.6904C46.06 20.0305 44.1299 14.5803 40.3401 10.3604C36.5501 6.14038 31.3401 3.64963 25.6702 3.34961C25.4751 3.33961 25.2824 3.33215 25.0911 3.32715L24.5198 3.30957ZM11.6946 17.2471C15.4991 10.2812 24.1835 7.56768 31.2883 11.2178C38.5012 14.9237 41.3605 23.7707 37.6526 30.9883C34.0188 38.0606 25.4426 40.9471 18.3059 37.5615L11.9387 38.6846C11.5034 38.7611 11.0571 38.6238 10.7405 38.3154C10.4239 38.0071 10.2751 37.565 10.3401 37.1279L11.3157 30.584C10.443 28.7493 9.96211 26.7525 9.90161 24.7217L9.89478 24.2852C9.89481 21.9537 10.4511 19.6556 11.5168 17.582L11.6946 17.2471ZM30.0315 13.6631C24.2607 10.6984 17.2008 12.9007 14.1067 18.5664L13.9631 18.8389C13.0972 20.5235 12.6448 22.391 12.6448 24.2852L12.6497 24.6406C12.7026 26.4126 13.1513 28.1521 13.9631 29.7314L14.0081 29.8291C14.1048 30.0602 14.137 30.3144 14.0999 30.5635L13.3411 35.6445L18.2708 34.7764L18.3821 34.7617C18.642 34.7375 18.9044 34.7873 19.1379 34.9072C24.9999 37.9189 32.1919 35.5985 35.2063 29.7324C38.2181 23.8701 35.8983 16.6772 30.0315 13.6631ZM25.8801 17.7539C26.1707 17.0526 26.9746 16.7195 27.676 17.0098C28.3775 17.3003 28.7116 18.1051 28.4211 18.8066L28.2385 19.2461C28.8731 19.6865 29.4235 20.2369 29.8645 20.8711L30.304 20.6895C31.0056 20.399 31.8104 20.733 32.1008 21.4346C32.3909 22.1359 32.0578 22.9399 31.3567 23.2305L30.9192 23.4111C30.988 23.7902 31.0253 24.1754 31.0256 24.5625C31.0259 24.9512 30.989 25.3381 30.9202 25.7188L31.3567 25.8994L31.4836 25.96C32.0971 26.2903 32.3731 27.0386 32.1008 27.6963C31.8285 28.3539 31.1042 28.6883 30.4368 28.4883L30.304 28.4404L29.8674 28.2598C29.6481 28.5756 29.4023 28.8733 29.1292 29.1465C28.8543 29.4213 28.5546 29.6684 28.2366 29.8887L28.4211 30.334L28.468 30.4668C28.6681 31.1343 28.3337 31.8585 27.676 32.1309C27.0184 32.403 26.27 32.1271 25.9397 31.5137L25.8801 31.3867L25.6985 30.9482C24.9343 31.0864 24.1511 31.0864 23.387 30.9482L23.2102 31.376L23.1497 31.5039C22.8192 32.117 22.0708 32.3933 21.4133 32.1211C20.7122 31.8305 20.3791 31.0256 20.6692 30.3242L20.8469 29.8936C20.21 29.4503 19.6574 28.8963 19.2161 28.2578L18.7766 28.4404C18.0751 28.7309 17.2703 28.3978 16.9797 27.6963C16.6893 26.9947 17.0224 26.19 17.7239 25.8994L18.1682 25.7158C18.0294 24.9427 18.0356 24.1649 18.1731 23.416L17.7239 23.2305L17.5969 23.1699C16.9836 22.8396 16.7077 22.0921 16.9797 21.4346C17.2521 20.7767 17.9762 20.4423 18.6438 20.6426L18.7766 20.6895L19.2288 20.877C19.6627 20.2518 20.2086 19.698 20.8538 19.251L20.6702 18.8066C20.3797 18.105 20.7127 17.3003 21.4143 17.0098C22.1157 16.7194 22.9196 17.0527 23.2102 17.7539L23.3909 18.1924C24.1537 18.0547 24.9347 18.0553 25.6975 18.1934L25.8801 17.7539ZM25.97 21.1211C25.0907 20.7574 24.1072 20.7439 23.22 21.0801L23.1174 21.1299C21.2761 21.8949 20.3701 23.971 21.0315 25.8242L21.0999 26.0029L21.175 26.1729C21.552 26.9677 22.1994 27.603 23.0012 27.9678C23.0396 27.9798 23.0776 27.9941 23.1155 28.0098C23.1543 28.0258 23.1922 28.0434 23.2288 28.0625C24.0776 28.3828 25.0138 28.383 25.8625 28.0625C25.8988 28.0436 25.9363 28.0257 25.9749 28.0098C26.4272 27.8226 26.8386 27.5483 27.1848 27.2021C27.5246 26.8624 27.7938 26.459 27.9807 26.0166C27.9836 26.0092 27.9864 26.0015 27.9895 25.9941C27.9929 25.986 27.9967 25.9778 28.0002 25.9697C28.1816 25.5235 28.276 25.0463 28.2756 24.5645C28.2753 24.136 28.2013 23.711 28.0569 23.3086L27.9905 23.1377C27.6108 22.2246 26.8837 21.4993 25.97 21.1211Z" fill="currentColor"/>\n</svg>\n',"support.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3704 0.570312C24.8003 0.570316 25.2302 0.580357 25.6702 0.610352C32.0701 0.950364 37.9605 3.76029 42.2405 8.53027C46.5302 13.3001 48.7005 19.4499 48.3606 25.8496C47.6806 38.5895 37.1603 48.5702 24.4104 48.5703H24.3997C23.97 48.5703 23.5403 48.56 23.1106 48.54C9.9006 47.84 -0.279834 36.5098 0.420166 23.2998C1.10024 10.5599 11.6204 0.570312 24.3704 0.570312ZM31.0149 11.4385C24.0314 7.85071 15.4942 10.5188 11.7542 17.3662L11.5803 17.6953C10.5326 19.7334 9.98574 21.9925 9.9856 24.2842L9.99243 24.7139C10.0527 26.7345 10.5374 28.7205 11.4153 30.542L10.428 37.1631C10.3746 37.5208 10.4971 37.8833 10.7561 38.1357C11.0152 38.3878 11.3796 38.5001 11.7356 38.4375L18.1819 37.3008C25.211 40.6821 33.6876 37.8493 37.2717 30.873C40.9156 23.7789 38.1052 15.0813 31.0149 11.4385ZM13.7288 18.4453C16.8878 12.6622 24.0949 10.4136 29.9866 13.4404C35.9753 16.5174 38.3443 23.8604 35.2698 29.8457C32.2407 35.7412 25.0781 38.1288 19.1458 35.2686L18.8645 35.1289C18.7008 35.0448 18.5194 35.0028 18.3372 35.0049L18.1555 35.0215L12.884 35.9502L13.6936 30.5254L13.7053 30.3506C13.7043 30.234 13.6852 30.1176 13.6487 30.0068L13.5813 29.8447C12.7525 28.2321 12.2953 26.4558 12.2415 24.6465L12.2356 24.2842C12.2357 22.3503 12.6972 20.4436 13.5813 18.7236L13.7288 18.4453ZM27.3206 16.9609C26.7468 16.7234 26.0888 16.9958 25.8508 17.5693L25.5901 18.1973C24.7295 18.0126 23.8395 18.0122 22.9788 18.1963L22.72 17.5693L22.6702 17.4658C22.4 16.964 21.7882 16.7385 21.2502 16.9609C20.7122 17.1838 20.4381 17.7762 20.6018 18.3223L20.6409 18.4307L20.9036 19.0645C20.1531 19.5493 19.5312 20.1799 19.0627 20.9023L18.4309 20.6406L18.3225 20.6016C17.7764 20.4377 17.1842 20.712 16.9612 21.25C16.7387 21.7881 16.9641 22.3998 17.4661 22.6699L17.5696 22.7197L18.1985 22.9795C18.0145 23.8246 18.005 24.714 18.1926 25.5918L17.5696 25.8506C16.9959 26.0884 16.7238 26.7465 16.9612 27.3203C17.199 27.894 17.8571 28.1672 18.4309 27.9297L19.052 27.6719C19.5658 28.4678 20.2554 29.1365 21.0676 29.627L20.7415 30.4189C20.5038 30.9929 20.7761 31.6508 21.3499 31.8887C21.888 32.1114 22.5006 31.8859 22.7708 31.3838L22.8196 31.2793L23.1741 30.4219C23.9738 30.5663 24.7951 30.5544 25.5911 30.3838L25.8508 31.0107C26.0887 31.5842 26.7468 31.8566 27.3206 31.6191C27.8942 31.3814 28.1673 30.7233 27.9299 30.1494L27.6663 29.5146C28.035 29.2765 28.3807 29.0013 28.6926 28.6895C29.0035 28.3786 29.2782 28.0344 29.5159 27.667L30.1497 27.9297C30.7235 28.1672 31.3816 27.894 31.6194 27.3203C31.8566 26.7465 31.5845 26.0884 31.011 25.8506L30.3762 25.5869C30.4675 25.1593 30.5162 24.7216 30.5159 24.2822C30.5155 23.8444 30.4666 23.4085 30.3752 22.9824L31.011 22.7197C31.5845 22.482 31.8565 21.8237 31.6194 21.25C31.3965 20.7121 30.8041 20.4379 30.2581 20.6016L30.1497 20.6406L29.5139 20.9033C29.0359 20.1654 28.4072 19.5363 27.6692 19.0586L27.9299 18.4307C28.1672 17.8568 27.8943 17.1986 27.3206 16.9609ZM22.8655 20.5684C23.8137 20.2074 24.8658 20.2213 25.8059 20.6104C26.7807 21.0138 27.556 21.7876 27.9612 22.7617L28.0325 22.9443C28.1864 23.3734 28.2655 23.8273 28.2659 24.2842C28.2662 24.8064 28.1637 25.325 27.9641 25.8076C27.7644 26.2901 27.471 26.7294 27.1018 27.0986C26.7324 27.4679 26.2925 27.7603 25.8098 27.96C25.7726 27.9754 25.7361 27.9929 25.7014 28.0117C24.7541 28.3725 23.7033 28.3603 22.7639 27.9717C21.8028 27.574 21.0362 26.8154 20.6272 25.8604C20.6213 25.8439 20.6164 25.8259 20.6096 25.8096C20.6037 25.7954 20.5955 25.7814 20.5891 25.7676C19.7853 23.7551 20.7511 21.4545 22.762 20.6191C22.7977 20.6043 22.8321 20.5864 22.8655 20.5684Z" fill="currentColor"/>\n</svg>\n',"warewulf.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3101 0.820312C24.7401 0.820312 25.1701 0.829609 25.6001 0.849609C38.8101 1.54961 48.9905 12.8799 48.2905 26.0898C47.6105 38.8398 37.0902 48.8202 24.3403 48.8203C23.9105 48.8203 23.4704 48.8003 23.0405 48.7803C16.6407 48.4403 10.7602 45.6302 6.47021 40.8604C2.18024 36.0904 0.0101229 29.94 0.350098 23.54C1.0301 10.8 11.5503 0.820313 24.3003 0.820312H24.3101ZM24.3003 3.57031C13.0103 3.57031 3.7001 12.4104 3.1001 23.6904C2.946 26.4784 3.34567 29.2696 4.27588 31.9023C5.20615 34.5351 6.64856 36.9579 8.52002 39.0303C12.31 43.2501 17.5201 45.74 23.1899 46.04C23.5799 46.06 23.9603 46.0703 24.3403 46.0703C35.6301 46.0702 44.9404 37.23 45.5405 25.9502C45.8505 20.2902 43.9196 14.8501 40.1196 10.6201C36.3196 6.3902 31.1096 3.89961 25.4497 3.59961C25.0799 3.57963 24.6901 3.57032 24.3003 3.57031ZM22.7729 16.2012L29.7417 16.792L32.562 20.4805L43.394 20.5625L38.8022 29.5781L29.8638 31.6094L18.7085 40.5439C18.1159 41.0178 17.2504 40.9223 16.7759 40.3301C16.3016 39.7376 16.3977 38.8722 16.9897 38.3975L28.3901 29.2676L28.6362 29.0693L28.9448 29L36.9351 27.1826L38.9243 23.2773L31.1958 23.2207L30.7876 22.6855L28.2964 19.4287L21.5649 18.8594L18.2944 15.6914L17.979 21.3779L11.1118 24.9561L15.4185 28.4834L13.9839 32.0928L17.3501 32.7188L17.4868 32.751C18.1559 32.9466 18.5816 33.6212 18.4517 34.3213C18.3215 35.0211 17.6822 35.4988 16.9878 35.4414L16.8481 35.4219L10.1938 34.1875L12.1196 29.3359L6.146 24.4443L15.3198 19.6621L15.8833 9.52832L22.7729 16.2012ZM27.2144 20.8711L29.0786 23.6152L25.3989 23.4658L23.5151 20.7002L27.2144 20.8711Z" fill="currentColor"/>\n</svg>\n',"warewulf.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0254 48.001H24.0156C24.0173 48.001 24.0189 48 24.0205 48C24.0221 48 24.0238 48.001 24.0254 48.001ZM23.9854 0C24.4153 0 24.8454 0.0102783 25.2754 0.0302734C38.4857 0.730289 48.6657 12.0602 47.9658 25.2705C47.2859 38.0092 36.7686 47.9974 24.0205 48C23.5922 47.9999 23.1639 47.9908 22.7256 47.9609C16.3254 47.6209 10.4354 44.8111 6.15527 40.041C1.86517 35.2709 -0.304834 29.1209 0.0351562 22.7207C0.715171 9.98042 11.2351 9.85227e-05 23.9854 0ZM15.2471 18.998L6.29395 23.6709L12.1152 28.4395L10.2344 33.1777L16.8604 34.4072C17.4709 34.5203 18.0574 34.1164 18.1709 33.5059C18.2839 32.8952 17.8811 32.3087 17.2705 32.1953L13.3359 31.4639L14.8145 27.7412L10.3555 24.0889L17.4229 20.4014L17.7607 14.3115L21.0723 17.5186L21.3604 17.7969L28.1162 18.3691L30.6836 21.7148L31.0186 22.1504L31.5674 22.1553L39.0273 22.2109L36.8027 26.5791L28.6963 28.4238L28.4443 28.4814L16.8418 37.7725C16.3571 38.1609 16.2788 38.8696 16.667 39.3545C17.0311 39.809 17.6765 39.9061 18.1553 39.5967L18.248 39.5293L29.4473 30.5605L38.3291 28.541L42.6846 19.9893L32.1338 19.9092L29.2959 16.2109L22.3486 15.6221L15.7891 9.26855L15.2471 18.998ZM25.2803 22.3086L29.0518 22.6133L27.2998 20.2129L23.5078 19.8887L25.2803 22.3086Z" fill="currentColor"/>\n</svg>\n'},e.quanticElement=Ce,e.tableVariantContext=ns});
|
|
39738
|
+
`,t([Le({type:"boolean",default:"false",reflect:!0,description:"Whether the toast is visible."})],e.Toast.prototype,"open",void 0),t([Le({type:"ToastType",options:Object.values(ys),default:ys.Info,reflect:!0,description:"Severity. Drives icon and color tokens."})],e.Toast.prototype,"type",void 0),t([Le({type:"boolean",attribute:"show-close-button",default:"true",description:'Shows a built-in close button. Click dispatches a "close" event.'})],e.Toast.prototype,"showCloseButton",void 0),t([Le({type:"string",attribute:"aria-label",description:"Accessible label when no title slot is provided."})],e.Toast.prototype,"ariaLabel",void 0),e.Toast=t([Ie("open-changed",{description:"Fired when the open state changes.",detail:"{ open: boolean }"}),Ie("close",{description:"Fired when the user clicks the close button. The consumer is responsible for setting open=false."}),Ce("quantic-toast")],e.Toast),e.AlertType=qe,e.BadgeColor=_i,e.BadgeSize=Ei,e.ButtonGroupSize=Yi,e.ButtonGrow=Te,e.ButtonSize=He,e.ButtonVariant=ze,e.CapacityBarColor=Zi,e.CapacityBarSize=Ui,e.CardGroupDensity=sn,e.CheckboxSize=rn,e.CodeInputSize=cn,e.ComboboxSize=$i,e.DialogBackdrop=an,e.DialogRole=dn,e.DialogSize=ln,e.DropdownMenuSize=Wn,e.FieldGroupLayout=no,e.FieldGroupSize=io,e.FieldHintPosition=oo,e.FieldSize=so,e.FieldValidationStatus=to,e.FieldsetSize=go,e.FieldsetVariant=vo,e.IconBase=Ue,e.IconLabelSize=wo,e.IconName=Ee,e.IconSize=_e,e.LOG_OUTPUT_DEFAULTS=ko,e.LayoutVariant=Mo,e.NumberInputSize=mo,e.PaginationSize=Vo,e.PopoverPlacement=Kn,e.PopoverTrigger=Jn,e.ProgressColor=_o,e.ProgressSize=$o,e.QuanticElement=fe,e.RadioGroupVariant=uo,e.RadioSize=ao,e.SelectSize=lo,e.SidebarMenuItemVariant=bo,e.SparklineColor=Go,e.SparklineVariant=Zo,e.SpinnerColor=Eo,e.SpinnerSize=Uo,e.StatusTagColor=gs,e.TabsOrientation=ss,e.TabsSize=cs,e.TagSize=ps,e.TextInputSize=ro,e.TextSize=ws,e.TextVariant=vs,e.TextareaResize=xs,e.TextareaSize=ks,e.ToastType=ys,e.ToggleSize=po,e.icons={"apptainer.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0.620117C37.6001 0.620117 48.3701 11.3901 48.3701 24.6201C48.3701 37.8501 37.6001 48.6201 24.3701 48.6201C11.1402 48.6201 0.370183 37.8501 0.370117 24.6201C0.370117 11.3901 11.1401 0.620117 24.3701 0.620117ZM24.3701 3.37012C12.6501 3.37012 3.12012 12.9001 3.12012 24.6201C3.12018 36.3401 12.6502 45.8701 24.3701 45.8701C36.0901 45.8701 45.6201 36.3401 45.6201 24.6201C45.6201 12.9001 36.0901 3.37012 24.3701 3.37012ZM32.0078 32.9951C32.0754 33.0597 32.1383 33.1318 32.1934 33.2119C32.2903 33.3533 32.3562 33.5068 32.3945 33.6641L35.4707 38.9922L35.5352 39.1172C35.8209 39.7527 35.584 40.514 34.9678 40.8701C34.3513 41.2261 33.5737 41.0505 33.166 40.4854L33.0898 40.3672L30.5186 35.9141C28.6877 36.8711 26.6489 37.3769 24.5703 37.374H24.5684L24.5674 37.375C22.2699 37.3745 20.111 36.7669 18.2393 35.7061L15.6406 40.207C15.2609 40.8646 14.4203 41.0896 13.7627 40.71C13.1052 40.3301 12.88 39.4896 13.2598 38.832L24.3203 19.6797L32.0078 32.9951ZM19.6143 33.3252C21.0818 34.1527 22.7704 34.625 24.5703 34.625H24.5723L24.9531 34.6182C26.4139 34.5649 27.8417 34.191 29.1416 33.5303L24.3193 25.1777L19.6143 33.3252ZM35.8066 21.1729C36.5568 21.0555 37.2604 21.5682 37.3779 22.3184C37.4811 22.9776 37.5254 23.6489 37.5254 24.3174C37.5253 26.7288 36.8738 28.9981 35.7373 30.9395L35.6602 31.0576C35.2491 31.6202 34.4698 31.7912 33.8555 31.4316C33.2003 31.048 32.9798 30.2051 33.3633 29.5498L33.5273 29.2607C34.3219 27.7966 34.7753 26.11 34.7754 24.3174C34.7754 23.7682 34.739 23.2407 34.6611 22.7432C34.544 21.9931 35.0566 21.2903 35.8066 21.1729ZM13.293 21.4336C14.0447 21.54 14.5681 22.2356 14.4619 22.9873C14.402 23.4102 14.375 23.8529 14.375 24.3174V24.3193C14.3724 26.0448 14.8013 27.7409 15.6182 29.251L15.7861 29.5508L15.8516 29.6758C16.1405 30.3097 15.9082 31.0722 15.2939 31.4316C14.6795 31.791 13.9011 31.6194 13.4902 31.0566L13.4131 30.9395L13.1992 30.5596C12.1641 28.646 11.6218 26.4986 11.625 24.3154C11.6251 23.7455 11.6584 23.1724 11.7393 22.6016C11.846 21.8502 12.5415 21.3274 13.293 21.4336ZM26.126 12.6582C26.3031 11.9689 26.9723 11.5357 27.6611 11.6396L27.7998 11.668L28.376 11.8311C31.231 12.7099 33.6556 14.56 35.2959 16.9785C35.7219 17.6069 35.558 18.4625 34.9297 18.8887C34.3013 19.3145 33.4457 19.1506 33.0195 18.5225C31.717 16.602 29.8018 15.1471 27.5664 14.459L27.1152 14.332L26.9814 14.29C26.3273 14.0495 25.9491 13.3477 26.126 12.6582ZM21.3506 11.668C22.086 11.4792 22.8354 11.9229 23.0244 12.6582C23.213 13.3936 22.7695 14.1432 22.0342 14.332C19.6056 14.9558 17.5207 16.4736 16.1426 18.5186L16.0576 18.6309C15.6118 19.1664 14.8237 19.2883 14.2334 18.8906C13.6039 18.4662 13.4382 17.6111 13.8623 16.9814L14.1982 16.5049C15.9343 14.1612 18.4402 12.4154 21.3506 11.668Z" fill="currentColor"/>\n</svg>\n',"apptainer.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0.620117C37.73 0.620117 48.5 11.3901 48.5 24.6201C48.4999 37.8501 37.73 48.6201 24.5 48.6201C11.27 48.6201 0.500066 37.8501 0.5 24.6201C0.5 11.3901 11.27 0.620117 24.5 0.620117ZM13.6055 38.958C13.2952 39.496 13.4798 40.1845 14.0176 40.4951C14.5554 40.8053 15.2439 40.6205 15.5547 40.083L18.167 35.5586C20.0267 36.6374 22.1871 37.2545 24.4883 37.2549V37.2559L24.4893 37.2549L24.4902 37.2559V37.2549C26.6919 37.258 28.8491 36.6812 30.75 35.5928L33.4355 40.2432L33.498 40.3398C33.8316 40.802 34.4684 40.9462 34.9727 40.6553C35.4769 40.3641 35.6699 39.7407 35.4365 39.2207L35.3848 39.1182L24.4502 20.1807L13.6055 38.958ZM29.625 33.6445C28.1777 34.4718 26.5499 34.9387 24.8799 34.999L24.4922 35.0059H24.4902C22.595 35.0059 20.8203 34.4971 19.292 33.6094L24.4492 24.6797L29.625 33.6445ZM13.249 22.0068C12.6341 21.9192 12.0644 22.347 11.9766 22.9619C11.898 23.5124 11.8653 24.0662 11.8652 24.6191C11.8622 26.7335 12.3917 28.813 13.4023 30.665L13.6113 31.0322L13.6748 31.1289C14.0128 31.5875 14.651 31.7254 15.1523 31.4297C15.6535 31.1337 15.8406 30.5088 15.6025 29.9912L15.5488 29.8887L15.3779 29.5869C14.548 28.0661 14.1127 26.3583 14.1152 24.6221V24.6211C14.1152 24.1553 14.143 23.7086 14.2041 23.2803C14.292 22.6653 13.8639 22.0948 13.249 22.0068ZM36.958 22.5723C36.8126 22.0211 36.2696 21.6583 35.6943 21.749C35.1191 21.8401 34.7154 22.3526 34.7471 22.9219L34.7588 23.0361L34.8105 23.4189C34.8543 23.806 34.875 24.2084 34.875 24.6211C34.8748 26.5444 34.3515 28.3479 33.4414 29.8887C33.1259 30.4236 33.3031 31.1138 33.8379 31.4297C34.3726 31.7452 35.0628 31.5675 35.3789 31.0332C36.4885 29.1546 37.1248 26.957 37.125 24.6211C37.125 24.1344 37.1004 23.6465 37.0459 23.165L36.9814 22.6855L36.958 22.5723ZM14.0498 17.5186C13.7011 18.0323 13.8341 18.7319 14.3477 19.0811C14.8612 19.4298 15.5608 19.2964 15.9102 18.7832L14.0498 17.5186ZM27.5244 12.3574C26.9606 12.2736 26.4132 12.629 26.2695 13.1934C26.1264 13.7576 26.4373 14.3317 26.9727 14.5273L27.083 14.5605L27.543 14.6895C29.8208 15.3846 31.769 16.8528 33.0918 18.7861C33.4427 19.2982 34.1428 19.4295 34.6553 19.0791C35.1678 18.7284 35.2986 18.0283 34.9482 17.5156C33.3462 15.1742 30.9808 13.3858 28.1992 12.5371L27.6377 12.3809L27.5244 12.3574ZM22.7207 13.1934C22.5674 12.5913 21.9546 12.2277 21.3525 12.3809C18.3285 13.1507 15.7495 15.0184 14.0498 17.5186L14.9805 18.1504L15.9102 18.7832C17.3104 16.7235 19.4324 15.1908 21.9082 14.5605C22.5096 14.4071 22.8733 13.795 22.7207 13.1934Z" fill="currentColor"/>\n</svg>\n',"ascender.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.410156C38.1001 0.410156 48.8701 11.1802 48.8701 24.4102C48.87 37.6401 38.1001 48.4102 24.8701 48.4102C11.6402 48.4102 0.870217 37.6401 0.870117 24.4102C0.870117 11.1802 11.6401 0.410156 24.8701 0.410156ZM24.8701 3.16016C13.1501 3.16016 3.62012 12.6902 3.62012 24.4102C3.62022 36.1301 13.1502 45.6602 24.8701 45.6602C36.5901 45.6602 46.12 36.1301 46.1201 24.4102C46.1201 12.6902 36.5901 3.16016 24.8701 3.16016ZM31.6807 37.625H16.3301C15.5707 37.625 14.9551 37.0094 14.9551 36.25C14.9551 35.4906 15.5707 34.875 16.3301 34.875H26.8994L19.9141 22.8711L11.9404 36.6777C11.5606 37.3352 10.72 37.5603 10.0625 37.1807C9.40497 36.8009 9.17994 35.9603 9.55957 35.3027L19.9053 17.3887L31.6807 37.625ZM42.209 30.499L42.2734 30.624C42.561 31.2588 42.3263 32.0211 41.7109 32.3789C41.0955 32.7366 40.3175 32.5629 39.9082 31.999L39.8311 31.8809L35.9326 25.1748H27.9805C27.2211 25.1748 26.6055 24.5592 26.6055 23.7998C26.6056 23.0405 27.2211 22.4248 27.9805 22.4248H34.333L28.7031 12.7412L25.5605 18.1777L25.4844 18.2959C25.0765 18.8613 24.2982 19.037 23.6816 18.6807C23.0242 18.3006 22.7996 17.4592 23.1797 16.8018L28.6963 7.25879L42.209 30.499Z" fill="currentColor"/>\n</svg>\n',"ascender.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.2598 0.410156C37.4898 0.410156 48.2598 11.1802 48.2598 24.4102C48.2597 37.6401 37.4897 48.4102 24.2598 48.4102C11.0299 48.41 0.259865 37.64 0.259766 24.4102C0.259766 11.1802 11.0299 0.410289 24.2598 0.410156ZM9.13184 35.7539C8.825 36.2941 9.0145 36.9812 9.55469 37.2881C10.0949 37.5947 10.7821 37.4054 11.0889 36.8652L19.3115 22.3867L26.7246 35.125H15.7305C15.1091 35.125 14.6055 35.6287 14.6055 36.25C14.6055 36.8713 15.1091 37.375 15.7305 37.375H30.6367L19.2881 17.873L9.13184 35.7539ZM22.5957 17.2676C22.2852 17.8057 22.4698 18.4941 23.0078 18.8047C23.5459 19.115 24.2344 18.9306 24.5449 18.3926L28.0938 12.2432L34.1582 22.6748H26.9902C26.369 22.6749 25.8653 23.1786 25.8652 23.7998C25.8652 24.4211 26.369 24.9247 26.9902 24.9248H35.4658L39.4375 31.7559L39.501 31.8516C39.8359 32.313 40.472 32.4549 40.9756 32.1621C41.479 31.8692 41.671 31.2459 41.4355 30.7266L41.3828 30.625L28.0869 7.75586L22.5957 17.2676Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8198 0C25.2497 0 25.6799 0.0102806 26.1099 0.0302734C39.3197 0.730265 49.5 12.0597 48.8003 25.2695C48.1303 38.0195 37.6099 48 24.8599 48C24.4299 48 23.99 47.98 23.5601 47.96C17.1601 47.6199 11.2797 44.81 6.98975 40.04C2.69984 35.2701 0.529633 29.1197 0.869629 22.7197C1.54975 9.97994 12.07 0.00014739 24.8198 0ZM24.8198 2.75C13.53 2.75015 4.21962 11.5902 3.61963 22.8701C3.46548 25.6581 3.86521 28.4492 4.79541 31.082C5.72568 33.7149 7.169 36.1375 9.04053 38.21C12.8305 42.4298 18.0405 44.9197 23.7104 45.2197C24.0903 45.2397 24.48 45.25 24.8599 45.25C36.1499 45.25 45.4601 36.4099 46.0601 25.1299C46.68 13.43 37.6701 3.40034 25.9702 2.78027C25.5902 2.76027 25.2098 2.75 24.8198 2.75ZM28.9907 10.2197L26.9487 12.0615L26.2144 11.2461V22.625H37.5806L36.7876 21.9102L38.6294 19.8682L43.2231 24.0098L38.6294 28.1514L36.7876 26.1094L37.6021 25.375H26.2144V36.75L26.939 35.9473L28.981 37.7891L24.8394 42.3828L20.6968 37.7891L22.7397 35.9473L23.4644 36.75V25.375H12.0981L12.9019 26.0996L11.0601 28.1416L6.46533 24L11.0601 19.8574L12.9019 21.9004L12.0981 22.625H23.4644V11.2676L22.7495 12.0615L20.7075 10.2197L24.8491 5.62598L28.9907 10.2197ZM18.3345 30.6152H20.2397V33.3652H15.5845V28.7207H18.3345V30.6152ZM34.2046 33.2559H29.5601V30.5059H31.4546V28.6104H34.2046V33.2559ZM20.1294 17.4951H18.2349V19.4004H15.4849V14.7451H20.1294V17.4951ZM34.0952 19.29H31.3452V17.3955H29.4497V14.6455H34.0952V19.29Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.02 48H24.0103C24.0119 48 24.0135 47.999 24.0151 47.999C24.0168 47.999 24.0184 48 24.02 48ZM23.98 0C24.41 0 24.84 0.0102734 25.27 0.0302734C38.4798 0.730272 48.6602 12.0597 47.9604 25.2695C47.2805 38.0078 36.7628 47.9964 24.0151 47.999C23.5868 47.9989 23.1585 47.9898 22.7202 47.96C16.3202 47.62 10.4299 44.81 6.1499 40.04C1.85992 35.27 -0.310214 29.1197 0.0297852 22.7197C0.709913 9.97986 11.2301 1.99937e-05 23.98 0ZM20.0337 10.2109L21.8911 11.8848L22.8745 10.793V22.875H10.7827L11.8745 21.8916L10.2007 20.0342L5.80322 24L10.2007 27.9648L11.8745 26.1084L10.7837 25.125H22.8745V37.2148L21.8911 36.124L20.0337 37.7988L23.9995 42.1963L27.9644 37.7988L26.1079 36.124L25.271 37.0527L25.1245 37.2148V25.125H37.2261L36.1245 26.1182L37.7983 27.9756L38.7261 27.1377L42.1958 24.0098L38.7261 20.8818L37.7983 20.0439L36.1245 21.9014L37.2046 22.875H25.1245V10.7939L26.1079 11.8848L27.9644 10.2109L23.9995 5.81348L20.0337 10.2109ZM14.9946 28.7207V33.1152H19.3892V30.8652H17.2446V28.7207H14.9946ZM30.8647 28.6104V30.7559H28.7095V33.0059H33.1147V28.6104H30.8647ZM14.8843 14.9951V19.4004H17.1343V17.2451H19.2896V14.9951H14.8843ZM28.6089 14.8955V17.1455H30.7544V19.29H33.0044V14.8955H28.6089Z" fill="currentColor"/>\n</svg>\n',"fuzzball.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.035036 23.1954C0.753066 9.70572 12.3046 -0.654732 25.8026 0.0322852C39.2924 0.750967 49.6825 12.3095 48.9647 25.7989C48.2703 38.8474 37.4317 48.9979 24.5145 48.9981C24.0777 48.9981 23.6396 48.9861 23.1981 48.9629C9.70842 48.2445 -0.682501 36.6851 0.035036 23.1954ZM24.4872 2.60064C12.9421 2.60071 3.2556 11.6715 2.63465 23.334C1.9934 35.3896 11.2808 45.7197 23.3368 46.3624C35.3775 47.0012 45.7234 37.7166 46.3651 25.6602C47.0066 13.605 37.7201 3.27476 25.6639 2.63189C25.2705 2.61063 24.8769 2.60064 24.4872 2.60064ZM19.7411 23.7422C19.7397 23.7446 19.7386 23.7477 19.7372 23.7501C16.9166 28.4585 18.3193 34.5379 22.827 37.5616L23.2733 37.8448L21.9354 40.0782C15.8431 36.4292 13.8556 28.5048 17.5038 22.4122C17.5052 22.4098 17.5072 22.4077 17.5087 22.4053L19.7411 23.7422ZM21.4706 28.2491C24.2239 33.2007 30.4921 34.9858 35.4442 32.2344H35.4452L36.7098 34.5098C30.5036 37.9613 22.6464 35.7204 19.1942 29.5147C19.1929 29.5123 19.1926 29.5092 19.1913 29.5069L21.4657 28.2422C21.4671 28.2446 21.4692 28.2467 21.4706 28.2491ZM39.2743 18.9297C39.1605 26.0303 33.2917 31.7146 26.1913 31.6016C26.1885 31.6016 26.1852 31.6007 26.1825 31.6006L26.2245 28.9981C26.2271 28.9981 26.2297 28.9981 26.2323 28.9981C31.8973 29.0895 36.5785 24.5532 36.6718 18.8887L39.2743 18.9297ZM22.8095 17.3965C22.8121 17.3966 22.8146 17.3975 22.8173 17.3975L22.7753 20.0001C22.7726 20.0001 22.7701 20.0001 22.7675 20.0001C17.2793 19.9115 12.7149 24.166 12.3505 29.5821L12.329 30.1094L9.72547 30.0684C9.83928 22.9677 15.7089 17.2834 22.8095 17.3965ZM27.0643 8.91998C33.1567 12.5689 35.1451 20.4933 31.497 26.586C31.4955 26.5884 31.4935 26.5905 31.4921 26.5928L29.2587 25.2549C29.26 25.2526 29.2612 25.2504 29.2626 25.2481C32.1742 20.3878 30.5862 14.0665 25.7274 11.1534L27.0643 8.91998ZM12.2899 14.4883C18.4962 11.0365 26.3533 13.2776 29.8055 19.4835C29.8069 19.4858 29.8082 19.4879 29.8095 19.4903L27.535 20.7559C27.5337 20.7536 27.5315 20.7514 27.5302 20.7491C24.8629 15.9521 18.8968 14.1267 14.0243 16.5186L13.5555 16.7637L12.2899 14.4883Z" fill="currentColor"/>\n</svg>\n',"fuzzball.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0C38.0309 0.000123698 49 10.9691 49 24.5C48.9998 38.0307 38.0307 48.9999 24.5 49C10.9691 49 0.000197927 38.0308 0 24.5C0 10.969 10.969 0 24.5 0ZM17.5039 22.4111C13.8556 28.5038 15.8431 36.4292 21.9355 40.0781L23.2734 37.8447L22.8271 37.5615C18.3193 34.5379 16.9168 28.4585 19.7373 23.75C19.7387 23.7476 19.7398 23.7446 19.7412 23.7422L17.5078 22.4053C17.5065 22.4073 17.5052 22.4091 17.5039 22.4111ZM19.1914 29.5068C19.1927 29.5092 19.193 29.5122 19.1943 29.5146C22.6467 35.7204 30.5037 37.9606 36.71 34.5088L35.4443 32.2344C30.4923 34.9857 24.2241 33.2004 21.4707 28.249C21.4694 28.2467 21.4672 28.2445 21.4658 28.2422L19.1914 29.5068ZM36.6709 18.8887C36.5774 24.553 31.8973 29.0885 26.2324 28.9971C26.2298 28.9971 26.2272 28.9981 26.2246 28.998L26.1826 31.6006C26.1852 31.6006 26.1878 31.6015 26.1904 31.6016C33.291 31.7147 39.1606 26.0304 39.2744 18.9297L36.6709 18.8887ZM22.8096 17.3955C15.7091 17.2823 9.83951 22.9667 9.72559 30.0674L12.3291 30.1094L12.3506 29.5811C12.7154 24.1653 17.2796 19.9114 22.7676 20C22.7702 20 22.7728 19.999 22.7754 19.999L22.8174 17.3965C22.8148 17.3964 22.8122 17.3956 22.8096 17.3955ZM25.7275 11.1533C30.5861 14.0665 32.1743 20.3878 29.2627 25.248C29.2614 25.2503 29.2601 25.2526 29.2588 25.2549L31.4922 26.5918C31.4936 26.5897 31.4957 26.5882 31.4971 26.5859C35.1454 20.4933 33.157 12.5679 27.0645 8.91895L25.7275 11.1533ZM29.8057 19.4824C26.3533 13.2769 18.4962 11.0366 12.29 14.4883L13.5557 16.7637V16.7627C18.5079 14.0112 24.7769 15.7972 27.5303 20.749C27.5316 20.7513 27.5329 20.7536 27.5342 20.7559L29.8096 19.4902C29.8083 19.4878 29.807 19.4848 29.8057 19.4824Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"support.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5198 0.570312C24.9496 0.570312 25.3897 0.590359 25.8196 0.610352C32.2196 0.950352 38.0999 3.76027 42.3899 8.53027C46.6798 13.3002 48.8499 19.4498 48.51 25.8496C47.83 38.5896 37.3098 48.5703 24.5598 48.5703C24.1299 48.5703 23.6997 48.56 23.2698 48.54C10.0599 47.8399 -0.119673 36.5097 0.580322 23.2998C1.25039 10.55 11.77 0.570457 24.5198 0.570312ZM24.5198 3.30957C13.23 3.30971 3.91969 12.1499 3.31958 23.4297C3.00958 29.0897 4.94048 34.5298 8.74048 38.7598C12.5405 42.9897 17.7505 45.4803 23.4104 45.7803C23.7802 45.8003 24.17 45.8096 24.5598 45.8096C35.8497 45.8096 45.1598 36.9702 45.76 25.6904C46.06 20.0305 44.1299 14.5803 40.3401 10.3604C36.5501 6.14038 31.3401 3.64963 25.6702 3.34961C25.4751 3.33961 25.2824 3.33215 25.0911 3.32715L24.5198 3.30957ZM11.6946 17.2471C15.4991 10.2812 24.1835 7.56768 31.2883 11.2178C38.5012 14.9237 41.3605 23.7707 37.6526 30.9883C34.0188 38.0606 25.4426 40.9471 18.3059 37.5615L11.9387 38.6846C11.5034 38.7611 11.0571 38.6238 10.7405 38.3154C10.4239 38.0071 10.2751 37.565 10.3401 37.1279L11.3157 30.584C10.443 28.7493 9.96211 26.7525 9.90161 24.7217L9.89478 24.2852C9.89481 21.9537 10.4511 19.6556 11.5168 17.582L11.6946 17.2471ZM30.0315 13.6631C24.2607 10.6984 17.2008 12.9007 14.1067 18.5664L13.9631 18.8389C13.0972 20.5235 12.6448 22.391 12.6448 24.2852L12.6497 24.6406C12.7026 26.4126 13.1513 28.1521 13.9631 29.7314L14.0081 29.8291C14.1048 30.0602 14.137 30.3144 14.0999 30.5635L13.3411 35.6445L18.2708 34.7764L18.3821 34.7617C18.642 34.7375 18.9044 34.7873 19.1379 34.9072C24.9999 37.9189 32.1919 35.5985 35.2063 29.7324C38.2181 23.8701 35.8983 16.6772 30.0315 13.6631ZM25.8801 17.7539C26.1707 17.0526 26.9746 16.7195 27.676 17.0098C28.3775 17.3003 28.7116 18.1051 28.4211 18.8066L28.2385 19.2461C28.8731 19.6865 29.4235 20.2369 29.8645 20.8711L30.304 20.6895C31.0056 20.399 31.8104 20.733 32.1008 21.4346C32.3909 22.1359 32.0578 22.9399 31.3567 23.2305L30.9192 23.4111C30.988 23.7902 31.0253 24.1754 31.0256 24.5625C31.0259 24.9512 30.989 25.3381 30.9202 25.7188L31.3567 25.8994L31.4836 25.96C32.0971 26.2903 32.3731 27.0386 32.1008 27.6963C31.8285 28.3539 31.1042 28.6883 30.4368 28.4883L30.304 28.4404L29.8674 28.2598C29.6481 28.5756 29.4023 28.8733 29.1292 29.1465C28.8543 29.4213 28.5546 29.6684 28.2366 29.8887L28.4211 30.334L28.468 30.4668C28.6681 31.1343 28.3337 31.8585 27.676 32.1309C27.0184 32.403 26.27 32.1271 25.9397 31.5137L25.8801 31.3867L25.6985 30.9482C24.9343 31.0864 24.1511 31.0864 23.387 30.9482L23.2102 31.376L23.1497 31.5039C22.8192 32.117 22.0708 32.3933 21.4133 32.1211C20.7122 31.8305 20.3791 31.0256 20.6692 30.3242L20.8469 29.8936C20.21 29.4503 19.6574 28.8963 19.2161 28.2578L18.7766 28.4404C18.0751 28.7309 17.2703 28.3978 16.9797 27.6963C16.6893 26.9947 17.0224 26.19 17.7239 25.8994L18.1682 25.7158C18.0294 24.9427 18.0356 24.1649 18.1731 23.416L17.7239 23.2305L17.5969 23.1699C16.9836 22.8396 16.7077 22.0921 16.9797 21.4346C17.2521 20.7767 17.9762 20.4423 18.6438 20.6426L18.7766 20.6895L19.2288 20.877C19.6627 20.2518 20.2086 19.698 20.8538 19.251L20.6702 18.8066C20.3797 18.105 20.7127 17.3003 21.4143 17.0098C22.1157 16.7194 22.9196 17.0527 23.2102 17.7539L23.3909 18.1924C24.1537 18.0547 24.9347 18.0553 25.6975 18.1934L25.8801 17.7539ZM25.97 21.1211C25.0907 20.7574 24.1072 20.7439 23.22 21.0801L23.1174 21.1299C21.2761 21.8949 20.3701 23.971 21.0315 25.8242L21.0999 26.0029L21.175 26.1729C21.552 26.9677 22.1994 27.603 23.0012 27.9678C23.0396 27.9798 23.0776 27.9941 23.1155 28.0098C23.1543 28.0258 23.1922 28.0434 23.2288 28.0625C24.0776 28.3828 25.0138 28.383 25.8625 28.0625C25.8988 28.0436 25.9363 28.0257 25.9749 28.0098C26.4272 27.8226 26.8386 27.5483 27.1848 27.2021C27.5246 26.8624 27.7938 26.459 27.9807 26.0166C27.9836 26.0092 27.9864 26.0015 27.9895 25.9941C27.9929 25.986 27.9967 25.9778 28.0002 25.9697C28.1816 25.5235 28.276 25.0463 28.2756 24.5645C28.2753 24.136 28.2013 23.711 28.0569 23.3086L27.9905 23.1377C27.6108 22.2246 26.8837 21.4993 25.97 21.1211Z" fill="currentColor"/>\n</svg>\n',"support.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3704 0.570312C24.8003 0.570316 25.2302 0.580357 25.6702 0.610352C32.0701 0.950364 37.9605 3.76029 42.2405 8.53027C46.5302 13.3001 48.7005 19.4499 48.3606 25.8496C47.6806 38.5895 37.1603 48.5702 24.4104 48.5703H24.3997C23.97 48.5703 23.5403 48.56 23.1106 48.54C9.9006 47.84 -0.279834 36.5098 0.420166 23.2998C1.10024 10.5599 11.6204 0.570312 24.3704 0.570312ZM31.0149 11.4385C24.0314 7.85071 15.4942 10.5188 11.7542 17.3662L11.5803 17.6953C10.5326 19.7334 9.98574 21.9925 9.9856 24.2842L9.99243 24.7139C10.0527 26.7345 10.5374 28.7205 11.4153 30.542L10.428 37.1631C10.3746 37.5208 10.4971 37.8833 10.7561 38.1357C11.0152 38.3878 11.3796 38.5001 11.7356 38.4375L18.1819 37.3008C25.211 40.6821 33.6876 37.8493 37.2717 30.873C40.9156 23.7789 38.1052 15.0813 31.0149 11.4385ZM13.7288 18.4453C16.8878 12.6622 24.0949 10.4136 29.9866 13.4404C35.9753 16.5174 38.3443 23.8604 35.2698 29.8457C32.2407 35.7412 25.0781 38.1288 19.1458 35.2686L18.8645 35.1289C18.7008 35.0448 18.5194 35.0028 18.3372 35.0049L18.1555 35.0215L12.884 35.9502L13.6936 30.5254L13.7053 30.3506C13.7043 30.234 13.6852 30.1176 13.6487 30.0068L13.5813 29.8447C12.7525 28.2321 12.2953 26.4558 12.2415 24.6465L12.2356 24.2842C12.2357 22.3503 12.6972 20.4436 13.5813 18.7236L13.7288 18.4453ZM27.3206 16.9609C26.7468 16.7234 26.0888 16.9958 25.8508 17.5693L25.5901 18.1973C24.7295 18.0126 23.8395 18.0122 22.9788 18.1963L22.72 17.5693L22.6702 17.4658C22.4 16.964 21.7882 16.7385 21.2502 16.9609C20.7122 17.1838 20.4381 17.7762 20.6018 18.3223L20.6409 18.4307L20.9036 19.0645C20.1531 19.5493 19.5312 20.1799 19.0627 20.9023L18.4309 20.6406L18.3225 20.6016C17.7764 20.4377 17.1842 20.712 16.9612 21.25C16.7387 21.7881 16.9641 22.3998 17.4661 22.6699L17.5696 22.7197L18.1985 22.9795C18.0145 23.8246 18.005 24.714 18.1926 25.5918L17.5696 25.8506C16.9959 26.0884 16.7238 26.7465 16.9612 27.3203C17.199 27.894 17.8571 28.1672 18.4309 27.9297L19.052 27.6719C19.5658 28.4678 20.2554 29.1365 21.0676 29.627L20.7415 30.4189C20.5038 30.9929 20.7761 31.6508 21.3499 31.8887C21.888 32.1114 22.5006 31.8859 22.7708 31.3838L22.8196 31.2793L23.1741 30.4219C23.9738 30.5663 24.7951 30.5544 25.5911 30.3838L25.8508 31.0107C26.0887 31.5842 26.7468 31.8566 27.3206 31.6191C27.8942 31.3814 28.1673 30.7233 27.9299 30.1494L27.6663 29.5146C28.035 29.2765 28.3807 29.0013 28.6926 28.6895C29.0035 28.3786 29.2782 28.0344 29.5159 27.667L30.1497 27.9297C30.7235 28.1672 31.3816 27.894 31.6194 27.3203C31.8566 26.7465 31.5845 26.0884 31.011 25.8506L30.3762 25.5869C30.4675 25.1593 30.5162 24.7216 30.5159 24.2822C30.5155 23.8444 30.4666 23.4085 30.3752 22.9824L31.011 22.7197C31.5845 22.482 31.8565 21.8237 31.6194 21.25C31.3965 20.7121 30.8041 20.4379 30.2581 20.6016L30.1497 20.6406L29.5139 20.9033C29.0359 20.1654 28.4072 19.5363 27.6692 19.0586L27.9299 18.4307C28.1672 17.8568 27.8943 17.1986 27.3206 16.9609ZM22.8655 20.5684C23.8137 20.2074 24.8658 20.2213 25.8059 20.6104C26.7807 21.0138 27.556 21.7876 27.9612 22.7617L28.0325 22.9443C28.1864 23.3734 28.2655 23.8273 28.2659 24.2842C28.2662 24.8064 28.1637 25.325 27.9641 25.8076C27.7644 26.2901 27.471 26.7294 27.1018 27.0986C26.7324 27.4679 26.2925 27.7603 25.8098 27.96C25.7726 27.9754 25.7361 27.9929 25.7014 28.0117C24.7541 28.3725 23.7033 28.3603 22.7639 27.9717C21.8028 27.574 21.0362 26.8154 20.6272 25.8604C20.6213 25.8439 20.6164 25.8259 20.6096 25.8096C20.6037 25.7954 20.5955 25.7814 20.5891 25.7676C19.7853 23.7551 20.7511 21.4545 22.762 20.6191C22.7977 20.6043 22.8321 20.5864 22.8655 20.5684Z" fill="currentColor"/>\n</svg>\n',"warewulf.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3101 0.820312C24.7401 0.820312 25.1701 0.829609 25.6001 0.849609C38.8101 1.54961 48.9905 12.8799 48.2905 26.0898C47.6105 38.8398 37.0902 48.8202 24.3403 48.8203C23.9105 48.8203 23.4704 48.8003 23.0405 48.7803C16.6407 48.4403 10.7602 45.6302 6.47021 40.8604C2.18024 36.0904 0.0101229 29.94 0.350098 23.54C1.0301 10.8 11.5503 0.820313 24.3003 0.820312H24.3101ZM24.3003 3.57031C13.0103 3.57031 3.7001 12.4104 3.1001 23.6904C2.946 26.4784 3.34567 29.2696 4.27588 31.9023C5.20615 34.5351 6.64856 36.9579 8.52002 39.0303C12.31 43.2501 17.5201 45.74 23.1899 46.04C23.5799 46.06 23.9603 46.0703 24.3403 46.0703C35.6301 46.0702 44.9404 37.23 45.5405 25.9502C45.8505 20.2902 43.9196 14.8501 40.1196 10.6201C36.3196 6.3902 31.1096 3.89961 25.4497 3.59961C25.0799 3.57963 24.6901 3.57032 24.3003 3.57031ZM22.7729 16.2012L29.7417 16.792L32.562 20.4805L43.394 20.5625L38.8022 29.5781L29.8638 31.6094L18.7085 40.5439C18.1159 41.0178 17.2504 40.9223 16.7759 40.3301C16.3016 39.7376 16.3977 38.8722 16.9897 38.3975L28.3901 29.2676L28.6362 29.0693L28.9448 29L36.9351 27.1826L38.9243 23.2773L31.1958 23.2207L30.7876 22.6855L28.2964 19.4287L21.5649 18.8594L18.2944 15.6914L17.979 21.3779L11.1118 24.9561L15.4185 28.4834L13.9839 32.0928L17.3501 32.7188L17.4868 32.751C18.1559 32.9466 18.5816 33.6212 18.4517 34.3213C18.3215 35.0211 17.6822 35.4988 16.9878 35.4414L16.8481 35.4219L10.1938 34.1875L12.1196 29.3359L6.146 24.4443L15.3198 19.6621L15.8833 9.52832L22.7729 16.2012ZM27.2144 20.8711L29.0786 23.6152L25.3989 23.4658L23.5151 20.7002L27.2144 20.8711Z" fill="currentColor"/>\n</svg>\n',"warewulf.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0254 48.001H24.0156C24.0173 48.001 24.0189 48 24.0205 48C24.0221 48 24.0238 48.001 24.0254 48.001ZM23.9854 0C24.4153 0 24.8454 0.0102783 25.2754 0.0302734C38.4857 0.730289 48.6657 12.0602 47.9658 25.2705C47.2859 38.0092 36.7686 47.9974 24.0205 48C23.5922 47.9999 23.1639 47.9908 22.7256 47.9609C16.3254 47.6209 10.4354 44.8111 6.15527 40.041C1.86517 35.2709 -0.304834 29.1209 0.0351562 22.7207C0.715171 9.98042 11.2351 9.85227e-05 23.9854 0ZM15.2471 18.998L6.29395 23.6709L12.1152 28.4395L10.2344 33.1777L16.8604 34.4072C17.4709 34.5203 18.0574 34.1164 18.1709 33.5059C18.2839 32.8952 17.8811 32.3087 17.2705 32.1953L13.3359 31.4639L14.8145 27.7412L10.3555 24.0889L17.4229 20.4014L17.7607 14.3115L21.0723 17.5186L21.3604 17.7969L28.1162 18.3691L30.6836 21.7148L31.0186 22.1504L31.5674 22.1553L39.0273 22.2109L36.8027 26.5791L28.6963 28.4238L28.4443 28.4814L16.8418 37.7725C16.3571 38.1609 16.2788 38.8696 16.667 39.3545C17.0311 39.809 17.6765 39.9061 18.1553 39.5967L18.248 39.5293L29.4473 30.5605L38.3291 28.541L42.6846 19.9893L32.1338 19.9092L29.2959 16.2109L22.3486 15.6221L15.7891 9.26855L15.2471 18.998ZM25.2803 22.3086L29.0518 22.6133L27.2998 20.2129L23.5078 19.8887L25.2803 22.3086Z" fill="currentColor"/>\n</svg>\n'},e.quanticElement=Ce,e.tableVariantContext=os});
|
|
39739
39739
|
//# sourceMappingURL=quantic-components.min.js.map
|