@descope/flow-components 3.11.3 → 3.11.5
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/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/30.js +1 -1
- package/dist/fm/30.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +1 -1
- package/dist/fm/mf-stats.json +1 -1
- package/dist/index.cjs.js +40 -23
- package/dist/index.esm.js +3 -3
- package/package.json +2 -2
package/dist/fm/222.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_descope_flow_components_3_11_3_1779217363400=self.webpackChunk_descope_flow_components_3_11_3_1779217363400||[]).push([[222],{5222(t,e,i){i.d(e,{$y:()=>Yu,A8:()=>xc,Ag:()=>Ka,C1:()=>Vc,C9:()=>xo,Cz:()=>ac,Er:()=>Pp,G6:()=>qI,HO:()=>$i,HT:()=>to,J1:()=>ko,Jr:()=>Ui,Lg:()=>Zu,MN:()=>cs,Mz:()=>Ca,NF:()=>Ps,O7:()=>yM,Od:()=>bu,QW:()=>ec,Qb:()=>CM,SE:()=>so,SQ:()=>Lo,T$:()=>py,T1:()=>ax,TV:()=>Gu,Ul:()=>aa,VN:()=>Sd,VX:()=>Sn,_w:()=>Ee,a5:()=>KI,bL:()=>un,bU:()=>Tg,br:()=>V,dX:()=>eh,dq:()=>im,du:()=>Gh,e7:()=>ve,eA:()=>vc,eo:()=>pl,ew:()=>he,fp:()=>Nl,gZ:()=>lu,h5:()=>UM,jH:()=>Ln,k0:()=>Nn,l1:()=>oo,md:()=>zn,ml:()=>Qt,mq:()=>qc,o9:()=>An,o_:()=>fe,pp:()=>Fc,px:()=>wu,q:()=>Km,q4:()=>Di,qn:()=>So,rG:()=>Tu,sK:()=>Ci,tD:()=>qd,tS:()=>iu,td:()=>Oh,tl:()=>qn,ul:()=>Za,v_:()=>xn,w8:()=>_r,wt:()=>Na,xO:()=>Is,xp:()=>hu,xs:()=>Ar,yW:()=>FM,yi:()=>um,yj:()=>_g,zQ:()=>XI,zZ:()=>Pm});var o=i(7949),r=i(72),n=i.n(r),s=i(8089),a=i.n(s),l=i(465),d=i.n(l),c=(i(8231),i(4873),i(865),i(4598),i(7519)),u=(i(496),i(7726),i(4155),i(9504),i(1399),i(5877),i(3798),i(8619),i(1394)),p=i(3667),h=(i(8319),i(3826)),g=i(8677),M=i(127),m=(i(9849),i(4899),i(3977),i(9435),i(7822),i(5595),i(6601),i(9792)),y=i(1206),b=i(8733),N=i(268);const I="descope",x=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),j=(...t)=>x(t.filter(t=>!!t).join("-")),T=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),z=t=>"function"==typeof t,D=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const r=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(r);const n=new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})});return n.observe(t,{attributes:!0}),{disconnect:()=>n.disconnect()}},S=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},v=(t,e,i={})=>o=>{o.forEach(o=>{const r=i[o]||o,n=t.getAttribute(o);e&&(null!==n?e.getAttribute(r)!==n&&e.setAttribute(r,n):e.removeAttribute(r))})},L=(t,e,i)=>{D(t,v(t,e),i),D(e,v(e,t),i)},C=t=>j(I,t),A=(...t)=>`--${j(...t)}`,w=(t,e,i={})=>D(t,v(t,e,i.mapAttrs),i),f=(t,e,{prepend:i=!1}={})=>{let o;try{o=new CSSStyleSheet}catch{return k(t,e,{prepend:i})}const r=e?.shadowRoot||e;if(t&&o.replaceSync(t),r){const t=[...r.adoptedStyleSheets||[]];t[i?"unshift":"push"](o),r.adoptedStyleSheets=t}return t&&!o.cssRules[0]?.style&&console.warn(`No style rules were created, make sure the CSS is valid:\n "${t}"`),o};class E{constructor(t,e,{prepend:i=!1}={}){this.styleEle=document.createElement("style"),this.styleEle.textContent=t,this.styleEle.setAttribute("nonce",window.DESCOPE_NONCE),this.ref=e?.shadowRoot||e,this.ref&&(i?this.ref.prepend(this.styleEle):this.ref.append(this.styleEle))}replaceSync(t){this.styleEle.textContent=t}get cssRules(){return this.styleEle.sheet?.cssRules}}const k=(t,e,{prepend:i=!1}={})=>new E(t,e,{prepend:i}),O=(t,e=2)=>t.trim().split(" ").splice(0,e).map(t=>t[0]?.toUpperCase()).join(""),V=new class{static mountOnPropName="DescopeThemeManager";#t={};#e="light";#i=new Set;#o(){this.#i.forEach(t=>t?.())}get currentThemeName(){return this.#e}set currentThemeName(t){this.#e=t,this.#o()}get currentTheme(){return this.#t[this.currentThemeName]}onCurrentThemeChange(t){return this.#i.add(t),()=>{this.#i.delete(t)}}set themes(t){this.#t=t,this.#o()}get hasThemes(){return!!Object.keys(this.#t).length}},W=.25,Y=.1,U=(t,e)=>t.darken(e).hex(),R=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},Q=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),Z=t=>t.luminosity()>.99,B=(t,e)=>(t=>t.luminosity()<.01)(t)?Q(t,W):U(t,.4),P=(t,e)=>Z(t)?U(t,W):Q(t,.4),F=(t,e)=>Z(t)?U(t,Y):Q(t,.8),G=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||B(i),light:t.light||P(i),highlight:t.highlight||F(i),contrast:t.contrast||R(i)}},H=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,J=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,$=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,_=t=>`\n ${t}::part(input-field)::after {\n opacity: 0;\n }\n`,X=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,q=t=>A(I,...t),K=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,r)=>(void 0===t[e]&&(t[e]={}),r===o.length-1&&(t[e]=i),t[e]),t),t},tt=(t,e,i)=>Object.entries(t).reduce((t,[o,r])=>r?.constructor!==Object?a()(t,i(e.concat(o),r)):a()(t,tt(r,[...e,o],i)),{}),et=(t,e)=>tt(t,[],t=>K({},t,`var(${q(t)})`)),it=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),ot=(t,e)=>{const i=tt(t,[],(t,i)=>{const o=[...t],r=o.splice(-1),n=A(e,r),s={[r]:n},a={[r]:it(n)};return{theme:K({},[...o,n],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},rt=t=>`${t}__override`,nt=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${rt(t)}, ${o})`:o};let st=class{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}};const at=(t,e="fallback")=>j(t,e),lt=(t,e,{fallback:i})=>{if(!i)return{};const o=at(e,i.suffix),r=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[r]:o,...lt(r,o,i)}},dt=(t,e)=>Object.keys(e).reduce((i,o)=>{const r=A(t,o);return Object.assign(i,{[o]:r},{[o+"Override"]:rt(r)},lt(o,r,e[o]))},{}),ct=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...dt(o,{...t})}}#r;#n;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o="host",baseSelector:r}={}){super(),this.#a=i,this.#l=o,this.#c=r??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>j("st",i,t))}get#h(){return V.currentTheme?.[o]||""}#g(){this.#n.replaceSync(this.#h[this.#l]),this.currentThemeName=V.currentThemeName,this.onThemeChange?.(V.currentThemeName)}#M(){this.#n=f("",this.#d,{prepend:!0}),this.#s=V.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#r=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const i=this.#r.cssRules[0].style;if(!i)return;const r=A(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(r,e):(i?.removeProperty(r),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new st,r=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=at(e,t?.suffix);return nt(i,r(t.fallback,i))};return Object.keys(i).forEach(n=>{const s=((t,e)=>{const i={selector:"",property:x(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(n,i[n]),a=A(t,n);s.forEach(({selector:t,property:i,important:n,fallback:s})=>{const l=r(s,a);o.add(((t="",e="")=>z(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),z(i)?i():i,nt(a,l,!0)+(n?"!important":""))})}),o.toString()})(j(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d?.classList||this.#d?.host?.classList||this.classList).add(t)}async init(){super.init?.(),!this.shadowRoot?.isConnected&&this.shadowRoot||(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),D(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},ut=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},pt=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},ht=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},gt=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},Mt=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","collapsed","hide-country","hide-subdivision","hide-city"],mt=t=>class extends t{init(){super.init?.(),D(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>Mt.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},yt=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return T(pt,gt,mt,ht)(i)};function bt(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const Nt=t=>class extends t{#z=bt.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#z(),this.prevValue=this.value)})}},It=t=>class extends t{init(){this.#D(),super.init?.()}#D(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,bt.call(this,"blur"),bt.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(bt.call(this,"focus"),bt.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,bt.call(this,"input",{bubbles:!0,composed:!0})))})}},xt=["required","pattern"],jt=Symbol("validationTarget"),Tt=t=>class extends t{#S=jt;static get observedAttributes(){return[...t.observedAttributes||[],...xt]}static get formAssociated(){return!0}#v;get internals(){return this.#v}set internals(t){this.#v=t}constructor(){super(),this.#v=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:r,tooShort:n,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||r||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case n:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#L(){const t=this.isReadOnly?{}:this.getValidity();this.#v.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#v.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#v.validity.valid}reportValidity(){return this.#v.reportValidity()}get validity(){return this.#v.validity}get validationTarget(){return this.#S===jt?this.inputElement:this.#S}set validationTarget(t){this.#S=t}setCustomValidity(t){t?this.#v.setValidity({customError:!0},t,this.validationTarget):(this.#v.setValidity({}),this.#L())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#v.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),xt.includes(t)&&this.#L()}init(){super.init?.(),this.addEventListener("change",this.#L),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#L),setTimeout(()=>this.#L())}},zt=(...t)=>T(Tt,Nt,mt,It)(yt(...t)),Dt="FETCH_RESULTS_ERROR",St=()=>class{constructor(t){this.getAttribute=t,this.isValid=this.#C()}checkConnectorValidity(){this.isValid=this.#C()}#C(){return!this.getRequiredParams().filter(t=>{const e=this.getAttribute(t);return!e||!this.validateParam(t,e)}).length}validateParam(t,e){return e.trim().length>0}getRequiredParams(){return console.error("Connector must implement getRequiredParams"),[]}async fetch(t){return this.isValid?this._fetchResults(t):(console.error(`[${this.constructor.name}] Cannot fetch results: connector is not properly configured`),{results:[],error:"CONNECTOR_INVALID"})}_fetchResults(t){return console.error("Connector must implement fetchResults"),{results:[],error:void 0}}},vt=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:r=[],includeAttrsSync:n=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends(yt({componentName:t,baseSelector:e})){#A=bt.bind(this,"blur");#w=bt.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((z(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),((t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)})(this.baseElement,this,s),L(this.baseElement,this,{excludeAttrs:r,includeAttrs:n})}}return l},Lt=["invalid","required"],Ct=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},At=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:r=!1})=>n=>class extends(Tt(n)){static get observedAttributes(){return[...n.observedAttributes||[],...Lt]}#f;#z=bt.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=Ct(t)||Ct(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#z()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement.setSelectionRange?.bind(this.inputElement),w(this,this.inputElement,{includeAttrs:["inputmode"]})}),r){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},wt=t=>T(At(t),ct({componentNameOverride:C("input-wrapper")})),ft=t=>async e=>{const i=await t(e);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})},Et=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:r=!0}={}})=>n=>{const s=t||(t=>t.replace(/[^\w\s]/gi,""))(e),a=ct({mappings:i})(n);return class extends a{static get cssVarList(){return{...a.cssVarList,[s]:dt(s?j(n.componentName,"_"+s):n.componentName,i)}}#k;constructor(){const t=ft(async t=>{const i=(t.shadowRoot||t).querySelector(t.baseSelector);return e&&t.shadowRoot?(await ft(()=>i)(t)).querySelector(e):i});super({getRootElement:t,componentNameSuffix:s&&"_"+s,themeSection:s?"_"+s:void 0,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;w(this,t,{[r?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},kt=()=>!0,Ot=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,Vt=({itemRenderer:t=Ot,validateSchema:e=kt,slotName:i,rerenderAttrsList:o=[],targetSelector:r,sortFn:n=t=>t})=>s=>class extends s{#W=[];#Y;#U(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.#Y&&this.#Y.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),(n?this.data.sort(n):this.data).forEach((e,i)=>{const o="string"==typeof(r=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(r).content:r instanceof HTMLTemplateElement?r.content:(console.error("Invalid template",r),null);var r;this.#Y&&this.#Y.appendChild(o?.cloneNode(!0))})}set data(t){this.#U(t)&&(this.#W=t,this.#Q())}get data(){return this.#W}init(){super.init?.(),this.#Y=r?this.shadowRoot.querySelector(r):this.baseElement,D(this,t=>{t.includes("data")?this.#Z():this.#Q()},{includeAttrs:[...o,"data"]})}#Z(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}},Wt=({triggers:t=[]}={})=>e=>class extends e{static get observedAttributes(){return[...e.observedAttributes||[],...t.map(({attr:t})=>t)]}get#B(){return t.some(({attr:t,value:e})=>this.getAttribute(t)===e)}#P=()=>{this.toggleAttribute("stretch",this.#B)};attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.#P()}init(){super.init?.(),this.#P()}},Yt=["blockquote","list","image","table","code","hr","backticks","fence","reference","heading","lheading","html_block"],Ut=C("enriched-text");class Rt extends(yt({componentName:Ut,baseSelector:":host > div"})){#F;#G;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="content"></div>\n ',f("\n :host {\n line-height: 1em;\n word-break: break-word;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n *, *:last-child {\n margin: 0;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p {\n margin-bottom: 1em;\n }\n a {\n cursor: pointer;\n }\n blockquote {\n padding: 0 2em;\n }\n u {\n text-decoration: underline\n }\n s {\n color: currentColor;\n }\n ",this),this.#H(),S(this,this.#J.bind(this)),this.contentNode?.addEventListener("click",t=>{t.target instanceof HTMLAnchorElement&&t.stopPropagation()})}static get observedAttributes(){return["readonly","link-target-blank"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("readonly"===t&&this.onReadOnlyChange("true"===i),"link-target-blank"===t&&this.#H())}customUnderlineRenderer(){this.processor.renderer.rules.em_open=(t,e,i,o,r)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,r)),this.processor.renderer.rules.em_close=(t,e,i,o,r)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,r))}#$(){this.linkTargetBlank?this.processor.renderer.rules.link_open=(t,e,i,o,r)=>(t[e].attrSet("target","_blank"),this.#F(t,e,i,o,r)):this.processor.renderer.rules.link_open=this.#F}#_(){this.processor&&this.processor.disable(Yt)}#X(){this.#_()}#q(){this.#F=this.processor.renderer.rules.link_open||((t,e,i,o,r)=>r.renderToken(t,e,i)),this.#G=this.processor.renderer.rules.em_open||((t,e,i,o,r)=>r.renderToken(t,e,i))}#H(){this.processor=new o.A("commonmark",{html:!0}),this.#q(),this.#X(),this.#$(),this.customUnderlineRenderer()}get linkTargetBlank(){return"true"===this.getAttribute("link-target-blank")}get contentNode(){return this.shadowRoot.querySelector(".content")}#J(){if(!this.processor)return;let t=(t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value})(this.innerHTML);!t?.trim()&&this.isConnected?this.setAttribute("empty","true"):this.removeAttribute("empty");try{const e=this.processor.parse(t,{references:void 0});t=this.processor.renderer.render(e,{html:!0,breaks:!0})}catch{console.warn("Not parsing invalid markdown token")}this.contentNode.innerHTML=t,this.contentNode.firstChild?.setAttribute("part","content")}onReadOnlyChange(t){t?this.contentNode.setAttribute("inert",t):this.contentNode.removeAttribute("inert")}}const Qt=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDisplay:{selector:()=>":host",property:"display",fallback:"inline-block"},hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},fontWeightBold:[{selector:()=>":host strong",property:"font-weight"},{selector:()=>":host b",property:"font-weight"}],textColor:{property:"color"},textLineHeight:{property:"line-height"},textAlign:{},linkColor:{selector:"a",property:"color"},linkTextDecoration:{selector:"a",property:"text-decoration"},linkHoverTextDecoration:{selector:"a:hover",property:"text-decoration"},minHeight:{},minWidth:{}}}),ct({componentNameOverride:C("link")}),ct({componentNameOverride:C("text")}),Wt({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(Rt),Zt=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),Bt=(...t)=>Zt(t.filter(t=>!!t).join("-")),Pt=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),Ft=t=>"function"==typeof t,Gt="descope",Ht="host",Jt=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const r=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(r),new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})}).observe(t,{attributes:!0})},$t=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},_t=(t,e,i={})=>o=>{o.forEach(o=>{const r=i[o]||o,n=t.getAttribute(o);e&&(null!==n?e.getAttribute(r)!==n&&e.setAttribute(r,n):e.removeAttribute(r))})},Xt=(t,e,i)=>{Jt(t,_t(t,e),i),Jt(e,_t(e,t),i)},qt=t=>Bt(Gt,t),Kt=(...t)=>`--${Bt(...t)}`,te=(t,e,i={})=>{Jt(t,_t(t,e,i.mapAttrs),i)},ee=(t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)},ie=.4,oe=.25,re=.1,ne=(t,e)=>t.darken(e).hex(),se=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},ae=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),le=t=>t.luminosity()<.01,de=t=>t.luminosity()>.99,ce=(t,e)=>"dark"===e?de(t)?ne(t,oe):ae(t,ie):le(t)?ae(t,oe):ne(t,ie),ue=(t,e)=>"dark"===e?le(t)?ae(t,oe):ne(t,ie):de(t)?ne(t,oe):ae(t,ie),pe=(t,e)=>"dark"===e?le(t)?ae(t,re):ne(t,.8):de(t)?ne(t,re):ae(t,.8),he=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||ce(i,e),light:t.light||ue(i,e),highlight:t.highlight||pe(i,e),contrast:t.contrast||se(i)}},ge=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,Me=t=>`\n ${t} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`,me=t=>`\n ${t}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`,ye=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,be=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,Ne=t=>`\n ${t}::part(input-field)::after {\n background: none;\n }\n`,Ie=(t,e)=>`\n ${Me(t)}\n ${ye(t)}\n ${be(t)}\n ${me(t)}\n ${((t,e)=>`\n ${t} input:-webkit-autofill,\n ${t} input:-webkit-autofill::first-line,\n ${t} input:-webkit-autofill:hover,\n ${t} input:-webkit-autofill:active,\n ${t} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${e.inputValueTextColor});\n box-shadow: 0 0 0 var(${e.inputHeight}) var(${e.inputBackgroundColor}) inset;\n }\n`)(t,e)}\n ${Ne(t)}\n ${(t=>`\n ${t}::before {\n\t\theight: unset;\n\t}\n`)(t)}\n ${(t=>`\n ${t} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`)(t)}\n ${(t=>`\n ${t}::part(input-field)::after {\n border: none;\n }\n`)(t)}\n`,xe=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,je=t=>Kt(Gt,...t),Te=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,r)=>(void 0===t[e]&&(t[e]={}),r===o.length-1&&(t[e]=i),t[e]),t),t},ze=(t,e,i)=>Object.entries(t).reduce((t,[o,r])=>r?.constructor!==Object?a()(t,i(e.concat(o),r)):a()(t,ze(r,[...e,o],i)),{}),De=t=>{switch(!0){case Array.isArray(t):return t.map(t=>t.includes(" ")?`"${t}"`:t).join(", ");case(t=>{try{return new URL(t),!0}catch(t){return!1}})(t):return`url(${t})`;default:return t}},Se=(t,e)=>ze(t,[],t=>Te({},t,`var(${je(t)})`)),ve=(t,e="")=>{const i=Object.entries((t=>ze(t,[],(t,e)=>({[je(t)]:De(e)})))(t)).reduce((t,e)=>`${t}${e.join(":")};\n`,"");return e?`*[data-theme="${e}"] {${i}}`:i},Le="@container",Ce="$breakpoints",Ae=t=>t.startsWith("$breakpoints."),we=t=>Object.entries(t).reduce((t,[e,i])=>(t=>t.startsWith(Le))(e)?`${t}${e} {\n${we(i)}}\n\n`:`${t}${e} { \n${Object.entries(i).map(([t,e])=>`${t}: ${e}`).join(";\n")} \n}\n\n`,""),fe=t=>{const e=(t=>ze(t,[],(e,i)=>{const[o,...r]=e;if(r[0]===Ce)return{};const n=r.pop(),s=qt(o);"undefined"===n&&console.warn(s,`theme value: "${i}" is mapped to an invalid property`);const a=Ht,l=t[o]?.[Ce]||{},d=r.filter(Ae),c=d.find(t=>!l[t.slice(13)]);if(c)return console.warn(s,`theme references undefined breakpoint "${c}"`),{};const u=d.map(t=>Ae(t)?`${Le} ${l[t.slice(13)]}`:t);r.splice(0,r.length,...r.filter(t=>!Ae(t)));const p=r.reduce((t,e,i)=>{const[o,n]=function(t){const e=t.match(/^(&+)?(.*)$/);return[e[1]||"",e[2]||""]}(e),s=Math.min(o.length+1,3);if(n.startsWith("_"))return t+`[${Zt(n.replace(/^_/,""))}="true"]`.repeat(s);const a=r[i+1];return"string"!=typeof a||a.startsWith("_")||a.startsWith("&")?(console.error("theme generator",`your theme structure is invalid, attribute "${e}" is followed by "${a}" which is not allowed`),t):t+`[${Zt(n)}="${r.splice(i+1,1).join("")}"]`.repeat(s)},""),h=":host"+(p?`(${p})`:""),g=u.reduceRight((t,e)=>({[e]:t}),{[h]:{[n]:De(i)}});return{[s]:{[a]:g}}}))(t);return Object.keys(e).reduce((t,i)=>{const o=e[i];return Object.assign(t,{[i]:Object.keys(o).reduce((t,e)=>Object.assign(t,{[e]:we(o[e])}),{})})},{})},Ee=({globals:t,components:e},i)=>({globals:ve(t,i),components:fe(e)}),ke=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),Oe=(t,e)=>{const i=ze(t,[],(t,i)=>{const o=[...t],r=o.splice(-1),n=Kt(e,r),s={[r]:n},a={[r]:ke(n)};return{theme:Te({},[...o,n],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},Ve=t=>`${t}__override`,We=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${Ve(t)}, ${o})`:o};class Ye{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}}const Ue=(t,e="fallback")=>Bt(t,e),Re=(t,e,{fallback:i})=>{if(!i)return{};const o=Ue(e,i.suffix),r=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[r]:o,...Re(r,o,i)}},Qe=(t,e)=>Object.keys(e).reduce((i,o)=>{const r=Kt(t,o);return Object.assign(i,{[o]:r},{[`${o}Override`]:Ve(r)},Re(o,r,e[o]))},{}),Ze=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...Qe(o,{...t})}}#r;#n;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o=Ht,baseSelector:r}={}){super(),this.#a=i,this.#l=o,this.#c=r??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>Bt("st",i,t))}get#h(){return V.currentTheme?.[o]||""}#g(){this.#n.replaceSync(this.#h[this.#l])}#M(){this.#n=f("",this.#d,{prepend:!0}),this.#s=V.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#r=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const{style:i}=this.#r.cssRules[0];if(!i)return;const r=Kt(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(r,e):(i?.removeProperty(r),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new Ye,r=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=Ue(e,t?.suffix);return We(i,r(t.fallback,i))};return Object.keys(i).forEach(n=>{const s=((t,e)=>{const i={selector:"",property:Zt(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(n,i[n]),a=Kt(t,n);s.forEach(({selector:t,property:i,important:n,fallback:s})=>{const l=r(s,a);o.add(((t="",e="")=>Ft(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),Ft(i)?i():i,We(a,l,!0)+(n?"!important":""))})}),o.toString()})(Bt(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d.classList||this.#d.host.classList).add(t)}async init(){super.init?.(),this.shadowRoot?.isConnected&&(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),Jt(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},Be=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},Pe=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},Fe=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},Ge=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},He=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","loading"],Je=t=>class extends t{init(){super.init?.(),Jt(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>He.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},$e=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return Pt(Pe,Ge,Je,Fe)(i)};function _e(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const Xe=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:r=[],includeAttrsSync:n=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends($e({componentName:t,baseSelector:e})){#A=_e.bind(this,"blur");#w=_e.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((Ft(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),ee(this.baseElement,this,s),Xt(this.baseElement,this,{excludeAttrs:r,includeAttrs:n})}}return l},qe=["required","pattern"],Ke=Symbol("validationTarget"),ti=t=>class extends t{#S=Ke;static get observedAttributes(){return[...t.observedAttributes||[],...qe]}static get formAssociated(){return!0}#v;get internals(){return this.#v}set internals(t){this.#v=t}constructor(){super(),this.#v=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:r,tooShort:n,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||r||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case n:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#L(){const t=this.isReadOnly?{}:this.getValidity();this.#v.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#v.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#v.validity.valid}reportValidity(){return this.#v.reportValidity()}get validity(){return this.#v.validity}get validationTarget(){return this.#S===Ke?this.inputElement:this.#S}set validationTarget(t){this.#S=t}setCustomValidity(t){t?this.#v.setValidity({customError:!0},t,this.validationTarget):(this.#v.setValidity({}),this.#L())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#v.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),qe.includes(t)&&this.#L()}init(){super.init?.(),this.addEventListener("change",this.#L),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#L),setTimeout(()=>this.#L())}},ei=["invalid","required"],ii=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},oi=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:r=!1})=>n=>class extends(ti(n)){static get observedAttributes(){return[...n.observedAttributes||[],...ei]}#f;#z=_e.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=ii(t)||ii(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#z()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement?.setSelectionRange?.bind(this.inputElement),te(this,this.inputElement,{includeAttrs:["inputmode"]})}),r){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},ri=t=>Pt(oi(t),Ze({componentNameOverride:qt("input-wrapper")})),ni=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:r=!0}={}})=>e=>{const n=t,s=Ze({mappings:i})(e);return class extends s{static get cssVarList(){return{...s.cssVarList,[n]:Qe(Bt(e.componentName,"_"+n),i)}}#k;constructor(){const t=(e=async t=>(t.shadowRoot||t).querySelector(t.baseSelector),async t=>{const i=await e(t);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})});var e;super({getRootElement:t,componentNameSuffix:"_"+n,themeSection:"_"+n,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;te(this,t,{[r?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},si=t=>class extends t{#z=_e.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#z(),this.prevValue=this.value)})}},ai=t=>class extends t{init(){this.#D(),super.init?.()}#D(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,_e.call(this,"blur"),_e.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(_e.call(this,"focus"),_e.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,_e.call(this,"input",{bubbles:!0,composed:!0})))})}},li=({inputType:t,inputName:e,autocompleteType:i,includeAttrs:o=[],noBlurDispatch:r=!1})=>n=>class extends n{#K=[];get isExternalInput(){return"true"===this.getAttribute("external-input")}createExternalInput(){if(!this.isExternalInput||this.isReadOnly||this.isDisabled)return null;const i=this.baseElement.querySelector("input");if(!i)return null;i.setAttribute("tabindex","-1");const r=(()=>{const t=document.createElement("slot");return t.setAttribute("name","external-input"),t.setAttribute("slot","suffix"),t})();return this.baseElement.appendChild(r),this.externalInput=((t,e,i,o)=>{const r=document.createElement("input");return r.setAttribute("slot","external-input"),r.setAttribute("type",e),r.setAttribute("name",o),r.setAttribute("data-hidden-input","true"),r.setAttribute("autocomplete",i),r})(0,t,this.getAutocompleteType(),e),setTimeout(()=>{var t,e,o;t=i,e=this.externalInput,o=this.getAttribute("label-type"),setTimeout(()=>{const i=getComputedStyle(t),r=i.getPropertyValue("height"),n=i.getPropertyValue("padding-left"),s=i.getPropertyValue("padding-right"),a=i.getPropertyValue("font-size"),l=i.getPropertyValue("font-family"),d=i.getPropertyValue("letter-spacing"),c=i.getPropertyValue("caret-color"),u=((t,e)=>{const i=t.value;t.value="_";const o=e.getPropertyValue("color");return"_"===t.value&&(t.value=i),o})(t,i);if([["all","unset"],["position","absolute"],["background-color","transparent"],["height",r],["left",n],["right",s],["font-size",a],["font-family",l],["letter-spacing",d],["caret-color",c],["color",u]].forEach(([t,i])=>e.style.setProperty(t,i,"important")),"floating"===o){const t=i.getPropertyValue("margin-bottom");e.style.setProperty("margin-bottom",t,"important")}const p=i.getPropertyValue("width");e.style.setProperty("width",`calc(${p} - ${n} - ${s}`,"important")},0)}),this.forwardInputValue(i,this.externalInput),Xt(i,this.externalInput,{includeAttrs:o}),this.baseElement.querySelector("input").addEventListener("focusout",t=>t.stopImmediatePropagation(),!0),this.handleFocusEvents(),this.handleBlurEvents(),this.handlelInputEvents(this.externalInput),this.appendChild(this.externalInput),this.externalInput}clearBlurTimers(){this.#K.forEach(t=>clearTimeout(t)),this.#K.length=0}dispatchBlur(){return setTimeout(()=>{this.dispatchEvent(new Event("blur",{bubbles:!0,composed:!0})),this.removeAttribute("focused")})}handleFocusEvents(){this.baseElement.addEventListener("focus",()=>{this.externalInput.focus(),this.clearBlurTimers()}),this.externalInput.addEventListener("focus",()=>{this.clearBlurTimers(),setTimeout(()=>this.baseElement.setAttribute("focused","true"))})}handleBlurEvents(){this.baseElement.addEventListener("blur",t=>{t.stopImmediatePropagation(),r||this.#K.push(this.dispatchBlur())},!0),this.externalInput.addEventListener("blur",t=>{t.stopImmediatePropagation(),this.#K.push(this.dispatchBlur())},!0)}handlelInputEvents(t){t.addEventListener("input",t=>{this.value=t.target.value}),t.addEventListener("input",t=>{t.target.value?this.setAttribute("has-value","true"):this.removeAttribute("has-value")})}getAutocompleteType(){return this.getAttribute("autocomplete")||i}forwardInputValue(t,e){const i=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value");Object.defineProperty(t,"value",{...i,set(t){i.set.call(this,t),e.value=t},configurable:!0})}},di=t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},ci=(...t)=>Pt(ti,si,Je,ai)($e(...t)),ui=qt("boolean-field-internal"),pi=["disabled","invalid","readonly"],hi=ci({componentName:ui,baseSelector:"div"}),gi=t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${ui}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${ui}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(ui),this.checkbox=this.inputElement.querySelector("vaadin-checkbox"),te(this,this.inputElement,{includeAttrs:["required","full-width","size","label","invalid","disabled","readonly"]}),ee(this.inputElement,this,["checked"]),Xt(this,this.inputElement,{includeAttrs:["checked"]})}};var Mi=t=>`\n:host {\n\tdisplay: inline-flex;\n}\n\n\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n.wrapper {\n\tdisplay: flex;\n\tbox-sizing: border-box;\n}\nvaadin-text-field {\n\tposition: relative;\n\tpadding: 0;\n\tdisplay: inline-flex;\n\talign-items: flex-start;\n}\nvaadin-text-field::before {\n content: unset;\n}\nvaadin-text-field::part(label) {\n position: absolute;\n top: 0;\n}\nvaadin-text-field::part(input-field) {\n\tpadding: 0;\n\tbackground: none;\n\tmin-height: 0;\n}\nvaadin-text-field::part(input-field)::after {\n background: none;\n}\nvaadin-text-field[focus-ring]::part(input-field) {\n\tbox-shadow: none;\n}\n\nvaadin-checkbox [slot="label"] {\n align-self: flex-start;\n padding: 0;\n}\n[required] vaadin-checkbox [slot="label"]:not(:empty) {\n\tpadding-inline-end: 1em;\n}\ndescope-boolean-field-internal {\n -webkit-mask-image: none;\n min-height: initial;\n}\n\ndescope-enriched-text[empty] {\n\t${Qt.cssVarList.hostDisplay}: none;\n}\n\ndescope-enriched-text {\n\t${Qt.cssVarList.hostDirection}: var(${t.hostDirection});\n}\n\n`;const mi=qt("checkbox"),{host:yi,component:bi,checkboxElement:Ni,checkboxSurface:Ii,checkboxLabel:xi,requiredIndicator:ji,helperText:Ti,errorMessage:zi}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Di=Pt(Ze({mappings:{hostWidth:{...yi,property:"width"},hostDirection:{...yi,property:"direction"},fontSize:[yi,Ni,xi],fontFamily:[xi,Ti,zi],labelTextColor:{...xi,property:"color"},labelSpacing:{...xi,property:"padding-inline-start"},labelLineHeight:{...xi,property:"line-height"},labelFontWeight:{...xi,property:"font-weight"},labelRequiredIndicator:{...ji,property:"content"},errorMessageTextColor:{...zi,property:"color"},errorMessageIcon:{...zi,property:"background-image"},errorMessageIconSize:{...zi,property:"background-size"},errorMessageIconPadding:{...zi,property:"padding-inline-start"},errorMessageIconRepeat:{...zi,property:"background-repeat"},errorMessageIconPosition:{...zi,property:"background-position"},errorMessageFontSize:{...zi,property:"font-size"},inputValueTextColor:{...Ii,property:"color"},inputBackgroundColor:{...Ni,property:"background-color"},inputBorderRadius:{...Ni,property:"border-radius"},inputBorderWidth:{...Ni,property:"border-width"},inputBorderOffset:{...Ni,property:"border-offset"},inputBorderColor:{...Ni,property:"border-color"},inputBorderStyle:{...Ni,property:"border-style"},inputOutlineWidth:{...Ni,property:"outline-width"},inputOutlineOffset:{...Ni,property:"outline-offset"},inputOutlineColor:{...Ni,property:"outline-color"},inputOutlineStyle:{...Ni,property:"outline-style"},inputAlign:{...Ni,property:"align-self"},inputContainerPadding:{...bi,property:"padding"},inputContainerBackgroundColor:{...bi,property:"background-color"},inputContainerBorderRadius:{...bi,property:"border-radius"},inputContainerBorderWidth:{...bi,property:"border-width"},inputContainerBorderColor:{...bi,property:"border-color"},inputContainerBorderStyle:{...bi,property:"border-style"},inputContainerOutlineWidth:{...bi,property:"outline-width"},inputContainerOutlineOffset:{...bi,property:"outline-offset"},inputContainerOutlineColor:{...bi,property:"outline-color"},inputContainerOutlineStyle:{...bi,property:"outline-style"},inputSize:[{...Ni,property:"width"},{...Ni,property:"height"},{...Ii,property:"font-size"},{...bi,property:"font-size"}]}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,gi)(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${Mi(Di.cssVarList)}\n ${ge(Di.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 2px;\n\t\t\t\twidth: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n\n :host([full-width]) vaadin-checkbox {\n flex-grow: 1;\n }\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n }\n\n vaadin-checkbox::part(checkbox)::after {\n top: 0;\n left: 0;\n -webkit-text-fill-color: initial;\n }\n\n vaadin-checkbox label {\n -webkit-text-fill-color: initial;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n `,excludeAttrsSync:["label","tabindex","style"],componentName:mi})),Si=C("text");class vi extends(yt({componentName:Si,baseSelector:":host > slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <slot part="text-wrapper"></slot>\n ',f("\n :host {\n display: inline-block;\n line-height: 1em;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n ",this)}get hideWhenEmpty(){return"true"===this.getAttribute("hide-when-empty")}init(){super.init(),S(this,()=>{const t=!!this.childNodes.length;this.style.display=!t&&this.hideWhenEmpty?"none":""})}}const{host:Li}={host:{selector:()=>":host"}},Ci=T(ct({mappings:{hostWidth:{...Li,property:"width"},hostDirection:{...Li,property:"direction"},fontSize:{},textColor:[{property:"color"}],textLineHeight:{property:"line-height"},textLetterSpacing:{property:"letter-spacing"},textShadow:{},textAlign:{},textTransform:{},fontFamily:{},fontStyle:{},fontWeight:{},borderWidth:{},borderStyle:{},borderColor:{}}}),Wt({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(vi),Ai=C("link"),wi=["href","readonly"];class fi extends(yt({componentName:Ai,baseSelector:":host a"})){static get observedAttributes(){return wi.concat(super.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t<div>\n\t\t\t<descope-text part="wrapper">\n\t\t\t\t<a>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</a>\n\t\t\t</descope-text>\n\t\t</div>\n\t\t',f('\n :host {\n\t\t\tdisplay: inline-block;\n line-height: 1em;\n\t\t}\n\t\t:host a {\n\t\t\tdisplay: inline;\n\t\t}\n\n :host([ellipsis="true"]) descope-text {\n display: inline-flex;\n }\n :host([ellipsis="true"]) descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ',this),this.anchor=this.shadowRoot.querySelector("a"),w(this,this.anchor,{includeAttrs:["href","target","tooltip"],mapAttrs:{tooltip:"title"}}),w(this,this.shadowRoot.querySelector("descope-text"),{includeAttrs:["mode","variant"]}),this.anchor.addEventListener("click",t=>{this.readOnly&&t.preventDefault()})}get readOnly(){return"true"===this.getAttribute("readonly")}}const Ei={host:{selector:()=>":host"},link:{selector:()=>":host a"},anchor:{},wrapper:{selector:()=>":host > div"},text:{selector:()=>Ci.componentName}},{anchor:ki,text:Oi,host:Vi,wrapper:Wi,link:Yi}=Ei,Ui=T(ct({mappings:{hostWidth:{...Vi,property:"width"},hostDirection:{...Oi,property:"direction"},textAlign:Wi,textDecoration:{...Yi,property:"text-decoration",fallback:"none"},textColor:[{...ki,property:"color"},{...Oi,property:Ci.cssVarList.textColor}],cursor:ki}}),Wt({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(fi);customElements.define(Si,Ci),customElements.define(Ai,Ui),customElements.define(Ut,Qt),customElements.define(ui,class extends hi{static get observedAttributes(){return["readonly","label"]}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper">\n\t\t\t\t<vaadin-checkbox>\n\t\t\t\t\t<descope-enriched-text link-target-blank="true" class="label-content" slot="label"></descope-enriched-text>\n\t\t\t\t</vaadin-checkbox>\n\t\t\t</div>\n\t\t',this.wrapperEle=this.querySelector("div"),this.checkbox=this.querySelector("vaadin-checkbox"),this.labelContent=this.querySelector(".label-content")}get value(){return this.checkbox?.checked}set value(t){this.checkbox.checked=t}get checked(){return this.value}set checked(t){this.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.checkbox.focus()}),super.init?.(),te(this,this.checkbox,{includeAttrs:pi}),Xt(this,this.checkbox,{includeAttrs:["checked"]}),this.labelContent.addEventListener("click",t=>{this.hasAttribute("disabled")||this.hasAttribute("readonly")||this.checkbox.click()}),this.handleFocusEventsDispatching([this.checkbox])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i),"label"===t&&this.onLabelChange()}onLabelChange(){const t=this.getAttribute("label");this.labelContent.textContent=t||""}onReadOnlyChange(t){this.baseElement.setAttribute("inert",t)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}}),customElements.define(mi,Di);const Ri=qt("switch-toggle"),{host:Qi,component:Zi,checkboxElement:Bi,checkboxSurface:Pi,checkboxLabel:Fi,requiredIndicator:Gi,helperText:Hi,errorMessage:Ji}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},$i=Pt(Ze({mappings:{hostWidth:{...Qi,property:"width"},hostDirection:{...Qi,property:"direction"},fontSize:[Zi,Fi,Fi],fontFamily:[Fi,Hi,Ji],labelTextColor:[{...Fi,property:"color"},{...Fi,property:"-webkit-text-fill-color"}],labelSpacing:{...Fi,property:"padding-inline-start"},labelLineHeight:{...Fi,property:"line-height"},labelFontWeight:{...Fi,property:"font-weight"},labelRequiredIndicator:{...Gi,property:"content"},errorMessageTextColor:{...Ji,property:"color"},errorMessageIcon:{...Ji,property:"background-image"},errorMessageIconSize:{...Ji,property:"background-size"},errorMessageIconPadding:{...Ji,property:"padding-inline-start"},errorMessageIconRepeat:{...Ji,property:"background-repeat"},errorMessageIconPosition:{...Ji,property:"background-position"},errorMessageFontSize:{...Ji,property:"font-size"},trackBorderWidth:{...Bi,property:"border-width"},trackBorderStyle:{...Bi,property:"border-style"},trackBorderColor:{...Bi,property:"border-color"},trackBackgroundColor:{...Bi,property:"background-color"},trackBorderRadius:{...Bi,property:"border-radius"},trackWidth:[{...Bi,property:"width"}],trackHeight:[{...Pi,property:"font-size"},{...Bi,property:"height"}],knobSize:[{...Pi,property:"width"},{...Pi,property:"height"}],knobTextColor:{...Pi,property:"color"},knobRadius:{...Pi,property:"border-radius"},knobTransitionDuration:{...Pi,property:"transition"},knobColor:{...Pi,property:"background-color"},knobTopOffset:{...Pi,property:"top"},knobLeftOffset:{...Pi,property:"left"},inputOutlineWidth:{...Bi,property:"outline-width"},inputOutlineOffset:{...Bi,property:"outline-offset"},inputOutlineColor:{...Bi,property:"outline-color"},inputOutlineStyle:{...Bi,property:"outline-style"}}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,gi)(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${Mi($i.cssVarList)}\n\t\t\t${ge($i.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 0;\n width: 100%;\n }\n\n vaadin-text-field::part(input-field) {\n cursor: pointer;\n }\n\n vaadin-checkbox {\n cursor: pointer;\n }\n\n vaadin-checkbox [slot="label"]:not(:empty) {\n cursor: pointer;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::before {\n content: '';\n\t\t\t}\n\n vaadin-checkbox[active]::part(checkbox) {\n\t\t\t\ttransform: none;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::after {\n\t\t\t\tposition: absolute;\n\t\t\t\topacity: 1;\n\t\t\t\tcontent: '';\n\t\t\t}\n\t\t`,excludeAttrsSync:["label","tabindex","style"],componentName:Ri}));customElements.define(Ri,$i);const _i=qt("loader-linear");class Xi extends($e({componentName:_i,baseSelector:":host > div"})){static get componentName(){return _i}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes tilt {\n\t\t\t\t0% { transform: translateX(0); }\n\t\t\t\t50% { transform: translateX(400%); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\tdiv::after {\n\t\t\t\tcontent: '';\n\t\t\t\tanimation-name: tilt;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\twidth: 100%;\n\t\t\t}\n ",this)}}const{after:qi,host:Ki}={after:{selector:"::after"},host:{selector:()=>":host"}},to=Pt(Ze({mappings:{hostDisplay:{},hostWidth:{...Ki,property:"width"},barHeight:[{property:"height"},{...qi,property:"height"}],barBorderRadius:[{property:"border-radius"},{...qi,property:"border-radius"}],verticalPadding:[{...Ki,property:"padding-top"},{...Ki,property:"padding-bottom"}],barBackgroundColor:{property:"background-color"},barColor:{...qi,property:"background-color"},barWidth:{...qi,property:"width"},animationDuration:[{},qi],animationTimingFunction:[{},qi],animationIterationCount:[{},qi]}}),Be,Pe)(Xi);customElements.define(_i,to);const eo=qt("loader-radial");class io extends($e({componentName:eo,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes spin {\n\t\t\t\t0% { transform: rotate(0deg); }\n\t\t\t\t100% { transform: rotate(360deg); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tanimation-name: spin;\n\t\t\t}\n ",this)}}const oo=Pt(Ze({mappings:{hostDisplay:{property:"display"},spinnerSize:[{property:"width"},{property:"height"}],spinnerBorderWidth:{property:"border-width"},spinnerBorderStyle:{property:"border-style"},spinnerBorderRadius:{property:"border-radius"},spinnerQuadrant1Color:{property:"border-top-color"},spinnerQuadrant2Color:{property:"border-bottom-color"},spinnerQuadrant3Color:{property:"border-right-color"},spinnerQuadrant4Color:{property:"border-left-color"},animationDuration:{},animationTimingFunction:{},animationIterationCount:{}}}),Be,Pe)(io);customElements.define(eo,oo);const ro=qt("container");class no extends($e({componentName:ro,baseSelector:"slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host > slot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: auto;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t}\n ",this)}}const so=Pt(Ze({mappings:{hostHeight:{selector:()=>":host",property:"height"},hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},itemsGrow:{selector:()=>"::slotted(*)",property:"flex-grow",fallback:"0"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:{},flexWrap:{},backgroundColor:{},backgroundImage:{},backgroundPositionX:{},backgroundPositionY:{},backgroundSize:{},backgroundRepeat:{},color:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{}}}),Be,Pe)(no);customElements.define(ro,so);const ao=C("combo-box"),{host:lo,inputField:co,inputElement:uo,placeholder:po,toggle:ho,clearButton:go,label:Mo,requiredIndicator:mo,helperText:yo,errorMessage:bo,loader:No,overlayContent:Io}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},loader:{selector:"vaadin-combo-box-overlay::part(loader)"},overlayContent:{selector:"vaadin-combo-box-overlay::part(content)"}},xo=T(ct({mappings:{hostWidth:{...lo,property:"width"},hostDirection:{...lo,property:"direction"},fontSize:[{},lo],fontFamily:[Mo,po,co,yo,bo],labelFontSize:{...Mo,property:"font-size"},labelFontWeight:{...Mo,property:"font-weight"},inputValueFontWeight:{...co,property:"font-weight"},inputPlaceholderFontWeight:{...po,property:"font-weight"},helperTextFontWeight:{...yo,property:"font-weight"},errorMessageFontWeight:{...bo,property:"font-weight"},labelTextColor:[{...Mo,property:"color"},{...Mo,property:"-webkit-text-fill-color"},{...mo,property:"color"}],errorMessageTextColor:{...bo,property:"color"},errorMessageIcon:{...bo,property:"background-image"},errorMessageIconSize:{...bo,property:"background-size"},errorMessageIconPadding:{...bo,property:"padding-inline-start"},errorMessageIconRepeat:{...bo,property:"background-repeat"},errorMessageIconPosition:{...bo,property:"background-position"},errorMessageFontSize:{...bo,property:"font-size"},inputHeight:{...co,property:"height"},inputBackgroundColor:{...co,property:"background-color"},inputBorderColor:{...co,property:"border-color"},inputBorderWidth:{...co,property:"border-width"},inputBorderStyle:{...co,property:"border-style"},inputBorderRadius:{...co,property:"border-radius"},labelRequiredIndicator:{...mo,property:"content"},inputValueTextColor:{...co,property:"color"},inputPlaceholderTextColor:{...po,property:"color"},inputDropdownButtonCursor:[{...ho,property:"cursor"},{...go,property:"cursor"}],inputDropdownButtonColor:[{...ho,property:"color"},{...go,property:"color"}],inputDropdownButtonSize:[{...ho,property:"font-size"},{...go,property:"font-size"}],inputDropdownButtonOffset:[{...ho,property:"margin-right"},{...ho,property:"margin-left"}],inputOutlineColor:{...co,property:"outline-color"},inputOutlineWidth:{...co,property:"outline-width"},inputOutlineStyle:{...co,property:"outline-style"},inputOutlineOffset:{...co,property:"outline-offset"},inputHorizontalPadding:[{...uo,property:"padding-left"},{...uo,property:"padding-right"}],labelPosition:{...Mo,property:"position"},labelTopPosition:{...Mo,property:"top"},labelHorizontalPosition:[{...Mo,property:"left"},{...Mo,property:"right"}],inputTransformY:{...Mo,property:"transform"},inputTransition:{...Mo,property:"transition"},marginInlineStart:{...Mo,property:"margin-inline-start"},placeholderOpacity:{...po,property:"opacity"},inputVerticalAlignment:{...co,property:"align-items"},valueInputHeight:{...uo,property:"height"},valueInputMarginBottom:{...uo,property:"margin-bottom"},overlayBackground:{property:()=>xo.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>xo.cssVarList.overlay.textColor},overlayBorder:{property:()=>xo.cssVarList.overlay.border},overlayFontSize:{property:()=>xo.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>xo.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>xo.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>xo.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>xo.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>xo.cssVarList.overlay.itemPaddingInlineEnd},overlayCheckmarkDisplay:{property:()=>xo.cssVarList.overlay.checkmarkDisplay},overlaySelectedItemBackground:{property:()=>xo.cssVarList.overlay.selectedItemBackground},overlaySelectedItemHoverBackground:{property:()=>xo.cssVarList.overlay.selectedItemHoverBackground},overlaySelectedItemFocusBackground:{property:()=>xo.cssVarList.overlay.selectedItemFocusBackground},overlayItemHoverBackground:{property:()=>xo.cssVarList.overlay.itemHoverBackground},overlayItemFocusBackground:{property:()=>xo.cssVarList.overlay.itemFocusBackground}}}),ut,Et({name:"overlay",selector:"",mappings:{backgroundColor:[{selector:"vaadin-combo-box-scroller"},{selector:"vaadin-combo-box-overlay::part(overlay)"}],minHeight:{selector:"vaadin-combo-box-overlay"},margin:{selector:"vaadin-combo-box-overlay"},cursor:{selector:"vaadin-combo-box-item"},fontFamily:{selector:"vaadin-combo-box-item"},textColor:{selector:"vaadin-combo-box-item",property:"color"},fontSize:{selector:"vaadin-combo-box-item"},itemBoxShadow:{selector:"vaadin-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-combo-box-item",property:"padding-inline-end"},checkmarkDisplay:{selector:"vaadin-combo-box-item::part(checkmark)",property:"display"},selectedItemBackground:{selector:"vaadin-combo-box-item[selected]",property:"background-color"},selectedItemHoverBackground:{selector:"vaadin-combo-box-item[selected]:hover:not([disabled])",property:"background-color"},selectedItemFocusBackground:{selector:"vaadin-combo-box-item[selected][focused]:not([disabled])",property:"background-color"},itemHoverBackground:{selector:"vaadin-combo-box-item:hover:not([selected]):not([disabled])",property:"background-color"},itemFocusBackground:{selector:"vaadin-combo-box-item[focused]:not([selected]):not([disabled])",property:"background-color"},loaderTop:{...No,property:"top"},loaderLeft:{...No,property:"left"},loaderRight:{...No,property:"right"},loaderMargin:{...No,property:"margin"},loaderWidth:{...No,property:"width"},loaderHeight:{...No,property:"height"},loaderBorder:{...No,property:"border"},loaderBorderColor:{...No,property:"border-color"},loaderBorderRadius:{...No,property:"border-radius"},contentHeight:{...Io,property:"height"},contentOpacity:{...Io,property:"opacity"},scrollerMinHeight:{selector:"vaadin-combo-box-scroller",property:"min-height"}},forward:{include:!1,attributes:["size"]}}),wt({proxyProps:["selectionStart"],inputEvent:"value-changed"}),t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},pt,t=>class extends t{static get observedAttributes(){return["label-type","require-match"]}#tt=({displayName:t,value:e,label:i})=>`<span data-name="${i}" data-id="${e}">${t||i}</span>`;#W;get defaultValue(){return this.getAttribute("default-value")}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}set renderer(t){this.baseElement.renderer=t}get loading(){return"true"===this.getAttribute("loading")}set loading(t){t?this.setAttribute("loading","true"):this.removeAttribute("loading")}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}get requireMatch(){return"true"===this.getAttribute("require-match")&&!this.allowCustomValue}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){if(this.#W||this.getAttribute("data")){const t=this.getItemsTemplate();this.innerHTML=t}}get hasDynamicData(){return"true"===this.getAttribute("has-dynamic-data")}get shouldSelectItemOnItemsChange(){return!this.hasDynamicData||this.allowCustomValue}handleSelectedItem(){const{selectedItem:t}=this.baseElement,e=t?.["data-id"];t&&Array.from(this.children).includes(t)||(e&&this.shouldSelectItemOnItemsChange&&(this.value=e),this.value||this.setDefaultValue())}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){if(!e.baseElement.items?.length&&!e.allowCustomValue)return;const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#et(){const t=Array.from(this.children);t.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=t,setTimeout(()=>{this.handleSelectedItem()},0)}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#ot(){this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#rt(){this.hasDynamicData&&(this.baseElement._dataProviderFilterChanged=()=>{})}isValueMatch(){const t=this.baseElement.querySelector("input").value;return!t||this.baseElement.items.some(e=>e.dataset.name===t||e.dataset.id===t)}init(){super.init?.(),this.getValidity=function(){return this.requireMatch&&!this.isValueMatch()?{patternMismatch:!0}:!this.value&&this.isRequired?{valueMissing:!0}:{}},this.#ot(),this.#rt(),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),D(this,this.renderItems.bind(this),{includeAttrs:["data"]}),S(this,this.#et.bind(this)),this.setDefaultValue(),this.baseElement.addEventListener("value-changed",()=>{this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),this.baseElement.addEventListener("filter-changed",t=>{this.dispatchEvent(new CustomEvent("filter-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}onLabelClick(){this.isReadOnly||this.isDisabled||(this.focus(),this.autoOpenDisabled||this.setAttribute("opened","true"))}handleRequireMatchChange(t){this.baseElement.allowCustomValue=t||this.allowCustomValue}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"require-match"===t&&this.handleRequireMatchChange("true"===i))}setDefaultValue(){this.defaultValue&&(this.value=this.defaultValue)}#nt(t){return this.baseElement.items?.find(e=>e["data-id"]===t)}#st(t,e){t===this.value&&e!==this.baseElement.selectedItem&&this.baseElement.addEventListener("selected-item-changed",t=>{t.stopImmediatePropagation()},{once:!0,capture:!0})}set value(t){const e=this.#nt(t);this.#st(t,e),t&&e?this.baseElement.selectedItem=e:!e&&this.allowCustomValue?this.baseElement.value=t:this.baseElement.selectedItem=void 0}get value(){return(this.baseElement.selectedItem?.["data-id"]||this.allowCustomValue)&&this.baseElement.__data.value||""}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get autoOpenDisabled(){return"true"===this.getAttribute("auto-open-disabled")}})(vt({slots:["","prefix"],wrappedEleName:"vaadin-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${H(xo.cssVarList)}\n\t\t${_("vaadin-combo-box")}\n\t\t${$("vaadin-combo-box")}\n\t\t${J("vaadin-combo-box")}\n\n\t\tvaadin-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\tvaadin-combo-box::part(input-field) {\n\t\t\tpadding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n\n vaadin-combo-box::part(toggle-button),\n vaadin-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-combo-box[hide-toggle-button="true"]::part(toggle-button) {\n display: none;\n }\n\n vaadin-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n ${X("vaadin-combo-box")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","size","data","loading","style"],componentName:ao,includeForwardProps:["items","renderer","selectedItem"]}));customElements.define(ao,xo);const jo=t=>{const e=c.A.sanitize(t,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["image"],FORBID_TAGS:["defs"]});return(new DOMParser).parseFromString(e,"image/svg+xml").querySelector("svg")},To=C("image"),zo=["src","src-dark"];class Do extends(yt({componentName:To,baseSelector:"slot"})){static get observedAttributes(){return zo}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n :host > slot {\n width: 100%;\n height: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\n ::slotted(*) {\n width: 100%;\n\t\t\t}\n\n .hidden {\n display: none;\n }\n ",this)}init(){super.init?.(),this.toggleVisibility(this.getSrc)}onThemeChange(){this.renderImage()}toggleVisibility(t){t?this.classList.remove("hidden"):this.classList.add("hidden")}get altText(){return this.getAttribute("alt")||""}get legacySrc(){return this.getAttribute("src")}get themeSrc(){return this.getAttribute(`src-${this.currentThemeName}`)}get getSrc(){return this.themeSrc||this.legacySrc}updateFillColor(t){[t,...t.querySelectorAll("*[fill]")].forEach(t=>{t.setAttribute("fill",`var(${So.cssVarList.fill}, ${t.getAttribute("fill")||"''"})`)})}renderImage(){this.toggleVisibility(this.getSrc),(async(t,e)=>{try{let i;if((t=>t.startsWith("data:image/svg+xml;base64,"))(t)){const e=atob(t.slice(26));i=jo(e)}else if("svg"===(t=>{const e=t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);return e?e[1]:null})(t)){const e=await fetch(t),o=await e.text();i=jo(o)}else i=((t,e)=>{const i=document.createElement("img");return i.setAttribute("src",t),i.setAttribute("alt",e),i})(t,e);return i.style.setProperty("max-width","100%"),i.style.setProperty("max-height","100%"),i}catch{return null}})(this.getSrc,this.altText).then(t=>{this.innerHTML="",t&&(this.updateFillColor(t),this.appendChild(t))})}shouldRender(t){const e=this.getAttribute(t);return this.getSrc===e}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.shouldRender(t)&&this.renderImage()}}const So=T(ct({mappings:{fill:{},height:{selector:()=>":host"},width:{selector:()=>":host"}}}),ut,pt)(Do),vo=C("icon"),Lo=T(ct({mappings:{fill:[{},{property:So.cssVarList.fill}]}}),ut,pt)(vt({slots:[],wrappedEleName:"descope-image",style:()=>"\n :host {\n display: inline-flex;\n max-height: 100%;\n }\n ",excludeAttrsSync:["tabindex","class","style"],componentName:vo})),Co=C("button"),{host:Ao,label:wo,slottedIcon:fo}={host:{selector:()=>":host"},label:{selector:"::part(label)"},slottedIcon:{selector:()=>"::slotted(descope-icon)"}};let Eo;const ko=T(Wt({triggers:[{attr:"full-width",value:"true"}]}),ct({mappings:{hostWidth:{property:"width"},hostHeight:{property:"height"},hostDirection:{...Ao,property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},cursor:{},backgroundColor:{},outlineOffset:{},outlineColor:{},outlineStyle:{},outlineWidth:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-right",fallback:"0.875em"},{property:"padding-left",fallback:"0.875em"}],labelTextColor:{property:"color"},iconColor:{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill},labelTextDecoration:{...wo,property:"text-decoration"},labelSpacing:{...wo,property:"gap"},textAlign:{...wo,property:"justify-content",fallback:"center"},iconSize:[{...fo,property:"width"},{...fo,property:"height"}]}}),t=>class extends t{get isLoading(){return"true"===this.getAttribute("loading")}click(){this.isLoading||super.click()}},ut,pt)(vt({slots:["","prefix","label","suffix"],wrappedEleName:"vaadin-button",style:()=>`\n\t\t\t\n\t:host {\n\t\tdisplay: inline-block;\n\t\tbox-sizing: border-box;\n\t}\n\tvaadin-button::before,\n\tvaadin-button::after {\n\t\topacity: 0;\n\t}\n\tvaadin-button {\n\t\tmargin: 0;\n\t\tmin-width: 0;\n\t\twidth: 100%;\n\t\theight: auto;\n\t\tbox-shadow: none;\n\t}\n\tvaadin-button::part(label) {\n\t\tpadding: 0;\n width: 100%;\n\t}\n\tvaadin-button::part(prefix) {\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n\n\t\t\t\n\tvaadin-button::part(prefix),\n\tvaadin-button::part(label) {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t\t\t${Eo}\n\t\t\tvaadin-button::part(label) { pointer-events: none; }\n\t\t\t:host {\n\t\t\t\tpadding: calc(var(${ko.cssVarList.outlineWidth}) + var(${ko.cssVarList.outlineOffset}));\n\t\t\t}\n :host([full-width="true"]) {\n width: var(${ko.cssVarList.hostWidth});\n }\n\t\t\tvaadin-button {\n\t\t\t\theight: calc(var(${ko.cssVarList.hostHeight}) - var(${ko.cssVarList.outlineWidth}) - var(${ko.cssVarList.outlineOffset}));\n\t\t\t}\n\t\t\t[square="true"]:not([full-width="true"]) {\n\t\t\t\twidth: calc(var(${ko.cssVarList.hostWidth}) - var(${ko.cssVarList.outlineWidth}) - var(${ko.cssVarList.outlineOffset}));\n padding: 0;\n\t\t\t}\n\t\t`,excludeAttrsSync:["tabindex","class","style"],componentName:Co})),{color:Oo,fontSize:Vo}=ko.cssVarList;Eo=`\n\t@keyframes spin {\n\t\t0% { -webkit-transform: rotate(0deg); }\n\t\t100% { -webkit-transform: rotate(360deg); }\n\t}\n\t:host([loading="true"]) ::before {\n\t\tanimation: spin 2s linear infinite;\n\t\tposition: absolute;\n\t\tcontent: '';\n\t\tz-index: 1;\n\t\tbox-sizing: border-box;\n\t\tborder-radius: 50%;\n\t\tborder-bottom-color: transparent;\n\t\tborder-left-color: transparent;\n\t\tborder-style: solid;\n\t\tcolor: var(${Oo});\n\t\ttop: calc(50% - (var(${Vo}) / 2));\n\t\tleft: calc(50% - (var(${Vo}) / 2));\n\t\tborder-width: calc(var(${Vo}) / 10);\n\t\twidth: var(${Vo});\n\t\theight: var(${Vo});\n\t}\n\t:host([disabled="true"]),\n\t:host([loading="true"]) {\n\t\tpointer-events: none;\n\t}\n\t:host([loading="true"]) ::part(prefix),\n\t:host([loading="true"]) ::part(label) {\n\t\tvisibility: hidden;\n\t}\n`,customElements.define(Co,ko);const Wo=["MM/DD/YYYY","DD/MM/YYYY","YYYY/MM/DD"],Yo=Wo[0],Uo="YYYY-MM-DD",Ro="/",Qo=["January","February","March","April","May","June","July","August","September","October","November","December"],Zo=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Bo={id:"month",min:1,max:12,placeholder:"MM"},Po={id:"day",min:1,max:31,placeholder:"DD"},Fo={id:"year",min:0,max:9999,placeholder:"YYYY"},Go=1900,Ho=2099,Jo=(t,e)=>{if("number"==typeof t)return new Date(t);if("string"==typeof t){const e=new Date(t.replace(/-/g,"/"));return new Date(e)}return new Date},$o={MM:"(0?[1-9]|1[0-2])",DD:"(0?[1-9]|[12][0-9]|3[01])",YYYY:"([0-9]{4})"},_o=t=>{const e=(t=>`^${t.split(Ro).map(t=>$o[t]).join("\\D")}$`)(t),i=(t=>{const e=t.split(Ro);return t=>{const i={};return e.forEach((e,o)=>{i[e]=t[o+1]}),[i.YYYY,i.MM,i.DD]}})(t),o=new RegExp(e);return{pattern:e,validate:t=>o.test(t),getDate:t=>((t,e,i)=>{const o=e.exec(t);if(!o)return null;const[r,n,s]=i(o);return Jo([r,n,s].join(Ro))})(t,o,i)}},Xo=Object.fromEntries(Wo.map(t=>[t,_o(t)])),qo=t=>!Number.isNaN(Number(t)),Ko=t=>{const e=Jo(t);return[e.getFullYear(),e.getMonth()+1,e.getDate()]},tr=(t,e)=>{const[i,o,r]=Ko(t),n={DD:String(r).padStart(2,"0"),MM:String(o).padStart(2,"0"),YYYY:String(i)};return e.replace(/DD|MM|YYYY/g,t=>n[t])},er=()=>Jo().getTime(),ir=t=>Jo(t).getFullYear().toString(),or=t=>(Jo(t).getMonth()+1).toString(),rr=(t,e)=>"number"==typeof t?t:e?Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()):t.getTime(),nr=(t,e)=>Array.isArray(t)&&t.length===e&&t.filter(Boolean).length===e,sr=({label:t,dataId:e,dataName:i})=>`\n\t<div class="combo-box-item"\n\t\tdata-id="${e}"\n\t\tdata-name="${i}"\n\t>\n\t\t\t${t}\n\t</div>\n`,ar=(t=Qo)=>t.map((t,e)=>sr({label:t,dataId:e+1,dataName:t})).join(""),lr=(t,e)=>{const[i,o]=Ko(e),[r,n]=Ko(t);return r===i&&n===o},dr=(t,e,i)=>(t.addEventListener("input",e),t.addEventListener("focusout",i),t),cr=qt("calendar"),ur=["initial-value","initial-year","initial-month","years-range","calendar-months","calendar-weekdays","calendar-label-today","st-host-direction","disabled","full-width"],pr=["calendar-label-submit","calendar-label-cancel"],hr=ci({componentName:cr,baseSelector:"div"}),{calendar:gr,day:Mr,dayEntry:mr,currentDay:yr,selectedDay:br,disabledDay:Nr,weekday:Ir,topNav:xr,topNavSelectors:jr,bottomNav:Tr,navPrev:zr,navNext:Dr,navPrevRTL:Sr,navNextRTL:vr,yearInput:Lr,monthInput:Cr}={calendar:{selector:()=>".calendar"},topNav:{selector:()=>".nav.top-nav"},topNavSelectors:{selector:()=>".nav.top-nav .selectors > span"},bottomNav:{selector:()=>".nav.bottom-nav"},day:{selector:()=>".day"},dayEntry:{selector:()=>".day-entry"},currentDay:{selector:()=>".day-entry[data-current-day] .day"},selectedDay:{selector:()=>".day-entry[data-selected] .day"},disabledDay:{selector:()=>'.day-entry[data-disabled="true"] .day'},weekday:{selector:()=>".weekday"},navPrev:{selector:()=>".nav-prev"},navNext:{selector:()=>".nav-next"},navPrevRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-prev'},navNextRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-next'},yearInput:{selector:()=>".year-input"},monthInput:{selector:()=>".month-input"}},Ar=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{fontSize:{},fontFamily:{},hostWidth:[{selector:()=>":host",property:"width"},{selector:"table",property:"width"}],hostDirection:{property:"direction"},topNavVerticalPadding:[{...xr,property:"padding-top"},{...xr,property:"padding-bottom"}],topNavHorizointalPadding:[{...xr,property:"padding-right"},{...xr,property:"padding-left"}],topNavAlignment:{...xr,property:"justify-content"},topNavGap:{...xr,property:"gap"},topNavSelectorsGap:{...jr,property:"gap"},bottomNavVerticalPadding:[{...Tr,property:"padding-top"},{...Tr,property:"padding-bottom"}],bottomNavHorizontalPadding:[{...Tr,property:"padding-right"},{...Tr,property:"padding-left"}],bottomNavAlignment:{...Tr,property:"justify-content"},bottomNavGap:{...Tr,property:"gap"},navMarginBottom:{...xr,property:"margin-bottom"},calendarPadding:[{...gr,property:"padding-bottom"},{...gr,property:"padding-right"},{...gr,property:"padding-left"}],navBorderBottomWidth:{...xr,property:"border-bottom-width"},navBorderBottomColor:{...xr,property:"border-bottom-color"},navBorderBottomStyle:{...xr,property:"border-bottom-style"},weekdayFontSize:{...Ir,property:"font-size"},weekdayFontWeight:{...Ir,property:"font-weight"},currentDayBorderColor:{...yr,property:"border-color"},currentDayBorderWidth:{...yr,property:"border-width"},currentDayBorderStyle:{...yr,property:"border-style"},dayHeight:{...mr,property:"height"},daySize:[{...Mr,property:"height"},{...Mr,property:"width"}],dayPadding:{...Mr,property:"padding"},dayRadius:{...Mr,property:"border-radius"},dayTextAlign:{...Mr,property:"text-align"},dayBlockAlign:{...Mr,property:"margin"},dayTextColor:{...Mr,property:"color"},dayFontWeight:{...Mr,property:"font-weight"},dayBackgroundColor:{...Mr,property:"background-color"},dayCursor:{...Mr,property:"cursor"},dayFontSize:{...Mr,property:"font-size"},dayBackgroundColorHover:{selector:()=>".day:hover",property:"background-color"},daySelectedTextdColor:{...br,property:"color"},daySelectedBackgroundColor:{...br,property:"background-color"},dayDisabledTextdColor:{...Nr,property:"color"},yearInputWidth:{...Lr,property:"width"},monthInputWidth:{...Cr,property:"width"},navButtonSize:[{...zr,property:"width"},{...zr,property:"height"},{...Dr,property:"width"},{...Dr,property:"height"}],navButtonCursor:[{...zr,property:"cursor"},{...Dr,property:"cursor"}],navButtonRotation:[{...Sr,property:"transform"},{...vr,property:"transform"}],navButtonOpacity:[{...zr,property:"opacity"},{...Dr,property:"opacity"}]}}),Be,Pe)(class extends hr{static get observedAttributes(){return[].concat(hr.observedAttributes||[],ur,pr)}preview;epoch;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <nav class="nav top-nav">\n <div class="nav-prev">\n </div>\n <div class="selectors"></div>\n <div class="nav-next">\n </div>\n </nav>\n <div class="calendar"></div>\n <nav class="nav bottom-nav">\n <descope-button class="cancel-button" variant="link" mode="primary">Cancel</descope-button>\n <descope-button class="submit-button" variant="link" mode="primary" disabled="true">Done</descope-button>\n </nav>\n </div>\n ',f(`\n :host {\n display: inline-block;\n box-sizing: border-box;\n max-width: 100%;\n user-select: none;\n -webkit-user-select: none;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n [data-toggle-calendar] {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n }\n\n [data-disabled="true"] {\n pointer-events: none;\n }\n\n .calendar .day {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .nav {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n\n .selectors,\n .selectors span {\n display: flex;\n justify-content: center;\n }\n\n descope-button {\n padding: 0;\n ${ko.cssVarList.horizontalPadding}: 0;\n ${ko.cssVarList.verticalPadding}: 0;\n ${ko.cssVarList.outlineWidth}: 0;\n }\n\n .combo-box-item {\n display:flex;\n flex-direction: column;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n `,this)}set value(t){if(!t)return;const e=Jo(t).getTime();qo(e)&&e!==this.epoch&&(this.epoch=e,this.renderCalendar())}get value(){return this.epoch?tr(this.epoch,Uo):""}get isSelectedView(){return lr(this.preview,this.epoch)}get isTodayView(){return lr(er(),this.preview)}get monthNames(){return(t=>{const e=t?.split(",");return nr(e,12)?e:Qo})(this.getAttribute("calendar-months"))}get weekdayNames(){return(t=>{const e=t?.split?.(",");return nr(e,7)?e:Zo})(this.getAttribute("calendar-weekdays"))}get hasYearValue(){return!!this.yearInput.value}get hasMonthValue(){return!!this.monthInput.value}get yearsRange(){const t=this.getAttribute("years-range")?.split("-");if(2===t?.length){const[e,i]=t.map(Number);if(e<=i)return[e,i]}const e=Jo().getFullYear();return[e,e+100]}init(){super.init?.(),this.initCalendar(),this.renderCalendar()}initCalendar(){this.calendar=this.shadowRoot.querySelector(".calendar"),this.navPrevEle=this.shadowRoot.querySelector(".nav-prev"),this.navNextEle=this.shadowRoot.querySelector(".nav-next"),this.submitButton=this.shadowRoot.querySelector(".submit-button"),this.cancelButton=this.shadowRoot.querySelector(".cancel-button"),this.initInputs(),this.initNav(),this.addEventListener("day-changed",()=>this.submitButton.removeAttribute("disabled")),this.submitButton.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}initInputs(){const t=(()=>{const t=document.createElement("span");return t.innerHTML=`\n <descope-combo-box\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="month-input"\n >\n ${ar()}\n </descope-combo-box>\n <descope-combo-box\n allow-custom-value="true"\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="year-input"\n no-empty-value="true"\n >\n </descope-combo-box>\n `,t})(this.monthNames,this.yearsRange);this.shadowRoot.querySelector(".selectors").appendChild(t),this.monthInput=dr(this.shadowRoot.querySelector(".month-input"),this.onMonthChange.bind(this),this.onMonthInputBlur.bind(this)),this.yearInput=dr(this.shadowRoot.querySelector(".year-input"),this.onYearChange.bind(this),this.onYearInputBlur.bind(this)),[this.monthInput,this.yearInput].forEach(t=>te(this,t,{includeAttrs:["disabled","size","st-host-direction"]}))}initNav(){this.navPrevEle.addEventListener("click",this.navPrevMonth.bind(this)),this.navNextEle.addEventListener("click",this.navNextMonth.bind(this)),this.cancelButton.addEventListener("click",this.onCancel.bind(this)),this.submitButton.addEventListener("click",this.onSubmit.bind(this)),[this.navPrevEle,this.navNextEle].forEach(t=>te(this,t,{includeAttrs:["size"]})),this.shadowRoot.querySelector(".nav-next").innerHTML='\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.27283 6.78069C8.87912 6.34164 8.91587 5.66655 9.35492 5.27283C9.79397 4.87912 10.4691 4.91587 10.8628 5.35492C10.8628 5.35492 16.0022 10.9543 16.366 11.36C16.7298 11.7657 16.7298 12.2392 16.366 12.6448L10.8628 18.6451C10.4691 19.0841 9.79397 19.1209 9.35492 18.7272C8.91587 18.3334 8.87912 17.6584 9.27283 17.2193L14.1368 12L9.27283 6.78069Z" fill="#808080"/>\n</svg>',this.shadowRoot.querySelector(".nav-prev").innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.7272 17.2193C15.1209 17.6584 15.0841 18.3334 14.6451 18.7272C14.206 19.1209 13.5309 19.0841 13.1372 18.6451C13.1372 18.6451 7.99776 13.0457 7.63399 12.64C7.27023 12.2343 7.27023 11.7608 7.63399 11.3552L13.1372 5.35492C13.5309 4.91587 14.206 4.87912 14.6451 5.27283C15.0841 5.66655 15.1209 6.34164 14.7272 6.78069L9.86322 12L14.7272 17.2193Z" fill="#808080"/>\n</svg>'}onSubmit(){this.isDisabled||this.value&&this.dispatchEvent(new CustomEvent("date-submit",{detail:Jo(this.preview)}))}onCancel(){this.isDisabled||(this.dispatchEvent(new CustomEvent("cancel")),this.dispatchEvent(new CustomEvent("date-cancel")),this.clearSelectedDay())}clearSelectedDay(){this.getSelectedDayEle()?.removeAttribute("data-selected"),this.submitButton.setAttribute("disabled","true"),this.epoch=""}updateInputs(){if(this.yearInput&&this.monthInput){const t=this.preview||er(),e=ir(t),i=or(t);this.monthInput.value=i,setTimeout(()=>{this.yearInput.baseElement.value=e})}}renderCalendar(){const t=Jo(this.preview||er()).getTime(),[e,i]=Ko(t);this.calendar&&(this.calendar.innerHTML=((t,e,i)=>{const o=((t,e)=>new Date(t,e,0).getDate())(t,e),r=new Date(t,e-1,1).getDay();let n="<table>";n+=`<thead><tr>${i.reduce((t,e)=>`${t}<th><span class="weekday">${e}</span></th>`,"")}</tr></thead>`,n+="<tbody>",n+="<tr>";for(let t=0;t<r;t++)n+="<td></td>";let s=r;for(let t=1;t<=o;t++)7===s&&(s=0,n+="</tr><tr>"),n+=`\n <td\n data-date-day="${t}"\n class="day-entry">\n <span class="day" data-date-day=${t}>\n ${t}\n </span>\n </td>\n `,s++;for(;s<7;)n+="<td></td>",s++;return n+="</tr></tbody></table>",n})(e,i,this.weekdayNames.map(t=>t.substring(0,3)))),Array.from(this.calendar?.querySelectorAll(".day-entry .day")||[]).forEach(t=>t.addEventListener("click",this.onDayChange.bind(this))),this.updateInputs(),this.setSelectedDay(),this.setCurrentDay()}onDayChange(t){if(this.isDisabled)return;const e=Jo(this.preview);e.setDate(Number(t.target.getAttribute("data-date-day"))),this.value=tr(e.getTime(),Uo),this.dispatchEvent(new CustomEvent("day-changed",{detail:e}))}onYearChange(t){if(!t.target.value)return;const e=Jo(this.preview);e.setFullYear(Number(t.target.value.trim())),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("year-changed",{detail:e}))}onMonthChange(t){if(!t.target.value)return;const e=Jo(this.preview);e.setMonth(Number(t.target.value)-1),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("month-changed",{detail:e}))}onYearInputBlur(t){this.yearInput.baseElement.value=t.target.value||ir(this.preview)}onMonthInputBlur(t){this.monthInput.baseElement.value=t.target.value||or(this.preview)}getSelectedDayEle(){const t=Jo(this.epoch).getDate();return this.calendar?.querySelector(`[data-date-day="${t}"]`)}getCurrentDayEle(){return this.calendar?.querySelector(`[data-date-day="${Jo().getDate()}"]`)}clearSelectedDays(){const t=this.calendar?.querySelectorAll("[data-selected]");t&&t.forEach(t=>t.removeAttribute("data-selected"))}setSelectedDay(){this.clearSelectedDays(),this.value&&this.isSelectedView&&this.getSelectedDayEle().setAttribute("data-selected","true")}setCurrentDay(){if(this.isTodayView){const t=this.getCurrentDayEle(),e=this.getAttribute("calendar-label-today")||"Today";t?.setAttribute("data-current-day","true"),t?.setAttribute("title",e)}}navPrevMonth(){if(this.isDisabled)return;const t=(t=>{const e=Jo(t),i=e.getMonth();if(0===i){const t=e.getFullYear();e.setFullYear(t-1),e.setMonth(11)}else e.setMonth(i-1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}navNextMonth(){if(this.isDisabled)return;const t=(t=>{const e=Jo(t),i=e.getMonth();if(11===i){const t=e.getFullYear();e.setFullYear(t+1),e.setMonth(0)}else e.setMonth(i+1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}clearValue(){this.epoch="",this.value="",this.removeAttribute("preview"),this.submitButton.setAttribute("disabled","true")}onInitialValueChange(t){if(this.value)return;const e=Jo(t).getTime();qo(e)?(this.epoch=e,this.preview=e):this.clearValue()}onYearsRangeChange(){setTimeout(()=>{this.yearInput&&(this.yearInput.innerHTML=(t=>{const[e,i]=t,o=[];for(let t=e;t<=i;t++)o.push(t);return o})(this.yearsRange).map(t=>sr({label:t,dataId:t,dataName:t})).join(""))})}onMonthNamesChange(){setTimeout(()=>{this.monthInput&&(this.monthInput.innerHTML=ar(this.monthNames))})}onSubmitLabelChange(t){this.submitButton&&(this.submitButton.textContent=t||"Done")}onCancelLabelChange(t){this.cancelButton&&(this.cancelButton.textContent=t||"Cancel")}onInitialMonthChange(t){const e=ir(this.preview);this.preview=Jo(`${e}/${t}/1`).getTime()}onInitialYearChange(t){const e=or(this.preview);this.preview=Jo(`${t}/${e}/1`).getTime()}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),e!==i&&(pr.includes(t)?("calendar-label-submit"===t&&this.onSubmitLabelChange(i),"calendar-label-cancel"===t&&this.onCancelLabelChange(i)):(i&&"initial-value"===t&&this.onInitialValueChange(i),i&&"initial-month"===t&&this.onInitialMonthChange(i),i&&"initial-year"===t&&this.onInitialYearChange(i),"years-range"===t&&this.onYearsRangeChange(Number(i)),"calendar-months"===t&&this.onMonthNamesChange(),"calendar-label-today"===t&&this.setCurrentDay(i),"disabled"===t&&setTimeout(()=>{this.cancelButton?.setAttribute("disabled","true"===i)}),this.renderCalendar()))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}});customElements.define(cr,Ar);const{host:wr,label:fr,placeholder:Er,requiredIndicator:kr,inputField:Or,input:Vr,inputMask:Wr,helperText:Yr,errorMessage:Ur,disabledPlaceholder:Rr,inputDisabled:Qr,inputIcon:Zr,externalInput:Br,externalInputDisabled:Pr,externalPlaceholder:Fr,externalDisabledPlaceholder:Gr}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},placeholder:[{selector:"> input:placeholder-shown"},{selector:()=>":host::slotted(input:placeholder-shown)"}],disabledPlaceholder:{selector:"> input:disabled::placeholder"},inputField:{selector:"::part(input-field)"},input:{selector:"input"},inputMask:{selector:"::part(input-field)::before"},inputDisabled:{selector:"input:disabled"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},inputIcon:{selector:"vaadin-icon"},externalInput:{selector:()=>"::slotted(input)"},externalInputDisabled:{selector:()=>"::slotted(input:disabled)"},externalPlaceholder:{selector:()=>"::slotted(input:placeholder-shown)"},externalDisabledPlaceholder:{selector:()=>"::slotted(input:disabled::placeholder)"}};var Hr={fontSize:[{},wr],fontFamily:[fr,Or,Yr,Ur],labelFontSize:{...fr,property:"font-size"},labelFontWeight:{...fr,property:"font-weight"},inputValueFontWeight:[{...Vr,property:"font-weight"},{...Br,property:"font-weight"}],inputPlaceholderFontWeight:[{selector:()=>":host input:placeholder-shown",property:"font-weight"},{...Fr,property:"font-weight"}],helperTextFontWeight:{...Yr,property:"font-weight"},errorMessageFontWeight:{...Ur,property:"font-weight"},labelTextColor:[{...fr,property:"color"},{...kr,property:"color"},{...fr,property:"-webkit-text-fill-color"},{...kr,property:"-webkit-text-fill-color"}],hostWidth:{...wr,property:"width"},hostMinWidth:{...wr,property:"min-width"},hostDirection:{...wr,property:"direction"},inputDirection:{...Vr,property:"direction"},inputBackgroundColor:[{...Or,property:"background-color"},{...Wr,property:"background-color"}],errorMessageTextColor:{...Ur,property:"color"},errorMessageIcon:{...Ur,property:"background-image"},errorMessageIconSize:{...Ur,property:"background-size"},errorMessageIconPadding:{...Ur,property:"padding-inline-start"},errorMessageIconRepeat:{...Ur,property:"background-repeat"},errorMessageIconPosition:{...Ur,property:"background-position"},errorMessageFontSize:{...Ur,property:"font-size"},helperTextColor:{...Yr,property:"-webkit-text-fill-color"},inputValueTextColor:[{...Or,property:"color"},{...Qr,property:"-webkit-text-fill-color"},{...Pr,property:"-webkit-text-fill-color"}],inputCaretTextColor:[{...Vr,property:"caret-color"},{...Br,property:"caret-color"}],labelRequiredIndicator:{...kr,property:"content"},inputBorderColor:{...Or,property:"border-color"},inputBorderWidth:{...Or,property:"border-width"},inputBorderStyle:{...Or,property:"border-style"},inputBorderRadius:{...Or,property:"border-radius"},inputHeight:{...Or,property:"height"},inputHorizontalPadding:[{...Vr,property:"padding-left"},{...Vr,property:"padding-right"},{...Br,property:"padding-left"},{...Br,property:"padding-right"}],inputOutlineColor:{...Or,property:"outline-color"},inputOutlineStyle:{...Or,property:"outline-style"},inputOutlineWidth:{...Or,property:"outline-width"},inputOutlineOffset:{...Or,property:"outline-offset"},textAlign:{},inputTextAlign:[{...Vr,property:"text-align"},{...Br,property:"text-align"}],inputPlaceholderColor:[{selector:()=>":host input:placeholder-shown",property:"color"},{...Fr,property:"color"},{...Er,property:"color"},{...Rr,property:"-webkit-text-fill-color"},{...Gr,property:"-webkit-text-fill-color"}],labelPosition:{...fr,property:"position"},labelTopPosition:{...fr,property:"top"},labelHorizontalPosition:[{...fr,property:"left"},{...fr,property:"right"}],inputTransformY:{...fr,property:"transform"},inputTransition:{...fr,property:"transition"},marginInlineStart:{...fr,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...Fr,property:"opacity"}],inputVerticalAlignment:[{...Or,property:"align-items"},{...Br,property:"align-items"}],valueInputHeight:[{...Vr,property:"height"},{...Br,property:"height"}],valueInputMarginBottom:[{...Vr,property:"margin-bottom"},{...Br,property:"margin-bottom"}],inputIconOffset:[{...Zr,property:"margin-right"},{...Zr,property:"margin-left"}],inputIconSize:{...Zr,property:"font-size"},inputIconColor:{...Zr,property:"color"},inputTextSecurity:[{...Vr,property:"-webkit-text-security"},{...Vr,property:"text-security"},{...Br,property:"-webkit-text-security"},{...Br,property:"text-security"}]};const Jr=qt("text-field"),$r=["type","label-type","copy-to-clipboard"],_r=Pt(Ze({mappings:Hr}),Be,ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Pe,t=>class extends t{static get observedAttributes(){return $r.concat(t.observedAttributes||[])}icon;init(){super.init?.()}renderCopyToClipboard(t){if(!t)return void this.icon?.remove();const e={icon:"vaadin:copy-o",title:"Copy",style:"cursor: pointer"},i={icon:"vaadin:check-circle-o",title:"Copied",style:"cursor: initial"};this.icon=Object.assign(document.createElement("vaadin-icon"),{slot:"suffix",...e}),this.baseElement.appendChild(this.icon),this.icon.addEventListener("click",()=>{navigator.clipboard.writeText(this.value),Object.assign(this.icon,i),setTimeout(()=>{Object.assign(this.icon,e)},5e3)})}onLabelClick(){this.focus()}attributeChangedCallback(t,e,i){super.attributeChangeCallback?.(t,e,i),"type"===t&&this.baseElement._setType(i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"copy-to-clipboard"===t&&this.renderCopyToClipboard("true"===i))}})(Xe({slots:["prefix","suffix"],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${_r.cssVarList.inputOutlineWidth}) + var(${_r.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n :host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {\n opacity: 1;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n ${xe("vaadin-text-field")}\n\t\t\t${ge(_r.cssVarList)}\n\t\t\t${Ie("vaadin-text-field",_r.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-text-field vaadin-icon {\n align-self: center;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Jr}));customElements.define(Jr,_r);class Xr{#W=Object.freeze([]);constructor({id:t,min:e,max:i,placeholder:o},r){this.id=t,this.min=e,this.max=i,this.placeholder=o,this.onChange=r}get data(){return this.#W}set data(t){this.#W=Object.freeze(t),this.onChange?.()}get#at(){return this.data.length?this.numberValue:0}get numberValue(){return Number(this.stringValue)}get stringValue(){return(this.data.join("")||this.placeholder).padStart(this.length,"0")}get isFull(){return 10*this.numberValue>this.max||this.data.length===this.length}get isEmpty(){return this.stringValue===this.placeholder}get length(){return this.max.toString().length}set(t){this.data=t.toString().split("")}add(t){let{data:e}=this;return e=[...e,t],Number(e.join(""))>this.max?e=[t]:this.length<e.length&&(e=e.slice(1,e.length)),this.data=e,t}del(){this.data.filter(t=>"0"!==t).filter(Boolean).length?this.data=this.data.slice(0,this.data.length-1):this.data=[]}clear(){this.data=[]}inc(t){this.replaceValue(this.#at<this.max?Math.max(this.#at+(t||1),this.min):this.min)}dec(t){this.replaceValue(this.#at>this.min?Math.min(this.#at-(t||1),this.max):this.max)}isInRange(t){return t>=this.min&&t<=this.max}replaceValue(t){this.isInRange(t)&&(this.data=t.toString().padStart(this.length,0).split(""))}setMin(t){this.min=Number(t)}setMax(t){this.max=Number(t)}}const qr=qt("date-field"),Kr=ci({componentName:qr,baseSelector:"vaadin-popover"}),tn=["format","opened","initial-value","readonly","disable-calendar","utc-time"],en=["years-range","calendar-months","calendar-weekdays"],on=[...tn,...en],rn=_r.cssVarList,{host:nn,input:sn,inputEleRTL:an,toggleButton:ln,overlay:dn,backdrop:cn}={host:{selector:()=>":host"},input:{selector:()=>"descope-text-field"},inputEleRTL:{selector:()=>':host([st-host-direction="rtl"]) descope-text-field'},toggleButton:{selector:()=>".toggle-calendar"},overlay:{selector:"vaadin-popover-overlay::part(overlay)"},backdrop:{selector:"vaadin-popover-overlay::part(backdrop)"}},un=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{iconMargin:{...ln,property:"margin-inline-end"},hostWidth:{...nn,property:"width"},hostDirection:{...nn,property:"direction"},textAlign:{...sn,property:"text-align"},rtlInputDirection:{...an,property:rn.inputDirection},rtlInputAlignment:{...an,property:rn.inputTextAlign},overlayGap:{property:()=>un.cssVarList.overlayGap},overlayBackgroundColor:{property:()=>un.cssVarList.overlayBackgroundColor},overlayPadding:{property:()=>un.cssVarList.overlayPadding},overlayBoxShadow:{property:()=>un.overlayBoxShadow},overlayOutlineWidth:{property:()=>un.cssVarList.overlayOutlineWidth},overlayOutlineColor:{property:()=>un.cssVarList.overlayOutlineColor},overlayOutlineStyle:{property:()=>un.cssVarList.overlayOutlineStyle},errorMessageIcon:{selector:_r.componentName,property:_r.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconSize},errorMessageIconPadding:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconPadding},errorMessageIconRepeat:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconRepeat},errorMessageIconPosition:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconPosition},errorMessageFontSize:{selector:_r.componentName,property:_r.cssVarList.errorMessageFontSize},labelFontWeight:{selector:_r.componentName,property:_r.cssVarList.labelFontWeight},inputValueFontWeight:{selector:_r.componentName,property:_r.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{selector:_r.componentName,property:_r.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{selector:_r.componentName,property:_r.cssVarList.helperTextFontWeight},errorMessageFontWeight:{selector:_r.componentName,property:_r.cssVarList.errorMessageFontWeight}}}),ni({name:"overlay",selector:"",mappings:{marginTop:{...dn,property:"margin-top"},backgroundColor:{...dn},backdropBackgroundColor:{...cn,property:"background-color"},backdropPointerEvents:{...cn,property:"pointer-events"},padding:{...dn},boxShadow:{...dn},outlineWidth:{...dn},outlineColor:{...dn},outlineStyle:{...dn}}}),Be,Pe)(class extends Kr{epoch="";format=Yo;selectedCounterIdx=0;updateCountersDisplay(){this.inputElement.value=this.countersValue}updateValue(){if(this.isCountersOutOfRange)this.resetEpoch();else{const t=Xo[this.format].getDate(this.inputElement.value);this.updateEpoch(rr(t,this.isUtcTime))}}onDateCounterChange=()=>{this.updateCountersDisplay(),this.updateValue(),this.#lt()};updateEpoch(t){this.epoch=rr(t,this.isUtcTime)}dateCounters=[new Xr(Bo,this.onDateCounterChange.bind(this)),new Xr(Po,this.onDateCounterChange.bind(this)),new Xr(Fo,this.onDateCounterChange.bind(this))];static get observedAttributes(){return[].concat(Kr.observedAttributes||[],on)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <descope-text-field inputmode="numeric">\n <span slot="suffix" class="toggle-calendar">\n \n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M9 5H15V4.50468C15 4.21404 15.226 4 15.5047 4H16.4953C16.786 4 17 4.22595 17 4.50468V5H18.7568C19.3028 5 19.75 5.44725 19.75 5.99896V7.00104C19.75 7.55734 19.3053 8 18.7568 8H5.24317C4.69717 8 4.25 7.55275 4.25 7.00104V5.99896C4.25 5.44266 4.69466 5 5.24317 5H7V4.50468C7 4.21404 7.22596 4 7.50468 4H8.49532C8.78596 4 9 4.22595 9 4.50468V5ZM5.50468 9H6.49532C6.78596 9 7 9.22596 7 9.50468V10.4953C7 10.786 6.77404 11 6.49532 11H5.50468C5.21404 11 5 10.774 5 10.4953V9.50468C5 9.21404 5.22595 9 5.50468 9ZM8.50468 9H9.49532C9.78596 9 10 9.22596 10 9.50468V10.4953C10 10.786 9.77404 11 9.49532 11H8.50468C8.21404 11 8 10.774 8 10.4953V9.50468C8 9.21404 8.22596 9 8.50468 9ZM11.5047 9H12.4953C12.786 9 13 9.22596 13 9.50468V10.4953C13 10.786 12.774 11 12.4953 11H11.5047C11.214 11 11 10.774 11 10.4953V9.50468C11 9.21404 11.226 9 11.5047 9ZM5.50468 12H6.49532C6.78596 12 7 12.226 7 12.5047V13.4953C7 13.786 6.77404 14 6.49532 14H5.50468C5.21404 14 5 13.774 5 13.4953V12.5047C5 12.214 5.22595 12 5.50468 12ZM8.50468 12H9.49532C9.78596 12 10 12.226 10 12.5047V13.4953C10 13.786 9.77404 14 9.49532 14H8.50468C8.21404 14 8 13.774 8 13.4953V12.5047C8 12.214 8.22596 12 8.50468 12ZM11.5047 12H12.4953C12.786 12 13 12.226 13 12.5047V13.4953C13 13.786 12.774 14 12.4953 14H11.5047C11.214 14 11 13.774 11 13.4953V12.5047C11 12.214 11.226 12 11.5047 12ZM5.50468 15H6.49532C6.78596 15 7 15.226 7 15.5047V16.4953C7 16.786 6.77404 17 6.49532 17H5.50468C5.21404 17 5 16.774 5 16.4953V15.5047C5 15.214 5.22595 15 5.50468 15ZM8.50468 15H9.49532C9.78596 15 10 15.226 10 15.5047V16.4953C10 16.786 9.77404 17 9.49532 17H8.50468C8.21404 17 8 16.774 8 16.4953V15.5047C8 15.214 8.22596 15 8.50468 15ZM11.5047 15H12.4953C12.786 15 13 15.226 13 15.5047V16.4953C13 16.786 12.774 17 12.4953 17H11.5047C11.214 17 11 16.774 11 16.4953V15.5047C11 15.214 11.226 15 11.5047 15ZM14.5047 9H15.4953C15.786 9 16 9.22596 16 9.50468V10.4953C16 10.786 15.774 11 15.4953 11H14.5047C14.214 11 14 10.774 14 10.4953V9.50468C14 9.21404 14.226 9 14.5047 9ZM14.5047 12H15.4953C15.786 12 16 12.226 16 12.5047V13.4953C16 13.786 15.774 14 15.4953 14H14.5047C14.214 14 14 13.774 14 13.4953V12.5047C14 12.214 14.226 12 14.5047 12ZM14.5047 15H15.4953C15.786 15 16 15.226 16 15.5047V16.4953C16 16.786 15.774 17 15.4953 17H14.5047C14.214 17 14 16.774 14 16.4953V15.5047C14 15.214 14.226 15 14.5047 15ZM17.5047 15H18.4953C18.786 15 19 15.226 19 15.5047V16.4953C19 16.786 18.774 17 18.4953 17H17.5047C17.214 17 17 16.774 17 16.4953V15.5047C17 15.214 17.226 15 17.5047 15ZM5.50468 18H6.49532C6.78596 18 7 18.226 7 18.5047V19.4953C7 19.786 6.77404 20 6.49532 20H5.50468C5.21404 20 5 19.774 5 19.4953V18.5047C5 18.214 5.22595 18 5.50468 18ZM8.50468 18H9.49532C9.78596 18 10 18.226 10 18.5047V19.4953C10 19.786 9.77404 20 9.49532 20H8.50468C8.21404 20 8 19.774 8 19.4953V18.5047C8 18.214 8.22596 18 8.50468 18ZM11.5047 18H12.4953C12.786 18 13 18.226 13 18.5047V19.4953C13 19.786 12.774 20 12.4953 20H11.5047C11.214 20 11 19.774 11 19.4953V18.5047C11 18.214 11.226 18 11.5047 18ZM14.5047 18H15.4953C15.786 18 16 18.226 16 18.5047V19.4953C16 19.786 15.774 20 15.4953 20H14.5047C14.214 20 14 19.774 14 19.4953V18.5047C14 18.214 14.226 18 14.5047 18ZM17.5047 18H18.4953C18.786 18 19 18.226 19 18.5047V19.4953C19 19.786 18.774 20 18.4953 20H17.5047C17.214 20 17 19.774 17 19.4953V18.5047C17 18.214 17.226 18 17.5047 18ZM17.5047 12H18.4953C18.786 12 19 12.226 19 12.5047V13.4953C19 13.786 18.774 14 18.4953 14H17.5047C17.214 14 17 13.774 17 13.4953V12.5047C17 12.214 17.226 12 17.5047 12ZM17.5047 9H18.4953C18.786 9 19 9.22596 19 9.50468V10.4953C19 10.786 18.774 11 18.4953 11H17.5047C17.214 11 17 10.774 17 10.4953V9.50468C17 9.21404 17.226 9 17.5047 9Z" fill="#808080"/>\n</svg>\n\n </span>\n </descope-text-field>\n <vaadin-popover></vaadin-popover>\n </div>\n ',f('\n :host {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n max-width: 100%;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n .toggle-calendar {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n height: 100%;\n align-items: center;\n }\n\n :host([readonly="true"]) .toggle-calendar {\n pointer-events: none;\n }\n\n .hidden {\n display: none;\n }\n ',this),this.inputElement=this.shadowRoot.querySelector("descope-text-field"),this.popoverToggleButton=this.inputElement.querySelector(".toggle-calendar")}get validationTarget(){return this.inputElement}get opened(){return"true"===this.getAttribute("opened")}get displayValueEpoch(){const t=Xo[this.format].getDate(this.inputElement.value);return qo(t?.getTime())?t.getTime():null}get sortedCounters(){return this.format.split(Ro).map(t=>this.dateCounters.find(e=>e.placeholder===t))}get activeCounter(){return this.sortedCounters[this.selectedCounterIdx]}get countersValue(){return this.sortedCounters.map(t=>t.stringValue).join(Ro)}get overlay(){return this.baseElement.shadowRoot?.querySelector("vaadin-popover-overlay")}get backdrop(){return this.overlay.shadowRoot?.querySelector("#backdrop")}get calendar(){return this.overlay?.querySelector("descope-calendar")}get isRTL(){const t=getComputedStyle(this.baseElement).getPropertyValue("direction");return t?"rtl"===t:"rtl"===this.getAttribute("st-host-direction")}get value(){return this.isInvalidDate()?"":this.epoch}set value(t){const e=parseInt(t,10);Number.isNaN(e)?(this.resetEpoch(),this.resetDateCounters(),this.clearInputEle()):(this.updateEpoch(e),this.updateDateCounters(new Date(e)))}resetEpoch(){this.epoch=""}get isCountersEmpty(){return this.dateCounters.every(t=>t.isEmpty)}get isCountersOutOfRange(){return this.dateCounters.some(t=>!t.isInRange(t.numberValue))}get disableCalendar(){return"true"===this.getAttribute("disable-calendar")}get isUtcTime(){return"true"===this.getAttribute("utc-time")}get isSelectAll(){const t=this.inputElement.baseElement.inputElement;return t.value.length===t.selectionStart+t.selectionEnd}reportValidity(){this.inputElement.reportValidity()}#lt(){this.inputElement.baseElement.dispatchEvent(new Event("input",{bubbles:!0}))}updateInputDisplay(){this.inputElement.value=tr(Jo(this.countersValue).getTime(),this.format)}init(){super.init?.(),this.updateFormatPattern(),this.initPopover(),this.onDateCounterChange(),this.initInputElement(),setTimeout(()=>{this.#it()},0)}initInputElement(){this.inputElement.getValidity=this.getValidity.bind(this),this.inputElement.baseElement.checkValidity=this.checkValidity.bind(this),this.popoverToggleButton.addEventListener("click",this.onPopoverToggle.bind(this)),this.inputElement.addEventListener("focus",this.onFocus.bind(this)),this.inputElement.addEventListener("blur",this.onBlur.bind(this)),this.inputElement.addEventListener("click",this.handleMouseCaretPositionChange.bind(this)),this.inputElement.addEventListener("keydown",this.handleKeyboard.bind(this)),this.inputElement.addEventListener("beforeinput",this.handleInput.bind(this)),this.inputElement.addEventListener("pointerdown",this.onPointerDown.bind(this)),this.inputElement.addEventListener("paste",this.onPaste.bind(this)),te(this,this.inputElement,{includeAttrs:["label","label-type","placeholder","disabled","readonly","bordered","required","full-width","st-host-direction","pattern","bordered","data-errormessage-value-missing","data-errormessage-pattern-mismatch","data-errormessage-range-underflow","data-errormessage-range-overflow","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]})}handleInput(t){var e;t.preventDefault(),this.handleSelectAll(),t.data&&(e=t.data,String(e||"").trim()&&!Number.isNaN(Number(e)))?(this.parseDigits(t.data),this.updateCountersDisplay()):t.inputType&&this.handleNavKeys(t)}initPopover(){this.baseElement.trigger=["click"],this.baseElement.withBackdrop=!0,this.baseElement.renderer=this.#dt.bind(this),this.baseElement.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation()})}handleSelectAll(){this.isSelectAll&&this.selectFirstCounter()}#ct;#dt(t){t.firstChild||(this.overlay.positionTarget=this.shadowRoot.querySelector(".toggle-calendar"),t.appendChild(this.#ut()),(t=>{const e=new CSSStyleSheet;e.insertRule(":host{display:block!important;}"),t?.shadowRoot?.adoptedStyleSheets?.push(e)})(this.baseElement),this.backdrop.addEventListener("click",this.closePopover.bind(this))),t.style.setProperty("visibility","hidden"),setTimeout(()=>{this.#pt(t),t.style.setProperty("visibility","visible"),this.updateCalendarView(t)},100)}#pt(){const t=this.shadowRoot.querySelector("vaadin-popover").shadowRoot;this.#ct?.replaceSync("vaadin-popover-overlay::part(overlay) { transform: none; }");const e=document.body.getBoundingClientRect(),i=this.getBoundingClientRect(),o=this.calendar.getBoundingClientRect(),r=this.isRTL?"right":"left",n=i[r]-o[r],s=o.left,a=e.width-o.right;let l;l=n>0?Math.min(n,a):-1*Math.min(Math.abs(n),s);const d=`\n vaadin-popover-overlay::part(overlay) {\n transform: translateX(${l}px);\n }\n `;this.#ct?this.#ct.replaceSync(d):this.#ct=f(d,t)}#ut(){const t=document.createElement("span");t.innerHTML="<descope-calendar></descope-calendar>";const e=t.querySelector("descope-calendar");return e.addEventListener("date-submit",this.onCalendarSubmit.bind(this)),e.addEventListener("cancel",this.closePopover.bind(this)),t}#it(){this.overlay._attachOverlay=()=>this.overlay.bringToFront(),this.overlay._detachOverlay=()=>{},this.overlay._enterModalState=()=>{}}onPopoverToggle(){this.opened?this.closePopover():this.openPopover()}openPopover(){this.disableCalendar||this.setAttribute("opened","true")}closePopover(){this.removeAttribute("opened"),this.inputElement.focus()}getCounterById(t){return this.dateCounters.find(e=>e.id===t)}onCalendarSubmit(){if(!this.isReadOnly){if(!this.calendar.value)return;const t=Jo(this.calendar.value);this.value=rr(t,this.isUtcTime),this.getCounterById("year").replaceValue(t.getFullYear()),this.getCounterById("month").replaceValue(t.getMonth()+1),this.getCounterById("day").replaceValue(t.getDate()),this.#lt()}this.closePopover()}updateCalendarView(){const t=qo(Jo(this.inputElement.value||"").getTime())&&Xo[this.format].validate(this.inputElement.value);this.displayValueEpoch||t?this.calendar.setAttribute("initial-value",tr(this.displayValueEpoch||this.epoch,Uo)):(this.calendar.clearValue(),this.calendar.setAttribute("preview",tr(er(),Uo))),te(this,this.calendar,{includeAttrs:["st-host-direction","readonly","initial-month","initial-year","years-range","calendar-label-submit","calendar-label-cancel","calendar-months","calendar-weekdays","calendar-weekdays-short"]})}onPointerDown(t){setTimeout(()=>this.handleMouseCaretPositionChange(t),150)}onFocus(){this.isReadOnly||setTimeout(()=>this.resetDisplay())}resetDisplay(){this.inputElement.value||(this.inputElement.value=this.format),this.selectFirstCounter(),this.inputElement.setSelectionRange(0,this.sortedCounters[0].length)}onBlur(){this.opened||this.inputElement.value===this.format&&this.clearInputEle()}clearInputEle(){this.inputElement.value=""}onFormatUpdate(t){Object.keys(Xo).includes(t)&&(this.format=t,this.updateFormatPattern())}updateFormatPattern(){const t=this.getAttribute("format")||this.format||Yo;this.setAttribute("type","date"),this.setAttribute("pattern",Xo[t].pattern)}parseDigits(t){this.activeCounter.add(t),this.activeCounter.isFull&&this.selectNextCounter(),this.setInputSelectionRange()}getCounterIdx(t){const[e,i]=this.sortedCounters.map(t=>t.length);return[t<=e,t>=e&&t<=e+i+1,t>=e+i+2].indexOf(!0)}setSelectedCounterByCaretPosition(t){this.selectedCounterIdx=this.getCounterIdx(t.target?.selectionStart||this.inputElement.selectionStart)}selectFirstCounter(){this.selectedCounterIdx=0}selectNextCounter(){this.selectedCounterIdx<this.dateCounters.length&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx+1,2))}selectPrevCounter(){this.selectedCounterIdx>0&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx-1,1))}setInputSelectionRange(){this.selectedCounterIdx<0||setTimeout(()=>{const t=this.sortedCounters.slice(0,this.selectedCounterIdx).reduce((t,e)=>t+e.length,this.selectedCounterIdx);this.inputElement.setSelectionRange(t,t+this.sortedCounters[this.selectedCounterIdx].length)})}resetDateCounters(){this.dateCounters.forEach(t=>t.clear())}updateDateCounters(t){this.dateCounters.forEach(e=>{switch(e.id){case Bo.id:e.set(this.isUtcTime?t.getUTCMonth()+1:t.getMonth()+1);break;case Fo.id:e.set(this.isUtcTime?t.getUTCFullYear():t.getFullYear());break;case Po.id:e.set(this.isUtcTime?t.getUTCDate():t.getDate())}})}handleKeyboard(t){t.metaKey||t.ctrlKey?"x"===t.key.toLowerCase()&&this.onCut(t):(this.handleSelectAll(),"ArrowUp"===t.key?this.activeCounter.inc():"ArrowDown"===t.key?this.activeCounter.dec():"ArrowRight"===t.key?this.selectNextCounter():"ArrowLeft"===t.key&&this.selectPrevCounter(),this.setInputSelectionRange())}handleNavKeys(t){this.isReadOnly||(this.opened&&this.closePopover(),this.activeCounter&&("deleteContentBackward"===t.inputType&&this.handleBackspace(),this.setInputSelectionRange()))}handleBackspace(){if(this.isSelectAll)return void this.resetToInitialState();const t=this.activeCounter;t.isEmpty?(this.selectPrevCounter(),this.setInputSelectionRange()):t.set(""),setTimeout(()=>{this.updateCountersDisplay(),this.setInputSelectionRange()})}handleMouseCaretPositionChange(t){this.opened||(t.preventDefault(),this.setSelectedCounterByCaretPosition(t),this.setInputSelectionRange())}onInitialValueChange(t){this.value||setTimeout(()=>{Number.isNaN(parseInt(t,10))||(this.value=Number(t))})}togglePopoverAccess(t){t?this.popoverToggleButton.classList.remove("hidden"):this.popoverToggleButton.classList.add("hidden")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("disable-calendar"===t&&this.togglePopoverAccess("true"!==i),tn.includes(t)?(i&&"format"===t&&this.onFormatUpdate(i),"initial-value"===t&&this.onInitialValueChange(i)):en.includes(t)&&(i?this.calendar?.setAttribute(t,i):this.calendar?.removeAttribute(t)))}isInvalidDate(){const t=this.getCounterById("year"),e=t.numberValue>Ho||t.numberValue<Go,i=Object.entries(this.getDateVals()).some(([t,e])=>{const i=this.getCounterById(t);return!e||i.numberValue!==e});return e||i}getValidity(){return this.isRequired&&this.isCountersEmpty?{valueMissing:!0}:this.isCountersOutOfRange||this.isInvalidDate()?{patternMismatch:!0}:{}}getDateVals(){const t={day:"",month:"",year:""};if(Number.isNaN(this.epoch))return t;try{const e=new Date(this.epoch);this.isUtcTime?(t.month=e.getUTCMonth()+1,t.day=e.getUTCDate(),t.year=e.getUTCFullYear()):(t.month=e.getMonth()+1,t.day=e.getDate(),t.year=e.getFullYear())}catch(t){}return t}resetToInitialState(){this.resetDateCounters(),this.selectFirstCounter(),this.resetDisplay()}onCut(t){t.preventDefault(),this.isSelectAll?(this.#ht(this.countersValue),this.resetToInitialState()):(this.#ht(this.activeCounter.stringValue),this.activeCounter.set("")),this.setInputSelectionRange()}#ht(t){try{navigator.clipboard.writeText(t)}catch(t){console.error("Failed to copy date value:",t)}}onPaste(t){t.preventDefault();const e=(t.clipboardData||window.clipboardData).getData("Text"),i=((t,e)=>{const i=t.trim?.();return i?Xo[e].getDate(i):null})(e,this.format);if(i)this.value=rr(i,this.isUtcTime),this.onDateCounterChange(),setTimeout(()=>this.inputElement.setSelectionRange(0,this.inputElement.value.length));else{const t=Number(e);t&&this.activeCounter.min<=t&&this.activeCounter.max>=t&&(this.activeCounter.set(String(t)),setTimeout(()=>this.setInputSelectionRange()))}}});customElements.define(qr,un);const pn=qt("divider");class hn extends($e({componentName:pn,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div>\n\t\t\t\t<descope-text>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</descope-text>\n\t\t\t</div>\n\t\t",f("\n \t:host {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t\t:host > div::before,\n\t\t\t\t:host > div::after {\n\t\t\t\t\tcontent: '';\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t\tdescope-text {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t\tflex-shrink: 0;\n\t\t\t\t}\n\t\t\t\t:host(:empty) descope-text {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t:host([vertical=\"true\"]) div {\n\t\t\t\t\twidth: fit-content;\n\t\t\t\t}\n ",this),this.textComponent=this.shadowRoot.querySelector("descope-text"),te(this,this.textComponent,{includeAttrs:["mode","variant","italic"]})}}const gn=Ci.cssVarList,{host:Mn,before:mn,after:yn,text:bn}={host:{selector:()=>":host"},before:{selector:"::before"},after:{selector:"::after"},text:{selector:"descope-text"}},Nn=Pt(Ze({mappings:{hostWidth:{...Mn,property:"width"},hostPadding:{...Mn,property:"padding"},hostDirection:{...bn,property:"direction"},minHeight:{},alignItems:{},alignSelf:{},flexDirection:{},textAlign:{...bn,property:gn.textAlign},labelTextWidth:{...bn,property:"width"},labelTextMaxWidth:{...bn,property:"max-width"},labelTextVerticalSpacing:[{...bn,property:"padding-top"},{...bn,property:"padding-bottom"}],labelTextHorizontalSpacing:[{...bn,property:"padding-right"},{...bn,property:"padding-left"}],stripeColor:[{...mn,property:"background-color"},{...yn,property:"background-color"}],stripeHorizontalThickness:[{...mn,property:"height"},{...yn,property:"height"}],stripeVerticalThickness:[{...mn,property:"width"},{...yn,property:"width"}],stripeColorOpacity:[{...mn,property:"opacity"},{...yn,property:"opacity"}]}}),Be,Pe)(hn);customElements.define(pn,Nn);const In=qt("email-field"),xn=Pt(Ze({mappings:Hr}),Be,li({inputType:"email",inputName:"email",autocompleteType:"username",includeAttrs:["disabled","readonly","pattern"]}),ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Pe,t=>class extends t{init(){super.init?.(),this.baseElement.setAttribute("pattern","^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$"),this.getAttribute("autocomplete")||this.setAttribute("autocomplete","username"),this.createExternalInput()}})(Xe({slots:["","suffix"],wrappedEleName:"vaadin-email-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${xn.cssVarList.inputOutlineWidth}) + var(${xn.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n ${xe("vaadin-email-field")}\n\t\t\t${ge(xn.cssVarList)}\n\t\t\t${Ie("vaadin-email-field",xn.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-email-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-email-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n :host ::slotted(*) {\n -webkit-mask-image: none;\n }\n\n vaadin-email-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:In}));customElements.define(In,xn);const jn=({componentName:t,varName:e,fallbackVarName:i})=>{let o;class r extends($e({componentName:t,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div></div>\n\t\t\t",f(`\n\t\t\t\t:host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t\tmargin: auto;\n\t\t\t\t\t${o}\n\t\t\t\t}\n `,this)}}const n=Pt(Ze({mappings:{height:{selector:()=>":host > div"},width:{selector:()=>":host > div"},[e]:{property:"content"},[i]:{property:"content"}}}),Be,Pe)(r);return o=`content: var(${n.cssVarList[e]}, var(${n.cssVarList[i]}));`,n},Tn=qt("logo"),zn=jn({componentName:Tn,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Tn,zn);const Dn=qt("totp-image"),Sn=jn({componentName:Dn,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Dn,Sn);const vn=qt("notp-image"),Ln=jn({componentName:vn,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(vn,Ln);const Cn=qt("number-field"),An=Pt(Ze({mappings:Hr}),Be,ri({proxyProps:["value","selectionStart"]}),Pe)(Xe({slots:["","prefix","suffix"],wrappedEleName:"vaadin-number-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${An.cssVarList.inputOutlineWidth}) + var(${An.cssVarList.inputOutlineOffset}));\n\t\t\t}\n ${xe("vaadin-number-field")}\n\t\t\t${ge(An.cssVarList)}\n\t\t\t${Ie("vaadin-number-field",An.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-number-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-number-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Cn}));customElements.define(Cn,An);const wn="--descope-input-mask-content",fn="--descope-input-mask-display",En="--descope-input-mask-fallback",kn=t=>{t?.focus(),t?.setSelectionRange?.(1,1)},On=t=>t.replace(/\D/g,"")||"",Vn=(t,e)=>{e?(t.style.setProperty(wn,`"${e}"`),t.style.setProperty(fn,"flex")):(t.style.removeProperty(wn),t.style.removeProperty(fn))},Wn=qt("passcode-internal"),Yn=["digits","loading"],Un=["disabled","bordered","size","invalid","readonly","aria-labelledby"],Rn=ci({componentName:Wn,baseSelector:"div"}),Qn=qt("passcode"),Zn=["digits"],{host:Bn,digitField:Pn,label:Fn,requiredIndicator:Gn,internalWrapper:Hn,focusedDigitField:Jn,errorMessage:$n}={host:{selector:()=>":host"},focusedDigitField:{selector:()=>`${_r.componentName}[focused="true"]`},digitField:{selector:()=>_r.componentName},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:"descope-passcode-internal .wrapper"},errorMessage:{selector:"::part(error-message)"}},_n=_r.cssVarList,Xn=oo.cssVarList,qn=Pt(Ze({mappings:{fontSize:[{...Pn,property:_n.fontSize},Bn],hostWidth:{property:"width"},hostDirection:{...Bn,property:"direction"},fontFamily:[Bn,{...Fn}],labelFontWeight:{...Fn,property:"font-weight"},errorMessageFontWeight:{...$n,property:"font-weight"},digitValueFontWeight:{selector:_r.componentName,property:_n.inputValueFontWeight},labelTextColor:[{...Fn,property:"color"},{...Fn,property:"-webkit-text-fill-color"},{...Gn,property:"color"},{...Gn,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...Gn,property:"content"},errorMessageTextColor:{...$n,property:"color"},errorMessageIcon:{...$n,property:"background-image"},errorMessageIconSize:{...$n,property:"background-size"},errorMessageIconPadding:{...$n,property:"padding-inline-start"},errorMessageIconRepeat:{...$n,property:"background-repeat"},errorMessageIconPosition:{...$n,property:"background-position"},errorMessageFontSize:{...$n,property:"font-size"},digitValueTextColor:{selector:_r.componentName,property:_n.inputValueTextColor},digitSize:[{...Pn,property:"height"},{...Pn,property:"width"}],digitPadding:{...Pn,property:_n.inputHorizontalPadding},digitTextAlign:{...Pn,property:_n.inputTextAlign},digitCaretTextColor:{...Pn,property:_n.inputCaretTextColor},digitSpacing:{...Hn,property:"gap"},digitOutlineColor:{...Pn,property:_n.inputOutlineColor},digitOutlineWidth:{...Pn,property:_n.inputOutlineWidth},focusedDigitFieldOutlineColor:{...Jn,property:_n.inputOutlineColor},overlayOpacity:{...Hn,property:"opacity"},spinnerSize:{selector:oo.componentName,property:Xn.spinnerSize}}}),Be,di,ri({proxyProps:["value","selectionStart"]}),Pe,t=>class extends t{static get observedAttributes(){return Zn.concat(t.observedAttributes||[])}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}init(){super.init?.(),f("\n .wrapper {\n display: flex;\n width: 100%;\n justify-content: space-between;\n direction: ltr;\n position: relative;\n }\n\n descope-text-field {\n direction: ltr;\n }\n\n .loader-container {\n display: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n ",this);const t=document.createElement("template");t.innerHTML=`\n <${Wn}\n bordered="true"\n name="code"\n tabindex="-1"\n slot="input"\n role="textbox"\n ><slot></slot></${Wn}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Wn),te(this,this.inputElement,{includeAttrs:["digits","size","loading","disabled"]})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"digits"===t&&(this.style["--passcode-digits-count"]=i)}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: calc(var(--passcode-digits-count) * 2em);\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n :host([loading="true"]) descope-passcode-internal .loader-container {\n display: block;\n }\n\n\t\t\tdescope-passcode-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal .wrapper {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tmin-height: initial;\n\t\t\t\theight: 100%;\n\t\t\t\tjustify-content: space-between;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal descope-text-field {\n\t\t\t\tmin-width: 2em;\n\t\t\t\tmax-width: var(${_n.inputHeight});\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n /* safari */\n\t\t\tvaadin-text-field::part(input-field)::after {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${xe("vaadin-text-field")}\n\t\t\t${ye("vaadin-text-field")}\n \t`,excludeAttrsSync:["tabindex","style"],componentName:Qn}));customElements.define(Wn,class extends Rn{static get observedAttributes(){return Yn.concat(Rn.observedAttributes||[])}constructor(){super(),this.innerHTML='\n\t\t<div class="wrapper"></div>\n\t\t<div class="loader-container">\n <descope-loader-radial size="xs" mode="primary"></descope-loader-radial>\n </div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper"),this.loaderContainer=this.querySelector(".loader-container")}renderInputs(){const t=[...Array(this.digits).keys()].map(t=>`\n\t\t<descope-text-field\n\t\t\tdata-id=${t}\n\t\t\ttype="tel"\n\t\t\tautocomplete="one-time-code"\n\t\t\tinputMode="numeric"\n\t\t></descope-text-field>\n\t`);this.wrapperEle.innerHTML=t.join(""),this.inputs=Array.from(this.querySelectorAll("descope-text-field")),this.initInputs()}handleLoadingState(t){t?this.setAttribute("inert","true"):this.removeAttribute("inert")}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}get value(){return this.inputs?.map(({value:t})=>t).join("")||""}set value(t){t!==this.value&&this.parseInputValue(this.inputs[0],On(t))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:this.pattern&&!new RegExp(this.pattern).test(this.value)?{patternMismatch:!0}:{}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[0].focus()}),super.init?.(),this.renderInputs()}getInputIdx(t){return Number.parseInt(t.getAttribute("data-id"),10)}getNextInput(t){const e=this.getInputIdx(t),i=Math.min(e+1,this.inputs.length-1);return this.inputs[i]}getPrevInput(t){const e=this.getInputIdx(t),i=Math.max(e-1,0);return this.inputs[i]}fillDigits(t,e){for(let i=0;i<t.length;i+=1){e.value=t[i]??"";const o=this.getNextInput(e);if(o===e)break;e=o}kn(e)}parseInputValue(t,e=""){const i=e.split("");i.length?this.fillDigits(i,t):t.value=""}initInputs(){this.inputs.forEach(t=>{f(`\n vaadin-text-field::part(input-field)::before {\n ${En}: '';\n content: var(${wn}, var(${En}));\n position: absolute;\n width: 100%;\n height: 100%;\n display: var(${fn}, none);\n align-items: center;\n justify-content: center;\n }`,t);const e=n()(e=>{this.parseInputValue(t,e),Vn(t)},0,{trailing:!0});t.addEventListener("input",i=>{t.value=On(t.value),t.value&&Vn(t,t.value[0]),setTimeout(()=>{"deleteContentBackward"===i?.inputType&&kn(this.getPrevInput(t))}),e(t.value)}),t.onkeydown=({key:e})=>{"Backspace"===e?t.value?t.setSelectionRange(1,1):setTimeout(()=>kn(this.getPrevInput(t)),0):1===e.length&&(t.value="")},te(this,t,{includeAttrs:Un}),t.shadowRoot.querySelector("input").setAttribute("aria-label","passcode digit")}),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&Yn.includes(t)&&("digits"===t&&this.renderInputs(),"loading"===t&&this.handleLoadingState("true"===i))}get pattern(){return`^$|^\\d{${this.digits},}$`}}),customElements.define(Qn,qn);const Kn=qt("password"),{host:ts,inputField:es,inputElement:is,inputElementPlaceholder:os,revealButtonContainer:rs,revealButtonIcon:ns,label:ss,requiredIndicator:as,errorMessage:ls,helperText:ds}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"> input"},inputElementPlaceholder:{selector:()=>":host input:placeholder-shown"},revealButtonContainer:{selector:"::part(reveal-button)"},revealButtonIcon:{selector:"::part(reveal-button)::before"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},cs=Pt(Ze({mappings:{hostWidth:{...ts,property:"width"},hostMinWidth:{...ts,property:"min-width"},hostDirection:{...ts,property:"direction"},fontSize:[{},ts],fontFamily:[ss,es,ls,ds],inputHeight:{...es,property:"height"},inputHorizontalPadding:[{...is,property:"padding-left"},{...is,property:"padding-right"}],inputBackgroundColor:{...es,property:"background-color"},inputBorderStyle:{...es,property:"border-style"},inputBorderWidth:{...es,property:"border-width"},inputBorderColor:{...es,property:"border-color"},inputBorderRadius:{...es,property:"border-radius"},inputOutlineColor:{...es,property:"outline-color"},inputOutlineStyle:{...es,property:"outline-style"},inputOutlineOffset:{...es,property:"outline-offset"},inputOutlineWidth:{...es,property:"outline-width"},labelFontSize:{...ss,property:"font-size"},labelFontWeight:{...ss,property:"font-weight"},inputValueFontWeight:[{...is,property:"font-weight"},{selector:()=>":host ::slotted(input)",property:"font-weight"}],inputPlaceholderFontWeight:[{...os,property:"font-weight"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"font-weight"}],helperTextFontWeight:{...ds,property:"font-weight"},errorMessageFontWeight:{...ls,property:"font-weight"},labelTextColor:[{...ss,property:"color"},{...ss,property:"-webkit-text-fill-color"},{...as,property:"color"},{...as,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...as,property:"content"},errorMessageTextColor:{...ls,property:"color"},errorMessageIcon:{...ls,property:"background-image"},errorMessageIconSize:{...ls,property:"background-size"},errorMessageIconPadding:{...ls,property:"padding-inline-start"},errorMessageIconRepeat:{...ls,property:"background-repeat"},errorMessageIconPosition:{...ls,property:"background-position"},errorMessageFontSize:{...ls,property:"font-size"},inputPlaceholderTextColor:[{...os,property:"color"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"color"}],inputValueTextColor:[{...is,property:"color"},{selector:()=>":host ::slotted(input)",property:"color"}],revealButtonOffset:[{...rs,property:"margin-right"},{...rs,property:"margin-left"}],revealButtonSize:{...rs,property:"font-size"},revealButtonColor:{...ns,property:"color"},labelPosition:{...ss,property:"position"},labelTopPosition:{...ss,property:"top"},labelHorizontalPosition:[{...ss,property:"left"},{...ss,property:"right"}],inputTransformY:{...ss,property:"transform"},inputTransition:{...ss,property:"transition"},marginInlineStart:{...ss,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...is,property:"opacity"}],inputVerticalAlignment:{...es,property:"align-items"},valueInputHeight:{...is,property:"height"}}}),Be,li({inputType:"password",inputName:"password",includeAttrs:["disabled","readonly","pattern","type","autocomplete"],noBlurDispatch:!0}),ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Pe,t=>class extends t{get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}init(){super.init?.();const t=this.querySelector("input");t?.addEventListener("mousedown",e=>{if(this.isDraggable&&this.isReadOnly){t.setAttribute("inert","true");const i=e.target,o=i.getAttribute("type");i.setAttribute("type","text"),setTimeout(()=>{i.focus()});const r=e=>{i.setAttribute("type",o),t.removeAttribute("inert"),this.removeEventListener("mouseup",r),this.removeEventListener("dragend",r)};this.addEventListener("dragend",r,{once:!0}),this.addEventListener("mouseup",r,{once:!0})}})}},t=>class extends t{static get observedAttributes(){return["manual-visibility-toggle"]}get manualToggleVisibility(){return"true"===this.getAttribute("manual-visibility-toggle")}init(){super.init?.(),this.handleCaretOnVisibilityChange(),this.origSetPasswordVisible=this.baseElement._setPasswordVisible,this.origSetFocused=this.baseElement._setFocused,this.baseElement._setFocused=this.setFocus.bind(this),this.initExternalInput()}initExternalInput(){const t=this.createExternalInput();t&&this.handlePasswordVisibility(t)}get caretPosition(){return this.value?.length||0}handleCaretOnVisibilityChange(){const t=this.baseElement._togglePasswordVisibility.bind(this.baseElement);this.baseElement._togglePasswordVisibility=()=>{setTimeout(()=>(t(),this.inputElement.setSelectionRange(this.caretPosition,this.caretPosition),!1))}}setFocus(t){this.manualToggleVisibility&&(this.baseElement._setPasswordVisible=()=>{}),this.origSetFocused.call(this.baseElement,t),this.baseElement._setPasswordVisible=this.origSetPasswordVisible.bind(this.baseElement)}resetPasswordVisibilityToggle(){this.baseElement._setPasswordVisible=this.origSetPasswordVisible,this.baseElement._setFocused=this.origSetFocus}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i)}handlePasswordVisibility(t){const e=this.baseElement.__boundRevealButtonMouseDown;this.baseElement.querySelector("vaadin-password-field-button").removeEventListener("mousedown",e),this.baseElement._passwordVisibleChanged=()=>{},this.baseElement._togglePasswordVisibility=()=>{"password"===t.getAttribute("type")?this.showPasswordVisibility(t):this.hidePasswordVisibility(t)}}showPasswordVisibility(t){t.setAttribute("type","text"),this.setAttribute("password-visible","true")}hidePasswordVisibility(t){t.setAttribute("type","password"),this.setAttribute("password-visible","false")}})(Xe({slots:["","suffix"],wrappedEleName:"vaadin-password-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 10em;\n box-sizing: border-box;\n position: relative;\n\t\t\t}\n\t\t\t${ge(cs.cssVarList)}\n\t\t\t${ye("vaadin-password-field")}\n ${xe("vaadin-password-field")}\n\n\t\t\tvaadin-password-field {\n\t\t\t\twidth: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field > input {\n -webkit-mask-image: none;\n\t\t\t\tbox-sizing: border-box;\n opacity: 1;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field) {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n :host ::slotted(input) {\n\t\t\t\tmin-height: 0;\n }\n :host([readonly]) ::slotted(input:placeholder-shown) {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field::before {\n\t\t\t\theight: initial;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field)::after {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field-button {\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t:host([readonly]) vaadin-password-field-button {\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t\tvaadin-password-field-button[focus-ring] {\n\t\t\t\tbox-shadow: 0 0 0 2px var(${cs.cssVarList.inputOutlineColor});\n\t\t\t}\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n ::part(reveal-button) {\n align-self: center;\n }\n\n vaadin-password-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Kn}));customElements.define(Kn,cs);const us=qt("text-area"),{host:ps,label:hs,placeholder:gs,inputField:Ms,textArea:ms,requiredIndicator:ys,helperText:bs,errorMessage:Ns}={host:{selector:()=>":host"},label:{selector:"::part(label)"},placeholder:{selector:"textarea:placeholder-shown"},inputField:{selector:"::part(input-field)"},textArea:{selector:"> textarea"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Is=Pt(Ze({mappings:{hostWidth:{...ps,property:"width"},hostMinWidth:{...ps,property:"min-width"},hostDirection:{...ps,property:"direction"},fontSize:[ps,ms],fontFamily:[hs,Ms,bs,Ns],labelFontSize:{...hs,property:"font-size"},labelFontWeight:{...hs,property:"font-weight"},inputValueFontWeight:{...ms,property:"font-weight"},inputPlaceholderFontWeight:{...gs,property:"font-weight"},helperTextFontWeight:{...bs,property:"font-weight"},errorMessageFontWeight:{...Ns,property:"font-weight"},labelTextColor:[{...hs,property:"color"},{...hs,property:"-webkit-text-fill-color"},{...ys,property:"color"}],labelRequiredIndicator:{...ys,property:"content"},errorMessageTextColor:{...Ns,property:"color"},errorMessageIcon:{...Ns,property:"background-image"},errorMessageIconSize:{...Ns,property:"background-size"},errorMessageIconPadding:{...Ns,property:"padding-inline-start"},errorMessageIconRepeat:{...Ns,property:"background-repeat"},errorMessageIconPosition:{...Ns,property:"background-position"},errorMessageFontSize:{...Ns,property:"font-size"},inputBackgroundColor:{...Ms,property:"background-color"},inputValueTextColor:{...ms,property:"color"},inputPlaceholderTextColor:{...gs,property:"color"},inputBorderWidth:{...Ms,property:"border-width"},inputBorderStyle:{...Ms,property:"border-style"},inputBorderColor:{...Ms,property:"border-color"},inputBorderRadius:{...Ms,property:"border-radius"},inputOutlineStyle:{...Ms,property:"outline-Style"},inputOutlineColor:{...Ms,property:"outline-color"},inputOutlineOffset:{...Ms,property:"outline-offset"},inputOutlineWidth:{...Ms,property:"outline-width"},inputResizeType:{...ms,property:"resize"},inputMinHeight:{...ms,property:"min-height"},inputTextAlign:{...ms,property:"text-align"}}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe)(Xe({slots:[],wrappedEleName:"vaadin-text-area",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n box-sizing: border-box;\n\t\t\t}\n\t\t\ttextarea {\n\t\t\t\theight: 100%;\n\t\t\t}\n ${xe("vaadin-text-area")}\n\t\t\t${ge(Is.cssVarList)}\n\t\t\t${Me("vaadin-text-area")}\n\t\t\t${me("vaadin-text-area")}\n\t\t\t${be("vaadin-text-area","textarea")}\n\t\t\t${ye("vaadin-text-area")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:us}));customElements.define(us,Is);var xs=[{name:"United States",dialCode:"+1",code:"US"},...[{name:"Afghanistan",dialCode:"+93",code:"AF"},{name:"Aland Islands",dialCode:"+358",code:"AX"},{name:"Albania",dialCode:"+355",code:"AL"},{name:"Algeria",dialCode:"+213",code:"DZ"},{name:"AmericanSamoa",dialCode:"+1684",code:"AS"},{name:"Andorra",dialCode:"+376",code:"AD"},{name:"Angola",dialCode:"+244",code:"AO"},{name:"Anguilla",dialCode:"+1264",code:"AI"},{name:"Antarctica",dialCode:"+672",code:"AQ"},{name:"Antigua and Barbuda",dialCode:"+1268",code:"AG"},{name:"Argentina",dialCode:"+54",code:"AR"},{name:"Armenia",dialCode:"+374",code:"AM"},{name:"Aruba",dialCode:"+297",code:"AW"},{name:"Australia",dialCode:"+61",code:"AU"},{name:"Austria",dialCode:"+43",code:"AT"},{name:"Azerbaijan",dialCode:"+994",code:"AZ"},{name:"Bahamas",dialCode:"+1242",code:"BS"},{name:"Bahrain",dialCode:"+973",code:"BH"},{name:"Bangladesh",dialCode:"+880",code:"BD"},{name:"Barbados",dialCode:"+1246",code:"BB"},{name:"Belarus",dialCode:"+375",code:"BY"},{name:"Belgium",dialCode:"+32",code:"BE"},{name:"Belize",dialCode:"+501",code:"BZ"},{name:"Benin",dialCode:"+229",code:"BJ"},{name:"Bermuda",dialCode:"+1441",code:"BM"},{name:"Bhutan",dialCode:"+975",code:"BT"},{name:"Bolivia, Plurinational State of",dialCode:"+591",code:"BO"},{name:"Bosnia and Herzegovina",dialCode:"+387",code:"BA"},{name:"Botswana",dialCode:"+267",code:"BW"},{name:"Brazil",dialCode:"+55",code:"BR"},{name:"British Indian Ocean Territory",dialCode:"+246",code:"IO"},{name:"Brunei Darussalam",dialCode:"+673",code:"BN"},{name:"Bulgaria",dialCode:"+359",code:"BG"},{name:"Burkina Faso",dialCode:"+226",code:"BF"},{name:"Burundi",dialCode:"+257",code:"BI"},{name:"Cambodia",dialCode:"+855",code:"KH"},{name:"Cameroon",dialCode:"+237",code:"CM"},{name:"Canada",dialCode:"+1",code:"CA"},{name:"Cape Verde",dialCode:"+238",code:"CV"},{name:"Cayman Islands",dialCode:"+345",code:"KY"},{name:"Central African Republic",dialCode:"+236",code:"CF"},{name:"Chad",dialCode:"+235",code:"TD"},{name:"Chile",dialCode:"+56",code:"CL"},{name:"China",dialCode:"+86",code:"CN"},{name:"Christmas Island",dialCode:"+61",code:"CX"},{name:"Cocos (Keeling) Islands",dialCode:"+61",code:"CC"},{name:"Colombia",dialCode:"+57",code:"CO"},{name:"Comoros",dialCode:"+269",code:"KM"},{name:"Congo",dialCode:"+242",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dialCode:"+243",code:"CD"},{name:"Cook Islands",dialCode:"+682",code:"CK"},{name:"Costa Rica",dialCode:"+506",code:"CR"},{name:"Cote d'Ivoire",dialCode:"+225",code:"CI"},{name:"Croatia",dialCode:"+385",code:"HR"},{name:"Cuba",dialCode:"+53",code:"CU"},{name:"Cyprus",dialCode:"+357",code:"CY"},{name:"Czech Republic",dialCode:"+420",code:"CZ"},{name:"Denmark",dialCode:"+45",code:"DK"},{name:"Djibouti",dialCode:"+253",code:"DJ"},{name:"Dominica",dialCode:"+1767",code:"DM"},{name:"Dominican Republic",dialCode:"+1849",code:"DO"},{name:"Ecuador",dialCode:"+593",code:"EC"},{name:"Egypt",dialCode:"+20",code:"EG"},{name:"El Salvador",dialCode:"+503",code:"SV"},{name:"Equatorial Guinea",dialCode:"+240",code:"GQ"},{name:"Eritrea",dialCode:"+291",code:"ER"},{name:"Estonia",dialCode:"+372",code:"EE"},{name:"Ethiopia",dialCode:"+251",code:"ET"},{name:"Falkland Islands (Malvinas)",dialCode:"+500",code:"FK"},{name:"Faroe Islands",dialCode:"+298",code:"FO"},{name:"Fiji",dialCode:"+679",code:"FJ"},{name:"Finland",dialCode:"+358",code:"FI"},{name:"France",dialCode:"+33",code:"FR"},{name:"French Guiana",dialCode:"+594",code:"GF"},{name:"French Polynesia",dialCode:"+689",code:"PF"},{name:"Gabon",dialCode:"+241",code:"GA"},{name:"Gambia",dialCode:"+220",code:"GM"},{name:"Georgia",dialCode:"+995",code:"GE"},{name:"Germany",dialCode:"+49",code:"DE"},{name:"Ghana",dialCode:"+233",code:"GH"},{name:"Gibraltar",dialCode:"+350",code:"GI"},{name:"Greece",dialCode:"+30",code:"GR"},{name:"Greenland",dialCode:"+299",code:"GL"},{name:"Grenada",dialCode:"+1473",code:"GD"},{name:"Guadeloupe",dialCode:"+590",code:"GP"},{name:"Guam",dialCode:"+1671",code:"GU"},{name:"Guatemala",dialCode:"+502",code:"GT"},{name:"Guernsey",dialCode:"+44",code:"GG"},{name:"Guinea",dialCode:"+224",code:"GN"},{name:"Guinea-Bissau",dialCode:"+245",code:"GW"},{name:"Guyana",dialCode:"+592",code:"GY"},{name:"Haiti",dialCode:"+509",code:"HT"},{name:"Holy See (Vatican City State)",dialCode:"+379",code:"VA"},{name:"Honduras",dialCode:"+504",code:"HN"},{name:"Hong Kong",dialCode:"+852",code:"HK"},{name:"Hungary",dialCode:"+36",code:"HU"},{name:"Iceland",dialCode:"+354",code:"IS"},{name:"India",dialCode:"+91",code:"IN"},{name:"Indonesia",dialCode:"+62",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dialCode:"+98",code:"IR"},{name:"Iraq",dialCode:"+964",code:"IQ"},{name:"Ireland",dialCode:"+353",code:"IE"},{name:"Isle of Man",dialCode:"+44",code:"IM"},{name:"Israel",dialCode:"+972",code:"IL"},{name:"Italy",dialCode:"+39",code:"IT"},{name:"Jamaica",dialCode:"+1876",code:"JM"},{name:"Japan",dialCode:"+81",code:"JP"},{name:"Jersey",dialCode:"+44",code:"JE"},{name:"Jordan",dialCode:"+962",code:"JO"},{name:"Kazakhstan",dialCode:"+77",code:"KZ"},{name:"Kenya",dialCode:"+254",code:"KE"},{name:"Kiribati",dialCode:"+686",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dialCode:"+850",code:"KP"},{name:"Korea, Republic of South Korea",dialCode:"+82",code:"KR"},{name:"Kuwait",dialCode:"+965",code:"KW"},{name:"Kyrgyzstan",dialCode:"+996",code:"KG"},{name:"Laos",dialCode:"+856",code:"LA"},{name:"Latvia",dialCode:"+371",code:"LV"},{name:"Lebanon",dialCode:"+961",code:"LB"},{name:"Lesotho",dialCode:"+266",code:"LS"},{name:"Liberia",dialCode:"+231",code:"LR"},{name:"Libyan Arab Jamahiriya",dialCode:"+218",code:"LY"},{name:"Liechtenstein",dialCode:"+423",code:"LI"},{name:"Lithuania",dialCode:"+370",code:"LT"},{name:"Luxembourg",dialCode:"+352",code:"LU"},{name:"Macao",dialCode:"+853",code:"MO"},{name:"Macedonia",dialCode:"+389",code:"MK"},{name:"Madagascar",dialCode:"+261",code:"MG"},{name:"Malawi",dialCode:"+265",code:"MW"},{name:"Malaysia",dialCode:"+60",code:"MY"},{name:"Maldives",dialCode:"+960",code:"MV"},{name:"Mali",dialCode:"+223",code:"ML"},{name:"Malta",dialCode:"+356",code:"MT"},{name:"Marshall Islands",dialCode:"+692",code:"MH"},{name:"Martinique",dialCode:"+596",code:"MQ"},{name:"Mauritania",dialCode:"+222",code:"MR"},{name:"Mauritius",dialCode:"+230",code:"MU"},{name:"Mayotte",dialCode:"+262",code:"YT"},{name:"Mexico",dialCode:"+52",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dialCode:"+691",code:"FM"},{name:"Moldova",dialCode:"+373",code:"MD"},{name:"Monaco",dialCode:"+377",code:"MC"},{name:"Mongolia",dialCode:"+976",code:"MN"},{name:"Montenegro",dialCode:"+382",code:"ME"},{name:"Montserrat",dialCode:"+1664",code:"MS"},{name:"Morocco",dialCode:"+212",code:"MA"},{name:"Mozambique",dialCode:"+258",code:"MZ"},{name:"Myanmar",dialCode:"+95",code:"MM"},{name:"Namibia",dialCode:"+264",code:"NA"},{name:"Nauru",dialCode:"+674",code:"NR"},{name:"Nepal",dialCode:"+977",code:"NP"},{name:"Netherlands",dialCode:"+31",code:"NL"},{name:"Netherlands Antilles",dialCode:"+599",code:"AN"},{name:"New Caledonia",dialCode:"+687",code:"NC"},{name:"New Zealand",dialCode:"+64",code:"NZ"},{name:"Nicaragua",dialCode:"+505",code:"NI"},{name:"Niger",dialCode:"+227",code:"NE"},{name:"Nigeria",dialCode:"+234",code:"NG"},{name:"Niue",dialCode:"+683",code:"NU"},{name:"Norfolk Island",dialCode:"+672",code:"NF"},{name:"Northern Mariana Islands",dialCode:"+1670",code:"MP"},{name:"Norway",dialCode:"+47",code:"NO"},{name:"Oman",dialCode:"+968",code:"OM"},{name:"Pakistan",dialCode:"+92",code:"PK"},{name:"Palau",dialCode:"+680",code:"PW"},{name:"Palestinian Territory, Occupied",dialCode:"+970",code:"PS"},{name:"Panama",dialCode:"+507",code:"PA"},{name:"Papua New Guinea",dialCode:"+675",code:"PG"},{name:"Paraguay",dialCode:"+595",code:"PY"},{name:"Peru",dialCode:"+51",code:"PE"},{name:"Philippines",dialCode:"+63",code:"PH"},{name:"Pitcairn",dialCode:"+872",code:"PN"},{name:"Poland",dialCode:"+48",code:"PL"},{name:"Portugal",dialCode:"+351",code:"PT"},{name:"Qatar",dialCode:"+974",code:"QA"},{name:"Romania",dialCode:"+40",code:"RO"},{name:"Russia",dialCode:"+7",code:"RU"},{name:"Rwanda",dialCode:"+250",code:"RW"},{name:"Reunion",dialCode:"+262",code:"RE"},{name:"Saint Barthelemy",dialCode:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dialCode:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dialCode:"+1869",code:"KN"},{name:"Saint Lucia",dialCode:"+1758",code:"LC"},{name:"Saint Martin",dialCode:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dialCode:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dialCode:"+1784",code:"VC"},{name:"Samoa",dialCode:"+685",code:"WS"},{name:"San Marino",dialCode:"+378",code:"SM"},{name:"Sao Tome and Principe",dialCode:"+239",code:"ST"},{name:"Saudi Arabia",dialCode:"+966",code:"SA"},{name:"Senegal",dialCode:"+221",code:"SN"},{name:"Serbia",dialCode:"+381",code:"RS"},{name:"Seychelles",dialCode:"+248",code:"SC"},{name:"Sierra Leone",dialCode:"+232",code:"SL"},{name:"Singapore",dialCode:"+65",code:"SG"},{name:"Slovakia",dialCode:"+421",code:"SK"},{name:"Slovenia",dialCode:"+386",code:"SI"},{name:"Solomon Islands",dialCode:"+677",code:"SB"},{name:"Somalia",dialCode:"+252",code:"SO"},{name:"South Africa",dialCode:"+27",code:"ZA"},{name:"South Sudan",dialCode:"+211",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dialCode:"+500",code:"GS"},{name:"Spain",dialCode:"+34",code:"ES"},{name:"Sri Lanka",dialCode:"+94",code:"LK"},{name:"Sudan",dialCode:"+249",code:"SD"},{name:"Suriname",dialCode:"+597",code:"SR"},{name:"Svalbard and Jan Mayen",dialCode:"+47",code:"SJ"},{name:"Swaziland",dialCode:"+268",code:"SZ"},{name:"Sweden",dialCode:"+46",code:"SE"},{name:"Switzerland",dialCode:"+41",code:"CH"},{name:"Syrian Arab Republic",dialCode:"+963",code:"SY"},{name:"Taiwan",dialCode:"+886",code:"TW"},{name:"Tajikistan",dialCode:"+992",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dialCode:"+255",code:"TZ"},{name:"Thailand",dialCode:"+66",code:"TH"},{name:"Timor-Leste",dialCode:"+670",code:"TL"},{name:"Togo",dialCode:"+228",code:"TG"},{name:"Tokelau",dialCode:"+690",code:"TK"},{name:"Tonga",dialCode:"+676",code:"TO"},{name:"Trinidad and Tobago",dialCode:"+1868",code:"TT"},{name:"Tunisia",dialCode:"+216",code:"TN"},{name:"Turkey",dialCode:"+90",code:"TR"},{name:"Turkmenistan",dialCode:"+993",code:"TM"},{name:"Turks and Caicos Islands",dialCode:"+1649",code:"TC"},{name:"Tuvalu",dialCode:"+688",code:"TV"},{name:"Uganda",dialCode:"+256",code:"UG"},{name:"Ukraine",dialCode:"+380",code:"UA"},{name:"United Arab Emirates",dialCode:"+971",code:"AE"},{name:"United Kingdom",dialCode:"+44",code:"GB"},{name:"Uruguay",dialCode:"+598",code:"UY"},{name:"Uzbekistan",dialCode:"+998",code:"UZ"},{name:"Vanuatu",dialCode:"+678",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dialCode:"+58",code:"VE"},{name:"Vietnam",dialCode:"+84",code:"VN"},{name:"Virgin Islands, British",dialCode:"+1284",code:"VG"},{name:"Virgin Islands, U.S.",dialCode:"+1340",code:"VI"},{name:"Wallis and Futuna",dialCode:"+681",code:"WF"},{name:"Yemen",dialCode:"+967",code:"YE"},{name:"Zambia",dialCode:"+260",code:"ZM"},{name:"Zimbabwe",dialCode:"+263",code:"ZW"}].sort((t,e)=>t.name<e.name?-1:1)];const js=({code:t,dialCode:e,name:i})=>`\n\t<div\n\t\tdata-id="${e}"\n\t\tdata-name="${t} ${e} ${i}"\n\t\tdata-country-code="${t}"\n\t>\n\t\t<div>\n\t\t\t<span>\n\t\t\t\t<img src="${(t=>`https://static.descope.com/npm/svg-country-flags@1.2.10/svg/${t.toLowerCase()}.svg`)(t)}" width="20"/>\n\t\t\t</span>\n\t\t\t<span>${i}</span>\n\t\t</div>\n\t\t<div>\n\t\t\t<span>${t}</span>\n\t\t\t<span>${e}</span>\n\t\t</div>\n\t</div>\n`,Ts=qt("phone-field-internal"),zs=["disabled","size","bordered","readonly"],Ds=["country-input-placeholder","default-code","restrict-countries"],Ss=["phone-input-placeholder","maxlength","autocomplete","name","phone-input-type"],vs=["label-type","country-input-label","label"],Ls={"country-input-label":"label","country-input-placeholder":"placeholder","phone-input-placeholder":"placeholder","phone-input-type":"type"},Cs=[].concat(zs,Ds,Ss,vs),As=ci({componentName:Ts,baseSelector:"div"});customElements.define(Ts,class extends As{static get observedAttributes(){return[].concat(As.observedAttributes||[],Cs)}#gt;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n >\n ${xs.map(t=>js(t)).join("")}\n </descope-combo-box>\n <div class="separator"></div>\n <descope-text-field type="tel"></descope-text-field>\n </div>\n `,this.comboBox=this.querySelector("descope-combo-box"),this.textField=this.querySelector("descope-text-field"),this.inputs=[this.comboBox,this.textField],te(this,this.comboBox,{includeAttrs:["label-type"]}),te(this,this.textField,{includeAttrs:["label-type","required","phone-input-type"],mapAttrs:{"phone-input-type":"type"}}),this.comboBox.customValueTransformFn=t=>{const[,e]=t?.split?.(" ")||[];return e}}get countryCodeInputData(){return this.comboBox.items}get countryCodeValue(){return this.comboBox.shadowRoot.querySelector("input").value}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get defaultCode(){return this.getAttribute("default-code")}get selectionStart(){return this.textField.selectionStart}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get selectedCountryCode(){return this.comboBox?.selectedItem?.getAttribute("data-country-code")}get restrictCountries(){const t=this.getAttribute("restrict-countries");return t?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){return this.comboBox.value&&this.textField.value?this.allowAlphanumericInput?`${this.comboBox.value}-${this.textField.value}`:`${this.comboBox.value}-${this.textField.value.replace(/\D+/g,"")}`:""}#Mt(){this.comboBox.selectedItem=void 0,this.textField.value=""}set value(t){if(!t||!/\d/.test(t))return void this.#Mt();t.startsWith("+")||(t=`+${t}`);let e="",i="";if(t.includes("-")){const o=t.indexOf("-");e=t.slice(0,o),i=t.slice(o+1).replace(/\D+/g,"")}else{const o=(0,u.l)(t);o?.countryCallingCode&&(e=`+${o.countryCallingCode}`,i=t.slice(e.length).replace(/\D+/g,""))}if(!/\d/.test(e))return void this.#Mt();const o=xs.filter(t=>t.dialCode===e).map(t=>t.code),r=this.selectedCountryCode;if(!o.includes(r)){const t=this.comboBox.items?.find(t=>o.includes(t.getAttribute("data-country-code")));t&&(this.comboBox.selectedItem=t)}this.isFormatValue?this.textField.value=this.#mt(i):this.textField.value=i}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[1].focus()}),super.init?.(),this.#yt()}getValidity(){const t=this.comboBox.value,e=this.textField.value,i=!t||!e,o=e&&e.length>=this.minLength;if(this.isRequired&&i)return{valueMissing:!0};if(this.value){if(!o)return{tooShort:!0};if(this.isStrictValidation&&!this.#bt())return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i){if("default-code"===t&&i&&!this.selectedCountryCode)this.#Nt(i);else if(Cs.includes(t)){const e=Ls[t]||t;zs.includes(t)?i?this.inputs.forEach(t=>t.setAttribute(e,i)):this.inputs.forEach(t=>t.removeAttribute(e)):Ds.includes(t)?this.comboBox.setAttribute(e,i):Ss.includes(t)&&this.textField.setAttribute(e,i)}vs.includes(t)&&this.#It(t,i),"restrict-countries"===t&&this.#xt(this.restrictCountries)}}#yt(){this.textField.addEventListener("input",t=>{if(!this.allowAlphanumericInput){const e=/^\d$/,i=t.target.value.split("").filter(t=>e.test(t)).join("");t.target.value=i}}),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}#mt(t=""){return this.#gt&&this.#gt.country===this.selectedCountryCode||(this.#gt=new p.Q(this.selectedCountryCode)),this.#gt.reset(),this.#gt.input(t)||t}#bt(){const t=(0,u.l)(this.value);return!!(t&&t.isValid?.()&&t.country&&this.#jt(t.country))}#jt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#Tt(t){return this.comboBox.items?.find(e=>e.getAttribute("data-country-code")===t)}#xt(t){const e=t.length?xs.filter(e=>t.includes(e.code)):xs;this.querySelector("descope-combo-box").innerHTML=e.map(t=>js(t)).join("")}#Nt(t){if(!this.comboBox.value){const e=this.#Tt(t);e&&setTimeout(()=>{this.comboBox.selectedItem=e})}}#It(t,e){const i=Ls[t]||t;"label-type"===t?this.#zt(e):"floating"===this.getAttribute("label-type")&&("country-input-label"===t?this.comboBox.setAttribute(i,e):"label"===t&&this.textField.setAttribute(i,e))}#zt(t){"floating"===t?(this.comboBox.setAttribute("label",this.getAttribute("country-input-label")||""),this.comboBox.setAttribute("placeholder",this.getAttribute("country-input-placeholder")||""),this.textField.setAttribute("label",this.getAttribute("label")||""),this.textField.setAttribute("placeholder",this.getAttribute("phone-input-placeholder")||"")):this.inputs.forEach(t=>t.removeAttribute("label"))}});const ws=_r.cssVarList,fs=xo.cssVarList,Es=qt("phone-field"),{host:ks,label:Os,requiredIndicator:Vs,inputField:Ws,internalAfter:Ys,countryCodeInput:Us,phoneInput:Rs,separator:Qs,errorMessage:Zs,helperText:Bs}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:"::part(input-field)"},internalAfter:{selector:"descope-phone-field-internal::after"},phoneInput:{selector:()=>"descope-text-field"},countryCodeInput:{selector:()=>"descope-combo-box"},separator:{selector:"descope-phone-field-internal .separator"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Ps=Pt(Ze({mappings:{fontSize:[ks,Ws,{selector:_r.componentName,property:_r.cssVarList.fontSize},{selector:xo.componentName,property:xo.cssVarList.fontSize}],fontFamily:[Os,Zs,Bs,{...Us,property:xo.cssVarList.overlay.fontFamily}],hostWidth:[{...ks,property:"width"},{...Rs,property:"width"},{...Us,property:"--vaadin-combo-box-overlay-width"}],hostDirection:{...ks,property:"direction"},inputBorderStyle:[{...Ys,property:"border-style"},{...Qs,property:"border-left-style"}],inputBorderWidth:[{...Ys,property:"border-width"},{...Qs,property:"border-left-width"}],inputBorderColor:[{...Ys,property:"border-color"},{...Qs,property:"border-left-color"}],inputBorderRadius:[{...Ws,property:"border-radius"},{...Ys,property:"border-radius"}],countryCodeInputWidth:{...Us,property:fs.hostWidth},countryCodeDropdownWidth:{...Us,property:"--vaadin-combo-box-overlay-width"},phoneInputWidth:{...Rs,property:"width"},horizontalPadding:[{...Rs,property:"padding-left"},{...Rs,property:"padding-right"},{...Us,property:"padding-left"},{...Us,property:"padding-right"}],labelFontSize:{...Os,property:"font-size"},labelFontWeight:{...Os,property:"font-weight"},inputValueFontWeight:[{...Rs,property:ws.inputValueFontWeight},{...Us,property:fs.inputValueFontWeight}],inputPlaceholderFontWeight:{...Rs,property:ws.inputPlaceholderFontWeight},helperTextFontWeight:{...Bs,property:"font-weight"},errorMessageFontWeight:{...Zs,property:"font-weight"},labelTextColor:[{...Os,property:"color"},{...Os,property:"-webkit-text-fill-color"},{...Vs,property:"color"}],labelRequiredIndicator:{...Vs,property:"content"},errorMessageTextColor:{...Zs,property:"color"},errorMessageIcon:{...Zs,property:"background-image"},errorMessageIconSize:{...Zs,property:"background-size"},errorMessageIconPadding:{...Zs,property:"padding-inline-start"},errorMessageIconRepeat:{...Zs,property:"background-repeat"},errorMessageIconPosition:{...Zs,property:"background-position"},errorMessageFontSize:{...Zs,property:"font-size"},inputValueTextColor:[{...Rs,property:ws.inputValueTextColor},{...Us,property:fs.inputValueTextColor}],inputPlaceholderTextColor:{...Rs,property:ws.inputPlaceholderColor},overlayItemBackgroundColor:{selector:"descope-combo-box",property:fs.overlayItemBackgroundColor},inputOutlineStyle:{...Ws,property:"outline-style"},inputOutlineColor:{...Ws,property:"outline-color"},inputOutlineWidth:{...Ws,property:"outline-width"},inputOutlineOffset:{...Ws,property:"outline-offset"},valueInputHeight:[{...Us,property:fs.valueInputHeight}],valueInputMarginBottom:[{...Rs,property:ws.valueInputMarginBottom}],marginInlineStart:[{...Rs,property:ws.marginInlineStart},{...Us,property:fs.marginInlineStart}]}}),Be,di,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return xs}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Ts}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Ts}>\n \t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Ts),te(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","bordered","minlength","maxlength","default-code","country-input-placeholder","phone-input-placeholder","disabled","restrict-countries","country-input-label","readonly","label","label-type","allow-alphanumeric-input","format-value","strict-validation","phone-input-type"]})}get countryCodeItems(){return this.inputElement?.countryCodeValue}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}get countryCodeInputData(){return this.inputElement?.countryCodeInputData}get countryCodes(){return Array.from(this.inputElement.countryCodeInputData).map(t=>t.getAttribute("data-country-code"))}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 15em;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\t${ge(Ps.cssVarList)}\n\t\t\t${ye("vaadin-text-field")}\n\t\t\t${Ne("vaadin-text-field")}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n\t\t\tdiv {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\tvaadin-text-field {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-text-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\t\t\tvaadin-text-field::part(label) {\n margin-left: 0;\n margin-right: 0;\n }\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tpadding: 0;\n\t\t\t\tbackground: transparent;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\t\t\tdescope-phone-field-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n direction: ltr;\n position: relative;\n\t\t\t}\n descope-phone-field-internal::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n outline-offset: calc(var(${Ps.cssVarList.inputBorderWidth}) * -1);\n pointer-events: none;\n }\n\t\t\tdescope-phone-field-internal > div {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t\tdescope-phone-field-internal .separator {\n\t\t\t\tflex: 0;\n\t\t\t\tborder: none;\n\t\t\t}\n\n\t\t\tdescope-combo-box {\n\t\t\t\tflex-shrink: 0;\n min-width: 5.75em;\n\t\t\t\t${fs.inputOutlineWidth}: 0;\n\t\t\t\t${fs.inputOutlineOffset}: 0;\n\t\t\t\t${fs.inputBorderWidth}: 0;\n\t\t\t\t${fs.inputBorderRadius}: 0;\n\t\t\t}\n\t\t\tdescope-text-field {\n\t\t\t\tflex-grow: 1;\n\t\t\t\t${ws.inputOutlineWidth}: 0;\n\t\t\t\t${ws.inputOutlineOffset}: 0;\n\t\t\t\t${ws.inputBorderWidth}: 0;\n\t\t\t\t${ws.inputBorderRadius}: 0;\n }\n\n :host([label-type="floating"]) vaadin-text-field::part(label) {\n display: none;\n }\n descope-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n descope-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field::part(input-field)::after {\n\t\t\t\tborder: none;\n\t\t\t}\n ${xe("vaadin-text-field")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Es}));customElements.define(Es,Ps);const Fs=qt("phone-field-internal-input-box"),Gs=["disabled","size","readonly","phone-input-placeholder","name","maxlength","autocomplete","label-type","phone-input-type"],Hs={"phone-input-placeholder":"placeholder","phone-input-type":"type"},Js=ci({componentName:Fs,baseSelector:"div"});customElements.define(Fs,class extends Js{static get observedAttributes(){return[].concat(Js.observedAttributes||[],Gs)}#gt;constructor(){super(),this.innerHTML='\n <div>\n <descope-text-field tabindex="1" type="tel" bordered="false"></descope-text-field>\n </div>\n ',this.textField=this.querySelector("descope-text-field")}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get defaultDialCode(){return t=this.getAttribute("default-code"),xs.find(e=>e.code===t)?.dialCode;var t}get defaultCode(){return this.getAttribute("default-code")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get maxLength(){return parseInt(this.getAttribute("maxlength"),10)||50}get restrictCountries(){return this.getAttribute("restrict-countries")?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){if(!this.textField.value)return"";if(!this.isStrictValidation)return this.#Dt();const t=this.#St();return t?.country&&t?.countryCallingCode&&t?.nationalNumber?`+${[t?.countryCallingCode,t?.nationalNumber].join("-")}`:this.textField.value}set value(t){this.textField.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.textField.focus()}),super.init?.(),this.textField.addEventListener("input",this.#vt.bind(this)),this.handleFocusEventsDispatching([this.textField]),w(this.textField,this,{includeAttrs:["has-value"]}),w(this,this.textField,{includeAttrs:["phone-input-type"],mapAttrs:{"phone-input-type":"type"}})}getValidity(){const t=/^\+?\d{1,4}-?(?:\d-?){1,15}$/,e=this.#Lt(this.textField.value||"");if(this.isRequired&&!this.textField.value)return{valueMissing:!0};if(this.textField.value){if(e.length<this.minLength)return{tooShort:!0};if(this.isStrictValidation&&this.textField.value&&!this.#bt()||!this.isStrictValidation&&this.textField.value&&!t.test(this.value))return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i&&Gs.includes(t)){const e=Hs[t]||t;this.textField.setAttribute(e,i)}}#vt(t){let e=this.#Ct(t.target.value);this.isFormatValue&&this.#At(e)&&(e=this.#wt(e)),t.target.value=e}#Dt(){if(!this.defaultDialCode)return this.textField.value;const t=this.#ft(this.textField.value),e=this.#Lt(t);return[this.defaultDialCode,e].join("-")}#St(){return this.defaultDialCode?(0,u.l)([this.defaultDialCode,this.#Lt(this.textField.value)].filter(Boolean).join("")):(0,u.l)(this.textField.value)}#Lt(t){return t.replace(/\D/g,"")}#ft(t){if("+"===this.textField.value?.[0]){const e=new RegExp(`^\\${this.defaultDialCode}`);return t.replace(e,"")}return t}#bt(){const t=(0,u.l)(this.value);return!(!t||!t.isValid?.()||!t.country||!this.#jt(t.country)||this.defaultCode&&this.defaultCode!==t.country)}#jt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#Ct(t){if(t=t.replace(/^-+/,"").replace(/(?!^)\+/g,"").replace("--","-").replace("+-","+"),!this.allowAlphanumericInput){const e=/^[+\d-\(\)]+$/;t=t.split("").filter(t=>e.test(t)).join("")}return t}#wt(t=""){const e=this.defaultCode||this.#Et(t);return e?(this.#gt&&this.#gt.country===e||(this.#gt=new p.Q(e)),this.#gt.reset(),this.#gt.input(t)||t):t}#Et(t){const e=(0,u.l)(t);return e?.country||""}#At(t){return!!(t=>{const e=t.match(/\(/g),i=t.match(/\)/g);return e?.length===i?.length})(t)}});const $s=_r.cssVarList,_s=qt("phone-input-box-field"),{host:Xs,label:qs,inputElement:Ks,requiredIndicator:ta,inputField:ea,internalComponent:ia,internalComponentAfter:oa,phoneInput:ra,errorMessage:na,helperText:sa}={host:{selector:()=>":host"},label:{selector:"::part(label)"},inputElement:{selector:"input"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:()=>"vaadin-text-field::part(input-field)"},internalComponent:{selector:"descope-phone-field-internal-input-box"},internalComponentAfter:{selector:"descope-phone-field-internal-input-box::after"},phoneInput:{selector:()=>"descope-text-field"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},aa=Pt(Ze({mappings:{fontSize:[Xs,ea,{selector:_r.componentName,property:_r.cssVarList.fontSize}],fontFamily:[qs,na,sa],hostWidth:{...Xs,property:"width"},hostMinWidth:{...Xs,property:"min-width"},hostDirection:{...Xs,property:"direction"},inputHorizontalPadding:[{...ra,property:"padding-left"},{...ra,property:"padding-right"}],labelFontSize:{...qs,property:"font-size"},labelFontWeight:{...qs,property:"font-weight"},inputValueFontWeight:{...ra,property:$s.inputValueFontWeight},inputPlaceholderFontWeight:{...ra,property:$s.inputPlaceholderFontWeight},helperTextFontWeight:{...sa,property:"font-weight"},errorMessageFontWeight:{...na,property:"font-weight"},labelTextColor:[{...qs,property:"color"},{...qs,property:"-webkit-text-fill-color"},{...ta,property:"color"}],labelRequiredIndicator:{...ta,property:"content"},errorMessageTextColor:{...na,property:"color"},errorMessageIcon:{...na,property:"background-image"},errorMessageIconSize:{...na,property:"background-size"},errorMessageIconPadding:{...na,property:"padding-inline-start"},errorMessageIconRepeat:{...na,property:"background-repeat"},errorMessageIconPosition:{...na,property:"background-position"},errorMessageFontSize:{...na,property:"font-size"},inputValueTextColor:{...ra,property:$s.inputValueTextColor},inputPlaceholderTextColor:{...ra,property:$s.inputPlaceholderColor},inputBorderStyle:{...oa,property:"border-style"},inputBorderWidth:{...oa,property:"border-width"},inputBorderColor:{...oa,property:"border-color"},inputBorderRadius:[{...ia,property:"border-radius"},{...oa,property:"border-radius"}],inputOutlineStyle:{...ia,property:"outline-style"},inputOutlineColor:{...ia,property:"outline-color"},inputOutlineWidth:{...ia,property:"outline-width"},inputOutlineOffset:{...ia,property:"outline-offset"},labelPosition:{...qs,property:"position"},labelTopPosition:{...qs,property:"top"},labelHorizontalPosition:[{...qs,property:"left"},{...qs,property:"right"}],inputTransformY:{...qs,property:"transform"},inputTransition:{...qs,property:"transition"},marginInlineStart:{...qs,property:"margin-inline-start"},valueInputHeight:{...Ks,property:"height"},valueInputMarginBottom:{selector:_r.componentName,property:$s.valueInputMarginBottom}}}),Be,di,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return xs}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Fs}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Fs}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Fs),L(this,this.inputElement,{includeAttrs:["has-value"]}),te(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","minlength","maxlength","default-code","disabled","phone-input-placeholder","label","label-type","allow-alphanumeric-input","restrict-countries","format-value","strict-validation","data-errormessage-type-mismatch","phone-input-type"]})}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n box-sizing: border-box;\n }\n ${ge(aa.cssVarList)}\n ${ye("vaadin-text-field")}\n ${Ne("vaadin-text-field")}\n \n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n vaadin-text-field {\n width: 100%;\n box-sizing: border-box;\n padding: 0;\n }\n vaadin-text-field[focus-ring]::part(input-field) {\n box-shadow: none;\n }\n vaadin-text-field::before {\n height: 0;\n }\n vaadin-text-field::part(input-field) {\n padding: 0;\n background: transparent;\n -webkit-mask-image: none;\n }\n descope-phone-field-internal-input-box {\n -webkit-mask-image: none;\n padding: 0;\n width: 100%;\n }\n descope-phone-field-internal-input-box > div {\n width: 100%;\n }\n descope-phone-field-internal-input-box descope-text-field {\n ${$s.inputOutlineWidth}: 0;\n ${$s.inputOutlineOffset}: 0;\n }\n descope-phone-field-internal-input-box::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n pointer-events: none;\n }\n descope-text-field {\n flex-grow: 1;\n width: 100%;\n direction: ltr;\n }\n vaadin-text-field[readonly] > input:placeholder-shown {\n opacity: 1;\n }\n vaadin-text-field::part(input-field)::after {\n border: none;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] input:placeholder-shown {\n opacity: 0;\n }\n\n ${xe("vaadin-text-field")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:_s}));customElements.define(_s,aa);const la=qt("new-password-internal"),da=(t,e)=>t.replace(/{{(\w+)+}}/g,(t,i)=>e?.[i]||t),ca=qt("policy-validation"),ua=["data","active-policies","overrides","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-actual-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email"],pa=["label","value",...ua];class ha extends($e({componentName:ca,baseSelector:":host > div"})){#kt;#Ot=[];#Vt;static get observedAttributes(){return pa}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="label"></div>\n <ul></ul>\n </div>\n\t\t',f("\n :host > div {\n width: 100%;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n }\n .label {\n max-width: 100%;\n text-wrap: wrap;\n overflow-wrap: break-word;\n }\n .hide-label .label {\n display: none;\n }\n ul {\n display: flex;\n flex-direction: column;\n padding: 0;\n margin: 0;\n }\n ul, li {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n li::before {\n display: inline-block;\n width: 1em;\n text-align: center;\n }\n ",this),this.panel=this.shadowRoot.querySelector(":host > div"),this.label=this.shadowRoot.querySelector(".label"),this.list=this.shadowRoot.querySelector("ul")}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("label"===t&&this.updateLabel(i),ua.includes(t)){if("data"===t)try{this.availablePolicies=JSON.parse(i)}catch{console.error("Failed to set available policies")}if("active-policies"===t&&(this.#Ot=(i||"").split(",")),"data-password-policy-value-minlength"===t){const t=Number(i);!Number.isNaN(t)&&t>0&&(this.#Vt={...this.#Vt,minlength:{value:`${t}`}})}if("data-password-policy-value-passwordstrength"===t){const t=parseInt(i);!Number.isNaN(t)&&t>=0&&(this.#Vt={...this.#Vt,passwordstrength:{...this.#Vt?.passwordstrength,expected:t}})}if("data-password-policy-actual-passwordstrength"===t){const t=Number(i);!Number.isNaN(t)&&t>=0&&(this.#Vt={...this.#Vt,passwordstrength:{...this.#Vt?.passwordstrength,actual:t}})}if("data-password-policy-value-disallowedchars"===t)if(i)this.#Vt={...this.#Vt,disallowedchars:{...this.#Vt?.disallowedchars,value:i}};else if(this.#Vt?.disallowedchars){const{disallowedchars:t,...e}=this.#Vt;this.#Vt=e}if("data-password-policy-value-email"===t)if(i)this.#Vt={...this.#Vt,disallowemail:{...this.#Vt?.disallowemail,expected:i}};else if(this.#Vt?.disallowemail){const{disallowemail:t,...e}=this.#Vt;this.#Vt=e}}this.renderItems(this.#kt,this.#Ot,this.#Vt)}}get availablePolicies(){return this.#kt||[]}set availablePolicies(t){this.#kt=t}get value(){return this.getAttribute("value")||""}getStrengthScore(){return this.value.length}compareValues(t,e,i){switch(t.toUpperCase()){case"GTE":return i>=e;case"GT":return i>e;case"LTE":return i<=e;case"LT":return i<e;case"EQ":return i===e;case"NEQ":return i!==e;default:throw new Error(`Invalid comparison type: ${t}`)}}validate(){let t=this.#kt;return this.#Vt&&(t=this.#kt.map(t=>{const e=this.#Vt[t.id];return e?{...t,data:e}:t})),this.#Ot.reduce((e,i)=>{const o=t.find(t=>t.id===i);if(!o)return e;const{pattern:r,message:n,data:s,compare:a}=o,l="string"==typeof a?a.toUpperCase():a;if(!r&&!a||!n)return e;const d={message:da(n,s),id:i};if(r){const t=new RegExp(da(r,s));d.valid=t.test(this.value)}else if("STR_NEQ_CI"===l){const t=(s?.expected??"").toLowerCase(),e=(this.value??"").toLowerCase();if(t&&e){const i=t.indexOf("@"),o=i>0?t.slice(0,i):t;d.valid=e!==t&&e!==o}else d.valid=!0}else a&&(d.valid=this.compareValues(l,s?.expected??-1,s?.actual??-1));return e.push(d),e},[])}get isValid(){return!this.validate().some(({valid:t})=>!1===t)}buildValidationItem({valid:t,message:e}){const i=this.value?t:"none",o=document.createElement("li");o.className="item",o.dataset.valid=i;const r=document.createElement("span");return r.className="message",r.textContent=e??"",o.appendChild(r),o}renderItems(t,e){t&&e.length&&this.list.replaceChildren(...this.validate().map(this.buildValidationItem.bind(this)))}updateLabel(t){t?(this.label.textContent=t,this.classList.remove("hide-label")):(this.classList.add("hide-label"),this.label.textContent="")}}const{host:ga,item:Ma,symbolDefault:ma,symbolSuccess:ya,symbolError:ba}={host:{selector:()=>":host > div"},item:{selector:()=>".item"},symbolDefault:{selector:()=>'.item[data-valid="none"]::before'},symbolSuccess:{selector:()=>'.item[data-valid="true"]::before'},symbolError:{selector:()=>'.item[data-valid="false"]::before'}},Na=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},padding:{},borderWidth:{...ga,property:"border-width"},borderStyle:{...ga,property:"border-style"},borderColor:{...ga,property:"border-color"},borderRadius:{...ga,property:"border-radius"},backgroundColor:{...ga,property:"background-color"},textColor:{property:"color"},labelMargin:{...ga,property:"gap"},itemsSpacing:{...Ma,property:"line-height"},itemSymbolSuccessColor:{...ya,property:"color"},itemSymbolErrorColor:{...ba,property:"color"},itemSymbolDefault:{...ma,property:"content"},itemSymbolSuccess:{...ya,property:"content"},itemSymbolError:{...ba,property:"content"}}}),Be,Pe)(ha),Ia=qt("new-password"),xa=Na.cssVarList,{host:ja,label:Ta,internalInputsWrapper:za,errorMessage:Da,helperText:Sa,passwordInput:va,policyPreview:La}={host:{selector:()=>":host"},label:{selector:"::part(label)"},internalInputsWrapper:{selector:"descope-new-password-internal .wrapper"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},passwordInput:{selector:"descope-password"},policyPreview:{selector:"descope-policy-validation"}},Ca=Pt(Ze({mappings:{fontSize:[ja,{},{selector:cs.componentName,property:cs.cssVarList.fontSize}],fontFamily:[Ta,Da,Sa],labelFontSize:{...Ta,property:"font-size"},labelFontWeight:{...Ta,property:"font-weight"},inputValueFontWeight:{...va,property:cs.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{...va,property:cs.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{...Sa,property:"font-weight"},errorMessageFontWeight:{...Da,property:"font-weight"},labelTextColor:{...Ta,property:"color"},errorMessageTextColor:{...Da,property:"color"},errorMessageIcon:{...Da,property:"background-image"},errorMessageIconSize:{...Da,property:"background-size"},errorMessageIconPadding:{...Da,property:"padding-inline-start"},errorMessageIconRepeat:{...Da,property:"background-repeat"},errorMessageIconPosition:{...Da,property:"background-position"},errorMessageFontSize:{...Da,property:"font-size"},hostWidth:{...ja,property:"width"},hostMinWidth:{...ja,property:"min-width"},hostDirection:[{...ja,property:"direction"},{...va,property:cs.cssVarList.hostDirection}],inputsRequiredIndicator:{...ja,property:"content"},spaceBetweenInputs:{...za,property:"gap"},policyPreviewBackgroundColor:{...La,property:xa.backgroundColor},policyPreviewPadding:{...La,property:xa.padding},valueInputHeight:{...va,property:cs.cssVarList.valueInputHeight},valueInputMarginBottom:{...va,property:cs.cssVarList.valueInputMarginBottom}}}),Be,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{init(){super.init?.();const t=document.createElement("template"),e=this.getAttribute("external-input");t.innerHTML=`\n\t\t\t<${la}\n\t\t\t\tname="new-password"\n\t\t\t\ttabindex="-1"\n\t\t\t\tslot="input"\n external-input="${e}"\n\t\t\t>\n </${la}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(la),"true"===this.getAttribute("external-input")&&this.initExternalInput(),te(this,this.inputElement,{includeAttrs:["password-label","password-placeholder","confirm-label","confirm-placeholder","full-width","size","bordered","label","has-confirm","invalid","readonly","disabled","draggable","has-validation","policy-label","active-policies","available-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","label-type","manual-visibility-toggle"]})}createSlottedExternalInput(t,e){const i=t.querySelector("input"),o=document.createElement("slot"),r=i.getAttribute("slot");o.setAttribute("name",e),o.setAttribute("slot",r),t.appendChild(o),i.setAttribute("slot",e),i.setAttribute("name",this.getAttribute("name")),i.setAttribute("data-hidden-input","true"),this.appendChild(i)}initExternalInput(){this.passwordInput=this.inputElement.querySelector('[data-id="password"]'),this.confirmInput=this.inputElement.querySelector('[data-id="confirm"]'),this.createSlottedExternalInput(this.passwordInput,"external-password-input"),this.createSlottedExternalInput(this.confirmInput,"external-confirm-input")}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t\tmax-width: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t}\n :host ::part(error-message) {\n direction: ltr;\n }\n\t\t${ge(cs.cssVarList)}\n\t\tvaadin-text-field {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t\tvaadin-text-field::part(input-field) {\n\t\t\tmin-height: 0;\n\t\t\tbackground: transparent;\n\t\t\tbox-shadow: none;\n\t\t\tpadding: 0;\n\t\t}\n\t\tvaadin-text-field::part(input-field)::after {\n\t\t\tbackground: transparent;\n\t\t\topacity: 0;\n\t\t}\n\t\tdescope-new-password-internal {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\twidth: 100%;\n\t\t\tpadding: 0;\n\t\t}\n\t\tdescope-new-password-internal > .wrapper {\n -webkit-mask-image: none;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t}\n\t\tdescope-password {\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t}\n\t\tdescope-new-password-internal vaadin-password-field::before {\n\t\t\theight: initial;\n\t\t}\n descope-policy-validation {\n margin-top: 8px;\n display: flex;\n }\n .hidden {\n display: none;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Ia}));customElements.define(ca,Na);const Aa=/^password-/,wa=/^confirm-/,fa=(t,e)=>t.replace(e,""),Ea=["password-label","password-placeholder"],ka=["confirm-label","confirm-placeholder"],Oa=["has-validation","policy-label","available-policies","active-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","manual-visibility-toggle"],Va=["has-confirm","disabled","bordered","size","full-width","maxlength","invalid","readonly","draggable","autocomplete","label-type","manual-visibility-toggle"],Wa=[].concat(Va,Ea,ka,Oa),Ya=ci({componentName:la,baseSelector:"div"});customElements.define(la,class extends Ya{static get observedAttributes(){return[].concat(Ya.observedAttributes||[],Wa)}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper"></div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper")}get value(){return this.passwordInput?.value||""}set value(t){t!==this.value&&(this.passwordInput.value=t)}get hasConfirm(){return"true"===this.getAttribute("has-confirm")}onHasConfirmChange(t){this.confirmInput.classList.toggle("hidden",!t)}onHasValidationChange(t){this.policyPanel.classList.toggle("hidden",!t)}get hasValidation(){return"true"===this.getAttribute("has-validation")}getValidity(){if(this.isRequired&&!this.value)return{valueMissing:!0};if(this.value&&!this.policyPanel.isValid)return{typeMismatch:!0};if(this.hasConfirm&&this.confirmInput&&this.value!==this.confirmInput.value)return{patternMismatch:!0};const t=this.getAttribute("minlength"),e=parseInt(t,10)||0;return this.value.length>=e?{}:{tooShort:!0}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.passwordInput.focus()}),super.init?.(),this.renderInputs(this.hasConfirm,this.hasValidation)}renderInputs(){const t="true"===this.getAttribute("external-input"),e=`\n <div class="password-input-container">\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n data-id="password"\n external-input="${t}"\n ></descope-password>\n <descope-policy-validation></descope-policy-validation>\n </div>\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n external-input="${t}"\n data-id="confirm"\n ></descope-password>\n `;this.wrapperEle.innerHTML=e,this.passwordInput=this.querySelector('[data-id="password"]'),this.confirmInput=this.querySelector('[data-id="confirm"]'),this.policyPanel=this.querySelector("descope-policy-validation"),this.passwordStrength=this.querySelector("descope-password-strength"),this.inputs=[this.passwordInput,this.confirmInput],this.initInputs(),this.passwordInput.addEventListener("input",t=>{this.passwordStrength?.addEventListener("score-changed",({detail:t})=>{this.policyPanel.setAttribute("data-password-policy-actual-passwordstrength",t)},{once:!0}),this.passwordStrength?.setAttribute("value",t.target.value),this.policyPanel.setAttribute("value",t.target.value)}),te(this,this.policyPanel,{includeAttrs:Oa,mapAttrs:{"policy-label":"label","available-policies":"data"}})}handleIndicatorStyle(){this.inputs.forEach(t=>{f(`\n\t\t\t\t:host ::part(required-indicator)::after {\n\t\t\t\t\tcontent: var(${Ca.cssVarList.inputsRequiredIndicator});\n width: 1em;\n text-align: center;\n\t\t\t\t}\n :host ::part(required-indicator) {\n display: inline-flex;\n }\n\t\t\t\t`,t)})}get isInvalid(){return this.hasAttribute("invalid")&&"false"!==this.getAttribute("invalid")}handleInputsInvalidAttribute(){this.inputs.forEach(t=>{t&&Jt(t,e=>{if(e.includes("invalid")){const e=t.getAttribute("invalid"),i=this.getAttribute("invalid");this.isInvalid&&i!==e&&t.setAttribute("invalid","true")}},{})})}initInputs(){this.handleIndicatorStyle(),this.handleInputsInvalidAttribute(),this.handleFocusEventsDispatching(this.inputs)}async togglePasswordStrength(){this.activePolicies.includes("passwordstrength")?this.passwordStrength||(await Promise.resolve().then(function(){return ox}),this.passwordStrength=document.createElement("descope-password-strength"),this.passwordStrength.setAttribute("options","Very weak,Weak,Average,Strong,Very strong"),this.passwordStrength.setAttribute("value",this.passwordInput.value||""),this.passwordStrength.setAttribute("st-host-direction",this.getAttribute("st-host-direction")),this.passwordStrength.setAttribute("full-width","true"),this.querySelector(".password-input-container").insertBefore(this.passwordStrength,this.policyPanel)):this.passwordStrength&&(this.passwordStrength.remove(),this.passwordStrength=null)}get activePolicies(){return(this.getAttribute("active-policies")||"").split(",")}toggleBooleanAttribute(t,e,i){null===i?t?.removeAttribute(e):t?.setAttribute(e,i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("has-validation"===t?this.onHasValidationChange("true"===i):"has-confirm"===t?this.onHasConfirmChange("true"===i):Va.includes(t)?this.inputs.forEach(e=>this.toggleBooleanAttribute(e,t,i)):Ea.includes(t)?this.toggleBooleanAttribute(this.passwordInput,fa(t,Aa),i):ka.includes(t)&&this.toggleBooleanAttribute(this.confirmInput,fa(t,wa),i),"active-policies"===t&&this.togglePasswordStrength())}}),customElements.define(Ia,Ca);const Ua=qt("recaptcha"),Ra=["enabled","site-key","action","enterprise","variant"],Qa=$e({componentName:Ua,baseSelector:":host > div"}),Za=Pt(Be)(class extends Qa{static get observedAttributes(){return Ra.concat(Qa.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("enabled"===t&&this.#Wt("true"===i),"variant"===t&&this.updatePreview())}renderRecaptcha(t){this.children.length?this.updatePreview():this.toggleRecaptchaEles(t)}displayRecaptcha(){this.isWidget?this.displayWidget():this.displayDeprecated()}displayWidget(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="",this.depercatedRecaptchaEle.style.display="none"}hideRecaptcha(){this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display="none",this.mockRecaptchaEle.style.display=""}displayDeprecated(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display=""}toggleRecaptchaEles(t){t?this.displayRecaptcha():this.hideRecaptcha()}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="recaptcha"></span>\n <span id="recaptcha-widget"></span>\n <input id="recaptcha-widget-input" type="hidden" name="recaptcha-widget" required />\n <img src="https://imgs.descope.com/connectors/templates/recaptcha/recaptcha-big.png" alt="recaptcha"/>\n </div>\n <slot></slot>\n\t',f('\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #recaptcha .grecaptcha-badge {\n box-shadow: none !important;\n }\n :host #recaptcha .grecaptcha-logo {\n height: 100%;\n }\n :host #recaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host #recaptcha-widget {\n width: 100%;\n height: 100%;\n }\n :host #recaptcha-widget-input {\n display: none;\n }\n :host img {\n width: 256px;\n }\n :host([full-width="true"]) {\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ',this),this.depercatedRecaptchaEle=this.baseElement.querySelector("#recaptcha"),this.recaptchaWidgetEle=this.baseElement.querySelector("#recaptcha-widget"),this.recaptchaWidgetInputEle=this.baseElement.querySelector("#recaptcha-widget-input"),this.mockRecaptchaEle=this.baseElement.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge")}init(){super.init?.(),$t(this,this.updatePreview.bind(this))}updatePreview(){this.children.length?(this.depercatedRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.mockRecaptchaEle.style.display="none",this.badge.classList.add("hidden")):(this.toggleRecaptchaEles(this.enabled),this.badge.classList.remove("hidden"))}getValidity(){return this.isWidget?this.recaptchaWidgetInputEle.value?{}:{valueMissing:!0}:{}}checkValidity(){return!this.isWidget||!!this.recaptchaWidgetInputEle.value}get enterprise(){return"true"===this.getAttribute("enterprise")}get siteKey(){return this.getAttribute("site-key")}get action(){return this.getAttribute("action")||"load"}get enabled(){return"true"===this.getAttribute("enabled")}get variant(){return this.getAttribute("variant")||"text"}get isWidget(){return"widget"===this.variant}get scriptURL(){const t=new URL("https://www.google.com/recaptcha/");return t.pathname+=(this.enterprise?"enterprise":"api")+".js",t.searchParams.append("onload","onRecaptchaLoadCallback"),t.searchParams.append("render","explicit"),t.toString()}#Wt(t){this.renderRecaptcha(t),this.isWidget||t&&(this.#Yt(),document.getElementById("recaptcha-script")?window.onRecaptchaLoadCallback():this.#Ut())}#Ut(){const t=document.createElement("script");t.src=this.scriptURL,t.async=!0,t.id="recaptcha-script",t.defer=!0,document.body.appendChild(t)}get grecaptchaInstance(){return this.enterprise?window.grecaptcha?.enterprise:window.grecaptcha}#Rt(t,e,i){this.isConnected&&t.ready(()=>{const o=e.querySelector('textarea[name^="g-recaptcha-response"]')?.cloneNode();if(o&&(o.style.display="none",document.body.appendChild(o)),!this.siteKey)return;const r=t?.execute(i,{action:this.action});r.then((r,n)=>{n?console.warn("could not execute recaptcha",n):(this.updateComponentsContext({risktoken:r,riskaction:this.action}),this.isConnected&&setTimeout(()=>{this.#Rt(t,e,i)},11e4)),o.remove()})})}#Yt(){window.onRecaptchaLoadCallback=()=>{const t=this.depercatedRecaptchaEle;if(t.hasChildNodes())return;const{grecaptchaInstance:e}=this;e&&setTimeout(()=>{const i=e.render(t,{sitekey:this.siteKey,badge:"inline",size:"invisible"});this.#Rt(e,t,i)},0)}}});customElements.define(Ua,Za);const Ba=qt("upload-file"),Pa=["title","description","button-label","accept","readonly","button-mode","button-variant","required","size","icon"],Fa=ci({componentName:Ba,baseSelector:":host > div"}),Ga=ko.cssVarList,{host:Ha,wrapper:Ja,icon:$a,title:_a,description:Xa,requiredIndicator:qa}={host:{selector:()=>":host"},wrapper:{selector:()=>":host > div"},icon:{selector:()=>"::slotted(*)"},title:{selector:()=>".title"},description:{selector:()=>".description"},requiredIndicator:{selector:()=>".title::after"}},Ka=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{fontSize:{},fontFamily:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},hostHeight:{...Ha,property:"height"},hostWidth:{...Ha,property:"width"},hostPadding:{property:"padding"},hostDirection:[{...Ha,property:"direction"},{selector:()=>ko.componentName,property:Ga.hostDirection}],gap:{...Ja},lineHeight:{...Ja,property:"line-height"},titleFontSize:{..._a,property:"font-size"},titleFontWeight:{..._a,property:"font-weight"},descriptionFontSize:{...Xa,property:"font-size"},labelTextColor:[{..._a,property:"color"},{...Xa,property:"color"}],iconSize:{...$a,property:"width"},requiredIndicator:{...qa,property:"content"}}}),Be,Pe)(class extends Fa{static get observedAttributes(){return Pa.concat(Fa.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div>\n <slot name="icon"></slot>\n\t\t\t\t<div class="title">\n\t\t\t\t\t<span class="title-text"></span>\n\t\t\t\t</div>\n\t\t\t\t<div class="description"></div>\n\t\t\t\t<div class="button-wrapper">\n\t\t\t\t\t<input type="file" tabindex="-1" aria-labelledby="button"/>\n\t\t\t\t\t<descope-button id="button"></descope-button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t',f("\n :host {\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\ttext-align: center;\n\t\t\t\tflex-direction: column;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.button-wrapper {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: fit-content;\n\t\t\t}\n\t\t\tinput {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\topacity: 0;\n\t\t\t}\n ",this),this.wrapperEle=this.shadowRoot.querySelector(".wrapper"),this.inputElement=this.shadowRoot.querySelector("input"),this.button.onclick=()=>this.inputElement.click(),this.inputElement.onchange=async t=>{const e=t.target.files;var i;e.length&&(this.value=await(i=e[0],new Promise(t=>{const e=new FileReader;e.onload=e=>t(e.target.result),e.readAsDataURL(i)})),this.updateDescription((t=>t.name.replace(/^.*\\/,""))(e[0])))},this.oninvalid=()=>{this.setAttribute("invalid","true")}}getValidity(){return this.isRequired&&!this.input.value?{valueMissing:!0}:(this.removeAttribute("invalid"),{})}initInputs(){this.rootElement.querySelector("descope-button").onclick=()=>this.inputElement.click()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("title"===t?this.updateTitle(i):"description"===t?this.updateDescription(i):"button-label"===t?this.updateButtonLabel(i):"button-mode"===t?this.updateButtonMode(i):"button-variant"===t?this.updateButtonVariant(i):"size"===t?this.updateButtonSize(i):"accept"===t?this.updateInputAccept(i):"readonly"===t&&this.updateReadOnly(i))}get button(){return this.shadowRoot.querySelector("descope-button")}get input(){return this.shadowRoot.querySelector("input")}get title(){return this.shadowRoot.querySelector(".title-text")}get description(){return this.shadowRoot.querySelector(".description")}get icon(){return this.shadowRoot.querySelector(".icon")}updateTitle(t){this.title.textContent=t}updateDescription(t){this.description.textContent=t}updateButtonLabel(t){this.button.textContent=t}updateButtonSize(t){this.button.setAttribute("size",t)}updateButtonMode(t){this.button.setAttribute("mode",t)}updateButtonVariant(t){this.button.setAttribute("variant",t)}updateInputAccept(t){this.input.setAttribute("accept",t)}updateReadOnly(t){"true"===t?this.input.setAttribute("disabled","true"):this.input.removeAttribute("disabled")}});customElements.define(Ba,Ka);const tl=t=>{class e extends(ci({componentName:t,baseSelector:"slot"})){constructor(){super(),this.innerHTML='\n <slot part="wrapper"></slot>\n '}dispatchChange=_e.bind(this,"change");get items(){return this.querySelector("slot").assignedElements()}get isReadonly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"md"}get value(){console.warn("get value","is not implemented")}set value(t){console.warn("set value","is not implemented")}onSizeChange(){this.items.forEach(t=>{t.setAttribute("size",this.size)})}onReadOnlyChange(){this.querySelector("slot").toggleAttribute("inert",this.isReadonly)}getValidity(){console.warn("getValidity","is not implemented")}onObservedAttributeChange(t){t.forEach(t=>{switch(t){case"size":this.onSizeChange();break;case"readonly":this.onReadOnlyChange()}})}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.items[0]?.focus()}),super.init?.(),Jt(this,this.onObservedAttributeChange.bind(this),{includeAttrs:["size","readonly"]})}}return e},el=qt("button-selection-group-internal");class il extends(tl(el)){getSelectedNode(){return this.items.find(t=>t.hasAttribute("selected"))}get allowDeselect(){return"true"===this.getAttribute("allow-deselect")}removeSelected(){this.getSelectedNode()?.removeAttribute("selected")}onClick(t){t.target!==t.currentTarget&&(t.target===this.getSelectedNode()&&this.allowDeselect?this.removeSelected():this.setSelected(t.target),this.dispatchChange())}setSelected(t){t!==this.getSelectedNode()&&(this.removeSelected(),t?.setAttribute("selected","true"))}get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue,this.setCustomValidity())})}get value(){return this.getSelectedNode()?.value||""}set value(t){const e=this.items.find(e=>e.value===t);this.setSelected(e)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}init(){super.init(),this.setDefaultValue(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const ol=t=>class extends t{#tt=({value:t,label:e})=>`<descope-button-selection-group-item value="${t}">${e}</descope-button-selection-group-item>`;#W;get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get size(){return this.inputElement?.size}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.renderItems(),Jt(this,this.renderItems.bind(this),{includeAttrs:["data"]}),$t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})})}},{host:rl,label:nl,requiredIndicator:sl,internalWrapper:al,errorMessage:ll}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:()=>':host [part="internal-component"] slot'},errorMessage:{selector:"::part(error-message)"}},dl={hostWidth:{...rl,property:"width"},hostDirection:{...rl,property:"direction"},fontFamily:rl,labelTextColor:[{...nl,property:"color"},{...sl,property:"color"}],labelRequiredIndicator:{...sl,property:"content"},errorMessageTextColor:{...ll,property:"color"},errorMessageIcon:{...ll,property:"background-image"},errorMessageIconSize:{...ll,property:"background-size"},errorMessageIconPadding:{...ll,property:"padding-inline-start"},errorMessageIconRepeat:{...ll,property:"background-repeat"},errorMessageIconPosition:{...ll,property:"background-position"},errorMessageFontSize:{...ll,property:"font-size"},itemsSpacing:{...al,property:"gap"}},cl=`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n [part="internal-component"] {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n display: inline-block;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n [part="internal-component"] slot {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${xe("vaadin-text-field")}\n\t\t\t${ye("vaadin-text-field")}\n `,ul=qt("button-selection-group"),pl=Pt(Ze({mappings:{...dl}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,ol,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${el}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${el}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(el),te(this,this.inputElement,{includeAttrs:["size","default-value","allow-deselect"]})}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>cl,excludeAttrsSync:["tabindex","style"],componentName:ul}));customElements.define(el,il);const hl=qt("button-selection-group-item");class gl extends($e({componentName:hl,baseSelector:":host > descope-button"})){get size(){return this.getAttribute("size")||"md"}get variant(){return this.getAttribute("variant")||"contained"}get value(){return this.getAttribute("value")||""}set value(t){this.setAttribute("value",t)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <descope-button variant="${this.variant}" size="${this.size}" mode="primary">\n <slot></slot>\n </descope-button>\n\t`,f("\n descope-button {\n max-width: 100%;\n }\n\t\t\tdescope-button > slot {\n\t\t\t\twidth: 100%;\n\t\t\t\toverflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n max-width: 100%\n\t\t\t}\n ",this),te(this,this.baseElement,{includeAttrs:["size","variant"]}),te(this.baseElement,this,{includeAttrs:["focused","active"]})}handleFocus(){this.shadowRoot.querySelector("descope-button")?.focus()}focus(){this.handleFocus()}init(){super.init(),this.addEventListener("focus",t=>{t.isTrusted&&this.handleFocus()})}}const Ml=Pt(Ze({mappings:{hostDirection:{selector:()=>ko.componentName,property:ko.cssVarList.hostDirection},backgroundColor:{selector:()=>ko.componentName,property:ko.cssVarList.backgroundColor},labelTextColor:{selector:()=>ko.componentName,property:ko.cssVarList.labelTextColor},borderColor:{selector:()=>ko.componentName,property:ko.cssVarList.borderColor},borderWidth:{selector:()=>ko.componentName,property:ko.cssVarList.borderWidth},borderStyle:{selector:()=>ko.componentName,property:ko.cssVarList.borderStyle},borderRadius:{selector:()=>ko.componentName,property:ko.cssVarList.borderRadius},outlineColor:{selector:()=>ko.componentName,property:ko.cssVarList.outlineColor}}}),Be,Pe)(gl);customElements.define(hl,Ml),customElements.define(ul,pl);const ml=qt("button-multi-selection-group-internal");class yl extends(tl(ml)){#Qt(){return this.items.filter(t=>t.hasAttribute("selected"))}onClick(t){t.target!==t.currentTarget&&(this.#Qt().includes(t.target)?t.target.removeAttribute("selected"):t.target.setAttribute("selected","true"),this.dispatchChange())}get value(){return this.#Qt().map(t=>t.value)}set value(t){this.items.forEach(e=>{t.includes(e.value)?e.setAttribute("selected","true"):e.removeAttribute("selected")})}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}#Zt(t){const e=Array.isArray(t);return e||console.error("default-values must be an array, received:",t),e}get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.#Zt(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){setTimeout(()=>{this.defaultValues&&(this.value=this.defaultValues,this.setCustomValidity())})}getValidity(){return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}}init(){super.init(),this.setDefaultValues(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const bl=qt("button-multi-selection-group"),Nl=Pt(Ze({mappings:{...dl}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,ol,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${ml}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${ml}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(ml),te(this,this.inputElement,{includeAttrs:["size","default-values","min-items-selection","max-items-selection"]})}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>cl,excludeAttrsSync:["tabindex","style"],componentName:bl}));customElements.define(ml,yl),customElements.define(bl,Nl);class Il extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=i.item[this.path]||"",r=Array.isArray(o)?o.join(", "):o;this.__setTextContent(t,r),t.title=r}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const xl=qt("grid-text-column");customElements.define(xl,Il);const jl=qt("grid-custom-column");customElements.define(jl,class extends Il{_defaultRenderer(t,e,i){const o=i.item[this.path]||"",r=Array.from(this.children).find(t=>{const e=t.getAttribute("data-pattern");return!e||new RegExp(e).test(o)});if(!r)return void this.__setTextContent(t,i.item[this.path]||"");const n=r.cloneNode(!0);n.textContent=o||"",t.innerHTML="",t.append(n)}});const Tl=()=>{const t=document.createElement("descope-checkbox");return t.setAttribute("bordered","true"),t.setAttribute("size","xs"),t},zl=t=>!!t.items?.length&&t.selectedItems.length===t.items.length;class Dl extends g.${_onHeaderRendererOrBindingChanged(){}_headerRenderer(t){const e=t.parentNode;let i=t.querySelector("descope-checkbox");i||(i=Tl(),i.addEventListener("input",()=>{const t=zl(e);e.selectedItems=t?[]:e.items}),t.appendChild(i)),i.setAttribute("checked",zl(e))}_defaultRenderer(t,e,i){const o=t.parentNode;let r=t.querySelector("descope-checkbox");r||(r=Tl(),t.appendChild(r)),r.onchange=()=>{r.checked?o.selectItem(i.item):o.deselectItem(i.item)},r.setAttribute("checked",i.selected)}}const Sl=qt("grid-selection-column");customElements.define(Sl,Dl);class vl extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=e._gridValue,r=o.detailsOpenedItems?.indexOf(i.item)??-1,n=-1!==r,s=document.createElement("vaadin-icon");s.icon=n?"vaadin:angle-up":"vaadin:angle-down",s.classList.add("toggle-details-button",n?"opened":"closed"),t.innerHTML="",t.append(s),s.onclick=()=>{o.detailsOpenedItems=n?o.detailsOpenedItems.toSpliced(r,1):[...o.detailsOpenedItems,i.item]}}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const Ll=qt("grid-item-details-column");customElements.define(Ll,vl),customElements.define(To,So),customElements.define(vo,Lo);const Cl=t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value},Al=qt("code-snippet");let wl=class extends($e({componentName:Al,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["lang","inline","copy-button"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <code class="hljs"></code>\n </div>\n ',f("\n :host {\n display: inline-block;\n width: 100%;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n code {\n grid-area: 1 / 1;\n display: block;\n width: 100%;\n min-height: 1em;\n overflow-x: auto;\n }\n pre {\n margin: 0;\n }\n .copy-btn {\n grid-area: 1 / 1;\n place-self: start end;\n margin: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border-style: solid;\n cursor: pointer;\n opacity: 0;\n transition: opacity 150ms ease, background 150ms ease;\n }\n .wrapper:hover .copy-btn,\n .copy-btn:focus-visible {\n opacity: 1;\n }\n .copy-btn descope-icon {\n width: 16px;\n height: 16px;\n pointer-events: none;\n flex-shrink: 0;\n }\n .copy-btn .check-icon {\n display: none;\n }\n .copy-btn.copied .check-icon {\n display: block;\n }\n .copy-btn.copied descope-icon:not(.check-icon) {\n display: none;\n }\n ",this)}init(){super.init?.(),this.lang=this.getAttribute("lang"),this.isInline="true"===this.getAttribute("inline"),"true"===this.getAttribute("copy-button")&&this.#Bt(),$t(this,this.#Pt.bind(this))}get contentNode(){return this.shadowRoot.querySelector("code")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("inline"===t&&(this.isInline=i),"lang"===t&&(this.lang=i),"copy-button"===t&&("true"===i?this.#Bt():this.#Ft()),this.#Pt())}#Bt(){if(this.shadowRoot.querySelector(".copy-btn"))return;const t=document.createElement("button");t.className="copy-btn",t.type="button",t.setAttribute("aria-label","Copy code");const e=document.createElement("descope-icon");e.setAttribute("src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogIDxyZWN0IHg9IjkiIHk9IjkiIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgcng9IjIiIHJ5PSIyIj48L3JlY3Q+CiAgPHBhdGggZD0iTTUgMTVINGEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg5YTIgMiAwIDAgMSAyIDJ2MSI+PC9wYXRoPgo8L3N2Zz4K");const i=document.createElement("descope-icon");i.setAttribute("src","data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iY2hlY2staWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cG9seWxpbmUgcG9pbnRzPSIyMCA2IDkgMTcgNCAxMiI+PC9wb2x5bGluZT4KPC9zdmc+Cg=="),i.classList.add("check-icon"),t.appendChild(e),t.appendChild(i),t.addEventListener("click",()=>this.#Gt()),this.shadowRoot.querySelector(".wrapper").appendChild(t)}#Ft(){this.shadowRoot.querySelector(".copy-btn")?.remove()}#Gt(){const t=this.shadowRoot.querySelector(".copy-btn");navigator.clipboard.writeText(Cl(this.textContent)).then(()=>{t.classList.add("copied"),setTimeout(()=>t.classList.remove("copied"),2e3)}).catch(()=>{})}#Pt(){const t=Cl(this.textContent),e=this.lang;if(!e)return void(this.contentNode.textContent=t);const{value:i}=M.A.highlight(t,{language:e});this.contentNode.innerHTML=(t=>this.isInline?t:`<pre>${t}</pre>`)(i)}};const fl={selector:()=>".copy-btn"},{root:El,docTag:kl,keyword:Ol,metaKeyword:Vl,templateTag:Wl,templateVariable:Yl,type:Ul,variableLanguage:Rl,title:Ql,titleClass:Zl,titleClassInherited:Bl,titleFunction:Pl,attr:Fl,attribute:Gl,literal:Hl,meta:Jl,number:$l,operator:_l,variable:Xl,selectorAttr:ql,selectorClass:Kl,selectorId:td,regexp:ed,string:id,metaString:od,builtIn:rd,symbol:nd,comment:sd,code:ad,formula:ld,name:dd,quote:cd,selectorTag:ud,selectorPseudo:pd,subst:hd,section:gd,bullet:Md,emphasis:md,strong:yd,addition:bd,deletion:Nd,charEscape:Id,link:xd,params:jd,property:Td,punctuation:zd,tag:Dd}={root:{selector:()=>".hljs"},docTag:{selector:()=>".hljs-doctag"},keyword:{selector:()=>".hljs-keyword"},metaKeyword:{selector:()=>".hljs-meta .hljs-keyword"},templateTag:{selector:()=>".hljs-template-tag"},templateVariable:{selector:()=>".hljs-template-variable"},type:{selector:()=>".hljs-type"},variableLanguage:{selector:()=>".hljs-variable.language"},title:{selector:()=>".hljs-title"},titleClass:{selector:()=>".hljs-title.class_"},titleClassInherited:{selector:()=>".hljs-title.class_.inherited__"},titleFunction:{selector:()=>".hljs-title.function_"},attr:{selector:()=>".hljs-attr"},attribute:{selector:()=>".hljs-attribute"},literal:{selector:()=>".hljs-literal"},meta:{selector:()=>".hljs-meta"},number:{selector:()=>".hljs-number"},operator:{selector:()=>".hljs-operator"},variable:{selector:()=>".hljs-variable"},selectorAttr:{selector:()=>".hljs-selector-attr"},selectorClass:{selector:()=>".hljs-selector-class"},selectorId:{selector:()=>".hljs-selector-id"},regexp:{selector:()=>".hljs-regexp"},string:{selector:()=>".hljs-string"},metaString:{selector:()=>".hljs-meta .hljs-string"},builtIn:{selector:()=>".hljs-built_in"},symbol:{selector:()=>".hljs-symbol"},comment:{selector:()=>".hljs-comment"},code:{selector:()=>".hljs-code"},formula:{selector:()=>".hljs-formula"},name:{selector:()=>".hljs-name"},quote:{selector:()=>".hljs-quote"},selectorTag:{selector:()=>".hljs-selector-tag"},selectorPseudo:{selector:()=>".hljs-selector-pseudo"},subst:{selector:()=>".hljs-subst"},section:{selector:()=>".hljs-section"},bullet:{selector:()=>".hljs-bullet"},emphasis:{selector:()=>".hljs-emphasis"},strong:{selector:()=>".hljs-strong"},addition:{selector:()=>".hljs-addition"},deletion:{selector:()=>".hljs-deletion"},charEscape:{selector:()=>".hljs-char.escape"},link:{selector:()=>".hljs-link"},params:{selector:()=>".hljs-params"},property:{selector:()=>".hljs-property"},punctuation:{selector:()=>".hljs-punctuation"},tag:{selector:()=>".hljs-tag"}},Sd=Pt(Ze({mappings:{rootBgColor:{...El,property:"background-color"},rootTextColor:{...El,property:"color"},docTagTextColor:{...kl,property:"color"},keywordTextColor:{...Ol,property:"color"},metaKeywordTextColor:{...Vl,property:"color"},templateTagTextColor:{...Wl,property:"color"},templateVariableTextColor:{...Yl,property:"color"},typeTextColor:{...Ul,property:"color"},variableLanguageTextColor:{...Rl,property:"color"},titleTextColor:{...Ql,property:"color"},titleClassTextColor:{...Zl,property:"color"},titleClassInheritedTextColor:{...Bl,property:"color"},titleFunctionTextColor:{...Pl,property:"color"},attrTextColor:{...Fl,property:"color"},attributeTextColor:{...Gl,property:"color"},literalTextColor:{...Hl,property:"color"},metaTextColor:{...Jl,property:"color"},numberTextColor:{...$l,property:"color"},operatorTextColor:{..._l,property:"color"},variableTextColor:{...Xl,property:"color"},selectorAttrTextColor:{...ql,property:"color"},selectorClassTextColor:{...Kl,property:"color"},selectorIdTextColor:{...td,property:"color"},regexpTextColor:{...ed,property:"color"},stringTextColor:{...id,property:"color"},metaStringTextColor:{...od,property:"color"},builtInTextColor:{...rd,property:"color"},symbolTextColor:{...nd,property:"color"},commentTextColor:{...sd,property:"color"},codeTextColor:{...ad,property:"color"},formulaTextColor:{...ld,property:"color"},nameTextColor:{...dd,property:"color"},quoteTextColor:{...cd,property:"color"},selectorTagTextColor:{...ud,property:"color"},selectorPseudoTextColor:{...pd,property:"color"},substTextColor:{...hd,property:"color"},sectionTextColor:{...gd,property:"color"},bulletTextColor:{...Md,property:"color"},emphasisTextColor:{...md,property:"color"},strongTextColor:{...yd,property:"color"},additionTextColor:{...bd,property:"color"},additionBgColor:{...bd,property:"background-color"},deletionTextColor:{...Nd,property:"color"},deletionBgColor:{...Nd,property:"background-color"},charEscapeTextColor:{...Id,property:"color"},linkTextColor:{...xd,property:"color"},paramsTextColor:{...jd,property:"color"},propertyTextColor:{...Td,property:"color"},punctuationTextColor:{...zd,property:"color"},tagTextColor:{...Dd,property:"color"},copyButtonSize:[{...fl,property:"width"},{...fl,property:"height"}],copyButtonBorderRadius:{...fl,property:"border-radius"},copyButtonBorderWidth:{...fl,property:"border-width"},copyButtonBorderColor:{...fl,property:"border-color"},copyButtonBgColor:{...fl,property:"background-color"},copyButtonHoverBgColor:{selector:()=>".copy-btn:hover",property:"background-color"},copyButtonColor:{...fl,property:"color"}}}),Be,Pe)(wl);customElements.define(Al,Sd);const vd=t=>{const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e},Ld=t=>{const e=document.createElement("div");return e.textContent=t,e.innerHTML},Cd=t=>(t=>t?.constructor===Object)(t)?"object":Array.isArray(t)?"array":/^\s*<[\s\S]*>/.test(t)?"xml":"text",Ad=(t,e)=>`<descope-code-snippet copy-button="true" lang="${e}" class="row-details__value code">${Ld(t)}</descope-code-snippet>`,wd=t=>`<div class="row-details__value text" title="${t}">${Ld(t)}</div>`,fd=t=>Ad(JSON.stringify(t,null,2),"json"),Ed=t=>{const e=Cd(t);return"object"===e?fd(t):"xml"===e?(t=>Ad(t,"xml"))(t):"array"===e?t.some(t=>"object"===Cd(t))?fd(t):wd(t.join(",\n")):wd(t)},kd=qt("grid"),{host:Od,headerRow:Vd,headerRowCell:Wd,contentRow:Yd,firstRow:Ud,sortIndicators:Rd,activeSortIndicator:Qd,selectedRow:Zd,rowSeparator:Bd,resizeHandle:Pd,toggleDetailsPanelButton:Fd,toggleDetailsPanelButtonOpened:Gd,toggleDetailsPanelButtonClosed:Hd,detailsPanel:Jd,detailsPanelLabels:$d,selectedRowCell:_d,detailsPanelContent:Xd}={host:{selector:()=>"vaadin-grid"},headerRow:{selector:()=>"::part(header-cell)"},headerRowCell:{selector:()=>"vaadin-grid::part(header-cell)"},contentRow:{selector:()=>"::part(cell)"},firstRow:{selector:()=>"::part(first-header-row-cell)"},selectedRow:{selector:()=>"::part(selected-row)"},selectedRowCell:{selector:()=>"::part(selected-row-cell)"},sortIndicators:{selector:()=>"vaadin-grid-sorter::part(indicators)"},activeSortIndicator:{selector:()=>"vaadin-grid-sorter[direction]"},rowSeparator:{selector:()=>"vaadin-grid::part(body-cell)"},resizeHandle:{selector:()=>"::part(resize-handle)"},toggleDetailsPanelButton:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button"},toggleDetailsPanelButtonOpened:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.opened"},toggleDetailsPanelButtonClosed:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.closed"},detailsPanel:{selector:()=>"vaadin-grid::part(details-cell)"},detailsPanelLabels:{selector:()=>"vaadin-grid .row-details__label"},detailsPanelContent:{selector:()=>"vaadin-grid .row-details"}},qd=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostHeight:{selector:()=>":host",property:"height"},hostMinHeight:{selector:()=>":host",property:"min-height"},fontFamily:[{...Vd},{...Yd}],fontSize:[{...Vd},{...Yd}],fontWeight:{...Yd},valueTextColor:{...Yd,property:"color"},backgroundColor:[{...Od,property:"background-color"},{...Yd,property:"background-color"}],sortIndicatorsColor:{...Rd,property:"color"},activeSortIndicator:{...Qd,property:"color"},borderColor:{...Od,property:"border-color"},borderWidth:{...Od,property:"border-width"},borderStyle:{...Od,property:"border-style"},borderRadius:{...Od,property:"border-radius"},selectedBackgroundColor:[{...Zd,property:"background-color"},{..._d,property:"background-color"}],headerRowTextColor:{...Wd,property:"color"},separatorColor:[{...Ud,property:"border-bottom-color"},{...Bd,property:"border-top-color"}],resizeHandleColor:{...Pd,property:"background-color"},hostDirection:{...Od,property:"direction",fallback:"ltr"},toggleDetailsPanelButtonSize:[{...Fd,property:"width"},{...Fd,property:"height"}],toggleDetailsPanelButtonOpenedColor:{...Gd,property:"color"},toggleDetailsPanelButtonClosedColor:{...Hd,property:"color"},toggleDetailsPanelButtonCursor:{...Fd,property:"cursor"},detailsPanelBackgroundColor:{...Jd,property:"background-color"},detailsPanelBorderTopColor:{...Jd,property:"border-top-color"},detailsPanelLabelsColor:{...$d,property:"color"},detailsPanelLabelsFontSize:{...$d,property:"font-size"},detailsPanelItemsGap:{...Xd,property:"grid-gap"},detailsPanelPadding:{...Xd,property:"padding"}}}),Be,Pe,t=>class extends t{#Ht;init(){super.init?.(),this.handleColumns(),this.forwardSelectedItemsChange(),this.baseElement._mapSorters=()=>{};const t=this.baseElement._updateDetailsCellHeight;this.baseElement._updateDetailsCellHeight=e=>{e&&t.call(this.baseElement,e)},this.baseElement.rowDetailsRenderer=this.#Jt.bind(this),this.baseElement.addEventListener("wheel",t=>{t.target.closest("descope-code-snippet")&&t.stopPropagation()},!0)}#Jt=async(t,e,i)=>{t.addEventListener("mousedown",t=>t.stopImmediatePropagation(),!0);const o=this.getRowDetailsTemplate(i.item);t.innerHTML="",t.append(o.content.cloneNode(!0))};getRowDetailsTemplate(t){const e=this.#Ht.reduce((t,{path:e,header:i})=>e&&i?{...t,[e]:i}:t,{}),i=this.rowDetailsRenderer?.(t,e)??((t,e)=>`\n <div class="row-details">\n ${Object.entries(t).map(([t,i])=>{const o=e[t]||t.replace(/([A-Z])/g," $1").trim().split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");return(t=>{const e=Cd(t);return"object"===e||"xml"===e||"array"===e&&t.some(t=>"object"===Cd(t))})(i)?`<details class="row-details__item">\n <summary class="row-details__label">${o}</summary>\n ${Ed(i)}\n </details>`:`<div class="row-details__item">\n <div class="row-details__label">${o}</div>\n ${Ed(i)}\n </div>`}).join("\n")}\n</div>\n `)(t,e);switch(!0){case i instanceof HTMLTemplateElement:return i;case"string"==typeof i:return Object.assign(document.createElement("template"),{innerHTML:i});default:throw new Error("rowDetailsRenderer should return a string or a template")}}forwardSelectedItemsChange(){this.baseElement.addEventListener("selected-items-changed",t=>{this.dispatchEvent(new CustomEvent("selected-items-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"columns"===t&&this.setColumnsDataFromAttr()}handleColumns(){this.columnsAttr?this.setColumnsDataFromAttr():this.children.length&&this.setColumnsFromChildren()}setColumnsFromChildren(){this.#Ht=Array.from(this.children).map(t=>({path:t.getAttribute("path"),header:t.getAttribute("header"),type:t.localName.match("^descope-grid-(\\w+)-column$")?.[1]||"text",attrs:["frozen","resizable","auto-width","status"].reduce((e,i)=>{const o=t.getAttribute(i);return o&&(e[i]=o),e},{})}))}get columnsAttr(){return this.getAttribute("columns")}setColumnsDataFromAttr(){try{const t=JSON.parse(this.columnsAttr);vd(t)&&(this.columns=t)}catch(t){console.error('could not parse data string from attribute "columns" -',t.message)}}#$t=({path:t,header:e,type:i,attrs:o})=>{const r=`descope-grid-${i}-column`;return`<${r} header="${e}" path="${t}" ${Object.entries(o).map(([t,e])=>`${t}="${e}"`).join(" ")}></${r}>`};get renderColumn(){return this.#$t}set renderColumn(t){this.#$t=t,this.renderColumns()}getColumnsTemplate(){return this.#Ht?.reduce?.((t,e)=>t+(this.renderColumn?.(e||{})||""),"")}reassignRowDetailsRenderer(){this.baseElement.rowDetailsRenderer=null,setTimeout(()=>{this.baseElement.rowDetailsRenderer=this.#Jt.bind(this)},0)}renderColumns(){const t=this.getColumnsTemplate();t&&(this.reassignRowDetailsRenderer(),this.innerHTML=t)}get grid(){return this.shadowRoot.querySelector("vaadin-grid")}get data(){return this.grid.items}set data(t){if(vd(t)&&this.grid.items!==t&&(this.grid.items=t,this.grid.selectedItems)){const t=new Set(this.grid.items.map(t=>t[this.uniqueColumnId]??t)),e=this.grid.selectedItems.filter(e=>t.has(e[this.uniqueColumnId]??e));this.grid.selectedItems.length!==e.length&&(this.grid.selectedItems=e)}}get columns(){return this.#Ht}set columns(t){this.#Ht=t,this.renderColumns()}get paths(){return this.columns.map(t=>t.path)}get uniqueColumnId(){return this.getAttribute("unique-column-id")}})(Xe({delegatesFocus:!1,slots:[""],wrappedEleName:"vaadin-grid",style:()=>`\n /*css*/\n vaadin-grid {\n overflow: hidden;\n height: 100%;\n min-height: 300px;\n }\n vaadin-grid-cell-content {\n display: flex;\n }\n vaadin-grid::part(selected-row-cell) {\n background-image: none;\n box-shadow: none;\n background-color: inherit;\n }\n vaadin-grid::part(details-cell) {\n border-top-style: dashed;\n border-top-width: 1px;\n }\n vaadin-grid .row-details {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(max(200px, calc(100%/4 - var(${qd.cssVarList.detailsPanelItemsGap}))), 1fr));\n width: 100%;\n }\n vaadin-grid .row-details__item:has(.row-details__value.code) {\n grid-column: 1 / -1;\n order: 2;\n }\n vaadin-grid details.row-details__item {\n padding: 0;\n }\n vaadin-grid details.row-details__item > summary.row-details__label {\n cursor: pointer;\n list-style: revert;\n display: revert;\n }\n vaadin-grid .row-details__value.text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n }\n vaadin-grid .row-details__value.code {\n margin-top: 5px;\n overflow-x: auto;\n font-size: 0.85em;\n }\n vaadin-grid vaadin-icon.toggle-details-button {\n margin: auto;\n }\n /*!css*/\n\t\t`,excludeAttrsSync:["columns","tabindex","style"],componentName:kd}));customElements.define(kd,qd);const Kd=qt("modal"),tc=["opened"],ec=Pt(Ze({mappings:{overlayBackdropColor:{property:()=>ec.cssVarList.overlay.backdropColor},overlayBackgroundColor:{property:()=>ec.cssVarList.overlay.backgroundColor},overlayShadow:{property:()=>ec.cssVarList.overlay.shadow},overlayWidth:{property:()=>ec.cssVarList.overlay.width},overlayBorderWidth:{property:()=>ec.cssVarList.overlay.borderWidth},overlayBorderStyle:{property:()=>ec.cssVarList.overlay.borderStyle},overlayBorderColor:{property:()=>ec.cssVarList.overlay.borderColor},overlayBorderRadius:{property:()=>ec.cssVarList.overlay.borderRadius}}}),ni({name:"overlay",selector:"",mappings:{hostDisplay:{selector:()=>":host(.descope-modal)",property:"display",important:!0},backgroundColor:[{selector:()=>"::part(content)",property:"background-color"},{selector:()=>"::part(overlay)",property:"background-color"}],backdropColor:{selector:()=>"::part(backdrop)",property:"background-color"},borderStyle:{selector:()=>"::part(content)",property:"border-style"},borderWidth:{selector:()=>"::part(content)",property:"border-width"},borderColor:{selector:()=>"::part(content)",property:"border-color"},borderRadius:{selector:()=>"::part(content)",property:"border-radius "},width:{selector:()=>"::part(overlay)",property:"width"},shadow:{selector:()=>"::part(overlay)",property:"box-shadow"}},forward:{include:!1,attributes:["opened","style"]}}),Be,Pe,t=>class extends t{static get observedAttributes(){return[].concat(t.observedAttributes||[],tc)}get opened(){return"true"===this.getAttribute("opened")}handleOpened(){this.opened?this.style.display="":this.style.display="none"}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"opened"===t&&this.handleOpened()}init(){super.init?.(),this.style.display="none",setTimeout(()=>{this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay").appendChild(document.createElement("slot")),this.#it(),te(this,this.baseElement,{includeAttrs:["opened"]}),this.handleOpened()})}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay");t._attachOverlay=()=>{t.bringToFront(),f("\n :host {\n display: flex!important;\n }\n ",this.baseElement)},t._detachOverlay=()=>{this.baseElement.style.display="none"},t._enterModalState=()=>{},t.close=()=>!1}})(Xe({slots:[""],wrappedEleName:"vaadin-dialog",style:()=>"\n vaaadin-dialog {\n display: flex!important;\n }\n ",excludeAttrsSync:["tabindex","opened","style"],componentName:Kd}));customElements.define(Kd,ec);const ic=window.customElements.get("vaadin-notification-container");if(!ic)throw new Error("could not get vaadin-notification-container class");customElements.define(qt("notification-container"),class extends ic{});const oc=qt("notification-card"),rc={content:()=>"vaadin-notification-card::part(content)",overlay:()=>"vaadin-notification-card::part(overlay)"},nc=Pt(Ze({mappings:{hostMinWidth:{selector:rc.content,property:"min-width"},fontFamily:{},fontSize:{},backgroundColor:{selector:rc.content},textColor:{property:"color"},boxShadow:{},borderWidth:{selector:rc.content,property:"border-width"},borderColor:{selector:rc.content,property:"border-color"},borderStyle:{selector:rc.content,property:"border-style"},borderRadius:[{selector:rc.content,property:"border-radius"},{selector:rc.overlay,property:"border-radius"}],verticalPadding:[{selector:rc.content,property:"padding-top"},{selector:rc.content,property:"padding-bottom"}],horizontalPadding:[{selector:rc.content,property:"padding-right"},{selector:rc.content,property:"padding-left"}]}}),t=>class extends t{close(){this.baseElement.addEventListener("animationend",()=>{this.remove(),this.dispatchEvent(new Event("card-closed"))}),this.setAttribute("opened","false")}constructor(){super(),this.baseElement.innerHTML='\n <div part="root">\n <div part="content">\n <slot></slot>\n </div>\n <div part="close">\n <slot name="close"></slot>\n </div>\n </div>\n ',this.closeEle=this.shadowRoot.querySelector('[part="close"]')}init(){super.init?.(),this.closeEle.onclick=()=>{this.close()}}})(Xe({slots:[],wrappedEleName:"vaadin-notification-card",style:()=>'\n vaadin-notification-card {\n box-shadow: none;\n }\n ::part(overlay) {\n box-shadow: none;\n background: none;\n }\n\n [part="close"] {\n cursor: pointer;\n display: flex;\n }\n\n [part="content"] {\n display: flex;\n align-items: center;\n flex-grow: 1;\n }\n\n [part="root"] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n ',excludeAttrsSync:["tabindex","style"],componentName:oc}));customElements.define(oc,nc);const sc=qt("notification"),ac=Pt(Be,Pe,Ge,t=>class e extends t{#_t;constructor(){super();const t=this;Object.defineProperty(this.baseElement,"_container",{get:()=>(e._container||(e._container=document.createElement("descope-notification-container"),e._container.style.position="absolute",document.body.appendChild(e._container)),e._container.isConnected||setTimeout(()=>t.parentNode.appendChild(e._container)),e._container)}),Object.defineProperty(this.baseElement,"_card",{get:()=>t.#_t}),this.baseElement._removeNotificationCard=this.close.bind(this)}close(){this.#_t.close()}init(){super.init?.(),this.createCard(),te(this,this.#_t),Xt(this.#_t,this,{includeAttrs:["opened"]}),this.baseElement.renderer=t=>{Array.from(this.childNodes).forEach(e=>t.appendChild(e))}}get isContainerEmpty(){return!e._container.children.length}removeContainer(){e._container.remove()}removeNotification(){this.remove(),this.isContainerEmpty&&this.removeContainer()}createCard(){this.#_t=document.createElement("descope-notification-card"),this.#_t.addEventListener("card-closed",this.removeNotification.bind(this))}})(Xe({wrappedEleName:"vaadin-notification",excludeAttrsSync:["tabindex","style"],componentName:sc}));customElements.define(sc,ac);const lc=qt("mappings-field-internal"),dc=ci({componentName:lc,baseSelector:"div"}),cc=qt("mappings-field"),{host:uc,helperText:pc,errorMessage:hc,mappingItem:gc,labels:Mc,labelsText:mc,valueLabel:yc,attrLabel:bc,separator:Nc,labelsContainer:Ic}={host:{selector:()=>":host"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},mappingItem:{selector:"descope-mapping-item::part(wrapper)"},labels:{selector:'descope-mappings-field-internal [part="labels"] descope-text'},labelsText:{selector:'descope-mappings-field-internal [part="labels"] descope-text::part(text-wrapper)'},valueLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="value-label"]'},attrLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="attr-label"]'},separator:{selector:"descope-mapping-item::part(separator)"},labelsContainer:{selector:'descope-mappings-field-internal [part="labels"]'}},xc=Pt(Ze({mappings:{hostWidth:{...uc,property:"width"},hostDirection:{...uc,property:"direction"},fontSize:[{},uc,{...Nc,property:"margin-top"}],fontFamily:[pc,hc,Mc],separatorFontSize:{...Nc,property:"font-size"},labelsFontSize:{...mc,property:"font-size"},labelsLineHeight:[{...mc,property:"line-height"},{...Mc,property:"line-height"}],labelTextColor:[{...Mc,property:Ci.cssVarList.textColor},{...Nc,property:"color"}],itemMarginBottom:{...gc,property:"margin-bottom"},valueLabelMinWidth:{...yc,property:"min-width"},attrLabelMinWidth:{...bc,property:"min-width"},labelsMarginBottom:{...Ic,property:"margin-bottom"},separatorWidth:{},removeButtonWidth:{}}}),Be,ri({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),Pe,t=>class extends t{get defaultValues(){const t=this.getAttribute("default-values");if(t)try{return JSON.parse(t)}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){const t=this.defaultValues;Object.keys(t).length>0&&(this.inputElement.value=t)}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${lc}\n tabindex="-1"\n ></${lc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(lc),te(this,this.inputElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","default-values","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),Xt(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValues()}})(Xe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-mappings-field-internal [part="labels"] {\n display: none;\n grid-template-columns: 1fr var(${xc.cssVarList.separatorWidth}) 1fr var(${xc.cssVarList.removeButtonWidth});\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"],\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n ${Ci.cssVarList.fontWeight}: 500;\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"] {\n grid-column: 1 / span 1;\n }\n\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n grid-column: 3 / span 1;\n }\n\n descope-mapping-item::part(wrapper) {\n display: grid;\n grid-template-columns: 1fr var(${xc.cssVarList.separatorWidth}) 1fr var(${xc.cssVarList.removeButtonWidth});\n }\n `,excludeAttrsSync:["tabindex","label-value","label-attr","button-label","options","error-message","style"],componentName:cc}));customElements.define(lc,class extends dc{#Xt;static get observedAttributes(){return[].concat(dc.observedAttributes||[],["label-value","label-attr","button-label","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"])}isValidDataType(t){try{return t.every(t=>"object"==typeof t&&!Array.isArray(t)&&1===Object.getOwnPropertyNames(t).length&&"string"==typeof t[Object.keys(t)[0]]&&""!==t[Object.keys(t)[0]].trim())}catch(t){return!1}}get labelValue(){return this.getAttribute("label-value")||"Value"}get labelAttr(){return this.getAttribute("label-attr")||"Attribute"}get buttonLabel(){return this.getAttribute("button-label")||"Add mapping"}get options(){return this.getAttribute("options")||[]}addNewMappingItem(t){const e=document.createElement("descope-mapping-item");return e.setAttribute("bordered","true"),this.mappingsContainerEle.appendChild(e),te(this,e,{includeAttrs:["size","full-width","separator","options","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),setTimeout(()=>{this.setCustomValidity(""),e.addEventListener("mapping-item-removed",()=>{e===this.#Xt&&(this.resetInvalidIndication(),this.#Xt=void 0),e.remove(),this.setCustomValidity("")}),this.dispatchEvent(new CustomEvent("mapping-item-added",{bubbles:!0,composed:!0})),t&&e.focus()},0),e}get items(){return Array.from(this.mappingsContainerEle.querySelectorAll("descope-mapping-item"))}get value(){return this.items.reduce((t,e)=>e.value?[...t,e.value]:t,[])}set value(t){if(!this.isValidDataType(t))return void console.error("received invalid value to set - should be an array of objects with one key-value pair");const e=this.items;if(e.length>t.length)for(let i=t.length;i<e.length;i++)this.mappingsContainerEle.removeChild(e[i]);t.forEach((t,i)=>{const o=e[i];if(o)o.value=t;else{const e=this.addNewMappingItem(!1);setTimeout(()=>{e.value=t},0)}})}constructor(){super(),this.innerHTML='\n <div class="labels-container" part="labels"></div>\n <div class="mappings-container"></div>\n <div class="button-container"></div>\n ',this.labelsEle=this.querySelector(".labels-container"),this.mappingsContainerEle=this.querySelector(".mappings-container"),this.buttonContainer=this.querySelector(".button-container")}initLabels(){this.labelsEle.innerHTML=`\n <descope-text variant="body2" part="value-label">${this.labelValue}</descope-text>\n <descope-text variant="body2" part="attr-label">${this.labelAttr}</descope-text>\n `}initAddButton(){this.buttonContainer.innerHTML=`\n <descope-button variant="link" mode="primary" disabled="${this.isDisabled}">\n <vaadin-icon icon="vaadin:plus"></vaadin-icon>\n ${this.buttonLabel}\n </descope-button>\n `;const t=this.querySelector("descope-button");t.onclick=()=>{this.addNewMappingItem(!0)},te(this,t,{includeAttrs:["disabled"]})}#qt(){this.labelsEle.style.display=this.items.length?"grid":"none"}init(){this.addEventListener("focus",t=>{t.isTrusted&&(this.#Xt||this.items[0]||this.querySelector("descope-button")).focus()}),super.init?.(),this.initLabels(),this.initAddButton(),this.addEventListener("input",()=>{this.mappingsContainerEle.contains(this.#Xt)&&this.#Xt?.checkValidity()&&(this.resetInvalidIndication(),this.#Xt.removeAttribute("invalid"),this.#Xt=void 0)}),$t(this.mappingsContainerEle,this.#qt.bind(this))}resetInvalidIndication(){this.removeAttribute("invalid")}getValidity(){const t=this.items.find(t=>!t.checkValidity());return t?t.validity:{}}#Kt(t){t&&(this.#Xt=this.items.find(t=>!t.checkValidity()),this.#Xt?.reportValidity(),this.#Xt?.setAttribute("invalid","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"label-value"!==t&&"label-attr"!==t||this.initLabels(),"button-label"===t&&this.initAddButton(),"invalid"===t&&this.#Kt("true"===i),"readonly"===t&&this.toggleAttribute("inert","true"===i)}});const jc=qt("mapping-item"),Tc=["size","bordered","readonly","full-width","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],zc=ci({componentName:jc,baseSelector:"div"});customElements.define(jc,class extends zc{static get observedAttributes(){return[].concat(zc.observedAttributes||[],Tc,["separator","options","invalid","disabled"])}get separator(){return this.getAttribute("separator")||"map to"}get value(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{[t]:e}:null}set value(t){if(1!==Object.entries(t).length)return void console.error("descope-mapping item expected expects only one key-value pair in the value but received: ",t);const[e,i]=Object.entries(t)[0];this.valueInput.value=i,this.attributeInput.value=e,this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper" part="wrapper">\n <descope-text-field required="true"></descope-text-field>\n <div class="separator" part="separator">${this.separator}</div>\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n required="true"\n >\n </descope-combo-box>\n <descope-button variant="link" mode="primary">\n <vaadin-icon icon="vaadin:minus"></vaadin-icon>\n </descope-button>\n </div>\n\t`,f("\n .wrapper {\n display: flex;\n }\n .separator {\n text-align: center;\n flex-shrink: 0;\n }\n ",this),this.valueInput=this.shadowRoot.querySelector("descope-text-field"),this.attributeInput=this.shadowRoot.querySelector("descope-combo-box"),this.inputs=[this.valueInput,this.attributeInput],this.removeButton=this.shadowRoot.querySelector("descope-button"),te(this,this.valueInput,{includeAttrs:Tc}),te(this,this.attributeInput,{includeAttrs:[...Tc,"options"],mapAttrs:{options:"data"}}),te(this,this.removeButton,{includeAttrs:["disabled"]})}initRemoveButton(){this.removeButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("mapping-item-removed",{bubbles:!0,composed:!0})))}init(){super.init?.(),this.initRemoveButton()}getValidity(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{}:{badInput:!0}}reportValidity(){this.inputs.forEach(t=>t.reportValidity())}focus(){(this.checkValidity()||!this.valueInput.checkValidity()?this.valueInput:this.attributeInput).focus()}handleSeparatorChange(){this.shadowRoot.querySelector(".separator").textContent=this.separator}#te(t){"true"===t&&(this.valueInput.value||(this.valueInput.setAttribute("invalid","true"),this.valueInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)),this.attributeInput.value||(this.attributeInput.setAttribute("invalid","true"),this.attributeInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"separator"===t&&this.handleSeparatorChange(),"invalid"===t&&this.#te(i)}}),customElements.define(cc,xc);const Dc=C("badge");class Sc extends(yt({componentName:Dc,baseSelector:":host > div"})){static get observedAttributes(){return["data-attachment-size","shrink-to-indicator-threshold"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div>\n <slot></slot>\n\t\t</div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n :host > div {\n position: relative;\n width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ",this)}get shrinkToIndicatorThreshold(){return this.getAttribute("shrink-to-indicator-threshold")||65}#ee(t){this.toggleAttribute("shrink-to-indicator",parseFloat(t)<this.shrinkToIndicatorThreshold)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"data-attachment-size"===t&&e!==i&&this.#ee(i)}}const vc=T(ct({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostHeight:[{selector:()=>":host",property:"height"}],hostDirection:{property:"direction"},fontFamily:{},fontSize:{},fontWeight:{},textTransform:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],borderWidth:{},borderStyle:{},borderColor:{},borderRadius:{},backgroundColor:{},textColor:{property:"color"},textAlign:{},boxShadow:{},textIndent:{}}}),ut,pt)(Sc),Lc=qt("user-attribute");class Cc extends($e({componentName:Lc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="secondary" class="label"></descope-text>\n <div class="content-wrapper">\n <descope-text st-text-align="auto" data-id="value-text" variant="body1" mode="primary" class="value"></descope-text>\n <div class="btn-wrapper">\n <descope-badge mode="default" bordered="true" size="xs"></descope-badge>\n <descope-button size="sm" data-id="delete-btn" variant="link" mode="primary">\n <slot name="delete-icon"></slot>\n </descope-button>\n <descope-button size="sm" data-id="edit-btn" variant="link" mode="primary">\n <slot name="edit-icon"></slot>\n </descope-button>\n </div>\n </div>\n </div>\n\t\t',f(`\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n container-type: inline-size;\n\t\t\t\t}\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n ::slotted(*) {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n @container (max-width: 529px) {\n .root {\n flex-wrap: wrap;\n }\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n flex-shrink: 0;\n }\n\n slot[name="edit-icon"],\n slot[name="delete-icon"] {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n }\n\n .content-wrapper {\n display: flex;\n flex-grow: 1;\n align-items: center;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n max-width: 100%;\n min-width: 0;\n }\n\n .label {\n flex-grow: 1;\n width: 100%;\n }\n\n .value {\n flex-grow: 1;\n }\n\n descope-badge {\n margin-inline-end: 10px;\n }\n\n .hidden {\n visibility: hidden;\n width: 0;\n }\n\n descope-text[data-id="label-text"].required:after {\n content: '*';\n color: var(${Ci.cssVarList.textColor});\n }\n\n :host([readonly="true"]) descope-button {\n visibility: hidden;\n width: 0;\n }\n `,this),this.deleteButton=this.shadowRoot.querySelector('descope-button[data-id="delete-btn"]'),this.editButton=this.shadowRoot.querySelector('descope-button[data-id="edit-btn"]'),this.badge=this.shadowRoot.querySelector("descope-badge"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]'),this.valueText=this.shadowRoot.querySelector('descope-text[data-id="value-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}onValueOrPlaceholderChange(){const t=this.value||this.placeholder,e=this.value?"primary":"secondary";this.valueText.innerText=t,this.valueText.setAttribute("title",t),this.valueText.setAttribute("mode",e)}onBadgeLabelChange(){this.badgeLabel?(this.badge.innerText=this.badgeLabel,this.badge.style.display=""):this.badge.style.display="none"}onBadgeTooltipTextChange(){this.badge.setAttribute("title",this.badgeTooltipText||this.badgeLabel)}updateButtonLabel(t,e){let i=t.querySelector("span.btn-label");e?(i||(i=document.createElement("span"),i.classList.add("btn-label"),t.appendChild(i)),i.innerText=e):i?.remove()}onIsRequiredChange(){this.labelText.classList.toggle("required",this.isRequired)}get label(){return this.getAttribute("label")||""}get value(){return this.getAttribute("value")||""}get placeholder(){return this.getAttribute("placeholder")||""}get isRequired(){return"true"===this.getAttribute("required")}get badgeLabel(){return this.getAttribute("badge-label")||""}get badgeTooltipText(){return this.getAttribute("badge-tooltip-text")||""}get editButtonLabel(){return this.getAttribute("edit-button-label")||""}get deleteButtonLabel(){return this.getAttribute("delete-button-label")||""}get isDeleteHidden(){return"true"===this.getAttribute("hide-delete")}init(){this.onLabelChange(),this.onValueOrPlaceholderChange(),this.onIsRequiredChange(),this.onBadgeLabelChange(),this.onBadgeTooltipTextChange(),this.updateButtonLabel(this.editButton,this.editButtonLabel),this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),this.handleDeleteButtonVisibility(),this.deleteButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("delete-clicked",{bubbles:!0,composed:!0}))),this.editButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("edit-clicked",{bubbles:!0,composed:!0}))),this.setDefaultChildren()}#ie(t,e){const i=document.createElement("descope-icon");i.setAttribute("src",t),i.setAttribute("src-dark",t),i.setAttribute("slot",e),this.appendChild(i)}setDefaultChildren(){this.children.length||(this.#ie("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMSAxNkMxIDE3LjEgMS45IDE4IDMgMThIMTFDMTIuMSAxOCAxMyAxNy4xIDEzIDE2VjRIMVYxNlpNMyA2SDExVjE2SDNWNlpNMTAuNSAxTDkuNSAwSDQuNUwzLjUgMUgwVjNIMTRWMUgxMC41WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPg==","delete-icon"),this.#ie("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMDAwMiAwLjk5MjE0OUMxMC4wMDAyIDEuMDE2MTUgMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNUw4LjIyNDE5IDMuMDA4MTVIMi45OTIxOUMyLjQ2NDE5IDMuMDA4MTUgMi4wMDgxOSAzLjQ0MDE1IDIuMDA4MTkgMy45OTIxNVYxMi4wMDgyQzIuMDA4MTkgM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DMuMzY4MTVMMTEuOTIwMiAxLjg1NjE1WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPgo=","edit-icon"))}static get observedAttributes(){return["label","value","placeholder","required","badge-label","badge-tooltip-text","edit-button-label","delete-button-label","hide-delete"].concat(super.observedAttributes)}handleDeleteButtonVisibility(){this.deleteButton.classList.toggle("hidden",this.isRequired||!this.value||this.isDeleteHidden)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"value"===t||"placeholder"===t?this.onValueOrPlaceholderChange():"required"===t?this.onIsRequiredChange():"badge-label"===t?this.onBadgeLabelChange():"badge-tooltip-text"===t?this.onBadgeTooltipTextChange():"edit-button-label"===t?this.updateButtonLabel(this.editButton,this.editButtonLabel):"delete-button-label"===t&&this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),"value"!==t&&"required"!==t&&"hide-delete"!==t||this.handleDeleteButtonVisibility())}}const{host:Ac,textFields:wc,buttons:fc,badge:Ec,labelText:kc,contentWrapper:Oc}={host:{selector:()=>":host"},textFields:{selector:"descope-text"},labelText:{selector:'descope-text[data-id="label-text"]'},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},contentWrapper:{selector:" .content-wrapper"}},Vc=Pt(Ze({mappings:{hostWidth:{...Ac,property:"width"},hostMinWidth:{...Ac,property:"min-width"},hostMaxWidth:{...Ac,property:"max-width"},hostDirection:[{...Ac,property:"direction"},{...wc,property:Ci.cssVarList.hostDirection},{...fc,property:ko.cssVarList.hostDirection},{...Ec,property:vc.cssVarList.hostDirection}],labelMinWidth:{...kc,property:"min-width"},contentMinWidth:{...Oc,property:"min-width"},badgeMaxWidth:{...Ec,property:"max-width"},itemsGap:[{property:"gap"},{...Oc,property:"gap"}],iconColor:[{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill}]}}),Be,Pe)(Cc);customElements.define(Dc,vc),customElements.define(Lc,Vc);const Wc=qt("user-auth-method");class Yc extends($e({componentName:Wc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <div class="text-wrapper">\n <slot name="method-icon"></slot>\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n\n <div class="btn-wrapper">\n <descope-button class="btn unfulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n <descope-button class="btn fulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="fulfilled-button-icon"></slot>\n </descope-button>\n <div class="status-indicator hidden">\n <vaadin-icon src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==></vaadin-icon>\n </div>\n <descope-button class="hidden-btn" size="sm" variant="link" mode="primary"></descope-button>\n </div>\n </div>\n\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n vaadin-icon {\n color: currentcolor;\n }\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n }\n\n .text-wrapper {\n display: flex;\n align-items: center;\n flex-grow: 1;\n min-width: 0;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n min-width: 0;\n }\n\n .status-indicator {\n width: 1em;\n height: 1em;\n display: flex;\n align-items: center;\n padding-inline-end: 1em;\n }\n\n .hidden {\n display: none;\n }\n\n .hidden-btn {\n width: 0;\n overflow: hidden;\n opacity: 0;\n pointer-events: none;\n }\n\n slot[name="method-icon"]:not(:empty) {\n display: inline-flex;\n align-items: center;\n }\n ',this),this.unfulfilledButton=this.shadowRoot.querySelector(".btn.unfulfilled"),this.fulfilledButton=this.shadowRoot.querySelector(".btn.fulfilled"),this.statusIndicator=this.shadowRoot.querySelector(".status-indicator"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.innerText=e):i&&t.removeChild(i)}onFulfilledChange(){this.isFulfilled?(this.unfulfilledButton.classList.add("hidden"),this.handleFulfilled()):(this.fulfilledButton.classList.add("hidden"),this.handleUnfulfilled())}handleFulfilled(){this.fulfilledButton.classList.toggle("hidden",!this.isFulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isFulfilledEditable)}handleUnfulfilled(){this.unfulfilledButton.classList.toggle("hidden",!this.isUnfulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isUnfulfilledEditable)}get label(){return this.getAttribute("label")||""}get unfulfilledButtonLabel(){return this.getAttribute("button-label")||""}get fulfilledButtonLabel(){return this.getAttribute("fulfilled-button-label")||""}get isFulfilled(){return"true"===this.getAttribute("fulfilled")}get isFulfilledEditable(){return"true"===this.getAttribute("fulfilled-editable")}get isUnfulfilledEditable(){return"false"!==this.getAttribute("unfulfilled-editable")}init(){this.onLabelChange(),this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel),this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel),this.onFulfilledChange(),this.unfulfilledButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("button-clicked",{bubbles:!0,composed:!0}))),this.fulfilledButton.addEventListener("click",()=>{this.dispatchEvent(new CustomEvent("fulfilled-button-clicked",{bubbles:!0,composed:!0}))})}static get observedAttributes(){return["label","fulfilled","button-label","fulfilled-button-label","fulfilled-editable","unfulfilled-editable"].concat(super.observedAttributes)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"fulfilled"===t?this.onFulfilledChange():"button-label"===t?this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel):"fulfilled-button-label"===t?this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel):"fulfilled-editable"===t&&this.isFulfilled?this.handleFulfilled():"unfulfilled-editable"!==t||this.isFulfilled||this.handleUnfulfilled())}}const{host:Uc,textField:Rc,buttons:Qc,badge:Zc,textWrapper:Bc,methodIconSlot:Pc}={host:{selector:()=>":host"},textField:{selector:"descope-text"},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},textWrapper:{selector:" .text-wrapper"},methodIconSlot:{selector:'slot[name="method-icon"]:not(:empty)'}},Fc=Pt(Ze({mappings:{hostWidth:{...Uc,property:"width"},hostMinWidth:{...Uc,property:"min-width"},hostMaxWidth:{...Uc,property:"max-width"},hostDirection:[{...Uc,property:"direction"},{...Rc,property:Ci.cssVarList.hostDirection},{...Qc,property:ko.cssVarList.hostDirection},{...Zc,property:vc.cssVarList.hostDirection}],itemsGap:[{property:"gap"},{...Bc,property:"gap"}],iconSize:[{...Pc,property:"width"},{...Pc,property:"height"}],iconColor:[{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill}]}}),Be,Pe)(Yc);customElements.define(Wc,Fc);const Gc=qt("saml-group-mappings-internal"),Hc=ci({componentName:Gc,baseSelector:""}),Jc=qt("saml-group-mappings"),{host:$c,groupInput:_c,errorMessage:Xc}={host:{selector:()=>":host"},groupInput:{selector:"descope-text-field"},errorMessage:{selector:"::part(error-message)"}},qc=Pt(Ze({mappings:{hostWidth:{...$c,property:"width"},hostDirection:{...$c,property:"direction"},groupNameInputMarginBottom:{..._c,property:"margin-bottom"},errorMessageIcon:{...Xc,property:"background-image"},errorMessageIconSize:{...Xc,property:"background-size"},errorMessageIconPadding:{...Xc,property:"padding-inline-start"},errorMessageIconRepeat:{...Xc,property:"background-repeat"},errorMessageIconPosition:{...Xc,property:"background-position"},errorMessageFontSize:{...Xc,property:"font-size"}}}),Be,ri({proxyProps:["value","selectionStart"],inputEvent:"input",triggerValidationEvents:["mapping-item-added","mapping-item-removed"],proxyParentValidation:!0}),Pe,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${Gc}\n tabindex="-1"\n ></${Gc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Gc),te(this,this.inputElement,{includeAttrs:["size","full-width","label-group","label-value","label-attr","button-label","separator","options","readonly","disabled"]}),Xt(this,this.inputElement,{includeAttrs:["invalid"]})}})(Xe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-text-field {\n width: auto;\n }\n\n descope-mappings-field {\n display: block;\n }\n ",excludeAttrsSync:["tabindex","label-group","label-value","label-attr","button-label","separator","options","error-message","style"],componentName:Jc}));customElements.define(Gc,class extends Hc{static get observedAttributes(){return["invalid"].concat(Hc.observedAttributes||[])}constructor(){super(),this.innerHTML='\n <descope-text-field variant="body2" bordered="true"></descope-text-field>\n <descope-mappings-field></descope-mappings-field>\n ',this.groupInputElement=this.querySelector("descope-text-field"),this.mappingsElement=this.querySelector("descope-mappings-field")}resetInvalidIndication(){this.removeAttribute("invalid")}handleMappingsInvalidChange(t){t.includes("invalid")&&(this.mappingsElement.hasAttribute("invalid")||this.resetInvalidIndication())}initFocusHandler(){this.addEventListener("focus",t=>{t.isTrusted&&(this.mappingsElement.checkValidity()?this.groupInputElement:this.mappingsElement).focus()})}init(){this.initFocusHandler(),super.init?.(),te(this,this.groupInputElement,{mapAttrs:{"label-group":"label"},includeAttrs:["size","label-group","readonly","disabled"]}),te(this,this.mappingsElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","readonly","disabled","data-errormessage-pattern-mismatch"]}),Jt(this.mappingsElement,this.handleMappingsInvalidChange.bind(this),{includeAttrs:["invalid"]})}get value(){return{group:this.groupInputElement.value,mappings:this.mappingsElement.value}}set value(t){t?.group&&"string"==typeof t.group&&(this.groupInputElement.value=t.group),Array.isArray(t?.mappings)&&(this.mappingsElement.value=t.mappings)}getValidity(){return this.groupInputElement.checkValidity()?this.mappingsElement.checkValidity()?{}:this.mappingsElement.validity:this.groupInputElement.validity}#oe(t){if(t){if(!this.groupInputElement.checkValidity())return void this.groupInputElement.setAttribute("invalid","true");this.mappingsElement.checkValidity()||this.mappingsElement.setAttribute("invalid","true")}}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"invalid"===t&&this.#oe("true"===i)}}),customElements.define(Jc,qc);const Kc=qt("radio-button"),tu=Pt(Ze({mappings:{cursor:[{},{selector:"label"}],fontSize:[{selector:"label"},{}],labelTextColor:{selector:"label",property:"color"},fontFamily:{selector:"label"},radioSize:[{selector:"::part(radio)",property:"height"},{selector:"::part(radio)",property:"width"}],radioBackgroundColor:{selector:"::part(radio)",property:"background-color"},radioMargin:{selector:"::part(radio)",property:"margin"},radioCheckedSize:{selector:"::part(radio)::after",property:"border-width"},radioCheckedColor:{selector:"::part(radio)::after",property:"border-color"},radioBorderColor:{selector:"::part(radio)",property:"border-color",fallback:"none"},radioBorderWidth:{selector:"::part(radio)",property:"border-width",fallback:0},radioBorderStyle:{selector:"::part(radio)",property:"border-style",fallback:"solid"}}}),ri({proxyProps:["setSelectionRange"]}),Pe,t=>class extends t{constructor(){super(),this.baseElement.checkValidity=()=>{}}init(){this.baseElement.addEventListener("checked-changed",t=>{this.dispatchEvent(new CustomEvent("checked-changed",{detail:t.detail},{bubbles:!0,composed:!0}))}),super.init?.(),$t(this,this.renderLabel.bind(this))}renderLabel(){this.baseElement.setAttribute("label",this.textContent)}get value(){return this.getAttribute("value")}})(Xe({slots:[""],wrappedEleName:"vaadin-radio-button",excludeAttrsSync:["tabindex","data","style"],includeForwardProps:["checked","name","disabled"],componentName:Kc})),eu=qt("radio-group"),iu=Pt(Ze({mappings:{...Hr,buttonsSpacing:{selector:"::part(group-field)",property:"justify-content"},buttonsRowGap:{selector:"::part(group-field)",property:"row-gap"},buttonsColumnGap:{selector:"::part(group-field)",property:"column-gap"},itemsLabelColor:{selector:()=>`::slotted(${tu.componentName})`,property:tu.cssVarList.labelTextColor}}}),Be,ri({proxyProps:["setSelectionRange"]}),Pe,t=>class extends t{#tt=({value:t,label:e})=>`<descope-radio-button value="${t}">${e}</descope-radio-button>`;#W;constructor(){super(),Object.defineProperty(this.baseElement,"children",{get:()=>this.querySelectorAll(Kc)}),this.baseElement.__filterRadioButtons=t=>t.filter(t=>t.localName===Kc),this.baseElement.setCustomValidity=()=>{}}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}get size(){return this.getAttribute("size")}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}get defaultValue(){return this.getAttribute("default-value")}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.#tt?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.inputElement=this.baseElement,this.renderItems(),Jt(this,this.renderItems.bind(this),{includeAttrs:["data"]}),Object.defineProperty(this.baseElement,"validity",{get:()=>({valueMissing:!this.baseElement.checkValidity()})}),te(this,this.baseElement,{includeAttrs:["layout"],mapAttrs:{layout:"theme"}}),setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue)}),$t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})}),Jt(this,()=>{this.items.forEach(t=>{t.setAttribute("size",this.size)})},{includeAttrs:["size"]})}})(Xe({slots:["","prefix"],wrappedEleName:"vaadin-radio-group",style:()=>`\n :host {\n display: inline-block;\n max-width: 100%;\n box-sizing: border-box;\n }\n\n vaadin-radio-group {\n padding: 0;\n width: 100%;\n }\n\n ${xe("vaadin-radio-group")}\n `,excludeAttrsSync:["tabindex","size","data","direction","style"],componentName:eu,includeForwardProps:["value"]}));customElements.define(eu,iu),customElements.define(Kc,tu);const ou=()=>!0,ru=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,nu=qt("scopes-list"),su=["checkbox","switch"];class au extends($e({componentName:nu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get isReadOnly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"sm"}#re(){return Array.from(this.shadowRoot.querySelector("div").children)}reportValidity(){this.checkValidity()}checkValidity(){return this.data.every(t=>!t.required||this.value.includes(t.id))}get value(){return this.#re().filter(t=>t.checked).map(t=>t.getAttribute("data-id"))}set value(t=[]){this.#re().forEach(e=>{e.checked=t.includes(e.getAttribute("data-id"))})}get variant(){const t=this.getAttribute("variant");return su.includes(t)?t:su[0]}}const lu=Pt(Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Di.componentName,property:Di.cssVarList.hostDirection},{selector:()=>$i.componentName,property:$i.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},requiredInputBorderColor:[{selector:`${Di.componentName}[required="true"]`,property:Di.cssVarList.inputBorderColor},{selector:`${$i.componentName}[required="true"]`,property:$i.cssVarList.inputBorderColor}],requiredInputValueTextColor:[{selector:`${Di.componentName}[required="true"]`,property:Di.cssVarList.inputValueTextColor},{selector:`${$i.componentName}[required="true"]`,property:$i.cssVarList.knobColor}]}}),(({itemRenderer:t=ru,validateSchema:e=ou,slotName:i,rerenderAttrsList:o=[]})=>r=>class extends r{#W=[];#U(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.baseElement.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),this.data.forEach((e,i)=>{const o="string"==typeof(r=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(r).content:r instanceof HTMLTemplateElement?r.content:(console.error("Invalid template",r),null);var r;this.baseElement.appendChild(o?.cloneNode(!0))})}set data(t){this.#U(t)&&(this.#W=t,this.#Q())}get data(){return this.#W}init(){super.init?.(),Jt(this,t=>{t.includes("data")?this.#Z():this.#Q()},{includeAttrs:[...o,"data"]})}#Z(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}})({itemRenderer:({id:t,desc:e,required:i=!1},o,r)=>{const n="checkbox"===r.variant?Di:$i;return`\n <${n.componentName}\n bordered="true"\n size=${r.size}\n label="${e}"\n data-id="${t}"\n readonly="${i||r.isReadOnly}"\n required="${i}"\n checked="true"\n ></${n.componentName}>\n`},rerenderAttrsList:["size","variant"]}),Be,Pe)(au),du=C("list-item"),cu=T(ct({mappings:{verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],backgroundColor:{},borderColor:{},borderStyle:{},borderWidth:{},borderRadius:{},outline:{},cursor:{},gap:{},maxWidth:{selector:()=>":host"},alignItems:{},flexDirection:{},transition:{}}}),ut,pt,t=>class extends t{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <slot></slot>\n ",f("\n slot {\n width: 100%;\n display: flex;\n overflow: hidden;\n box-sizing: border-box;\n }\n :host {\n display: block;\n }\n ",this)}},t=>class extends t{init(){super.init?.(),this.baseElement.addEventListener("mousedown",t=>{t.preventDefault(),this.setAttribute("active","true"),window.addEventListener("mouseup",()=>this.removeAttribute("active"),{once:!0})})}})(yt({componentName:du,baseSelector:"slot"}));customElements.define(du,cu);const uu=C("list");class pu extends(yt({componentName:uu,baseSelector:".wrapper"})){static get observedAttributes(){return["variant","readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <slot></slot>\n <slot name="empty-state">\n No item...\n </slot>\n </div>\n\t',f('\n .wrapper {\n overflow: auto;\n display: grid;\n max-height: 100%;\n width: 100%;\n }\n\n :host {\n display: inline-flex;\n width: 100%;\n }\n slot[name="empty-state"] {\n justify-content: center;\n align-items: center;\n display: flex;\n flex-grow: 1;\n }\n\n :host slot[name="empty-state"] {\n display: none;\n }\n :host([empty]) slot[name="empty-state"] {\n display: flex;\n }\n ::slotted(:not([slot])) {\n width: 100%;\n }\n ',this)}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}#ne(){0===this.items.length?this.setAttribute("empty","true"):this.removeAttribute("empty")}get variant(){return this.getAttribute("variant")||"list"}#se(){this.items.forEach(t=>{let e=t;e.localName!==cu.componentName&&(e=t.querySelector(cu.componentName));const i="tiles"===this.variant?"tile":"row";e?.setAttribute("variant",i)})}init(){super.init?.(),S(this,()=>{this.#ne(),this.#se(),this.#ae()})}get isReadOnly(){return"true"===this.getAttribute("readonly")}#ae(){this.items.forEach(t=>{this.isReadOnly?t.setAttribute("inert",""):t.removeAttribute("inert")})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("variant"===t?this.#se():"readonly"===t&&this.#ae())}}const hu=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},maxHeight:{selector:()=>":host"},minHeight:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],hostDirection:{selector:()=>":host",property:"direction"},fontFamily:{},gap:{},backgroundColor:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{},gridTemplateColumns:{},maxItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"max-width"},minItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"min-width"},maxRowItems:{property:"max-row-items"},itemsHorizontalAlign:{selector:()=>"::slotted(*)",property:"justify-self"},emptyStateTextColor:{selector:()=>'slot[name="empty-state"]',property:"color"},emptyStateTextFontFamily:{selector:()=>'slot[name="empty-state"]',property:"font-family"}}}),ut,pt)(pu);customElements.define(uu,hu),customElements.define(nu,lu);const gu=qt("third-party-app-logo");class Mu extends($e({componentName:gu,baseSelector:".wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div class="wrapper">\n <div class="third-party-app-logo-wrapper">\n <div class="third-party-app-logo"></div>\n </div>\n <div class="arrows">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K"></descope-icon>\n </div>\n <div class="company-logo-wrapper">\n <descope-logo st-height="100%"></descope-logo>\n </div>\n </div>\n\t\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\n .wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: max-content;\n }\n\n\t\t\t\t.third-party-app-logo {\n flex-shrink: 0;\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t}\n\n .company-logo-wrapper, .third-party-app-logo-wrapper {\n flex-shrink: 0;\n display: inline-flex;\n }\n\n .company-logo-wrapper {\n justify-content: flex-end;\n }\n\n .third-party-app-logo-wrapper {\n justify-content: flex-start;\n }\n\n .arrows {\n flex-shrink: 0;\n display: flex;\n }\n ',this)}}const mu=">.company-logo-wrapper",yu=">.third-party-app-logo-wrapper",bu=Pt(Ze({mappings:{logoMaxHeight:[{selector:mu,property:"height"},{selector:yu,property:"height"}],logoMaxWidth:[{selector:mu,property:"max-width"},{selector:yu,property:"max-width"}],thirdPartyAppLogo:{selector:()=>".third-party-app-logo",property:"content",fallback:{}},companyLogoFallback:{selector:zn.componentName,property:zn.cssVarList.fallbackUrl},gap:{},arrowsColor:{selector:Lo.componentName,property:Lo.cssVarList.fill}}}),Be,Pe)(Mu);customElements.define(gu,bu);const Nu=qt("security-questions-setup"),Iu=["full-width","readonly","size","label-type","question-label","question-placeholder","question-data-errormessage-value-missing","answer-label","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],xu=["count","questions"];class ju extends($e({componentName:Nu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get count(){return Number(this.getAttribute("count"))||0}#le(){const t=Array.from({length:this.count}).map((t,e)=>`\n <div class="question-wrapper">\n <descope-combo-box\n data-id="${e}"\n item-label-path="data-name"\n item-value-path="data-id"\n bordered="true"\n required="true"\n clear-button-visible="true"\n ></descope-combo-box>\n\n <descope-text-field\n data-id="${e}"\n required="true"\n bordered="true"\n minlength="2"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.comboBoxes.forEach(t=>{t.addEventListener("change",t=>{this.updateRemainingCombosData(t.target),this.getAttachedTextField(t.target).value=""}),t.data=this.data}),this.#de(Iu)}getAttachedTextField(t){const e=`descope-text-field[data-id="${t.getAttribute("data-id")}"]`;return this.baseElement.querySelector(e)}filterData(t){const e=this.data.filter(e=>e.value===t||!this.selectedQuestionIds.includes(e.value));return e}reportValidity(){return this.inputs.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return[...this.comboBoxes,...this.textFields].every(t=>t.checkValidity())}updateRemainingCombosData(t){this.comboBoxes.filter(e=>e!==t).forEach(t=>{t.data=this.filterData(t.value)})}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(Nu,"Error parsing questions attribute",t),[]}}get data(){return this.questions.map(({id:t,text:e})=>({value:t,label:e}))}get comboBoxes(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get inputs(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box, descope-text-field"))}get selectedQuestionIds(){return this.comboBoxes.map(t=>t.value)}get value(){return this.comboBoxes.map(t=>({id:t.value,answer:this.getAttachedTextField(t).value}))}set value(t=[]){t.forEach((t,e)=>{const i=this.comboBoxes[e],o=this.getAttachedTextField(i);i.value=t.id,o.value=t.answer})}#ce(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#de(t){const e={question:this.comboBoxes,answer:this.textFields};t.forEach(t=>{const[i,...o]=t.split("-"),r=e[i]||this.inputs,n=e[i]?o.join("-"):t;r.forEach(e=>{this.#ce(e,n,this.getAttribute(t))})})}init(){super.init?.(),Jt(this,()=>{this.#le()},{includeAttrs:xu}),Jt(this,this.#de.bind(this),{includeAttrs:Iu})}}const Tu=Pt(Ze({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>xo.componentName,property:xo.cssVarList.hostDirection},{selector:()=>_r.componentName,property:_r.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"}}}),Be,Pe)(ju);customElements.define(Nu,Tu);const zu=qt("security-questions-verify"),Du=["full-width","readonly","size","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],Su=["question-mode"],vu={"answer-placeholder":"placeholder","answer-data-errormessage-value-missing":"data-errormessage-value-missing","question-mode":"mode"},Lu=[...Du,...Su],Cu=["questions"];class Au extends($e({componentName:zu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}#le(){const t=this.questions.map(({id:t,text:e})=>`\n <div class="question-wrapper">\n <descope-text\n data-id="${t}"\n >${e}</descope-text>\n\n <descope-text-field\n data-id="${t}"\n required="true"\n bordered="true"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.#de(Lu),this.texts.forEach(t=>{const e=this.textFields.find(e=>e.getAttribute("data-id")===t.getAttribute("data-id"));e&&(t.onclick=e.focus.bind(e))})}reportValidity(){return this.textFields.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return this.textFields.every(t=>t.checkValidity())}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(zu,"Error parsing questions attribute",t),[]}}get texts(){return Array.from(this.baseElement.querySelectorAll("descope-text"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get elements(){return Array.from(this.baseElement.querySelectorAll("descope-text, descope-text-field"))}get value(){return this.textFields.map(t=>({id:t.getAttribute("data-id"),answer:t.value}))}set value(t=[]){t.forEach(({id:t,answer:e})=>{const i=this.textFields.find(e=>e.getAttribute("data-id")===t);i&&(i.value=e)})}#ce(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#ue(t){switch(!0){case Du.includes(t):return this.textFields;case Su.includes(t):return this.texts;default:return[]}}#de(t){t.forEach(t=>{this.#ue(t).forEach(e=>{this.#ce(e,vu[t]||t,this.getAttribute(t))})})}init(){super.init?.(),Jt(this,()=>{this.#le()},{includeAttrs:Cu}),Jt(this,this.#de.bind(this),{includeAttrs:Lu})}}const wu=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Ci.componentName,property:Ci.cssVarList.hostDirection},{selector:()=>_r.componentName,property:_r.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},questionTextAlign:{selector:()=>Ci.componentName,property:Ci.cssVarList.textAlign},questionFontSize:{selector:()=>Ci.componentName,property:Ci.cssVarList.fontSize},questionFontFamily:{selector:()=>Ci.componentName,property:Ci.cssVarList.fontFamily},questionCursor:{selector:()=>Ci.componentName,property:"cursor"},errorMessageIcon:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageSize},errorMessageIconPadding:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessagePadding},errorMessageIconRepeat:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageRepeat},errorMessageIconPosition:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessagePosition},errorMessageFontSize:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageFontSize}}}),Be,Pe)(Au);customElements.define(zu,wu);const fu=/[^\d\s+\-()]/,Eu=qt("hybrid-field"),ku={shared:["label","bordered","full-width","label-type","size","disabled","readonly","required","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],email:["placeholder","data-errormessage-value-missing-email","data-errormessage-pattern-mismatch-email","external-input"],phone:{countryCode:["phone-input-label","country-input-label","country-input-placeholder","restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"],inputBox:["restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"]}},Ou={email:{"data-errormessage-value-missing-email":"data-errormessage-value-missing","data-errormessage-pattern-mismatch-email":"data-errormessage-pattern-mismatch"},phone:{"phone-input-label":"label","phone-minlength":"minlength","phone-format-value":"format-value","phone-strict-validation":"strict-validation","data-errormessage-value-missing-phone":"data-errormessage-value-missing"}},Vu="descope-phone-field",Wu=$e({componentName:Eu,baseSelector:"div"}),Yu=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>"descope-email-field",property:"direction"},{selector:()=>"descope-phone-field",property:"direction"},{selector:()=>"descope-phone-input-box-field",property:"direction"}],errorMessageIcon:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIcon},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIcon}],errorMessageIconSize:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconSize},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconSize}],errorMessageIconPadding:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconPadding},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconPadding}],errorMessageIconRepeat:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconRepeat},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconRepeat}],errorMessageIconPosition:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconPosition},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconPosition}],errorMessageFontSize:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageFontSize},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageFontSize}],labelFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.labelFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.labelFontWeight}],inputValueFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.inputValueFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.inputValueFontWeight}],inputPlaceholderFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.inputPlaceholderFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.inputPlaceholderFontWeight}],helperTextFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.helperTextFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.helperTextFontWeight}],errorMessageFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageFontWeight}]}}),Be,Pe)(class extends Wu{#pe=!1;#he;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper">\n <descope-email-field external-input="${this.isExternalInput}"></descope-email-field>\n <descope-phone-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-field>\n <descope-phone-input-box-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-input-box-field>\n </div>\n\t\t`,f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n padding: 0;\n gap: 0;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n descope-email-field,\n descope-phone-field,\n descope-phone-input-box-field {\n grid-area: 1/1;\n width: 100%;\n height: 100%;\n }\n .hidden {\n visibility: hidden;\n }\n ",this)}get isExternalInput(){return"true"===this.getAttribute("external-input")}get emailInputEle(){return this.isExternalInput?this.emailInput.externalInput:this.emailInput.inputElement}get phoneVariant(){return"inputBox"===this.getAttribute("phone-variant")?this.phoneInputBoxInput:this.phoneCountryCodeInput}get defaultCode(){const t=this.phoneCountryCodeInput.countryCodes?.[0]||"";return this.getAttribute("default-code")||t}get activeInputEle(){return this.activeInput===this.emailInput?this.emailInputEle:this.phoneVariant.phoneNumberInputEle}get value(){return this.activeInput?.value||""}set value(t){this.handleActiveInput(t),setTimeout(()=>{this.activeInput.value=t})}async init(){super.init?.(),this.initInputs(),this.updateAttrs(),this.toggleInputVisibility(),await this.waitForInputs(),this.initInputEles(),this.overrideEmailInputType(),this.overrideEmailSetAttribute()}waitForInputs(){return new Promise(t=>{const e=setInterval(()=>{this.emailInputEle&&(clearInterval(e),t())})})}initInputs(){this.emailInput=this.shadowRoot.querySelector("descope-email-field"),this.phoneCountryCodeInput=this.shadowRoot.querySelector(Vu),this.phoneInputBoxInput=this.shadowRoot.querySelector("descope-phone-input-box-field"),this.inputs=[this.emailInput,this.phoneCountryCodeInput,this.phoneInputBoxInput],this.activeInput=this.emailInput}initInputEles(){[this.emailInputEle,this.phoneCountryCodeInput.phoneNumberInputEle,this.phoneInputBoxInput.phoneNumberInputEle].forEach(t=>{t.addEventListener("input",this.onValueChange.bind(this))})}overrideEmailInputType(){this.emailInputEle.addEventListener("focus",()=>{this.emailInputEle.setAttribute("type","text")}),this.emailInputEle.addEventListener("blur",()=>{setTimeout(()=>{this.emailInputEle.setAttribute("type","email")})})}overrideEmailSetAttribute(){const t=this.emailInput.setAttribute.bind(this.emailInputEle);this.emailInputEle.setAttribute=(e,i)=>("type"!==e||"email"!==i||!this.emailInput.hasAttribute("focused"))&&t(e,i)}updateAttrs(){te(this,this.emailInput,{includeAttrs:ku.email,mapAttrs:Ou.email}),te(this,this.phoneCountryCodeInput,{includeAttrs:ku.phone.countryCode,mapAttrs:Ou.phone}),te(this,this.phoneInputBoxInput,{includeAttrs:ku.phone.inputBox,mapAttrs:Ou.phone}),this.inputs.forEach(t=>te(this,t,{includeAttrs:ku.shared})),setTimeout(()=>this.phoneCountryCodeInput.setAttribute("default-code",this.defaultCode))}onValueChange(){this.#he=this.activeInputEle.selectionStart,this.handleActiveInput(this.activeInputEle.value||this.activeInput.value)}handleActiveInput(t){const e=(t=>!!t&&!fu.test(t))(t)?this.phoneVariant:this.emailInput;this.activeInput!==e&&this.setActiveInput(e)}setActiveInput(t){const e=this.activeInputEle.value||this.activeInput.value;this.activeInput=t,this.setActiveInputValue(e),this.#pe&&this.activeInput.reportValidity(),this.setActiveInputSelectionStart(),this.toggleInputVisibility()}setActiveInputSelectionStart(){setTimeout(()=>{this.activeInputEle.focus(),this.activeInputEle.setSelectionRange?.(this.#he,this.#he)})}#ge(){const t=this.getAttribute("default-code"),e=t&&Ps.CountryCodes.find(e=>e.code===t);return e?.dialCode||Ps.CountryCodes[0]?.dialCode||""}setActiveInputValue(t){const e=(t=>t.replace(/\+\d+-/,""))(t);if(this.activeInput.localName===Vu){const t=this.phoneCountryCodeInput.countryCodeItems||this.#ge();this.activeInput.value=`${t}-${e}`}else this.activeInput.value=e}toggleInputVisibility(){this.inputs.forEach(t=>{t!==this.activeInput?t.classList.add("hidden"):t.classList.remove("hidden")})}reportValidity(){this.#pe=!0;const t=this.activeInputEle,e=t.type;return t.setAttribute("type","text"),setTimeout(()=>{t.setSelectionRange?.(t.value.length,t.value.length),t.setAttribute("type",e)}),this.activeInput.reportValidity()}checkValidity(){return this.activeInput.checkValidity()}});customElements.define(Eu,Yu);const Uu=qt("alert");class Ru extends($e({componentName:Uu,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="icon"></div>\n <div class="content">\n <descope-enriched-text>\n <slot></slot>\n </descope-enriched-text>\n </div>\n </div>\n ',f('\n :host {\n display: inline-flex;\n }\n :host > div {\n display: flex;\n width: 100%;\n }\n :host([empty="true"]) {\n display: none;\n }\n .icon {\n flex-shrink: 0;\n }\n .content {\n display: flex;\n flex-wrap: wrap;\n white-space: normal;\n overflow-wrap: break-word;\n }\n ',this)}init(){super.init?.(),this.slotEle=this.shadowRoot.querySelector("slot"),this.textComp=this.shadowRoot.querySelector("descope-enriched-text"),this.slotEle.addEventListener("slotchange",this.handleSlotChange.bind(this)),L(this.textComp,this,{includeAttrs:["empty"]}),S(this,this.handleChildrenChange.bind(this)),te(this,this.textComp,{includeAttrs:["variant","full-width","link-target-blank"]})}handleChildrenChange(){this.textComp.textContent=this.textContent}handleSlotChange(){const t=this.slotEle.assignedNodes({flatten:!0});t.length&&(this.textComp.textContent=t[0]?.textContent||"")}}const{icon:Qu}={icon:{selector:()=>".icon"}},Zu=Pt(Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},textColor:{selector:Qt.componentName,property:Qt.cssVarList.textColor},backgroundColor:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},fontSize:[{},{selector:Qt.componentName,property:Qt.cssVarList.fontSize}],gap:{},horizontalPadding:[{property:"padding-top"},{property:"padding-bottom"}],verticalPadding:[{property:"padding-right"},{property:"padding-left"}],alignItems:{},justifyContent:[{},{selector:Qt.componentName,property:Qt.cssVarList.textAlign}],icon:[{...Qu,property:"content"},{...Qu,property:"display",fallback:"none"}],iconSize:[{...Qu,property:"width"},{...Qu,property:"height"}]}}),Ze({componentNameOverride:qt("enriched-text")}),Ze({componentNameOverride:qt("text")}),Be,Pe)(Ru);customElements.define(Uu,Zu);const Bu=qt("hcaptcha"),Pu=["enabled","site-key"],Fu=ci({componentName:Bu,baseSelector:":host > div"}),Gu=Pt(Ze({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostDirection:{property:"direction"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],maxHeight:[{selector:">img",property:"height"},{selector:">#hcaptcha",property:"height"}],maxWidth:[{selector:">img",property:"max-width"},{selector:">hcaptcha",property:"max-width"}]}}),Be,Pe)(class extends Fu{static get observedAttributes(){return Pu.concat(Fu.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"enabled"===t&&this.toggleCaptchaEles("true"===i)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="hcaptcha"></span>\n <input id="hcaptcha-input" type="hidden" name="hcaptcha" required />\n <img src="https://imgs.descope.com/connectors/templates/hcaptcha/hcaptcha-big.png" alt="hcaptcha"/>\n </div>\n <slot></slot>\n\t',f("\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #hcaptcha-input {\n display: none;\n }\n :host #hcaptcha .hcaptcha-logo {\n height: 100%;\n }\n :host #hcaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n .hidden {\n display: none;\n }\n ",this),this.captchaEle=this.shadowRoot.querySelector("#hcaptcha"),this.mockCaptchaEle=this.shadowRoot.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge"),this.inputElement=this.shadowRoot.querySelector("input")}init(){super.init?.(),S(this,this.updatePreview.bind(this)),this.inputElement.getValidity=null,this.inputElement.checkValidity=null}toggleCaptchaEles(t){t?(this.captchaEle.style.display="",this.mockCaptchaEle.style.display="none"):(this.captchaEle.style.display="none",this.mockCaptchaEle.style.display="")}updatePreview(){this.toggleCaptchaEles(this.enabled)}getValidity(){return this.inputElement.value?{}:{valueMissing:!0}}checkValidity(){return!!this.inputElement.value}get siteKey(){return this.getAttribute("site-key")}get enabled(){return"true"===this.getAttribute("enabled")}});customElements.define(Bu,Gu);const Hu=(ip={surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}},Object.keys(ip).reduce((t,e)=>{const i=ip[e];return Object.assign(t,{[e]:he(i)})},{})),Ju={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},$u=Se({fonts:Ju}).fonts,_u={colors:Hu,typography:{h1:{font:$u.font1.family,weight:"900",size:"48px"},h2:{font:$u.font1.family,weight:"800",size:"38px"},h3:{font:$u.font1.family,weight:"600",size:"28px"},subtitle1:{font:$u.font2.family,weight:"500",size:"22px"},subtitle2:{font:$u.font2.family,weight:"400",size:"20px"},body1:{font:$u.font1.family,weight:"400",size:"16px"},body2:{font:$u.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:Ju,direction:"ltr"},Xu=(t=>ze(t,[],t=>Te({},t,je(t))))(_u),qu=(t=>Object.keys(t).reduce((e,i)=>{const o=t[i];return Object.assign(e,{[i]:G(o)})},{}))({surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}}),Ku={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},tp=et({fonts:Ku}).fonts,ep={colors:qu,typography:{h1:{font:tp.font1.family,weight:"900",size:"48px"},h2:{font:tp.font1.family,weight:"800",size:"38px"},h3:{font:tp.font1.family,weight:"600",size:"28px"},subtitle1:{font:tp.font2.family,weight:"500",size:"22px"},subtitle2:{font:tp.font2.family,weight:"400",size:"20px"},body1:{font:tp.font1.family,weight:"400",size:"16px"},body2:{font:tp.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:Ku,direction:"ltr"};var ip;(t=>{tt(t,[],t=>K({},t,q(t)))})(ep);const op=et(ep),rp=ko.cssVarList,np={primary:op.colors.primary,secondary:op.colors.secondary,success:op.colors.success,error:op.colors.error,surface:op.colors.surface},[sp,ap,lp]=ot({mode:np},Co),dp={...sp,[rp.fontFamily]:op.fonts.font1.family,[rp.fontWeight]:"400",[rp.cursor]:"pointer",[rp.hostHeight]:"3em",[rp.hostWidth]:"auto",[rp.hostDirection]:op.direction,[rp.borderRadius]:op.radius.sm,[rp.borderWidth]:op.border.xs,[rp.borderStyle]:"solid",[rp.borderColor]:"transparent",[rp.labelSpacing]:"0.25em",[rp.textAlign]:"center",textAlign:{right:{[rp.textAlign]:"right"},left:{[rp.textAlign]:"left"},center:{[rp.textAlign]:"center"}},[rp.verticalPadding]:"1em",[rp.horizontalPadding]:"0.875em",[rp.outlineWidth]:ep.border.sm,[rp.outlineOffset]:"0px",[rp.outlineStyle]:"solid",[rp.outlineColor]:"transparent",[rp.iconSize]:"1.5em",size:{xs:{[rp.fontSize]:"12px"},sm:{[rp.fontSize]:"14px"},md:{[rp.fontSize]:"16px"},lg:{[rp.fontSize]:"18px"}},_square:{[rp.hostHeight]:"3em",[rp.hostWidth]:"3em",[rp.verticalPadding]:"0"},_fullWidth:{[rp.hostWidth]:"100%"},_loading:{[rp.cursor]:"wait",[rp.labelTextColor]:ap.main},_disabled:{[lp.main]:op.colors.surface.light,[lp.dark]:op.colors.surface.dark,[lp.light]:op.colors.surface.light,[lp.contrast]:op.colors.surface.main,[rp.iconColor]:op.colors.surface.main},variant:{contained:{[rp.labelTextColor]:ap.contrast,[rp.backgroundColor]:ap.main,_hover:{[rp.backgroundColor]:ap.dark,_loading:{[rp.backgroundColor]:ap.main}},_active:{[rp.backgroundColor]:ap.main}},outline:{[rp.labelTextColor]:ap.main,[rp.borderColor]:ap.main,_hover:{[rp.labelTextColor]:ap.dark,[rp.borderColor]:ap.dark},_active:{[rp.labelTextColor]:ap.main,[rp.borderColor]:ap.main}},link:{[rp.labelTextColor]:ap.main,[rp.horizontalPadding]:"0.125em",_hover:{[rp.labelTextColor]:ap.dark,[rp.labelTextDecoration]:"underline"},_active:{[rp.labelTextColor]:ap.main}}},_focused:{[rp.outlineColor]:ap.light}},cp={...rp,...lp};var up=Object.freeze({__proto__:null,default:dp,vars:cp});const pp=et(ep),hp=Ci.cssVarList,gp={[hp.hostDirection]:pp.direction,[hp.textLineHeight]:"1.35em",[hp.textAlign]:"start",[hp.textColor]:pp.colors.surface.dark,variant:{h1:{[hp.fontSize]:pp.typography.h1.size,[hp.fontWeight]:pp.typography.h1.weight,[hp.fontFamily]:pp.typography.h1.font},h2:{[hp.fontSize]:pp.typography.h2.size,[hp.fontWeight]:pp.typography.h2.weight,[hp.fontFamily]:pp.typography.h2.font},h3:{[hp.fontSize]:pp.typography.h3.size,[hp.fontWeight]:pp.typography.h3.weight,[hp.fontFamily]:pp.typography.h3.font},subtitle1:{[hp.fontSize]:pp.typography.subtitle1.size,[hp.fontWeight]:pp.typography.subtitle1.weight,[hp.fontFamily]:pp.typography.subtitle1.font},subtitle2:{[hp.fontSize]:pp.typography.subtitle2.size,[hp.fontWeight]:pp.typography.subtitle2.weight,[hp.fontFamily]:pp.typography.subtitle2.font},body1:{[hp.fontSize]:pp.typography.body1.size,[hp.fontWeight]:pp.typography.body1.weight,[hp.fontFamily]:pp.typography.body1.font},body2:{[hp.fontSize]:pp.typography.body2.size,[hp.fontWeight]:pp.typography.body2.weight,[hp.fontFamily]:pp.typography.body2.font}},mode:{primary:{[hp.textColor]:pp.colors.surface.contrast},secondary:{[hp.textColor]:pp.colors.surface.dark},error:{[hp.textColor]:pp.colors.error.main},"error-dark":{[hp.textColor]:pp.colors.error.dark},success:{[hp.textColor]:pp.colors.success.main},"success-dark":{[hp.textColor]:pp.colors.success.dark},warning:{[hp.textColor]:pp.colors.warning.main},"warning-dark":{[hp.textColor]:pp.colors.warning.dark}},textAlign:{right:{[hp.textAlign]:"right"},left:{[hp.textAlign]:"left"},center:{[hp.textAlign]:"center"}},_fullWidth:{[hp.hostWidth]:"100%"},_italic:{[hp.fontStyle]:"italic"},_uppercase:{[hp.textTransform]:"uppercase"},_lowercase:{[hp.textTransform]:"lowercase"}};var Mp=Object.freeze({__proto__:null,default:gp,vars:hp});const mp=et(ep),yp=Ui.cssVarList,bp={[yp.hostDirection]:mp.direction,[yp.cursor]:"pointer",[yp.textColor]:mp.colors.primary.main,textAlign:{right:{[yp.textAlign]:"right"},left:{[yp.textAlign]:"left"},center:{[yp.textAlign]:"center"}},_fullWidth:{[yp.hostWidth]:"100%"},_hover:{[yp.textDecoration]:"underline"},mode:{secondary:{[yp.textColor]:mp.colors.secondary.main}}};var Np=Object.freeze({__proto__:null,default:bp,vars:yp});const Ip=et(ep),xp=Qt.cssVarList,jp={[xp.hostDirection]:Ip.direction,[xp.hostWidth]:it(hp.hostWidth),[xp.textLineHeight]:it(hp.textLineHeight),[xp.textColor]:it(hp.textColor),[xp.textAlign]:it(hp.textAlign),[xp.fontSize]:it(hp.fontSize),[xp.fontWeight]:it(hp.fontWeight),[xp.fontFamily]:it(hp.fontFamily),[xp.linkColor]:it(yp.textColor),[xp.linkTextDecoration]:"none",[xp.linkHoverTextDecoration]:"underline",[xp.fontWeightBold]:"900",[xp.minWidth]:"0.25em",[xp.minHeight]:"1.35em",[xp.hostDisplay]:"inline-block",_empty:{_hideWhenEmpty:{[xp.hostDisplay]:"none"}}};var Tp=Object.freeze({__proto__:null,default:jp,vars:xp});const zp=C("input-wrapper"),Dp=et(ep),[Sp,vp]=ot({labelTextColor:Dp.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:Dp.colors.surface.contrast,placeholderTextColor:Dp.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:Dp.colors.surface.dark,errorMessageTextColor:Dp.colors.error.main,successMessageTextColor:Dp.colors.success.main,borderWidth:Dp.border.xs,borderRadius:Dp.radius.xs,borderColor:"transparent",outlineWidth:Dp.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:Dp.colors.surface.main,fontFamily:Dp.fonts.font1.family,direction:Dp.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_focused:{outlineColor:Dp.colors.surface.light,_invalid:{outlineColor:Dp.colors.error.main}},_bordered:{outlineWidth:Dp.border.xs,borderColor:Dp.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:Dp.colors.error.main}},_disabled:{labelTextColor:Dp.colors.surface.light,borderColor:Dp.colors.surface.light,valueTextColor:Dp.colors.surface.light,placeholderTextColor:Dp.colors.surface.light,helperTextColor:Dp.colors.surface.light,backgroundColor:Dp.colors.surface.main}},zp),Lp=et(ep),Cp=xo.cssVarList,Ap={[Cp.hostWidth]:vp.width,[Cp.hostDirection]:vp.direction,[Cp.fontSize]:vp.fontSize,[Cp.fontFamily]:vp.fontFamily,[Cp.labelFontSize]:vp.labelFontSize,[Cp.labelFontWeight]:vp.labelFontWeight,[Cp.inputValueFontWeight]:vp.inputValueFontWeight,[Cp.inputPlaceholderFontWeight]:vp.inputPlaceholderFontWeight,[Cp.helperTextFontWeight]:vp.helperTextFontWeight,[Cp.errorMessageFontWeight]:vp.errorMessageFontWeight,[Cp.labelTextColor]:vp.labelTextColor,[Cp.errorMessageTextColor]:vp.errorMessageTextColor,[Cp.inputBorderColor]:vp.borderColor,[Cp.inputBorderWidth]:vp.borderWidth,[Cp.inputBorderStyle]:vp.borderStyle,[Cp.inputBorderRadius]:vp.borderRadius,[Cp.inputOutlineColor]:vp.outlineColor,[Cp.inputOutlineOffset]:vp.outlineOffset,[Cp.inputOutlineWidth]:vp.outlineWidth,[Cp.inputOutlineStyle]:vp.outlineStyle,[Cp.labelRequiredIndicator]:vp.requiredIndicator,[Cp.inputValueTextColor]:vp.valueTextColor,[Cp.inputPlaceholderTextColor]:vp.placeholderTextColor,[Cp.inputBackgroundColor]:vp.backgroundColor,[Cp.inputHorizontalPadding]:vp.horizontalPadding,[Cp.inputHeight]:vp.inputHeight,[Cp.inputDropdownButtonColor]:Lp.colors.surface.dark,[Cp.inputDropdownButtonCursor]:"pointer",[Cp.inputDropdownButtonSize]:vp.toggleButtonSize,[Cp.inputDropdownButtonOffset]:Lp.spacing.xs,[Cp.overlayItemPaddingInlineStart]:Lp.spacing.xs,[Cp.overlayItemPaddingInlineEnd]:Lp.spacing.lg,[Cp.labelPosition]:vp.labelPosition,[Cp.labelTopPosition]:vp.labelTopPosition,[Cp.labelHorizontalPosition]:vp.labelHorizontalPosition,[Cp.inputTransformY]:vp.inputTransformY,[Cp.inputTransition]:vp.inputTransition,[Cp.marginInlineStart]:vp.marginInlineStart,[Cp.placeholderOpacity]:vp.placeholderOpacity,[Cp.inputVerticalAlignment]:vp.inputVerticalAlignment,[Cp.valueInputHeight]:vp.valueInputHeight,[Cp.valueInputMarginBottom]:vp.valueInputMarginBottom,[Cp.errorMessageIcon]:vp.errorMessageIcon,[Cp.errorMessageIconSize]:vp.errorMessageIconSize,[Cp.errorMessageIconPadding]:vp.errorMessageIconPadding,[Cp.errorMessageIconRepeat]:vp.errorMessageIconRepeat,[Cp.errorMessageIconPosition]:vp.errorMessageIconPosition,[Cp.errorMessageFontSize]:vp.errorMessageFontSize,_readonly:{[Cp.inputDropdownButtonCursor]:"default"},[Cp.overlayFontSize]:vp.fontSize,[Cp.overlayFontFamily]:vp.fontFamily,[Cp.overlayCursor]:"pointer",[Cp.overlayItemBoxShadow]:"none",[Cp.overlayBackground]:vp.backgroundColor,[Cp.overlayTextColor]:vp.valueTextColor,[Cp.overlayCheckmarkDisplay]:"initial",[Cp.overlaySelectedItemBackground]:"initial",[Cp.overlaySelectedItemHoverBackground]:Lp.colors.primary.highlight,[Cp.overlaySelectedItemFocusBackground]:Lp.colors.primary.highlight,[Cp.overlayItemHoverBackground]:Lp.colors.primary.highlight,[Cp.overlayItemFocusBackground]:Lp.colors.primary.highlight,[Cp.overlay.minHeight]:"400px",[Cp.overlay.margin]:"0",[Cp.overlay.contentHeight]:"100%",[Cp.overlay.contentOpacity]:"1",[Cp.overlay.scrollerMinHeight]:"1px",_loading:{[Cp.overlay.loaderTop]:"50%",[Cp.overlay.loaderLeft]:"50%",[Cp.overlay.loaderRight]:"auto",[Cp.overlay.loaderMargin]:"-15px 0 0 -15px",[Cp.overlay.loaderWidth]:"30px",[Cp.overlay.loaderHeight]:"30px",[Cp.overlay.loaderBorder]:"2px solid transparent",[Cp.overlay.loaderBorderColor]:`${Lp.colors.primary.highlight} ${Lp.colors.primary.highlight} ${Lp.colors.primary.main} ${Lp.colors.primary.main}`,[Cp.overlay.loaderBorderRadius]:"50%",[Cp.overlay.contentHeight]:"100px",[Cp.overlay.scrollerMinHeight]:"100px",[Cp.overlay.contentOpacity]:"0"}};var wp=Object.freeze({__proto__:null,comboBox:Ap,default:Ap,vars:Cp});const fp=et(ep),[Ep,kp]=ot({shadowColor:"#00000020"},Dc),{shadowColor:Op}=kp,Vp=vc.cssVarList,Wp={...Ep,[Vp.hostWidth]:"fit-content",[Vp.hostDirection]:fp.direction,[Vp.textAlign]:"center",[Vp.fontFamily]:fp.fonts.font1.family,[Vp.fontWeight]:"400",[Vp.verticalPadding]:"0.25em",[Vp.horizontalPadding]:"0.5em",[Vp.borderWidth]:fp.border.xs,[Vp.borderRadius]:fp.radius.xs,[Vp.borderColor]:"transparent",[Vp.borderStyle]:"solid",_fullWidth:{[Vp.hostWidth]:"100%"},size:{xs:{[Vp.fontSize]:"12px"},sm:{[Vp.fontSize]:"14px"},md:{[Vp.fontSize]:"16px"},lg:{[Vp.fontSize]:"18px"}},variant:{contained:{[Vp.backgroundColor]:fp.colors.surface.main}},_shrinkToIndicator:{[Vp.hostWidth]:"13px",[Vp.hostHeight]:"13px",[Vp.borderRadius]:"50%",[Vp.fontSize]:"0",[Vp.textIndent]:"-9999px"},mode:{default:{[Vp.textColor]:fp.colors.surface.dark,_bordered:{[Vp.borderColor]:fp.colors.surface.light}},primary:{[Vp.textColor]:fp.colors.primary.main,_bordered:{[Vp.borderColor]:fp.colors.primary.light}},secondary:{[Vp.textColor]:fp.colors.secondary.main,_bordered:{[Vp.borderColor]:fp.colors.secondary.light}},error:{[Vp.textColor]:fp.colors.error.main,_bordered:{[Vp.borderColor]:fp.colors.error.light}},success:{[Vp.textColor]:fp.colors.success.main,_bordered:{[Vp.borderColor]:fp.colors.success.light}}},shadow:{sm:{[Vp.boxShadow]:`${fp.shadow.wide.sm} ${Op}, ${fp.shadow.narrow.sm} ${Op}`},md:{[Vp.boxShadow]:`${fp.shadow.wide.md} ${Op}, ${fp.shadow.narrow.md} ${Op}`},lg:{[Vp.boxShadow]:`${fp.shadow.wide.lg} ${Op}, ${fp.shadow.narrow.lg} ${Op}`},xl:{[Vp.boxShadow]:`${fp.shadow.wide.xl} ${Op}, ${fp.shadow.narrow.xl} ${Op}`}}};var Yp=Object.freeze({__proto__:null,default:Wp,vars:Vp});const Up=C("avatar");class Rp extends(yt({componentName:Up,baseSelector:":host > .wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <vaadin-avatar></vaadin-avatar>\n <div class="editableBadge">\n <vaadin-icon icon="vaadin:pencil"></vaadin-icon>\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .editableBadge {\n border: 1px solid;\n border-radius: 100%;\n height: fit-content;\n width: 25%;\n height: 25%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5%;\n box-sizing: border-box;\n position: absolute;\n bottom: 0;\n inset-inline-end: 0;\n }\n\n vaadin-icon {\n color: currentcolor;\n }\n\n vaadin-avatar {\n width: 100%;\n height: 100%;\n margin: 0;\n border: none\n }\n\n .wrapper {\n display: inline-flex;\n position: relative;\n width: 100%;\n height: 100%;\n }\n ",this),this.avatarComponent=this.shadowRoot.querySelector("vaadin-avatar"),w(this,this.avatarComponent,{includeAttrs:["display-name","img","abbr"],mapAttrs:{"display-name":"name"}});const t=this.shadowRoot.querySelector(".editableBadge");D(this,()=>{t.style.display=this.isEditable?"":"none"},{includeAttrs:["editable"]})}get isEditable(){return"true"===this.getAttribute("editable")}}const{host:Qp,editableBadge:Zp,avatar:Bp}={host:{selector:()=>":host"},editableBadge:{selector:"> .editableBadge"},avatar:{selector:"vaadin-avatar"}},Pp=T(ct({mappings:{hostWidth:[{...Qp,property:"width"},{...Qp,property:"min-width"}],hostHeight:{...Qp,property:"height"},cursor:[Bp,Qp],hostDirection:{...Qp,property:"direction"},avatarTextColor:{...Bp,property:"color"},avatarBackgroundColor:{...Bp,property:"background-color"},editableIconColor:{...Zp,property:"color"},editableBorderColor:{...Zp,property:"border-color"},editableBackgroundColor:{...Zp,property:"background-color"}}}),ut,pt)(Rp),Fp=et(ep),Gp=Pp.cssVarList,Hp={[Gp.hostDirection]:Fp.direction,[Gp.editableIconColor]:Fp.colors.surface.dark,[Gp.editableBorderColor]:Fp.colors.surface.dark,[Gp.editableBackgroundColor]:Fp.colors.surface.main,[Gp.avatarTextColor]:Fp.colors.surface.main,[Gp.avatarBackgroundColor]:Fp.colors.surface.dark,_editable:{[Gp.cursor]:"pointer"},size:{xs:{[Gp.hostWidth]:"30px",[Gp.hostHeight]:"30px"},sm:{[Gp.hostWidth]:"40px",[Gp.hostHeight]:"40px"},md:{[Gp.hostWidth]:"60px",[Gp.hostHeight]:"60px"},lg:{[Gp.hostWidth]:"98px",[Gp.hostHeight]:"98px"},xl:{[Gp.hostWidth]:"120px",[Gp.hostHeight]:"120px"},"2xl":{[Gp.hostWidth]:"140px",[Gp.hostHeight]:"140px"}}},Jp={...Gp};var $p=Object.freeze({__proto__:null,default:Hp,vars:Jp});const _p=Lo.cssVarList;var Xp=Object.freeze({__proto__:null,default:{},vars:_p});const qp=So.cssVarList;var Kp=Object.freeze({__proto__:null,default:{},vars:qp});const th=C("apps-list"),eh=T(ct({mappings:{maxHeight:{selector:()=>":host"},minHeight:{selector:()=>":host"},hostDirection:{selector:()=>":host",property:"direction"},gap:{selector:hu.componentName,property:hu.cssVarList.gap},maxRowItems:{selector:hu.componentName,property:hu.cssVarList.maxRowItems},itemsFontWeight:{selector:Ci.componentName,property:Ci.cssVarList.fontWeightOverride},itemsFontSize:{selector:Ci.componentName,property:Ci.cssVarList.fontSizeOverride},itemsTextAlign:{selector:Ci.componentName,property:Ci.cssVarList.textAlign},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemHoverBackgroundColor:{selector:`${cu.componentName}:hover`,property:cu.cssVarList.backgroundColor},backgroundColor:{selector:hu.componentName,property:hu.cssVarList.backgroundColorOverride},itemBorderStyle:{selector:cu.componentName,property:cu.cssVarList.borderStyleOverride},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColorOverride},itemBorderWidth:{selector:cu.componentName,property:cu.cssVarList.borderWidthOverride},itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPaddingOverride},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPaddingOverride},itemAlignment:[{selector:()=>".avatar-wrapper",property:"text-align"},{selector:Ci.componentName,property:Ci.cssVarList.textAlign}]}}),Vt({itemRenderer:({name:t,icon:e,url:i},o,r)=>`\n <a ${i?`href="${i}" title="${i}"`:""} ${r.openInSameWindow?"":'target="_blank"'}>\n <descope-list-item>\n <div class="avatar-wrapper">\n <descope-avatar\n ${e?`img="${e}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size="${r.logoSize||r.size}"\n ></descope-avatar>\n </div>\n <descope-text\n variant="${r.itemTextVariant}"\n mode="primary"\n >${t}</descope-text>\n </descope-list-item>\n </a>\n`,rerenderAttrsList:["size","item-text-variant","logo-size","open-in-same-window"]}),ut,pt,t=>class extends t{get size(){return this.getAttribute("size")||"sm"}get itemTextVariant(){return this.getAttribute("item-text-variant")||"body1"}get logoSize(){return this.getAttribute("logo-size")}get openInSameWindow(){return"true"===this.getAttribute("open-in-same-window")}})(vt({slots:["empty-state"],wrappedEleName:"descope-list",excludeAttrsSync:["tabindex","class","empty","style"],componentName:th,style:()=>`\n :host {\n width: 100%;\n display: inline-flex;\n }\n\n descope-text::part(text-wrapper) {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n\n descope-list-item[variant="tile"] .avatar-wrapper {\n width: 100%;\n }\n\n .avatar-wrapper {\n line-height: 0;\n }\n\n a {\n text-decoration: none;\n }\n\n descope-text {\n ${Ci.cssVarList.hostDirection}: var(${eh.cssVarList.hostDirection});\n max-width: 100%;\n width: 100%;\n }\n `})),ih=eh.cssVarList,oh=et(ep),rh="400px",nh={[ih.itemsTextAlign]:"start",[ih.hostDirection]:oh.direction,[ih.maxHeight]:rh,[ih.itemHoverBackgroundColor]:oh.colors.surface.highlight,_empty:{[ih.minHeight]:rh},size:{xs:{[ih.itemsFontSize]:"14px",[ih.itemsFontWeight]:"normal"},sm:{[ih.itemsFontSize]:"14px",[ih.itemsFontWeight]:"normal"},md:{[ih.itemsFontSize]:"16px",[ih.itemsFontWeight]:"normal"},lg:{[ih.itemsFontSize]:"20px",[ih.itemsFontWeight]:"normal"}},itemPadding:{xs:{[ih.itemVerticalPadding]:oh.spacing.xs,[ih.itemHorizontalPadding]:oh.spacing.xs},sm:{[ih.itemVerticalPadding]:oh.spacing.sm,[ih.itemHorizontalPadding]:oh.spacing.sm},md:{[ih.itemVerticalPadding]:oh.spacing.md,[ih.itemHorizontalPadding]:oh.spacing.md},lg:{[ih.itemVerticalPadding]:oh.spacing.lg,[ih.itemHorizontalPadding]:oh.spacing.lg},xl:{[ih.itemVerticalPadding]:oh.spacing.xl,[ih.itemHorizontalPadding]:oh.spacing.xl}}};var sh=Object.freeze({__proto__:null,default:nh,vars:ih});const ah=et(ep),lh=hu.cssVarList,[dh,ch,uh]=ot({shadowColor:"#00000020"},uu),{shadowColor:ph}=ch,hh={...dh,[lh.hostWidth]:"100%",[lh.backgroundColor]:ah.colors.surface.main,[lh.fontFamily]:ah.fonts.font1.family,[lh.borderColor]:ah.colors.surface.light,[lh.borderStyle]:"solid",[lh.borderWidth]:ah.border.xs,[lh.borderRadius]:ah.radius.sm,[lh.gap]:ah.spacing.md,[lh.verticalPadding]:ah.spacing.lg,[lh.horizontalPadding]:ah.spacing.lg,[lh.boxShadow]:`${ah.shadow.wide.sm} ${ph}, ${ah.shadow.narrow.sm} ${ph}`,[lh.maxHeight]:"100%",[lh.hostDirection]:ah.direction,[lh.minItemsWidth]:"150px",[lh.maxRowItems]:"1000",_empty:{[lh.minHeight]:"150px",[lh.emptyStateTextColor]:ah.colors.surface.dark,[lh.emptyStateTextFontFamily]:ah.fonts.font1.family},variant:{tiles:{[lh.gridTemplateColumns]:`repeat(auto-fit, minmax(\n max(\n min(${it(lh.minItemsWidth)}, 100%),\n calc((100% - (${it(lh.maxRowItems)} - 1) * ${it(lh.gap)}) / ${it(lh.maxRowItems)})),\n 1fr))`,[lh.maxItemsWidth]:"200px",[lh.itemsHorizontalAlign]:"center"}},gap:{xs:{[lh.gap]:ah.spacing.xs},sm:{[lh.gap]:ah.spacing.sm},md:{[lh.gap]:ah.spacing.md},lg:{[lh.gap]:ah.spacing.lg},xl:{[lh.gap]:ah.spacing.xl}}},gh={...lh,...uh};var Mh=Object.freeze({__proto__:null,default:hh,vars:gh});const mh=et(ep),yh=cu.cssVarList,bh={[yh.backgroundColor]:mh.colors.surface.main,[yh.verticalPadding]:mh.spacing.lg,[yh.horizontalPadding]:mh.spacing.lg,[yh.gap]:mh.spacing.md,[yh.borderStyle]:"solid",[yh.borderWidth]:mh.border.xs,[yh.borderColor]:mh.colors.surface.main,[yh.borderRadius]:mh.radius.sm,[yh.cursor]:"pointer",[yh.alignItems]:"center",[yh.flexDirection]:"row",[yh.transition]:"border-color 0.2s, background-color 0.2s",variant:{tile:{[yh.alignItems]:"flex-start",[yh.flexDirection]:"column",[yh.borderColor]:mh.colors.surface.light}},_hover:{[yh.backgroundColor]:mh.colors.surface.highlight},_active:{[yh.backgroundColor]:mh.colors.surface.main,[yh.borderColor]:mh.colors.primary.light,[yh.outline]:`1px solid ${mh.colors.primary.light}`}};var Nh=Object.freeze({__proto__:null,default:bh,vars:yh});const Ih=C("multi-select-combo-box"),{host:xh,inputField:jh,inputElement:Th,placeholder:zh,toggle:Dh,clearButton:Sh,label:vh,requiredIndicator:Lh,helperText:Ch,errorMessage:Ah,chip:wh,chipLabel:fh,overflowChipFirstBorder:Eh,overflowChipSecondBorder:kh}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},chip:{selector:"vaadin-multi-select-combo-box-chip"},chipLabel:{selector:"vaadin-multi-select-combo-box-chip::part(label)"},overflowChipFirstBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::before"},overflowChipSecondBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::after"}},Oh=T(ct({mappings:{hostWidth:{...xh,property:"width"},hostDirection:{...xh,property:"direction"},fontSize:[{},xh],chipFontSize:{...fh,property:"font-size"},fontFamily:[vh,zh,jh,Ch,Ah,fh],labelFontSize:{...vh,property:"font-size"},labelFontWeight:{...vh,property:"font-weight"},inputValueFontWeight:{...jh,property:"font-weight"},inputPlaceholderFontWeight:{...zh,property:"font-weight"},helperTextFontWeight:{...Ch,property:"font-weight"},errorMessageFontWeight:{...Ah,property:"font-weight"},labelTextColor:[{...vh,property:"color"},{...Lh,property:"color"}],errorMessageTextColor:{...Ah,property:"color"},errorMessageIcon:{...Ah,property:"background-image"},errorMessageIconSize:{...Ah,property:"background-size"},errorMessageIconPadding:{...Ah,property:"padding-inline-start"},errorMessageIconRepeat:{...Ah,property:"background-repeat"},errorMessageIconPosition:{...Ah,property:"background-position"},errorMessageFontSize:{...Ah,property:"font-size"},inputHeight:{...jh,property:"min-height"},inputBackgroundColor:{...jh,property:"background-color"},inputBorderColor:{...jh,property:"border-color"},inputBorderWidth:{...jh,property:"border-width"},inputBorderStyle:{...jh,property:"border-style"},inputBorderRadius:{...jh,property:"border-radius"},labelRequiredIndicator:{...Lh,property:"content"},inputValueTextColor:{...jh,property:"color"},inputPlaceholderTextColor:{...zh,property:"color"},inputDropdownButtonCursor:[{...Dh,property:"cursor"},{...Sh,property:"cursor"}],inputDropdownButtonColor:[{...Dh,property:"color"},{...Sh,property:"color"}],inputDropdownButtonSize:[{...Dh,property:"font-size"},{...Sh,property:"font-size"}],inputDropdownButtonOffset:[{...Dh,property:"margin-right"},{...Dh,property:"margin-left"}],inputOutlineColor:{...jh,property:"outline-color"},inputOutlineWidth:{...jh,property:"outline-width"},inputOutlineStyle:{...jh,property:"outline-style"},inputOutlineOffset:{...jh,property:"outline-offset"},inputHorizontalPadding:[{...Th,property:"padding-left"},{...Th,property:"padding-right"},{...jh,property:"padding-inline-start"}],inputVerticalPadding:[{...jh,property:"padding-top"},{...jh,property:"padding-bottom"}],chipTextColor:{...fh,property:"color"},chipBackgroundColor:[{...wh,property:"background-color"},{...Eh,property:"border-color"},{...kh,property:"border-color"}],labelPosition:{...vh,property:"position"},labelTopPosition:{...vh,property:"top"},labelLeftPosition:{...vh,property:"left"},labelHorizontalPosition:[{...vh,property:"left"},{...vh,property:"right"}],inputTransformY:{...vh,property:"transform"},inputTransition:{...vh,property:"transition"},marginInlineStart:{...vh,property:"margin-inline-start"},placeholderOpacity:{...zh,property:"opacity"},inputVerticalAlignment:{...jh,property:"align-items"},overlayBackground:{property:()=>Oh.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>Oh.cssVarList.overlay.textColor},overlayBorder:{property:()=>Oh.cssVarList.overlay.border},overlayFontSize:{property:()=>Oh.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>Oh.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>Oh.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>Oh.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>Oh.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>Oh.cssVarList.overlay.itemPaddingInlineEnd}}}),ut,Et({name:"overlay",selector:"vaadin-multi-select-combo-box-internal",mappings:{backgroundColor:{selector:"vaadin-multi-select-combo-box-scroller"},minHeight:{selector:"vaadin-multi-select-combo-box-overlay"},margin:{selector:"vaadin-multi-select-combo-box-overlay"},cursor:{selector:"vaadin-multi-select-combo-box-item"},fontFamily:{selector:"vaadin-multi-select-combo-box-item"},textColor:{selector:"vaadin-multi-select-combo-box-item",property:"color"},fontSize:{selector:"vaadin-multi-select-combo-box-item"},itemBoxShadow:{selector:"vaadin-multi-select-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-end"}},forward:{include:!1,attributes:["size"]}}),wt({proxyProps:["selectionStart"],inputEvent:"selected-items-changed"}),Nt,pt,t=>class extends t{static get observedAttributes(){return["readonly"]}#tt=({displayName:t,value:e,label:i})=>{const o=document.createElement("span");return o.setAttribute("data-name",i),o.setAttribute("data-id",e),o.textContent=t||i,o.outerHTML};#W;#Me=[];get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}get allowCustomValues(){return"true"===this.getAttribute("allow-custom-value")}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data and default-values must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}updateSelectedItems(){const t=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[];t.length>0&&(this.value=t),0===this.value.length&&this.setDefaultValues()}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#me(t){return Array.from(new Map(t.map(t=>[t.getAttribute("data-id"),t])).values())}#et(){const t=Array.from(this.children),e=this.#me(t);t.length?(this.removeAttribute("has-no-options"),e.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=e,setTimeout(()=>{this.updateSelectedItems()},0)):(this.baseElement.items=[],this.setAttribute("has-no-options","")),this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-multi-select-combo-box-internal").shadowRoot.querySelector("vaadin-multi-select-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#ye(){this.allowCustomValues&&this.baseElement.addEventListener("custom-value-set",t=>{const e=this.#tt({label:t.detail,displayName:t.detail,value:t.detail});this.innerHTML+=e,this.baseElement._lastFilter="",setTimeout(()=>{this.value=[...this.value,t.detail]},0)})}setGetValidity(){this.getValidity=function(){if(this.pattern){const t=new RegExp(this.pattern);if(this.value.some(e=>!t.test(e)))return{patternMismatch:!0}}return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}};const t=this;this.baseElement.checkValidity=()=>t.validity.valid}init(){super.init?.(),this.setGetValidity(),this.#ye(),this.renderItems(),D(this,this.renderItems.bind(this),{includeAttrs:["data"]}),S(this,this.#et.bind(this)),w(this,this.baseElement,{includeAttrs:["placeholder"]}),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),this.setDefaultValues(),this.baseElement.addEventListener("selected-items-changed",()=>{this.#be(),this.dispatchEvent(new CustomEvent("input",{bubbles:!0}))})}setDefaultValues(){this.defaultValues.length>0&&(this.value=this.defaultValues)}#be(){this.#Me=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[]}set value(t){if(t&&t.length>0){const e=this.baseElement.items?.filter(e=>t.includes(e["data-id"]));if(this.allowCustomValues){const i=e?.map(t=>t.getAttribute("data-id"))||[],o=t.filter(t=>!i.includes(t));if(o.length){const e=o.reduce((t,e)=>t+this.#tt({label:e,displayName:e,value:e}),"");return this.innerHTML+=e,void setTimeout(()=>{this.value=t},0)}}const i=e?.map(t=>t.getAttribute("data-id"))||[];((t,e)=>{if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;const i=t.slice().sort(),o=e.slice().sort();for(let t=0;t<i.length;t++)if(i[t]!==o[t])return!1;return!0})(this.#Me,i)||(this.baseElement.selectedItems=e)}else this.baseElement.selectedItems=[]}get value(){return this.#Me}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i&&"true"===i)}onReadOnlyChange(t){t?this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.setAttribute("inert",t):this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.removeAttribute("inert")}})(vt({slots:["","prefix"],wrappedEleName:"vaadin-multi-select-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${H(Oh.cssVarList)}\n\t\t${_("vaadin-multi-select-combo-box")}\n\t\t${$("vaadin-multi-select-combo-box")}\n\t\t${J("vaadin-multi-select-combo-box")}\n\n\t\tvaadin-multi-select-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-multi-select-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-multi-select-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n align-self: center;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\t\tvaadin-multi-select-combo-box[readonly] [slot="input"] {\n flex-grow: 1;\n flex-basis: 4em;\n\t\t}\n\n\t\t::part(input-field) {\n padding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n ${X("vaadin-multi-select-combo-box")}\n :host([has-label]) vaadin-multi-select-combo-box-chip::part(label) {\n display: block;\n }\n\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::before,\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -4px;\n right: -4px;\n border-left-width: 0;\n border-inline-start-style: solid;\n border-inline-start-width: 2px;\n }\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -8px;\n right: -8px;\n }\n\n :host([has-no-options][allow-custom-value='true']) ::part(toggle-button) {\n display: none;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-multi-select-combo-box::part(toggle-button),\n vaadin-multi-select-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t`,excludeAttrsSync:["tabindex","size","data","placeholder","style"],componentName:Ih,includeForwardProps:["items","renderer","selectedItems"]})),Vh=C("multi-line-mappings"),Wh=yt({componentName:Vh}),Yh=t=>null==t?"":String("object"==typeof t?t.value??t.id??t.label??"":t),Uh=t=>[...new Set(t.map(Yh).filter(Boolean))],Rh=t=>{const e=Yh(t);return"object"==typeof t&&null!==t?{...t,value:e,label:String(t.label??t.displayName??e)}:{value:e,label:e}},Qh=t=>{if(!Array.isArray(t))return[];const e=new Set;return t.map(Rh).filter(t=>!(!t.value||e.has(t.value)||(e.add(t.value),0)))},Zh=(t=[],e=[])=>t.length===e.length&&t.every((t,i)=>t===e[i]),Bh={selector:()=>":host"},Ph={selector:".row"},Fh={selector:".add-action"},Gh=T(ct({mappings:{hostWidth:{...Bh,property:"width"},hostDirection:[{...Bh,property:"direction"},{selector:Oh.componentName,property:Oh.cssVarList.hostDirection},{selector:ko.componentName,property:ko.cssVarList.hostDirection}],rowsGap:{selector:".rows",property:"gap"},rowGap:{...Ph,property:"gap"},rowAlignItems:{...Ph,property:"align-items"},rowWrap:{...Ph,property:"flex-wrap"},addActionJustifyContent:{...Fh,property:"justify-content"},addActionMarginTop:{...Fh,property:"margin-top"}}}),ut)(class extends Wh{static get observedAttributes(){return["data","max-rows","size","disabled","readonly","first-value-key","second-value-key","first-label","second-label","first-placeholder","second-placeholder","full-width","merge-rows"]}#Ne=[{firstValues:[],secondValues:[]}];#Ie=null;#xe=[];#je={};constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="rows"></div>\n <div class="add-action">\n <descope-button\n class="add-button"\n variant="link"\n mode="primary"\n >\n <slot name="add-button-content">Add line</slot>\n </descope-button>\n </div>\n </div>\n ',f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n max-width: 100%;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows > .row {\n display: flex;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n align-items: flex-end;\n }\n\n .row descope-multi-select-combo-box {\n flex: 1 1 0;\n box-sizing: border-box;\n }\n\n .row .remove-button {\n flex: 0 0 auto;\n align-self: flex-end;\n }\n\n .row:only-child .remove-button {\n display: none;\n pointer-events: none;\n }\n\n .add-action {\n display: flex;\n }\n ",this),this.rowsElement=this.shadowRoot.querySelector(".rows"),this.addButtonElement=this.shadowRoot.querySelector(".add-button")}get size(){return this.getAttribute("size")||"md"}get firstValueKey(){return this.getAttribute("first-value-key")||"firstValues"}get secondValueKey(){return this.getAttribute("second-value-key")||"secondValues"}get firstLabel(){return this.getAttribute("first-label")||""}get secondLabel(){return this.getAttribute("second-label")||""}get firstPlaceholder(){return this.getAttribute("first-placeholder")||""}get secondPlaceholder(){return this.getAttribute("second-placeholder")||""}get disabled(){return"true"===this.getAttribute("disabled")}get readonly(){return"true"===this.getAttribute("readonly")}get mergeRows(){return"true"===this.getAttribute("merge-rows")}get maxRows(){const t=Number(this.getAttribute("max-rows"));return Number.isFinite(t)&&t>0?t:void 0}get data(){return this.#je}get value(){return this.#Ne.filter(t=>t.firstValues.length>0||t.secondValues.length>0).flatMap(t=>(t.firstValues.length?t.firstValues:[""]).map(e=>({[this.firstValueKey]:e,[this.secondValueKey]:[...t.secondValues]})))}set value(t){this.#Ie=t,this.#Ne=this.#Te(t),this.#ze(),this.#De()}#Se(t){const e=((t,e,i="unknown")=>{if("string"!=typeof t||!t?.trim())return e;try{return JSON.parse(t)}catch(t){return console.error(`[descope-multi-line-mappings] Failed to parse JSON from "${i}"`,t),e}})(t,{},"data attribute"),i=e&&"object"==typeof e&&!Array.isArray(e)?e:{};this.#xe=Object.entries(i).map(([t,e])=>{const i=String(t),o=null!=e&&"object"==typeof e&&!Array.isArray(e),r=o?e.options??[]:e;return{value:i,label:o&&null!=e.label?String(e.label):i,options:Qh(r)}}),this.#je=Object.fromEntries(this.#xe.map(({value:t,options:e})=>[t,e]))}init(){super.init?.(),this.#ve(),this.addButtonElement.addEventListener("click",()=>this.#Le()),this.#De()}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("data"===t)return this.#Se(i),this.#ze(),void this.#De();if("size"===t)return[...this.#Ce(),...this.#Ae()].forEach(t=>t.setAttribute("size",this.size)),this.#ve(),void this.#we();if(["disabled","readonly"].includes(t))return this.#Ce().forEach(t=>{t[this.disabled?"setAttribute":"removeAttribute"]("disabled","true"),t[this.readonly?"setAttribute":"removeAttribute"]("readonly","true")}),this.#Ae().forEach(t=>t[this.disabled||this.readonly?"setAttribute":"removeAttribute"]("disabled","true")),void this.#we();if(["first-label","second-label"].includes(t)){const e="first-label"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("label",i):o?.removeAttribute("label")})}if(["first-placeholder","second-placeholder"].includes(t)){const e="first-placeholder"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("placeholder",i):o?.removeAttribute("placeholder")})}"max-rows"===t&&this.#we(),"merge-rows"===t&&null!==this.#Ie&&(this.#Ne=this.#Te(this.#Ie),this.#ze(),this.#De())}}#Ce(){return Array.from(this.rowsElement.querySelectorAll("descope-multi-select-combo-box"))}#Ae(){return Array.from(this.rowsElement.querySelectorAll(".remove-button"))}#Le(){if(this.disabled||this.readonly||this.#fe())return;const t={firstValues:[],secondValues:[]};this.#Ne=[...this.#Ne,t],this.rowsElement.append(this.#Ee(t)),this.#we()}#Te(t){if(!Array.isArray(t)||!t.length)return[{firstValues:[],secondValues:[]}];let e=t.map(t=>{const e=t?.[this.firstValueKey];return{firstValues:null!=e&&""!==String(e)?[String(e)]:[],secondValues:Uh(t?.[this.secondValueKey]??[])}});if(this.mergeRows){const t=new Map;for(const i of e){const e=[...i.secondValues].sort().join("\0");t.has(e)?t.get(e).firstValues.push(...i.firstValues):t.set(e,{firstValues:[...i.firstValues],secondValues:i.secondValues})}e=[...t.values()]}return e}#ze(){const t=new Set(this.#xe.map(t=>t.value));this.#Ne=this.#Ne.map(e=>{const i=e.firstValues.filter(e=>t.has(e)),o=this.#ke(i),r=new Set(o.map(t=>t.value));return{firstValues:i,secondValues:e.secondValues.filter(t=>r.has(t))}})}#ke(t){const e=t.length?t.map(t=>this.#je[t]||[]).filter(t=>t.length):Object.values(this.#je).filter(t=>t.length);if(!e.length||t.length&&e.length!==t.length)return[];if(1===e.length)return e[0];const[i,...o]=e,r=new Set(i.map(t=>t.value));for(const t of o){const e=new Set(t.map(t=>t.value));for(const t of r)e.has(t)||r.delete(t)}return i.filter(t=>r.has(t.value))}#Oe({getRowIndex:t,type:e,label:i,placeholder:o,options:r,selectedValues:n}){const s=document.createElement("descope-multi-select-combo-box");return s.className=`combo ${e}-combo`,s.setAttribute("size",this.size),s.setAttribute("bordered","true"),s.setAttribute("item-label-path","data-name"),s.setAttribute("item-value-path","data-id"),i&&s.setAttribute("label",i),o&&s.setAttribute("placeholder",o),this.disabled&&s.setAttribute("disabled","true"),this.readonly&&s.setAttribute("readonly","true"),s.data=r,this.#Ve(s,n),s.addEventListener("input",()=>{if(s.__descopeSyncingSelection)return;const i=t();-1!==i&&this.#We({rowIndex:i,type:e,selectedValues:Uh(s.value||[])})}),s}#Ve(t,e){t.__descopeSyncingSelection=!0,Promise.resolve().then(()=>{const i=new Set(e||[]);t.selectedItems=(t.items||[]).filter(t=>i.has(t["data-id"]||t.getAttribute?.("data-id"))),t.__descopeSyncingSelection=!1})}#Ye(t){const e=document.createElement("descope-button");return e.className="remove-button",e.setAttribute("variant","link"),e.setAttribute("mode","primary"),e.setAttribute("size",this.size),e.setAttribute("aria-label","Remove row"),e.innerHTML='<vaadin-icon icon="vaadin:minus"></vaadin-icon>',(this.disabled||this.readonly)&&e.setAttribute("disabled","true"),e.addEventListener("click",()=>{const e=t();-1!==e&&this.#Ue(e)}),e}#De(){this.rowsElement.innerHTML="",this.#Ne.forEach(t=>{this.rowsElement.append(this.#Ee(t))}),this.#we()}#Ee(t){const e=document.createElement("div");e.className="row";const i=()=>Array.from(this.rowsElement.children).indexOf(e),o=this.#Oe({getRowIndex:i,type:"first",label:this.firstLabel,placeholder:this.firstPlaceholder,options:this.#xe.map(({value:t,label:e})=>({value:t,label:e})),selectedValues:t.firstValues}),r=this.#ke(t.firstValues),n=this.#Oe({getRowIndex:i,type:"second",label:this.secondLabel,placeholder:this.secondPlaceholder,options:r,selectedValues:t.secondValues});return e.append(o,n,this.#Ye(i)),e}#Re(t){const e=this.#Ne[t];if(!e)return;const i=this.rowsElement.children[t],o=i?.querySelector(".second-combo");if(!o)return void this.#De();const r=this.#ke(e.firstValues);o.data=r,this.#Ve(o,e.secondValues)}#ve(){this.addButtonElement.setAttribute("size",this.size)}#we(){this.disabled||this.readonly||this.#fe()?this.addButtonElement.setAttribute("disabled","true"):this.addButtonElement.removeAttribute("disabled")}#fe(){return Number.isFinite(this.maxRows)&&this.#Ne.length>=this.maxRows}#Qe(t){this.rowsElement.children[t]?.remove()}#We({rowIndex:t,type:e,selectedValues:i}){if(this.disabled||this.readonly)return;const o=this.#Ne[t];if(o){if("first"===e){const e=this.#ke(i),r=new Set(e.map(t=>t.value)),n=o.secondValues.filter(t=>r.has(t));if(Zh(o.firstValues,i)&&Zh(o.secondValues,n))return;return this.#Ne[t]={firstValues:i,secondValues:n},this.#Re(t),void this.#Ze()}Zh(o.secondValues,i)||(this.#Ne[t]={...o,secondValues:i},this.#Ze())}}#Ue(t){if(this.disabled||this.readonly||this.#Ne.length<=1)return;const e=this.#Ne[t];this.#Ne=this.#Ne.filter((e,i)=>i!==t),this.#Qe(t),this.#we(),(e.firstValues.length>0||e.secondValues.length>0)&&this.#Ze()}#Ze(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}}),Hh=Gh.cssVarList,Jh={[Hh.hostDirection]:vp.direction,[Hh.rowsGap]:ep.spacing.sm,[Hh.rowGap]:ep.spacing.sm,[Hh.rowAlignItems]:"flex-end",[Hh.rowWrap]:"nowrap",[Hh.addActionJustifyContent]:"flex-start",[Hh.addActionMarginTop]:ep.spacing.xs,_fullWidth:{[Hh.hostWidth]:"100%"}};var $h=Object.freeze({__proto__:null,default:Jh,vars:Hh});const _h=et(ep),Xh=Oh.cssVarList,qh={[Xh.hostWidth]:vp.width,[Xh.hostDirection]:vp.direction,[Xh.fontSize]:vp.fontSize,[Xh.fontFamily]:vp.fontFamily,[Xh.labelFontSize]:vp.labelFontSize,[Xh.labelFontWeight]:vp.labelFontWeight,[Xh.inputValueFontWeight]:vp.inputValueFontWeight,[Xh.inputPlaceholderFontWeight]:vp.inputPlaceholderFontWeight,[Xh.helperTextFontWeight]:vp.helperTextFontWeight,[Xh.errorMessageFontWeight]:vp.errorMessageFontWeight,[Xh.labelTextColor]:vp.labelTextColor,[Xh.errorMessageTextColor]:vp.errorMessageTextColor,[Xh.inputBorderColor]:vp.borderColor,[Xh.inputBorderWidth]:vp.borderWidth,[Xh.inputBorderStyle]:vp.borderStyle,[Xh.inputBorderRadius]:vp.borderRadius,[Xh.inputOutlineColor]:vp.outlineColor,[Xh.inputOutlineOffset]:vp.outlineOffset,[Xh.inputOutlineWidth]:vp.outlineWidth,[Xh.inputOutlineStyle]:vp.outlineStyle,[Xh.labelRequiredIndicator]:vp.requiredIndicator,[Xh.inputValueTextColor]:vp.valueTextColor,[Xh.inputPlaceholderTextColor]:vp.placeholderTextColor,[Xh.inputBackgroundColor]:vp.backgroundColor,[Xh.inputHorizontalPadding]:vp.horizontalPadding,[Xh.inputVerticalPadding]:vp.verticalPadding,[Xh.inputHeight]:vp.inputHeight,[Xh.inputDropdownButtonColor]:_h.colors.surface.dark,[Xh.inputDropdownButtonCursor]:"pointer",[Xh.inputDropdownButtonSize]:vp.toggleButtonSize,[Xh.inputDropdownButtonOffset]:_h.spacing.xs,[Xh.overlayItemPaddingInlineStart]:_h.spacing.xs,[Xh.overlayItemPaddingInlineEnd]:_h.spacing.lg,[Xh.chipFontSize]:vp.chipFontSize,[Xh.chipTextColor]:_h.colors.surface.contrast,[Xh.chipBackgroundColor]:_h.colors.surface.light,[Xh.labelPosition]:vp.labelPosition,[Xh.labelTopPosition]:vp.labelTopPosition,[Xh.labelLeftPosition]:vp.labelLeftPosition,[Xh.labelHorizontalPosition]:vp.labelHorizontalPosition,[Xh.inputTransformY]:vp.inputTransformY,[Xh.inputTransition]:vp.inputTransition,[Xh.marginInlineStart]:vp.marginInlineStart,[Xh.placeholderOpacity]:vp.placeholderOpacity,[Xh.inputVerticalAlignment]:vp.inputVerticalAlignment,[Xh.errorMessageIcon]:vp.errorMessageIcon,[Xh.errorMessageIconSize]:vp.errorMessageIconSize,[Xh.errorMessageIconPadding]:vp.errorMessageIconPadding,[Xh.errorMessageIconRepeat]:vp.errorMessageIconRepeat,[Xh.errorMessageIconPosition]:vp.errorMessageIconPosition,[Xh.errorMessageFontSize]:vp.errorMessageFontSize,labelType:{floating:{[Xh.inputHorizontalPadding]:"0.25em",_hasValue:{[Xh.inputHorizontalPadding]:"0.45em"}}},_readonly:{[Xh.inputDropdownButtonCursor]:"default"},[Xh.overlayFontSize]:vp.fontSize,[Xh.overlayFontFamily]:vp.fontFamily,[Xh.overlayCursor]:"pointer",[Xh.overlayItemBoxShadow]:"none",[Xh.overlayBackground]:vp.backgroundColor,[Xh.overlayTextColor]:vp.valueTextColor,[Xh.overlay.minHeight]:"400px",[Xh.overlay.margin]:"0"};var Kh=Object.freeze({__proto__:null,default:qh,multiSelectComboBox:qh,vars:Xh});const tg=C("autocomplete-field-internal"),eg=zt({componentName:tg,baseSelector:""}),ig=[],og="DESCOPE_INVALID_OPTION",rg=C("autocomplete-field"),{host:ng}={host:{selector:()=>":host"}},sg=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:{...ng,property:"width"},hostDirection:{...ng,property:"direction"},fontSize:{...ng},checkmarkDisplay:{selector:xo.componentName,property:xo.cssVarList.overlayCheckmarkDisplay},itemPaddingInlineStart:{selector:xo.componentName,property:xo.cssVarList.overlayItemPaddingInlineStart},itemPaddingInlineEnd:{selector:xo.componentName,property:xo.cssVarList.overlayItemPaddingInlineEnd},selectedItemBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemBackground},selectedItemHoverBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemHoverBackground},selectedItemFocusBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemFocusBackground},itemHoverBackground:{selector:xo.componentName,property:xo.cssVarList.overlayItemHoverBackground}}}),ut,wt({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${tg}\n tabindex="-1"\n ></${tg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(tg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),L(this,this.inputElement,{includeAttrs:["invalid"]}),this.inputElement.fetchResults=this.fetchResults,this.setDefaultValue()}set fetchResults(t){this.inputElement.fetchResults=t}})(vt({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-autocomplete-field-internal {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n descope-autocomplete-field-internal ::slotted {\n padding: 0;\n }\n ",excludeAttrsSync:["tabindex","error-message","label","style"],componentName:rg})),ag=sg.cssVarList,lg=et(ep),dg={[ag.hostWidth]:vp.width,[ag.hostDirection]:vp.direction,[ag.fontSize]:vp.fontSize,[ag.checkmarkDisplay]:"none",[ag.itemPaddingInlineStart]:lg.spacing.lg,[ag.itemPaddingInlineEnd]:lg.spacing.lg,[ag.selectedItemBackground]:lg.colors.primary.light,[ag.selectedItemHoverBackground]:lg.colors.primary.light,[ag.selectedItemFocusBackground]:lg.colors.primary.light,[ag.itemHoverBackground]:lg.colors.primary.highlight,_fullWidth:{[ag.hostWidth]:"100%"}};var cg=Object.freeze({__proto__:null,default:dg,vars:ag});class ug extends(St()){#Be=null;#Pe=null;constructor(t){super(t),this.#Pe=this.#Fe()}getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"includedPrimaryTypes",attribute:"address-types"},{key:"language",attribute:"address-language"},{key:"region",attribute:"address-region"}]}async#Fe(){const t=this.getAttribute("public-api-key");if(!this.#Be&&t)try{(t=>{var e,i,o,r,n,s,a,l,d,c,u,p,h;window.google?.maps||(e={key:t},n="The Google Maps JavaScript API",s="google",a="importLibrary",l="__ib__",d=document,c=window,u=(c=c[s]||(c[s]={})).maps||(c.maps={}),p=new Set,h=new URLSearchParams,u[a]?console.warn(n+" only loads once. Ignoring:",e):u[a]=(t,...c)=>p.add(t)&&(i||(i=new Promise(async(t,a)=>{for(r in await(o=d.createElement("script")),h.set("libraries",[...p]+""),e)h.set(r.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),e[r]);h.set("callback",s+".maps."+l),o.src=`https://maps.${s}apis.com/maps/api/js?`+h,u[l]=t,o.onerror=()=>i=a(Error(n+" could not load.")),o.nonce=d.querySelector("script[nonce]")?.nonce||"",d.head.append(o)}))).then(()=>u[a](t,...c)))})(t);const{AutocompleteSuggestion:e}=await google.maps.importLibrary("places");this.#Be=e}catch(t){throw console.error("Failed to initialize Google Maps Autocomplete service:",t),t}}async _fetchResults(t){if(!t?.trim())return{results:[]};try{await this.#Pe;const e={input:t};this.getOptionalParams().forEach(({attribute:t,key:i,defaultValue:o})=>{const r=this.getAttribute(t)||o;r&&(e[i]="includedPrimaryTypes"===i?r.split(",").map(t=>t.trim()).filter(Boolean):r)});const{suggestions:i}=await this.#Be.fetchAutocompleteSuggestions(e);return this.#Ge(i)}catch(t){return console.error("Google Maps Places Autocomplete failed:",t),{results:[],error:Dt}}}#Ge(t){return t?.length?{results:t.map(t=>{const e=t.placePrediction;return{id:e.placeId,label:e.text.text,value:e.text.text}})}:{results:[]}}}class pg extends(St()){getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"layers",attribute:"address-types"},{key:"limit",attribute:"address-limit"},{key:"lang",attribute:"address-language"},{key:"countryCode",attribute:"address-region"}]}async _fetchResults(t){if(!t?.trim())return{results:[]};const e=this.getAttribute("public-api-key"),i=new URLSearchParams({query:t.trim()});this.getOptionalParams().forEach(({attribute:t,key:e,defaultValue:o})=>{const r=this.getAttribute(t)||o;r&&("layers"===e||"countryCode"===e?i.append(e,r.split(",").map(t=>t.trim()).filter(Boolean).join(",")):i.append(e,r))});try{const t=await fetch(`https://api.radar.io/v1/search/autocomplete?${i.toString()}`,{headers:{Authorization:e}});if(!t.ok)throw new Error(`Radar API returned ${t.status}`);const o=await t.json();return this.#Ge(o)}catch(t){return console.error("Radar Places Autocomplete failed:",t),{results:[],error:Dt}}}#Ge(t){return t?.addresses?.length?{results:t.addresses.map(t=>({label:t.formattedAddress,value:t.formattedAddress}))}:{results:[]}}}const hg=C("address-field-internal"),gg="google-maps-places",Mg="radar",mg={[gg]:ug,[Mg]:pg},yg=zt({componentName:hg,baseSelector:""}),bg=["public-api-key"],Ng=[...bg],Ig=T((({connectorClasses:t})=>e=>class extends e{#He=t;static get observedAttributes(){return[...e.observedAttributes||[],"connector-template"]}get connectorClasses(){return this.#He}set connectorClasses(t){this.#He=t}get connectorTemplate(){return this.getAttribute("connector-template")}initializeConnector(){const t=this.connectorTemplate;if(!this.connectorClasses[t])return;const e=this.connectorClasses[t];this.connector=new e(this.getAttribute.bind(this))}async fetchConnectorResults(t){if(!this.connector)return console.error(`No connector initialized for the field with template: ${this.connectorTemplate}`),{results:[]};const{results:e,error:i}=await this.connector.fetch(t);return i?{results:[],error:i}:{results:e.map(({label:t,value:e})=>({label:t,value:e}))}}init(){super.init?.(),this.initializeConnector()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"connector-template"===t&&this.initializeConnector()}})({connectorClasses:mg}))(class extends yg{static get observedAttributes(){return[].concat(yg.observedAttributes||[],Ng)}get errorMsgValueMissing(){return this.getAttribute("data-errormessage-value-missing")||this.defaultErrorMsgValueMissing}constructor(){super(),this.innerHTML="\n <div>\n <descope-autocomplete-field></descope-autocomplete-field>\n </div>\n ",this.autocompleteField=this.querySelector("descope-autocomplete-field")}get value(){return this.autocompleteField.value}set value(t){this.autocompleteField.value=t}focus(){this.autocompleteField.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.autocompleteField.focus()}),super.init?.(),this.initAutocomplete()}initAutocomplete(){w(this,this.autocompleteField,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","error-message","default-value","data-errormessage-value-missing","st-host-direction","allow-custom-value","min-search-length","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),L(this,this.autocompleteField,{includeAttrs:["invalid"]}),this.autocompleteField.fetchResults=this.fetchConnectorResults.bind(this)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&bg.includes(t)&&this.initializeConnector()}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),xg=C("address-field"),{host:jg}={host:{selector:()=>":host"}},Tg=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:{...jg,property:"width"},hostDirection:{...jg,property:"direction"}}}),ut,wt({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}set connectorClasses(t){this.inputElement.connectorClasses=t}get connectorClasses(){return this.inputElement.connectorClasses}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${hg}\n tabindex="-1"\n ></${hg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(hg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding","connector-template","public-api-key","address-types","address-language","address-region","address-limit"]}),L(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValue()}})(vt({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${hg} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${hg} ::slotted {\n padding: 0;\n }\n`,excludeAttrsSync:["tabindex","error-message","label","style"],componentName:xg})),zg=Tg.cssVarList,Dg={[zg.hostWidth]:vp.width,[zg.hostDirection]:vp.direction,_fullWidth:{[zg.hostWidth]:"100%"}};var Sg=Object.freeze({__proto__:null,default:Dg,vars:zg});const vg=(t,e=2)=>String(t).padStart(e,"0"),Lg=C("timer"),Cg=["seconds","hide-icon","paused"],Ag=yt({componentName:Lg,baseSelector:":host > .wrapper"}),{host:wg,icon:fg,timer:Eg}={host:{selector:()=>":host"},icon:{selector:()=>".icon"},timer:{selector:()=>".timer"}},kg=T(ct({mappings:{fontSize:{},iconSize:[{...fg,property:"width"},{...fg,property:"height"}],fontFamily:{},minHeight:{},fontWeight:{...Eg},lineHeight:{...Eg},textColor:{...Eg,property:"color"},gap:{},textAlign:{property:"justify-content"},hostWidth:{...wg,property:"width"},hostDirection:{...wg,property:"direction"},iconColor:{...fg,property:Lo.cssVarList.fill}}}),ut,pt)(class extends Ag{#Je=0;#$e;static get observedAttributes(){return Cg.concat(Ag.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=" class="icon"></descope-icon>\n <div class="timer"></div>\n </div>\n\t\t',f("\n :host {\n display: inline-flex;\n user-select: none;\n -webkit-user-select: none;\n }\n .wrapper {\n display: flex;\n align-items: center;\n flex-direction: row;\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ",this),this.icon=this.shadowRoot.querySelector(".icon"),this.timer=this.shadowRoot.querySelector(".timer")}get seconds(){const t=this.getAttribute("seconds"),e=1e3*parseInt(t||0,10);return Math.max(0,e)}get isPaused(){return"true"===this.getAttribute("paused")}init(){super.init?.(),this.#Je=this.seconds}startInterval(){this.#Je?this.#$e=setInterval(()=>{this.#_e(),this.#Je||this.stop(),this.#Xe(this.#Je)},1e3):this.stop()}stopInterval(){clearInterval(this.#$e)}#_e(){this.#Je=this.#Je-1e3}reset(){this.#Je=this.seconds,this.#Xe(this.#Je),this.isPaused||(this.dispatchEvent(new CustomEvent("timer-started",{bubbles:!0})),this.startInterval())}stop(){this.stopInterval(),this.#Je=0,this.#Xe(this.#Je),this.dispatchEvent(new CustomEvent("timer-ended",{bubbles:!0}))}pause(){this.setAttribute("paused","true"),this.stopInterval()}resume(){this.removeAttribute("paused"),this.startInterval()}#Xe(t){this.timer.textContent=((t=0)=>{const e=Math.floor(t/1e3),i=Math.floor(e/3600),o=Math.floor(e%3600/60),r=e%60;return[...i?[vg(i)]:[],vg(o),vg(r)].join(":")})(t)}#qe(t){this.icon.classList.toggle("hidden",t)}#Ke(t){setTimeout(()=>{t?this.pause():this.#$e||this.resume()})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("seconds"===t&&this.reset(),"hide-icon"===t&&this.#qe("true"===i),"paused"===t&&this.#Ke("true"===i))}}),Og=et(ep),Vg=kg.cssVarList,Wg={[Vg.hostDirection]:Og.direction,[Vg.gap]:"0.25em",[Vg.fontFamily]:Og.fonts.font1.family,[Vg.minHeight]:"1.5em",[Vg.lineHeight]:"1em",[Vg.fontWeight]:Og.fonts.font1.fontWeight,[Vg.textColor]:Og.colors.surface.contrast,[Vg.iconColor]:Og.colors.surface.contrast,[Vg.iconSize]:"1em",size:{xs:{[Vg.fontSize]:"12px"},sm:{[Vg.fontSize]:"14px"},md:{[Vg.fontSize]:"16px"},lg:{[Vg.fontSize]:"18px"}},textAlign:{right:{[Vg.textAlign]:"right"},left:{[Vg.textAlign]:"left"},center:{[Vg.textAlign]:"center"}},_fullWidth:{[Vg.hostWidth]:"100%"}};var Yg=Object.freeze({__proto__:null,default:Wg,vars:Vg});const Ug=C("timer-button"),Rg=["button-variant","button-mode","size","text-align","full-width"],Qg={"button-variant":"variant","button-mode":"mode"},Zg=["timer-seconds","timer-hide-icon","timer-paused","size","text-align","full-width"],Bg={"timer-seconds":"seconds","timer-hide-icon":"hide-icon","timer-paused":"paused"},Pg=yt({componentName:Ug,baseSelector:":host > div"}),{host:Fg,nestedTimer:Gg,nestedButton:Hg,timerInsideNotReversed:Jg,timerInsideReversed:$g}={host:{selector:()=>":host"},nestedTimer:{selector:()=>':host([timer-inside="true"]) .timer'},nestedButton:{selector:()=>':host([timer-inside="true"]) .button'},timerInsideNotReversed:{selector:()=>':host([timer-inside="true"]:not([timer-position="end"])) .timer'},timerInsideReversed:{selector:()=>':host([timer-inside="true"][timer-position="end"]) .timer'}},_g=T(ct({mappings:{gap:{},flexDirection:{},hostWidth:{...Fg,property:"width"},hostDirection:{...Fg,property:"direction"},timerTextColor:{...Gg,property:kg.cssVarList.textColor},timerIconColor:{...Gg,property:kg.cssVarList.iconColor},timerHostWidth:{...Gg,property:kg.cssVarList.hostWidth},buttonLabelSpacing:{...Hg,property:ko.cssVarList.labelSpacing},timerInsideGapEnd:{...Jg,property:"margin-inline-end"},timerInsideGapStart:{...$g,property:"margin-inline-start"}}}),ut,pt)(class extends Pg{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-timer class="timer"></descope-timer>\n <descope-button class="button" disabled="true">\n <slot></slot>\n </descope-button>\n </div>\n\t\t',f('\n :host {\n display: inline-flex;\n }\n .wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n }\n /* allow timer to grow along the main axis in the wrapper flex container */\n :host(:not([timer-inside="true"])) .timer {\n flex: 1;\n }\n :host([timer-inside="true"]) .timer {\n flex: 0 0 auto;\n }\n ',this),this.wrapper=this.shadowRoot.querySelector(".wrapper"),this.timer=this.shadowRoot.querySelector(".timer"),this.button=this.shadowRoot.querySelector(".button"),this.forwardingSlot=this.shadowRoot.querySelector(".button slot"),this.timer.addEventListener("timer-started",()=>this.onTimerStarted()),this.timer.addEventListener("timer-ended",()=>this.onTimerEnded()),this.syncTimerPlacement(),this.button.addEventListener("click",this.onClick.bind(this))}static get observedAttributes(){return[...super.observedAttributes||[],"timer-inside","timer-position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"timer-inside"!==t&&"timer-position"!==t||this.syncTimerPlacement()}get#ti(){return"true"===this.getAttribute("timer-inside")}get#ei(){return"end"===this.getAttribute("timer-position")}syncTimerPlacement(){this.#ti?this.#ii(this.#ei):this.#oi()}#ii(t){t?this.timer.previousSibling!==this.forwardingSlot&&this.button.appendChild(this.timer):this.timer.nextSibling!==this.forwardingSlot&&this.button.insertBefore(this.timer,this.forwardingSlot)}#oi(){this.timer.parentElement!==this.wrapper&&this.wrapper.insertBefore(this.timer,this.button)}set onclick(t){this.button.onclick=t}init(){super.init?.(),w(this,this.button,{includeAttrs:Rg,mapAttrs:Qg}),w(this,this.timer,{includeAttrs:Zg,mapAttrs:Bg}),this.button.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}onTimerStarted(){this.toggleButtonDisable(!0)}onTimerEnded(){this.toggleButtonDisable(!1)}onClick(){this.timer.reset()}toggleButtonDisable(t){setTimeout(()=>{t?this.button.setAttribute("disabled","true"):this.button.removeAttribute("disabled")})}}),Xg=et(ep),qg=_g.cssVarList,Kg={[qg.gap]:Xg.spacing.sm,[qg.flexDirection]:"column",_horizontal:{[qg.flexDirection]:"row",timerPosition:{end:{[qg.flexDirection]:"row-reverse"}}},timerPosition:{end:{[qg.flexDirection]:"column-reverse"}},_fullWidth:{[qg.hostWidth]:"100%"},_timerInside:{[qg.timerTextColor]:"currentColor",[qg.timerIconColor]:"currentColor",[qg.timerHostWidth]:"auto",[qg.buttonLabelSpacing]:"0",[qg.timerInsideGapEnd]:`var(${qg.gap})`,timerPosition:{end:{[qg.timerInsideGapStart]:`var(${qg.gap})`}}}};var tM=Object.freeze({__proto__:null,default:Kg,vars:qg});const eM=C("password-strength");class iM extends(yt({componentName:eM,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["options","value"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="bars-container"></div>\n <div class="text-container">\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .wrapper {\n display: inline-flex;\n position: relative;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: flex-start;\n }\n\n .bar {\n flex-grow: 1;\n }\n\n .bars-container {\n display: flex;\n flex-grow: 1;\n width: 100%;\n }\n ",this),this.barsContainer=this.shadowRoot.querySelector(".bars-container"),this.textContainer=this.shadowRoot.querySelector(".text-container")}get options(){return this.getAttribute("options")?.split(",")||[]}getCalcScoreFn=()=>Promise.resolve().then(function(){return dx}).then(t=>t.default);#ri=-1;async calcScore(){const t=this.getAttribute("value")||"";return t?(await this.getCalcScoreFn())(t).score:-1}renderBars(){this.barsContainer.innerHTML="",this.bars=this.options.map((t,e)=>{const i=document.createElement("div");return i.classList.add("bar"),i.classList.toggle("filled",e<=this.#ri),this.barsContainer.appendChild(i),i})}init(){super.init?.(),this.getCalcScoreFn()}async onValueChange(){const t=await this.calcScore();t!==this.#ri&&(this.#ri=t,this.dispatchEvent(new CustomEvent("score-changed",{bubbles:!0,composed:!0,detail:this.#ri})),this.bars?.forEach((t,e)=>{t.classList.toggle("filled",e<=this.#ri)}),this.textContainer.innerHTML=this.options[this.#ri]||"",-1===this.#ri?this.removeAttribute("score"):this.setAttribute("score",this.#ri))}attributeChangedCallback(t,e,i){if(e!==i)return"options"===t?this.renderBars():"value"===t?this.onValueChange():void 0}}const{host:oM,bar:rM,filledBar:nM,barsContainer:sM,text:aM}={host:{selector:()=>":host"},bar:{selector:" .bar"},barsContainer:{selector:" .bars-container"},filledBar:{selector:" .bar.filled"},text:{selector:" .text-container"}},lM=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:[{...oM,property:"width"},{...oM,property:"min-width"}],hostDirection:{...oM,property:"direction"},hostMinWidth:{...oM,property:"min-width"},barHeight:{...rM,property:"height"},barBorderRadius:{...rM,property:"border-radius"},emptyBarColor:{...rM,property:"background-color"},filledBarColor:{...nM,property:"background-color"},textColor:{...aM,property:"color"},spacing:{property:"gap"},barSpacing:{...sM,property:"gap"},fontSize:{},fontWeight:{},fontFamily:{},barTransition:{...rM,property:"transition"}}}),ut,pt)(iM),dM=et(ep),cM=lM.cssVarList,uM={[cM.hostDirection]:dM.direction,[cM.barHeight]:"4px",[cM.barTransition]:"background-color 0.3s",[cM.barBorderRadius]:dM.radius.sm,[cM.hostMinWidth]:vp.minWidth,[cM.barSpacing]:dM.spacing.sm,[cM.emptyBarColor]:dM.colors.surface.light,[cM.fontFamily]:vp.fontFamily,[cM.fontSize]:vp.labelFontSize,[cM.fontWeight]:vp.labelFontWeight,[cM.spacing]:dM.spacing.sm,_fullWidth:{[cM.hostWidth]:"100%"},score:{0:{[cM.filledBarColor]:dM.colors.error.light,[cM.textColor]:dM.colors.error.light},1:{[cM.filledBarColor]:dM.colors.error.main,[cM.textColor]:dM.colors.error.main},2:{[cM.filledBarColor]:dM.colors.error.dark,[cM.textColor]:dM.colors.error.dark},3:{[cM.filledBarColor]:dM.colors.success.dark,[cM.textColor]:dM.colors.success.dark},4:{[cM.filledBarColor]:dM.colors.success.main,[cM.textColor]:dM.colors.success.main}}},pM={...cM};var hM=Object.freeze({__proto__:null,default:uM,vars:pM});const gM=C("collapsible-container");class MM extends(yt({componentName:gM,baseSelector:"slot"})){static get observedAttributes(){return["collapsed","collapsible","text"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-text st-host-direction="ltr">\n <div class="header">\n <div class="icon">\n <descope-icon st-fill="currentcolor" src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=></descope-icon>\n </div>\n <span></span>\n </div>\n </descope-text>\n <div class="content">\n <slot></slot>\n </div>\n </div>\n\t',f(`\n div.content {\n transition-property: max-height;\n overflow: auto;\n height: auto;\n\t\t\t}\n\t\t\tslot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n slot:focus-visible {\n outline: none;\n }\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n .header {\n user-select: none;\n display: flex;\n align-items: baseline;\n }\n .icon {\n flex-shrink: 0;\n height: var(${Ci.cssVarList.textLineHeight});\n min-height: 24px;\n display: flex;\n align-items: center;\n }\n descope-icon {\n transition-property: transform;\n }\n .rotate {\n transform: rotate(-180deg);\n }\n descope-text {\n width: 100%;\n display: flex;\n }\n span {\n align-self: center;\n word-break: break-word;\n }\n span:empty {\n display: none;\n }\n .wrapper {\n overflow: hidden;\n display: inline-flex;\n width: 100%;\n flex-direction: column;\n }\n `,this),this.header=this.shadowRoot.querySelector(".header"),this.content=this.shadowRoot.querySelector("div.content"),this.icon=this.header.querySelector("descope-icon"),this.headerText=this.header.querySelector("span"),this.textComponent=this.shadowRoot.querySelector("descope-text")}get isCollapsible(){return"true"===this.getAttribute("collapsible")}calcContentHeight(){return this.content.offsetHeight||this.content.scrollHeight}get isCollapsed(){return"true"===this.getAttribute("collapsed")}toggle(){this.setAttribute("collapsed",this.isCollapsed?"false":"true")}collapse(t=!1){const e=()=>{this.content.style.maxHeight="0px"};if(this.icon.classList.add("rotate"),!t)return e();this.content.style.maxHeight=this.calcContentHeight()+"px",setTimeout(e)}expand(t=!1){const e=()=>{this.content.style.maxHeight=""};if(this.icon.classList.remove("rotate"),!t)return e();this.content.addEventListener("transitionend",e,{once:!0}),this.content.style.maxHeight=this.calcContentHeight()+"px"}#ni=!1;init(){super.init?.(),this.#ni=!0,this.header.addEventListener("click",()=>{this.isCollapsible&&this.toggle()}),w(this,this.textComponent,{includeAttrs:["text-align","text-variant","text-mode"],mapAttrs:{"text-mode":"mode","text-variant":"variant"}})}updateHeaderText(){const t=this.getAttribute("text")||"";this.headerText.innerText=t}attributeChangedCallback(t,e,i){"text"!==t?this.isCollapsed&&this.isCollapsible?this.collapse(this.#ni):this.expand(this.#ni):this.updateHeaderText()}}const mM={host:()=>":host",icon:()=>"descope-icon",iconWrapper:()=>".icon",header:()=>".header",text:()=>"span",wrapper:()=>".wrapper",content:()=>"div.content"},yM=T(ct({mappings:{hostWidth:{selector:mM.host,property:"width"},hostDirection:{selector:mM.host,property:"direction"},verticalPadding:[{selector:mM.wrapper,property:"padding-top"},{selector:mM.wrapper,property:"padding-bottom"}],horizontalPadding:[{selector:mM.wrapper,property:"padding-left"},{selector:mM.wrapper,property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:[{},{property:"margin-top"}],backgroundColor:{selector:mM.wrapper},backgroundImage:{selector:mM.wrapper},backgroundPositionX:{selector:mM.wrapper},backgroundPositionY:{selector:mM.wrapper},backgroundSize:{selector:mM.wrapper},backgroundRepeat:{selector:mM.wrapper},borderRadius:{selector:mM.wrapper},borderColor:{selector:mM.wrapper},borderStyle:{selector:mM.wrapper},borderWidth:{selector:mM.wrapper},boxShadow:{selector:mM.wrapper},headerIconOrder:{selector:mM.iconWrapper,property:"order"},headerCursor:{selector:mM.header,property:"cursor"},headerGap:{selector:mM.header,property:"gap"},textGrow:{selector:mM.text,property:"flex-grow"},textDirection:{selector:mM.text,property:"direction"},iconAnimationDuration:{selector:mM.icon,property:"transition-duration"},contentAnimationDuration:{selector:mM.content,property:"transition-duration"}}}),ut,pt)(MM),bM=et(ep),NM=yM.cssVarList,[IM,xM,jM]=ot({shadowColor:"#00000020"},gM),{shadowColor:TM}=xM,zM={...IM,[NM.hostWidth]:"100%",[NM.boxShadow]:"none",[NM.backgroundColor]:bM.colors.surface.main,[NM.backgroundImage]:"",[NM.backgroundPositionX]:"center",[NM.backgroundPositionY]:"center",[NM.backgroundSize]:"cover",[NM.backgroundRepeat]:"no-repeat",[NM.borderRadius]:"0px",[NM.hostDirection]:bM.direction,[NM.flexDirection]:"column",[NM.alignItems]:"flex-start",[NM.justifyContent]:"flex-start",[NM.headerGap]:bM.spacing.md,[NM.iconAnimationDuration]:"0.1s",[NM.contentAnimationDuration]:"0.1s",[NM.borderWidth]:"0px",[NM.textGrow]:"0",verticalPadding:{sm:{[NM.verticalPadding]:"5px"},md:{[NM.verticalPadding]:"10px"},lg:{[NM.verticalPadding]:"20px"}},horizontalPadding:{sm:{[NM.horizontalPadding]:"5px"},md:{[NM.horizontalPadding]:"10px"},lg:{[NM.horizontalPadding]:"20px"}},spaceBetween:{sm:{[NM.gap]:"10px"},md:{[NM.gap]:"20px"},lg:{[NM.gap]:"30px"}},shadow:{sm:{[NM.boxShadow]:`${bM.shadow.wide.sm} ${TM}, ${bM.shadow.narrow.sm} ${TM}`},md:{[NM.boxShadow]:`${bM.shadow.wide.md} ${TM}, ${bM.shadow.narrow.md} ${TM}`},lg:{[NM.boxShadow]:`${bM.shadow.wide.lg} ${TM}, ${bM.shadow.narrow.lg} ${TM}`},xl:{[NM.boxShadow]:`${bM.shadow.wide.xl} ${TM}, ${bM.shadow.narrow.xl} ${TM}`},"2xl":{[jM.shadowColor]:"#00000050",[NM.boxShadow]:`${bM.shadow.wide["2xl"]} ${TM}`}},borderRadius:{sm:{[NM.borderRadius]:bM.radius.sm},md:{[NM.borderRadius]:bM.radius.md},lg:{[NM.borderRadius]:bM.radius.lg},xl:{[NM.borderRadius]:bM.radius.xl},"2xl":{[NM.borderRadius]:bM.radius["2xl"]},"3xl":{[NM.borderRadius]:bM.radius["3xl"]}},iconPosition:{left:{[NM.headerIconOrder]:"0"},right:{[NM.headerIconOrder]:"1"}},_fillTitle:{[NM.textGrow]:"1"},_border:{[NM.borderColor]:bM.colors.surface.light,[NM.borderWidth]:bM.border.xs,[NM.borderStyle]:"solid"},_collapsible:{[NM.headerCursor]:"pointer"}},DM={...NM,...jM};var SM=Object.freeze({__proto__:null,default:zM,vars:DM});const vM=C("recovery-codes");class LM extends(yt({componentName:vM,baseSelector:":host > div"})){static get observedAttributes(){return["readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="list"></div>\n <descope-text class="icon-wrapper">\n <vaadin-icon class="icon" icon="vaadin:copy-o" title="Copy"></vaadin-icon>\n </descope-text>\n </div>\n ',this.list=this.shadowRoot.querySelector(".list"),this.icon=this.shadowRoot.querySelector(".icon"),this.iconWrapper=this.shadowRoot.querySelector(".icon-wrapper"),f("\n :host {\n display: inline-block;\n position: relative;\n }\n .wrapper {\n display: flex;\n justify-content: space-between;\n }\n .list {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n }\n descope-text span {\n display: inline-flex;\n align-items: center;\n width: fit-content;\n }\n descope-text span::before {\n content: '\\02022';\n transform: translateY(-0.06em);\n }\n .icon-wrapper {\n align-self: flex-start;\n }\n .icon {\n cursor: pointer;\n }\n .icon.copied {\n cursor: initial;\n }\n .icon.readonly {\n pointer-events: none;\n }\n ",this)}get variant(){return this.getAttribute("variant")}get mode(){return this.getAttribute("mode")}init(){super.init(),this.icon.addEventListener("click",this.onCopy.bind(this)),w(this,this.iconWrapper,{includeAttrs:["variant","mode"]})}onCopy(){navigator.clipboard.writeText(String(this.data.map(t=>t.value).join("\n"))),this.icon.setAttribute("icon","vaadin:check-circle-o"),this.icon.setAttribute("title","Copied"),this.icon.classList.add("copied"),setTimeout(()=>{this.icon.setAttribute("icon","vaadin:copy-o"),this.icon.setAttribute("title","Copy"),this.icon.classList.remove("copied")},5e3)}onReadOnly(t){this.icon.classList.toggle("readonly",t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&"readonly"===t&&this.onReadOnly("true"===i)}}const CM=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostMinWidth:{selector:()=>":host",property:"min-width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Ci.componentName,property:Ci.cssVarList.hostDirection}],textAlign:{selector:()=>".list",property:"align-items"},iconColor:{selector:()=>"vaadin-icon",property:"color"},iconSize:{selector:()=>"vaadin-icon",property:"font-size"},iconGap:{selector:()=>".wrapper",property:"gap"},bulletGap:{selector:()=>"descope-text span",property:"gap"}}}),Vt({itemRenderer:({value:t},e,i)=>`\n <descope-text variant="${i.variant}" mode="${i.mode}">\n <span>${t}</span>\n </descope-text>\n `,rerenderAttrsList:["variant","mode"],targetSelector:".list"}),ut,pt)(LM),AM=et(ep),wM=CM.cssVarList,fM=Ci.cssVarList,EM={[wM.hostMinWidth]:"190px",[wM.hostDirection]:AM.direction,[wM.iconColor]:it(fM.textColor),[wM.iconSize]:it(fM.fontSize),[wM.iconGap]:"8px",[wM.bulletGap]:"0.35em",textAlign:{right:{[wM.textAlign]:"flex-end"},left:{[wM.textAlign]:"flex-start"},center:{[wM.textAlign]:"center"}},_fullWidth:{[wM.hostWidth]:"100%"}};var kM=Object.freeze({__proto__:null,default:EM,vars:wM});const OM=C("outbound-apps"),VM=({name:t,description:e,logo:i,appId:o,isConnected:r},n,s)=>{const a=r?"disconnect":"connect";return`\n <descope-list-item>\n <descope-avatar\n ${i?`img="${i}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size=${s.size}\n ${i?'st-avatar-background-color="none"':""}\n class="app-logo"\n ></descope-avatar>\n\n <div class="content">\n <descope-text\n class="app-title"\n variant="subtitle1"\n mode="primary"\n >${t}</descope-text>\n ${e?`\n <descope-text\n class="app-description"\n variant="body2"\n mode="primary"\n >${e}</descope-text>\n `:""}\n </div>\n <div class="controls">\n <descope-button variant="link" mode="primary" size=${s.size} data-action="${a}" data-outbound-app-id="${o}" data-id="${a}">\n ${r?s.disconnectButtonLabel:s.connectButtonLabel}\n </descope-button>\n </div>\n </descope-list-item>\n`},WM=yt({componentName:OM,baseSelector:"descope-list"}),{host:YM}={host:{selector:()=>":host"}},UM=T(ct({mappings:{hostWidth:{...YM,property:"width"},minHeight:{selector:()=>":host"},hostDirection:[{...YM,property:"direction"},{selector:"descope-list",property:"direction"},{selector:"descope-list-item",property:"direction"}],iconColor:{selector:()=>" descope-icon",property:Lo.cssVarList.fill},errorIconColor:{selector:()=>" descope-icon.error-icon",property:Lo.cssVarList.fill},fontSize:{selector:Ci.componentName,property:Ci.cssVarList.fontSize},appLogoGap:{selector:()=>" .app-logo",property:"margin-inline-end"},contentGap:{selector:()=>" .content",property:"gap"},itemsTextAlign:{selector:Ci.componentName,property:Ci.cssVarList.textAlign},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}]}}),ut,Vt({itemRenderer:VM,rerenderAttrsList:["size","connect-button-label","disconnect-button-label"]}),pt)(class extends WM{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n width: 100%;\n }\n .controls {\n display: flex;\n min-width: 8em;\n justify-content: end;\n }\n .content {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n .app-title,\n .app-description {\n display: flex;\n direction: inherit;\n }\n descope-list {\n display: block;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=VM,this.appsList.addEventListener("click",this.onAppsListClick.bind(this))}get readonly(){return"true"===this.getAttribute("readonly")}onAppsListClick(t){if(!this.readonly){const e=t.srcElement.getAttribute("data-outbound-app-id"),i=t.srcElement.getAttribute("data-action");e&&i&&this.dispatchEvent(new CustomEvent(`${i}-clicked`,{bubbles:!0,detail:{id:e,action:i}}))}}get size(){return this.getAttribute("size")||"sm"}get connectButtonLabel(){return this.getAttribute("connect-button-label")||"Connect"}get disconnectButtonLabel(){return this.getAttribute("disconnect-button-label")||"Disconnect"}}),RM=UM.cssVarList,QM={[RM.iconColor]:ep.colors.primary.main,[RM.errorIconColor]:ep.colors.error.main,[RM.appLogoGap]:ep.spacing.md,[RM.contentGap]:ep.spacing.xs,[RM.itemCursor]:"default",[RM.itemOutline]:"none",[RM.itemBorderColor]:"transparent",[RM.listPadding]:"0",[RM.listBorderWidth]:"0",[RM.listBoxShadow]:"none",size:{xs:{[RM.fontSize]:"0.6em"},sm:{[RM.fontSize]:"0.8em"},md:{[RM.fontSize]:"1em"},lg:{[RM.fontSize]:"1.5em"}}};var ZM=Object.freeze({__proto__:null,default:QM,vars:RM});const BM=C("outbound-app-button");class PM extends(yt({componentName:BM,baseSelector:":host > descope-button"})){static get observedAttributes(){return["label","icon-src","icon-fill-current-color"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-button>\n <descope-icon class="icon"></descope-icon>\n <span class="label"></span>\n </descope-button>\n ',f("\n :host {\n display: inline-block;\n }\n .hidden {\n display: none;\n }\n ",this),this.button=this.shadowRoot.querySelector("descope-button"),this.icon=this.shadowRoot.querySelector(".icon"),this.label=this.shadowRoot.querySelector(".label")}init(){super.init?.(),w(this,this.button,{excludeAttrs:["style","class","label","icon-src","icon-fill-current-color"]})}updateLabel(t=""){this.label.textContent=t,this.label.classList.toggle("hidden",!t)}updateIcon(t=""){this.icon.setAttribute("src",t),this.icon.classList.toggle("hidden",!t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.updateLabel(i):"icon-src"===t&&this.updateIcon(i))}}const FM=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},iconFillCurrentColor:{selector:()=>"descope-icon",property:ko.cssVarList.iconColor}}}),ut,pt)(PM),GM=FM.cssVarList,HM={[GM.iconFillCurrentColor]:"inherit",_iconFillCurrentColor:{[GM.iconFillCurrentColor]:"currentColor"},_fullWidth:{[GM.hostWidth]:"100%"}},JM=GM;var $M=Object.freeze({__proto__:null,default:HM,vars:JM});const _M=t=>{const e=parseInt(t,10);return Number.isNaN(e)?0:e},XM={desktop:{light:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA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aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNi41SDIyVjQuNUg0QzIuOSA0LjUgMiA1LjQgMiA2LjVWMTcuNUgwVjIwLjVIMTRWMTcuNUg0VjYuNVpNMjMgOC41SDE3QzE2LjQ1IDguNSAxNiA4Ljk1IDE2IDkuNVYxOS41QzE2IDIwLjA1IDE2LjQ1IDIwLjUgMTcgMjAuNUgyM0MyMy41NSAyMC41IDI0IDIwLjA1IDI0IDE5LjVWOS41QzI0IDguOTUgMjMuNTUgOC41IDIzIDguNVpNMjIgMTcuNUgxOFYxMC41SDIyVjE3LjVaIiBmaWxsPSIjNjM2Qzc0Ii8+Cjwvc3ZnPgo=",dark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="}},qM=C("trusted-devices"),KM=({id:t,name:e,lastLoginDate:i,deviceType:o,isCurrent:r},n,s)=>{const a=r?'class="current-device"':"",{iconSrc:l,iconSrcDark:d}=(t=>{const e=XM[t]||XM.unknown;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),c=s.lastLoginLabel?`${s.lastLoginLabel} `:"",u=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),r=String(i.getMonth()+1).padStart(2,"0"),n=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${n}/${r}/${o}`,"YYYY-MM-DD":`${o}/${r}/${n}`,"MM-DD-YYYY":`${r}/${n}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,s.format),p=r?`<descope-badge\n bordered="true"\n size="xs"\n mode="primary"\n st-host-direction="${s.direction}"\n >\n ${s.currentDeviceLabel}\n </descope-badge>`:"",h=s.hideActions||r?"":`<descope-link\n class="remove-device"\n variant="body1"\n mode="primary"\n data-action="remove-device"\n data-device-id="${t}"\n st-host-direction="${s.direction}"\n ellipsis="true"\n >\n ${s.removeDeviceLabel}\n </descope-link>`,g=document.createElement("template");return g.innerHTML=`\n <descope-list-item ${a}>\n <div class="content">\n <div class="main">\n <span class="device">\n <descope-icon\n class="device-icon"\n src="${l}"\n src-dark="${d}">\n </descope-icon>\n <descope-text\n class="device-name"\n variant="body1"\n mode="primary">\n </descope-text>\n </span>\n <span class="panel">\n ${p}\n ${h}\n </span>\n </div>\n <div class="meta">\n <descope-text\n variant="body2"\n mode="primary"\n >\n ${c}\n </descope-text>\n <descope-text\n class="login-date"\n variant="body2"\n mode="primary"\n >\n ${u}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,g.content.querySelector(".device-name").textContent=e,g},tm=yt({componentName:qM,baseSelector:hu.componentName}),{host:em}={host:{selector:()=>":host"}},im=T(ct({mappings:{hostWidth:{...em,property:"width"},hostMinWidth:{...em,property:"min-width"},hostDirection:[{...em,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"}],listItemsGap:{property:hu.cssVarList.gap},listBackgroundColor:{selector:()=>hu.componentName,property:hu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>hu.componentName,property:hu.cssVarList.borderRadius},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPadding},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBorderRadius:{selector:cu.componentName,property:cu.cssVarList.borderRadius},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},badgeBorderColor:{selector:vc.componentName,property:vc.cssVarList.borderColor},badgeTextColor:{selector:vc.componentName,property:vc.cssVarList.textColor},badgeBackgroundColor:{selector:vc.componentName,property:vc.cssVarList.backgroundColor},badgeBorderRadius:{selector:vc.componentName,property:vc.cssVarList.borderRadius},devicePanelGap:{selector:()=>".main",property:"gap"},deviceIconGap:{selector:()=>".device",property:"gap"},deviceIconSize:[{selector:()=>".device-icon",property:"width"},{selector:()=>".device-icon",property:"height"}],lastLoginLabelGap:{selector:" .meta",property:"gap"}}}),ut,Vt({itemRenderer:KM,sortFn:(t,e)=>_M(e.lastLoginDate)-_M(t.lastLoginDate),rerenderAttrsList:["remove-device-label","current-device-label","last-login-label","format","hide-actions"]}),pt)(class extends tm{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n display: inline-block;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .current-device {\n order: -1;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n }\n\n .device {\n display: flex;\n min-width: 0;\n }\n\n .device-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .login-date {\n min-width: fit-content;\n }\n\n descope-badge {\n min-width: 0;\n }\n\n descope-text {\n display: flex;\n align-items: center; \n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-device::part(wrapper) {\n display: flex;\n width: 100%;\n }\n descope-link.remove-device {\n width: 100%;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=KM,this.appsList.addEventListener("click",this.onRemoveClick.bind(this))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-device-id]"),i=e?.getAttribute("data-device-id");i&&this.dispatchEvent(new CustomEvent("remove-device-clicked",{bubbles:!0,detail:{id:i,action:"remove-device"}}))}get readOnly(){return"true"===this.getAttribute("readonly")}get hideActions(){return"true"===this.getAttribute("hide-actions")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get removeDeviceLabel(){return this.getAttribute("remove-device-label")||"Sign out"}get currentDeviceLabel(){return this.getAttribute("current-device-label")||"Current device"}get lastLoginLabel(){return this.getAttribute("last-login-label")||"Last login:"}get direction(){return this.getAttribute("st-host-direction")}}),om=im.cssVarList,rm={[om.hostWidth]:"auto",[om.hostWidth]:"300px",[om.hostMinWidth]:"300px",[om.listBackgroundColor]:"transparent",[om.listBorderRadius]:"0",[om.listBorderWidth]:"0",[om.listPadding]:"0",[om.listBoxShadow]:"none",[om.listItemsGap]:ep.spacing.lg,[om.itemBorderColor]:ep.colors.surface.light,[om.itemVerticalPadding]:ep.spacing.lg,[om.itemHorizontalPadding]:ep.spacing.lg,[om.itemBorderRadius]:ep.radius.xs,[om.itemOutline]:"transparent",[om.itemBackgroundColor]:"transparent",[om.itemCursor]:"default",[om.itemContentGap]:ep.spacing.sm,[om.badgeBorderColor]:ep.colors.surface.light,[om.badgeTextColor]:ep.colors.surface.dark,[om.badgeBorderRadius]:ep.radius.xs,[om.badgeBackgroundColor]:ep.colors.surface.main,[om.devicePanelGap]:ep.spacing.md,[om.deviceIconGap]:ep.spacing.md,[om.deviceIconSize]:"24px",[om.lastLoginLabelGap]:ep.spacing.xs,_fullWidth:{[om.hostWidth]:"100%"}};var nm=Object.freeze({__proto__:null,default:rm,vars:om});const sm=C("tooltip"),am=["text","position","hide-delay","hover-delay","opened"];class lm extends(yt({componentName:sm,baseSelector:"vaadin-tooltip"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <vaadin-tooltip slot="anchored"></vaadin-tooltip>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.tooltip=this.shadowRoot.querySelector("vaadin-tooltip"),this.anchored=this.shadowRoot.querySelector("descope-anchored")}#si(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}static get observedAttributes(){return am.concat(super.observedAttributes||[])}get isOpened(){return"true"===this.getAttribute("opened")}get overlay(){return this.tooltip?._overlayElement}get overlayContentNode(){return this.overlay?.shadowRoot.querySelector('[part="content"]')}get tooltipText(){return this.getAttribute("text")?.trim()||""}get isStaticDisplay(){return"true"===this.getAttribute("static-display")}get srLabel(){return this.tooltip?.querySelector('[slot="sr-label"]')}#ai(){this.isStaticDisplay?(this.#li(),this.setAttribute("inert","true")):this.removeAttribute("inert")}#li(){this.overlay&&(this.overlay.style.display="block",this.overlay.style.position="static")}init(){super.init?.(),f('\n :host {\n display: inline-block;\n }\n vaadin-tooltip {\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n }\n /* Stack anchor above the anchored element so the tooltip flows below it inline. */\n :host([static-display="true"]) descope-anchored::part(root) {\n flex-direction: column;\n }\n :host([static-display="true"]) descope-anchored::part(anchored) {\n position: static;\n inset: unset;\n }\n :host([static-display="true"]) vaadin-tooltip {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n }\n :host([static-display="true"]) vaadin-tooltip [slot="sr-label"] {\n display: none;\n }\n',this),this.defaultSlot.addEventListener("slotchange",()=>this.#di()),this.#di(),this.#si(),setTimeout(()=>this.#ci())}#di(){const t=this.defaultSlot?.assignedElements()?.[0];t&&(this.tooltip.target=t)}#ci(){this.#ui(),this.#pi(),w(this,this.tooltip,{includeAttrs:["position","opened"]}),this.#hi()}#gi(){this.overlayContentNode.innerHTML=""}#Mi(){const t=document.createElement("descope-enriched-text");return t.setAttribute("link-target-blank","true"),t.textContent=this.tooltipText,t}#ui(){this.overlayContentNode&&setTimeout(()=>{this.#gi(),this.textComponent=this.#Mi(),this.overlayContentNode.appendChild(this.textComponent),this.srLabel&&!this.tooltipText&&this.srLabel.setAttribute("aria-hidden","true"),w(this,this.textComponent,{includeAttrs:["readonly"]})})}#pi(){if(!this.overlay)return;const t=this.overlay._attachOverlay?.bind(this.overlay);this.overlay._detachOverlay=()=>{},this.overlay._attachOverlay=()=>{t?.(),setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.overlay._updatePosition?.()})},this.isOpened&&setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.#ai(),this.overlay._updatePosition?.()})}#hi(){this.tooltip?.toggleAttribute("manual",this.isOpened)}#mi(t){if(!this.textComponent)return;const e=(t??"").trim();this.textComponent.textContent=e,this.srLabel&&(e?this.srLabel.removeAttribute("aria-hidden"):this.srLabel.setAttribute("aria-hidden","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("text"===t&&this.#mi(i),"opened"===t&&this.#hi())}}const{overlay:dm,content:cm}={overlay:{selector:()=>"vaadin-tooltip-overlay::part(overlay)"},content:{selector:()=>"vaadin-tooltip-overlay::part(content)"}},um=T(pt,Et({selector:"",mappings:{fontFamily:{...cm,property:Qt.cssVarList.fontFamilyOverride},fontSize:{...cm,property:Qt.cssVarList.fontSizeOverride},fontWeight:{...cm,property:Qt.cssVarList.fontWeightOverride},textColor:{...cm,property:Qt.cssVarList.textColorOverride},hostDirection:{...cm,property:Qt.cssVarList.hostDirectionOverride},backgroundColor:[{...dm},{...cm}],borderColor:{...dm},borderStyle:{...dm},borderWidth:{...dm},borderRadius:{...dm},boxShadow:{...dm},horizontalPadding:[{...cm,property:"padding-left"},{...cm,property:"padding-right"}],verticalPadding:[{...cm,property:"padding-top"},{...cm,property:"padding-bottom"}]},forward:{attributes:["style"],include:!1}}))(lm),pm=et(ep),hm=um.cssVarList,[gm,Mm,mm]=ot({shadowColor:"#00000020"},sm),{shadowColor:ym}=Mm,bm=`${pm.shadow.wide.sm} ${ym}, ${pm.shadow.narrow.sm} ${ym}`,Nm={...gm,[hm.fontFamily]:pm.fonts.font1.family,[hm.fontSize]:ep.typography.body2.size,[hm.fontWeight]:ep.typography.body2.weight,[hm.textColor]:pm.colors.surface.contrast,[hm.hostDirection]:pm.direction,[hm.backgroundColor]:pm.colors.surface.main,[hm.borderColor]:pm.colors.surface.light,[hm.borderStyle]:"solid",[hm.borderWidth]:pm.border.xs,[hm.borderRadius]:pm.radius.xs,[hm.horizontalPadding]:pm.spacing.md,[hm.verticalPadding]:pm.spacing.sm,[hm.boxShadow]:bm,shadow:{sm:{[hm.boxShadow]:bm},md:{[hm.boxShadow]:`${pm.shadow.wide.md} ${ym}, ${pm.shadow.narrow.md} ${ym}`},lg:{[hm.boxShadow]:`${pm.shadow.wide.lg} ${ym}, ${pm.shadow.narrow.lg} ${ym}`},xl:{[hm.boxShadow]:`${pm.shadow.wide.xl} ${ym}, ${pm.shadow.narrow.xl} ${ym}`},"2xl":{[mm.shadowColor]:"#00000050",[hm.boxShadow]:`${pm.shadow.wide["2xl"]} ${ym}`}}};var Im=Object.freeze({__proto__:null,default:Nm,vars:hm});const xm=async t=>{const e=await fetch(t);if(!e.ok)throw new Error(`[dataService] ${e.status} ${t}`);const i=await e.json();return i.data??i},jm=async t=>xm(`${t}/countries.json`),Tm=async(t,e)=>{try{return(await xm(`${e}/countries/${t}/subdivisions.json`)).map(({code:t,...e})=>({...e,state_code:t}))}catch{return[]}},zm=async(t,e,i)=>xm(`${i}/countries/${t}/subdivisions/${e}/cities.json`),Dm=async t=>{const e=new URL("../labels.json",`${t}/`).href;return xm(e)},Sm=async(t,e)=>xm(`${e}/countries/${t}/cities.json`),vm=C("country-subdivision-city-field-internal"),Lm=Symbol("selecting"),Cm=({name:t,translations:e={}},i)=>i&&(e[i]||e[i.split("-")[0]])||t,Am=t=>t?String(t).replace(/[&<>"']/g,t=>`&#${t.charCodeAt(0)};`):"",wm=({name:t,iso2:e,iso3:i,translations:o,lang:r})=>{const n=Cm({name:t,translations:o},r),s=[n,e,i];n!==t&&s.push(t);const a=Am(e),l=Am(s.join(" ")),d=Am(n);return`<div data-id="${a}" data-name="${l}" data-label="${d}">${d}</div>`},fm=({name:t,state_code:e,translations:i,lang:o})=>{const r=Cm({name:t,translations:i},o),n=[r,e];r!==t&&n.push(t);const s=Am(e),a=Am(n.join(" ")),l=Am(r);return`<div data-id="${s}" data-name="${a}" data-label="${l}">${l}</div>`},Em=({name:t,translations:e,lang:i})=>{const o=Cm({name:t,translations:e},i),r=[o];o!==t&&r.push(t);const n=Am(t),s=Am(r.join(" ")),a=Am(o);return`<div data-id="${n}" data-name="${s}" data-label="${a}">${a}</div>`},km=t=>`<descope-combo-box id="${t}" item-label-path="data-name" item-value-path="data-id" allow-custom-value="false"></descope-combo-box>`,Om=zt({componentName:vm,baseSelector:""}),Vm=["disabled","readonly","size","bordered"],Wm=["hide-country","hide-subdivision","hide-city"],Ym=[...Vm,"label-type","country-label","subdivision-label","city-label",...Wm,"default-country","allowed-countries","pinned-countries","country-placeholder","subdivision-placeholder","city-placeholder","required","invalid","data-source-base-url","lang"],Um=T()(class extends Om{static get observedAttributes(){return[].concat(Om.observedAttributes||[],Ym)}#yi;#bi;#Ni;#Ii=!1;#xi=!1;#ji=new Map;#Ti=null;#zi=null;#Di=null;#Si=null;#vi=null;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n ${km("country-combo")}\n ${km("subdivision-combo")}\n ${km("city-combo")}\n </div>\n `,this.#yi=this.querySelector("#country-combo"),this.#bi=this.querySelector("#subdivision-combo"),this.#Ni=this.querySelector("#city-combo"),this.#Li(),this.#Ci()}get#Ai(){return"true"===this.getAttribute("hide-country")}get#wi(){return"true"===this.getAttribute("hide-subdivision")}get#fi(){return"true"===this.getAttribute("hide-city")}get#Ei(){return!this.#ki}get#ki(){return this.getAttribute("data-source-base-url")||void 0}get#Oi(){const t=this.getAttribute("lang")||void 0;if(t)try{const[e]=Intl.getCanonicalLocales(t);return e}catch{return}}get#Vi(){return this.getAttribute("default-country")?.toUpperCase()||void 0}get#Wi(){return this.getAttribute("subdivision-label")||void 0}get#Yi(){return this.getAttribute("subdivision-placeholder")||void 0}get#Ui(){return(this.getAttribute("allowed-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Ri(){return(this.getAttribute("pinned-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Qi(){return[this.#yi,this.#bi,this.#Ni]}get value(){return{country:this.#Ai?this.#Vi:this.#yi.value||void 0,subdivision:!this.#wi&&this.#Ii&&this.#bi.value||void 0,city:!this.#fi&&this.#xi&&this.#Ni.value||void 0}}set value(t){if(!t)return;let e;try{e="string"==typeof t?JSON.parse(t):t}catch{return}this.#vi={...e},this.#ki&&this.#Zi()}init(){this.addEventListener("focus",t=>{if(t.isTrusted){const t=this.#Qi.find(t=>!t.classList.contains(`${vm}-hidden`)&&!t.checkValidity());(t||this.#Bi())?.focus()}}),super.init?.(),this.#Pi(),this.#Fi(),this.#Gi(),this.#Hi()}#Hi(){this.#yi.renderItem=wm,this.#bi.renderItem=fm,this.#Ni.renderItem=Em}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i)if("required"===t)this.#Ji();else if(Wm.includes(t)||"data-source-base-url"===t)this.#Pi(),"data-source-base-url"===t&&this.#Gi();else if("default-country"===t){const t=i?.toUpperCase();if(t&&t!==i)return void this.setAttribute("default-country",t);t&&this.#ji.size?this.#$i(t):t&&this.#Ai&&this.#_i()}else"lang"===t?this.#Xi():"invalid"===t?"true"===i&&this.#qi():"allowed-countries"===t||"pinned-countries"===t?this.#Ai||(this.#Ti?this.#Ki(this.#Ti):this.#_i()):"country-label"===t?this.#to(this.#yi,"label",i):"subdivision-label"===t?this.#to(this.#bi,"label",i):"city-label"===t&&this.#to(this.#Ni,"label",i)}getValidity(){if(!this.isRequired)return{};const t=!this.#Ai&&!this.#yi.value,e=!this.#wi&&(this.#Ei||this.#Ii)&&!this.#bi.value,i=!this.#fi&&(this.#Ei||this.#xi)&&!this.#Ni.value;return t||e||i?{valueMissing:!0}:{}}#qi(){for(const t of[...this.#Qi].reverse())t.classList.contains(`${vm}-hidden`)||t.checkValidity()||t.reportValidity()}#Li(){[this.#yi,this.#bi,this.#Ni].forEach(t=>{t.customValueTransformFn=e=>{const i=t.baseElement?.items?.find(t=>t["data-name"]===e);return i?.getAttribute("data-label")??e}})}#Ci(){this.#Qi.forEach(t=>{w(this,t,{includeAttrs:[...Vm,"label-type"]})}),w(this,this.#yi,{includeAttrs:["default-country"],mapAttrs:{"default-country":"default-value"}}),[[this.#yi,"country-placeholder"],[this.#bi,"subdivision-placeholder"],[this.#Ni,"city-placeholder"]].forEach(([t,e])=>{w(this,t,{includeAttrs:[e],mapAttrs:{[e]:"placeholder"}})})}#Fi(){this.#yi.addEventListener("input",()=>this.#eo()),this.#bi.addEventListener("input",()=>this.#io()),this.#Ni.addEventListener("input",()=>this.#oo()),this.handleFocusEventsDispatching(this.#Qi)}#Gi(){this.#ki&&(this.#vi?this.#Zi():this.#Ai&&!this.#Vi||this.#_i())}async#Zi(){const{country:t,subdivision:e,city:i}=this.#vi,o=!!e&&!this.#wi,r=!!i&&!this.#fi,n=this.#Ti??jm(this.#ki),s=this.#Si??Dm(this.#ki),a=o&&t?Tm(t,this.#ki):null,l=r&&t?o&&e?zm(t,e,this.#ki):Sm(t,this.#ki):null,[d,c,u,p]=(await Promise.allSettled([n,s,a,l])).map(t=>"fulfilled"===t.status?t.value:null);if(!this.#vi)return;c&&(this.#Si=c);const h=[];d&&(this.#Ti||(this.#Ti=d,this.#Ki(d)),t&&!this.#Ai&&h.push([this.#yi,t]));const g=t?this.#ji.get(t):null;g?.subdivisionType&&this.#ro(g.subdivisionType),u&&(this.#zi=u,this.#Ii=u.length>0,u.length>0&&(this.#bi.data=u.map(t=>({...t,lang:this.#Oi})),e&&h.push([this.#bi,e]))),p&&(this.#xi=p.length>0,p.length>0&&(this.#Di=p,this.#Ni.data=p.map(t=>({...t,lang:this.#Oi})),i&&h.push([this.#Ni,i]))),this.#Pi(),this.#vi=Lm,setTimeout(()=>{if(this.#vi===Lm){for(const[t,e]of h){const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)}this.#vi=null}})}#eo(){this.#vi!==Lm&&(this.#vi=null,this.#no(),this.#so(),this.#$i(this.#yi.value),this.#oo())}#io(){if(this.#vi===Lm)return;this.#vi=null;const t=this.#bi.value;if(this.#so(),!this.#fi&&t){const e=this.#yi.value;e&&this.#ao(e,t)}this.#oo()}#$i(t){if(!t)return;const e=this.#ji.get(t);if(!e)return;const{hasSubdivisions:i,subdivisionType:o}=e;!this.#wi&&i?(this.#ro(o),this.#lo(t)):this.#fi||this.#ao(t)}#ro(t){const e=this.#do(t);this.#Wi||this.#to(this.#bi,"label",e||null),this.#Yi||this.#to(this.#bi,"placeholder",e||null)}#do(t){const e=this.#Si?.subdivisionTypes,i=e?.[t]??e?._fallback;if(!i)return t;const o=this.#Oi;return o&&(i[o]||i[o.split("-")[0]])||i.en||t}async#co(){try{this.#Si=await Dm(this.#ki)}catch{}}async#_i(){if(this.#ki){this.#yi.setAttribute("loading","true");try{const[t]=await Promise.all([jm(this.#ki),this.#co()]);this.#Ti=t,this.#Ki(t),!this.#vi&&this.#Vi&&this.#$i(this.#Vi)}catch(t){console.error(`[${vm}] Failed to load countries`,t)}finally{this.#yi.removeAttribute("loading")}}}async#lo(t){this.#uo(this.#bi,!0),this.#bi.setAttribute("loading","true");try{const e=await Tm(t,this.#ki);this.#zi=e,this.#Ii=e.length>0,this.#Pi(),e.length>0?this.#bi.data=e.map(t=>({...t,lang:this.#Oi})):this.#fi||this.#ao(t)}catch(e){console.error(`[${vm}] Failed to load subdivisions for ${t}`,e),this.#Ii=!1,this.#po()}finally{this.#bi.removeAttribute("loading")}}async#ao(t,e){this.#Ni.setAttribute("loading","true");try{const i=await(e?zm(t,e,this.#ki):Sm(t,this.#ki));this.#xi=i.length>0,this.#Pi(),i.length>0&&(this.#Di=i,this.#Ni.data=i.map(t=>({...t,lang:this.#Oi})))}catch(i){console.error(`[${vm}] Failed to load cities for ${t}${e?`/${e}`:""}`,i)}finally{this.#Ni.removeAttribute("loading")}}#Xi(){if(this.#Ti){const t=this.#yi.value;this.#Ki(this.#Ti),t&&this.#ho(this.#yi,t)}if(this.#zi&&this.#Ii){const t=this.#bi.value;this.#bi.data=this.#zi.map(t=>({...t,lang:this.#Oi})),t&&this.#ho(this.#bi,t)}if(this.#Di&&this.#xi){const t=this.#Ni.value;this.#Ni.data=this.#Di.map(t=>({...t,lang:this.#Oi})),t&&this.#ho(this.#Ni,t)}const t=this.#yi.value;if(t){const e=this.#ji.get(t);e?.subdivisionType&&this.#ro(e.subdivisionType)}}#Ki(t){const e=this.#go(t);this.#yi.data=e.map(t=>({...t,lang:this.#Oi})),this.#ji=new Map(t.map(t=>[t.iso2,t]))}#go(t){const e=this.#Ui,i=this.#Ri;let o=e.length?t.filter(t=>e.includes(t.iso2)):[...t];return o.sort((t,e)=>Cm(t,this.#Oi).localeCompare(Cm(e,this.#Oi),this.#Oi)),i.length?[...i.map(t=>o.find(e=>e.iso2===t)).filter(Boolean),...o.filter(t=>!i.includes(t.iso2))]:o}#po(){this.#uo(this.#yi,!this.#Ai),this.#uo(this.#bi,!this.#wi&&(this.#Ei||this.#Ii)),this.#uo(this.#Ni,!this.#fi&&(this.#Ei||this.#xi))}#uo(t,e){t?.classList.toggle(`${vm}-hidden`,!e)}#Ji(){const t=this.hasAttribute("required")?"true":null;this.#to(this.#yi,"required",this.#Ai?null:t),this.#to(this.#bi,"required",this.#wi||!this.#Ei&&!this.#Ii?null:t),this.#to(this.#Ni,"required",this.#fi||!this.#Ei&&!this.#xi?null:t)}#Pi(){this.#po(),this.#Ji(),this.setCustomValidity("")}#no(){this.#bi.value="",this.#bi.data=[],this.#Ii=!1,this.#Wi||this.#bi.removeAttribute("label"),this.#Yi||this.#bi.removeAttribute("placeholder"),this.#Pi()}#so(){this.#Ni.value="",this.#Ni.data=[],this.#Di=null,this.#xi=!1,this.#Pi()}#oo(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}#to(t,e,i){i?t.setAttribute(e,i):t.removeAttribute(e)}#Bi(){return this.#Qi.find(t=>!t.classList.contains(`${vm}-hidden`))}#ho(t,e){setTimeout(()=>{const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)})}}),Rm=C("country-subdivision-city-field"),Qm={selector:()=>":host"},Zm={selector:`${vm} > .wrapper`},Bm={selector:`${vm} > .wrapper > descope-combo-box`},Pm=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:{...Qm,property:"width"},hostDirection:[{...Qm,property:"direction"},{...Bm,property:xo.cssVarList.hostDirection}],flexDirection:{...Zm,property:"flex-direction"},flexGap:{...Zm,property:"gap"},itemAlignment:{...Zm,property:"align-items"},itemMinWidth:{...Bm,property:"min-width"},itemFlexGrow:{...Bm,property:"flex-grow"},itemWidth:{...Bm,property:xo.cssVarList.hostWidth}}}),ut,wt({proxyProps:["value"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${vm}\n tabindex="-1"\n ></${vm}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(vm),w(this,this.inputElement,{includeAttrs:["size","bordered","required","label-type","disabled","readonly","hide-country","hide-subdivision","hide-city","default-country","allowed-countries","pinned-countries","country-label","subdivision-label","city-label","country-placeholder","subdivision-placeholder","city-placeholder","data-source-base-url","lang","invalid"]}),L(this,this.inputElement,{includeAttrs:["invalid"]})}})(vt({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${vm} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${vm} > .wrapper {\n display: flex;\n width: 100%;\n flex-wrap: wrap;\n }\n\n .${vm}-hidden {\n display: none;\n }\n\n`,excludeAttrsSync:["tabindex","style","error-message"],componentName:Rm})),Fm=Pm.cssVarList,Gm={[Fm.hostWidth]:vp.width,[Fm.hostDirection]:vp.direction,[Fm.flexDirection]:"column",[Fm.flexGap]:"0.5em",[Fm.itemAlignment]:"stretch",[Fm.itemFlexGrow]:"0",[Fm.itemWidth]:"auto",_fullWidth:{[Fm.hostWidth]:"100%"},_horizontal:{[Fm.flexDirection]:"row",[Fm.itemFlexGrow]:"1"}};var Hm=Object.freeze({__proto__:null,default:Gm,vars:Fm});const Jm=C("attachment"),$m=["top-end","top-start","top-center","bottom-start","bottom-end","bottom-center"],_m=$m[0];class Xm extends(yt({componentName:Jm,baseSelector:"descope-anchored"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <div slot="anchored" class="attachment-container">\n <slot name="attachment"></slot>\n </div>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.attachmentSlot=this.shadowRoot.querySelector('slot[name="attachment"]'),this.anchored=this.shadowRoot.querySelector("descope-anchored")}get#Mo(){return this.attachmentSlot?.assignedElements()[0]}static get observedAttributes(){return[...super.observedAttributes||[],"position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"position"===t&&e!==i&&this.#mo()}init(){super.init?.(),this.#si(),f("\n :host {\n display: inline-block;\n }\n :host(.hidden) {\n display: none;\n }\n .attachment-container {\n position: absolute;\n z-index: 1;\n pointer-events: none;\n width: 100%;\n display: flex;\n align-items: center;\n container-type: inline-size;\n }\n",this),this.#mo();const t=this.shadowRoot.querySelector(".attachment-container");D(t,()=>this.#yo(),{includeAttrs:["st-host-direction"]}),this.attachmentSlot.addEventListener("slotchange",()=>this.#yo()),this.defaultSlot.addEventListener("slotchange",()=>{this.#bo(),window.requestAnimationFrame(()=>this.#No())}),window.requestAnimationFrame(()=>this.#bo())}#si(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#No(){const t=this.defaultSlot?.assignedElements()?.[0],e=t?.getBoundingClientRect();if(e){const t=e.width;this.#Mo?.setAttribute("data-attachment-size",Number(t))}}#bo(){const t=this.defaultSlot?.assignedElements()?.length>0;this.classList.toggle("hidden",!t)}#yo(){const t=this.shadowRoot.querySelector(".attachment-container")?.getAttribute("st-host-direction");t&&this.#Mo?.setAttribute("st-host-direction",t)}get offsetX(){return this.getAttribute("offset-x")||"0px"}get offsetY(){return this.getAttribute("offset-y")||"0px"}#mo(){const t=this.getAttribute("position");$m.includes(t)||this.setAttribute("position",_m)}}const qm={selector:()=>".attachment-container"},Km=T(ct({mappings:{transform:{...qm},justifyContent:{...qm},maxWidth:{...qm},top:{...qm},bottom:{...qm},left:{...qm},right:{...qm},offsetX:{},offsetY:{}}}),ut,pt)(Xm),ty=Km.cssVarList,ey=`calc(8px + var(${ty.offsetX}))`,iy={[ty.maxWidth]:"calc(100% - 2 * 8px)",position:{"top-start":{[ty.transform]:"translateY(-50%)",[ty.justifyContent]:"start",[ty.left]:ey,[ty.top]:it(ty.offsetY)},"top-center":{[ty.transform]:"translate(-50%, -50%)",[ty.justifyContent]:"center",[ty.top]:it(ty.offsetY),[ty.left]:"50%"},"top-end":{[ty.transform]:"translateY(-50%)",[ty.justifyContent]:"end",[ty.right]:ey,[ty.top]:it(ty.offsetY)},"bottom-start":{[ty.transform]:"translateY(50%)",[ty.justifyContent]:"start",[ty.left]:ey,[ty.bottom]:it(ty.offsetY)},"bottom-center":{[ty.bottom]:it(ty.offsetY),[ty.transform]:"translate(-50%, 50%)",[ty.justifyContent]:"center",[ty.left]:"50%"},"bottom-end":{[ty.transform]:"translateY(50%)",[ty.justifyContent]:"end",[ty.right]:ey,[ty.bottom]:it(ty.offsetY)}}};var oy=Object.freeze({__proto__:null,default:iy}),ry="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==",ny="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNi41SDIyVjQuNUg0QzIuOSA0LjUgMiA1LjQgMiA2LjVWMTcuNUgwVjIwLjVIMTRWMTcuN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tMS4zNCA0LjcxLTMuMzNsLjIzLS42N2g2LjA2em0tMTEtMmMtMS42NSAwLTMtMS4zNS0zLTNzMS4zNS0zIDMtMyAzIDEuMzUgMyAzLTEuMzUgMy0zIDN6bTAtNGMtLjU1IDAtMSAuNDUtMSAxcy40NSAxIDEgMSAxLS40NSAxLTEtLjQ1LTEtMS0xeiIgZmlsbD0iI2JlYzRjYSIvPjwvc3ZnPg=="},phone:{light:"data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTYgMWgtOGMtMS42NiAwLTMgMS4zNC0zIDN2MTZjMCAxLjY2IDEuMzQgMyAzIDNoOGMxLjY2IDAgMy0xLjM0IDMtM3YtMTZjMC0xLjY2LTEuMzQtMy0zLTN6bTEgMTdoLTEwdi0xNGgxMHptLTMgM2gtNHYtMWg0eiIgZmlsbD0iIzYzNmM3NCIvPjwvc3ZnPg==",dark:"data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTYgMWgtOGMtMS42NiAwLTMgMS4zNC0zIDN2MTZjMCAxLjY2IDEuMzQgMyAzIDNoOGMxLjY2IDAgMy0xLjM0IDMtM3YtMTZjMC0xLjY2LTEuMzQtMy0zLTN6bTEgMTdoLTEwdi0xNGgxMHptLTMgM2gtNHYtMWg0eiIgZmlsbD0iI2JlYzRjYSIvPjwvc3ZnPg=="},other:{light:ny,dark:ry}},ly=C("user-passkeys"),dy=({id:t,name:e,createdAt:i,passkeyType:o},r,n)=>{const{iconSrc:s,iconSrcDark:a}=(t=>{const e=ay[t]||ay.other;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),l=i&&n.createdAtLabel?`${n.createdAtLabel} `:"",d=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),r=String(i.getMonth()+1).padStart(2,"0"),n=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${n}/${r}/${o}`,"YYYY-MM-DD":`${o}/${r}/${n}`,"MM-DD-YYYY":`${r}/${n}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,n.format),c=document.createElement("template");return c.innerHTML=`\n <descope-list-item>\n <div class="content">\n <div class="main">\n <span class="item">\n <descope-icon class="item-icon" src="${s}" src-dark="${a}"></descope-icon>\n <descope-text class="item-name" variant="body1" mode="primary"></descope-text>\n </span>\n <span class="item-panel">\n ${n.allowRemove?'<descope-link variant="text" mode="primary" size="md" ellipsis="true" data-action="remove-passkey" class="remove-button"></descope-link>':'<descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg=="></descope-icon>'}\n </span>\n </div>\n <div class="meta">\n <descope-text variant="body2" mode="primary">${l}</descope-text>\n <descope-text class="date" variant="body2" mode="primary">\n ${d}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,c.content.querySelector(".item-name").textContent=e,n.allowRemove&&((t,e,i)=>{const o=t.content.querySelector(".remove-button");o.dataset.passkeyId=e;const r=((t,e)=>{if(!t)return null;const i=t.querySelectorAll(`:scope > [slot="${e}"]`);if(!i.length)return null;const o=document.createDocumentFragment();return i.forEach(t=>{const e=t.content?t.content.cloneNode(!0):t.cloneNode(!0);e.removeAttribute&&e.removeAttribute("slot"),o.append(e)}),o})(i,"remove-button");r&&o.append(r)})(c,t,n),c},cy=yt({componentName:ly,baseSelector:hu.componentName}),{host:uy}={host:{selector:()=>":host"}},py=T(ct({mappings:{hostWidth:{...uy,property:"width"},hostMinWidth:{...uy,property:"min-width"},hostDirection:[{...uy,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"},{selector:()=>"descope-link",property:Ui.cssVarList.hostDirection}],headerGap:{selector:()=>".method",property:"gap"},listGap:{selector:()=>"descope-list",property:"margin-top"},listItemsGap:{property:hu.cssVarList.gap},listBackgroundColor:{selector:()=>hu.componentName,property:hu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>hu.componentName,property:hu.cssVarList.borderRadius},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPadding},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBorderRadius:{selector:cu.componentName,property:cu.cssVarList.borderRadius},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},itemPanelGap:{selector:()=>".main",property:"gap"},itemIconGap:{selector:()=>".item",property:"gap"},itemIconSize:[{selector:()=>".item-icon",property:"width"},{selector:()=>".item-icon",property:"height"}],addButtonGap:{selector:()=>".button",property:"margin-inline-end"},dateGap:{selector:" .meta",property:"gap"},removeButtonGap:{selector:()=>`${Ui.componentName}.remove-button > *:not(:last-child)`,property:"margin-inline-end"}}}),ut,Vt({itemRenderer:dy,sortFn:(t,e)=>sy(e.createdAt)-sy(t.createdAt),rerenderAttrsList:["created-at-label","format","allow-remove"]}),pt)(class extends cy{static get observedAttributes(){return["label","add-passkey-button-label","remove-passkey-button-label","empty"].concat(super.observedAttributes)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="header">\n <div class="method">\n <slot name="method-icon"></slot>\n <descope-text class="method-label" st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n <span class="button">\n <descope-button class="add-passkey-button" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n </span>\n </div>\n\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n\n <slot name="remove-button" class="hidden"></slot>\n ',this.methodLabel=this.shadowRoot.querySelector(".method-label"),this.addPasskeyButton=this.shadowRoot.querySelector(".add-passkey-button"),this.appsList=this.shadowRoot.querySelector("descope-list"),this.removeButton=this.shadowRoot.querySelector('slot[name="remove-button"]'),f('\n :host {\n display: inline-block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .header .method {\n display: flex;\n }\n\n .button {\n min-width: 0;\n }\n\n .add-passkey-button {\n align-self: center;\n max-width: 100%;\n }\n\n .add-passkey-button > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n slot[name="method-icon"] {\n display: inline-flex;\n align-items: center;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .item-panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n align-items: center;\n cursor: pointer;\n }\n\n .item {\n display: flex;\n min-width: 0;\n }\n\n .item-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .date {\n min-width: fit-content;\n }\n\n descope-text {\n display: flex;\n align-items: center; \n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-button {\n width: 100%;\n }\n descope-link.remove-button::part(wrapper) {\n display: flex;\n width: 100%;\n }\n\n .hidden {\n display: none\n }\n \n ',this)}init(){super.init?.(),this.appsList.itemRenderer=dy,this.appsList.addEventListener("click",this.onRemoveClick.bind(this)),this.addPasskeyButton.addEventListener("click",this.onAddClick.bind(this)),w(this.appsList,this,{includeAttrs:["empty"]}),this.removeButton.addEventListener("slotchange",()=>{this.data=[...this.data]}),this.onLabelChange(),this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel)}onAddClick(){this.readOnly||this.dispatchEvent(new CustomEvent("add-passkey-clicked",{bubbles:!0,detail:{action:"add-passkey"}}))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-passkey-id]"),i=e?.getAttribute("data-passkey-id");i&&this.dispatchEvent(new CustomEvent("remove-passkey-clicked",{bubbles:!0,detail:{id:i,action:"remove-passkey"}}))}get label(){return this.getAttribute("label")||"Passkey"}get readOnly(){return"true"===this.getAttribute("readonly")}get allowRemove(){return"true"===this.getAttribute("allow-remove")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get addPasskeyButtonLabel(){return this.getAttribute("add-passkey-button-label")||"Add"}get removePasskeyButtonLabel(){return this.getAttribute("remove-passkey-button-label")||"Remove"}get createdAtLabel(){return this.getAttribute("created-at-label")||"Date added:"}get direction(){return this.getAttribute("st-host-direction")}onLabelChange(){this.methodLabel.innerText=this.label,this.methodLabel.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.textContent=e):i&&t.removeChild(i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"add-passkey-button-label"===t?this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel):"empty"===t&&this.appsList.classList.toggle("hidden","true"===i))}}),hy=py.cssVarList,gy={[hy.hostWidth]:"auto",[hy.hostWidth]:"300px",[hy.hostMinWidth]:"300px",[hy.headerGap]:ep.spacing.lg,[hy.listGap]:ep.spacing.xl,[hy.listBackgroundColor]:"transparent",[hy.listBorderRadius]:"0",[hy.listBorderWidth]:"0",[hy.listPadding]:"0",[hy.listBoxShadow]:"none",[hy.listItemsGap]:ep.spacing.lg,[hy.itemBorderColor]:ep.colors.surface.light,[hy.itemVerticalPadding]:ep.spacing.lg,[hy.itemHorizontalPadding]:ep.spacing.lg,[hy.itemBorderRadius]:ep.radius.xs,[hy.itemOutline]:"transparent",[hy.itemBackgroundColor]:"transparent",[hy.itemCursor]:"default",[hy.itemContentGap]:ep.spacing.sm,[hy.itemPanelGap]:ep.spacing.md,[hy.itemIconGap]:ep.spacing.md,[hy.itemIconSize]:"24px",[hy.addButtonGap]:ep.spacing.sm,[hy.dateGap]:ep.spacing.xs,[hy.removeButtonGap]:ep.spacing.sm,_fullWidth:{[hy.hostWidth]:"100%"}};var My=Object.freeze({__proto__:null,default:gy,vars:hy});const my=qt("input-wrapper"),yy=Se(_u),[by,Ny,Iy]=Oe({labelTextColor:yy.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:yy.colors.surface.contrast,placeholderTextColor:yy.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:yy.colors.surface.dark,errorMessageTextColor:yy.colors.error.main,successMessageTextColor:yy.colors.success.main,borderWidth:yy.border.xs,borderRadius:yy.radius.xs,borderColor:"transparent",outlineWidth:yy.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:yy.colors.surface.main,fontFamily:yy.fonts.font1.family,direction:yy.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_bordered:{outlineWidth:yy.border.xs,borderColor:yy.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:yy.colors.error.main}},_focused:{outlineColor:yy.colors.surface.light,_invalid:{outlineColor:yy.colors.error.main}},_disabled:{labelTextColor:yy.colors.surface.light,borderColor:yy.colors.surface.light,valueTextColor:yy.colors.surface.light,placeholderTextColor:yy.colors.surface.light,helperTextColor:yy.colors.surface.light,backgroundColor:yy.colors.surface.main},_obfuscated:{inputTextSecurity:"disc"}},my);var xy=Object.freeze({__proto__:null,default:by,refs:Ny,vars:Iy});const jy=Se(_u),Ty=_r.cssVarList,zy={[Ty.hostWidth]:Ny.width,[Ty.hostMinWidth]:Ny.minWidth,[Ty.hostDirection]:Ny.direction,[Ty.fontSize]:Ny.fontSize,[Ty.fontFamily]:Ny.fontFamily,[Ty.labelFontSize]:Ny.labelFontSize,[Ty.labelFontWeight]:Ny.labelFontWeight,[Ty.inputValueFontWeight]:Ny.inputValueFontWeight,[Ty.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[Ty.helperTextFontWeight]:Ny.helperTextFontWeight,[Ty.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Ty.labelTextColor]:Ny.labelTextColor,[Ty.labelRequiredIndicator]:Ny.requiredIndicator,[Ty.errorMessageTextColor]:Ny.errorMessageTextColor,[Ty.inputValueTextColor]:Ny.valueTextColor,[Ty.inputPlaceholderColor]:Ny.placeholderTextColor,[Ty.inputBorderWidth]:Ny.borderWidth,[Ty.inputBorderStyle]:Ny.borderStyle,[Ty.inputBorderColor]:Ny.borderColor,[Ty.inputBorderRadius]:Ny.borderRadius,[Ty.inputOutlineWidth]:Ny.outlineWidth,[Ty.inputOutlineStyle]:Ny.outlineStyle,[Ty.inputOutlineColor]:Ny.outlineColor,[Ty.inputOutlineOffset]:Ny.outlineOffset,[Ty.inputBackgroundColor]:Ny.backgroundColor,[Ty.inputHeight]:Ny.inputHeight,[Ty.inputHorizontalPadding]:Ny.horizontalPadding,[Ty.helperTextColor]:Ny.helperTextColor,[Ty.textAlign]:Ny.textAlign,textAlign:{right:{[Ty.inputTextAlign]:"right"},left:{[Ty.inputTextAlign]:"left"},center:{[Ty.inputTextAlign]:"center"}},[Ty.labelPosition]:Ny.labelPosition,[Ty.labelTopPosition]:Ny.labelTopPosition,[Ty.labelHorizontalPosition]:Ny.labelHorizontalPosition,[Ty.inputTransformY]:Ny.inputTransformY,[Ty.inputTransition]:Ny.inputTransition,[Ty.marginInlineStart]:Ny.marginInlineStart,[Ty.placeholderOpacity]:Ny.placeholderOpacity,[Ty.inputVerticalAlignment]:Ny.inputVerticalAlignment,[Ty.valueInputHeight]:Ny.valueInputHeight,[Ty.valueInputMarginBottom]:Ny.valueInputMarginBottom,[Ty.inputIconOffset]:jy.spacing.md,[Ty.inputIconSize]:Ny.inputIconSize,[Ty.inputIconColor]:Ny.placeholderTextColor,[Ty.errorMessageIcon]:Ny.errorMessageIcon,[Ty.errorMessageIconSize]:Ny.errorMessageIconSize,[Ty.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Ty.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Ty.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Ty.errorMessageFontSize]:Ny.errorMessageFontSize,[Ty.inputTextSecurity]:Ny.inputTextSecurity};var Dy=Object.freeze({__proto__:null,default:zy,textField:zy,vars:Ty});const Sy=Se(_u),vy=cs.cssVarList,Ly={[vy.hostWidth]:Ny.width,[vy.hostMinWidth]:Ny.minWidth,[vy.hostDirection]:Ny.direction,[vy.fontSize]:Ny.fontSize,[vy.fontFamily]:Ny.fontFamily,[vy.labelFontSize]:Ny.labelFontSize,[vy.labelFontWeight]:Ny.labelFontWeight,[vy.inputValueFontWeight]:Ny.inputValueFontWeight,[vy.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[vy.helperTextFontWeight]:Ny.helperTextFontWeight,[vy.errorMessageFontWeight]:Ny.errorMessageFontWeight,[vy.labelTextColor]:Ny.labelTextColor,[vy.errorMessageTextColor]:Ny.errorMessageTextColor,[vy.inputHorizontalPadding]:Ny.horizontalPadding,[vy.inputHeight]:Ny.inputHeight,[vy.inputBackgroundColor]:Ny.backgroundColor,[vy.labelRequiredIndicator]:Ny.requiredIndicator,[vy.inputValueTextColor]:Ny.valueTextColor,[vy.inputPlaceholderTextColor]:Ny.placeholderTextColor,[vy.inputBorderWidth]:Ny.borderWidth,[vy.inputBorderStyle]:Ny.borderStyle,[vy.inputBorderColor]:Ny.borderColor,[vy.inputBorderRadius]:Ny.borderRadius,[vy.inputOutlineWidth]:Ny.outlineWidth,[vy.inputOutlineStyle]:Ny.outlineStyle,[vy.inputOutlineColor]:Ny.outlineColor,[vy.inputOutlineOffset]:Ny.outlineOffset,[vy.revealButtonOffset]:Sy.spacing.md,[vy.revealButtonSize]:Ny.toggleButtonSize,[vy.revealButtonColor]:Ny.placeholderTextColor,[vy.labelPosition]:Ny.labelPosition,[vy.labelTopPosition]:Ny.labelTopPosition,[vy.labelHorizontalPosition]:Ny.labelHorizontalPosition,[vy.inputTransformY]:Ny.inputTransformY,[vy.inputTransition]:Ny.inputTransition,[vy.marginInlineStart]:Ny.marginInlineStart,[vy.placeholderOpacity]:Ny.placeholderOpacity,[vy.inputVerticalAlignment]:Ny.inputVerticalAlignment,[vy.valueInputHeight]:Ny.valueInputHeight,[vy.errorMessageIcon]:Ny.errorMessageIcon,[vy.errorMessageIconSize]:Ny.errorMessageIconSize,[vy.errorMessageIconPadding]:Ny.errorMessageIconPadding,[vy.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[vy.errorMessageIconPosition]:Ny.errorMessageIconPosition,[vy.errorMessageFontSize]:Ny.errorMessageFontSize};var Cy=Object.freeze({__proto__:null,default:Ly,vars:vy});const Ay=An.cssVarList,wy={[Ay.hostWidth]:Ny.width,[Ay.hostMinWidth]:Ny.minWidth,[Ay.hostDirection]:Ny.direction,[Ay.fontSize]:Ny.fontSize,[Ay.fontFamily]:Ny.fontFamily,[Ay.labelFontSize]:Ny.labelFontSize,[Ay.labelFontWeight]:Ny.labelFontWeight,[Ay.inputValueFontWeight]:Ny.inputValueFontWeight,[Ay.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[Ay.helperTextFontWeight]:Ny.helperTextFontWeight,[Ay.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Ay.labelTextColor]:Ny.labelTextColor,[Ay.errorMessageTextColor]:Ny.errorMessageTextColor,[Ay.inputValueTextColor]:Ny.valueTextColor,[Ay.inputPlaceholderColor]:Ny.placeholderTextColor,[Ay.inputBorderWidth]:Ny.borderWidth,[Ay.inputBorderStyle]:Ny.borderStyle,[Ay.inputBorderColor]:Ny.borderColor,[Ay.inputBorderRadius]:Ny.borderRadius,[Ay.inputOutlineWidth]:Ny.outlineWidth,[Ay.inputOutlineStyle]:Ny.outlineStyle,[Ay.inputOutlineColor]:Ny.outlineColor,[Ay.inputOutlineOffset]:Ny.outlineOffset,[Ay.inputBackgroundColor]:Ny.backgroundColor,[Ay.labelRequiredIndicator]:Ny.requiredIndicator,[Ay.inputHorizontalPadding]:Ny.horizontalPadding,[Ay.inputHeight]:Ny.inputHeight,[Ay.labelPosition]:Ny.labelPosition,[Ay.labelTopPosition]:Ny.labelTopPosition,[Ay.labelHorizontalPosition]:Ny.labelHorizontalPosition,[Ay.inputTransformY]:Ny.inputTransformY,[Ay.inputTransition]:Ny.inputTransition,[Ay.marginInlineStart]:Ny.marginInlineStart,[Ay.placeholderOpacity]:Ny.placeholderOpacity,[Ay.inputVerticalAlignment]:Ny.inputVerticalAlignment,[Ay.valueInputHeight]:Ny.valueInputHeight,[Ay.valueInputMarginBottom]:Ny.valueInputMarginBottom,[Ay.errorMessageIcon]:Ny.errorMessageIcon,[Ay.errorMessageIconSize]:Ny.errorMessageIconSize,[Ay.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Ay.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Ay.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Ay.errorMessageFontSize]:Ny.errorMessageFontSize};var fy=Object.freeze({__proto__:null,default:wy,vars:Ay});const Ey=xn.cssVarList,ky={[Ey.hostWidth]:Ny.width,[Ey.hostMinWidth]:Ny.minWidth,[Ey.hostDirection]:Ny.direction,[Ey.fontSize]:Ny.fontSize,[Ey.fontFamily]:Ny.fontFamily,[Ey.labelFontSize]:Ny.labelFontSize,[Ey.labelFontWeight]:Ny.labelFontWeight,[Ey.inputValueFontWeight]:Ny.inputValueFontWeight,[Ey.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[Ey.helperTextFontWeight]:Ny.helperTextFontWeight,[Ey.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Ey.labelTextColor]:Ny.labelTextColor,[Ey.errorMessageTextColor]:Ny.errorMessageTextColor,[Ey.inputValueTextColor]:Ny.valueTextColor,[Ey.labelRequiredIndicator]:Ny.requiredIndicator,[Ey.inputPlaceholderColor]:Ny.placeholderTextColor,[Ey.inputBorderWidth]:Ny.borderWidth,[Ey.inputBorderStyle]:Ny.borderStyle,[Ey.inputBorderColor]:Ny.borderColor,[Ey.inputBorderRadius]:Ny.borderRadius,[Ey.inputOutlineWidth]:Ny.outlineWidth,[Ey.inputOutlineStyle]:Ny.outlineStyle,[Ey.inputOutlineColor]:Ny.outlineColor,[Ey.inputOutlineOffset]:Ny.outlineOffset,[Ey.inputBackgroundColor]:Ny.backgroundColor,[Ey.inputHorizontalPadding]:Ny.horizontalPadding,[Ey.inputHeight]:Ny.inputHeight,[Ey.labelPosition]:Ny.labelPosition,[Ey.labelTopPosition]:Ny.labelTopPosition,[Ey.labelHorizontalPosition]:Ny.labelHorizontalPosition,[Ey.inputTransformY]:Ny.inputTransformY,[Ey.inputTransition]:Ny.inputTransition,[Ey.marginInlineStart]:Ny.marginInlineStart,[Ey.placeholderOpacity]:Ny.placeholderOpacity,[Ey.inputVerticalAlignment]:Ny.inputVerticalAlignment,[Ey.valueInputHeight]:Ny.valueInputHeight,[Ey.valueInputMarginBottom]:Ny.valueInputMarginBottom,[Ey.errorMessageIcon]:Ny.errorMessageIcon,[Ey.errorMessageIconSize]:Ny.errorMessageIconSize,[Ey.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Ey.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Ey.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Ey.errorMessageFontSize]:Ny.errorMessageFontSize};var Oy=Object.freeze({__proto__:null,default:ky,vars:Ey});const Vy=Is.cssVarList,Wy={[Vy.hostWidth]:Ny.width,[Vy.hostMinWidth]:Ny.minWidth,[Vy.hostDirection]:Ny.direction,[Vy.fontSize]:Ny.fontSize,[Vy.fontFamily]:Ny.fontFamily,[Vy.labelFontSize]:Ny.labelFontSize,[Vy.labelFontWeight]:Ny.labelFontWeight,[Vy.inputValueFontWeight]:Ny.inputValueFontWeight,[Vy.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[Vy.helperTextFontWeight]:Ny.helperTextFontWeight,[Vy.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Vy.labelTextColor]:Ny.labelTextColor,[Vy.labelRequiredIndicator]:Ny.requiredIndicator,[Vy.errorMessageTextColor]:Ny.errorMessageTextColor,[Vy.inputBackgroundColor]:Ny.backgroundColor,[Vy.inputValueTextColor]:Ny.valueTextColor,[Vy.inputPlaceholderTextColor]:Ny.placeholderTextColor,[Vy.inputBorderRadius]:Ny.borderRadius,[Vy.inputBorderWidth]:Ny.borderWidth,[Vy.inputBorderStyle]:Ny.borderStyle,[Vy.inputBorderColor]:Ny.borderColor,[Vy.inputOutlineWidth]:Ny.outlineWidth,[Vy.inputOutlineStyle]:Ny.outlineStyle,[Vy.inputOutlineColor]:Ny.outlineColor,[Vy.inputOutlineOffset]:Ny.outlineOffset,[Vy.inputResizeType]:"vertical",[Vy.inputMinHeight]:"5em",[Vy.errorMessageIcon]:Ny.errorMessageIcon,[Vy.errorMessageIconSize]:Ny.errorMessageIconSize,[Vy.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Vy.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Vy.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Vy.errorMessageFontSize]:Ny.errorMessageFontSize,textAlign:{right:{[Vy.inputTextAlign]:"right"},left:{[Vy.inputTextAlign]:"left"},center:{[Vy.inputTextAlign]:"center"}},_readonly:{[Vy.inputResizeType]:"none"}};var Yy=Object.freeze({__proto__:null,default:Wy,vars:Vy});const Uy=Di.cssVarList,Ry="1.35em",Qy={[Uy.hostWidth]:Ny.width,[Uy.hostDirection]:Ny.direction,[Uy.fontSize]:Ny.fontSize,[Uy.fontFamily]:Ny.fontFamily,[Uy.labelTextColor]:Ny.labelTextColor,[Uy.labelRequiredIndicator]:Ny.requiredIndicator,[Uy.labelFontWeight]:"400",[Uy.labelLineHeight]:Ry,[Uy.labelSpacing]:"1em",[Uy.errorMessageTextColor]:Ny.errorMessageTextColor,[Uy.inputOutlineWidth]:Ny.outlineWidth,[Uy.inputOutlineOffset]:Ny.outlineOffset,[Uy.inputOutlineColor]:Ny.outlineColor,[Uy.inputOutlineStyle]:Ny.outlineStyle,[Uy.inputBorderRadius]:Ny.borderRadius,[Uy.inputBorderColor]:Ny.borderColor,[Uy.inputBorderWidth]:Ny.borderWidth,[Uy.inputBorderStyle]:Ny.borderStyle,[Uy.inputBackgroundColor]:Ny.backgroundColor,[Uy.inputSize]:Ry,[Uy.inputValueTextColor]:Ny.valueTextColor,[Uy.errorMessageIcon]:Ny.errorMessageIcon,[Uy.errorMessageIconSize]:Ny.errorMessageIconSize,[Uy.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Uy.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Uy.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Uy.errorMessageFontSize]:Ny.errorMessageFontSize};var Zy=Object.freeze({__proto__:null,default:Qy,vars:Uy});const By="2px",Py=Se(_u),Fy=$i.cssVarList,Gy={[Fy.hostWidth]:Ny.width,[Fy.hostDirection]:Ny.direction,[Fy.fontSize]:Ny.fontSize,[Fy.fontFamily]:Ny.fontFamily,[Fy.inputOutlineWidth]:Ny.outlineWidth,[Fy.inputOutlineOffset]:Ny.outlineOffset,[Fy.inputOutlineColor]:Ny.outlineColor,[Fy.inputOutlineStyle]:Ny.outlineStyle,[Fy.trackBorderStyle]:Ny.borderStyle,[Fy.trackBorderWidth]:Ny.borderWidth,[Fy.trackBorderColor]:Ny.borderColor,[Fy.trackBackgroundColor]:Ny.backgroundColor,[Fy.trackBorderRadius]:Py.radius.md,[Fy.trackWidth]:"2.5em",[Fy.trackHeight]:"1.25em",[Fy.knobSize]:`calc(1em - ${By})`,[Fy.knobRadius]:"50%",[Fy.knobTopOffset]:"1px",[Fy.knobLeftOffset]:By,[Fy.knobColor]:Ny.labelTextColor,[Fy.knobTransitionDuration]:"0.3s",[Fy.labelTextColor]:Ny.labelTextColor,[Fy.labelFontWeight]:"400",[Fy.labelLineHeight]:"1.35em",[Fy.labelSpacing]:"1em",[Fy.labelRequiredIndicator]:Ny.requiredIndicator,[Fy.errorMessageTextColor]:Ny.errorMessageTextColor,[Fy.errorMessageIcon]:Ny.errorMessageIcon,[Fy.errorMessageIconSize]:Ny.errorMessageIconSize,[Fy.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Fy.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Fy.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Fy.errorMessageFontSize]:Ny.errorMessageFontSize,_checked:{[Fy.trackBorderColor]:Ny.borderColor,[Fy.knobLeftOffset]:`calc(100% - var(${Fy.knobSize}) - ${By})`,[Fy.knobColor]:Ny.valueTextColor,[Fy.knobTextColor]:Ny.valueTextColor},_disabled:{[Fy.knobColor]:Py.colors.surface.light,[Fy.trackBorderColor]:Py.colors.surface.light,[Fy.trackBackgroundColor]:Py.colors.surface.main,[Fy.labelTextColor]:Ny.labelTextColor,_checked:{[Fy.knobColor]:Py.colors.surface.light,[Fy.trackBackgroundColor]:Py.colors.surface.main}},_invalid:{[Fy.trackBorderColor]:Py.colors.error.main,[Fy.knobColor]:Py.colors.error.main}};var Hy=Object.freeze({__proto__:null,default:Gy,vars:Fy});const Jy=Se(_u),$y=so.cssVarList,[_y,Xy,qy]=Oe({verticalAlignment:{start:{verticalAlignment:"start"},center:{verticalAlignment:"safe center"},end:{verticalAlignment:"end"}},horizontalAlignment:{start:{horizontalAlignment:"start"},center:{horizontalAlignment:"safe center"},end:{horizontalAlignment:"end"}},shadowColor:"#00000020"},ro),{shadowColor:Ky}=Xy,tb={..._y,[$y.itemsGrow]:"0",[$y.hostWidth]:"100%",[$y.hostHeight]:"auto",[$y.boxShadow]:"none",[$y.backgroundColor]:Jy.colors.surface.main,[$y.backgroundImage]:"",[$y.backgroundPositionX]:"center",[$y.backgroundPositionY]:"center",[$y.backgroundSize]:"cover",[$y.backgroundRepeat]:"no-repeat",[$y.color]:Jy.colors.surface.contrast,[$y.borderRadius]:"0px",[$y.hostDirection]:Jy.direction,[$y.borderStyle]:"none",[$y.borderWidth]:"unset",[$y.borderColor]:"unset",verticalPadding:{sm:{[$y.verticalPadding]:"5px"},md:{[$y.verticalPadding]:"10px"},lg:{[$y.verticalPadding]:"20px"}},horizontalPadding:{sm:{[$y.horizontalPadding]:"5px"},md:{[$y.horizontalPadding]:"10px"},lg:{[$y.horizontalPadding]:"20px"}},direction:{row:{[$y.flexDirection]:"row",[$y.alignItems]:Xy.verticalAlignment,[$y.justifyContent]:Xy.horizontalAlignment,[$y.flexWrap]:"wrap",horizontalAlignment:{spaceBetween:{[qy.horizontalAlignment]:"space-between"}}},column:{[$y.flexDirection]:"column",[$y.alignItems]:Xy.horizontalAlignment,[$y.justifyContent]:Xy.verticalAlignment,verticalAlignment:{spaceBetween:{[qy.verticalAlignment]:"space-between"}}}},spaceBetween:{sm:{[$y.gap]:"10px"},md:{[$y.gap]:"20px"},lg:{[$y.gap]:"30px"}},shadow:{sm:{[$y.boxShadow]:`${Jy.shadow.wide.sm} ${Ky}, ${Jy.shadow.narrow.sm} ${Ky}`},md:{[$y.boxShadow]:`${Jy.shadow.wide.md} ${Ky}, ${Jy.shadow.narrow.md} ${Ky}`},lg:{[$y.boxShadow]:`${Jy.shadow.wide.lg} ${Ky}, ${Jy.shadow.narrow.lg} ${Ky}`},xl:{[$y.boxShadow]:`${Jy.shadow.wide.xl} ${Ky}, ${Jy.shadow.narrow.xl} ${Ky}`},"2xl":{[qy.shadowColor]:"#00000050",[$y.boxShadow]:`${Jy.shadow.wide["2xl"]} ${Ky}`}},"&borderRadius":{sm:{[$y.borderRadius]:Jy.radius.sm},md:{[$y.borderRadius]:Jy.radius.md},lg:{[$y.borderRadius]:Jy.radius.lg},xl:{[$y.borderRadius]:Jy.radius.xl},"2xl":{[$y.borderRadius]:Jy.radius["2xl"]},"3xl":{[$y.borderRadius]:Jy.radius["3xl"]}}},eb={...$y,...qy};var ib=Object.freeze({__proto__:null,default:tb,vars:eb});const ob=zn.cssVarList,rb={[ob.fallbackUrl]:"url(https://imgs.descope.com/components/no-logo-placeholder.svg)"};var nb=Object.freeze({__proto__:null,default:rb,vars:ob});const sb=Sn.cssVarList,ab={[sb.fallbackUrl]:"url(https://imgs.descope.com/components/totp-placeholder.svg)"};var lb=Object.freeze({__proto__:null,default:ab,vars:sb});const db=Ln.cssVarList,cb={[db.fallbackUrl]:"url(https://imgs.descope.com/components/notp-placeholder.svg)"};var ub=Object.freeze({__proto__:null,default:cb,vars:db});const pb=Se(_u),hb=Nn.cssVarList,[gb,Mb,mb]=Oe({thickness:"2px",spacing:"10px"},pn),yb={...gb,[hb.hostDirection]:pb.direction,[hb.alignItems]:"center",[hb.flexDirection]:"row",[hb.alignSelf]:"stretch",[hb.hostWidth]:"100%",[hb.stripeColor]:pb.colors.surface.light,[hb.stripeColorOpacity]:"0.5",[hb.stripeHorizontalThickness]:Mb.thickness,[hb.labelTextWidth]:"fit-content",[hb.labelTextMaxWidth]:"calc(100% - 100px)",[hb.labelTextHorizontalSpacing]:Mb.spacing,[hb.textAlign]:"center",_vertical:{[hb.minHeight]:"200px",[hb.flexDirection]:"column",[hb.hostWidth]:"fit-content",[hb.hostPadding]:`0 calc(${Mb.thickness} * 3)`,[hb.stripeVerticalThickness]:Mb.thickness,[hb.labelTextWidth]:"fit-content",[hb.labelTextMaxWidth]:"100%",[hb.labelTextVerticalSpacing]:Mb.spacing}},bb={...hb,...mb};var Nb=Object.freeze({__proto__:null,default:yb,vars:bb});const Ib=qn.cssVarList,xb={[Ib.hostDirection]:Ny.direction,[Ib.fontFamily]:Ny.fontFamily,[Ib.fontSize]:Ny.fontSize,[Ib.labelTextColor]:Ny.labelTextColor,[Ib.labelRequiredIndicator]:Ny.requiredIndicator,[Ib.labelFontWeight]:Ny.labelFontWeight,[Ib.errorMessageTextColor]:Ny.errorMessageTextColor,[Ib.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Ib.digitValueTextColor]:Ny.valueTextColor,[Ib.digitValueFontWeight]:Ny.inputValueFontWeight,[Ib.digitPadding]:"0",[Ib.digitTextAlign]:"center",[Ib.digitSpacing]:"4px",[Ib.hostWidth]:Ny.width,[Ib.digitOutlineColor]:"transparent",[Ib.digitOutlineWidth]:Ny.outlineWidth,[Ib.focusedDigitFieldOutlineColor]:Ny.outlineColor,[Ib.digitSize]:Ny.inputHeight,[Ib.errorMessageIcon]:Ny.errorMessageIcon,[Ib.errorMessageIconSize]:Ny.errorMessageIconSize,[Ib.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Ib.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Ib.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Ib.errorMessageFontSize]:Ny.errorMessageFontSize,size:{xs:{[Ib.spinnerSize]:"15px"},sm:{[Ib.spinnerSize]:"20px"},md:{[Ib.spinnerSize]:"20px"},lg:{[Ib.spinnerSize]:"20px"}},_hideCursor:{[Ib.digitCaretTextColor]:"transparent"},_loading:{[Ib.overlayOpacity]:Ny.overlayOpacity}};var jb=Object.freeze({__proto__:null,default:xb,vars:Ib});const Tb=Se(_u),zb=to.cssVarList,Db={[zb.hostDisplay]:"inline-block",[zb.hostWidth]:"100%",[zb.barColor]:Tb.colors.surface.contrast,[zb.barWidth]:"20%",[zb.barBackgroundColor]:Tb.colors.surface.light,[zb.barBorderRadius]:"4px",[zb.animationDuration]:"2s",[zb.animationTimingFunction]:"linear",[zb.animationIterationCount]:"infinite",[zb.verticalPadding]:"0.25em",size:{xs:{[zb.barHeight]:"2px"},sm:{[zb.barHeight]:"4px"},md:{[zb.barHeight]:"6px"},lg:{[zb.barHeight]:"8px"}},mode:{primary:{[zb.barColor]:Tb.colors.primary.main},secondary:{[zb.barColor]:Tb.colors.secondary.main}},_hidden:{[zb.hostDisplay]:"none"}};var Sb=Object.freeze({__proto__:null,default:Db,vars:zb});const vb=Se(_u),Lb=oo.cssVarList,[Cb,Ab,wb]=Oe({spinnerColor:vb.colors.surface.contrast,mode:{primary:{spinnerColor:vb.colors.primary.main},secondary:{spinnerColor:vb.colors.secondary.main}}},eo),fb={...Cb,[Lb.animationDuration]:"2s",[Lb.animationTimingFunction]:"linear",[Lb.animationIterationCount]:"infinite",[Lb.spinnerBorderStyle]:"solid",[Lb.spinnerBorderWidth]:"0.2em",[Lb.spinnerBorderRadius]:"50%",[Lb.spinnerQuadrant1Color]:Ab.spinnerColor,[Lb.spinnerQuadrant2Color]:"transparent",[Lb.spinnerQuadrant3Color]:Ab.spinnerColor,[Lb.spinnerQuadrant4Color]:"transparent",size:{xs:{[Lb.spinnerSize]:"20px"},sm:{[Lb.spinnerSize]:"30px"},md:{[Lb.spinnerSize]:"40px"},lg:{[Lb.spinnerSize]:"60px"},xl:{[Lb.spinnerSize]:"80px"}},_hidden:{[Lb.hostDisplay]:"none"}},Eb={...Lb,...wb};var kb=Object.freeze({__proto__:null,default:fb,vars:Eb});const Ob=Ps.cssVarList,Vb={[Ob.hostWidth]:Ny.width,[Ob.hostDirection]:Ny.direction,[Ob.fontSize]:Ny.fontSize,[Ob.fontFamily]:Ny.fontFamily,[Ob.labelFontSize]:Ny.labelFontSize,[Ob.labelFontWeight]:Ny.labelFontWeight,[Ob.inputValueFontWeight]:Ny.inputValueFontWeight,[Ob.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[Ob.helperTextFontWeight]:Ny.helperTextFontWeight,[Ob.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Ob.labelTextColor]:Ny.labelTextColor,[Ob.labelRequiredIndicator]:Ny.requiredIndicator,[Ob.errorMessageTextColor]:Ny.errorMessageTextColor,[Ob.inputValueTextColor]:Ny.valueTextColor,[Ob.inputPlaceholderTextColor]:Ny.placeholderTextColor,[Ob.inputBorderStyle]:Ny.borderStyle,[Ob.inputBorderWidth]:Ny.borderWidth,[Ob.inputBorderColor]:Ny.borderColor,[Ob.inputBorderRadius]:Ny.borderRadius,[Ob.inputOutlineStyle]:Ny.outlineStyle,[Ob.inputOutlineWidth]:Ny.outlineWidth,[Ob.inputOutlineColor]:Ny.outlineColor,[Ob.inputOutlineOffset]:Ny.outlineOffset,[Ob.phoneInputWidth]:Ny.minWidth,[Ob.countryCodeInputWidth]:"5em",[Ob.countryCodeDropdownWidth]:"20em",[Ob.marginInlineStart]:"-0.25em",[Ob.valueInputHeight]:Ny.valueInputHeight,[Ob.valueInputMarginBottom]:Ny.valueInputMarginBottom,[Ob.errorMessageIcon]:Ny.errorMessageIcon,[Ob.errorMessageIconSize]:Ny.errorMessageIconSize,[Ob.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Ob.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Ob.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Ob.errorMessageFontSize]:Ny.errorMessageFontSize};var Wb=Object.freeze({__proto__:null,default:Vb,vars:Ob});const Yb=aa.cssVarList,Ub={[Yb.hostWidth]:"16em",[Yb.hostMinWidth]:Ny.minWidth,[Yb.hostDirection]:Ny.direction,[Yb.fontSize]:Ny.fontSize,[Yb.fontFamily]:Ny.fontFamily,[Yb.labelFontSize]:Ny.labelFontSize,[Yb.labelFontWeight]:Ny.labelFontWeight,[Yb.inputValueFontWeight]:Ny.inputValueFontWeight,[Yb.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[Yb.helperTextFontWeight]:Ny.helperTextFontWeight,[Yb.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Yb.labelTextColor]:Ny.labelTextColor,[Yb.labelRequiredIndicator]:Ny.requiredIndicator,[Yb.errorMessageTextColor]:Ny.errorMessageTextColor,[Yb.inputValueTextColor]:Ny.valueTextColor,[Yb.inputPlaceholderTextColor]:Ny.placeholderTextColor,[Yb.inputBorderStyle]:Ny.borderStyle,[Yb.inputBorderWidth]:Ny.borderWidth,[Yb.inputBorderColor]:Ny.borderColor,[Yb.inputBorderRadius]:Ny.borderRadius,[Yb.inputOutlineStyle]:Ny.outlineStyle,[Yb.inputOutlineWidth]:Ny.outlineWidth,[Yb.inputOutlineColor]:Ny.outlineColor,[Yb.inputOutlineOffset]:Ny.outlineOffset,[Yb.labelPosition]:Ny.labelPosition,[Yb.labelTopPosition]:Ny.labelTopPosition,[Yb.labelHorizontalPosition]:Ny.labelHorizontalPosition,[Yb.inputTransformY]:Ny.inputTransformY,[Yb.inputTransition]:Ny.inputTransition,[Yb.marginInlineStart]:Ny.marginInlineStart,[Yb.valueInputHeight]:Ny.valueInputHeight,[Yb.valueInputMarginBottom]:Ny.valueInputMarginBottom,[Yb.inputHorizontalPadding]:"0",[Yb.errorMessageIcon]:Ny.errorMessageIcon,[Yb.errorMessageIconSize]:Ny.errorMessageIconSize,[Yb.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Yb.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Yb.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Yb.errorMessageFontSize]:Ny.errorMessageFontSize,_fullWidth:{[Yb.hostWidth]:Ny.width}};var Rb=Object.freeze({__proto__:null,default:Ub,vars:Yb});const Qb=Se(_u),Zb=Ca.cssVarList,Bb={[Zb.hostWidth]:Ny.width,[Zb.hostMinWidth]:Ny.minWidth,[Zb.hostDirection]:Ny.direction,[Zb.fontSize]:Ny.fontSize,[Zb.fontFamily]:Ny.fontFamily,[Zb.labelFontSize]:Ny.labelFontSize,[Zb.labelFontWeight]:Ny.labelFontWeight,[Zb.inputValueFontWeight]:Ny.inputValueFontWeight,[Zb.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[Zb.helperTextFontWeight]:Ny.helperTextFontWeight,[Zb.errorMessageFontWeight]:Ny.errorMessageFontWeight,[Zb.labelTextColor]:Ny.labelTextColor,[Zb.spaceBetweenInputs]:"1em",[Zb.errorMessageTextColor]:Ny.errorMessageTextColor,[Zb.policyPreviewBackgroundColor]:"none",[Zb.policyPreviewPadding]:Qb.spacing.lg,[Zb.valueInputHeight]:Ny.valueInputHeight,[Zb.errorMessageIcon]:Ny.errorMessageIcon,[Zb.errorMessageIconSize]:Ny.errorMessageIconSize,[Zb.errorMessageIconPadding]:Ny.errorMessageIconPadding,[Zb.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[Zb.errorMessageIconPosition]:Ny.errorMessageIconPosition,[Zb.errorMessageFontSize]:Ny.errorMessageFontSize,_required:{[Zb.inputsRequiredIndicator]:Ny.requiredIndicator}};var Pb=Object.freeze({__proto__:null,default:Bb,vars:Zb});const Fb=Ka.cssVarList,Gb={[Fb.hostDirection]:Ny.direction,[Fb.labelTextColor]:Ny.labelTextColor,[Fb.fontFamily]:Ny.fontFamily,[Fb.iconSize]:"2em",[Fb.hostPadding]:"0.75em",[Fb.gap]:"0.5em",[Fb.fontSize]:"16px",[Fb.titleFontWeight]:"500",[Fb.lineHeight]:"1em",[Fb.borderWidth]:Ny.borderWidth,[Fb.borderColor]:Ny.borderColor,[Fb.borderRadius]:Ny.borderRadius,[Fb.borderStyle]:"dashed",_required:{[Fb.requiredIndicator]:Ny.requiredIndicator},size:{xs:{[Fb.hostHeight]:"196px",[Fb.hostWidth]:"200px",[Fb.titleFontSize]:"0.875em",[Fb.descriptionFontSize]:"0.875em",[Fb.lineHeight]:"1.25em"},sm:{[Fb.hostHeight]:"216px",[Fb.hostWidth]:"230px",[Fb.titleFontSize]:"1em",[Fb.descriptionFontSize]:"0.875em",[Fb.lineHeight]:"1.25em"},md:{[Fb.hostHeight]:"256px",[Fb.hostWidth]:"312px",[Fb.titleFontSize]:"1.125em",[Fb.descriptionFontSize]:"1em",[Fb.lineHeight]:"1.5em"},lg:{[Fb.hostHeight]:"280px",[Fb.hostWidth]:"336px",[Fb.titleFontSize]:"1.125em",[Fb.descriptionFontSize]:"1.125em",[Fb.lineHeight]:"1.75em"}},_fullWidth:{[Fb.hostWidth]:Ny.width}};var Hb=Object.freeze({__proto__:null,default:Gb,vars:Fb});const Jb=Se(_u),$b=Ml.cssVarList,_b={[$b.hostDirection]:"inherit",[$b.backgroundColor]:Jb.colors.surface.main,[$b.labelTextColor]:Jb.colors.surface.contrast,[$b.borderColor]:Jb.colors.surface.light,[$b.borderStyle]:"solid",[$b.borderRadius]:Jb.radius.sm,[$b.outlineColor]:"transparent",[$b.borderWidth]:Jb.border.xs,_hover:{[$b.backgroundColor]:Jb.colors.surface.highlight},_focused:{[$b.outlineColor]:Jb.colors.surface.light},_selected:{[$b.borderColor]:Jb.colors.surface.contrast,[$b.backgroundColor]:Jb.colors.surface.contrast,[$b.labelTextColor]:Jb.colors.surface.main}};var Xb=Object.freeze({__proto__:null,default:_b,vars:$b});const qb=Se(_u),Kb=t=>({[t.hostDirection]:Ny.direction,[t.fontFamily]:Ny.fontFamily,[t.labelTextColor]:Ny.labelTextColor,[t.labelRequiredIndicator]:Ny.requiredIndicator,[t.itemsSpacing]:qb.spacing.sm,[t.hostWidth]:Ny.width,[t.errorMessageTextColor]:Ny.errorMessageTextColor,[t.errorMessageIcon]:Ny.errorMessageIcon,[t.errorMessageIconSize]:Ny.errorMessageIconSize,[t.errorMessageIconPadding]:Ny.errorMessageIconPadding,[t.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[t.errorMessageIconPosition]:Ny.errorMessageIconPosition,[t.errorMessageFontSize]:Ny.errorMessageFontSize}),tN=pl.cssVarList,eN={...Kb(tN)};var iN=Object.freeze({__proto__:null,default:eN,vars:tN});const oN=Nl.cssVarList,rN={...Kb(oN)};var nN=Object.freeze({__proto__:null,default:rN,vars:oN});const sN=Se(_u),aN=ec.cssVarList,lN={[aN.overlayBackgroundColor]:sN.colors.surface.main,[aN.overlayShadow]:sN.shadow.wide["2xl"],[aN.overlayWidth]:"540px",[aN.overlayBackdropColor]:"hsla(214, 53%, 23%, 0.16)"},dN={...aN};var cN=Object.freeze({__proto__:null,default:lN,vars:dN});const uN=Se(_u),pN=qd.cssVarList,hN={[pN.hostWidth]:"100%",[pN.hostHeight]:"100%",[pN.hostMinHeight]:"400px",[pN.fontWeight]:"400",[pN.backgroundColor]:uN.colors.surface.main,[pN.fontSize]:Ny.fontSize,[pN.fontFamily]:Ny.fontFamily,[pN.sortIndicatorsColor]:uN.colors.surface.light,[pN.activeSortIndicator]:uN.colors.surface.dark,[pN.resizeHandleColor]:uN.colors.surface.light,[pN.borderWidth]:Ny.borderWidth,[pN.borderStyle]:Ny.borderStyle,[pN.borderRadius]:Ny.borderRadius,[pN.borderColor]:"transparent",[pN.headerRowTextColor]:uN.colors.surface.dark,[pN.separatorColor]:uN.colors.surface.light,[pN.valueTextColor]:uN.colors.surface.contrast,[pN.selectedBackgroundColor]:uN.colors.surface.highlight,[pN.hostDirection]:uN.direction,[pN.toggleDetailsPanelButtonSize]:"1em",[pN.toggleDetailsPanelButtonOpenedColor]:uN.colors.surface.contrast,[pN.toggleDetailsPanelButtonClosedColor]:uN.colors.surface.light,[pN.toggleDetailsPanelButtonCursor]:"pointer",[pN.detailsPanelBackgroundColor]:uN.colors.surface.highlight,[pN.detailsPanelBorderTopColor]:uN.colors.surface.light,[pN.detailsPanelLabelsColor]:uN.colors.surface.dark,[pN.detailsPanelLabelsFontSize]:"0.8em",[pN.detailsPanelItemsGap]:"2em",[pN.detailsPanelPadding]:"12px 0",_bordered:{[pN.borderColor]:Ny.borderColor}};var gN=Object.freeze({__proto__:null,default:hN,grid:hN,vars:pN});const MN=Se(_u),mN=nc.cssVarList,yN="#00000020",bN={[mN.hostMinWidth]:"415px",[mN.fontFamily]:MN.fonts.font1.family,[mN.fontSize]:MN.typography.body1.size,[mN.backgroundColor]:MN.colors.surface.main,[mN.textColor]:MN.colors.surface.contrast,[mN.boxShadow]:`${MN.shadow.wide.xl} ${yN}, ${MN.shadow.narrow.xl} ${yN}`,[mN.verticalPadding]:"0.625em",[mN.horizontalPadding]:"1.5em",[mN.borderRadius]:MN.radius.xs,_bordered:{[mN.borderWidth]:MN.border.sm,[mN.borderStyle]:"solid",[mN.borderColor]:"transparent"},size:{xs:{[mN.fontSize]:"12px"},sm:{[mN.fontSize]:"14px"},md:{[mN.fontSize]:"16px"},lg:{[mN.fontSize]:"18px"}},mode:{primary:{[mN.backgroundColor]:MN.colors.primary.main,[mN.textColor]:MN.colors.primary.contrast,[mN.borderColor]:MN.colors.primary.light},success:{[mN.backgroundColor]:MN.colors.success.main,[mN.textColor]:MN.colors.success.contrast,[mN.borderColor]:MN.colors.success.light},error:{[mN.backgroundColor]:MN.colors.error.main,[mN.textColor]:MN.colors.error.contrast,[mN.borderColor]:MN.colors.error.light}}};var NN=Object.freeze({__proto__:null,default:bN,vars:mN});const IN=Se(_u),xN=xc.cssVarList,jN={[xN.hostWidth]:Ny.width,[xN.hostDirection]:Ny.direction,[xN.fontSize]:Ny.fontSize,[xN.fontFamily]:Ny.fontFamily,[xN.separatorFontSize]:"14px",[xN.labelsFontSize]:"14px",[xN.labelsLineHeight]:"1",[xN.labelsMarginBottom]:"6px",[xN.labelTextColor]:Ny.labelTextColor,[xN.itemMarginBottom]:"1em",[xN.valueLabelMinWidth]:Ny.minWidth,[xN.attrLabelMinWidth]:`calc(12em + 2 * ${IN.border.xs})`,[xN.separatorWidth]:"70px",[xN.removeButtonWidth]:"60px"};var TN=Object.freeze({__proto__:null,default:jN,mappingsField:jN,vars:xN});const zN=Se(_u),DN=Vc.cssVarList,SN={[DN.labelMinWidth]:"150px",[DN.hostDirection]:zN.direction,[DN.contentMinWidth]:`calc(100% - ${ke(DN.labelMinWidth)} - ${ke(DN.itemsGap)})`,[DN.badgeMaxWidth]:"85px",[DN.itemsGap]:"4px",[DN.hostMinWidth]:"310px",[DN.hostWidth]:"530px",[DN.hostMaxWidth]:"100%",[DN.iconColor]:"currentcolor",_fullWidth:{[DN.hostWidth]:"100%"}};var vN=Object.freeze({__proto__:null,default:SN,vars:DN});const LN=Se(_u),CN=Fc.cssVarList,AN={[CN.hostDirection]:LN.direction,[CN.itemsGap]:"16px",[CN.hostMinWidth]:"310px",[CN.hostWidth]:"530px",[CN.hostMaxWidth]:"100%",[CN.iconSize]:"24px",[CN.iconColor]:"currentcolor",_fullWidth:{[CN.hostWidth]:"100%"}};var wN=Object.freeze({__proto__:null,default:AN,vars:CN});const fN=qc.cssVarList,EN={[fN.hostWidth]:Ny.width,[fN.hostDirection]:Ny.direction,[fN.groupNameInputMarginBottom]:"1em",[fN.errorMessageIcon]:Ny.errorMessageIcon,[fN.errorMessageIconSize]:Ny.errorMessageIconSize,[fN.errorMessageIconPadding]:Ny.errorMessageIconPadding,[fN.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[fN.errorMessageIconPosition]:Ny.errorMessageIconPosition,[fN.errorMessageFontSize]:Ny.errorMessageFontSize};var kN=Object.freeze({__proto__:null,default:EN,samlGroupMappings:EN,vars:fN});const ON=Se(_u),VN=Na.cssVarList,WN={[VN.fontFamily]:Ny.fontFamily,[VN.fontSize]:Ny.labelFontSize,[VN.textColor]:Ny.labelTextColor,[VN.borderWidth]:Ny.borderWidth,[VN.borderStyle]:Ny.borderStyle,[VN.borderColor]:Ny.borderColor,[VN.borderRadius]:ON.radius.sm,[VN.backgroundColor]:"none",[VN.padding]:"0px",[VN.labelMargin]:ON.spacing.sm,[VN.itemsSpacing]:ON.spacing.lg,[VN.itemSymbolDefault]:"'\\2022'",[VN.itemSymbolSuccess]:"'\\2713'",[VN.itemSymbolError]:"'\\2A09'",[VN.itemSymbolSuccessColor]:ON.colors.success.main,[VN.itemSymbolErrorColor]:ON.colors.error.main};var YN=Object.freeze({__proto__:null,default:WN,vars:VN});const UN=Se(_u),RN=Sd.cssVarList,QN="#d73a49",ZN="#6f42c1",BN="#005cc5",PN="#e36209",FN="#6a737d",GN="#22863a",HN="#24292e",JN="#f0fff4",$N="#032f62",_N="#ff7b72",XN="#d2a8ff",qN="#79c0ff",KN="#ffa657",tI="#8b949e",eI="#7ee787",iI="#c9d1d9",oI="#f0fff4",rI="#a5d6ff",nI={[RN.copyButtonSize]:"32px",[RN.copyButtonBorderRadius]:UN.radius.xs,[RN.copyButtonBorderWidth]:UN.border.xs,[RN.copyButtonBorderColor]:UN.colors.surface.light,[RN.copyButtonBgColor]:UN.colors.surface.highlight,[RN.copyButtonHoverBgColor]:UN.colors.surface.light,[RN.copyButtonColor]:UN.colors.surface.contrast,[RN.rootBgColor]:UN.colors.surface.main,[RN.rootTextColor]:UN.colors.surface.contrast,[RN.docTagTextColor]:QN,[RN.keywordTextColor]:QN,[RN.metaKeywordTextColor]:QN,[RN.templateTagTextColor]:QN,[RN.templateVariableTextColor]:QN,[RN.typeTextColor]:QN,[RN.variableLanguageTextColor]:QN,[RN.titleTextColor]:ZN,[RN.titleClassTextColor]:ZN,[RN.titleClassInheritedTextColor]:ZN,[RN.titleFunctionTextColor]:ZN,[RN.attrTextColor]:BN,[RN.attributeTextColor]:BN,[RN.literalTextColor]:BN,[RN.metaTextColor]:BN,[RN.numberTextColor]:BN,[RN.operatorTextColor]:BN,[RN.variableTextColor]:BN,[RN.selectorAttrTextColor]:BN,[RN.selectorClassTextColor]:BN,[RN.selectorIdTextColor]:BN,[RN.regexpTextColor]:$N,[RN.stringTextColor]:$N,[RN.metaStringTextColor]:$N,[RN.builtInTextColor]:PN,[RN.symbolTextColor]:PN,[RN.commentTextColor]:FN,[RN.codeTextColor]:FN,[RN.formulaTextColor]:FN,[RN.nameTextColor]:GN,[RN.quoteTextColor]:GN,[RN.selectorTagTextColor]:GN,[RN.selectorPseudoTextColor]:GN,[RN.substTextColor]:HN,[RN.sectionTextColor]:BN,[RN.bulletTextColor]:"#735c0f",[RN.emphasisTextColor]:HN,[RN.strongTextColor]:HN,[RN.additionTextColor]:GN,[RN.additionBgColor]:JN,[RN.deletionTextColor]:QN,[RN.deletionBgColor]:JN},sI={codeSnippet:{[RN.rootBgColor]:UN.colors.surface.main,[RN.rootTextColor]:UN.colors.surface.contrast,[RN.docTagTextColor]:_N,[RN.keywordTextColor]:_N,[RN.metaKeywordTextColor]:_N,[RN.templateTagTextColor]:_N,[RN.templateVariableTextColor]:_N,[RN.typeTextColor]:_N,[RN.variableLanguageTextColor]:_N,[RN.titleTextColor]:XN,[RN.titleClassTextColor]:XN,[RN.titleClassInheritedTextColor]:XN,[RN.titleFunctionTextColor]:XN,[RN.attrTextColor]:qN,[RN.attributeTextColor]:qN,[RN.literalTextColor]:qN,[RN.metaTextColor]:qN,[RN.numberTextColor]:qN,[RN.operatorTextColor]:qN,[RN.variableTextColor]:qN,[RN.selectorAttrTextColor]:qN,[RN.selectorClassTextColor]:qN,[RN.selectorIdTextColor]:qN,[RN.regexpTextColor]:rI,[RN.stringTextColor]:rI,[RN.metaStringTextColor]:rI,[RN.builtInTextColor]:KN,[RN.symbolTextColor]:KN,[RN.commentTextColor]:tI,[RN.codeTextColor]:tI,[RN.formulaTextColor]:tI,[RN.nameTextColor]:eI,[RN.quoteTextColor]:eI,[RN.selectorTagTextColor]:eI,[RN.selectorPseudoTextColor]:eI,[RN.substTextColor]:iI,[RN.sectionTextColor]:qN,[RN.bulletTextColor]:"#735c0f",[RN.emphasisTextColor]:iI,[RN.strongTextColor]:iI,[RN.additionTextColor]:eI,[RN.additionBgColor]:oI,[RN.deletionTextColor]:_N,[RN.deletionBgColor]:oI}};var aI=Object.freeze({__proto__:null,codeSnippetDarkThemeOverrides:sI,default:nI,vars:RN});const lI=iu.cssVarList,dI=Se(_u),cI={[lI.buttonsRowGap]:"9px",[lI.hostWidth]:Ny.width,[lI.hostDirection]:Ny.direction,[lI.fontSize]:Ny.fontSize,[lI.fontFamily]:Ny.fontFamily,[lI.labelTextColor]:Ny.labelTextColor,[lI.labelRequiredIndicator]:Ny.requiredIndicator,[lI.errorMessageTextColor]:Ny.errorMessageTextColor,[lI.errorMessageIcon]:Ny.errorMessageIcon,[lI.errorMessageIconSize]:Ny.errorMessageIconSize,[lI.errorMessageIconPadding]:Ny.errorMessageIconPadding,[lI.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[lI.errorMessageIconPosition]:Ny.errorMessageIconPosition,[lI.errorMessageFontSize]:Ny.errorMessageFontSize,[lI.helperTextColor]:Ny.helperTextColor,[lI.itemsLabelColor]:dI.colors.surface.contrast,textAlign:{right:{[lI.inputTextAlign]:"right"},left:{[lI.inputTextAlign]:"left"},center:{[lI.inputTextAlign]:"center"}},_fullWidth:{[lI.buttonsSpacing]:"space-between"},_disabled:{[lI.itemsLabelColor]:dI.colors.surface.light}};var uI=Object.freeze({__proto__:null,default:cI,radioGroup:cI,vars:lI});const pI=tu.cssVarList,hI=Se(_u),gI={[pI.fontFamily]:Ny.fontFamily,[pI.radioSize]:"calc(1em + 6px)",[pI.radioMargin]:"auto 4px",[pI.radioCheckedSize]:`calc(var(${pI.radioSize})/5)`,[pI.radioCheckedColor]:hI.colors.surface.light,[pI.radioBackgroundColor]:hI.colors.surface.light,[pI.radioBorderColor]:"none",[pI.radioBorderWidth]:0,_checked:{[pI.radioBackgroundColor]:hI.colors.surface.contrast},_hover:{cursor:"pointer"},size:{xs:{[pI.fontSize]:"12px"},sm:{[pI.fontSize]:"14px"},md:{[pI.fontSize]:"16px"},lg:{[pI.fontSize]:"18px"}}};var MI=Object.freeze({__proto__:null,default:gI,radioButton:gI,vars:pI});const mI=Se(_u),yI=Ar.cssVarList,bI={[yI.fontFamily]:Ny.fontFamily,[yI.fontSize]:Ny.fontSize,[yI.hostDirection]:Ny.direction,[yI.calendarPadding]:"1em",[yI.topNavVerticalPadding]:"1em",[yI.topNavAlignment]:"space-between",[yI.topNavGap]:"0",[yI.topNavSelectorsGap]:"0.5em",[yI.bottomNavVerticalPadding]:"0.75em",[yI.bottomNavHorizontalPadding]:"1.5em",[yI.bottomNavAlignment]:"space-between",[yI.bottomNavGap]:"0.5em",[yI.navMarginBottom]:"0.75em",[yI.navBorderBottomWidth]:"1px",[yI.navBorderBottomColor]:mI.colors.surface.highlight,[yI.navBorderBottomStyle]:"solid",[yI.yearInputWidth]:"6em",[yI.monthInputWidth]:"8em",[yI.navButtonSize]:"24px",[yI.navButtonCursor]:"pointer",[yI.weekdayFontSize]:"0.875em",[yI.weekdayFontWeight]:"500",[yI.dayHeight]:"3.125em",[yI.daySize]:"2.125em",[yI.dayFontSize]:"1em",[yI.dayRadius]:"50%",[yI.dayTextAlign]:"center",[yI.dayPadding]:"0",[yI.dayTextColor]:mI.colors.surface.contrast,[yI.dayFontWeight]:"500",[yI.dayBackgroundColor]:"transparent",[yI.dayCursor]:"pointer",[yI.dayBackgroundColorHover]:mI.colors.primary.highlight,[yI.daySelectedBackgroundColor]:mI.colors.primary.main,[yI.daySelectedTextdColor]:mI.colors.primary.contrast,[yI.dayDisabledTextdColor]:mI.colors.surface.light,[yI.currentDayBorderColor]:mI.colors.surface.light,[yI.currentDayBorderWidth]:"1px",[yI.currentDayBorderStyle]:"solid",size:{xs:{[yI.fontSize]:"12px"},sm:{[yI.fontSize]:"14px"},md:{[yI.fontSize]:"16px"},lg:{[yI.fontSize]:"18px"}},[yI.navButtonRotation]:"rotate(180deg)",_disabled:{[yI.navButtonOpacity]:"0.5",[yI.dayBackgroundColorHover]:"none",[yI.navButtonCursor]:"default",[yI.dayCursor]:"default"},_fullWidth:{[yI.hostWidth]:"100%",[yI.dayBlockAlign]:"0 auto"}};var NI=Object.freeze({__proto__:null,default:bI,vars:yI});const II=Se(_u),xI="#00000020",{shadow:jI}=II,TI=un.cssVarList,zI={[TI.hostWidth]:Ny.width,[TI.hostDirection]:Ny.direction,[TI.iconMargin]:"0.375em",[TI.overlay.marginTop]:`calc(${Ny.outlineWidth} + 1px)`,[TI.overlay.backgroundColor]:Ny.backgroundColor,[TI.overlay.backdropBackgroundColor]:"transparent",[TI.overlay.backdropPointerEvents]:"all",[TI.overlay.boxShadow]:`${jI.wide.xl} ${xI}, ${jI.narrow.xl} ${xI}`,[TI.overlay.outlineWidth]:"0",[TI.overlay.outlineColor]:"transparent",[TI.overlay.outlineStyle]:"none",[TI.overlay.padding]:"0",[TI.rtlInputDirection]:"ltr",[TI.rtlInputAlignment]:"right",[TI.errorMessageIcon]:Ny.errorMessageIcon,[TI.errorMessageIconSize]:Ny.errorMessageIconSize,[TI.errorMessageIconPadding]:Ny.errorMessageIconPadding,[TI.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[TI.errorMessageIconPosition]:Ny.errorMessageIconPosition,[TI.errorMessageFontSize]:Ny.errorMessageFontSize,[TI.labelFontWeight]:Ny.labelFontWeight,[TI.inputValueFontWeight]:Ny.inputValueFontWeight,[TI.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[TI.helperTextFontWeight]:Ny.helperTextFontWeight,[TI.errorMessageFontWeight]:Ny.errorMessageFontWeight};var DI=Object.freeze({__proto__:null,default:zI,vars:TI});const SI=lu.cssVarList,vI={[SI.requiredInputBorderColor]:by._disabled[Iy.borderColor],[SI.requiredInputValueTextColor]:by._disabled[Iy.valueTextColor],[SI.hostWidth]:"280px",_fullWidth:{[SI.hostWidth]:"100%"}};var LI=Object.freeze({__proto__:null,default:vI,vars:SI});const CI=Se(_u),AI=bu.cssVarList,wI={[AI.gap]:CI.spacing.lg,[AI.arrowsColor]:CI.colors.surface.dark,[AI.thirdPartyAppLogoFallback]:"url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)",[AI.companyLogoFallback]:"url(https://imgs.descope.com/components/project-logo-placeholder.svg)",size:{xs:{[AI.logoMaxHeight]:"30px",[AI.logoMaxWidth]:"120px"},sm:{[AI.logoMaxHeight]:"40px",[AI.logoMaxWidth]:"160px"},md:{[AI.logoMaxHeight]:"48px",[AI.logoMaxWidth]:"200px"},lg:{[AI.logoMaxHeight]:"60px",[AI.logoMaxWidth]:"240px"}}};var fI=Object.freeze({__proto__:null,default:wI,vars:AI});const EI=Tu.cssVarList,kI={[EI.hostWidth]:"fit-content",_fullWidth:{[EI.hostWidth]:"100%"}};var OI=Object.freeze({__proto__:null,default:kI,vars:EI});const VI=wu.cssVarList,WI={[VI.hostWidth]:"min-content",[VI.questionCursor]:"pointer",_fullWidth:{[VI.hostWidth]:"100%"},[VI.questionFontSize]:Ny.fontSize,[VI.questionFontFamily]:Ny.fontFamily};var YI=Object.freeze({__proto__:null,default:WI,vars:VI});const UI=Yu.cssVarList,RI={[UI.hostDirection]:Ny.direction,[UI.labelFontWeight]:Ny.labelFontWeight,[UI.inputValueFontWeight]:Ny.inputValueFontWeight,[UI.inputPlaceholderFontWeight]:Ny.inputPlaceholderFontWeight,[UI.helperTextFontWeight]:Ny.helperTextFontWeight,[UI.errorMessageFontWeight]:Ny.errorMessageFontWeight,[UI.errorMessageIcon]:Ny.errorMessageIcon,[UI.errorMessageIconSize]:Ny.errorMessageIconSize,[UI.errorMessageIconPadding]:Ny.errorMessageIconPadding,[UI.errorMessageIconRepeat]:Ny.errorMessageIconRepeat,[UI.errorMessageIconPosition]:Ny.errorMessageIconPosition,[UI.errorMessageFontSize]:Ny.errorMessageFontSize,_fullWidth:{[UI.hostWidth]:"100%"}};var QI=Object.freeze({__proto__:null,default:RI,vars:UI});const ZI=Se(_u),BI=Zu.cssVarList,PI={[BI.hostDirection]:ZI.direction,[BI.backgroundColor]:"transparent",[BI.iconSize]:"1.35em",[BI.alignItems]:"center",[BI.borderRadius]:ZI.radius.md,[BI.horizontalPadding]:"0",[BI.verticalPadding]:"0",[BI.gap]:"0.5em",[BI.fontSize]:ke(hp.fontSize),mode:{error:{[BI.textColor]:ZI.colors.error.main,_bordered:{[BI.borderColor]:ZI.colors.error.main}},success:{[BI.textColor]:ZI.colors.success.main,_bordered:{[BI.borderColor]:ZI.colors.success.main}}},spacing:{xs:{[BI.horizontalPadding]:ZI.spacing.xs,[BI.verticalPadding]:ZI.spacing.xs},sm:{[BI.horizontalPadding]:ZI.spacing.sm,[BI.verticalPadding]:ZI.spacing.sm},md:{[BI.horizontalPadding]:ZI.spacing.md,[BI.verticalPadding]:ZI.spacing.md},lg:{[BI.horizontalPadding]:ZI.spacing.lg,[BI.verticalPadding]:ZI.spacing.lg},xl:{[BI.horizontalPadding]:ZI.spacing.xl,[BI.verticalPadding]:ZI.spacing.xl}},textAlign:{left:{[BI.justifyContent]:"left"},center:{[BI.justifyContent]:"center"},right:{[BI.justifyContent]:"right"}},_bordered:{[BI.borderWidth]:ZI.border.xs,[BI.borderColor]:"transparent",[BI.borderStyle]:"solid",[BI.borderWidth]:ZI.border.xs,[BI.borderRadius]:ZI.radius.sm},_fullWidth:{[BI.hostWidth]:"100%"}};var FI=Object.freeze({__proto__:null,default:PI,vars:BI});const GI=Gu.cssVarList,HI={enabled:{false:{[GI.maxHeight]:"70px"}}},JI={button:up,textField:Dy,password:Cy,numberField:fy,emailField:Oy,textArea:Yy,checkbox:Zy,switchToggle:Hy,container:ib,logo:nb,totpImage:lb,notpImage:ub,text:Mp,enrichedText:Tp,link:Np,divider:Nb,passcode:jb,loaderRadial:kb,loaderLinear:Sb,comboBox:wp,phoneField:Wb,phoneInputBoxField:Rb,newPassword:Pb,inputWrapper:xy,uploadFile:Hb,buttonSelectionGroupItem:Xb,buttonSelectionGroup:iN,buttonMultiSelectionGroup:nN,modal:cN,grid:gN,notificationCard:NN,multiSelectComboBox:Kh,badge:Yp,avatar:$p,mappingsField:TN,userAttribute:vN,userAuthMethod:wN,samlGroupMappings:kN,policyValidation:YN,image:Kp,icon:Xp,codeSnippet:aI,radioGroup:uI,radioButton:MI,calendar:NI,dateField:DI,list:Mh,listItem:Nh,multiLineMappings:$h,appsList:sh,scopesList:LI,thirdPartyAppLogo:fI,securityQuestionsSetup:OI,securityQuestionsVerify:YI,hybridField:QI,alert:FI,autocompleteField:cg,addressField:Sg,countrySubdivisionCityField:Hm,timer:Yg,timerButton:tM,passwordStrength:hM,collapsibleContainer:SM,recoveryCodes:kM,hcaptcha:Object.freeze({__proto__:null,default:HI,vars:GI}),outboundApps:ZM,outboundAppButton:$M,trustedDevices:nm,tooltip:Im,attachment:oy,userPasskeys:My},$I=Object.keys(JI).reduce((t,e)=>({...t,[e]:JI[e].default}),{}),_I=Object.keys(JI).reduce((t,e)=>({...t,[e]:JI[e].vars}),{}),XI={globals:_u,components:$I},qI={globals:Xu,components:_I},KI=a()({},XI,{globals:{colors:{surface:{main:"#181a1c",dark:"#bec4ca",light:"#555f68",highlight:"#22262a",contrast:"#f5f6f7"},primary:{main:"#1f80ff",dark:"#71aeff",light:"#004094",highlight:"#00214d",contrast:"#000000"},secondary:{main:"#a665eb",dark:"#b9a0f3",light:"#683ae6",highlight:"#361299",contrast:"#000000"},success:{main:"#27963c",dark:"#8bc3a2",light:"#004d0f",highlight:"#001f00",contrast:"#000000"},error:{main:"#f85249",dark:"#fa7c75",light:"#c51107",highlight:"#4a0603",contrast:"#000000"},warning:{main:"#EF7A33",dark:"#FF985A",light:"#FF6304",highlight:"#C45512",contrast:"#000000"}}},components:{...sI}});customElements.define(tg,class extends eg{static get observedAttributes(){return[].concat(eg.observedAttributes||[],ig)}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get minSearchLength(){return this.getAttribute("min-search-length")||3}get noResultsFoundMessage(){return this.getAttribute("no-results-message")||"No results found"}get errorFetchingResultsMessage(){return this.getAttribute("error-fetching-results-message")||"An error occurred fetching results"}constructor(){super(),this.innerHTML='\n <div class="autocomplete-field">\n <descope-combo-box clear-button-visible="true" auto-open-disabled="true" has-dynamic-data="true" item-label-path="data-name" item-value-path="data-id" hide-toggle-button="true"></descope-combo-box>\n </div>\n ',this.comboBox=this.querySelector("descope-combo-box")}get value(){return this.comboBox.value}set value(t){this.allowCustomValue?this.comboBox.value=t:(this.comboBox.data=[{label:t,value:t}],setTimeout(()=>{this.comboBox.value=t}))}get defaultValue(){return this.getAttribute("default-value")}async#Io(t){const{results:e,error:i}=await this.fetchResults(t);return i?{error:i}:{results:e}}#xo(t,e,i,o){return`<span data-name="${i}" data-id="${e}" ${o?'disabled="true"':""}>${t||i}</span>`}#jo(){this.comboBox.renderer=(t,e,i)=>{"true"===i.item.getAttribute("disabled")?t.setAttribute("disabled","true"):t.removeAttribute("disabled"),t.innerHTML=i.item.outerHTML},this.comboBox.renderItem=({displayName:t,value:e,label:i,disabled:o})=>this.#xo(t,e,i,o)}focus(){this.comboBox.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.comboBox.focus()}),super.init?.(),this.#To(),L(this,this.comboBox,{includeAttrs:["invalid"]})}#To(){this.debouncedSearch=(t=>{let e=0;const i=new Set,o=new Set,r=n()((r,n)=>{t(...r).then(t=>{n===e&&(i.forEach(e=>e(t)),i.clear())}).catch(t=>{o.forEach(e=>e(t)),o.clear()})},250);return(...t)=>(e++,new Promise((n,s)=>{i.add(n),o.add(s),r(t,e)}))})(async t=>{try{const{results:e,error:i}=await this.#Io(t);return{results:e,error:i,value:t}}catch(e){return{error:e,value:t}}}),w(this,this.comboBox,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","invalid","error-message","data-errormessage-value-missing","st-host-direction","allow-custom-value","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),this.comboBox.addEventListener("filter-changed",this.onSearch.bind(this)),this.#jo()}#zo(){return[{label:this.noResultsFoundMessage,value:og,disabled:!0}]}#Do(){return[{label:this.errorFetchingResultsMessage,value:og,disabled:!0}]}async onSearch(t){const e=t.detail.value;if(!e||e.length<this.minSearchLength)return;this.comboBox.loading=!0,this.comboBox.setAttribute("opened","true");const i=await this.debouncedSearch(e);i&&i.value===e&&(this.comboBox.loading=!1,i.error?this.comboBox.data=this.#Do():0===i.results?.length?this.comboBox.data=this.#zo():this.comboBox.data=i.results||[])}fetchResults(t){return console.warn("fetchResults","needs to be implemented"),{results:[],error:void 0}}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),customElements.define(rg,sg),customElements.define(hg,Ig),customElements.define(xg,Tg);const tx=C("anchored");class ex extends(yt({componentName:tx,baseSelector:".anchored-root"})){#So=null;#vo=null;#Lo=null;get#Co(){return this.defaultSlot.assignedElements({flatten:!0})[0]}get#Ao(){return this.shadowRoot.querySelector('slot[name="anchored"]')?.assignedElements()[0]}get#wo(){return this.getRootNode().host}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="anchored-root" part="root">\n <slot></slot>\n <div class="anchored-host" part="anchored">\n <slot name="anchored"></slot>\n </div>\n </div>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])")}init(){super.init?.(),f("\n :host {\n display: inline-flex;\n position: relative;\n box-sizing: border-box;\n }\n\n :host(:not([has-anchor])) {\n display: none;\n }\n\n .anchored-root {\n position: relative;\n display: flex;\n width: 100%;\n min-width: 0;\n }\n\n /* Make anchor fill the flex row and allow it to shrink. */\n ::slotted(*:not([slot])) {\n flex-grow: 1; /* fill the flex row */\n flex-shrink: 1; /* compress when constrained */\n flex-basis: auto; /* start from the anchor's natural size */\n min-width: 0; /* flex items won't shrink below content size without this */\n }\n\n /* Anchored container covers the anchor but is invisible to pointer events. */\n .anchored-host {\n position: absolute;\n inset: 0;\n pointer-events: none;\n }\n\n /* Restore interactivity for actual anchored content. */\n ::slotted([slot=\"anchored\"]) {\n pointer-events: auto;\n }\n ",this),this.#fo(),this.defaultSlot.addEventListener("slotchange",()=>this.#Eo()),this.#Eo()}#si(){const t=this.#Co?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#Eo(){this.#ko(),this.#So=this.#Oo(this.#So,this.#wo,"stretch"),this.#vo=this.#Oo(this.#vo,this.#Ao,"st-host-direction")}#fo(){const t="\n descope-anchored {\n width: 100%; /* fill the outer host so the anchored element spans the full anchor width */\n }\n :host([stretch]) {\n display: inline-flex; /* switch from inline-block so internal children are flex items */\n width: 100%; /* fill non-flex parents */\n flex-grow: 1; /* absorb extra space in flex parents */\n flex-shrink: 0; /* hold full width — shrink:1 would let siblings squeeze it below 100% */\n flex-basis: auto; /* defer to width:100% on the main axis; avoids forcing 100% height in column-flex parents */\n min-width: 0; /* prevent overflow when the outer host is itself inside a constrained flex row */\n }\n ";this.#Lo?this.#Lo.replaceSync(t):this.#wo&&(this.#Lo=f(t,this.#wo))}#Oo(t,e,i){return t?.disconnect(),e?.removeAttribute(i),this.#Co&&e?w(this.#Co,e,{includeAttrs:[i]}):null}disconnectedCallback(){super.disconnectedCallback?.(),this.#So?.disconnect(),this.#vo?.disconnect()}#ko(){this.toggleAttribute("has-anchor",!!this.#Co),this.#si()}}const ix=T(pt)(ex);customElements.define(tx,ix),customElements.define(Up,Pp),customElements.define(th,eh),customElements.define(Jm,Km),customElements.define(gM,yM),customElements.define(vm,Um),customElements.define(Rm,Pm),customElements.define(Ih,Oh),customElements.define(Vh,Gh),customElements.define(BM,FM),customElements.define(OM,UM),customElements.define(eM,lM);var ox=Object.freeze({__proto__:null,PasswordStrengthClass:lM,componentName:eM});const rx=C("ponyhot"),nx="dhp-",sx=yt({componentName:rx,baseSelector:""}),ax=T(pt)(class extends sx{get type(){return this.getAttribute("type")}get value(){return this.input?.value||""}init(){this.input=this.querySelector("input"),this.input&&(this.#Vo(),this.#Wo(),this.#Yo())}#Vo(){const t=["input","change","click","keydown","keyup","mouseover","mousedown"],e=i=>{this.input.value=`${nx}${i.type}`,t.forEach(t=>{this.input.removeEventListener(t,e)})};t.forEach(t=>{this.input.addEventListener(t,e)})}#Wo(){const t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(this.input,"value",{get(){return t.get.call(this)},set(e){const i=t.get.call(this);e&&!e.startsWith(nx)&&e!==i?t.set.call(this,`${nx}direct-set`):t.set.call(this,e)},configurable:!0})}#Yo(){Object.entries({position:"absolute",opacity:"0.01",width:"1px",height:"1px",pointerEvents:"none",zIndex:"-1",left:"-999999px"}).forEach(([t,e])=>{this.style[t]=e})}});customElements.define(rx,ax),customElements.define(vM,CM),customElements.define(Lg,kg),customElements.define(Ug,_g),customElements.define(sm,um),customElements.define(qM,im),customElements.define(ly,py);const lx={translations:N.A,graphs:y.K,dictionary:{...y.z,...b.z}};m.u2.setOptions(lx);var dx=Object.freeze({__proto__:null,default:m.K1,options:lx})}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_descope_flow_components_3_11_5_1779357989378=self.webpackChunk_descope_flow_components_3_11_5_1779357989378||[]).push([[222],{5222(t,e,i){i.d(e,{$y:()=>Yu,A8:()=>xc,Ag:()=>Ka,C1:()=>Vc,C9:()=>xo,Cz:()=>ac,Er:()=>Pp,G6:()=>tx,HO:()=>$i,HT:()=>to,J1:()=>ko,Jr:()=>Ui,Lg:()=>Zu,MN:()=>cs,Mz:()=>Ca,NF:()=>Ps,O7:()=>yM,Od:()=>bu,QW:()=>ec,Qb:()=>CM,SE:()=>so,SQ:()=>Lo,T$:()=>gy,T1:()=>dx,TV:()=>Gu,Ul:()=>aa,VN:()=>Sd,VX:()=>Sn,_w:()=>Ee,a5:()=>ex,bL:()=>un,bU:()=>Tg,br:()=>V,dX:()=>eh,dq:()=>im,du:()=>Gh,e7:()=>ve,eA:()=>vc,eo:()=>pl,ew:()=>he,fp:()=>Nl,gZ:()=>lu,h5:()=>UM,jH:()=>Ln,k0:()=>Nn,l1:()=>oo,md:()=>zn,ml:()=>Qt,mq:()=>qc,o9:()=>An,o_:()=>fe,pp:()=>Fc,px:()=>wu,q:()=>Km,q4:()=>Di,qn:()=>So,rG:()=>Tu,sK:()=>Ci,tD:()=>qd,tS:()=>iu,td:()=>Oh,tl:()=>qn,ul:()=>Za,v_:()=>xn,w8:()=>_r,wt:()=>Na,xO:()=>Is,xp:()=>hu,xs:()=>Ar,yW:()=>FM,yi:()=>um,yj:()=>_g,zQ:()=>KI,zZ:()=>Pm});var o=i(7949),r=i(72),n=i.n(r),s=i(8089),a=i.n(s),l=i(465),d=i.n(l),c=(i(8231),i(4873),i(865),i(4598),i(7519)),u=(i(496),i(7726),i(4155),i(9504),i(1399),i(5877),i(3798),i(8619),i(1394)),p=i(3667),h=(i(8319),i(3826)),g=i(8677),M=i(127),m=(i(9849),i(4899),i(3977),i(9435),i(7822),i(5595),i(6601),i(9792)),y=i(1206),b=i(8733),N=i(268);const I="descope",x=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),j=(...t)=>x(t.filter(t=>!!t).join("-")),T=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),z=t=>"function"==typeof t,D=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const r=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(r);const n=new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})});return n.observe(t,{attributes:!0}),{disconnect:()=>n.disconnect()}},S=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},v=(t,e,i={})=>o=>{o.forEach(o=>{const r=i[o]||o,n=t.getAttribute(o);e&&(null!==n?e.getAttribute(r)!==n&&e.setAttribute(r,n):e.removeAttribute(r))})},L=(t,e,i)=>{D(t,v(t,e),i),D(e,v(e,t),i)},C=t=>j(I,t),A=(...t)=>`--${j(...t)}`,w=(t,e,i={})=>D(t,v(t,e,i.mapAttrs),i),f=(t,e,{prepend:i=!1}={})=>{let o;try{o=new CSSStyleSheet}catch{return k(t,e,{prepend:i})}const r=e?.shadowRoot||e;if(t&&o.replaceSync(t),r){const t=[...r.adoptedStyleSheets||[]];t[i?"unshift":"push"](o),r.adoptedStyleSheets=t}return t&&!o.cssRules[0]?.style&&console.warn(`No style rules were created, make sure the CSS is valid:\n "${t}"`),o};class E{constructor(t,e,{prepend:i=!1}={}){this.styleEle=document.createElement("style"),this.styleEle.textContent=t,this.styleEle.setAttribute("nonce",window.DESCOPE_NONCE),this.ref=e?.shadowRoot||e,this.ref&&(i?this.ref.prepend(this.styleEle):this.ref.append(this.styleEle))}replaceSync(t){this.styleEle.textContent=t}get cssRules(){return this.styleEle.sheet?.cssRules}}const k=(t,e,{prepend:i=!1}={})=>new E(t,e,{prepend:i}),O=(t,e=2)=>t.trim().split(" ").splice(0,e).map(t=>t[0]?.toUpperCase()).join(""),V=new class{static mountOnPropName="DescopeThemeManager";#t={};#e="light";#i=new Set;#o(){this.#i.forEach(t=>t?.())}get currentThemeName(){return this.#e}set currentThemeName(t){this.#e=t,this.#o()}get currentTheme(){return this.#t[this.currentThemeName]}onCurrentThemeChange(t){return this.#i.add(t),()=>{this.#i.delete(t)}}set themes(t){this.#t=t,this.#o()}get hasThemes(){return!!Object.keys(this.#t).length}},W=.25,Y=.1,U=(t,e)=>t.darken(e).hex(),R=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},Q=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),Z=t=>t.luminosity()>.99,B=(t,e)=>(t=>t.luminosity()<.01)(t)?Q(t,W):U(t,.4),P=(t,e)=>Z(t)?U(t,W):Q(t,.4),F=(t,e)=>Z(t)?U(t,Y):Q(t,.8),G=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||B(i),light:t.light||P(i),highlight:t.highlight||F(i),contrast:t.contrast||R(i)}},H=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,J=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,$=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,_=t=>`\n ${t}::part(input-field)::after {\n opacity: 0;\n }\n`,X=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,q=t=>A(I,...t),K=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,r)=>(void 0===t[e]&&(t[e]={}),r===o.length-1&&(t[e]=i),t[e]),t),t},tt=(t,e,i)=>Object.entries(t).reduce((t,[o,r])=>r?.constructor!==Object?a()(t,i(e.concat(o),r)):a()(t,tt(r,[...e,o],i)),{}),et=(t,e)=>tt(t,[],t=>K({},t,`var(${q(t)})`)),it=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),ot=(t,e)=>{const i=tt(t,[],(t,i)=>{const o=[...t],r=o.splice(-1),n=A(e,r),s={[r]:n},a={[r]:it(n)};return{theme:K({},[...o,n],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},rt=t=>`${t}__override`,nt=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${rt(t)}, ${o})`:o};let st=class{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}};const at=(t,e="fallback")=>j(t,e),lt=(t,e,{fallback:i})=>{if(!i)return{};const o=at(e,i.suffix),r=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[r]:o,...lt(r,o,i)}},dt=(t,e)=>Object.keys(e).reduce((i,o)=>{const r=A(t,o);return Object.assign(i,{[o]:r},{[o+"Override"]:rt(r)},lt(o,r,e[o]))},{}),ct=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...dt(o,{...t})}}#r;#n;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o="host",baseSelector:r}={}){super(),this.#a=i,this.#l=o,this.#c=r??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>j("st",i,t))}get#h(){return V.currentTheme?.[o]||""}#g(){this.#n.replaceSync(this.#h[this.#l]),this.currentThemeName=V.currentThemeName,this.onThemeChange?.(V.currentThemeName)}#M(){this.#n=f("",this.#d,{prepend:!0}),this.#s=V.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#r=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const i=this.#r.cssRules[0].style;if(!i)return;const r=A(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(r,e):(i?.removeProperty(r),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new st,r=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=at(e,t?.suffix);return nt(i,r(t.fallback,i))};return Object.keys(i).forEach(n=>{const s=((t,e)=>{const i={selector:"",property:x(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(n,i[n]),a=A(t,n);s.forEach(({selector:t,property:i,important:n,fallback:s})=>{const l=r(s,a);o.add(((t="",e="")=>z(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),z(i)?i():i,nt(a,l,!0)+(n?"!important":""))})}),o.toString()})(j(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d?.classList||this.#d?.host?.classList||this.classList).add(t)}async init(){super.init?.(),!this.shadowRoot?.isConnected&&this.shadowRoot||(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),D(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},ut=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},pt=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},ht=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},gt=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},Mt=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","collapsed","hide-country","hide-subdivision","hide-city"],mt=t=>class extends t{init(){super.init?.(),D(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>Mt.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},yt=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return T(pt,gt,mt,ht)(i)};function bt(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const Nt=t=>class extends t{#z=bt.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#z(),this.prevValue=this.value)})}},It=t=>class extends t{init(){this.#D(),super.init?.()}#D(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,bt.call(this,"blur"),bt.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(bt.call(this,"focus"),bt.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,bt.call(this,"input",{bubbles:!0,composed:!0})))})}},xt=["required","pattern"],jt=Symbol("validationTarget"),Tt=t=>class extends t{#S=jt;static get observedAttributes(){return[...t.observedAttributes||[],...xt]}static get formAssociated(){return!0}#v;get internals(){return this.#v}set internals(t){this.#v=t}constructor(){super(),this.#v=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:r,tooShort:n,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||r||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case n:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#L(){const t=this.isReadOnly?{}:this.getValidity();this.#v.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#v.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#v.validity.valid}reportValidity(){return this.#v.reportValidity()}get validity(){return this.#v.validity}get validationTarget(){return this.#S===jt?this.inputElement:this.#S}set validationTarget(t){this.#S=t}setCustomValidity(t){t?this.#v.setValidity({customError:!0},t,this.validationTarget):(this.#v.setValidity({}),this.#L())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#v.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),xt.includes(t)&&this.#L()}init(){super.init?.(),this.addEventListener("change",this.#L),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#L),setTimeout(()=>this.#L())}},zt=(...t)=>T(Tt,Nt,mt,It)(yt(...t)),Dt="FETCH_RESULTS_ERROR",St=()=>class{constructor(t){this.getAttribute=t,this.isValid=this.#C()}checkConnectorValidity(){this.isValid=this.#C()}#C(){return!this.getRequiredParams().filter(t=>{const e=this.getAttribute(t);return!e||!this.validateParam(t,e)}).length}validateParam(t,e){return e.trim().length>0}getRequiredParams(){return console.error("Connector must implement getRequiredParams"),[]}async fetch(t){return this.isValid?this._fetchResults(t):(console.error(`[${this.constructor.name}] Cannot fetch results: connector is not properly configured`),{results:[],error:"CONNECTOR_INVALID"})}_fetchResults(t){return console.error("Connector must implement fetchResults"),{results:[],error:void 0}}},vt=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:r=[],includeAttrsSync:n=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends(yt({componentName:t,baseSelector:e})){#A=bt.bind(this,"blur");#w=bt.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((z(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),((t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)})(this.baseElement,this,s),L(this.baseElement,this,{excludeAttrs:r,includeAttrs:n})}}return l},Lt=["invalid","required"],Ct=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},At=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:r=!1})=>n=>class extends(Tt(n)){static get observedAttributes(){return[...n.observedAttributes||[],...Lt]}#f;#z=bt.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=Ct(t)||Ct(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#z()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement.setSelectionRange?.bind(this.inputElement),w(this,this.inputElement,{includeAttrs:["inputmode"]})}),r){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},wt=t=>T(At(t),ct({componentNameOverride:C("input-wrapper")})),ft=t=>async e=>{const i=await t(e);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})},Et=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:r=!0}={}})=>n=>{const s=t||(t=>t.replace(/[^\w\s]/gi,""))(e),a=ct({mappings:i})(n);return class extends a{static get cssVarList(){return{...a.cssVarList,[s]:dt(s?j(n.componentName,"_"+s):n.componentName,i)}}#k;constructor(){const t=ft(async t=>{const i=(t.shadowRoot||t).querySelector(t.baseSelector);return e&&t.shadowRoot?(await ft(()=>i)(t)).querySelector(e):i});super({getRootElement:t,componentNameSuffix:s&&"_"+s,themeSection:s?"_"+s:void 0,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;w(this,t,{[r?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},kt=()=>!0,Ot=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,Vt=({itemRenderer:t=Ot,validateSchema:e=kt,slotName:i,rerenderAttrsList:o=[],targetSelector:r,sortFn:n=t=>t})=>s=>class extends s{#W=[];#Y;#U(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.#Y&&this.#Y.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),(n?this.data.sort(n):this.data).forEach((e,i)=>{const o="string"==typeof(r=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(r).content:r instanceof HTMLTemplateElement?r.content:(console.error("Invalid template",r),null);var r;this.#Y&&this.#Y.appendChild(o?.cloneNode(!0))})}set data(t){this.#U(t)&&(this.#W=t,this.#Q())}get data(){return this.#W}init(){super.init?.(),this.#Y=r?this.shadowRoot.querySelector(r):this.baseElement,D(this,t=>{t.includes("data")?this.#Z():this.#Q()},{includeAttrs:[...o,"data"]})}#Z(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}},Wt=({triggers:t=[]}={})=>e=>class extends e{static get observedAttributes(){return[...e.observedAttributes||[],...t.map(({attr:t})=>t)]}get#B(){return t.some(({attr:t,value:e})=>this.getAttribute(t)===e)}#P=()=>{this.toggleAttribute("stretch",this.#B)};attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.#P()}init(){super.init?.(),this.#P()}},Yt=["blockquote","list","image","table","code","hr","backticks","fence","reference","heading","lheading","html_block"],Ut=C("enriched-text");class Rt extends(yt({componentName:Ut,baseSelector:":host > div"})){#F;#G;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="content"></div>\n ',f("\n :host {\n line-height: 1em;\n word-break: break-word;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n *, *:last-child {\n margin: 0;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p {\n margin-bottom: 1em;\n }\n a {\n cursor: pointer;\n }\n blockquote {\n padding: 0 2em;\n }\n u {\n text-decoration: underline\n }\n s {\n color: currentColor;\n }\n ",this),this.#H(),S(this,this.#J.bind(this)),this.contentNode?.addEventListener("click",t=>{t.target instanceof HTMLAnchorElement&&t.stopPropagation()})}static get observedAttributes(){return["readonly","link-target-blank"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("readonly"===t&&this.onReadOnlyChange("true"===i),"link-target-blank"===t&&this.#H())}customUnderlineRenderer(){this.processor.renderer.rules.em_open=(t,e,i,o,r)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,r)),this.processor.renderer.rules.em_close=(t,e,i,o,r)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,r))}#$(){this.linkTargetBlank?this.processor.renderer.rules.link_open=(t,e,i,o,r)=>(t[e].attrSet("target","_blank"),this.#F(t,e,i,o,r)):this.processor.renderer.rules.link_open=this.#F}#_(){this.processor&&this.processor.disable(Yt)}#X(){this.#_()}#q(){this.#F=this.processor.renderer.rules.link_open||((t,e,i,o,r)=>r.renderToken(t,e,i)),this.#G=this.processor.renderer.rules.em_open||((t,e,i,o,r)=>r.renderToken(t,e,i))}#H(){this.processor=new o.A("commonmark",{html:!0}),this.#q(),this.#X(),this.#$(),this.customUnderlineRenderer()}get linkTargetBlank(){return"true"===this.getAttribute("link-target-blank")}get contentNode(){return this.shadowRoot.querySelector(".content")}#J(){if(!this.processor)return;let t=(t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value})(this.innerHTML);!t?.trim()&&this.isConnected?this.setAttribute("empty","true"):this.removeAttribute("empty");try{const e=this.processor.parse(t,{references:void 0});t=this.processor.renderer.render(e,{html:!0,breaks:!0})}catch{console.warn("Not parsing invalid markdown token")}this.contentNode.innerHTML=t,this.contentNode.firstChild?.setAttribute("part","content")}onReadOnlyChange(t){t?this.contentNode.setAttribute("inert",t):this.contentNode.removeAttribute("inert")}}const Qt=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDisplay:{selector:()=>":host",property:"display",fallback:"inline-block"},hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},fontWeightBold:[{selector:()=>":host strong",property:"font-weight"},{selector:()=>":host b",property:"font-weight"}],textColor:{property:"color"},textLineHeight:{property:"line-height"},textAlign:{},linkColor:{selector:"a",property:"color"},linkTextDecoration:{selector:"a",property:"text-decoration"},linkHoverTextDecoration:{selector:"a:hover",property:"text-decoration"},minHeight:{},minWidth:{}}}),ct({componentNameOverride:C("link")}),ct({componentNameOverride:C("text")}),Wt({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(Rt),Zt=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),Bt=(...t)=>Zt(t.filter(t=>!!t).join("-")),Pt=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),Ft=t=>"function"==typeof t,Gt="descope",Ht="host",Jt=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const r=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(r),new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})}).observe(t,{attributes:!0})},$t=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},_t=(t,e,i={})=>o=>{o.forEach(o=>{const r=i[o]||o,n=t.getAttribute(o);e&&(null!==n?e.getAttribute(r)!==n&&e.setAttribute(r,n):e.removeAttribute(r))})},Xt=(t,e,i)=>{Jt(t,_t(t,e),i),Jt(e,_t(e,t),i)},qt=t=>Bt(Gt,t),Kt=(...t)=>`--${Bt(...t)}`,te=(t,e,i={})=>{Jt(t,_t(t,e,i.mapAttrs),i)},ee=(t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)},ie=.4,oe=.25,re=.1,ne=(t,e)=>t.darken(e).hex(),se=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},ae=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),le=t=>t.luminosity()<.01,de=t=>t.luminosity()>.99,ce=(t,e)=>"dark"===e?de(t)?ne(t,oe):ae(t,ie):le(t)?ae(t,oe):ne(t,ie),ue=(t,e)=>"dark"===e?le(t)?ae(t,oe):ne(t,ie):de(t)?ne(t,oe):ae(t,ie),pe=(t,e)=>"dark"===e?le(t)?ae(t,re):ne(t,.8):de(t)?ne(t,re):ae(t,.8),he=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||ce(i,e),light:t.light||ue(i,e),highlight:t.highlight||pe(i,e),contrast:t.contrast||se(i)}},ge=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,Me=t=>`\n ${t} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`,me=t=>`\n ${t}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`,ye=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,be=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,Ne=t=>`\n ${t}::part(input-field)::after {\n background: none;\n }\n`,Ie=(t,e)=>`\n ${Me(t)}\n ${ye(t)}\n ${be(t)}\n ${me(t)}\n ${((t,e)=>`\n ${t} input:-webkit-autofill,\n ${t} input:-webkit-autofill::first-line,\n ${t} input:-webkit-autofill:hover,\n ${t} input:-webkit-autofill:active,\n ${t} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${e.inputValueTextColor});\n box-shadow: 0 0 0 var(${e.inputHeight}) var(${e.inputBackgroundColor}) inset;\n }\n`)(t,e)}\n ${Ne(t)}\n ${(t=>`\n ${t}::before {\n\t\theight: unset;\n\t}\n`)(t)}\n ${(t=>`\n ${t} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`)(t)}\n ${(t=>`\n ${t}::part(input-field)::after {\n border: none;\n }\n`)(t)}\n`,xe=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,je=t=>Kt(Gt,...t),Te=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,r)=>(void 0===t[e]&&(t[e]={}),r===o.length-1&&(t[e]=i),t[e]),t),t},ze=(t,e,i)=>Object.entries(t).reduce((t,[o,r])=>r?.constructor!==Object?a()(t,i(e.concat(o),r)):a()(t,ze(r,[...e,o],i)),{}),De=t=>{switch(!0){case Array.isArray(t):return t.map(t=>t.includes(" ")?`"${t}"`:t).join(", ");case(t=>{try{return new URL(t),!0}catch(t){return!1}})(t):return`url(${t})`;default:return t}},Se=(t,e)=>ze(t,[],t=>Te({},t,`var(${je(t)})`)),ve=(t,e="")=>{const i=Object.entries((t=>ze(t,[],(t,e)=>({[je(t)]:De(e)})))(t)).reduce((t,e)=>`${t}${e.join(":")};\n`,"");return e?`*[data-theme="${e}"] {${i}}`:i},Le="@container",Ce="$breakpoints",Ae=t=>t.startsWith("$breakpoints."),we=t=>Object.entries(t).reduce((t,[e,i])=>(t=>t.startsWith(Le))(e)?`${t}${e} {\n${we(i)}}\n\n`:`${t}${e} { \n${Object.entries(i).map(([t,e])=>`${t}: ${e}`).join(";\n")} \n}\n\n`,""),fe=t=>{const e=(t=>ze(t,[],(e,i)=>{const[o,...r]=e;if(r[0]===Ce)return{};const n=r.pop(),s=qt(o);"undefined"===n&&console.warn(s,`theme value: "${i}" is mapped to an invalid property`);const a=Ht,l=t[o]?.[Ce]||{},d=r.filter(Ae),c=d.find(t=>!l[t.slice(13)]);if(c)return console.warn(s,`theme references undefined breakpoint "${c}"`),{};const u=d.map(t=>Ae(t)?`${Le} ${l[t.slice(13)]}`:t);r.splice(0,r.length,...r.filter(t=>!Ae(t)));const p=r.reduce((t,e,i)=>{const[o,n]=function(t){const e=t.match(/^(&+)?(.*)$/);return[e[1]||"",e[2]||""]}(e),s=Math.min(o.length+1,3);if(n.startsWith("_"))return t+`[${Zt(n.replace(/^_/,""))}="true"]`.repeat(s);const a=r[i+1];return"string"!=typeof a||a.startsWith("_")||a.startsWith("&")?(console.error("theme generator",`your theme structure is invalid, attribute "${e}" is followed by "${a}" which is not allowed`),t):t+`[${Zt(n)}="${r.splice(i+1,1).join("")}"]`.repeat(s)},""),h=":host"+(p?`(${p})`:""),g=u.reduceRight((t,e)=>({[e]:t}),{[h]:{[n]:De(i)}});return{[s]:{[a]:g}}}))(t);return Object.keys(e).reduce((t,i)=>{const o=e[i];return Object.assign(t,{[i]:Object.keys(o).reduce((t,e)=>Object.assign(t,{[e]:we(o[e])}),{})})},{})},Ee=({globals:t,components:e},i)=>({globals:ve(t,i),components:fe(e)}),ke=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),Oe=(t,e)=>{const i=ze(t,[],(t,i)=>{const o=[...t],r=o.splice(-1),n=Kt(e,r),s={[r]:n},a={[r]:ke(n)};return{theme:Te({},[...o,n],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},Ve=t=>`${t}__override`,We=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${Ve(t)}, ${o})`:o};class Ye{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}}const Ue=(t,e="fallback")=>Bt(t,e),Re=(t,e,{fallback:i})=>{if(!i)return{};const o=Ue(e,i.suffix),r=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[r]:o,...Re(r,o,i)}},Qe=(t,e)=>Object.keys(e).reduce((i,o)=>{const r=Kt(t,o);return Object.assign(i,{[o]:r},{[`${o}Override`]:Ve(r)},Re(o,r,e[o]))},{}),Ze=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...Qe(o,{...t})}}#r;#n;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o=Ht,baseSelector:r}={}){super(),this.#a=i,this.#l=o,this.#c=r??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>Bt("st",i,t))}get#h(){return V.currentTheme?.[o]||""}#g(){this.#n.replaceSync(this.#h[this.#l])}#M(){this.#n=f("",this.#d,{prepend:!0}),this.#s=V.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#r=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const{style:i}=this.#r.cssRules[0];if(!i)return;const r=Kt(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(r,e):(i?.removeProperty(r),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new Ye,r=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=Ue(e,t?.suffix);return We(i,r(t.fallback,i))};return Object.keys(i).forEach(n=>{const s=((t,e)=>{const i={selector:"",property:Zt(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(n,i[n]),a=Kt(t,n);s.forEach(({selector:t,property:i,important:n,fallback:s})=>{const l=r(s,a);o.add(((t="",e="")=>Ft(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),Ft(i)?i():i,We(a,l,!0)+(n?"!important":""))})}),o.toString()})(Bt(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d.classList||this.#d.host.classList).add(t)}async init(){super.init?.(),this.shadowRoot?.isConnected&&(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),Jt(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},Be=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},Pe=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},Fe=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},Ge=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},He=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","loading"],Je=t=>class extends t{init(){super.init?.(),Jt(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>He.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},$e=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return Pt(Pe,Ge,Je,Fe)(i)};function _e(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const Xe=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:r=[],includeAttrsSync:n=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends($e({componentName:t,baseSelector:e})){#A=_e.bind(this,"blur");#w=_e.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((Ft(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),ee(this.baseElement,this,s),Xt(this.baseElement,this,{excludeAttrs:r,includeAttrs:n})}}return l},qe=["required","pattern"],Ke=Symbol("validationTarget"),ti=t=>class extends t{#S=Ke;static get observedAttributes(){return[...t.observedAttributes||[],...qe]}static get formAssociated(){return!0}#v;get internals(){return this.#v}set internals(t){this.#v=t}constructor(){super(),this.#v=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:r,tooShort:n,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||r||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case n:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#L(){const t=this.isReadOnly?{}:this.getValidity();this.#v.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#v.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#v.validity.valid}reportValidity(){return this.#v.reportValidity()}get validity(){return this.#v.validity}get validationTarget(){return this.#S===Ke?this.inputElement:this.#S}set validationTarget(t){this.#S=t}setCustomValidity(t){t?this.#v.setValidity({customError:!0},t,this.validationTarget):(this.#v.setValidity({}),this.#L())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#v.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),qe.includes(t)&&this.#L()}init(){super.init?.(),this.addEventListener("change",this.#L),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#L),setTimeout(()=>this.#L())}},ei=["invalid","required"],ii=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},oi=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:r=!1})=>n=>class extends(ti(n)){static get observedAttributes(){return[...n.observedAttributes||[],...ei]}#f;#z=_e.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=ii(t)||ii(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#z()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement?.setSelectionRange?.bind(this.inputElement),te(this,this.inputElement,{includeAttrs:["inputmode"]})}),r){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},ri=t=>Pt(oi(t),Ze({componentNameOverride:qt("input-wrapper")})),ni=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:r=!0}={}})=>e=>{const n=t,s=Ze({mappings:i})(e);return class extends s{static get cssVarList(){return{...s.cssVarList,[n]:Qe(Bt(e.componentName,"_"+n),i)}}#k;constructor(){const t=(e=async t=>(t.shadowRoot||t).querySelector(t.baseSelector),async t=>{const i=await e(t);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})});var e;super({getRootElement:t,componentNameSuffix:"_"+n,themeSection:"_"+n,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;te(this,t,{[r?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},si=t=>class extends t{#z=_e.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#z(),this.prevValue=this.value)})}},ai=t=>class extends t{init(){this.#D(),super.init?.()}#D(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,_e.call(this,"blur"),_e.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(_e.call(this,"focus"),_e.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,_e.call(this,"input",{bubbles:!0,composed:!0})))})}},li=({inputType:t,inputName:e,autocompleteType:i,includeAttrs:o=[],noBlurDispatch:r=!1})=>n=>class extends n{#K=[];get isExternalInput(){return"true"===this.getAttribute("external-input")}createExternalInput(){if(!this.isExternalInput||this.isReadOnly||this.isDisabled)return null;const i=this.baseElement.querySelector("input");if(!i)return null;i.setAttribute("tabindex","-1");const r=(()=>{const t=document.createElement("slot");return t.setAttribute("name","external-input"),t.setAttribute("slot","suffix"),t})();return this.baseElement.appendChild(r),this.externalInput=((t,e,i,o)=>{const r=document.createElement("input");return r.setAttribute("slot","external-input"),r.setAttribute("type",e),r.setAttribute("name",o),r.setAttribute("data-hidden-input","true"),r.setAttribute("autocomplete",i),r})(0,t,this.getAutocompleteType(),e),setTimeout(()=>{var t,e,o;t=i,e=this.externalInput,o=this.getAttribute("label-type"),setTimeout(()=>{const i=getComputedStyle(t),r=i.getPropertyValue("height"),n=i.getPropertyValue("padding-left"),s=i.getPropertyValue("padding-right"),a=i.getPropertyValue("font-size"),l=i.getPropertyValue("font-family"),d=i.getPropertyValue("letter-spacing"),c=i.getPropertyValue("caret-color"),u=((t,e)=>{const i=t.value;t.value="_";const o=e.getPropertyValue("color");return"_"===t.value&&(t.value=i),o})(t,i);if([["all","unset"],["position","absolute"],["background-color","transparent"],["height",r],["left",n],["right",s],["font-size",a],["font-family",l],["letter-spacing",d],["caret-color",c],["color",u]].forEach(([t,i])=>e.style.setProperty(t,i,"important")),"floating"===o){const t=i.getPropertyValue("margin-bottom");e.style.setProperty("margin-bottom",t,"important")}const p=i.getPropertyValue("width");e.style.setProperty("width",`calc(${p} - ${n} - ${s}`,"important")},0)}),this.forwardInputValue(i,this.externalInput),Xt(i,this.externalInput,{includeAttrs:o}),this.baseElement.querySelector("input").addEventListener("focusout",t=>t.stopImmediatePropagation(),!0),this.handleFocusEvents(),this.handleBlurEvents(),this.handlelInputEvents(this.externalInput),this.appendChild(this.externalInput),this.externalInput}clearBlurTimers(){this.#K.forEach(t=>clearTimeout(t)),this.#K.length=0}dispatchBlur(){return setTimeout(()=>{this.dispatchEvent(new Event("blur",{bubbles:!0,composed:!0})),this.removeAttribute("focused")})}handleFocusEvents(){this.baseElement.addEventListener("focus",()=>{this.externalInput.focus(),this.clearBlurTimers()}),this.externalInput.addEventListener("focus",()=>{this.clearBlurTimers(),setTimeout(()=>this.baseElement.setAttribute("focused","true"))})}handleBlurEvents(){this.baseElement.addEventListener("blur",t=>{t.stopImmediatePropagation(),r||this.#K.push(this.dispatchBlur())},!0),this.externalInput.addEventListener("blur",t=>{t.stopImmediatePropagation(),this.#K.push(this.dispatchBlur())},!0)}handlelInputEvents(t){t.addEventListener("input",t=>{this.value=t.target.value}),t.addEventListener("input",t=>{t.target.value?this.setAttribute("has-value","true"):this.removeAttribute("has-value")})}getAutocompleteType(){return this.getAttribute("autocomplete")||i}forwardInputValue(t,e){const i=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value");Object.defineProperty(t,"value",{...i,set(t){i.set.call(this,t),e.value=t},configurable:!0})}},di=t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},ci=(...t)=>Pt(ti,si,Je,ai)($e(...t)),ui=qt("boolean-field-internal"),pi=["disabled","invalid","readonly"],hi=ci({componentName:ui,baseSelector:"div"}),gi=t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${ui}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${ui}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(ui),this.checkbox=this.inputElement.querySelector("vaadin-checkbox"),te(this,this.inputElement,{includeAttrs:["required","full-width","size","label","invalid","disabled","readonly"]}),ee(this.inputElement,this,["checked"]),Xt(this,this.inputElement,{includeAttrs:["checked"]})}};var Mi=t=>`\n:host {\n\tdisplay: inline-flex;\n}\n\n\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n.wrapper {\n\tdisplay: flex;\n\tbox-sizing: border-box;\n}\nvaadin-text-field {\n\tposition: relative;\n\tpadding: 0;\n\tdisplay: inline-flex;\n\talign-items: flex-start;\n}\nvaadin-text-field::before {\n content: unset;\n}\nvaadin-text-field::part(label) {\n position: absolute;\n top: 0;\n}\nvaadin-text-field::part(input-field) {\n\tpadding: 0;\n\tbackground: none;\n\tmin-height: 0;\n}\nvaadin-text-field::part(input-field)::after {\n background: none;\n}\nvaadin-text-field[focus-ring]::part(input-field) {\n\tbox-shadow: none;\n}\n\nvaadin-checkbox [slot="label"] {\n align-self: flex-start;\n padding: 0;\n}\n[required] vaadin-checkbox [slot="label"]:not(:empty) {\n\tpadding-inline-end: 1em;\n}\ndescope-boolean-field-internal {\n -webkit-mask-image: none;\n min-height: initial;\n}\n\ndescope-enriched-text[empty] {\n\t${Qt.cssVarList.hostDisplay}: none;\n}\n\ndescope-enriched-text {\n\t${Qt.cssVarList.hostDirection}: var(${t.hostDirection});\n}\n\n`;const mi=qt("checkbox"),{host:yi,component:bi,checkboxElement:Ni,checkboxSurface:Ii,checkboxLabel:xi,requiredIndicator:ji,helperText:Ti,errorMessage:zi}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Di=Pt(Ze({mappings:{hostWidth:{...yi,property:"width"},hostDirection:{...yi,property:"direction"},fontSize:[yi,Ni,xi],fontFamily:[xi,Ti,zi],labelTextColor:{...xi,property:"color"},labelSpacing:{...xi,property:"padding-inline-start"},labelLineHeight:{...xi,property:"line-height"},labelFontWeight:{...xi,property:"font-weight"},labelRequiredIndicator:{...ji,property:"content"},errorMessageTextColor:{...zi,property:"color"},errorMessageIcon:{...zi,property:"background-image"},errorMessageIconSize:{...zi,property:"background-size"},errorMessageIconPadding:{...zi,property:"padding-inline-start"},errorMessageIconRepeat:{...zi,property:"background-repeat"},errorMessageIconPosition:{...zi,property:"background-position"},errorMessageFontSize:{...zi,property:"font-size"},inputValueTextColor:{...Ii,property:"color"},inputBackgroundColor:{...Ni,property:"background-color"},inputBorderRadius:{...Ni,property:"border-radius"},inputBorderWidth:{...Ni,property:"border-width"},inputBorderOffset:{...Ni,property:"border-offset"},inputBorderColor:{...Ni,property:"border-color"},inputBorderStyle:{...Ni,property:"border-style"},inputOutlineWidth:{...Ni,property:"outline-width"},inputOutlineOffset:{...Ni,property:"outline-offset"},inputOutlineColor:{...Ni,property:"outline-color"},inputOutlineStyle:{...Ni,property:"outline-style"},inputAlign:{...Ni,property:"align-self"},inputContainerPadding:{...bi,property:"padding"},inputContainerBackgroundColor:{...bi,property:"background-color"},inputContainerBorderRadius:{...bi,property:"border-radius"},inputContainerBorderWidth:{...bi,property:"border-width"},inputContainerBorderColor:{...bi,property:"border-color"},inputContainerBorderStyle:{...bi,property:"border-style"},inputContainerOutlineWidth:{...bi,property:"outline-width"},inputContainerOutlineOffset:{...bi,property:"outline-offset"},inputContainerOutlineColor:{...bi,property:"outline-color"},inputContainerOutlineStyle:{...bi,property:"outline-style"},inputSize:[{...Ni,property:"width"},{...Ni,property:"height"},{...Ii,property:"font-size"},{...bi,property:"font-size"}]}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,gi)(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${Mi(Di.cssVarList)}\n ${ge(Di.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 2px;\n\t\t\t\twidth: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n\n :host([full-width]) vaadin-checkbox {\n flex-grow: 1;\n }\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n }\n\n vaadin-checkbox::part(checkbox)::after {\n top: 0;\n left: 0;\n -webkit-text-fill-color: initial;\n }\n\n vaadin-checkbox label {\n -webkit-text-fill-color: initial;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n `,excludeAttrsSync:["label","tabindex","style"],componentName:mi})),Si=C("text");class vi extends(yt({componentName:Si,baseSelector:":host > slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <slot part="text-wrapper"></slot>\n ',f("\n :host {\n display: inline-block;\n line-height: 1em;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n ",this)}get hideWhenEmpty(){return"true"===this.getAttribute("hide-when-empty")}init(){super.init(),S(this,()=>{const t=!!this.childNodes.length;this.style.display=!t&&this.hideWhenEmpty?"none":""})}}const{host:Li}={host:{selector:()=>":host"}},Ci=T(ct({mappings:{hostWidth:{...Li,property:"width"},hostDirection:{...Li,property:"direction"},fontSize:{},textColor:[{property:"color"}],textLineHeight:{property:"line-height"},textLetterSpacing:{property:"letter-spacing"},textShadow:{},textAlign:{},textTransform:{},fontFamily:{},fontStyle:{},fontWeight:{},borderWidth:{},borderStyle:{},borderColor:{}}}),Wt({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(vi),Ai=C("link"),wi=["href","readonly"];class fi extends(yt({componentName:Ai,baseSelector:":host a"})){static get observedAttributes(){return wi.concat(super.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t<div>\n\t\t\t<descope-text part="wrapper">\n\t\t\t\t<a>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</a>\n\t\t\t</descope-text>\n\t\t</div>\n\t\t',f('\n :host {\n\t\t\tdisplay: inline-block;\n line-height: 1em;\n\t\t}\n\t\t:host a {\n\t\t\tdisplay: inline;\n\t\t}\n\n :host([ellipsis="true"]) descope-text {\n display: inline-flex;\n }\n :host([ellipsis="true"]) descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ',this),this.anchor=this.shadowRoot.querySelector("a"),w(this,this.anchor,{includeAttrs:["href","target","tooltip"],mapAttrs:{tooltip:"title"}}),w(this,this.shadowRoot.querySelector("descope-text"),{includeAttrs:["mode","variant"]}),this.anchor.addEventListener("click",t=>{this.readOnly&&t.preventDefault()})}get readOnly(){return"true"===this.getAttribute("readonly")}}const Ei={host:{selector:()=>":host"},link:{selector:()=>":host a"},anchor:{},wrapper:{selector:()=>":host > div"},text:{selector:()=>Ci.componentName}},{anchor:ki,text:Oi,host:Vi,wrapper:Wi,link:Yi}=Ei,Ui=T(ct({mappings:{hostWidth:{...Vi,property:"width"},hostDirection:{...Oi,property:"direction"},textAlign:Wi,textDecoration:{...Yi,property:"text-decoration",fallback:"none"},textColor:[{...ki,property:"color"},{...Oi,property:Ci.cssVarList.textColor}],cursor:ki}}),Wt({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(fi);customElements.define(Si,Ci),customElements.define(Ai,Ui),customElements.define(Ut,Qt),customElements.define(ui,class extends hi{static get observedAttributes(){return["readonly","label"]}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper">\n\t\t\t\t<vaadin-checkbox>\n\t\t\t\t\t<descope-enriched-text link-target-blank="true" class="label-content" slot="label"></descope-enriched-text>\n\t\t\t\t</vaadin-checkbox>\n\t\t\t</div>\n\t\t',this.wrapperEle=this.querySelector("div"),this.checkbox=this.querySelector("vaadin-checkbox"),this.labelContent=this.querySelector(".label-content")}get value(){return this.checkbox?.checked}set value(t){this.checkbox.checked=t}get checked(){return this.value}set checked(t){this.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.checkbox.focus()}),super.init?.(),te(this,this.checkbox,{includeAttrs:pi}),Xt(this,this.checkbox,{includeAttrs:["checked"]}),this.labelContent.addEventListener("click",t=>{this.hasAttribute("disabled")||this.hasAttribute("readonly")||this.checkbox.click()}),this.handleFocusEventsDispatching([this.checkbox])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i),"label"===t&&this.onLabelChange()}onLabelChange(){const t=this.getAttribute("label");this.labelContent.textContent=t||""}onReadOnlyChange(t){this.baseElement.setAttribute("inert",t)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}}),customElements.define(mi,Di);const Ri=qt("switch-toggle"),{host:Qi,component:Zi,checkboxElement:Bi,checkboxSurface:Pi,checkboxLabel:Fi,requiredIndicator:Gi,helperText:Hi,errorMessage:Ji}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},$i=Pt(Ze({mappings:{hostWidth:{...Qi,property:"width"},hostDirection:{...Qi,property:"direction"},fontSize:[Zi,Fi,Fi],fontFamily:[Fi,Hi,Ji],labelTextColor:[{...Fi,property:"color"},{...Fi,property:"-webkit-text-fill-color"}],labelSpacing:{...Fi,property:"padding-inline-start"},labelLineHeight:{...Fi,property:"line-height"},labelFontWeight:{...Fi,property:"font-weight"},labelRequiredIndicator:{...Gi,property:"content"},errorMessageTextColor:{...Ji,property:"color"},errorMessageIcon:{...Ji,property:"background-image"},errorMessageIconSize:{...Ji,property:"background-size"},errorMessageIconPadding:{...Ji,property:"padding-inline-start"},errorMessageIconRepeat:{...Ji,property:"background-repeat"},errorMessageIconPosition:{...Ji,property:"background-position"},errorMessageFontSize:{...Ji,property:"font-size"},trackBorderWidth:{...Bi,property:"border-width"},trackBorderStyle:{...Bi,property:"border-style"},trackBorderColor:{...Bi,property:"border-color"},trackBackgroundColor:{...Bi,property:"background-color"},trackBorderRadius:{...Bi,property:"border-radius"},trackWidth:[{...Bi,property:"width"}],trackHeight:[{...Pi,property:"font-size"},{...Bi,property:"height"}],knobSize:[{...Pi,property:"width"},{...Pi,property:"height"}],knobTextColor:{...Pi,property:"color"},knobRadius:{...Pi,property:"border-radius"},knobTransitionDuration:{...Pi,property:"transition"},knobColor:{...Pi,property:"background-color"},knobTopOffset:{...Pi,property:"top"},knobLeftOffset:{...Pi,property:"left"},inputOutlineWidth:{...Bi,property:"outline-width"},inputOutlineOffset:{...Bi,property:"outline-offset"},inputOutlineColor:{...Bi,property:"outline-color"},inputOutlineStyle:{...Bi,property:"outline-style"}}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,gi)(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${Mi($i.cssVarList)}\n\t\t\t${ge($i.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 0;\n width: 100%;\n }\n\n vaadin-text-field::part(input-field) {\n cursor: pointer;\n }\n\n vaadin-checkbox {\n cursor: pointer;\n }\n\n vaadin-checkbox [slot="label"]:not(:empty) {\n cursor: pointer;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::before {\n content: '';\n\t\t\t}\n\n vaadin-checkbox[active]::part(checkbox) {\n\t\t\t\ttransform: none;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::after {\n\t\t\t\tposition: absolute;\n\t\t\t\topacity: 1;\n\t\t\t\tcontent: '';\n\t\t\t}\n\t\t`,excludeAttrsSync:["label","tabindex","style"],componentName:Ri}));customElements.define(Ri,$i);const _i=qt("loader-linear");class Xi extends($e({componentName:_i,baseSelector:":host > div"})){static get componentName(){return _i}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes tilt {\n\t\t\t\t0% { transform: translateX(0); }\n\t\t\t\t50% { transform: translateX(400%); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\tdiv::after {\n\t\t\t\tcontent: '';\n\t\t\t\tanimation-name: tilt;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\twidth: 100%;\n\t\t\t}\n ",this)}}const{after:qi,host:Ki}={after:{selector:"::after"},host:{selector:()=>":host"}},to=Pt(Ze({mappings:{hostDisplay:{},hostWidth:{...Ki,property:"width"},barHeight:[{property:"height"},{...qi,property:"height"}],barBorderRadius:[{property:"border-radius"},{...qi,property:"border-radius"}],verticalPadding:[{...Ki,property:"padding-top"},{...Ki,property:"padding-bottom"}],barBackgroundColor:{property:"background-color"},barColor:{...qi,property:"background-color"},barWidth:{...qi,property:"width"},animationDuration:[{},qi],animationTimingFunction:[{},qi],animationIterationCount:[{},qi]}}),Be,Pe)(Xi);customElements.define(_i,to);const eo=qt("loader-radial");class io extends($e({componentName:eo,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes spin {\n\t\t\t\t0% { transform: rotate(0deg); }\n\t\t\t\t100% { transform: rotate(360deg); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tanimation-name: spin;\n\t\t\t}\n ",this)}}const oo=Pt(Ze({mappings:{hostDisplay:{property:"display"},spinnerSize:[{property:"width"},{property:"height"}],spinnerBorderWidth:{property:"border-width"},spinnerBorderStyle:{property:"border-style"},spinnerBorderRadius:{property:"border-radius"},spinnerQuadrant1Color:{property:"border-top-color"},spinnerQuadrant2Color:{property:"border-bottom-color"},spinnerQuadrant3Color:{property:"border-right-color"},spinnerQuadrant4Color:{property:"border-left-color"},animationDuration:{},animationTimingFunction:{},animationIterationCount:{}}}),Be,Pe)(io);customElements.define(eo,oo);const ro=qt("container");class no extends($e({componentName:ro,baseSelector:"slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host > slot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: auto;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t}\n ",this)}}const so=Pt(Ze({mappings:{hostHeight:{selector:()=>":host",property:"height"},hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},itemsGrow:{selector:()=>"::slotted(*)",property:"flex-grow",fallback:"0"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:{},flexWrap:{},backgroundColor:{},backgroundImage:{},backgroundPositionX:{},backgroundPositionY:{},backgroundSize:{},backgroundRepeat:{},color:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{}}}),Be,Pe)(no);customElements.define(ro,so);const ao=C("combo-box"),{host:lo,inputField:co,inputElement:uo,placeholder:po,toggle:ho,clearButton:go,label:Mo,requiredIndicator:mo,helperText:yo,errorMessage:bo,loader:No,overlayContent:Io}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},loader:{selector:"vaadin-combo-box-overlay::part(loader)"},overlayContent:{selector:"vaadin-combo-box-overlay::part(content)"}},xo=T(ct({mappings:{hostWidth:{...lo,property:"width"},hostDirection:{...lo,property:"direction"},fontSize:[{},lo],fontFamily:[Mo,po,co,yo,bo],labelFontSize:{...Mo,property:"font-size"},labelFontWeight:{...Mo,property:"font-weight"},inputValueFontWeight:{...co,property:"font-weight"},inputPlaceholderFontWeight:{...po,property:"font-weight"},helperTextFontWeight:{...yo,property:"font-weight"},errorMessageFontWeight:{...bo,property:"font-weight"},labelTextColor:[{...Mo,property:"color"},{...Mo,property:"-webkit-text-fill-color"},{...mo,property:"color"}],errorMessageTextColor:{...bo,property:"color"},errorMessageIcon:{...bo,property:"background-image"},errorMessageIconSize:{...bo,property:"background-size"},errorMessageIconPadding:{...bo,property:"padding-inline-start"},errorMessageIconRepeat:{...bo,property:"background-repeat"},errorMessageIconPosition:{...bo,property:"background-position"},errorMessageFontSize:{...bo,property:"font-size"},inputHeight:{...co,property:"height"},inputBackgroundColor:{...co,property:"background-color"},inputBorderColor:{...co,property:"border-color"},inputBorderWidth:{...co,property:"border-width"},inputBorderStyle:{...co,property:"border-style"},inputBorderRadius:{...co,property:"border-radius"},labelRequiredIndicator:{...mo,property:"content"},inputValueTextColor:{...co,property:"color"},inputPlaceholderTextColor:{...po,property:"color"},inputDropdownButtonCursor:[{...ho,property:"cursor"},{...go,property:"cursor"}],inputDropdownButtonColor:[{...ho,property:"color"},{...go,property:"color"}],inputDropdownButtonSize:[{...ho,property:"font-size"},{...go,property:"font-size"}],inputDropdownButtonOffset:[{...ho,property:"margin-right"},{...ho,property:"margin-left"}],inputOutlineColor:{...co,property:"outline-color"},inputOutlineWidth:{...co,property:"outline-width"},inputOutlineStyle:{...co,property:"outline-style"},inputOutlineOffset:{...co,property:"outline-offset"},inputHorizontalPadding:[{...uo,property:"padding-left"},{...uo,property:"padding-right"}],labelPosition:{...Mo,property:"position"},labelTopPosition:{...Mo,property:"top"},labelHorizontalPosition:[{...Mo,property:"left"},{...Mo,property:"right"}],inputTransformY:{...Mo,property:"transform"},inputTransition:{...Mo,property:"transition"},marginInlineStart:{...Mo,property:"margin-inline-start"},placeholderOpacity:{...po,property:"opacity"},inputVerticalAlignment:{...co,property:"align-items"},valueInputHeight:{...uo,property:"height"},valueInputMarginBottom:{...uo,property:"margin-bottom"},overlayBackground:{property:()=>xo.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>xo.cssVarList.overlay.textColor},overlayBorder:{property:()=>xo.cssVarList.overlay.border},overlayFontSize:{property:()=>xo.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>xo.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>xo.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>xo.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>xo.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>xo.cssVarList.overlay.itemPaddingInlineEnd},overlayCheckmarkDisplay:{property:()=>xo.cssVarList.overlay.checkmarkDisplay},overlaySelectedItemBackground:{property:()=>xo.cssVarList.overlay.selectedItemBackground},overlaySelectedItemHoverBackground:{property:()=>xo.cssVarList.overlay.selectedItemHoverBackground},overlaySelectedItemFocusBackground:{property:()=>xo.cssVarList.overlay.selectedItemFocusBackground},overlayItemHoverBackground:{property:()=>xo.cssVarList.overlay.itemHoverBackground},overlayItemFocusBackground:{property:()=>xo.cssVarList.overlay.itemFocusBackground}}}),ut,Et({name:"overlay",selector:"",mappings:{backgroundColor:[{selector:"vaadin-combo-box-scroller"},{selector:"vaadin-combo-box-overlay::part(overlay)"}],minHeight:{selector:"vaadin-combo-box-overlay"},margin:{selector:"vaadin-combo-box-overlay"},cursor:{selector:"vaadin-combo-box-item"},fontFamily:{selector:"vaadin-combo-box-item"},textColor:{selector:"vaadin-combo-box-item",property:"color"},fontSize:{selector:"vaadin-combo-box-item"},itemBoxShadow:{selector:"vaadin-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-combo-box-item",property:"padding-inline-end"},checkmarkDisplay:{selector:"vaadin-combo-box-item::part(checkmark)",property:"display"},selectedItemBackground:{selector:"vaadin-combo-box-item[selected]",property:"background-color"},selectedItemHoverBackground:{selector:"vaadin-combo-box-item[selected]:hover:not([disabled])",property:"background-color"},selectedItemFocusBackground:{selector:"vaadin-combo-box-item[selected][focused]:not([disabled])",property:"background-color"},itemHoverBackground:{selector:"vaadin-combo-box-item:hover:not([selected]):not([disabled])",property:"background-color"},itemFocusBackground:{selector:"vaadin-combo-box-item[focused]:not([selected]):not([disabled])",property:"background-color"},loaderTop:{...No,property:"top"},loaderLeft:{...No,property:"left"},loaderRight:{...No,property:"right"},loaderMargin:{...No,property:"margin"},loaderWidth:{...No,property:"width"},loaderHeight:{...No,property:"height"},loaderBorder:{...No,property:"border"},loaderBorderColor:{...No,property:"border-color"},loaderBorderRadius:{...No,property:"border-radius"},contentHeight:{...Io,property:"height"},contentOpacity:{...Io,property:"opacity"},scrollerMinHeight:{selector:"vaadin-combo-box-scroller",property:"min-height"}},forward:{include:!1,attributes:["size"]}}),wt({proxyProps:["selectionStart"],inputEvent:"value-changed"}),t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},pt,t=>class extends t{static get observedAttributes(){return["label-type","require-match"]}#tt=({displayName:t,value:e,label:i})=>`<span data-name="${i}" data-id="${e}">${t||i}</span>`;#W;get defaultValue(){return this.getAttribute("default-value")}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}set renderer(t){this.baseElement.renderer=t}get loading(){return"true"===this.getAttribute("loading")}set loading(t){t?this.setAttribute("loading","true"):this.removeAttribute("loading")}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}get requireMatch(){return"true"===this.getAttribute("require-match")&&!this.allowCustomValue}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){if(this.#W||this.getAttribute("data")){const t=this.getItemsTemplate();this.innerHTML=t}}get hasDynamicData(){return"true"===this.getAttribute("has-dynamic-data")}get shouldSelectItemOnItemsChange(){return!this.hasDynamicData||this.allowCustomValue}handleSelectedItem(){const{selectedItem:t}=this.baseElement,e=t?.["data-id"];t&&Array.from(this.children).includes(t)||(e&&this.shouldSelectItemOnItemsChange&&(this.value=e),this.value||this.setDefaultValue())}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){if(!e.baseElement.items?.length&&!e.allowCustomValue)return;const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#et(){const t=Array.from(this.children);t.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=t,setTimeout(()=>{this.handleSelectedItem()},0)}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#ot(){this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#rt(){this.hasDynamicData&&(this.baseElement._dataProviderFilterChanged=()=>{})}isValueMatch(){const t=this.baseElement.querySelector("input").value;return!t||this.baseElement.items.some(e=>e.dataset.name===t||e.dataset.id===t)}init(){super.init?.(),this.getValidity=function(){return this.requireMatch&&!this.isValueMatch()?{patternMismatch:!0}:!this.value&&this.isRequired?{valueMissing:!0}:{}},this.#ot(),this.#rt(),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),D(this,this.renderItems.bind(this),{includeAttrs:["data"]}),S(this,this.#et.bind(this)),this.setDefaultValue(),this.baseElement.addEventListener("value-changed",()=>{this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),this.baseElement.addEventListener("filter-changed",t=>{this.dispatchEvent(new CustomEvent("filter-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}onLabelClick(){this.isReadOnly||this.isDisabled||(this.focus(),this.autoOpenDisabled||this.setAttribute("opened","true"))}handleRequireMatchChange(t){this.baseElement.allowCustomValue=t||this.allowCustomValue}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"require-match"===t&&this.handleRequireMatchChange("true"===i))}setDefaultValue(){this.defaultValue&&(this.value=this.defaultValue)}#nt(t){return this.baseElement.items?.find(e=>e["data-id"]===t)}#st(t,e){t===this.value&&e!==this.baseElement.selectedItem&&this.baseElement.addEventListener("selected-item-changed",t=>{t.stopImmediatePropagation()},{once:!0,capture:!0})}set value(t){const e=this.#nt(t);this.#st(t,e),t&&e?this.baseElement.selectedItem=e:!e&&this.allowCustomValue?this.baseElement.value=t:this.baseElement.selectedItem=void 0}get value(){return(this.baseElement.selectedItem?.["data-id"]||this.allowCustomValue)&&this.baseElement.__data.value||""}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get autoOpenDisabled(){return"true"===this.getAttribute("auto-open-disabled")}})(vt({slots:["","prefix"],wrappedEleName:"vaadin-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${H(xo.cssVarList)}\n\t\t${_("vaadin-combo-box")}\n\t\t${$("vaadin-combo-box")}\n\t\t${J("vaadin-combo-box")}\n\n\t\tvaadin-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\tvaadin-combo-box::part(input-field) {\n\t\t\tpadding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n\n vaadin-combo-box::part(toggle-button),\n vaadin-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-combo-box[hide-toggle-button="true"]::part(toggle-button) {\n display: none;\n }\n\n vaadin-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n ${X("vaadin-combo-box")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","size","data","loading","style"],componentName:ao,includeForwardProps:["items","renderer","selectedItem"]}));customElements.define(ao,xo);const jo=t=>{const e=c.A.sanitize(t,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["image"],FORBID_TAGS:["defs"]});return(new DOMParser).parseFromString(e,"image/svg+xml").querySelector("svg")},To=C("image"),zo=["src","src-dark"];class Do extends(yt({componentName:To,baseSelector:"slot"})){static get observedAttributes(){return zo}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n :host > slot {\n width: 100%;\n height: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\n ::slotted(*) {\n width: 100%;\n\t\t\t}\n\n .hidden {\n display: none;\n }\n ",this)}init(){super.init?.(),this.toggleVisibility(this.getSrc)}onThemeChange(){this.renderImage()}toggleVisibility(t){t?this.classList.remove("hidden"):this.classList.add("hidden")}get altText(){return this.getAttribute("alt")||""}get legacySrc(){return this.getAttribute("src")}get themeSrc(){return this.getAttribute(`src-${this.currentThemeName}`)}get getSrc(){return this.themeSrc||this.legacySrc}updateFillColor(t){[t,...t.querySelectorAll("*[fill]")].forEach(t=>{t.setAttribute("fill",`var(${So.cssVarList.fill}, ${t.getAttribute("fill")||"''"})`)})}renderImage(){this.toggleVisibility(this.getSrc),(async(t,e)=>{try{let i;if((t=>t.startsWith("data:image/svg+xml;base64,"))(t)){const e=atob(t.slice(26));i=jo(e)}else if("svg"===(t=>{const e=t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);return e?e[1]:null})(t)){const e=await fetch(t),o=await e.text();i=jo(o)}else i=((t,e)=>{const i=document.createElement("img");return i.setAttribute("src",t),i.setAttribute("alt",e),i})(t,e);return i.style.setProperty("max-width","100%"),i.style.setProperty("max-height","100%"),i}catch{return null}})(this.getSrc,this.altText).then(t=>{this.innerHTML="",t&&(this.updateFillColor(t),this.appendChild(t))})}shouldRender(t){const e=this.getAttribute(t);return this.getSrc===e}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.shouldRender(t)&&this.renderImage()}}const So=T(ct({mappings:{fill:{},height:{selector:()=>":host"},width:{selector:()=>":host"}}}),ut,pt)(Do),vo=C("icon"),Lo=T(ct({mappings:{fill:[{},{property:So.cssVarList.fill}],height:{selector:()=>":host"},width:{selector:()=>":host"}}}),ut,pt)(vt({slots:[],wrappedEleName:"descope-image",style:()=>"\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n max-height: 100%;\n }\n ",excludeAttrsSync:["tabindex","class","style","st-height","st-width"],componentName:vo})),Co=C("button"),{host:Ao,label:wo,slottedIcon:fo}={host:{selector:()=>":host"},label:{selector:"::part(label)"},slottedIcon:{selector:()=>"::slotted(descope-icon)"}};let Eo;const ko=T(Wt({triggers:[{attr:"full-width",value:"true"}]}),ct({mappings:{hostWidth:{property:"width"},hostHeight:{property:"height"},hostDirection:{...Ao,property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},cursor:{},backgroundColor:{},outlineOffset:{},outlineColor:{},outlineStyle:{},outlineWidth:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-right",fallback:"0.875em"},{property:"padding-left",fallback:"0.875em"}],labelTextColor:{property:"color"},iconColor:{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill},labelTextDecoration:{...wo,property:"text-decoration"},labelSpacing:{...wo,property:"gap"},textAlign:{...wo,property:"justify-content",fallback:"center"},iconSize:[{...fo,property:"width"},{...fo,property:"height"}]}}),t=>class extends t{get isLoading(){return"true"===this.getAttribute("loading")}click(){this.isLoading||super.click()}},ut,pt)(vt({slots:["","prefix","label","suffix"],wrappedEleName:"vaadin-button",style:()=>`\n\t\t\t\n\t:host {\n\t\tdisplay: inline-block;\n\t\tbox-sizing: border-box;\n\t}\n\tvaadin-button::before,\n\tvaadin-button::after {\n\t\topacity: 0;\n\t}\n\tvaadin-button {\n\t\tmargin: 0;\n\t\tmin-width: 0;\n\t\twidth: 100%;\n\t\theight: auto;\n\t\tbox-shadow: none;\n\t}\n\tvaadin-button::part(label) {\n\t\tpadding: 0;\n width: 100%;\n\t}\n\tvaadin-button::part(prefix) {\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n\n\t\t\t\n\tvaadin-button::part(prefix),\n\tvaadin-button::part(label) {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t\t\t${Eo}\n\t\t\tvaadin-button::part(label) { pointer-events: none; }\n\t\t\t:host {\n\t\t\t\tpadding: calc(var(${ko.cssVarList.outlineWidth}) + var(${ko.cssVarList.outlineOffset}));\n\t\t\t}\n :host([full-width="true"]) {\n width: var(${ko.cssVarList.hostWidth});\n }\n\t\t\tvaadin-button {\n\t\t\t\theight: calc(var(${ko.cssVarList.hostHeight}) - var(${ko.cssVarList.outlineWidth}) - var(${ko.cssVarList.outlineOffset}));\n\t\t\t}\n\t\t\t[square="true"]:not([full-width="true"]) {\n\t\t\t\twidth: calc(var(${ko.cssVarList.hostWidth}) - var(${ko.cssVarList.outlineWidth}) - var(${ko.cssVarList.outlineOffset}));\n padding: 0;\n\t\t\t}\n\t\t`,excludeAttrsSync:["tabindex","class","style"],componentName:Co})),{color:Oo,fontSize:Vo}=ko.cssVarList;Eo=`\n\t@keyframes spin {\n\t\t0% { -webkit-transform: rotate(0deg); }\n\t\t100% { -webkit-transform: rotate(360deg); }\n\t}\n\t:host([loading="true"]) ::before {\n\t\tanimation: spin 2s linear infinite;\n\t\tposition: absolute;\n\t\tcontent: '';\n\t\tz-index: 1;\n\t\tbox-sizing: border-box;\n\t\tborder-radius: 50%;\n\t\tborder-bottom-color: transparent;\n\t\tborder-left-color: transparent;\n\t\tborder-style: solid;\n\t\tcolor: var(${Oo});\n\t\ttop: calc(50% - (var(${Vo}) / 2));\n\t\tleft: calc(50% - (var(${Vo}) / 2));\n\t\tborder-width: calc(var(${Vo}) / 10);\n\t\twidth: var(${Vo});\n\t\theight: var(${Vo});\n\t}\n\t:host([disabled="true"]),\n\t:host([loading="true"]) {\n\t\tpointer-events: none;\n\t}\n\t:host([loading="true"]) ::part(prefix),\n\t:host([loading="true"]) ::part(label) {\n\t\tvisibility: hidden;\n\t}\n`,customElements.define(Co,ko);const Wo=["MM/DD/YYYY","DD/MM/YYYY","YYYY/MM/DD"],Yo=Wo[0],Uo="YYYY-MM-DD",Ro="/",Qo=["January","February","March","April","May","June","July","August","September","October","November","December"],Zo=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Bo={id:"month",min:1,max:12,placeholder:"MM"},Po={id:"day",min:1,max:31,placeholder:"DD"},Fo={id:"year",min:0,max:9999,placeholder:"YYYY"},Go=1900,Ho=2099,Jo=(t,e)=>{if("number"==typeof t)return new Date(t);if("string"==typeof t){const e=new Date(t.replace(/-/g,"/"));return new Date(e)}return new Date},$o={MM:"(0?[1-9]|1[0-2])",DD:"(0?[1-9]|[12][0-9]|3[01])",YYYY:"([0-9]{4})"},_o=t=>{const e=(t=>`^${t.split(Ro).map(t=>$o[t]).join("\\D")}$`)(t),i=(t=>{const e=t.split(Ro);return t=>{const i={};return e.forEach((e,o)=>{i[e]=t[o+1]}),[i.YYYY,i.MM,i.DD]}})(t),o=new RegExp(e);return{pattern:e,validate:t=>o.test(t),getDate:t=>((t,e,i)=>{const o=e.exec(t);if(!o)return null;const[r,n,s]=i(o);return Jo([r,n,s].join(Ro))})(t,o,i)}},Xo=Object.fromEntries(Wo.map(t=>[t,_o(t)])),qo=t=>!Number.isNaN(Number(t)),Ko=t=>{const e=Jo(t);return[e.getFullYear(),e.getMonth()+1,e.getDate()]},tr=(t,e)=>{const[i,o,r]=Ko(t),n={DD:String(r).padStart(2,"0"),MM:String(o).padStart(2,"0"),YYYY:String(i)};return e.replace(/DD|MM|YYYY/g,t=>n[t])},er=()=>Jo().getTime(),ir=t=>Jo(t).getFullYear().toString(),or=t=>(Jo(t).getMonth()+1).toString(),rr=(t,e)=>"number"==typeof t?t:e?Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()):t.getTime(),nr=(t,e)=>Array.isArray(t)&&t.length===e&&t.filter(Boolean).length===e,sr=({label:t,dataId:e,dataName:i})=>`\n\t<div class="combo-box-item"\n\t\tdata-id="${e}"\n\t\tdata-name="${i}"\n\t>\n\t\t\t${t}\n\t</div>\n`,ar=(t=Qo)=>t.map((t,e)=>sr({label:t,dataId:e+1,dataName:t})).join(""),lr=(t,e)=>{const[i,o]=Ko(e),[r,n]=Ko(t);return r===i&&n===o},dr=(t,e,i)=>(t.addEventListener("input",e),t.addEventListener("focusout",i),t),cr=qt("calendar"),ur=["initial-value","initial-year","initial-month","years-range","calendar-months","calendar-weekdays","calendar-label-today","st-host-direction","disabled","full-width"],pr=["calendar-label-submit","calendar-label-cancel"],hr=ci({componentName:cr,baseSelector:"div"}),{calendar:gr,day:Mr,dayEntry:mr,currentDay:yr,selectedDay:br,disabledDay:Nr,weekday:Ir,topNav:xr,topNavSelectors:jr,bottomNav:Tr,navPrev:zr,navNext:Dr,navPrevRTL:Sr,navNextRTL:vr,yearInput:Lr,monthInput:Cr}={calendar:{selector:()=>".calendar"},topNav:{selector:()=>".nav.top-nav"},topNavSelectors:{selector:()=>".nav.top-nav .selectors > span"},bottomNav:{selector:()=>".nav.bottom-nav"},day:{selector:()=>".day"},dayEntry:{selector:()=>".day-entry"},currentDay:{selector:()=>".day-entry[data-current-day] .day"},selectedDay:{selector:()=>".day-entry[data-selected] .day"},disabledDay:{selector:()=>'.day-entry[data-disabled="true"] .day'},weekday:{selector:()=>".weekday"},navPrev:{selector:()=>".nav-prev"},navNext:{selector:()=>".nav-next"},navPrevRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-prev'},navNextRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-next'},yearInput:{selector:()=>".year-input"},monthInput:{selector:()=>".month-input"}},Ar=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{fontSize:{},fontFamily:{},hostWidth:[{selector:()=>":host",property:"width"},{selector:"table",property:"width"}],hostDirection:{property:"direction"},topNavVerticalPadding:[{...xr,property:"padding-top"},{...xr,property:"padding-bottom"}],topNavHorizointalPadding:[{...xr,property:"padding-right"},{...xr,property:"padding-left"}],topNavAlignment:{...xr,property:"justify-content"},topNavGap:{...xr,property:"gap"},topNavSelectorsGap:{...jr,property:"gap"},bottomNavVerticalPadding:[{...Tr,property:"padding-top"},{...Tr,property:"padding-bottom"}],bottomNavHorizontalPadding:[{...Tr,property:"padding-right"},{...Tr,property:"padding-left"}],bottomNavAlignment:{...Tr,property:"justify-content"},bottomNavGap:{...Tr,property:"gap"},navMarginBottom:{...xr,property:"margin-bottom"},calendarPadding:[{...gr,property:"padding-bottom"},{...gr,property:"padding-right"},{...gr,property:"padding-left"}],navBorderBottomWidth:{...xr,property:"border-bottom-width"},navBorderBottomColor:{...xr,property:"border-bottom-color"},navBorderBottomStyle:{...xr,property:"border-bottom-style"},weekdayFontSize:{...Ir,property:"font-size"},weekdayFontWeight:{...Ir,property:"font-weight"},currentDayBorderColor:{...yr,property:"border-color"},currentDayBorderWidth:{...yr,property:"border-width"},currentDayBorderStyle:{...yr,property:"border-style"},dayHeight:{...mr,property:"height"},daySize:[{...Mr,property:"height"},{...Mr,property:"width"}],dayPadding:{...Mr,property:"padding"},dayRadius:{...Mr,property:"border-radius"},dayTextAlign:{...Mr,property:"text-align"},dayBlockAlign:{...Mr,property:"margin"},dayTextColor:{...Mr,property:"color"},dayFontWeight:{...Mr,property:"font-weight"},dayBackgroundColor:{...Mr,property:"background-color"},dayCursor:{...Mr,property:"cursor"},dayFontSize:{...Mr,property:"font-size"},dayBackgroundColorHover:{selector:()=>".day:hover",property:"background-color"},daySelectedTextdColor:{...br,property:"color"},daySelectedBackgroundColor:{...br,property:"background-color"},dayDisabledTextdColor:{...Nr,property:"color"},yearInputWidth:{...Lr,property:"width"},monthInputWidth:{...Cr,property:"width"},navButtonSize:[{...zr,property:"width"},{...zr,property:"height"},{...Dr,property:"width"},{...Dr,property:"height"}],navButtonCursor:[{...zr,property:"cursor"},{...Dr,property:"cursor"}],navButtonRotation:[{...Sr,property:"transform"},{...vr,property:"transform"}],navButtonOpacity:[{...zr,property:"opacity"},{...Dr,property:"opacity"}]}}),Be,Pe)(class extends hr{static get observedAttributes(){return[].concat(hr.observedAttributes||[],ur,pr)}preview;epoch;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <nav class="nav top-nav">\n <div class="nav-prev">\n </div>\n <div class="selectors"></div>\n <div class="nav-next">\n </div>\n </nav>\n <div class="calendar"></div>\n <nav class="nav bottom-nav">\n <descope-button class="cancel-button" variant="link" mode="primary">Cancel</descope-button>\n <descope-button class="submit-button" variant="link" mode="primary" disabled="true">Done</descope-button>\n </nav>\n </div>\n ',f(`\n :host {\n display: inline-block;\n box-sizing: border-box;\n max-width: 100%;\n user-select: none;\n -webkit-user-select: none;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n [data-toggle-calendar] {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n }\n\n [data-disabled="true"] {\n pointer-events: none;\n }\n\n .calendar .day {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .nav {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n\n .selectors,\n .selectors span {\n display: flex;\n justify-content: center;\n }\n\n descope-button {\n padding: 0;\n ${ko.cssVarList.horizontalPadding}: 0;\n ${ko.cssVarList.verticalPadding}: 0;\n ${ko.cssVarList.outlineWidth}: 0;\n }\n\n .combo-box-item {\n display:flex;\n flex-direction: column;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n `,this)}set value(t){if(!t)return;const e=Jo(t).getTime();qo(e)&&e!==this.epoch&&(this.epoch=e,this.renderCalendar())}get value(){return this.epoch?tr(this.epoch,Uo):""}get isSelectedView(){return lr(this.preview,this.epoch)}get isTodayView(){return lr(er(),this.preview)}get monthNames(){return(t=>{const e=t?.split(",");return nr(e,12)?e:Qo})(this.getAttribute("calendar-months"))}get weekdayNames(){return(t=>{const e=t?.split?.(",");return nr(e,7)?e:Zo})(this.getAttribute("calendar-weekdays"))}get hasYearValue(){return!!this.yearInput.value}get hasMonthValue(){return!!this.monthInput.value}get yearsRange(){const t=this.getAttribute("years-range")?.split("-");if(2===t?.length){const[e,i]=t.map(Number);if(e<=i)return[e,i]}const e=Jo().getFullYear();return[e,e+100]}init(){super.init?.(),this.initCalendar(),this.renderCalendar()}initCalendar(){this.calendar=this.shadowRoot.querySelector(".calendar"),this.navPrevEle=this.shadowRoot.querySelector(".nav-prev"),this.navNextEle=this.shadowRoot.querySelector(".nav-next"),this.submitButton=this.shadowRoot.querySelector(".submit-button"),this.cancelButton=this.shadowRoot.querySelector(".cancel-button"),this.initInputs(),this.initNav(),this.addEventListener("day-changed",()=>this.submitButton.removeAttribute("disabled")),this.submitButton.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}initInputs(){const t=(()=>{const t=document.createElement("span");return t.innerHTML=`\n <descope-combo-box\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="month-input"\n >\n ${ar()}\n </descope-combo-box>\n <descope-combo-box\n allow-custom-value="true"\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="year-input"\n no-empty-value="true"\n >\n </descope-combo-box>\n `,t})(this.monthNames,this.yearsRange);this.shadowRoot.querySelector(".selectors").appendChild(t),this.monthInput=dr(this.shadowRoot.querySelector(".month-input"),this.onMonthChange.bind(this),this.onMonthInputBlur.bind(this)),this.yearInput=dr(this.shadowRoot.querySelector(".year-input"),this.onYearChange.bind(this),this.onYearInputBlur.bind(this)),[this.monthInput,this.yearInput].forEach(t=>te(this,t,{includeAttrs:["disabled","size","st-host-direction"]}))}initNav(){this.navPrevEle.addEventListener("click",this.navPrevMonth.bind(this)),this.navNextEle.addEventListener("click",this.navNextMonth.bind(this)),this.cancelButton.addEventListener("click",this.onCancel.bind(this)),this.submitButton.addEventListener("click",this.onSubmit.bind(this)),[this.navPrevEle,this.navNextEle].forEach(t=>te(this,t,{includeAttrs:["size"]})),this.shadowRoot.querySelector(".nav-next").innerHTML='\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.27283 6.78069C8.87912 6.34164 8.91587 5.66655 9.35492 5.27283C9.79397 4.87912 10.4691 4.91587 10.8628 5.35492C10.8628 5.35492 16.0022 10.9543 16.366 11.36C16.7298 11.7657 16.7298 12.2392 16.366 12.6448L10.8628 18.6451C10.4691 19.0841 9.79397 19.1209 9.35492 18.7272C8.91587 18.3334 8.87912 17.6584 9.27283 17.2193L14.1368 12L9.27283 6.78069Z" fill="#808080"/>\n</svg>',this.shadowRoot.querySelector(".nav-prev").innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.7272 17.2193C15.1209 17.6584 15.0841 18.3334 14.6451 18.7272C14.206 19.1209 13.5309 19.0841 13.1372 18.6451C13.1372 18.6451 7.99776 13.0457 7.63399 12.64C7.27023 12.2343 7.27023 11.7608 7.63399 11.3552L13.1372 5.35492C13.5309 4.91587 14.206 4.87912 14.6451 5.27283C15.0841 5.66655 15.1209 6.34164 14.7272 6.78069L9.86322 12L14.7272 17.2193Z" fill="#808080"/>\n</svg>'}onSubmit(){this.isDisabled||this.value&&this.dispatchEvent(new CustomEvent("date-submit",{detail:Jo(this.preview)}))}onCancel(){this.isDisabled||(this.dispatchEvent(new CustomEvent("cancel")),this.dispatchEvent(new CustomEvent("date-cancel")),this.clearSelectedDay())}clearSelectedDay(){this.getSelectedDayEle()?.removeAttribute("data-selected"),this.submitButton.setAttribute("disabled","true"),this.epoch=""}updateInputs(){if(this.yearInput&&this.monthInput){const t=this.preview||er(),e=ir(t),i=or(t);this.monthInput.value=i,setTimeout(()=>{this.yearInput.baseElement.value=e})}}renderCalendar(){const t=Jo(this.preview||er()).getTime(),[e,i]=Ko(t);this.calendar&&(this.calendar.innerHTML=((t,e,i)=>{const o=((t,e)=>new Date(t,e,0).getDate())(t,e),r=new Date(t,e-1,1).getDay();let n="<table>";n+=`<thead><tr>${i.reduce((t,e)=>`${t}<th><span class="weekday">${e}</span></th>`,"")}</tr></thead>`,n+="<tbody>",n+="<tr>";for(let t=0;t<r;t++)n+="<td></td>";let s=r;for(let t=1;t<=o;t++)7===s&&(s=0,n+="</tr><tr>"),n+=`\n <td\n data-date-day="${t}"\n class="day-entry">\n <span class="day" data-date-day=${t}>\n ${t}\n </span>\n </td>\n `,s++;for(;s<7;)n+="<td></td>",s++;return n+="</tr></tbody></table>",n})(e,i,this.weekdayNames.map(t=>t.substring(0,3)))),Array.from(this.calendar?.querySelectorAll(".day-entry .day")||[]).forEach(t=>t.addEventListener("click",this.onDayChange.bind(this))),this.updateInputs(),this.setSelectedDay(),this.setCurrentDay()}onDayChange(t){if(this.isDisabled)return;const e=Jo(this.preview);e.setDate(Number(t.target.getAttribute("data-date-day"))),this.value=tr(e.getTime(),Uo),this.dispatchEvent(new CustomEvent("day-changed",{detail:e}))}onYearChange(t){if(!t.target.value)return;const e=Jo(this.preview);e.setFullYear(Number(t.target.value.trim())),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("year-changed",{detail:e}))}onMonthChange(t){if(!t.target.value)return;const e=Jo(this.preview);e.setMonth(Number(t.target.value)-1),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("month-changed",{detail:e}))}onYearInputBlur(t){this.yearInput.baseElement.value=t.target.value||ir(this.preview)}onMonthInputBlur(t){this.monthInput.baseElement.value=t.target.value||or(this.preview)}getSelectedDayEle(){const t=Jo(this.epoch).getDate();return this.calendar?.querySelector(`[data-date-day="${t}"]`)}getCurrentDayEle(){return this.calendar?.querySelector(`[data-date-day="${Jo().getDate()}"]`)}clearSelectedDays(){const t=this.calendar?.querySelectorAll("[data-selected]");t&&t.forEach(t=>t.removeAttribute("data-selected"))}setSelectedDay(){this.clearSelectedDays(),this.value&&this.isSelectedView&&this.getSelectedDayEle().setAttribute("data-selected","true")}setCurrentDay(){if(this.isTodayView){const t=this.getCurrentDayEle(),e=this.getAttribute("calendar-label-today")||"Today";t?.setAttribute("data-current-day","true"),t?.setAttribute("title",e)}}navPrevMonth(){if(this.isDisabled)return;const t=(t=>{const e=Jo(t),i=e.getMonth();if(0===i){const t=e.getFullYear();e.setFullYear(t-1),e.setMonth(11)}else e.setMonth(i-1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}navNextMonth(){if(this.isDisabled)return;const t=(t=>{const e=Jo(t),i=e.getMonth();if(11===i){const t=e.getFullYear();e.setFullYear(t+1),e.setMonth(0)}else e.setMonth(i+1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}clearValue(){this.epoch="",this.value="",this.removeAttribute("preview"),this.submitButton.setAttribute("disabled","true")}onInitialValueChange(t){if(this.value)return;const e=Jo(t).getTime();qo(e)?(this.epoch=e,this.preview=e):this.clearValue()}onYearsRangeChange(){setTimeout(()=>{this.yearInput&&(this.yearInput.innerHTML=(t=>{const[e,i]=t,o=[];for(let t=e;t<=i;t++)o.push(t);return o})(this.yearsRange).map(t=>sr({label:t,dataId:t,dataName:t})).join(""))})}onMonthNamesChange(){setTimeout(()=>{this.monthInput&&(this.monthInput.innerHTML=ar(this.monthNames))})}onSubmitLabelChange(t){this.submitButton&&(this.submitButton.textContent=t||"Done")}onCancelLabelChange(t){this.cancelButton&&(this.cancelButton.textContent=t||"Cancel")}onInitialMonthChange(t){const e=ir(this.preview);this.preview=Jo(`${e}/${t}/1`).getTime()}onInitialYearChange(t){const e=or(this.preview);this.preview=Jo(`${t}/${e}/1`).getTime()}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),e!==i&&(pr.includes(t)?("calendar-label-submit"===t&&this.onSubmitLabelChange(i),"calendar-label-cancel"===t&&this.onCancelLabelChange(i)):(i&&"initial-value"===t&&this.onInitialValueChange(i),i&&"initial-month"===t&&this.onInitialMonthChange(i),i&&"initial-year"===t&&this.onInitialYearChange(i),"years-range"===t&&this.onYearsRangeChange(Number(i)),"calendar-months"===t&&this.onMonthNamesChange(),"calendar-label-today"===t&&this.setCurrentDay(i),"disabled"===t&&setTimeout(()=>{this.cancelButton?.setAttribute("disabled","true"===i)}),this.renderCalendar()))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}});customElements.define(cr,Ar);const{host:wr,label:fr,placeholder:Er,requiredIndicator:kr,inputField:Or,input:Vr,inputMask:Wr,helperText:Yr,errorMessage:Ur,disabledPlaceholder:Rr,inputDisabled:Qr,inputIcon:Zr,externalInput:Br,externalInputDisabled:Pr,externalPlaceholder:Fr,externalDisabledPlaceholder:Gr}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},placeholder:[{selector:"> input:placeholder-shown"},{selector:()=>":host::slotted(input:placeholder-shown)"}],disabledPlaceholder:{selector:"> input:disabled::placeholder"},inputField:{selector:"::part(input-field)"},input:{selector:"input"},inputMask:{selector:"::part(input-field)::before"},inputDisabled:{selector:"input:disabled"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},inputIcon:{selector:"vaadin-icon"},externalInput:{selector:()=>"::slotted(input)"},externalInputDisabled:{selector:()=>"::slotted(input:disabled)"},externalPlaceholder:{selector:()=>"::slotted(input:placeholder-shown)"},externalDisabledPlaceholder:{selector:()=>"::slotted(input:disabled::placeholder)"}};var Hr={fontSize:[{},wr],fontFamily:[fr,Or,Yr,Ur],labelFontSize:{...fr,property:"font-size"},labelFontWeight:{...fr,property:"font-weight"},inputValueFontWeight:[{...Vr,property:"font-weight"},{...Br,property:"font-weight"}],inputPlaceholderFontWeight:[{selector:()=>":host input:placeholder-shown",property:"font-weight"},{...Fr,property:"font-weight"}],helperTextFontWeight:{...Yr,property:"font-weight"},errorMessageFontWeight:{...Ur,property:"font-weight"},labelTextColor:[{...fr,property:"color"},{...kr,property:"color"},{...fr,property:"-webkit-text-fill-color"},{...kr,property:"-webkit-text-fill-color"}],hostWidth:{...wr,property:"width"},hostMinWidth:{...wr,property:"min-width"},hostDirection:{...wr,property:"direction"},inputDirection:{...Vr,property:"direction"},inputBackgroundColor:[{...Or,property:"background-color"},{...Wr,property:"background-color"}],errorMessageTextColor:{...Ur,property:"color"},errorMessageIcon:{...Ur,property:"background-image"},errorMessageIconSize:{...Ur,property:"background-size"},errorMessageIconPadding:{...Ur,property:"padding-inline-start"},errorMessageIconRepeat:{...Ur,property:"background-repeat"},errorMessageIconPosition:{...Ur,property:"background-position"},errorMessageFontSize:{...Ur,property:"font-size"},helperTextColor:{...Yr,property:"-webkit-text-fill-color"},inputValueTextColor:[{...Or,property:"color"},{...Qr,property:"-webkit-text-fill-color"},{...Pr,property:"-webkit-text-fill-color"}],inputCaretTextColor:[{...Vr,property:"caret-color"},{...Br,property:"caret-color"}],labelRequiredIndicator:{...kr,property:"content"},inputBorderColor:{...Or,property:"border-color"},inputBorderWidth:{...Or,property:"border-width"},inputBorderStyle:{...Or,property:"border-style"},inputBorderRadius:{...Or,property:"border-radius"},inputHeight:{...Or,property:"height"},inputHorizontalPadding:[{...Vr,property:"padding-left"},{...Vr,property:"padding-right"},{...Br,property:"padding-left"},{...Br,property:"padding-right"}],inputOutlineColor:{...Or,property:"outline-color"},inputOutlineStyle:{...Or,property:"outline-style"},inputOutlineWidth:{...Or,property:"outline-width"},inputOutlineOffset:{...Or,property:"outline-offset"},textAlign:{},inputTextAlign:[{...Vr,property:"text-align"},{...Br,property:"text-align"}],inputPlaceholderColor:[{selector:()=>":host input:placeholder-shown",property:"color"},{...Fr,property:"color"},{...Er,property:"color"},{...Rr,property:"-webkit-text-fill-color"},{...Gr,property:"-webkit-text-fill-color"}],labelPosition:{...fr,property:"position"},labelTopPosition:{...fr,property:"top"},labelHorizontalPosition:[{...fr,property:"left"},{...fr,property:"right"}],inputTransformY:{...fr,property:"transform"},inputTransition:{...fr,property:"transition"},marginInlineStart:{...fr,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...Fr,property:"opacity"}],inputVerticalAlignment:[{...Or,property:"align-items"},{...Br,property:"align-items"}],valueInputHeight:[{...Vr,property:"height"},{...Br,property:"height"}],valueInputMarginBottom:[{...Vr,property:"margin-bottom"},{...Br,property:"margin-bottom"}],inputIconOffset:[{...Zr,property:"margin-right"},{...Zr,property:"margin-left"}],inputIconSize:{...Zr,property:"font-size"},inputIconColor:{...Zr,property:"color"},inputTextSecurity:[{...Vr,property:"-webkit-text-security"},{...Vr,property:"text-security"},{...Br,property:"-webkit-text-security"},{...Br,property:"text-security"}]};const Jr=qt("text-field"),$r=["type","label-type","copy-to-clipboard"],_r=Pt(Ze({mappings:Hr}),Be,ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Pe,t=>class extends t{static get observedAttributes(){return $r.concat(t.observedAttributes||[])}icon;init(){super.init?.()}renderCopyToClipboard(t){if(!t)return void this.icon?.remove();const e={icon:"vaadin:copy-o",title:"Copy",style:"cursor: pointer"},i={icon:"vaadin:check-circle-o",title:"Copied",style:"cursor: initial"};this.icon=Object.assign(document.createElement("vaadin-icon"),{slot:"suffix",...e}),this.baseElement.appendChild(this.icon),this.icon.addEventListener("click",()=>{navigator.clipboard.writeText(this.value),Object.assign(this.icon,i),setTimeout(()=>{Object.assign(this.icon,e)},5e3)})}onLabelClick(){this.focus()}attributeChangedCallback(t,e,i){super.attributeChangeCallback?.(t,e,i),"type"===t&&this.baseElement._setType(i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"copy-to-clipboard"===t&&this.renderCopyToClipboard("true"===i))}})(Xe({slots:["prefix","suffix"],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${_r.cssVarList.inputOutlineWidth}) + var(${_r.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n :host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {\n opacity: 1;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n ${xe("vaadin-text-field")}\n\t\t\t${ge(_r.cssVarList)}\n\t\t\t${Ie("vaadin-text-field",_r.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-text-field vaadin-icon {\n align-self: center;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Jr}));customElements.define(Jr,_r);class Xr{#W=Object.freeze([]);constructor({id:t,min:e,max:i,placeholder:o},r){this.id=t,this.min=e,this.max=i,this.placeholder=o,this.onChange=r}get data(){return this.#W}set data(t){this.#W=Object.freeze(t),this.onChange?.()}get#at(){return this.data.length?this.numberValue:0}get numberValue(){return Number(this.stringValue)}get stringValue(){return(this.data.join("")||this.placeholder).padStart(this.length,"0")}get isFull(){return 10*this.numberValue>this.max||this.data.length===this.length}get isEmpty(){return this.stringValue===this.placeholder}get length(){return this.max.toString().length}set(t){this.data=t.toString().split("")}add(t){let{data:e}=this;return e=[...e,t],Number(e.join(""))>this.max?e=[t]:this.length<e.length&&(e=e.slice(1,e.length)),this.data=e,t}del(){this.data.filter(t=>"0"!==t).filter(Boolean).length?this.data=this.data.slice(0,this.data.length-1):this.data=[]}clear(){this.data=[]}inc(t){this.replaceValue(this.#at<this.max?Math.max(this.#at+(t||1),this.min):this.min)}dec(t){this.replaceValue(this.#at>this.min?Math.min(this.#at-(t||1),this.max):this.max)}isInRange(t){return t>=this.min&&t<=this.max}replaceValue(t){this.isInRange(t)&&(this.data=t.toString().padStart(this.length,0).split(""))}setMin(t){this.min=Number(t)}setMax(t){this.max=Number(t)}}const qr=qt("date-field"),Kr=ci({componentName:qr,baseSelector:"vaadin-popover"}),tn=["format","opened","initial-value","readonly","disable-calendar","utc-time"],en=["years-range","calendar-months","calendar-weekdays"],on=[...tn,...en],rn=_r.cssVarList,{host:nn,input:sn,inputEleRTL:an,toggleButton:ln,overlay:dn,backdrop:cn}={host:{selector:()=>":host"},input:{selector:()=>"descope-text-field"},inputEleRTL:{selector:()=>':host([st-host-direction="rtl"]) descope-text-field'},toggleButton:{selector:()=>".toggle-calendar"},overlay:{selector:"vaadin-popover-overlay::part(overlay)"},backdrop:{selector:"vaadin-popover-overlay::part(backdrop)"}},un=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{iconMargin:{...ln,property:"margin-inline-end"},hostWidth:{...nn,property:"width"},hostDirection:{...nn,property:"direction"},textAlign:{...sn,property:"text-align"},rtlInputDirection:{...an,property:rn.inputDirection},rtlInputAlignment:{...an,property:rn.inputTextAlign},overlayGap:{property:()=>un.cssVarList.overlayGap},overlayBackgroundColor:{property:()=>un.cssVarList.overlayBackgroundColor},overlayPadding:{property:()=>un.cssVarList.overlayPadding},overlayBoxShadow:{property:()=>un.overlayBoxShadow},overlayOutlineWidth:{property:()=>un.cssVarList.overlayOutlineWidth},overlayOutlineColor:{property:()=>un.cssVarList.overlayOutlineColor},overlayOutlineStyle:{property:()=>un.cssVarList.overlayOutlineStyle},errorMessageIcon:{selector:_r.componentName,property:_r.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconSize},errorMessageIconPadding:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconPadding},errorMessageIconRepeat:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconRepeat},errorMessageIconPosition:{selector:_r.componentName,property:_r.cssVarList.errorMessageIconPosition},errorMessageFontSize:{selector:_r.componentName,property:_r.cssVarList.errorMessageFontSize},labelFontWeight:{selector:_r.componentName,property:_r.cssVarList.labelFontWeight},inputValueFontWeight:{selector:_r.componentName,property:_r.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{selector:_r.componentName,property:_r.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{selector:_r.componentName,property:_r.cssVarList.helperTextFontWeight},errorMessageFontWeight:{selector:_r.componentName,property:_r.cssVarList.errorMessageFontWeight}}}),ni({name:"overlay",selector:"",mappings:{marginTop:{...dn,property:"margin-top"},backgroundColor:{...dn},backdropBackgroundColor:{...cn,property:"background-color"},backdropPointerEvents:{...cn,property:"pointer-events"},padding:{...dn},boxShadow:{...dn},outlineWidth:{...dn},outlineColor:{...dn},outlineStyle:{...dn}}}),Be,Pe)(class extends Kr{epoch="";format=Yo;selectedCounterIdx=0;updateCountersDisplay(){this.inputElement.value=this.countersValue}updateValue(){if(this.isCountersOutOfRange)this.resetEpoch();else{const t=Xo[this.format].getDate(this.inputElement.value);this.updateEpoch(rr(t,this.isUtcTime))}}onDateCounterChange=()=>{this.updateCountersDisplay(),this.updateValue(),this.#lt()};updateEpoch(t){this.epoch=rr(t,this.isUtcTime)}dateCounters=[new Xr(Bo,this.onDateCounterChange.bind(this)),new Xr(Po,this.onDateCounterChange.bind(this)),new Xr(Fo,this.onDateCounterChange.bind(this))];static get observedAttributes(){return[].concat(Kr.observedAttributes||[],on)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <descope-text-field inputmode="numeric">\n <span slot="suffix" class="toggle-calendar">\n \n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M9 5H15V4.50468C15 4.21404 15.226 4 15.5047 4H16.4953C16.786 4 17 4.22595 17 4.50468V5H18.7568C19.3028 5 19.75 5.44725 19.75 5.99896V7.00104C19.75 7.55734 19.3053 8 18.7568 8H5.24317C4.69717 8 4.25 7.55275 4.25 7.00104V5.99896C4.25 5.44266 4.69466 5 5.24317 5H7V4.50468C7 4.21404 7.22596 4 7.50468 4H8.49532C8.78596 4 9 4.22595 9 4.50468V5ZM5.50468 9H6.49532C6.78596 9 7 9.22596 7 9.50468V10.4953C7 10.786 6.77404 11 6.49532 11H5.50468C5.21404 11 5 10.774 5 10.4953V9.50468C5 9.21404 5.22595 9 5.50468 9ZM8.50468 9H9.49532C9.78596 9 10 9.22596 10 9.50468V10.4953C10 10.786 9.77404 11 9.49532 11H8.50468C8.21404 11 8 10.774 8 10.4953V9.50468C8 9.21404 8.22596 9 8.50468 9ZM11.5047 9H12.4953C12.786 9 13 9.22596 13 9.50468V10.4953C13 10.786 12.774 11 12.4953 11H11.5047C11.214 11 11 10.774 11 10.4953V9.50468C11 9.21404 11.226 9 11.5047 9ZM5.50468 12H6.49532C6.78596 12 7 12.226 7 12.5047V13.4953C7 13.786 6.77404 14 6.49532 14H5.50468C5.21404 14 5 13.774 5 13.4953V12.5047C5 12.214 5.22595 12 5.50468 12ZM8.50468 12H9.49532C9.78596 12 10 12.226 10 12.5047V13.4953C10 13.786 9.77404 14 9.49532 14H8.50468C8.21404 14 8 13.774 8 13.4953V12.5047C8 12.214 8.22596 12 8.50468 12ZM11.5047 12H12.4953C12.786 12 13 12.226 13 12.5047V13.4953C13 13.786 12.774 14 12.4953 14H11.5047C11.214 14 11 13.774 11 13.4953V12.5047C11 12.214 11.226 12 11.5047 12ZM5.50468 15H6.49532C6.78596 15 7 15.226 7 15.5047V16.4953C7 16.786 6.77404 17 6.49532 17H5.50468C5.21404 17 5 16.774 5 16.4953V15.5047C5 15.214 5.22595 15 5.50468 15ZM8.50468 15H9.49532C9.78596 15 10 15.226 10 15.5047V16.4953C10 16.786 9.77404 17 9.49532 17H8.50468C8.21404 17 8 16.774 8 16.4953V15.5047C8 15.214 8.22596 15 8.50468 15ZM11.5047 15H12.4953C12.786 15 13 15.226 13 15.5047V16.4953C13 16.786 12.774 17 12.4953 17H11.5047C11.214 17 11 16.774 11 16.4953V15.5047C11 15.214 11.226 15 11.5047 15ZM14.5047 9H15.4953C15.786 9 16 9.22596 16 9.50468V10.4953C16 10.786 15.774 11 15.4953 11H14.5047C14.214 11 14 10.774 14 10.4953V9.50468C14 9.21404 14.226 9 14.5047 9ZM14.5047 12H15.4953C15.786 12 16 12.226 16 12.5047V13.4953C16 13.786 15.774 14 15.4953 14H14.5047C14.214 14 14 13.774 14 13.4953V12.5047C14 12.214 14.226 12 14.5047 12ZM14.5047 15H15.4953C15.786 15 16 15.226 16 15.5047V16.4953C16 16.786 15.774 17 15.4953 17H14.5047C14.214 17 14 16.774 14 16.4953V15.5047C14 15.214 14.226 15 14.5047 15ZM17.5047 15H18.4953C18.786 15 19 15.226 19 15.5047V16.4953C19 16.786 18.774 17 18.4953 17H17.5047C17.214 17 17 16.774 17 16.4953V15.5047C17 15.214 17.226 15 17.5047 15ZM5.50468 18H6.49532C6.78596 18 7 18.226 7 18.5047V19.4953C7 19.786 6.77404 20 6.49532 20H5.50468C5.21404 20 5 19.774 5 19.4953V18.5047C5 18.214 5.22595 18 5.50468 18ZM8.50468 18H9.49532C9.78596 18 10 18.226 10 18.5047V19.4953C10 19.786 9.77404 20 9.49532 20H8.50468C8.21404 20 8 19.774 8 19.4953V18.5047C8 18.214 8.22596 18 8.50468 18ZM11.5047 18H12.4953C12.786 18 13 18.226 13 18.5047V19.4953C13 19.786 12.774 20 12.4953 20H11.5047C11.214 20 11 19.774 11 19.4953V18.5047C11 18.214 11.226 18 11.5047 18ZM14.5047 18H15.4953C15.786 18 16 18.226 16 18.5047V19.4953C16 19.786 15.774 20 15.4953 20H14.5047C14.214 20 14 19.774 14 19.4953V18.5047C14 18.214 14.226 18 14.5047 18ZM17.5047 18H18.4953C18.786 18 19 18.226 19 18.5047V19.4953C19 19.786 18.774 20 18.4953 20H17.5047C17.214 20 17 19.774 17 19.4953V18.5047C17 18.214 17.226 18 17.5047 18ZM17.5047 12H18.4953C18.786 12 19 12.226 19 12.5047V13.4953C19 13.786 18.774 14 18.4953 14H17.5047C17.214 14 17 13.774 17 13.4953V12.5047C17 12.214 17.226 12 17.5047 12ZM17.5047 9H18.4953C18.786 9 19 9.22596 19 9.50468V10.4953C19 10.786 18.774 11 18.4953 11H17.5047C17.214 11 17 10.774 17 10.4953V9.50468C17 9.21404 17.226 9 17.5047 9Z" fill="#808080"/>\n</svg>\n\n </span>\n </descope-text-field>\n <vaadin-popover></vaadin-popover>\n </div>\n ',f('\n :host {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n max-width: 100%;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n .toggle-calendar {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n height: 100%;\n align-items: center;\n }\n\n :host([readonly="true"]) .toggle-calendar {\n pointer-events: none;\n }\n\n .hidden {\n display: none;\n }\n ',this),this.inputElement=this.shadowRoot.querySelector("descope-text-field"),this.popoverToggleButton=this.inputElement.querySelector(".toggle-calendar")}get validationTarget(){return this.inputElement}get opened(){return"true"===this.getAttribute("opened")}get displayValueEpoch(){const t=Xo[this.format].getDate(this.inputElement.value);return qo(t?.getTime())?t.getTime():null}get sortedCounters(){return this.format.split(Ro).map(t=>this.dateCounters.find(e=>e.placeholder===t))}get activeCounter(){return this.sortedCounters[this.selectedCounterIdx]}get countersValue(){return this.sortedCounters.map(t=>t.stringValue).join(Ro)}get overlay(){return this.baseElement.shadowRoot?.querySelector("vaadin-popover-overlay")}get backdrop(){return this.overlay.shadowRoot?.querySelector("#backdrop")}get calendar(){return this.overlay?.querySelector("descope-calendar")}get isRTL(){const t=getComputedStyle(this.baseElement).getPropertyValue("direction");return t?"rtl"===t:"rtl"===this.getAttribute("st-host-direction")}get value(){return this.isInvalidDate()?"":this.epoch}set value(t){const e=parseInt(t,10);Number.isNaN(e)?(this.resetEpoch(),this.resetDateCounters(),this.clearInputEle()):(this.updateEpoch(e),this.updateDateCounters(new Date(e)))}resetEpoch(){this.epoch=""}get isCountersEmpty(){return this.dateCounters.every(t=>t.isEmpty)}get isCountersOutOfRange(){return this.dateCounters.some(t=>!t.isInRange(t.numberValue))}get disableCalendar(){return"true"===this.getAttribute("disable-calendar")}get isUtcTime(){return"true"===this.getAttribute("utc-time")}get isSelectAll(){const t=this.inputElement.baseElement.inputElement;return t.value.length===t.selectionStart+t.selectionEnd}reportValidity(){this.inputElement.reportValidity()}#lt(){this.inputElement.baseElement.dispatchEvent(new Event("input",{bubbles:!0}))}updateInputDisplay(){this.inputElement.value=tr(Jo(this.countersValue).getTime(),this.format)}init(){super.init?.(),this.updateFormatPattern(),this.initPopover(),this.onDateCounterChange(),this.initInputElement(),setTimeout(()=>{this.#it()},0)}initInputElement(){this.inputElement.getValidity=this.getValidity.bind(this),this.inputElement.baseElement.checkValidity=this.checkValidity.bind(this),this.popoverToggleButton.addEventListener("click",this.onPopoverToggle.bind(this)),this.inputElement.addEventListener("focus",this.onFocus.bind(this)),this.inputElement.addEventListener("blur",this.onBlur.bind(this)),this.inputElement.addEventListener("click",this.handleMouseCaretPositionChange.bind(this)),this.inputElement.addEventListener("keydown",this.handleKeyboard.bind(this)),this.inputElement.addEventListener("beforeinput",this.handleInput.bind(this)),this.inputElement.addEventListener("pointerdown",this.onPointerDown.bind(this)),this.inputElement.addEventListener("paste",this.onPaste.bind(this)),te(this,this.inputElement,{includeAttrs:["label","label-type","placeholder","disabled","readonly","bordered","required","full-width","st-host-direction","pattern","bordered","data-errormessage-value-missing","data-errormessage-pattern-mismatch","data-errormessage-range-underflow","data-errormessage-range-overflow","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]})}handleInput(t){var e;t.preventDefault(),this.handleSelectAll(),t.data&&(e=t.data,String(e||"").trim()&&!Number.isNaN(Number(e)))?(this.parseDigits(t.data),this.updateCountersDisplay()):t.inputType&&this.handleNavKeys(t)}initPopover(){this.baseElement.trigger=["click"],this.baseElement.withBackdrop=!0,this.baseElement.renderer=this.#dt.bind(this),this.baseElement.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation()})}handleSelectAll(){this.isSelectAll&&this.selectFirstCounter()}#ct;#dt(t){t.firstChild||(this.overlay.positionTarget=this.shadowRoot.querySelector(".toggle-calendar"),t.appendChild(this.#ut()),(t=>{const e=new CSSStyleSheet;e.insertRule(":host{display:block!important;}"),t?.shadowRoot?.adoptedStyleSheets?.push(e)})(this.baseElement),this.backdrop.addEventListener("click",this.closePopover.bind(this))),t.style.setProperty("visibility","hidden"),setTimeout(()=>{this.#pt(t),t.style.setProperty("visibility","visible"),this.updateCalendarView(t)},100)}#pt(){const t=this.shadowRoot.querySelector("vaadin-popover").shadowRoot;this.#ct?.replaceSync("vaadin-popover-overlay::part(overlay) { transform: none; }");const e=document.body.getBoundingClientRect(),i=this.getBoundingClientRect(),o=this.calendar.getBoundingClientRect(),r=this.isRTL?"right":"left",n=i[r]-o[r],s=o.left,a=e.width-o.right;let l;l=n>0?Math.min(n,a):-1*Math.min(Math.abs(n),s);const d=`\n vaadin-popover-overlay::part(overlay) {\n transform: translateX(${l}px);\n }\n `;this.#ct?this.#ct.replaceSync(d):this.#ct=f(d,t)}#ut(){const t=document.createElement("span");t.innerHTML="<descope-calendar></descope-calendar>";const e=t.querySelector("descope-calendar");return e.addEventListener("date-submit",this.onCalendarSubmit.bind(this)),e.addEventListener("cancel",this.closePopover.bind(this)),t}#it(){this.overlay._attachOverlay=()=>this.overlay.bringToFront(),this.overlay._detachOverlay=()=>{},this.overlay._enterModalState=()=>{}}onPopoverToggle(){this.opened?this.closePopover():this.openPopover()}openPopover(){this.disableCalendar||this.setAttribute("opened","true")}closePopover(){this.removeAttribute("opened"),this.inputElement.focus()}getCounterById(t){return this.dateCounters.find(e=>e.id===t)}onCalendarSubmit(){if(!this.isReadOnly){if(!this.calendar.value)return;const t=Jo(this.calendar.value);this.value=rr(t,this.isUtcTime),this.getCounterById("year").replaceValue(t.getFullYear()),this.getCounterById("month").replaceValue(t.getMonth()+1),this.getCounterById("day").replaceValue(t.getDate()),this.#lt()}this.closePopover()}updateCalendarView(){const t=qo(Jo(this.inputElement.value||"").getTime())&&Xo[this.format].validate(this.inputElement.value);this.displayValueEpoch||t?this.calendar.setAttribute("initial-value",tr(this.displayValueEpoch||this.epoch,Uo)):(this.calendar.clearValue(),this.calendar.setAttribute("preview",tr(er(),Uo))),te(this,this.calendar,{includeAttrs:["st-host-direction","readonly","initial-month","initial-year","years-range","calendar-label-submit","calendar-label-cancel","calendar-months","calendar-weekdays","calendar-weekdays-short"]})}onPointerDown(t){setTimeout(()=>this.handleMouseCaretPositionChange(t),150)}onFocus(){this.isReadOnly||setTimeout(()=>this.resetDisplay())}resetDisplay(){this.inputElement.value||(this.inputElement.value=this.format),this.selectFirstCounter(),this.inputElement.setSelectionRange(0,this.sortedCounters[0].length)}onBlur(){this.opened||this.inputElement.value===this.format&&this.clearInputEle()}clearInputEle(){this.inputElement.value=""}onFormatUpdate(t){Object.keys(Xo).includes(t)&&(this.format=t,this.updateFormatPattern())}updateFormatPattern(){const t=this.getAttribute("format")||this.format||Yo;this.setAttribute("type","date"),this.setAttribute("pattern",Xo[t].pattern)}parseDigits(t){this.activeCounter.add(t),this.activeCounter.isFull&&this.selectNextCounter(),this.setInputSelectionRange()}getCounterIdx(t){const[e,i]=this.sortedCounters.map(t=>t.length);return[t<=e,t>=e&&t<=e+i+1,t>=e+i+2].indexOf(!0)}setSelectedCounterByCaretPosition(t){this.selectedCounterIdx=this.getCounterIdx(t.target?.selectionStart||this.inputElement.selectionStart)}selectFirstCounter(){this.selectedCounterIdx=0}selectNextCounter(){this.selectedCounterIdx<this.dateCounters.length&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx+1,2))}selectPrevCounter(){this.selectedCounterIdx>0&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx-1,1))}setInputSelectionRange(){this.selectedCounterIdx<0||setTimeout(()=>{const t=this.sortedCounters.slice(0,this.selectedCounterIdx).reduce((t,e)=>t+e.length,this.selectedCounterIdx);this.inputElement.setSelectionRange(t,t+this.sortedCounters[this.selectedCounterIdx].length)})}resetDateCounters(){this.dateCounters.forEach(t=>t.clear())}updateDateCounters(t){this.dateCounters.forEach(e=>{switch(e.id){case Bo.id:e.set(this.isUtcTime?t.getUTCMonth()+1:t.getMonth()+1);break;case Fo.id:e.set(this.isUtcTime?t.getUTCFullYear():t.getFullYear());break;case Po.id:e.set(this.isUtcTime?t.getUTCDate():t.getDate())}})}handleKeyboard(t){t.metaKey||t.ctrlKey?"x"===t.key.toLowerCase()&&this.onCut(t):(this.handleSelectAll(),"ArrowUp"===t.key?this.activeCounter.inc():"ArrowDown"===t.key?this.activeCounter.dec():"ArrowRight"===t.key?this.selectNextCounter():"ArrowLeft"===t.key&&this.selectPrevCounter(),this.setInputSelectionRange())}handleNavKeys(t){this.isReadOnly||(this.opened&&this.closePopover(),this.activeCounter&&("deleteContentBackward"===t.inputType&&this.handleBackspace(),this.setInputSelectionRange()))}handleBackspace(){if(this.isSelectAll)return void this.resetToInitialState();const t=this.activeCounter;t.isEmpty?(this.selectPrevCounter(),this.setInputSelectionRange()):t.set(""),setTimeout(()=>{this.updateCountersDisplay(),this.setInputSelectionRange()})}handleMouseCaretPositionChange(t){this.opened||(t.preventDefault(),this.setSelectedCounterByCaretPosition(t),this.setInputSelectionRange())}onInitialValueChange(t){this.value||setTimeout(()=>{Number.isNaN(parseInt(t,10))||(this.value=Number(t))})}togglePopoverAccess(t){t?this.popoverToggleButton.classList.remove("hidden"):this.popoverToggleButton.classList.add("hidden")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("disable-calendar"===t&&this.togglePopoverAccess("true"!==i),tn.includes(t)?(i&&"format"===t&&this.onFormatUpdate(i),"initial-value"===t&&this.onInitialValueChange(i)):en.includes(t)&&(i?this.calendar?.setAttribute(t,i):this.calendar?.removeAttribute(t)))}isInvalidDate(){const t=this.getCounterById("year"),e=t.numberValue>Ho||t.numberValue<Go,i=Object.entries(this.getDateVals()).some(([t,e])=>{const i=this.getCounterById(t);return!e||i.numberValue!==e});return e||i}getValidity(){return this.isRequired&&this.isCountersEmpty?{valueMissing:!0}:this.isCountersOutOfRange||this.isInvalidDate()?{patternMismatch:!0}:{}}getDateVals(){const t={day:"",month:"",year:""};if(Number.isNaN(this.epoch))return t;try{const e=new Date(this.epoch);this.isUtcTime?(t.month=e.getUTCMonth()+1,t.day=e.getUTCDate(),t.year=e.getUTCFullYear()):(t.month=e.getMonth()+1,t.day=e.getDate(),t.year=e.getFullYear())}catch(t){}return t}resetToInitialState(){this.resetDateCounters(),this.selectFirstCounter(),this.resetDisplay()}onCut(t){t.preventDefault(),this.isSelectAll?(this.#ht(this.countersValue),this.resetToInitialState()):(this.#ht(this.activeCounter.stringValue),this.activeCounter.set("")),this.setInputSelectionRange()}#ht(t){try{navigator.clipboard.writeText(t)}catch(t){console.error("Failed to copy date value:",t)}}onPaste(t){t.preventDefault();const e=(t.clipboardData||window.clipboardData).getData("Text"),i=((t,e)=>{const i=t.trim?.();return i?Xo[e].getDate(i):null})(e,this.format);if(i)this.value=rr(i,this.isUtcTime),this.onDateCounterChange(),setTimeout(()=>this.inputElement.setSelectionRange(0,this.inputElement.value.length));else{const t=Number(e);t&&this.activeCounter.min<=t&&this.activeCounter.max>=t&&(this.activeCounter.set(String(t)),setTimeout(()=>this.setInputSelectionRange()))}}});customElements.define(qr,un);const pn=qt("divider");class hn extends($e({componentName:pn,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div>\n\t\t\t\t<descope-text>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</descope-text>\n\t\t\t</div>\n\t\t",f("\n \t:host {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t\t:host > div::before,\n\t\t\t\t:host > div::after {\n\t\t\t\t\tcontent: '';\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t\tdescope-text {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t\tflex-shrink: 0;\n\t\t\t\t}\n\t\t\t\t:host(:empty) descope-text {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t:host([vertical=\"true\"]) div {\n\t\t\t\t\twidth: fit-content;\n\t\t\t\t}\n ",this),this.textComponent=this.shadowRoot.querySelector("descope-text"),te(this,this.textComponent,{includeAttrs:["mode","variant","italic"]})}}const gn=Ci.cssVarList,{host:Mn,before:mn,after:yn,text:bn}={host:{selector:()=>":host"},before:{selector:"::before"},after:{selector:"::after"},text:{selector:"descope-text"}},Nn=Pt(Ze({mappings:{hostWidth:{...Mn,property:"width"},hostPadding:{...Mn,property:"padding"},hostDirection:{...bn,property:"direction"},minHeight:{},alignItems:{},alignSelf:{},flexDirection:{},textAlign:{...bn,property:gn.textAlign},labelTextWidth:{...bn,property:"width"},labelTextMaxWidth:{...bn,property:"max-width"},labelTextVerticalSpacing:[{...bn,property:"padding-top"},{...bn,property:"padding-bottom"}],labelTextHorizontalSpacing:[{...bn,property:"padding-right"},{...bn,property:"padding-left"}],stripeColor:[{...mn,property:"background-color"},{...yn,property:"background-color"}],stripeHorizontalThickness:[{...mn,property:"height"},{...yn,property:"height"}],stripeVerticalThickness:[{...mn,property:"width"},{...yn,property:"width"}],stripeColorOpacity:[{...mn,property:"opacity"},{...yn,property:"opacity"}]}}),Be,Pe)(hn);customElements.define(pn,Nn);const In=qt("email-field"),xn=Pt(Ze({mappings:Hr}),Be,li({inputType:"email",inputName:"email",autocompleteType:"username",includeAttrs:["disabled","readonly","pattern"]}),ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Pe,t=>class extends t{init(){super.init?.(),this.baseElement.setAttribute("pattern","^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$"),this.getAttribute("autocomplete")||this.setAttribute("autocomplete","username"),this.createExternalInput()}})(Xe({slots:["","suffix"],wrappedEleName:"vaadin-email-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${xn.cssVarList.inputOutlineWidth}) + var(${xn.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n ${xe("vaadin-email-field")}\n\t\t\t${ge(xn.cssVarList)}\n\t\t\t${Ie("vaadin-email-field",xn.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-email-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-email-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n :host ::slotted(*) {\n -webkit-mask-image: none;\n }\n\n vaadin-email-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:In}));customElements.define(In,xn);const jn=({componentName:t,varName:e,fallbackVarName:i})=>{let o;class r extends($e({componentName:t,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div></div>\n\t\t\t",f(`\n\t\t\t\t:host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t\tmargin: auto;\n\t\t\t\t\t${o}\n\t\t\t\t}\n `,this)}}const n=Pt(Ze({mappings:{height:{selector:()=>":host > div"},width:{selector:()=>":host > div"},[e]:{property:"content"},[i]:{property:"content"}}}),Be,Pe)(r);return o=`content: var(${n.cssVarList[e]}, var(${n.cssVarList[i]}));`,n},Tn=qt("logo"),zn=jn({componentName:Tn,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Tn,zn);const Dn=qt("totp-image"),Sn=jn({componentName:Dn,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Dn,Sn);const vn=qt("notp-image"),Ln=jn({componentName:vn,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(vn,Ln);const Cn=qt("number-field"),An=Pt(Ze({mappings:Hr}),Be,ri({proxyProps:["value","selectionStart"]}),Pe)(Xe({slots:["","prefix","suffix"],wrappedEleName:"vaadin-number-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${An.cssVarList.inputOutlineWidth}) + var(${An.cssVarList.inputOutlineOffset}));\n\t\t\t}\n ${xe("vaadin-number-field")}\n\t\t\t${ge(An.cssVarList)}\n\t\t\t${Ie("vaadin-number-field",An.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-number-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-number-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Cn}));customElements.define(Cn,An);const wn="--descope-input-mask-content",fn="--descope-input-mask-display",En="--descope-input-mask-fallback",kn=t=>{t?.focus(),t?.setSelectionRange?.(1,1)},On=t=>t.replace(/\D/g,"")||"",Vn=(t,e)=>{e?(t.style.setProperty(wn,`"${e}"`),t.style.setProperty(fn,"flex")):(t.style.removeProperty(wn),t.style.removeProperty(fn))},Wn=qt("passcode-internal"),Yn=["digits","loading"],Un=["disabled","bordered","size","invalid","readonly","aria-labelledby"],Rn=ci({componentName:Wn,baseSelector:"div"}),Qn=qt("passcode"),Zn=["digits"],{host:Bn,digitField:Pn,label:Fn,requiredIndicator:Gn,internalWrapper:Hn,focusedDigitField:Jn,errorMessage:$n}={host:{selector:()=>":host"},focusedDigitField:{selector:()=>`${_r.componentName}[focused="true"]`},digitField:{selector:()=>_r.componentName},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:"descope-passcode-internal .wrapper"},errorMessage:{selector:"::part(error-message)"}},_n=_r.cssVarList,Xn=oo.cssVarList,qn=Pt(Ze({mappings:{fontSize:[{...Pn,property:_n.fontSize},Bn],hostWidth:{property:"width"},hostDirection:{...Bn,property:"direction"},fontFamily:[Bn,{...Fn}],labelFontWeight:{...Fn,property:"font-weight"},errorMessageFontWeight:{...$n,property:"font-weight"},digitValueFontWeight:{selector:_r.componentName,property:_n.inputValueFontWeight},labelTextColor:[{...Fn,property:"color"},{...Fn,property:"-webkit-text-fill-color"},{...Gn,property:"color"},{...Gn,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...Gn,property:"content"},errorMessageTextColor:{...$n,property:"color"},errorMessageIcon:{...$n,property:"background-image"},errorMessageIconSize:{...$n,property:"background-size"},errorMessageIconPadding:{...$n,property:"padding-inline-start"},errorMessageIconRepeat:{...$n,property:"background-repeat"},errorMessageIconPosition:{...$n,property:"background-position"},errorMessageFontSize:{...$n,property:"font-size"},digitValueTextColor:{selector:_r.componentName,property:_n.inputValueTextColor},digitSize:[{...Pn,property:"height"},{...Pn,property:"width"}],digitPadding:{...Pn,property:_n.inputHorizontalPadding},digitTextAlign:{...Pn,property:_n.inputTextAlign},digitCaretTextColor:{...Pn,property:_n.inputCaretTextColor},digitSpacing:{...Hn,property:"gap"},digitOutlineColor:{...Pn,property:_n.inputOutlineColor},digitOutlineWidth:{...Pn,property:_n.inputOutlineWidth},focusedDigitFieldOutlineColor:{...Jn,property:_n.inputOutlineColor},overlayOpacity:{...Hn,property:"opacity"},spinnerSize:{selector:oo.componentName,property:Xn.spinnerSize}}}),Be,di,ri({proxyProps:["value","selectionStart"]}),Pe,t=>class extends t{static get observedAttributes(){return Zn.concat(t.observedAttributes||[])}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}init(){super.init?.(),f("\n .wrapper {\n display: flex;\n width: 100%;\n justify-content: space-between;\n direction: ltr;\n position: relative;\n }\n\n descope-text-field {\n direction: ltr;\n }\n\n .loader-container {\n display: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n ",this);const t=document.createElement("template");t.innerHTML=`\n <${Wn}\n bordered="true"\n name="code"\n tabindex="-1"\n slot="input"\n role="textbox"\n ><slot></slot></${Wn}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Wn),te(this,this.inputElement,{includeAttrs:["digits","size","loading","disabled"]})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"digits"===t&&(this.style["--passcode-digits-count"]=i)}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: calc(var(--passcode-digits-count) * 2em);\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n :host([loading="true"]) descope-passcode-internal .loader-container {\n display: block;\n }\n\n\t\t\tdescope-passcode-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal .wrapper {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tmin-height: initial;\n\t\t\t\theight: 100%;\n\t\t\t\tjustify-content: space-between;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal descope-text-field {\n\t\t\t\tmin-width: 2em;\n\t\t\t\tmax-width: var(${_n.inputHeight});\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n /* safari */\n\t\t\tvaadin-text-field::part(input-field)::after {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${xe("vaadin-text-field")}\n\t\t\t${ye("vaadin-text-field")}\n \t`,excludeAttrsSync:["tabindex","style"],componentName:Qn}));customElements.define(Wn,class extends Rn{static get observedAttributes(){return Yn.concat(Rn.observedAttributes||[])}constructor(){super(),this.innerHTML='\n\t\t<div class="wrapper"></div>\n\t\t<div class="loader-container">\n <descope-loader-radial size="xs" mode="primary"></descope-loader-radial>\n </div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper"),this.loaderContainer=this.querySelector(".loader-container")}renderInputs(){const t=[...Array(this.digits).keys()].map(t=>`\n\t\t<descope-text-field\n\t\t\tdata-id=${t}\n\t\t\ttype="tel"\n\t\t\tautocomplete="one-time-code"\n\t\t\tinputMode="numeric"\n\t\t></descope-text-field>\n\t`);this.wrapperEle.innerHTML=t.join(""),this.inputs=Array.from(this.querySelectorAll("descope-text-field")),this.initInputs()}handleLoadingState(t){t?this.setAttribute("inert","true"):this.removeAttribute("inert")}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}get value(){return this.inputs?.map(({value:t})=>t).join("")||""}set value(t){t!==this.value&&this.parseInputValue(this.inputs[0],On(t))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:this.pattern&&!new RegExp(this.pattern).test(this.value)?{patternMismatch:!0}:{}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[0].focus()}),super.init?.(),this.renderInputs()}getInputIdx(t){return Number.parseInt(t.getAttribute("data-id"),10)}getNextInput(t){const e=this.getInputIdx(t),i=Math.min(e+1,this.inputs.length-1);return this.inputs[i]}getPrevInput(t){const e=this.getInputIdx(t),i=Math.max(e-1,0);return this.inputs[i]}fillDigits(t,e){for(let i=0;i<t.length;i+=1){e.value=t[i]??"";const o=this.getNextInput(e);if(o===e)break;e=o}kn(e)}parseInputValue(t,e=""){const i=e.split("");i.length?this.fillDigits(i,t):t.value=""}initInputs(){this.inputs.forEach(t=>{f(`\n vaadin-text-field::part(input-field)::before {\n ${En}: '';\n content: var(${wn}, var(${En}));\n position: absolute;\n width: 100%;\n height: 100%;\n display: var(${fn}, none);\n align-items: center;\n justify-content: center;\n }`,t);const e=n()(e=>{this.parseInputValue(t,e),Vn(t)},0,{trailing:!0});t.addEventListener("input",i=>{t.value=On(t.value),t.value&&Vn(t,t.value[0]),setTimeout(()=>{"deleteContentBackward"===i?.inputType&&kn(this.getPrevInput(t))}),e(t.value)}),t.onkeydown=({key:e})=>{"Backspace"===e?t.value?t.setSelectionRange(1,1):setTimeout(()=>kn(this.getPrevInput(t)),0):1===e.length&&(t.value="")},te(this,t,{includeAttrs:Un}),t.shadowRoot.querySelector("input").setAttribute("aria-label","passcode digit")}),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&Yn.includes(t)&&("digits"===t&&this.renderInputs(),"loading"===t&&this.handleLoadingState("true"===i))}get pattern(){return`^$|^\\d{${this.digits},}$`}}),customElements.define(Qn,qn);const Kn=qt("password"),{host:ts,inputField:es,inputElement:is,inputElementPlaceholder:os,revealButtonContainer:rs,revealButtonIcon:ns,label:ss,requiredIndicator:as,errorMessage:ls,helperText:ds}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"> input"},inputElementPlaceholder:{selector:()=>":host input:placeholder-shown"},revealButtonContainer:{selector:"::part(reveal-button)"},revealButtonIcon:{selector:"::part(reveal-button)::before"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},cs=Pt(Ze({mappings:{hostWidth:{...ts,property:"width"},hostMinWidth:{...ts,property:"min-width"},hostDirection:{...ts,property:"direction"},fontSize:[{},ts],fontFamily:[ss,es,ls,ds],inputHeight:{...es,property:"height"},inputHorizontalPadding:[{...is,property:"padding-left"},{...is,property:"padding-right"}],inputBackgroundColor:{...es,property:"background-color"},inputBorderStyle:{...es,property:"border-style"},inputBorderWidth:{...es,property:"border-width"},inputBorderColor:{...es,property:"border-color"},inputBorderRadius:{...es,property:"border-radius"},inputOutlineColor:{...es,property:"outline-color"},inputOutlineStyle:{...es,property:"outline-style"},inputOutlineOffset:{...es,property:"outline-offset"},inputOutlineWidth:{...es,property:"outline-width"},labelFontSize:{...ss,property:"font-size"},labelFontWeight:{...ss,property:"font-weight"},inputValueFontWeight:[{...is,property:"font-weight"},{selector:()=>":host ::slotted(input)",property:"font-weight"}],inputPlaceholderFontWeight:[{...os,property:"font-weight"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"font-weight"}],helperTextFontWeight:{...ds,property:"font-weight"},errorMessageFontWeight:{...ls,property:"font-weight"},labelTextColor:[{...ss,property:"color"},{...ss,property:"-webkit-text-fill-color"},{...as,property:"color"},{...as,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...as,property:"content"},errorMessageTextColor:{...ls,property:"color"},errorMessageIcon:{...ls,property:"background-image"},errorMessageIconSize:{...ls,property:"background-size"},errorMessageIconPadding:{...ls,property:"padding-inline-start"},errorMessageIconRepeat:{...ls,property:"background-repeat"},errorMessageIconPosition:{...ls,property:"background-position"},errorMessageFontSize:{...ls,property:"font-size"},inputPlaceholderTextColor:[{...os,property:"color"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"color"}],inputValueTextColor:[{...is,property:"color"},{selector:()=>":host ::slotted(input)",property:"color"}],revealButtonOffset:[{...rs,property:"margin-right"},{...rs,property:"margin-left"}],revealButtonSize:{...rs,property:"font-size"},revealButtonColor:{...ns,property:"color"},labelPosition:{...ss,property:"position"},labelTopPosition:{...ss,property:"top"},labelHorizontalPosition:[{...ss,property:"left"},{...ss,property:"right"}],inputTransformY:{...ss,property:"transform"},inputTransition:{...ss,property:"transition"},marginInlineStart:{...ss,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...is,property:"opacity"}],inputVerticalAlignment:{...es,property:"align-items"},valueInputHeight:{...is,property:"height"}}}),Be,li({inputType:"password",inputName:"password",includeAttrs:["disabled","readonly","pattern","type","autocomplete"],noBlurDispatch:!0}),ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Pe,t=>class extends t{get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}init(){super.init?.();const t=this.querySelector("input");t?.addEventListener("mousedown",e=>{if(this.isDraggable&&this.isReadOnly){t.setAttribute("inert","true");const i=e.target,o=i.getAttribute("type");i.setAttribute("type","text"),setTimeout(()=>{i.focus()});const r=e=>{i.setAttribute("type",o),t.removeAttribute("inert"),this.removeEventListener("mouseup",r),this.removeEventListener("dragend",r)};this.addEventListener("dragend",r,{once:!0}),this.addEventListener("mouseup",r,{once:!0})}})}},t=>class extends t{static get observedAttributes(){return["manual-visibility-toggle"]}get manualToggleVisibility(){return"true"===this.getAttribute("manual-visibility-toggle")}init(){super.init?.(),this.handleCaretOnVisibilityChange(),this.origSetPasswordVisible=this.baseElement._setPasswordVisible,this.origSetFocused=this.baseElement._setFocused,this.baseElement._setFocused=this.setFocus.bind(this),this.initExternalInput()}initExternalInput(){const t=this.createExternalInput();t&&this.handlePasswordVisibility(t)}get caretPosition(){return this.value?.length||0}handleCaretOnVisibilityChange(){const t=this.baseElement._togglePasswordVisibility.bind(this.baseElement);this.baseElement._togglePasswordVisibility=()=>{setTimeout(()=>(t(),this.inputElement.setSelectionRange(this.caretPosition,this.caretPosition),!1))}}setFocus(t){this.manualToggleVisibility&&(this.baseElement._setPasswordVisible=()=>{}),this.origSetFocused.call(this.baseElement,t),this.baseElement._setPasswordVisible=this.origSetPasswordVisible.bind(this.baseElement)}resetPasswordVisibilityToggle(){this.baseElement._setPasswordVisible=this.origSetPasswordVisible,this.baseElement._setFocused=this.origSetFocus}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i)}handlePasswordVisibility(t){const e=this.baseElement.__boundRevealButtonMouseDown;this.baseElement.querySelector("vaadin-password-field-button").removeEventListener("mousedown",e),this.baseElement._passwordVisibleChanged=()=>{},this.baseElement._togglePasswordVisibility=()=>{"password"===t.getAttribute("type")?this.showPasswordVisibility(t):this.hidePasswordVisibility(t)}}showPasswordVisibility(t){t.setAttribute("type","text"),this.setAttribute("password-visible","true")}hidePasswordVisibility(t){t.setAttribute("type","password"),this.setAttribute("password-visible","false")}})(Xe({slots:["","suffix"],wrappedEleName:"vaadin-password-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 10em;\n box-sizing: border-box;\n position: relative;\n\t\t\t}\n\t\t\t${ge(cs.cssVarList)}\n\t\t\t${ye("vaadin-password-field")}\n ${xe("vaadin-password-field")}\n\n\t\t\tvaadin-password-field {\n\t\t\t\twidth: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field > input {\n -webkit-mask-image: none;\n\t\t\t\tbox-sizing: border-box;\n opacity: 1;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field) {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n :host ::slotted(input) {\n\t\t\t\tmin-height: 0;\n }\n :host([readonly]) ::slotted(input:placeholder-shown) {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field::before {\n\t\t\t\theight: initial;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field)::after {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field-button {\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t:host([readonly]) vaadin-password-field-button {\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t\tvaadin-password-field-button[focus-ring] {\n\t\t\t\tbox-shadow: 0 0 0 2px var(${cs.cssVarList.inputOutlineColor});\n\t\t\t}\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n ::part(reveal-button) {\n align-self: center;\n }\n\n vaadin-password-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Kn}));customElements.define(Kn,cs);const us=qt("text-area"),{host:ps,label:hs,placeholder:gs,inputField:Ms,textArea:ms,requiredIndicator:ys,helperText:bs,errorMessage:Ns}={host:{selector:()=>":host"},label:{selector:"::part(label)"},placeholder:{selector:"textarea:placeholder-shown"},inputField:{selector:"::part(input-field)"},textArea:{selector:"> textarea"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Is=Pt(Ze({mappings:{hostWidth:{...ps,property:"width"},hostMinWidth:{...ps,property:"min-width"},hostDirection:{...ps,property:"direction"},fontSize:[ps,ms],fontFamily:[hs,Ms,bs,Ns],labelFontSize:{...hs,property:"font-size"},labelFontWeight:{...hs,property:"font-weight"},inputValueFontWeight:{...ms,property:"font-weight"},inputPlaceholderFontWeight:{...gs,property:"font-weight"},helperTextFontWeight:{...bs,property:"font-weight"},errorMessageFontWeight:{...Ns,property:"font-weight"},labelTextColor:[{...hs,property:"color"},{...hs,property:"-webkit-text-fill-color"},{...ys,property:"color"}],labelRequiredIndicator:{...ys,property:"content"},errorMessageTextColor:{...Ns,property:"color"},errorMessageIcon:{...Ns,property:"background-image"},errorMessageIconSize:{...Ns,property:"background-size"},errorMessageIconPadding:{...Ns,property:"padding-inline-start"},errorMessageIconRepeat:{...Ns,property:"background-repeat"},errorMessageIconPosition:{...Ns,property:"background-position"},errorMessageFontSize:{...Ns,property:"font-size"},inputBackgroundColor:{...Ms,property:"background-color"},inputValueTextColor:{...ms,property:"color"},inputPlaceholderTextColor:{...gs,property:"color"},inputBorderWidth:{...Ms,property:"border-width"},inputBorderStyle:{...Ms,property:"border-style"},inputBorderColor:{...Ms,property:"border-color"},inputBorderRadius:{...Ms,property:"border-radius"},inputOutlineStyle:{...Ms,property:"outline-Style"},inputOutlineColor:{...Ms,property:"outline-color"},inputOutlineOffset:{...Ms,property:"outline-offset"},inputOutlineWidth:{...Ms,property:"outline-width"},inputResizeType:{...ms,property:"resize"},inputMinHeight:{...ms,property:"min-height"},inputTextAlign:{...ms,property:"text-align"}}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe)(Xe({slots:[],wrappedEleName:"vaadin-text-area",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n box-sizing: border-box;\n\t\t\t}\n\t\t\ttextarea {\n\t\t\t\theight: 100%;\n\t\t\t}\n ${xe("vaadin-text-area")}\n\t\t\t${ge(Is.cssVarList)}\n\t\t\t${Me("vaadin-text-area")}\n\t\t\t${me("vaadin-text-area")}\n\t\t\t${be("vaadin-text-area","textarea")}\n\t\t\t${ye("vaadin-text-area")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:us}));customElements.define(us,Is);var xs=[{name:"United States",dialCode:"+1",code:"US"},...[{name:"Afghanistan",dialCode:"+93",code:"AF"},{name:"Aland Islands",dialCode:"+358",code:"AX"},{name:"Albania",dialCode:"+355",code:"AL"},{name:"Algeria",dialCode:"+213",code:"DZ"},{name:"AmericanSamoa",dialCode:"+1684",code:"AS"},{name:"Andorra",dialCode:"+376",code:"AD"},{name:"Angola",dialCode:"+244",code:"AO"},{name:"Anguilla",dialCode:"+1264",code:"AI"},{name:"Antarctica",dialCode:"+672",code:"AQ"},{name:"Antigua and Barbuda",dialCode:"+1268",code:"AG"},{name:"Argentina",dialCode:"+54",code:"AR"},{name:"Armenia",dialCode:"+374",code:"AM"},{name:"Aruba",dialCode:"+297",code:"AW"},{name:"Australia",dialCode:"+61",code:"AU"},{name:"Austria",dialCode:"+43",code:"AT"},{name:"Azerbaijan",dialCode:"+994",code:"AZ"},{name:"Bahamas",dialCode:"+1242",code:"BS"},{name:"Bahrain",dialCode:"+973",code:"BH"},{name:"Bangladesh",dialCode:"+880",code:"BD"},{name:"Barbados",dialCode:"+1246",code:"BB"},{name:"Belarus",dialCode:"+375",code:"BY"},{name:"Belgium",dialCode:"+32",code:"BE"},{name:"Belize",dialCode:"+501",code:"BZ"},{name:"Benin",dialCode:"+229",code:"BJ"},{name:"Bermuda",dialCode:"+1441",code:"BM"},{name:"Bhutan",dialCode:"+975",code:"BT"},{name:"Bolivia, Plurinational State of",dialCode:"+591",code:"BO"},{name:"Bosnia and Herzegovina",dialCode:"+387",code:"BA"},{name:"Botswana",dialCode:"+267",code:"BW"},{name:"Brazil",dialCode:"+55",code:"BR"},{name:"British Indian Ocean Territory",dialCode:"+246",code:"IO"},{name:"Brunei Darussalam",dialCode:"+673",code:"BN"},{name:"Bulgaria",dialCode:"+359",code:"BG"},{name:"Burkina Faso",dialCode:"+226",code:"BF"},{name:"Burundi",dialCode:"+257",code:"BI"},{name:"Cambodia",dialCode:"+855",code:"KH"},{name:"Cameroon",dialCode:"+237",code:"CM"},{name:"Canada",dialCode:"+1",code:"CA"},{name:"Cape Verde",dialCode:"+238",code:"CV"},{name:"Cayman Islands",dialCode:"+345",code:"KY"},{name:"Central African Republic",dialCode:"+236",code:"CF"},{name:"Chad",dialCode:"+235",code:"TD"},{name:"Chile",dialCode:"+56",code:"CL"},{name:"China",dialCode:"+86",code:"CN"},{name:"Christmas Island",dialCode:"+61",code:"CX"},{name:"Cocos (Keeling) Islands",dialCode:"+61",code:"CC"},{name:"Colombia",dialCode:"+57",code:"CO"},{name:"Comoros",dialCode:"+269",code:"KM"},{name:"Congo",dialCode:"+242",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dialCode:"+243",code:"CD"},{name:"Cook Islands",dialCode:"+682",code:"CK"},{name:"Costa Rica",dialCode:"+506",code:"CR"},{name:"Cote d'Ivoire",dialCode:"+225",code:"CI"},{name:"Croatia",dialCode:"+385",code:"HR"},{name:"Cuba",dialCode:"+53",code:"CU"},{name:"Cyprus",dialCode:"+357",code:"CY"},{name:"Czech Republic",dialCode:"+420",code:"CZ"},{name:"Denmark",dialCode:"+45",code:"DK"},{name:"Djibouti",dialCode:"+253",code:"DJ"},{name:"Dominica",dialCode:"+1767",code:"DM"},{name:"Dominican Republic",dialCode:"+1849",code:"DO"},{name:"Ecuador",dialCode:"+593",code:"EC"},{name:"Egypt",dialCode:"+20",code:"EG"},{name:"El Salvador",dialCode:"+503",code:"SV"},{name:"Equatorial Guinea",dialCode:"+240",code:"GQ"},{name:"Eritrea",dialCode:"+291",code:"ER"},{name:"Estonia",dialCode:"+372",code:"EE"},{name:"Ethiopia",dialCode:"+251",code:"ET"},{name:"Falkland Islands (Malvinas)",dialCode:"+500",code:"FK"},{name:"Faroe Islands",dialCode:"+298",code:"FO"},{name:"Fiji",dialCode:"+679",code:"FJ"},{name:"Finland",dialCode:"+358",code:"FI"},{name:"France",dialCode:"+33",code:"FR"},{name:"French Guiana",dialCode:"+594",code:"GF"},{name:"French Polynesia",dialCode:"+689",code:"PF"},{name:"Gabon",dialCode:"+241",code:"GA"},{name:"Gambia",dialCode:"+220",code:"GM"},{name:"Georgia",dialCode:"+995",code:"GE"},{name:"Germany",dialCode:"+49",code:"DE"},{name:"Ghana",dialCode:"+233",code:"GH"},{name:"Gibraltar",dialCode:"+350",code:"GI"},{name:"Greece",dialCode:"+30",code:"GR"},{name:"Greenland",dialCode:"+299",code:"GL"},{name:"Grenada",dialCode:"+1473",code:"GD"},{name:"Guadeloupe",dialCode:"+590",code:"GP"},{name:"Guam",dialCode:"+1671",code:"GU"},{name:"Guatemala",dialCode:"+502",code:"GT"},{name:"Guernsey",dialCode:"+44",code:"GG"},{name:"Guinea",dialCode:"+224",code:"GN"},{name:"Guinea-Bissau",dialCode:"+245",code:"GW"},{name:"Guyana",dialCode:"+592",code:"GY"},{name:"Haiti",dialCode:"+509",code:"HT"},{name:"Holy See (Vatican City State)",dialCode:"+379",code:"VA"},{name:"Honduras",dialCode:"+504",code:"HN"},{name:"Hong Kong",dialCode:"+852",code:"HK"},{name:"Hungary",dialCode:"+36",code:"HU"},{name:"Iceland",dialCode:"+354",code:"IS"},{name:"India",dialCode:"+91",code:"IN"},{name:"Indonesia",dialCode:"+62",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dialCode:"+98",code:"IR"},{name:"Iraq",dialCode:"+964",code:"IQ"},{name:"Ireland",dialCode:"+353",code:"IE"},{name:"Isle of Man",dialCode:"+44",code:"IM"},{name:"Israel",dialCode:"+972",code:"IL"},{name:"Italy",dialCode:"+39",code:"IT"},{name:"Jamaica",dialCode:"+1876",code:"JM"},{name:"Japan",dialCode:"+81",code:"JP"},{name:"Jersey",dialCode:"+44",code:"JE"},{name:"Jordan",dialCode:"+962",code:"JO"},{name:"Kazakhstan",dialCode:"+77",code:"KZ"},{name:"Kenya",dialCode:"+254",code:"KE"},{name:"Kiribati",dialCode:"+686",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dialCode:"+850",code:"KP"},{name:"Korea, Republic of South Korea",dialCode:"+82",code:"KR"},{name:"Kuwait",dialCode:"+965",code:"KW"},{name:"Kyrgyzstan",dialCode:"+996",code:"KG"},{name:"Laos",dialCode:"+856",code:"LA"},{name:"Latvia",dialCode:"+371",code:"LV"},{name:"Lebanon",dialCode:"+961",code:"LB"},{name:"Lesotho",dialCode:"+266",code:"LS"},{name:"Liberia",dialCode:"+231",code:"LR"},{name:"Libyan Arab Jamahiriya",dialCode:"+218",code:"LY"},{name:"Liechtenstein",dialCode:"+423",code:"LI"},{name:"Lithuania",dialCode:"+370",code:"LT"},{name:"Luxembourg",dialCode:"+352",code:"LU"},{name:"Macao",dialCode:"+853",code:"MO"},{name:"Macedonia",dialCode:"+389",code:"MK"},{name:"Madagascar",dialCode:"+261",code:"MG"},{name:"Malawi",dialCode:"+265",code:"MW"},{name:"Malaysia",dialCode:"+60",code:"MY"},{name:"Maldives",dialCode:"+960",code:"MV"},{name:"Mali",dialCode:"+223",code:"ML"},{name:"Malta",dialCode:"+356",code:"MT"},{name:"Marshall Islands",dialCode:"+692",code:"MH"},{name:"Martinique",dialCode:"+596",code:"MQ"},{name:"Mauritania",dialCode:"+222",code:"MR"},{name:"Mauritius",dialCode:"+230",code:"MU"},{name:"Mayotte",dialCode:"+262",code:"YT"},{name:"Mexico",dialCode:"+52",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dialCode:"+691",code:"FM"},{name:"Moldova",dialCode:"+373",code:"MD"},{name:"Monaco",dialCode:"+377",code:"MC"},{name:"Mongolia",dialCode:"+976",code:"MN"},{name:"Montenegro",dialCode:"+382",code:"ME"},{name:"Montserrat",dialCode:"+1664",code:"MS"},{name:"Morocco",dialCode:"+212",code:"MA"},{name:"Mozambique",dialCode:"+258",code:"MZ"},{name:"Myanmar",dialCode:"+95",code:"MM"},{name:"Namibia",dialCode:"+264",code:"NA"},{name:"Nauru",dialCode:"+674",code:"NR"},{name:"Nepal",dialCode:"+977",code:"NP"},{name:"Netherlands",dialCode:"+31",code:"NL"},{name:"Netherlands Antilles",dialCode:"+599",code:"AN"},{name:"New Caledonia",dialCode:"+687",code:"NC"},{name:"New Zealand",dialCode:"+64",code:"NZ"},{name:"Nicaragua",dialCode:"+505",code:"NI"},{name:"Niger",dialCode:"+227",code:"NE"},{name:"Nigeria",dialCode:"+234",code:"NG"},{name:"Niue",dialCode:"+683",code:"NU"},{name:"Norfolk Island",dialCode:"+672",code:"NF"},{name:"Northern Mariana Islands",dialCode:"+1670",code:"MP"},{name:"Norway",dialCode:"+47",code:"NO"},{name:"Oman",dialCode:"+968",code:"OM"},{name:"Pakistan",dialCode:"+92",code:"PK"},{name:"Palau",dialCode:"+680",code:"PW"},{name:"Palestinian Territory, Occupied",dialCode:"+970",code:"PS"},{name:"Panama",dialCode:"+507",code:"PA"},{name:"Papua New Guinea",dialCode:"+675",code:"PG"},{name:"Paraguay",dialCode:"+595",code:"PY"},{name:"Peru",dialCode:"+51",code:"PE"},{name:"Philippines",dialCode:"+63",code:"PH"},{name:"Pitcairn",dialCode:"+872",code:"PN"},{name:"Poland",dialCode:"+48",code:"PL"},{name:"Portugal",dialCode:"+351",code:"PT"},{name:"Qatar",dialCode:"+974",code:"QA"},{name:"Romania",dialCode:"+40",code:"RO"},{name:"Russia",dialCode:"+7",code:"RU"},{name:"Rwanda",dialCode:"+250",code:"RW"},{name:"Reunion",dialCode:"+262",code:"RE"},{name:"Saint Barthelemy",dialCode:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dialCode:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dialCode:"+1869",code:"KN"},{name:"Saint Lucia",dialCode:"+1758",code:"LC"},{name:"Saint Martin",dialCode:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dialCode:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dialCode:"+1784",code:"VC"},{name:"Samoa",dialCode:"+685",code:"WS"},{name:"San Marino",dialCode:"+378",code:"SM"},{name:"Sao Tome and Principe",dialCode:"+239",code:"ST"},{name:"Saudi Arabia",dialCode:"+966",code:"SA"},{name:"Senegal",dialCode:"+221",code:"SN"},{name:"Serbia",dialCode:"+381",code:"RS"},{name:"Seychelles",dialCode:"+248",code:"SC"},{name:"Sierra Leone",dialCode:"+232",code:"SL"},{name:"Singapore",dialCode:"+65",code:"SG"},{name:"Slovakia",dialCode:"+421",code:"SK"},{name:"Slovenia",dialCode:"+386",code:"SI"},{name:"Solomon Islands",dialCode:"+677",code:"SB"},{name:"Somalia",dialCode:"+252",code:"SO"},{name:"South Africa",dialCode:"+27",code:"ZA"},{name:"South Sudan",dialCode:"+211",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dialCode:"+500",code:"GS"},{name:"Spain",dialCode:"+34",code:"ES"},{name:"Sri Lanka",dialCode:"+94",code:"LK"},{name:"Sudan",dialCode:"+249",code:"SD"},{name:"Suriname",dialCode:"+597",code:"SR"},{name:"Svalbard and Jan Mayen",dialCode:"+47",code:"SJ"},{name:"Swaziland",dialCode:"+268",code:"SZ"},{name:"Sweden",dialCode:"+46",code:"SE"},{name:"Switzerland",dialCode:"+41",code:"CH"},{name:"Syrian Arab Republic",dialCode:"+963",code:"SY"},{name:"Taiwan",dialCode:"+886",code:"TW"},{name:"Tajikistan",dialCode:"+992",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dialCode:"+255",code:"TZ"},{name:"Thailand",dialCode:"+66",code:"TH"},{name:"Timor-Leste",dialCode:"+670",code:"TL"},{name:"Togo",dialCode:"+228",code:"TG"},{name:"Tokelau",dialCode:"+690",code:"TK"},{name:"Tonga",dialCode:"+676",code:"TO"},{name:"Trinidad and Tobago",dialCode:"+1868",code:"TT"},{name:"Tunisia",dialCode:"+216",code:"TN"},{name:"Turkey",dialCode:"+90",code:"TR"},{name:"Turkmenistan",dialCode:"+993",code:"TM"},{name:"Turks and Caicos Islands",dialCode:"+1649",code:"TC"},{name:"Tuvalu",dialCode:"+688",code:"TV"},{name:"Uganda",dialCode:"+256",code:"UG"},{name:"Ukraine",dialCode:"+380",code:"UA"},{name:"United Arab Emirates",dialCode:"+971",code:"AE"},{name:"United Kingdom",dialCode:"+44",code:"GB"},{name:"Uruguay",dialCode:"+598",code:"UY"},{name:"Uzbekistan",dialCode:"+998",code:"UZ"},{name:"Vanuatu",dialCode:"+678",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dialCode:"+58",code:"VE"},{name:"Vietnam",dialCode:"+84",code:"VN"},{name:"Virgin Islands, British",dialCode:"+1284",code:"VG"},{name:"Virgin Islands, U.S.",dialCode:"+1340",code:"VI"},{name:"Wallis and Futuna",dialCode:"+681",code:"WF"},{name:"Yemen",dialCode:"+967",code:"YE"},{name:"Zambia",dialCode:"+260",code:"ZM"},{name:"Zimbabwe",dialCode:"+263",code:"ZW"}].sort((t,e)=>t.name<e.name?-1:1)];const js=({code:t,dialCode:e,name:i})=>`\n\t<div\n\t\tdata-id="${e}"\n\t\tdata-name="${t} ${e} ${i}"\n\t\tdata-country-code="${t}"\n\t>\n\t\t<div>\n\t\t\t<span>\n\t\t\t\t<img src="${(t=>`https://static.descope.com/npm/svg-country-flags@1.2.10/svg/${t.toLowerCase()}.svg`)(t)}" width="20"/>\n\t\t\t</span>\n\t\t\t<span>${i}</span>\n\t\t</div>\n\t\t<div>\n\t\t\t<span>${t}</span>\n\t\t\t<span>${e}</span>\n\t\t</div>\n\t</div>\n`,Ts=qt("phone-field-internal"),zs=["disabled","size","bordered","readonly"],Ds=["country-input-placeholder","default-code","restrict-countries"],Ss=["phone-input-placeholder","maxlength","autocomplete","name","phone-input-type"],vs=["label-type","country-input-label","label"],Ls={"country-input-label":"label","country-input-placeholder":"placeholder","phone-input-placeholder":"placeholder","phone-input-type":"type"},Cs=[].concat(zs,Ds,Ss,vs),As=ci({componentName:Ts,baseSelector:"div"});customElements.define(Ts,class extends As{static get observedAttributes(){return[].concat(As.observedAttributes||[],Cs)}#gt;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n >\n ${xs.map(t=>js(t)).join("")}\n </descope-combo-box>\n <div class="separator"></div>\n <descope-text-field type="tel"></descope-text-field>\n </div>\n `,this.comboBox=this.querySelector("descope-combo-box"),this.textField=this.querySelector("descope-text-field"),this.inputs=[this.comboBox,this.textField],te(this,this.comboBox,{includeAttrs:["label-type"]}),te(this,this.textField,{includeAttrs:["label-type","required","phone-input-type"],mapAttrs:{"phone-input-type":"type"}}),this.comboBox.customValueTransformFn=t=>{const[,e]=t?.split?.(" ")||[];return e}}get countryCodeInputData(){return this.comboBox.items}get countryCodeValue(){return this.comboBox.shadowRoot.querySelector("input").value}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get defaultCode(){return this.getAttribute("default-code")}get selectionStart(){return this.textField.selectionStart}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get selectedCountryCode(){return this.comboBox?.selectedItem?.getAttribute("data-country-code")}get restrictCountries(){const t=this.getAttribute("restrict-countries");return t?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){return this.comboBox.value&&this.textField.value?this.allowAlphanumericInput?`${this.comboBox.value}-${this.textField.value}`:`${this.comboBox.value}-${this.textField.value.replace(/\D+/g,"")}`:""}#Mt(){this.comboBox.selectedItem=void 0,this.textField.value=""}set value(t){if(!t||!/\d/.test(t))return void this.#Mt();t.startsWith("+")||(t=`+${t}`);let e="",i="";if(t.includes("-")){const o=t.indexOf("-");e=t.slice(0,o),i=t.slice(o+1).replace(/\D+/g,"")}else{const o=(0,u.l)(t);o?.countryCallingCode&&(e=`+${o.countryCallingCode}`,i=t.slice(e.length).replace(/\D+/g,""))}if(!/\d/.test(e))return void this.#Mt();const o=xs.filter(t=>t.dialCode===e).map(t=>t.code),r=this.selectedCountryCode;if(!o.includes(r)){const t=this.comboBox.items?.find(t=>o.includes(t.getAttribute("data-country-code")));t&&(this.comboBox.selectedItem=t)}this.isFormatValue?this.textField.value=this.#mt(i):this.textField.value=i}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[1].focus()}),super.init?.(),this.#yt()}getValidity(){const t=this.comboBox.value,e=this.textField.value,i=!t||!e,o=e&&e.length>=this.minLength;if(this.isRequired&&i)return{valueMissing:!0};if(this.value){if(!o)return{tooShort:!0};if(this.isStrictValidation&&!this.#bt())return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i){if("default-code"===t&&i&&!this.selectedCountryCode)this.#Nt(i);else if(Cs.includes(t)){const e=Ls[t]||t;zs.includes(t)?i?this.inputs.forEach(t=>t.setAttribute(e,i)):this.inputs.forEach(t=>t.removeAttribute(e)):Ds.includes(t)?this.comboBox.setAttribute(e,i):Ss.includes(t)&&this.textField.setAttribute(e,i)}vs.includes(t)&&this.#It(t,i),"restrict-countries"===t&&this.#xt(this.restrictCountries)}}#yt(){this.textField.addEventListener("input",t=>{if(!this.allowAlphanumericInput){const e=/^\d$/,i=t.target.value.split("").filter(t=>e.test(t)).join("");t.target.value=i}}),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}#mt(t=""){return this.#gt&&this.#gt.country===this.selectedCountryCode||(this.#gt=new p.Q(this.selectedCountryCode)),this.#gt.reset(),this.#gt.input(t)||t}#bt(){const t=(0,u.l)(this.value);return!!(t&&t.isValid?.()&&t.country&&this.#jt(t.country))}#jt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#Tt(t){return this.comboBox.items?.find(e=>e.getAttribute("data-country-code")===t)}#xt(t){const e=t.length?xs.filter(e=>t.includes(e.code)):xs;this.querySelector("descope-combo-box").innerHTML=e.map(t=>js(t)).join("")}#Nt(t){if(!this.comboBox.value){const e=this.#Tt(t);e&&setTimeout(()=>{this.comboBox.selectedItem=e})}}#It(t,e){const i=Ls[t]||t;"label-type"===t?this.#zt(e):"floating"===this.getAttribute("label-type")&&("country-input-label"===t?this.comboBox.setAttribute(i,e):"label"===t&&this.textField.setAttribute(i,e))}#zt(t){"floating"===t?(this.comboBox.setAttribute("label",this.getAttribute("country-input-label")||""),this.comboBox.setAttribute("placeholder",this.getAttribute("country-input-placeholder")||""),this.textField.setAttribute("label",this.getAttribute("label")||""),this.textField.setAttribute("placeholder",this.getAttribute("phone-input-placeholder")||"")):this.inputs.forEach(t=>t.removeAttribute("label"))}});const ws=_r.cssVarList,fs=xo.cssVarList,Es=qt("phone-field"),{host:ks,label:Os,requiredIndicator:Vs,inputField:Ws,internalAfter:Ys,countryCodeInput:Us,phoneInput:Rs,separator:Qs,errorMessage:Zs,helperText:Bs}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:"::part(input-field)"},internalAfter:{selector:"descope-phone-field-internal::after"},phoneInput:{selector:()=>"descope-text-field"},countryCodeInput:{selector:()=>"descope-combo-box"},separator:{selector:"descope-phone-field-internal .separator"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Ps=Pt(Ze({mappings:{fontSize:[ks,Ws,{selector:_r.componentName,property:_r.cssVarList.fontSize},{selector:xo.componentName,property:xo.cssVarList.fontSize}],fontFamily:[Os,Zs,Bs,{...Us,property:xo.cssVarList.overlay.fontFamily}],hostWidth:[{...ks,property:"width"},{...Rs,property:"width"},{...Us,property:"--vaadin-combo-box-overlay-width"}],hostDirection:{...ks,property:"direction"},inputBorderStyle:[{...Ys,property:"border-style"},{...Qs,property:"border-left-style"}],inputBorderWidth:[{...Ys,property:"border-width"},{...Qs,property:"border-left-width"}],inputBorderColor:[{...Ys,property:"border-color"},{...Qs,property:"border-left-color"}],inputBorderRadius:[{...Ws,property:"border-radius"},{...Ys,property:"border-radius"}],countryCodeInputWidth:{...Us,property:fs.hostWidth},countryCodeDropdownWidth:{...Us,property:"--vaadin-combo-box-overlay-width"},phoneInputWidth:{...Rs,property:"width"},horizontalPadding:[{...Rs,property:"padding-left"},{...Rs,property:"padding-right"},{...Us,property:"padding-left"},{...Us,property:"padding-right"}],labelFontSize:{...Os,property:"font-size"},labelFontWeight:{...Os,property:"font-weight"},inputValueFontWeight:[{...Rs,property:ws.inputValueFontWeight},{...Us,property:fs.inputValueFontWeight}],inputPlaceholderFontWeight:{...Rs,property:ws.inputPlaceholderFontWeight},helperTextFontWeight:{...Bs,property:"font-weight"},errorMessageFontWeight:{...Zs,property:"font-weight"},labelTextColor:[{...Os,property:"color"},{...Os,property:"-webkit-text-fill-color"},{...Vs,property:"color"}],labelRequiredIndicator:{...Vs,property:"content"},errorMessageTextColor:{...Zs,property:"color"},errorMessageIcon:{...Zs,property:"background-image"},errorMessageIconSize:{...Zs,property:"background-size"},errorMessageIconPadding:{...Zs,property:"padding-inline-start"},errorMessageIconRepeat:{...Zs,property:"background-repeat"},errorMessageIconPosition:{...Zs,property:"background-position"},errorMessageFontSize:{...Zs,property:"font-size"},inputValueTextColor:[{...Rs,property:ws.inputValueTextColor},{...Us,property:fs.inputValueTextColor}],inputPlaceholderTextColor:{...Rs,property:ws.inputPlaceholderColor},overlayItemBackgroundColor:{selector:"descope-combo-box",property:fs.overlayItemBackgroundColor},inputOutlineStyle:{...Ws,property:"outline-style"},inputOutlineColor:{...Ws,property:"outline-color"},inputOutlineWidth:{...Ws,property:"outline-width"},inputOutlineOffset:{...Ws,property:"outline-offset"},valueInputHeight:[{...Us,property:fs.valueInputHeight}],valueInputMarginBottom:[{...Rs,property:ws.valueInputMarginBottom}],marginInlineStart:[{...Rs,property:ws.marginInlineStart},{...Us,property:fs.marginInlineStart}]}}),Be,di,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return xs}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Ts}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Ts}>\n \t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Ts),te(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","bordered","minlength","maxlength","default-code","country-input-placeholder","phone-input-placeholder","disabled","restrict-countries","country-input-label","readonly","label","label-type","allow-alphanumeric-input","format-value","strict-validation","phone-input-type"]})}get countryCodeItems(){return this.inputElement?.countryCodeValue}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}get countryCodeInputData(){return this.inputElement?.countryCodeInputData}get countryCodes(){return Array.from(this.inputElement.countryCodeInputData).map(t=>t.getAttribute("data-country-code"))}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 15em;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\t${ge(Ps.cssVarList)}\n\t\t\t${ye("vaadin-text-field")}\n\t\t\t${Ne("vaadin-text-field")}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n\t\t\tdiv {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\tvaadin-text-field {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-text-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\t\t\tvaadin-text-field::part(label) {\n margin-left: 0;\n margin-right: 0;\n }\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tpadding: 0;\n\t\t\t\tbackground: transparent;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\t\t\tdescope-phone-field-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n direction: ltr;\n position: relative;\n\t\t\t}\n descope-phone-field-internal::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n outline-offset: calc(var(${Ps.cssVarList.inputBorderWidth}) * -1);\n pointer-events: none;\n }\n\t\t\tdescope-phone-field-internal > div {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t\tdescope-phone-field-internal .separator {\n\t\t\t\tflex: 0;\n\t\t\t\tborder: none;\n\t\t\t}\n\n\t\t\tdescope-combo-box {\n\t\t\t\tflex-shrink: 0;\n min-width: 5.75em;\n\t\t\t\t${fs.inputOutlineWidth}: 0;\n\t\t\t\t${fs.inputOutlineOffset}: 0;\n\t\t\t\t${fs.inputBorderWidth}: 0;\n\t\t\t\t${fs.inputBorderRadius}: 0;\n\t\t\t}\n\t\t\tdescope-text-field {\n\t\t\t\tflex-grow: 1;\n\t\t\t\t${ws.inputOutlineWidth}: 0;\n\t\t\t\t${ws.inputOutlineOffset}: 0;\n\t\t\t\t${ws.inputBorderWidth}: 0;\n\t\t\t\t${ws.inputBorderRadius}: 0;\n }\n\n :host([label-type="floating"]) vaadin-text-field::part(label) {\n display: none;\n }\n descope-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n descope-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field::part(input-field)::after {\n\t\t\t\tborder: none;\n\t\t\t}\n ${xe("vaadin-text-field")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Es}));customElements.define(Es,Ps);const Fs=qt("phone-field-internal-input-box"),Gs=["disabled","size","readonly","phone-input-placeholder","name","maxlength","autocomplete","label-type","phone-input-type"],Hs={"phone-input-placeholder":"placeholder","phone-input-type":"type"},Js=ci({componentName:Fs,baseSelector:"div"});customElements.define(Fs,class extends Js{static get observedAttributes(){return[].concat(Js.observedAttributes||[],Gs)}#gt;constructor(){super(),this.innerHTML='\n <div>\n <descope-text-field tabindex="1" type="tel" bordered="false"></descope-text-field>\n </div>\n ',this.textField=this.querySelector("descope-text-field")}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get defaultDialCode(){return t=this.getAttribute("default-code"),xs.find(e=>e.code===t)?.dialCode;var t}get defaultCode(){return this.getAttribute("default-code")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get maxLength(){return parseInt(this.getAttribute("maxlength"),10)||50}get restrictCountries(){return this.getAttribute("restrict-countries")?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){if(!this.textField.value)return"";if(!this.isStrictValidation)return this.#Dt();const t=this.#St();return t?.country&&t?.countryCallingCode&&t?.nationalNumber?`+${[t?.countryCallingCode,t?.nationalNumber].join("-")}`:this.textField.value}set value(t){this.textField.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.textField.focus()}),super.init?.(),this.textField.addEventListener("input",this.#vt.bind(this)),this.handleFocusEventsDispatching([this.textField]),w(this.textField,this,{includeAttrs:["has-value"]}),w(this,this.textField,{includeAttrs:["phone-input-type"],mapAttrs:{"phone-input-type":"type"}})}getValidity(){const t=/^\+?\d{1,4}-?(?:\d-?){1,15}$/,e=this.#Lt(this.textField.value||"");if(this.isRequired&&!this.textField.value)return{valueMissing:!0};if(this.textField.value){if(e.length<this.minLength)return{tooShort:!0};if(this.isStrictValidation&&this.textField.value&&!this.#bt()||!this.isStrictValidation&&this.textField.value&&!t.test(this.value))return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i&&Gs.includes(t)){const e=Hs[t]||t;this.textField.setAttribute(e,i)}}#vt(t){let e=this.#Ct(t.target.value);this.isFormatValue&&this.#At(e)&&(e=this.#wt(e)),t.target.value=e}#Dt(){if(!this.defaultDialCode)return this.textField.value;const t=this.#ft(this.textField.value),e=this.#Lt(t);return[this.defaultDialCode,e].join("-")}#St(){return this.defaultDialCode?(0,u.l)([this.defaultDialCode,this.#Lt(this.textField.value)].filter(Boolean).join("")):(0,u.l)(this.textField.value)}#Lt(t){return t.replace(/\D/g,"")}#ft(t){if("+"===this.textField.value?.[0]){const e=new RegExp(`^\\${this.defaultDialCode}`);return t.replace(e,"")}return t}#bt(){const t=(0,u.l)(this.value);return!(!t||!t.isValid?.()||!t.country||!this.#jt(t.country)||this.defaultCode&&this.defaultCode!==t.country)}#jt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#Ct(t){if(t=t.replace(/^-+/,"").replace(/(?!^)\+/g,"").replace("--","-").replace("+-","+"),!this.allowAlphanumericInput){const e=/^[+\d-\(\)]+$/;t=t.split("").filter(t=>e.test(t)).join("")}return t}#wt(t=""){const e=this.defaultCode||this.#Et(t);return e?(this.#gt&&this.#gt.country===e||(this.#gt=new p.Q(e)),this.#gt.reset(),this.#gt.input(t)||t):t}#Et(t){const e=(0,u.l)(t);return e?.country||""}#At(t){return!!(t=>{const e=t.match(/\(/g),i=t.match(/\)/g);return e?.length===i?.length})(t)}});const $s=_r.cssVarList,_s=qt("phone-input-box-field"),{host:Xs,label:qs,inputElement:Ks,requiredIndicator:ta,inputField:ea,internalComponent:ia,internalComponentAfter:oa,phoneInput:ra,errorMessage:na,helperText:sa}={host:{selector:()=>":host"},label:{selector:"::part(label)"},inputElement:{selector:"input"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:()=>"vaadin-text-field::part(input-field)"},internalComponent:{selector:"descope-phone-field-internal-input-box"},internalComponentAfter:{selector:"descope-phone-field-internal-input-box::after"},phoneInput:{selector:()=>"descope-text-field"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},aa=Pt(Ze({mappings:{fontSize:[Xs,ea,{selector:_r.componentName,property:_r.cssVarList.fontSize}],fontFamily:[qs,na,sa],hostWidth:{...Xs,property:"width"},hostMinWidth:{...Xs,property:"min-width"},hostDirection:{...Xs,property:"direction"},inputHorizontalPadding:[{...ra,property:"padding-left"},{...ra,property:"padding-right"}],labelFontSize:{...qs,property:"font-size"},labelFontWeight:{...qs,property:"font-weight"},inputValueFontWeight:{...ra,property:$s.inputValueFontWeight},inputPlaceholderFontWeight:{...ra,property:$s.inputPlaceholderFontWeight},helperTextFontWeight:{...sa,property:"font-weight"},errorMessageFontWeight:{...na,property:"font-weight"},labelTextColor:[{...qs,property:"color"},{...qs,property:"-webkit-text-fill-color"},{...ta,property:"color"}],labelRequiredIndicator:{...ta,property:"content"},errorMessageTextColor:{...na,property:"color"},errorMessageIcon:{...na,property:"background-image"},errorMessageIconSize:{...na,property:"background-size"},errorMessageIconPadding:{...na,property:"padding-inline-start"},errorMessageIconRepeat:{...na,property:"background-repeat"},errorMessageIconPosition:{...na,property:"background-position"},errorMessageFontSize:{...na,property:"font-size"},inputValueTextColor:{...ra,property:$s.inputValueTextColor},inputPlaceholderTextColor:{...ra,property:$s.inputPlaceholderColor},inputBorderStyle:{...oa,property:"border-style"},inputBorderWidth:{...oa,property:"border-width"},inputBorderColor:{...oa,property:"border-color"},inputBorderRadius:[{...ia,property:"border-radius"},{...oa,property:"border-radius"}],inputOutlineStyle:{...ia,property:"outline-style"},inputOutlineColor:{...ia,property:"outline-color"},inputOutlineWidth:{...ia,property:"outline-width"},inputOutlineOffset:{...ia,property:"outline-offset"},labelPosition:{...qs,property:"position"},labelTopPosition:{...qs,property:"top"},labelHorizontalPosition:[{...qs,property:"left"},{...qs,property:"right"}],inputTransformY:{...qs,property:"transform"},inputTransition:{...qs,property:"transition"},marginInlineStart:{...qs,property:"margin-inline-start"},valueInputHeight:{...Ks,property:"height"},valueInputMarginBottom:{selector:_r.componentName,property:$s.valueInputMarginBottom}}}),Be,di,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return xs}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Fs}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Fs}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Fs),L(this,this.inputElement,{includeAttrs:["has-value"]}),te(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","minlength","maxlength","default-code","disabled","phone-input-placeholder","label","label-type","allow-alphanumeric-input","restrict-countries","format-value","strict-validation","data-errormessage-type-mismatch","phone-input-type"]})}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n box-sizing: border-box;\n }\n ${ge(aa.cssVarList)}\n ${ye("vaadin-text-field")}\n ${Ne("vaadin-text-field")}\n \n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n vaadin-text-field {\n width: 100%;\n box-sizing: border-box;\n padding: 0;\n }\n vaadin-text-field[focus-ring]::part(input-field) {\n box-shadow: none;\n }\n vaadin-text-field::before {\n height: 0;\n }\n vaadin-text-field::part(input-field) {\n padding: 0;\n background: transparent;\n -webkit-mask-image: none;\n }\n descope-phone-field-internal-input-box {\n -webkit-mask-image: none;\n padding: 0;\n width: 100%;\n }\n descope-phone-field-internal-input-box > div {\n width: 100%;\n }\n descope-phone-field-internal-input-box descope-text-field {\n ${$s.inputOutlineWidth}: 0;\n ${$s.inputOutlineOffset}: 0;\n }\n descope-phone-field-internal-input-box::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n pointer-events: none;\n }\n descope-text-field {\n flex-grow: 1;\n width: 100%;\n direction: ltr;\n }\n vaadin-text-field[readonly] > input:placeholder-shown {\n opacity: 1;\n }\n vaadin-text-field::part(input-field)::after {\n border: none;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] input:placeholder-shown {\n opacity: 0;\n }\n\n ${xe("vaadin-text-field")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:_s}));customElements.define(_s,aa);const la=qt("new-password-internal"),da=(t,e)=>t.replace(/{{(\w+)+}}/g,(t,i)=>e?.[i]||t),ca=qt("policy-validation"),ua=["data","active-policies","overrides","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-actual-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email"],pa=["label","value",...ua];class ha extends($e({componentName:ca,baseSelector:":host > div"})){#kt;#Ot=[];#Vt;static get observedAttributes(){return pa}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="label"></div>\n <ul></ul>\n </div>\n\t\t',f("\n :host > div {\n width: 100%;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n }\n .label {\n max-width: 100%;\n text-wrap: wrap;\n overflow-wrap: break-word;\n }\n .hide-label .label {\n display: none;\n }\n ul {\n display: flex;\n flex-direction: column;\n padding: 0;\n margin: 0;\n }\n ul, li {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n li::before {\n display: inline-block;\n width: 1em;\n text-align: center;\n }\n ",this),this.panel=this.shadowRoot.querySelector(":host > div"),this.label=this.shadowRoot.querySelector(".label"),this.list=this.shadowRoot.querySelector("ul")}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("label"===t&&this.updateLabel(i),ua.includes(t)){if("data"===t)try{this.availablePolicies=JSON.parse(i)}catch{console.error("Failed to set available policies")}if("active-policies"===t&&(this.#Ot=(i||"").split(",")),"data-password-policy-value-minlength"===t){const t=Number(i);!Number.isNaN(t)&&t>0&&(this.#Vt={...this.#Vt,minlength:{value:`${t}`}})}if("data-password-policy-value-passwordstrength"===t){const t=parseInt(i);!Number.isNaN(t)&&t>=0&&(this.#Vt={...this.#Vt,passwordstrength:{...this.#Vt?.passwordstrength,expected:t}})}if("data-password-policy-actual-passwordstrength"===t){const t=Number(i);!Number.isNaN(t)&&t>=0&&(this.#Vt={...this.#Vt,passwordstrength:{...this.#Vt?.passwordstrength,actual:t}})}if("data-password-policy-value-disallowedchars"===t)if(i)this.#Vt={...this.#Vt,disallowedchars:{...this.#Vt?.disallowedchars,value:i}};else if(this.#Vt?.disallowedchars){const{disallowedchars:t,...e}=this.#Vt;this.#Vt=e}if("data-password-policy-value-email"===t)if(i)this.#Vt={...this.#Vt,disallowemail:{...this.#Vt?.disallowemail,expected:i}};else if(this.#Vt?.disallowemail){const{disallowemail:t,...e}=this.#Vt;this.#Vt=e}}this.renderItems(this.#kt,this.#Ot,this.#Vt)}}get availablePolicies(){return this.#kt||[]}set availablePolicies(t){this.#kt=t}get value(){return this.getAttribute("value")||""}getStrengthScore(){return this.value.length}compareValues(t,e,i){switch(t.toUpperCase()){case"GTE":return i>=e;case"GT":return i>e;case"LTE":return i<=e;case"LT":return i<e;case"EQ":return i===e;case"NEQ":return i!==e;default:throw new Error(`Invalid comparison type: ${t}`)}}validate(){let t=this.#kt;return this.#Vt&&(t=this.#kt.map(t=>{const e=this.#Vt[t.id];return e?{...t,data:e}:t})),this.#Ot.reduce((e,i)=>{const o=t.find(t=>t.id===i);if(!o)return e;const{pattern:r,message:n,data:s,compare:a}=o,l="string"==typeof a?a.toUpperCase():a;if(!r&&!a||!n)return e;const d={message:da(n,s),id:i};if(r){const t=new RegExp(da(r,s));d.valid=t.test(this.value)}else if("STR_NEQ_CI"===l){const t=(s?.expected??"").toLowerCase(),e=(this.value??"").toLowerCase();if(t&&e){const i=t.indexOf("@"),o=i>0?t.slice(0,i):t;d.valid=e!==t&&e!==o}else d.valid=!0}else a&&(d.valid=this.compareValues(l,s?.expected??-1,s?.actual??-1));return e.push(d),e},[])}get isValid(){return!this.validate().some(({valid:t})=>!1===t)}buildValidationItem({valid:t,message:e}){const i=this.value?t:"none",o=document.createElement("li");o.className="item",o.dataset.valid=i;const r=document.createElement("span");return r.className="message",r.textContent=e??"",o.appendChild(r),o}renderItems(t,e){t&&e.length&&this.list.replaceChildren(...this.validate().map(this.buildValidationItem.bind(this)))}updateLabel(t){t?(this.label.textContent=t,this.classList.remove("hide-label")):(this.classList.add("hide-label"),this.label.textContent="")}}const{host:ga,item:Ma,symbolDefault:ma,symbolSuccess:ya,symbolError:ba}={host:{selector:()=>":host > div"},item:{selector:()=>".item"},symbolDefault:{selector:()=>'.item[data-valid="none"]::before'},symbolSuccess:{selector:()=>'.item[data-valid="true"]::before'},symbolError:{selector:()=>'.item[data-valid="false"]::before'}},Na=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},padding:{},borderWidth:{...ga,property:"border-width"},borderStyle:{...ga,property:"border-style"},borderColor:{...ga,property:"border-color"},borderRadius:{...ga,property:"border-radius"},backgroundColor:{...ga,property:"background-color"},textColor:{property:"color"},labelMargin:{...ga,property:"gap"},itemsSpacing:{...Ma,property:"line-height"},itemSymbolSuccessColor:{...ya,property:"color"},itemSymbolErrorColor:{...ba,property:"color"},itemSymbolDefault:{...ma,property:"content"},itemSymbolSuccess:{...ya,property:"content"},itemSymbolError:{...ba,property:"content"}}}),Be,Pe)(ha),Ia=qt("new-password"),xa=Na.cssVarList,{host:ja,label:Ta,internalInputsWrapper:za,errorMessage:Da,helperText:Sa,passwordInput:va,policyPreview:La}={host:{selector:()=>":host"},label:{selector:"::part(label)"},internalInputsWrapper:{selector:"descope-new-password-internal .wrapper"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},passwordInput:{selector:"descope-password"},policyPreview:{selector:"descope-policy-validation"}},Ca=Pt(Ze({mappings:{fontSize:[ja,{},{selector:cs.componentName,property:cs.cssVarList.fontSize}],fontFamily:[Ta,Da,Sa],labelFontSize:{...Ta,property:"font-size"},labelFontWeight:{...Ta,property:"font-weight"},inputValueFontWeight:{...va,property:cs.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{...va,property:cs.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{...Sa,property:"font-weight"},errorMessageFontWeight:{...Da,property:"font-weight"},labelTextColor:{...Ta,property:"color"},errorMessageTextColor:{...Da,property:"color"},errorMessageIcon:{...Da,property:"background-image"},errorMessageIconSize:{...Da,property:"background-size"},errorMessageIconPadding:{...Da,property:"padding-inline-start"},errorMessageIconRepeat:{...Da,property:"background-repeat"},errorMessageIconPosition:{...Da,property:"background-position"},errorMessageFontSize:{...Da,property:"font-size"},hostWidth:{...ja,property:"width"},hostMinWidth:{...ja,property:"min-width"},hostDirection:[{...ja,property:"direction"},{...va,property:cs.cssVarList.hostDirection}],inputsRequiredIndicator:{...ja,property:"content"},spaceBetweenInputs:{...za,property:"gap"},policyPreviewBackgroundColor:{...La,property:xa.backgroundColor},policyPreviewPadding:{...La,property:xa.padding},valueInputHeight:{...va,property:cs.cssVarList.valueInputHeight},valueInputMarginBottom:{...va,property:cs.cssVarList.valueInputMarginBottom}}}),Be,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{init(){super.init?.();const t=document.createElement("template"),e=this.getAttribute("external-input");t.innerHTML=`\n\t\t\t<${la}\n\t\t\t\tname="new-password"\n\t\t\t\ttabindex="-1"\n\t\t\t\tslot="input"\n external-input="${e}"\n\t\t\t>\n </${la}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(la),"true"===this.getAttribute("external-input")&&this.initExternalInput(),te(this,this.inputElement,{includeAttrs:["password-label","password-placeholder","confirm-label","confirm-placeholder","full-width","size","bordered","label","has-confirm","invalid","readonly","disabled","draggable","has-validation","policy-label","active-policies","available-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","label-type","manual-visibility-toggle"]})}createSlottedExternalInput(t,e){const i=t.querySelector("input"),o=document.createElement("slot"),r=i.getAttribute("slot");o.setAttribute("name",e),o.setAttribute("slot",r),t.appendChild(o),i.setAttribute("slot",e),i.setAttribute("name",this.getAttribute("name")),i.setAttribute("data-hidden-input","true"),this.appendChild(i)}initExternalInput(){this.passwordInput=this.inputElement.querySelector('[data-id="password"]'),this.confirmInput=this.inputElement.querySelector('[data-id="confirm"]'),this.createSlottedExternalInput(this.passwordInput,"external-password-input"),this.createSlottedExternalInput(this.confirmInput,"external-confirm-input")}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t\tmax-width: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t}\n :host ::part(error-message) {\n direction: ltr;\n }\n\t\t${ge(cs.cssVarList)}\n\t\tvaadin-text-field {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t\tvaadin-text-field::part(input-field) {\n\t\t\tmin-height: 0;\n\t\t\tbackground: transparent;\n\t\t\tbox-shadow: none;\n\t\t\tpadding: 0;\n\t\t}\n\t\tvaadin-text-field::part(input-field)::after {\n\t\t\tbackground: transparent;\n\t\t\topacity: 0;\n\t\t}\n\t\tdescope-new-password-internal {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\twidth: 100%;\n\t\t\tpadding: 0;\n\t\t}\n\t\tdescope-new-password-internal > .wrapper {\n -webkit-mask-image: none;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t}\n\t\tdescope-password {\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t}\n\t\tdescope-new-password-internal vaadin-password-field::before {\n\t\t\theight: initial;\n\t\t}\n descope-policy-validation {\n margin-top: 8px;\n display: flex;\n }\n .hidden {\n display: none;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Ia}));customElements.define(ca,Na);const Aa=/^password-/,wa=/^confirm-/,fa=(t,e)=>t.replace(e,""),Ea=["password-label","password-placeholder"],ka=["confirm-label","confirm-placeholder"],Oa=["has-validation","policy-label","available-policies","active-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","manual-visibility-toggle"],Va=["has-confirm","disabled","bordered","size","full-width","maxlength","invalid","readonly","draggable","autocomplete","label-type","manual-visibility-toggle"],Wa=[].concat(Va,Ea,ka,Oa),Ya=ci({componentName:la,baseSelector:"div"});customElements.define(la,class extends Ya{static get observedAttributes(){return[].concat(Ya.observedAttributes||[],Wa)}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper"></div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper")}get value(){return this.passwordInput?.value||""}set value(t){t!==this.value&&(this.passwordInput.value=t)}get hasConfirm(){return"true"===this.getAttribute("has-confirm")}onHasConfirmChange(t){this.confirmInput.classList.toggle("hidden",!t)}onHasValidationChange(t){this.policyPanel.classList.toggle("hidden",!t)}get hasValidation(){return"true"===this.getAttribute("has-validation")}getValidity(){if(this.isRequired&&!this.value)return{valueMissing:!0};if(this.value&&!this.policyPanel.isValid)return{typeMismatch:!0};if(this.hasConfirm&&this.confirmInput&&this.value!==this.confirmInput.value)return{patternMismatch:!0};const t=this.getAttribute("minlength"),e=parseInt(t,10)||0;return this.value.length>=e?{}:{tooShort:!0}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.passwordInput.focus()}),super.init?.(),this.renderInputs(this.hasConfirm,this.hasValidation)}renderInputs(){const t="true"===this.getAttribute("external-input"),e=`\n <div class="password-input-container">\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n data-id="password"\n external-input="${t}"\n ></descope-password>\n <descope-policy-validation></descope-policy-validation>\n </div>\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n external-input="${t}"\n data-id="confirm"\n ></descope-password>\n `;this.wrapperEle.innerHTML=e,this.passwordInput=this.querySelector('[data-id="password"]'),this.confirmInput=this.querySelector('[data-id="confirm"]'),this.policyPanel=this.querySelector("descope-policy-validation"),this.passwordStrength=this.querySelector("descope-password-strength"),this.inputs=[this.passwordInput,this.confirmInput],this.initInputs(),this.passwordInput.addEventListener("input",t=>{this.passwordStrength?.addEventListener("score-changed",({detail:t})=>{this.policyPanel.setAttribute("data-password-policy-actual-passwordstrength",t)},{once:!0}),this.passwordStrength?.setAttribute("value",t.target.value),this.policyPanel.setAttribute("value",t.target.value)}),te(this,this.policyPanel,{includeAttrs:Oa,mapAttrs:{"policy-label":"label","available-policies":"data"}})}handleIndicatorStyle(){this.inputs.forEach(t=>{f(`\n\t\t\t\t:host ::part(required-indicator)::after {\n\t\t\t\t\tcontent: var(${Ca.cssVarList.inputsRequiredIndicator});\n width: 1em;\n text-align: center;\n\t\t\t\t}\n :host ::part(required-indicator) {\n display: inline-flex;\n }\n\t\t\t\t`,t)})}get isInvalid(){return this.hasAttribute("invalid")&&"false"!==this.getAttribute("invalid")}handleInputsInvalidAttribute(){this.inputs.forEach(t=>{t&&Jt(t,e=>{if(e.includes("invalid")){const e=t.getAttribute("invalid"),i=this.getAttribute("invalid");this.isInvalid&&i!==e&&t.setAttribute("invalid","true")}},{})})}initInputs(){this.handleIndicatorStyle(),this.handleInputsInvalidAttribute(),this.handleFocusEventsDispatching(this.inputs)}async togglePasswordStrength(){this.activePolicies.includes("passwordstrength")?this.passwordStrength||(await Promise.resolve().then(function(){return nx}),this.passwordStrength=document.createElement("descope-password-strength"),this.passwordStrength.setAttribute("options","Very weak,Weak,Average,Strong,Very strong"),this.passwordStrength.setAttribute("value",this.passwordInput.value||""),this.passwordStrength.setAttribute("st-host-direction",this.getAttribute("st-host-direction")),this.passwordStrength.setAttribute("full-width","true"),this.querySelector(".password-input-container").insertBefore(this.passwordStrength,this.policyPanel)):this.passwordStrength&&(this.passwordStrength.remove(),this.passwordStrength=null)}get activePolicies(){return(this.getAttribute("active-policies")||"").split(",")}toggleBooleanAttribute(t,e,i){null===i?t?.removeAttribute(e):t?.setAttribute(e,i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("has-validation"===t?this.onHasValidationChange("true"===i):"has-confirm"===t?this.onHasConfirmChange("true"===i):Va.includes(t)?this.inputs.forEach(e=>this.toggleBooleanAttribute(e,t,i)):Ea.includes(t)?this.toggleBooleanAttribute(this.passwordInput,fa(t,Aa),i):ka.includes(t)&&this.toggleBooleanAttribute(this.confirmInput,fa(t,wa),i),"active-policies"===t&&this.togglePasswordStrength())}}),customElements.define(Ia,Ca);const Ua=qt("recaptcha"),Ra=["enabled","site-key","action","enterprise","variant"],Qa=$e({componentName:Ua,baseSelector:":host > div"}),Za=Pt(Be)(class extends Qa{static get observedAttributes(){return Ra.concat(Qa.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("enabled"===t&&this.#Wt("true"===i),"variant"===t&&this.updatePreview())}renderRecaptcha(t){this.children.length?this.updatePreview():this.toggleRecaptchaEles(t)}displayRecaptcha(){this.isWidget?this.displayWidget():this.displayDeprecated()}displayWidget(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="",this.depercatedRecaptchaEle.style.display="none"}hideRecaptcha(){this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display="none",this.mockRecaptchaEle.style.display=""}displayDeprecated(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display=""}toggleRecaptchaEles(t){t?this.displayRecaptcha():this.hideRecaptcha()}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="recaptcha"></span>\n <span id="recaptcha-widget"></span>\n <input id="recaptcha-widget-input" type="hidden" name="recaptcha-widget" required />\n <img src="https://imgs.descope.com/connectors/templates/recaptcha/recaptcha-big.png" alt="recaptcha"/>\n </div>\n <slot></slot>\n\t',f('\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #recaptcha .grecaptcha-badge {\n box-shadow: none !important;\n }\n :host #recaptcha .grecaptcha-logo {\n height: 100%;\n }\n :host #recaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host #recaptcha-widget {\n width: 100%;\n height: 100%;\n }\n :host #recaptcha-widget-input {\n display: none;\n }\n :host img {\n width: 256px;\n }\n :host([full-width="true"]) {\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ',this),this.depercatedRecaptchaEle=this.baseElement.querySelector("#recaptcha"),this.recaptchaWidgetEle=this.baseElement.querySelector("#recaptcha-widget"),this.recaptchaWidgetInputEle=this.baseElement.querySelector("#recaptcha-widget-input"),this.mockRecaptchaEle=this.baseElement.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge")}init(){super.init?.(),$t(this,this.updatePreview.bind(this))}updatePreview(){this.children.length?(this.depercatedRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.mockRecaptchaEle.style.display="none",this.badge.classList.add("hidden")):(this.toggleRecaptchaEles(this.enabled),this.badge.classList.remove("hidden"))}getValidity(){return this.isWidget?this.recaptchaWidgetInputEle.value?{}:{valueMissing:!0}:{}}checkValidity(){return!this.isWidget||!!this.recaptchaWidgetInputEle.value}get enterprise(){return"true"===this.getAttribute("enterprise")}get siteKey(){return this.getAttribute("site-key")}get action(){return this.getAttribute("action")||"load"}get enabled(){return"true"===this.getAttribute("enabled")}get variant(){return this.getAttribute("variant")||"text"}get isWidget(){return"widget"===this.variant}get scriptURL(){const t=new URL("https://www.google.com/recaptcha/");return t.pathname+=(this.enterprise?"enterprise":"api")+".js",t.searchParams.append("onload","onRecaptchaLoadCallback"),t.searchParams.append("render","explicit"),t.toString()}#Wt(t){this.renderRecaptcha(t),this.isWidget||t&&(this.#Yt(),document.getElementById("recaptcha-script")?window.onRecaptchaLoadCallback():this.#Ut())}#Ut(){const t=document.createElement("script");t.src=this.scriptURL,t.async=!0,t.id="recaptcha-script",t.defer=!0,document.body.appendChild(t)}get grecaptchaInstance(){return this.enterprise?window.grecaptcha?.enterprise:window.grecaptcha}#Rt(t,e,i){this.isConnected&&t.ready(()=>{const o=e.querySelector('textarea[name^="g-recaptcha-response"]')?.cloneNode();if(o&&(o.style.display="none",document.body.appendChild(o)),!this.siteKey)return;const r=t?.execute(i,{action:this.action});r.then((r,n)=>{n?console.warn("could not execute recaptcha",n):(this.updateComponentsContext({risktoken:r,riskaction:this.action}),this.isConnected&&setTimeout(()=>{this.#Rt(t,e,i)},11e4)),o.remove()})})}#Yt(){window.onRecaptchaLoadCallback=()=>{const t=this.depercatedRecaptchaEle;if(t.hasChildNodes())return;const{grecaptchaInstance:e}=this;e&&setTimeout(()=>{const i=e.render(t,{sitekey:this.siteKey,badge:"inline",size:"invisible"});this.#Rt(e,t,i)},0)}}});customElements.define(Ua,Za);const Ba=qt("upload-file"),Pa=["title","description","button-label","accept","readonly","button-mode","button-variant","required","size","icon"],Fa=ci({componentName:Ba,baseSelector:":host > div"}),Ga=ko.cssVarList,{host:Ha,wrapper:Ja,icon:$a,title:_a,description:Xa,requiredIndicator:qa}={host:{selector:()=>":host"},wrapper:{selector:()=>":host > div"},icon:{selector:()=>"::slotted(*)"},title:{selector:()=>".title"},description:{selector:()=>".description"},requiredIndicator:{selector:()=>".title::after"}},Ka=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{fontSize:{},fontFamily:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},hostHeight:{...Ha,property:"height"},hostWidth:{...Ha,property:"width"},hostPadding:{property:"padding"},hostDirection:[{...Ha,property:"direction"},{selector:()=>ko.componentName,property:Ga.hostDirection}],gap:{...Ja},lineHeight:{...Ja,property:"line-height"},titleFontSize:{..._a,property:"font-size"},titleFontWeight:{..._a,property:"font-weight"},descriptionFontSize:{...Xa,property:"font-size"},labelTextColor:[{..._a,property:"color"},{...Xa,property:"color"}],iconSize:{...$a,property:"width"},requiredIndicator:{...qa,property:"content"}}}),Be,Pe)(class extends Fa{static get observedAttributes(){return Pa.concat(Fa.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div>\n <slot name="icon"></slot>\n\t\t\t\t<div class="title">\n\t\t\t\t\t<span class="title-text"></span>\n\t\t\t\t</div>\n\t\t\t\t<div class="description"></div>\n\t\t\t\t<div class="button-wrapper">\n\t\t\t\t\t<input type="file" tabindex="-1" aria-labelledby="button"/>\n\t\t\t\t\t<descope-button id="button"></descope-button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t',f("\n :host {\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\ttext-align: center;\n\t\t\t\tflex-direction: column;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.button-wrapper {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: fit-content;\n\t\t\t}\n\t\t\tinput {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\topacity: 0;\n\t\t\t}\n ",this),this.wrapperEle=this.shadowRoot.querySelector(".wrapper"),this.inputElement=this.shadowRoot.querySelector("input"),this.button.onclick=()=>this.inputElement.click(),this.inputElement.onchange=async t=>{const e=t.target.files;var i;e.length&&(this.value=await(i=e[0],new Promise(t=>{const e=new FileReader;e.onload=e=>t(e.target.result),e.readAsDataURL(i)})),this.updateDescription((t=>t.name.replace(/^.*\\/,""))(e[0])))},this.oninvalid=()=>{this.setAttribute("invalid","true")}}getValidity(){return this.isRequired&&!this.input.value?{valueMissing:!0}:(this.removeAttribute("invalid"),{})}initInputs(){this.rootElement.querySelector("descope-button").onclick=()=>this.inputElement.click()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("title"===t?this.updateTitle(i):"description"===t?this.updateDescription(i):"button-label"===t?this.updateButtonLabel(i):"button-mode"===t?this.updateButtonMode(i):"button-variant"===t?this.updateButtonVariant(i):"size"===t?this.updateButtonSize(i):"accept"===t?this.updateInputAccept(i):"readonly"===t&&this.updateReadOnly(i))}get button(){return this.shadowRoot.querySelector("descope-button")}get input(){return this.shadowRoot.querySelector("input")}get title(){return this.shadowRoot.querySelector(".title-text")}get description(){return this.shadowRoot.querySelector(".description")}get icon(){return this.shadowRoot.querySelector(".icon")}updateTitle(t){this.title.textContent=t}updateDescription(t){this.description.textContent=t}updateButtonLabel(t){this.button.textContent=t}updateButtonSize(t){this.button.setAttribute("size",t)}updateButtonMode(t){this.button.setAttribute("mode",t)}updateButtonVariant(t){this.button.setAttribute("variant",t)}updateInputAccept(t){this.input.setAttribute("accept",t)}updateReadOnly(t){"true"===t?this.input.setAttribute("disabled","true"):this.input.removeAttribute("disabled")}});customElements.define(Ba,Ka);const tl=t=>{class e extends(ci({componentName:t,baseSelector:"slot"})){constructor(){super(),this.innerHTML='\n <slot part="wrapper"></slot>\n '}dispatchChange=_e.bind(this,"change");get items(){return this.querySelector("slot").assignedElements()}get isReadonly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"md"}get value(){console.warn("get value","is not implemented")}set value(t){console.warn("set value","is not implemented")}onSizeChange(){this.items.forEach(t=>{t.setAttribute("size",this.size)})}onReadOnlyChange(){this.querySelector("slot").toggleAttribute("inert",this.isReadonly)}getValidity(){console.warn("getValidity","is not implemented")}onObservedAttributeChange(t){t.forEach(t=>{switch(t){case"size":this.onSizeChange();break;case"readonly":this.onReadOnlyChange()}})}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.items[0]?.focus()}),super.init?.(),Jt(this,this.onObservedAttributeChange.bind(this),{includeAttrs:["size","readonly"]})}}return e},el=qt("button-selection-group-internal");class il extends(tl(el)){getSelectedNode(){return this.items.find(t=>t.hasAttribute("selected"))}get allowDeselect(){return"true"===this.getAttribute("allow-deselect")}removeSelected(){this.getSelectedNode()?.removeAttribute("selected")}onClick(t){t.target!==t.currentTarget&&(t.target===this.getSelectedNode()&&this.allowDeselect?this.removeSelected():this.setSelected(t.target),this.dispatchChange())}setSelected(t){t!==this.getSelectedNode()&&(this.removeSelected(),t?.setAttribute("selected","true"))}get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue,this.setCustomValidity())})}get value(){return this.getSelectedNode()?.value||""}set value(t){const e=this.items.find(e=>e.value===t);this.setSelected(e)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}init(){super.init(),this.setDefaultValue(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const ol=t=>class extends t{#tt=({value:t,label:e})=>`<descope-button-selection-group-item value="${t}">${e}</descope-button-selection-group-item>`;#W;get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get size(){return this.inputElement?.size}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.renderItems(),Jt(this,this.renderItems.bind(this),{includeAttrs:["data"]}),$t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})})}},{host:rl,label:nl,requiredIndicator:sl,internalWrapper:al,errorMessage:ll}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:()=>':host [part="internal-component"] slot'},errorMessage:{selector:"::part(error-message)"}},dl={hostWidth:{...rl,property:"width"},hostDirection:{...rl,property:"direction"},fontFamily:rl,labelTextColor:[{...nl,property:"color"},{...sl,property:"color"}],labelRequiredIndicator:{...sl,property:"content"},errorMessageTextColor:{...ll,property:"color"},errorMessageIcon:{...ll,property:"background-image"},errorMessageIconSize:{...ll,property:"background-size"},errorMessageIconPadding:{...ll,property:"padding-inline-start"},errorMessageIconRepeat:{...ll,property:"background-repeat"},errorMessageIconPosition:{...ll,property:"background-position"},errorMessageFontSize:{...ll,property:"font-size"},itemsSpacing:{...al,property:"gap"}},cl=`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n [part="internal-component"] {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n display: inline-block;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n [part="internal-component"] slot {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${xe("vaadin-text-field")}\n\t\t\t${ye("vaadin-text-field")}\n `,ul=qt("button-selection-group"),pl=Pt(Ze({mappings:{...dl}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,ol,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${el}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${el}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(el),te(this,this.inputElement,{includeAttrs:["size","default-value","allow-deselect"]})}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>cl,excludeAttrsSync:["tabindex","style"],componentName:ul}));customElements.define(el,il);const hl=qt("button-selection-group-item");class gl extends($e({componentName:hl,baseSelector:":host > descope-button"})){get size(){return this.getAttribute("size")||"md"}get variant(){return this.getAttribute("variant")||"contained"}get value(){return this.getAttribute("value")||""}set value(t){this.setAttribute("value",t)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <descope-button variant="${this.variant}" size="${this.size}" mode="primary">\n <slot></slot>\n </descope-button>\n\t`,f("\n descope-button {\n max-width: 100%;\n }\n\t\t\tdescope-button > slot {\n\t\t\t\twidth: 100%;\n\t\t\t\toverflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n max-width: 100%\n\t\t\t}\n ",this),te(this,this.baseElement,{includeAttrs:["size","variant"]}),te(this.baseElement,this,{includeAttrs:["focused","active"]})}handleFocus(){this.shadowRoot.querySelector("descope-button")?.focus()}focus(){this.handleFocus()}init(){super.init(),this.addEventListener("focus",t=>{t.isTrusted&&this.handleFocus()})}}const Ml=Pt(Ze({mappings:{hostDirection:{selector:()=>ko.componentName,property:ko.cssVarList.hostDirection},backgroundColor:{selector:()=>ko.componentName,property:ko.cssVarList.backgroundColor},labelTextColor:{selector:()=>ko.componentName,property:ko.cssVarList.labelTextColor},borderColor:{selector:()=>ko.componentName,property:ko.cssVarList.borderColor},borderWidth:{selector:()=>ko.componentName,property:ko.cssVarList.borderWidth},borderStyle:{selector:()=>ko.componentName,property:ko.cssVarList.borderStyle},borderRadius:{selector:()=>ko.componentName,property:ko.cssVarList.borderRadius},outlineColor:{selector:()=>ko.componentName,property:ko.cssVarList.outlineColor}}}),Be,Pe)(gl);customElements.define(hl,Ml),customElements.define(ul,pl);const ml=qt("button-multi-selection-group-internal");class yl extends(tl(ml)){#Qt(){return this.items.filter(t=>t.hasAttribute("selected"))}onClick(t){t.target!==t.currentTarget&&(this.#Qt().includes(t.target)?t.target.removeAttribute("selected"):t.target.setAttribute("selected","true"),this.dispatchChange())}get value(){return this.#Qt().map(t=>t.value)}set value(t){this.items.forEach(e=>{t.includes(e.value)?e.setAttribute("selected","true"):e.removeAttribute("selected")})}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}#Zt(t){const e=Array.isArray(t);return e||console.error("default-values must be an array, received:",t),e}get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.#Zt(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){setTimeout(()=>{this.defaultValues&&(this.value=this.defaultValues,this.setCustomValidity())})}getValidity(){return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}}init(){super.init(),this.setDefaultValues(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const bl=qt("button-multi-selection-group"),Nl=Pt(Ze({mappings:{...dl}}),Be,ri({proxyProps:["value","selectionStart"]}),Pe,ol,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${ml}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${ml}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(ml),te(this,this.inputElement,{includeAttrs:["size","default-values","min-items-selection","max-items-selection"]})}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>cl,excludeAttrsSync:["tabindex","style"],componentName:bl}));customElements.define(ml,yl),customElements.define(bl,Nl);class Il extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=i.item[this.path]||"",r=Array.isArray(o)?o.join(", "):o;this.__setTextContent(t,r),t.title=r}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const xl=qt("grid-text-column");customElements.define(xl,Il);const jl=qt("grid-custom-column");customElements.define(jl,class extends Il{_defaultRenderer(t,e,i){const o=i.item[this.path]||"",r=Array.from(this.children).find(t=>{const e=t.getAttribute("data-pattern");return!e||new RegExp(e).test(o)});if(!r)return void this.__setTextContent(t,i.item[this.path]||"");const n=r.cloneNode(!0);n.textContent=o||"",t.innerHTML="",t.append(n)}});const Tl=()=>{const t=document.createElement("descope-checkbox");return t.setAttribute("bordered","true"),t.setAttribute("size","xs"),t},zl=t=>!!t.items?.length&&t.selectedItems.length===t.items.length;class Dl extends g.${_onHeaderRendererOrBindingChanged(){}_headerRenderer(t){const e=t.parentNode;let i=t.querySelector("descope-checkbox");i||(i=Tl(),i.addEventListener("input",()=>{const t=zl(e);e.selectedItems=t?[]:e.items}),t.appendChild(i)),i.setAttribute("checked",zl(e))}_defaultRenderer(t,e,i){const o=t.parentNode;let r=t.querySelector("descope-checkbox");r||(r=Tl(),t.appendChild(r)),r.onchange=()=>{r.checked?o.selectItem(i.item):o.deselectItem(i.item)},r.setAttribute("checked",i.selected)}}const Sl=qt("grid-selection-column");customElements.define(Sl,Dl);class vl extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=e._gridValue,r=o.detailsOpenedItems?.indexOf(i.item)??-1,n=-1!==r,s=document.createElement("vaadin-icon");s.icon=n?"vaadin:angle-up":"vaadin:angle-down",s.classList.add("toggle-details-button",n?"opened":"closed"),t.innerHTML="",t.append(s),s.onclick=()=>{o.detailsOpenedItems=n?o.detailsOpenedItems.toSpliced(r,1):[...o.detailsOpenedItems,i.item]}}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const Ll=qt("grid-item-details-column");customElements.define(Ll,vl),customElements.define(To,So),customElements.define(vo,Lo);const Cl=t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value},Al=qt("code-snippet");let wl=class extends($e({componentName:Al,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["lang","inline","copy-button"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <code class="hljs"></code>\n </div>\n ',f("\n :host {\n display: inline-block;\n width: 100%;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n code {\n grid-area: 1 / 1;\n display: block;\n width: 100%;\n min-height: 1em;\n overflow-x: auto;\n }\n pre {\n margin: 0;\n }\n .copy-btn {\n grid-area: 1 / 1;\n place-self: start end;\n margin: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border-style: solid;\n cursor: pointer;\n opacity: 0;\n transition: opacity 150ms ease, background 150ms ease;\n }\n .wrapper:hover .copy-btn,\n .copy-btn:focus-visible {\n opacity: 1;\n }\n .copy-btn descope-icon {\n width: 16px;\n height: 16px;\n pointer-events: none;\n flex-shrink: 0;\n }\n .copy-btn .check-icon {\n display: none;\n }\n .copy-btn.copied .check-icon {\n display: block;\n }\n .copy-btn.copied descope-icon:not(.check-icon) {\n display: none;\n }\n ",this)}init(){super.init?.(),this.lang=this.getAttribute("lang"),this.isInline="true"===this.getAttribute("inline"),"true"===this.getAttribute("copy-button")&&this.#Bt(),$t(this,this.#Pt.bind(this))}get contentNode(){return this.shadowRoot.querySelector("code")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("inline"===t&&(this.isInline=i),"lang"===t&&(this.lang=i),"copy-button"===t&&("true"===i?this.#Bt():this.#Ft()),this.#Pt())}#Bt(){if(this.shadowRoot.querySelector(".copy-btn"))return;const t=document.createElement("button");t.className="copy-btn",t.type="button",t.setAttribute("aria-label","Copy code");const e=document.createElement("descope-icon");e.setAttribute("src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogIDxyZWN0IHg9IjkiIHk9IjkiIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgcng9IjIiIHJ5PSIyIj48L3JlY3Q+CiAgPHBhdGggZD0iTTUgMTVINGEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg5YTIgMiAwIDAgMSAyIDJ2MSI+PC9wYXRoPgo8L3N2Zz4K");const i=document.createElement("descope-icon");i.setAttribute("src","data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iY2hlY2staWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cG9seWxpbmUgcG9pbnRzPSIyMCA2IDkgMTcgNCAxMiI+PC9wb2x5bGluZT4KPC9zdmc+Cg=="),i.classList.add("check-icon"),t.appendChild(e),t.appendChild(i),t.addEventListener("click",()=>this.#Gt()),this.shadowRoot.querySelector(".wrapper").appendChild(t)}#Ft(){this.shadowRoot.querySelector(".copy-btn")?.remove()}#Gt(){const t=this.shadowRoot.querySelector(".copy-btn");navigator.clipboard.writeText(Cl(this.textContent)).then(()=>{t.classList.add("copied"),setTimeout(()=>t.classList.remove("copied"),2e3)}).catch(()=>{})}#Pt(){const t=Cl(this.textContent),e=this.lang;if(!e)return void(this.contentNode.textContent=t);const{value:i}=M.A.highlight(t,{language:e});this.contentNode.innerHTML=(t=>this.isInline?t:`<pre>${t}</pre>`)(i)}};const fl={selector:()=>".copy-btn"},{root:El,docTag:kl,keyword:Ol,metaKeyword:Vl,templateTag:Wl,templateVariable:Yl,type:Ul,variableLanguage:Rl,title:Ql,titleClass:Zl,titleClassInherited:Bl,titleFunction:Pl,attr:Fl,attribute:Gl,literal:Hl,meta:Jl,number:$l,operator:_l,variable:Xl,selectorAttr:ql,selectorClass:Kl,selectorId:td,regexp:ed,string:id,metaString:od,builtIn:rd,symbol:nd,comment:sd,code:ad,formula:ld,name:dd,quote:cd,selectorTag:ud,selectorPseudo:pd,subst:hd,section:gd,bullet:Md,emphasis:md,strong:yd,addition:bd,deletion:Nd,charEscape:Id,link:xd,params:jd,property:Td,punctuation:zd,tag:Dd}={root:{selector:()=>".hljs"},docTag:{selector:()=>".hljs-doctag"},keyword:{selector:()=>".hljs-keyword"},metaKeyword:{selector:()=>".hljs-meta .hljs-keyword"},templateTag:{selector:()=>".hljs-template-tag"},templateVariable:{selector:()=>".hljs-template-variable"},type:{selector:()=>".hljs-type"},variableLanguage:{selector:()=>".hljs-variable.language"},title:{selector:()=>".hljs-title"},titleClass:{selector:()=>".hljs-title.class_"},titleClassInherited:{selector:()=>".hljs-title.class_.inherited__"},titleFunction:{selector:()=>".hljs-title.function_"},attr:{selector:()=>".hljs-attr"},attribute:{selector:()=>".hljs-attribute"},literal:{selector:()=>".hljs-literal"},meta:{selector:()=>".hljs-meta"},number:{selector:()=>".hljs-number"},operator:{selector:()=>".hljs-operator"},variable:{selector:()=>".hljs-variable"},selectorAttr:{selector:()=>".hljs-selector-attr"},selectorClass:{selector:()=>".hljs-selector-class"},selectorId:{selector:()=>".hljs-selector-id"},regexp:{selector:()=>".hljs-regexp"},string:{selector:()=>".hljs-string"},metaString:{selector:()=>".hljs-meta .hljs-string"},builtIn:{selector:()=>".hljs-built_in"},symbol:{selector:()=>".hljs-symbol"},comment:{selector:()=>".hljs-comment"},code:{selector:()=>".hljs-code"},formula:{selector:()=>".hljs-formula"},name:{selector:()=>".hljs-name"},quote:{selector:()=>".hljs-quote"},selectorTag:{selector:()=>".hljs-selector-tag"},selectorPseudo:{selector:()=>".hljs-selector-pseudo"},subst:{selector:()=>".hljs-subst"},section:{selector:()=>".hljs-section"},bullet:{selector:()=>".hljs-bullet"},emphasis:{selector:()=>".hljs-emphasis"},strong:{selector:()=>".hljs-strong"},addition:{selector:()=>".hljs-addition"},deletion:{selector:()=>".hljs-deletion"},charEscape:{selector:()=>".hljs-char.escape"},link:{selector:()=>".hljs-link"},params:{selector:()=>".hljs-params"},property:{selector:()=>".hljs-property"},punctuation:{selector:()=>".hljs-punctuation"},tag:{selector:()=>".hljs-tag"}},Sd=Pt(Ze({mappings:{rootBgColor:{...El,property:"background-color"},rootTextColor:{...El,property:"color"},docTagTextColor:{...kl,property:"color"},keywordTextColor:{...Ol,property:"color"},metaKeywordTextColor:{...Vl,property:"color"},templateTagTextColor:{...Wl,property:"color"},templateVariableTextColor:{...Yl,property:"color"},typeTextColor:{...Ul,property:"color"},variableLanguageTextColor:{...Rl,property:"color"},titleTextColor:{...Ql,property:"color"},titleClassTextColor:{...Zl,property:"color"},titleClassInheritedTextColor:{...Bl,property:"color"},titleFunctionTextColor:{...Pl,property:"color"},attrTextColor:{...Fl,property:"color"},attributeTextColor:{...Gl,property:"color"},literalTextColor:{...Hl,property:"color"},metaTextColor:{...Jl,property:"color"},numberTextColor:{...$l,property:"color"},operatorTextColor:{..._l,property:"color"},variableTextColor:{...Xl,property:"color"},selectorAttrTextColor:{...ql,property:"color"},selectorClassTextColor:{...Kl,property:"color"},selectorIdTextColor:{...td,property:"color"},regexpTextColor:{...ed,property:"color"},stringTextColor:{...id,property:"color"},metaStringTextColor:{...od,property:"color"},builtInTextColor:{...rd,property:"color"},symbolTextColor:{...nd,property:"color"},commentTextColor:{...sd,property:"color"},codeTextColor:{...ad,property:"color"},formulaTextColor:{...ld,property:"color"},nameTextColor:{...dd,property:"color"},quoteTextColor:{...cd,property:"color"},selectorTagTextColor:{...ud,property:"color"},selectorPseudoTextColor:{...pd,property:"color"},substTextColor:{...hd,property:"color"},sectionTextColor:{...gd,property:"color"},bulletTextColor:{...Md,property:"color"},emphasisTextColor:{...md,property:"color"},strongTextColor:{...yd,property:"color"},additionTextColor:{...bd,property:"color"},additionBgColor:{...bd,property:"background-color"},deletionTextColor:{...Nd,property:"color"},deletionBgColor:{...Nd,property:"background-color"},charEscapeTextColor:{...Id,property:"color"},linkTextColor:{...xd,property:"color"},paramsTextColor:{...jd,property:"color"},propertyTextColor:{...Td,property:"color"},punctuationTextColor:{...zd,property:"color"},tagTextColor:{...Dd,property:"color"},copyButtonSize:[{...fl,property:"width"},{...fl,property:"height"}],copyButtonBorderRadius:{...fl,property:"border-radius"},copyButtonBorderWidth:{...fl,property:"border-width"},copyButtonBorderColor:{...fl,property:"border-color"},copyButtonBgColor:{...fl,property:"background-color"},copyButtonHoverBgColor:{selector:()=>".copy-btn:hover",property:"background-color"},copyButtonColor:{...fl,property:"color"}}}),Be,Pe)(wl);customElements.define(Al,Sd);const vd=t=>{const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e},Ld=t=>{const e=document.createElement("div");return e.textContent=t,e.innerHTML},Cd=t=>(t=>t?.constructor===Object)(t)?"object":Array.isArray(t)?"array":/^\s*<[\s\S]*>/.test(t)?"xml":"text",Ad=(t,e)=>`<descope-code-snippet copy-button="true" lang="${e}" class="row-details__value code">${Ld(t)}</descope-code-snippet>`,wd=t=>`<div class="row-details__value text" title="${t}">${Ld(t)}</div>`,fd=t=>Ad(JSON.stringify(t,null,2),"json"),Ed=t=>{const e=Cd(t);return"object"===e?fd(t):"xml"===e?(t=>Ad(t,"xml"))(t):"array"===e?t.some(t=>"object"===Cd(t))?fd(t):wd(t.join(",\n")):wd(t)},kd=qt("grid"),{host:Od,headerRow:Vd,headerRowCell:Wd,contentRow:Yd,firstRow:Ud,sortIndicators:Rd,activeSortIndicator:Qd,selectedRow:Zd,rowSeparator:Bd,resizeHandle:Pd,toggleDetailsPanelButton:Fd,toggleDetailsPanelButtonOpened:Gd,toggleDetailsPanelButtonClosed:Hd,detailsPanel:Jd,detailsPanelLabels:$d,selectedRowCell:_d,detailsPanelContent:Xd}={host:{selector:()=>"vaadin-grid"},headerRow:{selector:()=>"::part(header-cell)"},headerRowCell:{selector:()=>"vaadin-grid::part(header-cell)"},contentRow:{selector:()=>"::part(cell)"},firstRow:{selector:()=>"::part(first-header-row-cell)"},selectedRow:{selector:()=>"::part(selected-row)"},selectedRowCell:{selector:()=>"::part(selected-row-cell)"},sortIndicators:{selector:()=>"vaadin-grid-sorter::part(indicators)"},activeSortIndicator:{selector:()=>"vaadin-grid-sorter[direction]"},rowSeparator:{selector:()=>"vaadin-grid::part(body-cell)"},resizeHandle:{selector:()=>"::part(resize-handle)"},toggleDetailsPanelButton:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button"},toggleDetailsPanelButtonOpened:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.opened"},toggleDetailsPanelButtonClosed:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.closed"},detailsPanel:{selector:()=>"vaadin-grid::part(details-cell)"},detailsPanelLabels:{selector:()=>"vaadin-grid .row-details__label"},detailsPanelContent:{selector:()=>"vaadin-grid .row-details"}},qd=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostHeight:{selector:()=>":host",property:"height"},hostMinHeight:{selector:()=>":host",property:"min-height"},fontFamily:[{...Vd},{...Yd}],fontSize:[{...Vd},{...Yd}],fontWeight:{...Yd},valueTextColor:{...Yd,property:"color"},backgroundColor:[{...Od,property:"background-color"},{...Yd,property:"background-color"}],sortIndicatorsColor:{...Rd,property:"color"},activeSortIndicator:{...Qd,property:"color"},borderColor:{...Od,property:"border-color"},borderWidth:{...Od,property:"border-width"},borderStyle:{...Od,property:"border-style"},borderRadius:{...Od,property:"border-radius"},selectedBackgroundColor:[{...Zd,property:"background-color"},{..._d,property:"background-color"}],headerRowTextColor:{...Wd,property:"color"},separatorColor:[{...Ud,property:"border-bottom-color"},{...Bd,property:"border-top-color"}],resizeHandleColor:{...Pd,property:"background-color"},hostDirection:{...Od,property:"direction",fallback:"ltr"},toggleDetailsPanelButtonSize:[{...Fd,property:"width"},{...Fd,property:"height"}],toggleDetailsPanelButtonOpenedColor:{...Gd,property:"color"},toggleDetailsPanelButtonClosedColor:{...Hd,property:"color"},toggleDetailsPanelButtonCursor:{...Fd,property:"cursor"},detailsPanelBackgroundColor:{...Jd,property:"background-color"},detailsPanelBorderTopColor:{...Jd,property:"border-top-color"},detailsPanelLabelsColor:{...$d,property:"color"},detailsPanelLabelsFontSize:{...$d,property:"font-size"},detailsPanelItemsGap:{...Xd,property:"grid-gap"},detailsPanelPadding:{...Xd,property:"padding"}}}),Be,Pe,t=>class extends t{#Ht;init(){super.init?.(),this.handleColumns(),this.forwardSelectedItemsChange(),this.baseElement._mapSorters=()=>{};const t=this.baseElement._updateDetailsCellHeight;this.baseElement._updateDetailsCellHeight=e=>{e&&t.call(this.baseElement,e)},this.baseElement.rowDetailsRenderer=this.#Jt.bind(this),this.baseElement.addEventListener("wheel",t=>{t.target.closest("descope-code-snippet")&&t.stopPropagation()},!0)}#Jt=async(t,e,i)=>{t.addEventListener("mousedown",t=>t.stopImmediatePropagation(),!0);const o=this.getRowDetailsTemplate(i.item);t.innerHTML="",t.append(o.content.cloneNode(!0))};getRowDetailsTemplate(t){const e=this.#Ht.reduce((t,{path:e,header:i})=>e&&i?{...t,[e]:i}:t,{}),i=this.rowDetailsRenderer?.(t,e)??((t,e)=>`\n <div class="row-details">\n ${Object.entries(t).map(([t,i])=>{const o=e[t]||t.replace(/([A-Z])/g," $1").trim().split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");return(t=>{const e=Cd(t);return"object"===e||"xml"===e||"array"===e&&t.some(t=>"object"===Cd(t))})(i)?`<details class="row-details__item">\n <summary class="row-details__label">${o}</summary>\n ${Ed(i)}\n </details>`:`<div class="row-details__item">\n <div class="row-details__label">${o}</div>\n ${Ed(i)}\n </div>`}).join("\n")}\n</div>\n `)(t,e);switch(!0){case i instanceof HTMLTemplateElement:return i;case"string"==typeof i:return Object.assign(document.createElement("template"),{innerHTML:i});default:throw new Error("rowDetailsRenderer should return a string or a template")}}forwardSelectedItemsChange(){this.baseElement.addEventListener("selected-items-changed",t=>{this.dispatchEvent(new CustomEvent("selected-items-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"columns"===t&&this.setColumnsDataFromAttr()}handleColumns(){this.columnsAttr?this.setColumnsDataFromAttr():this.children.length&&this.setColumnsFromChildren()}setColumnsFromChildren(){this.#Ht=Array.from(this.children).map(t=>({path:t.getAttribute("path"),header:t.getAttribute("header"),type:t.localName.match("^descope-grid-(\\w+)-column$")?.[1]||"text",attrs:["frozen","resizable","auto-width","status"].reduce((e,i)=>{const o=t.getAttribute(i);return o&&(e[i]=o),e},{})}))}get columnsAttr(){return this.getAttribute("columns")}setColumnsDataFromAttr(){try{const t=JSON.parse(this.columnsAttr);vd(t)&&(this.columns=t)}catch(t){console.error('could not parse data string from attribute "columns" -',t.message)}}#$t=({path:t,header:e,type:i,attrs:o})=>{const r=`descope-grid-${i}-column`;return`<${r} header="${e}" path="${t}" ${Object.entries(o).map(([t,e])=>`${t}="${e}"`).join(" ")}></${r}>`};get renderColumn(){return this.#$t}set renderColumn(t){this.#$t=t,this.renderColumns()}getColumnsTemplate(){return this.#Ht?.reduce?.((t,e)=>t+(this.renderColumn?.(e||{})||""),"")}reassignRowDetailsRenderer(){this.baseElement.rowDetailsRenderer=null,setTimeout(()=>{this.baseElement.rowDetailsRenderer=this.#Jt.bind(this)},0)}renderColumns(){const t=this.getColumnsTemplate();t&&(this.reassignRowDetailsRenderer(),this.innerHTML=t)}get grid(){return this.shadowRoot.querySelector("vaadin-grid")}get data(){return this.grid.items}set data(t){if(vd(t)&&this.grid.items!==t&&(this.grid.items=t,this.grid.selectedItems)){const t=new Set(this.grid.items.map(t=>t[this.uniqueColumnId]??t)),e=this.grid.selectedItems.filter(e=>t.has(e[this.uniqueColumnId]??e));this.grid.selectedItems.length!==e.length&&(this.grid.selectedItems=e)}}get columns(){return this.#Ht}set columns(t){this.#Ht=t,this.renderColumns()}get paths(){return this.columns.map(t=>t.path)}get uniqueColumnId(){return this.getAttribute("unique-column-id")}})(Xe({delegatesFocus:!1,slots:[""],wrappedEleName:"vaadin-grid",style:()=>`\n /*css*/\n vaadin-grid {\n overflow: hidden;\n height: 100%;\n min-height: 300px;\n }\n vaadin-grid-cell-content {\n display: flex;\n }\n vaadin-grid::part(selected-row-cell) {\n background-image: none;\n box-shadow: none;\n background-color: inherit;\n }\n vaadin-grid::part(details-cell) {\n border-top-style: dashed;\n border-top-width: 1px;\n }\n vaadin-grid .row-details {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(max(200px, calc(100%/4 - var(${qd.cssVarList.detailsPanelItemsGap}))), 1fr));\n width: 100%;\n }\n vaadin-grid .row-details__item:has(.row-details__value.code) {\n grid-column: 1 / -1;\n order: 2;\n }\n vaadin-grid details.row-details__item {\n padding: 0;\n }\n vaadin-grid details.row-details__item > summary.row-details__label {\n cursor: pointer;\n list-style: revert;\n display: revert;\n }\n vaadin-grid .row-details__value.text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n }\n vaadin-grid .row-details__value.code {\n margin-top: 5px;\n overflow-x: auto;\n font-size: 0.85em;\n }\n vaadin-grid vaadin-icon.toggle-details-button {\n margin: auto;\n }\n /*!css*/\n\t\t`,excludeAttrsSync:["columns","tabindex","style"],componentName:kd}));customElements.define(kd,qd);const Kd=qt("modal"),tc=["opened"],ec=Pt(Ze({mappings:{overlayBackdropColor:{property:()=>ec.cssVarList.overlay.backdropColor},overlayBackgroundColor:{property:()=>ec.cssVarList.overlay.backgroundColor},overlayShadow:{property:()=>ec.cssVarList.overlay.shadow},overlayWidth:{property:()=>ec.cssVarList.overlay.width},overlayBorderWidth:{property:()=>ec.cssVarList.overlay.borderWidth},overlayBorderStyle:{property:()=>ec.cssVarList.overlay.borderStyle},overlayBorderColor:{property:()=>ec.cssVarList.overlay.borderColor},overlayBorderRadius:{property:()=>ec.cssVarList.overlay.borderRadius}}}),ni({name:"overlay",selector:"",mappings:{hostDisplay:{selector:()=>":host(.descope-modal)",property:"display",important:!0},backgroundColor:[{selector:()=>"::part(content)",property:"background-color"},{selector:()=>"::part(overlay)",property:"background-color"}],backdropColor:{selector:()=>"::part(backdrop)",property:"background-color"},borderStyle:{selector:()=>"::part(content)",property:"border-style"},borderWidth:{selector:()=>"::part(content)",property:"border-width"},borderColor:{selector:()=>"::part(content)",property:"border-color"},borderRadius:{selector:()=>"::part(content)",property:"border-radius "},width:{selector:()=>"::part(overlay)",property:"width"},shadow:{selector:()=>"::part(overlay)",property:"box-shadow"}},forward:{include:!1,attributes:["opened","style"]}}),Be,Pe,t=>class extends t{static get observedAttributes(){return[].concat(t.observedAttributes||[],tc)}get opened(){return"true"===this.getAttribute("opened")}handleOpened(){this.opened?this.style.display="":this.style.display="none"}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"opened"===t&&this.handleOpened()}init(){super.init?.(),this.style.display="none",setTimeout(()=>{this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay").appendChild(document.createElement("slot")),this.#it(),te(this,this.baseElement,{includeAttrs:["opened"]}),this.handleOpened()})}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay");t._attachOverlay=()=>{t.bringToFront(),f("\n :host {\n display: flex!important;\n }\n ",this.baseElement)},t._detachOverlay=()=>{this.baseElement.style.display="none"},t._enterModalState=()=>{},t.close=()=>!1}})(Xe({slots:[""],wrappedEleName:"vaadin-dialog",style:()=>"\n vaaadin-dialog {\n display: flex!important;\n }\n ",excludeAttrsSync:["tabindex","opened","style"],componentName:Kd}));customElements.define(Kd,ec);const ic=window.customElements.get("vaadin-notification-container");if(!ic)throw new Error("could not get vaadin-notification-container class");customElements.define(qt("notification-container"),class extends ic{});const oc=qt("notification-card"),rc={content:()=>"vaadin-notification-card::part(content)",overlay:()=>"vaadin-notification-card::part(overlay)"},nc=Pt(Ze({mappings:{hostMinWidth:{selector:rc.content,property:"min-width"},fontFamily:{},fontSize:{},backgroundColor:{selector:rc.content},textColor:{property:"color"},boxShadow:{},borderWidth:{selector:rc.content,property:"border-width"},borderColor:{selector:rc.content,property:"border-color"},borderStyle:{selector:rc.content,property:"border-style"},borderRadius:[{selector:rc.content,property:"border-radius"},{selector:rc.overlay,property:"border-radius"}],verticalPadding:[{selector:rc.content,property:"padding-top"},{selector:rc.content,property:"padding-bottom"}],horizontalPadding:[{selector:rc.content,property:"padding-right"},{selector:rc.content,property:"padding-left"}]}}),t=>class extends t{close(){this.baseElement.addEventListener("animationend",()=>{this.remove(),this.dispatchEvent(new Event("card-closed"))}),this.setAttribute("opened","false")}constructor(){super(),this.baseElement.innerHTML='\n <div part="root">\n <div part="content">\n <slot></slot>\n </div>\n <div part="close">\n <slot name="close"></slot>\n </div>\n </div>\n ',this.closeEle=this.shadowRoot.querySelector('[part="close"]')}init(){super.init?.(),this.closeEle.onclick=()=>{this.close()}}})(Xe({slots:[],wrappedEleName:"vaadin-notification-card",style:()=>'\n vaadin-notification-card {\n box-shadow: none;\n }\n ::part(overlay) {\n box-shadow: none;\n background: none;\n }\n\n [part="close"] {\n cursor: pointer;\n display: flex;\n }\n\n [part="content"] {\n display: flex;\n align-items: center;\n flex-grow: 1;\n }\n\n [part="root"] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n ',excludeAttrsSync:["tabindex","style"],componentName:oc}));customElements.define(oc,nc);const sc=qt("notification"),ac=Pt(Be,Pe,Ge,t=>class e extends t{#_t;constructor(){super();const t=this;Object.defineProperty(this.baseElement,"_container",{get:()=>(e._container||(e._container=document.createElement("descope-notification-container"),e._container.style.position="absolute",document.body.appendChild(e._container)),e._container.isConnected||setTimeout(()=>t.parentNode.appendChild(e._container)),e._container)}),Object.defineProperty(this.baseElement,"_card",{get:()=>t.#_t}),this.baseElement._removeNotificationCard=this.close.bind(this)}close(){this.#_t.close()}init(){super.init?.(),this.createCard(),te(this,this.#_t),Xt(this.#_t,this,{includeAttrs:["opened"]}),this.baseElement.renderer=t=>{Array.from(this.childNodes).forEach(e=>t.appendChild(e))}}get isContainerEmpty(){return!e._container.children.length}removeContainer(){e._container.remove()}removeNotification(){this.remove(),this.isContainerEmpty&&this.removeContainer()}createCard(){this.#_t=document.createElement("descope-notification-card"),this.#_t.addEventListener("card-closed",this.removeNotification.bind(this))}})(Xe({wrappedEleName:"vaadin-notification",excludeAttrsSync:["tabindex","style"],componentName:sc}));customElements.define(sc,ac);const lc=qt("mappings-field-internal"),dc=ci({componentName:lc,baseSelector:"div"}),cc=qt("mappings-field"),{host:uc,helperText:pc,errorMessage:hc,mappingItem:gc,labels:Mc,labelsText:mc,valueLabel:yc,attrLabel:bc,separator:Nc,labelsContainer:Ic}={host:{selector:()=>":host"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},mappingItem:{selector:"descope-mapping-item::part(wrapper)"},labels:{selector:'descope-mappings-field-internal [part="labels"] descope-text'},labelsText:{selector:'descope-mappings-field-internal [part="labels"] descope-text::part(text-wrapper)'},valueLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="value-label"]'},attrLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="attr-label"]'},separator:{selector:"descope-mapping-item::part(separator)"},labelsContainer:{selector:'descope-mappings-field-internal [part="labels"]'}},xc=Pt(Ze({mappings:{hostWidth:{...uc,property:"width"},hostDirection:{...uc,property:"direction"},fontSize:[{},uc,{...Nc,property:"margin-top"}],fontFamily:[pc,hc,Mc],separatorFontSize:{...Nc,property:"font-size"},labelsFontSize:{...mc,property:"font-size"},labelsLineHeight:[{...mc,property:"line-height"},{...Mc,property:"line-height"}],labelTextColor:[{...Mc,property:Ci.cssVarList.textColor},{...Nc,property:"color"}],itemMarginBottom:{...gc,property:"margin-bottom"},valueLabelMinWidth:{...yc,property:"min-width"},attrLabelMinWidth:{...bc,property:"min-width"},labelsMarginBottom:{...Ic,property:"margin-bottom"},separatorWidth:{},removeButtonWidth:{}}}),Be,ri({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),Pe,t=>class extends t{get defaultValues(){const t=this.getAttribute("default-values");if(t)try{return JSON.parse(t)}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){const t=this.defaultValues;Object.keys(t).length>0&&(this.inputElement.value=t)}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${lc}\n tabindex="-1"\n ></${lc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(lc),te(this,this.inputElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","default-values","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),Xt(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValues()}})(Xe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-mappings-field-internal [part="labels"] {\n display: none;\n grid-template-columns: 1fr var(${xc.cssVarList.separatorWidth}) 1fr var(${xc.cssVarList.removeButtonWidth});\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"],\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n ${Ci.cssVarList.fontWeight}: 500;\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"] {\n grid-column: 1 / span 1;\n }\n\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n grid-column: 3 / span 1;\n }\n\n descope-mapping-item::part(wrapper) {\n display: grid;\n grid-template-columns: 1fr var(${xc.cssVarList.separatorWidth}) 1fr var(${xc.cssVarList.removeButtonWidth});\n }\n `,excludeAttrsSync:["tabindex","label-value","label-attr","button-label","options","error-message","style"],componentName:cc}));customElements.define(lc,class extends dc{#Xt;static get observedAttributes(){return[].concat(dc.observedAttributes||[],["label-value","label-attr","button-label","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"])}isValidDataType(t){try{return t.every(t=>"object"==typeof t&&!Array.isArray(t)&&1===Object.getOwnPropertyNames(t).length&&"string"==typeof t[Object.keys(t)[0]]&&""!==t[Object.keys(t)[0]].trim())}catch(t){return!1}}get labelValue(){return this.getAttribute("label-value")||"Value"}get labelAttr(){return this.getAttribute("label-attr")||"Attribute"}get buttonLabel(){return this.getAttribute("button-label")||"Add mapping"}get options(){return this.getAttribute("options")||[]}addNewMappingItem(t){const e=document.createElement("descope-mapping-item");return e.setAttribute("bordered","true"),this.mappingsContainerEle.appendChild(e),te(this,e,{includeAttrs:["size","full-width","separator","options","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),setTimeout(()=>{this.setCustomValidity(""),e.addEventListener("mapping-item-removed",()=>{e===this.#Xt&&(this.resetInvalidIndication(),this.#Xt=void 0),e.remove(),this.setCustomValidity("")}),this.dispatchEvent(new CustomEvent("mapping-item-added",{bubbles:!0,composed:!0})),t&&e.focus()},0),e}get items(){return Array.from(this.mappingsContainerEle.querySelectorAll("descope-mapping-item"))}get value(){return this.items.reduce((t,e)=>e.value?[...t,e.value]:t,[])}set value(t){if(!this.isValidDataType(t))return void console.error("received invalid value to set - should be an array of objects with one key-value pair");const e=this.items;if(e.length>t.length)for(let i=t.length;i<e.length;i++)this.mappingsContainerEle.removeChild(e[i]);t.forEach((t,i)=>{const o=e[i];if(o)o.value=t;else{const e=this.addNewMappingItem(!1);setTimeout(()=>{e.value=t},0)}})}constructor(){super(),this.innerHTML='\n <div class="labels-container" part="labels"></div>\n <div class="mappings-container"></div>\n <div class="button-container"></div>\n ',this.labelsEle=this.querySelector(".labels-container"),this.mappingsContainerEle=this.querySelector(".mappings-container"),this.buttonContainer=this.querySelector(".button-container")}initLabels(){this.labelsEle.innerHTML=`\n <descope-text variant="body2" part="value-label">${this.labelValue}</descope-text>\n <descope-text variant="body2" part="attr-label">${this.labelAttr}</descope-text>\n `}initAddButton(){this.buttonContainer.innerHTML=`\n <descope-button variant="link" mode="primary" disabled="${this.isDisabled}">\n <vaadin-icon icon="vaadin:plus"></vaadin-icon>\n ${this.buttonLabel}\n </descope-button>\n `;const t=this.querySelector("descope-button");t.onclick=()=>{this.addNewMappingItem(!0)},te(this,t,{includeAttrs:["disabled"]})}#qt(){this.labelsEle.style.display=this.items.length?"grid":"none"}init(){this.addEventListener("focus",t=>{t.isTrusted&&(this.#Xt||this.items[0]||this.querySelector("descope-button")).focus()}),super.init?.(),this.initLabels(),this.initAddButton(),this.addEventListener("input",()=>{this.mappingsContainerEle.contains(this.#Xt)&&this.#Xt?.checkValidity()&&(this.resetInvalidIndication(),this.#Xt.removeAttribute("invalid"),this.#Xt=void 0)}),$t(this.mappingsContainerEle,this.#qt.bind(this))}resetInvalidIndication(){this.removeAttribute("invalid")}getValidity(){const t=this.items.find(t=>!t.checkValidity());return t?t.validity:{}}#Kt(t){t&&(this.#Xt=this.items.find(t=>!t.checkValidity()),this.#Xt?.reportValidity(),this.#Xt?.setAttribute("invalid","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"label-value"!==t&&"label-attr"!==t||this.initLabels(),"button-label"===t&&this.initAddButton(),"invalid"===t&&this.#Kt("true"===i),"readonly"===t&&this.toggleAttribute("inert","true"===i)}});const jc=qt("mapping-item"),Tc=["size","bordered","readonly","full-width","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],zc=ci({componentName:jc,baseSelector:"div"});customElements.define(jc,class extends zc{static get observedAttributes(){return[].concat(zc.observedAttributes||[],Tc,["separator","options","invalid","disabled"])}get separator(){return this.getAttribute("separator")||"map to"}get value(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{[t]:e}:null}set value(t){if(1!==Object.entries(t).length)return void console.error("descope-mapping item expected expects only one key-value pair in the value but received: ",t);const[e,i]=Object.entries(t)[0];this.valueInput.value=i,this.attributeInput.value=e,this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper" part="wrapper">\n <descope-text-field required="true"></descope-text-field>\n <div class="separator" part="separator">${this.separator}</div>\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n required="true"\n >\n </descope-combo-box>\n <descope-button variant="link" mode="primary">\n <vaadin-icon icon="vaadin:minus"></vaadin-icon>\n </descope-button>\n </div>\n\t`,f("\n .wrapper {\n display: flex;\n }\n .separator {\n text-align: center;\n flex-shrink: 0;\n }\n ",this),this.valueInput=this.shadowRoot.querySelector("descope-text-field"),this.attributeInput=this.shadowRoot.querySelector("descope-combo-box"),this.inputs=[this.valueInput,this.attributeInput],this.removeButton=this.shadowRoot.querySelector("descope-button"),te(this,this.valueInput,{includeAttrs:Tc}),te(this,this.attributeInput,{includeAttrs:[...Tc,"options"],mapAttrs:{options:"data"}}),te(this,this.removeButton,{includeAttrs:["disabled"]})}initRemoveButton(){this.removeButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("mapping-item-removed",{bubbles:!0,composed:!0})))}init(){super.init?.(),this.initRemoveButton()}getValidity(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{}:{badInput:!0}}reportValidity(){this.inputs.forEach(t=>t.reportValidity())}focus(){(this.checkValidity()||!this.valueInput.checkValidity()?this.valueInput:this.attributeInput).focus()}handleSeparatorChange(){this.shadowRoot.querySelector(".separator").textContent=this.separator}#te(t){"true"===t&&(this.valueInput.value||(this.valueInput.setAttribute("invalid","true"),this.valueInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)),this.attributeInput.value||(this.attributeInput.setAttribute("invalid","true"),this.attributeInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"separator"===t&&this.handleSeparatorChange(),"invalid"===t&&this.#te(i)}}),customElements.define(cc,xc);const Dc=C("badge");class Sc extends(yt({componentName:Dc,baseSelector:":host > div"})){static get observedAttributes(){return["data-attachment-size","shrink-to-indicator-threshold"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div>\n <slot></slot>\n\t\t</div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n :host > div {\n position: relative;\n width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ",this)}get shrinkToIndicatorThreshold(){return this.getAttribute("shrink-to-indicator-threshold")||65}#ee(t){this.toggleAttribute("shrink-to-indicator",parseFloat(t)<this.shrinkToIndicatorThreshold)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"data-attachment-size"===t&&e!==i&&this.#ee(i)}}const vc=T(ct({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostHeight:[{selector:()=>":host",property:"height"}],hostDirection:{property:"direction"},fontFamily:{},fontSize:{},fontWeight:{},textTransform:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],borderWidth:{},borderStyle:{},borderColor:{},borderRadius:{},backgroundColor:{},textColor:{property:"color"},textAlign:{},boxShadow:{},textIndent:{}}}),ut,pt)(Sc),Lc=qt("user-attribute");class Cc extends($e({componentName:Lc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="secondary" class="label"></descope-text>\n <div class="content-wrapper">\n <descope-text st-text-align="auto" data-id="value-text" variant="body1" mode="primary" class="value"></descope-text>\n <div class="btn-wrapper">\n <descope-badge mode="default" bordered="true" size="xs"></descope-badge>\n <descope-button size="sm" data-id="delete-btn" variant="link" mode="primary">\n <slot name="delete-icon"></slot>\n </descope-button>\n <descope-button size="sm" data-id="edit-btn" variant="link" mode="primary">\n <slot name="edit-icon"></slot>\n </descope-button>\n </div>\n </div>\n </div>\n\t\t',f(`\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n container-type: inline-size;\n\t\t\t\t}\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n ::slotted(*) {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n @container (max-width: 529px) {\n .root {\n flex-wrap: wrap;\n }\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n flex-shrink: 0;\n }\n\n slot[name="edit-icon"],\n slot[name="delete-icon"] {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n }\n\n .content-wrapper {\n display: flex;\n flex-grow: 1;\n align-items: center;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n max-width: 100%;\n min-width: 0;\n }\n\n .label {\n flex-grow: 1;\n width: 100%;\n }\n\n .value {\n flex-grow: 1;\n }\n\n descope-badge {\n margin-inline-end: 10px;\n }\n\n .hidden {\n visibility: hidden;\n width: 0;\n }\n\n descope-text[data-id="label-text"].required:after {\n content: '*';\n color: var(${Ci.cssVarList.textColor});\n }\n\n :host([readonly="true"]) descope-button {\n visibility: hidden;\n width: 0;\n }\n `,this),this.deleteButton=this.shadowRoot.querySelector('descope-button[data-id="delete-btn"]'),this.editButton=this.shadowRoot.querySelector('descope-button[data-id="edit-btn"]'),this.badge=this.shadowRoot.querySelector("descope-badge"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]'),this.valueText=this.shadowRoot.querySelector('descope-text[data-id="value-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}onValueOrPlaceholderChange(){const t=this.value||this.placeholder,e=this.value?"primary":"secondary";this.valueText.innerText=t,this.valueText.setAttribute("title",t),this.valueText.setAttribute("mode",e)}onBadgeLabelChange(){this.badgeLabel?(this.badge.innerText=this.badgeLabel,this.badge.style.display=""):this.badge.style.display="none"}onBadgeTooltipTextChange(){this.badge.setAttribute("title",this.badgeTooltipText||this.badgeLabel)}updateButtonLabel(t,e){let i=t.querySelector("span.btn-label");e?(i||(i=document.createElement("span"),i.classList.add("btn-label"),t.appendChild(i)),i.innerText=e):i?.remove()}onIsRequiredChange(){this.labelText.classList.toggle("required",this.isRequired)}get label(){return this.getAttribute("label")||""}get value(){return this.getAttribute("value")||""}get placeholder(){return this.getAttribute("placeholder")||""}get isRequired(){return"true"===this.getAttribute("required")}get badgeLabel(){return this.getAttribute("badge-label")||""}get badgeTooltipText(){return this.getAttribute("badge-tooltip-text")||""}get editButtonLabel(){return this.getAttribute("edit-button-label")||""}get deleteButtonLabel(){return this.getAttribute("delete-button-label")||""}get isDeleteHidden(){return"true"===this.getAttribute("hide-delete")}init(){this.onLabelChange(),this.onValueOrPlaceholderChange(),this.onIsRequiredChange(),this.onBadgeLabelChange(),this.onBadgeTooltipTextChange(),this.updateButtonLabel(this.editButton,this.editButtonLabel),this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),this.handleDeleteButtonVisibility(),this.deleteButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("delete-clicked",{bubbles:!0,composed:!0}))),this.editButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("edit-clicked",{bubbles:!0,composed:!0}))),this.setDefaultChildren()}#ie(t,e){const i=document.createElement("descope-icon");i.setAttribute("src",t),i.setAttribute("src-dark",t),i.setAttribute("slot",e),this.appendChild(i)}setDefaultChildren(){this.children.length||(this.#ie("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Z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MTkgMC45OTIxNDkgMy4wMTYxOSAwLjk5MjE0OUgxMC4wMDAyWk0xMS4yNzIyIDIuNjI0MTVMMTIuNjE2MiA0LjExMjE1TDcuNzIwMTkgOS42ODAxNkM3LjUwNDE5IDkuOTIwMTYgNi44MzIxOSAxMC4yMzIyIDUuNjgwMTkgMTAuNjE2MkM1LjY1NjE5IDEwLjY0MDIgNS42MDgxOSAxMC42NDAyIDUuNTYwMTkgMTAuNjE2MkM1LjQ2NDE5IDEwLjU5MjIgNS4zOTIxOSAxMC40NzIyIDUuNDQwMTkgMTAuMzc2MkM1Ljc1MjE5IDkuMjQ4MTYgNi4wNDAxOSA4LjU1MjE2IDYuMjU2MTkgOC4zMTIxNkwxMS4yNzIyIDIuNjI0MTVaTTExLjkyMDIgMS44NTYxNUwxMy4yODgyIDAuMzIwMTQ5QzEzLjY0ODIgLTAuMDg3ODUxNiAxNC4yNzIyIC0wLjExMTg1MiAxNC42ODAyIDAuMjcyMTQ5QzE1LjA4ODIgMC42MzIxNDkgMTUuMTEyMiAxLjI4MDE1IDE0Ljc1MjIgMS42ODgxNUwxMy4yNjQyIDMuMzY4MTVMMTEuOTIwMiAxLjg1NjE1WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPgo=","edit-icon"))}static get observedAttributes(){return["label","value","placeholder","required","badge-label","badge-tooltip-text","edit-button-label","delete-button-label","hide-delete"].concat(super.observedAttributes)}handleDeleteButtonVisibility(){this.deleteButton.classList.toggle("hidden",this.isRequired||!this.value||this.isDeleteHidden)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"value"===t||"placeholder"===t?this.onValueOrPlaceholderChange():"required"===t?this.onIsRequiredChange():"badge-label"===t?this.onBadgeLabelChange():"badge-tooltip-text"===t?this.onBadgeTooltipTextChange():"edit-button-label"===t?this.updateButtonLabel(this.editButton,this.editButtonLabel):"delete-button-label"===t&&this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),"value"!==t&&"required"!==t&&"hide-delete"!==t||this.handleDeleteButtonVisibility())}}const{host:Ac,textFields:wc,buttons:fc,badge:Ec,labelText:kc,contentWrapper:Oc}={host:{selector:()=>":host"},textFields:{selector:"descope-text"},labelText:{selector:'descope-text[data-id="label-text"]'},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},contentWrapper:{selector:" .content-wrapper"}},Vc=Pt(Ze({mappings:{hostWidth:{...Ac,property:"width"},hostMinWidth:{...Ac,property:"min-width"},hostMaxWidth:{...Ac,property:"max-width"},hostDirection:[{...Ac,property:"direction"},{...wc,property:Ci.cssVarList.hostDirection},{...fc,property:ko.cssVarList.hostDirection},{...Ec,property:vc.cssVarList.hostDirection}],labelMinWidth:{...kc,property:"min-width"},contentMinWidth:{...Oc,property:"min-width"},badgeMaxWidth:{...Ec,property:"max-width"},itemsGap:[{property:"gap"},{...Oc,property:"gap"}],iconColor:[{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill}]}}),Be,Pe)(Cc);customElements.define(Dc,vc),customElements.define(Lc,Vc);const Wc=qt("user-auth-method");class Yc extends($e({componentName:Wc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <div class="text-wrapper">\n <slot name="method-icon"></slot>\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n\n <div class="btn-wrapper">\n <descope-button class="btn unfulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n <descope-button class="btn fulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="fulfilled-button-icon"></slot>\n </descope-button>\n <div class="status-indicator hidden">\n <vaadin-icon src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==></vaadin-icon>\n </div>\n <descope-button class="hidden-btn" size="sm" variant="link" mode="primary"></descope-button>\n </div>\n </div>\n\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n vaadin-icon {\n color: currentcolor;\n }\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n }\n\n .text-wrapper {\n display: flex;\n align-items: center;\n flex-grow: 1;\n min-width: 0;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n min-width: 0;\n }\n\n .status-indicator {\n width: 1em;\n height: 1em;\n display: flex;\n align-items: center;\n padding-inline-end: 1em;\n }\n\n .hidden {\n display: none;\n }\n\n .hidden-btn {\n width: 0;\n overflow: hidden;\n opacity: 0;\n pointer-events: none;\n }\n\n slot[name="method-icon"]:not(:empty) {\n display: inline-flex;\n align-items: center;\n }\n ',this),this.unfulfilledButton=this.shadowRoot.querySelector(".btn.unfulfilled"),this.fulfilledButton=this.shadowRoot.querySelector(".btn.fulfilled"),this.statusIndicator=this.shadowRoot.querySelector(".status-indicator"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.innerText=e):i&&t.removeChild(i)}onFulfilledChange(){this.isFulfilled?(this.unfulfilledButton.classList.add("hidden"),this.handleFulfilled()):(this.fulfilledButton.classList.add("hidden"),this.handleUnfulfilled())}handleFulfilled(){this.fulfilledButton.classList.toggle("hidden",!this.isFulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isFulfilledEditable)}handleUnfulfilled(){this.unfulfilledButton.classList.toggle("hidden",!this.isUnfulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isUnfulfilledEditable)}get label(){return this.getAttribute("label")||""}get unfulfilledButtonLabel(){return this.getAttribute("button-label")||""}get fulfilledButtonLabel(){return this.getAttribute("fulfilled-button-label")||""}get isFulfilled(){return"true"===this.getAttribute("fulfilled")}get isFulfilledEditable(){return"true"===this.getAttribute("fulfilled-editable")}get isUnfulfilledEditable(){return"false"!==this.getAttribute("unfulfilled-editable")}init(){this.onLabelChange(),this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel),this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel),this.onFulfilledChange(),this.unfulfilledButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("button-clicked",{bubbles:!0,composed:!0}))),this.fulfilledButton.addEventListener("click",()=>{this.dispatchEvent(new CustomEvent("fulfilled-button-clicked",{bubbles:!0,composed:!0}))})}static get observedAttributes(){return["label","fulfilled","button-label","fulfilled-button-label","fulfilled-editable","unfulfilled-editable"].concat(super.observedAttributes)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"fulfilled"===t?this.onFulfilledChange():"button-label"===t?this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel):"fulfilled-button-label"===t?this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel):"fulfilled-editable"===t&&this.isFulfilled?this.handleFulfilled():"unfulfilled-editable"!==t||this.isFulfilled||this.handleUnfulfilled())}}const{host:Uc,textField:Rc,buttons:Qc,badge:Zc,textWrapper:Bc,methodIconSlot:Pc}={host:{selector:()=>":host"},textField:{selector:"descope-text"},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},textWrapper:{selector:" .text-wrapper"},methodIconSlot:{selector:'slot[name="method-icon"]:not(:empty)'}},Fc=Pt(Ze({mappings:{hostWidth:{...Uc,property:"width"},hostMinWidth:{...Uc,property:"min-width"},hostMaxWidth:{...Uc,property:"max-width"},hostDirection:[{...Uc,property:"direction"},{...Rc,property:Ci.cssVarList.hostDirection},{...Qc,property:ko.cssVarList.hostDirection},{...Zc,property:vc.cssVarList.hostDirection}],itemsGap:[{property:"gap"},{...Bc,property:"gap"}],iconSize:[{...Pc,property:"width"},{...Pc,property:"height"}],iconColor:[{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill}]}}),Be,Pe)(Yc);customElements.define(Wc,Fc);const Gc=qt("saml-group-mappings-internal"),Hc=ci({componentName:Gc,baseSelector:""}),Jc=qt("saml-group-mappings"),{host:$c,groupInput:_c,errorMessage:Xc}={host:{selector:()=>":host"},groupInput:{selector:"descope-text-field"},errorMessage:{selector:"::part(error-message)"}},qc=Pt(Ze({mappings:{hostWidth:{...$c,property:"width"},hostDirection:{...$c,property:"direction"},groupNameInputMarginBottom:{..._c,property:"margin-bottom"},errorMessageIcon:{...Xc,property:"background-image"},errorMessageIconSize:{...Xc,property:"background-size"},errorMessageIconPadding:{...Xc,property:"padding-inline-start"},errorMessageIconRepeat:{...Xc,property:"background-repeat"},errorMessageIconPosition:{...Xc,property:"background-position"},errorMessageFontSize:{...Xc,property:"font-size"}}}),Be,ri({proxyProps:["value","selectionStart"],inputEvent:"input",triggerValidationEvents:["mapping-item-added","mapping-item-removed"],proxyParentValidation:!0}),Pe,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${Gc}\n tabindex="-1"\n ></${Gc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Gc),te(this,this.inputElement,{includeAttrs:["size","full-width","label-group","label-value","label-attr","button-label","separator","options","readonly","disabled"]}),Xt(this,this.inputElement,{includeAttrs:["invalid"]})}})(Xe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-text-field {\n width: auto;\n }\n\n descope-mappings-field {\n display: block;\n }\n ",excludeAttrsSync:["tabindex","label-group","label-value","label-attr","button-label","separator","options","error-message","style"],componentName:Jc}));customElements.define(Gc,class extends Hc{static get observedAttributes(){return["invalid"].concat(Hc.observedAttributes||[])}constructor(){super(),this.innerHTML='\n <descope-text-field variant="body2" bordered="true"></descope-text-field>\n <descope-mappings-field></descope-mappings-field>\n ',this.groupInputElement=this.querySelector("descope-text-field"),this.mappingsElement=this.querySelector("descope-mappings-field")}resetInvalidIndication(){this.removeAttribute("invalid")}handleMappingsInvalidChange(t){t.includes("invalid")&&(this.mappingsElement.hasAttribute("invalid")||this.resetInvalidIndication())}initFocusHandler(){this.addEventListener("focus",t=>{t.isTrusted&&(this.mappingsElement.checkValidity()?this.groupInputElement:this.mappingsElement).focus()})}init(){this.initFocusHandler(),super.init?.(),te(this,this.groupInputElement,{mapAttrs:{"label-group":"label"},includeAttrs:["size","label-group","readonly","disabled"]}),te(this,this.mappingsElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","readonly","disabled","data-errormessage-pattern-mismatch"]}),Jt(this.mappingsElement,this.handleMappingsInvalidChange.bind(this),{includeAttrs:["invalid"]})}get value(){return{group:this.groupInputElement.value,mappings:this.mappingsElement.value}}set value(t){t?.group&&"string"==typeof t.group&&(this.groupInputElement.value=t.group),Array.isArray(t?.mappings)&&(this.mappingsElement.value=t.mappings)}getValidity(){return this.groupInputElement.checkValidity()?this.mappingsElement.checkValidity()?{}:this.mappingsElement.validity:this.groupInputElement.validity}#oe(t){if(t){if(!this.groupInputElement.checkValidity())return void this.groupInputElement.setAttribute("invalid","true");this.mappingsElement.checkValidity()||this.mappingsElement.setAttribute("invalid","true")}}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"invalid"===t&&this.#oe("true"===i)}}),customElements.define(Jc,qc);const Kc=qt("radio-button"),tu=Pt(Ze({mappings:{cursor:[{},{selector:"label"}],fontSize:[{selector:"label"},{}],labelTextColor:{selector:"label",property:"color"},fontFamily:{selector:"label"},radioSize:[{selector:"::part(radio)",property:"height"},{selector:"::part(radio)",property:"width"}],radioBackgroundColor:{selector:"::part(radio)",property:"background-color"},radioMargin:{selector:"::part(radio)",property:"margin"},radioCheckedSize:{selector:"::part(radio)::after",property:"border-width"},radioCheckedColor:{selector:"::part(radio)::after",property:"border-color"},radioBorderColor:{selector:"::part(radio)",property:"border-color",fallback:"none"},radioBorderWidth:{selector:"::part(radio)",property:"border-width",fallback:0},radioBorderStyle:{selector:"::part(radio)",property:"border-style",fallback:"solid"}}}),ri({proxyProps:["setSelectionRange"]}),Pe,t=>class extends t{constructor(){super(),this.baseElement.checkValidity=()=>{}}init(){this.baseElement.addEventListener("checked-changed",t=>{this.dispatchEvent(new CustomEvent("checked-changed",{detail:t.detail},{bubbles:!0,composed:!0}))}),super.init?.(),$t(this,this.renderLabel.bind(this))}renderLabel(){this.baseElement.setAttribute("label",this.textContent)}get value(){return this.getAttribute("value")}})(Xe({slots:[""],wrappedEleName:"vaadin-radio-button",excludeAttrsSync:["tabindex","data","style"],includeForwardProps:["checked","name","disabled"],componentName:Kc})),eu=qt("radio-group"),iu=Pt(Ze({mappings:{...Hr,buttonsSpacing:{selector:"::part(group-field)",property:"justify-content"},buttonsRowGap:{selector:"::part(group-field)",property:"row-gap"},buttonsColumnGap:{selector:"::part(group-field)",property:"column-gap"},itemsLabelColor:{selector:()=>`::slotted(${tu.componentName})`,property:tu.cssVarList.labelTextColor}}}),Be,ri({proxyProps:["setSelectionRange"]}),Pe,t=>class extends t{#tt=({value:t,label:e})=>`<descope-radio-button value="${t}">${e}</descope-radio-button>`;#W;constructor(){super(),Object.defineProperty(this.baseElement,"children",{get:()=>this.querySelectorAll(Kc)}),this.baseElement.__filterRadioButtons=t=>t.filter(t=>t.localName===Kc),this.baseElement.setCustomValidity=()=>{}}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}get size(){return this.getAttribute("size")}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}get defaultValue(){return this.getAttribute("default-value")}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.#tt?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.inputElement=this.baseElement,this.renderItems(),Jt(this,this.renderItems.bind(this),{includeAttrs:["data"]}),Object.defineProperty(this.baseElement,"validity",{get:()=>({valueMissing:!this.baseElement.checkValidity()})}),te(this,this.baseElement,{includeAttrs:["layout"],mapAttrs:{layout:"theme"}}),setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue)}),$t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})}),Jt(this,()=>{this.items.forEach(t=>{t.setAttribute("size",this.size)})},{includeAttrs:["size"]})}})(Xe({slots:["","prefix"],wrappedEleName:"vaadin-radio-group",style:()=>`\n :host {\n display: inline-block;\n max-width: 100%;\n box-sizing: border-box;\n }\n\n vaadin-radio-group {\n padding: 0;\n width: 100%;\n }\n\n ${xe("vaadin-radio-group")}\n `,excludeAttrsSync:["tabindex","size","data","direction","style"],componentName:eu,includeForwardProps:["value"]}));customElements.define(eu,iu),customElements.define(Kc,tu);const ou=()=>!0,ru=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,nu=qt("scopes-list"),su=["checkbox","switch"];class au extends($e({componentName:nu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get isReadOnly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"sm"}#re(){return Array.from(this.shadowRoot.querySelector("div").children)}reportValidity(){this.checkValidity()}checkValidity(){return this.data.every(t=>!t.required||this.value.includes(t.id))}get value(){return this.#re().filter(t=>t.checked).map(t=>t.getAttribute("data-id"))}set value(t=[]){this.#re().forEach(e=>{e.checked=t.includes(e.getAttribute("data-id"))})}get variant(){const t=this.getAttribute("variant");return su.includes(t)?t:su[0]}}const lu=Pt(Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Di.componentName,property:Di.cssVarList.hostDirection},{selector:()=>$i.componentName,property:$i.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},requiredInputBorderColor:[{selector:`${Di.componentName}[required="true"]`,property:Di.cssVarList.inputBorderColor},{selector:`${$i.componentName}[required="true"]`,property:$i.cssVarList.inputBorderColor}],requiredInputValueTextColor:[{selector:`${Di.componentName}[required="true"]`,property:Di.cssVarList.inputValueTextColor},{selector:`${$i.componentName}[required="true"]`,property:$i.cssVarList.knobColor}]}}),(({itemRenderer:t=ru,validateSchema:e=ou,slotName:i,rerenderAttrsList:o=[]})=>r=>class extends r{#W=[];#U(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.baseElement.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),this.data.forEach((e,i)=>{const o="string"==typeof(r=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(r).content:r instanceof HTMLTemplateElement?r.content:(console.error("Invalid template",r),null);var r;this.baseElement.appendChild(o?.cloneNode(!0))})}set data(t){this.#U(t)&&(this.#W=t,this.#Q())}get data(){return this.#W}init(){super.init?.(),Jt(this,t=>{t.includes("data")?this.#Z():this.#Q()},{includeAttrs:[...o,"data"]})}#Z(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}})({itemRenderer:({id:t,desc:e,required:i=!1},o,r)=>{const n="checkbox"===r.variant?Di:$i;return`\n <${n.componentName}\n bordered="true"\n size=${r.size}\n label="${e}"\n data-id="${t}"\n readonly="${i||r.isReadOnly}"\n required="${i}"\n checked="true"\n ></${n.componentName}>\n`},rerenderAttrsList:["size","variant"]}),Be,Pe)(au),du=C("list-item"),cu=T(ct({mappings:{verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],backgroundColor:{},borderColor:{},borderStyle:{},borderWidth:{},borderRadius:{},outline:{},cursor:{},gap:{},maxWidth:{selector:()=>":host"},alignItems:{},flexDirection:{},transition:{}}}),ut,pt,t=>class extends t{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <slot></slot>\n ",f("\n slot {\n width: 100%;\n display: flex;\n overflow: hidden;\n box-sizing: border-box;\n }\n :host {\n display: block;\n }\n ",this)}},t=>class extends t{init(){super.init?.(),this.baseElement.addEventListener("mousedown",t=>{t.preventDefault(),this.setAttribute("active","true"),window.addEventListener("mouseup",()=>this.removeAttribute("active"),{once:!0})})}})(yt({componentName:du,baseSelector:"slot"}));customElements.define(du,cu);const uu=C("list");class pu extends(yt({componentName:uu,baseSelector:".wrapper"})){static get observedAttributes(){return["variant","readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <slot></slot>\n <slot name="empty-state">\n No item...\n </slot>\n </div>\n\t',f('\n .wrapper {\n overflow: auto;\n display: grid;\n max-height: 100%;\n width: 100%;\n }\n\n :host {\n display: inline-flex;\n width: 100%;\n }\n slot[name="empty-state"] {\n justify-content: center;\n align-items: center;\n display: flex;\n flex-grow: 1;\n }\n\n :host slot[name="empty-state"] {\n display: none;\n }\n :host([empty]) slot[name="empty-state"] {\n display: flex;\n }\n ::slotted(:not([slot])) {\n width: 100%;\n }\n ',this)}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}#ne(){0===this.items.length?this.setAttribute("empty","true"):this.removeAttribute("empty")}get variant(){return this.getAttribute("variant")||"list"}#se(){this.items.forEach(t=>{let e=t;e.localName!==cu.componentName&&(e=t.querySelector(cu.componentName));const i="tiles"===this.variant?"tile":"row";e?.setAttribute("variant",i)})}init(){super.init?.(),S(this,()=>{this.#ne(),this.#se(),this.#ae()})}get isReadOnly(){return"true"===this.getAttribute("readonly")}#ae(){this.items.forEach(t=>{this.isReadOnly?t.setAttribute("inert",""):t.removeAttribute("inert")})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("variant"===t?this.#se():"readonly"===t&&this.#ae())}}const hu=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},maxHeight:{selector:()=>":host"},minHeight:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],hostDirection:{selector:()=>":host",property:"direction"},fontFamily:{},gap:{},backgroundColor:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{},gridTemplateColumns:{},maxItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"max-width"},minItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"min-width"},maxRowItems:{property:"max-row-items"},itemsHorizontalAlign:{selector:()=>"::slotted(*)",property:"justify-self"},emptyStateTextColor:{selector:()=>'slot[name="empty-state"]',property:"color"},emptyStateTextFontFamily:{selector:()=>'slot[name="empty-state"]',property:"font-family"}}}),ut,pt)(pu);customElements.define(uu,hu),customElements.define(nu,lu);const gu=qt("third-party-app-logo");class Mu extends($e({componentName:gu,baseSelector:".wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div class="wrapper">\n <div class="third-party-app-logo-wrapper">\n <div class="third-party-app-logo"></div>\n </div>\n <div class="arrows">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K"></descope-icon>\n </div>\n <div class="company-logo-wrapper">\n <descope-logo st-height="100%"></descope-logo>\n </div>\n </div>\n\t\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\n .wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: max-content;\n }\n\n\t\t\t\t.third-party-app-logo {\n flex-shrink: 0;\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t}\n\n .company-logo-wrapper, .third-party-app-logo-wrapper {\n flex-shrink: 0;\n display: inline-flex;\n }\n\n .company-logo-wrapper {\n justify-content: flex-end;\n }\n\n .third-party-app-logo-wrapper {\n justify-content: flex-start;\n }\n\n .arrows {\n flex-shrink: 0;\n display: flex;\n }\n ',this)}}const mu=">.company-logo-wrapper",yu=">.third-party-app-logo-wrapper",bu=Pt(Ze({mappings:{logoMaxHeight:[{selector:mu,property:"height"},{selector:yu,property:"height"}],logoMaxWidth:[{selector:mu,property:"max-width"},{selector:yu,property:"max-width"}],thirdPartyAppLogo:{selector:()=>".third-party-app-logo",property:"content",fallback:{}},companyLogoFallback:{selector:zn.componentName,property:zn.cssVarList.fallbackUrl},gap:{},arrowsColor:{selector:Lo.componentName,property:Lo.cssVarList.fill}}}),Be,Pe)(Mu);customElements.define(gu,bu);const Nu=qt("security-questions-setup"),Iu=["full-width","readonly","size","label-type","question-label","question-placeholder","question-data-errormessage-value-missing","answer-label","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],xu=["count","questions"];class ju extends($e({componentName:Nu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get count(){return Number(this.getAttribute("count"))||0}#le(){const t=Array.from({length:this.count}).map((t,e)=>`\n <div class="question-wrapper">\n <descope-combo-box\n data-id="${e}"\n item-label-path="data-name"\n item-value-path="data-id"\n bordered="true"\n required="true"\n clear-button-visible="true"\n ></descope-combo-box>\n\n <descope-text-field\n data-id="${e}"\n required="true"\n bordered="true"\n minlength="2"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.comboBoxes.forEach(t=>{t.addEventListener("change",t=>{this.updateRemainingCombosData(t.target),this.getAttachedTextField(t.target).value=""}),t.data=this.data}),this.#de(Iu)}getAttachedTextField(t){const e=`descope-text-field[data-id="${t.getAttribute("data-id")}"]`;return this.baseElement.querySelector(e)}filterData(t){const e=this.data.filter(e=>e.value===t||!this.selectedQuestionIds.includes(e.value));return e}reportValidity(){return this.inputs.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return[...this.comboBoxes,...this.textFields].every(t=>t.checkValidity())}updateRemainingCombosData(t){this.comboBoxes.filter(e=>e!==t).forEach(t=>{t.data=this.filterData(t.value)})}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(Nu,"Error parsing questions attribute",t),[]}}get data(){return this.questions.map(({id:t,text:e})=>({value:t,label:e}))}get comboBoxes(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get inputs(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box, descope-text-field"))}get selectedQuestionIds(){return this.comboBoxes.map(t=>t.value)}get value(){return this.comboBoxes.map(t=>({id:t.value,answer:this.getAttachedTextField(t).value}))}set value(t=[]){t.forEach((t,e)=>{const i=this.comboBoxes[e],o=this.getAttachedTextField(i);i.value=t.id,o.value=t.answer})}#ce(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#de(t){const e={question:this.comboBoxes,answer:this.textFields};t.forEach(t=>{const[i,...o]=t.split("-"),r=e[i]||this.inputs,n=e[i]?o.join("-"):t;r.forEach(e=>{this.#ce(e,n,this.getAttribute(t))})})}init(){super.init?.(),Jt(this,()=>{this.#le()},{includeAttrs:xu}),Jt(this,this.#de.bind(this),{includeAttrs:Iu})}}const Tu=Pt(Ze({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>xo.componentName,property:xo.cssVarList.hostDirection},{selector:()=>_r.componentName,property:_r.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"}}}),Be,Pe)(ju);customElements.define(Nu,Tu);const zu=qt("security-questions-verify"),Du=["full-width","readonly","size","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],Su=["question-mode"],vu={"answer-placeholder":"placeholder","answer-data-errormessage-value-missing":"data-errormessage-value-missing","question-mode":"mode"},Lu=[...Du,...Su],Cu=["questions"];class Au extends($e({componentName:zu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}#le(){const t=this.questions.map(({id:t,text:e})=>`\n <div class="question-wrapper">\n <descope-text\n data-id="${t}"\n >${e}</descope-text>\n\n <descope-text-field\n data-id="${t}"\n required="true"\n bordered="true"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.#de(Lu),this.texts.forEach(t=>{const e=this.textFields.find(e=>e.getAttribute("data-id")===t.getAttribute("data-id"));e&&(t.onclick=e.focus.bind(e))})}reportValidity(){return this.textFields.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return this.textFields.every(t=>t.checkValidity())}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(zu,"Error parsing questions attribute",t),[]}}get texts(){return Array.from(this.baseElement.querySelectorAll("descope-text"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get elements(){return Array.from(this.baseElement.querySelectorAll("descope-text, descope-text-field"))}get value(){return this.textFields.map(t=>({id:t.getAttribute("data-id"),answer:t.value}))}set value(t=[]){t.forEach(({id:t,answer:e})=>{const i=this.textFields.find(e=>e.getAttribute("data-id")===t);i&&(i.value=e)})}#ce(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#ue(t){switch(!0){case Du.includes(t):return this.textFields;case Su.includes(t):return this.texts;default:return[]}}#de(t){t.forEach(t=>{this.#ue(t).forEach(e=>{this.#ce(e,vu[t]||t,this.getAttribute(t))})})}init(){super.init?.(),Jt(this,()=>{this.#le()},{includeAttrs:Cu}),Jt(this,this.#de.bind(this),{includeAttrs:Lu})}}const wu=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Ci.componentName,property:Ci.cssVarList.hostDirection},{selector:()=>_r.componentName,property:_r.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},questionTextAlign:{selector:()=>Ci.componentName,property:Ci.cssVarList.textAlign},questionFontSize:{selector:()=>Ci.componentName,property:Ci.cssVarList.fontSize},questionFontFamily:{selector:()=>Ci.componentName,property:Ci.cssVarList.fontFamily},questionCursor:{selector:()=>Ci.componentName,property:"cursor"},errorMessageIcon:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageSize},errorMessageIconPadding:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessagePadding},errorMessageIconRepeat:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageRepeat},errorMessageIconPosition:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessagePosition},errorMessageFontSize:{selector:()=>Ci.componentName,property:Ci.cssVarList.errorMessageFontSize}}}),Be,Pe)(Au);customElements.define(zu,wu);const fu=/[^\d\s+\-()]/,Eu=qt("hybrid-field"),ku={shared:["label","bordered","full-width","label-type","size","disabled","readonly","required","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],email:["placeholder","data-errormessage-value-missing-email","data-errormessage-pattern-mismatch-email","external-input"],phone:{countryCode:["phone-input-label","country-input-label","country-input-placeholder","restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"],inputBox:["restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"]}},Ou={email:{"data-errormessage-value-missing-email":"data-errormessage-value-missing","data-errormessage-pattern-mismatch-email":"data-errormessage-pattern-mismatch"},phone:{"phone-input-label":"label","phone-minlength":"minlength","phone-format-value":"format-value","phone-strict-validation":"strict-validation","data-errormessage-value-missing-phone":"data-errormessage-value-missing"}},Vu="descope-phone-field",Wu=$e({componentName:Eu,baseSelector:"div"}),Yu=Pt(Ze({componentNameOverride:qt("input-wrapper")}),Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>"descope-email-field",property:"direction"},{selector:()=>"descope-phone-field",property:"direction"},{selector:()=>"descope-phone-input-box-field",property:"direction"}],errorMessageIcon:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIcon},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIcon}],errorMessageIconSize:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconSize},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconSize}],errorMessageIconPadding:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconPadding},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconPadding}],errorMessageIconRepeat:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconRepeat},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconRepeat}],errorMessageIconPosition:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageIconPosition},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconPosition}],errorMessageFontSize:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageFontSize},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageFontSize}],labelFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.labelFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.labelFontWeight}],inputValueFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.inputValueFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.inputValueFontWeight}],inputPlaceholderFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.inputPlaceholderFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.inputPlaceholderFontWeight}],helperTextFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.helperTextFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.helperTextFontWeight}],errorMessageFontWeight:[{selector:()=>Ps.componentName,property:Ps.cssVarList.errorMessageFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageFontWeight}]}}),Be,Pe)(class extends Wu{#pe=!1;#he;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper">\n <descope-email-field external-input="${this.isExternalInput}"></descope-email-field>\n <descope-phone-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-field>\n <descope-phone-input-box-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-input-box-field>\n </div>\n\t\t`,f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n padding: 0;\n gap: 0;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n descope-email-field,\n descope-phone-field,\n descope-phone-input-box-field {\n grid-area: 1/1;\n width: 100%;\n height: 100%;\n }\n .hidden {\n visibility: hidden;\n }\n ",this)}get isExternalInput(){return"true"===this.getAttribute("external-input")}get emailInputEle(){return this.isExternalInput?this.emailInput.externalInput:this.emailInput.inputElement}get phoneVariant(){return"inputBox"===this.getAttribute("phone-variant")?this.phoneInputBoxInput:this.phoneCountryCodeInput}get defaultCode(){const t=this.phoneCountryCodeInput.countryCodes?.[0]||"";return this.getAttribute("default-code")||t}get activeInputEle(){return this.activeInput===this.emailInput?this.emailInputEle:this.phoneVariant.phoneNumberInputEle}get value(){return this.activeInput?.value||""}set value(t){this.handleActiveInput(t),setTimeout(()=>{this.activeInput.value=t})}async init(){super.init?.(),this.initInputs(),this.updateAttrs(),this.toggleInputVisibility(),await this.waitForInputs(),this.initInputEles(),this.overrideEmailInputType(),this.overrideEmailSetAttribute()}waitForInputs(){return new Promise(t=>{const e=setInterval(()=>{this.emailInputEle&&(clearInterval(e),t())})})}initInputs(){this.emailInput=this.shadowRoot.querySelector("descope-email-field"),this.phoneCountryCodeInput=this.shadowRoot.querySelector(Vu),this.phoneInputBoxInput=this.shadowRoot.querySelector("descope-phone-input-box-field"),this.inputs=[this.emailInput,this.phoneCountryCodeInput,this.phoneInputBoxInput],this.activeInput=this.emailInput}initInputEles(){[this.emailInputEle,this.phoneCountryCodeInput.phoneNumberInputEle,this.phoneInputBoxInput.phoneNumberInputEle].forEach(t=>{t.addEventListener("input",this.onValueChange.bind(this))})}overrideEmailInputType(){this.emailInputEle.addEventListener("focus",()=>{this.emailInputEle.setAttribute("type","text")}),this.emailInputEle.addEventListener("blur",()=>{setTimeout(()=>{this.emailInputEle.setAttribute("type","email")})})}overrideEmailSetAttribute(){const t=this.emailInput.setAttribute.bind(this.emailInputEle);this.emailInputEle.setAttribute=(e,i)=>("type"!==e||"email"!==i||!this.emailInput.hasAttribute("focused"))&&t(e,i)}updateAttrs(){te(this,this.emailInput,{includeAttrs:ku.email,mapAttrs:Ou.email}),te(this,this.phoneCountryCodeInput,{includeAttrs:ku.phone.countryCode,mapAttrs:Ou.phone}),te(this,this.phoneInputBoxInput,{includeAttrs:ku.phone.inputBox,mapAttrs:Ou.phone}),this.inputs.forEach(t=>te(this,t,{includeAttrs:ku.shared})),setTimeout(()=>this.phoneCountryCodeInput.setAttribute("default-code",this.defaultCode))}onValueChange(){this.#he=this.activeInputEle.selectionStart,this.handleActiveInput(this.activeInputEle.value||this.activeInput.value)}handleActiveInput(t){const e=(t=>!!t&&!fu.test(t))(t)?this.phoneVariant:this.emailInput;this.activeInput!==e&&this.setActiveInput(e)}setActiveInput(t){const e=this.activeInputEle.value||this.activeInput.value;this.activeInput=t,this.setActiveInputValue(e),this.#pe&&this.activeInput.reportValidity(),this.setActiveInputSelectionStart(),this.toggleInputVisibility()}setActiveInputSelectionStart(){setTimeout(()=>{this.activeInputEle.focus(),this.activeInputEle.setSelectionRange?.(this.#he,this.#he)})}#ge(){const t=this.getAttribute("default-code"),e=t&&Ps.CountryCodes.find(e=>e.code===t);return e?.dialCode||Ps.CountryCodes[0]?.dialCode||""}setActiveInputValue(t){const e=(t=>t.replace(/\+\d+-/,""))(t);if(this.activeInput.localName===Vu){const t=this.phoneCountryCodeInput.countryCodeItems||this.#ge();this.activeInput.value=`${t}-${e}`}else this.activeInput.value=e}toggleInputVisibility(){this.inputs.forEach(t=>{t!==this.activeInput?t.classList.add("hidden"):t.classList.remove("hidden")})}reportValidity(){this.#pe=!0;const t=this.activeInputEle,e=t.type;return t.setAttribute("type","text"),setTimeout(()=>{t.setSelectionRange?.(t.value.length,t.value.length),t.setAttribute("type",e)}),this.activeInput.reportValidity()}checkValidity(){return this.activeInput.checkValidity()}});customElements.define(Eu,Yu);const Uu=qt("alert");class Ru extends($e({componentName:Uu,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="icon"></div>\n <div class="content">\n <descope-enriched-text>\n <slot></slot>\n </descope-enriched-text>\n </div>\n </div>\n ',f('\n :host {\n display: inline-flex;\n }\n :host > div {\n display: flex;\n width: 100%;\n }\n :host([empty="true"]) {\n display: none;\n }\n .icon {\n flex-shrink: 0;\n }\n .content {\n display: flex;\n flex-wrap: wrap;\n white-space: normal;\n overflow-wrap: break-word;\n }\n ',this)}init(){super.init?.(),this.slotEle=this.shadowRoot.querySelector("slot"),this.textComp=this.shadowRoot.querySelector("descope-enriched-text"),this.slotEle.addEventListener("slotchange",this.handleSlotChange.bind(this)),L(this.textComp,this,{includeAttrs:["empty"]}),S(this,this.handleChildrenChange.bind(this)),te(this,this.textComp,{includeAttrs:["variant","full-width","link-target-blank"]})}handleChildrenChange(){this.textComp.textContent=this.textContent}handleSlotChange(){const t=this.slotEle.assignedNodes({flatten:!0});t.length&&(this.textComp.textContent=t[0]?.textContent||"")}}const{icon:Qu}={icon:{selector:()=>".icon"}},Zu=Pt(Ze({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},textColor:{selector:Qt.componentName,property:Qt.cssVarList.textColor},backgroundColor:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},fontSize:[{},{selector:Qt.componentName,property:Qt.cssVarList.fontSize}],gap:{},horizontalPadding:[{property:"padding-top"},{property:"padding-bottom"}],verticalPadding:[{property:"padding-right"},{property:"padding-left"}],alignItems:{},justifyContent:[{},{selector:Qt.componentName,property:Qt.cssVarList.textAlign}],icon:[{...Qu,property:"content"},{...Qu,property:"display",fallback:"none"}],iconSize:[{...Qu,property:"width"},{...Qu,property:"height"}]}}),Ze({componentNameOverride:qt("enriched-text")}),Ze({componentNameOverride:qt("text")}),Be,Pe)(Ru);customElements.define(Uu,Zu);const Bu=qt("hcaptcha"),Pu=["enabled","site-key"],Fu=ci({componentName:Bu,baseSelector:":host > div"}),Gu=Pt(Ze({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostDirection:{property:"direction"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],maxHeight:[{selector:">img",property:"height"},{selector:">#hcaptcha",property:"height"}],maxWidth:[{selector:">img",property:"max-width"},{selector:">hcaptcha",property:"max-width"}]}}),Be,Pe)(class extends Fu{static get observedAttributes(){return Pu.concat(Fu.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"enabled"===t&&this.toggleCaptchaEles("true"===i)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="hcaptcha"></span>\n <input id="hcaptcha-input" type="hidden" name="hcaptcha" required />\n <img src="https://imgs.descope.com/connectors/templates/hcaptcha/hcaptcha-big.png" alt="hcaptcha"/>\n </div>\n <slot></slot>\n\t',f("\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #hcaptcha-input {\n display: none;\n }\n :host #hcaptcha .hcaptcha-logo {\n height: 100%;\n }\n :host #hcaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n .hidden {\n display: none;\n }\n ",this),this.captchaEle=this.shadowRoot.querySelector("#hcaptcha"),this.mockCaptchaEle=this.shadowRoot.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge"),this.inputElement=this.shadowRoot.querySelector("input")}init(){super.init?.(),S(this,this.updatePreview.bind(this)),this.inputElement.getValidity=null,this.inputElement.checkValidity=null}toggleCaptchaEles(t){t?(this.captchaEle.style.display="",this.mockCaptchaEle.style.display="none"):(this.captchaEle.style.display="none",this.mockCaptchaEle.style.display="")}updatePreview(){this.toggleCaptchaEles(this.enabled)}getValidity(){return this.inputElement.value?{}:{valueMissing:!0}}checkValidity(){return!!this.inputElement.value}get siteKey(){return this.getAttribute("site-key")}get enabled(){return"true"===this.getAttribute("enabled")}});customElements.define(Bu,Gu);const Hu=(ip={surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}},Object.keys(ip).reduce((t,e)=>{const i=ip[e];return Object.assign(t,{[e]:he(i)})},{})),Ju={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},$u=Se({fonts:Ju}).fonts,_u={colors:Hu,typography:{h1:{font:$u.font1.family,weight:"900",size:"48px"},h2:{font:$u.font1.family,weight:"800",size:"38px"},h3:{font:$u.font1.family,weight:"600",size:"28px"},subtitle1:{font:$u.font2.family,weight:"500",size:"22px"},subtitle2:{font:$u.font2.family,weight:"400",size:"20px"},body1:{font:$u.font1.family,weight:"400",size:"16px"},body2:{font:$u.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:Ju,direction:"ltr"},Xu=(t=>ze(t,[],t=>Te({},t,je(t))))(_u),qu=(t=>Object.keys(t).reduce((e,i)=>{const o=t[i];return Object.assign(e,{[i]:G(o)})},{}))({surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}}),Ku={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},tp=et({fonts:Ku}).fonts,ep={colors:qu,typography:{h1:{font:tp.font1.family,weight:"900",size:"48px"},h2:{font:tp.font1.family,weight:"800",size:"38px"},h3:{font:tp.font1.family,weight:"600",size:"28px"},subtitle1:{font:tp.font2.family,weight:"500",size:"22px"},subtitle2:{font:tp.font2.family,weight:"400",size:"20px"},body1:{font:tp.font1.family,weight:"400",size:"16px"},body2:{font:tp.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:Ku,direction:"ltr"};var ip;(t=>{tt(t,[],t=>K({},t,q(t)))})(ep);const op=et(ep),rp=ko.cssVarList,np={primary:op.colors.primary,secondary:op.colors.secondary,success:op.colors.success,error:op.colors.error,surface:op.colors.surface},[sp,ap,lp]=ot({mode:np},Co),dp={...sp,[rp.fontFamily]:op.fonts.font1.family,[rp.fontWeight]:"400",[rp.cursor]:"pointer",[rp.hostHeight]:"3em",[rp.hostWidth]:"auto",[rp.hostDirection]:op.direction,[rp.borderRadius]:op.radius.sm,[rp.borderWidth]:op.border.xs,[rp.borderStyle]:"solid",[rp.borderColor]:"transparent",[rp.labelSpacing]:"0.25em",[rp.textAlign]:"center",textAlign:{right:{[rp.textAlign]:"right"},left:{[rp.textAlign]:"left"},center:{[rp.textAlign]:"center"}},[rp.verticalPadding]:"1em",[rp.horizontalPadding]:"0.875em",[rp.outlineWidth]:ep.border.sm,[rp.outlineOffset]:"0px",[rp.outlineStyle]:"solid",[rp.outlineColor]:"transparent",[rp.iconSize]:"1.5em",size:{xs:{[rp.fontSize]:"12px"},sm:{[rp.fontSize]:"14px"},md:{[rp.fontSize]:"16px"},lg:{[rp.fontSize]:"18px"}},_square:{[rp.hostHeight]:"3em",[rp.hostWidth]:"3em",[rp.verticalPadding]:"0"},_fullWidth:{[rp.hostWidth]:"100%"},_loading:{[rp.cursor]:"wait",[rp.labelTextColor]:ap.main},_disabled:{[lp.main]:op.colors.surface.light,[lp.dark]:op.colors.surface.dark,[lp.light]:op.colors.surface.light,[lp.contrast]:op.colors.surface.main,[rp.iconColor]:op.colors.surface.main},variant:{contained:{[rp.labelTextColor]:ap.contrast,[rp.backgroundColor]:ap.main,_hover:{[rp.backgroundColor]:ap.dark,_loading:{[rp.backgroundColor]:ap.main}},_active:{[rp.backgroundColor]:ap.main}},outline:{[rp.labelTextColor]:ap.main,[rp.borderColor]:ap.main,_hover:{[rp.labelTextColor]:ap.dark,[rp.borderColor]:ap.dark},_active:{[rp.labelTextColor]:ap.main,[rp.borderColor]:ap.main}},link:{[rp.labelTextColor]:ap.main,[rp.horizontalPadding]:"0.125em",_hover:{[rp.labelTextColor]:ap.dark,[rp.labelTextDecoration]:"underline"},_active:{[rp.labelTextColor]:ap.main}}},_focused:{[rp.outlineColor]:ap.light}},cp={...rp,...lp};var up=Object.freeze({__proto__:null,default:dp,vars:cp});const pp=et(ep),hp=Ci.cssVarList,gp={[hp.hostDirection]:pp.direction,[hp.textLineHeight]:"1.35em",[hp.textAlign]:"start",[hp.textColor]:pp.colors.surface.dark,variant:{h1:{[hp.fontSize]:pp.typography.h1.size,[hp.fontWeight]:pp.typography.h1.weight,[hp.fontFamily]:pp.typography.h1.font},h2:{[hp.fontSize]:pp.typography.h2.size,[hp.fontWeight]:pp.typography.h2.weight,[hp.fontFamily]:pp.typography.h2.font},h3:{[hp.fontSize]:pp.typography.h3.size,[hp.fontWeight]:pp.typography.h3.weight,[hp.fontFamily]:pp.typography.h3.font},subtitle1:{[hp.fontSize]:pp.typography.subtitle1.size,[hp.fontWeight]:pp.typography.subtitle1.weight,[hp.fontFamily]:pp.typography.subtitle1.font},subtitle2:{[hp.fontSize]:pp.typography.subtitle2.size,[hp.fontWeight]:pp.typography.subtitle2.weight,[hp.fontFamily]:pp.typography.subtitle2.font},body1:{[hp.fontSize]:pp.typography.body1.size,[hp.fontWeight]:pp.typography.body1.weight,[hp.fontFamily]:pp.typography.body1.font},body2:{[hp.fontSize]:pp.typography.body2.size,[hp.fontWeight]:pp.typography.body2.weight,[hp.fontFamily]:pp.typography.body2.font}},mode:{primary:{[hp.textColor]:pp.colors.surface.contrast},secondary:{[hp.textColor]:pp.colors.surface.dark},error:{[hp.textColor]:pp.colors.error.main},"error-dark":{[hp.textColor]:pp.colors.error.dark},success:{[hp.textColor]:pp.colors.success.main},"success-dark":{[hp.textColor]:pp.colors.success.dark},warning:{[hp.textColor]:pp.colors.warning.main},"warning-dark":{[hp.textColor]:pp.colors.warning.dark}},textAlign:{right:{[hp.textAlign]:"right"},left:{[hp.textAlign]:"left"},center:{[hp.textAlign]:"center"}},_fullWidth:{[hp.hostWidth]:"100%"},_italic:{[hp.fontStyle]:"italic"},_uppercase:{[hp.textTransform]:"uppercase"},_lowercase:{[hp.textTransform]:"lowercase"}};var Mp=Object.freeze({__proto__:null,default:gp,vars:hp});const mp=et(ep),yp=Ui.cssVarList,bp={[yp.hostDirection]:mp.direction,[yp.cursor]:"pointer",[yp.textColor]:mp.colors.primary.main,textAlign:{right:{[yp.textAlign]:"right"},left:{[yp.textAlign]:"left"},center:{[yp.textAlign]:"center"}},_fullWidth:{[yp.hostWidth]:"100%"},_hover:{[yp.textDecoration]:"underline"},mode:{secondary:{[yp.textColor]:mp.colors.secondary.main}}};var Np=Object.freeze({__proto__:null,default:bp,vars:yp});const Ip=et(ep),xp=Qt.cssVarList,jp={[xp.hostDirection]:Ip.direction,[xp.hostWidth]:it(hp.hostWidth),[xp.textLineHeight]:it(hp.textLineHeight),[xp.textColor]:it(hp.textColor),[xp.textAlign]:it(hp.textAlign),[xp.fontSize]:it(hp.fontSize),[xp.fontWeight]:it(hp.fontWeight),[xp.fontFamily]:it(hp.fontFamily),[xp.linkColor]:it(yp.textColor),[xp.linkTextDecoration]:"none",[xp.linkHoverTextDecoration]:"underline",[xp.fontWeightBold]:"900",[xp.minWidth]:"0.25em",[xp.minHeight]:"1.35em",[xp.hostDisplay]:"inline-block",_empty:{_hideWhenEmpty:{[xp.hostDisplay]:"none"}}};var Tp=Object.freeze({__proto__:null,default:jp,vars:xp});const zp=C("input-wrapper"),Dp=et(ep),[Sp,vp]=ot({labelTextColor:Dp.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:Dp.colors.surface.contrast,placeholderTextColor:Dp.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:Dp.colors.surface.dark,errorMessageTextColor:Dp.colors.error.main,successMessageTextColor:Dp.colors.success.main,borderWidth:Dp.border.xs,borderRadius:Dp.radius.xs,borderColor:"transparent",outlineWidth:Dp.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:Dp.colors.surface.main,fontFamily:Dp.fonts.font1.family,direction:Dp.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_focused:{outlineColor:Dp.colors.surface.light,_invalid:{outlineColor:Dp.colors.error.main}},_bordered:{outlineWidth:Dp.border.xs,borderColor:Dp.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:Dp.colors.error.main}},_disabled:{labelTextColor:Dp.colors.surface.light,borderColor:Dp.colors.surface.light,valueTextColor:Dp.colors.surface.light,placeholderTextColor:Dp.colors.surface.light,helperTextColor:Dp.colors.surface.light,backgroundColor:Dp.colors.surface.main}},zp),Lp=et(ep),Cp=xo.cssVarList,Ap={[Cp.hostWidth]:vp.width,[Cp.hostDirection]:vp.direction,[Cp.fontSize]:vp.fontSize,[Cp.fontFamily]:vp.fontFamily,[Cp.labelFontSize]:vp.labelFontSize,[Cp.labelFontWeight]:vp.labelFontWeight,[Cp.inputValueFontWeight]:vp.inputValueFontWeight,[Cp.inputPlaceholderFontWeight]:vp.inputPlaceholderFontWeight,[Cp.helperTextFontWeight]:vp.helperTextFontWeight,[Cp.errorMessageFontWeight]:vp.errorMessageFontWeight,[Cp.labelTextColor]:vp.labelTextColor,[Cp.errorMessageTextColor]:vp.errorMessageTextColor,[Cp.inputBorderColor]:vp.borderColor,[Cp.inputBorderWidth]:vp.borderWidth,[Cp.inputBorderStyle]:vp.borderStyle,[Cp.inputBorderRadius]:vp.borderRadius,[Cp.inputOutlineColor]:vp.outlineColor,[Cp.inputOutlineOffset]:vp.outlineOffset,[Cp.inputOutlineWidth]:vp.outlineWidth,[Cp.inputOutlineStyle]:vp.outlineStyle,[Cp.labelRequiredIndicator]:vp.requiredIndicator,[Cp.inputValueTextColor]:vp.valueTextColor,[Cp.inputPlaceholderTextColor]:vp.placeholderTextColor,[Cp.inputBackgroundColor]:vp.backgroundColor,[Cp.inputHorizontalPadding]:vp.horizontalPadding,[Cp.inputHeight]:vp.inputHeight,[Cp.inputDropdownButtonColor]:Lp.colors.surface.dark,[Cp.inputDropdownButtonCursor]:"pointer",[Cp.inputDropdownButtonSize]:vp.toggleButtonSize,[Cp.inputDropdownButtonOffset]:Lp.spacing.xs,[Cp.overlayItemPaddingInlineStart]:Lp.spacing.xs,[Cp.overlayItemPaddingInlineEnd]:Lp.spacing.lg,[Cp.labelPosition]:vp.labelPosition,[Cp.labelTopPosition]:vp.labelTopPosition,[Cp.labelHorizontalPosition]:vp.labelHorizontalPosition,[Cp.inputTransformY]:vp.inputTransformY,[Cp.inputTransition]:vp.inputTransition,[Cp.marginInlineStart]:vp.marginInlineStart,[Cp.placeholderOpacity]:vp.placeholderOpacity,[Cp.inputVerticalAlignment]:vp.inputVerticalAlignment,[Cp.valueInputHeight]:vp.valueInputHeight,[Cp.valueInputMarginBottom]:vp.valueInputMarginBottom,[Cp.errorMessageIcon]:vp.errorMessageIcon,[Cp.errorMessageIconSize]:vp.errorMessageIconSize,[Cp.errorMessageIconPadding]:vp.errorMessageIconPadding,[Cp.errorMessageIconRepeat]:vp.errorMessageIconRepeat,[Cp.errorMessageIconPosition]:vp.errorMessageIconPosition,[Cp.errorMessageFontSize]:vp.errorMessageFontSize,_readonly:{[Cp.inputDropdownButtonCursor]:"default"},[Cp.overlayFontSize]:vp.fontSize,[Cp.overlayFontFamily]:vp.fontFamily,[Cp.overlayCursor]:"pointer",[Cp.overlayItemBoxShadow]:"none",[Cp.overlayBackground]:vp.backgroundColor,[Cp.overlayTextColor]:vp.valueTextColor,[Cp.overlayCheckmarkDisplay]:"initial",[Cp.overlaySelectedItemBackground]:"initial",[Cp.overlaySelectedItemHoverBackground]:Lp.colors.primary.highlight,[Cp.overlaySelectedItemFocusBackground]:Lp.colors.primary.highlight,[Cp.overlayItemHoverBackground]:Lp.colors.primary.highlight,[Cp.overlayItemFocusBackground]:Lp.colors.primary.highlight,[Cp.overlay.minHeight]:"400px",[Cp.overlay.margin]:"0",[Cp.overlay.contentHeight]:"100%",[Cp.overlay.contentOpacity]:"1",[Cp.overlay.scrollerMinHeight]:"1px",_loading:{[Cp.overlay.loaderTop]:"50%",[Cp.overlay.loaderLeft]:"50%",[Cp.overlay.loaderRight]:"auto",[Cp.overlay.loaderMargin]:"-15px 0 0 -15px",[Cp.overlay.loaderWidth]:"30px",[Cp.overlay.loaderHeight]:"30px",[Cp.overlay.loaderBorder]:"2px solid transparent",[Cp.overlay.loaderBorderColor]:`${Lp.colors.primary.highlight} ${Lp.colors.primary.highlight} ${Lp.colors.primary.main} ${Lp.colors.primary.main}`,[Cp.overlay.loaderBorderRadius]:"50%",[Cp.overlay.contentHeight]:"100px",[Cp.overlay.scrollerMinHeight]:"100px",[Cp.overlay.contentOpacity]:"0"}};var wp=Object.freeze({__proto__:null,comboBox:Ap,default:Ap,vars:Cp});const fp=et(ep),[Ep,kp]=ot({shadowColor:"#00000020"},Dc),{shadowColor:Op}=kp,Vp=vc.cssVarList,Wp={...Ep,[Vp.hostWidth]:"fit-content",[Vp.hostDirection]:fp.direction,[Vp.textAlign]:"center",[Vp.fontFamily]:fp.fonts.font1.family,[Vp.fontWeight]:"400",[Vp.verticalPadding]:"0.25em",[Vp.horizontalPadding]:"0.5em",[Vp.borderWidth]:fp.border.xs,[Vp.borderRadius]:fp.radius.xs,[Vp.borderColor]:"transparent",[Vp.borderStyle]:"solid",_fullWidth:{[Vp.hostWidth]:"100%"},size:{xs:{[Vp.fontSize]:"12px"},sm:{[Vp.fontSize]:"14px"},md:{[Vp.fontSize]:"16px"},lg:{[Vp.fontSize]:"18px"}},variant:{contained:{[Vp.backgroundColor]:fp.colors.surface.main}},_shrinkToIndicator:{[Vp.hostWidth]:"13px",[Vp.hostHeight]:"13px",[Vp.borderRadius]:"50%",[Vp.fontSize]:"0",[Vp.textIndent]:"-9999px"},mode:{default:{[Vp.textColor]:fp.colors.surface.dark,_bordered:{[Vp.borderColor]:fp.colors.surface.light}},primary:{[Vp.textColor]:fp.colors.primary.main,_bordered:{[Vp.borderColor]:fp.colors.primary.light}},secondary:{[Vp.textColor]:fp.colors.secondary.main,_bordered:{[Vp.borderColor]:fp.colors.secondary.light}},error:{[Vp.textColor]:fp.colors.error.main,_bordered:{[Vp.borderColor]:fp.colors.error.light}},success:{[Vp.textColor]:fp.colors.success.main,_bordered:{[Vp.borderColor]:fp.colors.success.light}}},shadow:{sm:{[Vp.boxShadow]:`${fp.shadow.wide.sm} ${Op}, ${fp.shadow.narrow.sm} ${Op}`},md:{[Vp.boxShadow]:`${fp.shadow.wide.md} ${Op}, ${fp.shadow.narrow.md} ${Op}`},lg:{[Vp.boxShadow]:`${fp.shadow.wide.lg} ${Op}, ${fp.shadow.narrow.lg} ${Op}`},xl:{[Vp.boxShadow]:`${fp.shadow.wide.xl} ${Op}, ${fp.shadow.narrow.xl} ${Op}`}}};var Yp=Object.freeze({__proto__:null,default:Wp,vars:Vp});const Up=C("avatar");class Rp extends(yt({componentName:Up,baseSelector:":host > .wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <vaadin-avatar></vaadin-avatar>\n <div class="editableBadge">\n <vaadin-icon icon="vaadin:pencil"></vaadin-icon>\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .editableBadge {\n border: 1px solid;\n border-radius: 100%;\n height: fit-content;\n width: 25%;\n height: 25%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5%;\n box-sizing: border-box;\n position: absolute;\n bottom: 0;\n inset-inline-end: 0;\n }\n\n vaadin-icon {\n color: currentcolor;\n }\n\n vaadin-avatar {\n width: 100%;\n height: 100%;\n margin: 0;\n border: none\n }\n\n .wrapper {\n display: inline-flex;\n position: relative;\n width: 100%;\n height: 100%;\n }\n ",this),this.avatarComponent=this.shadowRoot.querySelector("vaadin-avatar"),w(this,this.avatarComponent,{includeAttrs:["display-name","img","abbr"],mapAttrs:{"display-name":"name"}});const t=this.shadowRoot.querySelector(".editableBadge");D(this,()=>{t.style.display=this.isEditable?"":"none"},{includeAttrs:["editable"]})}get isEditable(){return"true"===this.getAttribute("editable")}}const{host:Qp,editableBadge:Zp,avatar:Bp}={host:{selector:()=>":host"},editableBadge:{selector:"> .editableBadge"},avatar:{selector:"vaadin-avatar"}},Pp=T(ct({mappings:{hostWidth:[{...Qp,property:"width"},{...Qp,property:"min-width"}],hostHeight:{...Qp,property:"height"},cursor:[Bp,Qp],hostDirection:{...Qp,property:"direction"},avatarTextColor:{...Bp,property:"color"},avatarBackgroundColor:{...Bp,property:"background-color"},editableIconColor:{...Zp,property:"color"},editableBorderColor:{...Zp,property:"border-color"},editableBackgroundColor:{...Zp,property:"background-color"}}}),ut,pt)(Rp),Fp=et(ep),Gp=Pp.cssVarList,Hp={[Gp.hostDirection]:Fp.direction,[Gp.editableIconColor]:Fp.colors.surface.dark,[Gp.editableBorderColor]:Fp.colors.surface.dark,[Gp.editableBackgroundColor]:Fp.colors.surface.main,[Gp.avatarTextColor]:Fp.colors.surface.main,[Gp.avatarBackgroundColor]:Fp.colors.surface.dark,_editable:{[Gp.cursor]:"pointer"},size:{xs:{[Gp.hostWidth]:"30px",[Gp.hostHeight]:"30px"},sm:{[Gp.hostWidth]:"40px",[Gp.hostHeight]:"40px"},md:{[Gp.hostWidth]:"60px",[Gp.hostHeight]:"60px"},lg:{[Gp.hostWidth]:"98px",[Gp.hostHeight]:"98px"},xl:{[Gp.hostWidth]:"120px",[Gp.hostHeight]:"120px"},"2xl":{[Gp.hostWidth]:"140px",[Gp.hostHeight]:"140px"}}},Jp={...Gp};var $p=Object.freeze({__proto__:null,default:Hp,vars:Jp});const _p=Lo.cssVarList;var Xp=Object.freeze({__proto__:null,default:{},vars:_p});const qp=So.cssVarList;var Kp=Object.freeze({__proto__:null,default:{},vars:qp});const th=C("apps-list"),eh=T(ct({mappings:{maxHeight:{selector:()=>":host"},minHeight:{selector:()=>":host"},hostDirection:{selector:()=>":host",property:"direction"},gap:{selector:hu.componentName,property:hu.cssVarList.gap},maxRowItems:{selector:hu.componentName,property:hu.cssVarList.maxRowItems},itemsFontWeight:{selector:Ci.componentName,property:Ci.cssVarList.fontWeightOverride},itemsFontSize:{selector:Ci.componentName,property:Ci.cssVarList.fontSizeOverride},itemsTextAlign:{selector:Ci.componentName,property:Ci.cssVarList.textAlign},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemHoverBackgroundColor:{selector:`${cu.componentName}:hover`,property:cu.cssVarList.backgroundColor},backgroundColor:{selector:hu.componentName,property:hu.cssVarList.backgroundColorOverride},itemBorderStyle:{selector:cu.componentName,property:cu.cssVarList.borderStyleOverride},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColorOverride},itemBorderWidth:{selector:cu.componentName,property:cu.cssVarList.borderWidthOverride},itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPaddingOverride},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPaddingOverride},itemAlignment:[{selector:()=>".avatar-wrapper",property:"text-align"},{selector:Ci.componentName,property:Ci.cssVarList.textAlign}]}}),Vt({itemRenderer:({name:t,icon:e,url:i},o,r)=>`\n <a ${i?`href="${i}" title="${i}"`:""} ${r.openInSameWindow?"":'target="_blank"'}>\n <descope-list-item>\n <div class="avatar-wrapper">\n <descope-avatar\n ${e?`img="${e}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size="${r.logoSize||r.size}"\n ></descope-avatar>\n </div>\n <descope-text\n variant="${r.itemTextVariant}"\n mode="primary"\n >${t}</descope-text>\n </descope-list-item>\n </a>\n`,rerenderAttrsList:["size","item-text-variant","logo-size","open-in-same-window"]}),ut,pt,t=>class extends t{get size(){return this.getAttribute("size")||"sm"}get itemTextVariant(){return this.getAttribute("item-text-variant")||"body1"}get logoSize(){return this.getAttribute("logo-size")}get openInSameWindow(){return"true"===this.getAttribute("open-in-same-window")}})(vt({slots:["empty-state"],wrappedEleName:"descope-list",excludeAttrsSync:["tabindex","class","empty","style"],componentName:th,style:()=>`\n :host {\n width: 100%;\n display: inline-flex;\n }\n\n descope-text::part(text-wrapper) {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n\n descope-list-item[variant="tile"] .avatar-wrapper {\n width: 100%;\n }\n\n .avatar-wrapper {\n line-height: 0;\n }\n\n a {\n text-decoration: none;\n }\n\n descope-text {\n ${Ci.cssVarList.hostDirection}: var(${eh.cssVarList.hostDirection});\n max-width: 100%;\n width: 100%;\n }\n `})),ih=eh.cssVarList,oh=et(ep),rh="400px",nh={[ih.itemsTextAlign]:"start",[ih.hostDirection]:oh.direction,[ih.maxHeight]:rh,[ih.itemHoverBackgroundColor]:oh.colors.surface.highlight,_empty:{[ih.minHeight]:rh},size:{xs:{[ih.itemsFontSize]:"14px",[ih.itemsFontWeight]:"normal"},sm:{[ih.itemsFontSize]:"14px",[ih.itemsFontWeight]:"normal"},md:{[ih.itemsFontSize]:"16px",[ih.itemsFontWeight]:"normal"},lg:{[ih.itemsFontSize]:"20px",[ih.itemsFontWeight]:"normal"}},itemPadding:{xs:{[ih.itemVerticalPadding]:oh.spacing.xs,[ih.itemHorizontalPadding]:oh.spacing.xs},sm:{[ih.itemVerticalPadding]:oh.spacing.sm,[ih.itemHorizontalPadding]:oh.spacing.sm},md:{[ih.itemVerticalPadding]:oh.spacing.md,[ih.itemHorizontalPadding]:oh.spacing.md},lg:{[ih.itemVerticalPadding]:oh.spacing.lg,[ih.itemHorizontalPadding]:oh.spacing.lg},xl:{[ih.itemVerticalPadding]:oh.spacing.xl,[ih.itemHorizontalPadding]:oh.spacing.xl}}};var sh=Object.freeze({__proto__:null,default:nh,vars:ih});const ah=et(ep),lh=hu.cssVarList,[dh,ch,uh]=ot({shadowColor:"#00000020"},uu),{shadowColor:ph}=ch,hh={...dh,[lh.hostWidth]:"100%",[lh.backgroundColor]:ah.colors.surface.main,[lh.fontFamily]:ah.fonts.font1.family,[lh.borderColor]:ah.colors.surface.light,[lh.borderStyle]:"solid",[lh.borderWidth]:ah.border.xs,[lh.borderRadius]:ah.radius.sm,[lh.gap]:ah.spacing.md,[lh.verticalPadding]:ah.spacing.lg,[lh.horizontalPadding]:ah.spacing.lg,[lh.boxShadow]:`${ah.shadow.wide.sm} ${ph}, ${ah.shadow.narrow.sm} ${ph}`,[lh.maxHeight]:"100%",[lh.hostDirection]:ah.direction,[lh.minItemsWidth]:"150px",[lh.maxRowItems]:"1000",_empty:{[lh.minHeight]:"150px",[lh.emptyStateTextColor]:ah.colors.surface.dark,[lh.emptyStateTextFontFamily]:ah.fonts.font1.family},variant:{tiles:{[lh.gridTemplateColumns]:`repeat(auto-fit, minmax(\n max(\n min(${it(lh.minItemsWidth)}, 100%),\n calc((100% - (${it(lh.maxRowItems)} - 1) * ${it(lh.gap)}) / ${it(lh.maxRowItems)})),\n 1fr))`,[lh.maxItemsWidth]:"200px",[lh.itemsHorizontalAlign]:"center"}},gap:{xs:{[lh.gap]:ah.spacing.xs},sm:{[lh.gap]:ah.spacing.sm},md:{[lh.gap]:ah.spacing.md},lg:{[lh.gap]:ah.spacing.lg},xl:{[lh.gap]:ah.spacing.xl}}},gh={...lh,...uh};var Mh=Object.freeze({__proto__:null,default:hh,vars:gh});const mh=et(ep),yh=cu.cssVarList,bh={[yh.backgroundColor]:mh.colors.surface.main,[yh.verticalPadding]:mh.spacing.lg,[yh.horizontalPadding]:mh.spacing.lg,[yh.gap]:mh.spacing.md,[yh.borderStyle]:"solid",[yh.borderWidth]:mh.border.xs,[yh.borderColor]:mh.colors.surface.main,[yh.borderRadius]:mh.radius.sm,[yh.cursor]:"pointer",[yh.alignItems]:"center",[yh.flexDirection]:"row",[yh.transition]:"border-color 0.2s, background-color 0.2s",variant:{tile:{[yh.alignItems]:"flex-start",[yh.flexDirection]:"column",[yh.borderColor]:mh.colors.surface.light}},_hover:{[yh.backgroundColor]:mh.colors.surface.highlight},_active:{[yh.backgroundColor]:mh.colors.surface.main,[yh.borderColor]:mh.colors.primary.light,[yh.outline]:`1px solid ${mh.colors.primary.light}`}};var Nh=Object.freeze({__proto__:null,default:bh,vars:yh});const Ih=C("multi-select-combo-box"),{host:xh,inputField:jh,inputElement:Th,placeholder:zh,toggle:Dh,clearButton:Sh,label:vh,requiredIndicator:Lh,helperText:Ch,errorMessage:Ah,chip:wh,chipLabel:fh,overflowChipFirstBorder:Eh,overflowChipSecondBorder:kh}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},chip:{selector:"vaadin-multi-select-combo-box-chip"},chipLabel:{selector:"vaadin-multi-select-combo-box-chip::part(label)"},overflowChipFirstBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::before"},overflowChipSecondBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::after"}},Oh=T(ct({mappings:{hostWidth:{...xh,property:"width"},hostDirection:{...xh,property:"direction"},fontSize:[{},xh],chipFontSize:{...fh,property:"font-size"},fontFamily:[vh,zh,jh,Ch,Ah,fh],labelFontSize:{...vh,property:"font-size"},labelFontWeight:{...vh,property:"font-weight"},inputValueFontWeight:{...jh,property:"font-weight"},inputPlaceholderFontWeight:{...zh,property:"font-weight"},helperTextFontWeight:{...Ch,property:"font-weight"},errorMessageFontWeight:{...Ah,property:"font-weight"},labelTextColor:[{...vh,property:"color"},{...Lh,property:"color"}],errorMessageTextColor:{...Ah,property:"color"},errorMessageIcon:{...Ah,property:"background-image"},errorMessageIconSize:{...Ah,property:"background-size"},errorMessageIconPadding:{...Ah,property:"padding-inline-start"},errorMessageIconRepeat:{...Ah,property:"background-repeat"},errorMessageIconPosition:{...Ah,property:"background-position"},errorMessageFontSize:{...Ah,property:"font-size"},inputHeight:{...jh,property:"min-height"},inputBackgroundColor:{...jh,property:"background-color"},inputBorderColor:{...jh,property:"border-color"},inputBorderWidth:{...jh,property:"border-width"},inputBorderStyle:{...jh,property:"border-style"},inputBorderRadius:{...jh,property:"border-radius"},labelRequiredIndicator:{...Lh,property:"content"},inputValueTextColor:{...jh,property:"color"},inputPlaceholderTextColor:{...zh,property:"color"},inputDropdownButtonCursor:[{...Dh,property:"cursor"},{...Sh,property:"cursor"}],inputDropdownButtonColor:[{...Dh,property:"color"},{...Sh,property:"color"}],inputDropdownButtonSize:[{...Dh,property:"font-size"},{...Sh,property:"font-size"}],inputDropdownButtonOffset:[{...Dh,property:"margin-right"},{...Dh,property:"margin-left"}],inputOutlineColor:{...jh,property:"outline-color"},inputOutlineWidth:{...jh,property:"outline-width"},inputOutlineStyle:{...jh,property:"outline-style"},inputOutlineOffset:{...jh,property:"outline-offset"},inputHorizontalPadding:[{...Th,property:"padding-left"},{...Th,property:"padding-right"},{...jh,property:"padding-inline-start"}],inputVerticalPadding:[{...jh,property:"padding-top"},{...jh,property:"padding-bottom"}],chipTextColor:{...fh,property:"color"},chipBackgroundColor:[{...wh,property:"background-color"},{...Eh,property:"border-color"},{...kh,property:"border-color"}],labelPosition:{...vh,property:"position"},labelTopPosition:{...vh,property:"top"},labelLeftPosition:{...vh,property:"left"},labelHorizontalPosition:[{...vh,property:"left"},{...vh,property:"right"}],inputTransformY:{...vh,property:"transform"},inputTransition:{...vh,property:"transition"},marginInlineStart:{...vh,property:"margin-inline-start"},placeholderOpacity:{...zh,property:"opacity"},inputVerticalAlignment:{...jh,property:"align-items"},overlayBackground:{property:()=>Oh.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>Oh.cssVarList.overlay.textColor},overlayBorder:{property:()=>Oh.cssVarList.overlay.border},overlayFontSize:{property:()=>Oh.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>Oh.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>Oh.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>Oh.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>Oh.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>Oh.cssVarList.overlay.itemPaddingInlineEnd}}}),ut,Et({name:"overlay",selector:"vaadin-multi-select-combo-box-internal",mappings:{backgroundColor:{selector:"vaadin-multi-select-combo-box-scroller"},minHeight:{selector:"vaadin-multi-select-combo-box-overlay"},margin:{selector:"vaadin-multi-select-combo-box-overlay"},cursor:{selector:"vaadin-multi-select-combo-box-item"},fontFamily:{selector:"vaadin-multi-select-combo-box-item"},textColor:{selector:"vaadin-multi-select-combo-box-item",property:"color"},fontSize:{selector:"vaadin-multi-select-combo-box-item"},itemBoxShadow:{selector:"vaadin-multi-select-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-end"}},forward:{include:!1,attributes:["size"]}}),wt({proxyProps:["selectionStart"],inputEvent:"selected-items-changed"}),Nt,pt,t=>class extends t{static get observedAttributes(){return["readonly"]}#tt=({displayName:t,value:e,label:i})=>{const o=document.createElement("span");return o.setAttribute("data-name",i),o.setAttribute("data-id",e),o.textContent=t||i,o.outerHTML};#W;#Me=[];get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get data(){if(this.#W)return this.#W;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#W=t,this.renderItems())}get allowCustomValues(){return"true"===this.getAttribute("allow-custom-value")}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data and default-values must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}updateSelectedItems(){const t=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[];t.length>0&&(this.value=t),0===this.value.length&&this.setDefaultValues()}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#me(t){return Array.from(new Map(t.map(t=>[t.getAttribute("data-id"),t])).values())}#et(){const t=Array.from(this.children),e=this.#me(t);t.length?(this.removeAttribute("has-no-options"),e.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=e,setTimeout(()=>{this.updateSelectedItems()},0)):(this.baseElement.items=[],this.setAttribute("has-no-options","")),this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-multi-select-combo-box-internal").shadowRoot.querySelector("vaadin-multi-select-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#ye(){this.allowCustomValues&&this.baseElement.addEventListener("custom-value-set",t=>{const e=this.#tt({label:t.detail,displayName:t.detail,value:t.detail});this.innerHTML+=e,this.baseElement._lastFilter="",setTimeout(()=>{this.value=[...this.value,t.detail]},0)})}setGetValidity(){this.getValidity=function(){if(this.pattern){const t=new RegExp(this.pattern);if(this.value.some(e=>!t.test(e)))return{patternMismatch:!0}}return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}};const t=this;this.baseElement.checkValidity=()=>t.validity.valid}init(){super.init?.(),this.setGetValidity(),this.#ye(),this.renderItems(),D(this,this.renderItems.bind(this),{includeAttrs:["data"]}),S(this,this.#et.bind(this)),w(this,this.baseElement,{includeAttrs:["placeholder"]}),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),this.setDefaultValues(),this.baseElement.addEventListener("selected-items-changed",()=>{this.#be(),this.dispatchEvent(new CustomEvent("input",{bubbles:!0}))})}setDefaultValues(){this.defaultValues.length>0&&(this.value=this.defaultValues)}#be(){this.#Me=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[]}set value(t){if(t&&t.length>0){const e=this.baseElement.items?.filter(e=>t.includes(e["data-id"]));if(this.allowCustomValues){const i=e?.map(t=>t.getAttribute("data-id"))||[],o=t.filter(t=>!i.includes(t));if(o.length){const e=o.reduce((t,e)=>t+this.#tt({label:e,displayName:e,value:e}),"");return this.innerHTML+=e,void setTimeout(()=>{this.value=t},0)}}const i=e?.map(t=>t.getAttribute("data-id"))||[];((t,e)=>{if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;const i=t.slice().sort(),o=e.slice().sort();for(let t=0;t<i.length;t++)if(i[t]!==o[t])return!1;return!0})(this.#Me,i)||(this.baseElement.selectedItems=e)}else this.baseElement.selectedItems=[]}get value(){return this.#Me}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i&&"true"===i)}onReadOnlyChange(t){t?this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.setAttribute("inert",t):this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.removeAttribute("inert")}})(vt({slots:["","prefix"],wrappedEleName:"vaadin-multi-select-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${H(Oh.cssVarList)}\n\t\t${_("vaadin-multi-select-combo-box")}\n\t\t${$("vaadin-multi-select-combo-box")}\n\t\t${J("vaadin-multi-select-combo-box")}\n\n\t\tvaadin-multi-select-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-multi-select-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-multi-select-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n align-self: center;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\t\tvaadin-multi-select-combo-box[readonly] [slot="input"] {\n flex-grow: 1;\n flex-basis: 4em;\n\t\t}\n\n\t\t::part(input-field) {\n padding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n ${X("vaadin-multi-select-combo-box")}\n :host([has-label]) vaadin-multi-select-combo-box-chip::part(label) {\n display: block;\n }\n\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::before,\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -4px;\n right: -4px;\n border-left-width: 0;\n border-inline-start-style: solid;\n border-inline-start-width: 2px;\n }\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -8px;\n right: -8px;\n }\n\n :host([has-no-options][allow-custom-value='true']) ::part(toggle-button) {\n display: none;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-multi-select-combo-box::part(toggle-button),\n vaadin-multi-select-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t`,excludeAttrsSync:["tabindex","size","data","placeholder","style"],componentName:Ih,includeForwardProps:["items","renderer","selectedItems"]})),Vh=C("multi-line-mappings"),Wh=yt({componentName:Vh}),Yh=t=>null==t?"":String("object"==typeof t?t.value??t.id??t.label??"":t),Uh=t=>[...new Set(t.map(Yh).filter(Boolean))],Rh=t=>{const e=Yh(t);return"object"==typeof t&&null!==t?{...t,value:e,label:String(t.label??t.displayName??e)}:{value:e,label:e}},Qh=t=>{if(!Array.isArray(t))return[];const e=new Set;return t.map(Rh).filter(t=>!(!t.value||e.has(t.value)||(e.add(t.value),0)))},Zh=(t=[],e=[])=>t.length===e.length&&t.every((t,i)=>t===e[i]),Bh={selector:()=>":host"},Ph={selector:".row"},Fh={selector:".add-action"},Gh=T(ct({mappings:{hostWidth:{...Bh,property:"width"},hostDirection:[{...Bh,property:"direction"},{selector:Oh.componentName,property:Oh.cssVarList.hostDirection},{selector:ko.componentName,property:ko.cssVarList.hostDirection}],rowsGap:{selector:".rows",property:"gap"},rowGap:{...Ph,property:"gap"},rowAlignItems:{...Ph,property:"align-items"},rowWrap:{...Ph,property:"flex-wrap"},addActionJustifyContent:{...Fh,property:"justify-content"},addActionMarginTop:{...Fh,property:"margin-top"}}}),ut)(class extends Wh{static get observedAttributes(){return["data","max-rows","size","disabled","readonly","first-value-key","second-value-key","first-label","second-label","first-placeholder","second-placeholder","full-width","merge-rows"]}#Ne=[{firstValues:[],secondValues:[]}];#Ie=null;#xe=[];#je={};constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="rows"></div>\n <div class="add-action">\n <descope-button\n class="add-button"\n variant="link"\n mode="primary"\n >\n <slot name="add-button-content">Add line</slot>\n </descope-button>\n </div>\n </div>\n ',f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n max-width: 100%;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows > .row {\n display: flex;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n align-items: flex-end;\n }\n\n .row descope-multi-select-combo-box {\n flex: 1 1 0;\n box-sizing: border-box;\n }\n\n .row .remove-button {\n flex: 0 0 auto;\n align-self: flex-end;\n }\n\n .row:only-child .remove-button {\n display: none;\n pointer-events: none;\n }\n\n .add-action {\n display: flex;\n }\n ",this),this.rowsElement=this.shadowRoot.querySelector(".rows"),this.addButtonElement=this.shadowRoot.querySelector(".add-button")}get size(){return this.getAttribute("size")||"md"}get firstValueKey(){return this.getAttribute("first-value-key")||"firstValues"}get secondValueKey(){return this.getAttribute("second-value-key")||"secondValues"}get firstLabel(){return this.getAttribute("first-label")||""}get secondLabel(){return this.getAttribute("second-label")||""}get firstPlaceholder(){return this.getAttribute("first-placeholder")||""}get secondPlaceholder(){return this.getAttribute("second-placeholder")||""}get disabled(){return"true"===this.getAttribute("disabled")}get readonly(){return"true"===this.getAttribute("readonly")}get mergeRows(){return"true"===this.getAttribute("merge-rows")}get maxRows(){const t=Number(this.getAttribute("max-rows"));return Number.isFinite(t)&&t>0?t:void 0}get data(){return this.#je}get value(){return this.#Ne.filter(t=>t.firstValues.length>0||t.secondValues.length>0).flatMap(t=>(t.firstValues.length?t.firstValues:[""]).map(e=>({[this.firstValueKey]:e,[this.secondValueKey]:[...t.secondValues]})))}set value(t){this.#Ie=t,this.#Ne=this.#Te(t),this.#ze(),this.#De()}#Se(t){const e=((t,e,i="unknown")=>{if("string"!=typeof t||!t?.trim())return e;try{return JSON.parse(t)}catch(t){return console.error(`[descope-multi-line-mappings] Failed to parse JSON from "${i}"`,t),e}})(t,{},"data attribute"),i=e&&"object"==typeof e&&!Array.isArray(e)?e:{};this.#xe=Object.entries(i).map(([t,e])=>{const i=String(t),o=null!=e&&"object"==typeof e&&!Array.isArray(e),r=o?e.options??[]:e;return{value:i,label:o&&null!=e.label?String(e.label):i,options:Qh(r)}}),this.#je=Object.fromEntries(this.#xe.map(({value:t,options:e})=>[t,e]))}init(){super.init?.(),this.#ve(),this.addButtonElement.addEventListener("click",()=>this.#Le()),this.#De()}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("data"===t)return this.#Se(i),this.#ze(),void this.#De();if("size"===t)return[...this.#Ce(),...this.#Ae()].forEach(t=>t.setAttribute("size",this.size)),this.#ve(),void this.#we();if(["disabled","readonly"].includes(t))return this.#Ce().forEach(t=>{t[this.disabled?"setAttribute":"removeAttribute"]("disabled","true"),t[this.readonly?"setAttribute":"removeAttribute"]("readonly","true")}),this.#Ae().forEach(t=>t[this.disabled||this.readonly?"setAttribute":"removeAttribute"]("disabled","true")),void this.#we();if(["first-label","second-label"].includes(t)){const e="first-label"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("label",i):o?.removeAttribute("label")})}if(["first-placeholder","second-placeholder"].includes(t)){const e="first-placeholder"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("placeholder",i):o?.removeAttribute("placeholder")})}"max-rows"===t&&this.#we(),"merge-rows"===t&&null!==this.#Ie&&(this.#Ne=this.#Te(this.#Ie),this.#ze(),this.#De())}}#Ce(){return Array.from(this.rowsElement.querySelectorAll("descope-multi-select-combo-box"))}#Ae(){return Array.from(this.rowsElement.querySelectorAll(".remove-button"))}#Le(){if(this.disabled||this.readonly||this.#fe())return;const t={firstValues:[],secondValues:[]};this.#Ne=[...this.#Ne,t],this.rowsElement.append(this.#Ee(t)),this.#we()}#Te(t){if(!Array.isArray(t)||!t.length)return[{firstValues:[],secondValues:[]}];let e=t.map(t=>{const e=t?.[this.firstValueKey];return{firstValues:null!=e&&""!==String(e)?[String(e)]:[],secondValues:Uh(t?.[this.secondValueKey]??[])}});if(this.mergeRows){const t=new Map;for(const i of e){const e=[...i.secondValues].sort().join("\0");t.has(e)?t.get(e).firstValues.push(...i.firstValues):t.set(e,{firstValues:[...i.firstValues],secondValues:i.secondValues})}e=[...t.values()]}return e}#ze(){const t=new Set(this.#xe.map(t=>t.value));this.#Ne=this.#Ne.map(e=>{const i=e.firstValues.filter(e=>t.has(e)),o=this.#ke(i),r=new Set(o.map(t=>t.value));return{firstValues:i,secondValues:e.secondValues.filter(t=>r.has(t))}})}#ke(t){const e=t.length?t.map(t=>this.#je[t]||[]).filter(t=>t.length):Object.values(this.#je).filter(t=>t.length);if(!e.length||t.length&&e.length!==t.length)return[];if(1===e.length)return e[0];const[i,...o]=e,r=new Set(i.map(t=>t.value));for(const t of o){const e=new Set(t.map(t=>t.value));for(const t of r)e.has(t)||r.delete(t)}return i.filter(t=>r.has(t.value))}#Oe({getRowIndex:t,type:e,label:i,placeholder:o,options:r,selectedValues:n}){const s=document.createElement("descope-multi-select-combo-box");return s.className=`combo ${e}-combo`,s.setAttribute("size",this.size),s.setAttribute("bordered","true"),s.setAttribute("item-label-path","data-name"),s.setAttribute("item-value-path","data-id"),i&&s.setAttribute("label",i),o&&s.setAttribute("placeholder",o),this.disabled&&s.setAttribute("disabled","true"),this.readonly&&s.setAttribute("readonly","true"),s.data=r,this.#Ve(s,n),s.addEventListener("input",()=>{if(s.__descopeSyncingSelection)return;const i=t();-1!==i&&this.#We({rowIndex:i,type:e,selectedValues:Uh(s.value||[])})}),s}#Ve(t,e){t.__descopeSyncingSelection=!0,Promise.resolve().then(()=>{const i=new Set(e||[]);t.selectedItems=(t.items||[]).filter(t=>i.has(t["data-id"]||t.getAttribute?.("data-id"))),t.__descopeSyncingSelection=!1})}#Ye(t){const e=document.createElement("descope-button");return e.className="remove-button",e.setAttribute("variant","link"),e.setAttribute("mode","primary"),e.setAttribute("size",this.size),e.setAttribute("aria-label","Remove row"),e.innerHTML='<vaadin-icon icon="vaadin:minus"></vaadin-icon>',(this.disabled||this.readonly)&&e.setAttribute("disabled","true"),e.addEventListener("click",()=>{const e=t();-1!==e&&this.#Ue(e)}),e}#De(){this.rowsElement.innerHTML="",this.#Ne.forEach(t=>{this.rowsElement.append(this.#Ee(t))}),this.#we()}#Ee(t){const e=document.createElement("div");e.className="row";const i=()=>Array.from(this.rowsElement.children).indexOf(e),o=this.#Oe({getRowIndex:i,type:"first",label:this.firstLabel,placeholder:this.firstPlaceholder,options:this.#xe.map(({value:t,label:e})=>({value:t,label:e})),selectedValues:t.firstValues}),r=this.#ke(t.firstValues),n=this.#Oe({getRowIndex:i,type:"second",label:this.secondLabel,placeholder:this.secondPlaceholder,options:r,selectedValues:t.secondValues});return e.append(o,n,this.#Ye(i)),e}#Re(t){const e=this.#Ne[t];if(!e)return;const i=this.rowsElement.children[t],o=i?.querySelector(".second-combo");if(!o)return void this.#De();const r=this.#ke(e.firstValues);o.data=r,this.#Ve(o,e.secondValues)}#ve(){this.addButtonElement.setAttribute("size",this.size)}#we(){this.disabled||this.readonly||this.#fe()?this.addButtonElement.setAttribute("disabled","true"):this.addButtonElement.removeAttribute("disabled")}#fe(){return Number.isFinite(this.maxRows)&&this.#Ne.length>=this.maxRows}#Qe(t){this.rowsElement.children[t]?.remove()}#We({rowIndex:t,type:e,selectedValues:i}){if(this.disabled||this.readonly)return;const o=this.#Ne[t];if(o){if("first"===e){const e=this.#ke(i),r=new Set(e.map(t=>t.value)),n=o.secondValues.filter(t=>r.has(t));if(Zh(o.firstValues,i)&&Zh(o.secondValues,n))return;return this.#Ne[t]={firstValues:i,secondValues:n},this.#Re(t),void this.#Ze()}Zh(o.secondValues,i)||(this.#Ne[t]={...o,secondValues:i},this.#Ze())}}#Ue(t){if(this.disabled||this.readonly||this.#Ne.length<=1)return;const e=this.#Ne[t];this.#Ne=this.#Ne.filter((e,i)=>i!==t),this.#Qe(t),this.#we(),(e.firstValues.length>0||e.secondValues.length>0)&&this.#Ze()}#Ze(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}}),Hh=Gh.cssVarList,Jh={[Hh.hostDirection]:vp.direction,[Hh.rowsGap]:ep.spacing.sm,[Hh.rowGap]:ep.spacing.sm,[Hh.rowAlignItems]:"flex-end",[Hh.rowWrap]:"nowrap",[Hh.addActionJustifyContent]:"flex-start",[Hh.addActionMarginTop]:ep.spacing.xs,_fullWidth:{[Hh.hostWidth]:"100%"}};var $h=Object.freeze({__proto__:null,default:Jh,vars:Hh});const _h=et(ep),Xh=Oh.cssVarList,qh={[Xh.hostWidth]:vp.width,[Xh.hostDirection]:vp.direction,[Xh.fontSize]:vp.fontSize,[Xh.fontFamily]:vp.fontFamily,[Xh.labelFontSize]:vp.labelFontSize,[Xh.labelFontWeight]:vp.labelFontWeight,[Xh.inputValueFontWeight]:vp.inputValueFontWeight,[Xh.inputPlaceholderFontWeight]:vp.inputPlaceholderFontWeight,[Xh.helperTextFontWeight]:vp.helperTextFontWeight,[Xh.errorMessageFontWeight]:vp.errorMessageFontWeight,[Xh.labelTextColor]:vp.labelTextColor,[Xh.errorMessageTextColor]:vp.errorMessageTextColor,[Xh.inputBorderColor]:vp.borderColor,[Xh.inputBorderWidth]:vp.borderWidth,[Xh.inputBorderStyle]:vp.borderStyle,[Xh.inputBorderRadius]:vp.borderRadius,[Xh.inputOutlineColor]:vp.outlineColor,[Xh.inputOutlineOffset]:vp.outlineOffset,[Xh.inputOutlineWidth]:vp.outlineWidth,[Xh.inputOutlineStyle]:vp.outlineStyle,[Xh.labelRequiredIndicator]:vp.requiredIndicator,[Xh.inputValueTextColor]:vp.valueTextColor,[Xh.inputPlaceholderTextColor]:vp.placeholderTextColor,[Xh.inputBackgroundColor]:vp.backgroundColor,[Xh.inputHorizontalPadding]:vp.horizontalPadding,[Xh.inputVerticalPadding]:vp.verticalPadding,[Xh.inputHeight]:vp.inputHeight,[Xh.inputDropdownButtonColor]:_h.colors.surface.dark,[Xh.inputDropdownButtonCursor]:"pointer",[Xh.inputDropdownButtonSize]:vp.toggleButtonSize,[Xh.inputDropdownButtonOffset]:_h.spacing.xs,[Xh.overlayItemPaddingInlineStart]:_h.spacing.xs,[Xh.overlayItemPaddingInlineEnd]:_h.spacing.lg,[Xh.chipFontSize]:vp.chipFontSize,[Xh.chipTextColor]:_h.colors.surface.contrast,[Xh.chipBackgroundColor]:_h.colors.surface.light,[Xh.labelPosition]:vp.labelPosition,[Xh.labelTopPosition]:vp.labelTopPosition,[Xh.labelLeftPosition]:vp.labelLeftPosition,[Xh.labelHorizontalPosition]:vp.labelHorizontalPosition,[Xh.inputTransformY]:vp.inputTransformY,[Xh.inputTransition]:vp.inputTransition,[Xh.marginInlineStart]:vp.marginInlineStart,[Xh.placeholderOpacity]:vp.placeholderOpacity,[Xh.inputVerticalAlignment]:vp.inputVerticalAlignment,[Xh.errorMessageIcon]:vp.errorMessageIcon,[Xh.errorMessageIconSize]:vp.errorMessageIconSize,[Xh.errorMessageIconPadding]:vp.errorMessageIconPadding,[Xh.errorMessageIconRepeat]:vp.errorMessageIconRepeat,[Xh.errorMessageIconPosition]:vp.errorMessageIconPosition,[Xh.errorMessageFontSize]:vp.errorMessageFontSize,labelType:{floating:{[Xh.inputHorizontalPadding]:"0.25em",_hasValue:{[Xh.inputHorizontalPadding]:"0.45em"}}},_readonly:{[Xh.inputDropdownButtonCursor]:"default"},[Xh.overlayFontSize]:vp.fontSize,[Xh.overlayFontFamily]:vp.fontFamily,[Xh.overlayCursor]:"pointer",[Xh.overlayItemBoxShadow]:"none",[Xh.overlayBackground]:vp.backgroundColor,[Xh.overlayTextColor]:vp.valueTextColor,[Xh.overlay.minHeight]:"400px",[Xh.overlay.margin]:"0"};var Kh=Object.freeze({__proto__:null,default:qh,multiSelectComboBox:qh,vars:Xh});const tg=C("autocomplete-field-internal"),eg=zt({componentName:tg,baseSelector:""}),ig=[],og="DESCOPE_INVALID_OPTION",rg=C("autocomplete-field"),{host:ng}={host:{selector:()=>":host"}},sg=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:{...ng,property:"width"},hostDirection:{...ng,property:"direction"},fontSize:{...ng},checkmarkDisplay:{selector:xo.componentName,property:xo.cssVarList.overlayCheckmarkDisplay},itemPaddingInlineStart:{selector:xo.componentName,property:xo.cssVarList.overlayItemPaddingInlineStart},itemPaddingInlineEnd:{selector:xo.componentName,property:xo.cssVarList.overlayItemPaddingInlineEnd},selectedItemBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemBackground},selectedItemHoverBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemHoverBackground},selectedItemFocusBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemFocusBackground},itemHoverBackground:{selector:xo.componentName,property:xo.cssVarList.overlayItemHoverBackground}}}),ut,wt({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${tg}\n tabindex="-1"\n ></${tg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(tg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),L(this,this.inputElement,{includeAttrs:["invalid"]}),this.inputElement.fetchResults=this.fetchResults,this.setDefaultValue()}set fetchResults(t){this.inputElement.fetchResults=t}})(vt({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-autocomplete-field-internal {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n descope-autocomplete-field-internal ::slotted {\n padding: 0;\n }\n ",excludeAttrsSync:["tabindex","error-message","label","style"],componentName:rg})),ag=sg.cssVarList,lg=et(ep),dg={[ag.hostWidth]:vp.width,[ag.hostDirection]:vp.direction,[ag.fontSize]:vp.fontSize,[ag.checkmarkDisplay]:"none",[ag.itemPaddingInlineStart]:lg.spacing.lg,[ag.itemPaddingInlineEnd]:lg.spacing.lg,[ag.selectedItemBackground]:lg.colors.primary.light,[ag.selectedItemHoverBackground]:lg.colors.primary.light,[ag.selectedItemFocusBackground]:lg.colors.primary.light,[ag.itemHoverBackground]:lg.colors.primary.highlight,_fullWidth:{[ag.hostWidth]:"100%"}};var cg=Object.freeze({__proto__:null,default:dg,vars:ag});class ug extends(St()){#Be=null;#Pe=null;constructor(t){super(t),this.#Pe=this.#Fe()}getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"includedPrimaryTypes",attribute:"address-types"},{key:"language",attribute:"address-language"},{key:"region",attribute:"address-region"}]}async#Fe(){const t=this.getAttribute("public-api-key");if(!this.#Be&&t)try{(t=>{var e,i,o,r,n,s,a,l,d,c,u,p,h;window.google?.maps||(e={key:t},n="The Google Maps JavaScript API",s="google",a="importLibrary",l="__ib__",d=document,c=window,u=(c=c[s]||(c[s]={})).maps||(c.maps={}),p=new Set,h=new URLSearchParams,u[a]?console.warn(n+" only loads once. Ignoring:",e):u[a]=(t,...c)=>p.add(t)&&(i||(i=new Promise(async(t,a)=>{for(r in await(o=d.createElement("script")),h.set("libraries",[...p]+""),e)h.set(r.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),e[r]);h.set("callback",s+".maps."+l),o.src=`https://maps.${s}apis.com/maps/api/js?`+h,u[l]=t,o.onerror=()=>i=a(Error(n+" could not load.")),o.nonce=d.querySelector("script[nonce]")?.nonce||"",d.head.append(o)}))).then(()=>u[a](t,...c)))})(t);const{AutocompleteSuggestion:e}=await google.maps.importLibrary("places");this.#Be=e}catch(t){throw console.error("Failed to initialize Google Maps Autocomplete service:",t),t}}async _fetchResults(t){if(!t?.trim())return{results:[]};try{await this.#Pe;const e={input:t};this.getOptionalParams().forEach(({attribute:t,key:i,defaultValue:o})=>{const r=this.getAttribute(t)||o;r&&(e[i]="includedPrimaryTypes"===i?r.split(",").map(t=>t.trim()).filter(Boolean):r)});const{suggestions:i}=await this.#Be.fetchAutocompleteSuggestions(e);return this.#Ge(i)}catch(t){return console.error("Google Maps Places Autocomplete failed:",t),{results:[],error:Dt}}}#Ge(t){return t?.length?{results:t.map(t=>{const e=t.placePrediction;return{id:e.placeId,label:e.text.text,value:e.text.text}})}:{results:[]}}}class pg extends(St()){getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"layers",attribute:"address-types"},{key:"limit",attribute:"address-limit"},{key:"lang",attribute:"address-language"},{key:"countryCode",attribute:"address-region"}]}async _fetchResults(t){if(!t?.trim())return{results:[]};const e=this.getAttribute("public-api-key"),i=new URLSearchParams({query:t.trim()});this.getOptionalParams().forEach(({attribute:t,key:e,defaultValue:o})=>{const r=this.getAttribute(t)||o;r&&("layers"===e||"countryCode"===e?i.append(e,r.split(",").map(t=>t.trim()).filter(Boolean).join(",")):i.append(e,r))});try{const t=await fetch(`https://api.radar.io/v1/search/autocomplete?${i.toString()}`,{headers:{Authorization:e}});if(!t.ok)throw new Error(`Radar API returned ${t.status}`);const o=await t.json();return this.#Ge(o)}catch(t){return console.error("Radar Places Autocomplete failed:",t),{results:[],error:Dt}}}#Ge(t){return t?.addresses?.length?{results:t.addresses.map(t=>({label:t.formattedAddress,value:t.formattedAddress}))}:{results:[]}}}const hg=C("address-field-internal"),gg="google-maps-places",Mg="radar",mg={[gg]:ug,[Mg]:pg},yg=zt({componentName:hg,baseSelector:""}),bg=["public-api-key"],Ng=[...bg],Ig=T((({connectorClasses:t})=>e=>class extends e{#He=t;static get observedAttributes(){return[...e.observedAttributes||[],"connector-template"]}get connectorClasses(){return this.#He}set connectorClasses(t){this.#He=t}get connectorTemplate(){return this.getAttribute("connector-template")}initializeConnector(){const t=this.connectorTemplate;if(!this.connectorClasses[t])return;const e=this.connectorClasses[t];this.connector=new e(this.getAttribute.bind(this))}async fetchConnectorResults(t){if(!this.connector)return console.error(`No connector initialized for the field with template: ${this.connectorTemplate}`),{results:[]};const{results:e,error:i}=await this.connector.fetch(t);return i?{results:[],error:i}:{results:e.map(({label:t,value:e})=>({label:t,value:e}))}}init(){super.init?.(),this.initializeConnector()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"connector-template"===t&&this.initializeConnector()}})({connectorClasses:mg}))(class extends yg{static get observedAttributes(){return[].concat(yg.observedAttributes||[],Ng)}get errorMsgValueMissing(){return this.getAttribute("data-errormessage-value-missing")||this.defaultErrorMsgValueMissing}constructor(){super(),this.innerHTML="\n <div>\n <descope-autocomplete-field></descope-autocomplete-field>\n </div>\n ",this.autocompleteField=this.querySelector("descope-autocomplete-field")}get value(){return this.autocompleteField.value}set value(t){this.autocompleteField.value=t}focus(){this.autocompleteField.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.autocompleteField.focus()}),super.init?.(),this.initAutocomplete()}initAutocomplete(){w(this,this.autocompleteField,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","error-message","default-value","data-errormessage-value-missing","st-host-direction","allow-custom-value","min-search-length","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),L(this,this.autocompleteField,{includeAttrs:["invalid"]}),this.autocompleteField.fetchResults=this.fetchConnectorResults.bind(this)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&bg.includes(t)&&this.initializeConnector()}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),xg=C("address-field"),{host:jg}={host:{selector:()=>":host"}},Tg=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:{...jg,property:"width"},hostDirection:{...jg,property:"direction"}}}),ut,wt({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}set connectorClasses(t){this.inputElement.connectorClasses=t}get connectorClasses(){return this.inputElement.connectorClasses}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${hg}\n tabindex="-1"\n ></${hg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(hg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding","connector-template","public-api-key","address-types","address-language","address-region","address-limit"]}),L(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValue()}})(vt({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${hg} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${hg} ::slotted {\n padding: 0;\n }\n`,excludeAttrsSync:["tabindex","error-message","label","style"],componentName:xg})),zg=Tg.cssVarList,Dg={[zg.hostWidth]:vp.width,[zg.hostDirection]:vp.direction,_fullWidth:{[zg.hostWidth]:"100%"}};var Sg=Object.freeze({__proto__:null,default:Dg,vars:zg});const vg=(t,e=2)=>String(t).padStart(e,"0"),Lg=C("timer"),Cg=["seconds","hide-icon","paused"],Ag=yt({componentName:Lg,baseSelector:":host > .wrapper"}),{host:wg,icon:fg,timer:Eg}={host:{selector:()=>":host"},icon:{selector:()=>".icon"},timer:{selector:()=>".timer"}},kg=T(ct({mappings:{fontSize:{},iconSize:[{...fg,property:"width"},{...fg,property:"height"}],fontFamily:{},minHeight:{},fontWeight:{...Eg},lineHeight:{...Eg},textColor:{...Eg,property:"color"},gap:{},textAlign:{property:"justify-content"},hostWidth:{...wg,property:"width"},hostDirection:{...wg,property:"direction"},iconColor:{...fg,property:Lo.cssVarList.fill}}}),ut,pt)(class extends Ag{#Je=0;#$e;static get observedAttributes(){return Cg.concat(Ag.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=" class="icon"></descope-icon>\n <div class="timer"></div>\n </div>\n\t\t',f("\n :host {\n display: inline-flex;\n user-select: none;\n -webkit-user-select: none;\n }\n .wrapper {\n display: flex;\n align-items: center;\n flex-direction: row;\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ",this),this.icon=this.shadowRoot.querySelector(".icon"),this.timer=this.shadowRoot.querySelector(".timer")}get seconds(){const t=this.getAttribute("seconds"),e=1e3*parseInt(t||0,10);return Math.max(0,e)}get isPaused(){return"true"===this.getAttribute("paused")}init(){super.init?.(),this.#Je=this.seconds}startInterval(){this.#Je?this.#$e=setInterval(()=>{this.#_e(),this.#Je||this.stop(),this.#Xe(this.#Je)},1e3):this.stop()}stopInterval(){clearInterval(this.#$e)}#_e(){this.#Je=this.#Je-1e3}reset(){this.#Je=this.seconds,this.#Xe(this.#Je),this.isPaused||(this.dispatchEvent(new CustomEvent("timer-started",{bubbles:!0})),this.startInterval())}stop(){this.stopInterval(),this.#Je=0,this.#Xe(this.#Je),this.dispatchEvent(new CustomEvent("timer-ended",{bubbles:!0}))}pause(){this.setAttribute("paused","true"),this.stopInterval()}resume(){this.removeAttribute("paused"),this.startInterval()}#Xe(t){this.timer.textContent=((t=0)=>{const e=Math.floor(t/1e3),i=Math.floor(e/3600),o=Math.floor(e%3600/60),r=e%60;return[...i?[vg(i)]:[],vg(o),vg(r)].join(":")})(t)}#qe(t){this.icon.classList.toggle("hidden",t)}#Ke(t){setTimeout(()=>{t?this.pause():this.#$e||this.resume()})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("seconds"===t&&this.reset(),"hide-icon"===t&&this.#qe("true"===i),"paused"===t&&this.#Ke("true"===i))}}),Og=et(ep),Vg=kg.cssVarList,Wg={[Vg.hostDirection]:Og.direction,[Vg.gap]:"0.25em",[Vg.fontFamily]:Og.fonts.font1.family,[Vg.minHeight]:"1.5em",[Vg.lineHeight]:"1em",[Vg.fontWeight]:Og.fonts.font1.fontWeight,[Vg.textColor]:Og.colors.surface.contrast,[Vg.iconColor]:Og.colors.surface.contrast,[Vg.iconSize]:"1em",size:{xs:{[Vg.fontSize]:"12px"},sm:{[Vg.fontSize]:"14px"},md:{[Vg.fontSize]:"16px"},lg:{[Vg.fontSize]:"18px"}},textAlign:{right:{[Vg.textAlign]:"right"},left:{[Vg.textAlign]:"left"},center:{[Vg.textAlign]:"center"}},_fullWidth:{[Vg.hostWidth]:"100%"}};var Yg=Object.freeze({__proto__:null,default:Wg,vars:Vg});const Ug=C("timer-button"),Rg=["button-variant","button-mode","size","text-align","full-width"],Qg={"button-variant":"variant","button-mode":"mode"},Zg=["timer-seconds","timer-hide-icon","timer-paused","size","text-align","full-width"],Bg={"timer-seconds":"seconds","timer-hide-icon":"hide-icon","timer-paused":"paused"},Pg=yt({componentName:Ug,baseSelector:":host > div"}),{host:Fg,nestedTimer:Gg,nestedButton:Hg,timerInsideNotReversed:Jg,timerInsideReversed:$g}={host:{selector:()=>":host"},nestedTimer:{selector:()=>':host([timer-inside="true"]) .timer'},nestedButton:{selector:()=>':host([timer-inside="true"]) .button'},timerInsideNotReversed:{selector:()=>':host([timer-inside="true"]:not([timer-position="end"])) .timer'},timerInsideReversed:{selector:()=>':host([timer-inside="true"][timer-position="end"]) .timer'}},_g=T(ct({mappings:{gap:{},flexDirection:{},hostWidth:{...Fg,property:"width"},hostDirection:{...Fg,property:"direction"},timerTextColor:{...Gg,property:kg.cssVarList.textColor},timerIconColor:{...Gg,property:kg.cssVarList.iconColor},timerHostWidth:{...Gg,property:kg.cssVarList.hostWidth},buttonLabelSpacing:{...Hg,property:ko.cssVarList.labelSpacing},timerInsideGapEnd:{...Jg,property:"margin-inline-end"},timerInsideGapStart:{...$g,property:"margin-inline-start"}}}),ut,pt)(class extends Pg{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-timer class="timer"></descope-timer>\n <descope-button class="button" disabled="true">\n <slot></slot>\n </descope-button>\n </div>\n\t\t',f('\n :host {\n display: inline-flex;\n }\n .wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n }\n /* allow timer to grow along the main axis in the wrapper flex container */\n :host(:not([timer-inside="true"])) .timer {\n flex: 1;\n }\n :host([timer-inside="true"]) .timer {\n flex: 0 0 auto;\n }\n ',this),this.wrapper=this.shadowRoot.querySelector(".wrapper"),this.timer=this.shadowRoot.querySelector(".timer"),this.button=this.shadowRoot.querySelector(".button"),this.forwardingSlot=this.shadowRoot.querySelector(".button slot"),this.timer.addEventListener("timer-started",()=>this.onTimerStarted()),this.timer.addEventListener("timer-ended",()=>this.onTimerEnded()),this.syncTimerPlacement(),this.button.addEventListener("click",this.onClick.bind(this))}static get observedAttributes(){return[...super.observedAttributes||[],"timer-inside","timer-position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"timer-inside"!==t&&"timer-position"!==t||this.syncTimerPlacement()}get#ti(){return"true"===this.getAttribute("timer-inside")}get#ei(){return"end"===this.getAttribute("timer-position")}syncTimerPlacement(){this.#ti?this.#ii(this.#ei):this.#oi()}#ii(t){t?this.timer.previousSibling!==this.forwardingSlot&&this.button.appendChild(this.timer):this.timer.nextSibling!==this.forwardingSlot&&this.button.insertBefore(this.timer,this.forwardingSlot)}#oi(){this.timer.parentElement!==this.wrapper&&this.wrapper.insertBefore(this.timer,this.button)}set onclick(t){this.button.onclick=t}init(){super.init?.(),w(this,this.button,{includeAttrs:Rg,mapAttrs:Qg}),w(this,this.timer,{includeAttrs:Zg,mapAttrs:Bg}),this.button.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}onTimerStarted(){this.toggleButtonDisable(!0)}onTimerEnded(){this.toggleButtonDisable(!1)}onClick(){this.timer.reset()}toggleButtonDisable(t){setTimeout(()=>{t?this.button.setAttribute("disabled","true"):this.button.removeAttribute("disabled")})}}),Xg=et(ep),qg=_g.cssVarList,Kg={[qg.gap]:Xg.spacing.sm,[qg.flexDirection]:"column",_horizontal:{[qg.flexDirection]:"row",timerPosition:{end:{[qg.flexDirection]:"row-reverse"}}},timerPosition:{end:{[qg.flexDirection]:"column-reverse"}},_fullWidth:{[qg.hostWidth]:"100%"},_timerInside:{[qg.timerTextColor]:"currentColor",[qg.timerIconColor]:"currentColor",[qg.timerHostWidth]:"auto",[qg.buttonLabelSpacing]:"0",[qg.timerInsideGapEnd]:`var(${qg.gap})`,timerPosition:{end:{[qg.timerInsideGapStart]:`var(${qg.gap})`}}}};var tM=Object.freeze({__proto__:null,default:Kg,vars:qg});const eM=C("password-strength");class iM extends(yt({componentName:eM,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["options","value"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="bars-container"></div>\n <div class="text-container">\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .wrapper {\n display: inline-flex;\n position: relative;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: flex-start;\n }\n\n .bar {\n flex-grow: 1;\n }\n\n .bars-container {\n display: flex;\n flex-grow: 1;\n width: 100%;\n }\n ",this),this.barsContainer=this.shadowRoot.querySelector(".bars-container"),this.textContainer=this.shadowRoot.querySelector(".text-container")}get options(){return this.getAttribute("options")?.split(",")||[]}getCalcScoreFn=()=>Promise.resolve().then(function(){return ux}).then(t=>t.default);#ri=-1;async calcScore(){const t=this.getAttribute("value")||"";return t?(await this.getCalcScoreFn())(t).score:-1}renderBars(){this.barsContainer.innerHTML="",this.bars=this.options.map((t,e)=>{const i=document.createElement("div");return i.classList.add("bar"),i.classList.toggle("filled",e<=this.#ri),this.barsContainer.appendChild(i),i})}init(){super.init?.(),this.getCalcScoreFn()}async onValueChange(){const t=await this.calcScore();t!==this.#ri&&(this.#ri=t,this.dispatchEvent(new CustomEvent("score-changed",{bubbles:!0,composed:!0,detail:this.#ri})),this.bars?.forEach((t,e)=>{t.classList.toggle("filled",e<=this.#ri)}),this.textContainer.innerHTML=this.options[this.#ri]||"",-1===this.#ri?this.removeAttribute("score"):this.setAttribute("score",this.#ri))}attributeChangedCallback(t,e,i){if(e!==i)return"options"===t?this.renderBars():"value"===t?this.onValueChange():void 0}}const{host:oM,bar:rM,filledBar:nM,barsContainer:sM,text:aM}={host:{selector:()=>":host"},bar:{selector:" .bar"},barsContainer:{selector:" .bars-container"},filledBar:{selector:" .bar.filled"},text:{selector:" .text-container"}},lM=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:[{...oM,property:"width"},{...oM,property:"min-width"}],hostDirection:{...oM,property:"direction"},hostMinWidth:{...oM,property:"min-width"},barHeight:{...rM,property:"height"},barBorderRadius:{...rM,property:"border-radius"},emptyBarColor:{...rM,property:"background-color"},filledBarColor:{...nM,property:"background-color"},textColor:{...aM,property:"color"},spacing:{property:"gap"},barSpacing:{...sM,property:"gap"},fontSize:{},fontWeight:{},fontFamily:{},barTransition:{...rM,property:"transition"}}}),ut,pt)(iM),dM=et(ep),cM=lM.cssVarList,uM={[cM.hostDirection]:dM.direction,[cM.barHeight]:"4px",[cM.barTransition]:"background-color 0.3s",[cM.barBorderRadius]:dM.radius.sm,[cM.hostMinWidth]:vp.minWidth,[cM.barSpacing]:dM.spacing.sm,[cM.emptyBarColor]:dM.colors.surface.light,[cM.fontFamily]:vp.fontFamily,[cM.fontSize]:vp.labelFontSize,[cM.fontWeight]:vp.labelFontWeight,[cM.spacing]:dM.spacing.sm,_fullWidth:{[cM.hostWidth]:"100%"},score:{0:{[cM.filledBarColor]:dM.colors.error.light,[cM.textColor]:dM.colors.error.light},1:{[cM.filledBarColor]:dM.colors.error.main,[cM.textColor]:dM.colors.error.main},2:{[cM.filledBarColor]:dM.colors.error.dark,[cM.textColor]:dM.colors.error.dark},3:{[cM.filledBarColor]:dM.colors.success.dark,[cM.textColor]:dM.colors.success.dark},4:{[cM.filledBarColor]:dM.colors.success.main,[cM.textColor]:dM.colors.success.main}}},pM={...cM};var hM=Object.freeze({__proto__:null,default:uM,vars:pM});const gM=C("collapsible-container");class MM extends(yt({componentName:gM,baseSelector:"slot"})){static get observedAttributes(){return["collapsed","collapsible","text"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-text st-host-direction="ltr">\n <div class="header">\n <div class="icon">\n <descope-icon st-fill="currentcolor" src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=></descope-icon>\n </div>\n <span></span>\n </div>\n </descope-text>\n <div class="content">\n <slot></slot>\n </div>\n </div>\n\t',f(`\n div.content {\n transition-property: max-height;\n overflow: auto;\n height: auto;\n\t\t\t}\n\t\t\tslot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n slot:focus-visible {\n outline: none;\n }\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n .header {\n user-select: none;\n display: flex;\n align-items: baseline;\n }\n .icon {\n flex-shrink: 0;\n height: var(${Ci.cssVarList.textLineHeight});\n min-height: 24px;\n display: flex;\n align-items: center;\n }\n descope-icon {\n transition-property: transform;\n }\n .rotate {\n transform: rotate(-180deg);\n }\n descope-text {\n width: 100%;\n display: flex;\n }\n span {\n align-self: center;\n word-break: break-word;\n }\n span:empty {\n display: none;\n }\n .wrapper {\n overflow: hidden;\n display: inline-flex;\n width: 100%;\n flex-direction: column;\n }\n `,this),this.header=this.shadowRoot.querySelector(".header"),this.content=this.shadowRoot.querySelector("div.content"),this.icon=this.header.querySelector("descope-icon"),this.headerText=this.header.querySelector("span"),this.textComponent=this.shadowRoot.querySelector("descope-text")}get isCollapsible(){return"true"===this.getAttribute("collapsible")}calcContentHeight(){return this.content.offsetHeight||this.content.scrollHeight}get isCollapsed(){return"true"===this.getAttribute("collapsed")}toggle(){this.setAttribute("collapsed",this.isCollapsed?"false":"true")}collapse(t=!1){const e=()=>{this.content.style.maxHeight="0px"};if(this.icon.classList.add("rotate"),!t)return e();this.content.style.maxHeight=this.calcContentHeight()+"px",setTimeout(e)}expand(t=!1){const e=()=>{this.content.style.maxHeight=""};if(this.icon.classList.remove("rotate"),!t)return e();this.content.addEventListener("transitionend",e,{once:!0}),this.content.style.maxHeight=this.calcContentHeight()+"px"}#ni=!1;init(){super.init?.(),this.#ni=!0,this.header.addEventListener("click",()=>{this.isCollapsible&&this.toggle()}),w(this,this.textComponent,{includeAttrs:["text-align","text-variant","text-mode"],mapAttrs:{"text-mode":"mode","text-variant":"variant"}})}updateHeaderText(){const t=this.getAttribute("text")||"";this.headerText.innerText=t}attributeChangedCallback(t,e,i){"text"!==t?this.isCollapsed&&this.isCollapsible?this.collapse(this.#ni):this.expand(this.#ni):this.updateHeaderText()}}const mM={host:()=>":host",icon:()=>"descope-icon",iconWrapper:()=>".icon",header:()=>".header",text:()=>"span",wrapper:()=>".wrapper",content:()=>"div.content"},yM=T(ct({mappings:{hostWidth:{selector:mM.host,property:"width"},hostDirection:{selector:mM.host,property:"direction"},verticalPadding:[{selector:mM.wrapper,property:"padding-top"},{selector:mM.wrapper,property:"padding-bottom"}],horizontalPadding:[{selector:mM.wrapper,property:"padding-left"},{selector:mM.wrapper,property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:[{},{property:"margin-top"}],backgroundColor:{selector:mM.wrapper},backgroundImage:{selector:mM.wrapper},backgroundPositionX:{selector:mM.wrapper},backgroundPositionY:{selector:mM.wrapper},backgroundSize:{selector:mM.wrapper},backgroundRepeat:{selector:mM.wrapper},borderRadius:{selector:mM.wrapper},borderColor:{selector:mM.wrapper},borderStyle:{selector:mM.wrapper},borderWidth:{selector:mM.wrapper},boxShadow:{selector:mM.wrapper},headerIconOrder:{selector:mM.iconWrapper,property:"order"},headerCursor:{selector:mM.header,property:"cursor"},headerGap:{selector:mM.header,property:"gap"},textGrow:{selector:mM.text,property:"flex-grow"},textDirection:{selector:mM.text,property:"direction"},iconAnimationDuration:{selector:mM.icon,property:"transition-duration"},contentAnimationDuration:{selector:mM.content,property:"transition-duration"}}}),ut,pt)(MM),bM=et(ep),NM=yM.cssVarList,[IM,xM,jM]=ot({shadowColor:"#00000020"},gM),{shadowColor:TM}=xM,zM={...IM,[NM.hostWidth]:"100%",[NM.boxShadow]:"none",[NM.backgroundColor]:bM.colors.surface.main,[NM.backgroundImage]:"",[NM.backgroundPositionX]:"center",[NM.backgroundPositionY]:"center",[NM.backgroundSize]:"cover",[NM.backgroundRepeat]:"no-repeat",[NM.borderRadius]:"0px",[NM.hostDirection]:bM.direction,[NM.flexDirection]:"column",[NM.alignItems]:"flex-start",[NM.justifyContent]:"flex-start",[NM.headerGap]:bM.spacing.md,[NM.iconAnimationDuration]:"0.1s",[NM.contentAnimationDuration]:"0.1s",[NM.borderWidth]:"0px",[NM.textGrow]:"0",verticalPadding:{sm:{[NM.verticalPadding]:"5px"},md:{[NM.verticalPadding]:"10px"},lg:{[NM.verticalPadding]:"20px"}},horizontalPadding:{sm:{[NM.horizontalPadding]:"5px"},md:{[NM.horizontalPadding]:"10px"},lg:{[NM.horizontalPadding]:"20px"}},spaceBetween:{sm:{[NM.gap]:"10px"},md:{[NM.gap]:"20px"},lg:{[NM.gap]:"30px"}},shadow:{sm:{[NM.boxShadow]:`${bM.shadow.wide.sm} ${TM}, ${bM.shadow.narrow.sm} ${TM}`},md:{[NM.boxShadow]:`${bM.shadow.wide.md} ${TM}, ${bM.shadow.narrow.md} ${TM}`},lg:{[NM.boxShadow]:`${bM.shadow.wide.lg} ${TM}, ${bM.shadow.narrow.lg} ${TM}`},xl:{[NM.boxShadow]:`${bM.shadow.wide.xl} ${TM}, ${bM.shadow.narrow.xl} ${TM}`},"2xl":{[jM.shadowColor]:"#00000050",[NM.boxShadow]:`${bM.shadow.wide["2xl"]} ${TM}`}},borderRadius:{sm:{[NM.borderRadius]:bM.radius.sm},md:{[NM.borderRadius]:bM.radius.md},lg:{[NM.borderRadius]:bM.radius.lg},xl:{[NM.borderRadius]:bM.radius.xl},"2xl":{[NM.borderRadius]:bM.radius["2xl"]},"3xl":{[NM.borderRadius]:bM.radius["3xl"]}},iconPosition:{left:{[NM.headerIconOrder]:"0"},right:{[NM.headerIconOrder]:"1"}},_fillTitle:{[NM.textGrow]:"1"},_border:{[NM.borderColor]:bM.colors.surface.light,[NM.borderWidth]:bM.border.xs,[NM.borderStyle]:"solid"},_collapsible:{[NM.headerCursor]:"pointer"}},DM={...NM,...jM};var SM=Object.freeze({__proto__:null,default:zM,vars:DM});const vM=C("recovery-codes");class LM extends(yt({componentName:vM,baseSelector:":host > div"})){static get observedAttributes(){return["readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="list"></div>\n <descope-text class="icon-wrapper">\n <vaadin-icon class="icon" icon="vaadin:copy-o" title="Copy"></vaadin-icon>\n </descope-text>\n </div>\n ',this.list=this.shadowRoot.querySelector(".list"),this.icon=this.shadowRoot.querySelector(".icon"),this.iconWrapper=this.shadowRoot.querySelector(".icon-wrapper"),f("\n :host {\n display: inline-block;\n position: relative;\n }\n .wrapper {\n display: flex;\n justify-content: space-between;\n }\n .list {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n }\n descope-text span {\n display: inline-flex;\n align-items: center;\n width: fit-content;\n }\n descope-text span::before {\n content: '\\02022';\n transform: translateY(-0.06em);\n }\n .icon-wrapper {\n align-self: flex-start;\n }\n .icon {\n cursor: pointer;\n }\n .icon.copied {\n cursor: initial;\n }\n .icon.readonly {\n pointer-events: none;\n }\n ",this)}get variant(){return this.getAttribute("variant")}get mode(){return this.getAttribute("mode")}init(){super.init(),this.icon.addEventListener("click",this.onCopy.bind(this)),w(this,this.iconWrapper,{includeAttrs:["variant","mode"]})}onCopy(){navigator.clipboard.writeText(String(this.data.map(t=>t.value).join("\n"))),this.icon.setAttribute("icon","vaadin:check-circle-o"),this.icon.setAttribute("title","Copied"),this.icon.classList.add("copied"),setTimeout(()=>{this.icon.setAttribute("icon","vaadin:copy-o"),this.icon.setAttribute("title","Copy"),this.icon.classList.remove("copied")},5e3)}onReadOnly(t){this.icon.classList.toggle("readonly",t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&"readonly"===t&&this.onReadOnly("true"===i)}}const CM=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostMinWidth:{selector:()=>":host",property:"min-width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Ci.componentName,property:Ci.cssVarList.hostDirection}],textAlign:{selector:()=>".list",property:"align-items"},iconColor:{selector:()=>"vaadin-icon",property:"color"},iconSize:{selector:()=>"vaadin-icon",property:"font-size"},iconGap:{selector:()=>".wrapper",property:"gap"},bulletGap:{selector:()=>"descope-text span",property:"gap"}}}),Vt({itemRenderer:({value:t},e,i)=>`\n <descope-text variant="${i.variant}" mode="${i.mode}">\n <span>${t}</span>\n </descope-text>\n `,rerenderAttrsList:["variant","mode"],targetSelector:".list"}),ut,pt)(LM),AM=et(ep),wM=CM.cssVarList,fM=Ci.cssVarList,EM={[wM.hostMinWidth]:"190px",[wM.hostDirection]:AM.direction,[wM.iconColor]:it(fM.textColor),[wM.iconSize]:it(fM.fontSize),[wM.iconGap]:"8px",[wM.bulletGap]:"0.35em",textAlign:{right:{[wM.textAlign]:"flex-end"},left:{[wM.textAlign]:"flex-start"},center:{[wM.textAlign]:"center"}},_fullWidth:{[wM.hostWidth]:"100%"}};var kM=Object.freeze({__proto__:null,default:EM,vars:wM});const OM=C("outbound-apps"),VM=({name:t,description:e,logo:i,appId:o,isConnected:r},n,s)=>{const a=r?"disconnect":"connect";return`\n <descope-list-item>\n <descope-avatar\n ${i?`img="${i}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size=${s.size}\n ${i?'st-avatar-background-color="none"':""}\n class="app-logo"\n ></descope-avatar>\n\n <div class="content">\n <descope-text\n class="app-title"\n variant="subtitle1"\n mode="primary"\n >${t}</descope-text>\n ${e?`\n <descope-text\n class="app-description"\n variant="body2"\n mode="primary"\n >${e}</descope-text>\n `:""}\n </div>\n <div class="controls">\n <descope-button variant="link" mode="primary" size=${s.size} data-action="${a}" data-outbound-app-id="${o}" data-id="${a}">\n ${r?s.disconnectButtonLabel:s.connectButtonLabel}\n </descope-button>\n </div>\n </descope-list-item>\n`},WM=yt({componentName:OM,baseSelector:"descope-list"}),{host:YM}={host:{selector:()=>":host"}},UM=T(ct({mappings:{hostWidth:{...YM,property:"width"},minHeight:{selector:()=>":host"},hostDirection:[{...YM,property:"direction"},{selector:"descope-list",property:"direction"},{selector:"descope-list-item",property:"direction"}],iconColor:{selector:()=>" descope-icon",property:Lo.cssVarList.fill},errorIconColor:{selector:()=>" descope-icon.error-icon",property:Lo.cssVarList.fill},fontSize:{selector:Ci.componentName,property:Ci.cssVarList.fontSize},appLogoGap:{selector:()=>" .app-logo",property:"margin-inline-end"},contentGap:{selector:()=>" .content",property:"gap"},itemsTextAlign:{selector:Ci.componentName,property:Ci.cssVarList.textAlign},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}]}}),ut,Vt({itemRenderer:VM,rerenderAttrsList:["size","connect-button-label","disconnect-button-label"]}),pt)(class extends WM{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n width: 100%;\n }\n .controls {\n display: flex;\n min-width: 8em;\n justify-content: end;\n }\n .content {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n .app-title,\n .app-description {\n display: flex;\n direction: inherit;\n }\n descope-list {\n display: block;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=VM,this.appsList.addEventListener("click",this.onAppsListClick.bind(this))}get readonly(){return"true"===this.getAttribute("readonly")}onAppsListClick(t){if(!this.readonly){const e=t.srcElement.getAttribute("data-outbound-app-id"),i=t.srcElement.getAttribute("data-action");e&&i&&this.dispatchEvent(new CustomEvent(`${i}-clicked`,{bubbles:!0,detail:{id:e,action:i}}))}}get size(){return this.getAttribute("size")||"sm"}get connectButtonLabel(){return this.getAttribute("connect-button-label")||"Connect"}get disconnectButtonLabel(){return this.getAttribute("disconnect-button-label")||"Disconnect"}}),RM=UM.cssVarList,QM={[RM.iconColor]:ep.colors.primary.main,[RM.errorIconColor]:ep.colors.error.main,[RM.appLogoGap]:ep.spacing.md,[RM.contentGap]:ep.spacing.xs,[RM.itemCursor]:"default",[RM.itemOutline]:"none",[RM.itemBorderColor]:"transparent",[RM.listPadding]:"0",[RM.listBorderWidth]:"0",[RM.listBoxShadow]:"none",size:{xs:{[RM.fontSize]:"0.6em"},sm:{[RM.fontSize]:"0.8em"},md:{[RM.fontSize]:"1em"},lg:{[RM.fontSize]:"1.5em"}}};var ZM=Object.freeze({__proto__:null,default:QM,vars:RM});const BM=C("outbound-app-button");class PM extends(yt({componentName:BM,baseSelector:":host > descope-button"})){static get observedAttributes(){return["label","icon-src","icon-fill-current-color"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-button>\n <descope-icon class="icon"></descope-icon>\n <span class="label"></span>\n </descope-button>\n ',f("\n :host {\n display: inline-block;\n }\n .hidden {\n display: none;\n }\n ",this),this.button=this.shadowRoot.querySelector("descope-button"),this.icon=this.shadowRoot.querySelector(".icon"),this.label=this.shadowRoot.querySelector(".label")}init(){super.init?.(),w(this,this.button,{excludeAttrs:["style","class","label","icon-src","icon-fill-current-color"]})}updateLabel(t=""){this.label.textContent=t,this.label.classList.toggle("hidden",!t)}updateIcon(t=""){this.icon.setAttribute("src",t),this.icon.classList.toggle("hidden",!t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.updateLabel(i):"icon-src"===t&&this.updateIcon(i))}}const FM=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},iconFillCurrentColor:{selector:()=>"descope-icon",property:ko.cssVarList.iconColor}}}),ut,pt)(PM),GM=FM.cssVarList,HM={[GM.iconFillCurrentColor]:"inherit",_iconFillCurrentColor:{[GM.iconFillCurrentColor]:"currentColor"},_fullWidth:{[GM.hostWidth]:"100%"}},JM=GM;var $M=Object.freeze({__proto__:null,default:HM,vars:JM});const _M=t=>{const e=parseInt(t,10);return Number.isNaN(e)?0:e},XM={desktop:{light:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNlYxNkMyIDE3LjEgMi45IDE4IDQgMThIMFYyMEgyNFYxOEgyMFpNNCA2SDIwVjE2SDRWNloiIGZpbGw9IiM2MzZDNzQiLz4KPC9zdmc+Cg==",dark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwID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o=",dark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="}},qM=C("trusted-devices"),KM=({id:t,name:e,lastLoginDate:i,deviceType:o,isCurrent:r},n,s)=>{const a=r?'class="current-device"':"",{iconSrc:l,iconSrcDark:d}=(t=>{const e=XM[t]||XM.unknown;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),c=s.lastLoginLabel?`${s.lastLoginLabel} `:"",u=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),r=String(i.getMonth()+1).padStart(2,"0"),n=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${n}/${r}/${o}`,"YYYY-MM-DD":`${o}/${r}/${n}`,"MM-DD-YYYY":`${r}/${n}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,s.format),p=r?`<descope-badge\n bordered="true"\n size="xs"\n mode="primary"\n st-host-direction="${s.direction}"\n >\n ${s.currentDeviceLabel}\n </descope-badge>`:"",h=s.hideActions||r?"":`<descope-link\n class="remove-device"\n variant="body1"\n mode="primary"\n data-action="remove-device"\n data-device-id="${t}"\n st-host-direction="${s.direction}"\n ellipsis="true"\n >\n ${s.removeDeviceLabel}\n </descope-link>`,g=document.createElement("template");return g.innerHTML=`\n <descope-list-item ${a}>\n <div class="content">\n <div class="main">\n <span class="device">\n <descope-icon\n class="device-icon"\n src="${l}"\n src-dark="${d}">\n </descope-icon>\n <descope-text\n class="device-name"\n variant="body1"\n mode="primary">\n </descope-text>\n </span>\n <span class="panel">\n ${p}\n ${h}\n </span>\n </div>\n <div class="meta">\n <descope-text\n variant="body2"\n mode="primary"\n >\n ${c}\n </descope-text>\n <descope-text\n class="login-date"\n variant="body2"\n mode="primary"\n >\n ${u}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,g.content.querySelector(".device-name").textContent=e,g},tm=yt({componentName:qM,baseSelector:hu.componentName}),{host:em}={host:{selector:()=>":host"}},im=T(ct({mappings:{hostWidth:{...em,property:"width"},hostMinWidth:{...em,property:"min-width"},hostDirection:[{...em,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"}],listItemsGap:{property:hu.cssVarList.gap},listBackgroundColor:{selector:()=>hu.componentName,property:hu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>hu.componentName,property:hu.cssVarList.borderRadius},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPadding},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBorderRadius:{selector:cu.componentName,property:cu.cssVarList.borderRadius},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},badgeBorderColor:{selector:vc.componentName,property:vc.cssVarList.borderColor},badgeTextColor:{selector:vc.componentName,property:vc.cssVarList.textColor},badgeBackgroundColor:{selector:vc.componentName,property:vc.cssVarList.backgroundColor},badgeBorderRadius:{selector:vc.componentName,property:vc.cssVarList.borderRadius},devicePanelGap:{selector:()=>".main",property:"gap"},deviceIconGap:{selector:()=>".device",property:"gap"},deviceIconSize:[{selector:()=>".device-icon",property:"width"},{selector:()=>".device-icon",property:"height"}],lastLoginLabelGap:{selector:" .meta",property:"gap"}}}),ut,Vt({itemRenderer:KM,sortFn:(t,e)=>_M(e.lastLoginDate)-_M(t.lastLoginDate),rerenderAttrsList:["remove-device-label","current-device-label","last-login-label","format","hide-actions"]}),pt)(class extends tm{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n display: inline-block;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .current-device {\n order: -1;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n }\n\n .device {\n display: flex;\n min-width: 0;\n }\n\n .device-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .login-date {\n min-width: fit-content;\n }\n\n descope-badge {\n min-width: 0;\n }\n\n descope-text {\n display: flex;\n align-items: center; \n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-device::part(wrapper) {\n display: flex;\n width: 100%;\n }\n descope-link.remove-device {\n width: 100%;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=KM,this.appsList.addEventListener("click",this.onRemoveClick.bind(this))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-device-id]"),i=e?.getAttribute("data-device-id");i&&this.dispatchEvent(new CustomEvent("remove-device-clicked",{bubbles:!0,detail:{id:i,action:"remove-device"}}))}get readOnly(){return"true"===this.getAttribute("readonly")}get hideActions(){return"true"===this.getAttribute("hide-actions")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get removeDeviceLabel(){return this.getAttribute("remove-device-label")||"Sign out"}get currentDeviceLabel(){return this.getAttribute("current-device-label")||"Current device"}get lastLoginLabel(){return this.getAttribute("last-login-label")||"Last login:"}get direction(){return this.getAttribute("st-host-direction")}}),om=im.cssVarList,rm={[om.hostWidth]:"auto",[om.hostWidth]:"300px",[om.hostMinWidth]:"300px",[om.listBackgroundColor]:"transparent",[om.listBorderRadius]:"0",[om.listBorderWidth]:"0",[om.listPadding]:"0",[om.listBoxShadow]:"none",[om.listItemsGap]:ep.spacing.lg,[om.itemBorderColor]:ep.colors.surface.light,[om.itemVerticalPadding]:ep.spacing.lg,[om.itemHorizontalPadding]:ep.spacing.lg,[om.itemBorderRadius]:ep.radius.xs,[om.itemOutline]:"transparent",[om.itemBackgroundColor]:"transparent",[om.itemCursor]:"default",[om.itemContentGap]:ep.spacing.sm,[om.badgeBorderColor]:ep.colors.surface.light,[om.badgeTextColor]:ep.colors.surface.dark,[om.badgeBorderRadius]:ep.radius.xs,[om.badgeBackgroundColor]:ep.colors.surface.main,[om.devicePanelGap]:ep.spacing.md,[om.deviceIconGap]:ep.spacing.md,[om.deviceIconSize]:"24px",[om.lastLoginLabelGap]:ep.spacing.xs,_fullWidth:{[om.hostWidth]:"100%"}};var nm=Object.freeze({__proto__:null,default:rm,vars:om});const sm=C("tooltip"),am=["text","position","hide-delay","hover-delay","opened"];class lm extends(yt({componentName:sm,baseSelector:"vaadin-tooltip"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <vaadin-tooltip slot="anchored"></vaadin-tooltip>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.tooltip=this.shadowRoot.querySelector("vaadin-tooltip"),this.anchored=this.shadowRoot.querySelector("descope-anchored")}#si(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}static get observedAttributes(){return am.concat(super.observedAttributes||[])}get isOpened(){return"true"===this.getAttribute("opened")}get overlay(){return this.tooltip?._overlayElement}get overlayContentNode(){return this.overlay?.shadowRoot.querySelector('[part="content"]')}get tooltipText(){return this.getAttribute("text")?.trim()||""}get isStaticDisplay(){return"true"===this.getAttribute("static-display")}get srLabel(){return this.tooltip?.querySelector('[slot="sr-label"]')}#ai(){this.isStaticDisplay?(this.#li(),this.setAttribute("inert","true")):this.removeAttribute("inert")}#li(){this.overlay&&(this.overlay.style.display="block",this.overlay.style.position="static")}init(){super.init?.(),f('\n :host {\n display: inline-block;\n }\n vaadin-tooltip {\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n }\n /* Stack anchor above the anchored element so the tooltip flows below it inline. */\n :host([static-display="true"]) descope-anchored::part(root) {\n flex-direction: column;\n }\n :host([static-display="true"]) descope-anchored::part(anchored) {\n position: static;\n inset: unset;\n }\n :host([static-display="true"]) vaadin-tooltip {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n }\n :host([static-display="true"]) vaadin-tooltip [slot="sr-label"] {\n display: none;\n }\n',this),this.defaultSlot.addEventListener("slotchange",()=>this.#di()),this.#di(),this.#si(),setTimeout(()=>this.#ci())}#di(){const t=this.defaultSlot?.assignedElements()?.[0];t&&(this.tooltip.target=t)}#ci(){this.#ui(),this.#pi(),w(this,this.tooltip,{includeAttrs:["position","opened"]}),this.#hi()}#gi(){this.overlayContentNode.innerHTML=""}#Mi(){const t=document.createElement("descope-enriched-text");return t.setAttribute("link-target-blank","true"),t.textContent=this.tooltipText,t}#ui(){this.overlayContentNode&&setTimeout(()=>{this.#gi(),this.textComponent=this.#Mi(),this.overlayContentNode.appendChild(this.textComponent),this.srLabel&&!this.tooltipText&&this.srLabel.setAttribute("aria-hidden","true"),w(this,this.textComponent,{includeAttrs:["readonly"]})})}#pi(){if(!this.overlay)return;const t=this.overlay._attachOverlay?.bind(this.overlay);this.overlay._detachOverlay=()=>{},this.overlay._attachOverlay=()=>{t?.(),setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.overlay._updatePosition?.()})},this.isOpened&&setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.#ai(),this.overlay._updatePosition?.()})}#hi(){this.tooltip?.toggleAttribute("manual",this.isOpened)}#mi(t){if(!this.textComponent)return;const e=(t??"").trim();this.textComponent.textContent=e,this.srLabel&&(e?this.srLabel.removeAttribute("aria-hidden"):this.srLabel.setAttribute("aria-hidden","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("text"===t&&this.#mi(i),"opened"===t&&this.#hi())}}const{overlay:dm,content:cm}={overlay:{selector:()=>"vaadin-tooltip-overlay::part(overlay)"},content:{selector:()=>"vaadin-tooltip-overlay::part(content)"}},um=T(pt,Et({selector:"",mappings:{fontFamily:{...cm,property:Qt.cssVarList.fontFamilyOverride},fontSize:{...cm,property:Qt.cssVarList.fontSizeOverride},fontWeight:{...cm,property:Qt.cssVarList.fontWeightOverride},textColor:{...cm,property:Qt.cssVarList.textColorOverride},hostDirection:{...cm,property:Qt.cssVarList.hostDirectionOverride},backgroundColor:[{...dm},{...cm}],borderColor:{...dm},borderStyle:{...dm},borderWidth:{...dm},borderRadius:{...dm},boxShadow:{...dm},horizontalPadding:[{...cm,property:"padding-left"},{...cm,property:"padding-right"}],verticalPadding:[{...cm,property:"padding-top"},{...cm,property:"padding-bottom"}]},forward:{attributes:["style"],include:!1}}))(lm),pm=et(ep),hm=um.cssVarList,[gm,Mm,mm]=ot({shadowColor:"#00000020"},sm),{shadowColor:ym}=Mm,bm=`${pm.shadow.wide.sm} ${ym}, ${pm.shadow.narrow.sm} ${ym}`,Nm={...gm,[hm.fontFamily]:pm.fonts.font1.family,[hm.fontSize]:ep.typography.body2.size,[hm.fontWeight]:ep.typography.body2.weight,[hm.textColor]:pm.colors.surface.contrast,[hm.hostDirection]:pm.direction,[hm.backgroundColor]:pm.colors.surface.main,[hm.borderColor]:pm.colors.surface.light,[hm.borderStyle]:"solid",[hm.borderWidth]:pm.border.xs,[hm.borderRadius]:pm.radius.xs,[hm.horizontalPadding]:pm.spacing.md,[hm.verticalPadding]:pm.spacing.sm,[hm.boxShadow]:bm,shadow:{sm:{[hm.boxShadow]:bm},md:{[hm.boxShadow]:`${pm.shadow.wide.md} ${ym}, ${pm.shadow.narrow.md} ${ym}`},lg:{[hm.boxShadow]:`${pm.shadow.wide.lg} ${ym}, ${pm.shadow.narrow.lg} ${ym}`},xl:{[hm.boxShadow]:`${pm.shadow.wide.xl} ${ym}, ${pm.shadow.narrow.xl} ${ym}`},"2xl":{[mm.shadowColor]:"#00000050",[hm.boxShadow]:`${pm.shadow.wide["2xl"]} ${ym}`}}};var Im=Object.freeze({__proto__:null,default:Nm,vars:hm});const xm=async t=>{const e=await fetch(t);if(!e.ok)throw new Error(`[dataService] ${e.status} ${t}`);const i=await e.json();return i.data??i},jm=async t=>xm(`${t}/countries.json`),Tm=async(t,e)=>{try{return(await xm(`${e}/countries/${t}/subdivisions.json`)).map(({code:t,...e})=>({...e,state_code:t}))}catch{return[]}},zm=async(t,e,i)=>xm(`${i}/countries/${t}/subdivisions/${e}/cities.json`),Dm=async t=>{const e=new URL("../labels.json",`${t}/`).href;return xm(e)},Sm=async(t,e)=>xm(`${e}/countries/${t}/cities.json`),vm=C("country-subdivision-city-field-internal"),Lm=Symbol("selecting"),Cm=({name:t,translations:e={}},i)=>i&&(e[i]||e[i.split("-")[0]])||t,Am=t=>t?String(t).replace(/[&<>"']/g,t=>`&#${t.charCodeAt(0)};`):"",wm=({name:t,iso2:e,iso3:i,translations:o,lang:r})=>{const n=Cm({name:t,translations:o},r),s=[n,e,i];n!==t&&s.push(t);const a=Am(e),l=Am(s.join(" ")),d=Am(n);return`<div data-id="${a}" data-name="${l}" data-label="${d}">${d}</div>`},fm=({name:t,state_code:e,translations:i,lang:o})=>{const r=Cm({name:t,translations:i},o),n=[r,e];r!==t&&n.push(t);const s=Am(e),a=Am(n.join(" ")),l=Am(r);return`<div data-id="${s}" data-name="${a}" data-label="${l}">${l}</div>`},Em=({name:t,translations:e,lang:i})=>{const o=Cm({name:t,translations:e},i),r=[o];o!==t&&r.push(t);const n=Am(t),s=Am(r.join(" ")),a=Am(o);return`<div data-id="${n}" data-name="${s}" data-label="${a}">${a}</div>`},km=t=>`<descope-combo-box id="${t}" item-label-path="data-name" item-value-path="data-id" allow-custom-value="false"></descope-combo-box>`,Om=zt({componentName:vm,baseSelector:""}),Vm=["disabled","readonly","size","bordered"],Wm=["hide-country","hide-subdivision","hide-city"],Ym=[...Vm,"label-type","country-label","subdivision-label","city-label",...Wm,"default-country","allowed-countries","pinned-countries","country-placeholder","subdivision-placeholder","city-placeholder","required","invalid","data-source-base-url","lang"],Um=T()(class extends Om{static get observedAttributes(){return[].concat(Om.observedAttributes||[],Ym)}#yi;#bi;#Ni;#Ii=!1;#xi=!1;#ji=new Map;#Ti=null;#zi=null;#Di=null;#Si=null;#vi=null;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n ${km("country-combo")}\n ${km("subdivision-combo")}\n ${km("city-combo")}\n </div>\n `,this.#yi=this.querySelector("#country-combo"),this.#bi=this.querySelector("#subdivision-combo"),this.#Ni=this.querySelector("#city-combo"),this.#Li(),this.#Ci()}get#Ai(){return"true"===this.getAttribute("hide-country")}get#wi(){return"true"===this.getAttribute("hide-subdivision")}get#fi(){return"true"===this.getAttribute("hide-city")}get#Ei(){return!this.#ki}get#ki(){return this.getAttribute("data-source-base-url")||void 0}get#Oi(){const t=this.getAttribute("lang")||void 0;if(t)try{const[e]=Intl.getCanonicalLocales(t);return e}catch{return}}get#Vi(){return this.getAttribute("default-country")?.toUpperCase()||void 0}get#Wi(){return this.getAttribute("subdivision-label")||void 0}get#Yi(){return this.getAttribute("subdivision-placeholder")||void 0}get#Ui(){return(this.getAttribute("allowed-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Ri(){return(this.getAttribute("pinned-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Qi(){return[this.#yi,this.#bi,this.#Ni]}get value(){return{country:this.#Ai?this.#Vi:this.#yi.value||void 0,subdivision:!this.#wi&&this.#Ii&&this.#bi.value||void 0,city:!this.#fi&&this.#xi&&this.#Ni.value||void 0}}set value(t){if(!t)return;let e;try{e="string"==typeof t?JSON.parse(t):t}catch{return}this.#vi={...e},this.#ki&&this.#Zi()}init(){this.addEventListener("focus",t=>{if(t.isTrusted){const t=this.#Qi.find(t=>!t.classList.contains(`${vm}-hidden`)&&!t.checkValidity());(t||this.#Bi())?.focus()}}),super.init?.(),this.#Pi(),this.#Fi(),this.#Gi(),this.#Hi()}#Hi(){this.#yi.renderItem=wm,this.#bi.renderItem=fm,this.#Ni.renderItem=Em}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i)if("required"===t)this.#Ji();else if(Wm.includes(t)||"data-source-base-url"===t)this.#Pi(),"data-source-base-url"===t&&this.#Gi();else if("default-country"===t){const t=i?.toUpperCase();if(t&&t!==i)return void this.setAttribute("default-country",t);t&&this.#ji.size?this.#$i(t):t&&this.#Ai&&this.#_i()}else"lang"===t?this.#Xi():"invalid"===t?"true"===i&&this.#qi():"allowed-countries"===t||"pinned-countries"===t?this.#Ai||(this.#Ti?this.#Ki(this.#Ti):this.#_i()):"country-label"===t?this.#to(this.#yi,"label",i):"subdivision-label"===t?this.#to(this.#bi,"label",i):"city-label"===t&&this.#to(this.#Ni,"label",i)}getValidity(){if(!this.isRequired)return{};const t=!this.#Ai&&!this.#yi.value,e=!this.#wi&&(this.#Ei||this.#Ii)&&!this.#bi.value,i=!this.#fi&&(this.#Ei||this.#xi)&&!this.#Ni.value;return t||e||i?{valueMissing:!0}:{}}#qi(){for(const t of[...this.#Qi].reverse())t.classList.contains(`${vm}-hidden`)||t.checkValidity()||t.reportValidity()}#Li(){[this.#yi,this.#bi,this.#Ni].forEach(t=>{t.customValueTransformFn=e=>{const i=t.baseElement?.items?.find(t=>t["data-name"]===e);return i?.getAttribute("data-label")??e}})}#Ci(){this.#Qi.forEach(t=>{w(this,t,{includeAttrs:[...Vm,"label-type"]})}),w(this,this.#yi,{includeAttrs:["default-country"],mapAttrs:{"default-country":"default-value"}}),[[this.#yi,"country-placeholder"],[this.#bi,"subdivision-placeholder"],[this.#Ni,"city-placeholder"]].forEach(([t,e])=>{w(this,t,{includeAttrs:[e],mapAttrs:{[e]:"placeholder"}})})}#Fi(){this.#yi.addEventListener("input",()=>this.#eo()),this.#bi.addEventListener("input",()=>this.#io()),this.#Ni.addEventListener("input",()=>this.#oo()),this.handleFocusEventsDispatching(this.#Qi)}#Gi(){this.#ki&&(this.#vi?this.#Zi():this.#Ai&&!this.#Vi||this.#_i())}async#Zi(){const{country:t,subdivision:e,city:i}=this.#vi,o=!!e&&!this.#wi,r=!!i&&!this.#fi,n=this.#Ti??jm(this.#ki),s=this.#Si??Dm(this.#ki),a=o&&t?Tm(t,this.#ki):null,l=r&&t?o&&e?zm(t,e,this.#ki):Sm(t,this.#ki):null,[d,c,u,p]=(await Promise.allSettled([n,s,a,l])).map(t=>"fulfilled"===t.status?t.value:null);if(!this.#vi)return;c&&(this.#Si=c);const h=[];d&&(this.#Ti||(this.#Ti=d,this.#Ki(d)),t&&!this.#Ai&&h.push([this.#yi,t]));const g=t?this.#ji.get(t):null;g?.subdivisionType&&this.#ro(g.subdivisionType),u&&(this.#zi=u,this.#Ii=u.length>0,u.length>0&&(this.#bi.data=u.map(t=>({...t,lang:this.#Oi})),e&&h.push([this.#bi,e]))),p&&(this.#xi=p.length>0,p.length>0&&(this.#Di=p,this.#Ni.data=p.map(t=>({...t,lang:this.#Oi})),i&&h.push([this.#Ni,i]))),this.#Pi(),this.#vi=Lm,setTimeout(()=>{if(this.#vi===Lm){for(const[t,e]of h){const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)}this.#vi=null}})}#eo(){this.#vi!==Lm&&(this.#vi=null,this.#no(),this.#so(),this.#$i(this.#yi.value),this.#oo())}#io(){if(this.#vi===Lm)return;this.#vi=null;const t=this.#bi.value;if(this.#so(),!this.#fi&&t){const e=this.#yi.value;e&&this.#ao(e,t)}this.#oo()}#$i(t){if(!t)return;const e=this.#ji.get(t);if(!e)return;const{hasSubdivisions:i,subdivisionType:o}=e;!this.#wi&&i?(this.#ro(o),this.#lo(t)):this.#fi||this.#ao(t)}#ro(t){const e=this.#do(t);this.#Wi||this.#to(this.#bi,"label",e||null),this.#Yi||this.#to(this.#bi,"placeholder",e||null)}#do(t){const e=this.#Si?.subdivisionTypes,i=e?.[t]??e?._fallback;if(!i)return t;const o=this.#Oi;return o&&(i[o]||i[o.split("-")[0]])||i.en||t}async#co(){try{this.#Si=await Dm(this.#ki)}catch{}}async#_i(){if(this.#ki){this.#yi.setAttribute("loading","true");try{const[t]=await Promise.all([jm(this.#ki),this.#co()]);this.#Ti=t,this.#Ki(t),!this.#vi&&this.#Vi&&this.#$i(this.#Vi)}catch(t){console.error(`[${vm}] Failed to load countries`,t)}finally{this.#yi.removeAttribute("loading")}}}async#lo(t){this.#uo(this.#bi,!0),this.#bi.setAttribute("loading","true");try{const e=await Tm(t,this.#ki);this.#zi=e,this.#Ii=e.length>0,this.#Pi(),e.length>0?this.#bi.data=e.map(t=>({...t,lang:this.#Oi})):this.#fi||this.#ao(t)}catch(e){console.error(`[${vm}] Failed to load subdivisions for ${t}`,e),this.#Ii=!1,this.#po()}finally{this.#bi.removeAttribute("loading")}}async#ao(t,e){this.#Ni.setAttribute("loading","true");try{const i=await(e?zm(t,e,this.#ki):Sm(t,this.#ki));this.#xi=i.length>0,this.#Pi(),i.length>0&&(this.#Di=i,this.#Ni.data=i.map(t=>({...t,lang:this.#Oi})))}catch(i){console.error(`[${vm}] Failed to load cities for ${t}${e?`/${e}`:""}`,i)}finally{this.#Ni.removeAttribute("loading")}}#Xi(){if(this.#Ti){const t=this.#yi.value;this.#Ki(this.#Ti),t&&this.#ho(this.#yi,t)}if(this.#zi&&this.#Ii){const t=this.#bi.value;this.#bi.data=this.#zi.map(t=>({...t,lang:this.#Oi})),t&&this.#ho(this.#bi,t)}if(this.#Di&&this.#xi){const t=this.#Ni.value;this.#Ni.data=this.#Di.map(t=>({...t,lang:this.#Oi})),t&&this.#ho(this.#Ni,t)}const t=this.#yi.value;if(t){const e=this.#ji.get(t);e?.subdivisionType&&this.#ro(e.subdivisionType)}}#Ki(t){const e=this.#go(t);this.#yi.data=e.map(t=>({...t,lang:this.#Oi})),this.#ji=new Map(t.map(t=>[t.iso2,t]))}#go(t){const e=this.#Ui,i=this.#Ri;let o=e.length?t.filter(t=>e.includes(t.iso2)):[...t];return o.sort((t,e)=>Cm(t,this.#Oi).localeCompare(Cm(e,this.#Oi),this.#Oi)),i.length?[...i.map(t=>o.find(e=>e.iso2===t)).filter(Boolean),...o.filter(t=>!i.includes(t.iso2))]:o}#po(){this.#uo(this.#yi,!this.#Ai),this.#uo(this.#bi,!this.#wi&&(this.#Ei||this.#Ii)),this.#uo(this.#Ni,!this.#fi&&(this.#Ei||this.#xi))}#uo(t,e){t?.classList.toggle(`${vm}-hidden`,!e)}#Ji(){const t=this.hasAttribute("required")?"true":null;this.#to(this.#yi,"required",this.#Ai?null:t),this.#to(this.#bi,"required",this.#wi||!this.#Ei&&!this.#Ii?null:t),this.#to(this.#Ni,"required",this.#fi||!this.#Ei&&!this.#xi?null:t)}#Pi(){this.#po(),this.#Ji(),this.setCustomValidity("")}#no(){this.#bi.value="",this.#bi.data=[],this.#Ii=!1,this.#Wi||this.#bi.removeAttribute("label"),this.#Yi||this.#bi.removeAttribute("placeholder"),this.#Pi()}#so(){this.#Ni.value="",this.#Ni.data=[],this.#Di=null,this.#xi=!1,this.#Pi()}#oo(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}#to(t,e,i){i?t.setAttribute(e,i):t.removeAttribute(e)}#Bi(){return this.#Qi.find(t=>!t.classList.contains(`${vm}-hidden`))}#ho(t,e){setTimeout(()=>{const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)})}}),Rm=C("country-subdivision-city-field"),Qm={selector:()=>":host"},Zm={selector:`${vm} > .wrapper`},Bm={selector:`${vm} > .wrapper > descope-combo-box`},Pm=T(ct({componentNameOverride:C("input-wrapper")}),ct({mappings:{hostWidth:{...Qm,property:"width"},hostDirection:[{...Qm,property:"direction"},{...Bm,property:xo.cssVarList.hostDirection}],flexDirection:{...Zm,property:"flex-direction"},flexGap:{...Zm,property:"gap"},itemAlignment:{...Zm,property:"align-items"},itemMinWidth:{...Bm,property:"min-width"},itemFlexGrow:{...Bm,property:"flex-grow"},itemWidth:{...Bm,property:xo.cssVarList.hostWidth}}}),ut,wt({proxyProps:["value"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${vm}\n tabindex="-1"\n ></${vm}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(vm),w(this,this.inputElement,{includeAttrs:["size","bordered","required","label-type","disabled","readonly","hide-country","hide-subdivision","hide-city","default-country","allowed-countries","pinned-countries","country-label","subdivision-label","city-label","country-placeholder","subdivision-placeholder","city-placeholder","data-source-base-url","lang","invalid"]}),L(this,this.inputElement,{includeAttrs:["invalid"]})}})(vt({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${vm} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${vm} > .wrapper {\n display: flex;\n width: 100%;\n flex-wrap: wrap;\n }\n\n .${vm}-hidden {\n display: none;\n }\n\n`,excludeAttrsSync:["tabindex","style","error-message"],componentName:Rm})),Fm=Pm.cssVarList,Gm={[Fm.hostWidth]:vp.width,[Fm.hostDirection]:vp.direction,[Fm.flexDirection]:"column",[Fm.flexGap]:"0.5em",[Fm.itemAlignment]:"stretch",[Fm.itemFlexGrow]:"0",[Fm.itemWidth]:"auto",_fullWidth:{[Fm.hostWidth]:"100%"},_horizontal:{[Fm.flexDirection]:"row",[Fm.itemFlexGrow]:"1"}};var Hm=Object.freeze({__proto__:null,default:Gm,vars:Fm});const Jm=C("attachment"),$m=["top-end","top-start","top-center","bottom-start","bottom-end","bottom-center"],_m=$m[0];class Xm extends(yt({componentName:Jm,baseSelector:"descope-anchored"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <div slot="anchored" class="attachment-container">\n <slot name="attachment"></slot>\n </div>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.attachmentSlot=this.shadowRoot.querySelector('slot[name="attachment"]'),this.anchored=this.shadowRoot.querySelector("descope-anchored")}get#Mo(){return this.attachmentSlot?.assignedElements()[0]}static get observedAttributes(){return[...super.observedAttributes||[],"position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"position"===t&&e!==i&&this.#mo()}init(){super.init?.(),this.#si(),f("\n :host {\n display: inline-block;\n }\n :host(.hidden) {\n display: none;\n }\n .attachment-container {\n position: absolute;\n z-index: 1;\n pointer-events: none;\n width: 100%;\n display: flex;\n align-items: center;\n container-type: inline-size;\n }\n",this),this.#mo();const t=this.shadowRoot.querySelector(".attachment-container");D(t,()=>this.#yo(),{includeAttrs:["st-host-direction"]}),this.attachmentSlot.addEventListener("slotchange",()=>this.#yo()),this.defaultSlot.addEventListener("slotchange",()=>{this.#bo(),window.requestAnimationFrame(()=>this.#No())}),window.requestAnimationFrame(()=>this.#bo())}#si(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#No(){const t=this.defaultSlot?.assignedElements()?.[0],e=t?.getBoundingClientRect();if(e){const t=e.width;this.#Mo?.setAttribute("data-attachment-size",Number(t))}}#bo(){const t=this.defaultSlot?.assignedElements()?.length>0;this.classList.toggle("hidden",!t)}#yo(){const t=this.shadowRoot.querySelector(".attachment-container")?.getAttribute("st-host-direction");t&&this.#Mo?.setAttribute("st-host-direction",t)}get offsetX(){return this.getAttribute("offset-x")||"0px"}get offsetY(){return this.getAttribute("offset-y")||"0px"}#mo(){const t=this.getAttribute("position");$m.includes(t)||this.setAttribute("position",_m)}}const qm={selector:()=>".attachment-container"},Km=T(ct({mappings:{transform:{...qm},justifyContent:{...qm},maxWidth:{...qm},top:{...qm},bottom:{...qm},left:{...qm},right:{...qm},offsetX:{},offsetY:{}}}),ut,pt)(Xm),ty=Km.cssVarList,ey=`calc(8px + var(${ty.offsetX}))`,iy={[ty.maxWidth]:"calc(100% - 2 * 8px)",position:{"top-start":{[ty.transform]:"translateY(-50%)",[ty.justifyContent]:"start",[ty.left]:ey,[ty.top]:it(ty.offsetY)},"top-center":{[ty.transform]:"translate(-50%, -50%)",[ty.justifyContent]:"center",[ty.top]:it(ty.offsetY),[ty.left]:"50%"},"top-end":{[ty.transform]:"translateY(-50%)",[ty.justifyContent]:"end",[ty.right]:ey,[ty.top]:it(ty.offsetY)},"bottom-start":{[ty.transform]:"translateY(50%)",[ty.justifyContent]:"start",[ty.left]:ey,[ty.bottom]:it(ty.offsetY)},"bottom-center":{[ty.bottom]:it(ty.offsetY),[ty.transform]:"translate(-50%, 50%)",[ty.justifyContent]:"center",[ty.left]:"50%"},"bottom-end":{[ty.transform]:"translateY(50%)",[ty.justifyContent]:"end",[ty.right]:ey,[ty.bottom]:it(ty.offsetY)}}};var oy=Object.freeze({__proto__:null,default:iy}),ry="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9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2IDAgMy0xLjM0IDMtM3YtMTZjMC0xLjY2LTEuMzQtMy0zLTN6bTEgMTdoLTEwdi0xNGgxMHptLTMgM2gtNHYtMWg0eiIgZmlsbD0iIzYzNmM3NCIvPjwvc3ZnPg==",dark:"data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTYgMWgtOGMtMS42NiAwLTMgMS4zNC0zIDN2MTZjMCAxLjY2IDEuMzQgMyAzIDNoOGMxLjY2IDAgMy0xLjM0IDMtM3YtMTZjMC0xLjY2LTEuMzQtMy0zLTN6bTEgMTdoLTEwdi0xNGgxMHptLTMgM2gtNHYtMWg0eiIgZmlsbD0iI2JlYzRjYSIvPjwvc3ZnPg=="},other:{light:ny,dark:ry}},ly=C("user-passkeys"),dy=({id:t,name:e,createdAt:i,passkeyType:o},r,n)=>{const{iconSrc:s,iconSrcDark:a}=(t=>{const e=ay[t]||ay.other;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),l=i&&n.createdAtLabel?`${n.createdAtLabel} `:"",d=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),r=String(i.getMonth()+1).padStart(2,"0"),n=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${n}/${r}/${o}`,"YYYY-MM-DD":`${o}/${r}/${n}`,"MM-DD-YYYY":`${r}/${n}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,n.format),c=document.createElement("template");return c.innerHTML=`\n <descope-list-item>\n <div class="content">\n <div class="main">\n <span class="item">\n <descope-icon class="item-icon" src="${s}" src-dark="${a}"></descope-icon>\n <descope-text class="item-name" variant="body1" mode="primary"></descope-text>\n </span>\n <span class="item-panel">\n ${n.allowRemove?'<descope-link variant="text" mode="primary" size="md" ellipsis="true" data-action="remove-passkey" class="remove-button">\n <div class="remove-button-content">\n </div>\n </descope-link>':'<descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg=="></descope-icon>'}\n </span>\n </div>\n <div class="meta">\n <descope-text variant="body2" mode="primary">${l}</descope-text>\n <descope-text class="date" variant="body2" mode="primary">\n ${d}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,c.content.querySelector(".item-name").textContent=e,n.allowRemove&&((t,e,i)=>{const o=t.content.querySelector(".remove-button-content");o.dataset.passkeyId=e;const r=((t,e)=>{if(!t)return null;const i=t.querySelectorAll(`:scope > [slot="${e}"]`);if(!i.length)return null;const o=document.createDocumentFragment();return i.forEach(t=>{const e=t.content?t.content.cloneNode(!0):t.cloneNode(!0);e.removeAttribute&&e.removeAttribute("slot"),o.append(e)}),o})(i,"remove-button");r&&o.append(r)})(c,t,n),c},cy=yt({componentName:ly,baseSelector:hu.componentName}),{host:uy,methodIconSlotted:py,addIconSlotted:hy}={host:{selector:()=>":host"},methodIconSlotted:{selector:()=>'slot[name="method-icon"]::slotted(*)'},addIconSlotted:{selector:()=>'slot[name="button-icon"]::slotted(*)'}},gy=T(ct({mappings:{hostWidth:{...uy,property:"width"},hostMinWidth:{...uy,property:"min-width"},hostDirection:[{...uy,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"},{selector:()=>"descope-link",property:Ui.cssVarList.hostDirection}],headerGap:{selector:()=>".method",property:"gap"},listGap:{selector:()=>"descope-list",property:"margin-top"},listItemsGap:{property:hu.cssVarList.gap},listBackgroundColor:{selector:()=>hu.componentName,property:hu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>hu.componentName,property:hu.cssVarList.borderRadius},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPadding},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBorderRadius:{selector:cu.componentName,property:cu.cssVarList.borderRadius},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},itemPanelGap:{selector:()=>".main",property:"gap"},itemIconGap:{selector:()=>".item",property:"gap"},itemIconSize:[{selector:()=>".item-icon",property:"width"},{selector:()=>".item-icon",property:"height"}],addButtonGap:{selector:()=>".button",property:"margin-inline-end"},dateGap:{selector:" .meta",property:"gap"},removeButtonGap:{selector:()=>".remove-button-content",property:"gap"},iconColor:{selector:()=>ko.componentName,property:ko.cssVarList.iconColor},iconSize:[{...py,property:"height"},{...hy,property:"height"}]}}),ut,Vt({itemRenderer:dy,sortFn:(t,e)=>sy(e.createdAt)-sy(t.createdAt),rerenderAttrsList:["created-at-label","format","allow-remove"]}),pt)(class extends cy{static get observedAttributes(){return["label","add-passkey-button-label","remove-passkey-button-label","empty"].concat(super.observedAttributes)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="header">\n <div class="method">\n <slot name="method-icon"></slot>\n <descope-text class="method-label" st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n <span class="button">\n <descope-button class="add-passkey-button" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n </span>\n </div>\n\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n\n <slot name="remove-button" class="hidden"></slot>\n ',this.methodLabel=this.shadowRoot.querySelector(".method-label"),this.addPasskeyButton=this.shadowRoot.querySelector(".add-passkey-button"),this.appsList=this.shadowRoot.querySelector("descope-list"),this.removeButton=this.shadowRoot.querySelector('slot[name="remove-button"]'),f("\n .remove-button-content {\n display: flex;\n align-items: center;\n }\n :host {\n display: inline-block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .header .method {\n display: flex;\n }\n\n .button {\n min-width: 0;\n }\n\n .add-passkey-button {\n align-self: center;\n max-width: 100%;\n }\n\n .add-passkey-button > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .item-panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n align-items: center;\n cursor: pointer;\n }\n\n .item {\n display: flex;\n min-width: 0;\n }\n\n .item-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .date {\n min-width: fit-content;\n }\n\n descope-text {\n display: flex;\n align-items: center; \n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-button {\n width: 100%;\n }\n descope-link.remove-button::part(wrapper) {\n display: flex;\n width: 100%;\n }\n .hidden {\n display: none\n }\n \n ",this)}init(){super.init?.(),this.appsList.itemRenderer=dy,this.appsList.addEventListener("click",this.onRemoveClick.bind(this)),this.addPasskeyButton.addEventListener("click",this.onAddClick.bind(this)),w(this.appsList,this,{includeAttrs:["empty"]}),this.removeButton.addEventListener("slotchange",()=>{this.data=[...this.data]}),this.onLabelChange(),this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel)}onAddClick(){this.readOnly||this.dispatchEvent(new CustomEvent("add-passkey-clicked",{bubbles:!0,detail:{action:"add-passkey"}}))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-passkey-id]"),i=e?.getAttribute("data-passkey-id");i&&this.dispatchEvent(new CustomEvent("remove-passkey-clicked",{bubbles:!0,detail:{id:i,action:"remove-passkey"}}))}get label(){return this.getAttribute("label")||"Passkey"}get readOnly(){return"true"===this.getAttribute("readonly")}get allowRemove(){return"true"===this.getAttribute("allow-remove")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get addPasskeyButtonLabel(){return this.getAttribute("add-passkey-button-label")||"Add"}get removePasskeyButtonLabel(){return this.getAttribute("remove-passkey-button-label")||"Remove"}get createdAtLabel(){return this.getAttribute("created-at-label")||"Date added:"}get direction(){return this.getAttribute("st-host-direction")}onLabelChange(){this.methodLabel.innerText=this.label,this.methodLabel.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.textContent=e):i&&t.removeChild(i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"add-passkey-button-label"===t?this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel):"empty"===t&&this.appsList.classList.toggle("hidden","true"===i))}}),My=gy.cssVarList,my={[My.hostWidth]:"auto",[My.hostWidth]:"300px",[My.hostMinWidth]:"300px",[My.headerGap]:ep.spacing.lg,[My.listGap]:ep.spacing.xl,[My.listBackgroundColor]:"transparent",[My.listBorderRadius]:"0",[My.listBorderWidth]:"0",[My.listPadding]:"0",[My.listBoxShadow]:"none",[My.listItemsGap]:ep.spacing.lg,[My.itemBorderColor]:ep.colors.surface.light,[My.itemVerticalPadding]:ep.spacing.lg,[My.itemHorizontalPadding]:ep.spacing.lg,[My.itemBorderRadius]:ep.radius.xs,[My.itemOutline]:"transparent",[My.itemBackgroundColor]:"transparent",[My.itemCursor]:"default",[My.itemContentGap]:ep.spacing.sm,[My.itemPanelGap]:ep.spacing.md,[My.itemIconGap]:ep.spacing.md,[My.itemIconSize]:"24px",[My.addButtonGap]:ep.spacing.sm,[My.dateGap]:ep.spacing.xs,[My.removeButtonGap]:ep.spacing.sm,[My.iconSize]:"1.5em",[My.iconColor]:"currentcolor",_fullWidth:{[My.hostWidth]:"100%"}};var yy=Object.freeze({__proto__:null,default:my,vars:My});const by=qt("input-wrapper"),Ny=Se(_u),[Iy,xy,jy]=Oe({labelTextColor:Ny.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:Ny.colors.surface.contrast,placeholderTextColor:Ny.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:Ny.colors.surface.dark,errorMessageTextColor:Ny.colors.error.main,successMessageTextColor:Ny.colors.success.main,borderWidth:Ny.border.xs,borderRadius:Ny.radius.xs,borderColor:"transparent",outlineWidth:Ny.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:Ny.colors.surface.main,fontFamily:Ny.fonts.font1.family,direction:Ny.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_bordered:{outlineWidth:Ny.border.xs,borderColor:Ny.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:Ny.colors.error.main}},_focused:{outlineColor:Ny.colors.surface.light,_invalid:{outlineColor:Ny.colors.error.main}},_disabled:{labelTextColor:Ny.colors.surface.light,borderColor:Ny.colors.surface.light,valueTextColor:Ny.colors.surface.light,placeholderTextColor:Ny.colors.surface.light,helperTextColor:Ny.colors.surface.light,backgroundColor:Ny.colors.surface.main},_obfuscated:{inputTextSecurity:"disc"}},by);var Ty=Object.freeze({__proto__:null,default:Iy,refs:xy,vars:jy});const zy=Se(_u),Dy=_r.cssVarList,Sy={[Dy.hostWidth]:xy.width,[Dy.hostMinWidth]:xy.minWidth,[Dy.hostDirection]:xy.direction,[Dy.fontSize]:xy.fontSize,[Dy.fontFamily]:xy.fontFamily,[Dy.labelFontSize]:xy.labelFontSize,[Dy.labelFontWeight]:xy.labelFontWeight,[Dy.inputValueFontWeight]:xy.inputValueFontWeight,[Dy.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[Dy.helperTextFontWeight]:xy.helperTextFontWeight,[Dy.errorMessageFontWeight]:xy.errorMessageFontWeight,[Dy.labelTextColor]:xy.labelTextColor,[Dy.labelRequiredIndicator]:xy.requiredIndicator,[Dy.errorMessageTextColor]:xy.errorMessageTextColor,[Dy.inputValueTextColor]:xy.valueTextColor,[Dy.inputPlaceholderColor]:xy.placeholderTextColor,[Dy.inputBorderWidth]:xy.borderWidth,[Dy.inputBorderStyle]:xy.borderStyle,[Dy.inputBorderColor]:xy.borderColor,[Dy.inputBorderRadius]:xy.borderRadius,[Dy.inputOutlineWidth]:xy.outlineWidth,[Dy.inputOutlineStyle]:xy.outlineStyle,[Dy.inputOutlineColor]:xy.outlineColor,[Dy.inputOutlineOffset]:xy.outlineOffset,[Dy.inputBackgroundColor]:xy.backgroundColor,[Dy.inputHeight]:xy.inputHeight,[Dy.inputHorizontalPadding]:xy.horizontalPadding,[Dy.helperTextColor]:xy.helperTextColor,[Dy.textAlign]:xy.textAlign,textAlign:{right:{[Dy.inputTextAlign]:"right"},left:{[Dy.inputTextAlign]:"left"},center:{[Dy.inputTextAlign]:"center"}},[Dy.labelPosition]:xy.labelPosition,[Dy.labelTopPosition]:xy.labelTopPosition,[Dy.labelHorizontalPosition]:xy.labelHorizontalPosition,[Dy.inputTransformY]:xy.inputTransformY,[Dy.inputTransition]:xy.inputTransition,[Dy.marginInlineStart]:xy.marginInlineStart,[Dy.placeholderOpacity]:xy.placeholderOpacity,[Dy.inputVerticalAlignment]:xy.inputVerticalAlignment,[Dy.valueInputHeight]:xy.valueInputHeight,[Dy.valueInputMarginBottom]:xy.valueInputMarginBottom,[Dy.inputIconOffset]:zy.spacing.md,[Dy.inputIconSize]:xy.inputIconSize,[Dy.inputIconColor]:xy.placeholderTextColor,[Dy.errorMessageIcon]:xy.errorMessageIcon,[Dy.errorMessageIconSize]:xy.errorMessageIconSize,[Dy.errorMessageIconPadding]:xy.errorMessageIconPadding,[Dy.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Dy.errorMessageIconPosition]:xy.errorMessageIconPosition,[Dy.errorMessageFontSize]:xy.errorMessageFontSize,[Dy.inputTextSecurity]:xy.inputTextSecurity};var vy=Object.freeze({__proto__:null,default:Sy,textField:Sy,vars:Dy});const Ly=Se(_u),Cy=cs.cssVarList,Ay={[Cy.hostWidth]:xy.width,[Cy.hostMinWidth]:xy.minWidth,[Cy.hostDirection]:xy.direction,[Cy.fontSize]:xy.fontSize,[Cy.fontFamily]:xy.fontFamily,[Cy.labelFontSize]:xy.labelFontSize,[Cy.labelFontWeight]:xy.labelFontWeight,[Cy.inputValueFontWeight]:xy.inputValueFontWeight,[Cy.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[Cy.helperTextFontWeight]:xy.helperTextFontWeight,[Cy.errorMessageFontWeight]:xy.errorMessageFontWeight,[Cy.labelTextColor]:xy.labelTextColor,[Cy.errorMessageTextColor]:xy.errorMessageTextColor,[Cy.inputHorizontalPadding]:xy.horizontalPadding,[Cy.inputHeight]:xy.inputHeight,[Cy.inputBackgroundColor]:xy.backgroundColor,[Cy.labelRequiredIndicator]:xy.requiredIndicator,[Cy.inputValueTextColor]:xy.valueTextColor,[Cy.inputPlaceholderTextColor]:xy.placeholderTextColor,[Cy.inputBorderWidth]:xy.borderWidth,[Cy.inputBorderStyle]:xy.borderStyle,[Cy.inputBorderColor]:xy.borderColor,[Cy.inputBorderRadius]:xy.borderRadius,[Cy.inputOutlineWidth]:xy.outlineWidth,[Cy.inputOutlineStyle]:xy.outlineStyle,[Cy.inputOutlineColor]:xy.outlineColor,[Cy.inputOutlineOffset]:xy.outlineOffset,[Cy.revealButtonOffset]:Ly.spacing.md,[Cy.revealButtonSize]:xy.toggleButtonSize,[Cy.revealButtonColor]:xy.placeholderTextColor,[Cy.labelPosition]:xy.labelPosition,[Cy.labelTopPosition]:xy.labelTopPosition,[Cy.labelHorizontalPosition]:xy.labelHorizontalPosition,[Cy.inputTransformY]:xy.inputTransformY,[Cy.inputTransition]:xy.inputTransition,[Cy.marginInlineStart]:xy.marginInlineStart,[Cy.placeholderOpacity]:xy.placeholderOpacity,[Cy.inputVerticalAlignment]:xy.inputVerticalAlignment,[Cy.valueInputHeight]:xy.valueInputHeight,[Cy.errorMessageIcon]:xy.errorMessageIcon,[Cy.errorMessageIconSize]:xy.errorMessageIconSize,[Cy.errorMessageIconPadding]:xy.errorMessageIconPadding,[Cy.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Cy.errorMessageIconPosition]:xy.errorMessageIconPosition,[Cy.errorMessageFontSize]:xy.errorMessageFontSize};var wy=Object.freeze({__proto__:null,default:Ay,vars:Cy});const fy=An.cssVarList,Ey={[fy.hostWidth]:xy.width,[fy.hostMinWidth]:xy.minWidth,[fy.hostDirection]:xy.direction,[fy.fontSize]:xy.fontSize,[fy.fontFamily]:xy.fontFamily,[fy.labelFontSize]:xy.labelFontSize,[fy.labelFontWeight]:xy.labelFontWeight,[fy.inputValueFontWeight]:xy.inputValueFontWeight,[fy.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[fy.helperTextFontWeight]:xy.helperTextFontWeight,[fy.errorMessageFontWeight]:xy.errorMessageFontWeight,[fy.labelTextColor]:xy.labelTextColor,[fy.errorMessageTextColor]:xy.errorMessageTextColor,[fy.inputValueTextColor]:xy.valueTextColor,[fy.inputPlaceholderColor]:xy.placeholderTextColor,[fy.inputBorderWidth]:xy.borderWidth,[fy.inputBorderStyle]:xy.borderStyle,[fy.inputBorderColor]:xy.borderColor,[fy.inputBorderRadius]:xy.borderRadius,[fy.inputOutlineWidth]:xy.outlineWidth,[fy.inputOutlineStyle]:xy.outlineStyle,[fy.inputOutlineColor]:xy.outlineColor,[fy.inputOutlineOffset]:xy.outlineOffset,[fy.inputBackgroundColor]:xy.backgroundColor,[fy.labelRequiredIndicator]:xy.requiredIndicator,[fy.inputHorizontalPadding]:xy.horizontalPadding,[fy.inputHeight]:xy.inputHeight,[fy.labelPosition]:xy.labelPosition,[fy.labelTopPosition]:xy.labelTopPosition,[fy.labelHorizontalPosition]:xy.labelHorizontalPosition,[fy.inputTransformY]:xy.inputTransformY,[fy.inputTransition]:xy.inputTransition,[fy.marginInlineStart]:xy.marginInlineStart,[fy.placeholderOpacity]:xy.placeholderOpacity,[fy.inputVerticalAlignment]:xy.inputVerticalAlignment,[fy.valueInputHeight]:xy.valueInputHeight,[fy.valueInputMarginBottom]:xy.valueInputMarginBottom,[fy.errorMessageIcon]:xy.errorMessageIcon,[fy.errorMessageIconSize]:xy.errorMessageIconSize,[fy.errorMessageIconPadding]:xy.errorMessageIconPadding,[fy.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[fy.errorMessageIconPosition]:xy.errorMessageIconPosition,[fy.errorMessageFontSize]:xy.errorMessageFontSize};var ky=Object.freeze({__proto__:null,default:Ey,vars:fy});const Oy=xn.cssVarList,Vy={[Oy.hostWidth]:xy.width,[Oy.hostMinWidth]:xy.minWidth,[Oy.hostDirection]:xy.direction,[Oy.fontSize]:xy.fontSize,[Oy.fontFamily]:xy.fontFamily,[Oy.labelFontSize]:xy.labelFontSize,[Oy.labelFontWeight]:xy.labelFontWeight,[Oy.inputValueFontWeight]:xy.inputValueFontWeight,[Oy.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[Oy.helperTextFontWeight]:xy.helperTextFontWeight,[Oy.errorMessageFontWeight]:xy.errorMessageFontWeight,[Oy.labelTextColor]:xy.labelTextColor,[Oy.errorMessageTextColor]:xy.errorMessageTextColor,[Oy.inputValueTextColor]:xy.valueTextColor,[Oy.labelRequiredIndicator]:xy.requiredIndicator,[Oy.inputPlaceholderColor]:xy.placeholderTextColor,[Oy.inputBorderWidth]:xy.borderWidth,[Oy.inputBorderStyle]:xy.borderStyle,[Oy.inputBorderColor]:xy.borderColor,[Oy.inputBorderRadius]:xy.borderRadius,[Oy.inputOutlineWidth]:xy.outlineWidth,[Oy.inputOutlineStyle]:xy.outlineStyle,[Oy.inputOutlineColor]:xy.outlineColor,[Oy.inputOutlineOffset]:xy.outlineOffset,[Oy.inputBackgroundColor]:xy.backgroundColor,[Oy.inputHorizontalPadding]:xy.horizontalPadding,[Oy.inputHeight]:xy.inputHeight,[Oy.labelPosition]:xy.labelPosition,[Oy.labelTopPosition]:xy.labelTopPosition,[Oy.labelHorizontalPosition]:xy.labelHorizontalPosition,[Oy.inputTransformY]:xy.inputTransformY,[Oy.inputTransition]:xy.inputTransition,[Oy.marginInlineStart]:xy.marginInlineStart,[Oy.placeholderOpacity]:xy.placeholderOpacity,[Oy.inputVerticalAlignment]:xy.inputVerticalAlignment,[Oy.valueInputHeight]:xy.valueInputHeight,[Oy.valueInputMarginBottom]:xy.valueInputMarginBottom,[Oy.errorMessageIcon]:xy.errorMessageIcon,[Oy.errorMessageIconSize]:xy.errorMessageIconSize,[Oy.errorMessageIconPadding]:xy.errorMessageIconPadding,[Oy.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Oy.errorMessageIconPosition]:xy.errorMessageIconPosition,[Oy.errorMessageFontSize]:xy.errorMessageFontSize};var Wy=Object.freeze({__proto__:null,default:Vy,vars:Oy});const Yy=Is.cssVarList,Uy={[Yy.hostWidth]:xy.width,[Yy.hostMinWidth]:xy.minWidth,[Yy.hostDirection]:xy.direction,[Yy.fontSize]:xy.fontSize,[Yy.fontFamily]:xy.fontFamily,[Yy.labelFontSize]:xy.labelFontSize,[Yy.labelFontWeight]:xy.labelFontWeight,[Yy.inputValueFontWeight]:xy.inputValueFontWeight,[Yy.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[Yy.helperTextFontWeight]:xy.helperTextFontWeight,[Yy.errorMessageFontWeight]:xy.errorMessageFontWeight,[Yy.labelTextColor]:xy.labelTextColor,[Yy.labelRequiredIndicator]:xy.requiredIndicator,[Yy.errorMessageTextColor]:xy.errorMessageTextColor,[Yy.inputBackgroundColor]:xy.backgroundColor,[Yy.inputValueTextColor]:xy.valueTextColor,[Yy.inputPlaceholderTextColor]:xy.placeholderTextColor,[Yy.inputBorderRadius]:xy.borderRadius,[Yy.inputBorderWidth]:xy.borderWidth,[Yy.inputBorderStyle]:xy.borderStyle,[Yy.inputBorderColor]:xy.borderColor,[Yy.inputOutlineWidth]:xy.outlineWidth,[Yy.inputOutlineStyle]:xy.outlineStyle,[Yy.inputOutlineColor]:xy.outlineColor,[Yy.inputOutlineOffset]:xy.outlineOffset,[Yy.inputResizeType]:"vertical",[Yy.inputMinHeight]:"5em",[Yy.errorMessageIcon]:xy.errorMessageIcon,[Yy.errorMessageIconSize]:xy.errorMessageIconSize,[Yy.errorMessageIconPadding]:xy.errorMessageIconPadding,[Yy.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Yy.errorMessageIconPosition]:xy.errorMessageIconPosition,[Yy.errorMessageFontSize]:xy.errorMessageFontSize,textAlign:{right:{[Yy.inputTextAlign]:"right"},left:{[Yy.inputTextAlign]:"left"},center:{[Yy.inputTextAlign]:"center"}},_readonly:{[Yy.inputResizeType]:"none"}};var Ry=Object.freeze({__proto__:null,default:Uy,vars:Yy});const Qy=Di.cssVarList,Zy="1.35em",By={[Qy.hostWidth]:xy.width,[Qy.hostDirection]:xy.direction,[Qy.fontSize]:xy.fontSize,[Qy.fontFamily]:xy.fontFamily,[Qy.labelTextColor]:xy.labelTextColor,[Qy.labelRequiredIndicator]:xy.requiredIndicator,[Qy.labelFontWeight]:"400",[Qy.labelLineHeight]:Zy,[Qy.labelSpacing]:"1em",[Qy.errorMessageTextColor]:xy.errorMessageTextColor,[Qy.inputOutlineWidth]:xy.outlineWidth,[Qy.inputOutlineOffset]:xy.outlineOffset,[Qy.inputOutlineColor]:xy.outlineColor,[Qy.inputOutlineStyle]:xy.outlineStyle,[Qy.inputBorderRadius]:xy.borderRadius,[Qy.inputBorderColor]:xy.borderColor,[Qy.inputBorderWidth]:xy.borderWidth,[Qy.inputBorderStyle]:xy.borderStyle,[Qy.inputBackgroundColor]:xy.backgroundColor,[Qy.inputSize]:Zy,[Qy.inputValueTextColor]:xy.valueTextColor,[Qy.errorMessageIcon]:xy.errorMessageIcon,[Qy.errorMessageIconSize]:xy.errorMessageIconSize,[Qy.errorMessageIconPadding]:xy.errorMessageIconPadding,[Qy.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Qy.errorMessageIconPosition]:xy.errorMessageIconPosition,[Qy.errorMessageFontSize]:xy.errorMessageFontSize};var Py=Object.freeze({__proto__:null,default:By,vars:Qy});const Fy="2px",Gy=Se(_u),Hy=$i.cssVarList,Jy={[Hy.hostWidth]:xy.width,[Hy.hostDirection]:xy.direction,[Hy.fontSize]:xy.fontSize,[Hy.fontFamily]:xy.fontFamily,[Hy.inputOutlineWidth]:xy.outlineWidth,[Hy.inputOutlineOffset]:xy.outlineOffset,[Hy.inputOutlineColor]:xy.outlineColor,[Hy.inputOutlineStyle]:xy.outlineStyle,[Hy.trackBorderStyle]:xy.borderStyle,[Hy.trackBorderWidth]:xy.borderWidth,[Hy.trackBorderColor]:xy.borderColor,[Hy.trackBackgroundColor]:xy.backgroundColor,[Hy.trackBorderRadius]:Gy.radius.md,[Hy.trackWidth]:"2.5em",[Hy.trackHeight]:"1.25em",[Hy.knobSize]:`calc(1em - ${Fy})`,[Hy.knobRadius]:"50%",[Hy.knobTopOffset]:"1px",[Hy.knobLeftOffset]:Fy,[Hy.knobColor]:xy.labelTextColor,[Hy.knobTransitionDuration]:"0.3s",[Hy.labelTextColor]:xy.labelTextColor,[Hy.labelFontWeight]:"400",[Hy.labelLineHeight]:"1.35em",[Hy.labelSpacing]:"1em",[Hy.labelRequiredIndicator]:xy.requiredIndicator,[Hy.errorMessageTextColor]:xy.errorMessageTextColor,[Hy.errorMessageIcon]:xy.errorMessageIcon,[Hy.errorMessageIconSize]:xy.errorMessageIconSize,[Hy.errorMessageIconPadding]:xy.errorMessageIconPadding,[Hy.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Hy.errorMessageIconPosition]:xy.errorMessageIconPosition,[Hy.errorMessageFontSize]:xy.errorMessageFontSize,_checked:{[Hy.trackBorderColor]:xy.borderColor,[Hy.knobLeftOffset]:`calc(100% - var(${Hy.knobSize}) - ${Fy})`,[Hy.knobColor]:xy.valueTextColor,[Hy.knobTextColor]:xy.valueTextColor},_disabled:{[Hy.knobColor]:Gy.colors.surface.light,[Hy.trackBorderColor]:Gy.colors.surface.light,[Hy.trackBackgroundColor]:Gy.colors.surface.main,[Hy.labelTextColor]:xy.labelTextColor,_checked:{[Hy.knobColor]:Gy.colors.surface.light,[Hy.trackBackgroundColor]:Gy.colors.surface.main}},_invalid:{[Hy.trackBorderColor]:Gy.colors.error.main,[Hy.knobColor]:Gy.colors.error.main}};var $y=Object.freeze({__proto__:null,default:Jy,vars:Hy});const _y=Se(_u),Xy=so.cssVarList,[qy,Ky,tb]=Oe({verticalAlignment:{start:{verticalAlignment:"start"},center:{verticalAlignment:"safe center"},end:{verticalAlignment:"end"}},horizontalAlignment:{start:{horizontalAlignment:"start"},center:{horizontalAlignment:"safe center"},end:{horizontalAlignment:"end"}},shadowColor:"#00000020"},ro),{shadowColor:eb}=Ky,ib={...qy,[Xy.itemsGrow]:"0",[Xy.hostWidth]:"100%",[Xy.hostHeight]:"auto",[Xy.boxShadow]:"none",[Xy.backgroundColor]:_y.colors.surface.main,[Xy.backgroundImage]:"",[Xy.backgroundPositionX]:"center",[Xy.backgroundPositionY]:"center",[Xy.backgroundSize]:"cover",[Xy.backgroundRepeat]:"no-repeat",[Xy.color]:_y.colors.surface.contrast,[Xy.borderRadius]:"0px",[Xy.hostDirection]:_y.direction,[Xy.borderStyle]:"none",[Xy.borderWidth]:"unset",[Xy.borderColor]:"unset",verticalPadding:{sm:{[Xy.verticalPadding]:"5px"},md:{[Xy.verticalPadding]:"10px"},lg:{[Xy.verticalPadding]:"20px"}},horizontalPadding:{sm:{[Xy.horizontalPadding]:"5px"},md:{[Xy.horizontalPadding]:"10px"},lg:{[Xy.horizontalPadding]:"20px"}},direction:{row:{[Xy.flexDirection]:"row",[Xy.alignItems]:Ky.verticalAlignment,[Xy.justifyContent]:Ky.horizontalAlignment,[Xy.flexWrap]:"wrap",horizontalAlignment:{spaceBetween:{[tb.horizontalAlignment]:"space-between"}}},column:{[Xy.flexDirection]:"column",[Xy.alignItems]:Ky.horizontalAlignment,[Xy.justifyContent]:Ky.verticalAlignment,verticalAlignment:{spaceBetween:{[tb.verticalAlignment]:"space-between"}}}},spaceBetween:{sm:{[Xy.gap]:"10px"},md:{[Xy.gap]:"20px"},lg:{[Xy.gap]:"30px"}},shadow:{sm:{[Xy.boxShadow]:`${_y.shadow.wide.sm} ${eb}, ${_y.shadow.narrow.sm} ${eb}`},md:{[Xy.boxShadow]:`${_y.shadow.wide.md} ${eb}, ${_y.shadow.narrow.md} ${eb}`},lg:{[Xy.boxShadow]:`${_y.shadow.wide.lg} ${eb}, ${_y.shadow.narrow.lg} ${eb}`},xl:{[Xy.boxShadow]:`${_y.shadow.wide.xl} ${eb}, ${_y.shadow.narrow.xl} ${eb}`},"2xl":{[tb.shadowColor]:"#00000050",[Xy.boxShadow]:`${_y.shadow.wide["2xl"]} ${eb}`}},"&borderRadius":{sm:{[Xy.borderRadius]:_y.radius.sm},md:{[Xy.borderRadius]:_y.radius.md},lg:{[Xy.borderRadius]:_y.radius.lg},xl:{[Xy.borderRadius]:_y.radius.xl},"2xl":{[Xy.borderRadius]:_y.radius["2xl"]},"3xl":{[Xy.borderRadius]:_y.radius["3xl"]}}},ob={...Xy,...tb};var rb=Object.freeze({__proto__:null,default:ib,vars:ob});const nb=zn.cssVarList,sb={[nb.fallbackUrl]:"url(https://imgs.descope.com/components/no-logo-placeholder.svg)"};var ab=Object.freeze({__proto__:null,default:sb,vars:nb});const lb=Sn.cssVarList,db={[lb.fallbackUrl]:"url(https://imgs.descope.com/components/totp-placeholder.svg)"};var cb=Object.freeze({__proto__:null,default:db,vars:lb});const ub=Ln.cssVarList,pb={[ub.fallbackUrl]:"url(https://imgs.descope.com/components/notp-placeholder.svg)"};var hb=Object.freeze({__proto__:null,default:pb,vars:ub});const gb=Se(_u),Mb=Nn.cssVarList,[mb,yb,bb]=Oe({thickness:"2px",spacing:"10px"},pn),Nb={...mb,[Mb.hostDirection]:gb.direction,[Mb.alignItems]:"center",[Mb.flexDirection]:"row",[Mb.alignSelf]:"stretch",[Mb.hostWidth]:"100%",[Mb.stripeColor]:gb.colors.surface.light,[Mb.stripeColorOpacity]:"0.5",[Mb.stripeHorizontalThickness]:yb.thickness,[Mb.labelTextWidth]:"fit-content",[Mb.labelTextMaxWidth]:"calc(100% - 100px)",[Mb.labelTextHorizontalSpacing]:yb.spacing,[Mb.textAlign]:"center",_vertical:{[Mb.minHeight]:"200px",[Mb.flexDirection]:"column",[Mb.hostWidth]:"fit-content",[Mb.hostPadding]:`0 calc(${yb.thickness} * 3)`,[Mb.stripeVerticalThickness]:yb.thickness,[Mb.labelTextWidth]:"fit-content",[Mb.labelTextMaxWidth]:"100%",[Mb.labelTextVerticalSpacing]:yb.spacing}},Ib={...Mb,...bb};var xb=Object.freeze({__proto__:null,default:Nb,vars:Ib});const jb=qn.cssVarList,Tb={[jb.hostDirection]:xy.direction,[jb.fontFamily]:xy.fontFamily,[jb.fontSize]:xy.fontSize,[jb.labelTextColor]:xy.labelTextColor,[jb.labelRequiredIndicator]:xy.requiredIndicator,[jb.labelFontWeight]:xy.labelFontWeight,[jb.errorMessageTextColor]:xy.errorMessageTextColor,[jb.errorMessageFontWeight]:xy.errorMessageFontWeight,[jb.digitValueTextColor]:xy.valueTextColor,[jb.digitValueFontWeight]:xy.inputValueFontWeight,[jb.digitPadding]:"0",[jb.digitTextAlign]:"center",[jb.digitSpacing]:"4px",[jb.hostWidth]:xy.width,[jb.digitOutlineColor]:"transparent",[jb.digitOutlineWidth]:xy.outlineWidth,[jb.focusedDigitFieldOutlineColor]:xy.outlineColor,[jb.digitSize]:xy.inputHeight,[jb.errorMessageIcon]:xy.errorMessageIcon,[jb.errorMessageIconSize]:xy.errorMessageIconSize,[jb.errorMessageIconPadding]:xy.errorMessageIconPadding,[jb.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[jb.errorMessageIconPosition]:xy.errorMessageIconPosition,[jb.errorMessageFontSize]:xy.errorMessageFontSize,size:{xs:{[jb.spinnerSize]:"15px"},sm:{[jb.spinnerSize]:"20px"},md:{[jb.spinnerSize]:"20px"},lg:{[jb.spinnerSize]:"20px"}},_hideCursor:{[jb.digitCaretTextColor]:"transparent"},_loading:{[jb.overlayOpacity]:xy.overlayOpacity}};var zb=Object.freeze({__proto__:null,default:Tb,vars:jb});const Db=Se(_u),Sb=to.cssVarList,vb={[Sb.hostDisplay]:"inline-block",[Sb.hostWidth]:"100%",[Sb.barColor]:Db.colors.surface.contrast,[Sb.barWidth]:"20%",[Sb.barBackgroundColor]:Db.colors.surface.light,[Sb.barBorderRadius]:"4px",[Sb.animationDuration]:"2s",[Sb.animationTimingFunction]:"linear",[Sb.animationIterationCount]:"infinite",[Sb.verticalPadding]:"0.25em",size:{xs:{[Sb.barHeight]:"2px"},sm:{[Sb.barHeight]:"4px"},md:{[Sb.barHeight]:"6px"},lg:{[Sb.barHeight]:"8px"}},mode:{primary:{[Sb.barColor]:Db.colors.primary.main},secondary:{[Sb.barColor]:Db.colors.secondary.main}},_hidden:{[Sb.hostDisplay]:"none"}};var Lb=Object.freeze({__proto__:null,default:vb,vars:Sb});const Cb=Se(_u),Ab=oo.cssVarList,[wb,fb,Eb]=Oe({spinnerColor:Cb.colors.surface.contrast,mode:{primary:{spinnerColor:Cb.colors.primary.main},secondary:{spinnerColor:Cb.colors.secondary.main}}},eo),kb={...wb,[Ab.animationDuration]:"2s",[Ab.animationTimingFunction]:"linear",[Ab.animationIterationCount]:"infinite",[Ab.spinnerBorderStyle]:"solid",[Ab.spinnerBorderWidth]:"0.2em",[Ab.spinnerBorderRadius]:"50%",[Ab.spinnerQuadrant1Color]:fb.spinnerColor,[Ab.spinnerQuadrant2Color]:"transparent",[Ab.spinnerQuadrant3Color]:fb.spinnerColor,[Ab.spinnerQuadrant4Color]:"transparent",size:{xs:{[Ab.spinnerSize]:"20px"},sm:{[Ab.spinnerSize]:"30px"},md:{[Ab.spinnerSize]:"40px"},lg:{[Ab.spinnerSize]:"60px"},xl:{[Ab.spinnerSize]:"80px"}},_hidden:{[Ab.hostDisplay]:"none"}},Ob={...Ab,...Eb};var Vb=Object.freeze({__proto__:null,default:kb,vars:Ob});const Wb=Ps.cssVarList,Yb={[Wb.hostWidth]:xy.width,[Wb.hostDirection]:xy.direction,[Wb.fontSize]:xy.fontSize,[Wb.fontFamily]:xy.fontFamily,[Wb.labelFontSize]:xy.labelFontSize,[Wb.labelFontWeight]:xy.labelFontWeight,[Wb.inputValueFontWeight]:xy.inputValueFontWeight,[Wb.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[Wb.helperTextFontWeight]:xy.helperTextFontWeight,[Wb.errorMessageFontWeight]:xy.errorMessageFontWeight,[Wb.labelTextColor]:xy.labelTextColor,[Wb.labelRequiredIndicator]:xy.requiredIndicator,[Wb.errorMessageTextColor]:xy.errorMessageTextColor,[Wb.inputValueTextColor]:xy.valueTextColor,[Wb.inputPlaceholderTextColor]:xy.placeholderTextColor,[Wb.inputBorderStyle]:xy.borderStyle,[Wb.inputBorderWidth]:xy.borderWidth,[Wb.inputBorderColor]:xy.borderColor,[Wb.inputBorderRadius]:xy.borderRadius,[Wb.inputOutlineStyle]:xy.outlineStyle,[Wb.inputOutlineWidth]:xy.outlineWidth,[Wb.inputOutlineColor]:xy.outlineColor,[Wb.inputOutlineOffset]:xy.outlineOffset,[Wb.phoneInputWidth]:xy.minWidth,[Wb.countryCodeInputWidth]:"5em",[Wb.countryCodeDropdownWidth]:"20em",[Wb.marginInlineStart]:"-0.25em",[Wb.valueInputHeight]:xy.valueInputHeight,[Wb.valueInputMarginBottom]:xy.valueInputMarginBottom,[Wb.errorMessageIcon]:xy.errorMessageIcon,[Wb.errorMessageIconSize]:xy.errorMessageIconSize,[Wb.errorMessageIconPadding]:xy.errorMessageIconPadding,[Wb.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Wb.errorMessageIconPosition]:xy.errorMessageIconPosition,[Wb.errorMessageFontSize]:xy.errorMessageFontSize};var Ub=Object.freeze({__proto__:null,default:Yb,vars:Wb});const Rb=aa.cssVarList,Qb={[Rb.hostWidth]:"16em",[Rb.hostMinWidth]:xy.minWidth,[Rb.hostDirection]:xy.direction,[Rb.fontSize]:xy.fontSize,[Rb.fontFamily]:xy.fontFamily,[Rb.labelFontSize]:xy.labelFontSize,[Rb.labelFontWeight]:xy.labelFontWeight,[Rb.inputValueFontWeight]:xy.inputValueFontWeight,[Rb.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[Rb.helperTextFontWeight]:xy.helperTextFontWeight,[Rb.errorMessageFontWeight]:xy.errorMessageFontWeight,[Rb.labelTextColor]:xy.labelTextColor,[Rb.labelRequiredIndicator]:xy.requiredIndicator,[Rb.errorMessageTextColor]:xy.errorMessageTextColor,[Rb.inputValueTextColor]:xy.valueTextColor,[Rb.inputPlaceholderTextColor]:xy.placeholderTextColor,[Rb.inputBorderStyle]:xy.borderStyle,[Rb.inputBorderWidth]:xy.borderWidth,[Rb.inputBorderColor]:xy.borderColor,[Rb.inputBorderRadius]:xy.borderRadius,[Rb.inputOutlineStyle]:xy.outlineStyle,[Rb.inputOutlineWidth]:xy.outlineWidth,[Rb.inputOutlineColor]:xy.outlineColor,[Rb.inputOutlineOffset]:xy.outlineOffset,[Rb.labelPosition]:xy.labelPosition,[Rb.labelTopPosition]:xy.labelTopPosition,[Rb.labelHorizontalPosition]:xy.labelHorizontalPosition,[Rb.inputTransformY]:xy.inputTransformY,[Rb.inputTransition]:xy.inputTransition,[Rb.marginInlineStart]:xy.marginInlineStart,[Rb.valueInputHeight]:xy.valueInputHeight,[Rb.valueInputMarginBottom]:xy.valueInputMarginBottom,[Rb.inputHorizontalPadding]:"0",[Rb.errorMessageIcon]:xy.errorMessageIcon,[Rb.errorMessageIconSize]:xy.errorMessageIconSize,[Rb.errorMessageIconPadding]:xy.errorMessageIconPadding,[Rb.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Rb.errorMessageIconPosition]:xy.errorMessageIconPosition,[Rb.errorMessageFontSize]:xy.errorMessageFontSize,_fullWidth:{[Rb.hostWidth]:xy.width}};var Zb=Object.freeze({__proto__:null,default:Qb,vars:Rb});const Bb=Se(_u),Pb=Ca.cssVarList,Fb={[Pb.hostWidth]:xy.width,[Pb.hostMinWidth]:xy.minWidth,[Pb.hostDirection]:xy.direction,[Pb.fontSize]:xy.fontSize,[Pb.fontFamily]:xy.fontFamily,[Pb.labelFontSize]:xy.labelFontSize,[Pb.labelFontWeight]:xy.labelFontWeight,[Pb.inputValueFontWeight]:xy.inputValueFontWeight,[Pb.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[Pb.helperTextFontWeight]:xy.helperTextFontWeight,[Pb.errorMessageFontWeight]:xy.errorMessageFontWeight,[Pb.labelTextColor]:xy.labelTextColor,[Pb.spaceBetweenInputs]:"1em",[Pb.errorMessageTextColor]:xy.errorMessageTextColor,[Pb.policyPreviewBackgroundColor]:"none",[Pb.policyPreviewPadding]:Bb.spacing.lg,[Pb.valueInputHeight]:xy.valueInputHeight,[Pb.errorMessageIcon]:xy.errorMessageIcon,[Pb.errorMessageIconSize]:xy.errorMessageIconSize,[Pb.errorMessageIconPadding]:xy.errorMessageIconPadding,[Pb.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[Pb.errorMessageIconPosition]:xy.errorMessageIconPosition,[Pb.errorMessageFontSize]:xy.errorMessageFontSize,_required:{[Pb.inputsRequiredIndicator]:xy.requiredIndicator}};var Gb=Object.freeze({__proto__:null,default:Fb,vars:Pb});const Hb=Ka.cssVarList,Jb={[Hb.hostDirection]:xy.direction,[Hb.labelTextColor]:xy.labelTextColor,[Hb.fontFamily]:xy.fontFamily,[Hb.iconSize]:"2em",[Hb.hostPadding]:"0.75em",[Hb.gap]:"0.5em",[Hb.fontSize]:"16px",[Hb.titleFontWeight]:"500",[Hb.lineHeight]:"1em",[Hb.borderWidth]:xy.borderWidth,[Hb.borderColor]:xy.borderColor,[Hb.borderRadius]:xy.borderRadius,[Hb.borderStyle]:"dashed",_required:{[Hb.requiredIndicator]:xy.requiredIndicator},size:{xs:{[Hb.hostHeight]:"196px",[Hb.hostWidth]:"200px",[Hb.titleFontSize]:"0.875em",[Hb.descriptionFontSize]:"0.875em",[Hb.lineHeight]:"1.25em"},sm:{[Hb.hostHeight]:"216px",[Hb.hostWidth]:"230px",[Hb.titleFontSize]:"1em",[Hb.descriptionFontSize]:"0.875em",[Hb.lineHeight]:"1.25em"},md:{[Hb.hostHeight]:"256px",[Hb.hostWidth]:"312px",[Hb.titleFontSize]:"1.125em",[Hb.descriptionFontSize]:"1em",[Hb.lineHeight]:"1.5em"},lg:{[Hb.hostHeight]:"280px",[Hb.hostWidth]:"336px",[Hb.titleFontSize]:"1.125em",[Hb.descriptionFontSize]:"1.125em",[Hb.lineHeight]:"1.75em"}},_fullWidth:{[Hb.hostWidth]:xy.width}};var $b=Object.freeze({__proto__:null,default:Jb,vars:Hb});const _b=Se(_u),Xb=Ml.cssVarList,qb={[Xb.hostDirection]:"inherit",[Xb.backgroundColor]:_b.colors.surface.main,[Xb.labelTextColor]:_b.colors.surface.contrast,[Xb.borderColor]:_b.colors.surface.light,[Xb.borderStyle]:"solid",[Xb.borderRadius]:_b.radius.sm,[Xb.outlineColor]:"transparent",[Xb.borderWidth]:_b.border.xs,_hover:{[Xb.backgroundColor]:_b.colors.surface.highlight},_focused:{[Xb.outlineColor]:_b.colors.surface.light},_selected:{[Xb.borderColor]:_b.colors.surface.contrast,[Xb.backgroundColor]:_b.colors.surface.contrast,[Xb.labelTextColor]:_b.colors.surface.main}};var Kb=Object.freeze({__proto__:null,default:qb,vars:Xb});const tN=Se(_u),eN=t=>({[t.hostDirection]:xy.direction,[t.fontFamily]:xy.fontFamily,[t.labelTextColor]:xy.labelTextColor,[t.labelRequiredIndicator]:xy.requiredIndicator,[t.itemsSpacing]:tN.spacing.sm,[t.hostWidth]:xy.width,[t.errorMessageTextColor]:xy.errorMessageTextColor,[t.errorMessageIcon]:xy.errorMessageIcon,[t.errorMessageIconSize]:xy.errorMessageIconSize,[t.errorMessageIconPadding]:xy.errorMessageIconPadding,[t.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[t.errorMessageIconPosition]:xy.errorMessageIconPosition,[t.errorMessageFontSize]:xy.errorMessageFontSize}),iN=pl.cssVarList,oN={...eN(iN)};var rN=Object.freeze({__proto__:null,default:oN,vars:iN});const nN=Nl.cssVarList,sN={...eN(nN)};var aN=Object.freeze({__proto__:null,default:sN,vars:nN});const lN=Se(_u),dN=ec.cssVarList,cN={[dN.overlayBackgroundColor]:lN.colors.surface.main,[dN.overlayShadow]:lN.shadow.wide["2xl"],[dN.overlayWidth]:"540px",[dN.overlayBackdropColor]:"hsla(214, 53%, 23%, 0.16)"},uN={...dN};var pN=Object.freeze({__proto__:null,default:cN,vars:uN});const hN=Se(_u),gN=qd.cssVarList,MN={[gN.hostWidth]:"100%",[gN.hostHeight]:"100%",[gN.hostMinHeight]:"400px",[gN.fontWeight]:"400",[gN.backgroundColor]:hN.colors.surface.main,[gN.fontSize]:xy.fontSize,[gN.fontFamily]:xy.fontFamily,[gN.sortIndicatorsColor]:hN.colors.surface.light,[gN.activeSortIndicator]:hN.colors.surface.dark,[gN.resizeHandleColor]:hN.colors.surface.light,[gN.borderWidth]:xy.borderWidth,[gN.borderStyle]:xy.borderStyle,[gN.borderRadius]:xy.borderRadius,[gN.borderColor]:"transparent",[gN.headerRowTextColor]:hN.colors.surface.dark,[gN.separatorColor]:hN.colors.surface.light,[gN.valueTextColor]:hN.colors.surface.contrast,[gN.selectedBackgroundColor]:hN.colors.surface.highlight,[gN.hostDirection]:hN.direction,[gN.toggleDetailsPanelButtonSize]:"1em",[gN.toggleDetailsPanelButtonOpenedColor]:hN.colors.surface.contrast,[gN.toggleDetailsPanelButtonClosedColor]:hN.colors.surface.light,[gN.toggleDetailsPanelButtonCursor]:"pointer",[gN.detailsPanelBackgroundColor]:hN.colors.surface.highlight,[gN.detailsPanelBorderTopColor]:hN.colors.surface.light,[gN.detailsPanelLabelsColor]:hN.colors.surface.dark,[gN.detailsPanelLabelsFontSize]:"0.8em",[gN.detailsPanelItemsGap]:"2em",[gN.detailsPanelPadding]:"12px 0",_bordered:{[gN.borderColor]:xy.borderColor}};var mN=Object.freeze({__proto__:null,default:MN,grid:MN,vars:gN});const yN=Se(_u),bN=nc.cssVarList,NN="#00000020",IN={[bN.hostMinWidth]:"415px",[bN.fontFamily]:yN.fonts.font1.family,[bN.fontSize]:yN.typography.body1.size,[bN.backgroundColor]:yN.colors.surface.main,[bN.textColor]:yN.colors.surface.contrast,[bN.boxShadow]:`${yN.shadow.wide.xl} ${NN}, ${yN.shadow.narrow.xl} ${NN}`,[bN.verticalPadding]:"0.625em",[bN.horizontalPadding]:"1.5em",[bN.borderRadius]:yN.radius.xs,_bordered:{[bN.borderWidth]:yN.border.sm,[bN.borderStyle]:"solid",[bN.borderColor]:"transparent"},size:{xs:{[bN.fontSize]:"12px"},sm:{[bN.fontSize]:"14px"},md:{[bN.fontSize]:"16px"},lg:{[bN.fontSize]:"18px"}},mode:{primary:{[bN.backgroundColor]:yN.colors.primary.main,[bN.textColor]:yN.colors.primary.contrast,[bN.borderColor]:yN.colors.primary.light},success:{[bN.backgroundColor]:yN.colors.success.main,[bN.textColor]:yN.colors.success.contrast,[bN.borderColor]:yN.colors.success.light},error:{[bN.backgroundColor]:yN.colors.error.main,[bN.textColor]:yN.colors.error.contrast,[bN.borderColor]:yN.colors.error.light}}};var xN=Object.freeze({__proto__:null,default:IN,vars:bN});const jN=Se(_u),TN=xc.cssVarList,zN={[TN.hostWidth]:xy.width,[TN.hostDirection]:xy.direction,[TN.fontSize]:xy.fontSize,[TN.fontFamily]:xy.fontFamily,[TN.separatorFontSize]:"14px",[TN.labelsFontSize]:"14px",[TN.labelsLineHeight]:"1",[TN.labelsMarginBottom]:"6px",[TN.labelTextColor]:xy.labelTextColor,[TN.itemMarginBottom]:"1em",[TN.valueLabelMinWidth]:xy.minWidth,[TN.attrLabelMinWidth]:`calc(12em + 2 * ${jN.border.xs})`,[TN.separatorWidth]:"70px",[TN.removeButtonWidth]:"60px"};var DN=Object.freeze({__proto__:null,default:zN,mappingsField:zN,vars:TN});const SN=Se(_u),vN=Vc.cssVarList,LN={[vN.labelMinWidth]:"150px",[vN.hostDirection]:SN.direction,[vN.contentMinWidth]:`calc(100% - ${ke(vN.labelMinWidth)} - ${ke(vN.itemsGap)})`,[vN.badgeMaxWidth]:"85px",[vN.itemsGap]:"4px",[vN.hostMinWidth]:"310px",[vN.hostWidth]:"530px",[vN.hostMaxWidth]:"100%",[vN.iconColor]:"currentcolor",_fullWidth:{[vN.hostWidth]:"100%"}};var CN=Object.freeze({__proto__:null,default:LN,vars:vN});const AN=Se(_u),wN=Fc.cssVarList,fN={[wN.hostDirection]:AN.direction,[wN.itemsGap]:"16px",[wN.hostMinWidth]:"310px",[wN.hostWidth]:"530px",[wN.hostMaxWidth]:"100%",[wN.iconSize]:"24px",[wN.iconColor]:"currentcolor",_fullWidth:{[wN.hostWidth]:"100%"}};var EN=Object.freeze({__proto__:null,default:fN,vars:wN});const kN=qc.cssVarList,ON={[kN.hostWidth]:xy.width,[kN.hostDirection]:xy.direction,[kN.groupNameInputMarginBottom]:"1em",[kN.errorMessageIcon]:xy.errorMessageIcon,[kN.errorMessageIconSize]:xy.errorMessageIconSize,[kN.errorMessageIconPadding]:xy.errorMessageIconPadding,[kN.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[kN.errorMessageIconPosition]:xy.errorMessageIconPosition,[kN.errorMessageFontSize]:xy.errorMessageFontSize};var VN=Object.freeze({__proto__:null,default:ON,samlGroupMappings:ON,vars:kN});const WN=Se(_u),YN=Na.cssVarList,UN={[YN.fontFamily]:xy.fontFamily,[YN.fontSize]:xy.labelFontSize,[YN.textColor]:xy.labelTextColor,[YN.borderWidth]:xy.borderWidth,[YN.borderStyle]:xy.borderStyle,[YN.borderColor]:xy.borderColor,[YN.borderRadius]:WN.radius.sm,[YN.backgroundColor]:"none",[YN.padding]:"0px",[YN.labelMargin]:WN.spacing.sm,[YN.itemsSpacing]:WN.spacing.lg,[YN.itemSymbolDefault]:"'\\2022'",[YN.itemSymbolSuccess]:"'\\2713'",[YN.itemSymbolError]:"'\\2A09'",[YN.itemSymbolSuccessColor]:WN.colors.success.main,[YN.itemSymbolErrorColor]:WN.colors.error.main};var RN=Object.freeze({__proto__:null,default:UN,vars:YN});const QN=Se(_u),ZN=Sd.cssVarList,BN="#d73a49",PN="#6f42c1",FN="#005cc5",GN="#e36209",HN="#6a737d",JN="#22863a",$N="#24292e",_N="#f0fff4",XN="#032f62",qN="#ff7b72",KN="#d2a8ff",tI="#79c0ff",eI="#ffa657",iI="#8b949e",oI="#7ee787",rI="#c9d1d9",nI="#f0fff4",sI="#a5d6ff",aI={[ZN.copyButtonSize]:"32px",[ZN.copyButtonBorderRadius]:QN.radius.xs,[ZN.copyButtonBorderWidth]:QN.border.xs,[ZN.copyButtonBorderColor]:QN.colors.surface.light,[ZN.copyButtonBgColor]:QN.colors.surface.highlight,[ZN.copyButtonHoverBgColor]:QN.colors.surface.light,[ZN.copyButtonColor]:QN.colors.surface.contrast,[ZN.rootBgColor]:QN.colors.surface.main,[ZN.rootTextColor]:QN.colors.surface.contrast,[ZN.docTagTextColor]:BN,[ZN.keywordTextColor]:BN,[ZN.metaKeywordTextColor]:BN,[ZN.templateTagTextColor]:BN,[ZN.templateVariableTextColor]:BN,[ZN.typeTextColor]:BN,[ZN.variableLanguageTextColor]:BN,[ZN.titleTextColor]:PN,[ZN.titleClassTextColor]:PN,[ZN.titleClassInheritedTextColor]:PN,[ZN.titleFunctionTextColor]:PN,[ZN.attrTextColor]:FN,[ZN.attributeTextColor]:FN,[ZN.literalTextColor]:FN,[ZN.metaTextColor]:FN,[ZN.numberTextColor]:FN,[ZN.operatorTextColor]:FN,[ZN.variableTextColor]:FN,[ZN.selectorAttrTextColor]:FN,[ZN.selectorClassTextColor]:FN,[ZN.selectorIdTextColor]:FN,[ZN.regexpTextColor]:XN,[ZN.stringTextColor]:XN,[ZN.metaStringTextColor]:XN,[ZN.builtInTextColor]:GN,[ZN.symbolTextColor]:GN,[ZN.commentTextColor]:HN,[ZN.codeTextColor]:HN,[ZN.formulaTextColor]:HN,[ZN.nameTextColor]:JN,[ZN.quoteTextColor]:JN,[ZN.selectorTagTextColor]:JN,[ZN.selectorPseudoTextColor]:JN,[ZN.substTextColor]:$N,[ZN.sectionTextColor]:FN,[ZN.bulletTextColor]:"#735c0f",[ZN.emphasisTextColor]:$N,[ZN.strongTextColor]:$N,[ZN.additionTextColor]:JN,[ZN.additionBgColor]:_N,[ZN.deletionTextColor]:BN,[ZN.deletionBgColor]:_N},lI={codeSnippet:{[ZN.rootBgColor]:QN.colors.surface.main,[ZN.rootTextColor]:QN.colors.surface.contrast,[ZN.docTagTextColor]:qN,[ZN.keywordTextColor]:qN,[ZN.metaKeywordTextColor]:qN,[ZN.templateTagTextColor]:qN,[ZN.templateVariableTextColor]:qN,[ZN.typeTextColor]:qN,[ZN.variableLanguageTextColor]:qN,[ZN.titleTextColor]:KN,[ZN.titleClassTextColor]:KN,[ZN.titleClassInheritedTextColor]:KN,[ZN.titleFunctionTextColor]:KN,[ZN.attrTextColor]:tI,[ZN.attributeTextColor]:tI,[ZN.literalTextColor]:tI,[ZN.metaTextColor]:tI,[ZN.numberTextColor]:tI,[ZN.operatorTextColor]:tI,[ZN.variableTextColor]:tI,[ZN.selectorAttrTextColor]:tI,[ZN.selectorClassTextColor]:tI,[ZN.selectorIdTextColor]:tI,[ZN.regexpTextColor]:sI,[ZN.stringTextColor]:sI,[ZN.metaStringTextColor]:sI,[ZN.builtInTextColor]:eI,[ZN.symbolTextColor]:eI,[ZN.commentTextColor]:iI,[ZN.codeTextColor]:iI,[ZN.formulaTextColor]:iI,[ZN.nameTextColor]:oI,[ZN.quoteTextColor]:oI,[ZN.selectorTagTextColor]:oI,[ZN.selectorPseudoTextColor]:oI,[ZN.substTextColor]:rI,[ZN.sectionTextColor]:tI,[ZN.bulletTextColor]:"#735c0f",[ZN.emphasisTextColor]:rI,[ZN.strongTextColor]:rI,[ZN.additionTextColor]:oI,[ZN.additionBgColor]:nI,[ZN.deletionTextColor]:qN,[ZN.deletionBgColor]:nI}};var dI=Object.freeze({__proto__:null,codeSnippetDarkThemeOverrides:lI,default:aI,vars:ZN});const cI=iu.cssVarList,uI=Se(_u),pI={[cI.buttonsRowGap]:"9px",[cI.hostWidth]:xy.width,[cI.hostDirection]:xy.direction,[cI.fontSize]:xy.fontSize,[cI.fontFamily]:xy.fontFamily,[cI.labelTextColor]:xy.labelTextColor,[cI.labelRequiredIndicator]:xy.requiredIndicator,[cI.errorMessageTextColor]:xy.errorMessageTextColor,[cI.errorMessageIcon]:xy.errorMessageIcon,[cI.errorMessageIconSize]:xy.errorMessageIconSize,[cI.errorMessageIconPadding]:xy.errorMessageIconPadding,[cI.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[cI.errorMessageIconPosition]:xy.errorMessageIconPosition,[cI.errorMessageFontSize]:xy.errorMessageFontSize,[cI.helperTextColor]:xy.helperTextColor,[cI.itemsLabelColor]:uI.colors.surface.contrast,textAlign:{right:{[cI.inputTextAlign]:"right"},left:{[cI.inputTextAlign]:"left"},center:{[cI.inputTextAlign]:"center"}},_fullWidth:{[cI.buttonsSpacing]:"space-between"},_disabled:{[cI.itemsLabelColor]:uI.colors.surface.light}};var hI=Object.freeze({__proto__:null,default:pI,radioGroup:pI,vars:cI});const gI=tu.cssVarList,MI=Se(_u),mI={[gI.fontFamily]:xy.fontFamily,[gI.radioSize]:"calc(1em + 6px)",[gI.radioMargin]:"auto 4px",[gI.radioCheckedSize]:`calc(var(${gI.radioSize})/5)`,[gI.radioCheckedColor]:MI.colors.surface.light,[gI.radioBackgroundColor]:MI.colors.surface.light,[gI.radioBorderColor]:"none",[gI.radioBorderWidth]:0,_checked:{[gI.radioBackgroundColor]:MI.colors.surface.contrast},_hover:{cursor:"pointer"},size:{xs:{[gI.fontSize]:"12px"},sm:{[gI.fontSize]:"14px"},md:{[gI.fontSize]:"16px"},lg:{[gI.fontSize]:"18px"}}};var yI=Object.freeze({__proto__:null,default:mI,radioButton:mI,vars:gI});const bI=Se(_u),NI=Ar.cssVarList,II={[NI.fontFamily]:xy.fontFamily,[NI.fontSize]:xy.fontSize,[NI.hostDirection]:xy.direction,[NI.calendarPadding]:"1em",[NI.topNavVerticalPadding]:"1em",[NI.topNavAlignment]:"space-between",[NI.topNavGap]:"0",[NI.topNavSelectorsGap]:"0.5em",[NI.bottomNavVerticalPadding]:"0.75em",[NI.bottomNavHorizontalPadding]:"1.5em",[NI.bottomNavAlignment]:"space-between",[NI.bottomNavGap]:"0.5em",[NI.navMarginBottom]:"0.75em",[NI.navBorderBottomWidth]:"1px",[NI.navBorderBottomColor]:bI.colors.surface.highlight,[NI.navBorderBottomStyle]:"solid",[NI.yearInputWidth]:"6em",[NI.monthInputWidth]:"8em",[NI.navButtonSize]:"24px",[NI.navButtonCursor]:"pointer",[NI.weekdayFontSize]:"0.875em",[NI.weekdayFontWeight]:"500",[NI.dayHeight]:"3.125em",[NI.daySize]:"2.125em",[NI.dayFontSize]:"1em",[NI.dayRadius]:"50%",[NI.dayTextAlign]:"center",[NI.dayPadding]:"0",[NI.dayTextColor]:bI.colors.surface.contrast,[NI.dayFontWeight]:"500",[NI.dayBackgroundColor]:"transparent",[NI.dayCursor]:"pointer",[NI.dayBackgroundColorHover]:bI.colors.primary.highlight,[NI.daySelectedBackgroundColor]:bI.colors.primary.main,[NI.daySelectedTextdColor]:bI.colors.primary.contrast,[NI.dayDisabledTextdColor]:bI.colors.surface.light,[NI.currentDayBorderColor]:bI.colors.surface.light,[NI.currentDayBorderWidth]:"1px",[NI.currentDayBorderStyle]:"solid",size:{xs:{[NI.fontSize]:"12px"},sm:{[NI.fontSize]:"14px"},md:{[NI.fontSize]:"16px"},lg:{[NI.fontSize]:"18px"}},[NI.navButtonRotation]:"rotate(180deg)",_disabled:{[NI.navButtonOpacity]:"0.5",[NI.dayBackgroundColorHover]:"none",[NI.navButtonCursor]:"default",[NI.dayCursor]:"default"},_fullWidth:{[NI.hostWidth]:"100%",[NI.dayBlockAlign]:"0 auto"}};var xI=Object.freeze({__proto__:null,default:II,vars:NI});const jI=Se(_u),TI="#00000020",{shadow:zI}=jI,DI=un.cssVarList,SI={[DI.hostWidth]:xy.width,[DI.hostDirection]:xy.direction,[DI.iconMargin]:"0.375em",[DI.overlay.marginTop]:`calc(${xy.outlineWidth} + 1px)`,[DI.overlay.backgroundColor]:xy.backgroundColor,[DI.overlay.backdropBackgroundColor]:"transparent",[DI.overlay.backdropPointerEvents]:"all",[DI.overlay.boxShadow]:`${zI.wide.xl} ${TI}, ${zI.narrow.xl} ${TI}`,[DI.overlay.outlineWidth]:"0",[DI.overlay.outlineColor]:"transparent",[DI.overlay.outlineStyle]:"none",[DI.overlay.padding]:"0",[DI.rtlInputDirection]:"ltr",[DI.rtlInputAlignment]:"right",[DI.errorMessageIcon]:xy.errorMessageIcon,[DI.errorMessageIconSize]:xy.errorMessageIconSize,[DI.errorMessageIconPadding]:xy.errorMessageIconPadding,[DI.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[DI.errorMessageIconPosition]:xy.errorMessageIconPosition,[DI.errorMessageFontSize]:xy.errorMessageFontSize,[DI.labelFontWeight]:xy.labelFontWeight,[DI.inputValueFontWeight]:xy.inputValueFontWeight,[DI.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[DI.helperTextFontWeight]:xy.helperTextFontWeight,[DI.errorMessageFontWeight]:xy.errorMessageFontWeight};var vI=Object.freeze({__proto__:null,default:SI,vars:DI});const LI=lu.cssVarList,CI={[LI.requiredInputBorderColor]:Iy._disabled[jy.borderColor],[LI.requiredInputValueTextColor]:Iy._disabled[jy.valueTextColor],[LI.hostWidth]:"280px",_fullWidth:{[LI.hostWidth]:"100%"}};var AI=Object.freeze({__proto__:null,default:CI,vars:LI});const wI=Se(_u),fI=bu.cssVarList,EI={[fI.gap]:wI.spacing.lg,[fI.arrowsColor]:wI.colors.surface.dark,[fI.thirdPartyAppLogoFallback]:"url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)",[fI.companyLogoFallback]:"url(https://imgs.descope.com/components/project-logo-placeholder.svg)",size:{xs:{[fI.logoMaxHeight]:"30px",[fI.logoMaxWidth]:"120px"},sm:{[fI.logoMaxHeight]:"40px",[fI.logoMaxWidth]:"160px"},md:{[fI.logoMaxHeight]:"48px",[fI.logoMaxWidth]:"200px"},lg:{[fI.logoMaxHeight]:"60px",[fI.logoMaxWidth]:"240px"}}};var kI=Object.freeze({__proto__:null,default:EI,vars:fI});const OI=Tu.cssVarList,VI={[OI.hostWidth]:"fit-content",_fullWidth:{[OI.hostWidth]:"100%"}};var WI=Object.freeze({__proto__:null,default:VI,vars:OI});const YI=wu.cssVarList,UI={[YI.hostWidth]:"min-content",[YI.questionCursor]:"pointer",_fullWidth:{[YI.hostWidth]:"100%"},[YI.questionFontSize]:xy.fontSize,[YI.questionFontFamily]:xy.fontFamily};var RI=Object.freeze({__proto__:null,default:UI,vars:YI});const QI=Yu.cssVarList,ZI={[QI.hostDirection]:xy.direction,[QI.labelFontWeight]:xy.labelFontWeight,[QI.inputValueFontWeight]:xy.inputValueFontWeight,[QI.inputPlaceholderFontWeight]:xy.inputPlaceholderFontWeight,[QI.helperTextFontWeight]:xy.helperTextFontWeight,[QI.errorMessageFontWeight]:xy.errorMessageFontWeight,[QI.errorMessageIcon]:xy.errorMessageIcon,[QI.errorMessageIconSize]:xy.errorMessageIconSize,[QI.errorMessageIconPadding]:xy.errorMessageIconPadding,[QI.errorMessageIconRepeat]:xy.errorMessageIconRepeat,[QI.errorMessageIconPosition]:xy.errorMessageIconPosition,[QI.errorMessageFontSize]:xy.errorMessageFontSize,_fullWidth:{[QI.hostWidth]:"100%"}};var BI=Object.freeze({__proto__:null,default:ZI,vars:QI});const PI=Se(_u),FI=Zu.cssVarList,GI={[FI.hostDirection]:PI.direction,[FI.backgroundColor]:"transparent",[FI.iconSize]:"1.35em",[FI.alignItems]:"center",[FI.borderRadius]:PI.radius.md,[FI.horizontalPadding]:"0",[FI.verticalPadding]:"0",[FI.gap]:"0.5em",[FI.fontSize]:ke(hp.fontSize),mode:{error:{[FI.textColor]:PI.colors.error.main,_bordered:{[FI.borderColor]:PI.colors.error.main}},success:{[FI.textColor]:PI.colors.success.main,_bordered:{[FI.borderColor]:PI.colors.success.main}}},spacing:{xs:{[FI.horizontalPadding]:PI.spacing.xs,[FI.verticalPadding]:PI.spacing.xs},sm:{[FI.horizontalPadding]:PI.spacing.sm,[FI.verticalPadding]:PI.spacing.sm},md:{[FI.horizontalPadding]:PI.spacing.md,[FI.verticalPadding]:PI.spacing.md},lg:{[FI.horizontalPadding]:PI.spacing.lg,[FI.verticalPadding]:PI.spacing.lg},xl:{[FI.horizontalPadding]:PI.spacing.xl,[FI.verticalPadding]:PI.spacing.xl}},textAlign:{left:{[FI.justifyContent]:"left"},center:{[FI.justifyContent]:"center"},right:{[FI.justifyContent]:"right"}},_bordered:{[FI.borderWidth]:PI.border.xs,[FI.borderColor]:"transparent",[FI.borderStyle]:"solid",[FI.borderWidth]:PI.border.xs,[FI.borderRadius]:PI.radius.sm},_fullWidth:{[FI.hostWidth]:"100%"}};var HI=Object.freeze({__proto__:null,default:GI,vars:FI});const JI=Gu.cssVarList,$I={enabled:{false:{[JI.maxHeight]:"70px"}}},_I={button:up,textField:vy,password:wy,numberField:ky,emailField:Wy,textArea:Ry,checkbox:Py,switchToggle:$y,container:rb,logo:ab,totpImage:cb,notpImage:hb,text:Mp,enrichedText:Tp,link:Np,divider:xb,passcode:zb,loaderRadial:Vb,loaderLinear:Lb,comboBox:wp,phoneField:Ub,phoneInputBoxField:Zb,newPassword:Gb,inputWrapper:Ty,uploadFile:$b,buttonSelectionGroupItem:Kb,buttonSelectionGroup:rN,buttonMultiSelectionGroup:aN,modal:pN,grid:mN,notificationCard:xN,multiSelectComboBox:Kh,badge:Yp,avatar:$p,mappingsField:DN,userAttribute:CN,userAuthMethod:EN,samlGroupMappings:VN,policyValidation:RN,image:Kp,icon:Xp,codeSnippet:dI,radioGroup:hI,radioButton:yI,calendar:xI,dateField:vI,list:Mh,listItem:Nh,multiLineMappings:$h,appsList:sh,scopesList:AI,thirdPartyAppLogo:kI,securityQuestionsSetup:WI,securityQuestionsVerify:RI,hybridField:BI,alert:HI,autocompleteField:cg,addressField:Sg,countrySubdivisionCityField:Hm,timer:Yg,timerButton:tM,passwordStrength:hM,collapsibleContainer:SM,recoveryCodes:kM,hcaptcha:Object.freeze({__proto__:null,default:$I,vars:JI}),outboundApps:ZM,outboundAppButton:$M,trustedDevices:nm,tooltip:Im,attachment:oy,userPasskeys:yy},XI=Object.keys(_I).reduce((t,e)=>({...t,[e]:_I[e].default}),{}),qI=Object.keys(_I).reduce((t,e)=>({...t,[e]:_I[e].vars}),{}),KI={globals:_u,components:XI},tx={globals:Xu,components:qI},ex=a()({},KI,{globals:{colors:{surface:{main:"#181a1c",dark:"#bec4ca",light:"#555f68",highlight:"#22262a",contrast:"#f5f6f7"},primary:{main:"#1f80ff",dark:"#71aeff",light:"#004094",highlight:"#00214d",contrast:"#000000"},secondary:{main:"#a665eb",dark:"#b9a0f3",light:"#683ae6",highlight:"#361299",contrast:"#000000"},success:{main:"#27963c",dark:"#8bc3a2",light:"#004d0f",highlight:"#001f00",contrast:"#000000"},error:{main:"#f85249",dark:"#fa7c75",light:"#c51107",highlight:"#4a0603",contrast:"#000000"},warning:{main:"#EF7A33",dark:"#FF985A",light:"#FF6304",highlight:"#C45512",contrast:"#000000"}}},components:{...lI}});customElements.define(tg,class extends eg{static get observedAttributes(){return[].concat(eg.observedAttributes||[],ig)}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get minSearchLength(){return this.getAttribute("min-search-length")||3}get noResultsFoundMessage(){return this.getAttribute("no-results-message")||"No results found"}get errorFetchingResultsMessage(){return this.getAttribute("error-fetching-results-message")||"An error occurred fetching results"}constructor(){super(),this.innerHTML='\n <div class="autocomplete-field">\n <descope-combo-box clear-button-visible="true" auto-open-disabled="true" has-dynamic-data="true" item-label-path="data-name" item-value-path="data-id" hide-toggle-button="true"></descope-combo-box>\n </div>\n ',this.comboBox=this.querySelector("descope-combo-box")}get value(){return this.comboBox.value}set value(t){this.allowCustomValue?this.comboBox.value=t:(this.comboBox.data=[{label:t,value:t}],setTimeout(()=>{this.comboBox.value=t}))}get defaultValue(){return this.getAttribute("default-value")}async#Io(t){const{results:e,error:i}=await this.fetchResults(t);return i?{error:i}:{results:e}}#xo(t,e,i,o){return`<span data-name="${i}" data-id="${e}" ${o?'disabled="true"':""}>${t||i}</span>`}#jo(){this.comboBox.renderer=(t,e,i)=>{"true"===i.item.getAttribute("disabled")?t.setAttribute("disabled","true"):t.removeAttribute("disabled"),t.innerHTML=i.item.outerHTML},this.comboBox.renderItem=({displayName:t,value:e,label:i,disabled:o})=>this.#xo(t,e,i,o)}focus(){this.comboBox.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.comboBox.focus()}),super.init?.(),this.#To(),L(this,this.comboBox,{includeAttrs:["invalid"]})}#To(){this.debouncedSearch=(t=>{let e=0;const i=new Set,o=new Set,r=n()((r,n)=>{t(...r).then(t=>{n===e&&(i.forEach(e=>e(t)),i.clear())}).catch(t=>{o.forEach(e=>e(t)),o.clear()})},250);return(...t)=>(e++,new Promise((n,s)=>{i.add(n),o.add(s),r(t,e)}))})(async t=>{try{const{results:e,error:i}=await this.#Io(t);return{results:e,error:i,value:t}}catch(e){return{error:e,value:t}}}),w(this,this.comboBox,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","invalid","error-message","data-errormessage-value-missing","st-host-direction","allow-custom-value","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),this.comboBox.addEventListener("filter-changed",this.onSearch.bind(this)),this.#jo()}#zo(){return[{label:this.noResultsFoundMessage,value:og,disabled:!0}]}#Do(){return[{label:this.errorFetchingResultsMessage,value:og,disabled:!0}]}async onSearch(t){const e=t.detail.value;if(!e||e.length<this.minSearchLength)return;this.comboBox.loading=!0,this.comboBox.setAttribute("opened","true");const i=await this.debouncedSearch(e);i&&i.value===e&&(this.comboBox.loading=!1,i.error?this.comboBox.data=this.#Do():0===i.results?.length?this.comboBox.data=this.#zo():this.comboBox.data=i.results||[])}fetchResults(t){return console.warn("fetchResults","needs to be implemented"),{results:[],error:void 0}}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),customElements.define(rg,sg),customElements.define(hg,Ig),customElements.define(xg,Tg);const ix=C("anchored");class ox extends(yt({componentName:ix,baseSelector:".anchored-root"})){#So=null;#vo=null;#Lo=null;get#Co(){return this.defaultSlot.assignedElements({flatten:!0})[0]}get#Ao(){return this.shadowRoot.querySelector('slot[name="anchored"]')?.assignedElements()[0]}get#wo(){return this.getRootNode().host}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="anchored-root" part="root">\n <slot></slot>\n <div class="anchored-host" part="anchored">\n <slot name="anchored"></slot>\n </div>\n </div>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])")}init(){super.init?.(),f("\n :host {\n display: inline-flex;\n position: relative;\n box-sizing: border-box;\n }\n\n :host(:not([has-anchor])) {\n display: none;\n }\n\n .anchored-root {\n position: relative;\n display: flex;\n width: 100%;\n min-width: 0;\n }\n\n /* Make anchor fill the flex row and allow it to shrink. */\n ::slotted(*:not([slot])) {\n flex-grow: 1; /* fill the flex row */\n flex-shrink: 1; /* compress when constrained */\n flex-basis: auto; /* start from the anchor's natural size */\n min-width: 0; /* flex items won't shrink below content size without this */\n }\n\n /* Anchored container covers the anchor but is invisible to pointer events. */\n .anchored-host {\n position: absolute;\n inset: 0;\n pointer-events: none;\n }\n\n /* Restore interactivity for actual anchored content. */\n ::slotted([slot=\"anchored\"]) {\n pointer-events: auto;\n }\n ",this),this.#fo(),this.defaultSlot.addEventListener("slotchange",()=>this.#Eo()),this.#Eo()}#si(){const t=this.#Co?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#Eo(){this.#ko(),this.#So=this.#Oo(this.#So,this.#wo,"stretch"),this.#vo=this.#Oo(this.#vo,this.#Ao,"st-host-direction")}#fo(){const t="\n descope-anchored {\n width: 100%; /* fill the outer host so the anchored element spans the full anchor width */\n }\n :host([stretch]) {\n display: inline-flex; /* switch from inline-block so internal children are flex items */\n width: 100%; /* fill non-flex parents */\n flex-grow: 1; /* absorb extra space in flex parents */\n flex-shrink: 0; /* hold full width — shrink:1 would let siblings squeeze it below 100% */\n flex-basis: auto; /* defer to width:100% on the main axis; avoids forcing 100% height in column-flex parents */\n min-width: 0; /* prevent overflow when the outer host is itself inside a constrained flex row */\n }\n ";this.#Lo?this.#Lo.replaceSync(t):this.#wo&&(this.#Lo=f(t,this.#wo))}#Oo(t,e,i){return t?.disconnect(),e?.removeAttribute(i),this.#Co&&e?w(this.#Co,e,{includeAttrs:[i]}):null}disconnectedCallback(){super.disconnectedCallback?.(),this.#So?.disconnect(),this.#vo?.disconnect()}#ko(){this.toggleAttribute("has-anchor",!!this.#Co),this.#si()}}const rx=T(pt)(ox);customElements.define(ix,rx),customElements.define(Up,Pp),customElements.define(th,eh),customElements.define(Jm,Km),customElements.define(gM,yM),customElements.define(vm,Um),customElements.define(Rm,Pm),customElements.define(Ih,Oh),customElements.define(Vh,Gh),customElements.define(BM,FM),customElements.define(OM,UM),customElements.define(eM,lM);var nx=Object.freeze({__proto__:null,PasswordStrengthClass:lM,componentName:eM});const sx=C("ponyhot"),ax="dhp-",lx=yt({componentName:sx,baseSelector:""}),dx=T(pt)(class extends lx{get type(){return this.getAttribute("type")}get value(){return this.input?.value||""}init(){this.input=this.querySelector("input"),this.input&&(this.#Vo(),this.#Wo(),this.#Yo())}#Vo(){const t=["input","change","click","keydown","keyup","mouseover","mousedown"],e=i=>{this.input.value=`${ax}${i.type}`,t.forEach(t=>{this.input.removeEventListener(t,e)})};t.forEach(t=>{this.input.addEventListener(t,e)})}#Wo(){const t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(this.input,"value",{get(){return t.get.call(this)},set(e){const i=t.get.call(this);e&&!e.startsWith(ax)&&e!==i?t.set.call(this,`${ax}direct-set`):t.set.call(this,e)},configurable:!0})}#Yo(){Object.entries({position:"absolute",opacity:"0.01",width:"1px",height:"1px",pointerEvents:"none",zIndex:"-1",left:"-999999px"}).forEach(([t,e])=>{this.style[t]=e})}});customElements.define(sx,dx),customElements.define(vM,CM),customElements.define(Lg,kg),customElements.define(Ug,_g),customElements.define(sm,um),customElements.define(qM,im),customElements.define(ly,gy);const cx={translations:N.A,graphs:y.K,dictionary:{...y.z,...b.z}};m.u2.setOptions(cx);var ux=Object.freeze({__proto__:null,default:m.K1,options:cx})}}]);
|
|
2
2
|
//# sourceMappingURL=222.js.map
|