platformscode-new-react 0.0.48 → 0.0.49
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/index.cjs.js +43 -42
- package/dist/index.js +891 -871
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");var Jh=Object.defineProperty,Kh=(t,n)=>{for(var o in n)Jh(t,o,{get:n[o],enumerable:!0})},Qh={};Kh(Qh,{err:()=>$t,map:()=>Nh,ok:()=>ue,unwrap:()=>nr,unwrapErr:()=>er});var ue=t=>({isOk:!0,isErr:!1,value:t}),$t=t=>({isOk:!1,isErr:!0,value:t});function Nh(t,n){if(t.isOk){const o=n(t.value);return o instanceof Promise?o.then(i=>ue(i)):ue(o)}if(t.isErr){const o=t.value;return $t(o)}throw"should never get here"}var nr=t=>{if(t.isOk)return t.value;throw t.value},er=t=>{if(t.isErr)return t.value;throw t.value};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var t=HTMLElement;window.HTMLElement=function(){return Reflect.construct(t,[],this.constructor)},HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}})();const tr="platformscode",un={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!1,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0};var or=Object.defineProperty,ir=(t,n)=>{for(var o in n)or(t,o,{get:n[o],enumerable:!0})},St=new WeakMap,kn=t=>St.get(t),hr=(t,n)=>{const o={$flags$:0,$hostElement$:t,$cmpMeta$:n,$instanceValues$:new Map};return o.$onReadyPromise$=new Promise(i=>o.$onReadyResolve$=i),t["s-p"]=[],t["s-rc"]=[],St.set(t,o)},gt=(t,n)=>n in t,Gn=(t,n)=>(0,console.error)(t,n),Hn=new Map,rr="slot-fb{display:contents}slot-fb[hidden]{display:none}",at="http://www.w3.org/1999/xlink",Jn=typeof window<"u"?window:{},en=Jn.document||{head:{}},k=Jn.HTMLElement||class{},G={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,o,i)=>t.addEventListener(n,o,i),rel:(t,n,o,i)=>t.removeEventListener(n,o,i),ce:(t,n)=>new CustomEvent(t,n)},gr=t=>Promise.resolve(t),ar=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),ke=!1,ct=[],Mt=[],cr=(t,n)=>o=>{t.push(o),ke||(ke=!0,G.$flags$&4?Ee(pe):G.raf(pe))},st=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(o){Gn(o)}t.length=0},pe=()=>{st(ct),st(Mt),(ke=ct.length>0)&&G.raf(pe)},Ee=t=>gr().then(t),sr=cr(Mt),dt={},dr="http://www.w3.org/2000/svg",fr="http://www.w3.org/1999/xhtml",lr=t=>t!=null,$e=t=>(t=typeof t,t==="object"||t==="function");function br(t){var n,o,i;return(i=(o=(n=t.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:o.getAttribute("content"))!=null?i:void 0}var ur={};ir(ur,{err:()=>Dt,map:()=>kr,ok:()=>me,unwrap:()=>pr,unwrapErr:()=>mr});var me=t=>({isOk:!0,isErr:!1,value:t}),Dt=t=>({isOk:!1,isErr:!0,value:t});function kr(t,n){if(t.isOk){const o=n(t.value);return o instanceof Promise?o.then(i=>me(i)):me(o)}if(t.isErr){const o=t.value;return Dt(o)}throw"should never get here"}var pr=t=>{if(t.isOk)return t.value;throw t.value},mr=t=>{if(t.isErr)return t.value;throw t.value},cn=(t,n="")=>()=>{},e=(t,n,...o)=>{let i=null,h=null,d=null,f=!1,l=!1;const b=[],w=_=>{for(let z=0;z<_.length;z++)i=_[z],Array.isArray(i)?w(i):i!=null&&typeof i!="boolean"&&((f=typeof t!="function"&&!$e(i))&&(i=String(i)),f&&l?b[b.length-1].$text$+=i:b.push(f?Un(null,i):i),l=f)};if(w(o),n){n.key&&(h=n.key),n.name&&(d=n.name);{const _=n.className||n.class;_&&(n.class=typeof _!="object"?_:Object.keys(_).filter(z=>_[z]).join(" "))}}if(typeof t=="function")return t(n===null?{}:n,b,yr);const x=Un(t,null);return x.$attrs$=n,b.length>0&&(x.$children$=b),x.$key$=h,x.$name$=d,x},Un=(t,n)=>{const o={$flags$:0,$tag$:t,$text$:n,$elm$:null,$children$:null};return o.$attrs$=null,o.$key$=null,o.$name$=null,o},wr={},vr=t=>t&&t.$tag$===wr,yr={forEach:(t,n)=>t.map(ft).forEach(n),map:(t,n)=>t.map(ft).map(n).map(xr)},ft=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),xr=t=>{if(typeof t.vtag=="function"){const o={...t.vattrs};return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),e(t.vtag,o,...t.vchildren||[])}const n=Un(t.vtag,t.vtext);return n.$attrs$=t.vattrs,n.$children$=t.vchildren,n.$key$=t.vkey,n.$name$=t.vname,n},qr=(t,n)=>t!=null&&!$e(t)?n&4?t==="false"?!1:t===""||!!t:n&2?parseFloat(t):n&1?String(t):t:t,_r=t=>t,hn=(t,n,o)=>{const i=_r(t);return{emit:h=>It(i,n,{bubbles:!!(o&4),composed:!!(o&2),cancelable:!!(o&1),detail:h})}},It=(t,n,o)=>{const i=G.ce(n,o);return t.dispatchEvent(i),i},lt=new WeakMap,zr=(t,n,o)=>{let i=Hn.get(t);ar&&o?(i=i||new CSSStyleSheet,typeof i=="string"?i=n:i.replaceSync(n)):i=n,Hn.set(t,i)},jr=(t,n,o)=>{var i;const h=Pt(n),d=Hn.get(h);if(t=t.nodeType===11?t:en,d)if(typeof d=="string"){t=t.head||t;let f=lt.get(t),l;if(f||lt.set(t,f=new Set),!f.has(h)){{l=en.createElement("style"),l.innerHTML=d;const b=(i=G.$nonce$)!=null?i:br(en);b!=null&&l.setAttribute("nonce",b),(!(n.$flags$&1)||n.$flags$&1&&t.nodeName!=="HEAD")&&t.insertBefore(l,t.querySelector("link"))}n.$flags$&4&&(l.innerHTML+=rr),f&&f.add(h)}}else t.adoptedStyleSheets.includes(d)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,d]);return h},Cr=t=>{const n=t.$cmpMeta$,o=t.$hostElement$,i=n.$flags$,h=cn("attachStyles",n.$tagName$),d=jr(o.shadowRoot?o.shadowRoot:o.getRootNode(),n);i&10&&i&2&&(o["s-sc"]=d,o.classList.add(d+"-h")),h()},Pt=(t,n)=>"sc-"+t.$tagName$,bt=(t,n,o,i,h,d)=>{if(o!==i){let f=gt(t,n),l=n.toLowerCase();if(n==="class"){const b=t.classList,w=ut(o),x=ut(i);b.remove(...w.filter(_=>_&&!x.includes(_))),b.add(...x.filter(_=>_&&!w.includes(_)))}else if(n==="style"){for(const b in o)(!i||i[b]==null)&&(b.includes("-")?t.style.removeProperty(b):t.style[b]="");for(const b in i)(!o||i[b]!==o[b])&&(b.includes("-")?t.style.setProperty(b,i[b]):t.style[b]=i[b])}else if(n!=="key")if(n==="ref")i&&i(t);else if(!t.__lookupSetter__(n)&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"?n=n.slice(3):gt(Jn,l)?n=l.slice(2):n=l[2]+n.slice(3),o||i){const b=n.endsWith(At);n=n.replace($r,""),o&&G.rel(t,n,o,b),i&&G.ael(t,n,i,b)}}else{const b=$e(i);if((f||b&&i!==null)&&!h)try{if(t.tagName.includes("-"))t[n]=i;else{const x=i??"";n==="list"?f=!1:(o==null||t[n]!=x)&&(t[n]=x)}}catch{}let w=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(n=l,w=!0),i==null||i===!1?(i!==!1||t.getAttribute(n)==="")&&(w?t.removeAttributeNS(at,n):t.removeAttribute(n)):(!f||d&4||h)&&!b&&(i=i===!0?"":i,w?t.setAttributeNS(at,n,i):t.setAttribute(n,i))}}},Er=/\s/,ut=t=>t?t.split(Er):[],At="Capture",$r=new RegExp(At+"$"),Bt=(t,n,o)=>{const i=n.$elm$.nodeType===11&&n.$elm$.host?n.$elm$.host:n.$elm$,h=t&&t.$attrs$||dt,d=n.$attrs$||dt;for(const f of kt(Object.keys(h)))f in d||bt(i,f,h[f],void 0,o,n.$flags$);for(const f of kt(Object.keys(d)))bt(i,f,h[f],d[f],o,n.$flags$)};function kt(t){return t.includes("ref")?[...t.filter(n=>n!=="ref"),"ref"]:t}var ln,we,En,Yn=!1,Xn=!1,Se=!1,K=!1,Zn=(t,n,o,i)=>{var h;const d=n.$children$[o];let f=0,l,b,w;if(Yn||(Se=!0,d.$tag$==="slot"&&(ln&&i.classList.add(ln+"-s"),d.$flags$|=d.$children$?2:1)),d.$text$!==null)l=d.$elm$=en.createTextNode(d.$text$);else if(d.$flags$&1)l=d.$elm$=en.createTextNode("");else{if(K||(K=d.$tag$==="svg"),l=d.$elm$=en.createElementNS(K?dr:fr,!Yn&&un.slotRelocation&&d.$flags$&2?"slot-fb":d.$tag$),K&&d.$tag$==="foreignObject"&&(K=!1),Bt(null,d,K),!!l.getRootNode().querySelector("body")&&un.scoped&&lr(ln)&&l["s-si"]!==ln&&l.classList.add(l["s-si"]=ln),d.$children$)for(f=0;f<d.$children$.length;++f)b=Zn(t,d,f,l),b&&l.appendChild(b);d.$tag$==="svg"?K=!1:l.tagName==="foreignObject"&&(K=!0)}return l["s-hn"]=En,d.$flags$&3&&(l["s-sr"]=!0,l["s-cr"]=we,l["s-sn"]=d.$name$||"",l["s-rf"]=(h=d.$attrs$)==null?void 0:h.ref,w=t&&t.$children$&&t.$children$[o],w&&w.$tag$===d.$tag$&&t.$elm$&&$n(t.$elm$,!1)),l},$n=(t,n)=>{G.$flags$|=1;const o=Array.from(t.childNodes);if(t["s-sr"]&&un.experimentalSlotFixes){let i=t;for(;i=i.nextSibling;)i&&i["s-sn"]===t["s-sn"]&&i["s-sh"]===En&&o.push(i)}for(let i=o.length-1;i>=0;i--){const h=o[i];h["s-hn"]!==En&&h["s-ol"]&&(on(Ot(h),h,Me(h)),h["s-ol"].remove(),h["s-ol"]=void 0,h["s-sh"]=void 0,Se=!0),n&&$n(h,n)}G.$flags$&=-2},Tt=(t,n,o,i,h,d)=>{let f=t["s-cr"]&&t["s-cr"].parentNode||t,l;for(f.shadowRoot&&f.tagName===En&&(f=f.shadowRoot);h<=d;++h)i[h]&&(l=Zn(null,o,h,t),l&&(i[h].$elm$=l,on(f,l,Me(n))))},Lt=(t,n,o)=>{for(let i=n;i<=o;++i){const h=t[i];if(h){const d=h.$elm$;Ht(h),d&&(Xn=!0,d["s-ol"]?d["s-ol"].remove():$n(d,!0),d.remove())}}},Sr=(t,n,o,i,h=!1)=>{let d=0,f=0,l=0,b=0,w=n.length-1,x=n[0],_=n[w],z=i.length-1,C=i[0],E=i[z],H,R;for(;d<=w&&f<=z;)if(x==null)x=n[++d];else if(_==null)_=n[--w];else if(C==null)C=i[++f];else if(E==null)E=i[--z];else if(On(x,C,h))bn(x,C,h),x=n[++d],C=i[++f];else if(On(_,E,h))bn(_,E,h),_=n[--w],E=i[--z];else if(On(x,E,h))(x.$tag$==="slot"||E.$tag$==="slot")&&$n(x.$elm$.parentNode,!1),bn(x,E,h),on(t,x.$elm$,_.$elm$.nextSibling),x=n[++d],E=i[--z];else if(On(_,C,h))(x.$tag$==="slot"||E.$tag$==="slot")&&$n(_.$elm$.parentNode,!1),bn(_,C,h),on(t,_.$elm$,x.$elm$),_=n[--w],C=i[++f];else{for(l=-1,b=d;b<=w;++b)if(n[b]&&n[b].$key$!==null&&n[b].$key$===C.$key$){l=b;break}l>=0?(R=n[l],R.$tag$!==C.$tag$?H=Zn(n&&n[f],o,l,t):(bn(R,C,h),n[l]=void 0,H=R.$elm$),C=i[++f]):(H=Zn(n&&n[f],o,f,t),C=i[++f]),H&&on(Ot(x.$elm$),H,Me(x.$elm$))}d>w?Tt(t,i[z+1]==null?null:i[z+1].$elm$,o,i,f,z):f>z&&Lt(n,d,w)},On=(t,n,o=!1)=>t.$tag$===n.$tag$?t.$tag$==="slot"?"$nodeId$"in t&&o&&t.$elm$.nodeType!==8?!1:t.$name$===n.$name$:o?!0:t.$key$===n.$key$:!1,Me=t=>t&&t["s-ol"]||t,Ot=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,bn=(t,n,o=!1)=>{const i=n.$elm$=t.$elm$,h=t.$children$,d=n.$children$,f=n.$tag$,l=n.$text$;let b;l===null?(K=f==="svg"?!0:f==="foreignObject"?!1:K,f==="slot"&&!Yn||Bt(t,n,K),h!==null&&d!==null?Sr(i,h,n,d,o):d!==null?(t.$text$!==null&&(i.textContent=""),Tt(i,null,n,d,0,d.length-1)):!o&&un.updatable&&h!==null&&Lt(h,0,h.length-1),K&&f==="svg"&&(K=!1)):(b=i["s-cr"])?b.parentNode.textContent=l:t.$text$!==l&&(i.data=l)},Ft=t=>{const n=t.childNodes;for(const o of n)if(o.nodeType===1){if(o["s-sr"]){const i=o["s-sn"];o.hidden=!1;for(const h of n)if(h!==o){if(h["s-hn"]!==o["s-hn"]||i!==""){if(h.nodeType===1&&(i===h.getAttribute("slot")||i===h["s-sn"])||h.nodeType===3&&i===h["s-sn"]){o.hidden=!0;break}}else if(h.nodeType===1||h.nodeType===3&&h.textContent.trim()!==""){o.hidden=!0;break}}}Ft(o)}},nn=[],Rt=t=>{let n,o,i;for(const h of t.childNodes){if(h["s-sr"]&&(n=h["s-cr"])&&n.parentNode){o=n.parentNode.childNodes;const d=h["s-sn"];for(i=o.length-1;i>=0;i--)if(n=o[i],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==h["s-hn"]&&!un.experimentalSlotFixes)if(pt(n,d)){let f=nn.find(l=>l.$nodeToRelocate$===n);Xn=!0,n["s-sn"]=n["s-sn"]||d,f?(f.$nodeToRelocate$["s-sh"]=h["s-hn"],f.$slotRefNode$=h):(n["s-sh"]=h["s-hn"],nn.push({$slotRefNode$:h,$nodeToRelocate$:n})),n["s-sr"]&&nn.map(l=>{pt(l.$nodeToRelocate$,n["s-sn"])&&(f=nn.find(b=>b.$nodeToRelocate$===n),f&&!l.$slotRefNode$&&(l.$slotRefNode$=f.$slotRefNode$))})}else nn.some(f=>f.$nodeToRelocate$===n)||nn.push({$nodeToRelocate$:n})}h.nodeType===1&&Rt(h)}},pt=(t,n)=>t.nodeType===1?t.getAttribute("slot")===null&&n===""||t.getAttribute("slot")===n:t["s-sn"]===n?!0:n==="",Ht=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(Ht)},on=(t,n,o)=>t==null?void 0:t.insertBefore(n,o),Mr=(t,n,o=!1)=>{var i,h,d,f;const l=t.$hostElement$,b=t.$cmpMeta$,w=t.$vnode$||Un(null,null),x=vr(n)?n:e(null,null,n);if(En=l.tagName,b.$attrsToReflect$&&(x.$attrs$=x.$attrs$||{},b.$attrsToReflect$.map(([_,z])=>x.$attrs$[z]=l[_])),o&&x.$attrs$)for(const _ of Object.keys(x.$attrs$))l.hasAttribute(_)&&!["key","ref","style","class"].includes(_)&&(x.$attrs$[_]=l[_]);x.$tag$=null,x.$flags$|=4,t.$vnode$=x,x.$elm$=w.$elm$=l.shadowRoot||l,ln=l["s-sc"],Yn=(b.$flags$&1)!==0,we=l["s-cr"],Xn=!1,bn(w,x,o);{if(G.$flags$|=1,Se){Rt(x.$elm$);for(const _ of nn){const z=_.$nodeToRelocate$;if(!z["s-ol"]){const C=en.createTextNode("");C["s-nr"]=z,on(z.parentNode,z["s-ol"]=C,z)}}for(const _ of nn){const z=_.$nodeToRelocate$,C=_.$slotRefNode$;if(C){const E=C.parentNode;let H=C.nextSibling;{let R=(i=z["s-ol"])==null?void 0:i.previousSibling;for(;R;){let A=(h=R["s-nr"])!=null?h:null;if(A&&A["s-sn"]===z["s-sn"]&&E===A.parentNode){for(A=A.nextSibling;A===z||A!=null&&A["s-sr"];)A=A==null?void 0:A.nextSibling;if(!A||!A["s-nr"]){H=A;break}}R=R.previousSibling}}(!H&&E!==z.parentNode||z.nextSibling!==H)&&z!==H&&(!z["s-hn"]&&z["s-ol"]&&(z["s-hn"]=z["s-ol"].parentNode.nodeName),on(E,z,H),z.nodeType===1&&(z.hidden=(d=z["s-ih"])!=null?d:!1)),z&&typeof C["s-rf"]=="function"&&C["s-rf"](z)}else z.nodeType===1&&(o&&(z["s-ih"]=(f=z.hidden)!=null?f:!1),z.hidden=!0)}}Xn&&Ft(x.$elm$),G.$flags$&=-2,nn.length=0}we=void 0},Ut=(t,n)=>{n&&!t.$onRenderResolve$&&n["s-p"]&&n["s-p"].push(new Promise(o=>t.$onRenderResolve$=o))},De=(t,n)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return Ut(t,t.$ancestorComponent$),sr(()=>Dr(t,n))},Dr=(t,n)=>{const o=t.$hostElement$,i=cn("scheduleUpdate",t.$cmpMeta$.$tagName$),h=o;if(!h)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let d;return n&&(d=Rn(h,"componentWillLoad")),i(),Ir(d,()=>Ar(t,h,n))},Ir=(t,n)=>Pr(t)?t.then(n).catch(o=>{console.error(o),n()}):n(),Pr=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",Ar=async(t,n,o)=>{var i;const h=t.$hostElement$,d=cn("update",t.$cmpMeta$.$tagName$),f=h["s-rc"];o&&Cr(t);const l=cn("render",t.$cmpMeta$.$tagName$);Br(t,n,h,o),f&&(f.map(b=>b()),h["s-rc"]=void 0),l(),d();{const b=(i=h["s-p"])!=null?i:[],w=()=>Tr(t);b.length===0?w():(Promise.all(b).then(w),t.$flags$|=4,b.length=0)}},Br=(t,n,o,i)=>{try{n=n.render(),t.$flags$&=-17,t.$flags$|=2,Mr(t,n,i)}catch(h){Gn(h,t.$hostElement$)}return null},Tr=t=>{const n=t.$cmpMeta$.$tagName$,o=t.$hostElement$,i=cn("postUpdate",n),h=o,d=t.$ancestorComponent$;Rn(h,"componentDidRender"),t.$flags$&64?(Rn(h,"componentDidUpdate"),i()):(t.$flags$|=64,Yt(o),Rn(h,"componentDidLoad"),i(),t.$onReadyResolve$(o),d||Lr()),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&Ee(()=>De(t,!1)),t.$flags$&=-517},Lr=t=>{Yt(en.documentElement),Ee(()=>It(Jn,"appload",{detail:{namespace:tr}}))},Rn=(t,n,o)=>{if(t&&t[n])try{return t[n](o)}catch(i){Gn(i)}},Yt=t=>{var n;return t.classList.add((n=un.hydratedSelectorName)!=null?n:"hydrated")},Or=(t,n)=>kn(t).$instanceValues$.get(n),Fr=(t,n,o,i)=>{const h=kn(t),d=t,f=h.$instanceValues$.get(n),l=h.$flags$,b=d;o=qr(o,i.$members$[n][0]);const w=Number.isNaN(f)&&Number.isNaN(o);if(o!==f&&!w){h.$instanceValues$.set(n,o);{if(i.$watchers$&&l&128){const _=i.$watchers$[n];_&&_.map(z=>{try{b[z](o,f,n)}catch(C){Gn(C,d)}})}(l&18)===2&&De(h,!1)}}},Rr=(t,n,o)=>{var i,h;const d=t.prototype;if(n.$members$||n.$watchers$||t.watchers){t.watchers&&!n.$watchers$&&(n.$watchers$=t.watchers);const f=Object.entries((i=n.$members$)!=null?i:{});f.map(([l,[b]])=>{(b&31||b&32)&&Object.defineProperty(d,l,{get(){return Or(this,l)},set(w){Fr(this,l,w,n)},configurable:!0,enumerable:!0})});{const l=new Map;d.attributeChangedCallback=function(b,w,x){G.jmp(()=>{var _;const z=l.get(b);if(this.hasOwnProperty(z))x=this[z],delete this[z];else{if(d.hasOwnProperty(z)&&typeof this[z]=="number"&&this[z]==x)return;if(z==null){const C=kn(this),E=C==null?void 0:C.$flags$;if(E&&!(E&8)&&E&128&&x!==w){const R=this,A=(_=n.$watchers$)==null?void 0:_[b];A==null||A.forEach(O=>{R[O]!=null&&R[O].call(R,x,w,b)})}return}}this[z]=x===null&&typeof this[z]=="boolean"?!1:x})},t.observedAttributes=Array.from(new Set([...Object.keys((h=n.$watchers$)!=null?h:{}),...f.filter(([b,w])=>w[0]&15).map(([b,w])=>{var x;const _=w[1]||b;return l.set(_,b),w[0]&512&&((x=n.$attrsToReflect$)==null||x.push([b,_])),_})]))}}return t},Hr=async(t,n,o,i)=>{let h;if(!(n.$flags$&32)){n.$flags$|=32;{h=t.constructor;const l=t.localName;customElements.whenDefined(l).then(()=>n.$flags$|=128)}if(h&&h.style){let l;typeof h.style=="string"&&(l=h.style);const b=Pt(o);if(!Hn.has(b)){const w=cn("registerStyles",o.$tagName$);zr(b,l,!!(o.$flags$&1)),w()}}}const d=n.$ancestorComponent$,f=()=>De(n,!0);d&&d["s-rc"]?d["s-rc"].push(f):f()},Ur=t=>{},Yr=t=>{if(!(G.$flags$&1)){const n=kn(t),o=n.$cmpMeta$,i=cn("connectedCallback",o.$tagName$);if(n.$flags$&1)n!=null&&n.$lazyInstance$||n!=null&&n.$onReadyPromise$&&n.$onReadyPromise$.then(()=>Ur());else{n.$flags$|=1,o.$flags$&12&&Xr(t);{let h=t;for(;h=h.parentNode||h.host;)if(h["s-p"]){Ut(n,n.$ancestorComponent$=h);break}}o.$members$&&Object.entries(o.$members$).map(([h,[d]])=>{if(d&31&&t.hasOwnProperty(h)){const f=t[h];delete t[h],t[h]=f}}),Hr(t,n,o)}i()}},Xr=t=>{const n=t["s-cr"]=en.createComment("");n["s-cn"]=!0,on(t,n,t.firstChild)},Zr=async t=>{G.$flags$&1||kn(t)},p=(t,n)=>{const o={$flags$:n[0],$tagName$:n[1]};o.$members$=n[2],o.$watchers$=t.$watchers$,o.$attrsToReflect$=[];const i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){hr(this,o)},connectedCallback(){kn(this),Yr(this)},disconnectedCallback(){Zr(this),i&&i.call(this)},__attachShadow(){if(!this.shadowRoot)this.attachShadow({mode:"open"});else if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}),t.is=o.$tagName$,Rr(t,o)},N=(t,n)=>n;const Xt=p(class extends k{constructor(){super(),this.__registerHost(),this.bodyElement=null,this.title="",this.content="",this.size="lg",this.iconAlignment="Trailing",this.flush=!1,this.disabled=!1,this.extraClass="",this.isOpen=!1}handleAccordionClick(n){n.preventDefault(),!this.disabled&&(this.isOpen?this.collapseAccordion():this.openAccordion())}openAccordion(){this.isOpen=!0,this.bodyElement&&(this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+"px")}collapseAccordion(){this.isOpen=!1,this.bodyElement&&(this.bodyElement.style.maxHeight=null)}componentDidRender(){this.isOpen&&this.bodyElement?this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+24+"px":this.bodyElement&&(this.bodyElement.style.maxHeight=null)}render(){return e("div",{key:"adcd3cd0a57b70611d1ed9fc975ed08d1c478626",class:`accordion-item accordion-item--${this.size}
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");var Jh=Object.defineProperty,Kh=(t,n)=>{for(var o in n)Jh(t,o,{get:n[o],enumerable:!0})},Qh={};Kh(Qh,{err:()=>St,map:()=>Nh,ok:()=>ke,unwrap:()=>nr,unwrapErr:()=>er});var ke=t=>({isOk:!0,isErr:!1,value:t}),St=t=>({isOk:!1,isErr:!0,value:t});function Nh(t,n){if(t.isOk){const o=n(t.value);return o instanceof Promise?o.then(i=>ke(i)):ke(o)}if(t.isErr){const o=t.value;return St(o)}throw"should never get here"}var nr=t=>{if(t.isOk)return t.value;throw t.value},er=t=>{if(t.isErr)return t.value;throw t.value};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var t=HTMLElement;window.HTMLElement=function(){return Reflect.construct(t,[],this.constructor)},HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}})();const tr="platformscode",un={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!1,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0};var or=Object.defineProperty,ir=(t,n)=>{for(var o in n)or(t,o,{get:n[o],enumerable:!0})},Mt=new WeakMap,kn=t=>Mt.get(t),hr=(t,n)=>{const o={$flags$:0,$hostElement$:t,$cmpMeta$:n,$instanceValues$:new Map};return o.$onReadyPromise$=new Promise(i=>o.$onReadyResolve$=i),t["s-p"]=[],t["s-rc"]=[],Mt.set(t,o)},at=(t,n)=>n in t,Gn=(t,n)=>(0,console.error)(t,n),Hn=new Map,rr="slot-fb{display:contents}slot-fb[hidden]{display:none}",ct="http://www.w3.org/1999/xlink",Jn=typeof window<"u"?window:{},tn=Jn.document||{head:{}},k=Jn.HTMLElement||class{},G={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,o,i)=>t.addEventListener(n,o,i),rel:(t,n,o,i)=>t.removeEventListener(n,o,i),ce:(t,n)=>new CustomEvent(t,n)},gr=t=>Promise.resolve(t),ar=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),pe=!1,st=[],Dt=[],cr=(t,n)=>o=>{t.push(o),pe||(pe=!0,G.$flags$&4?$e(me):G.raf(me))},dt=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(o){Gn(o)}t.length=0},me=()=>{dt(st),dt(Dt),(pe=st.length>0)&&G.raf(me)},$e=t=>gr().then(t),sr=cr(Dt),ft={},dr="http://www.w3.org/2000/svg",fr="http://www.w3.org/1999/xhtml",lr=t=>t!=null,Se=t=>(t=typeof t,t==="object"||t==="function");function br(t){var n,o,i;return(i=(o=(n=t.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:o.getAttribute("content"))!=null?i:void 0}var ur={};ir(ur,{err:()=>It,map:()=>kr,ok:()=>we,unwrap:()=>pr,unwrapErr:()=>mr});var we=t=>({isOk:!0,isErr:!1,value:t}),It=t=>({isOk:!1,isErr:!0,value:t});function kr(t,n){if(t.isOk){const o=n(t.value);return o instanceof Promise?o.then(i=>we(i)):we(o)}if(t.isErr){const o=t.value;return It(o)}throw"should never get here"}var pr=t=>{if(t.isOk)return t.value;throw t.value},mr=t=>{if(t.isErr)return t.value;throw t.value},cn=(t,n="")=>()=>{},e=(t,n,...o)=>{let i=null,h=null,d=null,f=!1,l=!1;const b=[],w=_=>{for(let z=0;z<_.length;z++)i=_[z],Array.isArray(i)?w(i):i!=null&&typeof i!="boolean"&&((f=typeof t!="function"&&!Se(i))&&(i=String(i)),f&&l?b[b.length-1].$text$+=i:b.push(f?Un(null,i):i),l=f)};if(w(o),n){n.key&&(h=n.key),n.name&&(d=n.name);{const _=n.className||n.class;_&&(n.class=typeof _!="object"?_:Object.keys(_).filter(z=>_[z]).join(" "))}}if(typeof t=="function")return t(n===null?{}:n,b,yr);const x=Un(t,null);return x.$attrs$=n,b.length>0&&(x.$children$=b),x.$key$=h,x.$name$=d,x},Un=(t,n)=>{const o={$flags$:0,$tag$:t,$text$:n,$elm$:null,$children$:null};return o.$attrs$=null,o.$key$=null,o.$name$=null,o},wr={},vr=t=>t&&t.$tag$===wr,yr={forEach:(t,n)=>t.map(lt).forEach(n),map:(t,n)=>t.map(lt).map(n).map(xr)},lt=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),xr=t=>{if(typeof t.vtag=="function"){const o={...t.vattrs};return t.vkey&&(o.key=t.vkey),t.vname&&(o.name=t.vname),e(t.vtag,o,...t.vchildren||[])}const n=Un(t.vtag,t.vtext);return n.$attrs$=t.vattrs,n.$children$=t.vchildren,n.$key$=t.vkey,n.$name$=t.vname,n},qr=(t,n)=>t!=null&&!Se(t)?n&4?t==="false"?!1:t===""||!!t:n&2?parseFloat(t):n&1?String(t):t:t,_r=t=>t,hn=(t,n,o)=>{const i=_r(t);return{emit:h=>Pt(i,n,{bubbles:!!(o&4),composed:!!(o&2),cancelable:!!(o&1),detail:h})}},Pt=(t,n,o)=>{const i=G.ce(n,o);return t.dispatchEvent(i),i},bt=new WeakMap,zr=(t,n,o)=>{let i=Hn.get(t);ar&&o?(i=i||new CSSStyleSheet,typeof i=="string"?i=n:i.replaceSync(n)):i=n,Hn.set(t,i)},jr=(t,n,o)=>{var i;const h=At(n),d=Hn.get(h);if(t=t.nodeType===11?t:tn,d)if(typeof d=="string"){t=t.head||t;let f=bt.get(t),l;if(f||bt.set(t,f=new Set),!f.has(h)){{l=tn.createElement("style"),l.innerHTML=d;const b=(i=G.$nonce$)!=null?i:br(tn);b!=null&&l.setAttribute("nonce",b),(!(n.$flags$&1)||n.$flags$&1&&t.nodeName!=="HEAD")&&t.insertBefore(l,t.querySelector("link"))}n.$flags$&4&&(l.innerHTML+=rr),f&&f.add(h)}}else t.adoptedStyleSheets.includes(d)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,d]);return h},Cr=t=>{const n=t.$cmpMeta$,o=t.$hostElement$,i=n.$flags$,h=cn("attachStyles",n.$tagName$),d=jr(o.shadowRoot?o.shadowRoot:o.getRootNode(),n);i&10&&i&2&&(o["s-sc"]=d,o.classList.add(d+"-h")),h()},At=(t,n)=>"sc-"+t.$tagName$,ut=(t,n,o,i,h,d)=>{if(o!==i){let f=at(t,n),l=n.toLowerCase();if(n==="class"){const b=t.classList,w=kt(o),x=kt(i);b.remove(...w.filter(_=>_&&!x.includes(_))),b.add(...x.filter(_=>_&&!w.includes(_)))}else if(n==="style"){for(const b in o)(!i||i[b]==null)&&(b.includes("-")?t.style.removeProperty(b):t.style[b]="");for(const b in i)(!o||i[b]!==o[b])&&(b.includes("-")?t.style.setProperty(b,i[b]):t.style[b]=i[b])}else if(n!=="key")if(n==="ref")i&&i(t);else if(!t.__lookupSetter__(n)&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"?n=n.slice(3):at(Jn,l)?n=l.slice(2):n=l[2]+n.slice(3),o||i){const b=n.endsWith(Bt);n=n.replace($r,""),o&&G.rel(t,n,o,b),i&&G.ael(t,n,i,b)}}else{const b=Se(i);if((f||b&&i!==null)&&!h)try{if(t.tagName.includes("-"))t[n]=i;else{const x=i??"";n==="list"?f=!1:(o==null||t[n]!=x)&&(t[n]=x)}}catch{}let w=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(n=l,w=!0),i==null||i===!1?(i!==!1||t.getAttribute(n)==="")&&(w?t.removeAttributeNS(ct,n):t.removeAttribute(n)):(!f||d&4||h)&&!b&&(i=i===!0?"":i,w?t.setAttributeNS(ct,n,i):t.setAttribute(n,i))}}},Er=/\s/,kt=t=>t?t.split(Er):[],Bt="Capture",$r=new RegExp(Bt+"$"),Tt=(t,n,o)=>{const i=n.$elm$.nodeType===11&&n.$elm$.host?n.$elm$.host:n.$elm$,h=t&&t.$attrs$||ft,d=n.$attrs$||ft;for(const f of pt(Object.keys(h)))f in d||ut(i,f,h[f],void 0,o,n.$flags$);for(const f of pt(Object.keys(d)))ut(i,f,h[f],d[f],o,n.$flags$)};function pt(t){return t.includes("ref")?[...t.filter(n=>n!=="ref"),"ref"]:t}var ln,ve,En,Yn=!1,Xn=!1,Me=!1,K=!1,Zn=(t,n,o,i)=>{var h;const d=n.$children$[o];let f=0,l,b,w;if(Yn||(Me=!0,d.$tag$==="slot"&&(ln&&i.classList.add(ln+"-s"),d.$flags$|=d.$children$?2:1)),d.$text$!==null)l=d.$elm$=tn.createTextNode(d.$text$);else if(d.$flags$&1)l=d.$elm$=tn.createTextNode("");else{if(K||(K=d.$tag$==="svg"),l=d.$elm$=tn.createElementNS(K?dr:fr,!Yn&&un.slotRelocation&&d.$flags$&2?"slot-fb":d.$tag$),K&&d.$tag$==="foreignObject"&&(K=!1),Tt(null,d,K),!!l.getRootNode().querySelector("body")&&un.scoped&&lr(ln)&&l["s-si"]!==ln&&l.classList.add(l["s-si"]=ln),d.$children$)for(f=0;f<d.$children$.length;++f)b=Zn(t,d,f,l),b&&l.appendChild(b);d.$tag$==="svg"?K=!1:l.tagName==="foreignObject"&&(K=!0)}return l["s-hn"]=En,d.$flags$&3&&(l["s-sr"]=!0,l["s-cr"]=ve,l["s-sn"]=d.$name$||"",l["s-rf"]=(h=d.$attrs$)==null?void 0:h.ref,w=t&&t.$children$&&t.$children$[o],w&&w.$tag$===d.$tag$&&t.$elm$&&$n(t.$elm$,!1)),l},$n=(t,n)=>{G.$flags$|=1;const o=Array.from(t.childNodes);if(t["s-sr"]&&un.experimentalSlotFixes){let i=t;for(;i=i.nextSibling;)i&&i["s-sn"]===t["s-sn"]&&i["s-sh"]===En&&o.push(i)}for(let i=o.length-1;i>=0;i--){const h=o[i];h["s-hn"]!==En&&h["s-ol"]&&(on(Ft(h),h,De(h)),h["s-ol"].remove(),h["s-ol"]=void 0,h["s-sh"]=void 0,Me=!0),n&&$n(h,n)}G.$flags$&=-2},Lt=(t,n,o,i,h,d)=>{let f=t["s-cr"]&&t["s-cr"].parentNode||t,l;for(f.shadowRoot&&f.tagName===En&&(f=f.shadowRoot);h<=d;++h)i[h]&&(l=Zn(null,o,h,t),l&&(i[h].$elm$=l,on(f,l,De(n))))},Ot=(t,n,o)=>{for(let i=n;i<=o;++i){const h=t[i];if(h){const d=h.$elm$;Ut(h),d&&(Xn=!0,d["s-ol"]?d["s-ol"].remove():$n(d,!0),d.remove())}}},Sr=(t,n,o,i,h=!1)=>{let d=0,f=0,l=0,b=0,w=n.length-1,x=n[0],_=n[w],z=i.length-1,C=i[0],E=i[z],H,R;for(;d<=w&&f<=z;)if(x==null)x=n[++d];else if(_==null)_=n[--w];else if(C==null)C=i[++f];else if(E==null)E=i[--z];else if(On(x,C,h))bn(x,C,h),x=n[++d],C=i[++f];else if(On(_,E,h))bn(_,E,h),_=n[--w],E=i[--z];else if(On(x,E,h))(x.$tag$==="slot"||E.$tag$==="slot")&&$n(x.$elm$.parentNode,!1),bn(x,E,h),on(t,x.$elm$,_.$elm$.nextSibling),x=n[++d],E=i[--z];else if(On(_,C,h))(x.$tag$==="slot"||E.$tag$==="slot")&&$n(_.$elm$.parentNode,!1),bn(_,C,h),on(t,_.$elm$,x.$elm$),_=n[--w],C=i[++f];else{for(l=-1,b=d;b<=w;++b)if(n[b]&&n[b].$key$!==null&&n[b].$key$===C.$key$){l=b;break}l>=0?(R=n[l],R.$tag$!==C.$tag$?H=Zn(n&&n[f],o,l,t):(bn(R,C,h),n[l]=void 0,H=R.$elm$),C=i[++f]):(H=Zn(n&&n[f],o,f,t),C=i[++f]),H&&on(Ft(x.$elm$),H,De(x.$elm$))}d>w?Lt(t,i[z+1]==null?null:i[z+1].$elm$,o,i,f,z):f>z&&Ot(n,d,w)},On=(t,n,o=!1)=>t.$tag$===n.$tag$?t.$tag$==="slot"?"$nodeId$"in t&&o&&t.$elm$.nodeType!==8?!1:t.$name$===n.$name$:o?!0:t.$key$===n.$key$:!1,De=t=>t&&t["s-ol"]||t,Ft=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,bn=(t,n,o=!1)=>{const i=n.$elm$=t.$elm$,h=t.$children$,d=n.$children$,f=n.$tag$,l=n.$text$;let b;l===null?(K=f==="svg"?!0:f==="foreignObject"?!1:K,f==="slot"&&!Yn||Tt(t,n,K),h!==null&&d!==null?Sr(i,h,n,d,o):d!==null?(t.$text$!==null&&(i.textContent=""),Lt(i,null,n,d,0,d.length-1)):!o&&un.updatable&&h!==null&&Ot(h,0,h.length-1),K&&f==="svg"&&(K=!1)):(b=i["s-cr"])?b.parentNode.textContent=l:t.$text$!==l&&(i.data=l)},Rt=t=>{const n=t.childNodes;for(const o of n)if(o.nodeType===1){if(o["s-sr"]){const i=o["s-sn"];o.hidden=!1;for(const h of n)if(h!==o){if(h["s-hn"]!==o["s-hn"]||i!==""){if(h.nodeType===1&&(i===h.getAttribute("slot")||i===h["s-sn"])||h.nodeType===3&&i===h["s-sn"]){o.hidden=!0;break}}else if(h.nodeType===1||h.nodeType===3&&h.textContent.trim()!==""){o.hidden=!0;break}}}Rt(o)}},en=[],Ht=t=>{let n,o,i;for(const h of t.childNodes){if(h["s-sr"]&&(n=h["s-cr"])&&n.parentNode){o=n.parentNode.childNodes;const d=h["s-sn"];for(i=o.length-1;i>=0;i--)if(n=o[i],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==h["s-hn"]&&!un.experimentalSlotFixes)if(mt(n,d)){let f=en.find(l=>l.$nodeToRelocate$===n);Xn=!0,n["s-sn"]=n["s-sn"]||d,f?(f.$nodeToRelocate$["s-sh"]=h["s-hn"],f.$slotRefNode$=h):(n["s-sh"]=h["s-hn"],en.push({$slotRefNode$:h,$nodeToRelocate$:n})),n["s-sr"]&&en.map(l=>{mt(l.$nodeToRelocate$,n["s-sn"])&&(f=en.find(b=>b.$nodeToRelocate$===n),f&&!l.$slotRefNode$&&(l.$slotRefNode$=f.$slotRefNode$))})}else en.some(f=>f.$nodeToRelocate$===n)||en.push({$nodeToRelocate$:n})}h.nodeType===1&&Ht(h)}},mt=(t,n)=>t.nodeType===1?t.getAttribute("slot")===null&&n===""||t.getAttribute("slot")===n:t["s-sn"]===n?!0:n==="",Ut=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(Ut)},on=(t,n,o)=>t==null?void 0:t.insertBefore(n,o),Mr=(t,n,o=!1)=>{var i,h,d,f;const l=t.$hostElement$,b=t.$cmpMeta$,w=t.$vnode$||Un(null,null),x=vr(n)?n:e(null,null,n);if(En=l.tagName,b.$attrsToReflect$&&(x.$attrs$=x.$attrs$||{},b.$attrsToReflect$.map(([_,z])=>x.$attrs$[z]=l[_])),o&&x.$attrs$)for(const _ of Object.keys(x.$attrs$))l.hasAttribute(_)&&!["key","ref","style","class"].includes(_)&&(x.$attrs$[_]=l[_]);x.$tag$=null,x.$flags$|=4,t.$vnode$=x,x.$elm$=w.$elm$=l.shadowRoot||l,ln=l["s-sc"],Yn=(b.$flags$&1)!==0,ve=l["s-cr"],Xn=!1,bn(w,x,o);{if(G.$flags$|=1,Me){Ht(x.$elm$);for(const _ of en){const z=_.$nodeToRelocate$;if(!z["s-ol"]){const C=tn.createTextNode("");C["s-nr"]=z,on(z.parentNode,z["s-ol"]=C,z)}}for(const _ of en){const z=_.$nodeToRelocate$,C=_.$slotRefNode$;if(C){const E=C.parentNode;let H=C.nextSibling;{let R=(i=z["s-ol"])==null?void 0:i.previousSibling;for(;R;){let A=(h=R["s-nr"])!=null?h:null;if(A&&A["s-sn"]===z["s-sn"]&&E===A.parentNode){for(A=A.nextSibling;A===z||A!=null&&A["s-sr"];)A=A==null?void 0:A.nextSibling;if(!A||!A["s-nr"]){H=A;break}}R=R.previousSibling}}(!H&&E!==z.parentNode||z.nextSibling!==H)&&z!==H&&(!z["s-hn"]&&z["s-ol"]&&(z["s-hn"]=z["s-ol"].parentNode.nodeName),on(E,z,H),z.nodeType===1&&(z.hidden=(d=z["s-ih"])!=null?d:!1)),z&&typeof C["s-rf"]=="function"&&C["s-rf"](z)}else z.nodeType===1&&(o&&(z["s-ih"]=(f=z.hidden)!=null?f:!1),z.hidden=!0)}}Xn&&Rt(x.$elm$),G.$flags$&=-2,en.length=0}ve=void 0},Yt=(t,n)=>{n&&!t.$onRenderResolve$&&n["s-p"]&&n["s-p"].push(new Promise(o=>t.$onRenderResolve$=o))},Ie=(t,n)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return Yt(t,t.$ancestorComponent$),sr(()=>Dr(t,n))},Dr=(t,n)=>{const o=t.$hostElement$,i=cn("scheduleUpdate",t.$cmpMeta$.$tagName$),h=o;if(!h)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let d;return n&&(d=Rn(h,"componentWillLoad")),i(),Ir(d,()=>Ar(t,h,n))},Ir=(t,n)=>Pr(t)?t.then(n).catch(o=>{console.error(o),n()}):n(),Pr=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",Ar=async(t,n,o)=>{var i;const h=t.$hostElement$,d=cn("update",t.$cmpMeta$.$tagName$),f=h["s-rc"];o&&Cr(t);const l=cn("render",t.$cmpMeta$.$tagName$);Br(t,n,h,o),f&&(f.map(b=>b()),h["s-rc"]=void 0),l(),d();{const b=(i=h["s-p"])!=null?i:[],w=()=>Tr(t);b.length===0?w():(Promise.all(b).then(w),t.$flags$|=4,b.length=0)}},Br=(t,n,o,i)=>{try{n=n.render(),t.$flags$&=-17,t.$flags$|=2,Mr(t,n,i)}catch(h){Gn(h,t.$hostElement$)}return null},Tr=t=>{const n=t.$cmpMeta$.$tagName$,o=t.$hostElement$,i=cn("postUpdate",n),h=o,d=t.$ancestorComponent$;Rn(h,"componentDidRender"),t.$flags$&64?(Rn(h,"componentDidUpdate"),i()):(t.$flags$|=64,Xt(o),Rn(h,"componentDidLoad"),i(),t.$onReadyResolve$(o),d||Lr()),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&$e(()=>Ie(t,!1)),t.$flags$&=-517},Lr=t=>{Xt(tn.documentElement),$e(()=>Pt(Jn,"appload",{detail:{namespace:tr}}))},Rn=(t,n,o)=>{if(t&&t[n])try{return t[n](o)}catch(i){Gn(i)}},Xt=t=>{var n;return t.classList.add((n=un.hydratedSelectorName)!=null?n:"hydrated")},Or=(t,n)=>kn(t).$instanceValues$.get(n),Fr=(t,n,o,i)=>{const h=kn(t),d=t,f=h.$instanceValues$.get(n),l=h.$flags$,b=d;o=qr(o,i.$members$[n][0]);const w=Number.isNaN(f)&&Number.isNaN(o);if(o!==f&&!w){h.$instanceValues$.set(n,o);{if(i.$watchers$&&l&128){const _=i.$watchers$[n];_&&_.map(z=>{try{b[z](o,f,n)}catch(C){Gn(C,d)}})}(l&18)===2&&Ie(h,!1)}}},Rr=(t,n,o)=>{var i,h;const d=t.prototype;if(n.$members$||n.$watchers$||t.watchers){t.watchers&&!n.$watchers$&&(n.$watchers$=t.watchers);const f=Object.entries((i=n.$members$)!=null?i:{});f.map(([l,[b]])=>{(b&31||b&32)&&Object.defineProperty(d,l,{get(){return Or(this,l)},set(w){Fr(this,l,w,n)},configurable:!0,enumerable:!0})});{const l=new Map;d.attributeChangedCallback=function(b,w,x){G.jmp(()=>{var _;const z=l.get(b);if(this.hasOwnProperty(z))x=this[z],delete this[z];else{if(d.hasOwnProperty(z)&&typeof this[z]=="number"&&this[z]==x)return;if(z==null){const C=kn(this),E=C==null?void 0:C.$flags$;if(E&&!(E&8)&&E&128&&x!==w){const R=this,A=(_=n.$watchers$)==null?void 0:_[b];A==null||A.forEach(O=>{R[O]!=null&&R[O].call(R,x,w,b)})}return}}this[z]=x===null&&typeof this[z]=="boolean"?!1:x})},t.observedAttributes=Array.from(new Set([...Object.keys((h=n.$watchers$)!=null?h:{}),...f.filter(([b,w])=>w[0]&15).map(([b,w])=>{var x;const _=w[1]||b;return l.set(_,b),w[0]&512&&((x=n.$attrsToReflect$)==null||x.push([b,_])),_})]))}}return t},Hr=async(t,n,o,i)=>{let h;if(!(n.$flags$&32)){n.$flags$|=32;{h=t.constructor;const l=t.localName;customElements.whenDefined(l).then(()=>n.$flags$|=128)}if(h&&h.style){let l;typeof h.style=="string"&&(l=h.style);const b=At(o);if(!Hn.has(b)){const w=cn("registerStyles",o.$tagName$);zr(b,l,!!(o.$flags$&1)),w()}}}const d=n.$ancestorComponent$,f=()=>Ie(n,!0);d&&d["s-rc"]?d["s-rc"].push(f):f()},Ur=t=>{},Yr=t=>{if(!(G.$flags$&1)){const n=kn(t),o=n.$cmpMeta$,i=cn("connectedCallback",o.$tagName$);if(n.$flags$&1)n!=null&&n.$lazyInstance$||n!=null&&n.$onReadyPromise$&&n.$onReadyPromise$.then(()=>Ur());else{n.$flags$|=1,o.$flags$&12&&Xr(t);{let h=t;for(;h=h.parentNode||h.host;)if(h["s-p"]){Yt(n,n.$ancestorComponent$=h);break}}o.$members$&&Object.entries(o.$members$).map(([h,[d]])=>{if(d&31&&t.hasOwnProperty(h)){const f=t[h];delete t[h],t[h]=f}}),Hr(t,n,o)}i()}},Xr=t=>{const n=t["s-cr"]=tn.createComment("");n["s-cn"]=!0,on(t,n,t.firstChild)},Zr=async t=>{G.$flags$&1||kn(t)},p=(t,n)=>{const o={$flags$:n[0],$tagName$:n[1]};o.$members$=n[2],o.$watchers$=t.$watchers$,o.$attrsToReflect$=[];const i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){hr(this,o)},connectedCallback(){kn(this),Yr(this)},disconnectedCallback(){Zr(this),i&&i.call(this)},__attachShadow(){if(!this.shadowRoot)this.attachShadow({mode:"open"});else if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}),t.is=o.$tagName$,Rr(t,o)},N=(t,n)=>n;const Zt=p(class extends k{constructor(){super(),this.__registerHost(),this.bodyElement=null,this.title="",this.content="",this.size="lg",this.iconAlignment="Trailing",this.flush=!1,this.disabled=!1,this.extraClass="",this.isOpen=!1}handleAccordionClick(n){n.preventDefault(),!this.disabled&&(this.isOpen?this.collapseAccordion():this.openAccordion())}openAccordion(){this.isOpen=!0,this.bodyElement&&(this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+"px")}collapseAccordion(){this.isOpen=!1,this.bodyElement&&(this.bodyElement.style.maxHeight=null)}componentDidRender(){this.isOpen&&this.bodyElement?this.bodyElement.style.maxHeight=this.bodyElement.scrollHeight+24+"px":this.bodyElement&&(this.bodyElement.style.maxHeight=null)}render(){return e("div",{key:"adcd3cd0a57b70611d1ed9fc975ed08d1c478626",class:`accordion-item accordion-item--${this.size}
|
|
2
2
|
${this.iconAlignment==="Leading"?"accordion-item--icon-leading":""}
|
|
3
3
|
${this.flush?"accordion-item--flush":""}
|
|
4
|
-
${this.disabled?"disabled":""} ${this.extraClass} ${this.isOpen?"active":""}`},e("a",{key:"88286c16340794e99b1bbc1a756d5a476c35a5ea",href:"#",onClick:n=>this.handleAccordionClick(n),onKeyDown:n=>n.code==="Space"?this.handleAccordionClick(n):null,class:"accordion-item__header"},this.iconAlignment==="Leading"&&e("div",{key:"abd4ea8f5552de74bbce8f6571afe390638150c2",class:"accordion-item__arrow"},e("i",{key:"0704b9bbc54c90201a1a99f50e15ffe401495590",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})),e("div",{key:"c7c6675114a7ffc9e4c94cffcf2614e1535c2ddb",class:"accordion-item__title"},this.title),this.iconAlignment==="Trailing"&&e("div",{key:"25671b6125a0b17da3fbe66fac78e67366378ae9",class:"accordion-item__arrow"},e("i",{key:"240f311031b0c9caa1006d3b8eff53beadddbf07",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}))),e("div",{key:"52ba8bd39ddcf27d39c0af6fe0f0a0d078f24f6a",ref:n=>this.bodyElement=n,class:"accordion-item__body"},this.content))}get el(){return this}},[0,"dga-accordion",{title:[1],content:[1],size:[1],iconAlignment:[1,"icon-alignment"],flush:[4],disabled:[4],extraClass:[1,"extra-class"],isOpen:[32]}]);function
|
|
4
|
+
${this.disabled?"disabled":""} ${this.extraClass} ${this.isOpen?"active":""}`},e("a",{key:"88286c16340794e99b1bbc1a756d5a476c35a5ea",href:"#",onClick:n=>this.handleAccordionClick(n),onKeyDown:n=>n.code==="Space"?this.handleAccordionClick(n):null,class:"accordion-item__header"},this.iconAlignment==="Leading"&&e("div",{key:"abd4ea8f5552de74bbce8f6571afe390638150c2",class:"accordion-item__arrow"},e("i",{key:"0704b9bbc54c90201a1a99f50e15ffe401495590",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})),e("div",{key:"c7c6675114a7ffc9e4c94cffcf2614e1535c2ddb",class:"accordion-item__title"},this.title),this.iconAlignment==="Trailing"&&e("div",{key:"25671b6125a0b17da3fbe66fac78e67366378ae9",class:"accordion-item__arrow"},e("i",{key:"240f311031b0c9caa1006d3b8eff53beadddbf07",class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}))),e("div",{key:"52ba8bd39ddcf27d39c0af6fe0f0a0d078f24f6a",ref:n=>this.bodyElement=n,class:"accordion-item__body"},this.content))}get el(){return this}},[0,"dga-accordion",{title:[1],content:[1],size:[1],iconAlignment:[1,"icon-alignment"],flush:[4],disabled:[4],extraClass:[1,"extra-class"],isOpen:[32]}]);function Wt(){if(typeof customElements>"u")return;["dga-accordion"].forEach(n=>{switch(n){case"dga-accordion":customElements.get(n)||customElements.define(n,Zt);break}})}const Vt=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"d0a1a9567669619b35a8b14dcd8b7b2b52a19ccd"},e("h1",{key:"84ff0fe9cf5bfe29e0eb63c5cb661c7334dc9466"},"Accordion Example"),e("div",{key:"ec3e25819ddf2fd26f9de7b29b7e3ad8e4a301ad",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"33785e13d2bd46db9cbb976add59cad5af0e6d10",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-accordion",{key:"eee8afcde386b2fa30c406ca43cd2e6baa2edd63",title:"Accordion Title",size:"lg",content:`
|
|
5
5
|
The accordion component delivers large amounts of content in a small space through progressive disclosure. The user gets key details about the underlying content and can choose to expand that content within the constraints of the accordion.
|
|
6
|
-
`}),e("dga-accordion",{key:"29a1cf4410a059603a9c535cc4862a76eec0d30a",title:"Accordion Title",size:"md"}),e("dga-accordion",{key:"7265d6d362b4ddce60285f24ca4233a45d35e535",title:"Accordion Title",size:"sm"})),e("div",{key:"1146a977f63d767af88515fc7da378d32e0a127d",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-accordion-usage"]);function Wr(){if(typeof customElements>"u")return;["cs-accordion-usage","dga-accordion"].forEach(n=>{switch(n){case"cs-accordion-usage":customElements.get(n)||customElements.define(n,Wt);break;case"dga-accordion":customElements.get(n)||Zt();break}})}const Vr=Wt,Gr=Wr,Vt=p(class extends k{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=void 0,this.color=void 0,this.variant="bulk",this.type=""}componentDidLoad(){console.log("from will load,",this.icon),this.updateIcon()}updateIcon(){if(console.log("from update,",this.icon),console.log("from update,",this.container),this.container){const n=this.icon.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([0-9])/g,"$1-$2").replace(/([a-z])([0-9])/g,"$1-$2").toLowerCase().replace("-icon","").replace("icon","").trim(),o=`hgi-${this.variant||""} ${this.type?`hgi-${this.type}`:""} hgi-${n}`;this.container.className=o}}render(){return e("div",{key:"c0e8f3d348d1f863088c1647e83febd6ab87bbcc",style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"inherit"}},e("i",{key:"a5d61c1f0990454dbcde6fe0563f596bb77149e6",style:{fontSize:`${this.size?`${this.size}px`:"inherit"}`,color:this.color},ref:n=>this.container=n}))}static get watchers(){return{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}}},[0,"dga-icon",{icon:[1],size:[2],color:[1],variant:[1],type:[1]},void 0,{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}]);function I(){if(typeof customElements>"u")return;["dga-icon"].forEach(n=>{switch(n){case"dga-icon":customElements.get(n)||customElements.define(n,Vt);break}})}const Gt=p(class extends k{constructor(){super(),this.__registerHost(),this.type="icon",this.size=32,this.square=!1,this.border=!1,this.text="AB",this.imgUrl="/assets/avatar-img.png",this.customAttribute={key:"",value:""}}renderChildComponent(){if(this.type==="initials")return e("span",{class:"avatar__text"},this.text);if(this.type==="image")return e("img",{class:"avatar__img",src:this.imgUrl,alt:""});if(this.type==="icon")return e("div",{class:"avatar__icon"},e("dga-icon",{icon:"User",variant:"stroke"}))}render(){var n;const o=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{};return e("div",Object.assign({key:"a8d9ed9fddc4f00fe9f5549676a84e27a2d63936"},o,{class:{avatar:!0,[`avatar--${this.type}`]:!0,[`avatar--${this.size}`]:!0,"avatar--square":this.square,"avatar--border":this.border}}),this.renderChildComponent())}},[0,"dga-avatar",{type:[1],size:[2],square:[4],border:[4],text:[1],imgUrl:[1,"img-url"],customAttribute:[16]}]);function Jt(){if(typeof customElements>"u")return;["dga-avatar","dga-icon"].forEach(n=>{switch(n){case"dga-avatar":customElements.get(n)||customElements.define(n,Gt);break;case"dga-icon":customElements.get(n)||I();break}})}const Kt=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"c5872e1c0f64f03d7fa61e4e53450ea24dd02659"},e("h1",{key:"d97cea767366f3dd174f8141a38280aa059f2080"},"Avatar Example"),e("div",{key:"68bb9acdb191154397867684455921e000c01c48",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"5a1e3af87458524554adfb9e93e3b6dfb379486f",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-avatar",{key:"3f502ac82457762c0177a2741a4e2c6616c0d562",size:120,border:!1}),e("dga-avatar",{key:"dd576026b0644cc5574aa1f44393eadc39c2f10d",size:120,border:!0})),e("div",{key:"02f432c97c11ab451f2dd630a6deb75acbb358a7",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-avatar-usage",{variant:[32]}]);function Jr(){if(typeof customElements>"u")return;["cs-avatar-usage","dga-avatar","dga-icon"].forEach(n=>{switch(n){case"cs-avatar-usage":customElements.get(n)||customElements.define(n,Kt);break;case"dga-avatar":customElements.get(n)||Jt();break;case"dga-icon":customElements.get(n)||I();break}})}const Kr=Kt,Qr=Jr,Qt=p(class extends k{constructor(){super(),this.__registerHost(),this.onClick=hn(this,"onClick",7),this.variant="primary-neutral",this.size="md",this.label=void 0,this.iconOnly=void 0,this.iconType=void 0,this.iconProps=void 0,this.leadIcon=void 0,this.leadIconType=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconType=void 0,this.trailIconProps=void 0,this.disabled=void 0,this.btnId=void 0,this.customAttribute={key:"",value:""},this.type="button",this.onColor=!1}handleClick(n){this.disabled||this.onClick.emit(n)}renderIcon(n,o){return e("dga-icon",Object.assign({icon:n},o))}render(){var n;const o=this.btnId||`btn-${Math.random().toString(36).substr(2,9)}`,i=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{},h=["btn",`btn--${this.size}`,`btn--${this.variant}`,this.onColor?`btn--${this.variant}--on-color`:"",this.iconOnly?"btn--icon":""].filter(Boolean).join(" ");return e("button",Object.assign({key:"12e2ee0c132805e515bb08ab59d69eb8f1b5e26f",id:o},i,{type:this.type,class:h,disabled:this.disabled,"aria-label":this.iconOnly&&!this.label?"Button with icon":this.label,role:"button",onClick:d=>this.handleClick(d)}),this.iconOnly&&this.iconType&&e("span",{key:"2e2f74f2b0d58a84ceeb9276dd0096bac0dc5fbd",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.iconType,this.iconProps)),this.leadIcon&&this.leadIconType&&e("span",{key:"004c198e1c31107002e7dfa07a7186e28142663b",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.leadIconType,this.leadIconProps)),!this.iconOnly&&this.label&&e("span",{key:"96235556a4bf4d5565b24302a11ee98dad22b2ea"},this.label),this.trailIcon&&this.trailIconType&&e("span",{key:"b4f984c46ca2607c61a1afebae7ac1981fd9050b",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.trailIconType,this.trailIconProps)))}},[0,"dga-button",{variant:[1],size:[1],label:[1],iconOnly:[4,"icon-only"],iconType:[1,"icon-type"],iconProps:[16],leadIcon:[4,"lead-icon"],leadIconType:[1,"lead-icon-type"],leadIconProps:[16],trailIcon:[4,"trail-icon"],trailIconType:[1,"trail-icon-type"],trailIconProps:[16],disabled:[4],btnId:[1,"btn-id"],customAttribute:[16],type:[1],onColor:[4,"on-color"]}]);function tn(){if(typeof customElements>"u")return;["dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-button":customElements.get(n)||customElements.define(n,Qt);break;case"dga-icon":customElements.get(n)||I();break}})}const Nt=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"ae9a80d638f7cf9da2f631779f7df50cf8336973"},e("h1",{key:"5712c92470f4425a81b2c14bc82792b853770d0d"},"Button Example"),e("div",{key:"025776ff56f3f4a11ac56d6f1486fe463161730d",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"4f27817dc2a66467870c92a062117e8eb449b7c7",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-button",{key:"a6b6a8a26497551349fde588eafedf510393813a",label:"Button",variant:"transparent",onColor:!0}),e("dga-button",{key:"9d110de79b1c335a06434bcd5193a7639a0e2bf6",label:"Button",variant:"des-transparent",onColor:!0})),e("div",{key:"0c27e169b0f42dd8bc32c548fa42e0bb696a5418",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-button-usage",{variant:[32]}]);function Nr(){if(typeof customElements>"u")return;["cs-button-usage","dga-button","dga-icon"].forEach(n=>{switch(n){case"cs-button-usage":customElements.get(n)||customElements.define(n,Nt);break;case"dga-button":customElements.get(n)||tn();break;case"dga-icon":customElements.get(n)||I();break}})}const ng=Nt,eg=Nr,L=()=>{const t=Date.now().toString(36),n=Math.random().toString(36).substring(2);return t+n},no=p(class extends k{constructor(){super(),this.__registerHost(),this.handleActive=()=>{var n;(n=this.labelRef)===null||n===void 0||n.classList.add("active")},this.handleRemoveActive=()=>{var n;(n=this.labelRef)===null||n===void 0||n.classList.remove("active")},this.handleFocus=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.add("focus"))},this.handleFocusOut=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.remove("focus"))},this.handleEscape=n=>{var o,i;n.key==="Escape"&&(this.handleFocusOut(),(i=(o=this.labelRef)===null||o===void 0?void 0:o.querySelector("input"))===null||i===void 0||i.blur())},this.color="brand",this.label=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.name=L(),this.value="",this.showBorderOnFocusAndFocusOute=!0,this.onChange=void 0,this.onInput=void 0,this.checked=!1,this.isChecked=this.checked,this.Indeterminate=!1}componentWillLoad(){this.isChecked=this.checked}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"a2d2c75068da8adf171d6812a26e0a4c5a46cc2f",ref:n=>this.labelRef=n,class:`checkbox ${this.color?`checkbox--${this.color}`:""}`,onMouseDown:this.handleActive,onMouseUp:this.handleRemoveActive,onMouseOut:this.handleRemoveActive,onChange:()=>this.handleRemoveActive},e("div",{key:"a798c8c3dfe2d35318a23281c6c12c9665d7f01e",class:"checkbox-main"},e("div",{key:"be390ead20b763a783ba176eda154398edcf3b69",class:"checkbox-main__content"},e("input",{key:"9c88ac359bf98328aadfdc770af855939a1e14d8",type:"checkbox",name:this.name,value:this.value,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:n=>{var o;(o=this.onChange)===null||o===void 0||o.call(this,n);const i=n.target;this.isChecked=i.checked},onInput:this.onInput,checked:this.isChecked}),e("div",{key:"9ea7e4adc65d90817764273fa72bc236b470dc11",class:"checkbox-container"},e("span",{key:"9ca5d8d5f7ff5beab085597c01999b92467ae792",class:"checkbox-icon checkbox__checked-icon",style:{display:this.isChecked?"inline-block":"none"}},this.Indeterminate?e("i",{class:"hgi-solid hgi-minus-sign"}):e("i",{class:"hgi-solid hgi-tick-03"})),e("span",{key:"e04c80d7db658ea17583dc646eb1cdfc3898cfd0",class:"checkbox-icon checkbox__indeterminate-icon",style:{display:this.isChecked?"none":"inline-block"}},e("i",{key:"b0383f09d62f83d597d1f9976fa8a22f335a2b54",class:"hgi-solid hgi-remove-01"}))),this.helperText?e("div",{class:"flex-column"},e("span",{class:"checkbox__label"},this.label),e("span",{class:"checkbox__helper-text"},this.helperText)):this.label&&e("span",{class:"checkbox__label"},this.label)),this.alertMessage&&e("div",{key:"e5c27cd8a49c7de124cfb17c639b92673897595e",class:"checkbox__warning"},e("span",{key:"2ea9c7becc2cf1beb1695199206f88bc55e4d032",class:"checkbox__warning-icon"},e("i",{key:"1145b640e9a0792f0576d910dccd4b964fc47f91",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"01d8c1428fb3d9a05218612177f78febb722c172",class:"checkbox__warning-text"},this.alertText))))}},[0,"dga-checkbox",{color:[1],label:[1],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],name:[1],value:[1],showBorderOnFocusAndFocusOute:[4,"show-border-on-focus-and-focus-oute"],onChange:[16],onInput:[16],checked:[4],Indeterminate:[4,"indeterminate"],isChecked:[32]}]);function Sn(){if(typeof customElements>"u")return;["dga-checkbox"].forEach(n=>{switch(n){case"dga-checkbox":customElements.get(n)||customElements.define(n,no);break}})}const eo=p(class extends k{constructor(){super(),this.__registerHost(),this.onMouseEnterHandler=()=>{this.isFocused=!0},this.onMouseLeaveHandler=()=>{this.isFocused=!1},this.type="default",this.showTitle=!0,this.showDescription=!0,this.showFeaturedIcon=!0,this.image="",this.showRating=!1,this.disabled=!1,this.effect="with-shadow",this.cardTitle="Card Title",this.description="Card content placeholder text goes here",this.featuredIcon=e("i",{class:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",style:{fontSize:"24px"}}),this.primaryActionLabel="Primary Action",this.secondaryActionLabel="Secondary Action",this.onCheckboxChange=()=>{},this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{},this.isFocused=!1,this.expanded=!1}toggleExpand(){this.expanded=!this.expanded}render(){return e("div",{key:"a232ec6b4218bcdafd12d79e2c0d9259c0b3bea4",class:`card flex-column ${this.disabled?"disabled":""} ${this.isFocused?"focused":""} card--${this.effect}`,onMouseEnter:this.onMouseEnterHandler,onMouseLeave:this.onMouseLeaveHandler},this.image&&e("div",{key:"a03ad185fb3ffbed902e3aa0c82aaab29fd8dbfb",class:"card__image-container"},e("img",{key:"4a0b245746c15a993c61a107b91f9fe8d63764d1",src:this.image,alt:"Card"})),this.showFeaturedIcon&&e("div",{key:"75ff097ac1624fd587f43b7f44be066a28363cae",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--lg"},this.featuredIcon),this.type==="selectable"&&e("div",{key:"d8ac08ce5a4db50711b435c9b70b747e1b97a330",class:"card__checkbox-container"},e("dga-checkbox",{key:"a1615e479c439adf752e61e525f11cb8d758ba7a",color:"brand",onChange:this.onCheckboxChange})),(this.showTitle||this.showDescription)&&e("div",{key:"8169b2a39cc2c41322682cb322032a10d2cf28ff",class:"card__content-text flex-column"},this.showTitle&&e("h4",{key:"3cc0b3846c49766fa33fda5ea434bce5b3e5592a",class:"text-lg-bold"},this.cardTitle," test"),this.showDescription&&e("p",{key:"35d772419e48825fd646687310a9f1c2820c1b09",class:"text-md-regular"},this.description)),this.showRating&&e("div",{key:"b0b71bcbe84c3aba06748e3d4a34f5954b5bec8d",class:"card__rating-container"}),this.type==="default"&&e("div",{key:"8dc480269b2702d43182b55e0c2d702273b5dfb2",class:"card__action card__action--default"},e("dga-button",{key:"5ab61602f8dcbf831c335a50367e2efde5a01ddb",label:this.secondaryActionLabel,size:"lg",variant:"secondary-outline"}),e("dga-button",{key:"827475fe8e1eb86ee389de45bdd2261a70ee9e93",label:this.primaryActionLabel,size:"lg",variant:"primary-brand"})),this.type==="expanded"&&e("div",{key:"a562ba625a181f86e6bf8e6222eb926f59687edd",class:"card__action card__action--expanded"},e("dga-button",{key:"cf063a2f7c5f8d6881cfb88c6d5fc7792e062731",iconOnly:!0,onClick:()=>this.toggleExpand(),size:"lg",variant:"subtle",leadIconType:this.expanded?e("i",{class:"hgi-stroke hgi-arrow-up-01"}):e("i",{class:"hgi-stroke hgi-arrow-down-01"}),leadIcon:!0})),e("div",{key:"b7e48694ae078fb428a772769f7fe51e84d0749a",class:`collapse-content ${this.expanded?"expanded":""}`},e("slot",{key:"144db7fbf1edbaa0dfdb1848da8d31fa2207eca7",name:"collapse-content"})))}},[4,"dga-card",{type:[1],showTitle:[4,"show-title"],showDescription:[4,"show-description"],showFeaturedIcon:[4,"show-featured-icon"],image:[1],showRating:[4,"show-rating"],disabled:[4],effect:[1],cardTitle:[1,"card-title"],description:[1],featuredIcon:[8,"featured-icon"],primaryActionLabel:[1,"primary-action-label"],secondaryActionLabel:[1,"secondary-action-label"],onCheckboxChange:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16],isFocused:[32],expanded:[32]}]);function to(){if(typeof customElements>"u")return;["dga-card","dga-button","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-card":customElements.get(n)||customElements.define(n,eo);break;case"dga-button":customElements.get(n)||tn();break;case"dga-checkbox":customElements.get(n)||Sn();break;case"dga-icon":customElements.get(n)||I();break}})}const oo=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"9826ad3a4496363219a428acc8f5254ad6dca741"},e("h1",{key:"5afda43049ea9cf12f8938f2b18eb0c0fd5126e8"},"Card Example"),e("div",{key:"c5293a3c11bfff45cf08236919134b24be9f416e",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"b96751a0ec28aeba85a872f6e50cd85b6cab8a6d",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-card",{key:"bef658006695cf4c38f3cf66f08b8823c033d943",type:"expanded",cardTitle:"Card Title",description:"Card content placeholder text goes here",showFeaturedIcon:!0},e("div",{key:"8d404497b53e55b6a7cc89f1b105fd0edd898507",slot:"collapse-content"},"dgdsgdfgdfg")),e("dga-card",{key:"da5a2b2c979b30d95406ec81a83b374c9e3c5efc",type:"selectable",cardTitle:"Card Title",description:"Card content placeholder text goes here"})),e("div",{key:"214dbdb1063a1197ece7edca71bdb42bfb5ecc13",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-card-usage",{variant:[32]}]);function tg(){if(typeof customElements>"u")return;["cs-card-usage","dga-button","dga-card","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"cs-card-usage":customElements.get(n)||customElements.define(n,oo);break;case"dga-button":customElements.get(n)||tn();break;case"dga-card":customElements.get(n)||to();break;case"dga-checkbox":customElements.get(n)||Sn();break;case"dga-icon":customElements.get(n)||I();break}})}const og=oo,ig=tg,io=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"c8f781e066ef5c5b13e70c6c6046f964aaf5d2cd"},e("h1",{key:"85027dee57eab3cc905ad7c2e7cf07ace73f69a3"},"Checkbox Example"),e("div",{key:"6866e88c2dae0cef9ea7faa5ed8dfbdcfdbc0af9",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"89f7db65446d6ec39a8f6f0de0e9aaf3f12366ef",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-checkbox",{key:"6db92942fa8eb25d2f76a1df72d66ae7ceca2941",label:"Checkbox Label",Indeterminate:!1,alertMessage:!0,alertText:"Error/Warning message"})),e("div",{key:"af82f3e99d2b29e1652cec8dbd14032e0037a996",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-checkbox-usage",{variant:[32]}]);function hg(){if(typeof customElements>"u")return;["cs-checkbox-usage","dga-checkbox"].forEach(n=>{switch(n){case"cs-checkbox-usage":customElements.get(n)||customElements.define(n,io);break;case"dga-checkbox":customElements.get(n)||Sn();break}})}const rg=io,gg=hg,ho=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.variant="success",this.size="md",this.leadIcon=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconProps=void 0,this.rounded=void 0,this.pressed=!1}renderIcon(n,o){return e("dga-icon",Object.assign({icon:n},o))}render(){return e("span",{key:"faddec27ebb0e0a345ed7faf1076d6b016b250d6",tabindex:"0",class:`chip chip--${this.variant} chip--${this.size} ${this.rounded?"chip--rounded":""} ${this.pressed?"pressed":""}`,onMouseDown:()=>this.pressed=!0,onMouseUp:()=>this.pressed=!1},this.leadIcon?e("span",{class:"chip-icon"},this.renderIcon(this.leadIcon,this.leadIconProps)):"",this.label,this.trailIcon?e("span",{class:"chip-icon"},this.renderIcon(this.trailIcon,this.trailIconProps)):"",e("slot",{key:"4eae667b846a4d173c99c05b6bd48bf10375a129"}))}},[4,"dga-chip",{label:[1],variant:[1],size:[1],leadIcon:[8,"lead-icon"],leadIconProps:[16],trailIcon:[8,"trail-icon"],trailIconProps:[16],rounded:[4],pressed:[32]}]);function ro(){if(typeof customElements>"u")return;["dga-chip","dga-icon"].forEach(n=>{switch(n){case"dga-chip":customElements.get(n)||customElements.define(n,ho);break;case"dga-icon":customElements.get(n)||I();break}})}const go=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"24eba03ae9ef0c9328c9709d0cf9ce61034f088e"},e("h1",{key:"f2933d815944ec6f962f8d964e9f8b347d97fbbe"},"Chip Example"),e("div",{key:"4926ee818cd2428520cf994b2995ce19a71e836c",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"973a9b4f3edc0a96b091cefb31e3f84202450826",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-chip",{key:"bb14595898268d216c44512962ba5a46ee58a578",label:"Label",variant:"neutral",rounded:!1,size:"lg"}),e("dga-chip",{key:"bf544fbf14341c74106a28f24ffb690cd083e8c3",label:"Label",variant:"success",rounded:!1,size:"lg"}),e("div",{key:"9e5cb3b37227bf0135d3e133c913031c686402c0",style:{display:"flex",flexDirection:"column",gap:"20px",backgroundColor:"#074D31"}},e("dga-chip",{key:"1e47e3db0bcd232102236d75b9aafeef8247345a",label:"Label",variant:"on-color",rounded:!1,size:"lg"})))))}},[0,"cs-chip-usage"]);function ag(){if(typeof customElements>"u")return;["cs-chip-usage","dga-chip","dga-icon"].forEach(n=>{switch(n){case"cs-chip-usage":customElements.get(n)||customElements.define(n,go);break;case"dga-chip":customElements.get(n)||ro();break;case"dga-icon":customElements.get(n)||I();break}})}const cg=go,sg=ag,dg=`@charset "UTF-8";
|
|
6
|
+
`}),e("dga-accordion",{key:"29a1cf4410a059603a9c535cc4862a76eec0d30a",title:"Accordion Title",size:"md"}),e("dga-accordion",{key:"7265d6d362b4ddce60285f24ca4233a45d35e535",title:"Accordion Title",size:"sm"})),e("div",{key:"1146a977f63d767af88515fc7da378d32e0a127d",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-accordion-usage"]);function Wr(){if(typeof customElements>"u")return;["cs-accordion-usage","dga-accordion"].forEach(n=>{switch(n){case"cs-accordion-usage":customElements.get(n)||customElements.define(n,Vt);break;case"dga-accordion":customElements.get(n)||Wt();break}})}const Vr=Vt,Gr=Wr,Gt=p(class extends k{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=void 0,this.color=void 0,this.variant="bulk",this.type=""}componentDidLoad(){console.log("from will load,",this.icon),this.updateIcon()}updateIcon(){if(console.log("from update,",this.icon),console.log("from update,",this.container),this.container){const n=this.icon.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([0-9])/g,"$1-$2").replace(/([a-z])([0-9])/g,"$1-$2").toLowerCase().replace("-icon","").replace("icon","").trim(),o=`hgi-${this.variant||""} ${this.type?`hgi-${this.type}`:""} hgi-${n}`;this.container.className=o}}render(){return e("div",{key:"7cefa777e67626dd3655821ca9a0a1eee17621da",style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"inherit"}},e("i",{key:"df18c8eb152d8eac7d6da0deee10ad731a2fbaaa",style:{fontSize:`${this.size?`${this.size}px`:"inherit"}`,color:this.color},ref:n=>this.container=n}))}static get watchers(){return{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}}},[0,"dga-icon",{icon:[1],size:[2],color:[1],variant:[1],type:[1]},void 0,{icon:["updateIcon"],variant:["updateIcon"],type:["updateIcon"]}]);function D(){if(typeof customElements>"u")return;["dga-icon"].forEach(n=>{switch(n){case"dga-icon":customElements.get(n)||customElements.define(n,Gt);break}})}const Jt=p(class extends k{constructor(){super(),this.__registerHost(),this.type="icon",this.size=32,this.square=!1,this.border=!1,this.text="AB",this.imgUrl="/assets/avatar-img.png",this.customAttribute={key:"",value:""}}renderChildComponent(){if(this.type==="initials")return e("span",{class:"avatar__text"},this.text);if(this.type==="image")return e("img",{class:"avatar__img",src:this.imgUrl,alt:""});if(this.type==="icon")return e("div",{class:"avatar__icon"},e("dga-icon",{icon:"User",variant:"stroke"}))}render(){var n;const o=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{};return e("div",Object.assign({key:"a8d9ed9fddc4f00fe9f5549676a84e27a2d63936"},o,{class:{avatar:!0,[`avatar--${this.type}`]:!0,[`avatar--${this.size}`]:!0,"avatar--square":this.square,"avatar--border":this.border}}),this.renderChildComponent())}},[0,"dga-avatar",{type:[1],size:[2],square:[4],border:[4],text:[1],imgUrl:[1,"img-url"],customAttribute:[16]}]);function Kt(){if(typeof customElements>"u")return;["dga-avatar","dga-icon"].forEach(n=>{switch(n){case"dga-avatar":customElements.get(n)||customElements.define(n,Jt);break;case"dga-icon":customElements.get(n)||D();break}})}const Qt=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"c5872e1c0f64f03d7fa61e4e53450ea24dd02659"},e("h1",{key:"d97cea767366f3dd174f8141a38280aa059f2080"},"Avatar Example"),e("div",{key:"68bb9acdb191154397867684455921e000c01c48",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"5a1e3af87458524554adfb9e93e3b6dfb379486f",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-avatar",{key:"3f502ac82457762c0177a2741a4e2c6616c0d562",size:120,border:!1}),e("dga-avatar",{key:"dd576026b0644cc5574aa1f44393eadc39c2f10d",size:120,border:!0})),e("div",{key:"02f432c97c11ab451f2dd630a6deb75acbb358a7",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-avatar-usage",{variant:[32]}]);function Jr(){if(typeof customElements>"u")return;["cs-avatar-usage","dga-avatar","dga-icon"].forEach(n=>{switch(n){case"cs-avatar-usage":customElements.get(n)||customElements.define(n,Qt);break;case"dga-avatar":customElements.get(n)||Kt();break;case"dga-icon":customElements.get(n)||D();break}})}const Kr=Qt,Qr=Jr,Nt=p(class extends k{constructor(){super(),this.__registerHost(),this.onClick=hn(this,"onClick",7),this.variant="primary-neutral",this.size="md",this.label=void 0,this.iconOnly=void 0,this.iconType=void 0,this.iconProps=void 0,this.leadIcon=void 0,this.leadIconType=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconType=void 0,this.trailIconProps=void 0,this.disabled=void 0,this.btnId=void 0,this.customAttribute={key:"",value:""},this.type="button",this.onColor=!1}handleClick(n){this.disabled||this.onClick.emit(n)}renderIcon(n,o){return e("dga-icon",Object.assign({icon:n},o))}render(){var n;const o=this.btnId||`btn-${Math.random().toString(36).substr(2,9)}`,i=!((n=this.customAttribute)===null||n===void 0)&&n.key?{[this.customAttribute.key]:this.customAttribute.value||""}:{},h=["btn",`btn--${this.size}`,`btn--${this.variant}`,this.onColor?`btn--${this.variant}--on-color`:"",this.iconOnly?"btn--icon":""].filter(Boolean).join(" ");return e("button",Object.assign({key:"12e2ee0c132805e515bb08ab59d69eb8f1b5e26f",id:o},i,{type:this.type,class:h,disabled:this.disabled,"aria-label":this.iconOnly&&!this.label?"Button with icon":this.label,role:"button",onClick:d=>this.handleClick(d)}),this.iconOnly&&this.iconType&&e("span",{key:"2e2f74f2b0d58a84ceeb9276dd0096bac0dc5fbd",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.iconType,this.iconProps)),this.leadIcon&&this.leadIconType&&e("span",{key:"004c198e1c31107002e7dfa07a7186e28142663b",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.leadIconType,this.leadIconProps)),!this.iconOnly&&this.label&&e("span",{key:"96235556a4bf4d5565b24302a11ee98dad22b2ea"},this.label),this.trailIcon&&this.trailIconType&&e("span",{key:"b4f984c46ca2607c61a1afebae7ac1981fd9050b",class:"btn-icon","aria-hidden":"true"},this.renderIcon(this.trailIconType,this.trailIconProps)))}},[0,"dga-button",{variant:[1],size:[1],label:[1],iconOnly:[4,"icon-only"],iconType:[1,"icon-type"],iconProps:[16],leadIcon:[4,"lead-icon"],leadIconType:[1,"lead-icon-type"],leadIconProps:[16],trailIcon:[4,"trail-icon"],trailIconType:[1,"trail-icon-type"],trailIconProps:[16],disabled:[4],btnId:[1,"btn-id"],customAttribute:[16],type:[1],onColor:[4,"on-color"]}]);function nn(){if(typeof customElements>"u")return;["dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-button":customElements.get(n)||customElements.define(n,Nt);break;case"dga-icon":customElements.get(n)||D();break}})}const no=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"ae9a80d638f7cf9da2f631779f7df50cf8336973"},e("h1",{key:"5712c92470f4425a81b2c14bc82792b853770d0d"},"Button Example"),e("div",{key:"025776ff56f3f4a11ac56d6f1486fe463161730d",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"4f27817dc2a66467870c92a062117e8eb449b7c7",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-button",{key:"a6b6a8a26497551349fde588eafedf510393813a",label:"Button",variant:"transparent",onColor:!0}),e("dga-button",{key:"9d110de79b1c335a06434bcd5193a7639a0e2bf6",label:"Button",variant:"des-transparent",onColor:!0})),e("div",{key:"0c27e169b0f42dd8bc32c548fa42e0bb696a5418",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-button-usage",{variant:[32]}]);function Nr(){if(typeof customElements>"u")return;["cs-button-usage","dga-button","dga-icon"].forEach(n=>{switch(n){case"cs-button-usage":customElements.get(n)||customElements.define(n,no);break;case"dga-button":customElements.get(n)||nn();break;case"dga-icon":customElements.get(n)||D();break}})}const ng=no,eg=Nr,L=()=>{const t=Date.now().toString(36),n=Math.random().toString(36).substring(2);return t+n},eo=p(class extends k{constructor(){super(),this.__registerHost(),this.handleActive=()=>{var n;(n=this.labelRef)===null||n===void 0||n.classList.add("active")},this.handleRemoveActive=()=>{var n;(n=this.labelRef)===null||n===void 0||n.classList.remove("active")},this.handleFocus=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.add("focus"))},this.handleFocusOut=()=>{var n;this.showBorderOnFocusAndFocusOute&&((n=this.labelRef)===null||n===void 0||n.classList.remove("focus"))},this.handleEscape=n=>{var o,i;n.key==="Escape"&&(this.handleFocusOut(),(i=(o=this.labelRef)===null||o===void 0?void 0:o.querySelector("input"))===null||i===void 0||i.blur())},this.color="brand",this.label=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.name=L(),this.value="",this.showBorderOnFocusAndFocusOute=!0,this.onChange=void 0,this.onInput=void 0,this.checked=!1,this.isChecked=this.checked,this.Indeterminate=!1}componentWillLoad(){this.isChecked=this.checked}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"a2d2c75068da8adf171d6812a26e0a4c5a46cc2f",ref:n=>this.labelRef=n,class:`checkbox ${this.color?`checkbox--${this.color}`:""}`,onMouseDown:this.handleActive,onMouseUp:this.handleRemoveActive,onMouseOut:this.handleRemoveActive,onChange:()=>this.handleRemoveActive},e("div",{key:"a798c8c3dfe2d35318a23281c6c12c9665d7f01e",class:"checkbox-main"},e("div",{key:"be390ead20b763a783ba176eda154398edcf3b69",class:"checkbox-main__content"},e("input",{key:"9c88ac359bf98328aadfdc770af855939a1e14d8",type:"checkbox",name:this.name,value:this.value,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:n=>{var o;(o=this.onChange)===null||o===void 0||o.call(this,n);const i=n.target;this.isChecked=i.checked},onInput:this.onInput,checked:this.isChecked}),e("div",{key:"9ea7e4adc65d90817764273fa72bc236b470dc11",class:"checkbox-container"},e("span",{key:"9ca5d8d5f7ff5beab085597c01999b92467ae792",class:"checkbox-icon checkbox__checked-icon",style:{display:this.isChecked?"inline-block":"none"}},this.Indeterminate?e("i",{class:"hgi-solid hgi-minus-sign"}):e("i",{class:"hgi-solid hgi-tick-03"})),e("span",{key:"e04c80d7db658ea17583dc646eb1cdfc3898cfd0",class:"checkbox-icon checkbox__indeterminate-icon",style:{display:this.isChecked?"none":"inline-block"}},e("i",{key:"b0383f09d62f83d597d1f9976fa8a22f335a2b54",class:"hgi-solid hgi-remove-01"}))),this.helperText?e("div",{class:"flex-column"},e("span",{class:"checkbox__label"},this.label),e("span",{class:"checkbox__helper-text"},this.helperText)):this.label&&e("span",{class:"checkbox__label"},this.label)),this.alertMessage&&e("div",{key:"e5c27cd8a49c7de124cfb17c639b92673897595e",class:"checkbox__warning"},e("span",{key:"2ea9c7becc2cf1beb1695199206f88bc55e4d032",class:"checkbox__warning-icon"},e("i",{key:"1145b640e9a0792f0576d910dccd4b964fc47f91",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"01d8c1428fb3d9a05218612177f78febb722c172",class:"checkbox__warning-text"},this.alertText))))}},[0,"dga-checkbox",{color:[1],label:[1],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],name:[1],value:[1],showBorderOnFocusAndFocusOute:[4,"show-border-on-focus-and-focus-oute"],onChange:[16],onInput:[16],checked:[4],Indeterminate:[4,"indeterminate"],isChecked:[32]}]);function Sn(){if(typeof customElements>"u")return;["dga-checkbox"].forEach(n=>{switch(n){case"dga-checkbox":customElements.get(n)||customElements.define(n,eo);break}})}const to=p(class extends k{constructor(){super(),this.__registerHost(),this.onMouseEnterHandler=()=>{this.isFocused=!0},this.onMouseLeaveHandler=()=>{this.isFocused=!1},this.type="default",this.showTitle=!0,this.showDescription=!0,this.showFeaturedIcon=!0,this.image="",this.showRating=!1,this.disabled=!1,this.effect="with-shadow",this.cardTitle="Card Title",this.description="Card content placeholder text goes here",this.featuredIcon=e("i",{class:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",style:{fontSize:"24px"}}),this.primaryActionLabel="Primary Action",this.secondaryActionLabel="Secondary Action",this.onCheckboxChange=()=>{},this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{},this.isFocused=!1,this.expanded=!1}toggleExpand(){this.expanded=!this.expanded}render(){return e("div",{key:"a232ec6b4218bcdafd12d79e2c0d9259c0b3bea4",class:`card flex-column ${this.disabled?"disabled":""} ${this.isFocused?"focused":""} card--${this.effect}`,onMouseEnter:this.onMouseEnterHandler,onMouseLeave:this.onMouseLeaveHandler},this.image&&e("div",{key:"a03ad185fb3ffbed902e3aa0c82aaab29fd8dbfb",class:"card__image-container"},e("img",{key:"4a0b245746c15a993c61a107b91f9fe8d63764d1",src:this.image,alt:"Card"})),this.showFeaturedIcon&&e("div",{key:"75ff097ac1624fd587f43b7f44be066a28363cae",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--lg"},this.featuredIcon),this.type==="selectable"&&e("div",{key:"d8ac08ce5a4db50711b435c9b70b747e1b97a330",class:"card__checkbox-container"},e("dga-checkbox",{key:"a1615e479c439adf752e61e525f11cb8d758ba7a",color:"brand",onChange:this.onCheckboxChange})),(this.showTitle||this.showDescription)&&e("div",{key:"8169b2a39cc2c41322682cb322032a10d2cf28ff",class:"card__content-text flex-column"},this.showTitle&&e("h4",{key:"3cc0b3846c49766fa33fda5ea434bce5b3e5592a",class:"text-lg-bold"},this.cardTitle," test"),this.showDescription&&e("p",{key:"35d772419e48825fd646687310a9f1c2820c1b09",class:"text-md-regular"},this.description)),this.showRating&&e("div",{key:"b0b71bcbe84c3aba06748e3d4a34f5954b5bec8d",class:"card__rating-container"}),this.type==="default"&&e("div",{key:"8dc480269b2702d43182b55e0c2d702273b5dfb2",class:"card__action card__action--default"},e("dga-button",{key:"5ab61602f8dcbf831c335a50367e2efde5a01ddb",label:this.secondaryActionLabel,size:"lg",variant:"secondary-outline"}),e("dga-button",{key:"827475fe8e1eb86ee389de45bdd2261a70ee9e93",label:this.primaryActionLabel,size:"lg",variant:"primary-brand"})),this.type==="expanded"&&e("div",{key:"a562ba625a181f86e6bf8e6222eb926f59687edd",class:"card__action card__action--expanded"},e("dga-button",{key:"cf063a2f7c5f8d6881cfb88c6d5fc7792e062731",iconOnly:!0,onClick:()=>this.toggleExpand(),size:"lg",variant:"subtle",leadIconType:this.expanded?e("i",{class:"hgi-stroke hgi-arrow-up-01"}):e("i",{class:"hgi-stroke hgi-arrow-down-01"}),leadIcon:!0})),e("div",{key:"b7e48694ae078fb428a772769f7fe51e84d0749a",class:`collapse-content ${this.expanded?"expanded":""}`},e("slot",{key:"144db7fbf1edbaa0dfdb1848da8d31fa2207eca7",name:"collapse-content"})))}},[4,"dga-card",{type:[1],showTitle:[4,"show-title"],showDescription:[4,"show-description"],showFeaturedIcon:[4,"show-featured-icon"],image:[1],showRating:[4,"show-rating"],disabled:[4],effect:[1],cardTitle:[1,"card-title"],description:[1],featuredIcon:[8,"featured-icon"],primaryActionLabel:[1,"primary-action-label"],secondaryActionLabel:[1,"secondary-action-label"],onCheckboxChange:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16],isFocused:[32],expanded:[32]}]);function oo(){if(typeof customElements>"u")return;["dga-card","dga-button","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-card":customElements.get(n)||customElements.define(n,to);break;case"dga-button":customElements.get(n)||nn();break;case"dga-checkbox":customElements.get(n)||Sn();break;case"dga-icon":customElements.get(n)||D();break}})}const io=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"9826ad3a4496363219a428acc8f5254ad6dca741"},e("h1",{key:"5afda43049ea9cf12f8938f2b18eb0c0fd5126e8"},"Card Example"),e("div",{key:"c5293a3c11bfff45cf08236919134b24be9f416e",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"b96751a0ec28aeba85a872f6e50cd85b6cab8a6d",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-card",{key:"bef658006695cf4c38f3cf66f08b8823c033d943",type:"expanded",cardTitle:"Card Title",description:"Card content placeholder text goes here",showFeaturedIcon:!0},e("div",{key:"8d404497b53e55b6a7cc89f1b105fd0edd898507",slot:"collapse-content"},"dgdsgdfgdfg")),e("dga-card",{key:"da5a2b2c979b30d95406ec81a83b374c9e3c5efc",type:"selectable",cardTitle:"Card Title",description:"Card content placeholder text goes here"})),e("div",{key:"214dbdb1063a1197ece7edca71bdb42bfb5ecc13",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-card-usage",{variant:[32]}]);function tg(){if(typeof customElements>"u")return;["cs-card-usage","dga-button","dga-card","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"cs-card-usage":customElements.get(n)||customElements.define(n,io);break;case"dga-button":customElements.get(n)||nn();break;case"dga-card":customElements.get(n)||oo();break;case"dga-checkbox":customElements.get(n)||Sn();break;case"dga-icon":customElements.get(n)||D();break}})}const og=io,ig=tg,ho=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"c8f781e066ef5c5b13e70c6c6046f964aaf5d2cd"},e("h1",{key:"85027dee57eab3cc905ad7c2e7cf07ace73f69a3"},"Checkbox Example"),e("div",{key:"6866e88c2dae0cef9ea7faa5ed8dfbdcfdbc0af9",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"89f7db65446d6ec39a8f6f0de0e9aaf3f12366ef",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-checkbox",{key:"6db92942fa8eb25d2f76a1df72d66ae7ceca2941",label:"Checkbox Label",Indeterminate:!1,alertMessage:!0,alertText:"Error/Warning message"})),e("div",{key:"af82f3e99d2b29e1652cec8dbd14032e0037a996",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-checkbox-usage",{variant:[32]}]);function hg(){if(typeof customElements>"u")return;["cs-checkbox-usage","dga-checkbox"].forEach(n=>{switch(n){case"cs-checkbox-usage":customElements.get(n)||customElements.define(n,ho);break;case"dga-checkbox":customElements.get(n)||Sn();break}})}const rg=ho,gg=hg,ro=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.variant="success",this.size="md",this.leadIcon=void 0,this.leadIconProps=void 0,this.trailIcon=void 0,this.trailIconProps=void 0,this.rounded=void 0,this.pressed=!1}renderIcon(n,o){return e("dga-icon",Object.assign({icon:n},o))}render(){return e("span",{key:"faddec27ebb0e0a345ed7faf1076d6b016b250d6",tabindex:"0",class:`chip chip--${this.variant} chip--${this.size} ${this.rounded?"chip--rounded":""} ${this.pressed?"pressed":""}`,onMouseDown:()=>this.pressed=!0,onMouseUp:()=>this.pressed=!1},this.leadIcon?e("span",{class:"chip-icon"},this.renderIcon(this.leadIcon,this.leadIconProps)):"",this.label,this.trailIcon?e("span",{class:"chip-icon"},this.renderIcon(this.trailIcon,this.trailIconProps)):"",e("slot",{key:"4eae667b846a4d173c99c05b6bd48bf10375a129"}))}},[4,"dga-chip",{label:[1],variant:[1],size:[1],leadIcon:[8,"lead-icon"],leadIconProps:[16],trailIcon:[8,"trail-icon"],trailIconProps:[16],rounded:[4],pressed:[32]}]);function go(){if(typeof customElements>"u")return;["dga-chip","dga-icon"].forEach(n=>{switch(n){case"dga-chip":customElements.get(n)||customElements.define(n,ro);break;case"dga-icon":customElements.get(n)||D();break}})}const ao=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"24eba03ae9ef0c9328c9709d0cf9ce61034f088e"},e("h1",{key:"f2933d815944ec6f962f8d964e9f8b347d97fbbe"},"Chip Example"),e("div",{key:"4926ee818cd2428520cf994b2995ce19a71e836c",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"973a9b4f3edc0a96b091cefb31e3f84202450826",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-chip",{key:"bb14595898268d216c44512962ba5a46ee58a578",label:"Label",variant:"neutral",rounded:!1,size:"lg"}),e("dga-chip",{key:"bf544fbf14341c74106a28f24ffb690cd083e8c3",label:"Label",variant:"success",rounded:!1,size:"lg"}),e("div",{key:"9e5cb3b37227bf0135d3e133c913031c686402c0",style:{display:"flex",flexDirection:"column",gap:"20px",backgroundColor:"#074D31"}},e("dga-chip",{key:"1e47e3db0bcd232102236d75b9aafeef8247345a",label:"Label",variant:"on-color",rounded:!1,size:"lg"})))))}},[0,"cs-chip-usage"]);function ag(){if(typeof customElements>"u")return;["cs-chip-usage","dga-chip","dga-icon"].forEach(n=>{switch(n){case"cs-chip-usage":customElements.get(n)||customElements.define(n,ao);break;case"dga-chip":customElements.get(n)||go();break;case"dga-icon":customElements.get(n)||D();break}})}const cg=ao,sg=ag,co=p(class extends k{constructor(){super(),this.__registerHost(),this.size="md",this.orientation="horizontal",this.external=!1,this.flush=!1,this.divider=!1,this.tabsList=[],this.extraClass=void 0,this.disabled=!1,this.activeTab=null}setActiveTab(n){this.activeTab=n}renderIcon(n,o){return e("dga-icon",Object.assign({icon:n},o))}render(){var n;return e("ul",{key:"663ef534c98b06761c077edc7e5f6893094b4c15",class:`tabs-list tabs-list--${this.orientation} ${this.divider?"tabs-list--divider":""} ${this.flush?"flush":""} ${this.extraClass}`},(n=this.tabsList)===null||n===void 0?void 0:n.map((o,i)=>e("li",{key:i},this.external?e("a",{href:o.link,class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:h=>{h.preventDefault(),!this.disabled&&this.setActiveTab(i)}},(o==null?void 0:o.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(o==null?void 0:o.tabIcon,o==null?void 0:o.iconProps)),e("div",{class:"tabs-list__label"},o==null?void 0:o.label)):e("a",{href:"#",class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:h=>{h.preventDefault(),!this.disabled&&this.setActiveTab(i),o!=null&&o.onClick&&(o==null||o.onClick(h))}},(o==null?void 0:o.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(o==null?void 0:o.tabIcon,o==null?void 0:o.iconProps)),e("div",{class:"tabs-list__label"},o==null?void 0:o.label)))),this.orientation==="horizontal"&&e("dga-button",{key:"6b045b6f6e70e31da86c9f6c9c55876de6921ea8",iconOnly:!0,iconProps:{size:17,variant:"solid"},iconType:"MoreHorizontalCircle01Icon",label:"Button",onClick:()=>{},size:"md",variant:"subtle",disabled:this.disabled}))}},[0,"dga-tabs",{size:[1],orientation:[1],external:[4],flush:[4],divider:[4],tabsList:[16],extraClass:[1,"extra-class"],disabled:[4],activeTab:[32]}]);function Kn(){if(typeof customElements>"u")return;["dga-tabs","dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-tabs":customElements.get(n)||customElements.define(n,co);break;case"dga-button":customElements.get(n)||nn();break;case"dga-icon":customElements.get(n)||D();break}})}const dg=`@charset "UTF-8";
|
|
7
7
|
/* first line of file */
|
|
8
8
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
|
|
9
9
|
@font-face {
|
|
@@ -207599,16 +207599,28 @@ a:focus {
|
|
|
207599
207599
|
|
|
207600
207600
|
.code-snippet-container {
|
|
207601
207601
|
border: 1px solid #ddd;
|
|
207602
|
-
border-radius:
|
|
207602
|
+
border-radius: var(--radius-lg, 16px);
|
|
207603
207603
|
overflow: hidden;
|
|
207604
207604
|
font-family: "Courier New", Courier, monospace;
|
|
207605
207605
|
}
|
|
207606
207606
|
|
|
207607
207607
|
.code-snippet-tabs {
|
|
207608
|
-
display: flex;
|
|
207609
207608
|
background-color: #f7f7f7;
|
|
207610
|
-
border-bottom: 3px solid #d2d3d3;
|
|
207611
207609
|
position: relative;
|
|
207610
|
+
padding: 3px 5px;
|
|
207611
|
+
}
|
|
207612
|
+
.code-snippet-tabs ul li a {
|
|
207613
|
+
color: var(--text-primary-paragraph, #384250);
|
|
207614
|
+
/* Text sm/Medium */
|
|
207615
|
+
font-family: "IBMPlexSansArabic";
|
|
207616
|
+
font-size: 14px;
|
|
207617
|
+
font-style: normal;
|
|
207618
|
+
font-weight: 500;
|
|
207619
|
+
line-height: 20px; /* 142.857% */
|
|
207620
|
+
padding: var(--horizontal-tab-md-button-h-padding, 16px);
|
|
207621
|
+
}
|
|
207622
|
+
.code-snippet-tabs button {
|
|
207623
|
+
display: none;
|
|
207612
207624
|
}
|
|
207613
207625
|
|
|
207614
207626
|
.code-snippet-tab {
|
|
@@ -207634,20 +207646,6 @@ a:focus {
|
|
|
207634
207646
|
background-color: #e0e0e0;
|
|
207635
207647
|
}
|
|
207636
207648
|
|
|
207637
|
-
.code-snippet-tab.active::after {
|
|
207638
|
-
content: "";
|
|
207639
|
-
position: absolute;
|
|
207640
|
-
z-index: 10;
|
|
207641
|
-
bottom: -4px;
|
|
207642
|
-
left: 10%;
|
|
207643
|
-
right: 10%;
|
|
207644
|
-
/* width: 100%; */
|
|
207645
|
-
height: 3px;
|
|
207646
|
-
font-weight: bold;
|
|
207647
|
-
border-radius: var(--radius-full, 9999px);
|
|
207648
|
-
background: var(--border-primary, #1b8354);
|
|
207649
|
-
}
|
|
207650
|
-
|
|
207651
207649
|
.code-snippet-tab.active {
|
|
207652
207650
|
color: var(--text-default, #161616);
|
|
207653
207651
|
font-family: "IBMPlexSansArabic";
|
|
@@ -207659,7 +207657,6 @@ a:focus {
|
|
|
207659
207657
|
|
|
207660
207658
|
.code-snippet-code-display {
|
|
207661
207659
|
background-color: white;
|
|
207662
|
-
color: #f8f8f2;
|
|
207663
207660
|
margin: 0;
|
|
207664
207661
|
overflow-x: auto;
|
|
207665
207662
|
display: block;
|
|
@@ -207674,6 +207671,10 @@ a:focus {
|
|
|
207674
207671
|
inset-block-start: 30px;
|
|
207675
207672
|
cursor: pointer;
|
|
207676
207673
|
}
|
|
207674
|
+
.code-snippet-code-display .code-snippet-icon.single {
|
|
207675
|
+
inset-inline-end: 24px;
|
|
207676
|
+
inset-block-start: 24px;
|
|
207677
|
+
}
|
|
207677
207678
|
.code-snippet-code-display .code-snippet-wrapper {
|
|
207678
207679
|
display: flex;
|
|
207679
207680
|
justify-content: end;
|
|
@@ -207766,9 +207767,9 @@ a:focus {
|
|
|
207766
207767
|
}
|
|
207767
207768
|
.code-snippet-line-content.green {
|
|
207768
207769
|
color: var(--text-primary, #1B8354);
|
|
207769
|
-
}`,fg=dg,
|
|
207770
|
+
}`,fg=dg,so=p(class extends k{constructor(){super(),this.__registerHost();var n;this.snippets={},this.showButton=!1,this.type="multi-line",this.showSidebar=!1,this.showTabList=!1,this.showMore=!1,this.activeTab=((n=Object.keys(this.snippets||{}))===null||n===void 0?void 0:n[0])||""}componentDidLoad(){var n;this.activeTab=((n=Object.keys(this.snippets||{}))===null||n===void 0?void 0:n[0])||""}handleTabClick(n){this.activeTab=n,this.showMore=!1}handleCopy(){navigator.clipboard.writeText(this.snippets[this.activeTab])}renderWithLineNumbers(n){var o;return this.type==="multi-line"?(o=n==null?void 0:n.split(`
|
|
207770
207771
|
`))===null||o===void 0?void 0:o.map((h,d)=>e("div",{key:d,class:"code-snippet-code-line"},this.showSidebar&&e("div",{class:"code-snippet-number_container"},e("span",{class:"code-snippet-line-number"},d+1)),e("span",{class:"code-snippet-line-content"},h))):n.split(`
|
|
207771
|
-
`).slice(0,1).map((h,d)=>e("div",{key:d,class:"code-snippet-code-line"},e("span",{class:"code-snippet-line-content green"},h)))}render(){return e("div",{key:"d2fcbb7e37ff029db6270966b3df74761c7da40b",class:"code-snippet-container"},this.showTabList&&e("div",{key:"7f3ce9b58718cbb08a42e692f1f31076bd9946f8",class:"code-snippet-tabs"},Object.keys(this.snippets).map(n=>
|
|
207772
|
+
`).slice(0,1).map((h,d)=>e("div",{key:d,class:"code-snippet-code-line"},e("span",{class:"code-snippet-line-content green"},h)))}render(){return e("div",{key:"d2fcbb7e37ff029db6270966b3df74761c7da40b",class:"code-snippet-container"},this.showTabList&&e("div",{key:"7f3ce9b58718cbb08a42e692f1f31076bd9946f8",class:"code-snippet-tabs"},e("dga-tabs",{key:"0cf46b7ee53edb28a4c7d629b5da76dc15bb2274",divider:!0,orientation:"horizontal",size:"lg",tabsList:Object.keys(this.snippets).map(n=>({label:n,onClick:()=>this.handleTabClick(n)}))})),e("pre",{key:"50164b859efd89a3e46edcc862256f6876fa3bd2",class:"code-snippet-code-display"},e("dga-button",{key:"05d3cec32dcb3e01522ad92f11a4ea1b1b62d683",size:"lg",iconOnly:!0,iconType:"copy-01",variant:"subtle",iconProps:{size:24,color:"#161616",variant:"stroke"},class:`code-snippet-icon ${this.type}`,onClick:()=>this.handleCopy(),onColor:!1}),e("code",{key:"0392f724324c920758b083a39121e7590d3af4e6",style:{height:this.showButton&&this.type==="multi-line"&&!this.showMore?"150px":"auto"}},this.renderWithLineNumbers(this.snippets[this.activeTab])),this.showButton&&this.type==="multi-line"&&e("div",{key:"0429c6ae60f2c2db254ce08517e659355ec615d6",class:"code-snippet-wrapper"},e("dga-button",{key:"dc7f06e6b32bc408a671c4da67fa7b83d0563fe6",label:this.showMore?"Show Less":"Show More",size:"md",trailIcon:!0,trailIconType:this.showMore?"arrow-up-01":"arrow-down-01",variant:"subtle",trailIconProps:{size:20,color:"#161616",variant:"stroke"},onClick:()=>this.showMore=!this.showMore,onColor:!1}))))}static get style(){return fg}},[0,"dga-codesnippet",{snippets:[16],showButton:[4,"show-button"],type:[1],showSidebar:[4,"show-sidebar"],showTabList:[4,"show-tab-list"],showMore:[32],activeTab:[32]}]);function fo(){if(typeof customElements>"u")return;["dga-codesnippet","dga-button","dga-icon","dga-tabs"].forEach(n=>{switch(n){case"dga-codesnippet":customElements.get(n)||customElements.define(n,so);break;case"dga-button":customElements.get(n)||nn();break;case"dga-icon":customElements.get(n)||D();break;case"dga-tabs":customElements.get(n)||Kn();break}})}const lo=p(class extends k{constructor(){super(),this.__registerHost(),this.snippets={JavaScript:`// Imports
|
|
207772
207773
|
import mongoose, { Schema } from 'untitled'
|
|
207773
207774
|
|
|
207774
207775
|
// Collection name
|
|
@@ -207797,7 +207798,7 @@ export default untitled.model(collection, schema, collection)
|
|
|
207797
207798
|
h1 {
|
|
207798
207799
|
color: navy;
|
|
207799
207800
|
margin-left: 20px;
|
|
207800
|
-
}`},this.snippetLine={JavaScript:"npm install nds-design-system@^0.0.1"}}render(){return e("div",{key:"
|
|
207801
|
+
}`},this.snippetLine={JavaScript:"npm install nds-design-system@^0.0.1"}}render(){return e("div",{key:"16d759b754fb12222bf59fbbe602cd402b3f5482",style:{width:"743px",display:"flex",flexDirection:"column",gap:"123px",margin:"10px"}},e("dga-codesnippet",{key:"2aefa369a70c9f860d8db313980fdb6ddcc50bdc",showButton:!0,type:"multi-line",showSidebar:!0,showTabList:!0,snippets:this.snippets}),e("dga-codesnippet",{key:"0fee1ce9c01ce106c8c40c65795536cbd651720e",showButton:!1,type:"single",showSidebar:!1,showTabList:!1,snippets:this.snippetLine}))}},[0,"cs-codesnippet-usage"]);function lg(){if(typeof customElements>"u")return;["cs-codesnippet-usage","dga-button","dga-codesnippet","dga-icon","dga-tabs"].forEach(n=>{switch(n){case"cs-codesnippet-usage":customElements.get(n)||customElements.define(n,lo);break;case"dga-button":customElements.get(n)||nn();break;case"dga-codesnippet":customElements.get(n)||fo();break;case"dga-icon":customElements.get(n)||D();break;case"dga-tabs":customElements.get(n)||Kn();break}})}const bg=lo,ug=lg,bo=p(class extends k{constructor(){super(),this.__registerHost(),this.handleSelect=n=>{this.selected=n},this.onColor=!1,this.size="md",this.items=[{label:"Item 1",content:"Content 1"},{label:"Item 2",content:"Content 2"},{label:"Item 3",content:"Content 3"}],this.selected=0}render(){return e("div",{key:"f31e37e26cfaf711155aa9e1d6f57799ccbe6a73",class:"content-switcher"},e("div",{key:"95b8d98e417ab71bdae5c92ae0f475f01bfd26c3",class:"content-switcher__items"},this.items.map((n,o)=>{const i=o===this.selected,d=`content-switcher__item content-switcher__item--${o===0?"first":o===this.items.length-1?"last":"mid"} ${this.onColor?"content-switcher__item--on-color":""} content-switcher__item--${this.size} ${i?"content-switcher__item--selected":""}`;return e("button",{key:o,type:"button",class:d,onClick:()=>this.handleSelect(o)},n.label)})),e("div",{key:"169a98992b3e1317edbc5fd0ede1b45f261ed425",class:`content-switcher__content ${this.onColor?"content-switcher__content--on-color":""}`},this.items[this.selected].content))}},[0,"dga-content-switcher",{onColor:[4,"on-color"],size:[1],items:[16],selected:[32]}]);function uo(){if(typeof customElements>"u")return;["dga-content-switcher"].forEach(n=>{switch(n){case"dga-content-switcher":customElements.get(n)||customElements.define(n,bo);break}})}const ko=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.content=void 0}render(){return e("slot",{key:"be3a9dfc9880bb9d4ef8cccdf88402afb4573dc6"})}},[4,"dga-content-switcher-item",{label:[8],content:[8]}]);function po(){if(typeof customElements>"u")return;["dga-content-switcher-item"].forEach(n=>{switch(n){case"dga-content-switcher-item":customElements.get(n)||customElements.define(n,ko);break}})}const mo=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"a4bb857d452bedfbcedae3de52246c767798fdf9"},e("h1",{key:"fecedf4b78b18a536d4676dfebdcea634743345e"},"Content Switcher Example"),e("dga-content-switcher",{key:"013a6f8df84be7dfdb479bdd809630d1702a0c42",size:"lg"},e("dga-content-switcher-item",{key:"1058f492f366922fc872ee2a51c888041e46ab23",label:"Option 1",content:"This is Option 1 content."}),e("dga-content-switcher-item",{key:"1a36e3d0beeadcbc047185f630e28efd171a854b",label:"Option 2",content:"This is Option 2 content."}),e("dga-content-switcher-item",{key:"cea59971892ffc18fa2f4277f190a3df70c98f9e",label:"Option 3",content:"This is Option 3 content."})),e("dga-content-switcher",{key:"6bfcae10438061d5d4e95964fab9b773bbfa42fe",size:"md"},e("dga-content-switcher-item",{key:"6d0e9cf7f407361c6670304d8ad3ab1f2b1c47f7",label:"Option 1",content:"This is Option 1 content."}),e("dga-content-switcher-item",{key:"e594a037d7a1c12d65a94b13b05d1fa8dca4c19c",label:"Option 2",content:"This is Option 2 content."}),e("dga-content-switcher-item",{key:"35acd1f37270236f2746465dda398e9043cf7e1e",label:"Option 3",content:"This is Option 3 content."})),e("dga-content-switcher",{key:"42e838f4df2a0a393f2ccbdb4945d88245af265c",size:"sm"},e("dga-content-switcher-item",{key:"e35a52772481976ad998e56717589b0c3ace7b7f",label:"Option 1",content:"This is Option 1 content."}),e("dga-content-switcher-item",{key:"e2075853c38157a3b80dfbffc0290479eb5e9e1b",label:"Option 2",content:"This is Option 2 content."}),e("dga-content-switcher-item",{key:"7be4a1877149a2a81717d0a78f76c23ee34a065a",label:"Option 3",content:"This is Option 3 content."})))}},[0,"cs-content-switcher-usage"]);function kg(){if(typeof customElements>"u")return;["cs-content-switcher-usage","dga-content-switcher","dga-content-switcher-item"].forEach(n=>{switch(n){case"cs-content-switcher-usage":customElements.get(n)||customElements.define(n,mo);break;case"dga-content-switcher":customElements.get(n)||uo();break;case"dga-content-switcher-item":customElements.get(n)||po();break}})}const pg=mo,mg=kg,wo=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"87975a04efff0305dec8bb770fa82180792b3858"},e("h1",{key:"52f8186a13bcdbc4952dfebec067f8d02d144f2a"},"Divider Example"),e("div",{key:"8374145b10086f8ba5f63a25936c37599da8b704",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"20df5b9c535afea72ad72a350945a700b7304b30",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("div",{key:"6275f9ba4b611661adb88474010592a5f78ba82c",style:{borderRadius:"20px",background:"gray"}},e("div",{key:"b80c517a0238aacb9973fb6f65a011dd5eab068f",style:{width:"224px",height:"82px",background:"#fff",padding:"16px",display:"flex",flexDirection:"column",gap:"40px"}},e("dga-divider-test",{key:"708d30dd2173aba0d9d5b2b9612f25fb8365e04a",color:"neutral"}),e("dga-divider-test",{key:"c225ec615d33adf29265abdb3983db061652e349",color:"primary"})),e("div",{key:"3bb951bf0a062506e7c16c6f54f928530d30affd",style:{width:"224px",height:"82px",background:"#1B8354",padding:"16px",display:"flex",flexDirection:"column",gap:"40px"}},e("dga-divider-test",{key:"e67affe489569fe587052caacfe2c973bb26dc91",color:"alpha-white"}),e("dga-divider-test",{key:"b270e5267e620c48615674095f09cc9c6861ab5d",color:"white"})))),e("div",{key:"a5a7ce45402c22b76ef14db911f52918431db1f9",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-divider-usage"]);function wg(){if(typeof customElements>"u")return;["cs-divider-usage"].forEach(n=>{switch(n){case"cs-divider-usage":customElements.get(n)||customElements.define(n,wo);break}})}const vg=wo,yg=wg,xg=`@charset "UTF-8";
|
|
207801
207802
|
/* first line of file */
|
|
207802
207803
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
|
|
207803
207804
|
@font-face {
|
|
@@ -415570,14 +415571,14 @@ a:focus {
|
|
|
415570
415571
|
.tag--on-color svg {
|
|
415571
415572
|
color: currentColor;
|
|
415572
415573
|
stroke: currentColor;
|
|
415573
|
-
}`,qg=xg,
|
|
415574
|
+
}`,qg=xg,vo=p(class extends k{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.label=void 0,this.variant="success",this.size="md",this.iconOnly=void 0,this.iconType=void 0,this.leadIcon=void 0,this.trailIcon=void 0,this.rounded=void 0,this.outlined=void 0}render(){return this.iconOnly?e("span",{class:`tag tag--${this.variant} ${this.outlined?`tag--${this.variant}-outlined`:""} tag--${this.size} ${this.rounded?"tag--rounded":""} tag--icon`},this.leadIcon&&e("span",{class:"tag-icon"},this.leadIcon),!this.leadIcon&&e("slot",null)):e("span",{class:`tag tag--${this.variant} ${this.outlined?`tag--${this.variant}-outlined`:""} tag--${this.size} ${this.rounded?"tag--rounded":""}`},this.leadIcon?e("span",{class:"tag-icon"},this.leadIcon):"",this.label,this.trailIcon?e("span",{class:"tag-icon"},this.trailIcon):"",e("slot",null))}static get style(){return qg}},[1,"dga-tag",{label:[1],variant:[1],size:[1],iconOnly:[4,"icon-only"],iconType:[8,"icon-type"],leadIcon:[8,"lead-icon"],trailIcon:[8,"trail-icon"],rounded:[4],outlined:[4]}]);function rn(){if(typeof customElements>"u")return;["dga-tag"].forEach(n=>{switch(n){case"dga-tag":customElements.get(n)||customElements.define(n,vo);break}})}const yo=p(class extends k{constructor(){super(),this.__registerHost(),this.type="parent",this.onColor=!1,this.level=1,this.badge=void 0,this.icon=void 0,this.externalLink=!1,this.text="link",this.link="/pages",this.expanded=!1,this.onExpand=void 0,this.disabled=!1,this.isExpanded=this.expanded}toggleTab(n){var o;this.type==="parent"&&(n.preventDefault(),this.isExpanded=!this.isExpanded,(o=this.onExpand)===null||o===void 0||o.call(this,this.isExpanded))}handleMouseEvents(n){const o=n==="add"?"add":"remove";this.tabRef.classList[o]("pressed")}render(){const n={class:`${this.type==="parent"?"sidepanel__menu-tab":"sidepanel__submenu-tab"}
|
|
415574
415575
|
${this.level>1?"sidepanel__submenu--sublevel":""}
|
|
415575
415576
|
${this.disabled?"disabled":""}
|
|
415576
|
-
${this.isExpanded?"active":""}`,onMouseDown:()=>this.handleMouseEvents("add"),onMouseUp:()=>this.handleMouseEvents("remove"),onMouseOut:()=>this.handleMouseEvents("remove"),ref:o=>this.tabRef=o};return this.externalLink?e("a",Object.assign({href:this.link},n),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.type==="parent"&&e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):this.type==="parent"?e("a",Object.assign({href:"#"},n,{onClick:o=>this.toggleTab(o)}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):e("stencil-route-link",Object.assign({url:this.link},n),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"}))}},[0,"tab-link",{type:[1],onColor:[4,"on-color"],level:[2],badge:[2],icon:[16],externalLink:[4,"external-link"],text:[1],link:[1],expanded:[4],onExpand:[16],disabled:[4],isExpanded:[32]}]);function pn(){if(typeof customElements>"u")return;["tab-link","dga-tag"].forEach(n=>{switch(n){case"tab-link":customElements.get(n)||customElements.define(n,
|
|
415577
|
+
${this.isExpanded?"active":""}`,onMouseDown:()=>this.handleMouseEvents("add"),onMouseUp:()=>this.handleMouseEvents("remove"),onMouseOut:()=>this.handleMouseEvents("remove"),ref:o=>this.tabRef=o};return this.externalLink?e("a",Object.assign({href:this.link},n),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.type==="parent"&&e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):this.type==="parent"?e("a",Object.assign({href:"#"},n,{onClick:o=>this.toggleTab(o)}),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),e("span",{class:"sidepanel__menu-tab-arrow"},e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}})," "),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"})):e("stencil-route-link",Object.assign({url:this.link},n),this.icon&&e("span",{class:"sidepanel__menu-tab-icon"},this.icon),e("span",{class:"sidepanel__menu-tab-label"},this.text),this.badge!==void 0&&e("dga-tag",{color:this.onColor?"on-color":"gray",label:this.badge>=100?"+99":this.badge.toString(),size:"sm"}))}},[0,"tab-link",{type:[1],onColor:[4,"on-color"],level:[2],badge:[2],icon:[16],externalLink:[4,"external-link"],text:[1],link:[1],expanded:[4],onExpand:[16],disabled:[4],isExpanded:[32]}]);function pn(){if(typeof customElements>"u")return;["tab-link","dga-tag"].forEach(n=>{switch(n){case"tab-link":customElements.get(n)||customElements.define(n,yo);break;case"dga-tag":customElements.get(n)||rn();break}})}const xo=p(class extends k{constructor(){super(),this.__registerHost(),this.route=void 0,this.childRoute=void 0,this.onChildExpanded=void 0}handleExpanded(n){n?this.submenuElement.style.maxHeight="fit-content":this.submenuElement.style.maxHeight="";const o=this.submenuElement.scrollHeight;this.onChildExpanded(n,o)}render(){return!this.childRoute.children||this.childRoute.children.length===0?e("li",{key:this.childRoute.path},e("tab-link",{text:this.childRoute.name,link:`${this.route.path}${this.childRoute.path}`,level:this.childRoute.level,type:"child",icon:this.childRoute.icon,badge:this.childRoute.badge,disabled:this.childRoute.disabled})):e("li",{key:this.childRoute.path},e("tab-link",{text:this.childRoute.name,link:`${this.route.path}${this.childRoute.path}`,type:"parent",icon:this.childRoute.icon,disabled:this.childRoute.disabled,onExpand:this.handleExpanded.bind(this)}),e("ul",{class:"sidepanel__submenu-list",ref:n=>this.submenuElement=n},this.childRoute.children.map((n,o)=>e("submenu-component",{key:o,route:this.route,childRoute:n}))))}},[0,"submenu-component",{route:[16],childRoute:[16],onChildExpanded:[16]}]);function mn(){if(typeof customElements>"u")return;["submenu-component","dga-tag","submenu-component","tab-link"].forEach(n=>{switch(n){case"submenu-component":customElements.get(n)||customElements.define(n,xo);break;case"dga-tag":customElements.get(n)||rn();break;case"submenu-component":customElements.get(n)||mn();break;case"tab-link":customElements.get(n)||pn();break}})}const qo=p(class extends k{constructor(){super(),this.__registerHost(),this.route=void 0,this.isExpanded=!1}handleExpanded(n){this.isExpanded=n,n?this.submenuElement.style.maxHeight="fit-content":this.submenuElement.style.maxHeight=""}render(){return e(N,{key:"d17a9d0ecf2ef6a737054418ed99ba78f1cbbd19"},e("tab-link",{key:"c9cb25d43e35ea43945b3b61ea46dabe461e9fb6",text:this.route.name,type:this.route.children&&this.route.children.length>0?"parent":"child",icon:this.route.icon,link:this.route.path,onExpand:this.handleExpanded.bind(this),disabled:this.route.disabled}),this.route.children&&this.route.children.length>0&&e("ul",{key:"4c5d7f7e88199d1d70a25f61757133ced5f94be1",class:"sidepanel__submenu-list",ref:n=>this.submenuElement=n},this.route.children.map((n,o)=>e("submenu-component",{key:o,route:this.route,childRoute:n,onChildExpanded:i=>{i&&(this.submenuElement.style.maxHeight="fit-content")}}))))}},[0,"tab-component",{route:[16],isExpanded:[32]}]);function Qn(){if(typeof customElements>"u")return;["tab-component","dga-tag","submenu-component","tab-link"].forEach(n=>{switch(n){case"tab-component":customElements.get(n)||customElements.define(n,qo);break;case"dga-tag":customElements.get(n)||rn();break;case"submenu-component":customElements.get(n)||mn();break;case"tab-link":customElements.get(n)||pn();break}})}const _o=p(class extends k{constructor(){super(),this.__registerHost(),this.routes=[]}render(){return e("ul",{key:"ada6b398bd80fe8e2561c4b31a6c33053510b42e",class:"sidepanel__menu-list"},this.routes.map((n,o)=>e("li",{key:L()},e("tab-component",{route:n}),o<this.routes.length-1&&e("div",{class:"sidepanel__menu-tab-divider"}))))}},[0,"side-panel-menu",{routes:[16]}]);function Pe(){if(typeof customElements>"u")return;["side-panel-menu","dga-tag","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"side-panel-menu":customElements.get(n)||customElements.define(n,_o);break;case"dga-tag":customElements.get(n)||rn();break;case"submenu-component":customElements.get(n)||mn();break;case"tab-component":customElements.get(n)||Qn();break;case"tab-link":customElements.get(n)||pn();break}})}const zo=p(class extends k{constructor(){super(),this.__registerHost(),this.background=void 0,this.overlay=void 0,this.border=void 0,this.collapsed=void 0,this.routes=void 0}render(){return console.log(this.routes,"routes"),e("div",{key:"a72d856b33f922c8341cdf40e83aa5809ccfe3ec",class:`sidepanel ${this.background?`sidepanel--bg-${this.background}`:""}
|
|
415577
415578
|
${this.overlay?"sidepanel--overlay":""}
|
|
415578
415579
|
${this.border?"sidepanel--border":""}
|
|
415579
415580
|
${this.collapsed?"collapsed":""}
|
|
415580
|
-
`},e("side-panel-menu",{key:"3b29f0a61fdf88707812b56a38966738a384b542",routes:this.routes}))}},[0,"dga-drawer",{background:[1],overlay:[4],border:[4],collapsed:[4],routes:[16]}]);function _o(){if(typeof customElements>"u")return;["dga-drawer","dga-tag","side-panel-menu","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"dga-drawer":customElements.get(n)||customElements.define(n,qo);break;case"dga-tag":customElements.get(n)||rn();break;case"side-panel-menu":customElements.get(n)||Ie();break;case"submenu-component":customElements.get(n)||mn();break;case"tab-component":customElements.get(n)||Kn();break;case"tab-link":customElements.get(n)||pn();break}})}const _g=[{name:"Home",path:"/",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),disabled:!1,children:[{name:"Home 1",path:"1",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:39},{name:"Home 2",path:"2",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:21},{name:"Home 3",path:"3",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:2},{name:"Home 4",path:"4",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:20},{name:"Home 5",path:"5",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:150,children:[{name:"Home 1",path:"1",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:39,level:2},{name:"Home 4",path:"4",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:20,level:2},{name:"Home 5",path:"5",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:150,level:2},{name:"Home 6",path:"6",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:200,level:2},{name:"Home 7",path:"7",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:24,level:2}]},{name:"Home 6",path:"6",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:200},{name:"Home 7",path:"7",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:24}]},{name:"Components",path:"/components",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),disabled:!1,children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]},{name:"Inputs",path:"/inputs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Accordions",path:"/accordions",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Tabs",path:"/tabs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]},{name:"Components 2",path:"/components",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),disabled:!1,children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]},{name:"Inputs",path:"/inputs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Accordions",path:"/accordions",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Tabs",path:"/tabs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]}],zo=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"2b47ecfa9a44eaea56b133290655c7410373529e"},e("h1",{key:"2ac5349b61f121596074bac4ef2a7da471a7476e"},"Drawer Example"),e("div",{key:"f64916290ab61f7aae57f93069b8cecdbf045452",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"ae701d6632fd65fa416d85fe6a8429606e93bece",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-drawer",{key:"c93bcee7340292205afdeef2402a35a1333848b6",routes:_g})),e("div",{key:"ba4b70daafaa2851f219547b4258672ba0bf73ae",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-drawer-usage",{variant:[32]}]);function zg(){if(typeof customElements>"u")return;["cs-drawer-usage","dga-drawer","dga-tag","side-panel-menu","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"cs-drawer-usage":customElements.get(n)||customElements.define(n,zo);break;case"dga-drawer":customElements.get(n)||_o();break;case"dga-tag":customElements.get(n)||rn();break;case"side-panel-menu":customElements.get(n)||Ie();break;case"submenu-component":customElements.get(n)||mn();break;case"tab-component":customElements.get(n)||Kn();break;case"tab-link":customElements.get(n)||pn();break}})}const jg=zo,Cg=zg,jo=p(class extends k{constructor(){super(),this.__registerHost(),this.handleClickOutside=n=>{var o;this.containerRef&&!this.containerRef.contains(n.target)&&((o=this.btnRef)===null||o===void 0||o.classList.remove("open"))},this.id=L(),this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.disabled=!1,this.readonly=!1,this.multiSelect=!1,this.options=[],this.optionLabel="name",this.trackBy="value",this.getSelectedOptions=void 0,this.extraClass=void 0,this.optionList=[]}componentWillLoad(){this.initializeOptions()}initializeOptions(){const n=[...this.options].map(o=>(o.selected||(o.selected=!1),o));this.optionList=n}setSelectedOptions(n,o){const i=[...this.optionList];this.multiSelect?(i[o].selected=!i[o].selected,this.getSelectedOptions&&this.getSelectedOptions({selectedList:i.filter(h=>h.selected),selectedOption:n,selectedIndex:o})):(i.forEach(h=>h.selected=!1),i[o].selected=!i[o].selected,this.getSelectedOptions&&this.getSelectedOptions(n)),this.optionList=i}componentDidLoad(){document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside)}handleAddPressed(n){n.currentTarget.classList.add("active")}handleRemovePressed(n){n.currentTarget.classList.remove("active")}handleToggleDropdown(n){n.currentTarget.classList.toggle("open")}handleSelectSingleOption(n,o,i){var h;this.setSelectedOptions(o,i);const d=n.target,f=d.closest(".dropdown"),l=f.querySelector(".dropdown__label"),b=f.querySelector(".dropdown__option.selected");d.classList.contains("selected")||(l.classList.remove("dropdown__label--selection"),b==null||b.classList.remove("selected"),d.classList.add("selected"),l.textContent=(h=d.querySelector(".dropdown__option-label"))===null||h===void 0?void 0:h.textContent,l.classList.add("dropdown__label--selection")),f.querySelector(".dropdown__btn").classList.remove("open")}getSelectedChoices(n){const o={values:[],labels:[]};return n.querySelectorAll(".dropdown__option.selected").forEach(i=>{var h;const d=i.getAttribute("data-value"),f=(h=i.querySelector(".dropdown__option-label"))===null||h===void 0?void 0:h.textContent;o.values.push(d),o.labels.push(f)}),o}handleMultiOptionClicked(n,o,i){this.setSelectedOptions(o,i);const h=n.target;h.classList.toggle("selected");const d=h.closest(".dropdown"),f=d.querySelector(".dropdown__label"),{values:l,labels:b}=this.getSelectedChoices(d);d.setAttribute("data-value",l.join(", ")),f.textContent=b.join(", "),l.length?f.classList.add("dropdown__label--selection"):f.classList.remove("dropdown__label--selection")}render(){return e("div",{key:"8b847716632698f2222b19846e9ea7c75c3f3a40",id:this.id,ref:n=>this.containerRef=n,class:`dropdown dropdown--${this.size} ${this.error?"dropdown--error":""} ${this.variant!=="default"?`dropdown--${this.variant}`:""} ${this.disabled?"dropdown--disabled":""} ${this.readonly?"dropdown--readonly":""} ${this.multiSelect?"dropdown--multi-select":""} ${this.extraClass||""}`},e("button",{key:"9e8d7a92e5a4c9adcedb9fa6479f47cc9fe5a115",class:"dropdown__btn",ref:n=>this.btnRef=n,disabled:this.disabled||this.readonly,onClick:this.handleToggleDropdown.bind(this),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("span",{key:"8428f6883f7b7c6eb256aedab648da714e8ca676",class:"dropdown__label"}),e("span",{key:"faf9e18ef49c909a5d53a672e5a9b313d3d002b2",class:"dropdown__label-placeholder"},this.placeholder),e("span",{key:"5b2995259bc97b168114a4d8a3aa6b5c85c5e2e3",class:"dropdown__chevron"},e("dga-icon",{key:"64e13e94f2059498a45fc92fb45b53679bc872fe",icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{key:"22c6f0bd52991a633152c2c8c44703877f83b090",class:"dropdown__list"},this.optionList.map((n,o)=>this.multiSelect?e("li",{key:n[this.trackBy]?n[this.trackBy]:L()},e("button",{class:"dropdown__option dropdown__option--checkbox","data-value":n[this.trackBy]?n[this.trackBy]:"",onClick:i=>this.handleMultiOptionClicked(i,n,o),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("div",{class:"dropdown__option-icon-container"},e("span",{class:"dropdown__option-icon"},e("i",{class:"hgi-solid hgi-tick-02",style:{fontSize:"20px"}}))),e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""))):e("li",{key:n[this.trackBy]?n[this.trackBy]:L()},e("button",{class:"dropdown__option",type:"button",onClick:i=>this.handleSelectSingleOption(i,n,o),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this)},e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"})))))))}get el(){return this}static get watchers(){return{options:["initializeOptions"]}}},[0,"dga-dropdown",{id:[1],placeholder:[1],size:[1],variant:[1],error:[4],disabled:[4],readonly:[4],multiSelect:[4,"multi-select"],options:[16],optionLabel:[1,"option-label"],trackBy:[1,"track-by"],getSelectedOptions:[16],extraClass:[1,"extra-class"],optionList:[32]},void 0,{options:["initializeOptions"]}]);function Co(){if(typeof customElements>"u")return;["dga-dropdown","dga-icon"].forEach(n=>{switch(n){case"dga-dropdown":customElements.get(n)||customElements.define(n,jo);break;case"dga-icon":customElements.get(n)||I();break}})}const Eo=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"83cdd569398e780921c2a292238aa38c2dedcad7"},e("h1",{key:"daec619dc63a46e4f8199f699e2328757ac4afb3"},"Dropdown Example"),e("div",{key:"ffcfbbc9675af50cbabbeb8937f1ff26acfcda2e",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"b353c1f5c62b00175f0c3b673cd7e325816ea41a",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-dropdown",{key:"f34bf61b0fa39aeed6dbe295fbb83b15333eb9f9",placeholder:"Placeholder text",variant:"default",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),e("dga-dropdown",{key:"fe4b8593c8edfcae4e16d4b63381892b04eaa1c5",placeholder:"Placeholder text",variant:"darker",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),e("dga-dropdown",{key:"03721a512626e25598397959754cbd8e93f04750",placeholder:"Placeholder text",variant:"lighter",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),e("dga-dropdown",{key:"76b6e80d51606c0a7ddde76fe9f05dbed45f2659",error:!0,placeholder:"Placeholder text",variant:"lighter",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),["lg","md"].map(n=>e("dga-dropdown",{key:n,size:n,placeholder:"Placeholder text",variant:"default",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]})),e("dga-dropdown",{key:"7785a4ef9bb3ab04cca30fb455aa05a7f0f79cc0",multiSelect:!0,placeholder:"Placeholder text",variant:"lighter",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]})),e("div",{key:"464b6435e2ff0b732ade05459df535543b3eea1c",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-dropdown-usage",{activeStep:[32]}]);function Eg(){if(typeof customElements>"u")return;["cs-dropdown-usage","dga-dropdown","dga-icon"].forEach(n=>{switch(n){case"cs-dropdown-usage":customElements.get(n)||customElements.define(n,Eo);break;case"dga-dropdown":customElements.get(n)||Co();break;case"dga-icon":customElements.get(n)||I();break}})}const $g=Eo,Sg=Eg,$o=p(class extends k{constructor(){super(),this.__registerHost(),this.size="md",this.variant="neutral",this.extraClass=void 0}render(){const n=`loading loading--${this.size} loading--${this.variant} ${this.extraClass?this.extraClass:""}`;return e("div",{key:"a7302f1d6cf91177a8ce3275db54ebb874a875b1",class:n},e("div",{key:"d9da5d8049f2bb96986f50c45b8d1471db1d1a3e",class:"loading__circle"}))}},[0,"dga-loading",{size:[1],variant:[1],extraClass:[1,"extra-class"]}]);function Mn(){if(typeof customElements>"u")return;["dga-loading"].forEach(n=>{switch(n){case"dga-loading":customElements.get(n)||customElements.define(n,$o);break}})}const So=p(class extends k{constructor(){super(),this.__registerHost(),this.handleFileSelection=n=>{const o=n.target;this.onChange&&this.onChange(n);const i=o.files;if(i){if(this.maximumFilesSize&&Array.from(i).some(f=>f.size>this.maximumFilesSize)){this.uploadFileOverSize&&this.uploadFileOverSize();return}const h=Array.from(i).map(d=>({name:d.name,uploadStatus:"pending"}));this.files=[...this.files,...h],this.getUploadedFile&&this.getUploadedFile([...this.files])}},this.handleDrop=n=>{n.preventDefault(),n.stopPropagation();const o=n.dataTransfer.files;if(o){const i=Array.from(o).map(h=>({name:h.name,uploadStatus:"pending"}));this.files=[...this.files,...i]}this.dragState=!1},this.addDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!0},this.removeDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!1},this.id=L(),this.name=L(),this.accept=void 0,this.multiple=void 0,this.title="Drag and drop files here to upload",this.fileTypesText="Maximum file size allowed is 2MB, supported file formats include .jpg, .png, and .pdf.",this.actionName="Browse Files",this.maximumFilesSize=void 0,this.disabled=!1,this.getUploadedFile=void 0,this.uploadFileOverSize=void 0,this.onChange=void 0,this.emitDeleteFile=void 0,this.files=[],this.dragState=!1}componentDidLoad(){const n=document.querySelector(".file-upload__drop-area");n.addEventListener("dragover",this.addDragOverClass),n.addEventListener("dragleave",this.removeDragOverClass),n.addEventListener("drop",this.handleDrop)}disconnectedCallback(){const n=document.querySelector(".file-upload__drop-area");n.removeEventListener("dragover",this.addDragOverClass),n.removeEventListener("dragleave",this.removeDragOverClass),n.removeEventListener("drop",this.handleDrop)}handleDeleteFile(n,o){this.files=[...this.files.slice(0,n),...this.files.slice(n+1)],this.emitDeleteFile&&this.emitDeleteFile(o,n)}renderFile(n,o){return n.uploadStatus==="error"?e("div",{class:"file-upload__file-item--error"},e("div",{class:"file-upload__file-item"},e("span",{class:"file-upload__file-status file-upload__file-status--error"},e("i",{class:"hgi-solid hgi-alert-circle",style:{fontSize:"20px"}})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(o,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),e("div",{class:"file-upload__file-item-msg"},n.errorMessage?n.errorMessage:"Here goes the helper text.")):e("div",{class:"file-upload__file-item"},e("span",{class:`file-upload__file-status file-upload__file-status--${n.uploadStatus}`},n.uploadStatus==="uploading"&&n.progress&&e("dga-loading",{size:"tiny",variant:"neutral"}),n.uploadStatus==="complete"&&e("i",{class:"hgi-solid hgi-checkmark-circle-02"})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(o,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))}render(){return e("div",{key:"033fcc19d484e5c1942fe6e415721a61b297af43",class:`file-upload ${this.dragState?"file-upload--drag-over":""} ${this.disabled?"file-upload--disabled":""}`},e("input",{key:"1c4f5203be167bb05d90a9777d99e4b1f0bc7d26",type:"file",id:this.id,name:this.name,class:"file-upload__input",accept:this.accept,multiple:this.multiple,"aria-hidden":"true",onChange:this.handleFileSelection,ref:n=>this.fileInputRef=n}),e("label",{key:"62ed3d9ac340fad09277a7a1bdac5d0005b5f9f6",htmlFor:this.id,class:"file-upload__drop-area"},e("span",{key:"f6463280a6ca0952d540f7119fdeabb7bcca8a8a",class:"file-upload__icon"},e("i",{key:"49bff50af715be8d6f54d606ef3b089f9d0b7663",class:"hgi-stroke hgi-file-upload",style:{fontSize:"20px"}})),e("div",{key:"44bc26d3795c7bfc92a292ac72b5e65fbe0f9109",class:"file-upload__content"},e("p",{key:"9120b2b2951286052de6faa61049ce61937c4644",class:"file-upload__instructions"},this.title),e("p",{key:"88ccc911c537919580dcc199c78d5fd6cf016b55",class:"file-upload__formats"},this.fileTypesText)),e("button",{key:"609e6d63732c9f8ba22e405619018697d7ebf909",class:"btn btn--md btn--secondary","aria-label":"Browse Files",disabled:this.dragState||this.disabled,type:"button",onClick:()=>{var n;return(n=this.fileInputRef)===null||n===void 0?void 0:n.click()}},e("span",{key:"ae121997ed6e693fe4853d71b9cc9ecd886bd8c1"},this.actionName))),e("div",{key:"2cf21868b55fee34a662e683b8ee8bee152a1cdd",class:"file-upload__files-list"},this.files.map((n,o)=>this.renderFile(n,o))))}},[0,"dga-file-upload",{id:[1],name:[1],accept:[1],multiple:[4],title:[1],fileTypesText:[1,"file-types-text"],actionName:[1,"action-name"],maximumFilesSize:[2,"maximum-files-size"],disabled:[4],getUploadedFile:[16],uploadFileOverSize:[16],onChange:[16],emitDeleteFile:[16],files:[32],dragState:[32]}]);function Pe(){if(typeof customElements>"u")return;["dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"dga-file-upload":customElements.get(n)||customElements.define(n,So);break;case"dga-loading":customElements.get(n)||Mn();break}})}const Mo=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"9b0d4bc711caf5b6a8226dae5dc0f5dd50bca021"},e("h1",{key:"db1cde5820c53e11ce5eff8c7821330d5f86b9f3"},"File Upload Example"),e("div",{key:"eb66040a69a889c4d2c55ca65507e6c4b2200ccb",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"f5ce22be0246668c374cb729fe501a9cec82f669",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-file-upload",{key:"462d1cc47ca51d6d970cb1bfb665e378f4802d9b"})),e("div",{key:"acfae4891b3ed5399f98f03d3693326699f25875",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-file-upload-usage"]);function Mg(){if(typeof customElements>"u")return;["cs-file-upload-usage","dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"cs-file-upload-usage":customElements.get(n)||customElements.define(n,Mo);break;case"dga-file-upload":customElements.get(n)||Pe();break;case"dga-loading":customElements.get(n)||Mn();break}})}const Dg=Mo,Ig=Mg,Pg=`@charset "UTF-8";
|
|
415581
|
+
`},e("side-panel-menu",{key:"3b29f0a61fdf88707812b56a38966738a384b542",routes:this.routes}))}},[0,"dga-drawer",{background:[1],overlay:[4],border:[4],collapsed:[4],routes:[16]}]);function jo(){if(typeof customElements>"u")return;["dga-drawer","dga-tag","side-panel-menu","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"dga-drawer":customElements.get(n)||customElements.define(n,zo);break;case"dga-tag":customElements.get(n)||rn();break;case"side-panel-menu":customElements.get(n)||Pe();break;case"submenu-component":customElements.get(n)||mn();break;case"tab-component":customElements.get(n)||Qn();break;case"tab-link":customElements.get(n)||pn();break}})}const _g=[{name:"Home",path:"/",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),disabled:!1,children:[{name:"Home 1",path:"1",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:39},{name:"Home 2",path:"2",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:21},{name:"Home 3",path:"3",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:2},{name:"Home 4",path:"4",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:20},{name:"Home 5",path:"5",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:150,children:[{name:"Home 1",path:"1",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:39,level:2},{name:"Home 4",path:"4",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:20,level:2},{name:"Home 5",path:"5",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:150,level:2},{name:"Home 6",path:"6",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:200,level:2},{name:"Home 7",path:"7",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:24,level:2}]},{name:"Home 6",path:"6",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:200},{name:"Home 7",path:"7",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:24}]},{name:"Components",path:"/components",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),disabled:!1,children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]},{name:"Inputs",path:"/inputs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Accordions",path:"/accordions",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Tabs",path:"/tabs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]},{name:"Components 2",path:"/components",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),disabled:!1,children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",children:[{name:"Buttons",path:"/buttons",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Badges",path:"/badges",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Paths",path:"/Paths",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]},{name:"Inputs",path:"/inputs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Accordions",path:"/accordions",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100},{name:"Tabs",path:"/tabs",icon:e("i",{class:"hgi-stroke hgi-arrow-down-01",style:{fontSize:"16px"}}),badge:100}]}],Co=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"4e06fb76a17e55eee468e0280d9042bd898b3e18"},e("h1",{key:"fe51266862bda5063877baedc1d97ccfa7e26ce0"},"Drawer Example"),e("div",{key:"b215ad1526381a13e3feea179b9bf905cfb78e14",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"c5528859befee6c95ad6b4cba3c85352d2159d8a",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-drawer",{key:"4fa127c469122f637c93672008142e2131ace2e0",routes:_g})),e("div",{key:"9c16f61c3c32a610adea5b0942a2a166f9c06f39",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-drawer-usage",{variant:[32]}]);function zg(){if(typeof customElements>"u")return;["cs-drawer-usage","dga-drawer","dga-tag","side-panel-menu","submenu-component","tab-component","tab-link"].forEach(n=>{switch(n){case"cs-drawer-usage":customElements.get(n)||customElements.define(n,Co);break;case"dga-drawer":customElements.get(n)||jo();break;case"dga-tag":customElements.get(n)||rn();break;case"side-panel-menu":customElements.get(n)||Pe();break;case"submenu-component":customElements.get(n)||mn();break;case"tab-component":customElements.get(n)||Qn();break;case"tab-link":customElements.get(n)||pn();break}})}const jg=Co,Cg=zg,Eo=p(class extends k{constructor(){super(),this.__registerHost(),this.handleClickOutside=n=>{var o;this.containerRef&&!this.containerRef.contains(n.target)&&((o=this.btnRef)===null||o===void 0||o.classList.remove("open"))},this.id=L(),this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.disabled=!1,this.readonly=!1,this.multiSelect=!1,this.options=[],this.optionLabel="name",this.trackBy="value",this.getSelectedOptions=void 0,this.extraClass=void 0,this.optionList=[]}componentWillLoad(){this.initializeOptions()}initializeOptions(){const n=[...this.options].map(o=>(o.selected||(o.selected=!1),o));this.optionList=n}setSelectedOptions(n,o){const i=[...this.optionList];this.multiSelect?(i[o].selected=!i[o].selected,this.getSelectedOptions&&this.getSelectedOptions({selectedList:i.filter(h=>h.selected),selectedOption:n,selectedIndex:o})):(i.forEach(h=>h.selected=!1),i[o].selected=!i[o].selected,this.getSelectedOptions&&this.getSelectedOptions(n)),this.optionList=i}componentDidLoad(){document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside)}handleAddPressed(n){n.currentTarget.classList.add("active")}handleRemovePressed(n){n.currentTarget.classList.remove("active")}handleToggleDropdown(n){n.currentTarget.classList.toggle("open")}handleSelectSingleOption(n,o,i){var h;this.setSelectedOptions(o,i);const d=n.target,f=d.closest(".dropdown"),l=f.querySelector(".dropdown__label"),b=f.querySelector(".dropdown__option.selected");d.classList.contains("selected")||(l.classList.remove("dropdown__label--selection"),b==null||b.classList.remove("selected"),d.classList.add("selected"),l.textContent=(h=d.querySelector(".dropdown__option-label"))===null||h===void 0?void 0:h.textContent,l.classList.add("dropdown__label--selection")),f.querySelector(".dropdown__btn").classList.remove("open")}getSelectedChoices(n){const o={values:[],labels:[]};return n.querySelectorAll(".dropdown__option.selected").forEach(i=>{var h;const d=i.getAttribute("data-value"),f=(h=i.querySelector(".dropdown__option-label"))===null||h===void 0?void 0:h.textContent;o.values.push(d),o.labels.push(f)}),o}handleMultiOptionClicked(n,o,i){this.setSelectedOptions(o,i);const h=n.target;h.classList.toggle("selected");const d=h.closest(".dropdown"),f=d.querySelector(".dropdown__label"),{values:l,labels:b}=this.getSelectedChoices(d);d.setAttribute("data-value",l.join(", ")),f.textContent=b.join(", "),l.length?f.classList.add("dropdown__label--selection"):f.classList.remove("dropdown__label--selection")}render(){return e("div",{key:"22da160f9fbd58f0f399810dc84ec410c3524612",id:this.id,ref:n=>this.containerRef=n,class:`dropdown dropdown--${this.size} ${this.error?"dropdown--error":""} ${this.variant!=="default"?`dropdown--${this.variant}`:""} ${this.disabled?"dropdown--disabled":""} ${this.readonly?"dropdown--readonly":""} ${this.multiSelect?"dropdown--multi-select":""} ${this.extraClass||""}`},e("button",{key:"0e634d7069bba3b5d49ab3ee76c28ac38759babf",class:"dropdown__btn",ref:n=>this.btnRef=n,disabled:this.disabled||this.readonly,onClick:this.handleToggleDropdown.bind(this),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("span",{key:"019d913f957da44d6e54871711761b9895409438",class:"dropdown__label"}),e("span",{key:"93c867d363cb736558d58dcd7cd1cb430bee70fd",class:"dropdown__label-placeholder"},this.placeholder),e("span",{key:"3354bc605b7c5b59e81e2101debb3edd8b48a43d",class:"dropdown__chevron"},e("dga-icon",{key:"00f2b7ae6b6c97a83d1f7e4d9c757c00eff798ff",icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{key:"120e9a8cb04f67479f5bba18074a794d53873a42",class:"dropdown__list"},this.optionList.map((n,o)=>this.multiSelect?e("li",{key:n[this.trackBy]?n[this.trackBy]:L()},e("button",{class:"dropdown__option dropdown__option--checkbox","data-value":n[this.trackBy]?n[this.trackBy]:"",onClick:i=>this.handleMultiOptionClicked(i,n,o),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this),type:"button"},e("div",{class:"dropdown__option-icon-container"},e("span",{class:"dropdown__option-icon"},e("i",{class:"hgi-solid hgi-tick-02",style:{fontSize:"20px"}}))),e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""))):e("li",{key:n[this.trackBy]?n[this.trackBy]:L()},e("button",{class:"dropdown__option",type:"button",onClick:i=>this.handleSelectSingleOption(i,n,o),onMouseDown:this.handleAddPressed.bind(this),onMouseUp:this.handleRemovePressed.bind(this),onMouseOut:this.handleRemovePressed.bind(this)},e("span",{class:"dropdown__option-label"},n[this.optionLabel]?n[this.optionLabel]:""),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"})))))))}get el(){return this}static get watchers(){return{options:["initializeOptions"]}}},[0,"dga-dropdown",{id:[1],placeholder:[1],size:[1],variant:[1],error:[4],disabled:[4],readonly:[4],multiSelect:[4,"multi-select"],options:[16],optionLabel:[1,"option-label"],trackBy:[1,"track-by"],getSelectedOptions:[16],extraClass:[1,"extra-class"],optionList:[32]},void 0,{options:["initializeOptions"]}]);function $o(){if(typeof customElements>"u")return;["dga-dropdown","dga-icon"].forEach(n=>{switch(n){case"dga-dropdown":customElements.get(n)||customElements.define(n,Eo);break;case"dga-icon":customElements.get(n)||D();break}})}const So=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"b7ef373e5f0a248732f497f0db508193dbe82ddc"},e("h1",{key:"cc965879c63989e6b0ffd17301fc515fff13ba9c"},"Dropdown Example"),e("div",{key:"0d34a4b52af890d0600a89fba47e9de86edc014e",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"7cd4593d8fa56f8c8e89be18dd1762d0996583d6",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-dropdown",{key:"0302696c3ad93096153a15835f65617faa05d222",placeholder:"Placeholder text",variant:"default",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),e("dga-dropdown",{key:"b18cdda2c491282174c3319b22fc081641f48c7e",placeholder:"Placeholder text",variant:"darker",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),e("dga-dropdown",{key:"1eaca0338813b9accefbcfdacb3d452bc27829a4",placeholder:"Placeholder text",variant:"lighter",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),e("dga-dropdown",{key:"4d5dba46c7861e5b53a79fd0022ef460d029e8dc",error:!0,placeholder:"Placeholder text",variant:"lighter",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]}),["lg","md"].map(n=>e("dga-dropdown",{key:n,size:n,placeholder:"Placeholder text",variant:"default",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]})),e("dga-dropdown",{key:"3e9d696cf23aa836454138aa417753d2a6e04591",multiSelect:!0,placeholder:"Placeholder text",variant:"lighter",optionLabel:"label",trackBy:"value",options:[{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"},{label:"Option",value:"Option"}]})),e("div",{key:"1995bf917a7f8ae82b25b53f932625e32bf4ed5e",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-dropdown-usage",{activeStep:[32]}]);function Eg(){if(typeof customElements>"u")return;["cs-dropdown-usage","dga-dropdown","dga-icon"].forEach(n=>{switch(n){case"cs-dropdown-usage":customElements.get(n)||customElements.define(n,So);break;case"dga-dropdown":customElements.get(n)||$o();break;case"dga-icon":customElements.get(n)||D();break}})}const $g=So,Sg=Eg,Mo=p(class extends k{constructor(){super(),this.__registerHost(),this.size="md",this.variant="neutral",this.extraClass=void 0}render(){const n=`loading loading--${this.size} loading--${this.variant} ${this.extraClass?this.extraClass:""}`;return e("div",{key:"a7302f1d6cf91177a8ce3275db54ebb874a875b1",class:n},e("div",{key:"d9da5d8049f2bb96986f50c45b8d1471db1d1a3e",class:"loading__circle"}))}},[0,"dga-loading",{size:[1],variant:[1],extraClass:[1,"extra-class"]}]);function Mn(){if(typeof customElements>"u")return;["dga-loading"].forEach(n=>{switch(n){case"dga-loading":customElements.get(n)||customElements.define(n,Mo);break}})}const Do=p(class extends k{constructor(){super(),this.__registerHost(),this.handleFileSelection=n=>{const o=n.target;this.onChange&&this.onChange(n);const i=o.files;if(i){if(this.maximumFilesSize&&Array.from(i).some(f=>f.size>this.maximumFilesSize)){this.uploadFileOverSize&&this.uploadFileOverSize();return}const h=Array.from(i).map(d=>({name:d.name,uploadStatus:"pending"}));this.files=[...this.files,...h],this.getUploadedFile&&this.getUploadedFile([...this.files])}},this.handleDrop=n=>{n.preventDefault(),n.stopPropagation();const o=n.dataTransfer.files;if(o){const i=Array.from(o).map(h=>({name:h.name,uploadStatus:"pending"}));this.files=[...this.files,...i]}this.dragState=!1},this.addDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!0},this.removeDragOverClass=n=>{n.preventDefault(),n.stopPropagation(),this.dragState=!1},this.id=L(),this.name=L(),this.accept=void 0,this.multiple=void 0,this.title="Drag and drop files here to upload",this.fileTypesText="Maximum file size allowed is 2MB, supported file formats include .jpg, .png, and .pdf.",this.actionName="Browse Files",this.maximumFilesSize=void 0,this.disabled=!1,this.getUploadedFile=void 0,this.uploadFileOverSize=void 0,this.onChange=void 0,this.emitDeleteFile=void 0,this.files=[],this.dragState=!1}componentDidLoad(){const n=document.querySelector(".file-upload__drop-area");n.addEventListener("dragover",this.addDragOverClass),n.addEventListener("dragleave",this.removeDragOverClass),n.addEventListener("drop",this.handleDrop)}disconnectedCallback(){const n=document.querySelector(".file-upload__drop-area");n.removeEventListener("dragover",this.addDragOverClass),n.removeEventListener("dragleave",this.removeDragOverClass),n.removeEventListener("drop",this.handleDrop)}handleDeleteFile(n,o){this.files=[...this.files.slice(0,n),...this.files.slice(n+1)],this.emitDeleteFile&&this.emitDeleteFile(o,n)}renderFile(n,o){return n.uploadStatus==="error"?e("div",{class:"file-upload__file-item--error"},e("div",{class:"file-upload__file-item"},e("span",{class:"file-upload__file-status file-upload__file-status--error"},e("i",{class:"hgi-solid hgi-alert-circle",style:{fontSize:"20px"}})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(o,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),e("div",{class:"file-upload__file-item-msg"},n.errorMessage?n.errorMessage:"Here goes the helper text.")):e("div",{class:"file-upload__file-item"},e("span",{class:`file-upload__file-status file-upload__file-status--${n.uploadStatus}`},n.uploadStatus==="uploading"&&n.progress&&e("dga-loading",{size:"tiny",variant:"neutral"}),n.uploadStatus==="complete"&&e("i",{class:"hgi-solid hgi-checkmark-circle-02"})),e("span",{class:"file-upload__file-name"},n.name),e("button",{class:"btn btn--close btn--icon btn--sm",onClick:()=>this.handleDeleteFile(o,n)},e("span",{class:"btn-icon"},e("i",{class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))}render(){return e("div",{key:"4beed671069b45af8fa7d1ab95c8885077c2d962",class:`file-upload ${this.dragState?"file-upload--drag-over":""} ${this.disabled?"file-upload--disabled":""}`},e("input",{key:"6853d0b1d3dd3ef16538fd37c795cfd82ab8b355",type:"file",id:this.id,name:this.name,class:"file-upload__input",accept:this.accept,multiple:this.multiple,"aria-hidden":"true",onChange:this.handleFileSelection,ref:n=>this.fileInputRef=n}),e("label",{key:"9cb39e993d4993c963d493010defbc70ffb0647e",htmlFor:this.id,class:"file-upload__drop-area"},e("span",{key:"6a596c0e03a9c54e551171ae00a2d8fbbb63c4ce",class:"file-upload__icon"},e("i",{key:"f9f3832ffff5c71eb0c4124f4d6211de646106c2",class:"hgi-stroke hgi-file-upload",style:{fontSize:"20px"}})),e("div",{key:"b2660252631c03e5085cc7388f40bba18adc86a6",class:"file-upload__content"},e("p",{key:"0962feea498ab598300c076bdca4eead1df2a69c",class:"file-upload__instructions"},this.title),e("p",{key:"6fca93baf56efb37a0ae2ec51f70ee470d3892c0",class:"file-upload__formats"},this.fileTypesText)),e("button",{key:"6217de928f81cc27e84a5e9c3fb1a16e1d0d11ee",class:"btn btn--md btn--secondary","aria-label":"Browse Files",disabled:this.dragState||this.disabled,type:"button",onClick:()=>{var n;return(n=this.fileInputRef)===null||n===void 0?void 0:n.click()}},e("span",{key:"04550114658db1b5442213618a6d236574e89708"},this.actionName))),e("div",{key:"c32c7f18e474dd68cd5faa3cd05cd31be0707ee1",class:"file-upload__files-list"},this.files.map((n,o)=>this.renderFile(n,o))))}},[0,"dga-file-upload",{id:[1],name:[1],accept:[1],multiple:[4],title:[1],fileTypesText:[1,"file-types-text"],actionName:[1,"action-name"],maximumFilesSize:[2,"maximum-files-size"],disabled:[4],getUploadedFile:[16],uploadFileOverSize:[16],onChange:[16],emitDeleteFile:[16],files:[32],dragState:[32]}]);function Ae(){if(typeof customElements>"u")return;["dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"dga-file-upload":customElements.get(n)||customElements.define(n,Do);break;case"dga-loading":customElements.get(n)||Mn();break}})}const Io=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"6814b3fcacb17bd9e1a3b59dbdf797f704def698"},e("h1",{key:"3caf9853f385852908b3b259926b163aceea4379"},"File Upload Example"),e("div",{key:"91de952046b26cc412cc5046bb29048449264429",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"261cf8a8eaafc7cb180e122718c0fd73c53b2a25",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-file-upload",{key:"8956e9c825df10d8479dacdb02926983d508adac"})),e("div",{key:"10e0c7f06c343c124fba7c9062116d8cb6d1b10b",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-file-upload-usage"]);function Mg(){if(typeof customElements>"u")return;["cs-file-upload-usage","dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"cs-file-upload-usage":customElements.get(n)||customElements.define(n,Io);break;case"dga-file-upload":customElements.get(n)||Ae();break;case"dga-loading":customElements.get(n)||Mn();break}})}const Dg=Io,Ig=Mg,Pg=`@charset "UTF-8";
|
|
415581
415582
|
/* first line of file */
|
|
415582
415583
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
|
|
415583
415584
|
@font-face {
|
|
@@ -623351,7 +623352,7 @@ a:focus {
|
|
|
623351
623352
|
.floating-button-btn:disabled:focus, .floating-button-btn[disabled]:focus {
|
|
623352
623353
|
background-color: var(--disabled-color, #e5e7eb);
|
|
623353
623354
|
outline: none;
|
|
623354
|
-
}`,Ag=Pg,
|
|
623355
|
+
}`,Ag=Pg,Po=p(class extends k{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.buttonClick=hn(this,"buttonClick",7),this.label="Button",this.RTL=!1,this.variant="primary-brand",this.size="small",this.icon="plus-sign",this.onColor=!1,this.disabled=!1,this.iconOnly=!1}handleClick(n){this.disabled||this.buttonClick.emit(n)}renderIcon(n,o){return e("dga-icon",Object.assign({icon:n},o))}render(){return e("button",{key:"2c6d0aafa6d98f281b6569dd70b3f111607effa0",dir:this.RTL?"rtl":"ltr",disabled:this.disabled,class:`floating-button-onColor-${this.onColor} floating-button-btn ${this.variant} ${this.size} `,onClick:n=>this.handleClick(n)},this.icon&&e("div",{key:"b1f85a5b75eb4899cfe28c7f1e9efa086907958b",class:"floating-button-icon"},this.renderIcon(this.icon)),this.label&&!this.iconOnly&&e("p",{key:"11bd83a6b5fd754311c43bbcf02f219e9b71ada8"},this.label))}static get style(){return Ag}},[1,"floating-button",{label:[1],RTL:[4,"r-t-l"],variant:[1],size:[1],icon:[1],onColor:[4,"on-color"],disabled:[4],iconOnly:[4,"icon-only"]}]);function Ao(){if(typeof customElements>"u")return;["floating-button","dga-icon"].forEach(n=>{switch(n){case"floating-button":customElements.get(n)||customElements.define(n,Po);break;case"dga-icon":customElements.get(n)||D();break}})}const Bo=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"6a5c666445e303a8e7dc773e648c5f111abefe7b",style:{margin:"10px"}},e("floating-button",{key:"116e087de9b6e970e6aa06a258ee4cabd2395c40",variant:"secondary-solid"}))}},[0,"cs-floating-button-usage"]);function Bg(){if(typeof customElements>"u")return;["cs-floating-button-usage","dga-icon","floating-button"].forEach(n=>{switch(n){case"cs-floating-button-usage":customElements.get(n)||customElements.define(n,Bo);break;case"dga-icon":customElements.get(n)||D();break;case"floating-button":customElements.get(n)||Ao();break}})}const Tg=Bo,Lg=Bg;var _n={};/**
|
|
623355
623356
|
* @license React
|
|
623356
623357
|
* react-jsx-runtime.production.min.js
|
|
623357
623358
|
*
|
|
@@ -623359,7 +623360,7 @@ a:focus {
|
|
|
623359
623360
|
*
|
|
623360
623361
|
* This source code is licensed under the MIT license found in the
|
|
623361
623362
|
* LICENSE file in the root directory of this source tree.
|
|
623362
|
-
*/var
|
|
623363
|
+
*/var wt;function Og(){if(wt)return _n;wt=1;var t=u,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,h=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function f(l,b,w){var x,_={},z=null,C=null;w!==void 0&&(z=""+w),b.key!==void 0&&(z=""+b.key),b.ref!==void 0&&(C=b.ref);for(x in b)i.call(b,x)&&!d.hasOwnProperty(x)&&(_[x]=b[x]);if(l&&l.defaultProps)for(x in b=l.defaultProps,b)_[x]===void 0&&(_[x]=b[x]);return{$$typeof:n,type:l,key:z,ref:C,props:_,_owner:h.current}}return _n.Fragment=o,_n.jsx=f,_n.jsxs=f,_n}var zn={};/**
|
|
623363
623364
|
* @license React
|
|
623364
623365
|
* react-jsx-runtime.development.js
|
|
623365
623366
|
*
|
|
@@ -623367,24 +623368,24 @@ a:focus {
|
|
|
623367
623368
|
*
|
|
623368
623369
|
* This source code is licensed under the MIT license found in the
|
|
623369
623370
|
* LICENSE file in the root directory of this source tree.
|
|
623370
|
-
*/var
|
|
623371
|
-
`+
|
|
623371
|
+
*/var vt;function Fg(){return vt||(vt=1,process.env.NODE_ENV!=="production"&&function(){var t=u,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),l=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),E=Symbol.iterator,H="@@iterator";function R(g){if(g===null||typeof g!="object")return null;var v=E&&g[E]||g[H];return typeof v=="function"?v:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(g){{for(var v=arguments.length,j=new Array(v>1?v-1:0),M=1;M<v;M++)j[M-1]=arguments[M];Dn("error",g,j)}}function Dn(g,v,j){{var M=A.ReactDebugCurrentFrame,B=M.getStackAddendum();B!==""&&(v+="%s",j=j.concat([B]));var T=j.map(function(P){return String(P)});T.unshift("Warning: "+v),Function.prototype.apply.call(console[g],console,T)}}var In=!1,oe=!1,ie=!1,Pn=!1,he=!1,F;F=Symbol.for("react.module.reference");function sn(g){return!!(typeof g=="string"||typeof g=="function"||g===i||g===d||he||g===h||g===w||g===x||Pn||g===C||In||oe||ie||typeof g=="object"&&g!==null&&(g.$$typeof===z||g.$$typeof===_||g.$$typeof===f||g.$$typeof===l||g.$$typeof===b||g.$$typeof===F||g.getModuleId!==void 0))}function gn(g,v,j){var M=g.displayName;if(M)return M;var B=v.displayName||v.name||"";return B!==""?j+"("+B+")":j}function r(g){return g.displayName||"Context"}function c(g){if(g==null)return null;if(typeof g.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case i:return"Fragment";case o:return"Portal";case d:return"Profiler";case h:return"StrictMode";case w:return"Suspense";case x:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case l:var v=g;return r(v)+".Consumer";case f:var j=g;return r(j._context)+".Provider";case b:return gn(g,g.render,"ForwardRef");case _:var M=g.displayName||null;return M!==null?M:c(g.type)||"Memo";case z:{var B=g,T=B._payload,P=B._init;try{return c(P(T))}catch{return null}}}return null}var s=Object.assign,a=0,$,q,y,S,X,vn,yn;function We(){}We.__reactDisabledLog=!0;function qh(){{if(a===0){$=console.log,q=console.info,y=console.warn,S=console.error,X=console.group,vn=console.groupCollapsed,yn=console.groupEnd;var g={configurable:!0,enumerable:!0,value:We,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}a++}}function _h(){{if(a--,a===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:s({},g,{value:$}),info:s({},g,{value:q}),warn:s({},g,{value:y}),error:s({},g,{value:S}),group:s({},g,{value:X}),groupCollapsed:s({},g,{value:vn}),groupEnd:s({},g,{value:yn})})}a<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var re=A.ReactCurrentDispatcher,ge;function An(g,v,j){{if(ge===void 0)try{throw Error()}catch(B){var M=B.stack.trim().match(/\n( *(at )?)/);ge=M&&M[1]||""}return`
|
|
623372
|
+
`+ge+g}}var ae=!1,Bn;{var zh=typeof WeakMap=="function"?WeakMap:Map;Bn=new zh}function Ve(g,v){if(!g||ae)return"";{var j=Bn.get(g);if(j!==void 0)return j}var M;ae=!0;var B=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var T;T=re.current,re.current=null,qh();try{if(v){var P=function(){throw Error()};if(Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(W){M=W}Reflect.construct(g,[],P)}else{try{P.call()}catch(W){M=W}g.call(P.prototype)}}else{try{throw Error()}catch(W){M=W}g()}}catch(W){if(W&&M&&typeof W.stack=="string"){for(var I=W.stack.split(`
|
|
623372
623373
|
`),Z=M.stack.split(`
|
|
623373
|
-
`),U=
|
|
623374
|
-
`+
|
|
623374
|
+
`),U=I.length-1,Y=Z.length-1;U>=1&&Y>=0&&I[U]!==Z[Y];)Y--;for(;U>=1&&Y>=0;U--,Y--)if(I[U]!==Z[Y]){if(U!==1||Y!==1)do if(U--,Y--,Y<0||I[U]!==Z[Y]){var Q=`
|
|
623375
|
+
`+I[U].replace(" at new "," at ");return g.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",g.displayName)),typeof g=="function"&&Bn.set(g,Q),Q}while(U>=1&&Y>=0);break}}}finally{ae=!1,re.current=T,_h(),Error.prepareStackTrace=B}var fn=g?g.displayName||g.name:"",an=fn?An(fn):"";return typeof g=="function"&&Bn.set(g,an),an}function jh(g,v,j){return Ve(g,!1)}function Ch(g){var v=g.prototype;return!!(v&&v.isReactComponent)}function Tn(g,v,j){if(g==null)return"";if(typeof g=="function")return Ve(g,Ch(g));if(typeof g=="string")return An(g);switch(g){case w:return An("Suspense");case x:return An("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case b:return jh(g.render);case _:return Tn(g.type,v,j);case z:{var M=g,B=M._payload,T=M._init;try{return Tn(T(B),v,j)}catch{}}}return""}var xn=Object.prototype.hasOwnProperty,Ge={},Je=A.ReactDebugCurrentFrame;function Ln(g){if(g){var v=g._owner,j=Tn(g.type,g._source,v?v.type:null);Je.setExtraStackFrame(j)}else Je.setExtraStackFrame(null)}function Eh(g,v,j,M,B){{var T=Function.call.bind(xn);for(var P in g)if(T(g,P)){var I=void 0;try{if(typeof g[P]!="function"){var Z=Error((M||"React class")+": "+j+" type `"+P+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[P]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}I=g[P](v,P,M,j,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(U){I=U}I&&!(I instanceof Error)&&(Ln(B),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",M||"React class",j,P,typeof I),Ln(null)),I instanceof Error&&!(I.message in Ge)&&(Ge[I.message]=!0,Ln(B),O("Failed %s type: %s",j,I.message),Ln(null))}}}var $h=Array.isArray;function ce(g){return $h(g)}function Sh(g){{var v=typeof Symbol=="function"&&Symbol.toStringTag,j=v&&g[Symbol.toStringTag]||g.constructor.name||"Object";return j}}function Mh(g){try{return Ke(g),!1}catch{return!0}}function Ke(g){return""+g}function Qe(g){if(Mh(g))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Sh(g)),Ke(g)}var qn=A.ReactCurrentOwner,Dh={key:!0,ref:!0,__self:!0,__source:!0},Ne,nt,se;se={};function Ih(g){if(xn.call(g,"ref")){var v=Object.getOwnPropertyDescriptor(g,"ref").get;if(v&&v.isReactWarning)return!1}return g.ref!==void 0}function Ph(g){if(xn.call(g,"key")){var v=Object.getOwnPropertyDescriptor(g,"key").get;if(v&&v.isReactWarning)return!1}return g.key!==void 0}function Ah(g,v){if(typeof g.ref=="string"&&qn.current&&v&&qn.current.stateNode!==v){var j=c(qn.current.type);se[j]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c(qn.current.type),g.ref),se[j]=!0)}}function Bh(g,v){{var j=function(){Ne||(Ne=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))};j.isReactWarning=!0,Object.defineProperty(g,"key",{get:j,configurable:!0})}}function Th(g,v){{var j=function(){nt||(nt=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",v))};j.isReactWarning=!0,Object.defineProperty(g,"ref",{get:j,configurable:!0})}}var Lh=function(g,v,j,M,B,T,P){var I={$$typeof:n,type:g,key:v,ref:j,props:P,_owner:T};return I._store={},Object.defineProperty(I._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(I,"_self",{configurable:!1,enumerable:!1,writable:!1,value:M}),Object.defineProperty(I,"_source",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.freeze&&(Object.freeze(I.props),Object.freeze(I)),I};function Oh(g,v,j,M,B){{var T,P={},I=null,Z=null;j!==void 0&&(Qe(j),I=""+j),Ph(v)&&(Qe(v.key),I=""+v.key),Ih(v)&&(Z=v.ref,Ah(v,B));for(T in v)xn.call(v,T)&&!Dh.hasOwnProperty(T)&&(P[T]=v[T]);if(g&&g.defaultProps){var U=g.defaultProps;for(T in U)P[T]===void 0&&(P[T]=U[T])}if(I||Z){var Y=typeof g=="function"?g.displayName||g.name||"Unknown":g;I&&Bh(P,Y),Z&&Th(P,Y)}return Lh(g,I,Z,B,M,qn.current,P)}}var de=A.ReactCurrentOwner,et=A.ReactDebugCurrentFrame;function dn(g){if(g){var v=g._owner,j=Tn(g.type,g._source,v?v.type:null);et.setExtraStackFrame(j)}else et.setExtraStackFrame(null)}var fe;fe=!1;function le(g){return typeof g=="object"&&g!==null&&g.$$typeof===n}function tt(){{if(de.current){var g=c(de.current.type);if(g)return`
|
|
623375
623376
|
|
|
623376
|
-
Check the render method of \``+g+"`."}return""}}function Fh(g){return""}var
|
|
623377
|
+
Check the render method of \``+g+"`."}return""}}function Fh(g){return""}var ot={};function Rh(g){{var v=tt();if(!v){var j=typeof g=="string"?g:g.displayName||g.name;j&&(v=`
|
|
623377
623378
|
|
|
623378
|
-
Check the top-level render call using <`+j+">.")}return v}}function
|
|
623379
|
+
Check the top-level render call using <`+j+">.")}return v}}function it(g,v){{if(!g._store||g._store.validated||g.key!=null)return;g._store.validated=!0;var j=Rh(v);if(ot[j])return;ot[j]=!0;var M="";g&&g._owner&&g._owner!==de.current&&(M=" It was passed a child from "+c(g._owner.type)+"."),dn(g),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',j,M),dn(null)}}function ht(g,v){{if(typeof g!="object")return;if(ce(g))for(var j=0;j<g.length;j++){var M=g[j];le(M)&&it(M,v)}else if(le(g))g._store&&(g._store.validated=!0);else if(g){var B=R(g);if(typeof B=="function"&&B!==g.entries)for(var T=B.call(g),P;!(P=T.next()).done;)le(P.value)&&it(P.value,v)}}}function Hh(g){{var v=g.type;if(v==null||typeof v=="string")return;var j;if(typeof v=="function")j=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===b||v.$$typeof===_))j=v.propTypes;else return;if(j){var M=c(v);Eh(j,g.props,"prop",M,g)}else if(v.PropTypes!==void 0&&!fe){fe=!0;var B=c(v);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",B||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Uh(g){{for(var v=Object.keys(g.props),j=0;j<v.length;j++){var M=v[j];if(M!=="children"&&M!=="key"){dn(g),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",M),dn(null);break}}g.ref!==null&&(dn(g),O("Invalid attribute `ref` supplied to `React.Fragment`."),dn(null))}}var rt={};function gt(g,v,j,M,B,T){{var P=sn(g);if(!P){var I="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Z=Fh();Z?I+=Z:I+=tt();var U;g===null?U="null":ce(g)?U="array":g!==void 0&&g.$$typeof===n?(U="<"+(c(g.type)||"Unknown")+" />",I=" Did you accidentally export a JSX literal instead of a component?"):U=typeof g,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,I)}var Y=Oh(g,v,j,B,T);if(Y==null)return Y;if(P){var Q=v.children;if(Q!==void 0)if(M)if(ce(Q)){for(var fn=0;fn<Q.length;fn++)ht(Q[fn],g);Object.freeze&&Object.freeze(Q)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ht(Q,g)}if(xn.call(v,"key")){var an=c(g),W=Object.keys(v).filter(function(Gh){return Gh!=="key"}),be=W.length>0?"{key: someKey, "+W.join(": ..., ")+": ...}":"{key: someKey}";if(!rt[an+be]){var Vh=W.length>0?"{"+W.join(": ..., ")+": ...}":"{}";O(`A props object containing a "key" prop is being spread into JSX:
|
|
623379
623380
|
let props = %s;
|
|
623380
623381
|
<%s {...props} />
|
|
623381
623382
|
React keys must be passed directly to JSX without using spread:
|
|
623382
623383
|
let props = %s;
|
|
623383
|
-
<%s key={someKey} {...props} />`,
|
|
623384
|
+
<%s key={someKey} {...props} />`,be,an,Vh,an),rt[an+be]=!0}}return g===i?Uh(Y):Hh(Y),Y}}function Yh(g,v,j){return gt(g,v,j,!0)}function Xh(g,v,j){return gt(g,v,j,!1)}var Zh=Xh,Wh=Yh;zn.Fragment=i,zn.jsx=Zh,zn.jsxs=Wh}()),zn}process.env.NODE_ENV==="production"?Og():Fg();const To=p(class extends k{constructor(){super(),this.__registerHost(),this.background=void 0,this.NavLinks=void 0,this.mainTitle="",this.mainDescription="",this.mainLink=void 0,this.mainLinkTilte="",this.mainImage="",this.copyright="",this.groupLinks=[],this.socialMediaTitle="Social Media",this.socialMediaLinks=[],this.accessibilityTitle="Accessibility Tools",this.accessibilityLinks=[],this.basicLinks=[],this.extraLinks=[],this.bottomImages=[]}render(){return e("footer",{key:"651bae5b128a045d15e0078911b39ae7918bacaf",class:`footer ${this.background==="DarkGreen"?"footer--bg-brand":""}`},e("section",{key:"089c573ea178e48f0d3448daafef0f97cb6aa0f1",class:"footer-content"},(this.mainLinkTilte||this.mainImage)&&e("div",{key:"74211ec6d25289bd9bad103877eed48eccfdab16",class:"footer-icon-section"},e("a",{key:"76e7bb0fc10c1d8ae854446a869cb84655ad5a0a",class:this.background==="DarkGreen"?"link--on-color":"",href:this.mainLink||"#",target:"_blank",rel:"noopener noreferrer"},this.mainLinkTilte)),(this.mainTitle||this.mainDescription)&&e("div",{key:"265167d92f980faaa0a10f84b6f6e7b17cec2cc9",class:"footer-title-description"},e("h3",{key:"d53bfea667b21d224ee69bdf7c9e465005898807",class:this.background==="DarkGreen"?"link--on-color":""},this.mainTitle),e("p",{key:"67a4d85aca8218337dc081ed7fd67ef62654d6f6",class:this.background==="DarkGreen"?"link--on-color":""},this.mainDescription)),this.NavLinks&&e("section",{key:"aa6841005df2b17880ea3f021d3a9d7d07305b69",class:"footer__nav-links"},this.groupLinks.map(n=>e("div",{class:"footer__nav-links-column"},e("div",{class:"footer__nav-links-column-title"},n.title),e("ul",{class:"footer__nav-links-column-body"},n.links.map(o=>e("li",null,e("a",{href:o.target,class:`link link--sm link--neutral ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},o.name))))))),e("div",{key:"0e98e052ab255712f0a2389de029bb12531b4df8",class:"footer__nav-links-column"},this.socialMediaLinks.length>0&&e("div",{key:"0006b4ee8bddd75fdbda06626f33c7dcdbf26f5d"},this.socialMediaTitle&&e("div",{key:"0614842c7f6733f8d10e479a893b9156cfe6566c",class:"footer__nav-links-column-title"},this.socialMediaTitle),e("div",{key:"214b60d2c6e62dec71e52d01d0b7986e230883a2",class:"flex icons-container"},this.socialMediaLinks.map(n=>e("a",{href:n.target,title:n.title,class:"btn btn--md btn--secondary-outline btn--secondary-outline-on-color btn--icon"},e("span",{class:"btn-icon"},n.icon))))),this.accessibilityLinks.length>0&&e("div",{key:"aacbc9436938a719e372205e3d69cc806f340800"},e("div",{key:"32fe63de53d1b2f12b5ab87f3d5241082fc1c7d9",class:"footer__nav-links-column-title"},this.accessibilityTitle),e("div",{key:"da76fa5b2c139936ce2902b04de052223ac18043",class:"flex icons-container"},this.accessibilityLinks.map(n=>e("a",{href:n.target,title:n.title,class:"btn btn--md btn--secondary-outline btn--secondary-outline-on-color btn--icon"},e("span",{class:"btn-icon"},n.icon))))))),e("section",{key:"f6cc09e8537913ab1ba9a44f9112666a94d87071",class:"footer__basic"},e("div",{key:"08d41e50a581fdc1814a10e14b531ac4b3d2ee86",class:"footer__actions-copyright"},e("ul",{key:"01b3916401900813a07056d798222f9a14ad9a78",class:"footer__actions"},this.basicLinks.map(n=>e("li",null,e("a",{href:n.target,class:`link link--sm link--neutral link--inline ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},n.name))))),this.copyright&&e("p",{key:"f610eaa47577a88ab5a02e3dd6c9d03a5170f6ba",class:"footer__copyright text-sm-semibold"},this.copyright),e("ul",{key:"428aadf259ce027df6745adeff558c441074f521",class:"footer__extra-actions"},this.extraLinks.map(n=>e("li",null,e("a",{href:n.target,class:`link link--sm link--neutral ${this.background==="DarkGreen"?"link--on-color":""}`},e("span",{class:"link__label"},n.name)))))),e("div",{key:"0ca43d0b858998a36477aecac282c0ae445ba3f8",class:"footer__logos"},this.bottomImages.map(n=>e("img",{src:n,key:L()}))))))}},[0,"dga-footer",{background:[1],NavLinks:[4,"nav-links"],mainTitle:[1,"main-title"],mainDescription:[1,"main-description"],mainLink:[1,"main-link"],mainLinkTilte:[1,"main-link-tilte"],mainImage:[1,"main-image"],copyright:[1],groupLinks:[16],socialMediaTitle:[1,"social-media-title"],socialMediaLinks:[16],accessibilityTitle:[1,"accessibility-title"],accessibilityLinks:[16],basicLinks:[16],extraLinks:[16],bottomImages:[16]}]);function Lo(){if(typeof customElements>"u")return;["dga-footer"].forEach(n=>{switch(n){case"dga-footer":customElements.get(n)||customElements.define(n,To);break}})}/**
|
|
623384
623385
|
* @license @hugeicons/react-pro v0.3.1
|
|
623385
623386
|
*
|
|
623386
623387
|
* See the LICENSE file in the root directory of this source tree.
|
|
623387
|
-
*/var Rg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},Hg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ug(t){if(t.__esModule)return t;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(o){var i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:function(){return t[o]}})}),n}var Yg={exports:{}};const Xg={},Zg=Object.freeze({__proto__:null,default:Xg}),
|
|
623388
|
+
*/var Rg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},Hg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ug(t){if(t.__esModule)return t;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(o){var i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:function(){return t[o]}})}),n}var Yg={exports:{}};const Xg={},Zg=Object.freeze({__proto__:null,default:Xg}),yt=Ug(Zg);/**
|
|
623388
623389
|
* [js-md5]{@link https://github.com/emn178/js-md5}
|
|
623389
623390
|
*
|
|
623390
623391
|
* @namespace md5
|
|
@@ -623392,7 +623393,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
623392
623393
|
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
623393
623394
|
* @copyright Chen, Yi-Cyuan 2014-2023
|
|
623394
623395
|
* @license MIT
|
|
623395
|
-
*/(function(t){(function(){var n="input is invalid type",o="finalize already called",i=typeof window=="object",h=i?window:{};h.JS_MD5_NO_WINDOW&&(i=!1);var d=!i&&typeof self=="object",f=!h.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;f?h=Hg:d&&(h=self);var l=!h.JS_MD5_NO_COMMON_JS&&!0&&t.exports,b=!h.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",w="0123456789abcdef".split(""),x=[128,32768,8388608,-2147483648],_=[0,8,16,24],z=["hex","array","digest","buffer","arrayBuffer","base64"],C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),E=[],H;if(b){var R=new ArrayBuffer(68);H=new Uint8Array(R),E=new Uint32Array(R)}var A=Array.isArray;(h.JS_MD5_NO_NODE_JS||!A)&&(A=function(r){return Object.prototype.toString.call(r)==="[object Array]"});var O=ArrayBuffer.isView;b&&(h.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!O)&&(O=function(r){return typeof r=="object"&&r.buffer&&r.buffer.constructor===ArrayBuffer});var Dn=function(r){var c=typeof r;if(c==="string")return[r,!0];if(c!=="object"||r===null)throw new Error(n);if(b&&r.constructor===ArrayBuffer)return[new Uint8Array(r),!1];if(!A(r)&&!O(r))throw new Error(n);return[r,!1]},In=function(r){return function(c){return new F(!0).update(c)[r]()}},te=function(){var r=In("hex");f&&(r=oe(r)),r.create=function(){return new F},r.update=function(a){return r.create().update(a)};for(var c=0;c<z.length;++c){var s=z[c];r[s]=In(s)}return r},oe=function(r){var c=vt,s=vt.Buffer,a;s.from&&!h.JS_MD5_NO_BUFFER_FROM?a=s.from:a=function(q){return new s(q)};var $=function(q){if(typeof q=="string")return c.createHash("md5").update(q,"utf8").digest("hex");if(q==null)throw new Error(n);return q.constructor===ArrayBuffer&&(q=new Uint8Array(q)),A(q)||O(q)||q.constructor===s?c.createHash("md5").update(a(q)).digest("hex"):r(q)};return $},Pn=function(r){return function(c,s){return new sn(c,!0).update(s)[r]()}},ie=function(){var r=Pn("hex");r.create=function(a){return new sn(a)},r.update=function(a,$){return r.create(a).update($)};for(var c=0;c<z.length;++c){var s=z[c];r[s]=Pn(s)}return r};function F(r){if(r)E[0]=E[16]=E[1]=E[2]=E[3]=E[4]=E[5]=E[6]=E[7]=E[8]=E[9]=E[10]=E[11]=E[12]=E[13]=E[14]=E[15]=0,this.blocks=E,this.buffer8=H;else if(b){var c=new ArrayBuffer(68);this.buffer8=new Uint8Array(c),this.blocks=new Uint32Array(c)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}F.prototype.update=function(r){if(this.finalized)throw new Error(o);var c=Dn(r);r=c[0];for(var s=c[1],a,$=0,q,y=r.length,S=this.blocks,X=this.buffer8;$<y;){if(this.hashed&&(this.hashed=!1,S[0]=S[16],S[16]=S[1]=S[2]=S[3]=S[4]=S[5]=S[6]=S[7]=S[8]=S[9]=S[10]=S[11]=S[12]=S[13]=S[14]=S[15]=0),s)if(b)for(q=this.start;$<y&&q<64;++$)a=r.charCodeAt($),a<128?X[q++]=a:a<2048?(X[q++]=192|a>>>6,X[q++]=128|a&63):a<55296||a>=57344?(X[q++]=224|a>>>12,X[q++]=128|a>>>6&63,X[q++]=128|a&63):(a=65536+((a&1023)<<10|r.charCodeAt(++$)&1023),X[q++]=240|a>>>18,X[q++]=128|a>>>12&63,X[q++]=128|a>>>6&63,X[q++]=128|a&63);else for(q=this.start;$<y&&q<64;++$)a=r.charCodeAt($),a<128?S[q>>>2]|=a<<_[q++&3]:a<2048?(S[q>>>2]|=(192|a>>>6)<<_[q++&3],S[q>>>2]|=(128|a&63)<<_[q++&3]):a<55296||a>=57344?(S[q>>>2]|=(224|a>>>12)<<_[q++&3],S[q>>>2]|=(128|a>>>6&63)<<_[q++&3],S[q>>>2]|=(128|a&63)<<_[q++&3]):(a=65536+((a&1023)<<10|r.charCodeAt(++$)&1023),S[q>>>2]|=(240|a>>>18)<<_[q++&3],S[q>>>2]|=(128|a>>>12&63)<<_[q++&3],S[q>>>2]|=(128|a>>>6&63)<<_[q++&3],S[q>>>2]|=(128|a&63)<<_[q++&3]);else if(b)for(q=this.start;$<y&&q<64;++$)X[q++]=r[$];else for(q=this.start;$<y&&q<64;++$)S[q>>>2]|=r[$]<<_[q++&3];this.lastByteIndex=q,this.bytes+=q-this.start,q>=64?(this.start=q-64,this.hash(),this.hashed=!0):this.start=q}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},F.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var r=this.blocks,c=this.lastByteIndex;r[c>>>2]|=x[c&3],c>=56&&(this.hashed||this.hash(),r[0]=r[16],r[16]=r[1]=r[2]=r[3]=r[4]=r[5]=r[6]=r[7]=r[8]=r[9]=r[10]=r[11]=r[12]=r[13]=r[14]=r[15]=0),r[14]=this.bytes<<3,r[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},F.prototype.hash=function(){var r,c,s,a,$,q,y=this.blocks;this.first?(r=y[0]-680876937,r=(r<<7|r>>>25)-271733879<<0,a=(-1732584194^r&2004318071)+y[1]-117830708,a=(a<<12|a>>>20)+r<<0,s=(-271733879^a&(r^-271733879))+y[2]-1126478375,s=(s<<17|s>>>15)+a<<0,c=(r^s&(a^r))+y[3]-1316259209,c=(c<<22|c>>>10)+s<<0):(r=this.h0,c=this.h1,s=this.h2,a=this.h3,r+=(a^c&(s^a))+y[0]-680876936,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[1]-389564586,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[2]+606105819,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[3]-1044525330,c=(c<<22|c>>>10)+s<<0),r+=(a^c&(s^a))+y[4]-176418897,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[5]+1200080426,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[6]-1473231341,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[7]-45705983,c=(c<<22|c>>>10)+s<<0,r+=(a^c&(s^a))+y[8]+1770035416,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[9]-1958414417,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[10]-42063,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[11]-1990404162,c=(c<<22|c>>>10)+s<<0,r+=(a^c&(s^a))+y[12]+1804603682,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[13]-40341101,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[14]-1502002290,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[15]+1236535329,c=(c<<22|c>>>10)+s<<0,r+=(s^a&(c^s))+y[1]-165796510,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[6]-1069501632,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[11]+643717713,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[0]-373897302,c=(c<<20|c>>>12)+s<<0,r+=(s^a&(c^s))+y[5]-701558691,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[10]+38016083,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[15]-660478335,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[4]-405537848,c=(c<<20|c>>>12)+s<<0,r+=(s^a&(c^s))+y[9]+568446438,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[14]-1019803690,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[3]-187363961,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[8]+1163531501,c=(c<<20|c>>>12)+s<<0,r+=(s^a&(c^s))+y[13]-1444681467,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[2]-51403784,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[7]+1735328473,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[12]-1926607734,c=(c<<20|c>>>12)+s<<0,$=c^s,r+=($^a)+y[5]-378558,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[8]-2022574463,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[11]+1839030562,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[14]-35309556,c=(c<<23|c>>>9)+s<<0,$=c^s,r+=($^a)+y[1]-1530992060,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[4]+1272893353,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[7]-155497632,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[10]-1094730640,c=(c<<23|c>>>9)+s<<0,$=c^s,r+=($^a)+y[13]+681279174,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[0]-358537222,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[3]-722521979,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[6]+76029189,c=(c<<23|c>>>9)+s<<0,$=c^s,r+=($^a)+y[9]-640364487,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[12]-421815835,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[15]+530742520,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[2]-995338651,c=(c<<23|c>>>9)+s<<0,r+=(s^(c|~a))+y[0]-198630844,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[7]+1126891415,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[14]-1416354905,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[5]-57434055,c=(c<<21|c>>>11)+s<<0,r+=(s^(c|~a))+y[12]+1700485571,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[3]-1894986606,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[10]-1051523,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[1]-2054922799,c=(c<<21|c>>>11)+s<<0,r+=(s^(c|~a))+y[8]+1873313359,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[15]-30611744,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[6]-1560198380,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[13]+1309151649,c=(c<<21|c>>>11)+s<<0,r+=(s^(c|~a))+y[4]-145523070,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[11]-1120210379,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[2]+718787259,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[9]-343485551,c=(c<<21|c>>>11)+s<<0,this.first?(this.h0=r+1732584193<<0,this.h1=c-271733879<<0,this.h2=s-1732584194<<0,this.h3=a+271733878<<0,this.first=!1):(this.h0=this.h0+r<<0,this.h1=this.h1+c<<0,this.h2=this.h2+s<<0,this.h3=this.h3+a<<0)},F.prototype.hex=function(){this.finalize();var r=this.h0,c=this.h1,s=this.h2,a=this.h3;return w[r>>>4&15]+w[r&15]+w[r>>>12&15]+w[r>>>8&15]+w[r>>>20&15]+w[r>>>16&15]+w[r>>>28&15]+w[r>>>24&15]+w[c>>>4&15]+w[c&15]+w[c>>>12&15]+w[c>>>8&15]+w[c>>>20&15]+w[c>>>16&15]+w[c>>>28&15]+w[c>>>24&15]+w[s>>>4&15]+w[s&15]+w[s>>>12&15]+w[s>>>8&15]+w[s>>>20&15]+w[s>>>16&15]+w[s>>>28&15]+w[s>>>24&15]+w[a>>>4&15]+w[a&15]+w[a>>>12&15]+w[a>>>8&15]+w[a>>>20&15]+w[a>>>16&15]+w[a>>>28&15]+w[a>>>24&15]},F.prototype.toString=F.prototype.hex,F.prototype.digest=function(){this.finalize();var r=this.h0,c=this.h1,s=this.h2,a=this.h3;return[r&255,r>>>8&255,r>>>16&255,r>>>24&255,c&255,c>>>8&255,c>>>16&255,c>>>24&255,s&255,s>>>8&255,s>>>16&255,s>>>24&255,a&255,a>>>8&255,a>>>16&255,a>>>24&255]},F.prototype.array=F.prototype.digest,F.prototype.arrayBuffer=function(){this.finalize();var r=new ArrayBuffer(16),c=new Uint32Array(r);return c[0]=this.h0,c[1]=this.h1,c[2]=this.h2,c[3]=this.h3,r},F.prototype.buffer=F.prototype.arrayBuffer,F.prototype.base64=function(){for(var r,c,s,a="",$=this.array(),q=0;q<15;)r=$[q++],c=$[q++],s=$[q++],a+=C[r>>>2]+C[(r<<4|c>>>4)&63]+C[(c<<2|s>>>6)&63]+C[s&63];return r=$[q],a+=C[r>>>2]+C[r<<4&63]+"==",a};function sn(r,c){var s,a=Dn(r);if(r=a[0],a[1]){var $=[],q=r.length,y=0,S;for(s=0;s<q;++s)S=r.charCodeAt(s),S<128?$[y++]=S:S<2048?($[y++]=192|S>>>6,$[y++]=128|S&63):S<55296||S>=57344?($[y++]=224|S>>>12,$[y++]=128|S>>>6&63,$[y++]=128|S&63):(S=65536+((S&1023)<<10|r.charCodeAt(++s)&1023),$[y++]=240|S>>>18,$[y++]=128|S>>>12&63,$[y++]=128|S>>>6&63,$[y++]=128|S&63);r=$}r.length>64&&(r=new F(!0).update(r).array());var X=[],vn=[];for(s=0;s<64;++s){var yn=r[s]||0;X[s]=92^yn,vn[s]=54^yn}F.call(this,c),this.update(vn),this.oKeyPad=X,this.inner=!0,this.sharedMemory=c}sn.prototype=new F,sn.prototype.finalize=function(){if(F.prototype.finalize.call(this),this.inner){this.inner=!1;var r=this.array();F.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(r),F.prototype.finalize.call(this)}};var gn=te();gn.md5=gn,gn.md5.hmac=ie(),l?t.exports=gn:h.md5=gn})()})(Yg);/**
|
|
623396
|
+
*/(function(t){(function(){var n="input is invalid type",o="finalize already called",i=typeof window=="object",h=i?window:{};h.JS_MD5_NO_WINDOW&&(i=!1);var d=!i&&typeof self=="object",f=!h.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;f?h=Hg:d&&(h=self);var l=!h.JS_MD5_NO_COMMON_JS&&!0&&t.exports,b=!h.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",w="0123456789abcdef".split(""),x=[128,32768,8388608,-2147483648],_=[0,8,16,24],z=["hex","array","digest","buffer","arrayBuffer","base64"],C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),E=[],H;if(b){var R=new ArrayBuffer(68);H=new Uint8Array(R),E=new Uint32Array(R)}var A=Array.isArray;(h.JS_MD5_NO_NODE_JS||!A)&&(A=function(r){return Object.prototype.toString.call(r)==="[object Array]"});var O=ArrayBuffer.isView;b&&(h.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!O)&&(O=function(r){return typeof r=="object"&&r.buffer&&r.buffer.constructor===ArrayBuffer});var Dn=function(r){var c=typeof r;if(c==="string")return[r,!0];if(c!=="object"||r===null)throw new Error(n);if(b&&r.constructor===ArrayBuffer)return[new Uint8Array(r),!1];if(!A(r)&&!O(r))throw new Error(n);return[r,!1]},In=function(r){return function(c){return new F(!0).update(c)[r]()}},oe=function(){var r=In("hex");f&&(r=ie(r)),r.create=function(){return new F},r.update=function(a){return r.create().update(a)};for(var c=0;c<z.length;++c){var s=z[c];r[s]=In(s)}return r},ie=function(r){var c=yt,s=yt.Buffer,a;s.from&&!h.JS_MD5_NO_BUFFER_FROM?a=s.from:a=function(q){return new s(q)};var $=function(q){if(typeof q=="string")return c.createHash("md5").update(q,"utf8").digest("hex");if(q==null)throw new Error(n);return q.constructor===ArrayBuffer&&(q=new Uint8Array(q)),A(q)||O(q)||q.constructor===s?c.createHash("md5").update(a(q)).digest("hex"):r(q)};return $},Pn=function(r){return function(c,s){return new sn(c,!0).update(s)[r]()}},he=function(){var r=Pn("hex");r.create=function(a){return new sn(a)},r.update=function(a,$){return r.create(a).update($)};for(var c=0;c<z.length;++c){var s=z[c];r[s]=Pn(s)}return r};function F(r){if(r)E[0]=E[16]=E[1]=E[2]=E[3]=E[4]=E[5]=E[6]=E[7]=E[8]=E[9]=E[10]=E[11]=E[12]=E[13]=E[14]=E[15]=0,this.blocks=E,this.buffer8=H;else if(b){var c=new ArrayBuffer(68);this.buffer8=new Uint8Array(c),this.blocks=new Uint32Array(c)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}F.prototype.update=function(r){if(this.finalized)throw new Error(o);var c=Dn(r);r=c[0];for(var s=c[1],a,$=0,q,y=r.length,S=this.blocks,X=this.buffer8;$<y;){if(this.hashed&&(this.hashed=!1,S[0]=S[16],S[16]=S[1]=S[2]=S[3]=S[4]=S[5]=S[6]=S[7]=S[8]=S[9]=S[10]=S[11]=S[12]=S[13]=S[14]=S[15]=0),s)if(b)for(q=this.start;$<y&&q<64;++$)a=r.charCodeAt($),a<128?X[q++]=a:a<2048?(X[q++]=192|a>>>6,X[q++]=128|a&63):a<55296||a>=57344?(X[q++]=224|a>>>12,X[q++]=128|a>>>6&63,X[q++]=128|a&63):(a=65536+((a&1023)<<10|r.charCodeAt(++$)&1023),X[q++]=240|a>>>18,X[q++]=128|a>>>12&63,X[q++]=128|a>>>6&63,X[q++]=128|a&63);else for(q=this.start;$<y&&q<64;++$)a=r.charCodeAt($),a<128?S[q>>>2]|=a<<_[q++&3]:a<2048?(S[q>>>2]|=(192|a>>>6)<<_[q++&3],S[q>>>2]|=(128|a&63)<<_[q++&3]):a<55296||a>=57344?(S[q>>>2]|=(224|a>>>12)<<_[q++&3],S[q>>>2]|=(128|a>>>6&63)<<_[q++&3],S[q>>>2]|=(128|a&63)<<_[q++&3]):(a=65536+((a&1023)<<10|r.charCodeAt(++$)&1023),S[q>>>2]|=(240|a>>>18)<<_[q++&3],S[q>>>2]|=(128|a>>>12&63)<<_[q++&3],S[q>>>2]|=(128|a>>>6&63)<<_[q++&3],S[q>>>2]|=(128|a&63)<<_[q++&3]);else if(b)for(q=this.start;$<y&&q<64;++$)X[q++]=r[$];else for(q=this.start;$<y&&q<64;++$)S[q>>>2]|=r[$]<<_[q++&3];this.lastByteIndex=q,this.bytes+=q-this.start,q>=64?(this.start=q-64,this.hash(),this.hashed=!0):this.start=q}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},F.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var r=this.blocks,c=this.lastByteIndex;r[c>>>2]|=x[c&3],c>=56&&(this.hashed||this.hash(),r[0]=r[16],r[16]=r[1]=r[2]=r[3]=r[4]=r[5]=r[6]=r[7]=r[8]=r[9]=r[10]=r[11]=r[12]=r[13]=r[14]=r[15]=0),r[14]=this.bytes<<3,r[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},F.prototype.hash=function(){var r,c,s,a,$,q,y=this.blocks;this.first?(r=y[0]-680876937,r=(r<<7|r>>>25)-271733879<<0,a=(-1732584194^r&2004318071)+y[1]-117830708,a=(a<<12|a>>>20)+r<<0,s=(-271733879^a&(r^-271733879))+y[2]-1126478375,s=(s<<17|s>>>15)+a<<0,c=(r^s&(a^r))+y[3]-1316259209,c=(c<<22|c>>>10)+s<<0):(r=this.h0,c=this.h1,s=this.h2,a=this.h3,r+=(a^c&(s^a))+y[0]-680876936,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[1]-389564586,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[2]+606105819,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[3]-1044525330,c=(c<<22|c>>>10)+s<<0),r+=(a^c&(s^a))+y[4]-176418897,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[5]+1200080426,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[6]-1473231341,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[7]-45705983,c=(c<<22|c>>>10)+s<<0,r+=(a^c&(s^a))+y[8]+1770035416,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[9]-1958414417,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[10]-42063,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[11]-1990404162,c=(c<<22|c>>>10)+s<<0,r+=(a^c&(s^a))+y[12]+1804603682,r=(r<<7|r>>>25)+c<<0,a+=(s^r&(c^s))+y[13]-40341101,a=(a<<12|a>>>20)+r<<0,s+=(c^a&(r^c))+y[14]-1502002290,s=(s<<17|s>>>15)+a<<0,c+=(r^s&(a^r))+y[15]+1236535329,c=(c<<22|c>>>10)+s<<0,r+=(s^a&(c^s))+y[1]-165796510,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[6]-1069501632,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[11]+643717713,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[0]-373897302,c=(c<<20|c>>>12)+s<<0,r+=(s^a&(c^s))+y[5]-701558691,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[10]+38016083,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[15]-660478335,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[4]-405537848,c=(c<<20|c>>>12)+s<<0,r+=(s^a&(c^s))+y[9]+568446438,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[14]-1019803690,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[3]-187363961,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[8]+1163531501,c=(c<<20|c>>>12)+s<<0,r+=(s^a&(c^s))+y[13]-1444681467,r=(r<<5|r>>>27)+c<<0,a+=(c^s&(r^c))+y[2]-51403784,a=(a<<9|a>>>23)+r<<0,s+=(r^c&(a^r))+y[7]+1735328473,s=(s<<14|s>>>18)+a<<0,c+=(a^r&(s^a))+y[12]-1926607734,c=(c<<20|c>>>12)+s<<0,$=c^s,r+=($^a)+y[5]-378558,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[8]-2022574463,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[11]+1839030562,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[14]-35309556,c=(c<<23|c>>>9)+s<<0,$=c^s,r+=($^a)+y[1]-1530992060,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[4]+1272893353,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[7]-155497632,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[10]-1094730640,c=(c<<23|c>>>9)+s<<0,$=c^s,r+=($^a)+y[13]+681279174,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[0]-358537222,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[3]-722521979,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[6]+76029189,c=(c<<23|c>>>9)+s<<0,$=c^s,r+=($^a)+y[9]-640364487,r=(r<<4|r>>>28)+c<<0,a+=($^r)+y[12]-421815835,a=(a<<11|a>>>21)+r<<0,q=a^r,s+=(q^c)+y[15]+530742520,s=(s<<16|s>>>16)+a<<0,c+=(q^s)+y[2]-995338651,c=(c<<23|c>>>9)+s<<0,r+=(s^(c|~a))+y[0]-198630844,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[7]+1126891415,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[14]-1416354905,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[5]-57434055,c=(c<<21|c>>>11)+s<<0,r+=(s^(c|~a))+y[12]+1700485571,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[3]-1894986606,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[10]-1051523,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[1]-2054922799,c=(c<<21|c>>>11)+s<<0,r+=(s^(c|~a))+y[8]+1873313359,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[15]-30611744,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[6]-1560198380,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[13]+1309151649,c=(c<<21|c>>>11)+s<<0,r+=(s^(c|~a))+y[4]-145523070,r=(r<<6|r>>>26)+c<<0,a+=(c^(r|~s))+y[11]-1120210379,a=(a<<10|a>>>22)+r<<0,s+=(r^(a|~c))+y[2]+718787259,s=(s<<15|s>>>17)+a<<0,c+=(a^(s|~r))+y[9]-343485551,c=(c<<21|c>>>11)+s<<0,this.first?(this.h0=r+1732584193<<0,this.h1=c-271733879<<0,this.h2=s-1732584194<<0,this.h3=a+271733878<<0,this.first=!1):(this.h0=this.h0+r<<0,this.h1=this.h1+c<<0,this.h2=this.h2+s<<0,this.h3=this.h3+a<<0)},F.prototype.hex=function(){this.finalize();var r=this.h0,c=this.h1,s=this.h2,a=this.h3;return w[r>>>4&15]+w[r&15]+w[r>>>12&15]+w[r>>>8&15]+w[r>>>20&15]+w[r>>>16&15]+w[r>>>28&15]+w[r>>>24&15]+w[c>>>4&15]+w[c&15]+w[c>>>12&15]+w[c>>>8&15]+w[c>>>20&15]+w[c>>>16&15]+w[c>>>28&15]+w[c>>>24&15]+w[s>>>4&15]+w[s&15]+w[s>>>12&15]+w[s>>>8&15]+w[s>>>20&15]+w[s>>>16&15]+w[s>>>28&15]+w[s>>>24&15]+w[a>>>4&15]+w[a&15]+w[a>>>12&15]+w[a>>>8&15]+w[a>>>20&15]+w[a>>>16&15]+w[a>>>28&15]+w[a>>>24&15]},F.prototype.toString=F.prototype.hex,F.prototype.digest=function(){this.finalize();var r=this.h0,c=this.h1,s=this.h2,a=this.h3;return[r&255,r>>>8&255,r>>>16&255,r>>>24&255,c&255,c>>>8&255,c>>>16&255,c>>>24&255,s&255,s>>>8&255,s>>>16&255,s>>>24&255,a&255,a>>>8&255,a>>>16&255,a>>>24&255]},F.prototype.array=F.prototype.digest,F.prototype.arrayBuffer=function(){this.finalize();var r=new ArrayBuffer(16),c=new Uint32Array(r);return c[0]=this.h0,c[1]=this.h1,c[2]=this.h2,c[3]=this.h3,r},F.prototype.buffer=F.prototype.arrayBuffer,F.prototype.base64=function(){for(var r,c,s,a="",$=this.array(),q=0;q<15;)r=$[q++],c=$[q++],s=$[q++],a+=C[r>>>2]+C[(r<<4|c>>>4)&63]+C[(c<<2|s>>>6)&63]+C[s&63];return r=$[q],a+=C[r>>>2]+C[r<<4&63]+"==",a};function sn(r,c){var s,a=Dn(r);if(r=a[0],a[1]){var $=[],q=r.length,y=0,S;for(s=0;s<q;++s)S=r.charCodeAt(s),S<128?$[y++]=S:S<2048?($[y++]=192|S>>>6,$[y++]=128|S&63):S<55296||S>=57344?($[y++]=224|S>>>12,$[y++]=128|S>>>6&63,$[y++]=128|S&63):(S=65536+((S&1023)<<10|r.charCodeAt(++s)&1023),$[y++]=240|S>>>18,$[y++]=128|S>>>12&63,$[y++]=128|S>>>6&63,$[y++]=128|S&63);r=$}r.length>64&&(r=new F(!0).update(r).array());var X=[],vn=[];for(s=0;s<64;++s){var yn=r[s]||0;X[s]=92^yn,vn[s]=54^yn}F.call(this,c),this.update(vn),this.oKeyPad=X,this.inner=!0,this.sharedMemory=c}sn.prototype=new F,sn.prototype.finalize=function(){if(F.prototype.finalize.call(this),this.inner){this.inner=!1;var r=this.array();F.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(r),F.prototype.finalize.call(this)}};var gn=oe();gn.md5=gn,gn.md5.hmac=he(),l?t.exports=gn:h.md5=gn})()})(Yg);/**
|
|
623396
623397
|
* @license @hugeicons/react-pro v0.3.1
|
|
623397
623398
|
*
|
|
623398
623399
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -623404,7 +623405,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
623404
623405
|
* @license @hugeicons/react-pro v0.3.1
|
|
623405
623406
|
*
|
|
623406
623407
|
* See the LICENSE file in the root directory of this source tree.
|
|
623407
|
-
*/const V=Vg("ArrowRight02Icon",{"bulk.rounded":[["path",{opacity:"0.4",d:"M21 12C21 12.5523 20.5523 13 20 13L3.99998 13C3.4477 13 2.99998 12.5523 2.99998 12C2.99998 11.4477 3.4477 11 3.99998 11L20 11C20.5523 11 21 11.4477 21 12Z",fill:"currentColor",fillRule:"evenodd",key:"k0"}],["path",{d:"M18.9721 12C18.8788 11.8452 18.6832 11.5671 18.4694 11.3251C18.0436 10.8432 17.4569 10.2928 16.8444 9.76105C16.2369 9.23357 15.6264 8.74365 15.166 8.38437C14.9364 8.20515 14.5401 7.90576 14.4069 7.80521C13.9623 7.47768 13.8673 6.85173 14.1948 6.40706C14.5223 5.96236 15.1483 5.86736 15.593 6.19487L15.5967 6.19767C15.7411 6.30672 16.1597 6.62291 16.3965 6.80767C16.8736 7.18002 17.5131 7.69303 18.1556 8.25084C18.7931 8.80434 19.4564 9.4216 19.9681 10.0008C20.223 10.2892 20.4614 10.5918 20.6416 10.8906C20.8052 11.162 21 11.5568 21 12C21 12.4431 20.8052 12.838 20.6416 13.1094C20.4614 13.4082 20.223 13.7108 19.9681 13.9992C19.4564 14.5784 18.7931 15.1957 18.1556 15.7492C17.5131 16.307 16.8736 16.82 16.3965 17.1923C16.1597 17.3771 15.7414 17.6931 15.597 17.8021L15.593 17.8051C15.1483 18.1326 14.5223 18.0376 14.1948 17.5929C13.8673 17.1483 13.9623 16.5223 14.4069 16.1948C14.5401 16.0942 14.9364 15.7948 15.166 15.6156C15.6264 15.2564 16.2369 14.7664 16.8444 14.2389C17.4569 13.7072 18.0436 13.1568 18.4694 12.6749C18.6832 12.4329 18.8788 12.1548 18.9721 12Z",fill:"currentColor",key:"k1"}]],"duotone.rounded":[["path",{opacity:"0.4",d:"M20 11.9998H4M20 11.9998C20 13.3174 15.0001 17 15.0001 17M20 11.9998C20 10.6822 15.0001 7 15.0001 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k0"}]],"solid.rounded":[["path",{d:"M21 12C21 12.5523 20.5523 13 20 13L3.99998 13C3.4477 13 2.99998 12.5523 2.99998 12C2.99998 11.4477 3.4477 11 3.99998 11L20 11C20.5523 11 21 11.4477 21 12Z",fill:"currentColor",fillRule:"evenodd",key:"k0"}],["path",{d:"M18.9721 12C18.8788 11.8452 18.6832 11.5671 18.4694 11.3251C18.0436 10.8432 17.4569 10.2928 16.8444 9.76105C16.2369 9.23357 15.6264 8.74365 15.166 8.38437C14.9364 8.20515 14.5401 7.90576 14.4069 7.80521C13.9623 7.47768 13.8673 6.85173 14.1948 6.40706C14.5223 5.96236 15.1483 5.86736 15.593 6.19487L15.5967 6.19767C15.7411 6.30672 16.1597 6.62291 16.3965 6.80767C16.8736 7.18002 17.5131 7.69303 18.1556 8.25084C18.7931 8.80434 19.4564 9.4216 19.9681 10.0008C20.223 10.2892 20.4614 10.5918 20.6416 10.8906C20.8052 11.162 21 11.5568 21 12C21 12.4431 20.8052 12.838 20.6416 13.1094C20.4614 13.4082 20.223 13.7108 19.9681 13.9992C19.4564 14.5784 18.7931 15.1957 18.1556 15.7492C17.5131 16.307 16.8736 16.82 16.3965 17.1923C16.1597 17.3771 15.7414 17.6931 15.597 17.8021L15.593 17.8051C15.1483 18.1326 14.5223 18.0376 14.1948 17.5929C13.8673 17.1483 13.9623 16.5223 14.4069 16.1948C14.5401 16.0942 14.9364 15.7948 15.166 15.6156C15.6264 15.2564 16.2369 14.7664 16.8444 14.2389C17.4569 13.7072 18.0436 13.1568 18.4694 12.6749C18.6832 12.4329 18.8788 12.1548 18.9721 12Z",fill:"currentColor",key:"k1"}]],"solid.sharp":[["path",{d:"M14.5267 18L13.1187 16.5858L16.6882 13.0006L3.5 13.0006L3.5 11.0006L16.6886 11.0006L13.1186 7.41422L14.5266 6L20.5 12.0003L14.5267 18Z",fill:"currentColor",key:"k0"}]],"stroke.rounded":[["path",{d:"M20 12L4 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k0"}],["path",{d:"M15 17C15 17 20 13.3176 20 12C20 10.6824 15 7 15 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k1"}]],"stroke.sharp":[["path",{d:"M4 12L19.5715 12M15.0001 17L20 12L15 7",stroke:"currentColor",strokeWidth:"1.5",key:"k0"}]],"twotone.rounded":[["path",{opacity:"0.4",d:"M20 12L4 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k0"}],["path",{d:"M15 17C15 17 20 13.3176 20 12C20 10.6824 15 7 15 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k1"}]]}),To=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"57cc72e37b45feb8c7c4eaefb4b3ad9f724c68d6"},e("h1",{key:"13b583445c749730dca74b8a7504bdadadb4cebb"},"Footer Example Dark Green Mode"),e("dga-footer",{key:"1452dc71cf0316a7306ffda1815441878af8c817",background:"DarkGreen",NavLinks:!0,groupLinks:[{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]}],socialMediaTitle:"Social Media",accessibilityTitle:"accessibility Tools",socialMediaLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],accessibilityLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],copyright:"All Right Reserved For Digital Government Authority © 2024",basicLinks:[{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"}],extraLinks:[{name:"Terms and Conditions",target:"#"},{name:"Privacy Policy",target:"#"}],bottomImages:["https://dga-nds-fbhtx.ondigitalocean.app/mobile-logo.svg","https://dga-nds-fbhtx.ondigitalocean.app/mobile-logo.svg"]}),e("h1",{key:"087caef4f2980ddbffdee652732700bb84fe6d76",style:{padding:"40px",color:"red"}}," Footer Example Light Mode"),e("dga-footer",{key:"09d51bf9afbe4b97ab842c09e5f58690126de691",background:"Light",NavLinks:!0,groupLinks:[{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]}],socialMediaTitle:"Social Media",accessibilityTitle:"accessibility Tools",socialMediaLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],accessibilityLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],copyright:"All Right Reserved For Digital Government Authority © 2024",basicLinks:[{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"}],extraLinks:[{name:"Terms and Conditions",target:"#"},{name:"Privacy Policy",target:"#"}]}),e("h1",{key:"5b631b179a36cb896ce24ccd5e300dda1cccebec",style:{padding:"40px",color:"red"}},"End Footer Example Here Zoz"))}},[0,"cs-footer-usage"]);function Gg(){if(typeof customElements>"u")return;["cs-footer-usage","dga-footer"].forEach(n=>{switch(n){case"cs-footer-usage":customElements.get(n)||customElements.define(n,To);break;case"dga-footer":customElements.get(n)||Bo();break}})}const Jg=To,Kg=Gg,Lo=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={error:"hgi-stroke hgi-help-circle",warning:"hgi-stroke hgi-alert-02",success:"hgi-stroke hgi-tick-02",info:"hgi-stroke hgi-help-circle",neutral:"hgi-stroke hgi-help-circle"},this.type="neutral",this.leadText=void 0,this.helperText=void 0,this.isactionButtons=!0,this.isCloseButton=!0,this.onClose=void 0,this.colored=!1,this.buttonsList=[{id:L(),label:"Button 1",onClick:()=>{},exraClasses:"",title:"Button"},{id:L(),label:"Button 2",onClick:()=>{},exraClasses:"",title:"Button"}]}render(){return e("div",{key:"dbb9b5bcff418bd5c03426246700205d020292e1",class:`alert alert--${this.type} ${this.colored?`alert--${this.type}-bg`:""}`},e("div",{key:"a525f03e75f892b48bee61e7412cd14083fe3a14",class:`alert__header ${this.helperText?"":"flex-center-y"}`},e("div",{key:"a6e3634972ed095eb194e34670d1ef3c5d4a08ad",class:`featured-icon featured-icon--circle featured-icon--md featured-icon--light-${this.type==="neutral"?"gray":this.type}`},e("i",{key:"ec65d39aa12816d440275252147b5c5254ad662d",class:this.icons[this.type],style:{fontSize:"20px"}})),e("div",{key:"da0f2aa11228f7f274a45aaea6b1c89d26b6eb1d",class:"alert__body"},e("h4",{key:"af880fd64d8c998a6993d514e7b6abdb6ad0be2c",class:"alert__title text-md-semibold"},this.leadText),this.helperText&&e("p",{key:"bbddbbad8cfa5e632d960424e4b885bc3b056c16",class:"alert__content text-sm-regular"},this.helperText),e("slot",{key:"60ba5dc2b136d1f95e5c24992ac461c00441be0f"}))),this.isCloseButton&&e("div",{key:"fbe17cde62dfd6cd9c2aed949516169a1361c721",class:"alert__close-btn"},e("button",{key:"ef52abd8b8d5720cbccd616eb4b40bd6c43725e2",class:"btn btn--close btn--icon btn--md",onClick:n=>this.onClose&&this.onClose(n)},e("span",{key:"4c4e85dedd69e21dd7f3fd831e11da138c0e4944",class:"btn-icon"},e("i",{key:"9d6ed60b5626297401efe190799e8cd11b8727d0",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),this.isactionButtons&&e(N,null,e("div",{key:"2a929b7c83b98da2557b4255a07a18a452c531f6",class:"alert__action"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:o,exraClasses:i,title:h,label:d})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:f=>o(f),class:`btn btn--subtle btn--md ${i}`},h&&{title:h}),d))),e("div",{key:"2ee2aa485612db8baa70a100292db02474199a30",class:"alert__action-mobile"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:o,exraClasses:i,title:h,label:d})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:f=>o(f),class:`btn btn--secondary btn--lg ${i}`},h&&{title:h}),d)))))}},[4,"dga-inline-alert",{type:[1],leadText:[1,"lead-text"],helperText:[1,"helper-text"],isactionButtons:[4,"isaction-buttons"],isCloseButton:[4,"is-close-button"],onClose:[16],colored:[4],buttonsList:[16]}]);function Oo(){if(typeof customElements>"u")return;["dga-inline-alert"].forEach(n=>{switch(n){case"dga-inline-alert":customElements.get(n)||customElements.define(n,Lo);break}})}const Fo=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"03a62961bdeadb37f4c96511c2de2846ad1690b4"},e("h1",{key:"1641c0ebbb3fb82292ccf4277af51049dc544cc6"},"Inline ALert Example"),e("div",{key:"3d00825fe23b9ba04d7982c46c14ce52294138a5",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"c26734ed3355de54054c434a13de1cb6105dd087",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-inline-alert",{key:"58eb7eb3ff6b29ae8570754b6dfdbabf76395ba5",type:"neutral",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"cba54c564d287b30fcaf96a596b14b07ef02dff4",type:"error",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"883a46544b7d372d27be0af7699c395a99452488",type:"info",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"eed9df19a4ecb8acfde63b2e37828591cef48462",type:"success",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"dbe8ffbf92c40838f72117a3436dd9a00029932e",type:"warning",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."})),e("div",{key:"d0a6b5ffaf015f11219b19c85b4c9fe8fbadf68e",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-inline-alert-usage",{variant:[32]}]);function Qg(){if(typeof customElements>"u")return;["cs-inline-alert-usage","dga-inline-alert"].forEach(n=>{switch(n){case"cs-inline-alert-usage":customElements.get(n)||customElements.define(n,Fo);break;case"dga-inline-alert":customElements.get(n)||Oo();break}})}const Ng=Fo,na=Qg,Ro=p(class extends k{constructor(){super(),this.__registerHost(),this.onClick=hn(this,"onClick",7),this.handleClick=n=>{n.preventDefault(),this.onClick.emit(n)},this.variant="primary",this.size="md",this.label=void 0,this.url=void 0,this.inline=void 0,this.icon=void 0,this.iconType=void 0,this.disabled=void 0,this.external=void 0,this.target="_self",this.preventScrollReset=!1,this.state={},this.extraClass=void 0,this.focus=!1}render(){return console.log(this.focus,"focus"),this.external?e("a",{href:this.url,target:this.target,onClick:n=>this.handleClick(n),onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{className:"link__icon"},this.iconType),e("slot",null)):e("a",{href:this.url,onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,onClick:this.handleClick,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{class:"link__icon"},this.iconType),e("slot",null))}},[4,"dga-link",{variant:[1],size:[1],label:[1],url:[1],inline:[4],icon:[4],iconType:[8,"icon-type"],disabled:[4],external:[4],target:[1],preventScrollReset:[4,"prevent-scroll-reset"],state:[16],extraClass:[1,"extra-class"],focus:[32]}]);function Ho(){if(typeof customElements>"u")return;["dga-link"].forEach(n=>{switch(n){case"dga-link":customElements.get(n)||customElements.define(n,Ro);break}})}const Uo=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"98a814edf8b0f279d492daaeec719f916fa6d30e"},e("h1",{key:"e0520ce020b23bef6aa1987cfdb6474cd3306063"},"Link Example"),e("div",{key:"a1219ee7908e14481d2eb47adf072684e97c3160",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"f981accb14f0ad9fda071fc43aae1e42171a52ea",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-link",{key:"60520b2448711e7c52d818e89b8a8a5446262b25",label:"Link",variant:"neutral"}),e("dga-link",{key:"f9f98202649937ebe9be6fe699a3897d513bca3f",label:"Link",variant:"on-color"}),e("dga-link",{key:"6f15babd57e5dc3da43f861de0dffafd5c9d3d05",label:"Link",variant:"primary"})),e("div",{key:"3ec64555653bc59d88ae1c43262b026d6be848fb",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-link-usage",{variant:[32]}]);function ea(){if(typeof customElements>"u")return;["cs-link-usage","dga-link"].forEach(n=>{switch(n){case"cs-link-usage":customElements.get(n)||customElements.define(n,Uo);break;case"dga-link":customElements.get(n)||Ho();break}})}const ta=Uo,oa=ea,Yo=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"0ce4b92d64cf13388234450e8a10137f6e7f5af9"},e("h1",{key:"6f404b29f8ae3a1f6ba6754724034562502e7d24"},"Loading Example"),e("div",{key:"bbdb762e06e83c195c1f30a2fccaa8c04530f3d6",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"1802c425b7a9f2a39dfa3e2d9961470d880cd752",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-loading",{key:"31d1fc4e178433a7c999c0f72313307da8667101"})),e("div",{key:"342dc2bbd9fe43bd1e0e55cd15e91d8535e30ac3",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-loading-usage",{activeStep:[32]}]);function ia(){if(typeof customElements>"u")return;["cs-loading-usage","dga-loading"].forEach(n=>{switch(n){case"cs-loading-usage":customElements.get(n)||customElements.define(n,Yo);break;case"dga-loading":customElements.get(n)||Mn();break}})}const ha=Yo,ra=ia;function yt(t){if(!t)return new Error("😒 Name is required");try{const n=document.querySelector(`#${t}`);if(n.style.display="none",!n)return new Error(`🥲 not found modal with name ${t}`);n.close(),document.body.classList.remove("modal-open")}catch(n){console.log("🚀 ~ HideModal ~ error:",n)}}const Xo=p(class extends k{constructor(){super(),this.__registerHost(),this.modalTitle=void 0,this.closeButton=void 0,this.onClose=void 0,this.featuredIconColor=void 0,this.featuredIconStyle=void 0,this.featuredIconType="InformationCircle",this.featuredIconCircle=void 0,this.featuredIconSize=void 0,this.alignmentCenter=void 0,this.actionFillContainer=void 0,this.actionStack=void 0,this.secondBtnPosition="left",this.position="center",this.name=void 0,this.show=!1,this.staticModal=!1,this.buttonsList=[]}handleClickOutside(n){n.stopPropagation(),n.preventDefault(),!this.staticModal&&yt(this.name)}render(){return e("dialog",Object.assign({key:"80544dfeb58ae35177ba86a0e0ca823f5cb91e23",onClick:n=>this.handleClickOutside(n),ref:n=>this.dialogRef=n,style:{display:this.show?"flex":"none"},class:`flex-align-${this.position}`},this.show&&{open:this.show}),e("div",{key:"5c6e7b4d49c78b9ef78a205bf2b7d1d074856e0a",class:"modal",ref:n=>this.containergRef=n,onClick:n=>n.stopPropagation()},e("div",{key:"b876439d8ce276de44a891359783b066cbf5bf03",class:"modal__header"},e("div",{key:"101e115f6b5ce0d47164ccd0f886fab510db9e5f",class:"modal__icon",style:this.alignmentCenter?{justifyContent:"center",width:"100%",display:"flex"}:{}},e("div",{key:"4c2df0bb41c1cc2e611dd138672208b08f151c0f",class:`featured-icon featured-icon--${this.featuredIconStyle}-${this.featuredIconColor} ${this.featuredIconCircle?"featured-icon--circle":""} featured-icon--${this.featuredIconSize}`},e("span",{key:"f66c51353a1650c02a8c963ea15ff801a1706e20"},e("dga-icon",{key:"99188fc7bb1aa8aa50e5412651f71da226ae5e04",icon:this.featuredIconType})))),this.closeButton&&e("div",{key:"5d2ae3340535e3fab0d4dc13637aa00d6fe84cf7",class:"modal__close"},e("button",{key:"27c1c28a8a1b65f9783e162cf38a6b8659019e4e",class:"btn btn--close btn--icon btn--md",onClick:n=>{yt(this.name)}},e("span",{key:"5ee0d0e0ffa32d2a3d8b19fda2965f8b49b759a1",class:"btn-icon"},e("dga-icon",{key:"462bbd4c749de04d6b3fcbc1efdc3b71d5579198",icon:"Cancel01Icon",variant:"solid"}))))),this.modalTitle&&e("h4",{key:"0384d8a7913bc58df3e648976e3e01b48a01624c",class:"modal__heading",style:this.alignmentCenter?{textAlign:"center",width:"100%"}:{}},this.modalTitle),e("slot",{key:"d6b9ec9445fa669ff25c7a649f07af3a9e046f18"}),e("div",{key:"961926a5192b53c027d512556efb2553cf1d623a",style:Object.assign(Object.assign({display:"flex",width:"100%",justifyContent:this.alignmentCenter?"center":this.buttonsList.length>2?"flex-start":"space-between"},!this.alignmentCenter&&this.buttonsList.length==2&&{justifyContent:this.secondBtnPosition=="left"?"flex-start":"space-between"}),{flexDirection:this.actionStack?"column":"row"})},this.buttonsList.length>0&&this.buttonsList.slice(0,this.buttonsList.length>3?3:this.buttonsList.length).map((n,o)=>e("button",Object.assign({style:Object.assign(Object.assign({},this.actionFillContainer&&{width:"100%"}),o==2&&!this.alignmentCenter&&{marginLeft:"auto"}),key:n.id?n.id:L(),id:n.id?n.id:L(),onClick:i=>n.onClick(i),class:`modal__actions-btn btn btn--md ${o==0?"btn--primary-neutral":this.actionStack&&o==2?"btn--subtle":"btn--secondary-outline"} ${n.extraClass} `},n.title&&{title:n.title}),n.label)))))}},[4,"dga-modal",{modalTitle:[1,"modal-title"],closeButton:[4,"close-button"],onClose:[16],featuredIconColor:[1,"featured-icon-color"],featuredIconStyle:[1,"featured-icon-style"],featuredIconType:[1,"featured-icon-type"],featuredIconCircle:[4,"featured-icon-circle"],featuredIconSize:[1,"featured-icon-size"],alignmentCenter:[4,"alignment-center"],actionFillContainer:[4,"action-fill-container"],actionStack:[4,"action-stack"],secondBtnPosition:[1,"second-btn-position"],position:[1],name:[1],show:[4],staticModal:[4,"static-modal"],buttonsList:[16]}]);function Zo(){if(typeof customElements>"u")return;["dga-modal","dga-icon"].forEach(n=>{switch(n){case"dga-modal":customElements.get(n)||customElements.define(n,Xo);break;case"dga-icon":customElements.get(n)||I();break}})}const Wo=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"8ee8dd57bfd977eb385e8c5d6b2a5a5fed032224"},e("h1",{key:"28f141093c786a4195fcfaf2eac5750b07ca338f"},"Modal Example"),e("dga-modal",{key:"656b33249e9d30dbe02d837b34f9cf26a926f9ef",modalTitle:"Title goes here",show:!0,closeButton:!0,buttonsList:[{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"},{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"},{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"}],actionStack:!1,secondBtnPosition:"right"},"When a Modal needs a further detailed explanation, it goes here."))}},[0,"cs-modal-usage"]);function ga(){if(typeof customElements>"u")return;["cs-modal-usage","dga-icon","dga-modal"].forEach(n=>{switch(n){case"cs-modal-usage":customElements.get(n)||customElements.define(n,Wo);break;case"dga-icon":customElements.get(n)||I();break;case"dga-modal":customElements.get(n)||Zo();break}})}const aa=Wo,ca=ga,sa={error:"hgi-stroke hgi-alert-02",warning:"hgi-stroke hgi-alert-circle",success:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",info:"hgi-stroke hgi-sharp hgi-information-circle",neutral:"hgi-stroke hgi-sharp hgi-information-circle"},Vo=p(class extends k{constructor(){super(),this.__registerHost(),this.type="neutral",this.leadText=void 0,this.hasHelperText=!1,this.helperText=void 0,this.action=void 0,this.closeButton=void 0,this.vPostion="top",this.hPostion="right",this.onClose=void 0,this.buttonsList=[]}render(){return e("div",{key:"8012809a2da66babf6bc741feb203b0bd760a3c8",class:`notification-toast notification-toast--${this.type} vpostion-${this.vPostion} hpostion-${this.hPostion}`},e("div",{key:"9a841e74590fad64645375257f9b3b56e04d4424",class:`notification-toast__header ${this.hasHelperText?"":"flex-center-y"}`},e("div",{key:"20642c6a456b53a6bb68f39eebd71da0c9aa1551",class:`notification--${this.type} notification-toast__icon featured-icon featured-icon--circle featured-icon--md`},e("i",{key:"c4ad52db346eb4a1eba0ae05584157f9b2abf242",class:sa[this.type],style:{fontSize:"18px"}})),e("div",{key:"bf80dca84e4588be687df1b84bb6e4c88055fdcc",class:"notification-toast__body"},e("h4",{key:"6b67333c9e00e9ec89760d74b61d173d790dcce1",class:"notification-toast__title text-md-semibold"},this.leadText),this.hasHelperText&&this.helperText&&e("p",{key:"f3372364dcd71fbcb7de41ee2d9da67b1ae1abd1",class:"notification-toast__content text-sm-regular"},this.helperText)),this.closeButton&&e("div",{key:"e9d82566cbf6fc19aafc6434690e8464045a014a",class:"notification-toast__close-btn"},e("button",{key:"72b8a47d7ac7be6c3c30d6eb6cb06690b6c760e4",class:"btn btn--close btn--icon btn--md",onClick:n=>{var o;return(o=this.onClose)===null||o===void 0?void 0:o.call(this,n)}},e("span",{key:"37f8345e64e7285897e6ffc9ceb6a6da05e3bb7e",class:"btn-icon"},e("i",{key:"d254f6a50aec2153bcc9eb684b8d31357854fa16",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))),this.action&&e(N,null,e("div",{key:"d5eeeae6b2967fabd003491892bb7b697915f2dd",class:"notification-toast__action"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:o,extraClasses:i,title:h,customAttribute:d,label:f})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:l=>o(l),class:`btn btn--subtle btn--md ${i}`},h&&{title:h},d&&d.key&&{[d.key]:d.value?d.value:""}),f))),e("div",{key:"0624cf1e43909727b9805a27d6ca7fcbb7a15033",class:"notification-toast__action-mobile"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:o,extraClasses:i,title:h,customAttribute:d,label:f})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:l=>o(l),class:`btn btn--secondary btn--lg ${i}`},h&&{title:h},d&&d.key&&{[d.key]:d.value?d.value:""}),f)))))}},[0,"dga-notification-toast",{type:[1],leadText:[1,"lead-text"],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],action:[4],closeButton:[4,"close-button"],vPostion:[1,"v-postion"],hPostion:[1,"h-postion"],onClose:[16],buttonsList:[16]}]);function Go(){if(typeof customElements>"u")return;["dga-notification-toast"].forEach(n=>{switch(n){case"dga-notification-toast":customElements.get(n)||customElements.define(n,Vo);break}})}const Jo=p(class extends k{constructor(){super(),this.__registerHost(),this.type="error"}render(){return e("div",{key:"65b9c8c2d67d5b14ab9223582b0dd3c5e2d4c8a6"},e("h1",{key:"77753271f3c4c7cd9f7f3d7f617b9c541c9955b3"},"Notification Toast Example"),e("div",{key:"ba4fc6ab56a9273e58d37a9726377a9ada7c9a14",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"18fdb3daf7db5fd5b0855c7bc14d34e9d3ef7df0",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-notification-toast",{key:"411c6bb92f569141e2beed279e2b6581237a8b24",type:this.type,leadText:"Notification/Alert message title",hasHelperText:!0,helperText:"When a Notification/Alert needs a further detailed explanation, it goes here.",action:!0,buttonsList:[{label:"Button",onClick:()=>{},title:"Button"},{label:"Button",onClick:()=>{},title:"Button"}],closeButton:!0})),e("div",{key:"adea1e36246652e628540e113da0877ef13bc478",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-notification-toast-usage",{type:[32]}]);function da(){if(typeof customElements>"u")return;["cs-notification-toast-usage","dga-notification-toast"].forEach(n=>{switch(n){case"cs-notification-toast-usage":customElements.get(n)||customElements.define(n,Jo);break;case"dga-notification-toast":customElements.get(n)||Go();break}})}const fa=Jo,la=da,Ko=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.icon=!0,this.leadText=void 0,this.content=void 0,this.variant=void 0,this.link=!1,this.textLink=void 0,this.dismissable=!1,this.setNavigateTo=void 0,this.navigateTo=void 0,this.dismmissed=void 0}render(){return e("div",{key:"13c3ccd33fcd7549028dc5abae9263a609da89d6",class:`notification notification--${this.variant}`,role:"alert"},e("div",{key:"808289ba1d27d526d2d4a8d6edc858a3d72817ac",class:"notification__content"},this.icon&&e("div",{key:"1ff4e40d47d6b0ecf00afc5ebd65929f369f78c3",class:"notification__icon"},e("i",{key:"d1eedb506a5cf874605f580cdfb65bab83d4cba9",class:this.icons[this.variant],style:{fontSize:"24px"}})),this.leadText&&e("strong",{key:"26b41852979d73928c8ab7a5684f23908f5034a1",class:"notification__lead-text"},this.leadText,": "),e("p",{key:"8e6313f5b90e49b4e78ce2559073b4cb90839b8b"},this.content),this.link&&e("a",{key:"91f7e8d938c1c3a8f9e9384848eb4c91401b55b9",onClick:()=>{this.navigateTo&&this.navigateTo(this.setNavigateTo)},class:"notification__link link link--md link--neutral link--inline"},e("span",{key:"a712212f2f0203f94956347e5a9e2480dfd742e5",class:"link__label"},this.textLink))),this.dismissable&&e("div",{key:"9d8be9d625e1805b0ec64ab2b15e7257807bebfb",class:"notification__dismiss"},e("button",{key:"eb1ea710485807119a5e59786bc8f7090daa8ad6",class:"btn btn--close btn--icon btn--md",onClick:()=>{this.dismmissed&&this.dismmissed()}},e("span",{key:"0c1031c15e7b8394791cd94354fa371a23f734b9",class:"btn-icon"},e("i",{key:"3e70233af418418829e05669fcdbdd18f49a30f1",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))))}},[0,"dga-notification",{icon:[4],leadText:[1,"lead-text"],content:[1],variant:[1],link:[4],textLink:[1,"text-link"],dismissable:[4],setNavigateTo:[1,"set-navigate-to"],navigateTo:[16],dismmissed:[16]}]);function Qo(){if(typeof customElements>"u")return;["dga-notification"].forEach(n=>{switch(n){case"dga-notification":customElements.get(n)||customElements.define(n,Ko);break}})}const No=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"0319072efa389cd8dd2ef6e56f7f84535bb43e00"},e("h1",{key:"30be5f2a88b302eec4f54f16fb0ee80965b1f9c1"},"Notification Example"),e("div",{key:"8923ca03cd9dcad602fe95bf27449f235cf15865",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"90b8993f3c475ef2db92972cbc0b3287e463756e",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-notification",{key:"e31ffaee5fa8489b2dd21823d1eaeb192bd28eb9",leadText:"This is a very important banner message that requires attention",variant:this.variant,dismissable:!0}),e("dga-notification",{key:"6db9deb718eda55207baf4c3399a5b037ae78af2",leadText:"This is a very important banner message that requires attention",variant:"critical",dismissable:!0}),e("dga-notification",{key:"f94021728523eff2a1b1e19d1b70e99d49a54274",leadText:"This is a very important banner message that requires attention",variant:"info",dismissable:!0}),e("dga-notification",{key:"df7aa2686fcfe63400aa5764471534232e251a12",leadText:"This is a very important banner message that requires attention",variant:"success",dismissable:!0}),e("dga-notification",{key:"099d2d75dc7bd90b47e12cfb2c4ea218a3e668dd",leadText:"This is a very important banner message that requires attention",variant:"warning",dismissable:!0})),e("div",{key:"2a6d1e952f0e5ca0d28072114a8e66c0f4158144",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-notification-usage",{variant:[32]}]);function ba(){if(typeof customElements>"u")return;["cs-notification-usage","dga-notification"].forEach(n=>{switch(n){case"cs-notification-usage":customElements.get(n)||customElements.define(n,No);break;case"dga-notification":customElements.get(n)||Qo();break}})}const ua=No,ka=ba,jn="...",Fn=(t,n)=>{let o=n-t+1;return Array.from({length:o},(i,h)=>h+t)},ni=p(class extends k{constructor(){super(),this.__registerHost(),this.onNext=()=>{this.currentPage!=this.totalPageCount&&(this.currentPage=this.currentPage+1,this.onChange&&this.onChange(this.currentPage))},this.onPrevious=()=>{this.currentPage!=1&&(this.currentPage=this.currentPage-1,this.onChange&&this.onChange(this.currentPage))},this.handelPageChange=n=>{n!=this.currentPage&&(this.currentPage=n,this.onChange(this.currentPage))},this.size="large",this.totalPageCount=10,this.siblingCount=1,this.onChange=()=>{},this.currentPage=1}get paginationRange(){const{totalPageCount:n,siblingCount:o,currentPage:i}=this;if(o+5>=n)return Fn(1,n);const d=Math.max(i-o,1),f=Math.min(i+o,n),l=d>2,b=f<n-2,w=1,x=n;if(!l&&b){let _=3+2*o;return[...Fn(1,_),jn,n]}if(l&&!b){let _=3+2*o,z=Fn(n-_+1,n);return[w,jn,...z]}if(l&&b){let _=Fn(d,f);return[w,jn,..._,jn,x]}return[]}render(){return e("ul",{key:"f2a2292329791016ce00d40e729f34e9980b03d5",class:`pagination pagination--${this.size}`},e("li",{key:"4fc2417d8824efc62cab90b6324a8f0edd0be780",class:"pagination__item pagination__arrow"},e("button",{key:"c8ec6ef3bc1cd914f7b3fdefad48b76b3fd7d344",onClick:this.onPrevious,disabled:this.currentPage===1},e("svg",{key:"9e3435a616aeb18c313d1e3e3dcfb621e2f5f420",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"44820b81f77e3e44bb217a797b521f1d23fcec36",id:"Leading Icon"},e("path",{key:"1126bf99b6fc1f71edefc311467a5d140512958d",id:"Icon",d:"M10.5 12L6.5 8L10.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))),this.paginationRange&&this.paginationRange.map(n=>n===jn?e("li",{key:L(),class:"pagination__item"},"…"):e("li",{key:L(),class:`pagination__item ${this.currentPage===n?"pagination__item--active":""}`},e("button",{onClick:()=>{this.handelPageChange(n)}},n))),e("li",{key:"97484520f1e67541885d4f4bbae66820650d864b",class:"pagination__item pagination__arrow"},e("button",{key:"e8e61f99d8bd6e9ce2775b1fdc961f049a5d873c",onClick:this.onNext,disabled:this.currentPage===this.totalPageCount},e("svg",{key:"627462d2084e057edc78aa730db7e39c7beabd72",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"1dadfc0ae3488fe2dd4eefdf23a98b697e672a34",id:"Leading Icon"},e("path",{key:"83be78fec5e22b539ef6a456f29811f145519166",id:"Icon",d:"M6.5 12L10.5 8L6.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))))}},[0,"dga-pagination",{size:[1],totalPageCount:[2,"total-page-count"],siblingCount:[2,"sibling-count"],onChange:[16],currentPage:[32]}]);function ei(){if(typeof customElements>"u")return;["dga-pagination"].forEach(n=>{switch(n){case"dga-pagination":customElements.get(n)||customElements.define(n,ni);break}})}const ti=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"415ec3ef78b0afac3b65c7031b8383125c9c409c"},e("h1",{key:"2223f2bd9dd54565409acba1ff2d3a93d0f91df3"},"Pagination Example"),e("div",{key:"7e7c4cf38f609e450355f99a01a1c551f621a543",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"d03afb40aa80d7ebef479c2f232edb9a2a6ffad4",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-pagination",{key:"75148ea41976e67a3e7deff545002af2a75b07eb",totalPageCount:10,size:"large"}),e("dga-pagination",{key:"9517378c1f145363557bca585a0b5797eaaf7ca4",totalPageCount:10,size:"medium"}),e("dga-pagination",{key:"4f6711d39ccd821971d3ff56ce7ce48a0154dd3d",totalPageCount:10,size:"small"})),e("div",{key:"9e24de1dd9f6b0c54853c00019eb745e3b4a8cac",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-pagination-usage",{variant:[32]}]);function pa(){if(typeof customElements>"u")return;["cs-pagination-usage","dga-pagination"].forEach(n=>{switch(n){case"cs-pagination-usage":customElements.get(n)||customElements.define(n,ti);break;case"dga-pagination":customElements.get(n)||ei();break}})}const ma=ti,wa=pa,oi=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal"}render(){return e("div",{key:"ae3846e8bba435b4061d88b369297982b2f70399",class:"progress-indicator flex","data-alignment":this.alignment},e("slot",{key:"f9d4e33f8aaa697872e76101309dee3f6f09d5d5"}))}},[4,"dga-progress-indicator",{activeStep:[2,"active-step"],alignment:[1]}]);function ii(){if(typeof customElements>"u")return;["dga-progress-indicator"].forEach(n=>{switch(n){case"dga-progress-indicator":customElements.get(n)||customElements.define(n,oi);break}})}const hi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleFocus=()=>{this.stepContentRef.classList.add("focus")},this.handleFocusOut=()=>{this.stepContentRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const o=this.el.querySelector("input");o&&o.blur()}},this.currentStep=1,this.title="",this.description="",this.activeStep=0,this.nextStep=!0,this.showStepName=!0,this.showStepDescription=!0,this.isActive=!1,this.labelState="upcoming",this.labelStyle="circle"}componentWillLoad(){this.updateState(),window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}updateState(){this.isActive=this.activeStep>this.currentStep,this.activeStep>this.currentStep?this.labelState="completed":this.activeStep<this.currentStep?this.labelState="upcoming":this.labelState="current"}labelChildren(n){return this.labelState==="completed"?e("i",{class:"hgi-stroke hgi-tick-02",style:{fontSize:"16px"}}):n.toString()}render(){return e("div",{key:"3e32af7e8bb1ec30d5a492f5617a18e37b22a273",class:"progress-indicator__step",onMouseDown:this.handleFocus,onMouseUp:this.handleFocusOut},e("div",{key:"919d64505319bff9eb2e34e7f4cce03384570cb9",class:"progress-indicator__step-content flex-column",ref:n=>this.stepContentRef=n},e("div",{key:"c19717baf613dfe6e097352c4fd600c849e19e43",class:"step-label","data-state":this.labelState},e("span",{key:"32b6e306994e7d873a58b13eb5c6976baea06f94",class:`step-label--${this.labelStyle}`},this.labelStyle==="circle"&&this.labelChildren(this.currentStep))),e("div",{key:"3be7693b8172d6717efcdbe2027806b8ae104982",class:"step-text flex-column"},this.showStepName&&e("span",{key:"cdeab0fefdbeab47e077df0d757f9cf9c8b3739e",class:this.isActive?"text-md-medium":"text-md-regular"},this.title),this.showStepDescription&&e("p",{key:"7ca91d44749626ee997eb3a04c8583e87f087823",class:"text-sm-regular"},this.description))),this.nextStep&&e("span",{key:"5e23bc370bda7e44c0e30e716ae56ee678ecf085",class:`progress-indicator__step-connector ${this.isActive?"progress-indicator__step-connector--active":""}`}))}get el(){return this}},[0,"dga-progress-indicator-step",{currentStep:[2,"current-step"],title:[1],description:[1],activeStep:[2,"active-step"],nextStep:[4,"next-step"],showStepName:[4,"show-step-name"],showStepDescription:[4,"show-step-description"],labelStyle:[1,"label-style"],isActive:[32],labelState:[32]}]);function Ae(){if(typeof customElements>"u")return;["dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-step":customElements.get(n)||customElements.define(n,hi);break}})}const ri=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal",this.steps=[]}render(){return e("div",{key:"a377fd10ecba24e1ff251988b44c314589a3c6ae",class:"progress-indicator flex","data-alignment":this.alignment},this.steps.map((n,o)=>e("dga-progress-indicator-step",{currentStep:o+1,title:n.label,description:n.description,activeStep:this.activeStep})))}},[0,"dga-progress-indicator-updated",{activeStep:[2,"active-step"],alignment:[1],steps:[16]}]);function gi(){if(typeof customElements>"u")return;["dga-progress-indicator-updated","dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-updated":customElements.get(n)||customElements.define(n,ri);break;case"dga-progress-indicator-step":customElements.get(n)||Ae();break}})}const ai=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return console.log(this.activeStep),e("div",{key:"703fc444b56657644e5d56929fb950b120f9920c"},e("h1",{key:"1dd2ff0389d33f69ca55d3a8c7ec658977e34745"},"Progress Indicator Example"),e("div",{key:"3d0f74d53cc4628587723e8ff4cd0c6a8d288f77",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"dfdca2ba438be6f9fa449ac29ddb1a52c4466be7",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-progress-indicator-updated",{key:"4ffc9287ffaaee9b9bc3cda9497d9317d56408b0",activeStep:this.activeStep,steps:[{label:"Step One",description:"this is step description"},{label:"Step Two",description:"this is step description"},{label:"Step Three",description:"this is step description"}]}),e("dga-button",{key:"e6c6525c8b0b09a453d39d5698f1cbac0deec65e",onClick:()=>this.activeStep=this.activeStep-1},"prev"),e("dga-button",{key:"d0c355e991c883e87b33166aeaffadf0fee3767e",onClick:()=>this.activeStep=this.activeStep+1},"next"),e("dga-progress-indicator",{key:"fe41dfd1b9d2c602c522871fbf053cdf907ce7d0"},e("dga-progress-indicator-step",{key:"c0029cb611d5f198d3ba2b88ac8ce6b3d005e542",title:"Step One",description:"this is step description",currentStep:1,activeStep:2}),e("dga-progress-indicator-step",{key:"de00704efbaeb586da39ff734d040b8ed4b7ec79",title:"Step Two",description:"this is step description",currentStep:2,activeStep:2}),e("dga-progress-indicator-step",{key:"84c0c79ad44bb28fd13f23dfc0068e6d598c42d9",title:"Step Three",description:"this is step description",nextStep:!1,currentStep:3,activeStep:2}))),e("div",{key:"b494d5f76751f4938efad4dd49c3f59891fab3ec",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-progress-indicator-usage",{activeStep:[32]}]);function va(){if(typeof customElements>"u")return;["cs-progress-indicator-usage","dga-button","dga-icon","dga-progress-indicator","dga-progress-indicator-step","dga-progress-indicator-updated"].forEach(n=>{switch(n){case"cs-progress-indicator-usage":customElements.get(n)||customElements.define(n,ai);break;case"dga-button":customElements.get(n)||tn();break;case"dga-icon":customElements.get(n)||I();break;case"dga-progress-indicator":customElements.get(n)||ii();break;case"dga-progress-indicator-step":customElements.get(n)||Ae();break;case"dga-progress-indicator-updated":customElements.get(n)||gi();break}})}const ya=ai,xa=va,ci=p(class extends k{constructor(){super(),this.__registerHost(),this.handleActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("active")},this.handleRemoveActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("active")},this.handleFocus=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("focus")},this.handleFocusOut=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("focus")},this.handleEscape=n=>{var o,i;n.key==="Escape"&&((i=(o=this.radioLabelRef)===null||o===void 0?void 0:o.querySelector("input"))===null||i===void 0||i.blur(),this.handleFocusOut())},this.color="brand",this.label=void 0,this.hasHelperText=!1,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=L(),this.name=L(),this.value="",this.customAttribute={key:"",value:""},this.onChange=void 0,this.onInput=void 0}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"a021bef1b6319247d42137c95ab623088f54ba9c",ref:n=>this.radioLabelRef=n,class:`radio ${this.color?"radio--"+this.color:""}`,onMouseDown:this.handleActive,onMouseUp:this.handleRemoveActive,onMouseOut:this.handleRemoveActive,onChange:this.handleRemoveActive},e("div",{key:"6c6b46a132e742ac7f6a5665c90d8663a3e60d72",class:"radio-main"},e("div",{key:"7409917140de4413f9bf9d1d5486c0d0d9d98f4d",class:"radio-main__content"},e("input",Object.assign({key:"29b2eeec456379e72421aa29a07504fd0584ffcc",type:"radio",name:this.name,value:this.value,id:this.id},this.customAttribute.key&&{[this.customAttribute.key]:this.customAttribute.value?this.customAttribute.value:""},{onChange:this.onChange,onInput:this.onInput,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut})),e("div",{key:"86dcca1ca9ac7298ab01bc4b11cf5ac9fc3d715a",class:"radio-container"}),e("div",{key:"859eefd1a4b38b7a3f9bec54b0ddaf7c391c5cec",class:"flex-column"},this.label&&e("span",{key:"af9a130724adb5c3efc7b3e8ac28a074f4622677",class:"radio__label"},this.label),this.hasHelperText&&this.helperText&&e("span",{key:"3bd0b8e3bbd8d4317f0e6482bb552a6ff0c0ef71",class:"radio__helper-text"},this.helperText))),this.alertMessage&&this.alertText&&e("div",{key:"62cf130f7ac2c63b8138011008ca2d4564b3a3c9",class:"radio__warning"},e("span",{key:"8646ac9863ba5a6a30521d3b64e995b4b3cf3454",class:"radio__warning-icon"},e("i",{key:"426ef5d031b3b1b62a1755f12c63cd2592dcbbb3",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"322f9f40c9c62ca14198735984def1b922e1c10c",class:"radio__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-radio-button",{color:[1],label:[1],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[1],customAttribute:[16],onChange:[16],onInput:[16]}]);function si(){if(typeof customElements>"u")return;["dga-radio-button"].forEach(n=>{switch(n){case"dga-radio-button":customElements.get(n)||customElements.define(n,ci);break}})}const di=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"fa89d7788f04b18cc7afef560387590826297a71"},e("h1",{key:"f00de3d67ca7ca521c5390fa21ddfdb82fd549cb"},"RadioButton Example"),e("div",{key:"a0572a9ac4a56ac4df2c65b466f6acf54cf47bee",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"66f572f6747df59332d471d0af84b02edd7b4f8c",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-radio-button",{key:"beb79fe23d4d7a24eb79059748297f888861f850",label:"Radio Label",hasHelperText:!0,helperText:"When a selection needs a further detailed explanation, it goes here.",alertMessage:!0,alertText:"Error/Warning message"})),e("div",{key:"c94aff7092798973d900d2fb1480683f51d867ea",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-radio-button-usage",{activeStep:[32]}]);function qa(){if(typeof customElements>"u")return;["cs-radio-button-usage","dga-radio-button"].forEach(n=>{switch(n){case"cs-radio-button-usage":customElements.get(n)||customElements.define(n,di);break;case"dga-radio-button":customElements.get(n)||si();break}})}const _a=di,za=qa;function ja(t){const n=t.toString().split(".")[1];return n?n.length:0}function Ca(t,n){if(t==null)return t;const o=Math.round(t/n)*n;return Number(o.toFixed(ja(n)))}const fi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleMouseMove=n=>{if(this.readOnly)return;const o=this.rootRef;if(o){const{left:i,width:h}=o.getBoundingClientRect(),d=(n.clientX-i)/h,f=.5,l=Ca(this.max*d+f/2,f);(this.hover!==l||this.focus!==l)&&(this.hover=l,this.focus=l)}},this.handleChange=n=>{if(this.readOnly)return;let o=n.target.value===""?null:parseFloat(n.target.value);this.hover!==-1&&(o=this.hover),this.rating=o||-1},this.handleClear=n=>{n.clientX===0&&n.clientY===0||(this.hover=-1,this.rating=-1)},this.size="small",this.value=-1,this.onChange=()=>{},this.readOnly=!1,this.max=5,this.variant="Default",this.rating=-1,this.hover=-1,this.focus=-1,this.pressed=-1}componentDidLoad(){this.rating=this.value}componentDidUpdate(){this.onChange(this.rating)}render(){return console.log("pressed",this.pressed),e("span",{key:"517697384ac2d12668660803d33ed8271561b77e",class:`rating rating--${this.size}`,ref:n=>this.rootRef=n,onMouseMove:n=>this.handleMouseMove(n),onMouseLeave:n=>this.handleClear(n)},Array.from({length:this.max},(n,o)=>o+1).map(n=>{const o={Default:"var(--background-secondary)",Brand:"var(--background-primary)"};return e("span",{class:`rating__star ${this.pressed===n?"rating__star--pressed":""}`,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1},e("label",{htmlFor:`star-${n-.5}`,style:{width:this.hover>0?this.hover==n-.5?"50%":"0%":this.rating==n-.5?"50%":"0%",overflow:"hidden",position:"absolute"},class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:o[this.variant]}}))),e("span",{class:"rating__star__label-text"},n-.5," Stars")),e("input",{class:"rating__star__label-input",id:`star-${n-.5}`,type:"radio",name:"half-rating",defaultValue:n-.5,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}),e("label",{htmlFor:`star-${n}`,class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:this.hover>0?this.hover>=n?o[this.variant]:"var(--background-neutral-200)":this.rating>=n?o[this.variant]:"var(--background-neutral-200)"}}))),e("span",{class:"rating__star__label-text"},n," Star")),e("input",{class:"rating__star__label-input",id:`star-${n}`,type:"radio",name:"half-rating",defaultValue:n,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}))}))}},[0,"dga-rating",{size:[1],value:[2],onChange:[16],readOnly:[4,"read-only"],max:[2],variant:[1],rating:[32],hover:[32],focus:[32],pressed:[32]}]);function li(){if(typeof customElements>"u")return;["dga-rating"].forEach(n=>{switch(n){case"dga-rating":customElements.get(n)||customElements.define(n,fi);break}})}const bi=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral",this.rating=void 0}render(){return e("div",{key:"6cd41e7907a2046692e8500677db5f6f81fed683"},e("h1",{key:"441049a82bbadf799eec432a2041a8e64b0e82d9"},"Rating Example"),e("div",{key:"c9bb435c9ba172493942305e485c4a0a4dd1398c",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"5e798050ceadc870fa27f7974fa7c92959d12486",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-rating",{key:"98f66ae551c5468ceee64d4b087925538d710dea",onChange:n=>this.rating=n,value:this.rating,size:"large"}),e("dga-rating",{key:"a904346fe07c80a475f6abf437a5c9e4d641640e",onChange:n=>this.rating=n,value:this.rating,size:"medium"}),e("dga-rating",{key:"f4867038fda139b04f64cf855fdb51499e51f64f",onChange:n=>this.rating=n,value:this.rating,size:"small"})),e("div",{key:"91c671ffdc63e0ac0f24c9ba99323e88eaafd82d",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-rating-usage",{variant:[32],rating:[32]}]);function Ea(){if(typeof customElements>"u")return;["cs-rating-usage","dga-rating"].forEach(n=>{switch(n){case"cs-rating-usage":customElements.get(n)||customElements.define(n,bi);break;case"dga-rating":customElements.get(n)||li();break}})}const $a=bi,Sa=Ea,Ma=`@charset "UTF-8";
|
|
623408
|
+
*/const V=Vg("ArrowRight02Icon",{"bulk.rounded":[["path",{opacity:"0.4",d:"M21 12C21 12.5523 20.5523 13 20 13L3.99998 13C3.4477 13 2.99998 12.5523 2.99998 12C2.99998 11.4477 3.4477 11 3.99998 11L20 11C20.5523 11 21 11.4477 21 12Z",fill:"currentColor",fillRule:"evenodd",key:"k0"}],["path",{d:"M18.9721 12C18.8788 11.8452 18.6832 11.5671 18.4694 11.3251C18.0436 10.8432 17.4569 10.2928 16.8444 9.76105C16.2369 9.23357 15.6264 8.74365 15.166 8.38437C14.9364 8.20515 14.5401 7.90576 14.4069 7.80521C13.9623 7.47768 13.8673 6.85173 14.1948 6.40706C14.5223 5.96236 15.1483 5.86736 15.593 6.19487L15.5967 6.19767C15.7411 6.30672 16.1597 6.62291 16.3965 6.80767C16.8736 7.18002 17.5131 7.69303 18.1556 8.25084C18.7931 8.80434 19.4564 9.4216 19.9681 10.0008C20.223 10.2892 20.4614 10.5918 20.6416 10.8906C20.8052 11.162 21 11.5568 21 12C21 12.4431 20.8052 12.838 20.6416 13.1094C20.4614 13.4082 20.223 13.7108 19.9681 13.9992C19.4564 14.5784 18.7931 15.1957 18.1556 15.7492C17.5131 16.307 16.8736 16.82 16.3965 17.1923C16.1597 17.3771 15.7414 17.6931 15.597 17.8021L15.593 17.8051C15.1483 18.1326 14.5223 18.0376 14.1948 17.5929C13.8673 17.1483 13.9623 16.5223 14.4069 16.1948C14.5401 16.0942 14.9364 15.7948 15.166 15.6156C15.6264 15.2564 16.2369 14.7664 16.8444 14.2389C17.4569 13.7072 18.0436 13.1568 18.4694 12.6749C18.6832 12.4329 18.8788 12.1548 18.9721 12Z",fill:"currentColor",key:"k1"}]],"duotone.rounded":[["path",{opacity:"0.4",d:"M20 11.9998H4M20 11.9998C20 13.3174 15.0001 17 15.0001 17M20 11.9998C20 10.6822 15.0001 7 15.0001 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k0"}]],"solid.rounded":[["path",{d:"M21 12C21 12.5523 20.5523 13 20 13L3.99998 13C3.4477 13 2.99998 12.5523 2.99998 12C2.99998 11.4477 3.4477 11 3.99998 11L20 11C20.5523 11 21 11.4477 21 12Z",fill:"currentColor",fillRule:"evenodd",key:"k0"}],["path",{d:"M18.9721 12C18.8788 11.8452 18.6832 11.5671 18.4694 11.3251C18.0436 10.8432 17.4569 10.2928 16.8444 9.76105C16.2369 9.23357 15.6264 8.74365 15.166 8.38437C14.9364 8.20515 14.5401 7.90576 14.4069 7.80521C13.9623 7.47768 13.8673 6.85173 14.1948 6.40706C14.5223 5.96236 15.1483 5.86736 15.593 6.19487L15.5967 6.19767C15.7411 6.30672 16.1597 6.62291 16.3965 6.80767C16.8736 7.18002 17.5131 7.69303 18.1556 8.25084C18.7931 8.80434 19.4564 9.4216 19.9681 10.0008C20.223 10.2892 20.4614 10.5918 20.6416 10.8906C20.8052 11.162 21 11.5568 21 12C21 12.4431 20.8052 12.838 20.6416 13.1094C20.4614 13.4082 20.223 13.7108 19.9681 13.9992C19.4564 14.5784 18.7931 15.1957 18.1556 15.7492C17.5131 16.307 16.8736 16.82 16.3965 17.1923C16.1597 17.3771 15.7414 17.6931 15.597 17.8021L15.593 17.8051C15.1483 18.1326 14.5223 18.0376 14.1948 17.5929C13.8673 17.1483 13.9623 16.5223 14.4069 16.1948C14.5401 16.0942 14.9364 15.7948 15.166 15.6156C15.6264 15.2564 16.2369 14.7664 16.8444 14.2389C17.4569 13.7072 18.0436 13.1568 18.4694 12.6749C18.6832 12.4329 18.8788 12.1548 18.9721 12Z",fill:"currentColor",key:"k1"}]],"solid.sharp":[["path",{d:"M14.5267 18L13.1187 16.5858L16.6882 13.0006L3.5 13.0006L3.5 11.0006L16.6886 11.0006L13.1186 7.41422L14.5266 6L20.5 12.0003L14.5267 18Z",fill:"currentColor",key:"k0"}]],"stroke.rounded":[["path",{d:"M20 12L4 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k0"}],["path",{d:"M15 17C15 17 20 13.3176 20 12C20 10.6824 15 7 15 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k1"}]],"stroke.sharp":[["path",{d:"M4 12L19.5715 12M15.0001 17L20 12L15 7",stroke:"currentColor",strokeWidth:"1.5",key:"k0"}]],"twotone.rounded":[["path",{opacity:"0.4",d:"M20 12L4 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k0"}],["path",{d:"M15 17C15 17 20 13.3176 20 12C20 10.6824 15 7 15 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"k1"}]]}),Oo=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"8d461a861ff561b9c2947fc4e5efea9af32a3f0d"},e("h1",{key:"f5b0a4a14313b6fc20158d6a17ac2e6ac8ea79b8"},"Footer Example Dark Green Mode"),e("dga-footer",{key:"67045b2bb690ab0cd9f6dd0aca27be6bb9f324c8",background:"DarkGreen",NavLinks:!0,groupLinks:[{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]}],socialMediaTitle:"Social Media",accessibilityTitle:"accessibility Tools",socialMediaLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],accessibilityLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],copyright:"All Right Reserved For Digital Government Authority © 2024",basicLinks:[{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"}],extraLinks:[{name:"Terms and Conditions",target:"#"},{name:"Privacy Policy",target:"#"}],bottomImages:["https://dga-nds-fbhtx.ondigitalocean.app/mobile-logo.svg","https://dga-nds-fbhtx.ondigitalocean.app/mobile-logo.svg"]}),e("h1",{key:"cd2411e78d73b475e59dbe797d90d05c28a5047e",style:{padding:"40px",color:"red"}}," Footer Example Light Mode"),e("dga-footer",{key:"e5497c1769f5b7f1617d17144eb4f45bc129d90b",background:"Light",NavLinks:!0,groupLinks:[{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]},{title:"Group Label",links:[{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""},{name:"Footer Link",target:""}]}],socialMediaTitle:"Social Media",accessibilityTitle:"accessibility Tools",socialMediaLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],accessibilityLinks:[{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)},{title:"any",target:"",icon:e(V,null)}],copyright:"All Right Reserved For Digital Government Authority © 2024",basicLinks:[{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"},{name:"Footer Link",target:"#"}],extraLinks:[{name:"Terms and Conditions",target:"#"},{name:"Privacy Policy",target:"#"}]}),e("h1",{key:"59fae17fe9bf7c36b3359a9b38c6c1b7363eb05a",style:{padding:"40px",color:"red"}},"End Footer Example Here Zoz"))}},[0,"cs-footer-usage"]);function Gg(){if(typeof customElements>"u")return;["cs-footer-usage","dga-footer"].forEach(n=>{switch(n){case"cs-footer-usage":customElements.get(n)||customElements.define(n,Oo);break;case"dga-footer":customElements.get(n)||Lo();break}})}const Jg=Oo,Kg=Gg,Fo=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={error:"hgi-stroke hgi-help-circle",warning:"hgi-stroke hgi-alert-02",success:"hgi-stroke hgi-tick-02",info:"hgi-stroke hgi-help-circle",neutral:"hgi-stroke hgi-help-circle"},this.type="neutral",this.leadText=void 0,this.helperText=void 0,this.isactionButtons=!0,this.isCloseButton=!0,this.onClose=void 0,this.colored=!1,this.buttonsList=[{id:L(),label:"Button 1",onClick:()=>{},exraClasses:"",title:"Button"},{id:L(),label:"Button 2",onClick:()=>{},exraClasses:"",title:"Button"}]}render(){return e("div",{key:"ebf8e2b3c0ea052eeb3968e0aa3a142253c7621c",class:`alert alert--${this.type} ${this.colored?`alert--${this.type}-bg`:""}`},e("div",{key:"2b8e617db49b3bcff5ec42ae64c17e073003ab1c",class:`alert__header ${this.helperText?"":"flex-center-y"}`},e("div",{key:"f0a945cb073e2d06528b76fefc74228e3c4a0f37",class:`featured-icon featured-icon--circle featured-icon--md featured-icon--light-${this.type==="neutral"?"gray":this.type}`},e("i",{key:"39c41163d2719696cd9d207cf17067a96db80de3",class:this.icons[this.type],style:{fontSize:"20px"}})),e("div",{key:"ac2e312175cd81307716851071754c3c68a82bb1",class:"alert__body"},e("h4",{key:"611fbaffeccce9c8197d84af009a2a6098b832bd",class:"alert__title text-md-semibold"},this.leadText),this.helperText&&e("p",{key:"d5e8c7dc7442a0fa33729fcfecfb9cf6fd365c23",class:"alert__content text-sm-regular"},this.helperText),e("slot",{key:"96314782ecdf3a6379849c6ec3643f32e5edfccc"}))),this.isCloseButton&&e("div",{key:"a4accf72232ca48e348018e43d06bda175089f33",class:"alert__close-btn"},e("button",{key:"6e2e74d728a153be7039917edd8d14bedf7d1bf6",class:"btn btn--close btn--icon btn--md",onClick:n=>this.onClose&&this.onClose(n)},e("span",{key:"175b65f8d4c1b01b8e7e498bebd59747cfbb43c1",class:"btn-icon"},e("i",{key:"3123e6e47a02ed2e60c2ccca11e931faefa15880",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))),this.isactionButtons&&e(N,null,e("div",{key:"b23b28c149c79313fbd07d6cea5566281ac47e6f",class:"alert__action"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:o,exraClasses:i,title:h,label:d})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:f=>o(f),class:`btn btn--subtle btn--md ${i}`},h&&{title:h}),d))),e("div",{key:"293c9dbb5ee1e2f513eb6627ff2c65aab0a1bc51",class:"alert__action-mobile"},this.buttonsList.length&&this.buttonsList.map(({id:n,onClick:o,exraClasses:i,title:h,label:d})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:f=>o(f),class:`btn btn--secondary btn--lg ${i}`},h&&{title:h}),d)))))}},[4,"dga-inline-alert",{type:[1],leadText:[1,"lead-text"],helperText:[1,"helper-text"],isactionButtons:[4,"isaction-buttons"],isCloseButton:[4,"is-close-button"],onClose:[16],colored:[4],buttonsList:[16]}]);function Ro(){if(typeof customElements>"u")return;["dga-inline-alert"].forEach(n=>{switch(n){case"dga-inline-alert":customElements.get(n)||customElements.define(n,Fo);break}})}const Ho=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"7b09a52f542641c797f3ed86c7c7d187d5fe1fc7"},e("h1",{key:"7f8716bb8e8c89b80c5d0204ca7f853e8884f970"},"Inline ALert Example"),e("div",{key:"26fb9d14deb0a9a10c1cc9134b20cb23d200d70b",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"0953244cb21e4ee150442281595856bb545b431c",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-inline-alert",{key:"591787ad3ceae6ab049b27568253d0ad44b78dcc",type:"neutral",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"a959d56d84bd68481fe06670cdca4de3fd5c9b3b",type:"error",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"af2eccaed5d053cbf43ff5ded72a18fedc67f499",type:"info",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"0ff1f79b5f190b1f88ec61d790db584df8959d0d",type:"success",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."}),e("dga-inline-alert",{key:"e80fe3b7a21b56b03b37bc8853aa05ff68bcb4e8",type:"warning",leadText:"Notification/Alert message title ",helperText:"When a Notification/Alert needs a further detailed explanation, it goes here."})),e("div",{key:"6cdcbdfc258de6d2ff5492274bca56c0846e84f3",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-inline-alert-usage",{variant:[32]}]);function Qg(){if(typeof customElements>"u")return;["cs-inline-alert-usage","dga-inline-alert"].forEach(n=>{switch(n){case"cs-inline-alert-usage":customElements.get(n)||customElements.define(n,Ho);break;case"dga-inline-alert":customElements.get(n)||Ro();break}})}const Ng=Ho,na=Qg,Uo=p(class extends k{constructor(){super(),this.__registerHost(),this.onClick=hn(this,"onClick",7),this.handleClick=n=>{n.preventDefault(),this.onClick.emit(n)},this.variant="primary",this.size="md",this.label=void 0,this.url=void 0,this.inline=void 0,this.icon=void 0,this.iconType=void 0,this.disabled=void 0,this.external=void 0,this.target="_self",this.preventScrollReset=!1,this.state={},this.extraClass=void 0,this.focus=!1}render(){return console.log(this.focus,"focus"),this.external?e("a",{href:this.url,target:this.target,onClick:n=>this.handleClick(n),onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{className:"link__icon"},this.iconType),e("slot",null)):e("a",{href:this.url,onMouseDown:()=>this.focus=!0,onMouseUp:()=>this.focus=!1,onClick:this.handleClick,class:`link link--${this.size} ${this.focus?"focus":""} link--${this.variant} ${this.inline?"link--inline":""} ${this.disabled?"link--disabled":""} ${this.extraClass}`},e("span",{class:"link__label"},this.label),this.icon&&this.iconType&&e("span",{class:"link__icon"},this.iconType),e("slot",null))}},[4,"dga-link",{variant:[1],size:[1],label:[1],url:[1],inline:[4],icon:[4],iconType:[8,"icon-type"],disabled:[4],external:[4],target:[1],preventScrollReset:[4,"prevent-scroll-reset"],state:[16],extraClass:[1,"extra-class"],focus:[32]}]);function Yo(){if(typeof customElements>"u")return;["dga-link"].forEach(n=>{switch(n){case"dga-link":customElements.get(n)||customElements.define(n,Uo);break}})}const Xo=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"51f89d7f1cd6aef8211f588a00e9507b669a646c"},e("h1",{key:"c5a5cc512c93f421713e65b1c3ce3d8aa265c6bc"},"Link Example"),e("div",{key:"f81bd3e78c010e155b826d11d542f5cbe6dcd881",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"ff372bf9e0ffc44150730acd4364f735e35c8b12",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-link",{key:"f0acb461410cfa5c98b484df3a9224a5c7032032",label:"Link",variant:"neutral"}),e("dga-link",{key:"46dbf54ced1f3d6c5c127e7d628451137e631de7",label:"Link",variant:"on-color"}),e("dga-link",{key:"4333a7f38d44a3f98a1d48b65e03e10987b288f1",label:"Link",variant:"primary"})),e("div",{key:"1aa59ea904c2ddd173d422a70f6ff5050da6e7a4",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-link-usage",{variant:[32]}]);function ea(){if(typeof customElements>"u")return;["cs-link-usage","dga-link"].forEach(n=>{switch(n){case"cs-link-usage":customElements.get(n)||customElements.define(n,Xo);break;case"dga-link":customElements.get(n)||Yo();break}})}const ta=Xo,oa=ea,Zo=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"ffc8fda1f43547405d416230a28510d28b1751eb"},e("h1",{key:"a778f4bfb726e7454272e07cf366030a9596dcfb"},"Loading Example"),e("div",{key:"2b395282c53f8c5da075831a359da376a0d904f8",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"0e6f84defc03db5fff6cdd0263c92b0cbf6774ee",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-loading",{key:"8d61ed41a12098b86df96540e74dc017ae6d62c3"})),e("div",{key:"5886a8b11d93586229074f6bd12b639dd14ccc7f",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-loading-usage",{activeStep:[32]}]);function ia(){if(typeof customElements>"u")return;["cs-loading-usage","dga-loading"].forEach(n=>{switch(n){case"cs-loading-usage":customElements.get(n)||customElements.define(n,Zo);break;case"dga-loading":customElements.get(n)||Mn();break}})}const ha=Zo,ra=ia;function xt(t){if(!t)return new Error("😒 Name is required");try{const n=document.querySelector(`#${t}`);if(n.style.display="none",!n)return new Error(`🥲 not found modal with name ${t}`);n.close(),document.body.classList.remove("modal-open")}catch(n){console.log("🚀 ~ HideModal ~ error:",n)}}const Wo=p(class extends k{constructor(){super(),this.__registerHost(),this.modalTitle=void 0,this.closeButton=void 0,this.onClose=void 0,this.featuredIconColor=void 0,this.featuredIconStyle=void 0,this.featuredIconType="InformationCircle",this.featuredIconCircle=void 0,this.featuredIconSize=void 0,this.alignmentCenter=void 0,this.actionFillContainer=void 0,this.actionStack=void 0,this.secondBtnPosition="left",this.position="center",this.name=void 0,this.show=!1,this.staticModal=!1,this.buttonsList=[]}handleClickOutside(n){n.stopPropagation(),n.preventDefault(),!this.staticModal&&xt(this.name)}render(){return e("dialog",Object.assign({key:"308680e70c53ce8bc1f535e8a54a5c7ff39f1401",onClick:n=>this.handleClickOutside(n),ref:n=>this.dialogRef=n,style:{display:this.show?"flex":"none"},class:`flex-align-${this.position}`},this.show&&{open:this.show}),e("div",{key:"78d47736f3798bb1e1125f77ccf95eeeef9cd347",class:"modal",ref:n=>this.containergRef=n,onClick:n=>n.stopPropagation()},e("div",{key:"511c58a0a3951838517ae5872170de36b4fa34aa",class:"modal__header"},e("div",{key:"25d80641ab1dbd9a92c25df951c5a4aa97181f87",class:"modal__icon",style:this.alignmentCenter?{justifyContent:"center",width:"100%",display:"flex"}:{}},e("div",{key:"37b61b4a6ab2f649cde4358e6f6783b34331db84",class:`featured-icon featured-icon--${this.featuredIconStyle}-${this.featuredIconColor} ${this.featuredIconCircle?"featured-icon--circle":""} featured-icon--${this.featuredIconSize}`},e("span",{key:"8b03a759c057b247fdbd56ca47f989a3b23b4042"},e("dga-icon",{key:"0664c84afd120bf03469c547e45402200767480b",icon:this.featuredIconType})))),this.closeButton&&e("div",{key:"27b00374eb42a34b79d45aa0135cfc090b127489",class:"modal__close"},e("button",{key:"69a55c4fe3ecfe579e902889c8a89f16aae0ae75",class:"btn btn--close btn--icon btn--md",onClick:n=>{xt(this.name)}},e("span",{key:"59e4f5c0dc4c2d7cff3845867d971e17f09fe83f",class:"btn-icon"},e("dga-icon",{key:"b9717252ed0e5b0f413999f2ae1041c46969272f",icon:"Cancel01Icon",variant:"solid"}))))),this.modalTitle&&e("h4",{key:"e26c8608e2f8a0918f6558adfc4abb5dd992e5cf",class:"modal__heading",style:this.alignmentCenter?{textAlign:"center",width:"100%"}:{}},this.modalTitle),e("slot",{key:"3a813123babc498d4b5153117016ab8cfa792aee"}),e("div",{key:"dc11e804840eab645f456dcf9168463d30b32a14",style:Object.assign(Object.assign({display:"flex",width:"100%",justifyContent:this.alignmentCenter?"center":this.buttonsList.length>2?"flex-start":"space-between"},!this.alignmentCenter&&this.buttonsList.length==2&&{justifyContent:this.secondBtnPosition=="left"?"flex-start":"space-between"}),{flexDirection:this.actionStack?"column":"row"})},this.buttonsList.length>0&&this.buttonsList.slice(0,this.buttonsList.length>3?3:this.buttonsList.length).map((n,o)=>e("button",Object.assign({style:Object.assign(Object.assign({},this.actionFillContainer&&{width:"100%"}),o==2&&!this.alignmentCenter&&{marginLeft:"auto"}),key:n.id?n.id:L(),id:n.id?n.id:L(),onClick:i=>n.onClick(i),class:`modal__actions-btn btn btn--md ${o==0?"btn--primary-neutral":this.actionStack&&o==2?"btn--subtle":"btn--secondary-outline"} ${n.extraClass} `},n.title&&{title:n.title}),n.label)))))}},[4,"dga-modal",{modalTitle:[1,"modal-title"],closeButton:[4,"close-button"],onClose:[16],featuredIconColor:[1,"featured-icon-color"],featuredIconStyle:[1,"featured-icon-style"],featuredIconType:[1,"featured-icon-type"],featuredIconCircle:[4,"featured-icon-circle"],featuredIconSize:[1,"featured-icon-size"],alignmentCenter:[4,"alignment-center"],actionFillContainer:[4,"action-fill-container"],actionStack:[4,"action-stack"],secondBtnPosition:[1,"second-btn-position"],position:[1],name:[1],show:[4],staticModal:[4,"static-modal"],buttonsList:[16]}]);function Vo(){if(typeof customElements>"u")return;["dga-modal","dga-icon"].forEach(n=>{switch(n){case"dga-modal":customElements.get(n)||customElements.define(n,Wo);break;case"dga-icon":customElements.get(n)||D();break}})}const Go=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"26f1e31e92ed56c91402daba6368160044475d1f"},e("h1",{key:"1a403fdda043820616837e571b76bb8acb5a46bf"},"Modal Example"),e("dga-modal",{key:"8848ac837d8655583f3d860ed29e711dd7debd94",modalTitle:"Title goes here",show:!0,closeButton:!0,buttonsList:[{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"},{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"},{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"}],actionStack:!1,secondBtnPosition:"right"},"When a Modal needs a further detailed explanation, it goes here."))}},[0,"cs-modal-usage"]);function ga(){if(typeof customElements>"u")return;["cs-modal-usage","dga-icon","dga-modal"].forEach(n=>{switch(n){case"cs-modal-usage":customElements.get(n)||customElements.define(n,Go);break;case"dga-icon":customElements.get(n)||D();break;case"dga-modal":customElements.get(n)||Vo();break}})}const aa=Go,ca=ga,sa={error:"hgi-stroke hgi-alert-02",warning:"hgi-stroke hgi-alert-circle",success:"hgi-stroke hgi-sharp hgi-checkmark-circle-02",info:"hgi-stroke hgi-sharp hgi-information-circle",neutral:"hgi-stroke hgi-sharp hgi-information-circle"},Jo=p(class extends k{constructor(){super(),this.__registerHost(),this.type="neutral",this.leadText=void 0,this.hasHelperText=!1,this.helperText=void 0,this.action=void 0,this.closeButton=void 0,this.vPostion="top",this.hPostion="right",this.onClose=void 0,this.buttonsList=[]}render(){return e("div",{key:"d6ea538aa094dc81681f91721b7ae0b6229e1476",class:`notification-toast notification-toast--${this.type} vpostion-${this.vPostion} hpostion-${this.hPostion}`},e("div",{key:"9b2e6341b5e937b3ca3522da5a44587bdd7541db",class:`notification-toast__header ${this.hasHelperText?"":"flex-center-y"}`},e("div",{key:"86deca47154d0849adacc4098b74ce35e4123033",class:`notification--${this.type} notification-toast__icon featured-icon featured-icon--circle featured-icon--md`},e("i",{key:"1ce8362e7ee78c4c81b3f9aced22a7560c407725",class:sa[this.type],style:{fontSize:"18px"}})),e("div",{key:"17e4fb96a3bad1afe15b861d541bfa7154547b98",class:"notification-toast__body"},e("h4",{key:"c0488b2ec6117582b7d5aad10260b63d92fef65c",class:"notification-toast__title text-md-semibold"},this.leadText),this.hasHelperText&&this.helperText&&e("p",{key:"b46bfe2753a4951f9b9683300eb58ca83fbfa26f",class:"notification-toast__content text-sm-regular"},this.helperText)),this.closeButton&&e("div",{key:"6e9d01640eac8789d3151c6a1d00b46b2a49a8ec",class:"notification-toast__close-btn"},e("button",{key:"f3e59d89645e03792e426c985fb2abcc35690c36",class:"btn btn--close btn--icon btn--md",onClick:n=>{var o;return(o=this.onClose)===null||o===void 0?void 0:o.call(this,n)}},e("span",{key:"f69060054669db3c4f4916ca34e9c42cf04b3553",class:"btn-icon"},e("i",{key:"65fbbf8242d4b6b096957b6a9c1fe3181b26302e",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}}))))),this.action&&e(N,null,e("div",{key:"e394109b5edeeb8ba5176c6ccc404cda4ff2b3e8",class:"notification-toast__action"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:o,extraClasses:i,title:h,customAttribute:d,label:f})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:l=>o(l),class:`btn btn--subtle btn--md ${i}`},h&&{title:h},d&&d.key&&{[d.key]:d.value?d.value:""}),f))),e("div",{key:"a6a2cbd87c60e4c5c4c46705886e7727a9915cb7",class:"notification-toast__action-mobile"},this.buttonsList.length>0&&this.buttonsList.map(({id:n,onClick:o,extraClasses:i,title:h,customAttribute:d,label:f})=>e("button",Object.assign({key:n||L(),id:n||L(),onClick:l=>o(l),class:`btn btn--secondary btn--lg ${i}`},h&&{title:h},d&&d.key&&{[d.key]:d.value?d.value:""}),f)))))}},[0,"dga-notification-toast",{type:[1],leadText:[1,"lead-text"],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],action:[4],closeButton:[4,"close-button"],vPostion:[1,"v-postion"],hPostion:[1,"h-postion"],onClose:[16],buttonsList:[16]}]);function Ko(){if(typeof customElements>"u")return;["dga-notification-toast"].forEach(n=>{switch(n){case"dga-notification-toast":customElements.get(n)||customElements.define(n,Jo);break}})}const Qo=p(class extends k{constructor(){super(),this.__registerHost(),this.type="error"}render(){return e("div",{key:"0da2140ddbb3e68806f3521dd081f03fde94e4e9"},e("h1",{key:"ea36aa492a882ce9816041501fb56d8e3069fd8c"},"Notification Toast Example"),e("div",{key:"951bcbcc7a2f8675c44a310b0bb670007f295bbe",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"2b06a495a6caada746acb522eb269175813f82e0",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-notification-toast",{key:"3a9d2a1eedabdf0522a1e8346a57c00989a29363",type:this.type,leadText:"Notification/Alert message title",hasHelperText:!0,helperText:"When a Notification/Alert needs a further detailed explanation, it goes here.",action:!0,buttonsList:[{label:"Button",onClick:()=>{},title:"Button"},{label:"Button",onClick:()=>{},title:"Button"}],closeButton:!0})),e("div",{key:"4f4be63c8fa6452a83dc7ef45a5ec6348f1d8000",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-notification-toast-usage",{type:[32]}]);function da(){if(typeof customElements>"u")return;["cs-notification-toast-usage","dga-notification-toast"].forEach(n=>{switch(n){case"cs-notification-toast-usage":customElements.get(n)||customElements.define(n,Qo);break;case"dga-notification-toast":customElements.get(n)||Ko();break}})}const fa=Qo,la=da,No=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.icon=!0,this.leadText=void 0,this.content=void 0,this.variant=void 0,this.link=!1,this.textLink=void 0,this.dismissable=!1,this.setNavigateTo=void 0,this.navigateTo=void 0,this.dismmissed=void 0}render(){return e("div",{key:"dadca7252c7b181fe80ecdb56aec3b71fd1bb742",class:`notification notification--${this.variant}`,role:"alert"},e("div",{key:"a527e2319efed89a22fd965d783a3503e4dbf1ec",class:"notification__content"},this.icon&&e("div",{key:"b54f06b3afad97a50da893fd1e7ad7b95a1aae55",class:"notification__icon"},e("i",{key:"50c32813d0ac22ee266d456ec93190121a0799e6",class:this.icons[this.variant],style:{fontSize:"24px"}})),this.leadText&&e("strong",{key:"bf063ac4718407f8bfdf04f14e71497ce23b29a1",class:"notification__lead-text"},this.leadText,": "),e("p",{key:"0f0965cf495ef3a28af1bc058d1716b09198f8e5"},this.content),this.link&&e("a",{key:"d915e13ca575c09a60ea25d6f02162f93984e321",onClick:()=>{this.navigateTo&&this.navigateTo(this.setNavigateTo)},class:"notification__link link link--md link--neutral link--inline"},e("span",{key:"c127f7e087dcf4a2008a980828541698520b3369",class:"link__label"},this.textLink))),this.dismissable&&e("div",{key:"d237926ad7ac5be450d4fcc78d91ff015cb788af",class:"notification__dismiss"},e("button",{key:"49a63908770b09ae852ac554ce1db68ebeba0d65",class:"btn btn--close btn--icon btn--md",onClick:()=>{this.dismmissed&&this.dismmissed()}},e("span",{key:"eba42f358e8469a386ee4c3caeabbec0bba9ef4f",class:"btn-icon"},e("i",{key:"db49df1a399bf2532b19fa47bc6fb6d94672d885",class:"hgi-stroke hgi-multiplication-sign",style:{fontSize:"20px"}})))))}},[0,"dga-notification",{icon:[4],leadText:[1,"lead-text"],content:[1],variant:[1],link:[4],textLink:[1,"text-link"],dismissable:[4],setNavigateTo:[1,"set-navigate-to"],navigateTo:[16],dismmissed:[16]}]);function ni(){if(typeof customElements>"u")return;["dga-notification"].forEach(n=>{switch(n){case"dga-notification":customElements.get(n)||customElements.define(n,No);break}})}const ei=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"cdc5ff2fcbbaa0b1656abd828e3b677a0558b53f"},e("h1",{key:"906ebbb982ba9661ecde36cc61a9f355a289e6b7"},"Notification Example"),e("div",{key:"807fed35fc74d7ab1ca5da652cd96bf6050d9905",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"96f7d4438ff6975a03c9458fc210f01fe3639231",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-notification",{key:"4d2162ff79351e9bc9f2131943ec255aca5accef",leadText:"This is a very important banner message that requires attention",variant:this.variant,dismissable:!0}),e("dga-notification",{key:"8b34e627c521162bb38203f906fa2ba7ad3450d6",leadText:"This is a very important banner message that requires attention",variant:"critical",dismissable:!0}),e("dga-notification",{key:"917b730e3f5bf857e8edb1fc499d4704aed7f268",leadText:"This is a very important banner message that requires attention",variant:"info",dismissable:!0}),e("dga-notification",{key:"dabeea72345e675d6054703fd0b9b851b16fa8ee",leadText:"This is a very important banner message that requires attention",variant:"success",dismissable:!0}),e("dga-notification",{key:"c37903b03d133d45f787f34178443b0f2152f3b8",leadText:"This is a very important banner message that requires attention",variant:"warning",dismissable:!0})),e("div",{key:"2a147c62b372d4b16404b086f3d2256874cb0ed9",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-notification-usage",{variant:[32]}]);function ba(){if(typeof customElements>"u")return;["cs-notification-usage","dga-notification"].forEach(n=>{switch(n){case"cs-notification-usage":customElements.get(n)||customElements.define(n,ei);break;case"dga-notification":customElements.get(n)||ni();break}})}const ua=ei,ka=ba,jn="...",Fn=(t,n)=>{let o=n-t+1;return Array.from({length:o},(i,h)=>h+t)},ti=p(class extends k{constructor(){super(),this.__registerHost(),this.onNext=()=>{this.currentPage!=this.totalPageCount&&(this.currentPage=this.currentPage+1,this.onChange&&this.onChange(this.currentPage))},this.onPrevious=()=>{this.currentPage!=1&&(this.currentPage=this.currentPage-1,this.onChange&&this.onChange(this.currentPage))},this.handelPageChange=n=>{n!=this.currentPage&&(this.currentPage=n,this.onChange(this.currentPage))},this.size="large",this.totalPageCount=10,this.siblingCount=1,this.onChange=()=>{},this.currentPage=1}get paginationRange(){const{totalPageCount:n,siblingCount:o,currentPage:i}=this;if(o+5>=n)return Fn(1,n);const d=Math.max(i-o,1),f=Math.min(i+o,n),l=d>2,b=f<n-2,w=1,x=n;if(!l&&b){let _=3+2*o;return[...Fn(1,_),jn,n]}if(l&&!b){let _=3+2*o,z=Fn(n-_+1,n);return[w,jn,...z]}if(l&&b){let _=Fn(d,f);return[w,jn,..._,jn,x]}return[]}render(){return e("ul",{key:"127decf27e19a4c1827c682b6efefeee31978437",class:`pagination pagination--${this.size}`},e("li",{key:"bff0676fc93b1804edd27a25cbb2c420693d4aea",class:"pagination__item pagination__arrow"},e("button",{key:"b763e7c00e6c2bb6c1844ded7be3994fab4d1d03",onClick:this.onPrevious,disabled:this.currentPage===1},e("svg",{key:"1db9956047ee954eda3d479c000efdf3741502cc",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"cca47055c77b7e25c149d72b3d861516759999c1",id:"Leading Icon"},e("path",{key:"62b47e629c9cc891d344e269c39f53d5015e9914",id:"Icon",d:"M10.5 12L6.5 8L10.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))),this.paginationRange&&this.paginationRange.map(n=>n===jn?e("li",{key:L(),class:"pagination__item"},"…"):e("li",{key:L(),class:`pagination__item ${this.currentPage===n?"pagination__item--active":""}`},e("button",{onClick:()=>{this.handelPageChange(n)}},n))),e("li",{key:"37faef6a27337166399add356450ad5860628d84",class:"pagination__item pagination__arrow"},e("button",{key:"8ed3e4064091ff7220097054cd174b3a945d6cac",onClick:this.onNext,disabled:this.currentPage===this.totalPageCount},e("svg",{key:"d5863dd5288cb5b96cc3a98906230adc743cf000",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"8fc84be72160b6ae24d43ea6145cdd2dfd48d9f0",id:"Leading Icon"},e("path",{key:"d26d957bd141ee35dc7233129c23a3a2e954a50a",id:"Icon",d:"M6.5 12L10.5 8L6.5 4",stroke:"#161616","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))))))}},[0,"dga-pagination",{size:[1],totalPageCount:[2,"total-page-count"],siblingCount:[2,"sibling-count"],onChange:[16],currentPage:[32]}]);function oi(){if(typeof customElements>"u")return;["dga-pagination"].forEach(n=>{switch(n){case"dga-pagination":customElements.get(n)||customElements.define(n,ti);break}})}const ii=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral"}render(){return e("div",{key:"07a1ab9a33527aed8906bb2665e6a6f77c983a2e"},e("h1",{key:"2b77ec99bc7236739dbf9b2e87df1f51ce492dd2"},"Pagination Example"),e("div",{key:"d2c76eaa097ace575ca88d9346d4b8b233d7901f",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"afe85ba20c053a3cf76e59553f8db6ca64f1235f",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-pagination",{key:"7a83c46ea3ebaf20b20ad54f5f965790a33295d1",totalPageCount:10,size:"large"}),e("dga-pagination",{key:"299a21fd53c24879f99b4af064bd5f6c9eaf28c3",totalPageCount:10,size:"medium"}),e("dga-pagination",{key:"796b73fca37e975f490c2dcab6f401e97523b293",totalPageCount:10,size:"small"})),e("div",{key:"d72321a328050cec8f7a1a4a66444b1a765ca536",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-pagination-usage",{variant:[32]}]);function pa(){if(typeof customElements>"u")return;["cs-pagination-usage","dga-pagination"].forEach(n=>{switch(n){case"cs-pagination-usage":customElements.get(n)||customElements.define(n,ii);break;case"dga-pagination":customElements.get(n)||oi();break}})}const ma=ii,wa=pa,hi=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal"}render(){return e("div",{key:"773e27088491ba34fc81fcb22e8b12b91d70e713",class:"progress-indicator flex","data-alignment":this.alignment},e("slot",{key:"a9679cb4fdd77f7513f5a666d9f92d07099b4433"}))}},[4,"dga-progress-indicator",{activeStep:[2,"active-step"],alignment:[1]}]);function ri(){if(typeof customElements>"u")return;["dga-progress-indicator"].forEach(n=>{switch(n){case"dga-progress-indicator":customElements.get(n)||customElements.define(n,hi);break}})}const gi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleFocus=()=>{this.stepContentRef.classList.add("focus")},this.handleFocusOut=()=>{this.stepContentRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const o=this.el.querySelector("input");o&&o.blur()}},this.currentStep=1,this.title="",this.description="",this.activeStep=0,this.nextStep=!0,this.showStepName=!0,this.showStepDescription=!0,this.isActive=!1,this.labelState="upcoming",this.labelStyle="circle"}componentWillLoad(){this.updateState(),window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}updateState(){this.isActive=this.activeStep>this.currentStep,this.activeStep>this.currentStep?this.labelState="completed":this.activeStep<this.currentStep?this.labelState="upcoming":this.labelState="current"}labelChildren(n){return this.labelState==="completed"?e("i",{class:"hgi-stroke hgi-tick-02",style:{fontSize:"16px"}}):n.toString()}render(){return e("div",{key:"3616ae766d4b1ebce9468273a93e07c52412a27f",class:"progress-indicator__step",onMouseDown:this.handleFocus,onMouseUp:this.handleFocusOut},e("div",{key:"c4f0d81b07d73110c0477309db05d45df72cfc39",class:"progress-indicator__step-content flex-column",ref:n=>this.stepContentRef=n},e("div",{key:"4bfbe433769cef51c6de84406337af6fd661f89b",class:"step-label","data-state":this.labelState},e("span",{key:"58e8cfa2403e53f6697412cce8f581065eb7243c",class:`step-label--${this.labelStyle}`},this.labelStyle==="circle"&&this.labelChildren(this.currentStep))),e("div",{key:"38ac8bea1cbb5acdbecdfb2da8a9f926a7b3160d",class:"step-text flex-column"},this.showStepName&&e("span",{key:"2141a3709094107cdebf50d6240a2f57c852d181",class:this.isActive?"text-md-medium":"text-md-regular"},this.title),this.showStepDescription&&e("p",{key:"a6c9fb5e06d34530fbcdd4f9f475193f9fabbe30",class:"text-sm-regular"},this.description))),this.nextStep&&e("span",{key:"53d9454e716c2b2e97e8984b2fd045df230e70bc",class:`progress-indicator__step-connector ${this.isActive?"progress-indicator__step-connector--active":""}`}))}get el(){return this}},[0,"dga-progress-indicator-step",{currentStep:[2,"current-step"],title:[1],description:[1],activeStep:[2,"active-step"],nextStep:[4,"next-step"],showStepName:[4,"show-step-name"],showStepDescription:[4,"show-step-description"],labelStyle:[1,"label-style"],isActive:[32],labelState:[32]}]);function Be(){if(typeof customElements>"u")return;["dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-step":customElements.get(n)||customElements.define(n,gi);break}})}const ai=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1,this.alignment="horizontal",this.steps=[]}render(){return e("div",{key:"669a42989c636b2162a9a23baedc3cb0fd9c970e",class:"progress-indicator flex","data-alignment":this.alignment},this.steps.map((n,o)=>e("dga-progress-indicator-step",{currentStep:o+1,title:n.label,description:n.description,activeStep:this.activeStep})))}},[0,"dga-progress-indicator-updated",{activeStep:[2,"active-step"],alignment:[1],steps:[16]}]);function ci(){if(typeof customElements>"u")return;["dga-progress-indicator-updated","dga-progress-indicator-step"].forEach(n=>{switch(n){case"dga-progress-indicator-updated":customElements.get(n)||customElements.define(n,ai);break;case"dga-progress-indicator-step":customElements.get(n)||Be();break}})}const si=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return console.log(this.activeStep),e("div",{key:"e74b5017894670c5b93263d2f59154557edb0f12"},e("h1",{key:"583d4a0afdac2ee78ec307bf6cbc6b9479bb56c3"},"Progress Indicator Example"),e("div",{key:"1ff28a13c466aa893f88460f8245a19d73428450",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"74db2dd1d7e68582fd0bfb52932faa1c97758752",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-progress-indicator-updated",{key:"a726dc2f50ad1cec59acc72c7fd01de6077c8d94",activeStep:this.activeStep,steps:[{label:"Step One",description:"this is step description"},{label:"Step Two",description:"this is step description"},{label:"Step Three",description:"this is step description"}]}),e("dga-button",{key:"2e5f3fa49f1a1b752df9fb49ea151e14234c05a7",onClick:()=>this.activeStep=this.activeStep-1},"prev"),e("dga-button",{key:"02fdfb307ca8c2c8babb27790210e8eb9f78f150",onClick:()=>this.activeStep=this.activeStep+1},"next"),e("dga-progress-indicator",{key:"6ecc23aa416d250730e1fcbf63d76957f2ab9c54"},e("dga-progress-indicator-step",{key:"1d9b6b853e6da7fb8bceeab17a2d55f8f3c55f6f",title:"Step One",description:"this is step description",currentStep:1,activeStep:2}),e("dga-progress-indicator-step",{key:"17e0c580ea1f35fadb43c987ad546ee8b689b396",title:"Step Two",description:"this is step description",currentStep:2,activeStep:2}),e("dga-progress-indicator-step",{key:"bd288163113a42656dfcb9b31e384096ff4fc97d",title:"Step Three",description:"this is step description",nextStep:!1,currentStep:3,activeStep:2}))),e("div",{key:"81d13fd7b3e2ae58fb8033b8580dabd71af1e0f9",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-progress-indicator-usage",{activeStep:[32]}]);function va(){if(typeof customElements>"u")return;["cs-progress-indicator-usage","dga-button","dga-icon","dga-progress-indicator","dga-progress-indicator-step","dga-progress-indicator-updated"].forEach(n=>{switch(n){case"cs-progress-indicator-usage":customElements.get(n)||customElements.define(n,si);break;case"dga-button":customElements.get(n)||nn();break;case"dga-icon":customElements.get(n)||D();break;case"dga-progress-indicator":customElements.get(n)||ri();break;case"dga-progress-indicator-step":customElements.get(n)||Be();break;case"dga-progress-indicator-updated":customElements.get(n)||ci();break}})}const ya=si,xa=va,di=p(class extends k{constructor(){super(),this.__registerHost(),this.handleActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("active")},this.handleRemoveActive=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("active")},this.handleFocus=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.add("focus")},this.handleFocusOut=()=>{var n;(n=this.radioLabelRef)===null||n===void 0||n.classList.remove("focus")},this.handleEscape=n=>{var o,i;n.key==="Escape"&&((i=(o=this.radioLabelRef)===null||o===void 0?void 0:o.querySelector("input"))===null||i===void 0||i.blur(),this.handleFocusOut())},this.color="brand",this.label=void 0,this.hasHelperText=!1,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=L(),this.name=L(),this.value="",this.customAttribute={key:"",value:""},this.onChange=void 0,this.onInput=void 0}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"f7dde063fece6caa4ee44ca3d88c44dcf1168d01",ref:n=>this.radioLabelRef=n,class:`radio ${this.color?"radio--"+this.color:""}`,onMouseDown:this.handleActive,onMouseUp:this.handleRemoveActive,onMouseOut:this.handleRemoveActive,onChange:this.handleRemoveActive},e("div",{key:"8346f996870286bd66dc3b555b5e02b3d2e495c6",class:"radio-main"},e("div",{key:"5c0460dd85ad4491a5cf36708fc3e25019681e69",class:"radio-main__content"},e("input",Object.assign({key:"6b8c11dd75578c59330ac508d70a82777475de85",type:"radio",name:this.name,value:this.value,id:this.id},this.customAttribute.key&&{[this.customAttribute.key]:this.customAttribute.value?this.customAttribute.value:""},{onChange:this.onChange,onInput:this.onInput,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut})),e("div",{key:"0d59dc07e216a3e3997ec70e87875865e0f8c31d",class:"radio-container"}),e("div",{key:"d7ef468140affe43d092c99a8ac1e6a86baae8fc",class:"flex-column"},this.label&&e("span",{key:"a4a64591181a901f0d0f20c2d60812ad1bce6446",class:"radio__label"},this.label),this.hasHelperText&&this.helperText&&e("span",{key:"5e323f8aef70a785a874da318d1581110c57046f",class:"radio__helper-text"},this.helperText))),this.alertMessage&&this.alertText&&e("div",{key:"f9546810fbe2781c036abdf76a4d9a16c2ff8b30",class:"radio__warning"},e("span",{key:"9d6441c0baf8178ac4d1f112da67988bec0d25f3",class:"radio__warning-icon"},e("i",{key:"cea6446a3b420a60dc7463612d7a0d94135e1577",class:"hgi-stroke hgi-alert-circle",style:{fontSize:"16px"}})),e("span",{key:"1ac27a3336d28b9b039b89d5889768ae5d1c6e28",class:"radio__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-radio-button",{color:[1],label:[1],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[1],customAttribute:[16],onChange:[16],onInput:[16]}]);function fi(){if(typeof customElements>"u")return;["dga-radio-button"].forEach(n=>{switch(n){case"dga-radio-button":customElements.get(n)||customElements.define(n,di);break}})}const li=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"07dae548f0b8cab06d2b56609009bc03c0c72ecc"},e("h1",{key:"6b088607c51d49e052fadb6da3b19ff528f97cdb"},"RadioButton Example"),e("div",{key:"5cce86682a9e3020a2c9f7288c2167d936d0e655",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"ed680a11791a7c0c5cbde5924e370135ce7748d5",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-radio-button",{key:"dbf929b3fc14253ea7fd17838a9134677c46c9f7",label:"Radio Label",hasHelperText:!0,helperText:"When a selection needs a further detailed explanation, it goes here.",alertMessage:!0,alertText:"Error/Warning message"})),e("div",{key:"4a536d40f3e9685a795bf3b074ab8ab1eb4cd3e8",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-radio-button-usage",{activeStep:[32]}]);function qa(){if(typeof customElements>"u")return;["cs-radio-button-usage","dga-radio-button"].forEach(n=>{switch(n){case"cs-radio-button-usage":customElements.get(n)||customElements.define(n,li);break;case"dga-radio-button":customElements.get(n)||fi();break}})}const _a=li,za=qa;function ja(t){const n=t.toString().split(".")[1];return n?n.length:0}function Ca(t,n){if(t==null)return t;const o=Math.round(t/n)*n;return Number(o.toFixed(ja(n)))}const bi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleMouseMove=n=>{if(this.readOnly)return;const o=this.rootRef;if(o){const{left:i,width:h}=o.getBoundingClientRect(),d=(n.clientX-i)/h,f=.5,l=Ca(this.max*d+f/2,f);(this.hover!==l||this.focus!==l)&&(this.hover=l,this.focus=l)}},this.handleChange=n=>{if(this.readOnly)return;let o=n.target.value===""?null:parseFloat(n.target.value);this.hover!==-1&&(o=this.hover),this.rating=o||-1},this.handleClear=n=>{n.clientX===0&&n.clientY===0||(this.hover=-1,this.rating=-1)},this.size="small",this.value=-1,this.onChange=()=>{},this.readOnly=!1,this.max=5,this.variant="Default",this.rating=-1,this.hover=-1,this.focus=-1,this.pressed=-1}componentDidLoad(){this.rating=this.value}componentDidUpdate(){this.onChange(this.rating)}render(){return console.log("pressed",this.pressed),e("span",{key:"215968ea585114485af301abb0224668dede07e9",class:`rating rating--${this.size}`,ref:n=>this.rootRef=n,onMouseMove:n=>this.handleMouseMove(n),onMouseLeave:n=>this.handleClear(n)},Array.from({length:this.max},(n,o)=>o+1).map(n=>{const o={Default:"var(--background-secondary)",Brand:"var(--background-primary)"};return e("span",{class:`rating__star ${this.pressed===n?"rating__star--pressed":""}`,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1},e("label",{htmlFor:`star-${n-.5}`,style:{width:this.hover>0?this.hover==n-.5?"50%":"0%":this.rating==n-.5?"50%":"0%",overflow:"hidden",position:"absolute"},class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:o[this.variant]}}))),e("span",{class:"rating__star__label-text"},n-.5," Stars")),e("input",{class:"rating__star__label-input",id:`star-${n-.5}`,type:"radio",name:"half-rating",defaultValue:n-.5,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}),e("label",{htmlFor:`star-${n}`,class:"rating__star__label"},e("span",{class:"rating__star__label-icon"},e("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M22.1839 3.93733C22.8987 2.38758 25.1013 2.38759 25.8161 3.93733L30.3024 13.6635C30.5937 14.2952 31.1923 14.73 31.883 14.8119L42.5195 16.0731C44.2143 16.274 44.8949 18.3688 43.6419 19.5275L35.7781 26.7998C35.2674 27.272 35.0388 27.9757 35.1744 28.6579L37.2618 39.1636C37.5944 40.8375 35.8125 42.1321 34.3233 41.2985L24.9769 36.0668C24.3699 35.7271 23.6301 35.7271 23.0231 36.0668L13.6767 41.2985C12.1875 42.1321 10.4056 40.8375 10.7382 39.1636L12.8256 28.6579C12.9612 27.9757 12.7326 27.272 12.2219 26.7998L4.35805 19.5275C3.10505 18.3688 3.78569 16.274 5.48048 16.0731L16.117 14.8119C16.8077 14.73 17.4063 14.2952 17.6976 13.6635L22.1839 3.93733Z",style:{fill:this.hover>0?this.hover>=n?o[this.variant]:"var(--background-neutral-200)":this.rating>=n?o[this.variant]:"var(--background-neutral-200)"}}))),e("span",{class:"rating__star__label-text"},n," Star")),e("input",{class:"rating__star__label-input",id:`star-${n}`,type:"radio",name:"half-rating",defaultValue:n,onChange:this.handleChange,onMouseDown:()=>this.pressed=n,onMouseUp:()=>this.pressed=-1}))}))}},[0,"dga-rating",{size:[1],value:[2],onChange:[16],readOnly:[4,"read-only"],max:[2],variant:[1],rating:[32],hover:[32],focus:[32],pressed:[32]}]);function ui(){if(typeof customElements>"u")return;["dga-rating"].forEach(n=>{switch(n){case"dga-rating":customElements.get(n)||customElements.define(n,bi);break}})}const ki=p(class extends k{constructor(){super(),this.__registerHost(),this.variant="neutral",this.rating=void 0}render(){return e("div",{key:"e01a94c4dfb9ba3e078c21b4df7c6066a36dfd05"},e("h1",{key:"b18a162cc1d392940fc827d782c80a6a9d78ead3"},"Rating Example"),e("div",{key:"214482bc3aeda66f39b7023bd3babf12be22b532",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"cb99fbc7982e5ae95a15cda4b44024a9db861300",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-rating",{key:"7ef803178a23fa145e8a46de9e64230e05680ca5",onChange:n=>this.rating=n,value:this.rating,size:"large"}),e("dga-rating",{key:"5dc63403f85a56e1ae24a8b98e84189068020184",onChange:n=>this.rating=n,value:this.rating,size:"medium"}),e("dga-rating",{key:"89c6846d4055b99b70d2ad6c1388f7c9fad08e27",onChange:n=>this.rating=n,value:this.rating,size:"small"})),e("div",{key:"b4fe2bac346ae3227bedcad3177a57812c528188",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-rating-usage",{variant:[32],rating:[32]}]);function Ea(){if(typeof customElements>"u")return;["cs-rating-usage","dga-rating"].forEach(n=>{switch(n){case"cs-rating-usage":customElements.get(n)||customElements.define(n,ki);break;case"dga-rating":customElements.get(n)||ui();break}})}const $a=ki,Sa=Ea,Ma=`@charset "UTF-8";
|
|
623408
623409
|
/* first line of file */
|
|
623409
623410
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
|
|
623410
623411
|
@font-face {
|
|
@@ -831173,7 +831174,7 @@ a:focus {
|
|
|
831173
831174
|
top: 50%;
|
|
831174
831175
|
transform: translateY(-50%);
|
|
831175
831176
|
right: -31px;
|
|
831176
|
-
}`,Da=Ma,ui=p(class extends k{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.min=0,this.max=100,this.step=1,this.range=!0,this.label=void 0,this.showLabel=!0,this.showHelperText=!0,this.helperText=void 0,this.size="small",this.minValue=void 0,this.maxValue=void 0}calculatePositions(){const n=(this.minValue-this.min)/(this.max-this.min)*100,o=(this.maxValue-this.min)/(this.max-this.min)*100;this.minPos=n,this.maxPos=o,this.railColorStyle=this.range?{left:`${n}%`,width:`${o-n}%`}:{left:"0%",width:`${n}%`}}componentWillLoad(){this.minValue=this.min,this.maxValue=this.max,this.calculatePositions()}watchMinValue(n){this.minValue=n,this.calculatePositions()}watchMaxValue(n){this.maxValue=n,this.calculatePositions()}watchRangeValue(){this.calculatePositions()}handleMinChange(n){const o=n.target,i=this.range?Math.min(+o.value,this.maxValue-this.step):Math.min(+o.value);this.minValue=i,this.calculatePositions()}handleMaxChange(n){const o=n.target,i=Math.max(+o.value,this.minValue+this.step);this.maxValue=i,this.calculatePositions()}render(){return e("div",{key:"8ef3ac2a58eba2e7473c27d7add93f0ed8670339",class:`range-slider-wrapper ${this.size}`},e("div",{key:"0ca6e249a6e8d874cace70ffac33dcf6d8bd122c",class:"range-slider-input-wrapper"},e("input",{key:"cec7b256f39f4985f51810b9e6f3b9a7ece9d95d",class:"range-slider-input",type:"range",value:this.minValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMinChange.bind(this)}),this.range&&e("input",{key:"5c44db3000adfe843820558e963038dc6f4271f2",class:"range-slider-input",type:"range",value:this.maxValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMaxChange.bind(this)})),e("div",{key:"a40c9109c4ffc0ead3b2f919ed4d2bfb8ca5a9a2",class:"range-slider-container"},this.showLabel&&e("h3",{key:"4d957a8d72ba2e4683d8f9a966fa5f37e1a32733"},this.label),e("div",{key:"4a56538092a05a768decf4204f8dbfd2ca9cbd26",class:"range-slider-control-wrapper"},e("div",{key:"37d589da1fe57e8bb9fcefb0886fbbdcd301accf",class:"range-slider-control",style:{left:`${this.minPos}%`}}),e("div",{key:"03852d3fba6fc6077331a7bcfb3f01ccc8d874c6",class:"range-slider-rail"},this.range&&e("div",{key:"43946ce2812c4432346402008f9e75e0d56b25b8",class:"range-slider-number_left"},this.minValue),e("div",{key:"4a9508c9986982cb976b6c224a92f0aab3f02417",class:"range-slider-inner-rail",style:this.railColorStyle}),this.range&&e("div",{key:"f54a9b6a2707cdc905a8f05f39e2a49484d1883d",class:"range-slider-number_right"},this.maxValue),!this.range&&e("div",{key:"dc219f839586d4944521f86d643f5c78a5688d5a",class:"range-slider-number_right"},this.minValue)),this.range&&e("div",{key:"f4f1630834c315bb6eb244e5612761cfeb4a55db",class:"range-slider-control",style:{left:`${this.maxPos}%`}}),this.showHelperText&&e("div",{key:"e515c36df047f707d06331bff5b0a6c950c16f68",class:"range-slider-note"},e("div",{key:"309ce87626d14a660b0a82cb4c74dea2a6381900",class:"range-slider-note-icon"},e("svg",{key:"59f69b7ff058691bf7cdc536f9f01748acd4359d",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"5065654b7c59610ae369d290c2af735b053bfade","clip-path":"url(#clip0_17869_405)"},e("path",{key:"a573b6e0879513735864b5856ff7b6a7b6aca611",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"aaf3be73165f4115c99a3697ebea61cc7001cc55"},e("clipPath",{key:"7f06a74a25fe1ecd8cdde0cc3934d1263dac7cc3",id:"clip0_17869_405"},e("rect",{key:"2a6a8c742598bfcd86b4bcf2706390bcdb196e30",width:"16",height:"16",fill:"white"}))))),e("div",{key:"d95b321012c0235afdf0b0183e9a1dc59a578122",class:"range-slider-note-content"},e("p",{key:"a9cfbca107093c25e854148410c4ac01d307400b"},this.helperText))))))}static get watchers(){return{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}}static get style(){return Da}},[1,"dga-slider",{min:[2],max:[2],step:[2],range:[4],label:[1],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],helperText:[1,"helper-text"],size:[1],minValue:[32],maxValue:[32]},void 0,{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}]);function ki(){if(typeof customElements>"u")return;["dga-slider"].forEach(n=>{switch(n){case"dga-slider":customElements.get(n)||customElements.define(n,ui);break}})}const pi=p(class extends k{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.activeStep=1,this.minValue=10,this.maxValue=100}render(){return e(N,{key:"21943e590b0e487bea391608e54e46bd9a106f9c"},e("br",{key:"4c3718d7520e5c7c8058787a867547532b667e70"}),e("dga-slider",{key:"61afdc779af348f01203d9e1bda416a0b8f98dd6",min:this.minValue,max:this.maxValue,step:1,range:!0,size:"medium",helperText:"Helper Text Example",label:"Test"}),";",e("br",{key:"721a0dee5cb339dd7b4bc036e701b48a683d15b7"}))}},[1,"cs-slider-usage",{activeStep:[32],minValue:[32],maxValue:[32]}]);function Ia(){if(typeof customElements>"u")return;["cs-slider-usage","dga-slider"].forEach(n=>{switch(n){case"cs-slider-usage":customElements.get(n)||customElements.define(n,pi);break;case"dga-slider":customElements.get(n)||ki();break}})}const Pa=pi,Aa=Ia,mi=p(class extends k{constructor(){super(),this.__registerHost(),this.data=[],this.rowDivider=!0,this.colDivider=!0,this.compact=!1,this.selectable=!0,this.alternate=!0,this.cells=[],this.contained=!0,this.getSelectedRows=void 0,this.sortedData=[],this.direction=!1}componentWillLoad(){this.initializeDirection(),this.initializeSortedData()}handleDataChange(){this.initializeSortedData()}initializeDirection(){document.dir?this.direction=document.dir==="rtl":document.documentElement.lang?this.direction=document.documentElement.lang==="ar":this.direction=!1}initializeSortedData(){this.sortedData=this.data.map(n=>(n.selected=!1,n))}handleSelectedRowChanges(n,o,i,h){const d=[...this.sortedData];d[o].selected=n,this.sortedData=d,this.getSelectedRows&&this.getSelectedRows({currentSelectedRowData:d[o],currentSelectedCellName:i,currentSelectedRowIndex:o,currentSelectedCellIndex:h})}render(){return e("div",{key:"7946ccea40205327d6ba6397f5febcdd976531a0",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"e20e1e8b464e2bdddd3aeff313d8e1e9f9a8a188",class:`azm-structured-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"ff13dfca364037dca8ad8840f98941948d85c2f2"},e("tr",{key:"4e18ad41258c1b19edd7e5684a97e527d7e01c61",class:`${this.rowDivider?"row-divider":""}`},this.cells.map(({title:n},o)=>e("th",{key:o},n)))),e("tbody",{key:"207146cb6031b93e30ba0efa8c29cef3f5e00dea"},this.sortedData.map((n,o)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""}`,key:o},this.cells.map(({El:i,customAttribute:h,propertyName:d,type:f,colSpan:l},b)=>e("td",Object.assign({key:b,colSpan:l||1},(h==null?void 0:h.key)&&{[h.key]:h.value||""},{class:`${this.compact?"compact":""} ${this.colDivider?"col-divider":""}`}),e("div",null,this.selectable&&e("span",null,e("input",{type:"checkbox",name:`${o}checkboxSelection`,checked:n.selected,id:`${o}checkboxSelection${d}`,onChange:w=>this.handleSelectedRowChanges(w.target.checked,o,d,b)})),f==="element"&&i?e(i,Object.assign({},n)):n[d]))))))))}static get watchers(){return{data:["handleDataChange"]}}},[0,"dga-structured-list",{data:[16],rowDivider:[4,"row-divider"],colDivider:[4,"col-divider"],compact:[4],selectable:[4],alternate:[4],cells:[16],contained:[4],getSelectedRows:[16],sortedData:[32],direction:[32]},void 0,{data:["handleDataChange"]}]);function wi(){if(typeof customElements>"u")return;["dga-structured-list"].forEach(n=>{switch(n){case"dga-structured-list":customElements.get(n)||customElements.define(n,mi);break}})}const vi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"e97e542ddca86cc386403fcaa6c9facdcd35f1d9"},e("h1",{key:"00cf367b205bef50c977081429ea4bf14f6e4118"},"Structured List Example"),e("div",{key:"229ed2b510e0f6deab72e2c5543e43aeb0bb82e3",style:{padding:"50px"}},e("dga-structured-list",{key:"633c8fdc361e671a1961574048d4bc9637c24aed",cells:[{title:"ID",propertyName:"id",type:"propertyName"},{title:"Name",propertyName:"name",type:"propertyName"}],data:[{id:1,name:"Alice",selected:!1},{id:2,name:"Bob",selected:!1},{id:3,name:"Charlie",selected:!1}],rowDivider:!0,colDivider:!1,selectable:!0,getSelectedRows:n=>console.log(n)}),e("dga-structured-list",{key:"fad50dacca3d37fb8d59613b1190e31f7f94a9d4",compact:!0,cells:[{title:"ID",propertyName:"id",type:"propertyName"},{title:"Name",propertyName:"name",type:"propertyName"}],data:[{id:1,name:"Alice",selected:!1},{id:2,name:"Bob",selected:!1},{id:3,name:"Charlie",selected:!1}],rowDivider:!0,selectable:!0,getSelectedRows:n=>console.log(n)})))}},[0,"cs-structured-list-usage"]);function Ba(){if(typeof customElements>"u")return;["cs-structured-list-usage","dga-structured-list"].forEach(n=>{switch(n){case"cs-structured-list-usage":customElements.get(n)||customElements.define(n,vi);break;case"dga-structured-list":customElements.get(n)||wi();break}})}const Ta=vi,La=Ba,yi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleActive=()=>{this.disabled||this.labelRef.classList.add("active")},this.handleRemoveActive=()=>{this.labelRef.classList.remove("active"),this.isChecked=!this.isChecked},this.handleFocus=()=>{this.labelRef.classList.add("focus")},this.handleFocusOut=()=>{this.labelRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const o=this.el.querySelector("input");o==null||o.blur()}},this.color="brand",this.label=void 0,this.checked=!1,this.hasHelperText=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=this.generateGuid(),this.name=this.generateGuid(),this.value=!0,this.onChange=void 0,this.onInput=void 0,this.isChecked=this.checked}generateGuid(){return Math.random().toString(36).substr(2,9)}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"4596f34d491301fa9ad6486ef48b30865ad471ff",ref:n=>this.labelRef=n,class:`switch ${this.color?`switch--${this.color}`:""}`,onMouseDown:this.handleActive,onChange:this.handleRemoveActive},e("div",{key:"2df3eead6d4c202668e3c84db237bbb8155c9f3a",class:"switch-main"},e("div",{key:"c30403e68dbd2fe176475d427ef894c743320e1e",class:`switch-main__content ${this.disabled?"disabled":""}`},e("div",{key:"b10ba12a125b32019108d5d4944e3af400d1678b",class:"switch-wrapper"},e("input",{key:"b13c5f3a115a624a604fabc57291152bdbf1b544",type:"checkbox",name:this.name,value:this.value,id:this.id,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:this.onChange,onInput:this.onInput,checked:this.isChecked}),e("span",{key:"b85fd5211078f24338e3c5c841753b0007eea2c2",class:`slider round ${this.isChecked?"slider--active":"slider--inactive"}`})),!this.hasHelperText&&!this.helperText?this.label&&e("span",{class:"switch__label"},this.label):e("div",{class:"flex-column"},e("span",{class:"switch__label"},this.label),e("span",{class:"switch__helper-text"},this.helperText))),this.alertMessage&&e("div",{key:"44b984535c71bc9fecaae277ade52c46c7dddd6b",class:"switch__warning"},e("span",{key:"a3decc2f60897748e16b688660a85a76b0d53619",class:"switch__warning-icon"},e("svg",{key:"fc02c0d4bf29f74769a147f3e7bf48feefdc548f",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e("path",{key:"550d0aaf697a67f55fb62aa2cd7fcce334edbbdb",d:"M8 1.33333C4.324 1.33333 1.33333 4.324 1.33333 8C1.33333 11.676 4.324 14.6667 8 14.6667C11.676 14.6667 14.6667 11.676 14.6667 8C14.6667 4.324 11.676 1.33333 8 1.33333ZM8 13.3333C5.05467 13.3333 2.66667 10.9453 2.66667 8C2.66667 5.05467 5.05467 2.66667 8 2.66667C10.9453 2.66667 13.3333 5.05467 13.3333 8C13.3333 10.9453 10.9453 13.3333 8 13.3333ZM7.33333 4H8.66667V8H7.33333V4ZM7.33333 9.33333H8.66667V10.6667H7.33333V9.33333Z",fill:"currentColor"}))),e("span",{key:"3eb40d3ac8348b31cf923b7957f246e402357fcf",class:"switch__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-switch",{color:[1],label:[1],checked:[1028],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[8],onChange:[16],onInput:[16],isChecked:[32]}]);function xi(){if(typeof customElements>"u")return;["dga-switch"].forEach(n=>{switch(n){case"dga-switch":customElements.get(n)||customElements.define(n,yi);break}})}const qi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"fe8b012425985c35ae85d5c2ed0cd45cc92b01c1",style:{padding:"50px",display:"flex",gap:"50px"}},e("div",{key:"cd9455dbfa85df5409c9c67e524b8a5a4c82c8d4"},e("h1",{key:"530320b11b37ba400d58b407b304af4d330280b1"},"Switch Example"),e("dga-switch",{key:"b527358f8b182bde27014bf6f96781a303dcb25c",label:"Switch Label",checked:!0,hasHelperText:!0,helperText:"When a Switch needs a further detailed explanation, it goes here.",alertMessage:!0,alertText:"Error/Warning message"})))}},[0,"cs-switch-usage"]);function Oa(){if(typeof customElements>"u")return;["cs-switch-usage","dga-switch"].forEach(n=>{switch(n){case"cs-switch-usage":customElements.get(n)||customElements.define(n,qi);break;case"dga-switch":customElements.get(n)||xi();break}})}const Fa=qi,Ra=Oa,_i=p(class extends k{constructor(){super(),this.__registerHost(),this.tabRefs=new Map,this.handleScroll=()=>{const n=this.getActiveDivId();n!==this.activeSectionId&&(this.activeSectionId=n||"")},this.sections=[],this.subTitle="sub",this.title="main",this.activeSectionId=""}componentWillLoad(){window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){window.removeEventListener("scroll",this.handleScroll)}moveTOSelectedId(n){try{const o=document.getElementById(n);o==null||o.scrollIntoView({behavior:"smooth"})}catch(o){console.error("Error moving to selected ID:",o)}}getActiveDivId(){const n=document.querySelectorAll("div[id]");for(const o of n){const i=o.getBoundingClientRect();if(i.top>=0&&i.left>=0&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&i.right<=(window.innerWidth||document.documentElement.clientWidth))return o.id}return null}handleAddPressed(n){const o=this.tabRefs.get(n);o==null||o.classList.add("pressed")}handleRemovePressed(n){const o=this.tabRefs.get(n);o==null||o.classList.remove("pressed")}renderTab(n){return e("li",null,e("a",{ref:o=>o&&this.tabRefs.set(n.Target,o),onClick:()=>this.moveTOSelectedId(n.Target),onMouseDown:()=>this.handleAddPressed(n.Target),onMouseUp:()=>this.handleRemovePressed(n.Target),onMouseOut:()=>this.handleRemovePressed(n.Target),class:`table-of-content__tab ${this.activeSectionId===n.Target?"table-of-content__tab-prefix":""}`},e("span",{class:"table-of-content__tab-label"},n.Name)))}renderSubTabs(n){var o;return e("ul",{class:"table-of-content__tab-sublist"},this.renderTab(n),(o=n.Children)===null||o===void 0?void 0:o.map(i=>e("ul",{class:"table-of-content__tab-sub-sublist"},this.renderTab(i))))}render(){return e("aside",{key:"7c86f4930f355008f475a3d77c6f67c10e1a5182",class:"table-of-content"},e("div",{key:"662a45a67227a2c41321e39a8049fc872fdd5312",class:"table-of-content__header"},e("p",{key:"b68ace119c5744aaaf6bb1643c292d51aaf461a6",class:"text-sm-regular"},this.subTitle),e("h4",{key:"eb91eca0efb1597fe65822c70fabe964c00a1d74",class:"text-xl-semibold"},this.title)),e("div",{key:"9a65b6de481bedca695f3bcc5f538799a1f55589",class:"table-of-content__body"},e("ul",{key:"16a62a33372874c6126d63c37297327c8c555be2",class:"table-of-content__tab-list"},this.sections.map(n=>n.Children?e("div",null,this.renderTab(n),n.Children.map(o=>this.renderSubTabs(o))):this.renderTab(n)))))}},[0,"dga-table-of-content",{sections:[16],subTitle:[1,"sub-title"],title:[1],activeSectionId:[32]}]);function zi(){if(typeof customElements>"u")return;["dga-table-of-content"].forEach(n=>{switch(n){case"dga-table-of-content":customElements.get(n)||customElements.define(n,_i);break}})}const ji=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"8a480ef6a5177a474ba0dbc2bab1c2226786f6b1"},e("h1",{key:"08a3ba057cbe342ade87554abf5c92873dfa0ddd"},"Table of Content Example"),e("h2",{key:"dafdb03fdaf63d75ee25212cca1b35509357ff17"},"Horizontal Tabs"),e("dga-table-of-content",{key:"8a21bc2a58385268401801ad817334c4bac9d244",title:"On this Page",subTitle:"Page Title",sections:[{Name:"Section 1",Target:"#section_1",Children:[{Name:"Section 1_child_1",Target:"#section_1_child_1"},{Name:"Section 1_child_2",Target:"#section_1_child_2"},{Name:"Section 1_child_3",Target:"#section_1_child_3"}]},{Name:"Section 2",Target:"#section_2"},{Name:"Section 3",Target:"#section_3",Children:[{Name:"Section 3_child_1",Target:"#section_3_child_1"},{Name:"Section 3_child_2",Target:"#section_3_child_2",Children:[{Name:"Section 3_child_2_1",Target:"#section_3_child_2_1"},{Name:"Section 3_child_2_2",Target:"#section_3_child_2_2"},{Name:"Section 3_child_2_3",Target:"#section_3_child_2_3"}]},{Name:"Section 1_child_3",Target:"#section_1_child_3"}]},{Name:"Section 4",Target:"#section_4"},{Name:"Section 5",Target:"#section_5"},{Name:"Section 6",Target:"#section_6"}]}))}},[0,"cs-table-of-content-usage"]);function Ha(){if(typeof customElements>"u")return;["cs-table-of-content-usage","dga-table-of-content"].forEach(n=>{switch(n){case"cs-table-of-content-usage":customElements.get(n)||customElements.define(n,ji);break;case"dga-table-of-content":customElements.get(n)||zi();break}})}const Ua=ji,Ya=Ha,Ci=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"36907fa1e1b45ee4b65457cbe18e9e1893247f0f"},e("h1",{key:"cba11fb386495724294b18f7fa1a73558842adbf"},"Table Example"),e("div",{key:"4e7e8b04e8db2d518b72fec7947f340902e7b497",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"4d4650b433c343013b6c10898e8f65fbed52a1c3",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-file-upload",{key:"c25d0d3b7377105263eba5588dd3a975e640c7c4"})),e("div",{key:"331351409d7725e420e6df6ef5f19470e6d7ca4d",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-table-usage"]);function Xa(){if(typeof customElements>"u")return;["cs-table-usage","dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"cs-table-usage":customElements.get(n)||customElements.define(n,Ci);break;case"dga-file-upload":customElements.get(n)||Pe();break;case"dga-loading":customElements.get(n)||Mn();break}})}const Za=Ci,Wa=Xa,Ei=p(class extends k{constructor(){super(),this.__registerHost(),this.size="md",this.orientation="horizontal",this.external=!1,this.flush=!1,this.divider=!1,this.tabsList=[],this.extraClass=void 0,this.disabled=!1,this.activeTab=null}setActiveTab(n){this.activeTab=n}renderIcon(n,o){return e("dga-icon",Object.assign({icon:n},o))}render(){var n;return e("ul",{key:"663ef534c98b06761c077edc7e5f6893094b4c15",class:`tabs-list tabs-list--${this.orientation} ${this.divider?"tabs-list--divider":""} ${this.flush?"flush":""} ${this.extraClass}`},(n=this.tabsList)===null||n===void 0?void 0:n.map((o,i)=>e("li",{key:i},this.external?e("a",{href:o.link,class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:h=>{h.preventDefault(),!this.disabled&&this.setActiveTab(i)}},(o==null?void 0:o.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(o==null?void 0:o.tabIcon,o==null?void 0:o.iconProps)),e("div",{class:"tabs-list__label"},o==null?void 0:o.label)):e("a",{href:"#",class:`tabs-list__item tabs-list__item--${this.size} ${this.activeTab===i?"tabs-list__item--active":""} ${this.disabled?"disabled":""}`,onClick:h=>{h.preventDefault(),!this.disabled&&this.setActiveTab(i),o!=null&&o.onClick&&(o==null||o.onClick(h))}},(o==null?void 0:o.tabIcon)&&e("div",{class:"tabs-list__icon"},this.renderIcon(o==null?void 0:o.tabIcon,o==null?void 0:o.iconProps)),e("div",{class:"tabs-list__label"},o==null?void 0:o.label)))),this.orientation==="horizontal"&&e("dga-button",{key:"6b045b6f6e70e31da86c9f6c9c55876de6921ea8",iconOnly:!0,iconProps:{size:17,variant:"solid"},iconType:"MoreHorizontalCircle01Icon",label:"Button",onClick:()=>{},size:"md",variant:"subtle",disabled:this.disabled}))}},[0,"dga-tabs",{size:[1],orientation:[1],external:[4],flush:[4],divider:[4],tabsList:[16],extraClass:[1,"extra-class"],disabled:[4],activeTab:[32]}]);function $i(){if(typeof customElements>"u")return;["dga-tabs","dga-button","dga-icon"].forEach(n=>{switch(n){case"dga-tabs":customElements.get(n)||customElements.define(n,Ei);break;case"dga-button":customElements.get(n)||tn();break;case"dga-icon":customElements.get(n)||I();break}})}const Si=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"777b9730438988765d9eee1d274dc3f793fe19b3"},e("h1",{key:"04546945496c3e275efd257811348ab9c9e18fc6"},"Tabs Example"),e("h2",{key:"6f924674dcc18de77f2222426b3c78e277c16e19"},"Horizontal Tabs"),e("dga-tabs",{key:"1942a2b4c725fcf378bd010255b7b50340095814",size:"md",orientation:"horizontal",flush:!1,external:!0,divider:!0,tabsList:[{label:"First Tab",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Second Tab",link:"#",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Third Tab",link:"#",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Fourth Tab",link:"#",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})}]}),e("h2",{key:"d17cde4011bb9e9b0ea161f7c4473f536d161648"},"Disabled Tabs"),e("dga-tabs",{key:"9083ab9710f5520a3ae86ab827975a9fd223fa82",size:"md",orientation:"horizontal",flush:!1,external:!0,divider:!0,disabled:!0,tabsList:[{label:"First Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Second Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Third Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Fourth Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})}]}))}},[0,"cs-tabs-usage"]);function Va(){if(typeof customElements>"u")return;["cs-tabs-usage","dga-button","dga-icon","dga-tabs"].forEach(n=>{switch(n){case"cs-tabs-usage":customElements.get(n)||customElements.define(n,Si);break;case"dga-button":customElements.get(n)||tn();break;case"dga-icon":customElements.get(n)||I();break;case"dga-tabs":customElements.get(n)||$i();break}})}const Ga=Si,Ja=Va,Mi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"dba0c5fb63c5cbda25daf3aa7234903defbe7edd"},e("h1",{key:"be86f50d18552a5156b34c0cd2d0f25761814768"},"Tag Example"),e("div",{key:"d43eeb7ae9398ea558f21ff5e60209246e897f08",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"27df660a3a88b11119b3bb65835abab427f94b75",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-tag",{key:"8b1625536660fc129360b5c2c4dc68d344b4a288",label:"Label",variant:"neutral",outlined:!1,rounded:!1,size:"lg",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"e7826a1ccd98049b80abdf561f45c3d08caab0df",label:"Label",variant:"neutral",outlined:!1,rounded:!1,size:"md",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"00fe7de5584a169d0764572bb229cd798421cd10",label:"Label",variant:"neutral",outlined:!1,rounded:!1,size:"sm",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"0dcdc8cc850ed6137df32d6b678ff32381d05c8a",label:"Label",variant:"success",outlined:!1,rounded:!1,size:"lg",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"879a7977d6f45a29186af2a32943584d70618ee9",label:"Label",variant:"success",outlined:!1,rounded:!1,size:"md",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"45d914d4b52c2c962397616fe10009cb50f1c4fe",label:"Label",variant:"success",outlined:!1,rounded:!1,size:"sm",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"cc47356336e1ee57908222c47c1506efd851cbe5",label:"Label",variant:"error",outlined:!1,rounded:!1,size:"lg",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"bd1744f80178cf6bfc7d7428125f26d73eac1694",label:"Label",variant:"error",outlined:!1,rounded:!1,size:"md",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"e9e7f60516dd493c08db847460b7191e1b88c558",label:"Label",variant:"error",outlined:!1,rounded:!1,size:"sm",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))})),e("div",{key:"b7402c93217d989f9aeb9fc43f98655d95adaeb4",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-tag",{key:"e49da1bdf1767704c8529f36d52ce0e5cda25114",label:"Label",variant:"error",size:"lg",outlined:!1,rounded:!1,iconOnly:!0,leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"61489cd1db51b3e179e77f00a82921ba2e34e99a",label:"Label",variant:"neutral",size:"md",outlined:!1,rounded:!1,iconOnly:!0,leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"9fd08419f873ac4c73b85db7f6a87c3c57f72a46",label:"Label",variant:"neutral",size:"sm",outlined:!1,rounded:!1,iconOnly:!0,leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}))))}},[0,"cs-tag-usage"]);function Ka(){if(typeof customElements>"u")return;["cs-tag-usage","dga-tag"].forEach(n=>{switch(n){case"cs-tag-usage":customElements.get(n)||customElements.define(n,Mi);break;case"dga-tag":customElements.get(n)||rn();break}})}const Qa=Mi,Na=Ka,nc={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},Di=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.size="lg",this.type="text",this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.inputPrefix=void 0,this.inputSuffix=void 0,this.icon=void 0,this.disabled=!1,this.readonly=!1,this.name=L(),this.value="",this.onChange=void 0,this.onInput=void 0,this.onBlur=void 0,this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"4dcb934aeddf253baa8ec435d69de876b2143d80",class:"dga-form-control"},this.label&&e("label",{key:"162ab177c2265f0f63263c23ea87a69e6314b117",class:"dga-label"},this.label),e("div",{key:"ea5ef6a7f57338cfd9cd59b1cd9430133cc5cc3d",class:`input input--${this.size} ${this.error?"input--error":""} ${this.variant!=="default"?`input--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"input--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},this.inputPrefix&&this.inputPrefix," ",this.icon&&e("span",{key:"1daee91b7ef941d4d389bd9892ef9ced379fe2ff",class:"input__icon"},this.icon),e("input",{key:"5c1cd3e0caccf52641e0d50e1d58a149d4e4f6cd",value:this.value,name:this.name,type:"text",onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput}),this.error?e("span",{class:`input__feedback-icon input__feedback-icon--error ${this.feedbackIconRing?"input__feedback-icon--ring":""}`}):this.feedbackIcon?e("span",{class:`input__feedback-icon input__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"input__feedback-icon--ring":""}`},nc[this.feedbackIconType]):null,this.inputSuffix&&this.inputSuffix," "))}},[0,"dga-text-input",{label:[1],placeholder:[1],size:[1],type:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],inputPrefix:[16],inputSuffix:[16],icon:[16],disabled:[4],readonly:[4],name:[1],value:[1],onChange:[16],onInput:[16],onBlur:[16],isActive:[32],isFocused:[32]}]);function Qn(){if(typeof customElements>"u")return;["dga-text-input","dga-icon"].forEach(n=>{switch(n){case"dga-text-input":customElements.get(n)||customElements.define(n,Di);break;case"dga-icon":customElements.get(n)||I();break}})}const Ii=p(class extends k{constructor(){super(),this.__registerHost(),this.value=""}render(){return e("div",{key:"3fa58fa2d8b4209a1d3dfb912b8cb9ff4ecc1a40"},e("h1",{key:"5a8f93536cda43c0c8b07ff63703e44806c05c15"},"Text Input Example"),e("div",{key:"2fc2b99406f8fbfc9ecbed33ae3c2492763a1ee5",style:{padding:"50px"}},e("div",{key:"aaddc1f912e2a1d343a31108f917a3be84249bcf",style:{display:"flex",flexDirection:"column",gap:"16px"}},e("dga-text-input",{key:"dd7c8b954caad33654f54dac80de7fb432720a77",readonly:!1,variant:"darker",label:"Label",value:"Entered text"}),e("dga-text-input",{key:"a9f17242503e0b67a59ade8044991352d9083573",disabled:!0,variant:"darker",label:"Label",value:"Entered text"}),e("dga-text-input",{key:"ab71bd6b5a559b5e5b9d18dfb1e62744b9a35797",readonly:!0,variant:"lighter",label:"Label",value:"Entered text"}))))}},[0,"cs-text-input-usage",{value:[32]}]);function ec(){if(typeof customElements>"u")return;["cs-text-input-usage","dga-icon","dga-text-input"].forEach(n=>{switch(n){case"cs-text-input-usage":customElements.get(n)||customElements.define(n,Ii);break;case"dga-icon":customElements.get(n)||I();break;case"dga-text-input":customElements.get(n)||Qn();break}})}const tc=Ii,oc=ec,xt={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},Pi=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.disabled=!1,this.readonly=!1,this.scrollbar=!0,this.resize=!0,this.cols=50,this.rows=4,this.onChange=void 0,this.onInput=void 0,this.name=L(),this.value="",this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"4678df57a25e4b4214f8a3eedce89ad58eee14c6",class:"dga-form-control"},this.label&&e("label",{key:"64fe22f1775463bcefe59df03fa24664f20306c7",class:"dga-label"},this.label),e("div",{key:"5f7f0e5d6aeb85a68eaac774937ceec985207033",class:`textarea textarea--lg ${this.error?"textarea--error":""} ${this.variant!=="default"?`textarea--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"disabled":""}`,ref:n=>this.inputContainerRef=n,"data-error":this.error},e("textarea",{key:"f7612d268f35637719af84eca6db27834a703337",onFocus:()=>this.isFocused=!0,onBlur:()=>this.isFocused=!1,class:`textarea__field ${this.resize?"textarea__field--resize":""} ${this.scrollbar?"":"textarea__field--hidden-scrollbar"}`,placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,rows:this.rows&&this.rows,cols:this.cols&&this.cols,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput,name:this.name,value:this.value}),this.error?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--error ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},xt.error):this.feedbackIcon?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},xt[this.feedbackIconType]):null))}},[0,"dga-textarea",{label:[1],placeholder:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],disabled:[4],readonly:[4],scrollbar:[4],resize:[4],cols:[2],rows:[2],onChange:[16],onInput:[16],name:[1],value:[1],isActive:[32],isFocused:[32]}]);function Ai(){if(typeof customElements>"u")return;["dga-textarea","dga-icon"].forEach(n=>{switch(n){case"dga-textarea":customElements.get(n)||customElements.define(n,Pi);break;case"dga-icon":customElements.get(n)||I();break}})}const Bi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"56cff5f36d7d120527ba4c0bd66298acc271c174"},e("h1",{key:"9196b21af6263ddd2edb3e1b893c3ff8dfcf2767"},"Textarea Example"),e("div",{key:"0e2b0d768cf36ec70cd442bc0d6ae66fc5c90c81",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"36e304d8e6c3c64b42d8ffe590325afd80c98337",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-textarea",{key:"8e79a47569780fe94e14897357e7f6c6f2095e96",label:"Label",placeholder:"Placeholder...",scrollbar:!0,readonly:!0}),e("dga-textarea",{key:"255df88eb9ed02a12b2d8c22e4b5845678844815",placeholder:"Placeholder...",scrollbar:!0})),e("div",{key:"0a6a1b0b3416b1ec234812e66abfbe8b26deb967",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-textarea-usage"]);function ic(){if(typeof customElements>"u")return;["cs-textarea-usage","dga-icon","dga-textarea"].forEach(n=>{switch(n){case"cs-textarea-usage":customElements.get(n)||customElements.define(n,Bi);break;case"dga-icon":customElements.get(n)||I();break;case"dga-textarea":customElements.get(n)||Ai();break}})}const hc=Bi,rc=ic,Ti=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={"success-check":{icon:"hgi-solid hgi-checkmark-circle-02",color:"var(--icon-success)!important"},"blue-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-info)!important"},"neutral-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-default-400)!important"},"neutral-?":{icon:"hgi-solid hgi-help-circle",color:"var(--icon-default-400)!important"},"warning-!-circle":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-warning)!important"},"warning-!-triangle":{icon:"hgi-solid hgi-sharp hgi-alert-02",color:"var(--icon-warning)!important"},"error-!":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-error)!important"},"error-x":{icon:"hgi-solid hgi-cancel-circle",color:"var(--icon-error)!important"}},this.handleMouseEnter=()=>{this.isHovered=!0},this.handleMouseLeave=()=>{this.isHovered=!1},this.beakPlacement="none",this.beakAlignment="center",this.direction="top",this.tooltipTitle=void 0,this.helperText=void 0,this.icon=!1,this.iconType="neutral-info",this.theme="light",this.isHovered=!1}render(){return e("div",{key:"7ab2e3c1efe7d1fa192ecabef6e4bd95c073e947",class:"tooltip","data-theme":this.theme,"data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`},this.isHovered&&e("div",{key:"b6bf77b9ab9a044c2e3c8ee62ae5632484142588",class:"tooltip-main","data-direction":this.direction},e("div",{key:"7521ed589305daaa081f3e9e16c1d9b61eb1650c",class:"tooltip-main__wrapper"},this.beakPlacement!=="none"&&e("span",{key:"ae4df3206524ca8486741045f19f8fbe5939564d",class:"tooltip-main__beak","data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`}),this.icon&&e("span",{key:"cd10284687f939efd294c115640a0325d7d09e14",class:"tooltip-main__icon"},e("i",{key:"4fe61da3397c6adfdb52704b8557f688adb68819",class:this.icons[this.iconType].icon,style:{color:this.icons[this.iconType].color,fontSize:"18px"}})," "),e("div",{key:"78356d68ca97eb59091ae72c6509bcf548203ba1",class:"tooltip-main__content flex-column"},this.tooltipTitle&&e("span",{key:"64b9efecca2a01a00d047aef5581b99b6ec88bd6",class:"tooltip-main__content__title"},this.tooltipTitle),this.helperText&&e("span",{key:"a4e79cca48429c82495837da5f0d4bbe03b2c8d3",class:"tooltip-main__content__helper-text"},this.helperText)))),e("div",{key:"5740440852031148f195cbc1e4e3ff77b91ad9b4",class:"tooltip-item",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},e("slot",{key:"f50b9168985e034eecc5a15283b2c2d967ad8b6d"})))}},[4,"dga-tooltip",{beakPlacement:[1,"beak-placement"],beakAlignment:[1,"beak-alignment"],direction:[1],tooltipTitle:[1,"tooltip-title"],helperText:[1,"helper-text"],icon:[4],iconType:[1,"icon-type"],theme:[1],isHovered:[32]}]);function Nn(){if(typeof customElements>"u")return;["dga-tooltip"].forEach(n=>{switch(n){case"dga-tooltip":customElements.get(n)||customElements.define(n,Ti);break}})}const Li=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"016666195faa50dfef8f87817ad33b52499e9ae5"},e("h1",{key:"86c02bcf1f8d5c3820adb9d3577898d645f3e68b"},"Tooltip Example"),e("div",{key:"49436a4c46260a7273d36a34e7ce0e25e67c9f8a",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"b428d46dc984ac573f2a52ae2242172e008166f9",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-tooltip",{key:"357c04f7fb6d1e3951c799e09afb345a9ad5700c",tooltipTitle:"Tooltip title",helperText:"Max width of tooltips is 240px - text will wrap automatically",direction:"right",theme:"light",icon:!0,iconType:"success-check",beakAlignment:"end",beakPlacement:"top"},"Hello")),e("div",{key:"c2c6e7ddbe887bb2aa0279f5643f5a5c4236e5f4",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-tooltip-usage",{activeStep:[32]}]);function gc(){if(typeof customElements>"u")return;["cs-tooltip-usage","dga-tooltip"].forEach(n=>{switch(n){case"cs-tooltip-usage":customElements.get(n)||customElements.define(n,Li);break;case"dga-tooltip":customElements.get(n)||Nn();break}})}const ac=Li,cc=gc,sc=`@charset "UTF-8";
|
|
831177
|
+
}`,Da=Ma,pi=p(class extends k{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.min=0,this.max=100,this.step=1,this.range=!0,this.label=void 0,this.showLabel=!0,this.showHelperText=!0,this.helperText=void 0,this.size="small",this.minValue=void 0,this.maxValue=void 0}calculatePositions(){const n=(this.minValue-this.min)/(this.max-this.min)*100,o=(this.maxValue-this.min)/(this.max-this.min)*100;this.minPos=n,this.maxPos=o,this.railColorStyle=this.range?{left:`${n}%`,width:`${o-n}%`}:{left:"0%",width:`${n}%`}}componentWillLoad(){this.minValue=this.min,this.maxValue=this.max,this.calculatePositions()}watchMinValue(n){this.minValue=n,this.calculatePositions()}watchMaxValue(n){this.maxValue=n,this.calculatePositions()}watchRangeValue(){this.calculatePositions()}handleMinChange(n){const o=n.target,i=this.range?Math.min(+o.value,this.maxValue-this.step):Math.min(+o.value);this.minValue=i,this.calculatePositions()}handleMaxChange(n){const o=n.target,i=Math.max(+o.value,this.minValue+this.step);this.maxValue=i,this.calculatePositions()}render(){return e("div",{key:"44c137c3677674aaf508632f049de494043ad887",class:`range-slider-wrapper ${this.size}`},e("div",{key:"6eda194f50a074e47bdd8171188b69bab84bb6b3",class:"range-slider-input-wrapper"},e("input",{key:"bb073808d75a227e7b9d8115460af4b9f15c9e4b",class:"range-slider-input",type:"range",value:this.minValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMinChange.bind(this)}),this.range&&e("input",{key:"e7dd80827e796d7b51f5d02e581fdddbae9a894f",class:"range-slider-input",type:"range",value:this.maxValue,min:this.min,max:this.max,step:this.step,onInput:this.handleMaxChange.bind(this)})),e("div",{key:"045ea2b4b4438612f927282e619435787312c6ed",class:"range-slider-container"},this.showLabel&&e("h3",{key:"b88024e5beb6b18138c94c997a17b7f13bd9266d"},this.label),e("div",{key:"e05c049c964b7ec8c7742810aefbeb9c7e15ce96",class:"range-slider-control-wrapper"},e("div",{key:"391dbfcc32b8b8f5e077a9ea3467a5b36462c211",class:"range-slider-control",style:{left:`${this.minPos}%`}}),e("div",{key:"f16f16b9c5a05a3dd28193c2e932345064f9123b",class:"range-slider-rail"},this.range&&e("div",{key:"2b2523733ae906ca28d4716d45e38a479a9bfd0a",class:"range-slider-number_left"},this.minValue),e("div",{key:"85fa6e24f62a57883a09667df4619535315a8398",class:"range-slider-inner-rail",style:this.railColorStyle}),this.range&&e("div",{key:"90056b30db4d4309a3cd781242beac9c099accac",class:"range-slider-number_right"},this.maxValue),!this.range&&e("div",{key:"aa31f886a516554b6cf566e52faa487b67e2da42",class:"range-slider-number_right"},this.minValue)),this.range&&e("div",{key:"e34fc4f35e8219854705a1e8f8e0ce842ebc78cb",class:"range-slider-control",style:{left:`${this.maxPos}%`}}),this.showHelperText&&e("div",{key:"67fc148766584801fcf20983e4c66bda98298f84",class:"range-slider-note"},e("div",{key:"3fbc9bdaaee71edb81f5b311602234888b3036d6",class:"range-slider-note-icon"},e("svg",{key:"31b49a3e02deb2bf7674598a73e399867b0147b2",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"4950f1bbe2725edf74597b625bd5094591a8643d","clip-path":"url(#clip0_17869_405)"},e("path",{key:"eefdaed761cd06ba890aaf02cd4acea6129e77c5",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"95feb3943918c8dbdc40b5ea02bc8d6f9d1316e2"},e("clipPath",{key:"13cbb4898a04f7b0e43aa570c38d484502cf8df2",id:"clip0_17869_405"},e("rect",{key:"de7de9fd905d7f38345192f54577581e9a4fad52",width:"16",height:"16",fill:"white"}))))),e("div",{key:"e3c7b5390df1408786d495aa7262e61998683648",class:"range-slider-note-content"},e("p",{key:"9e475cbc9777cc9f760df5026630686ed8ccc53a"},this.helperText))))))}static get watchers(){return{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}}static get style(){return Da}},[1,"dga-slider",{min:[2],max:[2],step:[2],range:[4],label:[1],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],helperText:[1,"helper-text"],size:[1],minValue:[32],maxValue:[32]},void 0,{min:["watchMinValue"],max:["watchMaxValue"],range:["watchRangeValue"]}]);function mi(){if(typeof customElements>"u")return;["dga-slider"].forEach(n=>{switch(n){case"dga-slider":customElements.get(n)||customElements.define(n,pi);break}})}const wi=p(class extends k{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.activeStep=1,this.minValue=10,this.maxValue=100}render(){return e(N,{key:"bf30b4b825f756d297355df3109ce78404011a79"},e("br",{key:"151ea90c74a4a1e1644dd4760984f98d635b0b51"}),e("dga-slider",{key:"7e59c7bfa8a96eaa24a80c350ad09cd23c57c9c9",min:this.minValue,max:this.maxValue,step:1,range:!0,size:"medium",helperText:"Helper Text Example",label:"Test"}),";",e("br",{key:"74cab4dc6bb8a2a696fe89b91df3568ee5d28ac0"}))}},[1,"cs-slider-usage",{activeStep:[32],minValue:[32],maxValue:[32]}]);function Ia(){if(typeof customElements>"u")return;["cs-slider-usage","dga-slider"].forEach(n=>{switch(n){case"cs-slider-usage":customElements.get(n)||customElements.define(n,wi);break;case"dga-slider":customElements.get(n)||mi();break}})}const Pa=wi,Aa=Ia,vi=p(class extends k{constructor(){super(),this.__registerHost(),this.data=[],this.rowDivider=!0,this.colDivider=!0,this.compact=!1,this.selectable=!0,this.alternate=!0,this.cells=[],this.contained=!0,this.getSelectedRows=void 0,this.sortedData=[],this.direction=!1}componentWillLoad(){this.initializeDirection(),this.initializeSortedData()}handleDataChange(){this.initializeSortedData()}initializeDirection(){document.dir?this.direction=document.dir==="rtl":document.documentElement.lang?this.direction=document.documentElement.lang==="ar":this.direction=!1}initializeSortedData(){this.sortedData=this.data.map(n=>(n.selected=!1,n))}handleSelectedRowChanges(n,o,i,h){const d=[...this.sortedData];d[o].selected=n,this.sortedData=d,this.getSelectedRows&&this.getSelectedRows({currentSelectedRowData:d[o],currentSelectedCellName:i,currentSelectedRowIndex:o,currentSelectedCellIndex:h})}render(){return e("div",{key:"dd27bb65d90afd7045905498a7205942b78b7acb",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"81afd10778682da53ed6fb6f23e17cea4ee709bc",class:`azm-structured-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"1b8c19494c063e457df2cb18fefdc350c93c51ed"},e("tr",{key:"f28154086ba76a3a43aac5deba0117c26631ab01",class:`${this.rowDivider?"row-divider":""}`},this.cells.map(({title:n},o)=>e("th",{key:o},n)))),e("tbody",{key:"70b2d41749b21bb85e3299b2275f434c4979b835"},this.sortedData.map((n,o)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""}`,key:o},this.cells.map(({El:i,customAttribute:h,propertyName:d,type:f,colSpan:l},b)=>e("td",Object.assign({key:b,colSpan:l||1},(h==null?void 0:h.key)&&{[h.key]:h.value||""},{class:`${this.compact?"compact":""} ${this.colDivider?"col-divider":""}`}),e("div",null,this.selectable&&e("span",null,e("input",{type:"checkbox",name:`${o}checkboxSelection`,checked:n.selected,id:`${o}checkboxSelection${d}`,onChange:w=>this.handleSelectedRowChanges(w.target.checked,o,d,b)})),f==="element"&&i?e(i,Object.assign({},n)):n[d]))))))))}static get watchers(){return{data:["handleDataChange"]}}},[0,"dga-structured-list",{data:[16],rowDivider:[4,"row-divider"],colDivider:[4,"col-divider"],compact:[4],selectable:[4],alternate:[4],cells:[16],contained:[4],getSelectedRows:[16],sortedData:[32],direction:[32]},void 0,{data:["handleDataChange"]}]);function yi(){if(typeof customElements>"u")return;["dga-structured-list"].forEach(n=>{switch(n){case"dga-structured-list":customElements.get(n)||customElements.define(n,vi);break}})}const xi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"5fa45ea59622e949b7e36428e216f4ca2edf263b"},e("h1",{key:"a77a895913a7f86b7494244697f6b2b2334c8fba"},"Structured List Example"),e("div",{key:"fbdf23448fcc920257e03f4f1896c2c40aca57e2",style:{padding:"50px"}},e("dga-structured-list",{key:"5ad6d2e5bf46179b8ae89e43ea75952cb213c383",cells:[{title:"ID",propertyName:"id",type:"propertyName"},{title:"Name",propertyName:"name",type:"propertyName"}],data:[{id:1,name:"Alice",selected:!1},{id:2,name:"Bob",selected:!1},{id:3,name:"Charlie",selected:!1}],rowDivider:!0,colDivider:!1,selectable:!0,getSelectedRows:n=>console.log(n)}),e("dga-structured-list",{key:"057541861b1fda0037b28d90ff33535cb9c0b97c",compact:!0,cells:[{title:"ID",propertyName:"id",type:"propertyName"},{title:"Name",propertyName:"name",type:"propertyName"}],data:[{id:1,name:"Alice",selected:!1},{id:2,name:"Bob",selected:!1},{id:3,name:"Charlie",selected:!1}],rowDivider:!0,selectable:!0,getSelectedRows:n=>console.log(n)})))}},[0,"cs-structured-list-usage"]);function Ba(){if(typeof customElements>"u")return;["cs-structured-list-usage","dga-structured-list"].forEach(n=>{switch(n){case"cs-structured-list-usage":customElements.get(n)||customElements.define(n,xi);break;case"dga-structured-list":customElements.get(n)||yi();break}})}const Ta=xi,La=Ba,qi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleActive=()=>{this.disabled||this.labelRef.classList.add("active")},this.handleRemoveActive=()=>{this.labelRef.classList.remove("active"),this.isChecked=!this.isChecked},this.handleFocus=()=>{this.labelRef.classList.add("focus")},this.handleFocusOut=()=>{this.labelRef.classList.remove("focus")},this.handleEscape=n=>{if(n.key==="Escape"){this.handleFocusOut();const o=this.el.querySelector("input");o==null||o.blur()}},this.color="brand",this.label=void 0,this.checked=!1,this.hasHelperText=void 0,this.helperText=void 0,this.alertMessage=void 0,this.alertText=void 0,this.disabled=!1,this.id=this.generateGuid(),this.name=this.generateGuid(),this.value=!0,this.onChange=void 0,this.onInput=void 0,this.isChecked=this.checked}generateGuid(){return Math.random().toString(36).substr(2,9)}componentDidLoad(){window.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){window.removeEventListener("keydown",this.handleEscape)}render(){return e("label",{key:"59019cb311081dd3b46228f799601c8da6941d96",ref:n=>this.labelRef=n,class:`switch ${this.color?`switch--${this.color}`:""}`,onMouseDown:this.handleActive,onChange:this.handleRemoveActive},e("div",{key:"1c38892b88f41d3644ea3aea30795ea4c42c5c23",class:"switch-main"},e("div",{key:"3099fc4a426a81bd102d39af33bb2836b7b56263",class:`switch-main__content ${this.disabled?"disabled":""}`},e("div",{key:"60f575323f656b5ea8b570e3eff8a12c87972c14",class:"switch-wrapper"},e("input",{key:"5d2c3ed22edde034236aed2fc28e9405a0fa74e9",type:"checkbox",name:this.name,value:this.value,id:this.id,disabled:this.disabled,onFocus:this.handleFocus,onBlur:this.handleFocusOut,onChange:this.onChange,onInput:this.onInput,checked:this.isChecked}),e("span",{key:"de16a8f3b0c2c68f4c0f8bf8c7f6ddeddc58b38d",class:`slider round ${this.isChecked?"slider--active":"slider--inactive"}`})),!this.hasHelperText&&!this.helperText?this.label&&e("span",{class:"switch__label"},this.label):e("div",{class:"flex-column"},e("span",{class:"switch__label"},this.label),e("span",{class:"switch__helper-text"},this.helperText))),this.alertMessage&&e("div",{key:"d50356a9ece647266c8ac41c6d66bfffb577d4ed",class:"switch__warning"},e("span",{key:"edb3bfc740c6d3f0dda721d9af248f16b42de88d",class:"switch__warning-icon"},e("svg",{key:"a7ae583552c2998436b583e28ce2761d59a9f48e",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},e("path",{key:"4136b090c523c8e25cf391fd2a6c3c72c39b197b",d:"M8 1.33333C4.324 1.33333 1.33333 4.324 1.33333 8C1.33333 11.676 4.324 14.6667 8 14.6667C11.676 14.6667 14.6667 11.676 14.6667 8C14.6667 4.324 11.676 1.33333 8 1.33333ZM8 13.3333C5.05467 13.3333 2.66667 10.9453 2.66667 8C2.66667 5.05467 5.05467 2.66667 8 2.66667C10.9453 2.66667 13.3333 5.05467 13.3333 8C13.3333 10.9453 10.9453 13.3333 8 13.3333ZM7.33333 4H8.66667V8H7.33333V4ZM7.33333 9.33333H8.66667V10.6667H7.33333V9.33333Z",fill:"currentColor"}))),e("span",{key:"637439aaad76fb85cd61a74534350e4f631d65b5",class:"switch__warning-text"},this.alertText))))}get el(){return this}},[0,"dga-switch",{color:[1],label:[1],checked:[1028],hasHelperText:[4,"has-helper-text"],helperText:[1,"helper-text"],alertMessage:[4,"alert-message"],alertText:[1,"alert-text"],disabled:[4],id:[1],name:[1],value:[8],onChange:[16],onInput:[16],isChecked:[32]}]);function _i(){if(typeof customElements>"u")return;["dga-switch"].forEach(n=>{switch(n){case"dga-switch":customElements.get(n)||customElements.define(n,qi);break}})}const zi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"32155dd754a1b35790e2f5819e958fde7171ed6a",style:{padding:"50px",display:"flex",gap:"50px"}},e("div",{key:"9941ae372b4955855fa0d0263b5ac4fb8cb6c9cb"},e("h1",{key:"7de72b5c9242f857362dd6d27b5de9130db609a5"},"Switch Example"),e("dga-switch",{key:"f72d5435615beaf5b0068265b5e1bfd062405ed0",label:"Switch Label",checked:!0,hasHelperText:!0,helperText:"When a Switch needs a further detailed explanation, it goes here.",alertMessage:!0,alertText:"Error/Warning message"})))}},[0,"cs-switch-usage"]);function Oa(){if(typeof customElements>"u")return;["cs-switch-usage","dga-switch"].forEach(n=>{switch(n){case"cs-switch-usage":customElements.get(n)||customElements.define(n,zi);break;case"dga-switch":customElements.get(n)||_i();break}})}const Fa=zi,Ra=Oa,ji=p(class extends k{constructor(){super(),this.__registerHost(),this.tabRefs=new Map,this.handleScroll=()=>{const n=this.getActiveDivId();n!==this.activeSectionId&&(this.activeSectionId=n||"")},this.sections=[],this.subTitle="sub",this.title="main",this.activeSectionId=""}componentWillLoad(){window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){window.removeEventListener("scroll",this.handleScroll)}moveTOSelectedId(n){try{const o=document.getElementById(n);o==null||o.scrollIntoView({behavior:"smooth"})}catch(o){console.error("Error moving to selected ID:",o)}}getActiveDivId(){const n=document.querySelectorAll("div[id]");for(const o of n){const i=o.getBoundingClientRect();if(i.top>=0&&i.left>=0&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&i.right<=(window.innerWidth||document.documentElement.clientWidth))return o.id}return null}handleAddPressed(n){const o=this.tabRefs.get(n);o==null||o.classList.add("pressed")}handleRemovePressed(n){const o=this.tabRefs.get(n);o==null||o.classList.remove("pressed")}renderTab(n){return e("li",null,e("a",{ref:o=>o&&this.tabRefs.set(n.Target,o),onClick:()=>this.moveTOSelectedId(n.Target),onMouseDown:()=>this.handleAddPressed(n.Target),onMouseUp:()=>this.handleRemovePressed(n.Target),onMouseOut:()=>this.handleRemovePressed(n.Target),class:`table-of-content__tab ${this.activeSectionId===n.Target?"table-of-content__tab-prefix":""}`},e("span",{class:"table-of-content__tab-label"},n.Name)))}renderSubTabs(n){var o;return e("ul",{class:"table-of-content__tab-sublist"},this.renderTab(n),(o=n.Children)===null||o===void 0?void 0:o.map(i=>e("ul",{class:"table-of-content__tab-sub-sublist"},this.renderTab(i))))}render(){return e("aside",{key:"7c86f4930f355008f475a3d77c6f67c10e1a5182",class:"table-of-content"},e("div",{key:"662a45a67227a2c41321e39a8049fc872fdd5312",class:"table-of-content__header"},e("p",{key:"b68ace119c5744aaaf6bb1643c292d51aaf461a6",class:"text-sm-regular"},this.subTitle),e("h4",{key:"eb91eca0efb1597fe65822c70fabe964c00a1d74",class:"text-xl-semibold"},this.title)),e("div",{key:"9a65b6de481bedca695f3bcc5f538799a1f55589",class:"table-of-content__body"},e("ul",{key:"16a62a33372874c6126d63c37297327c8c555be2",class:"table-of-content__tab-list"},this.sections.map(n=>n.Children?e("div",null,this.renderTab(n),n.Children.map(o=>this.renderSubTabs(o))):this.renderTab(n)))))}},[0,"dga-table-of-content",{sections:[16],subTitle:[1,"sub-title"],title:[1],activeSectionId:[32]}]);function Ci(){if(typeof customElements>"u")return;["dga-table-of-content"].forEach(n=>{switch(n){case"dga-table-of-content":customElements.get(n)||customElements.define(n,ji);break}})}const Ei=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"978157746d36e488e41a305ec268a55ed404e3a2"},e("h1",{key:"c0745112fcd1679f3f8c6c886580e44bafbd9cd2"},"Table of Content Example"),e("h2",{key:"2c93c1545235d89aa8269b006318cb3f1ea44596"},"Horizontal Tabs"),e("dga-table-of-content",{key:"9ea9e29acde746d587c80cefb29f8a9e094b629e",title:"On this Page",subTitle:"Page Title",sections:[{Name:"Section 1",Target:"#section_1",Children:[{Name:"Section 1_child_1",Target:"#section_1_child_1"},{Name:"Section 1_child_2",Target:"#section_1_child_2"},{Name:"Section 1_child_3",Target:"#section_1_child_3"}]},{Name:"Section 2",Target:"#section_2"},{Name:"Section 3",Target:"#section_3",Children:[{Name:"Section 3_child_1",Target:"#section_3_child_1"},{Name:"Section 3_child_2",Target:"#section_3_child_2",Children:[{Name:"Section 3_child_2_1",Target:"#section_3_child_2_1"},{Name:"Section 3_child_2_2",Target:"#section_3_child_2_2"},{Name:"Section 3_child_2_3",Target:"#section_3_child_2_3"}]},{Name:"Section 1_child_3",Target:"#section_1_child_3"}]},{Name:"Section 4",Target:"#section_4"},{Name:"Section 5",Target:"#section_5"},{Name:"Section 6",Target:"#section_6"}]}))}},[0,"cs-table-of-content-usage"]);function Ha(){if(typeof customElements>"u")return;["cs-table-of-content-usage","dga-table-of-content"].forEach(n=>{switch(n){case"cs-table-of-content-usage":customElements.get(n)||customElements.define(n,Ei);break;case"dga-table-of-content":customElements.get(n)||Ci();break}})}const Ua=Ei,Ya=Ha,$i=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"8f62698ddd617fd205c56a773309b7ce771bcb4e"},e("h1",{key:"5e13edc9a1638b4c26d7e958123d36577ab58b1f"},"Table Example"),e("div",{key:"dbe6893184ff27314600a3a2d6c4c29ef6ec97a5",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"1d1adb125acbdda360edf5638444fa7de2c53f1f",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-file-upload",{key:"46d02728d681d0fd77d71e7c1b27da3548c657fb"})),e("div",{key:"cdc1c53d05d2ed2008b9b7793eafb7306660ec60",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-table-usage"]);function Xa(){if(typeof customElements>"u")return;["cs-table-usage","dga-file-upload","dga-loading"].forEach(n=>{switch(n){case"cs-table-usage":customElements.get(n)||customElements.define(n,$i);break;case"dga-file-upload":customElements.get(n)||Ae();break;case"dga-loading":customElements.get(n)||Mn();break}})}const Za=$i,Wa=Xa,Si=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"9117c0bbc588fbd01cf6d636263f65a5366769d1"},e("h1",{key:"6956f5f01042227423318282d3e170d60ea5ec62"},"Tabs Example"),e("h2",{key:"1dd0f0d370cfb565ccd0541609d2d2d3a770af76"},"Horizontal Tabs"),e("dga-tabs",{key:"8c7f4fcdfecfa8d029b692f4411ece049f924817",size:"md",orientation:"horizontal",flush:!1,external:!0,divider:!0,tabsList:[{label:"First Tab",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Second Tab",link:"#",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Third Tab",link:"#",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Fourth Tab",link:"#",onClick:()=>{},tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})}]}),e("h2",{key:"29ec1a3d1a1297076f574e8454f0c5a83433af62"},"Disabled Tabs"),e("dga-tabs",{key:"bde4f98e512f548553d73ec8e9fdef480c0a4fa1",size:"md",orientation:"horizontal",flush:!1,external:!0,divider:!0,disabled:!0,tabsList:[{label:"First Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Second Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Third Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})},{label:"Fourth Tab",link:"#",tabIcon:e("i",{class:"hgi-stroke hgi-sharp hgi-home-01",style:{fontSize:"16px"}})}]}))}},[0,"cs-tabs-usage"]);function Va(){if(typeof customElements>"u")return;["cs-tabs-usage","dga-button","dga-icon","dga-tabs"].forEach(n=>{switch(n){case"cs-tabs-usage":customElements.get(n)||customElements.define(n,Si);break;case"dga-button":customElements.get(n)||nn();break;case"dga-icon":customElements.get(n)||D();break;case"dga-tabs":customElements.get(n)||Kn();break}})}const Ga=Si,Ja=Va,Mi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"5ce2e181bdbfa83c560c867d1d21394a3ad92825"},e("h1",{key:"d7a09dbd9f8a1cd0e4381c2c091d01ddce18eee3"},"Tag Example"),e("div",{key:"aac05247d311d0cede59868e1638a81ee2a3cacf",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"ee4a3d31ea574271f431b44bd2eb9e0fd958dd71",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-tag",{key:"827c873a855e6a8aa379069168db36ecec3573f0",label:"Label",variant:"neutral",outlined:!1,rounded:!1,size:"lg",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"b1b38561cceecc89cb24957e389ced84c3c3c69f",label:"Label",variant:"neutral",outlined:!1,rounded:!1,size:"md",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"75c03b9bf9eb7d69d6e3d401669906727fa5f22b",label:"Label",variant:"neutral",outlined:!1,rounded:!1,size:"sm",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"98f423e35af1103976fdd979762f32e841510754",label:"Label",variant:"success",outlined:!1,rounded:!1,size:"lg",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"9ade495b56e8471c29ef0c5fec09f20d3fd5345a",label:"Label",variant:"success",outlined:!1,rounded:!1,size:"md",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"0543cc7164417bdd6d6d233a7366422bc5889992",label:"Label",variant:"success",outlined:!1,rounded:!1,size:"sm",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"fe5adcadf0585e1e365a773b7babeb50f4d98cd7",label:"Label",variant:"error",outlined:!1,rounded:!1,size:"lg",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"0b23e4c81b40082c8f1a7b799832c57a474ab95f",label:"Label",variant:"error",outlined:!1,rounded:!1,size:"md",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"d65350c0769cb635d91c1dee2b8eb46f2c59b50c",label:"Label",variant:"error",outlined:!1,rounded:!1,size:"sm",leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"})),trailIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))})),e("div",{key:"7d237fb9806c847ab240a229ca7a577b246ecfbf",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-tag",{key:"bec98a59aef00e4cba58280c95293c364374a25e",label:"Label",variant:"error",size:"lg",outlined:!1,rounded:!1,iconOnly:!0,leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"3fd81a8cd9f3afcc438fd833c677119dd671d7c0",label:"Label",variant:"neutral",size:"md",outlined:!1,rounded:!1,iconOnly:!0,leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}),e("dga-tag",{key:"bc7d90a19f60bc986b7ad059b5ef297ae11e383e",label:"Label",variant:"neutral",size:"sm",outlined:!1,rounded:!1,iconOnly:!0,leadIcon:e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M8.24414 12C8.24414 11.5858 8.57993 11.25 8.99414 11.25H9.00088C9.41509 11.25 9.75088 11.5858 9.75088 12C9.75088 12.4142 9.41509 12.75 9.00088 12.75H8.99414C8.57993 12.75 8.24414 12.4142 8.24414 12Z",fill:"#161616"}),e("path",{d:"M8.4375 9.75C8.4375 10.0607 8.68934 10.3125 9 10.3125C9.31066 10.3125 9.5625 10.0607 9.5625 9.75V6.75C9.5625 6.43934 9.31066 6.1875 9 6.1875C8.68934 6.1875 8.4375 6.43934 8.4375 6.75V9.75Z",fill:"#161616"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.77149 1.51125C8.56983 1.24625 9.43018 1.24625 10.2285 1.51125C11.0236 1.77516 11.6478 2.40106 12.2749 3.28046C12.8999 4.15695 13.5906 5.37904 14.4809 6.95437L14.5158 7.01622C15.4062 8.59179 16.0969 9.81383 16.5273 10.8049C16.9598 11.8007 17.1752 12.6606 17.0033 13.4866C16.8302 14.3183 16.4035 15.0746 15.7821 15.6463C15.1622 16.2165 14.3181 16.4571 13.2552 16.5726C12.1984 16.6875 10.8159 16.6875 9.03657 16.6875H8.96344C7.18411 16.6875 5.80166 16.6875 4.74482 16.5726C3.68195 16.4571 2.83784 16.2165 2.21791 15.6463C1.59647 15.0746 1.16976 14.3183 0.996715 13.4866C0.824849 12.6606 1.04025 11.8007 1.47274 10.8049C1.90314 9.81383 2.59376 8.59179 3.48419 7.01622L3.51913 6.95437C4.40941 5.37905 5.10006 4.15695 5.7251 3.28046C6.35222 2.40106 6.97645 1.77516 7.77149 1.51125ZM9.8741 2.57897C9.30586 2.39035 8.69414 2.39034 8.12591 2.57896C7.67892 2.72734 7.22957 3.10838 6.64106 3.93365C6.05457 4.75607 5.39249 5.92608 4.48099 7.53895C3.56956 9.15171 2.90869 10.3226 2.50463 11.253C2.09987 12.185 1.99847 12.7785 2.09813 13.2574C2.22383 13.8616 2.53316 14.4077 2.97954 14.8183C3.33012 15.1408 3.87639 15.3466 4.86641 15.4542C5.85522 15.5617 7.17645 15.5625 9 15.5625C10.8236 15.5625 12.1448 15.5617 13.1336 15.4542C14.1236 15.3466 14.6699 15.1408 15.0205 14.8183C15.4668 14.4077 15.7762 13.8616 15.9019 13.2574C16.0015 12.7785 15.9001 12.185 15.4954 11.253C15.0913 10.3226 14.4304 9.15171 13.519 7.53895C12.6075 5.92608 11.9454 4.75607 11.359 3.93365C10.7704 3.10838 10.3211 2.72734 9.8741 2.57897Z",fill:"#161616"}))}))))}},[0,"cs-tag-usage"]);function Ka(){if(typeof customElements>"u")return;["cs-tag-usage","dga-tag"].forEach(n=>{switch(n){case"cs-tag-usage":customElements.get(n)||customElements.define(n,Mi);break;case"dga-tag":customElements.get(n)||rn();break}})}const Qa=Mi,Na=Ka,nc={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},Di=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.size="lg",this.type="text",this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.inputPrefix=void 0,this.inputSuffix=void 0,this.icon=void 0,this.disabled=!1,this.readonly=!1,this.name=L(),this.value="",this.onChange=void 0,this.onInput=void 0,this.onBlur=void 0,this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"920ae6a637fb680e5eddb17ee643b8139121347d",class:"dga-form-control"},this.label&&e("label",{key:"59a1c66eb3873a22a43d533c393ddb6041d489a6",class:"dga-label"},this.label),e("div",{key:"ab1004809016b1cee064f6dd346b83d81e4e33e3",class:`input input--${this.size} ${this.error?"input--error":""} ${this.variant!=="default"?`input--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"input--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},this.inputPrefix&&this.inputPrefix," ",this.icon&&e("span",{key:"29f9b413ca67af41f60682b84e5c9367ead619e3",class:"input__icon"},this.icon),e("input",{key:"dceb2fad5ee9c9f4d5abd36de520fecf5a3d0e39",value:this.value,name:this.name,type:"text",onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput}),this.error?e("span",{class:`input__feedback-icon input__feedback-icon--error ${this.feedbackIconRing?"input__feedback-icon--ring":""}`}):this.feedbackIcon?e("span",{class:`input__feedback-icon input__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"input__feedback-icon--ring":""}`},nc[this.feedbackIconType]):null,this.inputSuffix&&this.inputSuffix," "))}},[0,"dga-text-input",{label:[1],placeholder:[1],size:[1],type:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],inputPrefix:[16],inputSuffix:[16],icon:[16],disabled:[4],readonly:[4],name:[1],value:[1],onChange:[16],onInput:[16],onBlur:[16],isActive:[32],isFocused:[32]}]);function Nn(){if(typeof customElements>"u")return;["dga-text-input","dga-icon"].forEach(n=>{switch(n){case"dga-text-input":customElements.get(n)||customElements.define(n,Di);break;case"dga-icon":customElements.get(n)||D();break}})}const Ii=p(class extends k{constructor(){super(),this.__registerHost(),this.value=""}render(){return e("div",{key:"bb9162d1755d7529023c3932e8747b82f3886e9d"},e("h1",{key:"50bafa3f0d4d68c69b1e04a74e6fac0bdddf514f"},"Text Input Example"),e("div",{key:"f9e28212de2c650a4841b9264f8aa2c3aeaa5be7",style:{padding:"50px"}},e("div",{key:"c9b1c72fd2df35c1433076765823ce987da089ef",style:{display:"flex",flexDirection:"column",gap:"16px"}},e("dga-text-input",{key:"e5d7cef11056eb1f7b4f7d61d1234510aaa51991",readonly:!1,variant:"darker",label:"Label",value:"Entered text"}),e("dga-text-input",{key:"3bc7ef0cc65812ec970f5db98ca39ce56d5a8db0",disabled:!0,variant:"darker",label:"Label",value:"Entered text"}),e("dga-text-input",{key:"4aaf6e129d8948d9e14618c3f0fe85a4459444f8",readonly:!0,variant:"lighter",label:"Label",value:"Entered text"}))))}},[0,"cs-text-input-usage",{value:[32]}]);function ec(){if(typeof customElements>"u")return;["cs-text-input-usage","dga-icon","dga-text-input"].forEach(n=>{switch(n){case"cs-text-input-usage":customElements.get(n)||customElements.define(n,Ii);break;case"dga-icon":customElements.get(n)||D();break;case"dga-text-input":customElements.get(n)||Nn();break}})}const tc=Ii,oc=ec,qt={success:e("dga-icon",{icon:"CheckmarkCircle02Icon",variant:"solid"}),error:e("dga-icon",{icon:"AlertCircleIcon",variant:"solid"}),warning:e("dga-icon",{icon:"Alert02Icon",variant:"solid"})},Pi=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.placeholder=void 0,this.variant="default",this.error=!1,this.feedbackIcon=!1,this.feedbackIconType="success",this.feedbackIconRing=!1,this.disabled=!1,this.readonly=!1,this.scrollbar=!0,this.resize=!0,this.cols=50,this.rows=4,this.onChange=void 0,this.onInput=void 0,this.name=L(),this.value="",this.isActive=!1,this.isFocused=!1}render(){return e("div",{key:"b6fc044f924a05e5d96c3b87baac2b580308dcd6",class:"dga-form-control"},this.label&&e("label",{key:"0dc085f2a6ee2e2d65c65bd9aa28da5bce3072a4",class:"dga-label"},this.label),e("div",{key:"8940ec9e0ae73b33a19f0c915e0c48131c82bea6",class:`textarea textarea--lg ${this.error?"textarea--error":""} ${this.variant!=="default"?`textarea--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"disabled":""}`,ref:n=>this.inputContainerRef=n,"data-error":this.error},e("textarea",{key:"9cb6ebc01afcdfda83551e39a7f59d68452c6455",onFocus:()=>this.isFocused=!0,onBlur:()=>this.isFocused=!1,class:`textarea__field ${this.resize?"textarea__field--resize":""} ${this.scrollbar?"":"textarea__field--hidden-scrollbar"}`,placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,rows:this.rows&&this.rows,cols:this.cols&&this.cols,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput,name:this.name,value:this.value}),this.error?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--error ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},qt.error):this.feedbackIcon?e("span",{class:`textarea__feedback-icon textarea__feedback-icon--${this.feedbackIconType} ${this.feedbackIconRing?"textarea__feedback-icon--ring":""}`},qt[this.feedbackIconType]):null))}},[0,"dga-textarea",{label:[1],placeholder:[1],variant:[1],error:[4],feedbackIcon:[4,"feedback-icon"],feedbackIconType:[1,"feedback-icon-type"],feedbackIconRing:[4,"feedback-icon-ring"],disabled:[4],readonly:[4],scrollbar:[4],resize:[4],cols:[2],rows:[2],onChange:[16],onInput:[16],name:[1],value:[1],isActive:[32],isFocused:[32]}]);function Ai(){if(typeof customElements>"u")return;["dga-textarea","dga-icon"].forEach(n=>{switch(n){case"dga-textarea":customElements.get(n)||customElements.define(n,Pi);break;case"dga-icon":customElements.get(n)||D();break}})}const Bi=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"5ae6212019c5342933b0a7ced27e3898254a1c48"},e("h1",{key:"8edee89eb9c8b7f6da83c0a560f8a0e0e276d70d"},"Textarea Example"),e("div",{key:"70ff057ce1bf734a1c3d414c3bba0fb4633fb38b",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"f906408f9090e594a1755c36a709e5b2c7bd7f40",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-textarea",{key:"3538e3248e779edb953fa3f0d60929fc60155001",label:"Label",placeholder:"Placeholder...",scrollbar:!0,readonly:!0}),e("dga-textarea",{key:"4b322de9d31f8dccc03d00630eaf42eef2dfa31d",placeholder:"Placeholder...",scrollbar:!0})),e("div",{key:"074355e9ccee49d0a012b36aeb33ba81d7c3db0b",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-textarea-usage"]);function ic(){if(typeof customElements>"u")return;["cs-textarea-usage","dga-icon","dga-textarea"].forEach(n=>{switch(n){case"cs-textarea-usage":customElements.get(n)||customElements.define(n,Bi);break;case"dga-icon":customElements.get(n)||D();break;case"dga-textarea":customElements.get(n)||Ai();break}})}const hc=Bi,rc=ic,Ti=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={"success-check":{icon:"hgi-solid hgi-checkmark-circle-02",color:"var(--icon-success)!important"},"blue-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-info)!important"},"neutral-info":{icon:"hgi-solid hgi-information-circle",color:"var(--icon-default-400)!important"},"neutral-?":{icon:"hgi-solid hgi-help-circle",color:"var(--icon-default-400)!important"},"warning-!-circle":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-warning)!important"},"warning-!-triangle":{icon:"hgi-solid hgi-sharp hgi-alert-02",color:"var(--icon-warning)!important"},"error-!":{icon:"hgi-solid hgi-alert-circle",color:"var(--icon-error)!important"},"error-x":{icon:"hgi-solid hgi-cancel-circle",color:"var(--icon-error)!important"}},this.handleMouseEnter=()=>{this.isHovered=!0},this.handleMouseLeave=()=>{this.isHovered=!1},this.beakPlacement="none",this.beakAlignment="center",this.direction="top",this.tooltipTitle=void 0,this.helperText=void 0,this.icon=!1,this.iconType="neutral-info",this.theme="light",this.isHovered=!1}render(){return e("div",{key:"7ab2e3c1efe7d1fa192ecabef6e4bd95c073e947",class:"tooltip","data-theme":this.theme,"data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`},this.isHovered&&e("div",{key:"b6bf77b9ab9a044c2e3c8ee62ae5632484142588",class:"tooltip-main","data-direction":this.direction},e("div",{key:"7521ed589305daaa081f3e9e16c1d9b61eb1650c",class:"tooltip-main__wrapper"},this.beakPlacement!=="none"&&e("span",{key:"ae4df3206524ca8486741045f19f8fbe5939564d",class:"tooltip-main__beak","data-beak-direction":`${this.beakPlacement}-${this.beakAlignment}`}),this.icon&&e("span",{key:"cd10284687f939efd294c115640a0325d7d09e14",class:"tooltip-main__icon"},e("i",{key:"4fe61da3397c6adfdb52704b8557f688adb68819",class:this.icons[this.iconType].icon,style:{color:this.icons[this.iconType].color,fontSize:"18px"}})," "),e("div",{key:"78356d68ca97eb59091ae72c6509bcf548203ba1",class:"tooltip-main__content flex-column"},this.tooltipTitle&&e("span",{key:"64b9efecca2a01a00d047aef5581b99b6ec88bd6",class:"tooltip-main__content__title"},this.tooltipTitle),this.helperText&&e("span",{key:"a4e79cca48429c82495837da5f0d4bbe03b2c8d3",class:"tooltip-main__content__helper-text"},this.helperText)))),e("div",{key:"5740440852031148f195cbc1e4e3ff77b91ad9b4",class:"tooltip-item",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},e("slot",{key:"f50b9168985e034eecc5a15283b2c2d967ad8b6d"})))}},[4,"dga-tooltip",{beakPlacement:[1,"beak-placement"],beakAlignment:[1,"beak-alignment"],direction:[1],tooltipTitle:[1,"tooltip-title"],helperText:[1,"helper-text"],icon:[4],iconType:[1,"icon-type"],theme:[1],isHovered:[32]}]);function ne(){if(typeof customElements>"u")return;["dga-tooltip"].forEach(n=>{switch(n){case"dga-tooltip":customElements.get(n)||customElements.define(n,Ti);break}})}const Li=p(class extends k{constructor(){super(),this.__registerHost(),this.activeStep=1}render(){return e("div",{key:"a1e5bae15be1c41970553ee2c556eb38a948dfa0"},e("h1",{key:"b3efafee82159a40fe716f6d4be1408512637b97"},"Tooltip Example"),e("div",{key:"7395793416f1ca0d86bb679982acb3217d833fc7",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"47fd17e1803429a4963d37409e96b85785f92b9a",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-tooltip",{key:"96f3cd8be842bc2d7c253415cde1a6573cd82e86",tooltipTitle:"Tooltip title",helperText:"Max width of tooltips is 240px - text will wrap automatically",direction:"right",theme:"light",icon:!0,iconType:"success-check",beakAlignment:"end",beakPlacement:"top"},"Hello")),e("div",{key:"8f7ac9c68e846b3335c5b985dbab73ffa38fb4f2",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"cs-tooltip-usage",{activeStep:[32]}]);function gc(){if(typeof customElements>"u")return;["cs-tooltip-usage","dga-tooltip"].forEach(n=>{switch(n){case"cs-tooltip-usage":customElements.get(n)||customElements.define(n,Li);break;case"dga-tooltip":customElements.get(n)||ne();break}})}const ac=Li,cc=gc,sc=`@charset "UTF-8";
|
|
831177
831178
|
/* first line of file */
|
|
831178
831179
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
|
|
831179
831180
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
|
|
@@ -1246606,8 +1246607,8 @@ a:focus {
|
|
|
1246606
1246607
|
|
|
1246607
1246608
|
.flex-align-stretch {
|
|
1246608
1246609
|
align-items: stretch;
|
|
1246609
|
-
}`,dc=sc,Oi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleClick=()=>{this.isCurrentMonth&&this.onSelect&&(console.log(this.date,"this.date"),this.onSelect(this.date))},this.handleAddPressed=n=>{n.currentTarget.classList.add("active")},this.handleRemovePressed=n=>{n.currentTarget.classList.remove("active")},this.date=void 0,this.isCurrentMonth=void 0,this.isSelected=void 0,this.isToday=void 0,this.midRange=!1,this.isFirstRangeChild=!1,this.isLastRangeChild=!1,this.onSelect=void 0}render(){let n="date-cell";return this.isCurrentMonth||(n+=" date-cell--not-current-month"),this.isSelected&&(n+=" date-cell--selected"),this.isToday&&(n+=" date-cell--today"),this.midRange&&(n+=" date-cell--mid-range"),this.isFirstRangeChild&&(n+=" date-cell--mid-range--first-child"),this.isLastRangeChild&&(n+=" date-cell--mid-range--last-child"),e("button",{key:"bcf76d259c0db42e62caab6d1e5e64962dd58b04",type:"button",class:n,onClick:this.handleClick,onMouseDown:this.handleAddPressed,onMouseUp:this.handleRemovePressed,onMouseOut:this.handleRemovePressed,disabled:!this.isCurrentMonth},e("div",{key:"a7920b28cfc58f80801a02e71822cadd6ee6853c",class:"date-cell__label"},e("span",{key:"490ab9fad29fc7465616538faccc1adcf17a48a9"},this.date.getDate())))}static get style(){return dc}},[0,"date-cell",{date:[16],isCurrentMonth:[4,"is-current-month"],isSelected:[4,"is-selected"],isToday:[4,"is-today"],midRange:[4,"mid-range"],isFirstRangeChild:[4,"is-first-range-child"],isLastRangeChild:[4,"is-last-range-child"],onSelect:[16]}]);function Be(){if(typeof customElements>"u")return;["date-cell"].forEach(n=>{switch(n){case"date-cell":customElements.get(n)||customElements.define(n,Oi);break}})}const fc=Oi,lc=Be,bc=Xt,uc=Zt,kc=Gt,pc=Jt,Fi=p(class extends k{constructor(){super(),this.__registerHost(),this.breadcrumbClick=hn(this,"breadcrumbClick",7),this.breadcrumbItems=[],this.items="[]"}componentWillLoad(){this.handleItemsChange(this.items)}handleItemsChange(n){try{this.breadcrumbItems=this.renderItems(JSON.parse(n))}catch(o){console.error("Invalid JSON in items prop:",o)}}isEllipsisItem(n){return n.ellipsis===!0}renderItems(n){return n.length<=5?n:[n[0],{ellipsis:!0},...n.slice(-2)]}handleClick(n,o,i){i.disabled||this.breadcrumbClick.emit({e:n,link:o,item:i})}render(){return e("nav",{key:"d4d18da600325dd3c70481ed7520638e6a913cfa","aria-label":"breadcrumb"},e("ul",{key:"d43fe0f906498ccbf7f2fb41166a600b81e521bd",class:"breadcrumb"},this.breadcrumbItems.map((n,o)=>{if(this.isEllipsisItem(n))return e("li",{key:o,class:"breadcrumb-item ellipsis"},e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{href:"#",class:"link link--sm link--neutral"},"..."));const i=o===this.breadcrumbItems.length-1,h=o===0;return e("li",{key:o,class:{"breadcrumb-item":!0,active:i},"aria-current":i?"page":void 0},n.path&&!i?e(N,null,!h&&e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:d=>this.handleClick(d,n.path,n),class:{"link link--sm link--neutral":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))):e(N,null,e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:d=>this.handleClick(d,n.path,n),class:{"link link--sm link--neutral link--disabled":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))))})))}static get watchers(){return{items:["handleItemsChange"]}}},[0,"dga-breadcrumbs",{items:[1]},void 0,{items:["handleItemsChange"]}]);function mc(){if(typeof customElements>"u")return;["dga-breadcrumbs","dga-icon"].forEach(n=>{switch(n){case"dga-breadcrumbs":customElements.get(n)||customElements.define(n,Fi);break;case"dga-icon":customElements.get(n)||I();break}})}const wc=Fi,vc=mc,yc=Qt,xc=tn,qc=eo,_c=to,Ri=p(class extends k{constructor(){super(),this.__registerHost(),this.getRealisticPath=n=>n.map((o,i)=>`${i===0?"M":"L"} ${o.x} ${o.y}`).join(" "),this.type="realistic",this.trend="positive",this.size="lg",this.showMarker=!1,this.data=[],this.lineColor=this.trend==="positive"?"#067647":"#B42318",this.fillColor=this.trend==="positive"?"#079455":"#D92D20",this.width=this.size==="lg"?328:128,this.height=64}getLinePath(){const n=this.getPoints();switch(this.type){case"realistic":return this.getRealisticPath(n);case"wavy":return this.getWavyPath(n);case"straight":return this.getStraightPath(n);case"layers":return this.getSmoothPath(n);default:return""}}getPoints(){return this.data.map((n,o)=>({x:o/(this.data.length-1)*this.width,y:this.height-n/Math.max(...this.data)*this.height}))}getSmoothPath(n){return n.reduce((o,i,h,d)=>{if(h===0)return`M ${i.x},${i.y}`;const f=d[h-1],l=(f.x+i.x)/2;return`${o} C ${l},${f.y} ${l},${i.y} ${i.x},${i.y}`},"")}getWavyPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} Q ${i.x-10},${i.y+10} ${i.x},${i.y}`,"")}getStraightPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} L ${i.x},${i.y}`,"")}render(){const n=this.getLinePath(),o=`${n} L 129 65 L 1 65 Z`;return e("svg",{key:"39037b1cb9e3ca4c7b62fbdc6bb7904ceeded3c8",width:"130",height:"66",viewBox:"0 0 130 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("mask",{key:"22be63443a51d139288b4af23eb6b6ed16837a0d",id:"mask0",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"128",height:"64"},e("rect",{key:"c0b3936e9cbd44e3756dffd5bbc2589d18c214bb",width:"128",height:"64",transform:"translate(1 1)",fill:"url(#paint0_linear)"})),e("g",{key:"20470a586985efdaca15adaa16e3cc619b43f553",mask:"url(#mask0)"},e("path",{key:"98b581ed2eda0abb363fa83fcea6b57d10f37298",opacity:"0.2",d:o,fill:"#079455"})),e("path",{key:"f099bea3c5b5033f4035178a80a665f1cf937966",d:n,stroke:"#067647","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),e("g",{key:"0658128bc343d7403aeb898f472ab7f691601f12",opacity:"0.2"},e("rect",{key:"714241fa63193068cfbe6d271e60daff34e842d3",x:"76",y:"5",width:"20",height:"20",rx:"10",stroke:"#067647","stroke-width":"2"})),e("rect",{key:"0b60b92efd3ba6a69cc174c41ff98307909cbe0b",x:"81",y:"10",width:"10",height:"10",rx:"5",fill:"white"}),e("rect",{key:"c87dffa52229ce8a73c09e85e7be3820ba4d5780",x:"81",y:"10",width:"10",height:"10",rx:"5",stroke:"#067647","stroke-width":"2"}),e("defs",{key:"236058fd11c3ee879fe6dabf7211f0c2c0a21376"},e("linearGradient",{key:"38ee15538e4b8760e4bc4f6779388cac52ee6f8b",id:"paint0_linear",x1:"64",y1:"0",x2:"64",y2:"64",gradientUnits:"userSpaceOnUse"},e("stop",{key:"62e8463a554a7cc3bac6ad19dfb71a7e0eafcd34"}),e("stop",{key:"c0278ef166adc952e77849bb931ae10a1c254788",offset:"1","stop-opacity":"0"}))))}},[0,"dga-chart-v2",{type:[1],trend:[1],size:[1],showMarker:[4,"show-marker"],data:[16],lineColor:[32],fillColor:[32],width:[32],height:[32]}]);function Hi(){if(typeof customElements>"u")return;["dga-chart-v2"].forEach(n=>{switch(n){case"dga-chart-v2":customElements.get(n)||customElements.define(n,Ri);break}})}const zc=Ri,jc=Hi,Ui=p(class extends k{constructor(){super(),this.__registerHost(),this.type="realistic",this.trend="positive",this.size="lg",this.showMarker=!1,this.data=[],this.lineColor=this.trend==="positive"?"#067647":"#B42318",this.fillColor=this.trend==="positive"?"#079455":"#D92D20",this.width=this.size==="lg"?328:128,this.height=64}handleSizeChange(){this.width=this.size==="lg"?328:128}getLinePath(){const n=this.getPoints();switch(this.type){case"realistic":return this.getSmoothPath(n);case"wavy":return this.getWavyPath(n);case"straight":return this.getStraightPath(n);case"layers":return this.getSmoothPath(n);default:return""}}getPoints(){return this.data.map((n,o)=>({x:o/(this.data.length-1)*this.width,y:this.height-n/Math.max(...this.data)*this.height}))}getSmoothPath(n){return n.reduce((o,i,h,d)=>{if(h===0)return`M ${i.x},${i.y}`;const f=d[h-1],l=(f.x+i.x)/2;return`${o} C ${l},${f.y} ${l},${i.y} ${i.x},${i.y}`},"")}getWavyPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} Q ${i.x-10},${i.y+10} ${i.x},${i.y}`,"")}getStraightPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} L ${i.x},${i.y}`,"")}getAreaPath(){return`${this.getLinePath()} L ${this.width},${this.height} L 0,${this.height} Z`}render(){const n=this.getLinePath(),o=this.getAreaPath();return e("svg",{key:"51168bffbab106dfe9183604eb317cd03cfde81c",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`},e("defs",{key:"a37231447b2151f29637d3989aa2e7b7d1429613"},e("linearGradient",{key:"51924102685dd737c4ee24a9e08aa11161a13a5b",id:"areaGradient",x1:"0",x2:"0",y1:"0",y2:"1"},e("stop",{key:"6cf06627f38f9905e52cc0bdc9a3e36be5940125",offset:"0%","stop-color":this.fillColor,"stop-opacity":"0.25"}),e("stop",{key:"3dd51645b79561f2d84b323f9cbb2ecff64d909c",offset:"100%","stop-color":this.fillColor,"stop-opacity":"0"}))),e("path",{key:"63241183cd329c4cc7a3df0e668705e2c84b21c6",d:o,fill:"url(#areaGradient)"}),e("path",{key:"b87ab96a65a7ed81f5e093376b897bd40caa1829",d:n,fill:"none",stroke:this.lineColor,"stroke-width":"2"}),this.showMarker&&this.getPoints().map(i=>e("circle",{cx:i.x,cy:i.y,r:"4",fill:"white",stroke:this.lineColor,"stroke-width":"2"})))}static get watchers(){return{size:["handleSizeChange"]}}},[0,"dga-chart",{type:[1],trend:[1],size:[1],showMarker:[4,"show-marker"],data:[16],lineColor:[32],fillColor:[32],width:[32],height:[32]},void 0,{size:["handleSizeChange"]}]);function Te(){if(typeof customElements>"u")return;["dga-chart"].forEach(n=>{switch(n){case"dga-chart":customElements.get(n)||customElements.define(n,Ui);break}})}const Cc=Ui,Ec=Te,$c=no,Sc=Sn,Mc=ho,Dc=ro,Yi=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.sizes={"200px":200,"160px":160,"120px":120,"80px":80,"64px":64},this.size="200px",this.text=void 0,this.variant="primary",this.icon=void 0,this.percentage=0,this.internalPercentage=void 0}updateInternalPercentage(){this.internalPercentage=this.variant==="success"?100:this.percentage}componentWillLoad(){this.updateInternalPercentage()}render(){const n=this.sizes[this.size]/10,o=(this.sizes[this.size]-n)/2,i=2*Math.PI*o,h=i*(1-this.internalPercentage/100);return e("div",{key:"ba807f5e917f0cc2ba71d707ce081e8e7304f06e",class:"circular-progress-bar","aria-size":this.size},e("div",{key:"2b9c815f693defd2a3de8e1cd8cd588d51109dbe",class:"circular-progress-bar__label"},this.variant==="success"&&this.icon&&e("i",{key:"be46062808e57e454012a4853aa1296a2f1156ca",class:`circular-progress-bar__label--icon ${this.icons[this.icon]}`}),this.variant!=="success"&&e("h4",{key:"d461cb92d3c937ba956ee2087b2a93e41a62a135",class:"circular-progress-bar__label--percentage"},this.internalPercentage,"%"),this.text&&e("h5",{key:"e2d3fd543e1cf2c867504a533b595da65c24d061",class:`circular-progress-bar__label--text ${this.variant}`},this.text)),e("svg",{key:"66aaee3b702afa094d9c90cf0b64aee6fb9fad9d",width:this.sizes[this.size],height:this.sizes[this.size],viewBox:`0 0 ${this.sizes[this.size]} ${this.sizes[this.size]}`},e("circle",{key:"215d48906fb5d53671edaad0f8d2955298cca8ac",class:"track",fill:"none",stroke:"#e6e6e6",r:o,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n}),e("circle",{key:"e5b30951fdaa97fc394bf88c0ba282c599018738",class:`tail tail--${this.variant}`,fill:"none",stroke:"currentColor",r:o,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n,"stroke-linecap":"round","stroke-dasharray":i,"stroke-dashoffset":h,transform:`rotate(-180 ${this.sizes[this.size]/2} ${this.sizes[this.size]/2})`,style:{transition:"stroke-dashoffset 0.5s ease"}})))}static get watchers(){return{percentage:["updateInternalPercentage"],variant:["updateInternalPercentage"]}}},[0,"dga-circular-progress-bar",{size:[1],text:[1],variant:[1],icon:[1],percentage:[2],internalPercentage:[32]},void 0,{percentage:["updateInternalPercentage"],variant:["updateInternalPercentage"]}]);function Xi(){if(typeof customElements>"u")return;["dga-circular-progress-bar"].forEach(n=>{switch(n){case"dga-circular-progress-bar":customElements.get(n)||customElements.define(n,Yi);break}})}const Ic=Yi,Pc=Xi,Ac=ao,Bc=co,Tc=bo,Lc=uo,Oc=fo,Fc=lo;var Rc=function(t,n){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,i=Object.getOwnPropertySymbols(t);h<i.length;h++)n.indexOf(i[h])<0&&Object.prototype.propertyIsEnumerable.call(t,i[h])&&(o[i[h]]=t[i[h]]);return o};const Zi=p(class extends k{constructor(){super(),this.__registerHost(),this.sortData=(n="up",o,i)=>{if(n==="up"){const h=[...this.data.sort((d,f)=>f[o]>d[o]?1:d[o]>f[o]?-1:0)];this.sortedData=h}else if(n==="down"){const h=[...this.data.sort((d,f)=>d[o]>f[o]?1:f[o]>d[o]?-1:0)];this.sortedData=h}this.cells[i].sort=n=="down"?"up":"down"},this.handleSelectedRowChanges=(n,o)=>{const i=[...this.data];i[o].selected=n,this.sortedData=i,this.getSelectedRows&&this.getSelectedRows({selectedRows:i.filter(h=>h.selected),currentSelectedRow:i[o],currentSelectedRowIndex:o})},this.selectAll=n=>{const o=[...this.data];o.forEach(i=>i.selected=n),this.sortedData=o,this.getSelectedRows&&this.getSelectedRows({selectedRows:o})},this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(o=>(o.selected=!1,o))];this.sortedData=n}render(){return e("div",{key:"8102c7419b110f8541c80944a67bbb6986e2bbf3",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"910be24f644da2a4e0bfa7ba604decf11dfd2b13",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"272bfac2cd722962fbdde8c2bea338fbf9862216"},e("tr",{key:"29b4046121ac9a5d9c3f1fe2e65337a35dbb58ac",class:`${this.rowDivider?"row-divider":""}`},this.showSelectCheckBox&&e("th",{key:"5312173764fe8fd4b05168b3f02b14281e49dcdd",style:{width:"20px"}},e("dga-checkbox",{key:"f5bc122b104ba6e793d86e2c013f333fc56b1b73",showBorderOnFocusAndFocusOute:!1,value:"true",onChange:n=>this.selectAll(n.target.checked)})),this.cells.map((n,o)=>{var{sort:i,isSort:h,propertyName:d,type:f}=n,l=Rc(n,["sort","isSort","propertyName","type"]);return e("th",{key:o},e("span",null,e("span",{class:"text"},l.title),e("span",{class:"icon-wrapper"},h&&i=="up"&&f=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("up",d,o)},e("dga-icon",{icon:"SortByUp02Icon"})),h&&(!i||i=="down")&&f=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("down",d,o)},e("dga-icon",{icon:"SortByDown02Icon"})),l.isFilter&&e("button",{class:"btn btn--sort btn--icon btn--md ",onClick:()=>this.pressOnFilter&&this.pressOnFilter(d)},e("dga-icon",{icon:"FilterIcon"})))))}))),e("tbody",{key:"c0115157925e52ebb2b54d92c6bf670ad0e4da93"},this.sortedData.map((n,o)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""} ${n.selected?"row-selected":""} `,key:o},this.showSelectCheckBox&&e("td",null,e("dga-checkbox",{name:o+"checkboxSelection",value:n.selected,id:o+"checkboxSelection",showBorderOnFocusAndFocusOute:!1,onChange:i=>this.handleSelectedRowChanges(i.target.checked,o),checked:n.selected})))))))}},[0,"dga-data-table",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function Hc(){if(typeof customElements>"u")return;["dga-data-table","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-data-table":customElements.get(n)||customElements.define(n,Zi);break;case"dga-checkbox":customElements.get(n)||Sn();break;case"dga-icon":customElements.get(n)||I();break}})}const Uc=Zi,Yc=Hc,qt=t=>{const n=t.getMonth(),o=t.getFullYear(),i=new Date(o,n+1,0).getDate();return Array.from({length:i},(h,d)=>new Date(o,n,d+1))},_t=t=>{const n=new Date(t.getFullYear(),t.getMonth(),1).getDay(),o=new Date(t.getFullYear(),t.getMonth(),0),i=[];for(let h=0;h<n;h++)i.unshift(new Date(o.getFullYear(),o.getMonth(),o.getDate()-h));return i},zt=t=>{const n=new Date(t.getFullYear(),t.getMonth()+1,0).getDay(),o=new Date(t.getFullYear(),t.getMonth()+1,1),i=[];for(let h=0;h<6-n;h++)i.push(new Date(o.getFullYear(),o.getMonth(),o.getDate()+h));return i},J=new Date,Wn=new Date(J);Wn.setDate(Wn.getDate()-1);const Wi=new Date(J);Wi.setHours(0,0,0,0);const Cn=new Date(J);Cn.setHours(23,59,59,999);const Vi=new Date(Wn);Vi.setHours(0,0,0,0);const Gi=new Date(Wn);Gi.setHours(23,59,59,999);const ne=new Date(J);ne.setDate(J.getDate()-J.getDay());const ee=new Date(J);ee.setDate(J.getDate()+(6-J.getDay()));const Ji=new Date(ne);Ji.setDate(ne.getDate()-7);const Ki=new Date(ee);Ki.setDate(ee.getDate()-7);const wn=new Date(J);wn.setDate(1);const ve=new Date(J);ve.setMonth(ve.getMonth()+1,0);const ye=new Date(wn);ye.setMonth(ye.getMonth()-1,1);const xe=new Date(wn);xe.setDate(xe.getDate()-1);const qe=new Date(wn);qe.setMonth(qe.getMonth()-3,1);const _e=new Date(wn);_e.setDate(_e.getDate()-1);const ze=new Date(J);ze.setDate(ze.getDate()-6);const je=new Date(J);je.setDate(je.getDate()-29);const Ce=new Date(J);Ce.setDate(Ce.getDate()-89);const Xc=[{label:"Today",range:()=>({startDate:Wi,endDate:Cn})},{label:"Yesterday",range:()=>({startDate:Vi,endDate:Gi})},{label:"This Week",range:()=>({startDate:ne,endDate:ee})},{label:"Last Week",range:()=>({startDate:Ji,endDate:Ki})},{label:"This Month",range:()=>({startDate:wn,endDate:ve})},{label:"Last Month",range:()=>({startDate:ye,endDate:xe})},{label:"Last 3 Months",range:()=>({startDate:qe,endDate:_e})},{label:"Last 7 Days",range:()=>({startDate:ze,endDate:Cn})},{label:"Last 30 Days",range:()=>({startDate:je,endDate:Cn})},{label:"Last 90 Days",range:()=>({startDate:Ce,endDate:Cn})}];function be(t,n){return t.getFullYear()===n.getFullYear()&&t.getMonth()===n.getMonth()&&t.getDate()===n.getDate()}const jt=t=>/^(?:January|February|March|April|May|June|July|August|September|October|November|December) (?:0?[1-9]|[12][0-9]|3[01]), (?:19|20)\d{2}$/.test(t)?(console.log("date is valid"),!0):(console.log("date is not valid"),!1),Qi=p(class extends k{constructor(){super(),this.__registerHost(),this.initialDate=new Date,this.range=!1,this.dualMonthView=!1,this.inputField=!1,this.submitButton=!1,this.qickOptions=!1,this.onSubmit=()=>{},this.onCancel=()=>{},this.currentMonth=this.initialDate,this.selectedDate=null,this.rangeDates={},this.inputDates={startDate:"",endDate:""}}get nextMonth(){return new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1)}get days(){return[..._t(this.currentMonth).slice(0,2),...qt(this.currentMonth),...zt(this.currentMonth).slice(0,2)]}get nextMonthDays(){return[..._t(this.nextMonth).slice(0,2),...qt(this.nextMonth),...zt(this.nextMonth).slice(0,2)]}formatDate(n){if(!n)return"";const o=new Date(n);return`${["January","February","March","April","May","June","July","August","September","October","November","December"][o.getMonth()]} ${o.getDate()}, ${o.getFullYear()}`}handleSelectDate(n){console.log(n,"reached"),this.range?this.rangeDates.startDate?this.rangeDates.endDate?this.rangeDates={startDate:n,endDate:null}:n>=this.rangeDates.startDate?this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:n}):this.rangeDates={startDate:n}:this.rangeDates={startDate:n}:this.selectedDate=n}handleInputDate(n){const o=n.target,{name:i,value:h}=o;this.inputDates=Object.assign(Object.assign({},this.inputDates),{[i]:h})}handleChangeMonth(n){this.currentMonth=n}isMidRange(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?n>this.rangeDates.startDate&&n<this.rangeDates.endDate:!1}isFirstRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.startDate.getTime():!1}isLastRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.endDate.getTime():!1}componentDidLoad(){this.inputField&&(this.rangeDates.startDate&&(this.inputDates=Object.assign(Object.assign({},this.inputDates),{startDate:this.formatDate(this.rangeDates.startDate)})),this.rangeDates.endDate?this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:this.formatDate(this.rangeDates.endDate)}):this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:""}))}render(){return e("div",{key:"b23fd66db579f9497a63e5642f15bc3fe82c5df9",class:"date-picker-root flex-column","data-dual-view":this.dualMonthView},e("div",{key:"3d9f1c682130c12697733ca6ccdbde8015e3f3c2",class:"flex"},this.qickOptions&&this.range&&e("div",{key:"774ff0296efd6cedbd1084437cc5aee2665ae476",class:"date-picker-root__quick-options"},e("span",{key:"9dad57887ae73fb5e7e8eddca8c1a3b45cefeda2",class:"text-md-regular"},"Qick options"),e("ul",{key:"a90e8b41abd5f5fb7fe6a60ffa646c3868a5c543",class:"options-list"},Xc.map(({label:n,range:o})=>e("li",{key:n},e("button",{class:"text-md-medium",onClick:()=>this.rangeDates=o},n))))),e("div",{key:"9073e99d8f58b6c75fd88a4ac62043f1d4ced6a8",class:"date-picker-root__main"},this.inputField&&e("div",{key:"79db534e0f643647e850807d2c7b488935e32949",class:"date-picker-root__main__inputs"},e("dga-text-input",{key:"9695a84857a3f78881ec7a334fcb017d91c5fa2f",placeholder:"Month DD, YYYY",name:"startDate",value:this.inputDates.startDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(jt(n.target.value)){const o=new Date(n.target.value);this.range?this.rangeDates.startDate?this.rangeDates.endDate?o>=this.rangeDates.endDate?this.rangeDates={startDate:o,endDate:o}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{startDate:o}):this.rangeDates={startDate:o,endDate:null}:this.rangeDates={startDate:o}:this.selectedDate=o}}}),this.range&&e("dga-text-input",{key:"bed10e9bb2e85ece567425645b3d91a3a11f886e",placeholder:"Month DD, YYYY",name:"endDate",value:this.inputDates.endDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(jt(n.target.value)){const o=new Date(n.target.value);this.range?this.rangeDates.endDate?this.rangeDates.startDate?o<=this.rangeDates.startDate?this.rangeDates={startDate:o,endDate:this.rangeDates.startDate}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:o}):this.rangeDates={startDate:o,endDate:null}:this.rangeDates.startDate?o<=this.rangeDates.startDate&&(this.rangeDates={startDate:o,endDate:this.rangeDates.startDate}):this.rangeDates={startDate:o,endDate:null}:this.selectedDate=o}}})),e("div",{key:"f0cd731cf41f3d11b134a8b28ace46879c7ad269",class:"date-picker-root__main__content-wrapper"},e("div",{key:"236ad574e102ff7fe535c515151b698a0f0f9d0a",class:"date-picker"},e("month-navigator",{key:"76419c88e96343f7fc901ecbf2c2ac3205ec5361",currentMonth:this.currentMonth,onChange:n=>this.handleChangeMonth(n),showArrows:!this.dualMonthView}),e("div",{key:"43d3f053132bfb88aa84f7d05166cf982fc964e1",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"84475736123581baba249358a4fea373bcee6930",class:"date-picker__date-grid"},this.days.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.currentMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&be(n,this.rangeDates.startDate)||!!this.rangeDates.endDate&&be(n,this.rangeDates.endDate):this.selectedDate?be(n,this.selectedDate):!1,isToday:new Date().toDateString()===n.toDateString(),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),midRange:this.isMidRange(n),onSelect:this.handleSelectDate})))),this.dualMonthView&&e("div",{key:"26b8b26272779d57a6c70f7bc98200e18fd4d76f",class:"date-picker"},e("month-navigator",{key:"e9f8baa8b9f180217548e132f8ba25df8f4d3f99",currentMonth:this.nextMonth,onChange:n=>{const o=n.getMonth()===this.currentMonth.getMonth()?new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()-1):new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1);this.handleChangeMonth(o)},showArrows:!0}),e("div",{key:"4b0294b820a3c58dea76e8eca5e7b44df2cb7de3",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"de244db6fc0b93e3093adc529e8aeb4fff836f69",class:"date-picker__date-grid"},this.nextMonthDays.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.nextMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&n.getTime()===this.rangeDates.startDate.getTime()||!!this.rangeDates.endDate&&n.getTime()===this.rangeDates.endDate.getTime():this.selectedDate?n.getTime()===this.selectedDate.getTime():!1,isToday:new Date().toDateString()===n.toDateString(),midRange:this.isMidRange(n),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),onSelect:this.handleSelectDate}))))))))}},[0,"dga-datepicker",{initialDate:[16],range:[4],dualMonthView:[4,"dual-month-view"],inputField:[4,"input-field"],submitButton:[4,"submit-button"],qickOptions:[4,"qick-options"],onSubmit:[16],onCancel:[16],currentMonth:[32],selectedDate:[32],rangeDates:[32],inputDates:[32]}]);function Ni(){if(typeof customElements>"u")return;["dga-datepicker","date-cell","dga-icon","dga-text-input"].forEach(n=>{switch(n){case"dga-datepicker":customElements.get(n)||customElements.define(n,Qi);break;case"date-cell":customElements.get(n)||Be();break;case"dga-icon":customElements.get(n)||I();break;case"dga-text-input":customElements.get(n)||Qn();break}})}const nh=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"d07a6c5a280ebbfa89ed69517b76a4e7ff339ed3"},e("h1",{key:"21960433541bef6d896061082b1d259a23c2b5c5"},"Datepicker Example"),e("div",{key:"e920f6227e18ee1df3bdbec195f4eb319f9bb989",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"788f5db1c249de9866422b575957f8bb7d08e4ef",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-datepicker",{key:"dfb95618c3052e445bab1164f11ffb19d5044ad5",inputField:!0}),e("dga-datepicker",{key:"4ef0f207e37ca7319d509cbe20e3e99000e408c5",range:!0})),e("div",{key:"b8e3a7954ca9ac02ad57fbba5845f65157d3f63d",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-datepicker-usage"]);function Zc(){if(typeof customElements>"u")return;["dga-datepicker-usage","date-cell","dga-datepicker","dga-icon","dga-text-input"].forEach(n=>{switch(n){case"dga-datepicker-usage":customElements.get(n)||customElements.define(n,nh);break;case"date-cell":customElements.get(n)||Be();break;case"dga-datepicker":customElements.get(n)||Ni();break;case"dga-icon":customElements.get(n)||I();break;case"dga-text-input":customElements.get(n)||Qn();break}})}const Wc=nh,Vc=Zc,Gc=Qi,Jc=Ni,eh=p(class extends k{constructor(){super(),this.__registerHost(),this.color="neutral"}render(){return e("span",{key:"a552ddba42564ac386f06ee46f84da9ce2e174e9",class:`dga-divider dga-divider--${this.color}`})}},[0,"dga-divider",{color:[1]}]);function Kc(){if(typeof customElements>"u")return;["dga-divider"].forEach(n=>{switch(n){case"dga-divider":customElements.get(n)||customElements.define(n,eh);break}})}const Qc=eh,Nc=Kc,ns=qo,es=_o,ts=jo,os=Co,is=So,hs=Pe,rs=Ao,gs=Bo,Le=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.icon=void 0,this.active=!1,this.extraClasses="",this.onClick=void 0}handleClick(n){n.preventDefault(),this.onClick&&this.onClick()}render(){return e("li",{key:"053de5905f50bc37c4fe22952e10699858308ce5"},e("a",{key:"f506f11eb012a07428659a603a979fc58eb5aeb0",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""} ${this.extraClasses}`,onClick:this.handleClick.bind(this)},e("span",{key:"4f41284200d4d0947e78f7a6003bce094e85b5ea",class:"header-menu__item-arrow"},e("dga-icon",{key:"6a12fb2832c6ee92d9f260d2d57ce145709ffce7",icon:this.icon})),e("span",{key:"48c720a3c68b576796000263cca6db5ddb9039f0",class:"header-menu__item-label"},this.label)))}},[0,"dga-header-action-btn",{label:[1],icon:[1],active:[4],extraClasses:[1,"extra-classes"],onClick:[16]}]);function as(){if(typeof customElements>"u")return;["dga-header-action-btn","dga-icon"].forEach(n=>{switch(n){case"dga-header-action-btn":customElements.get(n)||customElements.define(n,Le);break;case"dga-icon":customElements.get(n)||I();break}})}const cs=Le,ss=as,Oe=p(class extends k{constructor(){super(),this.__registerHost(),this.fullWidth=!0,this.divider=!0}render(){return e("header",{key:"726bfc519703997a94965f1bc21d2b1d3f1d5d51",class:`header ${this.divider?"header--divider":""}`},e("nav",{key:"b89ae9d2b5100bc828966d478e67a7745bfe0b3a",class:`header-nav--${this.fullWidth?"full":"fixed"}`},e("slot",{key:"4ea790e021764ede43f03891c49336e3c50f71ff"})))}},[4,"dga-nav-header",{fullWidth:[4,"full-width"],divider:[4]}]);function ds(){if(typeof customElements>"u")return;["dga-nav-header"].forEach(n=>{switch(n){case"dga-nav-header":customElements.get(n)||customElements.define(n,Oe);break}})}const Fe=p(class extends k{constructor(){super(),this.__registerHost(),this.toggleCollapsed=hn(this,"toggleCollapsed",7),this.handleToggle=()=>{this.toggleCollapsed.emit(!this.collapsed)},this.collapsed=!1}render(){return e("div",{key:"1d6260517071eaa610af05a17014aa4ca9f0f1a7"},e("button",{key:"459df9019332c1c007326645247214dfe16ac891",type:"button",onClick:this.handleToggle,class:"header-menu__btn"},e("span",{key:"4f99919ed13afbe1aadcbe209b4ce9504b8bc466",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"cba61e02b2e82b655183996a0a95ccb6dd759c7a",icon:this.collapsed?"menu01":"cancel01"}))),e("div",{key:"f770b5480e526691f2156668be313e6455dac5b7",class:"header-nav__main"},e("slot",{key:"673d2f664360209d5c87d37f1106f2e3ed7f14ba"})))}},[4,"dga-nav-header-main",{collapsed:[4]}]);function fs(){if(typeof customElements>"u")return;["dga-nav-header-main","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-main":customElements.get(n)||customElements.define(n,Fe);break;case"dga-icon":customElements.get(n)||I();break}})}const Re=p(class extends k{constructor(){super(),this.__registerHost(),this.logoSrc=void 0,this.logoAlt=void 0,this.logoLink="#",this.govSrc=void 0,this.govAlt=void 0,this.govLink="#"}render(){return e("div",{key:"32c6e885fe2b7c1450f3b78f6dfd1d7f97385ed7",class:"header-nav__branding"},this.govSrc&&e("div",{key:"fbd02ad2ba968a841004f03a8501168a49e03910",class:"flex xs-hide"},e("a",{key:"2d1ebd951e50aac10eff8007d61ed4609c97548c",href:this.govLink},e("img",{key:"ca28477c013a8b75f8648c2e86470b79d7f5f64b",src:this.govSrc,alt:this.govAlt})),e("div",{key:"b0fd82bfebf0254981cf1c8fd77f25652eba95e8",class:"ver-divider"})),e("a",{key:"a794d7d5dc3e35124bb5caf2662ed86640747b64",href:this.logoLink,class:"header__logo"},e("img",{key:"25e3ebf0a31bfe905fc38ddc015bf8a1c060caaa",src:this.logoSrc,alt:this.logoAlt})))}},[0,"dga-nav-header-logos",{logoSrc:[1,"logo-src"],logoAlt:[1,"logo-alt"],logoLink:[1,"logo-link"],govSrc:[1,"gov-src"],govAlt:[1,"gov-alt"],govLink:[1,"gov-link"]}]);function ls(){if(typeof customElements>"u")return;["dga-nav-header-logos"].forEach(n=>{switch(n){case"dga-nav-header-logos":customElements.get(n)||customElements.define(n,Re);break}})}const He=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"3bcd828e93fb5f9725a6ffbc1647334ee15ffd3b",class:"header-nav__menu"},e("slot",{key:"c100bb3baed1b63096a036455d27588b99722876"}))}},[4,"dga-nav-header-menu"]);function bs(){if(typeof customElements>"u")return;["dga-nav-header-menu"].forEach(n=>{switch(n){case"dga-nav-header-menu":customElements.get(n)||customElements.define(n,He);break}})}const th=p(class extends k{constructor(){super(),this.__registerHost(),this.active=!1,this.subMenuFullWidth=!1,this.background=void 0}onActiveChange(){this.active&&this.submenu?(this.submenu.style.display="block",this.submenu.style.maxHeight=`${this.submenu.scrollHeight}px`):this.submenu&&(this.submenu.style.maxHeight="")}componentDidLoad(){this.submenu=this.el.shadowRoot.querySelector(".header__sub-menu"),this.onActiveChange()}render(){const n=this.background==="Brand"?"header__sub-menu--bg-brand":"",o=this.subMenuFullWidth?"header__sub-menu--full":"";return e("div",{key:"682e88dc934ee066490a95324ac13f9a6f565277",class:`header__sub-menu ${n} ${o}`,ref:i=>this.submenu=i},e("div",{key:"fd4e3885c24133167bf2ca4c84b3884f291661a1",class:"sub-menu__container"},e("slot",{key:"080c7dc18f03a1b614091efec2501d10f2060a43"})))}get el(){return this}static get watchers(){return{active:["onActiveChange"]}}},[4,"dga-nav-header-sub-menu",{active:[4],subMenuFullWidth:[4,"sub-menu-full-width"],background:[1]},void 0,{active:["onActiveChange"]}]);function oh(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu":customElements.get(n)||customElements.define(n,th);break}})}const Ue=p(class extends k{constructor(){super(),this.__registerHost(),this.linkClicked=hn(this,"linkClicked",7),this.handleClick=n=>{n.preventDefault(),this.linkClicked.emit()},this.label=void 0,this.icon=void 0,this.iconProps={},this.active=!1,this.subMenuBackground="Brand",this.subMenuFullWidth=!0}render(){return e("li",{key:"634d63d41af5563b5564afd652aaedc97869f5c5"},e("a",{key:"8d1999071c8925a8d302a2fe96775882d2d22ea3",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""}`,onClick:this.handleClick},e("span",{key:"c5a45bc4e5fbd3e95df9336473650dcafd8d61b5",class:"header-menu__item-label"},this.label),e("span",{key:"1e7c4b1939ac1160a5727e60a463f5d98b4b56cd",class:"header-menu__item-arrow"},e("dga-icon",Object.assign({key:"ff2f404f6450a1649d7d82e90acc40d44a49ab2a",icon:this.icon},this.iconProps)))),this.active&&e("dga-nav-header-sub-menu",{key:"0390ac8ec6a1b685e70d284cf514a7b0000c0e43",active:this.active,"sub-menu-full-width":this.subMenuFullWidth,background:this.subMenuBackground},e("slot",{key:"d5ba905a7b14346f2545651012ffee6932071c22"})))}},[4,"dga-nav-header-link",{label:[1],icon:[1],iconProps:[16],active:[4],subMenuBackground:[1,"sub-menu-background"],subMenuFullWidth:[4,"sub-menu-full-width"]}]);function us(){if(typeof customElements>"u")return;["dga-nav-header-link","dga-icon","dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-link":customElements.get(n)||customElements.define(n,Ue);break;case"dga-icon":customElements.get(n)||I();break;case"dga-nav-header-sub-menu":customElements.get(n)||oh();break}})}const Vn=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"dc974cc566a8aad8add485daba94e7d3aa475636",class:"sub-menu__column"},e("slot",{key:"784ee4c0fb678538a71cfc3a253515db09730226"}))}},[4,"dga-nav-header-sub-menu-column"]);function ks(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-column"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-column":customElements.get(n)||customElements.define(n,Vn);break}})}const Ye=p(class extends k{constructor(){super(),this.__registerHost(),this.background=void 0,this.link=void 0,this.linkStyle=void 0,this.label=void 0,this.helperText=void 0,this.icon=void 0}render(){const n=this.background==="Brand"?"sub-menu__link--on-color":"",o=this.linkStyle&&this.linkStyle>0?this.linkStyle===2?"sub-menu__link-icon--bg":"sub-menu__link-icon":"";return e("a",{key:"dbdac1be5ad2706ef729d8e4e8d99a10cbee8c0d",href:this.link,class:`sub-menu__link ${n}`},this.linkStyle&&this.linkStyle>0?e("div",{class:o},this.icon&&e("dga-icon",{icon:this.icon})):null,e("div",{key:"b3e8959e49aa69feabf4bb06bf5546c289c5cbe9",class:"flex-column"},e("span",{key:"2c36784f20012cce6a132b8fba957eeeac5d0fad",class:"sub-menu__link-label"},this.label),this.helperText&&e("span",{key:"ce74e0d916e6e2f2c87e281663f705ca9370783c",class:"sub-menu__link-helper"},this.helperText)))}},[0,"dga-nav-header-sub-menu-link",{background:[1],link:[1],linkStyle:[2,"link-style"],label:[1],helperText:[1,"helper-text"],icon:[1]}]);function ps(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-link","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-link":customElements.get(n)||customElements.define(n,Ye);break;case"dga-icon":customElements.get(n)||I();break}})}const Xe=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e(N,null,e("button",{key:"a2df6712612d2a73fdf1f64d08639268bac5c381",type:"button",class:"header-menu__btn btn btn--lg btn--subtle btn--icon"},e("span",{key:"5ca6ac23814473653e7bb8e73753367df88869a6",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"eaf0067d4d1ba97b1ff9f0ae229cff128a08bad5",icon:"MoreHorizontalCircleIcon",variant:"solid"}))),e("ul",{key:"c9b252ec5be2e39bfec33a341812f8484afb09a3",class:"header-nav__actions"},e("slot",{key:"b894afce208d5454aa6a42774a509a6f453da9ff"})))}},[4,"dga-nav-header-actions"]);function ms(){if(typeof customElements>"u")return;["dga-nav-header-actions","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-actions":customElements.get(n)||customElements.define(n,Xe);break;case"dga-icon":customElements.get(n)||I();break}})}const ih=p(class extends k{constructor(){super(),this.__registerHost(),this.config=void 0}render(){return e(Oe,{key:"a4b27d9fe31ff8b3dee9036d2e50a70f69672f03",fullWidth:this.config.fullWidth,divider:this.config.divider},e(Fe,{key:"08e4c1eb49ca888c6bd5ce096f9305883e8b9c88",collapsed:!0},e(Re,{key:"3400aeebf54005a3defc249e739168fb31326a02",logoSrc:this.config.logoSrc,govSrc:this.config.govSrc,logoLink:this.config.logoLink,govLink:this.config.govLink}),e(He,{key:"a3db9f115debdbbcbc4a7451e8479948176f9b31"},this.config.headerLinks.map((n,o)=>e(Ue,{key:o,active:!1,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon,subMenuBackground:this.config.subMenuBackground,subMenuFullWidth:this.config.subMenuFullWidth},n.subMenu.map((i,h)=>e(Vn,{key:h},i.columns.map((d,f)=>e(Vn,{key:f},d.links.map((l,b)=>e(Ye,{key:b,background:this.config.subMenuBackground,label:l.label,helperText:l.helperText,icon:l.icon,linkStyle:l.linkStyle})))))))))),e(Xe,{key:"4abc413d87a098db4f90545b9d07936f19a6817b"},this.config.actions.map((n,o)=>e(Le,{key:o,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon}))))}},[0,"dga-header",{config:[16]}]);function ws(){if(typeof customElements>"u")return;["dga-header"].forEach(n=>{switch(n){case"dga-header":customElements.get(n)||customElements.define(n,ih);break}})}const vs=ih,ys=ws,hh=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.color="neutral",this.variant="success",this.size="md",this.iconType=void 0,this.leadIcon=void 0,this.trailIcon=void 0,this.outlined=void 0,this.rounded=void 0,this.iconOnly=void 0}render(){return console.log(!!this.iconOnly,this.iconOnly),this.iconOnly?e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""} tag--icon`},this.leadIcon&&e("span",{class:"tag-icon"},this.leadIcon),!this.leadIcon&&e("slot",null)):e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""}`},this.leadIcon?e("span",{class:"tag-icon"},this.leadIcon):"",this.label,this.trailIcon?e("span",{class:"tag-icon"},this.trailIcon):"",e("slot",null))}},[4,"dga-html-tag",{label:[1],color:[1],variant:[1],size:[1],iconType:[8,"icon-type"],leadIcon:[8,"lead-icon"],trailIcon:[8,"trail-icon"],outlined:[516],rounded:[516],iconOnly:[516,"icon-only"]}]);function xs(){if(typeof customElements>"u")return;["dga-html-tag"].forEach(n=>{switch(n){case"dga-html-tag":customElements.get(n)||customElements.define(n,hh);break}})}const qs=hh,_s=xs,zs=Vt,js=I,Cs=Lo,Es=Oo,$s=Ro,Ss=Ho,Ms=$o,Ds=Mn,rh=p(class extends k{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=24,this.color=void 0}render(){return e("svg",{key:"74ef0bbbcb35d6666a43110bd4b2f028dd33064f",width:this.size,height:this.size,fill:this.color||"currentColor","aria-hidden":"true"},e("use",{key:"26514b1c79780b27e4dde0a179b48f5b3eca9af2",href:`../../assets/sprite.svg#${this.icon}`}))}},[0,"dga-local-icon",{icon:[1],size:[2],color:[1]}]);function Is(){if(typeof customElements>"u")return;["dga-local-icon"].forEach(n=>{switch(n){case"dga-local-icon":customElements.get(n)||customElements.define(n,rh);break}})}const Ps=rh,As=Is,gh=p(class extends k{constructor(){super(),this.__registerHost(),this.groupLabel=void 0}render(){return e("div",{key:"46accf792451b6fa7c5418ed4706f3749f6563a5",class:"menu-group"},this.groupLabel&&e("span",{key:"3fc27b587b006d7d4021294a5a4e0f4f49f4dc42",class:"menu-group__label"},this.groupLabel),e("ul",{key:"17ef154195c649a6207fe11bb76bd1bc576e3523",class:"menu-group__items"},e("slot",{key:"135de24368e9669bc9cc9730b3f199e45d9d0054"})))}},[4,"dga-menu-group",{groupLabel:[1,"group-label"]}]);function Bs(){if(typeof customElements>"u")return;["dga-menu-group"].forEach(n=>{switch(n){case"dga-menu-group":customElements.get(n)||customElements.define(n,gh);break}})}const Ts=gh,Ls=Bs,ah=p(class extends k{constructor(){super(),this.__registerHost(),this.trailElement=void 0,this.disabled=!1,this.leadIcon=void 0,this.label=void 0}render(){return e("li",{key:"4dfa95ff00c7271d62704028f5c6e2a073ee3a54",class:`menu-item ${this.disabled?"disabled":""}`},this.leadIcon&&e("span",{key:"9f5ef257bc7ec813e1a47d13229d604194c786ba",class:"menu-item__icon"},this.leadIcon),e("span",{key:"3c59955f291f6d2cddcb2c11762f0fe6b6c0e9b1",class:"menu-item__label"},this.label),this.trailElement&&e("div",{key:"51314c4438ebd1a7df45ce3cdcdaccf1729e0715",class:"menu-item__trail-element"},this.trailElement))}},[0,"dga-menu-item",{trailElement:[8,"trail-element"],disabled:[4],leadIcon:[16],label:[1]}]);function ch(){if(typeof customElements>"u")return;["dga-menu-item"].forEach(n=>{switch(n){case"dga-menu-item":customElements.get(n)||customElements.define(n,ah);break}})}const Os=ah,Fs=ch,sh=p(class extends k{constructor(){super(),this.__registerHost(),this.groups=[]}render(){return e("ul",{key:"67242f9b4ec3b53f8246021e717cc6372e39c97c",class:"menu"},this.groups.map((n,o)=>e(N,null,e("div",{class:"menu-group"},n.label&&e("span",{class:"menu-group__label"},n.label),n.items.map(i=>e("dga-menu-item",{trailElement:i.trailElement,label:i.label,disabled:i.disabled,leadIcon:i.leadIcon}))),o<this.groups.length-1&&e("span",{class:"divider"}))))}},[0,"dga-menu-updated",{groups:[16]}]);function Rs(){if(typeof customElements>"u")return;["dga-menu-updated","dga-menu-item"].forEach(n=>{switch(n){case"dga-menu-updated":customElements.get(n)||customElements.define(n,sh);break;case"dga-menu-item":customElements.get(n)||ch();break}})}const Hs=sh,Us=Rs,dh=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"5b50d03cd9d6e01796b9a663903e6d6fc633a006",class:"menu"},e("slot",{key:"3fb5614d1019420716bb418397f1063bee03554d"}))}},[4,"dga-menu"]);function Ys(){if(typeof customElements>"u")return;["dga-menu"].forEach(n=>{switch(n){case"dga-menu":customElements.get(n)||customElements.define(n,dh);break}})}const Xs=dh,Zs=Ys,fh=p(class extends k{constructor(){super(),this.__registerHost(),this.changeIcons={"01":{positive:"arrow-up-02",negative:"arrow-down-02"},"02":{positive:"trade-up",negative:"trade-down"}},this.label="",this.Style="small-chart",this.percentage="0%",this.showFeaturedIcon=!0,this.featuredIcon=e("i",{class:"hgi-stroke hgi-trade-up",style:{fontSize:"24px"}}),this.showChart=!0,this.showInfo=!0,this.showActions=!0,this.showSecondaryAction=!0,this.showMoreButton=!0,this.changeProps={type:"01",trend:"positive"},this.chartProps=void 0,this.trend=void 0,this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{}}render(){return e("div",{key:"bb18630be9d1f0a5257ad64fad4df92d5889c7ca",class:"dga-metric","data-chart-size":this.Style},e("div",{key:"f8bdf5ec3e43e00ca3d69fc7983bc548a1b2e0f3",class:"dga-metric__head"},e("div",{key:"efe5ffb448115562bce49a1c0f6fb8fdc2e2d9a6",class:"dga-metric__head-content"},this.showFeaturedIcon&&e("div",{key:"716c2ccd4546ef261c80cdad6ce0e0e9a9863b2b",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--sm"},this.featuredIcon),this.label&&e("span",{key:"5b4bd51d29392351bb25f6d3470c6f2b58065be2",class:"dga-metric__head-content-text"},this.label)),this.showMoreButton&&e("dga-button",{key:"ab855e283f4a222c79c139566af162f2abe84833",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"more-vertical",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onExpandAction})),e("div",{key:"1a43fc90efc19ee149a49dd14e3fb25ca51e1066",class:"dga-metric__body"},e("div",{key:"7d1bee47dd7c549250755cc6048591f008343578",class:"dga-metric__content"},e("h3",{key:"aff23dc6ca45ae4c95aa7c60c822f05a792251bf",class:"dga-metric__content-percentage"},this.percentage),this.showInfo&&e("div",{key:"b9994108aacf4d465c427862e9a7bd60a4c40ebc",class:"dga-metric__content-change","data-change-trend":this.changeProps.trend},e("span",{key:"545f36ce046fe020263f790c2196f997ec74fcea",class:"dga-metric__content-change-icon"},e("dga-icon",{key:"a9e1fa4b0dec66502a06bd636eafe9b2e4b80a4c",icon:this.changeIcons[this.changeProps.type][this.changeProps.trend],type:"rounded",variant:"stroke",size:24})),e("span",{key:"095e0e64fbe14b08c84591b1c1ba26366e0ae8a5",class:"dga-metric__content-change-value"},Math.abs(100),"%"),e("span",{key:"19137df07a42e406b5fc775e2181c776ffb58218",class:"dga-metric__content-change-period"},"vs last month"))),this.showChart&&e("div",{key:"b97ded1c0bef54f46971280f41799f99533304dc",class:"dga-metric__chart"},e("dga-chart",Object.assign({key:"f255a12467483676c4299e963bb3b8fd660d9f23"},this.chartProps,{size:this.Style==="small-chart"?"sm":"lg"})))),this.showActions&&e(N,{key:"4fa870d13972b18e0ef71a61084080d42e378a55"},e("div",{key:"ded189a0e9d3971ebab43d0dd2a86321f9912a17",class:"dga-metric__divider"}),e("div",{key:"7ef9385ba3b83e51f1afe31fb9027dc0da46f0a4",class:"dga-metric__actions"},this.showSecondaryAction&&e("dga-button",{key:"c05c535eb667e4dbffc24ab832940e7c3587367d",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"settings-02",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onSecondaryAction}),e("dga-button",{key:"f65c71c20cbbc9ad0ca8660dbe0684e01da5d101",variant:"secondary-outline",class:"dga-metric__actions--primary",label:"View Report",onClick:this.onPrimaryAction}))))}},[0,"dga-metric",{label:[1],Style:[1,"style"],percentage:[1],showFeaturedIcon:[4,"show-featured-icon"],featuredIcon:[8,"featured-icon"],showChart:[4,"show-chart"],showInfo:[4,"show-info"],showActions:[4,"show-actions"],showSecondaryAction:[4,"show-secondary-action"],showMoreButton:[4,"show-more-button"],changeProps:[16],chartProps:[16],trend:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16]}]);function lh(){if(typeof customElements>"u")return;["dga-metric","dga-button","dga-chart","dga-icon"].forEach(n=>{switch(n){case"dga-metric":customElements.get(n)||customElements.define(n,fh);break;case"dga-button":customElements.get(n)||tn();break;case"dga-chart":customElements.get(n)||Te();break;case"dga-icon":customElements.get(n)||I();break}})}const bh=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"817630da879eefee0a911eaba22a6f2627dd1c4b"},e("h1",{key:"41eec05437011e5e7b844a622a4d9b13c978345d"},"Metric Example"),e("div",{key:"b60ff2d448443fc1e30415569c918e80d4bc6ac2",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"487dfa0fb04ed40e6ccea1ea0080946c3dcf640c",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-metric",{key:"7ce5d5796242920c3e1e0443c5b98ba232c62386",Style:"small-chart",percentage:"60%",changeProps:{trend:"positive",type:"01"},chartProps:{data:[2,5.5,2,8.5,1.5,5],trend:"positive",type:"realistic",showMarker:!1}}),e("dga-metric",{key:"7dbc4ea2aa4547ae9fb1b9ec5e245880d313837e",Style:"small-chart",percentage:"60%",changeProps:{trend:"positive",type:"01"},chartProps:{data:[2,5.5,2,8.5,1.5,5],trend:"positive",type:"realistic",showMarker:!1}}),e("dga-metric",{key:"eb2d5ee0e9cdc96c4d3dad247c396b74c1a6e9a7",label:"24h Views",Style:"large-chart",percentage:"60%",showFeaturedIcon:!0,showChart:!1,showInfo:!1,showSecondaryAction:!1,showMoreButton:!1}),e("dga-metric",{key:"a26409d3ee22ec43ded81420d89464b87258f791",Style:"small-chart",percentage:"70%",showFeaturedIcon:!1,showChart:!1}),e("dga-chart",{key:"bbd8d6662a62c444109f129dcb9052c5564f6fe0",type:"wavy",data:[2,5.5,2,8.5,1.5,5],trend:"negative",size:"lg"}),e("dga-chart",{key:"b0299a39004fb1b57c1c52d7828ba1d985e11927",type:"wavy",data:[2,5.5,2,8.5,1.5,5],trend:"positive",size:"sm"}),e("dga-chart-v2",{key:"30e1d7d570ea426c634fa99e595fab81edd72010",data:[65,5.60606,57.2759,9,60.5862,129,1,10,20,15,2,3,5]})),e("div",{key:"5f5e7b4b38d8aef27f26df7a191f6eba500d4832",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-metric-usage"]);function Ws(){if(typeof customElements>"u")return;["dga-metric-usage","dga-button","dga-chart","dga-chart-v2","dga-icon","dga-metric"].forEach(n=>{switch(n){case"dga-metric-usage":customElements.get(n)||customElements.define(n,bh);break;case"dga-button":customElements.get(n)||tn();break;case"dga-chart":customElements.get(n)||Te();break;case"dga-chart-v2":customElements.get(n)||Hi();break;case"dga-icon":customElements.get(n)||I();break;case"dga-metric":customElements.get(n)||lh();break}})}const Vs=bh,Gs=Ws,Js=fh,Ks=lh,Qs=Xo,Ns=Zo,nd=Xe,ed=ms,td=Ue,od=us,id=Re,hd=ls,rd=Fe,gd=fs,ad=He,cd=bs,sd=Vn,dd=ks,fd=Ye,ld=ps,bd=th,ud=oh,kd=Oe,pd=ds,md=Vo,wd=Go,vd=Ko,yd=Qo,xd=ni,qd=ei,uh=p(class extends k{constructor(){super(),this.__registerHost(),this.onSelect=hn(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handlePrefixClick(){this.prefixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const o=this.prefixBtn.querySelector(".dropdown__label");o&&o.classList.add("dropdown__label--selection"),this.prefixBtn.classList.remove("open"),this.prefixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__prefix input__prefix--${this.variant}-text`},e("span",{class:"input__prefix-label"},this.label)):e(N,null,e("button",{class:`input__prefix input__prefix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handlePrefixClick(),ref:n=>this.prefixBtn=n},e("span",{class:"input__prefix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__prefix-label"},this.label),e("span",{class:"input__prefix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var o;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((o=this.selectedOption)===null||o===void 0?void 0:o.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-prefix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function _d(){if(typeof customElements>"u")return;["dga-prefix","dga-icon"].forEach(n=>{switch(n){case"dga-prefix":customElements.get(n)||customElements.define(n,uh);break;case"dga-icon":customElements.get(n)||I();break}})}const zd=uh,jd=_d,kh=p(class extends k{constructor(){super(),this.__registerHost(),this.percentage=10,this.RTL=!1,this.size="small",this.progressStyle="neutral",this.showLabel=!0,this.showHelperText=!0,this.error=!1,this.success=!1,this.label="label",this.helperText="Help Text"}render(){const n={small:"sm",medium:"md",large:"lg"};let o=this.error?"error":this.success?"primary":this.progressStyle,i=this.error||this.success?100:this.percentage;const h={neutral:e("svg",{key:"75e743ccefd5e3cf5a52bb14ba57ebc1e0a570c1",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"2d3685423027966b89942df91521c03c3095233a","clip-path":"url(#clip0_17869_405)"},e("path",{key:"7f01e9f1322e96a6ea8b3d5bd655eedb273a2afe",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"5e475d2905f45ab5a7d678856c988123a0334e19"},e("clipPath",{key:"6c05f511736d3ca545d155ba2bdf379dacd4ebd9",id:"clip0_17869_405"},e("rect",{key:"649cf8c0439928300600ce1e6e70752796651e13",width:"16",height:"16",fill:"white"})))),primary:e("svg",{key:"6f7da9fff3474f0d50e4bb31555bc536af042ba8",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"14c77368d59d3f41888aee210999f33c4de3f65c","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"f5f7f09a445554707d58e242c25801f6c2800369","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334ZM4.70017 7.41423C4.43982 7.67458 4.43982 8.09669 4.70017 8.35704L6.58578 10.2427C6.84613 10.503 7.26824 10.503 7.52859 10.2427L11.2998 6.47143C11.5602 6.21108 11.5602 5.78897 11.2998 5.52862C11.0395 5.26827 10.6174 5.26827 10.357 5.52862L7.05719 8.82845L5.64297 7.41423C5.38263 7.15388 4.96052 7.15388 4.70017 7.41423Z",fill:"#067647"})),error:e("svg",{key:"f19d347d7ccdec3f2074cda202afb58a64e3102a",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"3be9ea0aa39a9f44da97c3fd525f7aabc81bb606","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"500223e70cf8c420d2d81e0ce721bf6f1bbfaa17","fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.3334 8.00002C15.3334 12.0502 12.0502 15.3334 8.00002 15.3334C3.94989 15.3334 0.666687 12.0502 0.666687 8.00002C0.666687 3.94989 3.94989 0.666687 8.00002 0.666687C12.0502 0.666687 15.3334 3.94989 15.3334 8.00002ZM5.80471 4.862C5.54445 4.60158 5.12225 4.60158 4.862 4.862C4.60158 5.12225 4.60158 5.54445 4.862 5.80471L7.05715 8.00002L4.862 10.1953C4.60158 10.4556 4.60158 10.8778 4.862 11.138C5.12225 11.3985 5.54445 11.3985 5.80471 11.138L8.00002 8.94289L10.1953 11.138C10.4556 11.3985 10.8778 11.3985 11.138 11.138C11.3985 10.8778 11.3985 10.4556 11.138 10.1953L8.94289 8.00002L11.138 5.80471C11.3985 5.54445 11.3985 5.12225 11.138 4.862C10.8778 4.60158 10.4556 4.60158 10.1953 4.862L8.00002 7.05715L5.80471 4.862Z",fill:"#B42318"}))};return e("div",{key:"e1cbdd0ccfc0230d093d92279b585e37a44e8e08",class:"progress-wrapper",style:{direction:this.RTL?"rtl":"ltr"}},this.showLabel&&e("h3",{key:"d940e337ded5100a826a3180a30890736b7ca166"},this.label),e("div",{key:"815435e58e3c989fe7475a0f265793a85ca55364",class:`progress-bar-container ${n[this.size]}`},e("div",{key:"fd9e9f68211d5b5d36df2441fa1d684fc84d27b1",class:`progress-bar ${o}`,style:{width:`${i}%`}},this.size==="large"&&e("span",{key:"2b145f82e470ae10f467ef506d2332804f9bebe2",class:"progress-bar-text"},this.percentage,"%"))),this.showHelperText&&e("div",{key:"222ac21690b58ecbe536dd3dda598ddf51d9d2ba",class:"progress-bar__note"},e("div",{key:"e5ad8b4287723086ddb63ff1d4f4dc3222f2d3f8",class:"icon"},this.error?h.error:this.success?h.primary:h.neutral),e("div",{key:"aaf7cf21017d487aa5b11440274d3a09b0291424",class:"content"},e("p",{key:"c7b9271cce2327da93226466c7f950c8ae23fb17"},this.helperText))))}},[0,"dga-progress-bar",{percentage:[2],RTL:[4,"r-t-l"],size:[1],progressStyle:[1,"progress-style"],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],error:[4],success:[4],label:[1],helperText:[1,"helper-text"]}]);function ph(){if(typeof customElements>"u")return;["dga-progress-bar"].forEach(n=>{switch(n){case"dga-progress-bar":customElements.get(n)||customElements.define(n,kh);break}})}const mh=p(class extends k{constructor(){super(),this.__registerHost(),this.percentage=0}handleInputChange(n){const o=n.target;this.percentage=Number(o.value)}render(){return e("div",{key:"a664969603f2f8a5a075b8e43f57398329d7b0f2"},e("h1",{key:"24d2de92286db3e67e448947917ff71743030a63"},"Progress Bar Example"),e("div",{key:"ed19e5b5ef589f6e9c1df08c3cf58be864e3bab6",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"09e51d3f7b4cc9afce636e07a01ce2820c110527",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-circular-progress-bar",{key:"3bcd7d055bfc5178de9871ee4f6cf1b68bc88161",size:"200px",percentage:this.percentage,text:"Active users"}),e("dga-circular-progress-bar",{key:"6ac72010595b488d3a9bc760453014ee40d4ac03",size:"160px",percentage:this.percentage,color:"success",icon:"success",variant:"success",text:"Active users"}),e("dga-circular-progress-bar",{key:"558d117b5a3051a04c61fc45617d4d0f4f19714a",size:"120px",percentage:this.percentage,text:"Active users"}),e("dga-circular-progress-bar",{key:"9f0aaa6c9408cca1a35d04264c2020da69ef99c8",size:"80px",percentage:this.percentage,text:"Active users"}),e("dga-circular-progress-bar",{key:"3a6d5a4cb3486e3942770d17039d17afe396e207",size:"64px",percentage:this.percentage}),e("dga-progress-bar",{key:"297988e81b3dd8f2b0d0d7cb2b0705d24a5c2ac8",percentage:this.percentage,size:"large"}),e("dga-progress-bar",{key:"92d9fe003c72b7d43c5a8b05bb85ead79f9db78e",percentage:this.percentage}),e("input",{key:"b59521c8199d8df24c60b167c47c7f04bfb33892",type:"range",min:"0",max:"100",value:this.percentage,onInput:n=>this.handleInputChange(n)}),this.percentage,"%"),e("div",{key:"2f4e938fb98b13ec3d6844090a14aef52bf07933",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-progress-bar-usage",{percentage:[32]}]);function Cd(){if(typeof customElements>"u")return;["dga-progress-bar-usage","dga-circular-progress-bar","dga-progress-bar"].forEach(n=>{switch(n){case"dga-progress-bar-usage":customElements.get(n)||customElements.define(n,mh);break;case"dga-circular-progress-bar":customElements.get(n)||Xi();break;case"dga-progress-bar":customElements.get(n)||ph();break}})}const Ed=mh,$d=Cd,Sd=kh,Md=ph,Dd=hi,Id=Ae,Pd=ri,Ad=gi,Bd=oi,Td=ii,Ld=ci,Od=si,Fd=fi,Rd=li,wh=p(class extends k{constructor(){super(),this.__registerHost(),this.SILENCE_TIMEOUT_DURATION=8e3,this.label=void 0,this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.showTrailingIcon=!0,this.icon=!0,this.disabled=!1,this.readonly=!1,this.name=L(),this.value="",this.onChange=()=>{},this.onInput=()=>{},this.onBlur=()=>{},this.speechLang="en",this.isActive=!1,this.isFocused=!1,this.isListening=!1}componentWillLoad(){const n=window.SpeechRecognition||window.webkitSpeechRecognition;n?(this.recognition=new n,this.recognition.continuous=!0,this.recognition.interimResults=!0,this.recognition.onresult=o=>{let i="";for(let h=o.resultIndex;h<o.results.length;++h)o.results[h].isFinal?this.value=o.results[h][0].transcript:i+=o.results[h][0].transcript;this.value=i||this.value},this.recognition.onend=()=>{this.isListening=!1},this.recognition.onerror=o=>{console.error("Speech recognition error",o),this.isListening=!1}):console.error("SpeechRecognition is not supported by this browser.")}startListening(){this.recognition&&(this.speechLang==="en"?this.recognition.lang="en-US":this.speechLang==="ar"&&(this.recognition.lang="ar"),this.isListening=!0,this.recognition.start(),this.resetSilenceTimer())}stopListening(){this.recognition&&(this.recognition.stop(),this.isListening=!1)}resetSilenceTimer(){this.clearSilenceTimer(),this.silenceTimeout=setTimeout(()=>{this.stopListening()},this.SILENCE_TIMEOUT_DURATION)}clearSilenceTimer(){this.silenceTimeout&&clearTimeout(this.silenceTimeout)}handleInputChange(n){console.log(this.value,"query"),this.onChange(n)}handleResetInput(){this.value=""}render(){return e("div",{key:"00f48bf7c7bc212922179f6107ea53d0ce5f5c8e",class:"dga-form-control"},this.label&&e("label",{key:"eb063358690673aa811814a5730f24d51b6e5890",class:"dga-label"},this.label),e("div",{key:"0b65210b8bc8ef8ca74ab7d3fc7e4bb19140c2f7",class:`dga-search-box dga-search-box--${this.size} ${this.error?"dga-search-box--error":""} ${this.variant!=="default"?`dga-search-box--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"dga-search-box--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},this.icon&&e("span",{key:"6ee5c3e524d038bcf1719fc8a569b6cc7193b857",class:"dga-search-box__icon"},e("svg",{key:"02278e6cea6e574ae9758f041ae2c2ce5e0d4353",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"651e213e424d5a7e8ce1d5e6874b6e379a15e897","fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.16675 1.04163C4.67943 1.04163 1.04175 4.67931 1.04175 9.16663C1.04175 13.6539 4.67943 17.2916 9.16675 17.2916C11.1854 17.2916 13.0322 16.5554 14.4531 15.3369L17.8915 18.7752C18.1356 19.0193 18.5313 19.0193 18.7754 18.7752C19.0194 18.5312 19.0194 18.1354 18.7754 17.8914L15.337 14.453C16.5556 13.032 17.2917 11.1853 17.2917 9.16663C17.2917 4.67931 13.6541 1.04163 9.16675 1.04163ZM2.29175 9.16663C2.29175 5.36967 5.36979 2.29163 9.16675 2.29163C12.9637 2.29163 16.0417 5.36967 16.0417 9.16663C16.0417 12.9636 12.9637 16.0416 9.16675 16.0416C5.36979 16.0416 2.29175 12.9636 2.29175 9.16663Z",fill:"#161616"}))),e("input",{key:"cd03f7665688e386895b62104436833370c6eb75",name:this.name,type:"text",onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput}),e("div",{key:"527e87f94aa8a1efc0917eba89650c9ea9c03d4e",class:"dga-search-box__actions"},this.value.length>0&&e(N,{key:"2a9a761ed6812377583f0bce45da4b4039a24586"},e("button",{key:"ae58d2a7c07037fba36bd5847772708b43cbf084",class:"dga-search-box__action-btn",onClick:this.handleResetInput},e("i",{key:"8e98dccec459144924f7e632e120277a6c9f1cf7",class:"hgi-stroke hgi-cancel-01",style:{fontSize:"20px"}})),e("svg",{key:"f18dc15e6e5e017232076bda5aaaabd07baa8440",xmlns:"http://www.w3.org/2000/svg",width:"1",height:"26",viewBox:"0 0 1 26",fill:"none"},e("rect",{key:"374f56f4acebc8e580857347837ac105658219a9",x:"1",y:"0.5",width:"25",height:"1",transform:"rotate(90 1 0.5)",fill:"#D2D6DB"}))),this.showTrailingIcon&&e("dga-tooltip",{key:"daf482fea542d3e97ed542e339b7dfd42ed3aeec",tooltipTitle:"Search by voice",direction:"bottom",beakAlignment:"center",beakPlacement:"top"},e("button",{key:"935c3ea71792222752e437083ce357dfc6653f95",class:"dga-search-box__search-btn",onClick:()=>this.startListening(),disabled:this.isListening},this.isListening?e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-solid hgi-mic-01",style:{fontSize:"20px"}})):e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-stroke hgi-mic-01",style:{fontSize:"20px"}})))))))}},[0,"dga-search-box",{label:[1],placeholder:[1],size:[1],variant:[1],error:[4],showTrailingIcon:[4,"show-trailing-icon"],icon:[4],disabled:[4],readonly:[4],name:[1],value:[1],onChange:[16],onInput:[16],onBlur:[16],speechLang:[1,"speech-lang"],isActive:[32],isFocused:[32],isListening:[32]}]);function vh(){if(typeof customElements>"u")return;["dga-search-box","dga-tooltip"].forEach(n=>{switch(n){case"dga-search-box":customElements.get(n)||customElements.define(n,wh);break;case"dga-tooltip":customElements.get(n)||Nn();break}})}const yh=p(class extends k{constructor(){super(),this.__registerHost(),this.value=""}render(){return e("div",{key:"944f4d6bc3710918903871c0611473d31705b979"},e("h1",{key:"ebdc3342ecdf86782eed96736517098756231254"},"Search Box Example"),e("div",{key:"b41b1237af2b695aa4a84d51e76019482464a9e3",style:{padding:"50px"}},e("div",{key:"9ef47124b945c5111e4fb6c4686c08c517fd563f",style:{display:"flex",flexDirection:"column",gap:"16px"}},e("dga-search-box",{key:"da4c3c84e545c54d1be20b5e9b73a0854014df13",variant:"default",placeholder:"test placeholder",onChange:n=>{const o=n.target;console.log("search changed"),this.value=o.value},onInput:n=>{console.log("search changed",n.target.value),this.value=n.target.value}}))))}},[0,"dga-search-box-usage",{value:[32]}]);function Hd(){if(typeof customElements>"u")return;["dga-search-box-usage","dga-search-box","dga-tooltip"].forEach(n=>{switch(n){case"dga-search-box-usage":customElements.get(n)||customElements.define(n,yh);break;case"dga-search-box":customElements.get(n)||vh();break;case"dga-tooltip":customElements.get(n)||Nn();break}})}const Ud=yh,Yd=Hd,Xd=wh,Zd=vh,Wd=ui,Vd=ki,Gd=mi,Jd=wi,xh=p(class extends k{constructor(){super(),this.__registerHost(),this.onSelect=hn(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handleSuffixClick(){this.suffixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const o=this.suffixBtn.querySelector(".dropdown__label");o&&o.classList.add("dropdown__label--selection"),this.suffixBtn.classList.remove("open"),this.suffixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__suffix input__suffix--${this.variant}-text`},e("span",{class:"input__suffix-label"},this.label)):e(N,null,e("button",{class:`input__suffix input__suffix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handleSuffixClick(),ref:n=>this.suffixBtn=n},e("span",{class:"input__suffix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__suffix-label"},this.label),e("span",{class:"input__suffix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var o;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((o=this.selectedOption)===null||o===void 0?void 0:o.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-suffix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function Kd(){if(typeof customElements>"u")return;["dga-suffix","dga-icon"].forEach(n=>{switch(n){case"dga-suffix":customElements.get(n)||customElements.define(n,xh);break;case"dga-icon":customElements.get(n)||I();break}})}const Qd=xh,Nd=Kd,nf=yi,ef=xi,tf=_i,of=zi,hf=Ei,rf=$i,gf=mo,af=rn,cf=Di,sf=Qn,df=Pi,ff=Ai,lf=Ti,bf=Nn,uf=Do,kf=Io,pf=xo,mf=Ie,wf=vo,vf=mn,yf=yo,xf=Kn,qf=wo,_f=pn;/**
|
|
1246610
|
+
}`,dc=sc,Oi=p(class extends k{constructor(){super(),this.__registerHost(),this.handleClick=()=>{this.isCurrentMonth&&this.onSelect&&(console.log(this.date,"this.date"),this.onSelect(this.date))},this.handleAddPressed=n=>{n.currentTarget.classList.add("active")},this.handleRemovePressed=n=>{n.currentTarget.classList.remove("active")},this.date=void 0,this.isCurrentMonth=void 0,this.isSelected=void 0,this.isToday=void 0,this.midRange=!1,this.isFirstRangeChild=!1,this.isLastRangeChild=!1,this.onSelect=void 0}render(){let n="date-cell";return this.isCurrentMonth||(n+=" date-cell--not-current-month"),this.isSelected&&(n+=" date-cell--selected"),this.isToday&&(n+=" date-cell--today"),this.midRange&&(n+=" date-cell--mid-range"),this.isFirstRangeChild&&(n+=" date-cell--mid-range--first-child"),this.isLastRangeChild&&(n+=" date-cell--mid-range--last-child"),e("button",{key:"8d9f69ebeff37faa79f96172205cedb1caa3cd24",type:"button",class:n,onClick:this.handleClick,onMouseDown:this.handleAddPressed,onMouseUp:this.handleRemovePressed,onMouseOut:this.handleRemovePressed,disabled:!this.isCurrentMonth},e("div",{key:"d4dcba875fa30d357c5e9ba7043e8f198fcff542",class:"date-cell__label"},e("span",{key:"cd6dcf6cb1ce4acae943295f7625ecee46db4b23"},this.date.getDate())))}static get style(){return dc}},[0,"date-cell",{date:[16],isCurrentMonth:[4,"is-current-month"],isSelected:[4,"is-selected"],isToday:[4,"is-today"],midRange:[4,"mid-range"],isFirstRangeChild:[4,"is-first-range-child"],isLastRangeChild:[4,"is-last-range-child"],onSelect:[16]}]);function Te(){if(typeof customElements>"u")return;["date-cell"].forEach(n=>{switch(n){case"date-cell":customElements.get(n)||customElements.define(n,Oi);break}})}const fc=Oi,lc=Te,bc=Zt,uc=Wt,kc=Jt,pc=Kt,Fi=p(class extends k{constructor(){super(),this.__registerHost(),this.breadcrumbClick=hn(this,"breadcrumbClick",7),this.breadcrumbItems=[],this.items="[]"}componentWillLoad(){this.handleItemsChange(this.items)}handleItemsChange(n){try{this.breadcrumbItems=this.renderItems(JSON.parse(n))}catch(o){console.error("Invalid JSON in items prop:",o)}}isEllipsisItem(n){return n.ellipsis===!0}renderItems(n){return n.length<=5?n:[n[0],{ellipsis:!0},...n.slice(-2)]}handleClick(n,o,i){i.disabled||this.breadcrumbClick.emit({e:n,link:o,item:i})}render(){return e("nav",{key:"d4d18da600325dd3c70481ed7520638e6a913cfa","aria-label":"breadcrumb"},e("ul",{key:"d43fe0f906498ccbf7f2fb41166a600b81e521bd",class:"breadcrumb"},this.breadcrumbItems.map((n,o)=>{if(this.isEllipsisItem(n))return e("li",{key:o,class:"breadcrumb-item ellipsis"},e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{href:"#",class:"link link--sm link--neutral"},"..."));const i=o===this.breadcrumbItems.length-1,h=o===0;return e("li",{key:o,class:{"breadcrumb-item":!0,active:i},"aria-current":i?"page":void 0},n.path&&!i?e(N,null,!h&&e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:d=>this.handleClick(d,n.path,n),class:{"link link--sm link--neutral":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))):e(N,null,e("span",{class:"breadcrumb-icon"},e("dga-icon",{icon:"ArrowRight01Icon",variant:"stroke",type:"rounded"})),e("a",{onClick:d=>this.handleClick(d,n.path,n),class:{"link link--sm link--neutral link--disabled":!0,"disabled-link":n.disabled},href:n.disabled?void 0:n.path,"aria-disabled":n.disabled?"true":"false"},e("span",{class:"link__label"},n.label))))})))}static get watchers(){return{items:["handleItemsChange"]}}},[0,"dga-breadcrumbs",{items:[1]},void 0,{items:["handleItemsChange"]}]);function mc(){if(typeof customElements>"u")return;["dga-breadcrumbs","dga-icon"].forEach(n=>{switch(n){case"dga-breadcrumbs":customElements.get(n)||customElements.define(n,Fi);break;case"dga-icon":customElements.get(n)||D();break}})}const wc=Fi,vc=mc,yc=Nt,xc=nn,qc=to,_c=oo,Ri=p(class extends k{constructor(){super(),this.__registerHost(),this.getRealisticPath=n=>n.map((o,i)=>`${i===0?"M":"L"} ${o.x} ${o.y}`).join(" "),this.type="realistic",this.trend="positive",this.size="lg",this.showMarker=!1,this.data=[],this.lineColor=this.trend==="positive"?"#067647":"#B42318",this.fillColor=this.trend==="positive"?"#079455":"#D92D20",this.width=this.size==="lg"?328:128,this.height=64}getLinePath(){const n=this.getPoints();switch(this.type){case"realistic":return this.getRealisticPath(n);case"wavy":return this.getWavyPath(n);case"straight":return this.getStraightPath(n);case"layers":return this.getSmoothPath(n);default:return""}}getPoints(){return this.data.map((n,o)=>({x:o/(this.data.length-1)*this.width,y:this.height-n/Math.max(...this.data)*this.height}))}getSmoothPath(n){return n.reduce((o,i,h,d)=>{if(h===0)return`M ${i.x},${i.y}`;const f=d[h-1],l=(f.x+i.x)/2;return`${o} C ${l},${f.y} ${l},${i.y} ${i.x},${i.y}`},"")}getWavyPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} Q ${i.x-10},${i.y+10} ${i.x},${i.y}`,"")}getStraightPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} L ${i.x},${i.y}`,"")}render(){const n=this.getLinePath(),o=`${n} L 129 65 L 1 65 Z`;return e("svg",{key:"0a44466d18b6eca6770a29c507a2772004460271",width:"130",height:"66",viewBox:"0 0 130 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("mask",{key:"88fa803fb50f036df153a3c18de701bcfabc6a94",id:"mask0",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"128",height:"64"},e("rect",{key:"0bbffb112b264a7d5e39b1d76699fbf5ff33ba73",width:"128",height:"64",transform:"translate(1 1)",fill:"url(#paint0_linear)"})),e("g",{key:"d3d22018d1691ac4249989637ffff6454b5e031f",mask:"url(#mask0)"},e("path",{key:"ee316e56cf630c5076844bc06208a2d751fc3316",opacity:"0.2",d:o,fill:"#079455"})),e("path",{key:"793e3496a6c9c79f3584e82ed5cb2cbb5cb9e9dc",d:n,stroke:"#067647","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),e("g",{key:"ef15a557d4f8c7e713ac56ad2ad97df88b1320d0",opacity:"0.2"},e("rect",{key:"c32d76211ea47ed8bec7691378319a14eada7df5",x:"76",y:"5",width:"20",height:"20",rx:"10",stroke:"#067647","stroke-width":"2"})),e("rect",{key:"5afb61e8f70efad63d38911bf935f2cfde39fda8",x:"81",y:"10",width:"10",height:"10",rx:"5",fill:"white"}),e("rect",{key:"014c5e355283f12889a6cae163f76e2d75a8c2b0",x:"81",y:"10",width:"10",height:"10",rx:"5",stroke:"#067647","stroke-width":"2"}),e("defs",{key:"d9adfcac6dd80ec700d4e6362eabfa3f2a45623f"},e("linearGradient",{key:"7d5fd464b86201a5eaf798e2e778f1061c97454e",id:"paint0_linear",x1:"64",y1:"0",x2:"64",y2:"64",gradientUnits:"userSpaceOnUse"},e("stop",{key:"f2433fe135afaad85e481e1e2420f4e2fb0fd89c"}),e("stop",{key:"a0736a8abe425bd3a509ff66d76039a865c24e8c",offset:"1","stop-opacity":"0"}))))}},[0,"dga-chart-v2",{type:[1],trend:[1],size:[1],showMarker:[4,"show-marker"],data:[16],lineColor:[32],fillColor:[32],width:[32],height:[32]}]);function Hi(){if(typeof customElements>"u")return;["dga-chart-v2"].forEach(n=>{switch(n){case"dga-chart-v2":customElements.get(n)||customElements.define(n,Ri);break}})}const zc=Ri,jc=Hi,Ui=p(class extends k{constructor(){super(),this.__registerHost(),this.type="realistic",this.trend="positive",this.size="lg",this.showMarker=!1,this.data=[],this.lineColor=this.trend==="positive"?"#067647":"#B42318",this.fillColor=this.trend==="positive"?"#079455":"#D92D20",this.width=this.size==="lg"?328:128,this.height=64}handleSizeChange(){this.width=this.size==="lg"?328:128}getLinePath(){const n=this.getPoints();switch(this.type){case"realistic":return this.getSmoothPath(n);case"wavy":return this.getWavyPath(n);case"straight":return this.getStraightPath(n);case"layers":return this.getSmoothPath(n);default:return""}}getPoints(){return this.data.map((n,o)=>({x:o/(this.data.length-1)*this.width,y:this.height-n/Math.max(...this.data)*this.height}))}getSmoothPath(n){return n.reduce((o,i,h,d)=>{if(h===0)return`M ${i.x},${i.y}`;const f=d[h-1],l=(f.x+i.x)/2;return`${o} C ${l},${f.y} ${l},${i.y} ${i.x},${i.y}`},"")}getWavyPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} Q ${i.x-10},${i.y+10} ${i.x},${i.y}`,"")}getStraightPath(n){return n.reduce((o,i,h)=>h===0?`M ${i.x},${i.y}`:`${o} L ${i.x},${i.y}`,"")}getAreaPath(){return`${this.getLinePath()} L ${this.width},${this.height} L 0,${this.height} Z`}render(){const n=this.getLinePath(),o=this.getAreaPath();return e("svg",{key:"2c3d53931ab2578e058a0eac53811ebc77eceb37",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`},e("defs",{key:"40c5ddee97836ccb2118218e2852c683eff31e14"},e("linearGradient",{key:"97bc6aad5f4e4b6b5c95d7b66e60aa0b7f6f74d1",id:"areaGradient",x1:"0",x2:"0",y1:"0",y2:"1"},e("stop",{key:"53da7a310eec2f5c6af34a9966b1e64a9513b2e0",offset:"0%","stop-color":this.fillColor,"stop-opacity":"0.25"}),e("stop",{key:"69aee8cd32668abe7554e04b50261ea7f54f5772",offset:"100%","stop-color":this.fillColor,"stop-opacity":"0"}))),e("path",{key:"079fd7139873b3cff0c70062aab9d89fc8e3e09f",d:o,fill:"url(#areaGradient)"}),e("path",{key:"91ebd727ba892e0c39cf0d1a2f295adb9aed2276",d:n,fill:"none",stroke:this.lineColor,"stroke-width":"2"}),this.showMarker&&this.getPoints().map(i=>e("circle",{cx:i.x,cy:i.y,r:"4",fill:"white",stroke:this.lineColor,"stroke-width":"2"})))}static get watchers(){return{size:["handleSizeChange"]}}},[0,"dga-chart",{type:[1],trend:[1],size:[1],showMarker:[4,"show-marker"],data:[16],lineColor:[32],fillColor:[32],width:[32],height:[32]},void 0,{size:["handleSizeChange"]}]);function Le(){if(typeof customElements>"u")return;["dga-chart"].forEach(n=>{switch(n){case"dga-chart":customElements.get(n)||customElements.define(n,Ui);break}})}const Cc=Ui,Ec=Le,$c=eo,Sc=Sn,Mc=ro,Dc=go,Yi=p(class extends k{constructor(){super(),this.__registerHost(),this.icons={success:"hgi-solid hgi-sharp hgi-checkmark-circle-02",info:"hgi-solid hgi-sharp hgi-information-circle",neutral:"hgi-solid hgi-sharp hgi-information-circle",warning:"hgi-solid hgi-alert-02",critical:"hgi-solid hgi-alert-circle"},this.sizes={"200px":200,"160px":160,"120px":120,"80px":80,"64px":64},this.size="200px",this.text=void 0,this.variant="primary",this.icon=void 0,this.percentage=0,this.internalPercentage=void 0}updateInternalPercentage(){this.internalPercentage=this.variant==="success"?100:this.percentage}componentWillLoad(){this.updateInternalPercentage()}render(){const n=this.sizes[this.size]/10,o=(this.sizes[this.size]-n)/2,i=2*Math.PI*o,h=i*(1-this.internalPercentage/100);return e("div",{key:"a316b201043dd077ef16f2c95bc39548ef856454",class:"circular-progress-bar","aria-size":this.size},e("div",{key:"fb6445539f5b910ff9a31802059e7fa0272ec1ae",class:"circular-progress-bar__label"},this.variant==="success"&&this.icon&&e("i",{key:"cee8bc22cdf6dbd2f9b5f2733ee2d1fc7fc222fb",class:`circular-progress-bar__label--icon ${this.icons[this.icon]}`}),this.variant!=="success"&&e("h4",{key:"75eaf354938a7d4e54a8862bf90201bf786f665a",class:"circular-progress-bar__label--percentage"},this.internalPercentage,"%"),this.text&&e("h5",{key:"797c2546e43ddc5d72afa53098d33b2001dd5bdf",class:`circular-progress-bar__label--text ${this.variant}`},this.text)),e("svg",{key:"2ef7db37244031986796e76702c1aaa41b7b8693",width:this.sizes[this.size],height:this.sizes[this.size],viewBox:`0 0 ${this.sizes[this.size]} ${this.sizes[this.size]}`},e("circle",{key:"ee40093d9bbb1e24c6e2424a54aa3f18e0a94e2b",class:"track",fill:"none",stroke:"#e6e6e6",r:o,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n}),e("circle",{key:"75a4e806ad1b612dabb84e8de1a2a0ce7f7123fb",class:`tail tail--${this.variant}`,fill:"none",stroke:"currentColor",r:o,cx:this.sizes[this.size]/2,cy:this.sizes[this.size]/2,"stroke-width":n,"stroke-linecap":"round","stroke-dasharray":i,"stroke-dashoffset":h,transform:`rotate(-180 ${this.sizes[this.size]/2} ${this.sizes[this.size]/2})`,style:{transition:"stroke-dashoffset 0.5s ease"}})))}static get watchers(){return{percentage:["updateInternalPercentage"],variant:["updateInternalPercentage"]}}},[0,"dga-circular-progress-bar",{size:[1],text:[1],variant:[1],icon:[1],percentage:[2],internalPercentage:[32]},void 0,{percentage:["updateInternalPercentage"],variant:["updateInternalPercentage"]}]);function Xi(){if(typeof customElements>"u")return;["dga-circular-progress-bar"].forEach(n=>{switch(n){case"dga-circular-progress-bar":customElements.get(n)||customElements.define(n,Yi);break}})}const Ic=Yi,Pc=Xi,Ac=so,Bc=fo,Tc=ko,Lc=po,Oc=bo,Fc=uo;var Rc=function(t,n){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,i=Object.getOwnPropertySymbols(t);h<i.length;h++)n.indexOf(i[h])<0&&Object.prototype.propertyIsEnumerable.call(t,i[h])&&(o[i[h]]=t[i[h]]);return o};const Zi=p(class extends k{constructor(){super(),this.__registerHost(),this.sortData=(n="up",o,i)=>{if(n==="up"){const h=[...this.data.sort((d,f)=>f[o]>d[o]?1:d[o]>f[o]?-1:0)];this.sortedData=h}else if(n==="down"){const h=[...this.data.sort((d,f)=>d[o]>f[o]?1:f[o]>d[o]?-1:0)];this.sortedData=h}this.cells[i].sort=n=="down"?"up":"down"},this.handleSelectedRowChanges=(n,o)=>{const i=[...this.data];i[o].selected=n,this.sortedData=i,this.getSelectedRows&&this.getSelectedRows({selectedRows:i.filter(h=>h.selected),currentSelectedRow:i[o],currentSelectedRowIndex:o})},this.selectAll=n=>{const o=[...this.data];o.forEach(i=>i.selected=n),this.sortedData=o,this.getSelectedRows&&this.getSelectedRows({selectedRows:o})},this.data=[{selected:!0},{selected:!0}],this.rowDivider=!0,this.showSelectCheckBox=!0,this.alternate=!0,this.cells=[{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1},{propertyName:"test",isFilter:!1,isSort:!1,title:"Test",type:"propertyName",colSpan:1}],this.contained=!0,this.getSelectedRows=void 0,this.pressOnFilter=void 0,this.sortedData=[],this.direction=!1}componentDidLoad(){document.dir?document.dir==="rtl"?this.direction=!0:this.direction=!1:document.documentElement.lang?document.documentElement.lang==="ar"?this.direction=!0:this.direction=!1:this.direction=!1}componentDidUpdate(){const n=[...this.data.map(o=>(o.selected=!1,o))];this.sortedData=n}render(){return e("div",{key:"08fbcfe19f983d71b37ad9c62f0756d0cf150e48",class:`table-wrapper ${this.contained?"table-contained":""}`},e("table",{key:"933e92137850b7de893cf691fa22e591a7227c98",class:` azm-table ${this.contained?"table-contained":""}`,style:{direction:this.direction?"rtl":"ltr"}},e("thead",{key:"4e4e862c633015841ac58f1c1dd1aa818620a871"},e("tr",{key:"70ac0432e89ad7b65e2479b1d3d08a2a90ab3ebf",class:`${this.rowDivider?"row-divider":""}`},this.showSelectCheckBox&&e("th",{key:"346ea6cfc74369625c8229eaefbd22405a5e9bdc",style:{width:"20px"}},e("dga-checkbox",{key:"662f8ca0f033901725b148b0e3caa95d3c01d8b6",showBorderOnFocusAndFocusOute:!1,value:"true",onChange:n=>this.selectAll(n.target.checked)})),this.cells.map((n,o)=>{var{sort:i,isSort:h,propertyName:d,type:f}=n,l=Rc(n,["sort","isSort","propertyName","type"]);return e("th",{key:o},e("span",null,e("span",{class:"text"},l.title),e("span",{class:"icon-wrapper"},h&&i=="up"&&f=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("up",d,o)},e("dga-icon",{icon:"SortByUp02Icon"})),h&&(!i||i=="down")&&f=="propertyName"&&e("button",{class:"btn btn--sort btn--icon btn--md",onClick:()=>this.sortData("down",d,o)},e("dga-icon",{icon:"SortByDown02Icon"})),l.isFilter&&e("button",{class:"btn btn--sort btn--icon btn--md ",onClick:()=>this.pressOnFilter&&this.pressOnFilter(d)},e("dga-icon",{icon:"FilterIcon"})))))}))),e("tbody",{key:"87ed3ef8205f5c5b342e0ce12075ce492f1cb9de"},this.sortedData.map((n,o)=>e("tr",{class:`${this.rowDivider?"row-divider":""} ${this.alternate?"alternate":""} ${n.selected?"row-selected":""} `,key:o},this.showSelectCheckBox&&e("td",null,e("dga-checkbox",{name:o+"checkboxSelection",value:n.selected,id:o+"checkboxSelection",showBorderOnFocusAndFocusOute:!1,onChange:i=>this.handleSelectedRowChanges(i.target.checked,o),checked:n.selected})))))))}},[0,"dga-data-table",{data:[16],rowDivider:[4,"row-divider"],showSelectCheckBox:[4,"show-select-check-box"],alternate:[4],cells:[16],contained:[4],getSelectedRows:[8,"get-selected-rows"],pressOnFilter:[8,"press-on-filter"],sortedData:[32],direction:[32]}]);function Hc(){if(typeof customElements>"u")return;["dga-data-table","dga-checkbox","dga-icon"].forEach(n=>{switch(n){case"dga-data-table":customElements.get(n)||customElements.define(n,Zi);break;case"dga-checkbox":customElements.get(n)||Sn();break;case"dga-icon":customElements.get(n)||D();break}})}const Uc=Zi,Yc=Hc,_t=t=>{const n=t.getMonth(),o=t.getFullYear(),i=new Date(o,n+1,0).getDate();return Array.from({length:i},(h,d)=>new Date(o,n,d+1))},zt=t=>{const n=new Date(t.getFullYear(),t.getMonth(),1).getDay(),o=new Date(t.getFullYear(),t.getMonth(),0),i=[];for(let h=0;h<n;h++)i.unshift(new Date(o.getFullYear(),o.getMonth(),o.getDate()-h));return i},jt=t=>{const n=new Date(t.getFullYear(),t.getMonth()+1,0).getDay(),o=new Date(t.getFullYear(),t.getMonth()+1,1),i=[];for(let h=0;h<6-n;h++)i.push(new Date(o.getFullYear(),o.getMonth(),o.getDate()+h));return i},J=new Date,Wn=new Date(J);Wn.setDate(Wn.getDate()-1);const Wi=new Date(J);Wi.setHours(0,0,0,0);const Cn=new Date(J);Cn.setHours(23,59,59,999);const Vi=new Date(Wn);Vi.setHours(0,0,0,0);const Gi=new Date(Wn);Gi.setHours(23,59,59,999);const ee=new Date(J);ee.setDate(J.getDate()-J.getDay());const te=new Date(J);te.setDate(J.getDate()+(6-J.getDay()));const Ji=new Date(ee);Ji.setDate(ee.getDate()-7);const Ki=new Date(te);Ki.setDate(te.getDate()-7);const wn=new Date(J);wn.setDate(1);const ye=new Date(J);ye.setMonth(ye.getMonth()+1,0);const xe=new Date(wn);xe.setMonth(xe.getMonth()-1,1);const qe=new Date(wn);qe.setDate(qe.getDate()-1);const _e=new Date(wn);_e.setMonth(_e.getMonth()-3,1);const ze=new Date(wn);ze.setDate(ze.getDate()-1);const je=new Date(J);je.setDate(je.getDate()-6);const Ce=new Date(J);Ce.setDate(Ce.getDate()-29);const Ee=new Date(J);Ee.setDate(Ee.getDate()-89);const Xc=[{label:"Today",range:()=>({startDate:Wi,endDate:Cn})},{label:"Yesterday",range:()=>({startDate:Vi,endDate:Gi})},{label:"This Week",range:()=>({startDate:ee,endDate:te})},{label:"Last Week",range:()=>({startDate:Ji,endDate:Ki})},{label:"This Month",range:()=>({startDate:wn,endDate:ye})},{label:"Last Month",range:()=>({startDate:xe,endDate:qe})},{label:"Last 3 Months",range:()=>({startDate:_e,endDate:ze})},{label:"Last 7 Days",range:()=>({startDate:je,endDate:Cn})},{label:"Last 30 Days",range:()=>({startDate:Ce,endDate:Cn})},{label:"Last 90 Days",range:()=>({startDate:Ee,endDate:Cn})}];function ue(t,n){return t.getFullYear()===n.getFullYear()&&t.getMonth()===n.getMonth()&&t.getDate()===n.getDate()}const Ct=t=>/^(?:January|February|March|April|May|June|July|August|September|October|November|December) (?:0?[1-9]|[12][0-9]|3[01]), (?:19|20)\d{2}$/.test(t)?(console.log("date is valid"),!0):(console.log("date is not valid"),!1),Qi=p(class extends k{constructor(){super(),this.__registerHost(),this.initialDate=new Date,this.range=!1,this.dualMonthView=!1,this.inputField=!1,this.submitButton=!1,this.qickOptions=!1,this.onSubmit=()=>{},this.onCancel=()=>{},this.currentMonth=this.initialDate,this.selectedDate=null,this.rangeDates={},this.inputDates={startDate:"",endDate:""}}get nextMonth(){return new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1)}get days(){return[...zt(this.currentMonth).slice(0,2),..._t(this.currentMonth),...jt(this.currentMonth).slice(0,2)]}get nextMonthDays(){return[...zt(this.nextMonth).slice(0,2),..._t(this.nextMonth),...jt(this.nextMonth).slice(0,2)]}formatDate(n){if(!n)return"";const o=new Date(n);return`${["January","February","March","April","May","June","July","August","September","October","November","December"][o.getMonth()]} ${o.getDate()}, ${o.getFullYear()}`}handleSelectDate(n){console.log(n,"reached"),this.range?this.rangeDates.startDate?this.rangeDates.endDate?this.rangeDates={startDate:n,endDate:null}:n>=this.rangeDates.startDate?this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:n}):this.rangeDates={startDate:n}:this.rangeDates={startDate:n}:this.selectedDate=n}handleInputDate(n){const o=n.target,{name:i,value:h}=o;this.inputDates=Object.assign(Object.assign({},this.inputDates),{[i]:h})}handleChangeMonth(n){this.currentMonth=n}isMidRange(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?n>this.rangeDates.startDate&&n<this.rangeDates.endDate:!1}isFirstRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.startDate.getTime():!1}isLastRangeChild(n){return this.range&&this.rangeDates.startDate&&this.rangeDates.endDate?this.rangeDates.startDate.getTime()!==this.rangeDates.endDate.getTime()&&n.getTime()===this.rangeDates.endDate.getTime():!1}componentDidLoad(){this.inputField&&(this.rangeDates.startDate&&(this.inputDates=Object.assign(Object.assign({},this.inputDates),{startDate:this.formatDate(this.rangeDates.startDate)})),this.rangeDates.endDate?this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:this.formatDate(this.rangeDates.endDate)}):this.inputDates=Object.assign(Object.assign({},this.inputDates),{endDate:""}))}render(){return e("div",{key:"e6c18d80c114357524e295837dda4b59c729cede",class:"date-picker-root flex-column","data-dual-view":this.dualMonthView},e("div",{key:"d5620f4c26e404bef11e885dccaad448a646f30f",class:"flex"},this.qickOptions&&this.range&&e("div",{key:"210d783f647e8933e54a976c3db9419ee8ebb163",class:"date-picker-root__quick-options"},e("span",{key:"aa0499dcb99fea7ba5f055eea05a08beb511e476",class:"text-md-regular"},"Qick options"),e("ul",{key:"590b46e477ac129da27781e0f76e64eaca9a19ec",class:"options-list"},Xc.map(({label:n,range:o})=>e("li",{key:n},e("button",{class:"text-md-medium",onClick:()=>this.rangeDates=o},n))))),e("div",{key:"63825de50e6c9e754373d743e725ae6360f45720",class:"date-picker-root__main"},this.inputField&&e("div",{key:"14b135c691a5f872896c865df23fb32b5b7b4765",class:"date-picker-root__main__inputs"},e("dga-text-input",{key:"584af034d82cb33befedd22f9da643dacdba9542",placeholder:"Month DD, YYYY",name:"startDate",value:this.inputDates.startDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(Ct(n.target.value)){const o=new Date(n.target.value);this.range?this.rangeDates.startDate?this.rangeDates.endDate?o>=this.rangeDates.endDate?this.rangeDates={startDate:o,endDate:o}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{startDate:o}):this.rangeDates={startDate:o,endDate:null}:this.rangeDates={startDate:o}:this.selectedDate=o}}}),this.range&&e("dga-text-input",{key:"c0b85adcb28e11f8f67dc46c33582d60674c4a85",placeholder:"Month DD, YYYY",name:"endDate",value:this.inputDates.endDate,onChange:n=>this.handleInputDate(n),onBlur:n=>{if(Ct(n.target.value)){const o=new Date(n.target.value);this.range?this.rangeDates.endDate?this.rangeDates.startDate?o<=this.rangeDates.startDate?this.rangeDates={startDate:o,endDate:this.rangeDates.startDate}:this.rangeDates=Object.assign(Object.assign({},this.rangeDates),{endDate:o}):this.rangeDates={startDate:o,endDate:null}:this.rangeDates.startDate?o<=this.rangeDates.startDate&&(this.rangeDates={startDate:o,endDate:this.rangeDates.startDate}):this.rangeDates={startDate:o,endDate:null}:this.selectedDate=o}}})),e("div",{key:"740a266a365cad7b63397212c779ac9d3e5e8827",class:"date-picker-root__main__content-wrapper"},e("div",{key:"6a817d823cde99eabeaa639fa257ace90e279578",class:"date-picker"},e("month-navigator",{key:"a46dd9b74aa9778ad6f9b770de272009896fd7b8",currentMonth:this.currentMonth,onChange:n=>this.handleChangeMonth(n),showArrows:!this.dualMonthView}),e("div",{key:"848ec2c9643a4c1bca3c2ec6b90c89142fb2c63d",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"a63ba5ba7f28f6a633b9f264d931e5281fc0e433",class:"date-picker__date-grid"},this.days.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.currentMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&ue(n,this.rangeDates.startDate)||!!this.rangeDates.endDate&&ue(n,this.rangeDates.endDate):this.selectedDate?ue(n,this.selectedDate):!1,isToday:new Date().toDateString()===n.toDateString(),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),midRange:this.isMidRange(n),onSelect:this.handleSelectDate})))),this.dualMonthView&&e("div",{key:"681146fc7cc2ec06185096dc33d5f238a604e5aa",class:"date-picker"},e("month-navigator",{key:"da67650a299dc05d93a8d7bcd7e1402599388b7c",currentMonth:this.nextMonth,onChange:n=>{const o=n.getMonth()===this.currentMonth.getMonth()?new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()-1):new Date(this.currentMonth.getFullYear(),this.currentMonth.getMonth()+1);this.handleChangeMonth(o)},showArrows:!0}),e("div",{key:"11ebb160c7833860a66c0b563d903e68477fdca2",class:"date-picker__weekdays"},["Su","Mo","Tu","We","Th","Fr","Sa"].map(n=>e("div",{key:n,class:"date-picker__weekday"},n))),e("div",{key:"7d5557a39708c79f187d9b12e4425d8d892c2548",class:"date-picker__date-grid"},this.nextMonthDays.map(n=>e("date-cell",{key:n.toString(),date:n,isCurrentMonth:n.getMonth()===this.nextMonth.getMonth(),isSelected:this.range?!!this.rangeDates.startDate&&n.getTime()===this.rangeDates.startDate.getTime()||!!this.rangeDates.endDate&&n.getTime()===this.rangeDates.endDate.getTime():this.selectedDate?n.getTime()===this.selectedDate.getTime():!1,isToday:new Date().toDateString()===n.toDateString(),midRange:this.isMidRange(n),isFirstRangeChild:this.isFirstRangeChild(n),isLastRangeChild:this.isLastRangeChild(n),onSelect:this.handleSelectDate}))))))))}},[0,"dga-datepicker",{initialDate:[16],range:[4],dualMonthView:[4,"dual-month-view"],inputField:[4,"input-field"],submitButton:[4,"submit-button"],qickOptions:[4,"qick-options"],onSubmit:[16],onCancel:[16],currentMonth:[32],selectedDate:[32],rangeDates:[32],inputDates:[32]}]);function Ni(){if(typeof customElements>"u")return;["dga-datepicker","date-cell","dga-icon","dga-text-input"].forEach(n=>{switch(n){case"dga-datepicker":customElements.get(n)||customElements.define(n,Qi);break;case"date-cell":customElements.get(n)||Te();break;case"dga-icon":customElements.get(n)||D();break;case"dga-text-input":customElements.get(n)||Nn();break}})}const nh=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"b78e4a5161bad9e318166ae016d62eb7d73d23c7"},e("h1",{key:"6bf4e36f0dca19f77c4433a339bb898691111b6c"},"Datepicker Example"),e("div",{key:"ec528e58db3838b340c78e148ab6199780336384",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"c03767c4d85a78e5af2e41aa52e798e1951b611d",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-datepicker",{key:"291bef92e127f8f787c781fccab20b8adacda832",inputField:!0}),e("dga-datepicker",{key:"a8ad292a4558a31bbba8e235c0aab1dbc7417770",range:!0})),e("div",{key:"da0cce7cc3c7eb0bdef0bd50e7908b5bd146cc2e",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-datepicker-usage"]);function Zc(){if(typeof customElements>"u")return;["dga-datepicker-usage","date-cell","dga-datepicker","dga-icon","dga-text-input"].forEach(n=>{switch(n){case"dga-datepicker-usage":customElements.get(n)||customElements.define(n,nh);break;case"date-cell":customElements.get(n)||Te();break;case"dga-datepicker":customElements.get(n)||Ni();break;case"dga-icon":customElements.get(n)||D();break;case"dga-text-input":customElements.get(n)||Nn();break}})}const Wc=nh,Vc=Zc,Gc=Qi,Jc=Ni,eh=p(class extends k{constructor(){super(),this.__registerHost(),this.color="neutral"}render(){return e("span",{key:"13e24f52d5bee0acdb0683cd708685184394fda7",class:`dga-divider dga-divider--${this.color}`})}},[0,"dga-divider",{color:[1]}]);function Kc(){if(typeof customElements>"u")return;["dga-divider"].forEach(n=>{switch(n){case"dga-divider":customElements.get(n)||customElements.define(n,eh);break}})}const Qc=eh,Nc=Kc,ns=zo,es=jo,ts=Eo,os=$o,is=Do,hs=Ae,rs=To,gs=Lo,Oe=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.icon=void 0,this.active=!1,this.extraClasses="",this.onClick=void 0}handleClick(n){n.preventDefault(),this.onClick&&this.onClick()}render(){return e("li",{key:"053de5905f50bc37c4fe22952e10699858308ce5"},e("a",{key:"f506f11eb012a07428659a603a979fc58eb5aeb0",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""} ${this.extraClasses}`,onClick:this.handleClick.bind(this)},e("span",{key:"4f41284200d4d0947e78f7a6003bce094e85b5ea",class:"header-menu__item-arrow"},e("dga-icon",{key:"6a12fb2832c6ee92d9f260d2d57ce145709ffce7",icon:this.icon})),e("span",{key:"48c720a3c68b576796000263cca6db5ddb9039f0",class:"header-menu__item-label"},this.label)))}},[0,"dga-header-action-btn",{label:[1],icon:[1],active:[4],extraClasses:[1,"extra-classes"],onClick:[16]}]);function as(){if(typeof customElements>"u")return;["dga-header-action-btn","dga-icon"].forEach(n=>{switch(n){case"dga-header-action-btn":customElements.get(n)||customElements.define(n,Oe);break;case"dga-icon":customElements.get(n)||D();break}})}const cs=Oe,ss=as,Fe=p(class extends k{constructor(){super(),this.__registerHost(),this.fullWidth=!0,this.divider=!0}render(){return e("header",{key:"726bfc519703997a94965f1bc21d2b1d3f1d5d51",class:`header ${this.divider?"header--divider":""}`},e("nav",{key:"b89ae9d2b5100bc828966d478e67a7745bfe0b3a",class:`header-nav--${this.fullWidth?"full":"fixed"}`},e("slot",{key:"4ea790e021764ede43f03891c49336e3c50f71ff"})))}},[4,"dga-nav-header",{fullWidth:[4,"full-width"],divider:[4]}]);function ds(){if(typeof customElements>"u")return;["dga-nav-header"].forEach(n=>{switch(n){case"dga-nav-header":customElements.get(n)||customElements.define(n,Fe);break}})}const Re=p(class extends k{constructor(){super(),this.__registerHost(),this.toggleCollapsed=hn(this,"toggleCollapsed",7),this.handleToggle=()=>{this.toggleCollapsed.emit(!this.collapsed)},this.collapsed=!1}render(){return e("div",{key:"1d6260517071eaa610af05a17014aa4ca9f0f1a7"},e("button",{key:"459df9019332c1c007326645247214dfe16ac891",type:"button",onClick:this.handleToggle,class:"header-menu__btn"},e("span",{key:"4f99919ed13afbe1aadcbe209b4ce9504b8bc466",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"cba61e02b2e82b655183996a0a95ccb6dd759c7a",icon:this.collapsed?"menu01":"cancel01"}))),e("div",{key:"f770b5480e526691f2156668be313e6455dac5b7",class:"header-nav__main"},e("slot",{key:"673d2f664360209d5c87d37f1106f2e3ed7f14ba"})))}},[4,"dga-nav-header-main",{collapsed:[4]}]);function fs(){if(typeof customElements>"u")return;["dga-nav-header-main","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-main":customElements.get(n)||customElements.define(n,Re);break;case"dga-icon":customElements.get(n)||D();break}})}const He=p(class extends k{constructor(){super(),this.__registerHost(),this.logoSrc=void 0,this.logoAlt=void 0,this.logoLink="#",this.govSrc=void 0,this.govAlt=void 0,this.govLink="#"}render(){return e("div",{key:"32c6e885fe2b7c1450f3b78f6dfd1d7f97385ed7",class:"header-nav__branding"},this.govSrc&&e("div",{key:"fbd02ad2ba968a841004f03a8501168a49e03910",class:"flex xs-hide"},e("a",{key:"2d1ebd951e50aac10eff8007d61ed4609c97548c",href:this.govLink},e("img",{key:"ca28477c013a8b75f8648c2e86470b79d7f5f64b",src:this.govSrc,alt:this.govAlt})),e("div",{key:"b0fd82bfebf0254981cf1c8fd77f25652eba95e8",class:"ver-divider"})),e("a",{key:"a794d7d5dc3e35124bb5caf2662ed86640747b64",href:this.logoLink,class:"header__logo"},e("img",{key:"25e3ebf0a31bfe905fc38ddc015bf8a1c060caaa",src:this.logoSrc,alt:this.logoAlt})))}},[0,"dga-nav-header-logos",{logoSrc:[1,"logo-src"],logoAlt:[1,"logo-alt"],logoLink:[1,"logo-link"],govSrc:[1,"gov-src"],govAlt:[1,"gov-alt"],govLink:[1,"gov-link"]}]);function ls(){if(typeof customElements>"u")return;["dga-nav-header-logos"].forEach(n=>{switch(n){case"dga-nav-header-logos":customElements.get(n)||customElements.define(n,He);break}})}const Ue=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"3bcd828e93fb5f9725a6ffbc1647334ee15ffd3b",class:"header-nav__menu"},e("slot",{key:"c100bb3baed1b63096a036455d27588b99722876"}))}},[4,"dga-nav-header-menu"]);function bs(){if(typeof customElements>"u")return;["dga-nav-header-menu"].forEach(n=>{switch(n){case"dga-nav-header-menu":customElements.get(n)||customElements.define(n,Ue);break}})}const th=p(class extends k{constructor(){super(),this.__registerHost(),this.active=!1,this.subMenuFullWidth=!1,this.background=void 0}onActiveChange(){this.active&&this.submenu?(this.submenu.style.display="block",this.submenu.style.maxHeight=`${this.submenu.scrollHeight}px`):this.submenu&&(this.submenu.style.maxHeight="")}componentDidLoad(){this.submenu=this.el.shadowRoot.querySelector(".header__sub-menu"),this.onActiveChange()}render(){const n=this.background==="Brand"?"header__sub-menu--bg-brand":"",o=this.subMenuFullWidth?"header__sub-menu--full":"";return e("div",{key:"4962db97664e9b3af1d4b3a258b87758441c0897",class:`header__sub-menu ${n} ${o}`,ref:i=>this.submenu=i},e("div",{key:"086d787566dfbb8fb4bc772161f0d28df532b4be",class:"sub-menu__container"},e("slot",{key:"55a8abddb1ddee845beda9018ce0e08a21015f87"})))}get el(){return this}static get watchers(){return{active:["onActiveChange"]}}},[4,"dga-nav-header-sub-menu",{active:[4],subMenuFullWidth:[4,"sub-menu-full-width"],background:[1]},void 0,{active:["onActiveChange"]}]);function oh(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu":customElements.get(n)||customElements.define(n,th);break}})}const Ye=p(class extends k{constructor(){super(),this.__registerHost(),this.linkClicked=hn(this,"linkClicked",7),this.handleClick=n=>{n.preventDefault(),this.linkClicked.emit()},this.label=void 0,this.icon=void 0,this.iconProps={},this.active=!1,this.subMenuBackground="Brand",this.subMenuFullWidth=!0}render(){return e("li",{key:"634d63d41af5563b5564afd652aaedc97869f5c5"},e("a",{key:"8d1999071c8925a8d302a2fe96775882d2d22ea3",href:"#",class:`header-menu__item ${this.active?"header-menu__item--active":""}`,onClick:this.handleClick},e("span",{key:"c5a45bc4e5fbd3e95df9336473650dcafd8d61b5",class:"header-menu__item-label"},this.label),e("span",{key:"1e7c4b1939ac1160a5727e60a463f5d98b4b56cd",class:"header-menu__item-arrow"},e("dga-icon",Object.assign({key:"ff2f404f6450a1649d7d82e90acc40d44a49ab2a",icon:this.icon},this.iconProps)))),this.active&&e("dga-nav-header-sub-menu",{key:"0390ac8ec6a1b685e70d284cf514a7b0000c0e43",active:this.active,"sub-menu-full-width":this.subMenuFullWidth,background:this.subMenuBackground},e("slot",{key:"d5ba905a7b14346f2545651012ffee6932071c22"})))}},[4,"dga-nav-header-link",{label:[1],icon:[1],iconProps:[16],active:[4],subMenuBackground:[1,"sub-menu-background"],subMenuFullWidth:[4,"sub-menu-full-width"]}]);function us(){if(typeof customElements>"u")return;["dga-nav-header-link","dga-icon","dga-nav-header-sub-menu"].forEach(n=>{switch(n){case"dga-nav-header-link":customElements.get(n)||customElements.define(n,Ye);break;case"dga-icon":customElements.get(n)||D();break;case"dga-nav-header-sub-menu":customElements.get(n)||oh();break}})}const Vn=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"dc974cc566a8aad8add485daba94e7d3aa475636",class:"sub-menu__column"},e("slot",{key:"784ee4c0fb678538a71cfc3a253515db09730226"}))}},[4,"dga-nav-header-sub-menu-column"]);function ks(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-column"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-column":customElements.get(n)||customElements.define(n,Vn);break}})}const Xe=p(class extends k{constructor(){super(),this.__registerHost(),this.background=void 0,this.link=void 0,this.linkStyle=void 0,this.label=void 0,this.helperText=void 0,this.icon=void 0}render(){const n=this.background==="Brand"?"sub-menu__link--on-color":"",o=this.linkStyle&&this.linkStyle>0?this.linkStyle===2?"sub-menu__link-icon--bg":"sub-menu__link-icon":"";return e("a",{key:"dbdac1be5ad2706ef729d8e4e8d99a10cbee8c0d",href:this.link,class:`sub-menu__link ${n}`},this.linkStyle&&this.linkStyle>0?e("div",{class:o},this.icon&&e("dga-icon",{icon:this.icon})):null,e("div",{key:"b3e8959e49aa69feabf4bb06bf5546c289c5cbe9",class:"flex-column"},e("span",{key:"2c36784f20012cce6a132b8fba957eeeac5d0fad",class:"sub-menu__link-label"},this.label),this.helperText&&e("span",{key:"ce74e0d916e6e2f2c87e281663f705ca9370783c",class:"sub-menu__link-helper"},this.helperText)))}},[0,"dga-nav-header-sub-menu-link",{background:[1],link:[1],linkStyle:[2,"link-style"],label:[1],helperText:[1,"helper-text"],icon:[1]}]);function ps(){if(typeof customElements>"u")return;["dga-nav-header-sub-menu-link","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-sub-menu-link":customElements.get(n)||customElements.define(n,Xe);break;case"dga-icon":customElements.get(n)||D();break}})}const Ze=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e(N,null,e("button",{key:"a2df6712612d2a73fdf1f64d08639268bac5c381",type:"button",class:"header-menu__btn btn btn--lg btn--subtle btn--icon"},e("span",{key:"5ca6ac23814473653e7bb8e73753367df88869a6",class:"btn-icon header-menu__btn-icon"},e("dga-icon",{key:"eaf0067d4d1ba97b1ff9f0ae229cff128a08bad5",icon:"MoreHorizontalCircleIcon",variant:"solid"}))),e("ul",{key:"c9b252ec5be2e39bfec33a341812f8484afb09a3",class:"header-nav__actions"},e("slot",{key:"b894afce208d5454aa6a42774a509a6f453da9ff"})))}},[4,"dga-nav-header-actions"]);function ms(){if(typeof customElements>"u")return;["dga-nav-header-actions","dga-icon"].forEach(n=>{switch(n){case"dga-nav-header-actions":customElements.get(n)||customElements.define(n,Ze);break;case"dga-icon":customElements.get(n)||D();break}})}const ih=p(class extends k{constructor(){super(),this.__registerHost(),this.config=void 0}render(){return e(Fe,{key:"a4b27d9fe31ff8b3dee9036d2e50a70f69672f03",fullWidth:this.config.fullWidth,divider:this.config.divider},e(Re,{key:"08e4c1eb49ca888c6bd5ce096f9305883e8b9c88",collapsed:!0},e(He,{key:"3400aeebf54005a3defc249e739168fb31326a02",logoSrc:this.config.logoSrc,govSrc:this.config.govSrc,logoLink:this.config.logoLink,govLink:this.config.govLink}),e(Ue,{key:"a3db9f115debdbbcbc4a7451e8479948176f9b31"},this.config.headerLinks.map((n,o)=>e(Ye,{key:o,active:!1,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon,subMenuBackground:this.config.subMenuBackground,subMenuFullWidth:this.config.subMenuFullWidth},n.subMenu.map((i,h)=>e(Vn,{key:h},i.columns.map((d,f)=>e(Vn,{key:f},d.links.map((l,b)=>e(Xe,{key:b,background:this.config.subMenuBackground,label:l.label,helperText:l.helperText,icon:l.icon,linkStyle:l.linkStyle})))))))))),e(Ze,{key:"4abc413d87a098db4f90545b9d07936f19a6817b"},this.config.actions.map((n,o)=>e(Oe,{key:o,onClick:()=>console.log("clicked"),label:n.label,icon:n.icon}))))}},[0,"dga-header",{config:[16]}]);function ws(){if(typeof customElements>"u")return;["dga-header"].forEach(n=>{switch(n){case"dga-header":customElements.get(n)||customElements.define(n,ih);break}})}const vs=ih,ys=ws,hh=p(class extends k{constructor(){super(),this.__registerHost(),this.label=void 0,this.color="neutral",this.variant="success",this.size="md",this.iconType=void 0,this.leadIcon=void 0,this.trailIcon=void 0,this.outlined=void 0,this.rounded=void 0,this.iconOnly=void 0}render(){return console.log(!!this.iconOnly,this.iconOnly),this.iconOnly?e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""} tag--icon`},this.leadIcon&&e("span",{class:"tag-icon"},this.leadIcon),!this.leadIcon&&e("slot",null)):e("span",{class:`tag tag--${this.color}${this.outlined?"-outlined":""} tag--${this.size} ${this.rounded?"tag--rounded":""}`},this.leadIcon?e("span",{class:"tag-icon"},this.leadIcon):"",this.label,this.trailIcon?e("span",{class:"tag-icon"},this.trailIcon):"",e("slot",null))}},[4,"dga-html-tag",{label:[1],color:[1],variant:[1],size:[1],iconType:[8,"icon-type"],leadIcon:[8,"lead-icon"],trailIcon:[8,"trail-icon"],outlined:[516],rounded:[516],iconOnly:[516,"icon-only"]}]);function xs(){if(typeof customElements>"u")return;["dga-html-tag"].forEach(n=>{switch(n){case"dga-html-tag":customElements.get(n)||customElements.define(n,hh);break}})}const qs=hh,_s=xs,zs=Gt,js=D,Cs=Fo,Es=Ro,$s=Uo,Ss=Yo,Ms=Mo,Ds=Mn,rh=p(class extends k{constructor(){super(),this.__registerHost(),this.icon=void 0,this.size=24,this.color=void 0}render(){return e("svg",{key:"0f09d42d6769eb1bca8a2c5eb5ee8c35b7bebb46",width:this.size,height:this.size,fill:this.color||"currentColor","aria-hidden":"true"},e("use",{key:"683b3c44da93ac4153b6a1dbb8f3a074dabd4a0b",href:`../../assets/sprite.svg#${this.icon}`}))}},[0,"dga-local-icon",{icon:[1],size:[2],color:[1]}]);function Is(){if(typeof customElements>"u")return;["dga-local-icon"].forEach(n=>{switch(n){case"dga-local-icon":customElements.get(n)||customElements.define(n,rh);break}})}const Ps=rh,As=Is,gh=p(class extends k{constructor(){super(),this.__registerHost(),this.groupLabel=void 0}render(){return e("div",{key:"34601e1569d45c87e5ec359b1ee25b463ea193c3",class:"menu-group"},this.groupLabel&&e("span",{key:"45cc5508fcc5f9b3f54d458e51f6ca8856aad85d",class:"menu-group__label"},this.groupLabel),e("ul",{key:"de1e5f2bfc7e974cd0ea38d61fc5d27ff8cb321f",class:"menu-group__items"},e("slot",{key:"fcd71fde952cb07efe4a0275c53d6519201be3d1"})))}},[4,"dga-menu-group",{groupLabel:[1,"group-label"]}]);function Bs(){if(typeof customElements>"u")return;["dga-menu-group"].forEach(n=>{switch(n){case"dga-menu-group":customElements.get(n)||customElements.define(n,gh);break}})}const Ts=gh,Ls=Bs,ah=p(class extends k{constructor(){super(),this.__registerHost(),this.trailElement=void 0,this.disabled=!1,this.leadIcon=void 0,this.label=void 0}render(){return e("li",{key:"6639794520f8302d318b41e2342c3096c5498c9e",class:`menu-item ${this.disabled?"disabled":""}`},this.leadIcon&&e("span",{key:"cf594b4ac4267f9c7058b6afa40fab6677b13c5c",class:"menu-item__icon"},this.leadIcon),e("span",{key:"c72657389082d63308870f7776ca0fa618976195",class:"menu-item__label"},this.label),this.trailElement&&e("div",{key:"1398cf4b21e94854ece00a0a180580e826b34bed",class:"menu-item__trail-element"},this.trailElement))}},[0,"dga-menu-item",{trailElement:[8,"trail-element"],disabled:[4],leadIcon:[16],label:[1]}]);function ch(){if(typeof customElements>"u")return;["dga-menu-item"].forEach(n=>{switch(n){case"dga-menu-item":customElements.get(n)||customElements.define(n,ah);break}})}const Os=ah,Fs=ch,sh=p(class extends k{constructor(){super(),this.__registerHost(),this.groups=[]}render(){return e("ul",{key:"1d072df0bfaf0a5e5f458745ac379eac9929717f",class:"menu"},this.groups.map((n,o)=>e(N,null,e("div",{class:"menu-group"},n.label&&e("span",{class:"menu-group__label"},n.label),n.items.map(i=>e("dga-menu-item",{trailElement:i.trailElement,label:i.label,disabled:i.disabled,leadIcon:i.leadIcon}))),o<this.groups.length-1&&e("span",{class:"divider"}))))}},[0,"dga-menu-updated",{groups:[16]}]);function Rs(){if(typeof customElements>"u")return;["dga-menu-updated","dga-menu-item"].forEach(n=>{switch(n){case"dga-menu-updated":customElements.get(n)||customElements.define(n,sh);break;case"dga-menu-item":customElements.get(n)||ch();break}})}const Hs=sh,Us=Rs,dh=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("ul",{key:"3bee59dd9e142273c7c7b517615b585122dd7c99",class:"menu"},e("slot",{key:"f4467fa2c678b1b230b521888083570d56d7cabf"}))}},[4,"dga-menu"]);function Ys(){if(typeof customElements>"u")return;["dga-menu"].forEach(n=>{switch(n){case"dga-menu":customElements.get(n)||customElements.define(n,dh);break}})}const Xs=dh,Zs=Ys,fh=p(class extends k{constructor(){super(),this.__registerHost(),this.changeIcons={"01":{positive:"arrow-up-02",negative:"arrow-down-02"},"02":{positive:"trade-up",negative:"trade-down"}},this.label="",this.Style="small-chart",this.percentage="0%",this.showFeaturedIcon=!0,this.featuredIcon=e("i",{class:"hgi-stroke hgi-trade-up",style:{fontSize:"24px"}}),this.showChart=!0,this.showInfo=!0,this.showActions=!0,this.showSecondaryAction=!0,this.showMoreButton=!0,this.changeProps={type:"01",trend:"positive"},this.chartProps=void 0,this.trend=void 0,this.onPrimaryAction=()=>{},this.onSecondaryAction=()=>{},this.onExpandAction=()=>{}}render(){return e("div",{key:"bb18630be9d1f0a5257ad64fad4df92d5889c7ca",class:"dga-metric","data-chart-size":this.Style},e("div",{key:"f8bdf5ec3e43e00ca3d69fc7983bc548a1b2e0f3",class:"dga-metric__head"},e("div",{key:"efe5ffb448115562bce49a1c0f6fb8fdc2e2d9a6",class:"dga-metric__head-content"},this.showFeaturedIcon&&e("div",{key:"716c2ccd4546ef261c80cdad6ce0e0e9a9863b2b",class:"featured-icon featured-icon--light-brand featured-icon--circle featured-icon--sm"},this.featuredIcon),this.label&&e("span",{key:"5b4bd51d29392351bb25f6d3470c6f2b58065be2",class:"dga-metric__head-content-text"},this.label)),this.showMoreButton&&e("dga-button",{key:"ab855e283f4a222c79c139566af162f2abe84833",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"more-vertical",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onExpandAction})),e("div",{key:"1a43fc90efc19ee149a49dd14e3fb25ca51e1066",class:"dga-metric__body"},e("div",{key:"7d1bee47dd7c549250755cc6048591f008343578",class:"dga-metric__content"},e("h3",{key:"aff23dc6ca45ae4c95aa7c60c822f05a792251bf",class:"dga-metric__content-percentage"},this.percentage),this.showInfo&&e("div",{key:"b9994108aacf4d465c427862e9a7bd60a4c40ebc",class:"dga-metric__content-change","data-change-trend":this.changeProps.trend},e("span",{key:"545f36ce046fe020263f790c2196f997ec74fcea",class:"dga-metric__content-change-icon"},e("dga-icon",{key:"a9e1fa4b0dec66502a06bd636eafe9b2e4b80a4c",icon:this.changeIcons[this.changeProps.type][this.changeProps.trend],type:"rounded",variant:"stroke",size:24})),e("span",{key:"095e0e64fbe14b08c84591b1c1ba26366e0ae8a5",class:"dga-metric__content-change-value"},Math.abs(100),"%"),e("span",{key:"19137df07a42e406b5fc775e2181c776ffb58218",class:"dga-metric__content-change-period"},"vs last month"))),this.showChart&&e("div",{key:"b97ded1c0bef54f46971280f41799f99533304dc",class:"dga-metric__chart"},e("dga-chart",Object.assign({key:"f255a12467483676c4299e963bb3b8fd660d9f23"},this.chartProps,{size:this.Style==="small-chart"?"sm":"lg"})))),this.showActions&&e(N,{key:"4fa870d13972b18e0ef71a61084080d42e378a55"},e("div",{key:"ded189a0e9d3971ebab43d0dd2a86321f9912a17",class:"dga-metric__divider"}),e("div",{key:"7ef9385ba3b83e51f1afe31fb9027dc0da46f0a4",class:"dga-metric__actions"},this.showSecondaryAction&&e("dga-button",{key:"c05c535eb667e4dbffc24ab832940e7c3587367d",variant:"subtle",iconOnly:!0,leadIcon:!0,leadIconType:"settings-02",leadIconProps:{variant:"stroke",type:"rounded"},onClick:this.onSecondaryAction}),e("dga-button",{key:"f65c71c20cbbc9ad0ca8660dbe0684e01da5d101",variant:"secondary-outline",class:"dga-metric__actions--primary",label:"View Report",onClick:this.onPrimaryAction}))))}},[0,"dga-metric",{label:[1],Style:[1,"style"],percentage:[1],showFeaturedIcon:[4,"show-featured-icon"],featuredIcon:[8,"featured-icon"],showChart:[4,"show-chart"],showInfo:[4,"show-info"],showActions:[4,"show-actions"],showSecondaryAction:[4,"show-secondary-action"],showMoreButton:[4,"show-more-button"],changeProps:[16],chartProps:[16],trend:[16],onPrimaryAction:[16],onSecondaryAction:[16],onExpandAction:[16]}]);function lh(){if(typeof customElements>"u")return;["dga-metric","dga-button","dga-chart","dga-icon"].forEach(n=>{switch(n){case"dga-metric":customElements.get(n)||customElements.define(n,fh);break;case"dga-button":customElements.get(n)||nn();break;case"dga-chart":customElements.get(n)||Le();break;case"dga-icon":customElements.get(n)||D();break}})}const bh=p(class extends k{constructor(){super(),this.__registerHost()}render(){return e("div",{key:"10a3245b78472e2dffb248f9a56023f1faa18f91"},e("h1",{key:"d2cf4d24c07942a32533855009a5263721755d3e"},"Metric Example"),e("div",{key:"02c195bf8c342ff1e79499bfb8f583d1fda2627d",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"7b05c484e6714b844f94080b3b1d51081dcc08a1",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-metric",{key:"46adcb9bc7b286d37ec4721bf9b62e1dc5d488dd",Style:"small-chart",percentage:"60%",changeProps:{trend:"positive",type:"01"},chartProps:{data:[2,5.5,2,8.5,1.5,5],trend:"positive",type:"realistic",showMarker:!1}}),e("dga-metric",{key:"4bcfd6ebb06a6b2d775346edefed05593be12f10",Style:"small-chart",percentage:"60%",changeProps:{trend:"positive",type:"01"},chartProps:{data:[2,5.5,2,8.5,1.5,5],trend:"positive",type:"realistic",showMarker:!1}}),e("dga-metric",{key:"1995eedcdecc6f26c4e452260893f29f39817ffb",label:"24h Views",Style:"large-chart",percentage:"60%",showFeaturedIcon:!0,showChart:!1,showInfo:!1,showSecondaryAction:!1,showMoreButton:!1}),e("dga-metric",{key:"ac15264beb10fb476169df953a1e6eb7c287dea3",Style:"small-chart",percentage:"70%",showFeaturedIcon:!1,showChart:!1}),e("dga-chart",{key:"739ce7a16daecb6b1a90bdc57eb83852fc0efa7b",type:"wavy",data:[2,5.5,2,8.5,1.5,5],trend:"negative",size:"lg"}),e("dga-chart",{key:"2e426d54a3c9c1d45134314faa8ed789ae5a13a6",type:"wavy",data:[2,5.5,2,8.5,1.5,5],trend:"positive",size:"sm"}),e("dga-chart-v2",{key:"0ae998596553f3badd6c5d020fb1bcf4a926fa4a",data:[65,5.60606,57.2759,9,60.5862,129,1,10,20,15,2,3,5]})),e("div",{key:"9af022209e5147cc7b62a5d5bf662521fa2a176a",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-metric-usage"]);function Ws(){if(typeof customElements>"u")return;["dga-metric-usage","dga-button","dga-chart","dga-chart-v2","dga-icon","dga-metric"].forEach(n=>{switch(n){case"dga-metric-usage":customElements.get(n)||customElements.define(n,bh);break;case"dga-button":customElements.get(n)||nn();break;case"dga-chart":customElements.get(n)||Le();break;case"dga-chart-v2":customElements.get(n)||Hi();break;case"dga-icon":customElements.get(n)||D();break;case"dga-metric":customElements.get(n)||lh();break}})}const Vs=bh,Gs=Ws,Js=fh,Ks=lh,Qs=Wo,Ns=Vo,nd=Ze,ed=ms,td=Ye,od=us,id=He,hd=ls,rd=Re,gd=fs,ad=Ue,cd=bs,sd=Vn,dd=ks,fd=Xe,ld=ps,bd=th,ud=oh,kd=Fe,pd=ds,md=Jo,wd=Ko,vd=No,yd=ni,xd=ti,qd=oi,uh=p(class extends k{constructor(){super(),this.__registerHost(),this.onSelect=hn(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handlePrefixClick(){this.prefixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const o=this.prefixBtn.querySelector(".dropdown__label");o&&o.classList.add("dropdown__label--selection"),this.prefixBtn.classList.remove("open"),this.prefixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__prefix input__prefix--${this.variant}-text`},e("span",{class:"input__prefix-label"},this.label)):e(N,null,e("button",{class:`input__prefix input__prefix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handlePrefixClick(),ref:n=>this.prefixBtn=n},e("span",{class:"input__prefix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__prefix-label"},this.label),e("span",{class:"input__prefix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var o;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((o=this.selectedOption)===null||o===void 0?void 0:o.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-prefix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function _d(){if(typeof customElements>"u")return;["dga-prefix","dga-icon"].forEach(n=>{switch(n){case"dga-prefix":customElements.get(n)||customElements.define(n,uh);break;case"dga-icon":customElements.get(n)||D();break}})}const zd=uh,jd=_d,kh=p(class extends k{constructor(){super(),this.__registerHost(),this.percentage=10,this.RTL=!1,this.size="small",this.progressStyle="neutral",this.showLabel=!0,this.showHelperText=!0,this.error=!1,this.success=!1,this.label="label",this.helperText="Help Text"}render(){const n={small:"sm",medium:"md",large:"lg"};let o=this.error?"error":this.success?"primary":this.progressStyle,i=this.error||this.success?100:this.percentage;const h={neutral:e("svg",{key:"aeb9c7f59d49639bf9d67cdbe722ac0d0dc7754c",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("g",{key:"4ca29d0967f6f2960852df72c646a9fde79c79b2","clip-path":"url(#clip0_17869_405)"},e("path",{key:"0f609623c8e0c17d8caa19dc70d76300a5069f13",d:"M6.06004 6.00001C6.21678 5.55446 6.52614 5.17875 6.93334 4.93943C7.34055 4.70012 7.8193 4.61264 8.28483 4.69248C8.75035 4.77233 9.17259 5.01436 9.47676 5.3757C9.78093 5.73703 9.94741 6.19436 9.94671 6.66668C9.94671 8.00001 7.94671 8.66668 7.94671 8.66668M8.00004 11.3333H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z",stroke:"#384250","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),e("defs",{key:"d7c3767671a7a819daa32f28d66742d0f1e19133"},e("clipPath",{key:"60a21742092a86b69fc7fdc9fbe3ad23acdd9b30",id:"clip0_17869_405"},e("rect",{key:"890e090d429adfd4c80e725b4b01e94751a5b68e",width:"16",height:"16",fill:"white"})))),primary:e("svg",{key:"ff907a9d9f87c9d27f17b840dbccff1e683edb90",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"974c5b19f6f2b57936b4ded2a287401bd9af558e","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"57dc11dee52c3c112a044e50f3d910cd82df5abd","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334ZM4.70017 7.41423C4.43982 7.67458 4.43982 8.09669 4.70017 8.35704L6.58578 10.2427C6.84613 10.503 7.26824 10.503 7.52859 10.2427L11.2998 6.47143C11.5602 6.21108 11.5602 5.78897 11.2998 5.52862C11.0395 5.26827 10.6174 5.26827 10.357 5.52862L7.05719 8.82845L5.64297 7.41423C5.38263 7.15388 4.96052 7.15388 4.70017 7.41423Z",fill:"#067647"})),error:e("svg",{key:"59e0f8bf18b6499244cb2024d3176d0b0b027e73",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"485eb0cd99ab9f016a79deee15ace81e2b515fdb","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.00002 15.3334C12.0501 15.3334 15.3334 12.0501 15.3334 8.00002C15.3334 3.94993 12.0501 0.666687 8.00002 0.666687C3.94993 0.666687 0.666687 3.94993 0.666687 8.00002C0.666687 12.0501 3.94993 15.3334 8.00002 15.3334Z",fill:"white"}),e("path",{key:"a6f95562a95c2b76a12d64a113f128b51bfb93ab","fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.3334 8.00002C15.3334 12.0502 12.0502 15.3334 8.00002 15.3334C3.94989 15.3334 0.666687 12.0502 0.666687 8.00002C0.666687 3.94989 3.94989 0.666687 8.00002 0.666687C12.0502 0.666687 15.3334 3.94989 15.3334 8.00002ZM5.80471 4.862C5.54445 4.60158 5.12225 4.60158 4.862 4.862C4.60158 5.12225 4.60158 5.54445 4.862 5.80471L7.05715 8.00002L4.862 10.1953C4.60158 10.4556 4.60158 10.8778 4.862 11.138C5.12225 11.3985 5.54445 11.3985 5.80471 11.138L8.00002 8.94289L10.1953 11.138C10.4556 11.3985 10.8778 11.3985 11.138 11.138C11.3985 10.8778 11.3985 10.4556 11.138 10.1953L8.94289 8.00002L11.138 5.80471C11.3985 5.54445 11.3985 5.12225 11.138 4.862C10.8778 4.60158 10.4556 4.60158 10.1953 4.862L8.00002 7.05715L5.80471 4.862Z",fill:"#B42318"}))};return e("div",{key:"0685766e06840b7ece63dc0799c9a705d65e854d",class:"progress-wrapper",style:{direction:this.RTL?"rtl":"ltr"}},this.showLabel&&e("h3",{key:"2e90a33c7fc27b5b545aeac5f894e518855db955"},this.label),e("div",{key:"c2881489c2aac939999179bfa2ac0b352aae8b90",class:`progress-bar-container ${n[this.size]}`},e("div",{key:"7175fa8b1bf23d2c79f990b3dd37f6b03cefb005",class:`progress-bar ${o}`,style:{width:`${i}%`}},this.size==="large"&&e("span",{key:"23f78db24f30df4717931192f4486508eb87032a",class:"progress-bar-text"},this.percentage,"%"))),this.showHelperText&&e("div",{key:"96e8d19b971a3ed487dda0d5b743d06a7d9628d5",class:"progress-bar__note"},e("div",{key:"f193c8a07b0020ddafbe5e7ff25907549c4271e1",class:"icon"},this.error?h.error:this.success?h.primary:h.neutral),e("div",{key:"e51a25b9604e57356bab548d573c7d85ea461011",class:"content"},e("p",{key:"07f6914f54ff81d42509737dd013c1cc2482f7c8"},this.helperText))))}},[0,"dga-progress-bar",{percentage:[2],RTL:[4,"r-t-l"],size:[1],progressStyle:[1,"progress-style"],showLabel:[4,"show-label"],showHelperText:[4,"show-helper-text"],error:[4],success:[4],label:[1],helperText:[1,"helper-text"]}]);function ph(){if(typeof customElements>"u")return;["dga-progress-bar"].forEach(n=>{switch(n){case"dga-progress-bar":customElements.get(n)||customElements.define(n,kh);break}})}const mh=p(class extends k{constructor(){super(),this.__registerHost(),this.percentage=0}handleInputChange(n){const o=n.target;this.percentage=Number(o.value)}render(){return e("div",{key:"3afdd2ac89dafe7fff7fa2ed2ca4622008177468"},e("h1",{key:"f1b5fb5b221ec07fcd04efa02426aed2d3086852"},"Progress Bar Example"),e("div",{key:"9f30d220217d14bb8bf8c064f1abef43971521a0",style:{padding:"50px",display:"flex",gap:"20px"}},e("div",{key:"e708bbdb5ab87baaf24d936e5af1bf85aaf22be2",style:{display:"flex",flexDirection:"column",gap:"20px"}},e("dga-circular-progress-bar",{key:"fcb6a12dcd0465671b1ede8b5d8353109b003f9b",size:"200px",percentage:this.percentage,text:"Active users"}),e("dga-circular-progress-bar",{key:"e765d0fb33269b6c6a0e0af1c3b38d52ff2167e2",size:"160px",percentage:this.percentage,color:"success",icon:"success",variant:"success",text:"Active users"}),e("dga-circular-progress-bar",{key:"1043df5f5aabd7cf0afe8ff89d5e6446d89213ef",size:"120px",percentage:this.percentage,text:"Active users"}),e("dga-circular-progress-bar",{key:"54306347c421d820339ef59bcee378418274d2fe",size:"80px",percentage:this.percentage,text:"Active users"}),e("dga-circular-progress-bar",{key:"d30f2a05ed278e1b14d1324b448bbddf1f72841c",size:"64px",percentage:this.percentage}),e("dga-progress-bar",{key:"f1dece57d427b43d20dbb137d3b5cf700cedcd63",percentage:this.percentage,size:"large"}),e("dga-progress-bar",{key:"024e85acdc48e0aa58f1deae3b4df19094986620",percentage:this.percentage}),e("input",{key:"eb2899c7dd82ddc0247540703e04a0fc2046bd9e",type:"range",min:"0",max:"100",value:this.percentage,onInput:n=>this.handleInputChange(n)}),this.percentage,"%"),e("div",{key:"db82342d09858bd76901702eabfb67b6ebe0482a",style:{display:"flex",flexDirection:"column",gap:"20px"}})))}},[0,"dga-progress-bar-usage",{percentage:[32]}]);function Cd(){if(typeof customElements>"u")return;["dga-progress-bar-usage","dga-circular-progress-bar","dga-progress-bar"].forEach(n=>{switch(n){case"dga-progress-bar-usage":customElements.get(n)||customElements.define(n,mh);break;case"dga-circular-progress-bar":customElements.get(n)||Xi();break;case"dga-progress-bar":customElements.get(n)||ph();break}})}const Ed=mh,$d=Cd,Sd=kh,Md=ph,Dd=gi,Id=Be,Pd=ai,Ad=ci,Bd=hi,Td=ri,Ld=di,Od=fi,Fd=bi,Rd=ui,wh=p(class extends k{constructor(){super(),this.__registerHost(),this.SILENCE_TIMEOUT_DURATION=8e3,this.label=void 0,this.placeholder=void 0,this.size="lg",this.variant="default",this.error=!1,this.showTrailingIcon=!0,this.icon=!0,this.disabled=!1,this.readonly=!1,this.name=L(),this.value="",this.onChange=()=>{},this.onInput=()=>{},this.onBlur=()=>{},this.speechLang="en",this.isActive=!1,this.isFocused=!1,this.isListening=!1}componentWillLoad(){const n=window.SpeechRecognition||window.webkitSpeechRecognition;n?(this.recognition=new n,this.recognition.continuous=!0,this.recognition.interimResults=!0,this.recognition.onresult=o=>{let i="";for(let h=o.resultIndex;h<o.results.length;++h)o.results[h].isFinal?this.value=o.results[h][0].transcript:i+=o.results[h][0].transcript;this.value=i||this.value},this.recognition.onend=()=>{this.isListening=!1},this.recognition.onerror=o=>{console.error("Speech recognition error",o),this.isListening=!1}):console.error("SpeechRecognition is not supported by this browser.")}startListening(){this.recognition&&(this.speechLang==="en"?this.recognition.lang="en-US":this.speechLang==="ar"&&(this.recognition.lang="ar"),this.isListening=!0,this.recognition.start(),this.resetSilenceTimer())}stopListening(){this.recognition&&(this.recognition.stop(),this.isListening=!1)}resetSilenceTimer(){this.clearSilenceTimer(),this.silenceTimeout=setTimeout(()=>{this.stopListening()},this.SILENCE_TIMEOUT_DURATION)}clearSilenceTimer(){this.silenceTimeout&&clearTimeout(this.silenceTimeout)}handleInputChange(n){console.log(this.value,"query"),this.onChange(n)}handleResetInput(){this.value=""}render(){return e("div",{key:"faa4087d34188a9e5babcc4e4a5d5f09defaae7c",class:"dga-form-control"},this.label&&e("label",{key:"2a86ec0c49d8cd2c20c8135f2b0a69ffcb60b349",class:"dga-label"},this.label),e("div",{key:"267633d24bf605e87c95b3fd93de3c25213ed7a2",class:`dga-search-box dga-search-box--${this.size} ${this.error?"dga-search-box--error":""} ${this.variant!=="default"?`dga-search-box--${this.variant}`:""} ${this.isActive?"active":""} ${this.isFocused?"focus":""} ${this.disabled?"dga-search-box--disabled":""} ${this.readonly?"readOnly":""}`,ref:n=>this.inputContainerRef=n},this.icon&&e("span",{key:"e145b3169a5247aba5e107e2747ec6f8e9f1fe7a",class:"dga-search-box__icon"},e("svg",{key:"69c301512869fe63967854939512c67fb9ce99c4",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"98a1e9164a0a1db89967df7b305ecf85532fa4fc","fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.16675 1.04163C4.67943 1.04163 1.04175 4.67931 1.04175 9.16663C1.04175 13.6539 4.67943 17.2916 9.16675 17.2916C11.1854 17.2916 13.0322 16.5554 14.4531 15.3369L17.8915 18.7752C18.1356 19.0193 18.5313 19.0193 18.7754 18.7752C19.0194 18.5312 19.0194 18.1354 18.7754 17.8914L15.337 14.453C16.5556 13.032 17.2917 11.1853 17.2917 9.16663C17.2917 4.67931 13.6541 1.04163 9.16675 1.04163ZM2.29175 9.16663C2.29175 5.36967 5.36979 2.29163 9.16675 2.29163C12.9637 2.29163 16.0417 5.36967 16.0417 9.16663C16.0417 12.9636 12.9637 16.0416 9.16675 16.0416C5.36979 16.0416 2.29175 12.9636 2.29175 9.16663Z",fill:"#161616"}))),e("input",{key:"b00b3914bb09414dca2058bd1b0b37260df44ae1",name:this.name,type:"text",onFocus:()=>this.isFocused=!0,onBlur:n=>{this.isFocused=!1,this.onBlur(n)},class:"input__field",placeholder:this.placeholder,disabled:this.disabled,readOnly:this.readonly,onMouseDown:()=>this.isActive=!0,onMouseUp:()=>this.isActive=!1,onMouseOut:()=>this.isActive=!1,onChange:this.onChange,onInput:this.onInput}),e("div",{key:"0ba3f1c4c11e4cbc85aa7b3ba80dbbf9ffd044fe",class:"dga-search-box__actions"},this.value.length>0&&e(N,{key:"0d868fbe43c84f34526dcae8338fe3f533f5b0a4"},e("button",{key:"2aea31976aeb0138daecaa02c0eff9d2e3395489",class:"dga-search-box__action-btn",onClick:this.handleResetInput},e("i",{key:"b9a3c6cf2196f72e6151d0f7e9c0be3cd78048f3",class:"hgi-stroke hgi-cancel-01",style:{fontSize:"20px"}})),e("svg",{key:"b777dd0b4b97a0abad754804d9170a9072077f4b",xmlns:"http://www.w3.org/2000/svg",width:"1",height:"26",viewBox:"0 0 1 26",fill:"none"},e("rect",{key:"02644d502bfe7b2bb33932a57f926f518b609a5e",x:"1",y:"0.5",width:"25",height:"1",transform:"rotate(90 1 0.5)",fill:"#D2D6DB"}))),this.showTrailingIcon&&e("dga-tooltip",{key:"56680b35f0d0493ae8219fab82cc9de4c8855170",tooltipTitle:"Search by voice",direction:"bottom",beakAlignment:"center",beakPlacement:"top"},e("button",{key:"4d8429427cc0bb0f4fa4c54c4c8ed3f50856d4fa",class:"dga-search-box__search-btn",onClick:()=>this.startListening(),disabled:this.isListening},this.isListening?e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-solid hgi-mic-01",style:{fontSize:"20px"}})):e("span",{class:"dga-search-box__icon"},e("i",{class:"hgi-stroke hgi-mic-01",style:{fontSize:"20px"}})))))))}},[0,"dga-search-box",{label:[1],placeholder:[1],size:[1],variant:[1],error:[4],showTrailingIcon:[4,"show-trailing-icon"],icon:[4],disabled:[4],readonly:[4],name:[1],value:[1],onChange:[16],onInput:[16],onBlur:[16],speechLang:[1,"speech-lang"],isActive:[32],isFocused:[32],isListening:[32]}]);function vh(){if(typeof customElements>"u")return;["dga-search-box","dga-tooltip"].forEach(n=>{switch(n){case"dga-search-box":customElements.get(n)||customElements.define(n,wh);break;case"dga-tooltip":customElements.get(n)||ne();break}})}const yh=p(class extends k{constructor(){super(),this.__registerHost(),this.value=""}render(){return e("div",{key:"70c40efc89db1467b6df4347d477052a56d833ca"},e("h1",{key:"689088c67ef0aab1ab3e660695ff8d88a5f9e6c9"},"Search Box Example"),e("div",{key:"4adef590f36253e4e746dc6e09db460b14e63ddd",style:{padding:"50px"}},e("div",{key:"34da9f558f3691e4cc601c69561b1d48f1132008",style:{display:"flex",flexDirection:"column",gap:"16px"}},e("dga-search-box",{key:"dc6123266d4050e4097a9d123248d13d28892ce8",variant:"default",placeholder:"test placeholder",onChange:n=>{const o=n.target;console.log("search changed"),this.value=o.value},onInput:n=>{console.log("search changed",n.target.value),this.value=n.target.value}}))))}},[0,"dga-search-box-usage",{value:[32]}]);function Hd(){if(typeof customElements>"u")return;["dga-search-box-usage","dga-search-box","dga-tooltip"].forEach(n=>{switch(n){case"dga-search-box-usage":customElements.get(n)||customElements.define(n,yh);break;case"dga-search-box":customElements.get(n)||vh();break;case"dga-tooltip":customElements.get(n)||ne();break}})}const Ud=yh,Yd=Hd,Xd=wh,Zd=vh,Wd=pi,Vd=mi,Gd=vi,Jd=yi,xh=p(class extends k{constructor(){super(),this.__registerHost(),this.onSelect=hn(this,"onSelect",7),this.type=void 0,this.variant=void 0,this.options=void 0,this.label=void 0,this.icon=void 0,this.dpIsActive=!1,this.selectedOption=null}handleSuffixClick(){this.suffixBtn.classList.toggle("open")}handleOptionSelect(n){this.selectedOption=n,this.onSelect.emit(n.value);const o=this.suffixBtn.querySelector(".dropdown__label");o&&o.classList.add("dropdown__label--selection"),this.suffixBtn.classList.remove("open"),this.suffixBtn.classList.add("selected")}render(){return this.type==="text"?e("div",{class:`input__suffix input__suffix--${this.variant}-text`},e("span",{class:"input__suffix-label"},this.label)):e(N,null,e("button",{class:`input__suffix input__suffix--${this.variant} input__dropdown-btn`,onMouseDown:()=>this.dpIsActive=!0,onMouseUp:()=>this.dpIsActive=!1,onMouseOut:()=>this.dpIsActive=!1,onClick:()=>this.handleSuffixClick(),ref:n=>this.suffixBtn=n},e("span",{class:"input__suffix-icon"},this.icon),e("span",{class:"dropdown__label"},this.selectedOption&&Object.keys(this.selectedOption).length?this.selectedOption.label:" "),e("span",{class:"input__suffix-label"},this.label),e("span",{class:"input__suffix-chevron"},e("dga-icon",{icon:"ArrowDown01Icon",variant:"stroke"}))),e("ul",{class:"input__dropdown-list"},this.options&&this.options.map(n=>{var o;return e("li",{key:n.value},e("button",{class:`dropdown__option ${((o=this.selectedOption)===null||o===void 0?void 0:o.value)===n.value?"selected":""}`,onClick:()=>this.handleOptionSelect(n)},e("span",{class:"dropdown__option-label"},n.label),e("span",{class:"dropdown__option-icon"},e("dga-icon",{icon:"Tick02Icon",variant:"solid"}))))})))}},[0,"dga-suffix",{type:[1],variant:[1],options:[16],label:[1],icon:[8],dpIsActive:[32],selectedOption:[32]}]);function Kd(){if(typeof customElements>"u")return;["dga-suffix","dga-icon"].forEach(n=>{switch(n){case"dga-suffix":customElements.get(n)||customElements.define(n,xh);break;case"dga-icon":customElements.get(n)||D();break}})}const Qd=xh,Nd=Kd,nf=qi,ef=_i,tf=ji,of=Ci,hf=co,rf=Kn,gf=vo,af=rn,cf=Di,sf=Nn,df=Pi,ff=Ai,lf=Ti,bf=ne,uf=Po,kf=Ao,pf=_o,mf=Pe,wf=xo,vf=mn,yf=qo,xf=Qn,qf=yo,_f=pn;/**
|
|
1246610
1246611
|
* @license
|
|
1246611
1246612
|
* Copyright 2018 Google LLC
|
|
1246612
1246613
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1246613
|
-
*/const zf=new Set(["children","localName","ref","style","className"]),Ct=new WeakMap,Et=(t,n,o,i,h)=>{const d=h==null?void 0:h[n];d===void 0?(t[n]=o,o==null&&n in HTMLElement.prototype&&t.removeAttribute(n)):o!==i&&((f,l,b)=>{let w=Ct.get(f);w===void 0&&Ct.set(f,w=new Map);let x=w.get(l);b!==void 0?x===void 0?(w.set(l,x={handleEvent:b}),f.addEventListener(l,x)):x.handleEvent=b:x!==void 0&&(w.delete(l),f.removeEventListener(l,x))})(t,d,o)},jf=({react:t,tagName:n,elementClass:o,events:i,displayName:h})=>{const d=new Set(Object.keys(i??{})),f=t.forwardRef((l,b)=>{const w=t.useRef(new Map),x=t.useRef(null),_={},z={};for(const[C,E]of Object.entries(l))zf.has(C)?_[C==="className"?"class":C]=E:d.has(C)||C in o.prototype?z[C]=E:_[C]=E;return t.useLayoutEffect(()=>{if(x.current===null)return;const C=new Map;for(const E in z)Et(x.current,E,l[E],w.current.get(E),i),w.current.delete(E),C.set(E,l[E]);for(const[E,H]of w.current)Et(x.current,E,void 0,H,i);w.current=C}),t.useLayoutEffect(()=>{var C;(C=x.current)==null||C.removeAttribute("defer-hydration")},[]),_.suppressHydrationWarning=!0,t.createElement(n,{..._,ref:t.useCallback(C=>{x.current=C,typeof b=="function"?b(C):b!==null&&(b.current=C)},[b])})});return f.displayName=h??o.name,f},m=({defineCustomElement:t,...n})=>(typeof t<"u"&&t(),jf(n)),Cf=m({tagName:"cs-accordion-usage",elementClass:Vr,react:u,events:{},defineCustomElement:Gr}),Ef=m({tagName:"cs-avatar-usage",elementClass:Kr,react:u,events:{},defineCustomElement:Qr}),$f=m({tagName:"cs-button-usage",elementClass:ng,react:u,events:{},defineCustomElement:eg}),Sf=m({tagName:"cs-card-usage",elementClass:og,react:u,events:{},defineCustomElement:ig}),Mf=m({tagName:"cs-checkbox-usage",elementClass:rg,react:u,events:{},defineCustomElement:gg}),Df=m({tagName:"cs-chip-usage",elementClass:cg,react:u,events:{},defineCustomElement:sg}),If=m({tagName:"cs-codesnippet-usage",elementClass:bg,react:u,events:{},defineCustomElement:ug}),Pf=m({tagName:"cs-content-switcher-usage",elementClass:pg,react:u,events:{},defineCustomElement:mg}),Af=m({tagName:"cs-divider-usage",elementClass:vg,react:u,events:{},defineCustomElement:yg}),Bf=m({tagName:"cs-drawer-usage",elementClass:jg,react:u,events:{},defineCustomElement:Cg}),Tf=m({tagName:"cs-dropdown-usage",elementClass:$g,react:u,events:{},defineCustomElement:Sg}),Lf=m({tagName:"cs-file-upload-usage",elementClass:Dg,react:u,events:{},defineCustomElement:Ig}),Of=m({tagName:"cs-floating-button-usage",elementClass:Tg,react:u,events:{},defineCustomElement:Lg}),Ff=m({tagName:"cs-footer-usage",elementClass:Jg,react:u,events:{},defineCustomElement:Kg}),Rf=m({tagName:"cs-inline-alert-usage",elementClass:Ng,react:u,events:{},defineCustomElement:na}),Hf=m({tagName:"cs-link-usage",elementClass:ta,react:u,events:{},defineCustomElement:oa}),Uf=m({tagName:"cs-loading-usage",elementClass:ha,react:u,events:{},defineCustomElement:ra}),Yf=m({tagName:"cs-modal-usage",elementClass:aa,react:u,events:{},defineCustomElement:ca}),Xf=m({tagName:"cs-notification-toast-usage",elementClass:fa,react:u,events:{},defineCustomElement:la}),Zf=m({tagName:"cs-notification-usage",elementClass:ua,react:u,events:{},defineCustomElement:ka}),Wf=m({tagName:"cs-pagination-usage",elementClass:ma,react:u,events:{},defineCustomElement:wa}),Vf=m({tagName:"cs-progress-indicator-usage",elementClass:ya,react:u,events:{},defineCustomElement:xa}),Gf=m({tagName:"cs-radio-button-usage",elementClass:_a,react:u,events:{},defineCustomElement:za}),Jf=m({tagName:"cs-rating-usage",elementClass:$a,react:u,events:{},defineCustomElement:Sa}),Kf=m({tagName:"cs-slider-usage",elementClass:Pa,react:u,events:{},defineCustomElement:Aa}),Qf=m({tagName:"cs-structured-list-usage",elementClass:Ta,react:u,events:{},defineCustomElement:La}),Nf=m({tagName:"cs-switch-usage",elementClass:Fa,react:u,events:{},defineCustomElement:Ra}),nl=m({tagName:"cs-table-of-content-usage",elementClass:Ua,react:u,events:{},defineCustomElement:Ya}),el=m({tagName:"cs-table-usage",elementClass:Za,react:u,events:{},defineCustomElement:Wa}),tl=m({tagName:"cs-tabs-usage",elementClass:Ga,react:u,events:{},defineCustomElement:Ja}),ol=m({tagName:"cs-tag-usage",elementClass:Qa,react:u,events:{},defineCustomElement:Na}),il=m({tagName:"cs-text-input-usage",elementClass:tc,react:u,events:{},defineCustomElement:oc}),hl=m({tagName:"cs-textarea-usage",elementClass:hc,react:u,events:{},defineCustomElement:rc}),rl=m({tagName:"cs-tooltip-usage",elementClass:ac,react:u,events:{},defineCustomElement:cc}),gl=m({tagName:"date-cell",elementClass:fc,react:u,events:{},defineCustomElement:lc}),al=m({tagName:"dga-accordion",elementClass:bc,react:u,events:{},defineCustomElement:uc}),cl=m({tagName:"dga-avatar",elementClass:kc,react:u,events:{},defineCustomElement:pc}),sl=m({tagName:"dga-breadcrumbs",elementClass:wc,react:u,events:{onBreadcrumbClick:"breadcrumbClick"},defineCustomElement:vc}),dl=m({tagName:"dga-button",elementClass:yc,react:u,events:{onOnClick:"onClick"},defineCustomElement:xc}),fl=m({tagName:"dga-card",elementClass:qc,react:u,events:{},defineCustomElement:_c}),ll=m({tagName:"dga-chart",elementClass:Cc,react:u,events:{},defineCustomElement:Ec}),bl=m({tagName:"dga-chart-v2",elementClass:zc,react:u,events:{},defineCustomElement:jc}),ul=m({tagName:"dga-checkbox",elementClass:$c,react:u,events:{},defineCustomElement:Sc}),kl=m({tagName:"dga-chip",elementClass:Mc,react:u,events:{},defineCustomElement:Dc}),pl=m({tagName:"dga-circular-progress-bar",elementClass:Ic,react:u,events:{},defineCustomElement:Pc}),ml=m({tagName:"dga-codesnippet",elementClass:Ac,react:u,events:{},defineCustomElement:Bc}),wl=m({tagName:"dga-content-switcher",elementClass:Oc,react:u,events:{},defineCustomElement:Fc}),vl=m({tagName:"dga-content-switcher-item",elementClass:Tc,react:u,events:{},defineCustomElement:Lc}),yl=m({tagName:"dga-data-table",elementClass:Uc,react:u,events:{},defineCustomElement:Yc}),xl=m({tagName:"dga-datepicker",elementClass:Gc,react:u,events:{},defineCustomElement:Jc}),ql=m({tagName:"dga-datepicker-usage",elementClass:Wc,react:u,events:{},defineCustomElement:Vc}),_l=m({tagName:"dga-divider",elementClass:Qc,react:u,events:{},defineCustomElement:Nc}),zl=m({tagName:"dga-drawer",elementClass:ns,react:u,events:{},defineCustomElement:es}),jl=m({tagName:"dga-dropdown",elementClass:ts,react:u,events:{},defineCustomElement:os}),Cl=m({tagName:"dga-file-upload",elementClass:is,react:u,events:{},defineCustomElement:hs}),El=m({tagName:"dga-footer",elementClass:rs,react:u,events:{},defineCustomElement:gs}),$l=m({tagName:"dga-header",elementClass:vs,react:u,events:{},defineCustomElement:ys}),Sl=m({tagName:"dga-header-action-btn",elementClass:cs,react:u,events:{},defineCustomElement:ss}),Ml=m({tagName:"dga-html-tag",elementClass:qs,react:u,events:{},defineCustomElement:_s}),Dl=m({tagName:"dga-icon",elementClass:zs,react:u,events:{},defineCustomElement:js}),Il=m({tagName:"dga-inline-alert",elementClass:Cs,react:u,events:{},defineCustomElement:Es}),Pl=m({tagName:"dga-link",elementClass:$s,react:u,events:{onOnClick:"onClick"},defineCustomElement:Ss}),Al=m({tagName:"dga-loading",elementClass:Ms,react:u,events:{},defineCustomElement:Ds}),Bl=m({tagName:"dga-local-icon",elementClass:Ps,react:u,events:{},defineCustomElement:As}),Tl=m({tagName:"dga-menu",elementClass:Xs,react:u,events:{},defineCustomElement:Zs}),Ll=m({tagName:"dga-menu-group",elementClass:Ts,react:u,events:{},defineCustomElement:Ls}),Ol=m({tagName:"dga-menu-item",elementClass:Os,react:u,events:{},defineCustomElement:Fs}),Fl=m({tagName:"dga-menu-updated",elementClass:Hs,react:u,events:{},defineCustomElement:Us}),Rl=m({tagName:"dga-metric",elementClass:Js,react:u,events:{},defineCustomElement:Ks}),Hl=m({tagName:"dga-metric-usage",elementClass:Vs,react:u,events:{},defineCustomElement:Gs}),Ul=m({tagName:"dga-modal",elementClass:Qs,react:u,events:{},defineCustomElement:Ns}),Yl=m({tagName:"dga-nav-header",elementClass:kd,react:u,events:{},defineCustomElement:pd}),Xl=m({tagName:"dga-nav-header-actions",elementClass:nd,react:u,events:{},defineCustomElement:ed}),Zl=m({tagName:"dga-nav-header-link",elementClass:td,react:u,events:{onLinkClicked:"linkClicked"},defineCustomElement:od}),Wl=m({tagName:"dga-nav-header-logos",elementClass:id,react:u,events:{},defineCustomElement:hd}),Vl=m({tagName:"dga-nav-header-main",elementClass:rd,react:u,events:{onToggleCollapsed:"toggleCollapsed"},defineCustomElement:gd}),Gl=m({tagName:"dga-nav-header-menu",elementClass:ad,react:u,events:{},defineCustomElement:cd}),Jl=m({tagName:"dga-nav-header-sub-menu",elementClass:bd,react:u,events:{},defineCustomElement:ud}),Kl=m({tagName:"dga-nav-header-sub-menu-column",elementClass:sd,react:u,events:{},defineCustomElement:dd}),Ql=m({tagName:"dga-nav-header-sub-menu-link",elementClass:fd,react:u,events:{},defineCustomElement:ld}),Nl=m({tagName:"dga-notification",elementClass:vd,react:u,events:{},defineCustomElement:yd}),nb=m({tagName:"dga-notification-toast",elementClass:md,react:u,events:{},defineCustomElement:wd}),eb=m({tagName:"dga-pagination",elementClass:xd,react:u,events:{},defineCustomElement:qd}),tb=m({tagName:"dga-prefix",elementClass:zd,react:u,events:{onOnSelect:"onSelect"},defineCustomElement:jd}),ob=m({tagName:"dga-progress-bar",elementClass:Sd,react:u,events:{},defineCustomElement:Md}),ib=m({tagName:"dga-progress-bar-usage",elementClass:Ed,react:u,events:{},defineCustomElement:$d}),hb=m({tagName:"dga-progress-indicator",elementClass:Bd,react:u,events:{},defineCustomElement:Td}),rb=m({tagName:"dga-progress-indicator-step",elementClass:Dd,react:u,events:{},defineCustomElement:Id}),gb=m({tagName:"dga-progress-indicator-updated",elementClass:Pd,react:u,events:{},defineCustomElement:Ad}),ab=m({tagName:"dga-radio-button",elementClass:Ld,react:u,events:{},defineCustomElement:Od}),cb=m({tagName:"dga-rating",elementClass:Fd,react:u,events:{},defineCustomElement:Rd}),sb=m({tagName:"dga-search-box",elementClass:Xd,react:u,events:{},defineCustomElement:Zd}),db=m({tagName:"dga-search-box-usage",elementClass:Ud,react:u,events:{},defineCustomElement:Yd}),fb=m({tagName:"dga-slider",elementClass:Wd,react:u,events:{},defineCustomElement:Vd}),lb=m({tagName:"dga-structured-list",elementClass:Gd,react:u,events:{},defineCustomElement:Jd}),bb=m({tagName:"dga-suffix",elementClass:Qd,react:u,events:{onOnSelect:"onSelect"},defineCustomElement:Nd}),ub=m({tagName:"dga-switch",elementClass:nf,react:u,events:{},defineCustomElement:ef}),kb=m({tagName:"dga-table-of-content",elementClass:tf,react:u,events:{},defineCustomElement:of}),pb=m({tagName:"dga-tabs",elementClass:hf,react:u,events:{},defineCustomElement:rf}),mb=m({tagName:"dga-tag",elementClass:gf,react:u,events:{},defineCustomElement:af}),wb=m({tagName:"dga-text-input",elementClass:cf,react:u,events:{},defineCustomElement:sf}),vb=m({tagName:"dga-textarea",elementClass:df,react:u,events:{},defineCustomElement:ff}),yb=m({tagName:"dga-tooltip",elementClass:lf,react:u,events:{},defineCustomElement:bf}),xb=m({tagName:"floating-button",elementClass:uf,react:u,events:{onButtonClick:"buttonClick"},defineCustomElement:kf}),qb=m({tagName:"side-panel-menu",elementClass:pf,react:u,events:{},defineCustomElement:mf}),_b=m({tagName:"submenu-component",elementClass:wf,react:u,events:{},defineCustomElement:vf}),zb=m({tagName:"tab-component",elementClass:yf,react:u,events:{},defineCustomElement:xf}),jb=m({tagName:"tab-link",elementClass:qf,react:u,events:{},defineCustomElement:_f});exports.CsAccordionUsage=Cf;exports.CsAvatarUsage=Ef;exports.CsButtonUsage=$f;exports.CsCardUsage=Sf;exports.CsCheckboxUsage=Mf;exports.CsChipUsage=Df;exports.CsCodesnippetUsage=If;exports.CsContentSwitcherUsage=Pf;exports.CsDividerUsage=Af;exports.CsDrawerUsage=Bf;exports.CsDropdownUsage=Tf;exports.CsFileUploadUsage=Lf;exports.CsFloatingButtonUsage=Of;exports.CsFooterUsage=Ff;exports.CsInlineAlertUsage=Rf;exports.CsLinkUsage=Hf;exports.CsLoadingUsage=Uf;exports.CsModalUsage=Yf;exports.CsNotificationToastUsage=Xf;exports.CsNotificationUsage=Zf;exports.CsPaginationUsage=Wf;exports.CsProgressIndicatorUsage=Vf;exports.CsRadioButtonUsage=Gf;exports.CsRatingUsage=Jf;exports.CsSliderUsage=Kf;exports.CsStructuredListUsage=Qf;exports.CsSwitchUsage=Nf;exports.CsTableOfContentUsage=nl;exports.CsTableUsage=el;exports.CsTabsUsage=tl;exports.CsTagUsage=ol;exports.CsTextInputUsage=il;exports.CsTextareaUsage=hl;exports.CsTooltipUsage=rl;exports.DateCell=gl;exports.DgaAccordion=al;exports.DgaAvatar=cl;exports.DgaBreadcrumbs=sl;exports.DgaButton=dl;exports.DgaCard=fl;exports.DgaChart=ll;exports.DgaChartV2=bl;exports.DgaCheckbox=ul;exports.DgaChip=kl;exports.DgaCircularProgressBar=pl;exports.DgaCodesnippet=ml;exports.DgaContentSwitcher=wl;exports.DgaContentSwitcherItem=vl;exports.DgaDataTable=yl;exports.DgaDatepicker=xl;exports.DgaDatepickerUsage=ql;exports.DgaDivider=_l;exports.DgaDrawer=zl;exports.DgaDropdown=jl;exports.DgaFileUpload=Cl;exports.DgaFooter=El;exports.DgaHeader=$l;exports.DgaHeaderActionBtn=Sl;exports.DgaHtmlTag=Ml;exports.DgaIcon=Dl;exports.DgaInlineAlert=Il;exports.DgaLink=Pl;exports.DgaLoading=Al;exports.DgaLocalIcon=Bl;exports.DgaMenu=Tl;exports.DgaMenuGroup=Ll;exports.DgaMenuItem=Ol;exports.DgaMenuUpdated=Fl;exports.DgaMetric=Rl;exports.DgaMetricUsage=Hl;exports.DgaModal=Ul;exports.DgaNavHeader=Yl;exports.DgaNavHeaderActions=Xl;exports.DgaNavHeaderLink=Zl;exports.DgaNavHeaderLogos=Wl;exports.DgaNavHeaderMain=Vl;exports.DgaNavHeaderMenu=Gl;exports.DgaNavHeaderSubMenu=Jl;exports.DgaNavHeaderSubMenuColumn=Kl;exports.DgaNavHeaderSubMenuLink=Ql;exports.DgaNotification=Nl;exports.DgaNotificationToast=nb;exports.DgaPagination=eb;exports.DgaPrefix=tb;exports.DgaProgressBar=ob;exports.DgaProgressBarUsage=ib;exports.DgaProgressIndicator=hb;exports.DgaProgressIndicatorStep=rb;exports.DgaProgressIndicatorUpdated=gb;exports.DgaRadioButton=ab;exports.DgaRating=cb;exports.DgaSearchBox=sb;exports.DgaSearchBoxUsage=db;exports.DgaSlider=fb;exports.DgaStructuredList=lb;exports.DgaSuffix=bb;exports.DgaSwitch=ub;exports.DgaTableOfContent=kb;exports.DgaTabs=pb;exports.DgaTag=mb;exports.DgaTextInput=wb;exports.DgaTextarea=vb;exports.DgaTooltip=yb;exports.FloatingButton=xb;exports.SidePanelMenu=qb;exports.SubmenuComponent=_b;exports.TabComponent=zb;exports.TabLink=jb;
|
|
1246614
|
+
*/const zf=new Set(["children","localName","ref","style","className"]),Et=new WeakMap,$t=(t,n,o,i,h)=>{const d=h==null?void 0:h[n];d===void 0?(t[n]=o,o==null&&n in HTMLElement.prototype&&t.removeAttribute(n)):o!==i&&((f,l,b)=>{let w=Et.get(f);w===void 0&&Et.set(f,w=new Map);let x=w.get(l);b!==void 0?x===void 0?(w.set(l,x={handleEvent:b}),f.addEventListener(l,x)):x.handleEvent=b:x!==void 0&&(w.delete(l),f.removeEventListener(l,x))})(t,d,o)},jf=({react:t,tagName:n,elementClass:o,events:i,displayName:h})=>{const d=new Set(Object.keys(i??{})),f=t.forwardRef((l,b)=>{const w=t.useRef(new Map),x=t.useRef(null),_={},z={};for(const[C,E]of Object.entries(l))zf.has(C)?_[C==="className"?"class":C]=E:d.has(C)||C in o.prototype?z[C]=E:_[C]=E;return t.useLayoutEffect(()=>{if(x.current===null)return;const C=new Map;for(const E in z)$t(x.current,E,l[E],w.current.get(E),i),w.current.delete(E),C.set(E,l[E]);for(const[E,H]of w.current)$t(x.current,E,void 0,H,i);w.current=C}),t.useLayoutEffect(()=>{var C;(C=x.current)==null||C.removeAttribute("defer-hydration")},[]),_.suppressHydrationWarning=!0,t.createElement(n,{..._,ref:t.useCallback(C=>{x.current=C,typeof b=="function"?b(C):b!==null&&(b.current=C)},[b])})});return f.displayName=h??o.name,f},m=({defineCustomElement:t,...n})=>(typeof t<"u"&&t(),jf(n)),Cf=m({tagName:"cs-accordion-usage",elementClass:Vr,react:u,events:{},defineCustomElement:Gr}),Ef=m({tagName:"cs-avatar-usage",elementClass:Kr,react:u,events:{},defineCustomElement:Qr}),$f=m({tagName:"cs-button-usage",elementClass:ng,react:u,events:{},defineCustomElement:eg}),Sf=m({tagName:"cs-card-usage",elementClass:og,react:u,events:{},defineCustomElement:ig}),Mf=m({tagName:"cs-checkbox-usage",elementClass:rg,react:u,events:{},defineCustomElement:gg}),Df=m({tagName:"cs-chip-usage",elementClass:cg,react:u,events:{},defineCustomElement:sg}),If=m({tagName:"cs-codesnippet-usage",elementClass:bg,react:u,events:{},defineCustomElement:ug}),Pf=m({tagName:"cs-content-switcher-usage",elementClass:pg,react:u,events:{},defineCustomElement:mg}),Af=m({tagName:"cs-divider-usage",elementClass:vg,react:u,events:{},defineCustomElement:yg}),Bf=m({tagName:"cs-drawer-usage",elementClass:jg,react:u,events:{},defineCustomElement:Cg}),Tf=m({tagName:"cs-dropdown-usage",elementClass:$g,react:u,events:{},defineCustomElement:Sg}),Lf=m({tagName:"cs-file-upload-usage",elementClass:Dg,react:u,events:{},defineCustomElement:Ig}),Of=m({tagName:"cs-floating-button-usage",elementClass:Tg,react:u,events:{},defineCustomElement:Lg}),Ff=m({tagName:"cs-footer-usage",elementClass:Jg,react:u,events:{},defineCustomElement:Kg}),Rf=m({tagName:"cs-inline-alert-usage",elementClass:Ng,react:u,events:{},defineCustomElement:na}),Hf=m({tagName:"cs-link-usage",elementClass:ta,react:u,events:{},defineCustomElement:oa}),Uf=m({tagName:"cs-loading-usage",elementClass:ha,react:u,events:{},defineCustomElement:ra}),Yf=m({tagName:"cs-modal-usage",elementClass:aa,react:u,events:{},defineCustomElement:ca}),Xf=m({tagName:"cs-notification-toast-usage",elementClass:fa,react:u,events:{},defineCustomElement:la}),Zf=m({tagName:"cs-notification-usage",elementClass:ua,react:u,events:{},defineCustomElement:ka}),Wf=m({tagName:"cs-pagination-usage",elementClass:ma,react:u,events:{},defineCustomElement:wa}),Vf=m({tagName:"cs-progress-indicator-usage",elementClass:ya,react:u,events:{},defineCustomElement:xa}),Gf=m({tagName:"cs-radio-button-usage",elementClass:_a,react:u,events:{},defineCustomElement:za}),Jf=m({tagName:"cs-rating-usage",elementClass:$a,react:u,events:{},defineCustomElement:Sa}),Kf=m({tagName:"cs-slider-usage",elementClass:Pa,react:u,events:{},defineCustomElement:Aa}),Qf=m({tagName:"cs-structured-list-usage",elementClass:Ta,react:u,events:{},defineCustomElement:La}),Nf=m({tagName:"cs-switch-usage",elementClass:Fa,react:u,events:{},defineCustomElement:Ra}),nl=m({tagName:"cs-table-of-content-usage",elementClass:Ua,react:u,events:{},defineCustomElement:Ya}),el=m({tagName:"cs-table-usage",elementClass:Za,react:u,events:{},defineCustomElement:Wa}),tl=m({tagName:"cs-tabs-usage",elementClass:Ga,react:u,events:{},defineCustomElement:Ja}),ol=m({tagName:"cs-tag-usage",elementClass:Qa,react:u,events:{},defineCustomElement:Na}),il=m({tagName:"cs-text-input-usage",elementClass:tc,react:u,events:{},defineCustomElement:oc}),hl=m({tagName:"cs-textarea-usage",elementClass:hc,react:u,events:{},defineCustomElement:rc}),rl=m({tagName:"cs-tooltip-usage",elementClass:ac,react:u,events:{},defineCustomElement:cc}),gl=m({tagName:"date-cell",elementClass:fc,react:u,events:{},defineCustomElement:lc}),al=m({tagName:"dga-accordion",elementClass:bc,react:u,events:{},defineCustomElement:uc}),cl=m({tagName:"dga-avatar",elementClass:kc,react:u,events:{},defineCustomElement:pc}),sl=m({tagName:"dga-breadcrumbs",elementClass:wc,react:u,events:{onBreadcrumbClick:"breadcrumbClick"},defineCustomElement:vc}),dl=m({tagName:"dga-button",elementClass:yc,react:u,events:{onOnClick:"onClick"},defineCustomElement:xc}),fl=m({tagName:"dga-card",elementClass:qc,react:u,events:{},defineCustomElement:_c}),ll=m({tagName:"dga-chart",elementClass:Cc,react:u,events:{},defineCustomElement:Ec}),bl=m({tagName:"dga-chart-v2",elementClass:zc,react:u,events:{},defineCustomElement:jc}),ul=m({tagName:"dga-checkbox",elementClass:$c,react:u,events:{},defineCustomElement:Sc}),kl=m({tagName:"dga-chip",elementClass:Mc,react:u,events:{},defineCustomElement:Dc}),pl=m({tagName:"dga-circular-progress-bar",elementClass:Ic,react:u,events:{},defineCustomElement:Pc}),ml=m({tagName:"dga-codesnippet",elementClass:Ac,react:u,events:{},defineCustomElement:Bc}),wl=m({tagName:"dga-content-switcher",elementClass:Oc,react:u,events:{},defineCustomElement:Fc}),vl=m({tagName:"dga-content-switcher-item",elementClass:Tc,react:u,events:{},defineCustomElement:Lc}),yl=m({tagName:"dga-data-table",elementClass:Uc,react:u,events:{},defineCustomElement:Yc}),xl=m({tagName:"dga-datepicker",elementClass:Gc,react:u,events:{},defineCustomElement:Jc}),ql=m({tagName:"dga-datepicker-usage",elementClass:Wc,react:u,events:{},defineCustomElement:Vc}),_l=m({tagName:"dga-divider",elementClass:Qc,react:u,events:{},defineCustomElement:Nc}),zl=m({tagName:"dga-drawer",elementClass:ns,react:u,events:{},defineCustomElement:es}),jl=m({tagName:"dga-dropdown",elementClass:ts,react:u,events:{},defineCustomElement:os}),Cl=m({tagName:"dga-file-upload",elementClass:is,react:u,events:{},defineCustomElement:hs}),El=m({tagName:"dga-footer",elementClass:rs,react:u,events:{},defineCustomElement:gs}),$l=m({tagName:"dga-header",elementClass:vs,react:u,events:{},defineCustomElement:ys}),Sl=m({tagName:"dga-header-action-btn",elementClass:cs,react:u,events:{},defineCustomElement:ss}),Ml=m({tagName:"dga-html-tag",elementClass:qs,react:u,events:{},defineCustomElement:_s}),Dl=m({tagName:"dga-icon",elementClass:zs,react:u,events:{},defineCustomElement:js}),Il=m({tagName:"dga-inline-alert",elementClass:Cs,react:u,events:{},defineCustomElement:Es}),Pl=m({tagName:"dga-link",elementClass:$s,react:u,events:{onOnClick:"onClick"},defineCustomElement:Ss}),Al=m({tagName:"dga-loading",elementClass:Ms,react:u,events:{},defineCustomElement:Ds}),Bl=m({tagName:"dga-local-icon",elementClass:Ps,react:u,events:{},defineCustomElement:As}),Tl=m({tagName:"dga-menu",elementClass:Xs,react:u,events:{},defineCustomElement:Zs}),Ll=m({tagName:"dga-menu-group",elementClass:Ts,react:u,events:{},defineCustomElement:Ls}),Ol=m({tagName:"dga-menu-item",elementClass:Os,react:u,events:{},defineCustomElement:Fs}),Fl=m({tagName:"dga-menu-updated",elementClass:Hs,react:u,events:{},defineCustomElement:Us}),Rl=m({tagName:"dga-metric",elementClass:Js,react:u,events:{},defineCustomElement:Ks}),Hl=m({tagName:"dga-metric-usage",elementClass:Vs,react:u,events:{},defineCustomElement:Gs}),Ul=m({tagName:"dga-modal",elementClass:Qs,react:u,events:{},defineCustomElement:Ns}),Yl=m({tagName:"dga-nav-header",elementClass:kd,react:u,events:{},defineCustomElement:pd}),Xl=m({tagName:"dga-nav-header-actions",elementClass:nd,react:u,events:{},defineCustomElement:ed}),Zl=m({tagName:"dga-nav-header-link",elementClass:td,react:u,events:{onLinkClicked:"linkClicked"},defineCustomElement:od}),Wl=m({tagName:"dga-nav-header-logos",elementClass:id,react:u,events:{},defineCustomElement:hd}),Vl=m({tagName:"dga-nav-header-main",elementClass:rd,react:u,events:{onToggleCollapsed:"toggleCollapsed"},defineCustomElement:gd}),Gl=m({tagName:"dga-nav-header-menu",elementClass:ad,react:u,events:{},defineCustomElement:cd}),Jl=m({tagName:"dga-nav-header-sub-menu",elementClass:bd,react:u,events:{},defineCustomElement:ud}),Kl=m({tagName:"dga-nav-header-sub-menu-column",elementClass:sd,react:u,events:{},defineCustomElement:dd}),Ql=m({tagName:"dga-nav-header-sub-menu-link",elementClass:fd,react:u,events:{},defineCustomElement:ld}),Nl=m({tagName:"dga-notification",elementClass:vd,react:u,events:{},defineCustomElement:yd}),nb=m({tagName:"dga-notification-toast",elementClass:md,react:u,events:{},defineCustomElement:wd}),eb=m({tagName:"dga-pagination",elementClass:xd,react:u,events:{},defineCustomElement:qd}),tb=m({tagName:"dga-prefix",elementClass:zd,react:u,events:{onOnSelect:"onSelect"},defineCustomElement:jd}),ob=m({tagName:"dga-progress-bar",elementClass:Sd,react:u,events:{},defineCustomElement:Md}),ib=m({tagName:"dga-progress-bar-usage",elementClass:Ed,react:u,events:{},defineCustomElement:$d}),hb=m({tagName:"dga-progress-indicator",elementClass:Bd,react:u,events:{},defineCustomElement:Td}),rb=m({tagName:"dga-progress-indicator-step",elementClass:Dd,react:u,events:{},defineCustomElement:Id}),gb=m({tagName:"dga-progress-indicator-updated",elementClass:Pd,react:u,events:{},defineCustomElement:Ad}),ab=m({tagName:"dga-radio-button",elementClass:Ld,react:u,events:{},defineCustomElement:Od}),cb=m({tagName:"dga-rating",elementClass:Fd,react:u,events:{},defineCustomElement:Rd}),sb=m({tagName:"dga-search-box",elementClass:Xd,react:u,events:{},defineCustomElement:Zd}),db=m({tagName:"dga-search-box-usage",elementClass:Ud,react:u,events:{},defineCustomElement:Yd}),fb=m({tagName:"dga-slider",elementClass:Wd,react:u,events:{},defineCustomElement:Vd}),lb=m({tagName:"dga-structured-list",elementClass:Gd,react:u,events:{},defineCustomElement:Jd}),bb=m({tagName:"dga-suffix",elementClass:Qd,react:u,events:{onOnSelect:"onSelect"},defineCustomElement:Nd}),ub=m({tagName:"dga-switch",elementClass:nf,react:u,events:{},defineCustomElement:ef}),kb=m({tagName:"dga-table-of-content",elementClass:tf,react:u,events:{},defineCustomElement:of}),pb=m({tagName:"dga-tabs",elementClass:hf,react:u,events:{},defineCustomElement:rf}),mb=m({tagName:"dga-tag",elementClass:gf,react:u,events:{},defineCustomElement:af}),wb=m({tagName:"dga-text-input",elementClass:cf,react:u,events:{},defineCustomElement:sf}),vb=m({tagName:"dga-textarea",elementClass:df,react:u,events:{},defineCustomElement:ff}),yb=m({tagName:"dga-tooltip",elementClass:lf,react:u,events:{},defineCustomElement:bf}),xb=m({tagName:"floating-button",elementClass:uf,react:u,events:{onButtonClick:"buttonClick"},defineCustomElement:kf}),qb=m({tagName:"side-panel-menu",elementClass:pf,react:u,events:{},defineCustomElement:mf}),_b=m({tagName:"submenu-component",elementClass:wf,react:u,events:{},defineCustomElement:vf}),zb=m({tagName:"tab-component",elementClass:yf,react:u,events:{},defineCustomElement:xf}),jb=m({tagName:"tab-link",elementClass:qf,react:u,events:{},defineCustomElement:_f});exports.CsAccordionUsage=Cf;exports.CsAvatarUsage=Ef;exports.CsButtonUsage=$f;exports.CsCardUsage=Sf;exports.CsCheckboxUsage=Mf;exports.CsChipUsage=Df;exports.CsCodesnippetUsage=If;exports.CsContentSwitcherUsage=Pf;exports.CsDividerUsage=Af;exports.CsDrawerUsage=Bf;exports.CsDropdownUsage=Tf;exports.CsFileUploadUsage=Lf;exports.CsFloatingButtonUsage=Of;exports.CsFooterUsage=Ff;exports.CsInlineAlertUsage=Rf;exports.CsLinkUsage=Hf;exports.CsLoadingUsage=Uf;exports.CsModalUsage=Yf;exports.CsNotificationToastUsage=Xf;exports.CsNotificationUsage=Zf;exports.CsPaginationUsage=Wf;exports.CsProgressIndicatorUsage=Vf;exports.CsRadioButtonUsage=Gf;exports.CsRatingUsage=Jf;exports.CsSliderUsage=Kf;exports.CsStructuredListUsage=Qf;exports.CsSwitchUsage=Nf;exports.CsTableOfContentUsage=nl;exports.CsTableUsage=el;exports.CsTabsUsage=tl;exports.CsTagUsage=ol;exports.CsTextInputUsage=il;exports.CsTextareaUsage=hl;exports.CsTooltipUsage=rl;exports.DateCell=gl;exports.DgaAccordion=al;exports.DgaAvatar=cl;exports.DgaBreadcrumbs=sl;exports.DgaButton=dl;exports.DgaCard=fl;exports.DgaChart=ll;exports.DgaChartV2=bl;exports.DgaCheckbox=ul;exports.DgaChip=kl;exports.DgaCircularProgressBar=pl;exports.DgaCodesnippet=ml;exports.DgaContentSwitcher=wl;exports.DgaContentSwitcherItem=vl;exports.DgaDataTable=yl;exports.DgaDatepicker=xl;exports.DgaDatepickerUsage=ql;exports.DgaDivider=_l;exports.DgaDrawer=zl;exports.DgaDropdown=jl;exports.DgaFileUpload=Cl;exports.DgaFooter=El;exports.DgaHeader=$l;exports.DgaHeaderActionBtn=Sl;exports.DgaHtmlTag=Ml;exports.DgaIcon=Dl;exports.DgaInlineAlert=Il;exports.DgaLink=Pl;exports.DgaLoading=Al;exports.DgaLocalIcon=Bl;exports.DgaMenu=Tl;exports.DgaMenuGroup=Ll;exports.DgaMenuItem=Ol;exports.DgaMenuUpdated=Fl;exports.DgaMetric=Rl;exports.DgaMetricUsage=Hl;exports.DgaModal=Ul;exports.DgaNavHeader=Yl;exports.DgaNavHeaderActions=Xl;exports.DgaNavHeaderLink=Zl;exports.DgaNavHeaderLogos=Wl;exports.DgaNavHeaderMain=Vl;exports.DgaNavHeaderMenu=Gl;exports.DgaNavHeaderSubMenu=Jl;exports.DgaNavHeaderSubMenuColumn=Kl;exports.DgaNavHeaderSubMenuLink=Ql;exports.DgaNotification=Nl;exports.DgaNotificationToast=nb;exports.DgaPagination=eb;exports.DgaPrefix=tb;exports.DgaProgressBar=ob;exports.DgaProgressBarUsage=ib;exports.DgaProgressIndicator=hb;exports.DgaProgressIndicatorStep=rb;exports.DgaProgressIndicatorUpdated=gb;exports.DgaRadioButton=ab;exports.DgaRating=cb;exports.DgaSearchBox=sb;exports.DgaSearchBoxUsage=db;exports.DgaSlider=fb;exports.DgaStructuredList=lb;exports.DgaSuffix=bb;exports.DgaSwitch=ub;exports.DgaTableOfContent=kb;exports.DgaTabs=pb;exports.DgaTag=mb;exports.DgaTextInput=wb;exports.DgaTextarea=vb;exports.DgaTooltip=yb;exports.FloatingButton=xb;exports.SidePanelMenu=qb;exports.SubmenuComponent=_b;exports.TabComponent=zb;exports.TabLink=jb;
|