@sapudex/web-components 2.63.0 → 2.63.1
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/cypress/specs/FilterMenu.cy.tsx +43 -22
- package/cypress/specs/FilterMenuAccessibility.cy.tsx +1017 -0
- package/cypress/specs/ListItem.cy.tsx +234 -6
- package/cypress/specs/SelectBox.cy.tsx +7 -2
- package/cypress/specs/SelectBoxAccessibility.cy.tsx +5 -5
- package/dist/FilterMenu.d.ts +2 -2
- package/dist/FilterMenu.js +6 -4
- package/dist/FilterMenu.js.map +1 -1
- package/dist/FilterMenuTemplate.js +2 -2
- package/dist/FilterMenuTemplate.js.map +1 -1
- package/dist/List.d.ts +1 -8
- package/dist/List.js +4 -12
- package/dist/List.js.map +1 -1
- package/dist/ListGroupHeaderTemplate.js +8 -7
- package/dist/ListGroupHeaderTemplate.js.map +1 -1
- package/dist/ListItem.js +12 -1
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemBase.d.ts +5 -0
- package/dist/ListItemBase.js +3 -0
- package/dist/ListItemBase.js.map +1 -1
- package/dist/ListItemTemplate.js +2 -2
- package/dist/ListItemTemplate.js.map +1 -1
- package/dist/ListSelectAllTemplate.js +1 -1
- package/dist/ListSelectAllTemplate.js.map +1 -1
- package/dist/SearchableListBaseTemplate.js +7 -9
- package/dist/SearchableListBaseTemplate.js.map +1 -1
- package/dist/assets/{InputSuggestions-6S5UueXO.js → InputSuggestions-DSPGFWZq.js} +1 -1
- package/dist/assets/{ListItemStandardExpandableTextTemplate-OidrwM_d.js → ListItemStandardExpandableTextTemplate-hSNo3Xyr.js} +1 -1
- package/dist/assets/{bundle.esm-DaFsZANO.js → bundle.esm-qSu0eWiH.js} +21 -21
- package/dist/css/themes/MastheadShell.css +1 -1
- package/dist/css/themes/PromoTile.css +1 -1
- package/dist/generated/themes/MastheadShell.css.d.ts +1 -1
- package/dist/generated/themes/MastheadShell.css.js +1 -1
- package/dist/generated/themes/MastheadShell.css.js.map +1 -1
- package/dist/generated/themes/PromoTile.css.d.ts +1 -1
- package/dist/generated/themes/PromoTile.css.js +1 -1
- package/dist/generated/themes/PromoTile.css.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
- package/src/FilterMenu.ts +6 -4
- package/src/FilterMenuTemplate.tsx +12 -8
- package/src/List.ts +4 -12
- package/src/ListGroupHeaderTemplate.tsx +9 -3
- package/src/ListItem.ts +12 -1
- package/src/ListItemBase.ts +7 -0
- package/src/ListItemTemplate.tsx +6 -1
- package/src/ListSelectAllTemplate.tsx +11 -12
- package/src/SearchableListBaseTemplate.tsx +9 -9
- package/src/generated/themes/MastheadShell.css.ts +1 -1
- package/src/generated/themes/PromoTile.css.ts +1 -1
- package/src/themes/MastheadShell.css +1 -1
- package/src/themes/PromoTile.css +5 -0
|
@@ -83,7 +83,7 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
83
83
|
`,Ck=()=>Promise.resolve(yk);gw("@ui5/webcomponents","sap_glow",Ck);(function(){if(typeof document>"u")return;const e=()=>{Array.from(document.styleSheets).some(i=>{try{return i.href&&i.href.includes("css_variables.css")?!0:Array.from(i.cssRules||[]).some(a=>a.cssText.includes(".sapThemeMetaData-Base-baseLib"))}catch{return!1}})||console.warn(`Required theme CSS not found.
|
|
84
84
|
Please add:
|
|
85
85
|
<link rel="stylesheet" href="path/to/@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css">
|
|
86
|
-
or import '@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css'`)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();const Cg=new Map,wg=new Map,Bb=new Map,Xd=o=>{if(!Cg.has(o)){const e=wk(o.split("-"));Cg.set(o,e)}return Cg.get(o)},B4=o=>{if(!wg.has(o)){const e=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();wg.set(o,e)}return wg.get(o)},wk=o=>o.map((e,t)=>t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),Ab=o=>{const e=Bb.get(o);if(e)return e;const t=Xd(o),i=t.charAt(0).toUpperCase()+t.slice(1);return Bb.set(o,i),i},Eb=o=>{if(!(o instanceof HTMLElement))return"default";const e=o.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"},A4=o=>o instanceof HTMLSlotElement?o.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[o],Db=o=>o.reduce((e,t)=>e.concat(A4(t)),[]);let Sk=class{constructor(e){this.metadata=e}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const e={};if(this.slotsAreManaged()){const t=this.getSlots();for(const[i,a]of Object.entries(t)){const r=a.propertyName||i;e[r]=[],e[Xd(r)]=e[r]}}return this._initialState=e,e}static validateSlotValue(e,t){return kk(e,t)}getPureTag(){return this.metadata.tag||""}getTag(){const e=this.metadata.tag;if(!e)return"";const t=mC(e);return t?`${e}-${t}`:e}hasAttribute(e){return!this.getProperties()[e].noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute.bind(this)).map(B4)}canSlotText(){var e;return((e=this.getSlots().default)==null?void 0:e.type)===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.values(this.getSlots()).some(e=>e.individualSlots)}slotsAreManaged(){return!!this.metadata.managedSlots}supportsF6FastNavigation(){return!!this.metadata.fastNavigation}getProperties(){return this.metadata.properties||(this.metadata.properties={}),this.metadata.properties}getEvents(){return this.metadata.events||(this.metadata.events={}),this.metadata.events}getSlots(){return this.metadata.slots||(this.metadata.slots={}),this.metadata.slots}isLanguageAware(){return!!this.metadata.languageAware}isThemeAware(){return!!this.metadata.themeAware}needsCLDR(){return!!this.metadata.cldr}getShadowRootOptions(){return this.metadata.shadowRootOptions||{}}isFormAssociated(){return!!this.metadata.formAssociated}shouldInvalidateOnChildChange(e,t,i){const a=this.getSlots()[e].invalidateOnChildChange;if(a===void 0)return!1;if(typeof a=="boolean")return a;if(typeof a=="object"){if(t==="property"){if(a.properties===void 0)return!1;if(typeof a.properties=="boolean")return a.properties;if(Array.isArray(a.properties))return a.properties.includes(i);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if(t==="slot"){if(a.slots===void 0)return!1;if(typeof a.slots=="boolean")return a.slots;if(Array.isArray(a.slots))return a.slots.includes(i);throw new Error("Wrong format for invalidateOnChildChange.slots: boolean or array is expected")}}throw new Error("Wrong format for invalidateOnChildChange: boolean or object is expected")}getI18n(){return this.metadata.i18n||(this.metadata.i18n={}),this.metadata.i18n}};const kk=(o,e)=>(o&&A4(o).forEach(t=>{if(!(t instanceof e.type))throw new Error(`The element is not of type ${e.type.toString()}`)}),o),Tk=()=>Na("CustomStyle.eventProvider",new Fr),Ik="CustomCSSChange",B0=o=>{Tk().attachEvent(Ik,o)},Bk=()=>Na("CustomStyle.customCSSFor",{});B0(o=>{__({tag:o})});const Ak=o=>{const e=Bk();return e[o]?e[o].join(""):""},Rb=o=>Array.isArray(o)?o.filter(e=>!!e).flat(10).join(" "):o,Rp=new Map;B0(o=>{Rp.delete(`${o}_normal`)});const Ek=o=>{const e=o.getMetadata().getTag(),t=`${e}_normal`,i=yi("OpenUI5Enablement");if(!Rp.has(t)){let a="";i&&(a=Rb(i.getBusyIndicatorStyles()));const r=Ak(e)||"",n=`${Rb(o.styles)} ${r} ${a}`;Rp.set(t,n)}return Rp.get(t)},Pp=new Map;B0(o=>{Pp.delete(`${o}_normal`)});const Dk=o=>{const e=`${o.getMetadata().getTag()}_normal`;if(!Pp.has(e)){const t=Ek(o),i=new CSSStyleSheet;i.replaceSync(t),Pp.set(e,[i])}return Pp.get(e)},Rk=o=>{const e=o.constructor,t=o.shadowRoot;if(!t){console.warn("There is no shadow root to update");return}t.adoptedStyleSheets=[Gx(),...Dk(e)],e.renderer(o,t)},Pk=[],Lk=o=>Pk.some(e=>o.startsWith(e)),Bv=new WeakMap,Nk=(o,e,t)=>{const i=new MutationObserver(e);Bv.set(o,i),i.observe(o,t)},Mk=o=>{const e=Bv.get(o);e&&(e.disconnect(),Bv.delete(o))},Ok=o=>o.matches(":dir(rtl)")?"rtl":"ltr",Fk=["disabled","title","hidden","role","draggable"],Pb=o=>Fk.includes(o)||o.startsWith("aria")?!0:![HTMLElement,Element,Node].some(e=>e.prototype.hasOwnProperty(o)),E4=(o,e)=>{if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(o[t]!==e[t])return!1;return!0},Ls=(o,e)=>o.call(e),D4=o=>{var t,i,a;const e=o.getAttribute("form");if(e){const r=((i=(t=o.getRootNode()).getElementById)==null?void 0:i.call(t,e))||document.getElementById(e);return r instanceof HTMLFormElement?r:null}return((a=o._internals)==null?void 0:a.form)??null},zk=o=>{P4(o)&&Av(o)},Av=o=>{var e,t;if((e=o._internals)!=null&&e.form){if(R4(o),!o.name){(t=o._internals)==null||t.setFormValue(null);return}o._internals.setFormValue(o.formFormattedValue)}},R4=async o=>{var e,t;if(!(!o.isUI5Element||!((e=o._internals)!=null&&e.form)))if(o._internals.setValidity({customError:!0}," "),await o.definePromise,o.formValidity&&Object.keys(o.formValidity).some(i=>i)){const i=await((t=o.formElementAnchor)==null?void 0:t.call(o));o._internals.setValidity(o.formValidity,o.formValidityMessage,i)}else o._internals.setValidity({})},Ev=async o=>{const e=D4(o);if(!e)return;const t=[...e.elements];await Promise.all(t.map(i=>P4(i)?R4(i):Promise.resolve())),e.requestSubmit()},$k=o=>{var e;(e=D4(o))==null||e.reset()},P4=o=>"formFormattedValue"in o&&"name"in o;function Zr(o){return e=>e!=null&&o in e&&e[o]===!0}let Hk=0;const Lb=new Map,Sg=new Map,Nb={fromAttribute(o,e){if(e===Boolean)return o!==null;if(e===Number)return o===null?void 0:parseFloat(o);if(e===Object||e===Array)try{return JSON.parse(o)}catch{return o}return o},toAttribute(o,e){return e===Boolean?o?"":null:e===Object||e===Array||o==null?null:String(o)}};function Sc(o){this._suppressInvalidation||this.constructor.getMetadata().isLanguageAware()&&Sv()||(this.onInvalidation(o),this._changedState.push(o),u4(this),this._invalidationEventProvider.fireEvent("invalidate",{...o,target:this}))}function Xk(o,e){do{const t=Object.getOwnPropertyDescriptor(o,e);if(t)return t;o=Object.getPrototypeOf(o)}while(o&&o!==HTMLElement.prototype)}var Gn;let z=(Gn=class extends HTMLElement{constructor(){super(),this.__shouldHydrate=!1,this._rendered=!1;const e=this.constructor;this._changedState=[],this._suppressInvalidation=!0,this._inDOM=!1,this._fullyConnected=!1,this._childChangeListeners=new Map,this._slotChangeListeners=new Map,this._invalidationEventProvider=new Fr,this._componentStateFinalizedEventProvider=new Fr;let t;this._domRefReadyPromise=new Promise(i=>{t=i}),this._domRefReadyPromise._deferredResolve=t,this._doNotSyncAttributes=new Set,this._slotsAssignedNodes=new WeakMap,this._state={...e.getMetadata().getInitialState()},this.initializedProperties=new Map,this.constructor.getMetadata().getPropertiesList().forEach(i=>{if(this.hasOwnProperty(i)){const a=this[i];this.initializedProperties.set(i,a)}}),this._internals=this.attachInternals(),this._initShadowRoot()}_initShadowRoot(){const e=this.constructor;if(e._needsShadowDOM()){const t={mode:"open"};this.shadowRoot?this.__shouldHydrate=!0:this.attachShadow({...t,...e.getMetadata().getShadowRootOptions()}),e.getMetadata().slotsAreManaged()&&this.shadowRoot.addEventListener("slotchange",this._onShadowRootSlotChange.bind(this))}}_onShadowRootSlotChange(e){var t;((t=e.target)==null?void 0:t.getRootNode())===this.shadowRoot&&this._processChildren()}get _id(){return this.__id||(this.__id=`ui5wc_${++Hk}`),this.__id}render(){const e=this.constructor.template;return Ls(e,this)}async connectedCallback(){const e=this.constructor;c4(this),this.setAttribute(e.getMetadata().getPureTag(),""),e.getMetadata().supportsF6FastNavigation()&&!this.hasAttribute("data-sap-ui-fastnavgroup")&&this.setAttribute("data-sap-ui-fastnavgroup","true");const t=e.getMetadata().slotsAreManaged();this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),Object.prototype.hasOwnProperty.call(e,"asyncFinished")||await e._definePromise;const i=Sv();e.getMetadata().isLanguageAware()&&i&&await i,this._inDOM&&(this._rendered||_4(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,this.onEnterDOM(),this.hasAttribute("autofocus")&&requestAnimationFrame(()=>{this.focus()}))}get definePromise(){const e=this.constructor;return!Object.prototype.hasOwnProperty.call(e,"asyncFinished")&&e._definePromise?e._definePromise:Promise.resolve()}disconnectedCallback(){const e=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,e&&this._stopObservingDOMChildren(),this._fullyConnected&&(this.onExitDOM(),this._fullyConnected=!1),this._domRefReadyPromise._deferredResolve(),vS(this),h4(this)}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}_startObservingDOMChildren(){const e=this.constructor.getMetadata();if(!e.hasSlots())return;const t=e.canSlotText(),i={childList:!0,subtree:t,characterData:t};Nk(this,this._processChildren.bind(this),i)}_stopObservingDOMChildren(){Mk(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor,t=e.getMetadata().getSlots(),i=e.getMetadata().canSlotText(),a=Array.from(i?this.childNodes:this.children),r=new Map,n=new Map;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;n.set(b,_),r.set(b,[...this._state[b]]),this._clearSlot(_,f)}const s=new Map,u=new Map;a.forEach((_,f)=>{const b=Eb(_),k=t[b];if(k===void 0){if(b!=="default"){const H=Object.keys(t).join(", ");console.warn(`Unknown slotName: ${b}, ignoring`,_,`Valid values are: ${H}`)}return}const $=k.propertyName||b;u.has($)?u.get($).push({child:_,idx:f}):u.set($,[{child:_,idx:f}])}),u.forEach((_,f)=>{this._state[f]=_.sort((b,k)=>b.idx-k.idx).map(b=>b.child),this._state[Xd(f)]=this._state[f]});const c=a.map(async _=>{const f=Eb(_),b=t[f];if(b!==void 0){if(b.individualSlots){const k=(s.get(f)||0)+1;s.set(f,k),_._individualSlot=`${f}-${k}`}if(_ instanceof HTMLElement){const k=_.localName;if(k.includes("-")&&!Lk(k)){if(!customElements.get(k)){const $=customElements.whenDefined(k);let H=Lb.get(k);H||(H=new Promise(X=>setTimeout(X,1e3)),Lb.set(k,H)),await Promise.race([$,H])}customElements.upgrade(_)}}if(_=e.getMetadata().constructor.validateSlotValue(_,b),ma(_)&&b.invalidateOnChildChange){const k=this._getChildChangeListener(f);_.attachInvalidate.call(_,k)}_ instanceof HTMLSlotElement&&this._attachSlotChange(_,f,!!b.invalidateOnChildChange)}});await Promise.all(c);let p=!1;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;E4(r.get(b),this._state[b])||(Sc.call(this,{type:"slot",name:n.get(b),reason:"children"}),p=!0,e.getMetadata().isFormAssociated()&&Av(this))}p||Sc.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(e,t){const i=t.propertyName||e;this._state[i].forEach(a=>{if(ma(a)){const r=this._getChildChangeListener(e);a.detachInvalidate.call(a,r)}a instanceof HTMLSlotElement&&this._detachSlotChange(a,e)}),this._state[i]=[],this._state[Xd(i)]=this._state[i]}attachInvalidate(e){this._invalidationEventProvider.attachEvent("invalidate",e)}detachInvalidate(e){this._invalidationEventProvider.detachEvent("invalidate",e)}_onChildChange(e,t){this.constructor.getMetadata().shouldInvalidateOnChildChange(e,t.type,t.name)&&Sc.call(this,{type:"slot",name:e,reason:"childchange",child:t.target})}attributeChangedCallback(e,t,i){let a;if(this._doNotSyncAttributes.has(e))return;const r=this.constructor.getMetadata().getProperties(),n=e.replace(/^ui5-/,""),s=Xd(n);if(r.hasOwnProperty(s)){const u=r[s];a=(u.converter??Nb).fromAttribute(i,u.type),this[s]=a}}formAssociatedCallback(){this.constructor.getMetadata().isFormAssociated()&&zk(this)}static get formAssociated(){return this.getMetadata().isFormAssociated()}_updateAttribute(e,t){const i=this.constructor;if(!i.getMetadata().hasAttribute(e))return;const a=i.getMetadata().getProperties()[e];if(a.type===Object||a.type===Array)return;const r=B4(e),n=(a.converter||Nb).toAttribute(t,a.type);this._doNotSyncAttributes.add(r),n==null?this.removeAttribute(r):this.setAttribute(r,n),this._doNotSyncAttributes.delete(r)}_getChildChangeListener(e){return this._childChangeListeners.has(e)||this._childChangeListeners.set(e,this._onChildChange.bind(this,e)),this._childChangeListeners.get(e)}_getSlotChangeListener(e){return this._slotChangeListeners.has(e)||this._slotChangeListeners.set(e,this._onSlotChange.bind(this,e)),this._slotChangeListeners.get(e)}_attachSlotChange(e,t,i){const a=this._getSlotChangeListener(t);e.addEventListener("slotchange",r=>{if(a.call(e,r),i){const n=this._slotsAssignedNodes.get(e);n&&n.forEach(u=>{if(ma(u)){const c=this._getChildChangeListener(t);u.detachInvalidate.call(u,c)}});const s=Db([e]);this._slotsAssignedNodes.set(e,s),s.forEach(u=>{if(ma(u)){const c=this._getChildChangeListener(t);u.attachInvalidate.call(u,c)}})}})}_detachSlotChange(e,t){e.removeEventListener("slotchange",this._getSlotChangeListener(t))}_onSlotChange(e){Sc.call(this,{type:"slot",name:e,reason:"slotchange"})}onInvalidation(e){}updateAttributes(){const e=this.constructor.getMetadata().getProperties();for(const[t,i]of Object.entries(e))this._updateAttribute(t,this[t])}_render(){const e=this.constructor;if(e.getMetadata().isLanguageAware()&&Sv())return;const t=e.getMetadata().hasIndividualSlots();this.initializedProperties.size>0&&(Array.from(this.initializedProperties.entries()).forEach(([i,a])=>{delete this[i],this[i]=a}),this.initializedProperties.clear()),this._suppressInvalidation=!0;try{this.onBeforeRendering(),this._rendered||this.updateAttributes(),this._componentStateFinalizedEventProvider.fireEvent("componentStateFinalized")}finally{this._suppressInvalidation=!1}this._changedState=[],e._needsShadowDOM()&&Rk(this),this._rendered=!0,t&&this._assignIndividualSlotsToChildren(),this.onAfterRendering()}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(e=>{e._individualSlot&&e.setAttribute("slot",e._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(typeof this._getRealDomRef=="function")return this._getRealDomRef();if(!(!this.shadowRoot||this.shadowRoot.children.length===0))return this.shadowRoot.children[0]}getFocusDomRef(){const e=this.getDomRef();if(e)return e.querySelector("[data-sap-focus-ref]")||e}async getFocusDomRefAsync(){return await this._waitForDomRef(),this.getFocusDomRef()}async focus(e){await this._waitForDomRef();const t=this.getFocusDomRef();t===this||!this.isConnected?HTMLElement.prototype.focus.call(this,e):t&&typeof t.focus=="function"&&t.focus(e)}fireEvent(e,t,i=!1,a=!0){const r=this._fireEvent(e,t,i,a),n=Ab(e);return n!==e?r&&this._fireEvent(n,t,i,a):r}fireDecoratorEvent(e,t){const i=this.getEventData(e),a=i?i.cancelable:!1,r=i?i.bubbles:!1,n=this._fireEvent(e,t,a,r),s=Ab(e);return s!==e?n&&this._fireEvent(s,t,a,r):n}_fireEvent(e,t,i=!1,a=!0){const r=new CustomEvent(`ui5-${e}`,{detail:t,composed:!1,bubbles:a,cancelable:i}),n=this.dispatchEvent(r);if(iS(e))return n;const s=new CustomEvent(e,{detail:t,composed:!1,bubbles:a,cancelable:i});return this.dispatchEvent(s)&&n}getEventData(e){return this.constructor.getMetadata().getEvents()[e]}getSlottedNodes(e){return Db(this._state[e]||[])}attachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.attachEvent("componentStateFinalized",e)}detachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.detachEvent("componentStateFinalized",e)}get effectiveDir(){return _S(this.constructor),Ok(this)}get isUI5Element(){return!0}get isUI5AbstractElement(){return!this.constructor._needsShadowDOM()}get classes(){return{}}get accessibilityInfo(){}static get observedAttributes(){return this.getMetadata().getAttributesList()}static get tagsToScope(){const e=this.getMetadata().getPureTag(),t=this.getUniqueDependencies().map(i=>i.getMetadata().getPureTag()).filter(Cv);return Cv(e)&&t.push(e),t}static _needsShadowDOM(){return!!this.template||Object.prototype.hasOwnProperty.call(this.prototype,"render")}static _generateAccessors(){const e=this.prototype,t=this.getMetadata().slotsAreManaged(),i=this.getMetadata().getProperties();for(const[a,r]of Object.entries(i)){Pb(a)||console.warn(`"${a}" is not a valid property name. Use a name that does not collide with DOM APIs`);const n=Xk(e,a);let s;n!=null&&n.set&&(s=n.set);let u;n!=null&&n.get&&(u=n.get),Object.defineProperty(e,a,{get(){return u?u.call(this):this._state[a]},set(c){const p=this.constructor,_=u?u.call(this):this._state[a];if(_!==c){if(s?s.call(this,c):this._state[a]=c,Sc.call(this,{type:"property",name:a,newValue:c,oldValue:_}),this._rendered){const f=u?u.call(this):this._state[a];this._updateAttribute(a,f)}p.getMetadata().isFormAssociated()&&Av(this)}}})}if(t){const a=this.getMetadata().getSlots();for(const[r,n]of Object.entries(a)){Pb(r)||console.warn(`"${r}" is not a valid property name. Use a name that does not collide with DOM APIs`);const s=n.propertyName||r;if(Object.getOwnPropertyDescriptor(e,s))continue;const u={get(){return this._state[s]!==void 0?this._state[s]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}};Object.defineProperty(e,s,u),s!==Xd(s)&&Object.defineProperty(e,Xd(s),u)}}}static get dependencies(){return[]}static cacheUniqueDependencies(){const e=this.dependencies.filter((t,i,a)=>a.indexOf(t)===i);Sg.set(this,e)}static getUniqueDependencies(){return Sg.has(this)||this.cacheUniqueDependencies(),Sg.get(this)||[]}static async onDefine(){return Promise.resolve()}static fetchI18nBundles(){return Promise.all(Object.entries(this.getMetadata().getI18n()).map(e=>{const{bundleName:t}=e[1];return p_(t)}))}static fetchCLDR(){return this.getMetadata().needsCLDR()?m4(lo().getLanguage(),lo().getRegion(),lo().getScript()):Promise.resolve()}static get i18nBundles(){return this.i18nBundleStorage}static define(){const e=async()=>{await Kw();const r=await Promise.all([this.fetchI18nBundles(),this.fetchCLDR(),this.onDefine()]),[n]=r;Object.entries(this.getMetadata().getI18n()).forEach((s,u)=>{const c=s[1].bundleName;this.i18nBundleStorage[c]=n[u]}),this.asyncFinished=!0};this._definePromise=e();const t=this.getMetadata().getTag(),i=uS(t),a=customElements.get(t);return a&&!i?cS(t):a||(this._generateAccessors(),lS(t),customElements.define(t,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let t=this;for(;t!==Gn;)t=Object.getPrototypeOf(t),e.unshift(t.metadata);const i=v0({},...e);return this._metadata=new Sk(i),this._metadata}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}},Gn.metadata={},Gn.styles="",Gn.i18nBundleStorage={},Gn);const ma=Zr("isUI5Element"),T=(o={})=>e=>{if(Object.prototype.hasOwnProperty.call(e,"metadata")||(e.metadata={}),typeof o=="string"){e.metadata.tag=o;return}const{tag:t,languageAware:i,themeAware:a,cldr:r,fastNavigation:n,formAssociated:s,shadowRootOptions:u}=o;e.metadata.tag=t,i&&(e.metadata.languageAware=i),r&&(e.metadata.cldr=r),a&&(e.metadata.themeAware=a),n&&(e.metadata.fastNavigation=n),s&&(e.metadata.formAssociated=s),u&&(e.metadata.shadowRootOptions=u),["renderer","template","styles","dependencies"].forEach(c=>{o[c]&&Object.defineProperty(e,c,{get:()=>o[c]})})},d=o=>(e,t)=>{const i=e.constructor;Object.prototype.hasOwnProperty.call(i,"metadata")||(i.metadata={});const a=i.metadata;a.properties||(a.properties={});const r=a.properties;r[t]||(r[t]=o??{})};function D(o){return(e,t)=>{const i=e.constructor;Object.prototype.hasOwnProperty.call(i,"metadata")||(i.metadata={});const a=i.metadata;a.slots||(a.slots={});const r=a.slots;if(o&&o.default&&r.default)throw new Error("Only one slot can be the default slot.");const n=o&&o.default?"default":t;o=o||{type:HTMLElement},o.type||(o.type=HTMLElement),r[n]||(r[n]=o),o.default&&(delete r.default.default,r.default.propertyName=t),i.metadata.managedSlots=!0}}const x=(o,e={})=>t=>{Object.prototype.hasOwnProperty.call(t,"metadata")||(t.metadata={});const i=t.metadata;i.events||(i.events={});const a=i.events;a[o]||(e.bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,a[o]=e)},V=o=>(e,t)=>{e.metadata.i18n||(e.metadata.i18n={}),Object.defineProperty(e,t,{get(){return e.i18nBundles[o]},set(){}}),e.metadata.i18n[t]={bundleName:o,target:e},e.metadata.languageAware=!0};var v5,bt,L4,Ud,Mb,N4,Dv,M4,A0,Rv,Pv,O4,Th={},F4=[],Uk=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,E0=Array.isArray;function Ns(o,e){for(var t in e)o[t]=e[t];return o}function D0(o){o&&o.parentNode&&o.parentNode.removeChild(o)}function jk(o,e,t){var i,a,r,n={};for(r in e)r=="key"?i=e[r]:r=="ref"?a=e[r]:n[r]=e[r];if(arguments.length>2&&(n.children=arguments.length>3?v5.call(arguments,2):t),typeof o=="function"&&o.defaultProps!=null)for(r in o.defaultProps)n[r]===void 0&&(n[r]=o.defaultProps[r]);return Lp(o,n,i,a,null)}function Lp(o,e,t,i,a){var r={type:o,props:e,key:t,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:a??++L4,__i:-1,__u:0};return a==null&&bt.vnode!=null&&bt.vnode(r),r}function g_(o){return o.children}function Np(o,e){this.props=o,this.context=e}function Au(o,e){if(e==null)return o.__?Au(o.__,o.__i+1):null;for(var t;e<o.__k.length;e++)if((t=o.__k[e])!=null&&t.__e!=null)return t.__e;return typeof o.type=="function"?Au(o):null}function z4(o){var e,t;if((o=o.__)!=null&&o.__c!=null){for(o.__e=o.__c.base=null,e=0;e<o.__k.length;e++)if((t=o.__k[e])!=null&&t.__e!=null){o.__e=o.__c.base=t.__e;break}return z4(o)}}function Lv(o){(!o.__d&&(o.__d=!0)&&Ud.push(o)&&!C1.__r++||Mb!==bt.debounceRendering)&&((Mb=bt.debounceRendering)||N4)(C1)}function C1(){var o,e,t,i,a,r,n,s;for(Ud.sort(Dv);o=Ud.shift();)o.__d&&(e=Ud.length,i=void 0,r=(a=(t=o).__v).__e,n=[],s=[],t.__P&&((i=Ns({},a)).__v=a.__v+1,bt.vnode&&bt.vnode(i),R0(t.__P,i,a,t.__n,t.__P.namespaceURI,32&a.__u?[r]:null,n,r??Au(a),!!(32&a.__u),s),i.__v=a.__v,i.__.__k[i.__i]=i,X4(n,i,s),i.__e!=r&&z4(i)),Ud.length>e&&Ud.sort(Dv));C1.__r=0}function $4(o,e,t,i,a,r,n,s,u,c,p){var _,f,b,k,$,H,X=i&&i.__k||F4,y=e.length;for(u=Vk(t,e,X,u),_=0;_<y;_++)(b=t.__k[_])!=null&&(f=b.__i===-1?Th:X[b.__i]||Th,b.__i=_,H=R0(o,b,f,a,r,n,s,u,c,p),k=b.__e,b.ref&&f.ref!=b.ref&&(f.ref&&P0(f.ref,null,b),p.push(b.ref,b.__c||k,b)),$==null&&k!=null&&($=k),4&b.__u||f.__k===b.__k?u=H4(b,u,o):typeof b.type=="function"&&H!==void 0?u=H:k&&(u=k.nextSibling),b.__u&=-7);return t.__e=$,u}function Vk(o,e,t,i){var a,r,n,s,u,c=e.length,p=t.length,_=p,f=0;for(o.__k=[],a=0;a<c;a++)(r=e[a])!=null&&typeof r!="boolean"&&typeof r!="function"?(s=a+f,(r=o.__k[a]=typeof r=="string"||typeof r=="number"||typeof r=="bigint"||r.constructor==String?Lp(null,r,null,null,null):E0(r)?Lp(g_,{children:r},null,null,null):r.constructor===void 0&&r.__b>0?Lp(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=o,r.__b=o.__b+1,n=null,(u=r.__i=Gk(r,t,s,_))!==-1&&(_--,(n=t[u])&&(n.__u|=2)),n==null||n.__v===null?(u==-1&&f--,typeof r.type!="function"&&(r.__u|=4)):u!==s&&(u==s-1?f--:u==s+1?f++:(u>s?f--:f++,r.__u|=4))):r=o.__k[a]=null;if(_)for(a=0;a<p;a++)(n=t[a])!=null&&!(2&n.__u)&&(n.__e==i&&(i=Au(n)),U4(n,n));return i}function H4(o,e,t){var i,a;if(typeof o.type=="function"){for(i=o.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=o,e=H4(i[a],e,t));return e}o.__e!=e&&(e&&o.type&&!t.contains(e)&&(e=Au(o)),t.insertBefore(o.__e,e||null),e=o.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Gk(o,e,t,i){var a=o.key,r=o.type,n=t-1,s=t+1,u=e[t];if(u===null||u&&a==u.key&&r===u.type&&!(2&u.__u))return t;if((typeof r!="function"||r===g_||a)&&i>(u!=null&&!(2&u.__u)?1:0))for(;n>=0||s<e.length;){if(n>=0){if((u=e[n])&&!(2&u.__u)&&a==u.key&&r===u.type)return n;n--}if(s<e.length){if((u=e[s])&&!(2&u.__u)&&a==u.key&&r===u.type)return s;s++}}return-1}function Ob(o,e,t){e[0]==="-"?o.setProperty(e,t??""):o[e]=t==null?"":typeof t!="number"||Uk.test(e)?t:t+"px"}function ap(o,e,t,i,a){var r,n;e:if(e==="style")if(typeof t=="string")o.style.cssText=t;else{if(typeof i=="string"&&(o.style.cssText=i=""),i)for(e in i)t&&e in t||Ob(o.style,e,"");if(t)for(e in t)i&&t[e]===i[e]||Ob(o.style,e,t[e])}else if(e[0]==="o"&&e[1]==="n")r=e!==(e=e.replace(M4,"$1")),e=e.toLowerCase()in o||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),o.l||(o.l={}),o.l[e+r]=t,t?i?t.t=i.t:(t.t=A0,o.addEventListener(e,r?Pv:Rv,r)):o.removeEventListener(e,r?Pv:Rv,r);else{if(a=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in o)try{n=o.tagName&&o.tagName.includes("-"),o[e]=t!=null||n?t:"";break e}catch{}typeof t=="function"||(t==null||t===!1&&e[4]!=="-"?o.removeAttribute(e):o.setAttribute(e,e=="popover"&&t==1?"":t))}}function Fb(o){return function(e){if(this.l){var t=this.l[e.type+o];if(e.u==null)e.u=A0++;else if(e.u<t.t)return;return t(bt.event?bt.event(e):e)}}}function R0(o,e,t,i,a,r,n,s,u,c){var p,_,f,b,k,$,H,X,y,C,h,G,Z,re,Y,W,L,N=e.type;if(e.constructor!==void 0)return null;128&t.__u&&(u=!!(32&t.__u),r=[s=e.__e=t.__e]),(p=bt.__b)&&p(e);e:if(typeof N=="function")try{if(X=e.props,y="prototype"in N&&N.prototype.render,C=(p=N.contextType)&&i[p.__c],h=p?C?C.props.value:p.__:i,t.__c?H=(_=e.__c=t.__c).__=_.__E:(y?e.__c=_=new N(X,h):(e.__c=_=new Np(X,h),_.constructor=N,_.render=qk),C&&C.sub(_),_.props=X,_.state||(_.state={}),_.context=h,_.__n=i,f=_.__d=!0,_.__h=[],_._sb=[]),y&&_.__s==null&&(_.__s=_.state),y&&N.getDerivedStateFromProps!=null&&(_.__s==_.state&&(_.__s=Ns({},_.__s)),Ns(_.__s,N.getDerivedStateFromProps(X,_.__s))),b=_.props,k=_.state,_.__v=e,f)y&&N.getDerivedStateFromProps==null&&_.componentWillMount!=null&&_.componentWillMount(),y&&_.componentDidMount!=null&&_.__h.push(_.componentDidMount);else{if(y&&N.getDerivedStateFromProps==null&&X!==b&&_.componentWillReceiveProps!=null&&_.componentWillReceiveProps(X,h),!_.__e&&(_.shouldComponentUpdate!=null&&_.shouldComponentUpdate(X,_.__s,h)===!1||e.__v===t.__v)){for(e.__v!==t.__v&&(_.props=X,_.state=_.__s,_.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.some(function(w){w&&(w.__=e)}),G=0;G<_._sb.length;G++)_.__h.push(_._sb[G]);_._sb=[],_.__h.length&&n.push(_);break e}_.componentWillUpdate!=null&&_.componentWillUpdate(X,_.__s,h),y&&_.componentDidUpdate!=null&&_.__h.push(function(){_.componentDidUpdate(b,k,$)})}if(_.context=h,_.props=X,_.__P=o,_.__e=!1,Z=bt.__r,re=0,y){for(_.state=_.__s,_.__d=!1,Z&&Z(e),p=_.render(_.props,_.state,_.context),Y=0;Y<_._sb.length;Y++)_.__h.push(_._sb[Y]);_._sb=[]}else do _.__d=!1,Z&&Z(e),p=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++re<25);_.state=_.__s,_.getChildContext!=null&&(i=Ns(Ns({},i),_.getChildContext())),y&&!f&&_.getSnapshotBeforeUpdate!=null&&($=_.getSnapshotBeforeUpdate(b,k)),s=$4(o,E0(W=p!=null&&p.type===g_&&p.key==null?p.props.children:p)?W:[W],e,t,i,a,r,n,s,u,c),_.base=e.__e,e.__u&=-161,_.__h.length&&n.push(_),H&&(_.__E=_.__=null)}catch(w){if(e.__v=null,u||r!=null)if(w.then){for(e.__u|=u?160:128;s&&s.nodeType===8&&s.nextSibling;)s=s.nextSibling;r[r.indexOf(s)]=null,e.__e=s}else for(L=r.length;L--;)D0(r[L]);else e.__e=t.__e,e.__k=t.__k;bt.__e(w,e,t)}else r==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):s=e.__e=Wk(t.__e,e,t,i,a,r,n,u,c);return(p=bt.diffed)&&p(e),128&e.__u?void 0:s}function X4(o,e,t){for(var i=0;i<t.length;i++)P0(t[i],t[++i],t[++i]);bt.__c&&bt.__c(e,o),o.some(function(a){try{o=a.__h,a.__h=[],o.some(function(r){r.call(a)})}catch(r){bt.__e(r,a.__v)}})}function Wk(o,e,t,i,a,r,n,s,u){var c,p,_,f,b,k,$,H,X=t.props,y=e.props,C=e.type;if(C==="svg"?a="http://www.w3.org/2000/svg":C==="math"?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),r!=null){for(c=0;c<r.length;c++)if((b=r[c])&&"setAttribute"in b==!!C&&(C?b.localName===C:b.nodeType===3)){o=b,r[c]=null;break}}if(o==null){if(C===null)return document.createTextNode(y);o=document.createElementNS(a,C,y.is&&y),s&&(bt.__m&&bt.__m(e,r),s=!1),r=null}if(C===null)X===y||s&&o.data===y||(o.data=y);else{if(r=r&&v5.call(o.childNodes),X=t.props||Th,!s&&r!=null)for(X={},c=0;c<o.attributes.length;c++)X[(b=o.attributes[c]).name]=b.value;for(c in X)if(b=X[c],c!="children"){if(c=="dangerouslySetInnerHTML")_=b;else if(!(c in y)){if(c=="value"&&"defaultValue"in y||c=="checked"&&"defaultChecked"in y)continue;ap(o,c,null,b,a)}}for(c in y)b=y[c],c=="children"?f=b:c=="dangerouslySetInnerHTML"?p=b:c=="value"?k=b:c=="checked"?$=b:s&&typeof b!="function"||X[c]===b||((c.startsWith("on")||c==="ref"&&typeof b=="function")&&(H=i[Object.keys(i)[0]])&&(b=b.bind(H.props.value)),ap(o,c,b,X[c],a));if(p)s||_&&(p.__html===_.__html||p.__html===o.innerHTML)||(o.innerHTML=p.__html),e.__k=[];else if(_&&(o.innerHTML=""),$4(o,E0(f)?f:[f],e,t,i,C==="foreignObject"?"http://www.w3.org/1999/xhtml":a,r,n,r?r[0]:t.__k&&Au(t,0),s,u),r!=null)for(c=r.length;c--;)D0(r[c]);s||(c="value",C==="progress"&&k==null?o.removeAttribute("value"):k!==void 0&&(k!==o[c]||C==="progress"&&!k||C==="option"&&k!==X[c])&&ap(o,c,k,X[c],a),c="checked",$!==void 0&&$!==o[c]&&ap(o,c,$,X[c],a))}return o}function P0(o,e,t){try{if(typeof o=="function"){var i=typeof o.__u=="function";i&&o.__u(),i&&e==null||(o.__u=o(e))}else o.current=e}catch(a){bt.__e(a,t)}}function U4(o,e,t){var i,a;if(bt.unmount&&bt.unmount(o),(i=o.ref)&&(i.current&&i.current!==o.__e||P0(i,null,e)),(i=o.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(r){bt.__e(r,e)}i.base=i.__P=null}if(i=o.__k)for(a=0;a<i.length;a++)i[a]&&U4(i[a],e,t||typeof o.type!="function");t||D0(o.__e),o.__c=o.__=o.__e=void 0}function qk(o,e,t){return this.constructor(o,t)}function j4(o,e,t){var i,a,r,n;e===document&&(e=document.documentElement),bt.__&&bt.__(o,e),a=(i=typeof t=="function")?null:t&&t.__k||e.__k,r=[],n=[],R0(e,o=(!i&&t||e).__k=jk(g_,null,[o]),a||Th,Th,e.namespaceURI,!i&&t?[t]:a?null:e.firstChild?v5.call(e.childNodes):null,r,!i&&t?t:a?a.__e:e.firstChild,i,n),X4(r,o,n)}function V4(o,e){j4(o,e,V4)}function Yk(o,e){var t={__c:e="__cC"+O4++,__:o,Consumer:function(i,a){return i.children(a)},Provider:function(i){var a,r;return this.getChildContext||(a=new Set,(r={})[e]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){a=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&a.forEach(function(s){s.__e=!0,Lv(s)})},this.sub=function(n){a.add(n);var s=n.componentWillUnmount;n.componentWillUnmount=function(){a&&a.delete(n),s&&s.call(n)}}),i.children}};return t.Provider.__=t.Consumer.contextType=t}v5=F4.slice,bt={__e:function(o,e,t,i){for(var a,r,n;e=e.__;)if((a=e.__c)&&!a.__)try{if((r=a.constructor)&&r.getDerivedStateFromError!=null&&(a.setState(r.getDerivedStateFromError(o)),n=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(o,i||{}),n=a.__d),n)return a.__E=a}catch(s){o=s}throw o}},L4=0,Np.prototype.setState=function(o,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ns({},this.state),typeof o=="function"&&(o=o(Ns({},t),this.props)),o&&Ns(t,o),o!=null&&this.__v&&(e&&this._sb.push(e),Lv(this))},Np.prototype.forceUpdate=function(o){this.__v&&(this.__e=!0,o&&this.__h.push(o),Lv(this))},Np.prototype.render=g_,Ud=[],N4=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Dv=function(o,e){return o.__v.__b-e.__v.__b},C1.__r=0,M4=/(PointerCapture)$|Capture$/i,A0=0,Rv=Fb(!1),Pv=Fb(!0),O4=0;var Kk=0;function Zk(o,e,t,i,a,r){e||(e={});var n,s,u=e;"ref"in e&&(n=e.ref,delete e.ref);var c={type:o,props:u,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Kk,__i:-1,__u:0,__source:a,__self:r};if(typeof o=="function"&&(n=o.defaultProps))for(s in n)u[s]===void 0&&(u[s]=n[s]);return bt.vnode&&bt.vnode(c),c}const zb=new WeakMap,A=(o,e)=>{var r;let t=zb.get(o);t||(t=Yk(o),zb.set(o,t));const i=o.render(),a=Zk(t.Provider,{value:o,children:i});o.__shouldHydrate?((r=o.shadowRoot)==null||r.querySelectorAll("style").forEach(n=>n.remove()),V4(a,e),o.__shouldHydrate=!1):j4(a,e)},Jk="feeder-arrow",Qk="M9.25 8.373c.23-.249.23-.487 0-.715L4.344 2.71a.982.982 0 0 1-.313-.715c0-.27.104-.498.313-.685A.892.892 0 0 1 5.03 1c.271 0 .51.104.719.311l5.969 6.005c.187.186.281.42.281.7a.95.95 0 0 1-.281.7l-6 5.973A.99.99 0 0 1 5 15a.99.99 0 0 1-.719-.311.948.948 0 0 1-.281-.7.95.95 0 0 1 .281-.7L9.25 8.373Z",eT=!1,tT="0 0 16 16",oT="SAP-icons-v4",iT="@ui5/webcomponents-icons";U(Jk,{pathData:Qk,ltr:eT,viewBox:tT,collection:oT,packageName:iT});const rT="feeder-arrow",aT="M5.2 4.24a.75.75 0 0 1 1.06-.04l3.5 3.249a.75.75 0 0 1 0 1.098L6.26 11.8a.751.751 0 0 1-1.021-1.1l2.908-2.703L5.24 5.3a.75.75 0 0 1-.04-1.06Z",nT=!1,sT="0 0 16 16",dT="SAP-icons-v5",lT="@ui5/webcomponents-icons";U(rT,{pathData:aT,ltr:nT,viewBox:sT,collection:dT,packageName:lT});const ue={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,NUMPAD_PLUS:107,NUMPAD_MINUS:109,F4:115,F7:118,F8:119,PLUS:187,MINUS:219},ie=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&!go(o),G4=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&Pe(o,!0,!1,!1),W4=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&Pe(o,!1,!0,!1),Eu=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&Pe(o,!1,!1,!0),uT=o=>Pe(o,!0,!1,!1),K=o=>(o.key?o.key==="Spacebar"||o.key===" ":o.keyCode===ue.SPACE)&&!go(o),ya=o=>(o.key?o.key==="Spacebar"||o.key===" ":o.keyCode===ue.SPACE)&&Pe(o,!1,!1,!0),q4=o=>(o.key?o.key==="Spacebar"||o.key===" ":o.keyCode===ue.SPACE)&&Pe(o,!0,!1,!1),we=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&!go(o),Se=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&!go(o),Ne=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&!go(o),Be=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&!go(o),Mp=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&Pe(o,!0,!1,!1),sh=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&Pe(o,!0,!1,!1),_u=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!0,!1,!1),Ih=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!0,!1,!1),Du=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!1,!1,!0),dl=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!1,!1,!0),Y4=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!1,!0,!1),K4=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!1,!0,!1),Bh=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&Pe(o,!1,!1,!0),Ru=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&Pe(o,!1,!1,!0),cT=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&Pe(o,!0,!1,!0),$b=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&Pe(o,!0,!1,!0),hT=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!0,!1,!0),_T=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!0,!1,!0),lt=o=>(o.key?o.key==="Home":o.keyCode===ue.HOME)&&!go(o),Ot=o=>(o.key?o.key==="End":o.keyCode===ue.END)&&!go(o),v_=o=>(o.key?o.key==="Home":o.keyCode===ue.HOME)&&Pe(o,!0,!1,!1),pT=o=>(o.key?o.key==="Home":o.keyCode===ue.HOME)&&Pe(o,!1,!1,!0),Pu=o=>(o.key?o.key==="End":o.keyCode===ue.END)&&Pe(o,!0,!1,!1),gT=o=>(o.key?o.key==="End":o.keyCode===ue.END)&&Pe(o,!1,!1,!0),De=o=>(o.key?o.key==="Escape"||o.key==="Esc":o.keyCode===ue.ESCAPE)&&!go(o),Qe=o=>(o.key?o.key==="Tab":o.keyCode===ue.TAB)&&!go(o),pt=o=>(o.key?o.key==="Tab":o.keyCode===ue.TAB)&&Pe(o,!1,!1,!0),dh=o=>(o.key?o.key==="Backspace":o.keyCode===ue.BACKSPACE)&&!go(o),Hs=o=>(o.key?o.key==="Delete":o.keyCode===ue.DELETE)&&!go(o),Hb=o=>(o.key?o.key==="Delete":o.keyCode===ue.DELETE)&&Pe(o,!1,!1,!0),vT=o=>(o.key?o.key==="Insert":o.keyCode===ue.DELETE)&&Pe(o,!0,!1,!1),fa=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&!go(o),Zn=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&!go(o),L0=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&Pe(o,!1,!1,!0),mT=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&Pe(o,!1,!0,!1),N0=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&Pe(o,!1,!1,!0),fT=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&Pe(o,!1,!0,!1),bT=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&Pe(o,!0,!1,!0),xT=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&Pe(o,!0,!1,!0),xu=o=>(o.key?o.key==="+":o.keyCode===ue.PLUS)||o.keyCode===ue.NUMPAD_PLUS&&!go(o),m5=o=>(o.key?o.key==="-":o.keyCode===ue.MINUS)||o.keyCode===ue.NUMPAD_MINUS&&!go(o),yT=o=>o.key?f5(o)||ST(o):o.keyCode===ue.F4&&!go(o)||o.keyCode===ue.ARROW_DOWN&&Pe(o,!1,!0,!1),ll=o=>o.key==="F2"&&!go(o),f5=o=>o.key==="F4"&&!go(o),CT=o=>(o.key?o.key==="F4":o.keyCode===ue.F4)&&Pe(o,!1,!1,!0),w1=o=>(o.key?o.key==="F7":o.keyCode===ue.F7)&&!go(o),wT=o=>(o.key?o.key==="F8":o.keyCode===ue.F8)&&Pe(o,!0,!0,!1),ST=o=>(o.key==="ArrowDown"||o.key==="Down"||o.key==="ArrowUp"||o.key==="Up")&&Pe(o,!1,!0,!1),on=o=>o.key==="Shift"||o.keyCode===ue.SHIFT,go=o=>o.shiftKey||o.altKey||Z4(o),Z4=o=>!!(o.metaKey||o.ctrlKey),Pe=(o,e,t,i)=>o.shiftKey===i&&o.altKey===t&&Z4(o)===e;var Ah;function kT(o){return o.children}Ah={__e:function(o,e,t,i){for(var a,r,n;e=e.__;)if((a=e.__c)&&!a.__)try{if((r=a.constructor)&&r.getDerivedStateFromError!=null&&(a.setState(r.getDerivedStateFromError(o)),n=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(o,i||{}),n=a.__d),n)return a.__E=a}catch(s){o=s}throw o}},typeof Promise=="function"&&Promise.prototype.then.bind(Promise.resolve());var TT=0;function J4(o,e,t,i,a,r){e||(e={});var n,s,u=e;"ref"in e&&(n=e.ref,delete e.ref);var c={type:o,props:u,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--TT,__i:-1,__u:0,__source:a,__self:r};if(typeof o=="function"&&(n=o.defaultProps))for(s in n)u[s]===void 0&&(u[s]=n[s]);return Ah.vnode&&Ah.vnode(c),c}function IT(o){let e="";for(const t in o)o[t]&&(e&&(e+=" "),e+=t);return e}const kg=new Map,Tg=new Map,Xb=new Map,jd=o=>{if(!kg.has(o)){const e=AT(o.split("-"));kg.set(o,e)}return kg.get(o)},M0=o=>{if(!Tg.has(o)){const e=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Tg.set(o,e)}return Tg.get(o)},BT=o=>M0(o),AT=o=>o.map((e,t)=>t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),Ub=o=>{const e=Xb.get(o);if(e)return e;const t=jd(o),i=t.charAt(0).toUpperCase()+t.slice(1);return Xb.set(o,i),i};function ET(o,e,t){const i=o.getMetadata().getEvents();Object.keys(e).forEach(a=>{if(a.startsWith("on")){const r=a.slice(2),n=BT(r),s=r.charAt(0).toLowerCase()+r.slice(1);let u;n in i?u=n:s in i&&(u=s),u&&a!=="onClick"&&(e[`onui5-${u}`]=e[a],delete e[a])}})}function DT(o){return typeof o=="function"&&"getMetadata"in o}function Q4(o,e,t){let i;return DT(o)?(i=o.getMetadata().getTag(),ET(o,e)):i=o,typeof e.class=="object"&&(e.class=IT(e.class)),i}const jb=Ah.vnode;Ah.vnode=o=>{const e=o.props;e!==null&&typeof e=="object"&&e.class&&e.class,jb&&jb(o)};function P(o,e){return kT(o)}function l(o,e,t){const i=Q4(o,e);return J4(i,e,t)}function g(o,e,t){const i=Q4(o,e);return J4(i,e,t)}const S1=new WeakMap,Eh=new WeakMap,RT={attributes:!0,childList:!0,characterData:!0,subtree:!0},Lo=o=>{const e=o;return e.accessibleNameRef?dd(o):e.accessibleName?e.accessibleName:void 0},dd=o=>{var i;const e=((i=o.accessibleNameRef)==null?void 0:i.split(" "))??[];let t="";return e.forEach((a,r)=>{const n=O0(o,a),s=`${n&&n.textContent?n.textContent:""}`;s&&(t+=s,r<e.length-1&&(t+=" "))}),t},e3=o=>{const e=new Set;t3(o).forEach(r=>{e.add(r)});const t=o.accessibleNameRef,i=o.accessibleDescriptionRef,a=[t,i].filter(Boolean).join(" ");return(a?a.split(" "):[]).forEach(r=>{const n=O0(o,r);n&&e.add(n)}),Array.from(e)},t3=o=>{const e=o.getRootNode().querySelectorAll(`[for="${o.id}"]`);return Array.from(e)},O0=(o,e)=>o.getRootNode().querySelector(`[id='${e}']`)||document.getElementById(e),ld=o=>{const e=[];if(t3(o).forEach(t=>{const i=t.textContent;i&&e.push(i)}),e.length)return e.join(" ")},PT=o=>e=>{const t=e&&e.type==="property"&&e.name==="accessibleNameRef",i=e&&e.type==="property"&&e.name==="accessibleDescriptionRef";if(!t&&!i)return;const a=Eh.get(o);if(!a)return;const r=a.observedElements,n=e3(o);r.forEach(s=>{n.includes(s)||F0(a,s)}),n.forEach(s=>{r.includes(s)||(o3(a,s),a.observedElements.push(s))}),a==null||a.callback()},b5=(o,e)=>{if(Eh.has(o))return;const t=e3(o),i=PT(o),a={host:o,observedElements:t,callback:e,invalidationCallback:i};Eh.set(o,a),o.attachInvalidate(i),t.forEach(r=>{o3(a,r)}),e()},o3=(o,e)=>{let t=S1.get(e);if(!t){t={observer:null,callbacks:[]};const i=new MutationObserver(()=>{t.callbacks.forEach(r=>{r()});const a=document.getElementById(e.id);o.host.id===e.getAttribute("for")||a||F0(o,e)});t.observer=i,i.observe(e,RT),S1.set(e,t)}t.callbacks.includes(o.callback)||t.callbacks.push(o.callback)},F0=(o,e)=>{var i;const t=S1.get(e);t&&(t.callbacks=t.callbacks.filter(a=>a!==o.callback),t.callbacks.length||((i=t.observer)==null||i.disconnect(),S1.delete(e))),o.observedElements=o.observedElements.filter(a=>a!==e)},x5=o=>{const e=Eh.get(o);e&&([...e.observedElements].forEach(t=>{F0(e,t)}),o.detachInvalidate(e.invalidationCallback),Eh.delete(o))},tc=o=>{const e=o;return e.accessibleDescriptionRef?m_(o):e.accessibleDescription?e.accessibleDescription:void 0},m_=o=>{var i;const e=((i=o.accessibleDescriptionRef)==null?void 0:i.split(" "))??[];let t="";return e.forEach((a,r)=>{const n=O0(o,a),s=`${n&&n.textContent?n.textContent:""}`;s&&(t+=s,r<e.length-1&&(t+=" "))}),t},y5=o=>Array.from(o).filter(e=>e.nodeType!==Node.COMMENT_NODE&&(e.nodeType!==Node.TEXT_NODE||(e.nodeValue||"").trim().length!==0)).length>0;function ul(o){return o.toLowerCase()}var Nv;(function(o){o.Default="Default",o.Positive="Positive",o.Negative="Negative",o.Transparent="Transparent",o.Emphasized="Emphasized",o.Attention="Attention"})(Nv||(Nv={}));const k1=Nv;var Mv;(function(o){o.Button="Button",o.Submit="Submit",o.Reset="Reset"})(Mv||(Mv={}));const Ov=Mv;var Fv;(function(o){o.InlineText="InlineText",o.OverlayText="OverlayText",o.AttentionDot="AttentionDot"})(Fv||(Fv={}));const Ig=Fv;var zv;(function(o){o.Button="Button",o.Link="Link"})(zv||(zv={}));const Vb=zv;function LT(){return this.hasFontIcon?l("span",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,role:this.effectiveAccessibleRole,"aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,children:l("slot",{name:"fontIcon"})}):g("svg",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,dir:this._dir,viewBox:this.viewBox,role:this.effectiveAccessibleRole,focusable:"false",preserveAspectRatio:"xMidYMid meet","aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,xmlns:"http://www.w3.org/2000/svg",onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,children:[this.hasIconTooltip&&g("title",{id:`${this._id}-tooltip`,children:[" ",this.effectiveAccessibleName," "]}),l("g",{role:"presentation",children:NT.call(this)})]})}function NT(){return this.customTemplate?this.customTemplate:this.customTemplateAsString?l("g",{dangerouslySetInnerHTML:{__html:this.customTemplateAsString}}):this.pathData.map(o=>l("path",{d:o}))}var $v;(function(o){o.Image="Image",o.Decorative="Decorative",o.Interactive="Interactive"})($v||($v={}));const Fe=$v,MT={key:"ACC_STATE_REQUIRED",defaultText:"Required"},OT={key:"ACC_STATE_DISABLED",defaultText:"Disabled"},i3={key:"ACC_STATE_READONLY",defaultText:"Read Only"},Gb={key:"ACC_STATE_EMPTY",defaultText:"Empty"},FT={key:"ACC_STATE_SINGLE_CONTROL",defaultText:"Includes element"},zT={key:"ACC_STATE_MULTIPLE_CONTROLS",defaultText:"Includes elements"},$T={key:"AVATAR_TOOLTIP",defaultText:"Avatar"},HT={key:"AVATAR_TYPE_BUTTON",defaultText:"Button"},XT={key:"AVATAR_TYPE_IMAGE",defaultText:"Image"},UT={key:"AVATAR_GROUP_DISPLAYED_HIDDEN_LABEL",defaultText:"{0} displayed, {1} hidden."},Wb={key:"AVATAR_GROUP_SHOW_COMPLETE_LIST_LABEL",defaultText:"Activate for complete list."},jT={key:"AVATAR_GROUP_ARIA_LABEL_INDIVIDUAL",defaultText:"Individual avatars."},VT={key:"AVATAR_GROUP_ARIA_LABEL_GROUP",defaultText:"Conjoined avatars."},GT={key:"AVATAR_GROUP_MOVE",defaultText:"Press ARROW keys to move."},WT={key:"TAG_DESCRIPTION_TAG",defaultText:"Tag"},qT={key:"TAG_ROLE_DESCRIPTION",defaultText:"Tag button"},KT={key:"TAG_ERROR",defaultText:"Error"},ZT={key:"TAG_WARNING",defaultText:"Warning"},JT={key:"TAG_SUCCESS",defaultText:"Success"},QT={key:"TAG_INFORMATION",defaultText:"Information"},eI={key:"BUSY_INDICATOR_TITLE",defaultText:"Please wait"},tI={key:"BUTTON_ARIA_TYPE_ACCEPT",defaultText:"Positive Action"},oI={key:"BUTTON_ARIA_TYPE_REJECT",defaultText:"Negative Action"},iI={key:"BUTTON_ARIA_TYPE_EMPHASIZED",defaultText:"Default Action"},rI={key:"BUTTON_ARIA_TYPE_ATTENTION",defaultText:"Warning"},aI={key:"BUTTON_BADGE_ONE_ITEM",defaultText:"{0} item"},nI={key:"BUTTON_BADGE_MANY_ITEMS",defaultText:"{0} items"},sI={key:"BUTTON_ROLE_DESCRIPTION",defaultText:"Button"},dI={key:"LINK_ROLE_DESCRIPTION",defaultText:"Link"},lI={key:"CAROUSEL_OF_TEXT",defaultText:"of"},uI={key:"CAROUSEL_DOT_TEXT",defaultText:"Page {0} of {1}"},cI={key:"CAROUSEL_PREVIOUS_ARROW_TEXT",defaultText:"Previous Page"},hI={key:"CAROUSEL_NEXT_ARROW_TEXT",defaultText:"Next Page"},_I={key:"CAROUSEL_ARIA_ROLE_DESCRIPTION",defaultText:"Carousel"},pI={key:"CAROUSEL_ARIA_LIST_LABEL",defaultText:"Item Container"},gI={key:"DELETE",defaultText:"Delete"},lse={key:"EMPTY_INDICATOR_SYMBOL",defaultText:"–"},use={key:"EMPTY_INDICATOR_ACCESSIBLE_TEXT",defaultText:"Empty Value"},cse={key:"EXPANDABLE_TEXT_SHOW_MORE",defaultText:"Show More"},hse={key:"EXPANDABLE_TEXT_SHOW_LESS",defaultText:"Show Less"},_se={key:"EXPANDABLE_TEXT_CLOSE",defaultText:"Close"},pse={key:"EXPANDABLE_TEXT_SHOW_MORE_POPOVER_ARIA_LABEL",defaultText:"Show the full text"},gse={key:"EXPANDABLE_TEXT_SHOW_LESS_POPOVER_ARIA_LABEL",defaultText:"Close the popover"},vI={key:"FILEUPLOADER_ROLE_DESCRIPTION",defaultText:"File Uploader"},mI={key:"FILEUPLOADER_DEFAULT_PLACEHOLDER",defaultText:"Browse or drop a file"},fI={key:"FILEUPLOADER_DEFAULT_MULTIPLE_PLACEHOLDER",defaultText:"Browse or drop multiple files"},bI={key:"FILEUPLOADER_INPUT_TOOLTIP",defaultText:"All files will be replaced on each upload"},xI={key:"FILEUPLOADER_VALUE_HELP_TOOLTIP",defaultText:"Browse and replace all files"},yI={key:"FILEUPLOADER_CLEAR_ICON_TOOLTIP",defaultText:"Remove all files"},CI={key:"FILEUPLOAER_VALUE_MISSING",defaultText:"Select or drag and drop a file to upload."},wI={key:"GROUP_HEADER_TEXT",defaultText:"Group Header"},SI={key:"INPUT_SUGGESTIONS",defaultText:"Suggestions Available"},r3={key:"INPUT_SUGGESTIONS_TITLE",defaultText:"All Items"},kI={key:"INPUT_SUGGESTIONS_ONE_HIT",defaultText:"1 result available"},TI={key:"INPUT_SUGGESTIONS_MORE_HITS",defaultText:"{0} results are available"},II={key:"INPUT_SUGGESTIONS_NO_HIT",defaultText:"No results"},BI={key:"INPUT_SUGGESTIONS_EXPANDED",defaultText:"Expanded"},qb={key:"INPUT_SUGGESTIONS_COLLAPSED",defaultText:"Collapsed"},AI={key:"INPUT_CLEAR_ICON_ACC_NAME",defaultText:"Clear"},EI={key:"INPUT_SUGGESTIONS_OK_BUTTON",defaultText:"OK"},DI={key:"INPUT_SUGGESTIONS_CANCEL_BUTTON",defaultText:"Cancel"},RI={key:"LINK_SUBTLE",defaultText:"Subtle"},PI={key:"LINK_EMPHASIZED",defaultText:"Emphasized"},LI={key:"LIST_ROLE_DESCRIPTION",defaultText:"List with interactive items. To move to the content, press F2."},NI={key:"LIST_ITEM_ACTIVE",defaultText:"Is Active"},vse={key:"LIST_ITEM_POSITION",defaultText:"List item {0} of {1}"},Dh={key:"LIST_ITEM_SELECTED",defaultText:"Selected"},a3={key:"LIST_ITEM_NOT_SELECTED",defaultText:"Not Selected"},mse={key:"LIST_ITEM_GROUP_HEADER",defaultText:"Group Header"},MI={key:"LIST_ROLE_LIST_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups with {1} items"},OI={key:"LIST_ROLE_LISTBOX_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups"},FI={key:"ARIA_LABEL_LIST_ITEM_CHECKBOX",defaultText:"Multiple Selection Mode"},zI={key:"ARIA_LABEL_LIST_ITEM_RADIO_BUTTON",defaultText:"Item Selection."},$I={key:"ARIA_LABEL_LIST_SELECTABLE",defaultText:"Contains Selectable Items"},HI={key:"ARIA_LABEL_LIST_MULTISELECTABLE",defaultText:"Contains Multi-Selectable Items"},XI={key:"ARIA_LABEL_LIST_DELETABLE",defaultText:"Contains Deletable Items"},UI={key:"MESSAGE_STRIP_CLOSE_BUTTON_INFORMATION",defaultText:"Close information message strip"},jI={key:"MESSAGE_STRIP_CLOSE_BUTTON_POSITIVE",defaultText:"Close positive message strip"},VI={key:"MESSAGE_STRIP_CLOSE_BUTTON_NEGATIVE",defaultText:"Close negative message strip"},GI={key:"MESSAGE_STRIP_CLOSE_BUTTON_CRITICAL",defaultText:"Close critical message strip"},Yb={key:"MESSAGE_STRIP_CLOSE_BUTTON_CUSTOM",defaultText:"Close custom message strip"},WI={key:"MESSAGE_STRIP_CLOSABLE",defaultText:"Closable"},qI={key:"MESSAGE_STRIP_ERROR",defaultText:"Error Message Strip"},YI={key:"MESSAGE_STRIP_WARNING",defaultText:"Warning Message Strip"},KI={key:"MESSAGE_STRIP_SUCCESS",defaultText:"Success Message Strip"},ZI={key:"MESSAGE_STRIP_INFORMATION",defaultText:"Information Message Strip"},Kb={key:"MESSAGE_STRIP_CUSTOM",defaultText:"Custom Message Strip"},JI={key:"INPUT_AVALIABLE_VALUES",defaultText:"Available Values"},QI={key:"MULTIINPUT_SHOW_MORE_TOKENS",defaultText:"{0} more"},eB={key:"RANGE_SLIDER_ARIA_DESCRIPTION",defaultText:"Range"},Zb={key:"RANGE_SLIDER_START_HANDLE_DESCRIPTION",defaultText:"Minimum"},Jb={key:"RANGE_SLIDER_END_HANDLE_DESCRIPTION",defaultText:"Maximum"},tB={key:"RATING_INDICATOR_TOOLTIP_TEXT",defaultText:"Rating"},oB={key:"RATING_INDICATOR_TEXT",defaultText:"Rating Indicator"},iB={key:"RATING_INDICATOR_ARIA_DESCRIPTION",defaultText:"Required"},rB={key:"RESPONSIVE_POPOVER_CLOSE_DIALOG_BUTTON",defaultText:"Decline"},aB={key:"SEGMENTEDBUTTON_ARIA_DESCRIBEDBY",defaultText:"Press SPACE or ENTER to select an item"},nB={key:"SLIDER_ARIA_DESCRIPTION",defaultText:"Slider handle"},sB={key:"LOAD_MORE_TEXT",defaultText:"More"},dB={key:"TOKEN_ARIA_DELETABLE",defaultText:"Deletable"},lB={key:"TOKEN_ARIA_DELETE",defaultText:"Delete"},uB={key:"TOKEN_ARIA_LABEL",defaultText:"Token"},cB={key:"LISTITEMCUSTOM_TYPE_TEXT",defaultText:"List Item"},hB={key:"TOKENIZER_ARIA_CONTAIN_TOKEN",defaultText:"No Tokens"},_B={key:"TOKENIZER_ARIA_CONTAIN_ONE_TOKEN",defaultText:"Contains 1 token"},pB={key:"TOKENIZER_ARIA_CONTAIN_SEVERAL_TOKENS",defaultText:"Contains {0} tokens"},Qb={key:"TOKENIZER_ARIA_LABEL",defaultText:"Tokenizer"},gB={key:"TOKENIZER_SHOW_ALL_ITEMS",defaultText:"{0} Items"},vB={key:"TOKENIZER_CLEAR_ALL",defaultText:"Clear All"},mB={key:"TOKENIZER_DIALOG_CANCEL_BUTTON",defaultText:"Cancel"},fB={key:"TOKENIZER_DIALOG_OK_BUTTON",defaultText:"OK"},bB={key:"TOKENIZER_TOKEN_DELETED_SINGULAR",defaultText:"1 token deleted"},xB={key:"TOKENIZER_TOKEN_DELETED_PLURAL",defaultText:"{0} tokens deleted"},n3={key:"VALUE_STATE_TYPE_ERROR",defaultText:"Value State Error"},s3={key:"VALUE_STATE_TYPE_WARNING",defaultText:"Value State Warning"},d3={key:"VALUE_STATE_TYPE_SUCCESS",defaultText:"Value State Success"},l3={key:"VALUE_STATE_TYPE_INFORMATION",defaultText:"Value State Information"},f_={key:"VALUE_STATE_ERROR",defaultText:"Invalid entry"},b_={key:"VALUE_STATE_WARNING",defaultText:"Warning issued"},C5={key:"VALUE_STATE_INFORMATION",defaultText:"Informative entry"},x_={key:"VALUE_STATE_SUCCESS",defaultText:"Entry successfully validated"},yB={key:"VALUE_STATE_LINK",defaultText:"To move the focus to the link, press Ctrl+Alt+F8"},CB={key:"VALUE_STATE_LINK_MAC",defaultText:"To move the focus to the link, press Cmd+Option+F8"},wB={key:"VALUE_STATE_LINKS",defaultText:"To go to the first link, press Ctrl+Alt+F8. To move to the next link, use Tab"},SB={key:"VALUE_STATE_LINKS_MAC",defaultText:"To go to the first link, press Cmd+Option+F8. To move to the next link, use Tab"},kB={key:"CALENDAR_HEADER_MONTH_BUTTON",defaultText:"Month {0}"},TB={key:"CALENDAR_HEADER_YEAR_BUTTON",defaultText:"Year {0}"},IB={key:"CALENDAR_HEADER_YEAR_RANGE_BUTTON",defaultText:"Year range from {0} to {1}"},BB={key:"CALENDAR_HEADER_MONTH_BUTTON_SHORTCUT",defaultText:"F4"},AB={key:"CALENDAR_HEADER_YEAR_BUTTON_SHORTCUT",defaultText:"Shift + F4"},EB={key:"CALENDAR_HEADER_YEAR_RANGE_BUTTON_SHORTCUT",defaultText:"Shift + F4"},DB={key:"CALENDAR_HEADER_MONTH_NEXT_BUTTON_TITLE",defaultText:"Next Month"},RB={key:"CALENDAR_HEADER_YEAR_NEXT_BUTTON_TITLE",defaultText:"Next Year"},PB={key:"CALENDAR_HEADER_YEAR_RANGE_NEXT_BUTTON_TITLE",defaultText:"Next Year Range"},LB={key:"CALENDAR_HEADER_MONTH_NEXT_BUTTON_SHORTCUT",defaultText:"Pageup"},NB={key:"CALENDAR_HEADER_MONTH_PREVIOUS_BUTTON_TITLE",defaultText:"Previous Month"},MB={key:"CALENDAR_HEADER_YEAR_PREVIOUS_BUTTON_TITLE",defaultText:"Previous Year"},OB={key:"CALENDAR_HEADER_YEAR_RANGE_PREVIOUS_BUTTON_TITLE",defaultText:"Previous Year Range"},FB={key:"CALENDAR_HEADER_MONTH_PREVIOUS_BUTTON_SHORTCUT",defaultText:"Pagedown"},zB={key:"DAY_PICKER_SELECTED_RANGE_START",defaultText:"{0} First date of range"},$B={key:"DAY_PICKER_SELECTED_RANGE_BETWEEN",defaultText:"{0} in a selected range"},HB={key:"DAY_PICKER_SELECTED_RANGE_END",defaultText:"{0} Last date of range"},XB={key:"DAY_PICKER_WEEK_NUMBER_TEXT",defaultText:"Week Number"},UB={key:"DAY_PICKER_CALENDAR_WEEK",defaultText:"Calendar Week {0}"},jB={key:"DAY_PICKER_NON_WORKING_DAY",defaultText:"Non-Working Day"},VB={key:"DAY_PICKER_TODAY",defaultText:"Today"},GB={key:"MONTH_PICKER_DESCRIPTION",defaultText:"Month Picker"},WB={key:"YEAR_PICKER_DESCRIPTION",defaultText:"Year Picker"},qB={key:"YEAR_RANGE_PICKER_DESCRIPTION",defaultText:"Year Range Picker"},u3={key:"SLIDER_TOOLTIP_INPUT_DESCRIPTION",defaultText:"Press F2 to enter a value"},z0={key:"SLIDER_TOOLTIP_INPUT_LABEL",defaultText:"Current Value"},e7={key:"SPLIT_BUTTON_DESCRIPTION",defaultText:"Split Button"},t7={key:"SPLIT_BUTTON_KEYBOARD_HINT",defaultText:"Press Space or Enter to trigger default action and Alt + Arrow Down or F4 to trigger arrow action"},YB={key:"SPLIT_BUTTON_ARROW_BUTTON_TOOLTIP",defaultText:"Open Menu"},KB={key:"MENU_BACK_BUTTON_ARIA_LABEL",defaultText:"Back"},c3={key:"MENU_CANCEL_BUTTON_TEXT",defaultText:"Cancel"},h3={key:"MENU_POPOVER_ACCESSIBLE_NAME",defaultText:"Select an option from the menu"},ZB={key:"MENU_ITEM_GROUP_NONE_ACCESSIBLE_NAME",defaultText:"Contains Non-Selectable Items"},JB={key:"MENU_ITEM_GROUP_SINGLE_ACCESSIBLE_NAME",defaultText:"Contains Selectable Items"},QB={key:"MENU_ITEM_GROUP_MULTI_ACCESSIBLE_NAME",defaultText:"Contains Multi-Selectable Items"},eA={key:"MENU_ITEM_END_CONTENT_ACCESSIBLE_NAME",defaultText:"Additional Actions"},Hv={key:"MENU_ITEM_LOADING",defaultText:"Loading"},tA={key:"DIALOG_ARIA_DESCRIBEDBY_RESIZABLE",defaultText:"Use shift+arrow keys to resize"},oA={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE",defaultText:"Use arrow keys to move"},iA={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE_RESIZABLE",defaultText:"Use arrow keys to move, Shift+arrow keys to resize"},rA={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE_RESIZABLE",defaultText:"Tab to the end of dialog to reach drag and resize handle."},aA={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE",defaultText:"Tab to the end of dialog to reach drag handle."},nA={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_RESIZABLE",defaultText:"Tab to the end of dialog to reach resize handle."},sA={key:"DIALOG_RESIZE_HANDLE_TOOLTIP",defaultText:"Drag handle to resize (shift+arrow)"},dA={key:"DIALOG_DRAG_AND_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Drag and Resize Dialog"},lA={key:"DIALOG_DRAG_HANDLE_ARIA_LABEL",defaultText:"Drag Dialog"},uA={key:"DIALOG_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Resize Dialog"},cA={key:"DIALOG_HANDLE_ARIA_ROLEDESCRIPTION",defaultText:"Handle"},hA={key:"DIALOG_HEADER_ARIA_LABEL",defaultText:"Header"},_A={key:"DIALOG_CONTENT_ARIA_LABEL",defaultText:"Content"},pA={key:"DIALOG_FOOTER_ARIA_LABEL",defaultText:"Footer"},gA={key:"DIALOG_FULLSCREEN_MAXIMIZE",defaultText:"Maximize (Shift+Ctrl+F)"},vA={key:"DIALOG_FULLSCREEN_RESTORE",defaultText:"Restore (Shift+Ctrl+F)"},mA={key:"POPOVER_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Resize popover"},fA={key:"POPOVER_HANDLE_ARIA_ROLEDESCRIPTION",defaultText:"Handle"},bA={key:"POPOVER_ARIA_DESCRIBEDBY_RESIZABLE",defaultText:"Use Shift+Arrow keys to resize"},xA={key:"POPOVER_RESIZE_HANDLE_TOOLTIP",defaultText:"Drag handle to resize (Shift+Arrow)"},yA={key:"LABEL_COLON",defaultText:":"},_3={key:"FORM_CHECKABLE_REQUIRED",defaultText:"Please tick this box if you want to proceed."},CA={key:"FORM_SELECTABLE_REQUIRED2",defaultText:"Please select one of these options."},wA={key:"CHECKBOX_CHECKED",defaultText:"Checked"},SA={key:"CHECKBOX_NOT_CHECKED",defaultText:"Not checked"},kA={key:"CHECKBOX_ARIA_TYPE",defaultText:"Checkbox"},TA={key:"SWITCH_ON",defaultText:"On"},IA={key:"SWITCH_OFF",defaultText:"Off"},BA={key:"ICON_ARIA_TYPE_IMAGE",defaultText:"Image"},AA={key:"ICON_ARIA_TYPE_INTERACTIVE",defaultText:"Button"},I=`:root {--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon.css_variables","PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css","Extends": ["baseTheme"],"Tags": ["Fiori_3","LightColorScheme"],"FallbackThemeId": "sap_fiori_3","Engine":{"Name": "theming-engine","Version": "17.0.29"},"Version":{"Build": "11.36.4.20260616082028","Source": "11.36.4"}};--sapBrandColor: #0070f2;--sapHighlightColor: #0064d9;--sapBaseColor: #fff;--sapShellColor: #fff;--sapBackgroundColor: #f5f6f7;--sapFontFamily: "72", "72full", Arial, Helvetica, sans-serif;--sapFontSize: .875rem;--sapTextColor: #131e29;--sapLinkColor: #0064d9;--sapCompanyLogo: none;--sapFavicon: none;--sapBackgroundImage: none;--sapBackgroundImageOpacity: 1;--sapBackgroundImageRepeat: false;--sapSelectedColor: #0064d9;--sapHoverColor: #eaecee;--sapActiveColor: #dee2e5;--sapTitleColor: #131e29;--sapNegativeColor: #aa0808;--sapCriticalColor: #e76500;--sapPositiveColor: #256f3a;--sapInformativeColor: #0070f2;--sapNeutralColor: #788fa6;--sapNegativeElementColor: #f53232;--sapCriticalElementColor: #e76500;--sapPositiveElementColor: #30914c;--sapInformativeElementColor: #0070f2;--sapNeutralElementColor: #788fa6;--sapNegativeTextColor: #aa0808;--sapCriticalTextColor: #b44f00;--sapPositiveTextColor: #256f3a;--sapInformativeTextColor: #0064d9;--sapNeutralTextColor: #131e29;--sapErrorColor: #aa0808;--sapWarningColor: #e76500;--sapSuccessColor: #256f3a;--sapInformationColor: #0070f2;--sapErrorBackground: #ffeaf4;--sapWarningBackground: #fff8d6;--sapSuccessBackground: #f5fae5;--sapInformationBackground: #e1f4ff;--sapNeutralBackground: #eff1f2;--sapErrorBorderColor: #e90b0b;--sapWarningBorderColor: #dd6100;--sapSuccessBorderColor: #30914c;--sapInformationBorderColor: #0070f2;--sapNeutralBorderColor: #788fa6;--sapElement_LineHeight: 2.75rem;--sapElement_Height: 2.25rem;--sapElement_BorderWidth: .0625rem;--sapElement_BorderCornerRadius: .75rem;--sapElement_Compact_LineHeight: 2rem;--sapElement_Compact_Height: 1.625rem;--sapElement_Condensed_LineHeight: 1.5rem;--sapElement_Condensed_Height: 1.375rem;--sapContent_LineHeight: 1.5;--sapContent_IconHeight: 1rem;--sapContent_IconColor: #131e29;--sapContent_ContrastIconColor: #fff;--sapContent_NonInteractiveIconColor: #758ca4;--sapContent_MarkerIconColor: #5d36ff;--sapContent_MarkerTextColor: #046c7a;--sapContent_MeasureIndicatorColor: #556b81;--sapContent_Selected_MeasureIndicatorColor: #0064d9;--sapContent_Placeholderloading_Background: #ccc;--sapContent_Placeholderloading_Gradient: linear-gradient(to right, #ccc 0%, #ccc 20%, #999 50%, #ccc 80%, #ccc 100%);--sapContent_ImagePlaceholderBackground: #eaecee;--sapContent_ImagePlaceholderForegroundColor: #556b82;--sapContent_RatedColor: #d27700;--sapContent_UnratedColor: #758ca4;--sapContent_BusyColor: #0064d9;--sapContent_FocusColor: #0032a5;--sapContent_FocusStyle: solid;--sapContent_FocusWidth: .125rem;--sapContent_ContrastFocusColor: #fff;--sapContent_ShadowColor: #223548;--sapContent_ContrastShadowColor: #fff;--sapContent_Shadow0: 0 0 .125rem 0 rgba(34,53,72,.2), 0 .125rem .25rem 0 rgba(34,53,72,.2);--sapContent_Shadow1: 0 0 0 .0625rem rgba(34,53,72,.48), 0 .125rem .5rem 0 rgba(34,53,72,.3);--sapContent_Shadow2: 0 0 0 .0625rem rgba(34,53,72,.48), 0 .625rem 1.875rem 0 rgba(34,53,72,.25);--sapContent_Shadow3: 0 0 0 .0625rem rgba(34,53,72,.48), 0 1.25rem 5rem 0 rgba(34,53,72,.25);--sapContent_TextShadow: 0 0 .125rem #fff;--sapContent_ContrastTextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapContent_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #d9d9d9;--sapContent_Interaction_Shadow: inset 0 0 0 .0625rem rgba(85,107,129,.25);--sapContent_Selected_Shadow: inset 0 0 0 .0625rem rgba(79,160,255,.5);--sapContent_Negative_Shadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapContent_Critical_Shadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapContent_Positive_Shadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapContent_Informative_Shadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapContent_Neutral_Shadow: inset 0 0 0 .0625rem rgba(120,143,166,.3);--sapContent_SearchHighlightColor: #dafdf5;--sapContent_HelpColor: #188918;--sapContent_LabelColor: #556b82;--sapContent_MonospaceFontFamily: "72Mono", "72Monofull", lucida console, monospace;--sapContent_MonospaceBoldFontFamily: "72Mono-Bold", "72Mono-Boldfull", lucida console, monospace;--sapContent_IconFontFamily: "SAP-icons";--sapContent_DisabledTextColor: rgba(19,30,41,.6);--sapContent_DisabledOpacity: .4;--sapContent_ContrastTextThreshold: .65;--sapContent_ContrastTextColor: #fff;--sapContent_ForegroundColor: #efefef;--sapContent_ForegroundBorderColor: #758ca4;--sapContent_ForegroundTextColor: #131e29;--sapContent_BadgeBackground: #aa0808;--sapContent_BadgeTextColor: #fff;--sapContent_BadgeBorderColor: #fff;--sapContent_DragAndDropActiveColor: #0064d9;--sapContent_Selected_TextColor: #0064d9;--sapContent_Selected_Background: #fff;--sapContent_Selected_Hover_Background: #e3f0ff;--sapContent_Selected_ForegroundColor: #0064d9;--sapContent_ForcedColorAdjust: none;--sapContent_Lite_Shadow: none;--sapContent_Illustrative_Color1: #9b015d;--sapContent_Illustrative_Color2: #56bdff;--sapContent_Illustrative_Color3: #ff7f4c;--sapContent_Illustrative_Color4: #00144a;--sapContent_Illustrative_Color5: #a9b4be;--sapContent_Illustrative_Color6: #d5dadd;--sapContent_Illustrative_Color7: #dbf1ff;--sapContent_Illustrative_Color8: #fff;--sapContent_Illustrative_Color9: #0899a7;--sapContent_Illustrative_Color10: #dbf1ff;--sapContent_Illustrative_Color11: #df1278;--sapContent_Illustrative_Color12: #00a800;--sapContent_Illustrative_Color13: #0070f2;--sapContent_Illustrative_Color14: #0040b0;--sapContent_Illustrative_Color15: #c35500;--sapContent_Illustrative_Color16: #8d2a00;--sapContent_Illustrative_Color17: #046c7c;--sapContent_Illustrative_Color18: #bce5ff;--sapContent_Illustrative_Color19: #a3dbff;--sapContent_Illustrative_Color20: #89d1ff;--sapContent_Illustrative_Color21: #1b90ff;--sapContent_Illustrative_Color22: #00144a;--sapContent_Illustrative_Color23: #d20a0a;--sapContent_Illustrative_Color24: #ffb2d2;--sapContent_Illustrative_Color25: #ffeaf4;--sapContent_Illustrative_Color26: #ffdf72;--sapContent_Illustrative_Color27: #fff8d6;--sapContent_Illustrative_Color28: #a93e00;--sapContent_Illustrative_Color29: #450b00;--sapContent_Illustrative_Color30: #340800;--sapContent_Illustrative_Color31: #ffab92;--sapContent_Space_S: 1rem;--sapContent_Space_M: 2rem;--sapContent_Space_L: 2rem;--sapContent_Space_XL: 3rem;--sapContent_Space_Tiny: .5rem;--sapContent_Space_Small: 1rem;--sapContent_Space_Medium: 2rem;--sapContent_Space_Large: 3rem;--sapContent_Margin_Tiny: 0 0 1rem;--sapContent_Margin_Small: 1rem;--sapContent_Margin_Medium: 1rem 2rem;--sapContent_Margin_Large: 1rem 3rem;--sapContent_Margin_S: 0 0 1rem;--sapContent_Margin_M: 1rem;--sapContent_Margin_L: 1rem 2rem;--sapContent_Margin_XL: 1rem 3rem;--sapContent_Padding_S: 0rem;--sapContent_Padding_M: 2rem;--sapContent_Padding_L: 2rem;--sapContent_Padding_XL: 3rem;--sapContent_Gap: 1rem;--sapContent_Success_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #30914c;--sapContent_Warning_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #dd6100;--sapContent_Error_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #e90b0b;--sapContent_Information_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #0070f2;--sapFontLightFamily: "72-Light", "72-Lightfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontBoldFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSemiboldFamily: "72-Semibold", "72-Semiboldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSemiboldDuplexFamily: "72-SemiboldDuplex", "72-SemiboldDuplexfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontBlackFamily: "72Black", "72Blackfull","72", "72full", Arial, Helvetica, sans-serif;--sapFontHeaderFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSmallSize: .75rem;--sapFontLargeSize: 1rem;--sapFontHeader1Size: 3rem;--sapFontHeader2Size: 2rem;--sapFontHeader3Size: 1.5rem;--sapFontHeader4Size: 1.25rem;--sapFontHeader5Size: 1rem;--sapFontHeader6Size: .875rem;--sapLink_TextDecoration: none;--sapLink_Hover_Color: #0064d9;--sapLink_Hover_TextDecoration: underline;--sapLink_Active_Color: #0064d9;--sapLink_Active_TextDecoration: none;--sapLink_Visited_Color: #0064d9;--sapLink_InvertedColor: #a6cfff;--sapLink_SubtleColor: #131e29;--sapShell_Background: #eff1f2;--sapShell_BackgroundImage: linear-gradient(to bottom, #eff1f2, #eff1f2);--sapShell_BackgroundImageOpacity: 1;--sapShell_BackgroundImageRepeat: false;--sapShell_BorderColor: #d9d9d9;--sapShell_TextColor: #131e29;--sapShell_InteractiveBackground: #eff1f2;--sapShell_InteractiveTextColor: #131e29;--sapShell_InteractiveBorderColor: #556b81;--sapShell_GroupTitleTextColor: #131e29;--sapShell_GroupTitleTextShadow: 0 0 .125rem #fff;--sapShell_Hover_Background: #fff;--sapShell_Active_Background: #fff;--sapShell_Active_TextColor: #0070f2;--sapShell_Selected_Background: #fff;--sapShell_Selected_TextColor: #0070f2;--sapShell_Selected_Hover_Background: #fff;--sapShell_Favicon: none;--sapShell_Navigation_Background: #fff;--sapShell_Navigation_Hover_Background: #fff;--sapShell_Navigation_SelectedColor: #0064d9;--sapShell_Navigation_Selected_TextColor: #0064d9;--sapShell_Navigation_TextColor: #131e29;--sapShell_Navigation_Active_TextColor: #0064d9;--sapShell_Navigation_Active_Background: #fff;--sapShell_Shadow: 0 .125rem .125rem 0 rgba(34,53,72,.15), inset 0 -.0625rem 0 0 rgba(34,53,72,.2);--sapShell_NegativeColor: #aa0808;--sapShell_CriticalColor: #b44f00;--sapShell_PositiveColor: #256f3a;--sapShell_InformativeColor: #0064d9;--sapShell_NeutralColor: #131e29;--sapShell_Assistant_ForegroundColor: #5d36ff;--sapShell_SubBrand_TextColor: #003e87;--sapShell_HeroBanner_Background: #0070f2;--sapShell_HeroBanner_BackgroundImage: linear-gradient(135deg, transparent 45%, rgba(0,0,0,.45) 75%);--sapShell_HeroBanner_TextColor: #fff;--sapShell_Category_1_Background: #0057d2;--sapShell_Category_1_BorderColor: #0057d2;--sapShell_Category_1_TextColor: #fff;--sapShell_Category_1_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_2_Background: #df1278;--sapShell_Category_2_BorderColor: #df1278;--sapShell_Category_2_TextColor: #fff;--sapShell_Category_2_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_3_Background: #e76500;--sapShell_Category_3_BorderColor: #e76500;--sapShell_Category_3_TextColor: #fff;--sapShell_Category_3_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_4_Background: #7800a4;--sapShell_Category_4_BorderColor: #7800a4;--sapShell_Category_4_TextColor: #fff;--sapShell_Category_4_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_5_Background: #aa2608;--sapShell_Category_5_BorderColor: #aa2608;--sapShell_Category_5_TextColor: #fff;--sapShell_Category_5_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_6_Background: #07838f;--sapShell_Category_6_BorderColor: #07838f;--sapShell_Category_6_TextColor: #fff;--sapShell_Category_6_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_7_Background: #f31ded;--sapShell_Category_7_BorderColor: #f31ded;--sapShell_Category_7_TextColor: #fff;--sapShell_Category_7_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_8_Background: #188918;--sapShell_Category_8_BorderColor: #188918;--sapShell_Category_8_TextColor: #fff;--sapShell_Category_8_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_9_Background: #002a86;--sapShell_Category_9_BorderColor: #002a86;--sapShell_Category_9_TextColor: #fff;--sapShell_Category_9_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_10_Background: #5b738b;--sapShell_Category_10_BorderColor: #5b738b;--sapShell_Category_10_TextColor: #fff;--sapShell_Category_10_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_11_Background: #d20a0a;--sapShell_Category_11_BorderColor: #d20a0a;--sapShell_Category_11_TextColor: #fff;--sapShell_Category_11_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_12_Background: #7858ff;--sapShell_Category_12_BorderColor: #7858ff;--sapShell_Category_12_TextColor: #fff;--sapShell_Category_12_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_13_Background: #a00875;--sapShell_Category_13_BorderColor: #a00875;--sapShell_Category_13_TextColor: #fff;--sapShell_Category_13_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_14_Background: #14565b;--sapShell_Category_14_BorderColor: #14565b;--sapShell_Category_14_TextColor: #fff;--sapShell_Category_14_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_15_Background: #223548;--sapShell_Category_15_BorderColor: #223548;--sapShell_Category_15_TextColor: #fff;--sapShell_Category_15_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_16_Background: #1e592f;--sapShell_Category_16_BorderColor: #1e592f;--sapShell_Category_16_TextColor: #fff;--sapShell_Category_16_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Space_S: .5rem;--sapShell_Space_M: 2rem;--sapShell_Space_L: 2rem;--sapShell_Space_XL: 3rem;--sapShell_Gap_S: .5rem;--sapShell_Gap_M: 1rem;--sapShell_Gap_L: 1rem;--sapShell_Gap_XL: 1rem;--sapShell_GroupGap_S: 2rem;--sapShell_GroupGap_M: 3rem;--sapShell_GroupGap_L: 3rem;--sapShell_GroupGap_XL: 3rem;--sapAssistant_Color1: #5d36ff;--sapAssistant_Color2: #a100c2;--sapAssistant_BackgroundGradient: linear-gradient(#5d36ff, #a100c2);--sapAssistant_Background: #5d36ff;--sapAssistant_BorderColor: #5d36ff;--sapAssistant_TextColor: #fff;--sapAssistant_Hover_Background: #2800cf;--sapAssistant_Hover_BorderColor: #2800cf;--sapAssistant_Hover_TextColor: #fff;--sapAssistant_Active_Background: #fff;--sapAssistant_Active_BorderColor: #5d36ff;--sapAssistant_Active_TextColor: #5d36ff;--sapAssistant_Question_Background: #eae5ff;--sapAssistant_Question_BorderColor: #eae5ff;--sapAssistant_Question_TextColor: #131e29;--sapAssistant_Answer_Background: #eff1f2;--sapAssistant_Answer_BorderColor: #eff1f2;--sapAssistant_Answer_TextColor: #131e29;--sapAvatar_1_Background: #fff3b8;--sapAvatar_1_BorderColor: #fff3b8;--sapAvatar_1_TextColor: #a45d00;--sapAvatar_1_Hover_Background: #fff3b8;--sapAvatar_2_Background: #ffd0e7;--sapAvatar_2_BorderColor: #ffd0e7;--sapAvatar_2_TextColor: #aa0808;--sapAvatar_2_Hover_Background: #ffd0e7;--sapAvatar_3_Background: #ffdbe7;--sapAvatar_3_BorderColor: #ffdbe7;--sapAvatar_3_TextColor: #ba066c;--sapAvatar_3_Hover_Background: #ffdbe7;--sapAvatar_4_Background: #ffdcf3;--sapAvatar_4_BorderColor: #ffdcf3;--sapAvatar_4_TextColor: #a100c2;--sapAvatar_4_Hover_Background: #ffdcf3;--sapAvatar_5_Background: #ded3ff;--sapAvatar_5_BorderColor: #ded3ff;--sapAvatar_5_TextColor: #552cff;--sapAvatar_5_Hover_Background: #ded3ff;--sapAvatar_6_Background: #d1efff;--sapAvatar_6_BorderColor: #d1efff;--sapAvatar_6_TextColor: #0057d2;--sapAvatar_6_Hover_Background: #d1efff;--sapAvatar_7_Background: #c2fcee;--sapAvatar_7_BorderColor: #c2fcee;--sapAvatar_7_TextColor: #046c7a;--sapAvatar_7_Hover_Background: #c2fcee;--sapAvatar_8_Background: #ebf5cb;--sapAvatar_8_BorderColor: #ebf5cb;--sapAvatar_8_TextColor: #256f3a;--sapAvatar_8_Hover_Background: #ebf5cb;--sapAvatar_9_Background: #ddccf0;--sapAvatar_9_BorderColor: #ddccf0;--sapAvatar_9_TextColor: #6c32a9;--sapAvatar_9_Hover_Background: #ddccf0;--sapAvatar_10_Background: #eaecee;--sapAvatar_10_BorderColor: #eaecee;--sapAvatar_10_TextColor: #556b82;--sapAvatar_10_Hover_Background: #eaecee;--sapAvatar_Lite_BorderColor: transparent;--sapAvatar_Lite_Background: transparent;--sapAvatar_Hover_BorderColor: rgba(85,107,129,.25);--sapButton_Background: #fff;--sapButton_BorderColor: #bcc3ca;--sapButton_BorderWidth: .0625rem;--sapButton_BorderCornerRadius: .5rem;--sapButton_TextColor: #0064d9;--sapButton_FontFamily: "72-SemiboldDuplex", "72-SemiboldDuplexfull", "72", "72full", Arial, Helvetica, sans-serif;--sapButton_Hover_Background: #eaecee;--sapButton_Hover_BorderColor: #bcc3ca;--sapButton_Hover_TextColor: #0064d9;--sapButton_IconColor: #0064d9;--sapButton_Active_Background: #fff;--sapButton_Active_BorderColor: #0064d9;--sapButton_Active_TextColor: #0064d9;--sapButton_Emphasized_Background: #0070f2;--sapButton_Emphasized_BorderColor: #0070f2;--sapButton_Emphasized_BorderWidth: .0625rem;--sapButton_Emphasized_TextColor: #fff;--sapButton_Emphasized_FontFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapButton_Emphasized_Hover_Background: #0064d9;--sapButton_Emphasized_Hover_BorderColor: #0064d9;--sapButton_Emphasized_Hover_TextColor: #fff;--sapButton_Emphasized_Active_Background: #fff;--sapButton_Emphasized_Active_BorderColor: #0064d9;--sapButton_Emphasized_Active_TextColor: #0064d9;--sapButton_Emphasized_TextShadow: transparent;--sapButton_Reject_Background: #ffd6e9;--sapButton_Reject_BorderColor: #ffc2de;--sapButton_Reject_TextColor: #aa0808;--sapButton_Reject_Hover_Background: #ffbddb;--sapButton_Reject_Hover_BorderColor: #ffbddb;--sapButton_Reject_Hover_TextColor: #aa0808;--sapButton_Reject_Active_Background: #fff;--sapButton_Reject_Active_BorderColor: #e90b0b;--sapButton_Reject_Active_TextColor: #aa0808;--sapButton_Reject_Selected_Background: #fff;--sapButton_Reject_Selected_BorderColor: #e90b0b;--sapButton_Reject_Selected_TextColor: #aa0808;--sapButton_Reject_Selected_Hover_Background: #ffbddb;--sapButton_Reject_Selected_Hover_BorderColor: #e90b0b;--sapButton_Accept_Background: #ebf5cb;--sapButton_Accept_BorderColor: #dbeda0;--sapButton_Accept_TextColor: #256f3a;--sapButton_Accept_Hover_Background: #e3f1b6;--sapButton_Accept_Hover_BorderColor: #e3f1b6;--sapButton_Accept_Hover_TextColor: #256f3a;--sapButton_Accept_Active_Background: #fff;--sapButton_Accept_Active_BorderColor: #30914c;--sapButton_Accept_Active_TextColor: #256f3a;--sapButton_Accept_Selected_Background: #fff;--sapButton_Accept_Selected_BorderColor: #30914c;--sapButton_Accept_Selected_TextColor: #256f3a;--sapButton_Accept_Selected_Hover_Background: #e3f1b6;--sapButton_Accept_Selected_Hover_BorderColor: #30914c;--sapButton_Lite_Background: transparent;--sapButton_Lite_BorderColor: transparent;--sapButton_Lite_TextColor: #0064d9;--sapButton_Lite_Hover_Background: #eaecee;--sapButton_Lite_Hover_BorderColor: #bcc3ca;--sapButton_Lite_Hover_TextColor: #0064d9;--sapButton_Lite_Active_Background: #fff;--sapButton_Lite_Active_BorderColor: #0064d9;--sapButton_Selected_Background: #edf6ff;--sapButton_Selected_BorderColor: #0064d9;--sapButton_Selected_TextColor: #0064d9;--sapButton_Selected_Hover_Background: #d9ecff;--sapButton_Selected_Hover_BorderColor: #0064d9;--sapButton_Attention_Background: #fff3b7;--sapButton_Attention_BorderColor: #ffeb84;--sapButton_Attention_TextColor: #b44f00;--sapButton_Attention_Hover_Background: #ffef9e;--sapButton_Attention_Hover_BorderColor: #ffef9e;--sapButton_Attention_Hover_TextColor: #b44f00;--sapButton_Attention_Active_Background: #fff;--sapButton_Attention_Active_BorderColor: #dd6100;--sapButton_Attention_Active_TextColor: #b44f00;--sapButton_Attention_Selected_Background: #fff;--sapButton_Attention_Selected_BorderColor: #dd6100;--sapButton_Attention_Selected_TextColor: #b44f00;--sapButton_Attention_Selected_Hover_Background: #ffef9e;--sapButton_Attention_Selected_Hover_BorderColor: #dd6100;--sapButton_Negative_Background: #f53232;--sapButton_Negative_BorderColor: #f53232;--sapButton_Negative_TextColor: #fff;--sapButton_Negative_Hover_Background: #e90b0b;--sapButton_Negative_Hover_BorderColor: #e90b0b;--sapButton_Negative_Hover_TextColor: #fff;--sapButton_Negative_Active_Background: #fff;--sapButton_Negative_Active_BorderColor: #f53232;--sapButton_Negative_Active_TextColor: #aa0808;--sapButton_Critical_Background: #e76500;--sapButton_Critical_BorderColor: #e76500;--sapButton_Critical_TextColor: #fff;--sapButton_Critical_Hover_Background: #dd6100;--sapButton_Critical_Hover_BorderColor: #dd6100;--sapButton_Critical_Hover_TextColor: #fff;--sapButton_Critical_Active_Background: #fff;--sapButton_Critical_Active_BorderColor: #dd6100;--sapButton_Critical_Active_TextColor: #b44f00;--sapButton_Success_Background: #30914c;--sapButton_Success_BorderColor: #30914c;--sapButton_Success_TextColor: #fff;--sapButton_Success_Hover_Background: #2c8646;--sapButton_Success_Hover_BorderColor: #2c8646;--sapButton_Success_Hover_TextColor: #fff;--sapButton_Success_Active_Background: #fff;--sapButton_Success_Active_BorderColor: #30914c;--sapButton_Success_Active_TextColor: #256f3a;--sapButton_Information_Background: #e8f3ff;--sapButton_Information_BorderColor: #b5d8ff;--sapButton_Information_TextColor: #0064d9;--sapButton_Information_Hover_Background: #d4e8ff;--sapButton_Information_Hover_BorderColor: #b5d8ff;--sapButton_Information_Hover_TextColor: #0064d9;--sapButton_Information_Active_Background: #fff;--sapButton_Information_Active_BorderColor: #0064d9;--sapButton_Information_Active_TextColor: #0064d9;--sapButton_Neutral_Background: #e8f3ff;--sapButton_Neutral_BorderColor: #b5d8ff;--sapButton_Neutral_TextColor: #0064d9;--sapButton_Neutral_Hover_Background: #d4e8ff;--sapButton_Neutral_Hover_BorderColor: #b5d8ff;--sapButton_Neutral_Hover_TextColor: #0064d9;--sapButton_Neutral_Active_Background: #fff;--sapButton_Neutral_Active_BorderColor: #0064d9;--sapButton_Neutral_Active_TextColor: #0064d9;--sapButton_Track_Background: #788fa6;--sapButton_Track_BorderColor: #788fa6;--sapButton_Track_TextColor: #fff;--sapButton_Track_Hover_Background: #637d97;--sapButton_Track_Hover_BorderColor: #637d97;--sapButton_Track_Selected_Background: #0064d9;--sapButton_Track_Selected_BorderColor: #0064d9;--sapButton_Track_Selected_TextColor: #fff;--sapButton_Track_Selected_Hover_Background: #0058c0;--sapButton_Track_Selected_Hover_BorderColor: #0058c0;--sapButton_Handle_Background: #fff;--sapButton_Handle_BorderColor: #fff;--sapButton_Handle_TextColor: #131e29;--sapButton_Handle_Hover_Background: #fff;--sapButton_Handle_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_Handle_Selected_Background: #edf6ff;--sapButton_Handle_Selected_BorderColor: #edf6ff;--sapButton_Handle_Selected_TextColor: #0064d9;--sapButton_Handle_Selected_Hover_Background: #edf6ff;--sapButton_Handle_Selected_Hover_BorderColor: rgba(237,246,255,.5);--sapButton_Track_Negative_Background: #f53232;--sapButton_Track_Negative_BorderColor: #f53232;--sapButton_Track_Negative_TextColor: #fff;--sapButton_Track_Negative_Hover_Background: #e90b0b;--sapButton_Track_Negative_Hover_BorderColor: #e90b0b;--sapButton_Handle_Negative_Background: #fff;--sapButton_Handle_Negative_BorderColor: #fff;--sapButton_Handle_Negative_TextColor: #aa0808;--sapButton_Handle_Negative_Hover_Background: #fff;--sapButton_Handle_Negative_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_Track_Positive_Background: #30914c;--sapButton_Track_Positive_BorderColor: #30914c;--sapButton_Track_Positive_TextColor: #fff;--sapButton_Track_Positive_Hover_Background: #2c8646;--sapButton_Track_Positive_Hover_BorderColor: #2c8646;--sapButton_Handle_Positive_Background: #fff;--sapButton_Handle_Positive_BorderColor: #fff;--sapButton_Handle_Positive_TextColor: #256f3a;--sapButton_Handle_Positive_Hover_Background: #fff;--sapButton_Handle_Positive_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_TokenBackground: #fff;--sapButton_TokenBorderColor: #bcc3ca;--sapButton_TokenBorderCornerRadius: .375rem;--sapButton_Selected_TokenBorderWidth: .0625rem;--sapButton_ReadOnly_TokenBackground: #fff;--sapButton_Segment_BorderCornerRadius: .5rem;--sapField_Background: #fff;--sapField_BackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #556b81, #556b81) border-box;--sapField_TextColor: #131e29;--sapField_PlaceholderTextColor: #556b82;--sapField_BorderColor: #556b81;--sapField_HelpBackground: #fff;--sapField_BorderWidth: .0625rem;--sapField_BorderStyle: none;--sapField_BorderCornerRadius: .25rem;--sapField_Shadow: inset 0 0 0 .0625rem rgba(85,107,129,.25);--sapField_Hover_Background: #fff;--sapField_Hover_BackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #0064d9, #0064d9) border-box;--sapField_Hover_BorderColor: #0064d9;--sapField_Hover_HelpBackground: #fff;--sapField_Hover_Shadow: inset 0 0 0 .0625rem rgba(79,160,255,.5);--sapField_Hover_InvalidShadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapField_Hover_WarningShadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapField_Hover_SuccessShadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapField_Hover_InformationShadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapField_Active_BorderColor: #0064d9;--sapField_Focus_Background: #fff;--sapField_Focus_BorderColor: #0032a5;--sapField_Focus_HelpBackground: #fff;--sapField_ReadOnly_Background: #eaecee;--sapField_ReadOnly_BackgroundStyle: 0 100% / .375rem .0625rem repeat-x linear-gradient(90deg, #556b81 0, #556b81 .25rem, transparent .25rem) border-box;--sapField_ReadOnly_BorderColor: #556b81;--sapField_ReadOnly_BorderStyle: none;--sapField_ReadOnly_HelpBackground: #eaecee;--sapField_RequiredColor: #ba066c;--sapField_InvalidColor: #e90b0b;--sapField_InvalidBackground: #ffeaf4;--sapField_InvalidBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #e90b0b, #e90b0b) border-box;--sapField_InvalidBorderWidth: .125rem;--sapField_InvalidBorderStyle: none;--sapField_InvalidShadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapField_WarningColor: #dd6100;--sapField_WarningBackground: #fff8d6;--sapField_WarningBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #dd6100, #dd6100) border-box;--sapField_WarningBorderWidth: .125rem;--sapField_WarningBorderStyle: none;--sapField_WarningShadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapField_SuccessColor: #30914c;--sapField_SuccessBackground: #f5fae5;--sapField_SuccessBackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #30914c, #30914c) border-box;--sapField_SuccessBorderWidth: .0625rem;--sapField_SuccessBorderStyle: none;--sapField_SuccessShadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapField_InformationColor: #0070f2;--sapField_InformationBackground: #e1f4ff;--sapField_InformationBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #0070f2, #0070f2) border-box;--sapField_InformationBorderWidth: .125rem;--sapField_InformationBorderStyle: none;--sapField_InformationShadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapField_Selector_Hover_Background: #e3f0ff;--sapField_Selector_Hover_InvalidBackground: #fff;--sapField_Selector_Hover_WarningBackground: #fff;--sapField_Selector_Hover_SuccessBackground: #fff;--sapField_Selector_Hover_InformationBackground: #fff;--sapField_Picker_BorderColor: #556b81;--sapField_Picker_BorderWidth: .0625rem;--sapField_Selector_BorderStyle: solid;--sapField_Selector_ReadOnly_BorderStyle: dashed;--sapField_Selector_InvalidBorderStyle: solid;--sapField_Selector_WarningBorderStyle: solid;--sapField_Selector_SuccessBorderStyle: solid;--sapField_Selector_InformationBorderStyle: solid;--sapGroup_TitleBorderWidth: .0625rem;--sapGroup_TitleBackground: #fff;--sapGroup_TitleBorderColor: #a8b2bd;--sapGroup_TitleTextColor: #131e29;--sapGroup_Title_FontSize: 1rem;--sapGroup_ContentBackground: #fff;--sapGroup_ContentAlternatingBackground: #eaecee;--sapGroup_ContentBorderColor: #d9d9d9;--sapGroup_BorderWidth: .0625rem;--sapGroup_BorderCornerRadius: .75rem;--sapGroup_FooterBackground: transparent;--sapToolbar_Background: #fff;--sapToolbar_SeparatorColor: #d9d9d9;--sapList_HeaderBackground: #fff;--sapList_HeaderBorderColor: #a8b2bd;--sapList_HeaderTextColor: #131e29;--sapList_BorderColor: #e5e5e5;--sapList_BorderWidth: .0625rem;--sapList_TextColor: #131e29;--sapList_Active_TextColor: #131e29;--sapList_Active_Background: #dee2e5;--sapList_SelectionBackgroundColor: #ebf8ff;--sapList_SelectionBorderColor: #0064d9;--sapList_Hover_SelectionBackground: #dcf3ff;--sapList_Background: #fff;--sapList_Hover_Background: #eaecee;--sapList_AlternatingBackground: #f5f6f7;--sapList_GroupHeaderBackground: #fff;--sapList_GroupHeaderBorderColor: #a8b2bd;--sapList_GroupHeaderTextColor: #131e29;--sapList_TableGroupHeaderBackground: #eff1f2;--sapList_TableGroupHeaderBorderColor: #a8b2bd;--sapList_TableGroupHeaderTextColor: #131e29;--sapList_FooterBackground: #fff;--sapList_FooterTextColor: #131e29;--sapList_TableFooterBorder: #a8b2bd;--sapList_TableFixedBorderColor: #8c8c8c;--sapList_TableFixedColumnBorderWidth: .0625rem;--sapList_TableFixedRowBorderWidth: .125rem;--sapMessage_BorderWidth: .0625rem;--sapMessage_ErrorBorderColor: #ff8ec4;--sapMessage_WarningBorderColor: #ffe770;--sapMessage_SuccessBorderColor: #cee67e;--sapMessage_InformationBorderColor: #7bcfff;--sapMessage_Button_Hover_Background: rgba(234,236,238,.2);--sapPopover_BorderCornerRadius: .5rem;--sapProgress_Background: #d5dadd;--sapProgress_BorderColor: #d5dadd;--sapProgress_TextColor: #131e29;--sapProgress_FontSize: .875rem;--sapProgress_NegativeBackground: #ffdbec;--sapProgress_NegativeBorderColor: #ffdbec;--sapProgress_NegativeTextColor: #131e29;--sapProgress_CriticalBackground: #fff4bd;--sapProgress_CriticalBorderColor: #fff4bd;--sapProgress_CriticalTextColor: #131e29;--sapProgress_PositiveBackground: #e5f2ba;--sapProgress_PositiveBorderColor: #e5f2ba;--sapProgress_PositiveTextColor: #131e29;--sapProgress_InformationBackground: #cdedff;--sapProgress_InformationBorderColor: #cdedff;--sapProgress_InformationTextColor: #131e29;--sapProgress_Value_Background: #617b94;--sapProgress_Value_BorderColor: #617b94;--sapProgress_Value_TextColor: #788fa6;--sapProgress_Value_NegativeBackground: #f53232;--sapProgress_Value_NegativeBorderColor: #f53232;--sapProgress_Value_NegativeTextColor: #f53232;--sapProgress_Value_CriticalBackground: #e76500;--sapProgress_Value_CriticalBorderColor: #e76500;--sapProgress_Value_CriticalTextColor: #e76500;--sapProgress_Value_PositiveBackground: #30914c;--sapProgress_Value_PositiveBorderColor: #30914c;--sapProgress_Value_PositiveTextColor: #30914c;--sapProgress_Value_InformationBackground: #0070f2;--sapProgress_Value_InformationBorderColor: #0070f2;--sapProgress_Value_InformationTextColor: #0070f2;--sapScrollBar_FaceColor: #7b91a8;--sapScrollBar_TrackColor: #fff;--sapScrollBar_BorderColor: #7b91a8;--sapScrollBar_SymbolColor: #0064d9;--sapScrollBar_Dimension: .75rem;--sapScrollBar_Hover_FaceColor: #5b728b;--sapSlider_Background: #d5dadd;--sapSlider_BorderColor: #d5dadd;--sapSlider_Selected_Background: #0064d9;--sapSlider_Selected_BorderColor: #0064d9;--sapSlider_Selected_Dimension: .125rem;--sapSlider_HandleBackground: #fff;--sapSlider_HandleBorderColor: #b0d5ff;--sapSlider_RangeHandleBackground: #fff;--sapSlider_Hover_HandleBackground: #d9ecff;--sapSlider_Hover_HandleBorderColor: #b0d5ff;--sapSlider_Hover_RangeHandleBackground: #d9ecff;--sapSlider_Active_HandleBackground: #fff;--sapSlider_Active_HandleBorderColor: #0064d9;--sapSlider_Active_RangeHandleBackground: transparent;--sapPageHeader_Background: #fff;--sapPageHeader_BorderColor: #d9d9d9;--sapPageHeader_TextColor: #131e29;--sapPageFooter_Background: #fff;--sapPageFooter_BorderColor: #d9d9d9;--sapPageFooter_TextColor: #131e29;--sapInfobar_Background: #c2fcee;--sapInfobar_Hover_Background: #fff;--sapInfobar_Active_Background: #fff;--sapInfobar_NonInteractive_Background: #f5f6f7;--sapInfobar_TextColor: #046c7a;--sapObjectHeader_Background: #fff;--sapObjectHeader_Hover_Background: #eaecee;--sapObjectHeader_BorderColor: #d9d9d9;--sapObjectHeader_Title_TextColor: #131e29;--sapObjectHeader_Title_FontSize: 1.5rem;--sapObjectHeader_Title_SnappedFontSize: 1.25rem;--sapObjectHeader_Title_FontFamily: "72Black", "72Blackfull","72", "72full", Arial, Helvetica, sans-serif;--sapObjectHeader_Subtitle_TextColor: #556b82;--sapBlockLayer_Background: #000;--sapBlockLayer_Opacity: .2;--sapTab_TextColor: #131e29;--sapTab_ForegroundColor: #0064d9;--sapTab_IconColor: #0064d9;--sapTab_Background: #fff;--sapTab_Selected_TextColor: #0064d9;--sapTab_Selected_IconColor: #fff;--sapTab_Selected_Background: #0064d9;--sapTab_Selected_Indicator_Dimension: .1875rem;--sapTab_Positive_TextColor: #256f3a;--sapTab_Positive_ForegroundColor: #30914c;--sapTab_Positive_IconColor: #30914c;--sapTab_Positive_Selected_TextColor: #256f3a;--sapTab_Positive_Selected_IconColor: #fff;--sapTab_Positive_Selected_Background: #30914c;--sapTab_Negative_TextColor: #aa0808;--sapTab_Negative_ForegroundColor: #f53232;--sapTab_Negative_IconColor: #f53232;--sapTab_Negative_Selected_TextColor: #aa0808;--sapTab_Negative_Selected_IconColor: #fff;--sapTab_Negative_Selected_Background: #f53232;--sapTab_Critical_TextColor: #b44f00;--sapTab_Critical_ForegroundColor: #e76500;--sapTab_Critical_IconColor: #e76500;--sapTab_Critical_Selected_TextColor: #b44f00;--sapTab_Critical_Selected_IconColor: #fff;--sapTab_Critical_Selected_Background: #e76500;--sapTab_Neutral_TextColor: #131e29;--sapTab_Neutral_ForegroundColor: #788fa6;--sapTab_Neutral_IconColor: #788fa6;--sapTab_Neutral_Selected_TextColor: #131e29;--sapTab_Neutral_Selected_IconColor: #fff;--sapTab_Neutral_Selected_Background: #788fa6;--sapTile_Background: #fff;--sapTile_Hover_Background: #eaecee;--sapTile_Active_Background: #dee2e5;--sapTile_BorderColor: transparent;--sapTile_BorderCornerRadius: 1rem;--sapTile_TitleTextColor: #131e29;--sapTile_TextColor: #556b82;--sapTile_IconColor: #556b82;--sapTile_SeparatorColor: transparent;--sapTile_Interactive_BorderColor: #b3b3b3;--sapTile_OverlayBackground: #fff;--sapTile_OverlayForegroundColor: #131e29;--sapTile_Hover_ContentBackground: #fff;--sapTile_Active_ContentBackground: #fff;--sapAccentColor1: #d27700;--sapAccentColor2: #aa0808;--sapAccentColor3: #ba066c;--sapAccentColor4: #a100c2;--sapAccentColor5: #5d36ff;--sapAccentColor6: #0057d2;--sapAccentColor7: #046c7a;--sapAccentColor8: #256f3a;--sapAccentColor9: #6c32a9;--sapAccentColor10: #5b738b;--sapAccentBackgroundColor1: #fff3b8;--sapAccentBackgroundColor2: #ffd0e7;--sapAccentBackgroundColor3: #ffdbe7;--sapAccentBackgroundColor4: #ffdcf3;--sapAccentBackgroundColor5: #ded3ff;--sapAccentBackgroundColor6: #d1efff;--sapAccentBackgroundColor7: #c2fcee;--sapAccentBackgroundColor8: #ebf5cb;--sapAccentBackgroundColor9: #ddccf0;--sapAccentBackgroundColor10: #eaecee;--sapIndicationColor_1: #840606;--sapIndicationColor_1_Background: #840606;--sapIndicationColor_1_BorderColor: #840606;--sapIndicationColor_1_TextColor: #fff;--sapIndicationColor_1_Hover_Background: #6c0505;--sapIndicationColor_1_Active_Background: #fff;--sapIndicationColor_1_Active_BorderColor: #fb9d9d;--sapIndicationColor_1_Active_TextColor: #840606;--sapIndicationColor_1_Selected_Background: #fff;--sapIndicationColor_1_Selected_BorderColor: #fb9d9d;--sapIndicationColor_1_Selected_TextColor: #840606;--sapIndicationColor_1b: #fb9d9d;--sapIndicationColor_1b_TextColor: #830707;--sapIndicationColor_1b_Background: #fb9d9d;--sapIndicationColor_1b_BorderColor: #fb9d9d;--sapIndicationColor_1b_Hover_Background: #fa8585;--sapIndicationColor_2: #aa0808;--sapIndicationColor_2_Background: #aa0808;--sapIndicationColor_2_BorderColor: #aa0808;--sapIndicationColor_2_TextColor: #fff;--sapIndicationColor_2_Hover_Background: #920707;--sapIndicationColor_2_Active_Background: #fff;--sapIndicationColor_2_Active_BorderColor: #fcc4c4;--sapIndicationColor_2_Active_TextColor: #aa0808;--sapIndicationColor_2_Selected_Background: #fff;--sapIndicationColor_2_Selected_BorderColor: #fcc4c4;--sapIndicationColor_2_Selected_TextColor: #aa0808;--sapIndicationColor_2b: #fcc4c4;--sapIndicationColor_2b_TextColor: #a90909;--sapIndicationColor_2b_Background: #fcc4c4;--sapIndicationColor_2b_BorderColor: #fcc4c4;--sapIndicationColor_2b_Hover_Background: #fbacac;--sapIndicationColor_3: #b95100;--sapIndicationColor_3_Background: #e76500;--sapIndicationColor_3_BorderColor: #e76500;--sapIndicationColor_3_TextColor: #fff;--sapIndicationColor_3_Hover_Background: #d85e00;--sapIndicationColor_3_Active_Background: #fff;--sapIndicationColor_3_Active_BorderColor: #ffdfc3;--sapIndicationColor_3_Active_TextColor: #b95100;--sapIndicationColor_3_Selected_Background: #fff;--sapIndicationColor_3_Selected_BorderColor: #ffdfc3;--sapIndicationColor_3_Selected_TextColor: #b95100;--sapIndicationColor_3b: #ffdfc3;--sapIndicationColor_3b_TextColor: #a44d00;--sapIndicationColor_3b_Background: #ffdfc3;--sapIndicationColor_3b_BorderColor: #ffdfc3;--sapIndicationColor_3b_Hover_Background: #ffd1a9;--sapIndicationColor_4: #256f3a;--sapIndicationColor_4_Background: #256f3a;--sapIndicationColor_4_BorderColor: #256f3a;--sapIndicationColor_4_TextColor: #fff;--sapIndicationColor_4_Hover_Background: #1f5c30;--sapIndicationColor_4_Active_Background: #fff;--sapIndicationColor_4_Active_BorderColor: #bae8bc;--sapIndicationColor_4_Active_TextColor: #256f3a;--sapIndicationColor_4_Selected_Background: #fff;--sapIndicationColor_4_Selected_BorderColor: #bae8bc;--sapIndicationColor_4_Selected_TextColor: #256f3a;--sapIndicationColor_4b: #bae8bc;--sapIndicationColor_4b_TextColor: #256f28;--sapIndicationColor_4b_Background: #bae8bc;--sapIndicationColor_4b_BorderColor: #bae8bc;--sapIndicationColor_4b_Hover_Background: #a7e2a9;--sapIndicationColor_5: #0070f2;--sapIndicationColor_5_Background: #0070f2;--sapIndicationColor_5_BorderColor: #0070f2;--sapIndicationColor_5_TextColor: #fff;--sapIndicationColor_5_Hover_Background: #0064d9;--sapIndicationColor_5_Active_Background: #fff;--sapIndicationColor_5_Active_BorderColor: #d9ebff;--sapIndicationColor_5_Active_TextColor: #0070f2;--sapIndicationColor_5_Selected_Background: #fff;--sapIndicationColor_5_Selected_BorderColor: #d9ebff;--sapIndicationColor_5_Selected_TextColor: #0070f2;--sapIndicationColor_5b: #d9ebff;--sapIndicationColor_5b_TextColor: #0067d9;--sapIndicationColor_5b_Background: #d9ebff;--sapIndicationColor_5b_BorderColor: #d9ebff;--sapIndicationColor_5b_Hover_Background: #c0deff;--sapIndicationColor_6: #046c7a;--sapIndicationColor_6_Background: #046c7a;--sapIndicationColor_6_BorderColor: #046c7a;--sapIndicationColor_6_TextColor: #fff;--sapIndicationColor_6_Hover_Background: #035661;--sapIndicationColor_6_Active_Background: #fff;--sapIndicationColor_6_Active_BorderColor: #cdf5ec;--sapIndicationColor_6_Active_TextColor: #046c7a;--sapIndicationColor_6_Selected_Background: #fff;--sapIndicationColor_6_Selected_BorderColor: #cdf5ec;--sapIndicationColor_6_Selected_TextColor: #046c7a;--sapIndicationColor_6b: #cdf5ec;--sapIndicationColor_6b_TextColor: #156b58;--sapIndicationColor_6b_Background: #cdf5ec;--sapIndicationColor_6b_BorderColor: #cdf5ec;--sapIndicationColor_6b_Hover_Background: #b8f1e4;--sapIndicationColor_7: #5d36ff;--sapIndicationColor_7_Background: #5d36ff;--sapIndicationColor_7_BorderColor: #5d36ff;--sapIndicationColor_7_TextColor: #fff;--sapIndicationColor_7_Hover_Background: #481cff;--sapIndicationColor_7_Active_Background: #fff;--sapIndicationColor_7_Active_BorderColor: #e2dbff;--sapIndicationColor_7_Active_TextColor: #5d36ff;--sapIndicationColor_7_Selected_Background: #fff;--sapIndicationColor_7_Selected_BorderColor: #e2dbff;--sapIndicationColor_7_Selected_TextColor: #5d36ff;--sapIndicationColor_7b: #e2dbff;--sapIndicationColor_7b_TextColor: #5f38ff;--sapIndicationColor_7b_Background: #e2dbff;--sapIndicationColor_7b_BorderColor: #e2dbff;--sapIndicationColor_7b_Hover_Background: #cdc2ff;--sapIndicationColor_8: #a100c2;--sapIndicationColor_8_Background: #a100c2;--sapIndicationColor_8_BorderColor: #a100c2;--sapIndicationColor_8_TextColor: #fff;--sapIndicationColor_8_Hover_Background: #8c00a9;--sapIndicationColor_8_Active_Background: #fff;--sapIndicationColor_8_Active_BorderColor: #f8d6ff;--sapIndicationColor_8_Active_TextColor: #a100c2;--sapIndicationColor_8_Selected_Background: #fff;--sapIndicationColor_8_Selected_BorderColor: #f8d6ff;--sapIndicationColor_8_Selected_TextColor: #a100c2;--sapIndicationColor_8b: #f8d6ff;--sapIndicationColor_8b_TextColor: #a100c2;--sapIndicationColor_8b_Background: #f8d6ff;--sapIndicationColor_8b_BorderColor: #f8d6ff;--sapIndicationColor_8b_Hover_Background: #f4bdff;--sapIndicationColor_9: #1d2d3e;--sapIndicationColor_9_Background: #1d2d3e;--sapIndicationColor_9_BorderColor: #1d2d3e;--sapIndicationColor_9_TextColor: #fff;--sapIndicationColor_9_Hover_Background: #15202d;--sapIndicationColor_9_Active_Background: #fff;--sapIndicationColor_9_Active_BorderColor: #d9d9d9;--sapIndicationColor_9_Active_TextColor: #1d2d3e;--sapIndicationColor_9_Selected_Background: #fff;--sapIndicationColor_9_Selected_BorderColor: #d9d9d9;--sapIndicationColor_9_Selected_TextColor: #1d2d3e;--sapIndicationColor_9b: #fff;--sapIndicationColor_9b_TextColor: #2e2e2e;--sapIndicationColor_9b_Background: #fff;--sapIndicationColor_9b_BorderColor: #d9d9d9;--sapIndicationColor_9b_Hover_Background: #f2f2f2;--sapIndicationColor_10: #45484a;--sapIndicationColor_10_Background: #83888b;--sapIndicationColor_10_BorderColor: #83888b;--sapIndicationColor_10_TextColor: #fff;--sapIndicationColor_10_Hover_Background: #767b7e;--sapIndicationColor_10_Active_Background: #fff;--sapIndicationColor_10_Active_BorderColor: #eaecee;--sapIndicationColor_10_Active_TextColor: #45484a;--sapIndicationColor_10_Selected_Background: #fff;--sapIndicationColor_10_Selected_BorderColor: #eaecee;--sapIndicationColor_10_Selected_TextColor: #45484a;--sapIndicationColor_10b: #eaecee;--sapIndicationColor_10b_TextColor: #464646;--sapIndicationColor_10b_Background: #eaecee;--sapIndicationColor_10b_BorderColor: #eaecee;--sapIndicationColor_10b_Hover_Background: #dcdfe3;--sapLegend_WorkingBackground: #fff;--sapLegend_NonWorkingBackground: #ebebeb;--sapLegend_CurrentDateTime: #a100c2;--sapLegendColor1: #c35500;--sapLegendColor2: #d23a0a;--sapLegendColor3: #df1278;--sapLegendColor4: #840606;--sapLegendColor5: #cc00dc;--sapLegendColor6: #0057d2;--sapLegendColor7: #07838f;--sapLegendColor8: #188918;--sapLegendColor9: #5b738b;--sapLegendColor10: #7800a4;--sapLegendColor11: #a93e00;--sapLegendColor12: #aa2608;--sapLegendColor13: #ba066c;--sapLegendColor14: #8d2a00;--sapLegendColor15: #4e247a;--sapLegendColor16: #002a86;--sapLegendColor17: #035663;--sapLegendColor18: #1e592f;--sapLegendColor19: #1a4796;--sapLegendColor20: #470ced;--sapLegendBackgroundColor1: #ffef9f;--sapLegendBackgroundColor2: #feeae1;--sapLegendBackgroundColor3: #fbf6f8;--sapLegendBackgroundColor4: #fbebeb;--sapLegendBackgroundColor5: #ffe5fe;--sapLegendBackgroundColor6: #d1efff;--sapLegendBackgroundColor7: #c2fcee;--sapLegendBackgroundColor8: #f5fae5;--sapLegendBackgroundColor9: #f5f6f7;--sapLegendBackgroundColor10: #fff0fa;--sapLegendBackgroundColor11: #fff8d6;--sapLegendBackgroundColor12: #fff6f6;--sapLegendBackgroundColor13: #f7ebef;--sapLegendBackgroundColor14: #f1ecd5;--sapLegendBackgroundColor15: #f0e7f8;--sapLegendBackgroundColor16: #ebf8ff;--sapLegendBackgroundColor17: #dafdf5;--sapLegendBackgroundColor18: #ebf5cb;--sapLegendBackgroundColor19: #fafdff;--sapLegendBackgroundColor20: #eceeff;--sapChart_Background: #fff;--sapChart_ContrastTextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapChart_ContrastShadowColor: #fff;--sapChart_ContrastLineColor: #fff;--sapChart_LineColor_1: #e1e6eb;--sapChart_LineColor_2: #768da4;--sapChart_LineColor_3: #000001;--sapChart_Choropleth_Background: #edf0f3;--sapChart_ChoroplethRegion_Background: #758ca4;--sapChart_ChoroplethRegion_BorderColor: #edf0f3;--sapChart_Data_TextColor: #000;--sapChart_Data_ContrastTextColor: #fff;--sapChart_Data_InteractiveColor: #000001;--sapChart_Data_Active_Background: #dee2e5;--sapChart_IBCS_Actual: #233649;--sapChart_IBCS_Previous: #758ca4;--sapChart_IBCS_Good: #287a40;--sapChart_IBCS_Bad: #d00a0a;--sapChart_OrderedColor_1: #168eff;--sapChart_OrderedColor_2: #c87b00;--sapChart_OrderedColor_3: #75980b;--sapChart_OrderedColor_4: #df1278;--sapChart_OrderedColor_5: #8b47d7;--sapChart_OrderedColor_6: #049f9a;--sapChart_OrderedColor_7: #0070f2;--sapChart_OrderedColor_8: #cc00dc;--sapChart_OrderedColor_9: #798c77;--sapChart_OrderedColor_10: #da6c6c;--sapChart_OrderedColor_11: #5d36ff;--sapChart_OrderedColor_12: #a68a5b;--sapChart_Bad: #f53232;--sapChart_Critical: #e26300;--sapChart_Good: #30914c;--sapChart_Neutral: #758ca4;--sapChart_Sequence_1_Plus3: #8bc7ff;--sapChart_Sequence_1_Plus3_TextColor: #000;--sapChart_Sequence_1_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_Plus2: #62b3ff;--sapChart_Sequence_1_Plus2_TextColor: #000;--sapChart_Sequence_1_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_Plus1: #3fa2ff;--sapChart_Sequence_1_Plus1_TextColor: #000;--sapChart_Sequence_1_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1: #168eff;--sapChart_Sequence_1_TextColor: #000;--sapChart_Sequence_1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_BorderColor: #0074e2;--sapChart_Sequence_1_Minus1: #0074e2;--sapChart_Sequence_1_Minus1_TextColor: #fff;--sapChart_Sequence_1_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus2: #0065c3;--sapChart_Sequence_1_Minus2_TextColor: #fff;--sapChart_Sequence_1_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus3: #0055a5;--sapChart_Sequence_1_Minus3_TextColor: #fff;--sapChart_Sequence_1_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus4: #003b72;--sapChart_Sequence_1_Minus4_TextColor: #fff;--sapChart_Sequence_1_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus5: #00305d;--sapChart_Sequence_1_Minus5_TextColor: #fff;--sapChart_Sequence_1_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Plus3: #efbf72;--sapChart_Sequence_2_Plus3_TextColor: #000;--sapChart_Sequence_2_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_Plus2: #eaaa44;--sapChart_Sequence_2_Plus2_TextColor: #000;--sapChart_Sequence_2_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_Plus1: #e29419;--sapChart_Sequence_2_Plus1_TextColor: #000;--sapChart_Sequence_2_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2: #c87b00;--sapChart_Sequence_2_TextColor: #000;--sapChart_Sequence_2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_BorderColor: #9f6200;--sapChart_Sequence_2_Minus1: #9f6200;--sapChart_Sequence_2_Minus1_TextColor: #fff;--sapChart_Sequence_2_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus2: #7c4c00;--sapChart_Sequence_2_Minus2_TextColor: #fff;--sapChart_Sequence_2_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus3: #623c00;--sapChart_Sequence_2_Minus3_TextColor: #fff;--sapChart_Sequence_2_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus4: #492d00;--sapChart_Sequence_2_Minus4_TextColor: #fff;--sapChart_Sequence_2_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus5: #2f1d00;--sapChart_Sequence_2_Minus5_TextColor: #fff;--sapChart_Sequence_2_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Plus3: #b9d369;--sapChart_Sequence_3_Plus3_TextColor: #000;--sapChart_Sequence_3_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_Plus2: #a6c742;--sapChart_Sequence_3_Plus2_TextColor: #000;--sapChart_Sequence_3_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_Plus1: #8fad33;--sapChart_Sequence_3_Plus1_TextColor: #000;--sapChart_Sequence_3_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3: #75980b;--sapChart_Sequence_3_TextColor: #000;--sapChart_Sequence_3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_BorderColor: #587208;--sapChart_Sequence_3_Minus1: #587208;--sapChart_Sequence_3_Minus1_TextColor: #fff;--sapChart_Sequence_3_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus2: #3e5106;--sapChart_Sequence_3_Minus2_TextColor: #fff;--sapChart_Sequence_3_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus3: #2c3904;--sapChart_Sequence_3_Minus3_TextColor: #fff;--sapChart_Sequence_3_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus4: #212b03;--sapChart_Sequence_3_Minus4_TextColor: #fff;--sapChart_Sequence_3_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus5: #161c02;--sapChart_Sequence_3_Minus5_TextColor: #fff;--sapChart_Sequence_3_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Plus3: #f473b3;--sapChart_Sequence_4_Plus3_TextColor: #000;--sapChart_Sequence_4_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4_Plus2: #f14d9e;--sapChart_Sequence_4_Plus2_TextColor: #000;--sapChart_Sequence_4_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4_Plus1: #ee278a;--sapChart_Sequence_4_Plus1_TextColor: #000;--sapChart_Sequence_4_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4: #df1278;--sapChart_Sequence_4_TextColor: #fff;--sapChart_Sequence_4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_BorderColor: #df1278;--sapChart_Sequence_4_Minus1: #b90f64;--sapChart_Sequence_4_Minus1_TextColor: #fff;--sapChart_Sequence_4_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus2: #930c4f;--sapChart_Sequence_4_Minus2_TextColor: #fff;--sapChart_Sequence_4_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus3: #770a40;--sapChart_Sequence_4_Minus3_TextColor: #fff;--sapChart_Sequence_4_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus4: #51072c;--sapChart_Sequence_4_Minus4_TextColor: #fff;--sapChart_Sequence_4_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus5: #3a051f;--sapChart_Sequence_4_Minus5_TextColor: #fff;--sapChart_Sequence_4_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Plus3: #d5bcf0;--sapChart_Sequence_5_Plus3_TextColor: #000;--sapChart_Sequence_5_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5_Plus2: #b994e0;--sapChart_Sequence_5_Plus2_TextColor: #000;--sapChart_Sequence_5_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5_Plus1: #a679d8;--sapChart_Sequence_5_Plus1_TextColor: #000;--sapChart_Sequence_5_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5: #8b47d7;--sapChart_Sequence_5_TextColor: #fff;--sapChart_Sequence_5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_BorderColor: #8b47d7;--sapChart_Sequence_5_Minus1: #7236b5;--sapChart_Sequence_5_Minus1_TextColor: #fff;--sapChart_Sequence_5_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus2: #5e2c96;--sapChart_Sequence_5_Minus2_TextColor: #fff;--sapChart_Sequence_5_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus3: #522682;--sapChart_Sequence_5_Minus3_TextColor: #fff;--sapChart_Sequence_5_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus4: #46216f;--sapChart_Sequence_5_Minus4_TextColor: #fff;--sapChart_Sequence_5_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus5: #341358;--sapChart_Sequence_5_Minus5_TextColor: #fff;--sapChart_Sequence_5_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Plus3: #64ede9;--sapChart_Sequence_6_Plus3_TextColor: #000;--sapChart_Sequence_6_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_Plus2: #2ee0da;--sapChart_Sequence_6_Plus2_TextColor: #000;--sapChart_Sequence_6_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_Plus1: #05c7c1;--sapChart_Sequence_6_Plus1_TextColor: #000;--sapChart_Sequence_6_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6: #049f9a;--sapChart_Sequence_6_TextColor: #000;--sapChart_Sequence_6_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_BorderColor: #05c7c1;--sapChart_Sequence_6_Minus1: #02837f;--sapChart_Sequence_6_Minus1_TextColor: #fff;--sapChart_Sequence_6_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus2: #006663;--sapChart_Sequence_6_Minus2_TextColor: #fff;--sapChart_Sequence_6_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus3: #00514f;--sapChart_Sequence_6_Minus3_TextColor: #fff;--sapChart_Sequence_6_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus4: #003d3b;--sapChart_Sequence_6_Minus4_TextColor: #fff;--sapChart_Sequence_6_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus5: #002322;--sapChart_Sequence_6_Minus5_TextColor: #fff;--sapChart_Sequence_6_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Plus3: #68aeff;--sapChart_Sequence_7_Plus3_TextColor: #000;--sapChart_Sequence_7_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7_Plus2: #4098ff;--sapChart_Sequence_7_Plus2_TextColor: #000;--sapChart_Sequence_7_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7_Plus1: #1c85ff;--sapChart_Sequence_7_Plus1_TextColor: #000;--sapChart_Sequence_7_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7: #0070f2;--sapChart_Sequence_7_TextColor: #fff;--sapChart_Sequence_7_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_BorderColor: #0070f2;--sapChart_Sequence_7_Minus1: #0062d3;--sapChart_Sequence_7_Minus1_TextColor: #fff;--sapChart_Sequence_7_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus2: #0054b5;--sapChart_Sequence_7_Minus2_TextColor: #fff;--sapChart_Sequence_7_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus3: #00418c;--sapChart_Sequence_7_Minus3_TextColor: #fff;--sapChart_Sequence_7_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus4: #00244f;--sapChart_Sequence_7_Minus4_TextColor: #fff;--sapChart_Sequence_7_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus5: #001b3a;--sapChart_Sequence_7_Minus5_TextColor: #fff;--sapChart_Sequence_7_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Plus3: #f462ff;--sapChart_Sequence_8_Plus3_TextColor: #000;--sapChart_Sequence_8_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8_Plus2: #f034ff;--sapChart_Sequence_8_Plus2_TextColor: #000;--sapChart_Sequence_8_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8_Plus1: #ed0bff;--sapChart_Sequence_8_Plus1_TextColor: #000;--sapChart_Sequence_8_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8: #cc00dc;--sapChart_Sequence_8_TextColor: #fff;--sapChart_Sequence_8_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_BorderColor: #cc00dc;--sapChart_Sequence_8_Minus1: #a600b3;--sapChart_Sequence_8_Minus1_TextColor: #fff;--sapChart_Sequence_8_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus2: #80008a;--sapChart_Sequence_8_Minus2_TextColor: #fff;--sapChart_Sequence_8_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus3: #6d0076;--sapChart_Sequence_8_Minus3_TextColor: #fff;--sapChart_Sequence_8_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus4: #56005d;--sapChart_Sequence_8_Minus4_TextColor: #fff;--sapChart_Sequence_8_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus5: #350039;--sapChart_Sequence_8_Minus5_TextColor: #fff;--sapChart_Sequence_8_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Plus3: #bdc6bc;--sapChart_Sequence_9_Plus3_TextColor: #000;--sapChart_Sequence_9_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_Plus2: #b5bfb4;--sapChart_Sequence_9_Plus2_TextColor: #000;--sapChart_Sequence_9_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_Plus1: #97a695;--sapChart_Sequence_9_Plus1_TextColor: #000;--sapChart_Sequence_9_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9: #798c77;--sapChart_Sequence_9_TextColor: #000;--sapChart_Sequence_9_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_BorderColor: #798c77;--sapChart_Sequence_9_Minus1: #667664;--sapChart_Sequence_9_Minus1_TextColor: #fff;--sapChart_Sequence_9_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus2: #536051;--sapChart_Sequence_9_Minus2_TextColor: #fff;--sapChart_Sequence_9_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus3: #404a3f;--sapChart_Sequence_9_Minus3_TextColor: #fff;--sapChart_Sequence_9_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus4: #2d342c;--sapChart_Sequence_9_Minus4_TextColor: #fff;--sapChart_Sequence_9_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus5: #1e231e;--sapChart_Sequence_9_Minus5_TextColor: #fff;--sapChart_Sequence_9_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Plus3: #f1c6c6;--sapChart_Sequence_10_Plus3_TextColor: #000;--sapChart_Sequence_10_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Plus2: #eaadad;--sapChart_Sequence_10_Plus2_TextColor: #000;--sapChart_Sequence_10_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Plus1: #e28d8d;--sapChart_Sequence_10_Plus1_TextColor: #000;--sapChart_Sequence_10_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10: #da6c6c;--sapChart_Sequence_10_TextColor: #000;--sapChart_Sequence_10_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_BorderColor: #b75757;--sapChart_Sequence_10_Minus1: #b75757;--sapChart_Sequence_10_Minus1_TextColor: #000;--sapChart_Sequence_10_Minus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Minus2: #9d4343;--sapChart_Sequence_10_Minus2_TextColor: #fff;--sapChart_Sequence_10_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus3: #803737;--sapChart_Sequence_10_Minus3_TextColor: #fff;--sapChart_Sequence_10_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus4: #672c2c;--sapChart_Sequence_10_Minus4_TextColor: #fff;--sapChart_Sequence_10_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus5: #562424;--sapChart_Sequence_10_Minus5_TextColor: #fff;--sapChart_Sequence_10_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Plus3: #c0b0ff;--sapChart_Sequence_11_Plus3_TextColor: #000;--sapChart_Sequence_11_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11_Plus2: #9b83ff;--sapChart_Sequence_11_Plus2_TextColor: #000;--sapChart_Sequence_11_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11_Plus1: #8669ff;--sapChart_Sequence_11_Plus1_TextColor: #000;--sapChart_Sequence_11_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11: #5d36ff;--sapChart_Sequence_11_TextColor: #fff;--sapChart_Sequence_11_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_BorderColor: #5d36ff;--sapChart_Sequence_11_Minus1: #4b25e7;--sapChart_Sequence_11_Minus1_TextColor: #fff;--sapChart_Sequence_11_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus2: #3a17cd;--sapChart_Sequence_11_Minus2_TextColor: #fff;--sapChart_Sequence_11_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus3: #2f13a8;--sapChart_Sequence_11_Minus3_TextColor: #fff;--sapChart_Sequence_11_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus4: #250f83;--sapChart_Sequence_11_Minus4_TextColor: #fff;--sapChart_Sequence_11_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus5: #180955;--sapChart_Sequence_11_Minus5_TextColor: #fff;--sapChart_Sequence_11_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Plus3: #e4ddcf;--sapChart_Sequence_12_Plus3_TextColor: #000;--sapChart_Sequence_12_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_Plus2: #dacebb;--sapChart_Sequence_12_Plus2_TextColor: #000;--sapChart_Sequence_12_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_Plus1: #c4b293;--sapChart_Sequence_12_Plus1_TextColor: #000;--sapChart_Sequence_12_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12: #a68a5b;--sapChart_Sequence_12_TextColor: #000;--sapChart_Sequence_12_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_BorderColor: #a68a5b;--sapChart_Sequence_12_Minus1: #8c744c;--sapChart_Sequence_12_Minus1_TextColor: #fff;--sapChart_Sequence_12_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus2: #786441;--sapChart_Sequence_12_Minus2_TextColor: #fff;--sapChart_Sequence_12_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus3: #5e4e33;--sapChart_Sequence_12_Minus3_TextColor: #fff;--sapChart_Sequence_12_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus4: #433825;--sapChart_Sequence_12_Minus4_TextColor: #fff;--sapChart_Sequence_12_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus5: #30271a;--sapChart_Sequence_12_Minus5_TextColor: #fff;--sapChart_Sequence_12_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Plus3: #fdcece;--sapChart_Sequence_Bad_Plus3_TextColor: #000;--sapChart_Sequence_Bad_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_Plus2: #fa9d9d;--sapChart_Sequence_Bad_Plus2_TextColor: #000;--sapChart_Sequence_Bad_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_Plus1: #f86c6c;--sapChart_Sequence_Bad_Plus1_TextColor: #000;--sapChart_Sequence_Bad_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad: #f53232;--sapChart_Sequence_Bad_TextColor: #000;--sapChart_Sequence_Bad_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_BorderColor: #f53232;--sapChart_Sequence_Bad_Minus1: #d00a0a;--sapChart_Sequence_Bad_Minus1_TextColor: #fff;--sapChart_Sequence_Bad_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus2: #a90808;--sapChart_Sequence_Bad_Minus2_TextColor: #fff;--sapChart_Sequence_Bad_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus3: #830606;--sapChart_Sequence_Bad_Minus3_TextColor: #fff;--sapChart_Sequence_Bad_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus4: #570404;--sapChart_Sequence_Bad_Minus4_TextColor: #fff;--sapChart_Sequence_Bad_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus5: #320000;--sapChart_Sequence_Bad_Minus5_TextColor: #fff;--sapChart_Sequence_Bad_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Plus3: #ffb881;--sapChart_Sequence_Critical_Plus3_TextColor: #000;--sapChart_Sequence_Critical_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_Plus2: #ff933f;--sapChart_Sequence_Critical_Plus2_TextColor: #000;--sapChart_Sequence_Critical_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_Plus1: #ff760c;--sapChart_Sequence_Critical_Plus1_TextColor: #000;--sapChart_Sequence_Critical_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical: #e26300;--sapChart_Sequence_Critical_TextColor: #000;--sapChart_Sequence_Critical_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_BorderColor: #e26300;--sapChart_Sequence_Critical_Minus1: #c35600;--sapChart_Sequence_Critical_Minus1_TextColor: #fff;--sapChart_Sequence_Critical_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus2: #aa4a00;--sapChart_Sequence_Critical_Minus2_TextColor: #fff;--sapChart_Sequence_Critical_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus3: #903f00;--sapChart_Sequence_Critical_Minus3_TextColor: #fff;--sapChart_Sequence_Critical_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus4: #6d3000;--sapChart_Sequence_Critical_Minus4_TextColor: #fff;--sapChart_Sequence_Critical_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus5: #492000;--sapChart_Sequence_Critical_Minus5_TextColor: #fff;--sapChart_Sequence_Critical_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Plus3: #88d79f;--sapChart_Sequence_Good_Plus3_TextColor: #000;--sapChart_Sequence_Good_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_Plus2: #56c776;--sapChart_Sequence_Good_Plus2_TextColor: #000;--sapChart_Sequence_Good_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_Plus1: #3ab05c;--sapChart_Sequence_Good_Plus1_TextColor: #000;--sapChart_Sequence_Good_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good: #30914c;--sapChart_Sequence_Good_TextColor: #000;--sapChart_Sequence_Good_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_BorderColor: #30914c;--sapChart_Sequence_Good_Minus1: #287a40;--sapChart_Sequence_Good_Minus1_TextColor: #fff;--sapChart_Sequence_Good_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus2: #226736;--sapChart_Sequence_Good_Minus2_TextColor: #fff;--sapChart_Sequence_Good_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus3: #1c542c;--sapChart_Sequence_Good_Minus3_TextColor: #fff;--sapChart_Sequence_Good_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus4: #13391e;--sapChart_Sequence_Good_Minus4_TextColor: #fff;--sapChart_Sequence_Good_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus5: #0a1e10;--sapChart_Sequence_Good_Minus5_TextColor: #fff;--sapChart_Sequence_Good_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Plus3: #edf0f3;--sapChart_Sequence_Neutral_Plus3_TextColor: #000;--sapChart_Sequence_Neutral_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_Plus2: #c2ccd7;--sapChart_Sequence_Neutral_Plus2_TextColor: #000;--sapChart_Sequence_Neutral_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_Plus1: #9aabbc;--sapChart_Sequence_Neutral_Plus1_TextColor: #000;--sapChart_Sequence_Neutral_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral: #758ca4;--sapChart_Sequence_Neutral_TextColor: #000;--sapChart_Sequence_Neutral_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_BorderColor: #758ca4;--sapChart_Sequence_Neutral_Minus1: #5b728b;--sapChart_Sequence_Neutral_Minus1_TextColor: #fff;--sapChart_Sequence_Neutral_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus2: #495e74;--sapChart_Sequence_Neutral_Minus2_TextColor: #fff;--sapChart_Sequence_Neutral_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus3: #364a5f;--sapChart_Sequence_Neutral_Minus3_TextColor: #fff;--sapChart_Sequence_Neutral_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus4: #233649;--sapChart_Sequence_Neutral_Minus4_TextColor: #fff;--sapChart_Sequence_Neutral_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus5: #1a2633;--sapChart_Sequence_Neutral_Minus5_TextColor: #fff;--sapChart_Sequence_Neutral_Minus5_TextShadow: 0 0 .125rem #223548;--sapBreakpoint_S_Min: 0;--sapBreakpoint_M_Min: 600px;--sapBreakpoint_L_Min: 1024px;--sapBreakpoint_XL_Min: 1440px;--sapSapThemeId: sap_horizon;--sapHighlightTextColor: #fff;--sapButton_Emphasized_FontWeight: bold;--sapShell_BackgroundGradient: linear-gradient(to bottom, #eff1f2, #eff1f2);--sapAt: @
|
|
86
|
+
or import '@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css'`)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();const Cg=new Map,wg=new Map,Bb=new Map,Xd=o=>{if(!Cg.has(o)){const e=wk(o.split("-"));Cg.set(o,e)}return Cg.get(o)},B4=o=>{if(!wg.has(o)){const e=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();wg.set(o,e)}return wg.get(o)},wk=o=>o.map((e,t)=>t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),Ab=o=>{const e=Bb.get(o);if(e)return e;const t=Xd(o),i=t.charAt(0).toUpperCase()+t.slice(1);return Bb.set(o,i),i},Eb=o=>{if(!(o instanceof HTMLElement))return"default";const e=o.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"},A4=o=>o instanceof HTMLSlotElement?o.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[o],Db=o=>o.reduce((e,t)=>e.concat(A4(t)),[]);let Sk=class{constructor(e){this.metadata=e}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const e={};if(this.slotsAreManaged()){const t=this.getSlots();for(const[i,a]of Object.entries(t)){const r=a.propertyName||i;e[r]=[],e[Xd(r)]=e[r]}}return this._initialState=e,e}static validateSlotValue(e,t){return kk(e,t)}getPureTag(){return this.metadata.tag||""}getTag(){const e=this.metadata.tag;if(!e)return"";const t=mC(e);return t?`${e}-${t}`:e}hasAttribute(e){return!this.getProperties()[e].noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute.bind(this)).map(B4)}canSlotText(){var e;return((e=this.getSlots().default)==null?void 0:e.type)===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.values(this.getSlots()).some(e=>e.individualSlots)}slotsAreManaged(){return!!this.metadata.managedSlots}supportsF6FastNavigation(){return!!this.metadata.fastNavigation}getProperties(){return this.metadata.properties||(this.metadata.properties={}),this.metadata.properties}getEvents(){return this.metadata.events||(this.metadata.events={}),this.metadata.events}getSlots(){return this.metadata.slots||(this.metadata.slots={}),this.metadata.slots}isLanguageAware(){return!!this.metadata.languageAware}isThemeAware(){return!!this.metadata.themeAware}needsCLDR(){return!!this.metadata.cldr}getShadowRootOptions(){return this.metadata.shadowRootOptions||{}}isFormAssociated(){return!!this.metadata.formAssociated}shouldInvalidateOnChildChange(e,t,i){const a=this.getSlots()[e].invalidateOnChildChange;if(a===void 0)return!1;if(typeof a=="boolean")return a;if(typeof a=="object"){if(t==="property"){if(a.properties===void 0)return!1;if(typeof a.properties=="boolean")return a.properties;if(Array.isArray(a.properties))return a.properties.includes(i);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if(t==="slot"){if(a.slots===void 0)return!1;if(typeof a.slots=="boolean")return a.slots;if(Array.isArray(a.slots))return a.slots.includes(i);throw new Error("Wrong format for invalidateOnChildChange.slots: boolean or array is expected")}}throw new Error("Wrong format for invalidateOnChildChange: boolean or object is expected")}getI18n(){return this.metadata.i18n||(this.metadata.i18n={}),this.metadata.i18n}};const kk=(o,e)=>(o&&A4(o).forEach(t=>{if(!(t instanceof e.type))throw new Error(`The element is not of type ${e.type.toString()}`)}),o),Tk=()=>Na("CustomStyle.eventProvider",new Fr),Ik="CustomCSSChange",B0=o=>{Tk().attachEvent(Ik,o)},Bk=()=>Na("CustomStyle.customCSSFor",{});B0(o=>{__({tag:o})});const Ak=o=>{const e=Bk();return e[o]?e[o].join(""):""},Rb=o=>Array.isArray(o)?o.filter(e=>!!e).flat(10).join(" "):o,Rp=new Map;B0(o=>{Rp.delete(`${o}_normal`)});const Ek=o=>{const e=o.getMetadata().getTag(),t=`${e}_normal`,i=yi("OpenUI5Enablement");if(!Rp.has(t)){let a="";i&&(a=Rb(i.getBusyIndicatorStyles()));const r=Ak(e)||"",n=`${Rb(o.styles)} ${r} ${a}`;Rp.set(t,n)}return Rp.get(t)},Pp=new Map;B0(o=>{Pp.delete(`${o}_normal`)});const Dk=o=>{const e=`${o.getMetadata().getTag()}_normal`;if(!Pp.has(e)){const t=Ek(o),i=new CSSStyleSheet;i.replaceSync(t),Pp.set(e,[i])}return Pp.get(e)},Rk=o=>{const e=o.constructor,t=o.shadowRoot;if(!t){console.warn("There is no shadow root to update");return}t.adoptedStyleSheets=[Gx(),...Dk(e)],e.renderer(o,t)},Pk=[],Lk=o=>Pk.some(e=>o.startsWith(e)),Bv=new WeakMap,Nk=(o,e,t)=>{const i=new MutationObserver(e);Bv.set(o,i),i.observe(o,t)},Mk=o=>{const e=Bv.get(o);e&&(e.disconnect(),Bv.delete(o))},Ok=o=>o.matches(":dir(rtl)")?"rtl":"ltr",Fk=["disabled","title","hidden","role","draggable"],Pb=o=>Fk.includes(o)||o.startsWith("aria")?!0:![HTMLElement,Element,Node].some(e=>e.prototype.hasOwnProperty(o)),E4=(o,e)=>{if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(o[t]!==e[t])return!1;return!0},Ls=(o,e)=>o.call(e),D4=o=>{var t,i,a;const e=o.getAttribute("form");if(e){const r=((i=(t=o.getRootNode()).getElementById)==null?void 0:i.call(t,e))||document.getElementById(e);return r instanceof HTMLFormElement?r:null}return((a=o._internals)==null?void 0:a.form)??null},zk=o=>{P4(o)&&Av(o)},Av=o=>{var e,t;if((e=o._internals)!=null&&e.form){if(R4(o),!o.name){(t=o._internals)==null||t.setFormValue(null);return}o._internals.setFormValue(o.formFormattedValue)}},R4=async o=>{var e,t;if(!(!o.isUI5Element||!((e=o._internals)!=null&&e.form)))if(o._internals.setValidity({customError:!0}," "),await o.definePromise,o.formValidity&&Object.keys(o.formValidity).some(i=>i)){const i=await((t=o.formElementAnchor)==null?void 0:t.call(o));o._internals.setValidity(o.formValidity,o.formValidityMessage,i)}else o._internals.setValidity({})},Ev=async o=>{const e=D4(o);if(!e)return;const t=[...e.elements];await Promise.all(t.map(i=>P4(i)?R4(i):Promise.resolve())),e.requestSubmit()},$k=o=>{var e;(e=D4(o))==null||e.reset()},P4=o=>"formFormattedValue"in o&&"name"in o;function Zr(o){return e=>e!=null&&o in e&&e[o]===!0}let Hk=0;const Lb=new Map,Sg=new Map,Nb={fromAttribute(o,e){if(e===Boolean)return o!==null;if(e===Number)return o===null?void 0:parseFloat(o);if(e===Object||e===Array)try{return JSON.parse(o)}catch{return o}return o},toAttribute(o,e){return e===Boolean?o?"":null:e===Object||e===Array||o==null?null:String(o)}};function Sc(o){this._suppressInvalidation||this.constructor.getMetadata().isLanguageAware()&&Sv()||(this.onInvalidation(o),this._changedState.push(o),u4(this),this._invalidationEventProvider.fireEvent("invalidate",{...o,target:this}))}function Xk(o,e){do{const t=Object.getOwnPropertyDescriptor(o,e);if(t)return t;o=Object.getPrototypeOf(o)}while(o&&o!==HTMLElement.prototype)}var Gn;let z=(Gn=class extends HTMLElement{constructor(){super(),this.__shouldHydrate=!1,this._rendered=!1;const e=this.constructor;this._changedState=[],this._suppressInvalidation=!0,this._inDOM=!1,this._fullyConnected=!1,this._childChangeListeners=new Map,this._slotChangeListeners=new Map,this._invalidationEventProvider=new Fr,this._componentStateFinalizedEventProvider=new Fr;let t;this._domRefReadyPromise=new Promise(i=>{t=i}),this._domRefReadyPromise._deferredResolve=t,this._doNotSyncAttributes=new Set,this._slotsAssignedNodes=new WeakMap,this._state={...e.getMetadata().getInitialState()},this.initializedProperties=new Map,this.constructor.getMetadata().getPropertiesList().forEach(i=>{if(this.hasOwnProperty(i)){const a=this[i];this.initializedProperties.set(i,a)}}),this._internals=this.attachInternals(),this._initShadowRoot()}_initShadowRoot(){const e=this.constructor;if(e._needsShadowDOM()){const t={mode:"open"};this.shadowRoot?this.__shouldHydrate=!0:this.attachShadow({...t,...e.getMetadata().getShadowRootOptions()}),e.getMetadata().slotsAreManaged()&&this.shadowRoot.addEventListener("slotchange",this._onShadowRootSlotChange.bind(this))}}_onShadowRootSlotChange(e){var t;((t=e.target)==null?void 0:t.getRootNode())===this.shadowRoot&&this._processChildren()}get _id(){return this.__id||(this.__id=`ui5wc_${++Hk}`),this.__id}render(){const e=this.constructor.template;return Ls(e,this)}async connectedCallback(){const e=this.constructor;c4(this),this.setAttribute(e.getMetadata().getPureTag(),""),e.getMetadata().supportsF6FastNavigation()&&!this.hasAttribute("data-sap-ui-fastnavgroup")&&this.setAttribute("data-sap-ui-fastnavgroup","true");const t=e.getMetadata().slotsAreManaged();this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),Object.prototype.hasOwnProperty.call(e,"asyncFinished")||await e._definePromise;const i=Sv();e.getMetadata().isLanguageAware()&&i&&await i,this._inDOM&&(this._rendered||_4(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,this.onEnterDOM(),this.hasAttribute("autofocus")&&requestAnimationFrame(()=>{this.focus()}))}get definePromise(){const e=this.constructor;return!Object.prototype.hasOwnProperty.call(e,"asyncFinished")&&e._definePromise?e._definePromise:Promise.resolve()}disconnectedCallback(){const e=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,e&&this._stopObservingDOMChildren(),this._fullyConnected&&(this.onExitDOM(),this._fullyConnected=!1),this._domRefReadyPromise._deferredResolve(),vS(this),h4(this)}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}_startObservingDOMChildren(){const e=this.constructor.getMetadata();if(!e.hasSlots())return;const t=e.canSlotText(),i={childList:!0,subtree:t,characterData:t};Nk(this,this._processChildren.bind(this),i)}_stopObservingDOMChildren(){Mk(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor,t=e.getMetadata().getSlots(),i=e.getMetadata().canSlotText(),a=Array.from(i?this.childNodes:this.children),r=new Map,n=new Map;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;n.set(b,_),r.set(b,[...this._state[b]]),this._clearSlot(_,f)}const s=new Map,u=new Map;a.forEach((_,f)=>{const b=Eb(_),k=t[b];if(k===void 0){if(b!=="default"){const H=Object.keys(t).join(", ");console.warn(`Unknown slotName: ${b}, ignoring`,_,`Valid values are: ${H}`)}return}const $=k.propertyName||b;u.has($)?u.get($).push({child:_,idx:f}):u.set($,[{child:_,idx:f}])}),u.forEach((_,f)=>{this._state[f]=_.sort((b,k)=>b.idx-k.idx).map(b=>b.child),this._state[Xd(f)]=this._state[f]});const c=a.map(async _=>{const f=Eb(_),b=t[f];if(b!==void 0){if(b.individualSlots){const k=(s.get(f)||0)+1;s.set(f,k),_._individualSlot=`${f}-${k}`}if(_ instanceof HTMLElement){const k=_.localName;if(k.includes("-")&&!Lk(k)){if(!customElements.get(k)){const $=customElements.whenDefined(k);let H=Lb.get(k);H||(H=new Promise(X=>setTimeout(X,1e3)),Lb.set(k,H)),await Promise.race([$,H])}customElements.upgrade(_)}}if(_=e.getMetadata().constructor.validateSlotValue(_,b),ma(_)&&b.invalidateOnChildChange){const k=this._getChildChangeListener(f);_.attachInvalidate.call(_,k)}_ instanceof HTMLSlotElement&&this._attachSlotChange(_,f,!!b.invalidateOnChildChange)}});await Promise.all(c);let p=!1;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;E4(r.get(b),this._state[b])||(Sc.call(this,{type:"slot",name:n.get(b),reason:"children"}),p=!0,e.getMetadata().isFormAssociated()&&Av(this))}p||Sc.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(e,t){const i=t.propertyName||e;this._state[i].forEach(a=>{if(ma(a)){const r=this._getChildChangeListener(e);a.detachInvalidate.call(a,r)}a instanceof HTMLSlotElement&&this._detachSlotChange(a,e)}),this._state[i]=[],this._state[Xd(i)]=this._state[i]}attachInvalidate(e){this._invalidationEventProvider.attachEvent("invalidate",e)}detachInvalidate(e){this._invalidationEventProvider.detachEvent("invalidate",e)}_onChildChange(e,t){this.constructor.getMetadata().shouldInvalidateOnChildChange(e,t.type,t.name)&&Sc.call(this,{type:"slot",name:e,reason:"childchange",child:t.target})}attributeChangedCallback(e,t,i){let a;if(this._doNotSyncAttributes.has(e))return;const r=this.constructor.getMetadata().getProperties(),n=e.replace(/^ui5-/,""),s=Xd(n);if(r.hasOwnProperty(s)){const u=r[s];a=(u.converter??Nb).fromAttribute(i,u.type),this[s]=a}}formAssociatedCallback(){this.constructor.getMetadata().isFormAssociated()&&zk(this)}static get formAssociated(){return this.getMetadata().isFormAssociated()}_updateAttribute(e,t){const i=this.constructor;if(!i.getMetadata().hasAttribute(e))return;const a=i.getMetadata().getProperties()[e];if(a.type===Object||a.type===Array)return;const r=B4(e),n=(a.converter||Nb).toAttribute(t,a.type);this._doNotSyncAttributes.add(r),n==null?this.removeAttribute(r):this.setAttribute(r,n),this._doNotSyncAttributes.delete(r)}_getChildChangeListener(e){return this._childChangeListeners.has(e)||this._childChangeListeners.set(e,this._onChildChange.bind(this,e)),this._childChangeListeners.get(e)}_getSlotChangeListener(e){return this._slotChangeListeners.has(e)||this._slotChangeListeners.set(e,this._onSlotChange.bind(this,e)),this._slotChangeListeners.get(e)}_attachSlotChange(e,t,i){const a=this._getSlotChangeListener(t);e.addEventListener("slotchange",r=>{if(a.call(e,r),i){const n=this._slotsAssignedNodes.get(e);n&&n.forEach(u=>{if(ma(u)){const c=this._getChildChangeListener(t);u.detachInvalidate.call(u,c)}});const s=Db([e]);this._slotsAssignedNodes.set(e,s),s.forEach(u=>{if(ma(u)){const c=this._getChildChangeListener(t);u.attachInvalidate.call(u,c)}})}})}_detachSlotChange(e,t){e.removeEventListener("slotchange",this._getSlotChangeListener(t))}_onSlotChange(e){Sc.call(this,{type:"slot",name:e,reason:"slotchange"})}onInvalidation(e){}updateAttributes(){const e=this.constructor.getMetadata().getProperties();for(const[t,i]of Object.entries(e))this._updateAttribute(t,this[t])}_render(){const e=this.constructor;if(e.getMetadata().isLanguageAware()&&Sv())return;const t=e.getMetadata().hasIndividualSlots();this.initializedProperties.size>0&&(Array.from(this.initializedProperties.entries()).forEach(([i,a])=>{delete this[i],this[i]=a}),this.initializedProperties.clear()),this._suppressInvalidation=!0;try{this.onBeforeRendering(),this._rendered||this.updateAttributes(),this._componentStateFinalizedEventProvider.fireEvent("componentStateFinalized")}finally{this._suppressInvalidation=!1}this._changedState=[],e._needsShadowDOM()&&Rk(this),this._rendered=!0,t&&this._assignIndividualSlotsToChildren(),this.onAfterRendering()}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(e=>{e._individualSlot&&e.setAttribute("slot",e._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(typeof this._getRealDomRef=="function")return this._getRealDomRef();if(!(!this.shadowRoot||this.shadowRoot.children.length===0))return this.shadowRoot.children[0]}getFocusDomRef(){const e=this.getDomRef();if(e)return e.querySelector("[data-sap-focus-ref]")||e}async getFocusDomRefAsync(){return await this._waitForDomRef(),this.getFocusDomRef()}async focus(e){await this._waitForDomRef();const t=this.getFocusDomRef();t===this||!this.isConnected?HTMLElement.prototype.focus.call(this,e):t&&typeof t.focus=="function"&&t.focus(e)}fireEvent(e,t,i=!1,a=!0){const r=this._fireEvent(e,t,i,a),n=Ab(e);return n!==e?r&&this._fireEvent(n,t,i,a):r}fireDecoratorEvent(e,t){const i=this.getEventData(e),a=i?i.cancelable:!1,r=i?i.bubbles:!1,n=this._fireEvent(e,t,a,r),s=Ab(e);return s!==e?n&&this._fireEvent(s,t,a,r):n}_fireEvent(e,t,i=!1,a=!0){const r=new CustomEvent(`ui5-${e}`,{detail:t,composed:!1,bubbles:a,cancelable:i}),n=this.dispatchEvent(r);if(iS(e))return n;const s=new CustomEvent(e,{detail:t,composed:!1,bubbles:a,cancelable:i});return this.dispatchEvent(s)&&n}getEventData(e){return this.constructor.getMetadata().getEvents()[e]}getSlottedNodes(e){return Db(this._state[e]||[])}attachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.attachEvent("componentStateFinalized",e)}detachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.detachEvent("componentStateFinalized",e)}get effectiveDir(){return _S(this.constructor),Ok(this)}get isUI5Element(){return!0}get isUI5AbstractElement(){return!this.constructor._needsShadowDOM()}get classes(){return{}}get accessibilityInfo(){}static get observedAttributes(){return this.getMetadata().getAttributesList()}static get tagsToScope(){const e=this.getMetadata().getPureTag(),t=this.getUniqueDependencies().map(i=>i.getMetadata().getPureTag()).filter(Cv);return Cv(e)&&t.push(e),t}static _needsShadowDOM(){return!!this.template||Object.prototype.hasOwnProperty.call(this.prototype,"render")}static _generateAccessors(){const e=this.prototype,t=this.getMetadata().slotsAreManaged(),i=this.getMetadata().getProperties();for(const[a,r]of Object.entries(i)){Pb(a)||console.warn(`"${a}" is not a valid property name. Use a name that does not collide with DOM APIs`);const n=Xk(e,a);let s;n!=null&&n.set&&(s=n.set);let u;n!=null&&n.get&&(u=n.get),Object.defineProperty(e,a,{get(){return u?u.call(this):this._state[a]},set(c){const p=this.constructor,_=u?u.call(this):this._state[a];if(_!==c){if(s?s.call(this,c):this._state[a]=c,Sc.call(this,{type:"property",name:a,newValue:c,oldValue:_}),this._rendered){const f=u?u.call(this):this._state[a];this._updateAttribute(a,f)}p.getMetadata().isFormAssociated()&&Av(this)}}})}if(t){const a=this.getMetadata().getSlots();for(const[r,n]of Object.entries(a)){Pb(r)||console.warn(`"${r}" is not a valid property name. Use a name that does not collide with DOM APIs`);const s=n.propertyName||r;if(Object.getOwnPropertyDescriptor(e,s))continue;const u={get(){return this._state[s]!==void 0?this._state[s]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}};Object.defineProperty(e,s,u),s!==Xd(s)&&Object.defineProperty(e,Xd(s),u)}}}static get dependencies(){return[]}static cacheUniqueDependencies(){const e=this.dependencies.filter((t,i,a)=>a.indexOf(t)===i);Sg.set(this,e)}static getUniqueDependencies(){return Sg.has(this)||this.cacheUniqueDependencies(),Sg.get(this)||[]}static async onDefine(){return Promise.resolve()}static fetchI18nBundles(){return Promise.all(Object.entries(this.getMetadata().getI18n()).map(e=>{const{bundleName:t}=e[1];return p_(t)}))}static fetchCLDR(){return this.getMetadata().needsCLDR()?m4(lo().getLanguage(),lo().getRegion(),lo().getScript()):Promise.resolve()}static get i18nBundles(){return this.i18nBundleStorage}static define(){const e=async()=>{await Kw();const r=await Promise.all([this.fetchI18nBundles(),this.fetchCLDR(),this.onDefine()]),[n]=r;Object.entries(this.getMetadata().getI18n()).forEach((s,u)=>{const c=s[1].bundleName;this.i18nBundleStorage[c]=n[u]}),this.asyncFinished=!0};this._definePromise=e();const t=this.getMetadata().getTag(),i=uS(t),a=customElements.get(t);return a&&!i?cS(t):a||(this._generateAccessors(),lS(t),customElements.define(t,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let t=this;for(;t!==Gn;)t=Object.getPrototypeOf(t),e.unshift(t.metadata);const i=v0({},...e);return this._metadata=new Sk(i),this._metadata}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}},Gn.metadata={},Gn.styles="",Gn.i18nBundleStorage={},Gn);const ma=Zr("isUI5Element"),T=(o={})=>e=>{if(Object.prototype.hasOwnProperty.call(e,"metadata")||(e.metadata={}),typeof o=="string"){e.metadata.tag=o;return}const{tag:t,languageAware:i,themeAware:a,cldr:r,fastNavigation:n,formAssociated:s,shadowRootOptions:u}=o;e.metadata.tag=t,i&&(e.metadata.languageAware=i),r&&(e.metadata.cldr=r),a&&(e.metadata.themeAware=a),n&&(e.metadata.fastNavigation=n),s&&(e.metadata.formAssociated=s),u&&(e.metadata.shadowRootOptions=u),["renderer","template","styles","dependencies"].forEach(c=>{o[c]&&Object.defineProperty(e,c,{get:()=>o[c]})})},d=o=>(e,t)=>{const i=e.constructor;Object.prototype.hasOwnProperty.call(i,"metadata")||(i.metadata={});const a=i.metadata;a.properties||(a.properties={});const r=a.properties;r[t]||(r[t]=o??{})};function D(o){return(e,t)=>{const i=e.constructor;Object.prototype.hasOwnProperty.call(i,"metadata")||(i.metadata={});const a=i.metadata;a.slots||(a.slots={});const r=a.slots;if(o&&o.default&&r.default)throw new Error("Only one slot can be the default slot.");const n=o&&o.default?"default":t;o=o||{type:HTMLElement},o.type||(o.type=HTMLElement),r[n]||(r[n]=o),o.default&&(delete r.default.default,r.default.propertyName=t),i.metadata.managedSlots=!0}}const x=(o,e={})=>t=>{Object.prototype.hasOwnProperty.call(t,"metadata")||(t.metadata={});const i=t.metadata;i.events||(i.events={});const a=i.events;a[o]||(e.bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,a[o]=e)},V=o=>(e,t)=>{e.metadata.i18n||(e.metadata.i18n={}),Object.defineProperty(e,t,{get(){return e.i18nBundles[o]},set(){}}),e.metadata.i18n[t]={bundleName:o,target:e},e.metadata.languageAware=!0};var v5,xt,L4,Ud,Mb,N4,Dv,M4,A0,Rv,Pv,O4,Th={},F4=[],Uk=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,E0=Array.isArray;function Ns(o,e){for(var t in e)o[t]=e[t];return o}function D0(o){o&&o.parentNode&&o.parentNode.removeChild(o)}function jk(o,e,t){var i,a,r,n={};for(r in e)r=="key"?i=e[r]:r=="ref"?a=e[r]:n[r]=e[r];if(arguments.length>2&&(n.children=arguments.length>3?v5.call(arguments,2):t),typeof o=="function"&&o.defaultProps!=null)for(r in o.defaultProps)n[r]===void 0&&(n[r]=o.defaultProps[r]);return Lp(o,n,i,a,null)}function Lp(o,e,t,i,a){var r={type:o,props:e,key:t,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:a??++L4,__i:-1,__u:0};return a==null&&xt.vnode!=null&&xt.vnode(r),r}function g_(o){return o.children}function Np(o,e){this.props=o,this.context=e}function Au(o,e){if(e==null)return o.__?Au(o.__,o.__i+1):null;for(var t;e<o.__k.length;e++)if((t=o.__k[e])!=null&&t.__e!=null)return t.__e;return typeof o.type=="function"?Au(o):null}function z4(o){var e,t;if((o=o.__)!=null&&o.__c!=null){for(o.__e=o.__c.base=null,e=0;e<o.__k.length;e++)if((t=o.__k[e])!=null&&t.__e!=null){o.__e=o.__c.base=t.__e;break}return z4(o)}}function Lv(o){(!o.__d&&(o.__d=!0)&&Ud.push(o)&&!C1.__r++||Mb!==xt.debounceRendering)&&((Mb=xt.debounceRendering)||N4)(C1)}function C1(){var o,e,t,i,a,r,n,s;for(Ud.sort(Dv);o=Ud.shift();)o.__d&&(e=Ud.length,i=void 0,r=(a=(t=o).__v).__e,n=[],s=[],t.__P&&((i=Ns({},a)).__v=a.__v+1,xt.vnode&&xt.vnode(i),R0(t.__P,i,a,t.__n,t.__P.namespaceURI,32&a.__u?[r]:null,n,r??Au(a),!!(32&a.__u),s),i.__v=a.__v,i.__.__k[i.__i]=i,X4(n,i,s),i.__e!=r&&z4(i)),Ud.length>e&&Ud.sort(Dv));C1.__r=0}function $4(o,e,t,i,a,r,n,s,u,c,p){var _,f,b,k,$,H,X=i&&i.__k||F4,y=e.length;for(u=Vk(t,e,X,u),_=0;_<y;_++)(b=t.__k[_])!=null&&(f=b.__i===-1?Th:X[b.__i]||Th,b.__i=_,H=R0(o,b,f,a,r,n,s,u,c,p),k=b.__e,b.ref&&f.ref!=b.ref&&(f.ref&&P0(f.ref,null,b),p.push(b.ref,b.__c||k,b)),$==null&&k!=null&&($=k),4&b.__u||f.__k===b.__k?u=H4(b,u,o):typeof b.type=="function"&&H!==void 0?u=H:k&&(u=k.nextSibling),b.__u&=-7);return t.__e=$,u}function Vk(o,e,t,i){var a,r,n,s,u,c=e.length,p=t.length,_=p,f=0;for(o.__k=[],a=0;a<c;a++)(r=e[a])!=null&&typeof r!="boolean"&&typeof r!="function"?(s=a+f,(r=o.__k[a]=typeof r=="string"||typeof r=="number"||typeof r=="bigint"||r.constructor==String?Lp(null,r,null,null,null):E0(r)?Lp(g_,{children:r},null,null,null):r.constructor===void 0&&r.__b>0?Lp(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=o,r.__b=o.__b+1,n=null,(u=r.__i=Gk(r,t,s,_))!==-1&&(_--,(n=t[u])&&(n.__u|=2)),n==null||n.__v===null?(u==-1&&f--,typeof r.type!="function"&&(r.__u|=4)):u!==s&&(u==s-1?f--:u==s+1?f++:(u>s?f--:f++,r.__u|=4))):r=o.__k[a]=null;if(_)for(a=0;a<p;a++)(n=t[a])!=null&&!(2&n.__u)&&(n.__e==i&&(i=Au(n)),U4(n,n));return i}function H4(o,e,t){var i,a;if(typeof o.type=="function"){for(i=o.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=o,e=H4(i[a],e,t));return e}o.__e!=e&&(e&&o.type&&!t.contains(e)&&(e=Au(o)),t.insertBefore(o.__e,e||null),e=o.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Gk(o,e,t,i){var a=o.key,r=o.type,n=t-1,s=t+1,u=e[t];if(u===null||u&&a==u.key&&r===u.type&&!(2&u.__u))return t;if((typeof r!="function"||r===g_||a)&&i>(u!=null&&!(2&u.__u)?1:0))for(;n>=0||s<e.length;){if(n>=0){if((u=e[n])&&!(2&u.__u)&&a==u.key&&r===u.type)return n;n--}if(s<e.length){if((u=e[s])&&!(2&u.__u)&&a==u.key&&r===u.type)return s;s++}}return-1}function Ob(o,e,t){e[0]==="-"?o.setProperty(e,t??""):o[e]=t==null?"":typeof t!="number"||Uk.test(e)?t:t+"px"}function ap(o,e,t,i,a){var r,n;e:if(e==="style")if(typeof t=="string")o.style.cssText=t;else{if(typeof i=="string"&&(o.style.cssText=i=""),i)for(e in i)t&&e in t||Ob(o.style,e,"");if(t)for(e in t)i&&t[e]===i[e]||Ob(o.style,e,t[e])}else if(e[0]==="o"&&e[1]==="n")r=e!==(e=e.replace(M4,"$1")),e=e.toLowerCase()in o||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),o.l||(o.l={}),o.l[e+r]=t,t?i?t.t=i.t:(t.t=A0,o.addEventListener(e,r?Pv:Rv,r)):o.removeEventListener(e,r?Pv:Rv,r);else{if(a=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in o)try{n=o.tagName&&o.tagName.includes("-"),o[e]=t!=null||n?t:"";break e}catch{}typeof t=="function"||(t==null||t===!1&&e[4]!=="-"?o.removeAttribute(e):o.setAttribute(e,e=="popover"&&t==1?"":t))}}function Fb(o){return function(e){if(this.l){var t=this.l[e.type+o];if(e.u==null)e.u=A0++;else if(e.u<t.t)return;return t(xt.event?xt.event(e):e)}}}function R0(o,e,t,i,a,r,n,s,u,c){var p,_,f,b,k,$,H,X,y,C,h,G,Z,re,Y,W,L,N=e.type;if(e.constructor!==void 0)return null;128&t.__u&&(u=!!(32&t.__u),r=[s=e.__e=t.__e]),(p=xt.__b)&&p(e);e:if(typeof N=="function")try{if(X=e.props,y="prototype"in N&&N.prototype.render,C=(p=N.contextType)&&i[p.__c],h=p?C?C.props.value:p.__:i,t.__c?H=(_=e.__c=t.__c).__=_.__E:(y?e.__c=_=new N(X,h):(e.__c=_=new Np(X,h),_.constructor=N,_.render=qk),C&&C.sub(_),_.props=X,_.state||(_.state={}),_.context=h,_.__n=i,f=_.__d=!0,_.__h=[],_._sb=[]),y&&_.__s==null&&(_.__s=_.state),y&&N.getDerivedStateFromProps!=null&&(_.__s==_.state&&(_.__s=Ns({},_.__s)),Ns(_.__s,N.getDerivedStateFromProps(X,_.__s))),b=_.props,k=_.state,_.__v=e,f)y&&N.getDerivedStateFromProps==null&&_.componentWillMount!=null&&_.componentWillMount(),y&&_.componentDidMount!=null&&_.__h.push(_.componentDidMount);else{if(y&&N.getDerivedStateFromProps==null&&X!==b&&_.componentWillReceiveProps!=null&&_.componentWillReceiveProps(X,h),!_.__e&&(_.shouldComponentUpdate!=null&&_.shouldComponentUpdate(X,_.__s,h)===!1||e.__v===t.__v)){for(e.__v!==t.__v&&(_.props=X,_.state=_.__s,_.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.some(function(w){w&&(w.__=e)}),G=0;G<_._sb.length;G++)_.__h.push(_._sb[G]);_._sb=[],_.__h.length&&n.push(_);break e}_.componentWillUpdate!=null&&_.componentWillUpdate(X,_.__s,h),y&&_.componentDidUpdate!=null&&_.__h.push(function(){_.componentDidUpdate(b,k,$)})}if(_.context=h,_.props=X,_.__P=o,_.__e=!1,Z=xt.__r,re=0,y){for(_.state=_.__s,_.__d=!1,Z&&Z(e),p=_.render(_.props,_.state,_.context),Y=0;Y<_._sb.length;Y++)_.__h.push(_._sb[Y]);_._sb=[]}else do _.__d=!1,Z&&Z(e),p=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++re<25);_.state=_.__s,_.getChildContext!=null&&(i=Ns(Ns({},i),_.getChildContext())),y&&!f&&_.getSnapshotBeforeUpdate!=null&&($=_.getSnapshotBeforeUpdate(b,k)),s=$4(o,E0(W=p!=null&&p.type===g_&&p.key==null?p.props.children:p)?W:[W],e,t,i,a,r,n,s,u,c),_.base=e.__e,e.__u&=-161,_.__h.length&&n.push(_),H&&(_.__E=_.__=null)}catch(w){if(e.__v=null,u||r!=null)if(w.then){for(e.__u|=u?160:128;s&&s.nodeType===8&&s.nextSibling;)s=s.nextSibling;r[r.indexOf(s)]=null,e.__e=s}else for(L=r.length;L--;)D0(r[L]);else e.__e=t.__e,e.__k=t.__k;xt.__e(w,e,t)}else r==null&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):s=e.__e=Wk(t.__e,e,t,i,a,r,n,u,c);return(p=xt.diffed)&&p(e),128&e.__u?void 0:s}function X4(o,e,t){for(var i=0;i<t.length;i++)P0(t[i],t[++i],t[++i]);xt.__c&&xt.__c(e,o),o.some(function(a){try{o=a.__h,a.__h=[],o.some(function(r){r.call(a)})}catch(r){xt.__e(r,a.__v)}})}function Wk(o,e,t,i,a,r,n,s,u){var c,p,_,f,b,k,$,H,X=t.props,y=e.props,C=e.type;if(C==="svg"?a="http://www.w3.org/2000/svg":C==="math"?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),r!=null){for(c=0;c<r.length;c++)if((b=r[c])&&"setAttribute"in b==!!C&&(C?b.localName===C:b.nodeType===3)){o=b,r[c]=null;break}}if(o==null){if(C===null)return document.createTextNode(y);o=document.createElementNS(a,C,y.is&&y),s&&(xt.__m&&xt.__m(e,r),s=!1),r=null}if(C===null)X===y||s&&o.data===y||(o.data=y);else{if(r=r&&v5.call(o.childNodes),X=t.props||Th,!s&&r!=null)for(X={},c=0;c<o.attributes.length;c++)X[(b=o.attributes[c]).name]=b.value;for(c in X)if(b=X[c],c!="children"){if(c=="dangerouslySetInnerHTML")_=b;else if(!(c in y)){if(c=="value"&&"defaultValue"in y||c=="checked"&&"defaultChecked"in y)continue;ap(o,c,null,b,a)}}for(c in y)b=y[c],c=="children"?f=b:c=="dangerouslySetInnerHTML"?p=b:c=="value"?k=b:c=="checked"?$=b:s&&typeof b!="function"||X[c]===b||((c.startsWith("on")||c==="ref"&&typeof b=="function")&&(H=i[Object.keys(i)[0]])&&(b=b.bind(H.props.value)),ap(o,c,b,X[c],a));if(p)s||_&&(p.__html===_.__html||p.__html===o.innerHTML)||(o.innerHTML=p.__html),e.__k=[];else if(_&&(o.innerHTML=""),$4(o,E0(f)?f:[f],e,t,i,C==="foreignObject"?"http://www.w3.org/1999/xhtml":a,r,n,r?r[0]:t.__k&&Au(t,0),s,u),r!=null)for(c=r.length;c--;)D0(r[c]);s||(c="value",C==="progress"&&k==null?o.removeAttribute("value"):k!==void 0&&(k!==o[c]||C==="progress"&&!k||C==="option"&&k!==X[c])&&ap(o,c,k,X[c],a),c="checked",$!==void 0&&$!==o[c]&&ap(o,c,$,X[c],a))}return o}function P0(o,e,t){try{if(typeof o=="function"){var i=typeof o.__u=="function";i&&o.__u(),i&&e==null||(o.__u=o(e))}else o.current=e}catch(a){xt.__e(a,t)}}function U4(o,e,t){var i,a;if(xt.unmount&&xt.unmount(o),(i=o.ref)&&(i.current&&i.current!==o.__e||P0(i,null,e)),(i=o.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(r){xt.__e(r,e)}i.base=i.__P=null}if(i=o.__k)for(a=0;a<i.length;a++)i[a]&&U4(i[a],e,t||typeof o.type!="function");t||D0(o.__e),o.__c=o.__=o.__e=void 0}function qk(o,e,t){return this.constructor(o,t)}function j4(o,e,t){var i,a,r,n;e===document&&(e=document.documentElement),xt.__&&xt.__(o,e),a=(i=typeof t=="function")?null:t&&t.__k||e.__k,r=[],n=[],R0(e,o=(!i&&t||e).__k=jk(g_,null,[o]),a||Th,Th,e.namespaceURI,!i&&t?[t]:a?null:e.firstChild?v5.call(e.childNodes):null,r,!i&&t?t:a?a.__e:e.firstChild,i,n),X4(r,o,n)}function V4(o,e){j4(o,e,V4)}function Yk(o,e){var t={__c:e="__cC"+O4++,__:o,Consumer:function(i,a){return i.children(a)},Provider:function(i){var a,r;return this.getChildContext||(a=new Set,(r={})[e]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){a=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&a.forEach(function(s){s.__e=!0,Lv(s)})},this.sub=function(n){a.add(n);var s=n.componentWillUnmount;n.componentWillUnmount=function(){a&&a.delete(n),s&&s.call(n)}}),i.children}};return t.Provider.__=t.Consumer.contextType=t}v5=F4.slice,xt={__e:function(o,e,t,i){for(var a,r,n;e=e.__;)if((a=e.__c)&&!a.__)try{if((r=a.constructor)&&r.getDerivedStateFromError!=null&&(a.setState(r.getDerivedStateFromError(o)),n=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(o,i||{}),n=a.__d),n)return a.__E=a}catch(s){o=s}throw o}},L4=0,Np.prototype.setState=function(o,e){var t;t=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ns({},this.state),typeof o=="function"&&(o=o(Ns({},t),this.props)),o&&Ns(t,o),o!=null&&this.__v&&(e&&this._sb.push(e),Lv(this))},Np.prototype.forceUpdate=function(o){this.__v&&(this.__e=!0,o&&this.__h.push(o),Lv(this))},Np.prototype.render=g_,Ud=[],N4=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Dv=function(o,e){return o.__v.__b-e.__v.__b},C1.__r=0,M4=/(PointerCapture)$|Capture$/i,A0=0,Rv=Fb(!1),Pv=Fb(!0),O4=0;var Kk=0;function Zk(o,e,t,i,a,r){e||(e={});var n,s,u=e;"ref"in e&&(n=e.ref,delete e.ref);var c={type:o,props:u,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Kk,__i:-1,__u:0,__source:a,__self:r};if(typeof o=="function"&&(n=o.defaultProps))for(s in n)u[s]===void 0&&(u[s]=n[s]);return xt.vnode&&xt.vnode(c),c}const zb=new WeakMap,A=(o,e)=>{var r;let t=zb.get(o);t||(t=Yk(o),zb.set(o,t));const i=o.render(),a=Zk(t.Provider,{value:o,children:i});o.__shouldHydrate?((r=o.shadowRoot)==null||r.querySelectorAll("style").forEach(n=>n.remove()),V4(a,e),o.__shouldHydrate=!1):j4(a,e)},Jk="feeder-arrow",Qk="M9.25 8.373c.23-.249.23-.487 0-.715L4.344 2.71a.982.982 0 0 1-.313-.715c0-.27.104-.498.313-.685A.892.892 0 0 1 5.03 1c.271 0 .51.104.719.311l5.969 6.005c.187.186.281.42.281.7a.95.95 0 0 1-.281.7l-6 5.973A.99.99 0 0 1 5 15a.99.99 0 0 1-.719-.311.948.948 0 0 1-.281-.7.95.95 0 0 1 .281-.7L9.25 8.373Z",eT=!1,tT="0 0 16 16",oT="SAP-icons-v4",iT="@ui5/webcomponents-icons";U(Jk,{pathData:Qk,ltr:eT,viewBox:tT,collection:oT,packageName:iT});const rT="feeder-arrow",aT="M5.2 4.24a.75.75 0 0 1 1.06-.04l3.5 3.249a.75.75 0 0 1 0 1.098L6.26 11.8a.751.751 0 0 1-1.021-1.1l2.908-2.703L5.24 5.3a.75.75 0 0 1-.04-1.06Z",nT=!1,sT="0 0 16 16",dT="SAP-icons-v5",lT="@ui5/webcomponents-icons";U(rT,{pathData:aT,ltr:nT,viewBox:sT,collection:dT,packageName:lT});const ue={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,NUMPAD_PLUS:107,NUMPAD_MINUS:109,F4:115,F7:118,F8:119,PLUS:187,MINUS:219},ie=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&!go(o),G4=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&Pe(o,!0,!1,!1),W4=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&Pe(o,!1,!0,!1),Eu=o=>(o.key?o.key==="Enter":o.keyCode===ue.ENTER)&&Pe(o,!1,!1,!0),uT=o=>Pe(o,!0,!1,!1),K=o=>(o.key?o.key==="Spacebar"||o.key===" ":o.keyCode===ue.SPACE)&&!go(o),ya=o=>(o.key?o.key==="Spacebar"||o.key===" ":o.keyCode===ue.SPACE)&&Pe(o,!1,!1,!0),q4=o=>(o.key?o.key==="Spacebar"||o.key===" ":o.keyCode===ue.SPACE)&&Pe(o,!0,!1,!1),we=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&!go(o),Se=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&!go(o),Ne=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&!go(o),Be=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&!go(o),Mp=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&Pe(o,!0,!1,!1),sh=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&Pe(o,!0,!1,!1),_u=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!0,!1,!1),Ih=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!0,!1,!1),Du=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!1,!1,!0),dl=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!1,!1,!0),Y4=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!1,!0,!1),K4=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!1,!0,!1),Bh=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&Pe(o,!1,!1,!0),Ru=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&Pe(o,!1,!1,!0),cT=o=>(o.key?o.key==="ArrowLeft"||o.key==="Left":o.keyCode===ue.ARROW_LEFT)&&Pe(o,!0,!1,!0),$b=o=>(o.key?o.key==="ArrowRight"||o.key==="Right":o.keyCode===ue.ARROW_RIGHT)&&Pe(o,!0,!1,!0),hT=o=>(o.key?o.key==="ArrowUp"||o.key==="Up":o.keyCode===ue.ARROW_UP)&&Pe(o,!0,!1,!0),_T=o=>(o.key?o.key==="ArrowDown"||o.key==="Down":o.keyCode===ue.ARROW_DOWN)&&Pe(o,!0,!1,!0),lt=o=>(o.key?o.key==="Home":o.keyCode===ue.HOME)&&!go(o),Ot=o=>(o.key?o.key==="End":o.keyCode===ue.END)&&!go(o),v_=o=>(o.key?o.key==="Home":o.keyCode===ue.HOME)&&Pe(o,!0,!1,!1),pT=o=>(o.key?o.key==="Home":o.keyCode===ue.HOME)&&Pe(o,!1,!1,!0),Pu=o=>(o.key?o.key==="End":o.keyCode===ue.END)&&Pe(o,!0,!1,!1),gT=o=>(o.key?o.key==="End":o.keyCode===ue.END)&&Pe(o,!1,!1,!0),De=o=>(o.key?o.key==="Escape"||o.key==="Esc":o.keyCode===ue.ESCAPE)&&!go(o),Qe=o=>(o.key?o.key==="Tab":o.keyCode===ue.TAB)&&!go(o),pt=o=>(o.key?o.key==="Tab":o.keyCode===ue.TAB)&&Pe(o,!1,!1,!0),dh=o=>(o.key?o.key==="Backspace":o.keyCode===ue.BACKSPACE)&&!go(o),Hs=o=>(o.key?o.key==="Delete":o.keyCode===ue.DELETE)&&!go(o),Hb=o=>(o.key?o.key==="Delete":o.keyCode===ue.DELETE)&&Pe(o,!1,!1,!0),vT=o=>(o.key?o.key==="Insert":o.keyCode===ue.DELETE)&&Pe(o,!0,!1,!1),fa=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&!go(o),Zn=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&!go(o),L0=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&Pe(o,!1,!1,!0),mT=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&Pe(o,!1,!0,!1),N0=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&Pe(o,!1,!1,!0),fT=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&Pe(o,!1,!0,!1),bT=o=>(o.key?o.key==="PageUp":o.keyCode===ue.PAGE_UP)&&Pe(o,!0,!1,!0),xT=o=>(o.key?o.key==="PageDown":o.keyCode===ue.PAGE_DOWN)&&Pe(o,!0,!1,!0),xu=o=>(o.key?o.key==="+":o.keyCode===ue.PLUS)||o.keyCode===ue.NUMPAD_PLUS&&!go(o),m5=o=>(o.key?o.key==="-":o.keyCode===ue.MINUS)||o.keyCode===ue.NUMPAD_MINUS&&!go(o),yT=o=>o.key?f5(o)||ST(o):o.keyCode===ue.F4&&!go(o)||o.keyCode===ue.ARROW_DOWN&&Pe(o,!1,!0,!1),ll=o=>o.key==="F2"&&!go(o),f5=o=>o.key==="F4"&&!go(o),CT=o=>(o.key?o.key==="F4":o.keyCode===ue.F4)&&Pe(o,!1,!1,!0),w1=o=>(o.key?o.key==="F7":o.keyCode===ue.F7)&&!go(o),wT=o=>(o.key?o.key==="F8":o.keyCode===ue.F8)&&Pe(o,!0,!0,!1),ST=o=>(o.key==="ArrowDown"||o.key==="Down"||o.key==="ArrowUp"||o.key==="Up")&&Pe(o,!1,!0,!1),on=o=>o.key==="Shift"||o.keyCode===ue.SHIFT,go=o=>o.shiftKey||o.altKey||Z4(o),Z4=o=>!!(o.metaKey||o.ctrlKey),Pe=(o,e,t,i)=>o.shiftKey===i&&o.altKey===t&&Z4(o)===e;var Ah;function kT(o){return o.children}Ah={__e:function(o,e,t,i){for(var a,r,n;e=e.__;)if((a=e.__c)&&!a.__)try{if((r=a.constructor)&&r.getDerivedStateFromError!=null&&(a.setState(r.getDerivedStateFromError(o)),n=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(o,i||{}),n=a.__d),n)return a.__E=a}catch(s){o=s}throw o}},typeof Promise=="function"&&Promise.prototype.then.bind(Promise.resolve());var TT=0;function J4(o,e,t,i,a,r){e||(e={});var n,s,u=e;"ref"in e&&(n=e.ref,delete e.ref);var c={type:o,props:u,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--TT,__i:-1,__u:0,__source:a,__self:r};if(typeof o=="function"&&(n=o.defaultProps))for(s in n)u[s]===void 0&&(u[s]=n[s]);return Ah.vnode&&Ah.vnode(c),c}function IT(o){let e="";for(const t in o)o[t]&&(e&&(e+=" "),e+=t);return e}const kg=new Map,Tg=new Map,Xb=new Map,jd=o=>{if(!kg.has(o)){const e=AT(o.split("-"));kg.set(o,e)}return kg.get(o)},M0=o=>{if(!Tg.has(o)){const e=o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Tg.set(o,e)}return Tg.get(o)},BT=o=>M0(o),AT=o=>o.map((e,t)=>t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),Ub=o=>{const e=Xb.get(o);if(e)return e;const t=jd(o),i=t.charAt(0).toUpperCase()+t.slice(1);return Xb.set(o,i),i};function ET(o,e,t){const i=o.getMetadata().getEvents();Object.keys(e).forEach(a=>{if(a.startsWith("on")){const r=a.slice(2),n=BT(r),s=r.charAt(0).toLowerCase()+r.slice(1);let u;n in i?u=n:s in i&&(u=s),u&&a!=="onClick"&&(e[`onui5-${u}`]=e[a],delete e[a])}})}function DT(o){return typeof o=="function"&&"getMetadata"in o}function Q4(o,e,t){let i;return DT(o)?(i=o.getMetadata().getTag(),ET(o,e)):i=o,typeof e.class=="object"&&(e.class=IT(e.class)),i}const jb=Ah.vnode;Ah.vnode=o=>{const e=o.props;e!==null&&typeof e=="object"&&e.class&&e.class,jb&&jb(o)};function P(o,e){return kT(o)}function l(o,e,t){const i=Q4(o,e);return J4(i,e,t)}function g(o,e,t){const i=Q4(o,e);return J4(i,e,t)}const S1=new WeakMap,Eh=new WeakMap,RT={attributes:!0,childList:!0,characterData:!0,subtree:!0},Lo=o=>{const e=o;return e.accessibleNameRef?dd(o):e.accessibleName?e.accessibleName:void 0},dd=o=>{var i;const e=((i=o.accessibleNameRef)==null?void 0:i.split(" "))??[];let t="";return e.forEach((a,r)=>{const n=O0(o,a),s=`${n&&n.textContent?n.textContent:""}`;s&&(t+=s,r<e.length-1&&(t+=" "))}),t},e3=o=>{const e=new Set;t3(o).forEach(r=>{e.add(r)});const t=o.accessibleNameRef,i=o.accessibleDescriptionRef,a=[t,i].filter(Boolean).join(" ");return(a?a.split(" "):[]).forEach(r=>{const n=O0(o,r);n&&e.add(n)}),Array.from(e)},t3=o=>{const e=o.getRootNode().querySelectorAll(`[for="${o.id}"]`);return Array.from(e)},O0=(o,e)=>o.getRootNode().querySelector(`[id='${e}']`)||document.getElementById(e),ld=o=>{const e=[];if(t3(o).forEach(t=>{const i=t.textContent;i&&e.push(i)}),e.length)return e.join(" ")},PT=o=>e=>{const t=e&&e.type==="property"&&e.name==="accessibleNameRef",i=e&&e.type==="property"&&e.name==="accessibleDescriptionRef";if(!t&&!i)return;const a=Eh.get(o);if(!a)return;const r=a.observedElements,n=e3(o);r.forEach(s=>{n.includes(s)||F0(a,s)}),n.forEach(s=>{r.includes(s)||(o3(a,s),a.observedElements.push(s))}),a==null||a.callback()},b5=(o,e)=>{if(Eh.has(o))return;const t=e3(o),i=PT(o),a={host:o,observedElements:t,callback:e,invalidationCallback:i};Eh.set(o,a),o.attachInvalidate(i),t.forEach(r=>{o3(a,r)}),e()},o3=(o,e)=>{let t=S1.get(e);if(!t){t={observer:null,callbacks:[]};const i=new MutationObserver(()=>{t.callbacks.forEach(r=>{r()});const a=document.getElementById(e.id);o.host.id===e.getAttribute("for")||a||F0(o,e)});t.observer=i,i.observe(e,RT),S1.set(e,t)}t.callbacks.includes(o.callback)||t.callbacks.push(o.callback)},F0=(o,e)=>{var i;const t=S1.get(e);t&&(t.callbacks=t.callbacks.filter(a=>a!==o.callback),t.callbacks.length||((i=t.observer)==null||i.disconnect(),S1.delete(e))),o.observedElements=o.observedElements.filter(a=>a!==e)},x5=o=>{const e=Eh.get(o);e&&([...e.observedElements].forEach(t=>{F0(e,t)}),o.detachInvalidate(e.invalidationCallback),Eh.delete(o))},tc=o=>{const e=o;return e.accessibleDescriptionRef?m_(o):e.accessibleDescription?e.accessibleDescription:void 0},m_=o=>{var i;const e=((i=o.accessibleDescriptionRef)==null?void 0:i.split(" "))??[];let t="";return e.forEach((a,r)=>{const n=O0(o,a),s=`${n&&n.textContent?n.textContent:""}`;s&&(t+=s,r<e.length-1&&(t+=" "))}),t},y5=o=>Array.from(o).filter(e=>e.nodeType!==Node.COMMENT_NODE&&(e.nodeType!==Node.TEXT_NODE||(e.nodeValue||"").trim().length!==0)).length>0;function ul(o){return o.toLowerCase()}var Nv;(function(o){o.Default="Default",o.Positive="Positive",o.Negative="Negative",o.Transparent="Transparent",o.Emphasized="Emphasized",o.Attention="Attention"})(Nv||(Nv={}));const k1=Nv;var Mv;(function(o){o.Button="Button",o.Submit="Submit",o.Reset="Reset"})(Mv||(Mv={}));const Ov=Mv;var Fv;(function(o){o.InlineText="InlineText",o.OverlayText="OverlayText",o.AttentionDot="AttentionDot"})(Fv||(Fv={}));const Ig=Fv;var zv;(function(o){o.Button="Button",o.Link="Link"})(zv||(zv={}));const Vb=zv;function LT(){return this.hasFontIcon?l("span",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,role:this.effectiveAccessibleRole,"aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,children:l("slot",{name:"fontIcon"})}):g("svg",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,dir:this._dir,viewBox:this.viewBox,role:this.effectiveAccessibleRole,focusable:"false",preserveAspectRatio:"xMidYMid meet","aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,xmlns:"http://www.w3.org/2000/svg",onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,children:[this.hasIconTooltip&&g("title",{id:`${this._id}-tooltip`,children:[" ",this.effectiveAccessibleName," "]}),l("g",{role:"presentation",children:NT.call(this)})]})}function NT(){return this.customTemplate?this.customTemplate:this.customTemplateAsString?l("g",{dangerouslySetInnerHTML:{__html:this.customTemplateAsString}}):this.pathData.map(o=>l("path",{d:o}))}var $v;(function(o){o.Image="Image",o.Decorative="Decorative",o.Interactive="Interactive"})($v||($v={}));const Fe=$v,MT={key:"ACC_STATE_REQUIRED",defaultText:"Required"},OT={key:"ACC_STATE_DISABLED",defaultText:"Disabled"},i3={key:"ACC_STATE_READONLY",defaultText:"Read Only"},Gb={key:"ACC_STATE_EMPTY",defaultText:"Empty"},FT={key:"ACC_STATE_SINGLE_CONTROL",defaultText:"Includes element"},zT={key:"ACC_STATE_MULTIPLE_CONTROLS",defaultText:"Includes elements"},$T={key:"AVATAR_TOOLTIP",defaultText:"Avatar"},HT={key:"AVATAR_TYPE_BUTTON",defaultText:"Button"},XT={key:"AVATAR_TYPE_IMAGE",defaultText:"Image"},UT={key:"AVATAR_GROUP_DISPLAYED_HIDDEN_LABEL",defaultText:"{0} displayed, {1} hidden."},Wb={key:"AVATAR_GROUP_SHOW_COMPLETE_LIST_LABEL",defaultText:"Activate for complete list."},jT={key:"AVATAR_GROUP_ARIA_LABEL_INDIVIDUAL",defaultText:"Individual avatars."},VT={key:"AVATAR_GROUP_ARIA_LABEL_GROUP",defaultText:"Conjoined avatars."},GT={key:"AVATAR_GROUP_MOVE",defaultText:"Press ARROW keys to move."},WT={key:"TAG_DESCRIPTION_TAG",defaultText:"Tag"},qT={key:"TAG_ROLE_DESCRIPTION",defaultText:"Tag button"},KT={key:"TAG_ERROR",defaultText:"Error"},ZT={key:"TAG_WARNING",defaultText:"Warning"},JT={key:"TAG_SUCCESS",defaultText:"Success"},QT={key:"TAG_INFORMATION",defaultText:"Information"},eI={key:"BUSY_INDICATOR_TITLE",defaultText:"Please wait"},tI={key:"BUTTON_ARIA_TYPE_ACCEPT",defaultText:"Positive Action"},oI={key:"BUTTON_ARIA_TYPE_REJECT",defaultText:"Negative Action"},iI={key:"BUTTON_ARIA_TYPE_EMPHASIZED",defaultText:"Default Action"},rI={key:"BUTTON_ARIA_TYPE_ATTENTION",defaultText:"Warning"},aI={key:"BUTTON_BADGE_ONE_ITEM",defaultText:"{0} item"},nI={key:"BUTTON_BADGE_MANY_ITEMS",defaultText:"{0} items"},sI={key:"BUTTON_ROLE_DESCRIPTION",defaultText:"Button"},dI={key:"LINK_ROLE_DESCRIPTION",defaultText:"Link"},lI={key:"CAROUSEL_OF_TEXT",defaultText:"of"},uI={key:"CAROUSEL_DOT_TEXT",defaultText:"Page {0} of {1}"},cI={key:"CAROUSEL_PREVIOUS_ARROW_TEXT",defaultText:"Previous Page"},hI={key:"CAROUSEL_NEXT_ARROW_TEXT",defaultText:"Next Page"},_I={key:"CAROUSEL_ARIA_ROLE_DESCRIPTION",defaultText:"Carousel"},pI={key:"CAROUSEL_ARIA_LIST_LABEL",defaultText:"Item Container"},gI={key:"DELETE",defaultText:"Delete"},lse={key:"EMPTY_INDICATOR_SYMBOL",defaultText:"–"},use={key:"EMPTY_INDICATOR_ACCESSIBLE_TEXT",defaultText:"Empty Value"},cse={key:"EXPANDABLE_TEXT_SHOW_MORE",defaultText:"Show More"},hse={key:"EXPANDABLE_TEXT_SHOW_LESS",defaultText:"Show Less"},_se={key:"EXPANDABLE_TEXT_CLOSE",defaultText:"Close"},pse={key:"EXPANDABLE_TEXT_SHOW_MORE_POPOVER_ARIA_LABEL",defaultText:"Show the full text"},gse={key:"EXPANDABLE_TEXT_SHOW_LESS_POPOVER_ARIA_LABEL",defaultText:"Close the popover"},vI={key:"FILEUPLOADER_ROLE_DESCRIPTION",defaultText:"File Uploader"},mI={key:"FILEUPLOADER_DEFAULT_PLACEHOLDER",defaultText:"Browse or drop a file"},fI={key:"FILEUPLOADER_DEFAULT_MULTIPLE_PLACEHOLDER",defaultText:"Browse or drop multiple files"},bI={key:"FILEUPLOADER_INPUT_TOOLTIP",defaultText:"All files will be replaced on each upload"},xI={key:"FILEUPLOADER_VALUE_HELP_TOOLTIP",defaultText:"Browse and replace all files"},yI={key:"FILEUPLOADER_CLEAR_ICON_TOOLTIP",defaultText:"Remove all files"},CI={key:"FILEUPLOAER_VALUE_MISSING",defaultText:"Select or drag and drop a file to upload."},wI={key:"GROUP_HEADER_TEXT",defaultText:"Group Header"},SI={key:"INPUT_SUGGESTIONS",defaultText:"Suggestions Available"},r3={key:"INPUT_SUGGESTIONS_TITLE",defaultText:"All Items"},kI={key:"INPUT_SUGGESTIONS_ONE_HIT",defaultText:"1 result available"},TI={key:"INPUT_SUGGESTIONS_MORE_HITS",defaultText:"{0} results are available"},II={key:"INPUT_SUGGESTIONS_NO_HIT",defaultText:"No results"},BI={key:"INPUT_SUGGESTIONS_EXPANDED",defaultText:"Expanded"},qb={key:"INPUT_SUGGESTIONS_COLLAPSED",defaultText:"Collapsed"},AI={key:"INPUT_CLEAR_ICON_ACC_NAME",defaultText:"Clear"},EI={key:"INPUT_SUGGESTIONS_OK_BUTTON",defaultText:"OK"},DI={key:"INPUT_SUGGESTIONS_CANCEL_BUTTON",defaultText:"Cancel"},RI={key:"LINK_SUBTLE",defaultText:"Subtle"},PI={key:"LINK_EMPHASIZED",defaultText:"Emphasized"},LI={key:"LIST_ROLE_DESCRIPTION",defaultText:"List with interactive items. To move to the content, press F2."},NI={key:"LIST_ITEM_ACTIVE",defaultText:"Is Active"},vse={key:"LIST_ITEM_POSITION",defaultText:"List item {0} of {1}"},Dh={key:"LIST_ITEM_SELECTED",defaultText:"Selected"},a3={key:"LIST_ITEM_NOT_SELECTED",defaultText:"Not Selected"},mse={key:"LIST_ITEM_GROUP_HEADER",defaultText:"Group Header"},MI={key:"LIST_ROLE_LIST_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups with {1} items"},OI={key:"LIST_ROLE_LISTBOX_GROUP_DESCRIPTION",defaultText:"contains {0} sub groups"},FI={key:"ARIA_LABEL_LIST_ITEM_CHECKBOX",defaultText:"Multiple Selection Mode"},zI={key:"ARIA_LABEL_LIST_ITEM_RADIO_BUTTON",defaultText:"Item Selection."},$I={key:"ARIA_LABEL_LIST_SELECTABLE",defaultText:"Contains Selectable Items"},HI={key:"ARIA_LABEL_LIST_MULTISELECTABLE",defaultText:"Contains Multi-Selectable Items"},XI={key:"ARIA_LABEL_LIST_DELETABLE",defaultText:"Contains Deletable Items"},UI={key:"MESSAGE_STRIP_CLOSE_BUTTON_INFORMATION",defaultText:"Close information message strip"},jI={key:"MESSAGE_STRIP_CLOSE_BUTTON_POSITIVE",defaultText:"Close positive message strip"},VI={key:"MESSAGE_STRIP_CLOSE_BUTTON_NEGATIVE",defaultText:"Close negative message strip"},GI={key:"MESSAGE_STRIP_CLOSE_BUTTON_CRITICAL",defaultText:"Close critical message strip"},Yb={key:"MESSAGE_STRIP_CLOSE_BUTTON_CUSTOM",defaultText:"Close custom message strip"},WI={key:"MESSAGE_STRIP_CLOSABLE",defaultText:"Closable"},qI={key:"MESSAGE_STRIP_ERROR",defaultText:"Error Message Strip"},YI={key:"MESSAGE_STRIP_WARNING",defaultText:"Warning Message Strip"},KI={key:"MESSAGE_STRIP_SUCCESS",defaultText:"Success Message Strip"},ZI={key:"MESSAGE_STRIP_INFORMATION",defaultText:"Information Message Strip"},Kb={key:"MESSAGE_STRIP_CUSTOM",defaultText:"Custom Message Strip"},JI={key:"INPUT_AVALIABLE_VALUES",defaultText:"Available Values"},QI={key:"MULTIINPUT_SHOW_MORE_TOKENS",defaultText:"{0} more"},eB={key:"RANGE_SLIDER_ARIA_DESCRIPTION",defaultText:"Range"},Zb={key:"RANGE_SLIDER_START_HANDLE_DESCRIPTION",defaultText:"Minimum"},Jb={key:"RANGE_SLIDER_END_HANDLE_DESCRIPTION",defaultText:"Maximum"},tB={key:"RATING_INDICATOR_TOOLTIP_TEXT",defaultText:"Rating"},oB={key:"RATING_INDICATOR_TEXT",defaultText:"Rating Indicator"},iB={key:"RATING_INDICATOR_ARIA_DESCRIPTION",defaultText:"Required"},rB={key:"RESPONSIVE_POPOVER_CLOSE_DIALOG_BUTTON",defaultText:"Decline"},aB={key:"SEGMENTEDBUTTON_ARIA_DESCRIBEDBY",defaultText:"Press SPACE or ENTER to select an item"},nB={key:"SLIDER_ARIA_DESCRIPTION",defaultText:"Slider handle"},sB={key:"LOAD_MORE_TEXT",defaultText:"More"},dB={key:"TOKEN_ARIA_DELETABLE",defaultText:"Deletable"},lB={key:"TOKEN_ARIA_DELETE",defaultText:"Delete"},uB={key:"TOKEN_ARIA_LABEL",defaultText:"Token"},cB={key:"LISTITEMCUSTOM_TYPE_TEXT",defaultText:"List Item"},hB={key:"TOKENIZER_ARIA_CONTAIN_TOKEN",defaultText:"No Tokens"},_B={key:"TOKENIZER_ARIA_CONTAIN_ONE_TOKEN",defaultText:"Contains 1 token"},pB={key:"TOKENIZER_ARIA_CONTAIN_SEVERAL_TOKENS",defaultText:"Contains {0} tokens"},Qb={key:"TOKENIZER_ARIA_LABEL",defaultText:"Tokenizer"},gB={key:"TOKENIZER_SHOW_ALL_ITEMS",defaultText:"{0} Items"},vB={key:"TOKENIZER_CLEAR_ALL",defaultText:"Clear All"},mB={key:"TOKENIZER_DIALOG_CANCEL_BUTTON",defaultText:"Cancel"},fB={key:"TOKENIZER_DIALOG_OK_BUTTON",defaultText:"OK"},bB={key:"TOKENIZER_TOKEN_DELETED_SINGULAR",defaultText:"1 token deleted"},xB={key:"TOKENIZER_TOKEN_DELETED_PLURAL",defaultText:"{0} tokens deleted"},n3={key:"VALUE_STATE_TYPE_ERROR",defaultText:"Value State Error"},s3={key:"VALUE_STATE_TYPE_WARNING",defaultText:"Value State Warning"},d3={key:"VALUE_STATE_TYPE_SUCCESS",defaultText:"Value State Success"},l3={key:"VALUE_STATE_TYPE_INFORMATION",defaultText:"Value State Information"},f_={key:"VALUE_STATE_ERROR",defaultText:"Invalid entry"},b_={key:"VALUE_STATE_WARNING",defaultText:"Warning issued"},C5={key:"VALUE_STATE_INFORMATION",defaultText:"Informative entry"},x_={key:"VALUE_STATE_SUCCESS",defaultText:"Entry successfully validated"},yB={key:"VALUE_STATE_LINK",defaultText:"To move the focus to the link, press Ctrl+Alt+F8"},CB={key:"VALUE_STATE_LINK_MAC",defaultText:"To move the focus to the link, press Cmd+Option+F8"},wB={key:"VALUE_STATE_LINKS",defaultText:"To go to the first link, press Ctrl+Alt+F8. To move to the next link, use Tab"},SB={key:"VALUE_STATE_LINKS_MAC",defaultText:"To go to the first link, press Cmd+Option+F8. To move to the next link, use Tab"},kB={key:"CALENDAR_HEADER_MONTH_BUTTON",defaultText:"Month {0}"},TB={key:"CALENDAR_HEADER_YEAR_BUTTON",defaultText:"Year {0}"},IB={key:"CALENDAR_HEADER_YEAR_RANGE_BUTTON",defaultText:"Year range from {0} to {1}"},BB={key:"CALENDAR_HEADER_MONTH_BUTTON_SHORTCUT",defaultText:"F4"},AB={key:"CALENDAR_HEADER_YEAR_BUTTON_SHORTCUT",defaultText:"Shift + F4"},EB={key:"CALENDAR_HEADER_YEAR_RANGE_BUTTON_SHORTCUT",defaultText:"Shift + F4"},DB={key:"CALENDAR_HEADER_MONTH_NEXT_BUTTON_TITLE",defaultText:"Next Month"},RB={key:"CALENDAR_HEADER_YEAR_NEXT_BUTTON_TITLE",defaultText:"Next Year"},PB={key:"CALENDAR_HEADER_YEAR_RANGE_NEXT_BUTTON_TITLE",defaultText:"Next Year Range"},LB={key:"CALENDAR_HEADER_MONTH_NEXT_BUTTON_SHORTCUT",defaultText:"Pageup"},NB={key:"CALENDAR_HEADER_MONTH_PREVIOUS_BUTTON_TITLE",defaultText:"Previous Month"},MB={key:"CALENDAR_HEADER_YEAR_PREVIOUS_BUTTON_TITLE",defaultText:"Previous Year"},OB={key:"CALENDAR_HEADER_YEAR_RANGE_PREVIOUS_BUTTON_TITLE",defaultText:"Previous Year Range"},FB={key:"CALENDAR_HEADER_MONTH_PREVIOUS_BUTTON_SHORTCUT",defaultText:"Pagedown"},zB={key:"DAY_PICKER_SELECTED_RANGE_START",defaultText:"{0} First date of range"},$B={key:"DAY_PICKER_SELECTED_RANGE_BETWEEN",defaultText:"{0} in a selected range"},HB={key:"DAY_PICKER_SELECTED_RANGE_END",defaultText:"{0} Last date of range"},XB={key:"DAY_PICKER_WEEK_NUMBER_TEXT",defaultText:"Week Number"},UB={key:"DAY_PICKER_CALENDAR_WEEK",defaultText:"Calendar Week {0}"},jB={key:"DAY_PICKER_NON_WORKING_DAY",defaultText:"Non-Working Day"},VB={key:"DAY_PICKER_TODAY",defaultText:"Today"},GB={key:"MONTH_PICKER_DESCRIPTION",defaultText:"Month Picker"},WB={key:"YEAR_PICKER_DESCRIPTION",defaultText:"Year Picker"},qB={key:"YEAR_RANGE_PICKER_DESCRIPTION",defaultText:"Year Range Picker"},u3={key:"SLIDER_TOOLTIP_INPUT_DESCRIPTION",defaultText:"Press F2 to enter a value"},z0={key:"SLIDER_TOOLTIP_INPUT_LABEL",defaultText:"Current Value"},e7={key:"SPLIT_BUTTON_DESCRIPTION",defaultText:"Split Button"},t7={key:"SPLIT_BUTTON_KEYBOARD_HINT",defaultText:"Press Space or Enter to trigger default action and Alt + Arrow Down or F4 to trigger arrow action"},YB={key:"SPLIT_BUTTON_ARROW_BUTTON_TOOLTIP",defaultText:"Open Menu"},KB={key:"MENU_BACK_BUTTON_ARIA_LABEL",defaultText:"Back"},c3={key:"MENU_CANCEL_BUTTON_TEXT",defaultText:"Cancel"},h3={key:"MENU_POPOVER_ACCESSIBLE_NAME",defaultText:"Select an option from the menu"},ZB={key:"MENU_ITEM_GROUP_NONE_ACCESSIBLE_NAME",defaultText:"Contains Non-Selectable Items"},JB={key:"MENU_ITEM_GROUP_SINGLE_ACCESSIBLE_NAME",defaultText:"Contains Selectable Items"},QB={key:"MENU_ITEM_GROUP_MULTI_ACCESSIBLE_NAME",defaultText:"Contains Multi-Selectable Items"},eA={key:"MENU_ITEM_END_CONTENT_ACCESSIBLE_NAME",defaultText:"Additional Actions"},Hv={key:"MENU_ITEM_LOADING",defaultText:"Loading"},tA={key:"DIALOG_ARIA_DESCRIBEDBY_RESIZABLE",defaultText:"Use shift+arrow keys to resize"},oA={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE",defaultText:"Use arrow keys to move"},iA={key:"DIALOG_ARIA_DESCRIBEDBY_DRAGGABLE_RESIZABLE",defaultText:"Use arrow keys to move, Shift+arrow keys to resize"},rA={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE_RESIZABLE",defaultText:"Tab to the end of dialog to reach drag and resize handle."},aA={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_DRAGGABLE",defaultText:"Tab to the end of dialog to reach drag handle."},nA={key:"DIALOG_ARIA_DESCRIBEDBY_REACH_RESIZABLE",defaultText:"Tab to the end of dialog to reach resize handle."},sA={key:"DIALOG_RESIZE_HANDLE_TOOLTIP",defaultText:"Drag handle to resize (shift+arrow)"},dA={key:"DIALOG_DRAG_AND_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Drag and Resize Dialog"},lA={key:"DIALOG_DRAG_HANDLE_ARIA_LABEL",defaultText:"Drag Dialog"},uA={key:"DIALOG_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Resize Dialog"},cA={key:"DIALOG_HANDLE_ARIA_ROLEDESCRIPTION",defaultText:"Handle"},hA={key:"DIALOG_HEADER_ARIA_LABEL",defaultText:"Header"},_A={key:"DIALOG_CONTENT_ARIA_LABEL",defaultText:"Content"},pA={key:"DIALOG_FOOTER_ARIA_LABEL",defaultText:"Footer"},gA={key:"DIALOG_FULLSCREEN_MAXIMIZE",defaultText:"Maximize (Shift+Ctrl+F)"},vA={key:"DIALOG_FULLSCREEN_RESTORE",defaultText:"Restore (Shift+Ctrl+F)"},mA={key:"POPOVER_RESIZE_HANDLE_ARIA_LABEL",defaultText:"Resize popover"},fA={key:"POPOVER_HANDLE_ARIA_ROLEDESCRIPTION",defaultText:"Handle"},bA={key:"POPOVER_ARIA_DESCRIBEDBY_RESIZABLE",defaultText:"Use Shift+Arrow keys to resize"},xA={key:"POPOVER_RESIZE_HANDLE_TOOLTIP",defaultText:"Drag handle to resize (Shift+Arrow)"},yA={key:"LABEL_COLON",defaultText:":"},_3={key:"FORM_CHECKABLE_REQUIRED",defaultText:"Please tick this box if you want to proceed."},CA={key:"FORM_SELECTABLE_REQUIRED2",defaultText:"Please select one of these options."},wA={key:"CHECKBOX_CHECKED",defaultText:"Checked"},SA={key:"CHECKBOX_NOT_CHECKED",defaultText:"Not checked"},kA={key:"CHECKBOX_ARIA_TYPE",defaultText:"Checkbox"},TA={key:"SWITCH_ON",defaultText:"On"},IA={key:"SWITCH_OFF",defaultText:"Off"},BA={key:"ICON_ARIA_TYPE_IMAGE",defaultText:"Image"},AA={key:"ICON_ARIA_TYPE_INTERACTIVE",defaultText:"Button"},I=`:root {--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon.css_variables","PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css","Extends": ["baseTheme"],"Tags": ["Fiori_3","LightColorScheme"],"FallbackThemeId": "sap_fiori_3","Engine":{"Name": "theming-engine","Version": "17.0.29"},"Version":{"Build": "11.36.4.20260616082028","Source": "11.36.4"}};--sapBrandColor: #0070f2;--sapHighlightColor: #0064d9;--sapBaseColor: #fff;--sapShellColor: #fff;--sapBackgroundColor: #f5f6f7;--sapFontFamily: "72", "72full", Arial, Helvetica, sans-serif;--sapFontSize: .875rem;--sapTextColor: #131e29;--sapLinkColor: #0064d9;--sapCompanyLogo: none;--sapFavicon: none;--sapBackgroundImage: none;--sapBackgroundImageOpacity: 1;--sapBackgroundImageRepeat: false;--sapSelectedColor: #0064d9;--sapHoverColor: #eaecee;--sapActiveColor: #dee2e5;--sapTitleColor: #131e29;--sapNegativeColor: #aa0808;--sapCriticalColor: #e76500;--sapPositiveColor: #256f3a;--sapInformativeColor: #0070f2;--sapNeutralColor: #788fa6;--sapNegativeElementColor: #f53232;--sapCriticalElementColor: #e76500;--sapPositiveElementColor: #30914c;--sapInformativeElementColor: #0070f2;--sapNeutralElementColor: #788fa6;--sapNegativeTextColor: #aa0808;--sapCriticalTextColor: #b44f00;--sapPositiveTextColor: #256f3a;--sapInformativeTextColor: #0064d9;--sapNeutralTextColor: #131e29;--sapErrorColor: #aa0808;--sapWarningColor: #e76500;--sapSuccessColor: #256f3a;--sapInformationColor: #0070f2;--sapErrorBackground: #ffeaf4;--sapWarningBackground: #fff8d6;--sapSuccessBackground: #f5fae5;--sapInformationBackground: #e1f4ff;--sapNeutralBackground: #eff1f2;--sapErrorBorderColor: #e90b0b;--sapWarningBorderColor: #dd6100;--sapSuccessBorderColor: #30914c;--sapInformationBorderColor: #0070f2;--sapNeutralBorderColor: #788fa6;--sapElement_LineHeight: 2.75rem;--sapElement_Height: 2.25rem;--sapElement_BorderWidth: .0625rem;--sapElement_BorderCornerRadius: .75rem;--sapElement_Compact_LineHeight: 2rem;--sapElement_Compact_Height: 1.625rem;--sapElement_Condensed_LineHeight: 1.5rem;--sapElement_Condensed_Height: 1.375rem;--sapContent_LineHeight: 1.5;--sapContent_IconHeight: 1rem;--sapContent_IconColor: #131e29;--sapContent_ContrastIconColor: #fff;--sapContent_NonInteractiveIconColor: #758ca4;--sapContent_MarkerIconColor: #5d36ff;--sapContent_MarkerTextColor: #046c7a;--sapContent_MeasureIndicatorColor: #556b81;--sapContent_Selected_MeasureIndicatorColor: #0064d9;--sapContent_Placeholderloading_Background: #ccc;--sapContent_Placeholderloading_Gradient: linear-gradient(to right, #ccc 0%, #ccc 20%, #999 50%, #ccc 80%, #ccc 100%);--sapContent_ImagePlaceholderBackground: #eaecee;--sapContent_ImagePlaceholderForegroundColor: #556b82;--sapContent_RatedColor: #d27700;--sapContent_UnratedColor: #758ca4;--sapContent_BusyColor: #0064d9;--sapContent_FocusColor: #0032a5;--sapContent_FocusStyle: solid;--sapContent_FocusWidth: .125rem;--sapContent_ContrastFocusColor: #fff;--sapContent_ShadowColor: #223548;--sapContent_ContrastShadowColor: #fff;--sapContent_Shadow0: 0 0 .125rem 0 rgba(34,53,72,.2), 0 .125rem .25rem 0 rgba(34,53,72,.2);--sapContent_Shadow1: 0 0 0 .0625rem rgba(34,53,72,.48), 0 .125rem .5rem 0 rgba(34,53,72,.3);--sapContent_Shadow2: 0 0 0 .0625rem rgba(34,53,72,.48), 0 .625rem 1.875rem 0 rgba(34,53,72,.25);--sapContent_Shadow3: 0 0 0 .0625rem rgba(34,53,72,.48), 0 1.25rem 5rem 0 rgba(34,53,72,.25);--sapContent_TextShadow: 0 0 .125rem #fff;--sapContent_ContrastTextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapContent_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #d9d9d9;--sapContent_Interaction_Shadow: inset 0 0 0 .0625rem rgba(85,107,129,.25);--sapContent_Selected_Shadow: inset 0 0 0 .0625rem rgba(79,160,255,.5);--sapContent_Negative_Shadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapContent_Critical_Shadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapContent_Positive_Shadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapContent_Informative_Shadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapContent_Neutral_Shadow: inset 0 0 0 .0625rem rgba(120,143,166,.3);--sapContent_SearchHighlightColor: #dafdf5;--sapContent_HelpColor: #188918;--sapContent_LabelColor: #556b82;--sapContent_MonospaceFontFamily: "72Mono", "72Monofull", lucida console, monospace;--sapContent_MonospaceBoldFontFamily: "72Mono-Bold", "72Mono-Boldfull", lucida console, monospace;--sapContent_IconFontFamily: "SAP-icons";--sapContent_DisabledTextColor: rgba(19,30,41,.6);--sapContent_DisabledOpacity: .4;--sapContent_ContrastTextThreshold: .65;--sapContent_ContrastTextColor: #fff;--sapContent_ForegroundColor: #efefef;--sapContent_ForegroundBorderColor: #758ca4;--sapContent_ForegroundTextColor: #131e29;--sapContent_BadgeBackground: #aa0808;--sapContent_BadgeTextColor: #fff;--sapContent_BadgeBorderColor: #fff;--sapContent_DragAndDropActiveColor: #0064d9;--sapContent_Selected_TextColor: #0064d9;--sapContent_Selected_Background: #fff;--sapContent_Selected_Hover_Background: #e3f0ff;--sapContent_Selected_ForegroundColor: #0064d9;--sapContent_ForcedColorAdjust: none;--sapContent_Lite_Shadow: none;--sapContent_Illustrative_Color1: #9b015d;--sapContent_Illustrative_Color2: #56bdff;--sapContent_Illustrative_Color3: #ff7f4c;--sapContent_Illustrative_Color4: #00144a;--sapContent_Illustrative_Color5: #a9b4be;--sapContent_Illustrative_Color6: #d5dadd;--sapContent_Illustrative_Color7: #dbf1ff;--sapContent_Illustrative_Color8: #fff;--sapContent_Illustrative_Color9: #0899a7;--sapContent_Illustrative_Color10: #dbf1ff;--sapContent_Illustrative_Color11: #df1278;--sapContent_Illustrative_Color12: #00a800;--sapContent_Illustrative_Color13: #0070f2;--sapContent_Illustrative_Color14: #0040b0;--sapContent_Illustrative_Color15: #c35500;--sapContent_Illustrative_Color16: #8d2a00;--sapContent_Illustrative_Color17: #046c7c;--sapContent_Illustrative_Color18: #bce5ff;--sapContent_Illustrative_Color19: #a3dbff;--sapContent_Illustrative_Color20: #89d1ff;--sapContent_Illustrative_Color21: #1b90ff;--sapContent_Illustrative_Color22: #00144a;--sapContent_Illustrative_Color23: #d20a0a;--sapContent_Illustrative_Color24: #ffb2d2;--sapContent_Illustrative_Color25: #ffeaf4;--sapContent_Illustrative_Color26: #ffdf72;--sapContent_Illustrative_Color27: #fff8d6;--sapContent_Illustrative_Color28: #a93e00;--sapContent_Illustrative_Color29: #450b00;--sapContent_Illustrative_Color30: #340800;--sapContent_Illustrative_Color31: #ffab92;--sapContent_Space_S: 1rem;--sapContent_Space_M: 2rem;--sapContent_Space_L: 2rem;--sapContent_Space_XL: 3rem;--sapContent_Space_Tiny: .5rem;--sapContent_Space_Small: 1rem;--sapContent_Space_Medium: 2rem;--sapContent_Space_Large: 3rem;--sapContent_Margin_Tiny: 0 0 1rem;--sapContent_Margin_Small: 1rem;--sapContent_Margin_Medium: 1rem 2rem;--sapContent_Margin_Large: 1rem 3rem;--sapContent_Margin_S: 0 0 1rem;--sapContent_Margin_M: 1rem;--sapContent_Margin_L: 1rem 2rem;--sapContent_Margin_XL: 1rem 3rem;--sapContent_Padding_S: 0rem;--sapContent_Padding_M: 2rem;--sapContent_Padding_L: 2rem;--sapContent_Padding_XL: 3rem;--sapContent_Gap: 1rem;--sapContent_Success_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #30914c;--sapContent_Warning_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #dd6100;--sapContent_Error_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #e90b0b;--sapContent_Information_HeaderShadow: 0 .125rem .125rem 0 rgba(34,53,72,.05), inset 0 -.0625rem 0 0 #0070f2;--sapFontLightFamily: "72-Light", "72-Lightfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontBoldFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSemiboldFamily: "72-Semibold", "72-Semiboldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSemiboldDuplexFamily: "72-SemiboldDuplex", "72-SemiboldDuplexfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontBlackFamily: "72Black", "72Blackfull","72", "72full", Arial, Helvetica, sans-serif;--sapFontHeaderFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapFontSmallSize: .75rem;--sapFontLargeSize: 1rem;--sapFontHeader1Size: 3rem;--sapFontHeader2Size: 2rem;--sapFontHeader3Size: 1.5rem;--sapFontHeader4Size: 1.25rem;--sapFontHeader5Size: 1rem;--sapFontHeader6Size: .875rem;--sapLink_TextDecoration: none;--sapLink_Hover_Color: #0064d9;--sapLink_Hover_TextDecoration: underline;--sapLink_Active_Color: #0064d9;--sapLink_Active_TextDecoration: none;--sapLink_Visited_Color: #0064d9;--sapLink_InvertedColor: #a6cfff;--sapLink_SubtleColor: #131e29;--sapShell_Background: #eff1f2;--sapShell_BackgroundImage: linear-gradient(to bottom, #eff1f2, #eff1f2);--sapShell_BackgroundImageOpacity: 1;--sapShell_BackgroundImageRepeat: false;--sapShell_BorderColor: #d9d9d9;--sapShell_TextColor: #131e29;--sapShell_InteractiveBackground: #eff1f2;--sapShell_InteractiveTextColor: #131e29;--sapShell_InteractiveBorderColor: #556b81;--sapShell_GroupTitleTextColor: #131e29;--sapShell_GroupTitleTextShadow: 0 0 .125rem #fff;--sapShell_Hover_Background: #fff;--sapShell_Active_Background: #fff;--sapShell_Active_TextColor: #0070f2;--sapShell_Selected_Background: #fff;--sapShell_Selected_TextColor: #0070f2;--sapShell_Selected_Hover_Background: #fff;--sapShell_Favicon: none;--sapShell_Navigation_Background: #fff;--sapShell_Navigation_Hover_Background: #fff;--sapShell_Navigation_SelectedColor: #0064d9;--sapShell_Navigation_Selected_TextColor: #0064d9;--sapShell_Navigation_TextColor: #131e29;--sapShell_Navigation_Active_TextColor: #0064d9;--sapShell_Navigation_Active_Background: #fff;--sapShell_Shadow: 0 .125rem .125rem 0 rgba(34,53,72,.15), inset 0 -.0625rem 0 0 rgba(34,53,72,.2);--sapShell_NegativeColor: #aa0808;--sapShell_CriticalColor: #b44f00;--sapShell_PositiveColor: #256f3a;--sapShell_InformativeColor: #0064d9;--sapShell_NeutralColor: #131e29;--sapShell_Assistant_ForegroundColor: #5d36ff;--sapShell_SubBrand_TextColor: #003e87;--sapShell_HeroBanner_Background: #0070f2;--sapShell_HeroBanner_BackgroundImage: linear-gradient(135deg, transparent 45%, rgba(0,0,0,.45) 75%);--sapShell_HeroBanner_TextColor: #fff;--sapShell_Category_1_Background: #0057d2;--sapShell_Category_1_BorderColor: #0057d2;--sapShell_Category_1_TextColor: #fff;--sapShell_Category_1_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_2_Background: #df1278;--sapShell_Category_2_BorderColor: #df1278;--sapShell_Category_2_TextColor: #fff;--sapShell_Category_2_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_3_Background: #e76500;--sapShell_Category_3_BorderColor: #e76500;--sapShell_Category_3_TextColor: #fff;--sapShell_Category_3_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_4_Background: #7800a4;--sapShell_Category_4_BorderColor: #7800a4;--sapShell_Category_4_TextColor: #fff;--sapShell_Category_4_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_5_Background: #aa2608;--sapShell_Category_5_BorderColor: #aa2608;--sapShell_Category_5_TextColor: #fff;--sapShell_Category_5_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_6_Background: #07838f;--sapShell_Category_6_BorderColor: #07838f;--sapShell_Category_6_TextColor: #fff;--sapShell_Category_6_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_7_Background: #f31ded;--sapShell_Category_7_BorderColor: #f31ded;--sapShell_Category_7_TextColor: #fff;--sapShell_Category_7_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_8_Background: #188918;--sapShell_Category_8_BorderColor: #188918;--sapShell_Category_8_TextColor: #fff;--sapShell_Category_8_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_9_Background: #002a86;--sapShell_Category_9_BorderColor: #002a86;--sapShell_Category_9_TextColor: #fff;--sapShell_Category_9_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_10_Background: #5b738b;--sapShell_Category_10_BorderColor: #5b738b;--sapShell_Category_10_TextColor: #fff;--sapShell_Category_10_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_11_Background: #d20a0a;--sapShell_Category_11_BorderColor: #d20a0a;--sapShell_Category_11_TextColor: #fff;--sapShell_Category_11_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_12_Background: #7858ff;--sapShell_Category_12_BorderColor: #7858ff;--sapShell_Category_12_TextColor: #fff;--sapShell_Category_12_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_13_Background: #a00875;--sapShell_Category_13_BorderColor: #a00875;--sapShell_Category_13_TextColor: #fff;--sapShell_Category_13_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_14_Background: #14565b;--sapShell_Category_14_BorderColor: #14565b;--sapShell_Category_14_TextColor: #fff;--sapShell_Category_14_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_15_Background: #223548;--sapShell_Category_15_BorderColor: #223548;--sapShell_Category_15_TextColor: #fff;--sapShell_Category_15_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Category_16_Background: #1e592f;--sapShell_Category_16_BorderColor: #1e592f;--sapShell_Category_16_TextColor: #fff;--sapShell_Category_16_TextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapShell_Space_S: .5rem;--sapShell_Space_M: 2rem;--sapShell_Space_L: 2rem;--sapShell_Space_XL: 3rem;--sapShell_Gap_S: .5rem;--sapShell_Gap_M: 1rem;--sapShell_Gap_L: 1rem;--sapShell_Gap_XL: 1rem;--sapShell_GroupGap_S: 2rem;--sapShell_GroupGap_M: 3rem;--sapShell_GroupGap_L: 3rem;--sapShell_GroupGap_XL: 3rem;--sapAssistant_Color1: #5d36ff;--sapAssistant_Color2: #a100c2;--sapAssistant_BackgroundGradient: linear-gradient(#5d36ff, #a100c2);--sapAssistant_Background: #5d36ff;--sapAssistant_BorderColor: #5d36ff;--sapAssistant_TextColor: #fff;--sapAssistant_Hover_Background: #2800cf;--sapAssistant_Hover_BorderColor: #2800cf;--sapAssistant_Hover_TextColor: #fff;--sapAssistant_Active_Background: #fff;--sapAssistant_Active_BorderColor: #5d36ff;--sapAssistant_Active_TextColor: #5d36ff;--sapAssistant_Question_Background: #eae5ff;--sapAssistant_Question_BorderColor: #eae5ff;--sapAssistant_Question_TextColor: #131e29;--sapAssistant_Answer_Background: #eff1f2;--sapAssistant_Answer_BorderColor: #eff1f2;--sapAssistant_Answer_TextColor: #131e29;--sapAvatar_1_Background: #fff3b8;--sapAvatar_1_BorderColor: #fff3b8;--sapAvatar_1_TextColor: #a45d00;--sapAvatar_1_Hover_Background: #fff3b8;--sapAvatar_2_Background: #ffd0e7;--sapAvatar_2_BorderColor: #ffd0e7;--sapAvatar_2_TextColor: #aa0808;--sapAvatar_2_Hover_Background: #ffd0e7;--sapAvatar_3_Background: #ffdbe7;--sapAvatar_3_BorderColor: #ffdbe7;--sapAvatar_3_TextColor: #ba066c;--sapAvatar_3_Hover_Background: #ffdbe7;--sapAvatar_4_Background: #ffdcf3;--sapAvatar_4_BorderColor: #ffdcf3;--sapAvatar_4_TextColor: #a100c2;--sapAvatar_4_Hover_Background: #ffdcf3;--sapAvatar_5_Background: #ded3ff;--sapAvatar_5_BorderColor: #ded3ff;--sapAvatar_5_TextColor: #552cff;--sapAvatar_5_Hover_Background: #ded3ff;--sapAvatar_6_Background: #d1efff;--sapAvatar_6_BorderColor: #d1efff;--sapAvatar_6_TextColor: #0057d2;--sapAvatar_6_Hover_Background: #d1efff;--sapAvatar_7_Background: #c2fcee;--sapAvatar_7_BorderColor: #c2fcee;--sapAvatar_7_TextColor: #046c7a;--sapAvatar_7_Hover_Background: #c2fcee;--sapAvatar_8_Background: #ebf5cb;--sapAvatar_8_BorderColor: #ebf5cb;--sapAvatar_8_TextColor: #256f3a;--sapAvatar_8_Hover_Background: #ebf5cb;--sapAvatar_9_Background: #ddccf0;--sapAvatar_9_BorderColor: #ddccf0;--sapAvatar_9_TextColor: #6c32a9;--sapAvatar_9_Hover_Background: #ddccf0;--sapAvatar_10_Background: #eaecee;--sapAvatar_10_BorderColor: #eaecee;--sapAvatar_10_TextColor: #556b82;--sapAvatar_10_Hover_Background: #eaecee;--sapAvatar_Lite_BorderColor: transparent;--sapAvatar_Lite_Background: transparent;--sapAvatar_Hover_BorderColor: rgba(85,107,129,.25);--sapButton_Background: #fff;--sapButton_BorderColor: #bcc3ca;--sapButton_BorderWidth: .0625rem;--sapButton_BorderCornerRadius: .5rem;--sapButton_TextColor: #0064d9;--sapButton_FontFamily: "72-SemiboldDuplex", "72-SemiboldDuplexfull", "72", "72full", Arial, Helvetica, sans-serif;--sapButton_Hover_Background: #eaecee;--sapButton_Hover_BorderColor: #bcc3ca;--sapButton_Hover_TextColor: #0064d9;--sapButton_IconColor: #0064d9;--sapButton_Active_Background: #fff;--sapButton_Active_BorderColor: #0064d9;--sapButton_Active_TextColor: #0064d9;--sapButton_Emphasized_Background: #0070f2;--sapButton_Emphasized_BorderColor: #0070f2;--sapButton_Emphasized_BorderWidth: .0625rem;--sapButton_Emphasized_TextColor: #fff;--sapButton_Emphasized_FontFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;--sapButton_Emphasized_Hover_Background: #0064d9;--sapButton_Emphasized_Hover_BorderColor: #0064d9;--sapButton_Emphasized_Hover_TextColor: #fff;--sapButton_Emphasized_Active_Background: #fff;--sapButton_Emphasized_Active_BorderColor: #0064d9;--sapButton_Emphasized_Active_TextColor: #0064d9;--sapButton_Emphasized_TextShadow: transparent;--sapButton_Reject_Background: #ffd6e9;--sapButton_Reject_BorderColor: #ffc2de;--sapButton_Reject_TextColor: #aa0808;--sapButton_Reject_Hover_Background: #ffbddb;--sapButton_Reject_Hover_BorderColor: #ffbddb;--sapButton_Reject_Hover_TextColor: #aa0808;--sapButton_Reject_Active_Background: #fff;--sapButton_Reject_Active_BorderColor: #e90b0b;--sapButton_Reject_Active_TextColor: #aa0808;--sapButton_Reject_Selected_Background: #fff;--sapButton_Reject_Selected_BorderColor: #e90b0b;--sapButton_Reject_Selected_TextColor: #aa0808;--sapButton_Reject_Selected_Hover_Background: #ffbddb;--sapButton_Reject_Selected_Hover_BorderColor: #e90b0b;--sapButton_Accept_Background: #ebf5cb;--sapButton_Accept_BorderColor: #dbeda0;--sapButton_Accept_TextColor: #256f3a;--sapButton_Accept_Hover_Background: #e3f1b6;--sapButton_Accept_Hover_BorderColor: #e3f1b6;--sapButton_Accept_Hover_TextColor: #256f3a;--sapButton_Accept_Active_Background: #fff;--sapButton_Accept_Active_BorderColor: #30914c;--sapButton_Accept_Active_TextColor: #256f3a;--sapButton_Accept_Selected_Background: #fff;--sapButton_Accept_Selected_BorderColor: #30914c;--sapButton_Accept_Selected_TextColor: #256f3a;--sapButton_Accept_Selected_Hover_Background: #e3f1b6;--sapButton_Accept_Selected_Hover_BorderColor: #30914c;--sapButton_Lite_Background: transparent;--sapButton_Lite_BorderColor: transparent;--sapButton_Lite_TextColor: #0064d9;--sapButton_Lite_Hover_Background: #eaecee;--sapButton_Lite_Hover_BorderColor: #bcc3ca;--sapButton_Lite_Hover_TextColor: #0064d9;--sapButton_Lite_Active_Background: #fff;--sapButton_Lite_Active_BorderColor: #0064d9;--sapButton_Selected_Background: #edf6ff;--sapButton_Selected_BorderColor: #0064d9;--sapButton_Selected_TextColor: #0064d9;--sapButton_Selected_Hover_Background: #d9ecff;--sapButton_Selected_Hover_BorderColor: #0064d9;--sapButton_Attention_Background: #fff3b7;--sapButton_Attention_BorderColor: #ffeb84;--sapButton_Attention_TextColor: #b44f00;--sapButton_Attention_Hover_Background: #ffef9e;--sapButton_Attention_Hover_BorderColor: #ffef9e;--sapButton_Attention_Hover_TextColor: #b44f00;--sapButton_Attention_Active_Background: #fff;--sapButton_Attention_Active_BorderColor: #dd6100;--sapButton_Attention_Active_TextColor: #b44f00;--sapButton_Attention_Selected_Background: #fff;--sapButton_Attention_Selected_BorderColor: #dd6100;--sapButton_Attention_Selected_TextColor: #b44f00;--sapButton_Attention_Selected_Hover_Background: #ffef9e;--sapButton_Attention_Selected_Hover_BorderColor: #dd6100;--sapButton_Negative_Background: #f53232;--sapButton_Negative_BorderColor: #f53232;--sapButton_Negative_TextColor: #fff;--sapButton_Negative_Hover_Background: #e90b0b;--sapButton_Negative_Hover_BorderColor: #e90b0b;--sapButton_Negative_Hover_TextColor: #fff;--sapButton_Negative_Active_Background: #fff;--sapButton_Negative_Active_BorderColor: #f53232;--sapButton_Negative_Active_TextColor: #aa0808;--sapButton_Critical_Background: #e76500;--sapButton_Critical_BorderColor: #e76500;--sapButton_Critical_TextColor: #fff;--sapButton_Critical_Hover_Background: #dd6100;--sapButton_Critical_Hover_BorderColor: #dd6100;--sapButton_Critical_Hover_TextColor: #fff;--sapButton_Critical_Active_Background: #fff;--sapButton_Critical_Active_BorderColor: #dd6100;--sapButton_Critical_Active_TextColor: #b44f00;--sapButton_Success_Background: #30914c;--sapButton_Success_BorderColor: #30914c;--sapButton_Success_TextColor: #fff;--sapButton_Success_Hover_Background: #2c8646;--sapButton_Success_Hover_BorderColor: #2c8646;--sapButton_Success_Hover_TextColor: #fff;--sapButton_Success_Active_Background: #fff;--sapButton_Success_Active_BorderColor: #30914c;--sapButton_Success_Active_TextColor: #256f3a;--sapButton_Information_Background: #e8f3ff;--sapButton_Information_BorderColor: #b5d8ff;--sapButton_Information_TextColor: #0064d9;--sapButton_Information_Hover_Background: #d4e8ff;--sapButton_Information_Hover_BorderColor: #b5d8ff;--sapButton_Information_Hover_TextColor: #0064d9;--sapButton_Information_Active_Background: #fff;--sapButton_Information_Active_BorderColor: #0064d9;--sapButton_Information_Active_TextColor: #0064d9;--sapButton_Neutral_Background: #e8f3ff;--sapButton_Neutral_BorderColor: #b5d8ff;--sapButton_Neutral_TextColor: #0064d9;--sapButton_Neutral_Hover_Background: #d4e8ff;--sapButton_Neutral_Hover_BorderColor: #b5d8ff;--sapButton_Neutral_Hover_TextColor: #0064d9;--sapButton_Neutral_Active_Background: #fff;--sapButton_Neutral_Active_BorderColor: #0064d9;--sapButton_Neutral_Active_TextColor: #0064d9;--sapButton_Track_Background: #788fa6;--sapButton_Track_BorderColor: #788fa6;--sapButton_Track_TextColor: #fff;--sapButton_Track_Hover_Background: #637d97;--sapButton_Track_Hover_BorderColor: #637d97;--sapButton_Track_Selected_Background: #0064d9;--sapButton_Track_Selected_BorderColor: #0064d9;--sapButton_Track_Selected_TextColor: #fff;--sapButton_Track_Selected_Hover_Background: #0058c0;--sapButton_Track_Selected_Hover_BorderColor: #0058c0;--sapButton_Handle_Background: #fff;--sapButton_Handle_BorderColor: #fff;--sapButton_Handle_TextColor: #131e29;--sapButton_Handle_Hover_Background: #fff;--sapButton_Handle_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_Handle_Selected_Background: #edf6ff;--sapButton_Handle_Selected_BorderColor: #edf6ff;--sapButton_Handle_Selected_TextColor: #0064d9;--sapButton_Handle_Selected_Hover_Background: #edf6ff;--sapButton_Handle_Selected_Hover_BorderColor: rgba(237,246,255,.5);--sapButton_Track_Negative_Background: #f53232;--sapButton_Track_Negative_BorderColor: #f53232;--sapButton_Track_Negative_TextColor: #fff;--sapButton_Track_Negative_Hover_Background: #e90b0b;--sapButton_Track_Negative_Hover_BorderColor: #e90b0b;--sapButton_Handle_Negative_Background: #fff;--sapButton_Handle_Negative_BorderColor: #fff;--sapButton_Handle_Negative_TextColor: #aa0808;--sapButton_Handle_Negative_Hover_Background: #fff;--sapButton_Handle_Negative_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_Track_Positive_Background: #30914c;--sapButton_Track_Positive_BorderColor: #30914c;--sapButton_Track_Positive_TextColor: #fff;--sapButton_Track_Positive_Hover_Background: #2c8646;--sapButton_Track_Positive_Hover_BorderColor: #2c8646;--sapButton_Handle_Positive_Background: #fff;--sapButton_Handle_Positive_BorderColor: #fff;--sapButton_Handle_Positive_TextColor: #256f3a;--sapButton_Handle_Positive_Hover_Background: #fff;--sapButton_Handle_Positive_Hover_BorderColor: rgba(255,255,255,.5);--sapButton_TokenBackground: #fff;--sapButton_TokenBorderColor: #bcc3ca;--sapButton_TokenBorderCornerRadius: .375rem;--sapButton_Selected_TokenBorderWidth: .0625rem;--sapButton_ReadOnly_TokenBackground: #fff;--sapButton_Segment_BorderCornerRadius: .5rem;--sapField_Background: #fff;--sapField_BackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #556b81, #556b81) border-box;--sapField_TextColor: #131e29;--sapField_PlaceholderTextColor: #556b82;--sapField_BorderColor: #556b81;--sapField_HelpBackground: #fff;--sapField_BorderWidth: .0625rem;--sapField_BorderStyle: none;--sapField_BorderCornerRadius: .25rem;--sapField_Shadow: inset 0 0 0 .0625rem rgba(85,107,129,.25);--sapField_Hover_Background: #fff;--sapField_Hover_BackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #0064d9, #0064d9) border-box;--sapField_Hover_BorderColor: #0064d9;--sapField_Hover_HelpBackground: #fff;--sapField_Hover_Shadow: inset 0 0 0 .0625rem rgba(79,160,255,.5);--sapField_Hover_InvalidShadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapField_Hover_WarningShadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapField_Hover_SuccessShadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapField_Hover_InformationShadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapField_Active_BorderColor: #0064d9;--sapField_Focus_Background: #fff;--sapField_Focus_BorderColor: #0032a5;--sapField_Focus_HelpBackground: #fff;--sapField_ReadOnly_Background: #eaecee;--sapField_ReadOnly_BackgroundStyle: 0 100% / .375rem .0625rem repeat-x linear-gradient(90deg, #556b81 0, #556b81 .25rem, transparent .25rem) border-box;--sapField_ReadOnly_BorderColor: #556b81;--sapField_ReadOnly_BorderStyle: none;--sapField_ReadOnly_HelpBackground: #eaecee;--sapField_RequiredColor: #ba066c;--sapField_InvalidColor: #e90b0b;--sapField_InvalidBackground: #ffeaf4;--sapField_InvalidBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #e90b0b, #e90b0b) border-box;--sapField_InvalidBorderWidth: .125rem;--sapField_InvalidBorderStyle: none;--sapField_InvalidShadow: inset 0 0 0 .0625rem rgba(255,142,196,.45);--sapField_WarningColor: #dd6100;--sapField_WarningBackground: #fff8d6;--sapField_WarningBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #dd6100, #dd6100) border-box;--sapField_WarningBorderWidth: .125rem;--sapField_WarningBorderStyle: none;--sapField_WarningShadow: inset 0 0 0 .0625rem rgba(255,213,10,.4);--sapField_SuccessColor: #30914c;--sapField_SuccessBackground: #f5fae5;--sapField_SuccessBackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #30914c, #30914c) border-box;--sapField_SuccessBorderWidth: .0625rem;--sapField_SuccessBorderStyle: none;--sapField_SuccessShadow: inset 0 0 0 .0625rem rgba(48,145,76,.18);--sapField_InformationColor: #0070f2;--sapField_InformationBackground: #e1f4ff;--sapField_InformationBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #0070f2, #0070f2) border-box;--sapField_InformationBorderWidth: .125rem;--sapField_InformationBorderStyle: none;--sapField_InformationShadow: inset 0 0 0 .0625rem rgba(104,174,255,.5);--sapField_Selector_Hover_Background: #e3f0ff;--sapField_Selector_Hover_InvalidBackground: #fff;--sapField_Selector_Hover_WarningBackground: #fff;--sapField_Selector_Hover_SuccessBackground: #fff;--sapField_Selector_Hover_InformationBackground: #fff;--sapField_Picker_BorderColor: #556b81;--sapField_Picker_BorderWidth: .0625rem;--sapField_Selector_BorderStyle: solid;--sapField_Selector_ReadOnly_BorderStyle: dashed;--sapField_Selector_InvalidBorderStyle: solid;--sapField_Selector_WarningBorderStyle: solid;--sapField_Selector_SuccessBorderStyle: solid;--sapField_Selector_InformationBorderStyle: solid;--sapGroup_TitleBorderWidth: .0625rem;--sapGroup_TitleBackground: #fff;--sapGroup_TitleBorderColor: #a8b2bd;--sapGroup_TitleTextColor: #131e29;--sapGroup_Title_FontSize: 1rem;--sapGroup_ContentBackground: #fff;--sapGroup_ContentAlternatingBackground: #eaecee;--sapGroup_ContentBorderColor: #d9d9d9;--sapGroup_BorderWidth: .0625rem;--sapGroup_BorderCornerRadius: .75rem;--sapGroup_FooterBackground: transparent;--sapToolbar_Background: #fff;--sapToolbar_SeparatorColor: #d9d9d9;--sapList_HeaderBackground: #fff;--sapList_HeaderBorderColor: #a8b2bd;--sapList_HeaderTextColor: #131e29;--sapList_BorderColor: #e5e5e5;--sapList_BorderWidth: .0625rem;--sapList_TextColor: #131e29;--sapList_Active_TextColor: #131e29;--sapList_Active_Background: #dee2e5;--sapList_SelectionBackgroundColor: #ebf8ff;--sapList_SelectionBorderColor: #0064d9;--sapList_Hover_SelectionBackground: #dcf3ff;--sapList_Background: #fff;--sapList_Hover_Background: #eaecee;--sapList_AlternatingBackground: #f5f6f7;--sapList_GroupHeaderBackground: #fff;--sapList_GroupHeaderBorderColor: #a8b2bd;--sapList_GroupHeaderTextColor: #131e29;--sapList_TableGroupHeaderBackground: #eff1f2;--sapList_TableGroupHeaderBorderColor: #a8b2bd;--sapList_TableGroupHeaderTextColor: #131e29;--sapList_FooterBackground: #fff;--sapList_FooterTextColor: #131e29;--sapList_TableFooterBorder: #a8b2bd;--sapList_TableFixedBorderColor: #8c8c8c;--sapList_TableFixedColumnBorderWidth: .0625rem;--sapList_TableFixedRowBorderWidth: .125rem;--sapMessage_BorderWidth: .0625rem;--sapMessage_ErrorBorderColor: #ff8ec4;--sapMessage_WarningBorderColor: #ffe770;--sapMessage_SuccessBorderColor: #cee67e;--sapMessage_InformationBorderColor: #7bcfff;--sapMessage_Button_Hover_Background: rgba(234,236,238,.2);--sapPopover_BorderCornerRadius: .5rem;--sapProgress_Background: #d5dadd;--sapProgress_BorderColor: #d5dadd;--sapProgress_TextColor: #131e29;--sapProgress_FontSize: .875rem;--sapProgress_NegativeBackground: #ffdbec;--sapProgress_NegativeBorderColor: #ffdbec;--sapProgress_NegativeTextColor: #131e29;--sapProgress_CriticalBackground: #fff4bd;--sapProgress_CriticalBorderColor: #fff4bd;--sapProgress_CriticalTextColor: #131e29;--sapProgress_PositiveBackground: #e5f2ba;--sapProgress_PositiveBorderColor: #e5f2ba;--sapProgress_PositiveTextColor: #131e29;--sapProgress_InformationBackground: #cdedff;--sapProgress_InformationBorderColor: #cdedff;--sapProgress_InformationTextColor: #131e29;--sapProgress_Value_Background: #617b94;--sapProgress_Value_BorderColor: #617b94;--sapProgress_Value_TextColor: #788fa6;--sapProgress_Value_NegativeBackground: #f53232;--sapProgress_Value_NegativeBorderColor: #f53232;--sapProgress_Value_NegativeTextColor: #f53232;--sapProgress_Value_CriticalBackground: #e76500;--sapProgress_Value_CriticalBorderColor: #e76500;--sapProgress_Value_CriticalTextColor: #e76500;--sapProgress_Value_PositiveBackground: #30914c;--sapProgress_Value_PositiveBorderColor: #30914c;--sapProgress_Value_PositiveTextColor: #30914c;--sapProgress_Value_InformationBackground: #0070f2;--sapProgress_Value_InformationBorderColor: #0070f2;--sapProgress_Value_InformationTextColor: #0070f2;--sapScrollBar_FaceColor: #7b91a8;--sapScrollBar_TrackColor: #fff;--sapScrollBar_BorderColor: #7b91a8;--sapScrollBar_SymbolColor: #0064d9;--sapScrollBar_Dimension: .75rem;--sapScrollBar_Hover_FaceColor: #5b728b;--sapSlider_Background: #d5dadd;--sapSlider_BorderColor: #d5dadd;--sapSlider_Selected_Background: #0064d9;--sapSlider_Selected_BorderColor: #0064d9;--sapSlider_Selected_Dimension: .125rem;--sapSlider_HandleBackground: #fff;--sapSlider_HandleBorderColor: #b0d5ff;--sapSlider_RangeHandleBackground: #fff;--sapSlider_Hover_HandleBackground: #d9ecff;--sapSlider_Hover_HandleBorderColor: #b0d5ff;--sapSlider_Hover_RangeHandleBackground: #d9ecff;--sapSlider_Active_HandleBackground: #fff;--sapSlider_Active_HandleBorderColor: #0064d9;--sapSlider_Active_RangeHandleBackground: transparent;--sapPageHeader_Background: #fff;--sapPageHeader_BorderColor: #d9d9d9;--sapPageHeader_TextColor: #131e29;--sapPageFooter_Background: #fff;--sapPageFooter_BorderColor: #d9d9d9;--sapPageFooter_TextColor: #131e29;--sapInfobar_Background: #c2fcee;--sapInfobar_Hover_Background: #fff;--sapInfobar_Active_Background: #fff;--sapInfobar_NonInteractive_Background: #f5f6f7;--sapInfobar_TextColor: #046c7a;--sapObjectHeader_Background: #fff;--sapObjectHeader_Hover_Background: #eaecee;--sapObjectHeader_BorderColor: #d9d9d9;--sapObjectHeader_Title_TextColor: #131e29;--sapObjectHeader_Title_FontSize: 1.5rem;--sapObjectHeader_Title_SnappedFontSize: 1.25rem;--sapObjectHeader_Title_FontFamily: "72Black", "72Blackfull","72", "72full", Arial, Helvetica, sans-serif;--sapObjectHeader_Subtitle_TextColor: #556b82;--sapBlockLayer_Background: #000;--sapBlockLayer_Opacity: .2;--sapTab_TextColor: #131e29;--sapTab_ForegroundColor: #0064d9;--sapTab_IconColor: #0064d9;--sapTab_Background: #fff;--sapTab_Selected_TextColor: #0064d9;--sapTab_Selected_IconColor: #fff;--sapTab_Selected_Background: #0064d9;--sapTab_Selected_Indicator_Dimension: .1875rem;--sapTab_Positive_TextColor: #256f3a;--sapTab_Positive_ForegroundColor: #30914c;--sapTab_Positive_IconColor: #30914c;--sapTab_Positive_Selected_TextColor: #256f3a;--sapTab_Positive_Selected_IconColor: #fff;--sapTab_Positive_Selected_Background: #30914c;--sapTab_Negative_TextColor: #aa0808;--sapTab_Negative_ForegroundColor: #f53232;--sapTab_Negative_IconColor: #f53232;--sapTab_Negative_Selected_TextColor: #aa0808;--sapTab_Negative_Selected_IconColor: #fff;--sapTab_Negative_Selected_Background: #f53232;--sapTab_Critical_TextColor: #b44f00;--sapTab_Critical_ForegroundColor: #e76500;--sapTab_Critical_IconColor: #e76500;--sapTab_Critical_Selected_TextColor: #b44f00;--sapTab_Critical_Selected_IconColor: #fff;--sapTab_Critical_Selected_Background: #e76500;--sapTab_Neutral_TextColor: #131e29;--sapTab_Neutral_ForegroundColor: #788fa6;--sapTab_Neutral_IconColor: #788fa6;--sapTab_Neutral_Selected_TextColor: #131e29;--sapTab_Neutral_Selected_IconColor: #fff;--sapTab_Neutral_Selected_Background: #788fa6;--sapTile_Background: #fff;--sapTile_Hover_Background: #eaecee;--sapTile_Active_Background: #dee2e5;--sapTile_BorderColor: transparent;--sapTile_BorderCornerRadius: 1rem;--sapTile_TitleTextColor: #131e29;--sapTile_TextColor: #556b82;--sapTile_IconColor: #556b82;--sapTile_SeparatorColor: transparent;--sapTile_Interactive_BorderColor: #b3b3b3;--sapTile_OverlayBackground: #fff;--sapTile_OverlayForegroundColor: #131e29;--sapTile_Hover_ContentBackground: #fff;--sapTile_Active_ContentBackground: #fff;--sapAccentColor1: #d27700;--sapAccentColor2: #aa0808;--sapAccentColor3: #ba066c;--sapAccentColor4: #a100c2;--sapAccentColor5: #5d36ff;--sapAccentColor6: #0057d2;--sapAccentColor7: #046c7a;--sapAccentColor8: #256f3a;--sapAccentColor9: #6c32a9;--sapAccentColor10: #5b738b;--sapAccentBackgroundColor1: #fff3b8;--sapAccentBackgroundColor2: #ffd0e7;--sapAccentBackgroundColor3: #ffdbe7;--sapAccentBackgroundColor4: #ffdcf3;--sapAccentBackgroundColor5: #ded3ff;--sapAccentBackgroundColor6: #d1efff;--sapAccentBackgroundColor7: #c2fcee;--sapAccentBackgroundColor8: #ebf5cb;--sapAccentBackgroundColor9: #ddccf0;--sapAccentBackgroundColor10: #eaecee;--sapIndicationColor_1: #840606;--sapIndicationColor_1_Background: #840606;--sapIndicationColor_1_BorderColor: #840606;--sapIndicationColor_1_TextColor: #fff;--sapIndicationColor_1_Hover_Background: #6c0505;--sapIndicationColor_1_Active_Background: #fff;--sapIndicationColor_1_Active_BorderColor: #fb9d9d;--sapIndicationColor_1_Active_TextColor: #840606;--sapIndicationColor_1_Selected_Background: #fff;--sapIndicationColor_1_Selected_BorderColor: #fb9d9d;--sapIndicationColor_1_Selected_TextColor: #840606;--sapIndicationColor_1b: #fb9d9d;--sapIndicationColor_1b_TextColor: #830707;--sapIndicationColor_1b_Background: #fb9d9d;--sapIndicationColor_1b_BorderColor: #fb9d9d;--sapIndicationColor_1b_Hover_Background: #fa8585;--sapIndicationColor_2: #aa0808;--sapIndicationColor_2_Background: #aa0808;--sapIndicationColor_2_BorderColor: #aa0808;--sapIndicationColor_2_TextColor: #fff;--sapIndicationColor_2_Hover_Background: #920707;--sapIndicationColor_2_Active_Background: #fff;--sapIndicationColor_2_Active_BorderColor: #fcc4c4;--sapIndicationColor_2_Active_TextColor: #aa0808;--sapIndicationColor_2_Selected_Background: #fff;--sapIndicationColor_2_Selected_BorderColor: #fcc4c4;--sapIndicationColor_2_Selected_TextColor: #aa0808;--sapIndicationColor_2b: #fcc4c4;--sapIndicationColor_2b_TextColor: #a90909;--sapIndicationColor_2b_Background: #fcc4c4;--sapIndicationColor_2b_BorderColor: #fcc4c4;--sapIndicationColor_2b_Hover_Background: #fbacac;--sapIndicationColor_3: #b95100;--sapIndicationColor_3_Background: #e76500;--sapIndicationColor_3_BorderColor: #e76500;--sapIndicationColor_3_TextColor: #fff;--sapIndicationColor_3_Hover_Background: #d85e00;--sapIndicationColor_3_Active_Background: #fff;--sapIndicationColor_3_Active_BorderColor: #ffdfc3;--sapIndicationColor_3_Active_TextColor: #b95100;--sapIndicationColor_3_Selected_Background: #fff;--sapIndicationColor_3_Selected_BorderColor: #ffdfc3;--sapIndicationColor_3_Selected_TextColor: #b95100;--sapIndicationColor_3b: #ffdfc3;--sapIndicationColor_3b_TextColor: #a44d00;--sapIndicationColor_3b_Background: #ffdfc3;--sapIndicationColor_3b_BorderColor: #ffdfc3;--sapIndicationColor_3b_Hover_Background: #ffd1a9;--sapIndicationColor_4: #256f3a;--sapIndicationColor_4_Background: #256f3a;--sapIndicationColor_4_BorderColor: #256f3a;--sapIndicationColor_4_TextColor: #fff;--sapIndicationColor_4_Hover_Background: #1f5c30;--sapIndicationColor_4_Active_Background: #fff;--sapIndicationColor_4_Active_BorderColor: #bae8bc;--sapIndicationColor_4_Active_TextColor: #256f3a;--sapIndicationColor_4_Selected_Background: #fff;--sapIndicationColor_4_Selected_BorderColor: #bae8bc;--sapIndicationColor_4_Selected_TextColor: #256f3a;--sapIndicationColor_4b: #bae8bc;--sapIndicationColor_4b_TextColor: #256f28;--sapIndicationColor_4b_Background: #bae8bc;--sapIndicationColor_4b_BorderColor: #bae8bc;--sapIndicationColor_4b_Hover_Background: #a7e2a9;--sapIndicationColor_5: #0070f2;--sapIndicationColor_5_Background: #0070f2;--sapIndicationColor_5_BorderColor: #0070f2;--sapIndicationColor_5_TextColor: #fff;--sapIndicationColor_5_Hover_Background: #0064d9;--sapIndicationColor_5_Active_Background: #fff;--sapIndicationColor_5_Active_BorderColor: #d9ebff;--sapIndicationColor_5_Active_TextColor: #0070f2;--sapIndicationColor_5_Selected_Background: #fff;--sapIndicationColor_5_Selected_BorderColor: #d9ebff;--sapIndicationColor_5_Selected_TextColor: #0070f2;--sapIndicationColor_5b: #d9ebff;--sapIndicationColor_5b_TextColor: #0067d9;--sapIndicationColor_5b_Background: #d9ebff;--sapIndicationColor_5b_BorderColor: #d9ebff;--sapIndicationColor_5b_Hover_Background: #c0deff;--sapIndicationColor_6: #046c7a;--sapIndicationColor_6_Background: #046c7a;--sapIndicationColor_6_BorderColor: #046c7a;--sapIndicationColor_6_TextColor: #fff;--sapIndicationColor_6_Hover_Background: #035661;--sapIndicationColor_6_Active_Background: #fff;--sapIndicationColor_6_Active_BorderColor: #cdf5ec;--sapIndicationColor_6_Active_TextColor: #046c7a;--sapIndicationColor_6_Selected_Background: #fff;--sapIndicationColor_6_Selected_BorderColor: #cdf5ec;--sapIndicationColor_6_Selected_TextColor: #046c7a;--sapIndicationColor_6b: #cdf5ec;--sapIndicationColor_6b_TextColor: #156b58;--sapIndicationColor_6b_Background: #cdf5ec;--sapIndicationColor_6b_BorderColor: #cdf5ec;--sapIndicationColor_6b_Hover_Background: #b8f1e4;--sapIndicationColor_7: #5d36ff;--sapIndicationColor_7_Background: #5d36ff;--sapIndicationColor_7_BorderColor: #5d36ff;--sapIndicationColor_7_TextColor: #fff;--sapIndicationColor_7_Hover_Background: #481cff;--sapIndicationColor_7_Active_Background: #fff;--sapIndicationColor_7_Active_BorderColor: #e2dbff;--sapIndicationColor_7_Active_TextColor: #5d36ff;--sapIndicationColor_7_Selected_Background: #fff;--sapIndicationColor_7_Selected_BorderColor: #e2dbff;--sapIndicationColor_7_Selected_TextColor: #5d36ff;--sapIndicationColor_7b: #e2dbff;--sapIndicationColor_7b_TextColor: #5f38ff;--sapIndicationColor_7b_Background: #e2dbff;--sapIndicationColor_7b_BorderColor: #e2dbff;--sapIndicationColor_7b_Hover_Background: #cdc2ff;--sapIndicationColor_8: #a100c2;--sapIndicationColor_8_Background: #a100c2;--sapIndicationColor_8_BorderColor: #a100c2;--sapIndicationColor_8_TextColor: #fff;--sapIndicationColor_8_Hover_Background: #8c00a9;--sapIndicationColor_8_Active_Background: #fff;--sapIndicationColor_8_Active_BorderColor: #f8d6ff;--sapIndicationColor_8_Active_TextColor: #a100c2;--sapIndicationColor_8_Selected_Background: #fff;--sapIndicationColor_8_Selected_BorderColor: #f8d6ff;--sapIndicationColor_8_Selected_TextColor: #a100c2;--sapIndicationColor_8b: #f8d6ff;--sapIndicationColor_8b_TextColor: #a100c2;--sapIndicationColor_8b_Background: #f8d6ff;--sapIndicationColor_8b_BorderColor: #f8d6ff;--sapIndicationColor_8b_Hover_Background: #f4bdff;--sapIndicationColor_9: #1d2d3e;--sapIndicationColor_9_Background: #1d2d3e;--sapIndicationColor_9_BorderColor: #1d2d3e;--sapIndicationColor_9_TextColor: #fff;--sapIndicationColor_9_Hover_Background: #15202d;--sapIndicationColor_9_Active_Background: #fff;--sapIndicationColor_9_Active_BorderColor: #d9d9d9;--sapIndicationColor_9_Active_TextColor: #1d2d3e;--sapIndicationColor_9_Selected_Background: #fff;--sapIndicationColor_9_Selected_BorderColor: #d9d9d9;--sapIndicationColor_9_Selected_TextColor: #1d2d3e;--sapIndicationColor_9b: #fff;--sapIndicationColor_9b_TextColor: #2e2e2e;--sapIndicationColor_9b_Background: #fff;--sapIndicationColor_9b_BorderColor: #d9d9d9;--sapIndicationColor_9b_Hover_Background: #f2f2f2;--sapIndicationColor_10: #45484a;--sapIndicationColor_10_Background: #83888b;--sapIndicationColor_10_BorderColor: #83888b;--sapIndicationColor_10_TextColor: #fff;--sapIndicationColor_10_Hover_Background: #767b7e;--sapIndicationColor_10_Active_Background: #fff;--sapIndicationColor_10_Active_BorderColor: #eaecee;--sapIndicationColor_10_Active_TextColor: #45484a;--sapIndicationColor_10_Selected_Background: #fff;--sapIndicationColor_10_Selected_BorderColor: #eaecee;--sapIndicationColor_10_Selected_TextColor: #45484a;--sapIndicationColor_10b: #eaecee;--sapIndicationColor_10b_TextColor: #464646;--sapIndicationColor_10b_Background: #eaecee;--sapIndicationColor_10b_BorderColor: #eaecee;--sapIndicationColor_10b_Hover_Background: #dcdfe3;--sapLegend_WorkingBackground: #fff;--sapLegend_NonWorkingBackground: #ebebeb;--sapLegend_CurrentDateTime: #a100c2;--sapLegendColor1: #c35500;--sapLegendColor2: #d23a0a;--sapLegendColor3: #df1278;--sapLegendColor4: #840606;--sapLegendColor5: #cc00dc;--sapLegendColor6: #0057d2;--sapLegendColor7: #07838f;--sapLegendColor8: #188918;--sapLegendColor9: #5b738b;--sapLegendColor10: #7800a4;--sapLegendColor11: #a93e00;--sapLegendColor12: #aa2608;--sapLegendColor13: #ba066c;--sapLegendColor14: #8d2a00;--sapLegendColor15: #4e247a;--sapLegendColor16: #002a86;--sapLegendColor17: #035663;--sapLegendColor18: #1e592f;--sapLegendColor19: #1a4796;--sapLegendColor20: #470ced;--sapLegendBackgroundColor1: #ffef9f;--sapLegendBackgroundColor2: #feeae1;--sapLegendBackgroundColor3: #fbf6f8;--sapLegendBackgroundColor4: #fbebeb;--sapLegendBackgroundColor5: #ffe5fe;--sapLegendBackgroundColor6: #d1efff;--sapLegendBackgroundColor7: #c2fcee;--sapLegendBackgroundColor8: #f5fae5;--sapLegendBackgroundColor9: #f5f6f7;--sapLegendBackgroundColor10: #fff0fa;--sapLegendBackgroundColor11: #fff8d6;--sapLegendBackgroundColor12: #fff6f6;--sapLegendBackgroundColor13: #f7ebef;--sapLegendBackgroundColor14: #f1ecd5;--sapLegendBackgroundColor15: #f0e7f8;--sapLegendBackgroundColor16: #ebf8ff;--sapLegendBackgroundColor17: #dafdf5;--sapLegendBackgroundColor18: #ebf5cb;--sapLegendBackgroundColor19: #fafdff;--sapLegendBackgroundColor20: #eceeff;--sapChart_Background: #fff;--sapChart_ContrastTextShadow: 0 0 .0625rem rgba(0,0,0,.7);--sapChart_ContrastShadowColor: #fff;--sapChart_ContrastLineColor: #fff;--sapChart_LineColor_1: #e1e6eb;--sapChart_LineColor_2: #768da4;--sapChart_LineColor_3: #000001;--sapChart_Choropleth_Background: #edf0f3;--sapChart_ChoroplethRegion_Background: #758ca4;--sapChart_ChoroplethRegion_BorderColor: #edf0f3;--sapChart_Data_TextColor: #000;--sapChart_Data_ContrastTextColor: #fff;--sapChart_Data_InteractiveColor: #000001;--sapChart_Data_Active_Background: #dee2e5;--sapChart_IBCS_Actual: #233649;--sapChart_IBCS_Previous: #758ca4;--sapChart_IBCS_Good: #287a40;--sapChart_IBCS_Bad: #d00a0a;--sapChart_OrderedColor_1: #168eff;--sapChart_OrderedColor_2: #c87b00;--sapChart_OrderedColor_3: #75980b;--sapChart_OrderedColor_4: #df1278;--sapChart_OrderedColor_5: #8b47d7;--sapChart_OrderedColor_6: #049f9a;--sapChart_OrderedColor_7: #0070f2;--sapChart_OrderedColor_8: #cc00dc;--sapChart_OrderedColor_9: #798c77;--sapChart_OrderedColor_10: #da6c6c;--sapChart_OrderedColor_11: #5d36ff;--sapChart_OrderedColor_12: #a68a5b;--sapChart_Bad: #f53232;--sapChart_Critical: #e26300;--sapChart_Good: #30914c;--sapChart_Neutral: #758ca4;--sapChart_Sequence_1_Plus3: #8bc7ff;--sapChart_Sequence_1_Plus3_TextColor: #000;--sapChart_Sequence_1_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_Plus2: #62b3ff;--sapChart_Sequence_1_Plus2_TextColor: #000;--sapChart_Sequence_1_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_Plus1: #3fa2ff;--sapChart_Sequence_1_Plus1_TextColor: #000;--sapChart_Sequence_1_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1: #168eff;--sapChart_Sequence_1_TextColor: #000;--sapChart_Sequence_1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_1_BorderColor: #0074e2;--sapChart_Sequence_1_Minus1: #0074e2;--sapChart_Sequence_1_Minus1_TextColor: #fff;--sapChart_Sequence_1_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus2: #0065c3;--sapChart_Sequence_1_Minus2_TextColor: #fff;--sapChart_Sequence_1_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus3: #0055a5;--sapChart_Sequence_1_Minus3_TextColor: #fff;--sapChart_Sequence_1_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus4: #003b72;--sapChart_Sequence_1_Minus4_TextColor: #fff;--sapChart_Sequence_1_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_1_Minus5: #00305d;--sapChart_Sequence_1_Minus5_TextColor: #fff;--sapChart_Sequence_1_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Plus3: #efbf72;--sapChart_Sequence_2_Plus3_TextColor: #000;--sapChart_Sequence_2_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_Plus2: #eaaa44;--sapChart_Sequence_2_Plus2_TextColor: #000;--sapChart_Sequence_2_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_Plus1: #e29419;--sapChart_Sequence_2_Plus1_TextColor: #000;--sapChart_Sequence_2_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2: #c87b00;--sapChart_Sequence_2_TextColor: #000;--sapChart_Sequence_2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_2_BorderColor: #9f6200;--sapChart_Sequence_2_Minus1: #9f6200;--sapChart_Sequence_2_Minus1_TextColor: #fff;--sapChart_Sequence_2_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus2: #7c4c00;--sapChart_Sequence_2_Minus2_TextColor: #fff;--sapChart_Sequence_2_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus3: #623c00;--sapChart_Sequence_2_Minus3_TextColor: #fff;--sapChart_Sequence_2_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus4: #492d00;--sapChart_Sequence_2_Minus4_TextColor: #fff;--sapChart_Sequence_2_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_2_Minus5: #2f1d00;--sapChart_Sequence_2_Minus5_TextColor: #fff;--sapChart_Sequence_2_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Plus3: #b9d369;--sapChart_Sequence_3_Plus3_TextColor: #000;--sapChart_Sequence_3_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_Plus2: #a6c742;--sapChart_Sequence_3_Plus2_TextColor: #000;--sapChart_Sequence_3_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_Plus1: #8fad33;--sapChart_Sequence_3_Plus1_TextColor: #000;--sapChart_Sequence_3_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3: #75980b;--sapChart_Sequence_3_TextColor: #000;--sapChart_Sequence_3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_3_BorderColor: #587208;--sapChart_Sequence_3_Minus1: #587208;--sapChart_Sequence_3_Minus1_TextColor: #fff;--sapChart_Sequence_3_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus2: #3e5106;--sapChart_Sequence_3_Minus2_TextColor: #fff;--sapChart_Sequence_3_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus3: #2c3904;--sapChart_Sequence_3_Minus3_TextColor: #fff;--sapChart_Sequence_3_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus4: #212b03;--sapChart_Sequence_3_Minus4_TextColor: #fff;--sapChart_Sequence_3_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_3_Minus5: #161c02;--sapChart_Sequence_3_Minus5_TextColor: #fff;--sapChart_Sequence_3_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Plus3: #f473b3;--sapChart_Sequence_4_Plus3_TextColor: #000;--sapChart_Sequence_4_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4_Plus2: #f14d9e;--sapChart_Sequence_4_Plus2_TextColor: #000;--sapChart_Sequence_4_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4_Plus1: #ee278a;--sapChart_Sequence_4_Plus1_TextColor: #000;--sapChart_Sequence_4_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_4: #df1278;--sapChart_Sequence_4_TextColor: #fff;--sapChart_Sequence_4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_BorderColor: #df1278;--sapChart_Sequence_4_Minus1: #b90f64;--sapChart_Sequence_4_Minus1_TextColor: #fff;--sapChart_Sequence_4_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus2: #930c4f;--sapChart_Sequence_4_Minus2_TextColor: #fff;--sapChart_Sequence_4_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus3: #770a40;--sapChart_Sequence_4_Minus3_TextColor: #fff;--sapChart_Sequence_4_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus4: #51072c;--sapChart_Sequence_4_Minus4_TextColor: #fff;--sapChart_Sequence_4_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_4_Minus5: #3a051f;--sapChart_Sequence_4_Minus5_TextColor: #fff;--sapChart_Sequence_4_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Plus3: #d5bcf0;--sapChart_Sequence_5_Plus3_TextColor: #000;--sapChart_Sequence_5_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5_Plus2: #b994e0;--sapChart_Sequence_5_Plus2_TextColor: #000;--sapChart_Sequence_5_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5_Plus1: #a679d8;--sapChart_Sequence_5_Plus1_TextColor: #000;--sapChart_Sequence_5_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_5: #8b47d7;--sapChart_Sequence_5_TextColor: #fff;--sapChart_Sequence_5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_BorderColor: #8b47d7;--sapChart_Sequence_5_Minus1: #7236b5;--sapChart_Sequence_5_Minus1_TextColor: #fff;--sapChart_Sequence_5_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus2: #5e2c96;--sapChart_Sequence_5_Minus2_TextColor: #fff;--sapChart_Sequence_5_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus3: #522682;--sapChart_Sequence_5_Minus3_TextColor: #fff;--sapChart_Sequence_5_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus4: #46216f;--sapChart_Sequence_5_Minus4_TextColor: #fff;--sapChart_Sequence_5_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_5_Minus5: #341358;--sapChart_Sequence_5_Minus5_TextColor: #fff;--sapChart_Sequence_5_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Plus3: #64ede9;--sapChart_Sequence_6_Plus3_TextColor: #000;--sapChart_Sequence_6_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_Plus2: #2ee0da;--sapChart_Sequence_6_Plus2_TextColor: #000;--sapChart_Sequence_6_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_Plus1: #05c7c1;--sapChart_Sequence_6_Plus1_TextColor: #000;--sapChart_Sequence_6_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6: #049f9a;--sapChart_Sequence_6_TextColor: #000;--sapChart_Sequence_6_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_6_BorderColor: #05c7c1;--sapChart_Sequence_6_Minus1: #02837f;--sapChart_Sequence_6_Minus1_TextColor: #fff;--sapChart_Sequence_6_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus2: #006663;--sapChart_Sequence_6_Minus2_TextColor: #fff;--sapChart_Sequence_6_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus3: #00514f;--sapChart_Sequence_6_Minus3_TextColor: #fff;--sapChart_Sequence_6_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus4: #003d3b;--sapChart_Sequence_6_Minus4_TextColor: #fff;--sapChart_Sequence_6_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_6_Minus5: #002322;--sapChart_Sequence_6_Minus5_TextColor: #fff;--sapChart_Sequence_6_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Plus3: #68aeff;--sapChart_Sequence_7_Plus3_TextColor: #000;--sapChart_Sequence_7_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7_Plus2: #4098ff;--sapChart_Sequence_7_Plus2_TextColor: #000;--sapChart_Sequence_7_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7_Plus1: #1c85ff;--sapChart_Sequence_7_Plus1_TextColor: #000;--sapChart_Sequence_7_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_7: #0070f2;--sapChart_Sequence_7_TextColor: #fff;--sapChart_Sequence_7_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_BorderColor: #0070f2;--sapChart_Sequence_7_Minus1: #0062d3;--sapChart_Sequence_7_Minus1_TextColor: #fff;--sapChart_Sequence_7_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus2: #0054b5;--sapChart_Sequence_7_Minus2_TextColor: #fff;--sapChart_Sequence_7_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus3: #00418c;--sapChart_Sequence_7_Minus3_TextColor: #fff;--sapChart_Sequence_7_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus4: #00244f;--sapChart_Sequence_7_Minus4_TextColor: #fff;--sapChart_Sequence_7_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_7_Minus5: #001b3a;--sapChart_Sequence_7_Minus5_TextColor: #fff;--sapChart_Sequence_7_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Plus3: #f462ff;--sapChart_Sequence_8_Plus3_TextColor: #000;--sapChart_Sequence_8_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8_Plus2: #f034ff;--sapChart_Sequence_8_Plus2_TextColor: #000;--sapChart_Sequence_8_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8_Plus1: #ed0bff;--sapChart_Sequence_8_Plus1_TextColor: #000;--sapChart_Sequence_8_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_8: #cc00dc;--sapChart_Sequence_8_TextColor: #fff;--sapChart_Sequence_8_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_BorderColor: #cc00dc;--sapChart_Sequence_8_Minus1: #a600b3;--sapChart_Sequence_8_Minus1_TextColor: #fff;--sapChart_Sequence_8_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus2: #80008a;--sapChart_Sequence_8_Minus2_TextColor: #fff;--sapChart_Sequence_8_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus3: #6d0076;--sapChart_Sequence_8_Minus3_TextColor: #fff;--sapChart_Sequence_8_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus4: #56005d;--sapChart_Sequence_8_Minus4_TextColor: #fff;--sapChart_Sequence_8_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_8_Minus5: #350039;--sapChart_Sequence_8_Minus5_TextColor: #fff;--sapChart_Sequence_8_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Plus3: #bdc6bc;--sapChart_Sequence_9_Plus3_TextColor: #000;--sapChart_Sequence_9_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_Plus2: #b5bfb4;--sapChart_Sequence_9_Plus2_TextColor: #000;--sapChart_Sequence_9_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_Plus1: #97a695;--sapChart_Sequence_9_Plus1_TextColor: #000;--sapChart_Sequence_9_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9: #798c77;--sapChart_Sequence_9_TextColor: #000;--sapChart_Sequence_9_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_9_BorderColor: #798c77;--sapChart_Sequence_9_Minus1: #667664;--sapChart_Sequence_9_Minus1_TextColor: #fff;--sapChart_Sequence_9_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus2: #536051;--sapChart_Sequence_9_Minus2_TextColor: #fff;--sapChart_Sequence_9_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus3: #404a3f;--sapChart_Sequence_9_Minus3_TextColor: #fff;--sapChart_Sequence_9_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus4: #2d342c;--sapChart_Sequence_9_Minus4_TextColor: #fff;--sapChart_Sequence_9_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_9_Minus5: #1e231e;--sapChart_Sequence_9_Minus5_TextColor: #fff;--sapChart_Sequence_9_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Plus3: #f1c6c6;--sapChart_Sequence_10_Plus3_TextColor: #000;--sapChart_Sequence_10_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Plus2: #eaadad;--sapChart_Sequence_10_Plus2_TextColor: #000;--sapChart_Sequence_10_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Plus1: #e28d8d;--sapChart_Sequence_10_Plus1_TextColor: #000;--sapChart_Sequence_10_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10: #da6c6c;--sapChart_Sequence_10_TextColor: #000;--sapChart_Sequence_10_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_BorderColor: #b75757;--sapChart_Sequence_10_Minus1: #b75757;--sapChart_Sequence_10_Minus1_TextColor: #000;--sapChart_Sequence_10_Minus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_10_Minus2: #9d4343;--sapChart_Sequence_10_Minus2_TextColor: #fff;--sapChart_Sequence_10_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus3: #803737;--sapChart_Sequence_10_Minus3_TextColor: #fff;--sapChart_Sequence_10_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus4: #672c2c;--sapChart_Sequence_10_Minus4_TextColor: #fff;--sapChart_Sequence_10_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_10_Minus5: #562424;--sapChart_Sequence_10_Minus5_TextColor: #fff;--sapChart_Sequence_10_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Plus3: #c0b0ff;--sapChart_Sequence_11_Plus3_TextColor: #000;--sapChart_Sequence_11_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11_Plus2: #9b83ff;--sapChart_Sequence_11_Plus2_TextColor: #000;--sapChart_Sequence_11_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11_Plus1: #8669ff;--sapChart_Sequence_11_Plus1_TextColor: #000;--sapChart_Sequence_11_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_11: #5d36ff;--sapChart_Sequence_11_TextColor: #fff;--sapChart_Sequence_11_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_BorderColor: #5d36ff;--sapChart_Sequence_11_Minus1: #4b25e7;--sapChart_Sequence_11_Minus1_TextColor: #fff;--sapChart_Sequence_11_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus2: #3a17cd;--sapChart_Sequence_11_Minus2_TextColor: #fff;--sapChart_Sequence_11_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus3: #2f13a8;--sapChart_Sequence_11_Minus3_TextColor: #fff;--sapChart_Sequence_11_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus4: #250f83;--sapChart_Sequence_11_Minus4_TextColor: #fff;--sapChart_Sequence_11_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_11_Minus5: #180955;--sapChart_Sequence_11_Minus5_TextColor: #fff;--sapChart_Sequence_11_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Plus3: #e4ddcf;--sapChart_Sequence_12_Plus3_TextColor: #000;--sapChart_Sequence_12_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_Plus2: #dacebb;--sapChart_Sequence_12_Plus2_TextColor: #000;--sapChart_Sequence_12_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_Plus1: #c4b293;--sapChart_Sequence_12_Plus1_TextColor: #000;--sapChart_Sequence_12_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12: #a68a5b;--sapChart_Sequence_12_TextColor: #000;--sapChart_Sequence_12_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_12_BorderColor: #a68a5b;--sapChart_Sequence_12_Minus1: #8c744c;--sapChart_Sequence_12_Minus1_TextColor: #fff;--sapChart_Sequence_12_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus2: #786441;--sapChart_Sequence_12_Minus2_TextColor: #fff;--sapChart_Sequence_12_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus3: #5e4e33;--sapChart_Sequence_12_Minus3_TextColor: #fff;--sapChart_Sequence_12_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus4: #433825;--sapChart_Sequence_12_Minus4_TextColor: #fff;--sapChart_Sequence_12_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_12_Minus5: #30271a;--sapChart_Sequence_12_Minus5_TextColor: #fff;--sapChart_Sequence_12_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Plus3: #fdcece;--sapChart_Sequence_Bad_Plus3_TextColor: #000;--sapChart_Sequence_Bad_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_Plus2: #fa9d9d;--sapChart_Sequence_Bad_Plus2_TextColor: #000;--sapChart_Sequence_Bad_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_Plus1: #f86c6c;--sapChart_Sequence_Bad_Plus1_TextColor: #000;--sapChart_Sequence_Bad_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad: #f53232;--sapChart_Sequence_Bad_TextColor: #000;--sapChart_Sequence_Bad_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Bad_BorderColor: #f53232;--sapChart_Sequence_Bad_Minus1: #d00a0a;--sapChart_Sequence_Bad_Minus1_TextColor: #fff;--sapChart_Sequence_Bad_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus2: #a90808;--sapChart_Sequence_Bad_Minus2_TextColor: #fff;--sapChart_Sequence_Bad_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus3: #830606;--sapChart_Sequence_Bad_Minus3_TextColor: #fff;--sapChart_Sequence_Bad_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus4: #570404;--sapChart_Sequence_Bad_Minus4_TextColor: #fff;--sapChart_Sequence_Bad_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Bad_Minus5: #320000;--sapChart_Sequence_Bad_Minus5_TextColor: #fff;--sapChart_Sequence_Bad_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Plus3: #ffb881;--sapChart_Sequence_Critical_Plus3_TextColor: #000;--sapChart_Sequence_Critical_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_Plus2: #ff933f;--sapChart_Sequence_Critical_Plus2_TextColor: #000;--sapChart_Sequence_Critical_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_Plus1: #ff760c;--sapChart_Sequence_Critical_Plus1_TextColor: #000;--sapChart_Sequence_Critical_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical: #e26300;--sapChart_Sequence_Critical_TextColor: #000;--sapChart_Sequence_Critical_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Critical_BorderColor: #e26300;--sapChart_Sequence_Critical_Minus1: #c35600;--sapChart_Sequence_Critical_Minus1_TextColor: #fff;--sapChart_Sequence_Critical_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus2: #aa4a00;--sapChart_Sequence_Critical_Minus2_TextColor: #fff;--sapChart_Sequence_Critical_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus3: #903f00;--sapChart_Sequence_Critical_Minus3_TextColor: #fff;--sapChart_Sequence_Critical_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus4: #6d3000;--sapChart_Sequence_Critical_Minus4_TextColor: #fff;--sapChart_Sequence_Critical_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Critical_Minus5: #492000;--sapChart_Sequence_Critical_Minus5_TextColor: #fff;--sapChart_Sequence_Critical_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Plus3: #88d79f;--sapChart_Sequence_Good_Plus3_TextColor: #000;--sapChart_Sequence_Good_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_Plus2: #56c776;--sapChart_Sequence_Good_Plus2_TextColor: #000;--sapChart_Sequence_Good_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_Plus1: #3ab05c;--sapChart_Sequence_Good_Plus1_TextColor: #000;--sapChart_Sequence_Good_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good: #30914c;--sapChart_Sequence_Good_TextColor: #000;--sapChart_Sequence_Good_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Good_BorderColor: #30914c;--sapChart_Sequence_Good_Minus1: #287a40;--sapChart_Sequence_Good_Minus1_TextColor: #fff;--sapChart_Sequence_Good_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus2: #226736;--sapChart_Sequence_Good_Minus2_TextColor: #fff;--sapChart_Sequence_Good_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus3: #1c542c;--sapChart_Sequence_Good_Minus3_TextColor: #fff;--sapChart_Sequence_Good_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus4: #13391e;--sapChart_Sequence_Good_Minus4_TextColor: #fff;--sapChart_Sequence_Good_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Good_Minus5: #0a1e10;--sapChart_Sequence_Good_Minus5_TextColor: #fff;--sapChart_Sequence_Good_Minus5_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Plus3: #edf0f3;--sapChart_Sequence_Neutral_Plus3_TextColor: #000;--sapChart_Sequence_Neutral_Plus3_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_Plus2: #c2ccd7;--sapChart_Sequence_Neutral_Plus2_TextColor: #000;--sapChart_Sequence_Neutral_Plus2_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_Plus1: #9aabbc;--sapChart_Sequence_Neutral_Plus1_TextColor: #000;--sapChart_Sequence_Neutral_Plus1_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral: #758ca4;--sapChart_Sequence_Neutral_TextColor: #000;--sapChart_Sequence_Neutral_TextShadow: 0 0 .125rem #fff;--sapChart_Sequence_Neutral_BorderColor: #758ca4;--sapChart_Sequence_Neutral_Minus1: #5b728b;--sapChart_Sequence_Neutral_Minus1_TextColor: #fff;--sapChart_Sequence_Neutral_Minus1_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus2: #495e74;--sapChart_Sequence_Neutral_Minus2_TextColor: #fff;--sapChart_Sequence_Neutral_Minus2_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus3: #364a5f;--sapChart_Sequence_Neutral_Minus3_TextColor: #fff;--sapChart_Sequence_Neutral_Minus3_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus4: #233649;--sapChart_Sequence_Neutral_Minus4_TextColor: #fff;--sapChart_Sequence_Neutral_Minus4_TextShadow: 0 0 .125rem #223548;--sapChart_Sequence_Neutral_Minus5: #1a2633;--sapChart_Sequence_Neutral_Minus5_TextColor: #fff;--sapChart_Sequence_Neutral_Minus5_TextShadow: 0 0 .125rem #223548;--sapBreakpoint_S_Min: 0;--sapBreakpoint_M_Min: 600px;--sapBreakpoint_L_Min: 1024px;--sapBreakpoint_XL_Min: 1440px;--sapSapThemeId: sap_horizon;--sapHighlightTextColor: #fff;--sapButton_Emphasized_FontWeight: bold;--sapShell_BackgroundGradient: linear-gradient(to bottom, #eff1f2, #eff1f2);--sapAt: @
|
|
87
87
|
}`,de=`:host{--ui5-avatar-hover-box-shadow-offset: 0px 0px 0px .0625rem var();--ui5-avatar-initials-color: var(--sapContent_ImagePlaceholderForegroundColor);--ui5-avatar-border-radius-img-deduction: .0625rem;--ui5-avatar-optional-border: .0625rem solid var(--sapGroup_ContentBorderColor);--ui5-avatar-placeholder: var(--sapContent_ImagePlaceholderBackground);--ui5-avatar-placeholder-color: var(--ui5-avatar-initials-color);--_ui5_avatar_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_avatar_overflow_button_focus_offset: .0625rem;--ui5-avatar-hover-box-shadow-offset: 0px 0px 0px .0625rem var(--sapAvatar_Hover_BorderColor);--_ui5_avatar_focus_offset: .1875rem;--ui5-avatar-initials-border: .0625rem solid var(--sapAvatar_1_BorderColor);--ui5-avatar-border-radius: var(--sapElement_BorderCornerRadius);--_ui5_avatar_fontsize_XS: 1rem;--_ui5_avatar_fontsize_S: 1.125rem;--_ui5_avatar_fontsize_M: 1.5rem;--_ui5_avatar_fontsize_L: 2.25rem;--_ui5_avatar_fontsize_XL: 3rem;--ui5-avatar-accent1: var(--sapAvatar_1_Background);--ui5-avatar-accent2: var(--sapAvatar_2_Background);--ui5-avatar-accent3: var(--sapAvatar_3_Background);--ui5-avatar-accent4: var(--sapAvatar_4_Background);--ui5-avatar-accent5: var(--sapAvatar_5_Background);--ui5-avatar-accent6: var(--sapAvatar_6_Background);--ui5-avatar-accent7: var(--sapAvatar_7_Background);--ui5-avatar-accent8: var(--sapAvatar_8_Background);--ui5-avatar-accent9: var(--sapAvatar_9_Background);--ui5-avatar-accent10: var(--sapAvatar_10_Background);--ui5-avatar-accent1-color: var(--sapAvatar_1_TextColor);--ui5-avatar-accent2-color: var(--sapAvatar_2_TextColor);--ui5-avatar-accent3-color: var(--sapAvatar_3_TextColor);--ui5-avatar-accent4-color: var(--sapAvatar_4_TextColor);--ui5-avatar-accent5-color: var(--sapAvatar_5_TextColor);--ui5-avatar-accent6-color: var(--sapAvatar_6_TextColor);--ui5-avatar-accent7-color: var(--sapAvatar_7_TextColor);--ui5-avatar-accent8-color: var(--sapAvatar_8_TextColor);--ui5-avatar-accent9-color: var(--sapAvatar_9_TextColor);--ui5-avatar-accent10-color: var(--sapAvatar_10_TextColor);--ui5-avatar-accent1-border-color: var(--sapAvatar_1_BorderColor);--ui5-avatar-accent2-border-color: var(--sapAvatar_2_BorderColor);--ui5-avatar-accent3-border-color: var(--sapAvatar_3_BorderColor);--ui5-avatar-accent4-border-color: var(--sapAvatar_4_BorderColor);--ui5-avatar-accent5-border-color: var(--sapAvatar_5_BorderColor);--ui5-avatar-accent6-border-color: var(--sapAvatar_6_BorderColor);--ui5-avatar-accent7-border-color: var(--sapAvatar_7_BorderColor);--ui5-avatar-accent8-border-color: var(--sapAvatar_8_BorderColor);--ui5-avatar-accent9-border-color: var(--sapAvatar_9_BorderColor);--ui5-avatar-accent10-border-color: var(--sapAvatar_10_BorderColor);--_ui5_avatar_icon_XS: var(--_ui5_avatar_fontsize_XS);--_ui5_avatar_icon_S: var(--_ui5_avatar_fontsize_S);--_ui5_avatar_icon_M: var(--_ui5_avatar_fontsize_M);--_ui5_avatar_icon_L: var(--_ui5_avatar_fontsize_L);--_ui5_avatar_icon_XL: var(--_ui5_avatar_fontsize_XL);--_ui5_avatar_group_button_focus_border: none;--_ui5_avatar_group_padding: .3rem;--_ui5_avatar_group_focus_border_radius_xs: 1rem;--_ui5_avatar_group_focus_border_radius_s: 1.5rem;--_ui5_avatar_group_focus_border_radius_m: 2rem;--_ui5_avatar_group_focus_border_radius_l: 2.5rem;--_ui5_avatar_group_focus_border_radius_xl: 3.5rem;--_ui5-tag-height: 1rem;--_ui5-tag-icon-width: .75rem;--ui5-tag-text-shadow: var(--sapContent_TextShadow);--ui5-tag-contrast-text-shadow: var(--sapContent_ContrastTextShadow);--ui5-tag-information-text-shadow: var(--ui5-tag-text-shadow);--ui5-tag-set2-color-scheme-1-border: var(--sapIndicationColor_1b_BorderColor);--ui5-tag-set2-color-scheme-1-hover-background: var(--sapIndicationColor_1b_Hover_Background);--ui5-tag-set2-color-scheme-1-active-color: var(--sapIndicationColor_1_Active_TextColor);--ui5-tag-set2-color-scheme-1-active-background: var(--sapIndicationColor_1_Active_Background);--ui5-tag-set2-color-scheme-1-active-border: var(--sapIndicationColor_1_Active_BorderColor);--ui5-tag-set2-color-scheme-2-border: var(--sapIndicationColor_2b_BorderColor);--ui5-tag-set2-color-scheme-2-hover-background: var(--sapIndicationColor_2b_Hover_Background);--ui5-tag-set2-color-scheme-2-active-color: var(--sapIndicationColor_2_Active_TextColor);--ui5-tag-set2-color-scheme-2-active-background: var(--sapIndicationColor_2_Active_Background);--ui5-tag-set2-color-scheme-2-active-border: var(--sapIndicationColor_2_Active_BorderColor);--ui5-tag-set2-color-scheme-3-border: var(--sapIndicationColor_3b_BorderColor);--ui5-tag-set2-color-scheme-3-hover-background: var(--sapIndicationColor_3b_Hover_Background);--ui5-tag-set2-color-scheme-3-active-color: var(--sapIndicationColor_3_Active_TextColor);--ui5-tag-set2-color-scheme-3-active-background: var(--sapIndicationColor_3_Active_Background);--ui5-tag-set2-color-scheme-3-active-border: var(--sapIndicationColor_3_Active_BorderColor);--ui5-tag-set2-color-scheme-4-border: var(--sapIndicationColor_4b_BorderColor);--ui5-tag-set2-color-scheme-4-hover-background: var(--sapIndicationColor_4b_Hover_Background);--ui5-tag-set2-color-scheme-4-active-color: var(--sapIndicationColor_4_Active_TextColor);--ui5-tag-set2-color-scheme-4-active-background: var(--sapIndicationColor_4_Active_Background);--ui5-tag-set2-color-scheme-4-active-border: var(--sapIndicationColor_4_Active_BorderColor);--ui5-tag-set2-color-scheme-5-border: var(--sapIndicationColor_5b_BorderColor);--ui5-tag-set2-color-scheme-5-hover-background: var(--sapIndicationColor_5b_Hover_Background);--ui5-tag-set2-color-scheme-5-active-color: var(--sapIndicationColor_5_Active_TextColor);--ui5-tag-set2-color-scheme-5-active-background: var(--sapIndicationColor_5_Active_Background);--ui5-tag-set2-color-scheme-5-active-border: var(--sapIndicationColor_5_Active_BorderColor);--ui5-tag-set2-color-scheme-6-border: var(--sapIndicationColor_6b_BorderColor);--ui5-tag-set2-color-scheme-6-hover-background: var(--sapIndicationColor_6b_Hover_Background);--ui5-tag-set2-color-scheme-6-active-color: var(--sapIndicationColor_6_Active_TextColor);--ui5-tag-set2-color-scheme-6-active-background: var(--sapIndicationColor_6_Active_Background);--ui5-tag-set2-color-scheme-6-active-border: var(--sapIndicationColor_6_Active_BorderColor);--ui5-tag-set2-color-scheme-7-border: var(--sapIndicationColor_7b_BorderColor);--ui5-tag-set2-color-scheme-7-hover-background: var(--sapIndicationColor_7b_Hover_Background);--ui5-tag-set2-color-scheme-7-active-color: var(--sapIndicationColor_7_Active_TextColor);--ui5-tag-set2-color-scheme-7-active-background: var(--sapIndicationColor_7_Active_Background);--ui5-tag-set2-color-scheme-7-active-border: var(--sapIndicationColor_7_Active_BorderColor);--ui5-tag-set2-color-scheme-8-border: var(--sapIndicationColor_8b_BorderColor);--ui5-tag-set2-color-scheme-8-hover-background: var(--sapIndicationColor_8b_Hover_Background);--ui5-tag-set2-color-scheme-8-active-color: var(--sapIndicationColor_8_Active_TextColor);--ui5-tag-set2-color-scheme-8-active-background: var(--sapIndicationColor_8_Active_Background);--ui5-tag-set2-color-scheme-8-active-border: var(--sapIndicationColor_8_Active_BorderColor);--ui5-tag-set2-color-scheme-9-border: var(--sapIndicationColor_9b_BorderColor);--ui5-tag-set2-color-scheme-9-hover-background: var(--sapIndicationColor_9b_Hover_Background);--ui5-tag-set2-color-scheme-9-active-color: var(--sapIndicationColor_9_Active_TextColor);--ui5-tag-set2-color-scheme-9-active-background: var(--sapIndicationColor_9_Active_Background);--ui5-tag-set2-color-scheme-9-active-border: var(--sapIndicationColor_9_Active_BorderColor);--ui5-tag-set2-color-scheme-10-border: var(--sapIndicationColor_10b_BorderColor);--ui5-tag-set2-color-scheme-10-hover-background: var(--sapIndicationColor_10b_Hover_Background);--ui5-tag-set2-color-scheme-10-active-color: var(--sapIndicationColor_10_Active_TextColor);--ui5-tag-set2-color-scheme-10-active-background: var(--sapIndicationColor_10_Active_Background);--ui5-tag-set2-color-scheme-10-active-border: var(--sapIndicationColor_10_Active_BorderColor);--_ui5-tag-height_size_l: 1.5rem;--_ui5-tag-min-width_size_l: 1.75rem;--_ui5-tag-font-size_size_l: 1.25rem;--_ui5-tag-icon_min_width_size_l: 1.25rem;--_ui5-tag-icon_min_height_size_l:1.25rem;--_ui5-tag-icon_height_size_l: 1.25rem;--_ui5-tag-text_padding_size_l: .125rem .25rem;--_ui5-tag-text-padding: .1875rem .25rem;--_ui5-tag-padding-inline-icon-only: .313rem;--_ui5-tag-text-transform: none;--_ui5-tag-icon-gap: .25rem;--_ui5-tag-font-weight: normal;--_ui5-tag-letter-spacing: normal;--ui5-tag-set2-color-scheme-1-color: var(--sapIndicationColor_1b_TextColor);--ui5-tag-set2-color-scheme-1-background: var(--sapIndicationColor_1b_Background);--ui5-tag-set2-color-scheme-2-color: var(--sapIndicationColor_2b_TextColor);--ui5-tag-set2-color-scheme-2-background: var(--sapIndicationColor_2b_Background);--ui5-tag-set2-color-scheme-3-color: var(--sapIndicationColor_3b_TextColor);--ui5-tag-set2-color-scheme-3-background: var(--sapIndicationColor_3b_Background);--ui5-tag-set2-color-scheme-4-color: var(--sapIndicationColor_4b_TextColor);--ui5-tag-set2-color-scheme-4-background: var(--sapIndicationColor_4b_Background);--ui5-tag-set2-color-scheme-5-color: var(--sapIndicationColor_5b_TextColor);--ui5-tag-set2-color-scheme-5-background: var(--sapIndicationColor_5b_Background);--ui5-tag-set2-color-scheme-6-color: var(--sapIndicationColor_6b_TextColor);--ui5-tag-set2-color-scheme-6-background: var(--sapIndicationColor_6b_Background);--ui5-tag-set2-color-scheme-7-color: var(--sapIndicationColor_7b_TextColor);--ui5-tag-set2-color-scheme-7-background: var(--sapIndicationColor_7b_Background);--ui5-tag-set2-color-scheme-8-color: var(--sapIndicationColor_8b_TextColor);--ui5-tag-set2-color-scheme-8-background: var(--sapIndicationColor_8b_Background);--ui5-tag-set2-color-scheme-9-color: var(--sapIndicationColor_9b_TextColor);--ui5-tag-set2-color-scheme-9-background: var(--sapIndicationColor_9b_Background);--ui5-tag-set2-color-scheme-10-color: var(--sapIndicationColor_10b_TextColor);--ui5-tag-set2-color-scheme-10-background: var(--sapIndicationColor_10b_Background);--_ui5_bar_base_height: 2.75rem;--_ui5_bar_subheader_height: 3rem;--_ui5_bar-start-container-padding-start: 1rem;--_ui5_bar-mid-container-padding-start-end: .5rem;--_ui5_bar-end-container-padding-end: 1rem;--_ui5_bar_subheader_margin-top: -.0625rem;--_ui5_breadcrumbs_margin: 0 0 .5rem 0;--_ui5_breadcrumbs_current_location_color: var(--sapTextColor);--_ui5_breadcrumbs_separator_color: var(--sapTextColor);--_ui5_busy_indicator_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_busy_indicator_color: var(--sapContent_BusyColor);--_ui5-button-badge-diameter: .75rem;--_ui5-calendar-legend-root-padding: .75rem;--_ui5-calendar-legend-root-width: 18.5rem;--_ui5-calendar-legend-item-root-width: 7.75rem;--_ui5-calendar-legend-item-root-focus-border: var(--sapContent_FocusWidth) solid var(--sapContent_FocusColor);--_ui5-calendar-legend-item-box-dot-display: block;--_ui5_card_box_shadow: var(--sapContent_Shadow0);--_ui5_card_border-radius: var(--sapTile_BorderCornerRadius);--_ui5_card_header_border_color: var(--sapTile_SeparatorColor);--_ui5_card_header_focus_border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_card_header_focus_bottom_radius: 0px;--_ui5_card_header_title_font_weight: normal;--_ui5_card_header_subtitle_margin_top: .25rem;--_ui5_card_hover_box_shadow: var(--sapContent_Shadow2);--_ui5_card_header_focus_offset: 1px;--_ui5_card_header_focus_radius: var(--_ui5_card_border-radius);--_ui5_card_header_title_font_family: var(--sapFontHeaderFamily);--_ui5_card_header_title_font_size: var(--sapFontHeader6Size);--_ui5_card_header_hover_bg: var(--sapTile_Hover_Background);--_ui5_card_header_active_bg: var(--sapTile_Active_Background);--_ui5_card_header_border: none;--_ui5_card_header_padding: 1rem 1rem .75rem 1rem;--_ui5_card_border: none;--ui5_carousel_background_color_solid: var(--sapGroup_ContentBackground);--ui5_carousel_background_color_translucent: var(--sapBackgroundColor);--ui5_carousel_button_size: 2.25rem;--ui5_carousel_inactive_dot_size: .25rem;--ui5_carousel_inactive_dot_margin: 0 .375rem;--ui5_carousel_inactive_dot_border: 1px solid var(--sapContent_ForegroundBorderColor);--ui5_carousel_inactive_dot_background: var(--sapContent_ForegroundBorderColor);--ui5_carousel_active_dot_border: 1px solid var(--sapContent_Selected_ForegroundColor);--ui5_carousel_active_dot_background: var(--sapContent_Selected_ForegroundColor);--ui5_carousel_navigation_button_active_box_shadow: none;--_ui5_checkbox_transition: unset;--_ui5_checkbox_border_radius: 0;--_ui5_checkbox_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_checkbox_outer_hover_background: transparent;--_ui5_checkbox_inner_width_height: 1.5714em;--_ui5_checkbox_inner_disabled_border_color: var(--sapField_BorderColor);--_ui5_checkbox_inner_background: var(--sapField_Background);--_ui5_checkbox_wrapped_focus_padding: .5rem;--_ui5_checkbox_wrapped_focus_inset_block: var(--_ui5_checkbox_focus_position);--_ui5_checkbox_compact_wrapper_padding: .5rem;--_ui5_checkbox_compact_width_height: 2rem;--_ui5_checkbox_compact_inner_size: 1.1429em;--_ui5_checkbox_compact_focus_position: .375rem;--_ui5_checkbox_label_offset: var(--_ui5_checkbox_wrapper_padding);--_ui5_checkbox_disabled_label_color: var(--sapContent_LabelColor);--_ui5_checkbox_default_focus_border: none;--_ui5_checkbox_focus_outline_display: block;--_ui5_checkbox_wrapper_padding: .6875rem;--_ui5_checkbox_label_color: var(--sapField_TextColor);--_ui5_checkbox_inner_border: solid var(--sapField_BorderWidth) var(--sapField_BorderColor);--_ui5_checkbox_inner_border_radius: var(--sapField_BorderCornerRadius);--_ui5_checkbox_checkmark_color: var(--sapContent_Selected_ForegroundColor);--_ui5_checkbox_hover_background: var(--sapField_Selector_Hover_Background);--_ui5_checkbox_inner_hover_border_color: var(--sapField_Hover_BorderColor);--_ui5_checkbox_inner_hover_checked_border_color: var(--sapField_Hover_BorderColor);--_ui5_checkbox_inner_selected_border_color: var(--sapField_BorderColor);--_ui5_checkbox_inner_active_border_color: var(--sapField_Hover_BorderColor);--_ui5_checkbox_active_background: var(--sapContent_Selected_Hover_Background);--_ui5_checkbox_inner_readonly_border: var(--sapElement_BorderWidth) var(--sapField_ReadOnly_BorderColor) dashed;--_ui5_checkbox_inner_error_border: var(--sapField_InvalidBorderWidth) solid var(--sapField_InvalidColor);--_ui5_checkbox_inner_error_background_hover: var(--sapField_Selector_Hover_InvalidBackground);--_ui5_checkbox_inner_warning_border: var(--sapField_WarningBorderWidth) solid var(--sapField_WarningColor);--_ui5_checkbox_inner_warning_color: var(--sapField_WarningColor);--_ui5_checkbox_inner_warning_background_hover: var(--sapField_Selector_Hover_WarningBackground);--_ui5_checkbox_checkmark_warning_color: var(--sapField_WarningColor);--_ui5_checkbox_inner_success_border: var(--sapField_SuccessBorderWidth) solid var(--sapField_SuccessColor);--_ui5_checkbox_inner_success_background_hover: var(--sapField_Selector_Hover_SuccessBackground);--_ui5_checkbox_inner_information_color: var(--sapField_InformationColor);--_ui5_checkbox_inner_information_border: var(--sapField_InformationBorderWidth) solid var(--sapField_InformationColor);--_ui5_checkbox_inner_information_background_hover: var(--sapField_Selector_Hover_InformationBackground);--_ui5_checkbox_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5_checkbox_focus_position: .3125rem;--_ui5_checkbox_focus_border_radius: .5rem;--_ui5_checkbox_right_focus_distance: .3125rem;--_ui5_color-palette-item-after-focus-inset: .0625rem;--_ui5_color-palette-item-outer-border-radius: .25rem;--_ui5_color-palette-item-inner-border-radius: .1875rem;--_ui5_color-palette-item-after-not-focus-color: .0625rem solid var(--sapGroup_ContentBackground);--_ui5-color-palette-item-background-color: transparent;--_ui5_color-palette-item-hover-margin: .0625rem;--_ui5_color-palette-row-height: 9.5rem;--_ui5_color-palette-button-height: 3rem;--_ui5_color-palette-item-before-focus-color: .125rem solid var(--sapContent_FocusColor);--_ui5_color-palette-item-before-focus-inset: -.3125rem;--_ui5_color-palette-item-before-focus-hover-inset: -.0625rem;--_ui5_color-palette-item-after-focus-color: .0625rem solid var(--sapContent_ContrastFocusColor);--_ui5_color-palette-item-after-focus-hover-inset: .0625rem;--_ui5_color-palette-item-before-focus-border-radius: .4375rem;--_ui5_color-palette-item-after-focus-border-radius: .3125rem;--_ui5_color-palette-item-hover-outer-border-radius: .4375rem;--_ui5_color-palette-item-hover-inner-border-radius: .375rem;--_ui5_color-palette-item-selected-focused-border-before: -.0625rem;--_ui5_color-palette-item-after-focus-not-selected-border: none;--_ui5_color-palette-item-selected-focused-border: none;--_ui5_color-palette-item-mobile-focus-sides-inset: -.375rem -.375rem;--_ui5-color-palette-item-mobile-focus-inset: 0px;--_ui5_color-palette-item-after-mobile-focus-border: none;--_ui5_color_picker_slider_handle_box_shadow: inset 0 0 0 .125rem var(--sapContent_ContrastShadowColor);--_ui5_color_picker_slider_handle_inner_border_color: #fff;--_ui5_color_picker_circle_outer_border: .0625rem solid var(--sapContent_ContrastShadowColor);--_ui5_color_picker_circle_inner_border: var(--sapField_Picker_BorderWidth) solid var(--sapField_BorderColor);--_ui5_color_picker_circle_inner_circle_size: .5625rem;--_ui5_color_picker_slider_handle_container_margin_top: none;--_ui5_color_picker_slider_handle_border: .125rem solid var(--sapField_BorderColor);--_ui5_color_picker_slider_handle_outline_hover: .125rem solid var(--sapContent_FocusColor);--_ui5_color_picker_slider_handle_outline_focus: .125rem solid var(--sapContent_FocusColor);--_ui5_color_picker_slider_handle_inline_focus: 1px solid var(--sapContent_ContrastFocusColor);--_ui5-datepicker-hover-background: var(--sapField_Hover_Background);--_ui5-datepicker_border_radius: .25rem;--_ui5_daypicker_item_margin: 2px;--_ui5_daypicker_item_border: none;--_ui5_daypicker_item_selected_border_color: var(--sapList_Background);--_ui5_daypicker_daynames_container_height: 2rem;--_ui5_daypicker_weeknumbers_container_padding_top: 2rem;--_ui5_daypicker_item_othermonth_background_color: var(--sapList_Background);--_ui5_daypicker_item_othermonth_color: var(--sapContent_LabelColor);--_ui5_daypicker_item_othermonth_hover_color: var(--sapContent_LabelColor);--_ui5_daypicker_item_selected_background: transparent;--_ui5_daypicker_item_selected_between_hover_background: var(--sapList_Hover_SelectionBackground);--_ui5_daypicker_item_now_not_selected_inset: 0;--_ui5_daypicker_item_now_border_color: var(--sapLegend_CurrentDateTime);--_ui5_dp_two_calendar_item_secondary_text_border_radios: .25rem;--_ui5_daypicker_special_day_top: 2.5rem;--_ui5_daypicker_special_day_before_border_color: var(--sapList_Background);--_ui5_daypicker_selected_item_now_special_day_border_bottom_radius: 0;--_ui5_daypicker_twocalendar_item_special_day_after_border_width: .125rem;--_ui5_daypicker_twocalendar_item_special_day_dot: .375rem;--_ui5_daypicker_twocalendar_item_special_day_top: 2rem;--_ui5_daypicker_twocalendar_item_special_day_right: 1.4375rem;--_ui5_daypicker_item_border_radius: .4375rem;--_ui5_daypicker_item_selected_border: .0625rem solid var(--sapList_SelectionBorderColor);--_ui5_daypicker_item_not_selected_focus_border: .125rem solid var(--sapContent_FocusColor);--_ui5_daypicker_item_selected_focus_color: var(--sapContent_FocusColor);--_ui5_daypicker_item_selected_focus_width: .125rem;--_ui5_daypicker_item_no_selected_inset: .375rem;--_ui5_daypicker_item_now_border_focus_after: .125rem solid var(--sapContent_FocusColor);--_ui5_daypicker_item_now_border_radius_focus_after: .3125rem;--_ui5_day_picker_item_selected_now_border_focus: .125rem solid var(--sapContent_FocusColor);--_ui5_day_picker_item_selected_now_border_radius_focus: .1875rem;--_ui5_daypicker_dayname_color: var(--sapContent_LabelColor);--_ui5_daypicker_weekname_color: var(--sapContent_LabelColor);--_ui5_daypicker_item_selected_daytext_hover_background: transparent;--_ui5_daypicker_item_border_radius_item: .5rem;--_ui5_daypicker_item_border_radius_focus_after: .1875rem;--_ui5_daypicker_item_selected_between_border: .5rem;--_ui5_daypicker_item_selected_between_background: var(--sapList_SelectionBackgroundColor);--_ui5_daypicker_item_selected_between_text_font: var(--sapFontFamily);--_ui5_daypicker_item_selected_text_font: var(--sapFontBoldFamily);--_ui5_daypicker_item_now_box_shadow: inset 0 0 0 .35rem var(--sapList_Background);--_ui5_daypicker_item_selected_text_outline: .0625rem solid var(--sapContent_FocusColor);--_ui5_daypicker_item_now_selected_outline_offset: -.25rem;--_ui5_daypicker_item_now_selected_between_inset: .25rem;--_ui5_daypicker_item_now_selected_between_border: .0625rem solid var(--sapContent_Selected_ForegroundColor);--_ui5_daypicker_item_now_selected_between_border_radius: .1875rem;--_ui5_daypicker_item_select_between_border: 1px solid var(--sapContent_Selected_ForegroundColor);--_ui5_daypicker_item_weeekend_filter: brightness(105%);--_ui5_daypicker_item_selected_hover: var(--sapList_Hover_Background);--_ui5_daypicker_item_now_inset: .3125rem;--_ui5-dp-item_withsecondtype_border: .25rem;--_ui5_daypicker_item_selected__secondary_type_text_outline: .0625rem solid var(--sapContent_FocusColor);--_ui5_daypicker_two_calendar_item_now_day_text_content: "";--_ui5_daypicker_two_calendar_item_now_selected_border_width: .125rem;--_ui5_daypicker_two_calendar_item_border_radius: .5rem;--_ui5_daypicker_two_calendar_item_border_focus_border_radius: .375rem;--_ui5_daypicker_two_calendar_item_no_selected_inset: 0;--_ui5_daypicker_two_calendar_item_selected_now_border_radius_focus: .1875rem;--_ui5_daypicker_two_calendar_item_no_selected_focus_inset: .1875rem;--_ui5_daypicker_two_calendar_item_no_select_focus_border_radius: .3125rem;--_ui5_daypicker_two_calendar_item_now_inset: .3125rem;--_ui5_daypicker_two_calendar_item_now_selected_border_inset: .125rem;--_ui5_daypicker_selected_item_special_day_width: calc(100% - .125rem) ;--_ui5_daypicker_special_day_border_bottom_radius: .5rem;--_ui5-daypicker_item_selected_now_border_radius: .5rem;--_ui5_daypicker_selected_item_now_special_day_width: calc(100% - .1875rem) ;--_ui5_daypicker_selected_item_now_special_day_border_bottom_radius_alternate: .5rem;--_ui5_daypicker_selected_item_now_special_day_top: 2.4375rem;--_ui5_daypicker_two_calendar_item_margin_bottom: 0;--_ui5_daypicker_twocalendar_item_special_day_now_inset: .3125rem;--_ui5_daypicker_twocalendar_item_special_day_now_border_radius: .25rem;--_ui5_daypicker_item_now_focus_margin: 0;--_ui5_daypicker_special_day_border_top: none;--_ui5_daypicker_special_day_selected_border_radius_bottom: .25rem;--_ui5_daypicker_specialday_focused_top: 2.125rem;--_ui5_daypicker_specialday_focused_width: calc(100% - .75rem) ;--_ui5_daypicker_specialday_focused_border_bottom: 0;--_ui5_daypicker_item_now_specialday_top: 2.3125rem;--_ui5_daypicker_item_now_specialday_width: calc(100% - .5rem) ;--_ui5_dialog_header_state_line_height: .0625rem;--_ui5_dialog_focus_outline_offset: .0625rem;--_ui5_dialog_resizable_bottom_right_radius: 1.75rem;--_ui5_file_uploader_display_input_width: calc(100% - var(--_ui5_input_icon_width));--_ui5_file_uploader_tokenizer_width: calc(100% - 2 * var(--_ui5_input_icon_width) - var(--_ui5_input_inner_space_to_tokenizer));--_ui5_table_cell_valign: center;--_ui5_table_cell_min_width: 2.75rem;--_ui5_table_navigated_cell_width: .25rem;--_ui5_first_table_cell_horizontal_padding: 1rem;--_ui5_table_cell_horizontal_padding: .5rem;--_ui5_table_cell_vertical_padding: .25rem;--_ui5_table_row_actions_gap: .25rem;--_ui5_table_row_alternating_background: var(--sapTableRow_AlternatingBackground, var(--sapList_AlternatingBackground));--_ui5_table_row_alternating_hover_background: var(--sapTableRow_AlternatingHoverBackground, var(--sapList_Hover_Background));--_ui5_table_row_alternating_selection_background: var(--sapTableRow_AlternatingSelectionBackground, var(--sapList_SelectionBackgroundColor));--_ui5_table_row_alternating_selection_hover_background: var(--sapTableRow_AlternatingSelectionHoverBackground, var(--sapList_Hover_SelectionBackground));--ui5-group-header-listitem-background-color: var(--sapList_GroupHeaderBackground);--ui5-icon-focus-border-radius: .25rem;--_ui5_input_width: 13.125rem;--_ui5_input_min_width: 2.75rem;--_ui5_input_min_width_tokenizer_available: 3rem;--_ui5_input_height: var(--sapElement_Height);--_ui5_input_margin_top_bottom: .25rem;--_ui5_input_value_state_error_hover_background: var(--sapField_Hover_Background);--_ui5_input_background_color: var(--sapField_Background);--_ui5_input_border_radius: var(--sapField_BorderCornerRadius);--_ui5_input_placeholder_style: italic;--_ui5_input_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5_input_bottom_border_height: 0;--_ui5_input_bottom_border_color: transparent;--_ui5_input_focused_border_color: var(--sapField_Hover_BorderColor);--_ui5_input_state_border_width: .125rem;--_ui5_input_information_border_width: .125rem;--_ui5_input_error_font_weight: normal;--_ui5_input_warning_font_weight: normal;--_ui5_input_focus_border_width: 1px;--_ui5_input_error_warning_font_style: inherit;--_ui5_input_error_warning_text_indent: 0;--_ui5_input_disabled_border_color: var(--sapField_BorderColor);--_ui5-input_disabled_background: var(--sapField_Background);--_ui5_input_readonly_border: none;--_ui5_input_readonly_border_color: var(--sapField_ReadOnly_BorderColor);--_ui5_input_readonly_background: var(--sapField_ReadOnly_Background);--_ui5_input_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5_input_icon_min_width: 2.25rem;--_ui5_input_compact_min_width: 2rem;--_ui5_input_transition: none;--_ui5-input-value-state-icon-display: none;--_ui5_input_value_state_error_border_color: var(--sapField_InvalidColor);--_ui5_input_focused_value_state_error_border_color: var(--sapField_InvalidColor);--_ui5_input_value_state_warning_border_color: var(--sapField_WarningColor);--_ui5_input_focused_value_state_warning_border_color: var(--sapField_WarningColor);--_ui5_input_value_state_success_border_color: var(--sapField_SuccessColor);--_ui5_input_focused_value_state_success_border_color: var(--sapField_SuccessColor);--_ui5_input_value_state_success_border_width: 1px;--_ui5_input_value_state_information_border_color: var(--sapField_InformationColor);--_ui5_input_focused_value_state_information_border_color: var(--sapField_InformationColor);--ui5_input_focus_pseudo_element_content: "";--_ui5_input_value_state_error_warning_placeholder_font_weight: normal;--_ui5-input_error_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5_input_icon_width: 2.25rem;--_ui5-input-icons-count: 0;--_ui5_input_tokenizer_min_width: 3.5rem;--_ui5-input-border: none;--_ui5_input_hover_border: none;--_ui5_input_focus_border_radius: .25rem;--_ui5_input_error_warning_border_style: none;--_ui5_input_focused_value_state_error_background: var(--sapField_Hover_Background);--_ui5_input_focused_value_state_warning_background: var(--sapField_Hover_Background);--_ui5_input_focused_value_state_success_background: var(--sapField_Hover_Background);--_ui5_input_focused_value_state_information_background: var(--sapField_Hover_Background);--_ui5_input_focused_value_state_error_focus_outline_color: var(--sapField_InvalidColor);--_ui5_input_focused_value_state_warning_focus_outline_color: var(--sapField_WarningColor);--_ui5_input_focused_value_state_success_focus_outline_color: var(--sapField_SuccessColor);--_ui5_input_focus_offset: 0;--_ui5_input_readonly_focus_offset: .125rem;--_ui5_input_information_icon_padding: .625rem .625rem .5rem .625rem;--_ui5_input_information_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5_input_error_warning_icon_padding: .625rem .625rem .5rem .625rem;--_ui5_input_error_warning_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5_input_custom_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5_input_error_warning_custom_icon_padding: .625rem .625rem .5rem .625rem;--_ui5_input_error_warning_custom_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5_input_information_custom_icon_padding: .625rem .625rem .5rem .625rem;--_ui5_input_information_custom_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5_input_icon_wrapper_height: calc(100% - 1px) ;--_ui5_input_icon_wrapper_state_height: calc(100% - 2px) ;--_ui5_input_icon_wrapper_success_state_height: calc(100% - var(--_ui5_input_value_state_success_border_width));--_ui5_input_icon_color: var(--sapField_TextColor);--_ui5_input_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5_input_icon_pressed_color: var(--sapButton_Active_TextColor);--_ui5_input_icon_border_radius: var(--sapField_BorderCornerRadius);--_ui5_input_icon_box_shadow: var(--sapField_Hover_Shadow);--_ui5_input_icon_border: none;--_ui5_input_error_icon_box_shadow: var(--sapContent_Negative_Shadow);--_ui5_input_warning_icon_box_shadow: var(--sapContent_Critical_Shadow);--_ui5_input_information_icon_box_shadow: var(--sapContent_Informative_Shadow);--_ui5_input_success_icon_box_shadow: var(--sapContent_Positive_Shadow);--_ui5_input_icon_error_pressed_color: var(--sapButton_Reject_Selected_TextColor);--_ui5_input_icon_warning_pressed_color: var(--sapButton_Attention_Selected_TextColor);--_ui5_input_icon_information_pressed_color: var(--sapButton_Selected_TextColor);--_ui5_input_icon_success_pressed_color: var(--sapButton_Accept_Selected_TextColor);--_ui5_link_outline_offset: -.0625rem;--_ui5_link_focus_text_decoration: underline;--_ui5_link_text_decoration: var(--sapLink_TextDecoration);--_ui5_link_hover_text_decoration: var(--sapLink_Hover_TextDecoration);--_ui5_link_focused_hover_text_decoration: none;--_ui5_link_focused_hover_text_color: var(--sapContent_ContrastTextColor);--_ui5_link_active_text_decoration: var(--sapLink_Active_TextDecoration);--_ui5_link_outline: none;--_ui5_link_focus_border-radius: .125rem;--_ui5_link_focus_background_color: var(--sapContent_FocusColor);--_ui5_link_focus_color: var(--sapContent_ContrastTextColor);--_ui5_link_subtle_text_decoration: underline;--_ui5_link_subtle_text_decoration_hover: none;--_ui5_link_large_interactive_area_height: 1.5rem;--ui5_list_footer_text_color: var(--sapList_FooterTextColor);--ui5-listitem-background-color: var(--sapList_Background);--ui5-listitem-border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--ui5-listitem-selected-border-bottom: 1px solid var(--sapList_SelectionBorderColor);--ui5-listitem-focused-selected-border-bottom: 1px solid var(--sapList_SelectionBorderColor);--_ui5-listitembase_disabled_opacity: .5;--_ui5_product_switch_item_border: none;--_ui5_menu_item_padding: 0 1rem 0 .75rem;--_ui5_menu_item_submenu_icon_right: 1rem;--_ui5_menu_popover_border_radius: var(--sapPopover_BorderCornerRadius);--_ui5_monthpicker_item_margin: .0625rem;--_ui5_monthpicker_item_border: .0625rem solid var(--sapButton_Lite_BorderColor);--_ui5_monthpicker_item_hover_border: .0625rem solid var(--sapButton_Lite_Hover_BorderColor);--_ui5_monthpicker_item_active_border: .0625rem solid var(--sapButton_Lite_Active_BorderColor);--_ui5_monthpicker_item_selected_border: .0625rem solid var(--sapButton_Selected_BorderColor);--_ui5_monthpicker_item_selected_hover_border: .0625rem solid var(--sapButton_Selected_Hover_BorderColor);--_ui5_monthpicker_item_border_radius: .5rem;--_ui5_message_strip_padding: .4375rem 2.5rem .4375rem 2.5rem;--_ui5_message_strip_padding_block_no_icon: .4375rem .4375rem;--_ui5_message_strip_padding_inline_no_icon: 1rem 2.5rem;--_ui5_message_strip_border_width: var(--sapMessage_BorderWidth);--_ui5_message_strip_icon_top: .4375rem;--_ui5_message_strip_close_button_top: .125rem;--_ui5_message_strip_close_button_color_set_1_background: var(--sapMessage_Button_Hover_Background);--_ui5_message_strip_close_button_color_set_2_background: var(--sapMessage_Button_Hover_Background);--_ui5_message_strip_close_button_color_set_1_color: var(--sapContent_ContrastIconColor);--_ui5_message_strip_scheme_1_set_2_background: var(--sapIndicationColor_1b);--_ui5_message_strip_scheme_1_set_2_border_color: var(--sapIndicationColor_1b_BorderColor);--_ui5_message_strip_scheme_2_set_2_background: var(--sapIndicationColor_2b);--_ui5_message_strip_scheme_2_set_2_border_color: var(--sapIndicationColor_2b_BorderColor);--_ui5_message_strip_scheme_3_set_2_background: var(--sapIndicationColor_3b);--_ui5_message_strip_scheme_3_set_2_border_color: var(--sapIndicationColor_3b_BorderColor);--_ui5_message_strip_scheme_4_set_2_background: var(--sapIndicationColor_4b);--_ui5_message_strip_scheme_4_set_2_border_color: var(--sapIndicationColor_4b_BorderColor);--_ui5_message_strip_scheme_5_set_2_background: var(--sapIndicationColor_5b);--_ui5_message_strip_scheme_5_set_2_border_color: var(--sapIndicationColor_5b_BorderColor);--_ui5_message_strip_scheme_6_set_2_background: var(--sapIndicationColor_6b);--_ui5_message_strip_scheme_6_set_2_border_color: var(--sapIndicationColor_6b_BorderColor);--_ui5_message_strip_scheme_7_set_2_background: var(--sapIndicationColor_7b);--_ui5_message_strip_scheme_7_set_2_border_color: var(--sapIndicationColor_7b_BorderColor);--_ui5_message_strip_scheme_8_set_2_background: var(--sapIndicationColor_8b);--_ui5_message_strip_scheme_8_set_2_border_color: var(--sapIndicationColor_8b_BorderColor);--_ui5_message_strip_scheme_9_set_2_background: var(--sapIndicationColor_9b);--_ui5_message_strip_scheme_9_set_2_border_color: var(--sapIndicationColor_9b_BorderColor);--_ui5_message_strip_scheme_10_set_2_background: var(--sapIndicationColor_10b);--_ui5_message_strip_scheme_10_set_2_border_color: var(--sapIndicationColor_10b_BorderColor);--_ui5_message_strip_close_button_right: .1875rem;--_ui5_panel_focus_border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_panel_header_height: 2.75rem;--_ui5_panel_button_root_width: 2.75rem;--_ui5_panel_button_root_height: 2.75rem;--_ui5_panel_header_padding_right: .5rem;--_ui5_panel_header_button_wrapper_padding: .25rem;--_ui5_panel_border_radius: var(--sapGroup_BorderCornerRadius);--_ui5_panel_border_bottom: none;--_ui5_panel_default_header_border: .0625rem solid var(--sapGroup_TitleBorderColor);--_ui5_panel_border_radius_expanded: var(--sapElement_BorderCornerRadius) var(--sapElement_BorderCornerRadius) 0 0;--_ui5_panel_icon_color: var(--sapButton_Lite_TextColor);--_ui5_panel_focus_offset: 0px;--_ui5_panel_focus_bottom_offset: -1px;--_ui5_panel_content_padding: .625rem 1rem;--_ui5_panel_header_background_color: var(--sapGroup_TitleBackground);--_ui5_popover_background: var(--sapGroup_ContentBackground);--_ui5_popover_box_shadow: var(--sapContent_Shadow2);--_ui5_popover_no_arrow_box_shadow: var(--sapContent_Shadow1);--_ui5_popover_resize_handle_size: 1.5rem;--_ui5_popover_resize_handle_icon_size: 1rem;--_ui5_popover_resize_handle_offset: -.5rem;--_ui5_popover_keyboard_resize_handle_corner_radius_focused: 1.75rem;--_ui5_popover_focus_outline_offset: .0625rem;--_ui5_popup_content_padding_s: 1rem;--_ui5_popup_content_padding_m_l: 2rem;--_ui5_popup_content_padding_xl: 3rem;--_ui5_popup_header_footer_padding_s: 1rem;--_ui5_popup_header_footer_padding_m_l: 2rem;--_ui5_popup_header_footer_padding_xl: 3rem;--_ui5_popup_viewport_margin: 10px;--_ui5_popup_header_prop_header_text_alignment: flex-start;--_ui5_popup_header_shadow: var(--sapContent_HeaderShadow);--_ui5_popup_header_border: none;--_ui5_popup_border_radius: .5rem;--_ui5_popup_block_layer_background: var(--sapBlockLayer_Background);--_ui5_popup_block_layer_opacity: .2;--_ui5_progress_indicator_bar_border_max: none;--_ui5_progress_indicator_icon_visibility: inline-block;--_ui5_progress_indicator_side_points_visibility: block;--_ui5_progress_indicator_padding: 1.25rem 0 .75rem 0;--_ui5_progress_indicator_padding_novalue: .3125rem;--_ui5_progress_indicator_padding_end: 1.25rem;--_ui5_progress_indicator_host_height: unset;--_ui5_progress_indicator_host_box_sizing: border-box;--_ui5_progress_indicator_root_position: relative;--_ui5_progress_indicator_root_border_radius: .25rem;--_ui5_progress_indicator_root_height: .375rem;--_ui5_progress_indicator_root_min_height: .375rem;--_ui5_progress_indicator_root_overflow: visible;--_ui5_progress_indicator_bar_height: .625rem;--_ui5_progress_indicator_remaining_bar_position: absolute;--_ui5_progress_indicator_remaining_bar_width: 100%;--_ui5_progress_indicator_remaining_bar_overflow: visible;--_ui5_progress_indicator_icon_position: absolute;--_ui5_progress_indicator_icon_right_position: -1.25rem;--_ui5_progress_indicator_value_margin: 0 0 .1875rem 0;--_ui5_progress_indicator_value_position: absolute;--_ui5_progress_indicator_value_top_position: -1.3125rem;--_ui5_progress_indicator_value_left_position: 0;--_ui5_progress_indicator_background_none: var(--sapProgress_Background);--_ui5_progress_indicator_background_error: var(--sapProgress_NegativeBackground);--_ui5_progress_indicator_background_warning: var(--sapProgress_CriticalBackground);--_ui5_progress_indicator_background_success: var(--sapProgress_PositiveBackground);--_ui5_progress_indicator_background_information: var(--sapProgress_InformationBackground);--_ui5_progress_indicator_value_state_none: var(--sapProgress_Value_Background);--_ui5_progress_indicator_value_state_error: var(--sapProgress_Value_NegativeBackground);--_ui5_progress_indicator_value_state_warning: var(--sapProgress_Value_CriticalBackground);--_ui5_progress_indicator_value_state_success: var(--sapProgress_Value_PositiveBackground);--_ui5_progress_indicator_value_state_information: var(--sapProgress_Value_InformationBackground);--_ui5_progress_indicator_value_state_error_icon_color: var(--sapProgress_Value_NegativeTextColor);--_ui5_progress_indicator_value_state_warning_icon_color: var(--sapProgress_Value_CriticalTextColor);--_ui5_progress_indicator_value_state_success_icon_color: var(--sapProgress_Value_PositiveTextColor);--_ui5_progress_indicator_value_state_information_icon_color: var(--sapProgress_Value_InformationTextColor);--_ui5_progress_indicator_border: none;--_ui5_progress_indicator_border_color_error: var(--sapErrorBorderColor);--_ui5_progress_indicator_border_color_warning: var(--sapWarningBorderColor);--_ui5_progress_indicator_border_color_success: var(--sapSuccessBorderColor);--_ui5_progress_indicator_border_color_information: var(--sapInformationBorderColor);--_ui5_progress_indicator_color: var(--sapField_TextColor);--_ui5_progress_indicator_bar_color: var(--sapProgress_TextColor);--_ui5_progress_indicator_icon_size: var(--sapFontLargeSize);--_ui5_rating_indicator_border_radius: .5rem;--_ui5_rating_indicator_outline_offset: -.125rem;--_ui5_rating_indicator_item_height: 1em;--_ui5_rating_indicator_item_width: 1em;--_ui5_rating_indicator_component_spacing: .5rem 0px;--_ui5_rating_indicator_component_padding: .25rem;--_ui5_rating_indicator_item_size_s: 1.375rem;--_ui5_rating_indicator_item_size_l: 2rem;--_ui5_rating_indicator_readonly_item_height: .75em;--_ui5_rating_indicator_readonly_item_width: .75em;--_ui5_rating_indicator_readonly_item_spacing: .1875rem .1875rem;--_ui5_segmented_btn_background_color: var(--sapButton_Lite_Background);--_ui5_segmented_btn_border_color: var(--sapButton_Lite_BorderColor);--_ui5_segmented_btn_hover_box_shadow: none;--_ui5_segmented_btn_item_border_left: .0625rem;--_ui5_segmented_btn_item_border_right: .0625rem;--_ui5_button_base_height: var(--sapElement_Height);--_ui5_button_border_radius: var(--sapButton_BorderCornerRadius);--_ui5_button_emphasized_focused_border_before: .125rem solid var(--sapContent_FocusColor);--_ui5_button_emphasized_focused_active_border_color: transparent;--_ui5_button_focused_border: .125rem solid var(--sapContent_FocusColor);--_ui5_button_focused_border_radius: .375rem;--_ui5_button_focused_inner_border_radius: .375rem;--_ui5_button_base_min_width: 2.25rem;--_ui5_button_base_padding: .5625rem;--_ui5_button_base_icon_margin: .375rem;--_ui5_button_text_shadow: none;--_ui5_button_emphasized_border_width: .0625rem;--_ui5_button_pressed_focused_border_color: var(--sapContent_FocusColor);--_ui5_button_fontFamily: var(--sapButton_FontFamily);--_ui5_button_emphasized_focused_border_color: var(--sapContent_ContrastFocusColor);--_ui5_radio_button_min_width: 2.75rem;--_ui5_radio_button_checked_fill: var(--sapSelectedColor);--_ui5_radio_button_checked_error_fill: var(--sapField_InvalidColor);--_ui5_radio_button_checked_success_fill: var(--sapField_SuccessColor);--_ui5_radio_button_checked_information_fill: var(--sapField_InformationColor);--_ui5_radio_button_warning_error_border_dash: 0;--_ui5_radio_button_outer_ring_color: var(--sapField_BorderColor);--_ui5_radio_button_outer_ring_width: var(--sapField_BorderWidth);--_ui5_radio_button_outer_ring_bg: var(--sapField_Background);--_ui5_radio_button_outer_ring_hover_color: var(--sapField_Hover_BorderColor);--_ui5_radio_button_outer_ring_active_color: var(--sapField_Hover_BorderColor);--_ui5_radio_button_outer_ring_checked_hover_color: var(--sapField_Hover_BorderColor);--_ui5_radio_button_outer_ring_padding_with_label: .6875rem;--_ui5_radio_button_border: none;--_ui5_radio_button_focus_outline: block;--_ui5_radio_button_color: var(--sapField_BorderColor);--_ui5_radio_button_label_offset: 1px;--_ui5_radio_button_information_border_width: var(--sapField_InformationBorderWidth);--_ui5_radio_button_hover_fill: var(--sapField_Selector_Hover_Background);--_ui5_radio_button_hover_fill_error: var(--sapField_Selector_Hover_InvalidBackground);--_ui5_radio_button_hover_fill_warning: var(--sapField_Selector_Hover_WarningBackground);--_ui5_radio_button_hover_fill_success: var(--sapField_Selector_Hover_SuccessBackground);--_ui5_radio_button_hover_fill_information: var(--sapField_Selector_Hover_InformationBackground);--_ui5_radio_button_border_width: var(--sapContent_FocusWidth);--_ui5_radio_button_border_radius: .5rem;--_ui5_radio_button_label_color: var(--sapField_TextColor);--_ui5_radio_button_inner_ring_radius: 27.5%;--_ui5_radio_button_outer_ring_padding: .6875rem;--_ui5_radio_button_read_only_border_type: 4, 2;--_ui5_radio_button_inner_ring_color: var(--sapContent_Selected_ForegroundColor);--_ui5_radio_button_checked_warning_fill: var(--sapField_WarningColor);--_ui5_radio_button_read_only_inner_ring_color: var(--sapField_TextColor);--_ui5_radio_button_read_only_border_width: var(--sapElement_BorderWidth);--_ui5_radio_button_focus_dist: .375rem;--_ui5_switch_height: 2.75rem;--_ui5_switch_foucs_border_size: 1px;--_ui5-switch-root-border-radius: 0;--_ui5-switch-root-box-shadow: none;--_ui5_switch_track_border_radius: .75rem;--_ui5-switch-track-border: 1px solid;--_ui5_switch_track_transition: none;--_ui5_switch_handle_border_radius: 1rem;--_ui5-switch-slider-texts-display: inline;--_ui5_switch_readonly_track_border_style: dashed;--_ui5_switch_readonly_handle_border_style: solid;--_ui5_switch_width: 2.5rem;--_ui5_switch_min_width: none;--_ui5_switch_with_label_width: 2.875rem;--_ui5_switch_focus_outline: none;--_ui5_switch_root_after_outline: .125rem solid var(--sapContent_FocusColor);--_ui5_switch_root_after_boreder_radius: 1rem;--_ui5_switch_root_outline_top: .5rem;--_ui5_switch_root_outline_bottom: .5rem;--_ui5_switch_root_outline_left: -.125rem;--_ui5_switch_root_outline_right: -.125rem;--_ui5_switch_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5_switch_transform: translateX(100%) translateX(-1.625rem);--_ui5_switch_transform_with_label: translateX(100%) translateX(-1.875rem);--_ui5_switch_rtl_transform: translateX(-100%) translateX(1.625rem);--_ui5_switch_rtl_transform_with_label: translateX(-100%) translateX(1.875rem);--_ui5_switch_track_width: 2.5rem;--_ui5_switch_track_height: 1.5rem;--_ui5_switch_track_with_label_width: 2.875rem;--_ui5_switch_track_with_label_height: 1.5rem;--_ui5_switch_track_active_background_color: var(--sapButton_Track_Selected_Background);--_ui5_switch_track_inactive_background_color: var(--sapButton_Track_Background);--_ui5_switch_track_hover_active_background_color: var(--sapButton_Track_Selected_Hover_Background);--_ui5_switch_track_hover_inactive_background_color: var(--sapButton_Track_Hover_Background);--_ui5_switch_track_active_border_color: var(--sapButton_Track_Selected_BorderColor);--_ui5_switch_track_inactive_border_color: var(--sapButton_Track_BorderColor);--_ui5_switch_track_hover_active_border_color: var(--sapButton_Track_Selected_Hover_BorderColor);--_ui5_switch_track_hover_inactive_border_color: var(--sapButton_Track_Hover_BorderColor);--_ui5_switch_track_semantic_accept_background_color: var(--sapButton_Track_Positive_Background);--_ui5_switch_track_semantic_reject_background_color: var(--sapButton_Track_Negative_Background);--_ui5_switch_track_semantic_hover_accept_background_color: var(--sapButton_Track_Positive_Hover_Background);--_ui5_switch_track_semantic_hover_reject_background_color: var(--sapButton_Track_Negative_Hover_Background);--_ui5_switch_track_semantic_accept_border_color: var(--sapButton_Track_Positive_BorderColor);--_ui5_switch_track_semantic_reject_border_color: var(--sapButton_Track_Negative_BorderColor);--_ui5_switch_track_semantic_hover_accept_border_color: var(--sapButton_Track_Positive_Hover_BorderColor);--_ui5_switch_track_semantic_hover_reject_border_color: var(--sapButton_Track_Negative_Hover_BorderColor);--_ui5_switch_track_icon_display: inline-block;--_ui5_switch_handle_width: 1.5rem;--_ui5_switch_handle_height: 1.25rem;--_ui5_switch_handle_with_label_width: 1.75rem;--_ui5_switch_handle_with_label_height: 1.25rem;--_ui5_switch_handle_border: var(--_ui5_switch_handle_border_width) solid var(--sapButton_Handle_BorderColor);--_ui5_switch_handle_border_width: .125rem;--_ui5_switch_handle_active_background_color: var(--sapButton_Handle_Selected_Background);--_ui5_switch_handle_inactive_background_color: var(--sapButton_Handle_Background);--_ui5_switch_handle_hover_active_background_color: var(--sapButton_Handle_Selected_Hover_Background);--_ui5_switch_handle_hover_inactive_background_color: var(--sapButton_Handle_Hover_Background);--_ui5_switch_handle_active_border_color: var(--sapButton_Handle_Selected_BorderColor);--_ui5_switch_handle_inactive_border_color: var(--sapButton_Handle_BorderColor);--_ui5_switch_handle_hover_active_border_color: var(--sapButton_Handle_Selected_BorderColor);--_ui5_switch_handle_hover_inactive_border_color: var(--sapButton_Handle_BorderColor);--_ui5_switch_handle_semantic_accept_background_color: var(--sapButton_Handle_Positive_Background);--_ui5_switch_handle_semantic_reject_background_color: var(--sapButton_Handle_Negative_Background);--_ui5_switch_handle_semantic_hover_accept_background_color: var(--sapButton_Handle_Positive_Hover_Background);--_ui5_switch_handle_semantic_hover_reject_background_color: var(--sapButton_Handle_Negative_Hover_Background);--_ui5_switch_handle_semantic_accept_border_color: var(--sapButton_Handle_Positive_BorderColor);--_ui5_switch_handle_semantic_reject_border_color: var(--sapButton_Handle_Negative_BorderColor);--_ui5_switch_handle_semantic_hover_accept_border_color: var(--sapButton_Handle_Positive_BorderColor);--_ui5_switch_handle_semantic_hover_reject_border_color: var(--sapButton_Handle_Negative_BorderColor);--_ui5_switch_handle_on_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Selected_Hover_BorderColor);--_ui5_switch_handle_off_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Hover_BorderColor);--_ui5_switch_handle_semantic_on_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Positive_Hover_BorderColor);--_ui5_switch_handle_semantic_off_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Negative_Hover_BorderColor);--_ui5_switch_handle_left: .0625rem;--_ui5_switch_text_font_family: var(--sapContent_IconFontFamily);--_ui5_switch_text_font_size: var(--sapFontLargeSize);--_ui5_switch_text_width: 1.25rem;--_ui5_switch_text_with_label_font_family: "72-Condensed-Bold", "72", "72full", Arial, Helvetica, sans-serif;--_ui5_switch_text_with_label_font_size: var(--sapFontSmallSize);--_ui5_switch_text_with_label_width: 1.75rem;--_ui5_switch_text_inactive_left: .1875rem;--_ui5_switch_text_inactive_left_alternate: .0625rem;--_ui5_switch_text_inactive_right: auto;--_ui5_switch_text_inactive_right_alternate: 0;--_ui5_switch_text_active_left: .1875rem;--_ui5_switch_text_active_left_alternate: .0625rem;--_ui5_switch_text_active_color: var(--sapButton_Handle_Selected_TextColor);--_ui5_switch_text_inactive_color: var(--sapButton_Handle_TextColor);--_ui5_switch_text_semantic_accept_color: var(--sapButton_Handle_Positive_TextColor);--_ui5_switch_text_semantic_reject_color: var(--sapButton_Handle_Negative_TextColor);--_ui5_switch_text_overflow: hidden;--_ui5_switch_text_z_index: 1;--_ui5_switch_text_hidden: hidden;--_ui5_switch_text_min_width: none;--_ui5_switch_icon_width: 1rem;--_ui5_switch_icon_height: 1rem;--_ui5_select_label_color: var(--sapField_TextColor);--_ui5_select_icon_width: 2.25rem;--_ui5_select_hover_icon_left_border: none;--_ui5_select_icon_wrapper_height: 100%;--_ui5_select_icon_wrapper_state_height: 100%;--_ui5_input_icon_hover_bg: transparent;--_ui5_input_icon_pressed_bg: transparent;--_ui5_select_bottom_border_gradient: linear-gradient(var(--sapField_BorderColor), var(--sapField_BorderColor)) bottom / 100% var(--sapField_BorderWidth) no-repeat;--_ui5_input_focus_outline_color: var(--sapContent_FocusColor);--_ui5_input_readonly_focus_border_radius: 0;--_ui5_split_button_host_transparent_hover_background: transparent;--_ui5_split_button_transparent_disabled_background: transparent;--_ui5_split_button_host_default_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor);--_ui5_split_button_host_attention_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Attention_BorderColor);--_ui5_split_button_host_emphasized_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Emphasized_BorderColor);--_ui5_split_button_host_positive_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Accept_BorderColor);--_ui5_split_button_host_negative_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Reject_BorderColor);--_ui5_split_button_host_transparent_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Lite_BorderColor);--_ui5_split_text_button_border_color: transparent;--_ui5_split_text_button_background_color: transparent;--_ui5_split_text_button_emphasized_border: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5_split_text_button_emphasized_border_width: .0625rem;--_ui5_split_text_button_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_text_button_positive_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5_split_text_button_negative_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5_split_text_button_attention_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5_split_text_button_transparent_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_arrow_button_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_arrow_button_emphasized_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5_split_arrow_button_positive_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5_split_arrow_button_negative_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5_split_arrow_button_attention_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5_split_arrow_button_transparent_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_button_focused_border: .125rem solid var(--sapContent_FocusColor);--_ui5_split_button_focused_border_radius: .375rem;--_ui5_split_button_middle_separator_left: -.0625rem;--_ui5_split_button_middle_separator_hover_display: none;--_ui5_split_button_text_button_right_border_width: .0625rem;--_ui5_split_button_transparent_hover_background: var(--sapButton_Lite_Hover_Background);--_ui5_split_button_transparent_hover_color: var(--sapButton_TextColor);--_ui5_split_button_host_transparent_hover_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor);--_ui5_split_button_inner_focused_border_radius_inner: .375rem;--_ui5_split_button_emphasized_separator_color: transparent;--_ui5_split_button_positive_separator_color: transparent;--_ui5_split_button_negative_separator_color: transparent;--_ui5_split_button_attention_separator_color: transparent;--_ui5_split_button_attention_separator_color_default: var(--sapButton_Attention_TextColor);--_ui5_split_text_button_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_text_button_positive_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5_split_text_button_negative_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5_split_text_button_attention_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5_split_text_button_transparent_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5_split_button_middle_separator_hover_display_emphasized: none;--_ui5_tc_header_height: var(--_ui5_tc_item_height);--_ui5_tc_header_height_text_only: var(--_ui5_tc_item_text_only_height);--_ui5_tc_header_height_text_with_additional_text: var(--_ui5_tc_item_text_only_with_additional_text_height);--_ui5_tc_header_box_shadow: var(--sapContent_HeaderShadow);--_ui5_tc_header_background: var(--sapObjectHeader_Background);--_ui5_tc_header_background_translucent: var(--sapObjectHeader_Background);--_ui5_tc_content_background: var(--sapBackgroundColor);--_ui5_tc_content_background_translucent: var(--sapGroup_ContentBackground);--_ui5_tc_headeritem_padding: 1rem;--_ui5_tc_headerItem_additional_text_color: var(--sapContent_LabelColor);--_ui5_tc_headerItem_text_selected_color: var(--sapTab_Selected_TextColor);--_ui5_tc_headerItem_text_selected_hover_color: var(--sapSelectedColor);--_ui5_tc_headeritem_text_font_weight: normal;--_ui5_tc_headerItem_additional_text_font_weight: normal;--_ui5_tc_headerItem_neutral_border_color: var(--sapTab_Neutral_ForegroundColor);--_ui5_tc_headerItem_transition: none;--_ui5_tc_headerItemContent_border_radius: .125rem .125rem 0 0;--_ui5_tc_headerItemContent_border_bg: transparent;--_ui5_tc_headerItem_neutral_border_bg: transparent;--_ui5_tc_headerItem_positive_border_bg: transparent;--_ui5_tc_headerItem_negative_border_bg: transparent;--_ui5_tc_headerItem_critical_border_bg: transparent;--_ui5_tc_headerItemContent_border_height: 0;--_ui5_tc_headerItem_text_focus_border_offset_left: 0px;--_ui5_tc_headerItem_text_focus_border_offset_right: 0px;--_ui5_tc_headerItem_text_focus_border_offset_top: 0px;--_ui5_tc_headerItem_text_focus_border_offset_bottom: 0px;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_left: .75rem;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_right: .625rem;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_top: .75rem;--_ui5_tc_headerItem_mixed_mode_focus_border_offset_bottom: .75rem;--_ui5_tc_headerItemContent_default_focus_border: none;--_ui5_tc_headerItemContent_focus_border_radius: 0;--_ui5_tc_headerItemSemanticIcon_display: none;--_ui5_tc_headerItemSemanticIcon_size: .75rem;--_ui5_tc_mixedMode_itemText_font_family: var(--sapFontFamily);--_ui5_tc_mixedMode_itemText_font_size: var(--sapFontSmallSize);--_ui5_tc_mixedMode_itemText_font_weight: normal;--_ui5_tc_overflowItem_positive_color: var(--sapPositiveColor);--_ui5_tc_overflowItem_negative_color: var(--sapNegativeColor);--_ui5_tc_overflowItem_critical_color: var(--sapCriticalColor);--_ui5_tc_overflowItem_focus_offset: .125rem;--_ui5_tc_overflowItem_indent: .5rem;--_ui5_tc_overflowItem_extra_indent: 0rem;--_ui5_tc_headerItemIcon_semantic_selected_color: var(--sapGroup_ContentBackground);--_ui5_tc_header_border_bottom: .0625rem solid var(--sapObjectHeader_Background);--_ui5_tc_headerItem_color: var(--sapTab_TextColor);--_ui5_tc_overflowItem_default_color: var(--sapTab_TextColor);--_ui5_tc_overflowItem_current_color: CurrentColor;--_ui5_tc_content_border_bottom: .0625rem solid var(--sapObjectHeader_BorderColor);--_ui5_tc_headerItem_expand_button_margin_inline_start: 0rem;--_ui5_tc_headerItem_single_click_expand_button_margin_inline_start: .25rem;--_ui5_tc_headerItem_expand_button_border_radius: .25rem;--_ui5_tc_headerItem_expand_button_separator_display: inline-block;--_ui5_tc_headerItem_focus_border: .125rem solid var(--sapContent_FocusColor);--_ui5_tc_headerItem_focus_border_offset: -5px;--_ui5_tc_headerItemIcon_focus_border_radius: 50%;--_ui5_tc_headerItem_focus_border_radius: .375rem;--_ui5_tc_headerItem_text_hover_color: var(--sapTab_Selected_TextColor);--_ui5_tc_headerItemIcon_border: .125rem solid var(--sapTab_ForegroundColor);--_ui5_tc_mixedMode_itemText_color: var(--sapTextColor);--_ui5_tc_overflow_text_color: var(--sapTextColor);--_ui5_text_max_lines: initial;--_ui5_textarea_state_border_width: .125rem;--_ui5_textarea_information_border_width: .125rem;--_ui5_textarea_placeholder_font_style: italic;--_ui5_textarea_value_state_error_warning_placeholder_font_weight: normal;--_ui5_textarea_error_placeholder_font_style: italic;--_ui5_textarea_error_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5_textarea_error_hover_background_color: var(--sapField_Hover_Background);--_ui5_textarea_disabled_opacity: .4;--_ui5_textarea_focus_pseudo_element_content: "";--_ui5_textarea_min_height: 2.25rem;--_ui5_textarea_wrapper_padding: .0625rem;--_ui5_textarea_padding_right_and_left_readonly: .5625rem;--_ui5_textarea_padding_top_readonly: .4375rem;--_ui5_textarea_hover_border: none;--_ui5_textarea_focus_border_radius: .25rem;--_ui5_textarea_error_warning_border_style: none;--_ui5_textarea_line_height: 1.5;--_ui5_textarea_focused_value_state_error_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_warning_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_success_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_information_background: var(--sapField_Hover_Background);--_ui5_textarea_focused_value_state_error_focus_outline_color: var(--sapField_InvalidColor);--_ui5_textarea_focused_value_state_warning_focus_outline_color: var(--sapField_WarningColor);--_ui5_textarea_focused_value_state_success_focus_outline_color: var(--sapField_SuccessColor);--_ui5_textarea_focus_offset: 0;--_ui5_textarea_readonly_focus_offset: 1px;--_ui5_textarea_focus_outline_color: var(--sapField_Active_BorderColor);--_ui5_textarea_value_state_focus_offset: 1px;--_ui5_textarea_success_wrapper_padding: .0625rem;--_ui5_textarea_warning_error_wrapper_padding: .0625rem .0625rem .125rem .0625rem;--_ui5_textarea_information_wrapper_padding: .0625rem .0625rem .125rem .0625rem;--_ui5_textarea_inner_width: calc(100% - (2 * var(--_ui5_textarea_wrapper_padding)));--_ui5_textarea_padding_bottom_readonly: .375rem;--_ui5_textarea_padding_top_error_warning: .5rem;--_ui5_textarea_padding_bottom_error_warning: .4375rem;--_ui5_textarea_padding_top_information: .5rem;--_ui5_textarea_padding_bottom_information: .4375rem;--_ui5_textarea_padding_right_and_left: .625rem;--_ui5_textarea_padding_right_and_left_error_warning: .625rem;--_ui5_textarea_padding_right_and_left_information: .625rem;--_ui5_textarea_readonly_border_style: dashed;--_ui5-time_picker_border_radius: .25rem;--_ui5_toast_vertical_offset: 3rem;--_ui5_toast_horizontal_offset: 2rem;--_ui5_toast_background: var(--sapIndicationColor_9_Background);--_ui5_toast_shadow: var(--sapContent_Lite_Shadow);--_ui5_toast_offset_width: -.1875rem;--_ui5_toggle_button_emphasized_text_shadow: none;--_ui5_yearpicker_item_margin: .0625rem;--_ui5_yearpicker_item_border: .0625rem solid var(--sapButton_Lite_BorderColor);--_ui5_yearpicker_item_hover_border: .0625rem solid var(--sapButton_Lite_Hover_BorderColor);--_ui5_yearpicker_item_selected_border: .0625rem solid var(--sapButton_Selected_BorderColor);--_ui5_yearpicker_item_selected_hover_border: .0625rem solid var(--sapButton_Selected_Hover_BorderColor);--_ui5_yearpicker_item_border_radius: .5rem;--_ui5_calendar_header_arrow_button_border: none;--_ui5_calendar_header_middle_button_width: 6.25rem;--_ui5_calendar_header_middle_button_flex: 1 1 auto;--_ui5_calendar_header_middle_button_focus_after_display: block;--_ui5_calendar_header_midcontainer_gap: .5rem;--_ui5_calendar_header_arrow_button_flex_shrink: 0;--_ui5_calendar_header_middle_button_focus_after_width: calc(100% - .375rem) ;--_ui5_calendar_header_middle_button_focus_after_height: calc(100% - .375rem) ;--_ui5_calendar_header_middle_button_focus_after_top_offset: .125rem;--_ui5_calendar_header_middle_button_focus_after_left_offset: .125rem;--_ui5_calendar_header_arrow_button_border_radius: .5rem;--_ui5_calendar_header_arrow_button_box_shadow: 0 0 .125rem 0 rgb(85 107 130 / 72%);--_ui5_calendar_header_middle_button_focus_border_radius: .5rem;--_ui5_calendar_header_middle_button_focus_border: none;--_ui5_calendar_header_middle_button_focus_after_border: none;--_ui5_calendar_header_middle_button_focus_background: transparent;--_ui5_calendar_header_middle_button_focus_outline: .125rem solid var(--sapContent_FocusColor);--_ui5_calendar_header_middle_button_focus_active_outline: .0625rem solid var(--sapContent_FocusColor);--_ui5_calendar_header_middle_button_focus_active_background: transparent;--_ui5_token_background: var(--sapButton_TokenBackground);--_ui5_token_readonly_background: var(--sapButton_TokenBackground);--_ui5_token_readonly_color: var(--sapContent_LabelColor);--_ui5_token_right_margin: .3125rem;--_ui5_token_left_padding: .3125rem;--_ui5_token_focused_selected_border: 1px solid var(--sapButton_Selected_BorderColor);--_ui5_token_focus_offset: -.25rem;--_ui5_token_focus_outline_width: .0625rem;--_ui5_token_selected_focus_outline: none;--_ui5_token_focus_outline: none;--_ui5_token_outline_offset: .125rem;--ui5_token_focus_pseudo_element_content: "";--_ui5_token_border_radius: .375rem;--_ui5_token_focus_outline_border_radius: .5rem;--_ui5_token_text_color: var(--sapTextColor);--_ui5_token_selected_text_font_family: var(--sapFontSemiboldDuplexFamily);--_ui5_token_selected_internal_border_bottom: .125rem solid var(--sapButton_Selected_BorderColor);--_ui5_token_selected_internal_border_bottom_radius: .1875rem;--_ui5_token_readonly_padding: .25rem .3125rem;--_ui5_tokenizer_gap: .625rem .25rem;--_ui5_tokenizer-popover_offset: .3125rem;--_ui5_tokenizer_n_more_text_color: var(--sapLinkColor);--_ui5_slider_inner_min_width: 4rem;--_ui5_slider_progress_border_width: .0625rem;--_ui5_slider_disabled_opacity: .4;--_ui5_slider_active_progress_left: -.0625rem;--_ui5_slider_handle_height: 1.5rem;--_ui5_slider_handle_width: 2rem;--_ui5_slider_handle_focus_border: .125rem solid var(--sapContent_FocusColor);--ui5_slider_handle_outline_offset: .0625rem;--_ui5_slider_handle_background: var(--sapSlider_HandleBackground);--_ui5_slider_handle_border: .0625rem solid var(--sapSlider_HandleBorderColor);--_ui5_slider_handle_border_radius: .5rem;--_ui5_slider_handle_hover_background: var(--sapSlider_Hover_HandleBackground);--_ui5_slider_handle_hover_border: .0625rem solid var(--sapSlider_Hover_HandleBorderColor);--_ui5_slider_handle_background_focus: var(--sapSlider_Active_RangeHandleBackground);--_ui5_slider_handle_active_border: .125rem solid var(--sapSlider_Active_HandleBorderColor);--_ui5_slider_handle_icon_size: .875rem;--_ui5_slider_handle_box_sizing: border-box;--ui5_slider_handle_outline: none;--_ui5_slider_handle_icon_display: inline-block;--_ui5_slider_scale_background: var(--sapSlider_Background);--_ui5_slider_scale_progress_background: var(--sapSlider_Selected_Background);--_ui5_slider_scale_progress_border: none;--_ui5_slider_scale_dots_distance: -1rem;--_ui5_slider_scale_tickmark_height: .5rem;--_ui5_slider_scale_root_box_sizing: border-box;--_ui5_slider_scale_progress_top: 0;--_ui5_slider_scale_progress_height: 100%;--_ui5_range_slider_progress_focus_top: calc(-1 * ((var(--_ui5_slider_handle_height) / 2) + .1875rem) + var(--_ui5_slider_progress_border_width) + .0625rem - .125rem - .0625rem);--_ui5_range_slider_progress_focus_left: calc(-1 * ((var(--_ui5_slider_handle_width) / 2) + .1875rem + var(--_ui5_slider_progress_border_width)) - .125rem);--_ui5_range_slider_progress_focus_right: calc(-1 * ((var(--_ui5_slider_handle_width) / 2) + .1875rem + var(--_ui5_slider_progress_border_width)) - .125rem - .0625rem);--_ui5_range_slider_progress_focus_height: calc(var(--_ui5_slider_handle_height) + .375rem + .25rem + .0625rem);--_ui5_range_slider_progress_focus_border: var(--sapContent_FocusWidth) solid var(--sapContent_FocusColor);--_ui5_range_slider_progress_focus_border_radius: .5rem;--_ui5_range_slider_focus_outline_width: 100%;--_ui5_slider_progress_outline: .0625rem var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5_range_slider_focus_outline_radius: 0;--_ui5_slider_progress_outline_offset: -.8125rem;--_ui5_slider_outer_height: 1.6875rem;--_ui5_slider_progress_outline_offset_left: 0;--_ui5_slider_scale_progress_border_radius: .25rem;--_ui5_slider_scale_border: none;--_ui5_slider_scale_dots_display: inline-block;--_ui5_range_slider_legacy_progress_focus_display: none;--_ui5_range_slider_progress_focus_display: block;--_ui5_range_slider_progress_focus_padding: 0 1rem 0 1rem;--_ui5_slider_root_side_padding: 0 1rem;--_ui5_slider_height: 2.75rem;--_ui5_value_state_message_border: none;--_ui5_value_state_header_border: none;--_ui5_input_value_state_icon_offset: .5rem;--_ui5_value_state_header_box_shadow_error: inset 0 -.0625rem var(--sapField_InvalidColor);--_ui5_value_state_header_box_shadow_information: inset 0 -.0625rem var(--sapField_InformationColor);--_ui5_value_state_header_box_shadow_success: inset 0 -.0625rem var(--sapField_SuccessColor);--_ui5_value_state_header_box_shadow_warning: inset 0 -.0625rem var(--sapField_WarningColor);--_ui5_value_state_message_popover_header_min_height: 2rem;--_ui5_value_state_message_popover_header_min_width: 6rem;--_ui5_value_state_message_popover_header_max_width: 22rem;--_ui5_value_state_message_popover_header_width: auto;--_ui5_value_state_message_icon_offset_phone: 1rem;--_ui5_value_state_header_border_bottom: none;--_ui5_input_value_state_icon_display: inline-block;--_ui5_value_state_message_padding: .5rem .5rem .5rem 1.875rem;--_ui5_value_state_header_padding: .5rem .5rem .5rem 1.875rem;--_ui5_value_state_message_popover_box_shadow: var(--sapContent_Shadow1);--_ui5_value_state_message_icon_width: 1rem;--_ui5_value_state_message_icon_height: 1rem;--_ui5_value_state_header_offset: -.25rem;--_ui5_value_state_message_popover_border_radius: var(--sapPopover_BorderCornerRadius);--_ui5_value_state_message_padding_phone: .5rem .5rem .5rem 2.375rem;--_ui5_value_state_message_line_height: 1.125rem;--_ui5-toolbar-padding-left: .5rem;--_ui5-toolbar-padding-right: .5rem;--_ui5-toolbar-item-margin-left: 0;--_ui5-toolbar-item-margin-right: .5rem;--_ui5_numeric_input_error_focused_background: var(--sapField_Focus_Background);--_ui5_numeric_input_error_hover_background: var(--sapField_Background);--_ui5_numeric_input_error_warning_information_border_style: none;--_ui5_numeric_input_after_border_style: var(--_ui5_input_error_warning_border_style);--_ui5_numeric_input_error_background_color: var(--_ui5_input_input_background_color);--_ui5_numeric_input_input_border_top_information_focused_after: .0625rem;--_ui5_numeric_input_input_border_bottom_information_focused_after: .0625rem;--_ui5_numeric_input_padding_with_step_buttons: 2.5rem;--_ui5_numeric_input_input_error_background_color: inherit;--_ui5_numeric_input_button_state_hover_background_color: var(--sapField_Hover_Background);--_ui5_numeric_input_border_style: none;--_ui5_numeric_input_border_style_hover: none;--_ui5_numeric_input_button_background_color: transparent;--_ui5_numeric_input_input_border: none;--_ui5_numeric_input_input_margin_top: 0;--_ui5_numeric_input_button_display: inline-flex;--_ui5_numeric_input_button_left: 0;--_ui5_numeric_input_button_right: 0;--_ui5_numeric_input_input_border_focused_after: .125rem solid var(--sapField_Active_BorderColor);--_ui5_numeric_input_input_border_top_bottom_focused_after: 0;--_ui5_numeric_input_input_border_bottom_focused_after: 0;--_ui5_numeric_input_input_border_radius_focused_after: .25rem;--_ui5_numeric_input_input_information_border_color_focused_after: var(--sapField_InformationColor);--_ui5_numeric_input_input_warning_border_color_focused_after: var(--sapField_WarningColor);--_ui5_numeric_input_input_success_border_color_focused_after: var(--sapField_SuccessColor);--_ui5_numeric_input_input_error_border_color_focused_after: var(--sapField_InvalidColor);--_ui5_numeric_input_disabled_button_background: none;--_ui5_numeric_input_border_color_hover: none;--_ui5_numeric_input_border_hover: none;--_ui5_input_input_background_color: transparent;--_ui5_load_more_padding: 0;--_ui5_load_more_border: 1px top solid transparent;--_ui5_load_more_border_radius: none;--_ui5_load_more_outline_width: var(--sapContent_FocusWidth);--_ui5_load_more_border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5_calendar_height: 24.5rem;--_ui5_calendar_width: 20rem;--_ui5_calendar_left_right_padding: .5rem;--_ui5_calendar_top_bottom_padding: 1rem;--_ui5_calendar_header_height: 3rem;--_ui5_calendar_header_arrow_button_width: 2.5rem;--_ui5_calendar_header_padding: .25rem 0;--_ui5_calendar_multiple_layout: row;--_ui5_calendar_multiple_gap: 1rem;--_ui5_calendar_multiple_width: calc((var(--_ui5_calendar_width) * 2) + (var(--_ui5_calendar_left_right_padding) * 2));--_ui5_calendar_overlay_top: 57%;--_ui5_calendar_overlay_width: 16rem;--_ui5_checkbox_root_side_padding: .6875rem;--_ui5_checkbox_icon_size: 1.1429em;--_ui5_checkbox_partially_icon_size: .8571em;--_ui5_custom_list_item_rb_min_width: 2.75rem;--_ui5_day_picker_item_width: 2.25rem;--_ui5_day_picker_item_height: 2.875rem;--_ui5_day_picker_empty_height: 3rem;--_ui5_day_picker_item_justify_content: space-between;--_ui5_dp_item_withsecondtype_font_size: var(--sapFontSize);--_ui5_daypicker_item_now_selected_two_calendar_focus_special_day_top: 2rem;--_ui5_daypicker_item_now_selected_two_calendar_focus_special_day_right: 1.4375rem;--_ui5_dp_two_calendar_item_secondary_text_height: 1rem;--_ui5_dp_two_calendar_item_text_padding_top: .4375rem;--_ui5_daypicker_item_now_selected_two_calendar_focus_secondary_text_padding_block: 0 .5rem;--_ui5_calendar_multiple_months_height: var(--_ui5_calendar_height);--_ui5-calendar-legend-item-root-focus-offset: -.125rem;--_ui5-calendar-legend-item-box-margin: .25rem;--_ui5-calendar-legend-item-box-inner-margin: .5rem;--_ui5_color_picker_slider_progress_container_height: 1.625rem;--_ui5_color_picker_slider_container_margin_top: -.5rem;--_ui5_color_picker_slider_handle_height: 2rem;--_ui5_color_picker_slider_handle_width: 1.0625rem;--_ui5_color_picker_slider_handle_after_height: 1.75rem;--_ui5_color_picker_slider_handle_focus_height: 2.125rem;--_ui5_color_picker_colors_wrapper_height: 2.25rem;--_ui5_color_picker_sliders_height: 3rem;--_ui5_color_picker_main_color_margin_bottom: 1rem;--_ui5_color_picker_slider_spacing: .9375rem;--_ui5_color_channel_toggle_button_width: 1.625rem;--_ui5_color_channel_toggle_button_margin-top: -.75rem;--_ui5_color_channel_hex_input_width: 4.8125rem;--_ui5-color_channel_margin_top: .25rem;--_ui5_color-palette-swatch-container-padding: .3125rem .6875rem;--_ui5_datetime_picker_width: 40.0625rem;--_ui5_datetime_picker_height: 25rem;--_ui5_datetime_timeview_width: 17rem;--_ui5_datetime_timeview_phonemode_width: 19.5rem;--_ui5_datetime_timeview_phonemode_clocks_width: 24.5rem;--_ui5_datetime_dateview_phonemode_margin_bottom: 0;--_ui5_popup_footer_height: 2.75rem;--_ui5_dialog_content_min_height: 2.75rem;--_ui5_input_inner_padding: 0 .625rem;--_ui5_input_inner_padding_with_icon: 0 .25rem 0 .625rem;--_ui5_input_inner_space_to_tokenizer: .125rem;--_ui5_input_inner_space_to_n_more_text: .3125rem;--_ui5_input_inner_with_tokenizer_padding_inline_end: .3125rem;--_ui5_list_no_data_height: 3rem;--_ui5_list_item_cb_margin_right: 0;--_ui5_list_item_title_size: var(--sapFontLargeSize);--_ui5_list_no_data_font_size: var(--sapFontLargeSize);--_ui5_list_item_img_size: 3rem;--_ui5_list_item_img_top_margin: .5rem;--_ui5_list_item_img_bottom_margin: .5rem;--_ui5_list_item_img_hn_margin: .75rem;--_ui5_list_item_dropdown_base_height: 2.5rem;--_ui5_list_item_base_height: var(--sapElement_LineHeight);--_ui5_list_item_base_padding: 0 1rem;--_ui5_list_item_icon_size: 1.125rem;--_ui5_list_item_icon_padding-inline-end: .75rem;--_ui5_list_item_selection_btn_margin_top: calc(-1 * var(--_ui5_checkbox_wrapper_padding));--_ui5_list_item_content_vertical_offset: calc((var(--_ui5_list_item_base_height) - var(--_ui5_list_item_title_size)) / 2);--_ui5_group_header_list_item_height: 2.75rem;--_ui5_month_picker_item_height: 3rem;--_ui5_list_buttons_left_space: .125rem;--_ui5_form_item_min_height: 2.813rem;--_ui5_form_item_padding: .65rem;--_ui5-form-group-heading-height: 2.75rem;--_ui5_popup_default_header_height: 2.75rem;--_ui5_year_picker_item_height: 3rem;--_ui5_tokenizer_padding: .3125rem;--_ui5_token_height: 1.625rem;--_ui5_token_icon_size: .75rem;--_ui5_token_icon_padding: .25rem .5rem;--_ui5_tc_item_text: 3rem;--_ui5_tc_item_height: 4.75rem;--_ui5_tc_item_text_only_height: 2.75rem;--_ui5_tc_item_text_only_with_additional_text_height: 3.75rem;--_ui5_tc_item_text_line_height: 1.325rem;--_ui5_tc_item_icon_circle_size: 2.75rem;--_ui5_tc_item_icon_size: 1.25rem;--_ui5_tc_item_add_text_margin_top: .375rem;--_ui5_textarea_margin: .25rem 0;--_ui5_radio_button_label_side_padding: .6875rem;--_ui5_radio_button_inner_size: 2.75rem;--_ui5_radio_button_svg_size: 1.5714em;--_ui5-responsive_popover_header_height: 2.75rem;--_ui5-tree-indent-step: 1.5rem;--_ui5-tree-toggle-box-width: 2.75rem;--_ui5-tree-toggle-box-height: 2.25rem;--_ui5-tree-toggle-icon-size: 1.0625rem;--_ui5-toolbar-separator-height: 2rem;--_ui5-toolbar-height: var(--sapElement_LineHeight);--_ui5_toolbar_overflow_padding: .25rem .5rem;--_ui5_dynamic_page_title_actions_separator_height: var(--_ui5-toolbar-separator-height);--_ui5-shellbar-separator-height: 2rem;--___ui5-test-cozy-only: red;--___ui5-test-both: red;--_ui5_split_button_middle_separator_top: .625rem;--_ui5_split_button_middle_separator_height: 1rem;--_ui5-calendar-legend-item-root-focus-border-radius: .25rem;--_ui5_color-palette-item-height: 1.75rem;--_ui5_color-palette-item-hover-height: 2.25rem;--_ui5_color-palette-item-margin: calc(((var(--_ui5_color-palette-item-hover-height) - var(--_ui5_color-palette-item-height)) / 2) + .0625rem);--_ui5_color-palette-row-width: 12rem;--_ui5_textarea_padding_top: .5rem;--_ui5_textarea_padding_bottom: .4375rem;--_ui5_dp_two_calendar_item_secondary_text_padding_block: 0 .5rem;--_ui5_dp_two_calendar_item_secondary_text_padding: 0 .5rem;--_ui5_daypicker_two_calendar_item_selected_focus_margin_bottom: 0;--_ui5_daypicker_two_calendar_item_selected_focus_padding_right: .5rem;--_ui5_rotation_90deg: rotate(90deg);--_ui5_rotation_minus_90deg: rotate(-90deg);--_ui5_icon_transform_scale: none;--_ui5_panel_toggle_btn_rotation: var(--_ui5_rotation_90deg);--_ui5_popover_upward_arrow_margin: .1875rem 0 0 .1875rem;--_ui5_popover_right_arrow_margin: .1875rem 0 0 -.375rem;--_ui5_popover_downward_arrow_margin: -.375rem 0 0 .125rem;--_ui5_popover_left_arrow_margin: .125rem 0 0 .25rem;--_ui5_dialog_resize_cursor: se-resize;--_ui5_progress_indicator_remaining_bar_border_radius: 0 .5rem .5rem 0;--_ui5_menu_submenu_margin_offset: -.25rem 0;--_ui5_progress_indicator_bar_border_radius: .5rem}@container style(--ui5_content_density: compact){:host{--_ui5_checkbox_label_offset: var(--_ui5_checkbox_compact_wrapper_padding);--_ui5_input_min_width: 2rem;--_ui5_input_min_width_tokenizer_available: 2rem;--_ui5_input_icon_width: 2rem;--_ui5_input_error_warning_icon_padding: .1875rem .375rem .1875rem .4375rem;--_ui5_input_error_warning_focused_icon_padding: .1875rem .375rem .1875rem .4375rem;--_ui5_input_information_icon_padding: .1875rem .375rem .1875rem .4375rem;--_ui5_input_information_focused_icon_padding: .1875rem .375rem .1875rem .4375rem;--_ui5_input_custom_icon_padding: .25rem .5rem;--_ui5_input_error_warning_custom_icon_padding: .1875rem .5rem;--_ui5_input_error_warning_custom_focused_icon_padding: .1875rem .5rem;--_ui5_input_information_custom_icon_padding: .1875rem .5rem;--_ui5_input_information_custom_focused_icon_padding: .1875rem .5rem;--_ui5_input_margin_top_bottom: .1875rem;--_ui5_input_information_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5_input_information_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5_input_error_warning_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5_input_error_warning_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5_input_custom_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5_input_error_warning_custom_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5_input_error_warning_custom_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5_input_information_custom_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5_input_information_custom_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5_input_icon_padding: .25rem .4375rem;--_ui5_input_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5_panel_header_button_wrapper_padding: .1875rem .25rem;--_ui5_rating_indicator_item_height: .67em;--_ui5_rating_indicator_item_width: .67em;--_ui5_rating_indicator_readonly_item_height: .67em;--_ui5_rating_indicator_readonly_item_width: .67em;--_ui5_rating_indicator_component_spacing: .8125rem 0px;--_ui5_rating_indicator_item_height: 1em;--_ui5_rating_indicator_item_width: 1em;--_ui5_rating_indicator_readonly_item_height: .75em;--_ui5_rating_indicator_readonly_item_width: .75em;--_ui5_rating_indicator_component_spacing: .5rem 0px;--_ui5_radio_button_min_width: 2rem;--_ui5_radio_button_focus_dist: .375rem;--_ui5_radio_button_outer_ring_padding_with_label: .5rem;--_ui5_radio_button_outer_ring_padding: .5rem;--_ui5_radio_button_focus_dist: .1875rem;--_ui5_switch_height: 2rem;--_ui5_switch_width: 2.5rem;--_ui5_switch_with_label_width: 100%;--_ui5_switch_root_outline_top: 0;--_ui5_switch_root_outline_bottom: 0;--_ui5_switch_transform: translateX(100%) translateX(-1.5rem);--_ui5_switch_transform_with_label: translateX(100%) translateX(-1.5rem);--_ui5_switch_rtl_transform: translateX(1.5rem) translateX(-100%);--_ui5_switch_rtl_transform_with_label: translateX(1.5rem) translateX(-100%);--_ui5_switch_track_with_label_width: 100%;--_ui5_switch_track_with_label_height: 1.375rem;--_ui5_switch_track_width: 100%;--_ui5_switch_track_height: 1.375rem;--_ui5_switch_handle_width: 1.625rem;--_ui5_switch_handle_height: 1.625rem;--_ui5_switch_handle_with_label_width: 1.625rem;--_ui5_switch_handle_with_label_height: 1.625rem;--_ui5_switch_text_font_size: var(--sapFontSmallSize);--_ui5_switch_text_width: none;--_ui5_switch_text_active_left: calc(-100% + 1.625rem) ;--_ui5_switch_width: 2.75rem;--_ui5_switch_min_width: none;--_ui5_switch_with_label_width: 2.75rem;--_ui5_switch_root_outline_top: .25rem;--_ui5_switch_root_outline_bottom: .25rem;--_ui5_switch_transform: translateX(100%) translateX(-1.375rem);--_ui5_switch_transform_with_label: translateX(100%) translateX(-1.875rem);--_ui5_switch_rtl_transform: translateX(1.375rem) translateX(-100%);--_ui5_switch_rtl_transform_with_label: translateX(1.875rem) translateX(-100%);--_ui5_switch_track_width: 2.75rem;--_ui5_switch_track_height: 1.25rem;--_ui5_switch_track_with_label_width: 2.75rem;--_ui5_switch_track_with_label_height: 1.25rem;--_ui5_switch_handle_width: 1.25rem;--_ui5_switch_handle_height: 1rem;--_ui5_switch_handle_with_label_width: 1.75rem;--_ui5_switch_handle_with_label_height: 1rem;--_ui5_switch_text_font_size: var(--sapFontSize);--_ui5_switch_text_width: 1rem;--_ui5_switch_text_active_left: .1875rem;--_ui5_select_icon_width: 2rem;--_ui5_tc_header_height: var(--_ui5_tc_item_height);--_ui5_textarea_padding_right_and_left: .4375rem;--_ui5_textarea_padding_right_and_left_error_warning: .375rem;--_ui5_textarea_padding_right_and_left_information: .375rem;--_ui5_textarea_padding_right_and_left_readonly: .4375rem;--_ui5_textarea_padding_top: .125rem;--_ui5_textarea_padding_bottom: .125rem;--_ui5_textarea_padding_top_readonly: .125rem;--_ui5_textarea_padding_bottom_readonly: .125rem;--_ui5_textarea_padding_top_error_warning: .0625rem;--_ui5_textarea_padding_bottom_error_warning: .0625rem;--_ui5_textarea_padding_top_information: .0625rem;--_ui5_textarea_padding_bottom_information: .0625rem;--_ui5_textarea_margin: .1875rem 0;--_ui5_textarea_min_height: 1.625rem;--_ui5_textarea_padding_top: .1875rem;--_ui5_textarea_padding_bottom: .125rem;--_ui5_textarea_padding_bottom_readonly: .0625rem;--_ui5_textarea_padding_top_error_warning: .1875rem;--_ui5_textarea_padding_bottom_error_warning: .125rem;--_ui5_textarea_padding_top_information: .1875rem;--_ui5_textarea_padding_bottom_information: .125rem;--_ui5_textarea_padding_right_and_left: .5rem;--_ui5_textarea_padding_right_and_left_error_warning: .5rem;--_ui5_textarea_padding_right_and_left_information: .5rem;--_ui5_calendar_header_midcontainer_gap: 0;--_ui5_calendar_header_arrow_button_flex_shrink: 1;--_ui5_token_outline_offset: 0;--_ui5_tokenizer_gap: .375em .25rem;--_ui5_tokenizer-popover_offset: .1875rem;--_ui5_slider_handle_height: 1.25rem;--_ui5_slider_handle_width: 1.5rem;--_ui5_slider_scale_dots_distance: -.75rem;--_ui5_slider_root_side_padding: 0 .75rem;--_ui5_slider_height: 2rem;--___ui5-test-both: blue;--___ui5-test-compact-only: blue;--_ui5_bar_base_height: 2.5rem;--_ui5_bar_subheader_height: 2.25rem;--_ui5_button_base_height: var(--sapElement_Compact_Height);--_ui5_button_base_padding: .4375rem;--_ui5_button_base_min_width: 2rem;--_ui5-button-badge-diameter: .625rem;--_ui5_calendar_height: 18rem;--_ui5_calendar_width: 17.75rem;--_ui5_calendar_left_right_padding: .25rem;--_ui5_calendar_top_bottom_padding: .5rem;--_ui5_calendar_header_height: 2rem;--_ui5_calendar_header_arrow_button_width: 2rem;--_ui5_calendar_header_padding: 0;--_ui5_calendar_multiple_gap: .5rem;--_ui5_calendar_multiple_width: calc((var(--_ui5_calendar_width) * 2) + (var(--_ui5_calendar_left_right_padding) * 2));--_ui5_calendar_overlay_top: 54%;--_ui5_calendar_overlay_width: 100%;--_ui5_calendar_multiple_months_height: var(--_ui5_calendar_height);--_ui5-calendar-legend-root-padding: .5rem;--_ui5-calendar-legend-root-width: 16.75rem;--_ui5_checkbox_root_side_padding: var(--_ui5_checkbox_wrapped_focus_padding);--_ui5_checkbox_wrapper_padding: var(--_ui5_checkbox_compact_wrapper_padding);--_ui5_checkbox_focus_position: var(--_ui5_checkbox_compact_focus_position);--_ui5_checkbox_wrapped_focus_inset_block: var(--_ui5_checkbox_focus_position);--_ui5_checkbox_inner_width_height: var(--_ui5_checkbox_compact_inner_size);--_ui5_checkbox_icon_size: .8571em;--_ui5_checkbox_partially_icon_size: .5714em;--_ui5_color_picker_slider_progress_container_height: 1.125rem;--_ui5_color_picker_slider_container_margin_top: -.375rem;--_ui5_color_picker_slider_handle_height: 1.5rem;--_ui5_color_picker_slider_handle_width: .9375rem;--_ui5_color_picker_slider_handle_after_height: 1.25rem;--_ui5_color_picker_slider_handle_focus_height: 1.625rem;--_ui5_color_picker_colors_wrapper_height: 1.5rem;--_ui5_color_picker_sliders_height: 2.25rem;--_ui5_color_picker_main_color_margin_bottom: .75rem;--_ui5_color_picker_slider_spacing: .8125rem;--_ui5_color_channel_toggle_button_width: 1.375rem;--_ui5_color_channel_toggle_button_margin-top: -.9375rem;--_ui5_color_channel_hex_input_width: 4.625rem;--_ui5-color_channel_margin_top: 0rem;--_ui5_color-palette-item-height: 1.25rem;--_ui5_color-palette-item-hover-height: 1.625rem;--_ui5_color-palette-item-margin: calc((var(--_ui5_color-palette-item-hover-height) - var(--_ui5_color-palette-item-height)) / 2);--_ui5_color-palette-row-width: 8.125rem;--_ui5_color-palette-swatch-container-padding: .1875rem .8125rem;--_ui5_color-palette-item-hover-margin: 0;--_ui5_color-palette-row-height: 7.5rem;--_ui5_color-palette-button-height: 2rem;--_ui5_custom_list_item_rb_min_width: 2rem;--_ui5_daypicker_weeknumbers_container_padding_top: 2rem;--_ui5_day_picker_item_width: 2rem;--_ui5_day_picker_item_height: 2rem;--_ui5_day_picker_empty_height: 2.125rem;--_ui5_day_picker_item_justify_content: flex-end;--_ui5_dp_item_withsecondtype_font_size: var(--sapFontSmallSize);--_ui5_dp_two_calendar_item_secondary_text_height: .75rem;--_ui5_dp_two_calendar_item_text_padding_top: .5rem;--_ui5_daypicker_selected_item_now_special_day_top: 1.5625rem;--_ui5_daypicker_specialday_focused_top: 1.5rem;--_ui5_daypicker_special_day_top: 1.625rem;--_ui5_daypicker_item_now_specialday_top: 1.5rem;--_ui5_daypicker_twocalendar_item_special_day_top: 1.25rem;--_ui5_daypicker_twocalendar_item_special_day_right: 1.25rem;--_ui5_daypicker_two_calendar_item_margin_bottom: 0;--_ui5_dp_two_calendar_item_secondary_text_padding_block: 0 .625rem;--_ui5_daypicker_item_now_selected_two_calendar_focus_special_day_top: 1.125rem;--_ui5_daypicker_item_now_selected_two_calendar_focus_special_day_right: 1.125rem;--_ui5_dp_two_calendar_item_secondary_text_padding: 0 .375rem;--_ui5_daypicker_item_now_selected_two_calendar_focus_secondary_text_padding_block: 0 1rem;--_ui5_daypicker_two_calendar_item_selected_focus_margin_bottom: -.25rem;--_ui5_daypicker_two_calendar_item_selected_focus_padding_right: .4375rem;--_ui5_datetime_picker_height: 20.5rem;--_ui5_datetime_picker_width: 35.5rem;--_ui5_datetime_timeview_width: 17rem;--_ui5_datetime_timeview_phonemode_width: 18.5rem;--_ui5_datetime_timeview_phonemode_clocks_width: 21.125rem;--_ui5_datetime_dateview_phonemode_margin_bottom: 3.125rem;--_ui5_popup_footer_height: 2.5rem;--_ui5_dialog_content_min_height: 2.5rem;--_ui5_form_item_min_height: 2rem;--_ui5_form_item_padding: .25rem;--_ui5-form-group-heading-height: 2rem;--_ui5_input_height: var(--sapElement_Compact_Height);--_ui5_input_inner_padding: 0 .5rem;--_ui5_input_inner_padding_with_icon: 0 .25rem 0 .5rem;--_ui5_input_inner_space_to_tokenizer: .125rem;--_ui5_input_inner_space_to_n_more_text: .25rem;--_ui5_input_inner_with_tokenizer_padding_inline_end: .25rem;--_ui5_input_icon_min_width: var(--_ui5_input_compact_min_width);--_ui5_input_min_width_tokenizer_available: 2rem;--_ui5_menu_item_padding: 0 .75rem 0 .5rem;--_ui5_menu_item_submenu_icon_right: .75rem;--_ui5_popup_default_header_height: 2.5rem;--_ui5_textarea_margin: .1875rem 0;--_ui5_list_no_data_height: 2rem;--_ui5_list_item_cb_margin_right: .5rem;--_ui5_list_item_title_size: var(--sapFontSize);--_ui5_list_item_img_top_margin: .55rem;--_ui5_list_no_data_font_size: var(--sapFontSize);--_ui5_list_item_dropdown_base_height: 2rem;--_ui5_list_item_base_height: 2rem;--_ui5_list_item_base_padding: 0 1rem;--_ui5_list_item_icon_size: 1rem;--_ui5_list_item_selection_btn_margin_top: calc(-1 * var(--_ui5_checkbox_wrapper_padding));--_ui5_list_item_content_vertical_offset: calc((var(--_ui5_list_item_base_height) - var(--_ui5_list_item_title_size)) / 2);--_ui5_list_buttons_left_space: .125rem;--_ui5_month_picker_item_height: 2rem;--_ui5_year_picker_item_height: 2rem;--_ui5_panel_header_height: 2rem;--_ui5_panel_button_root_height: 2rem;--_ui5_panel_button_root_width: 2.75rem;--_ui5_token_height: 1.25rem;--_ui5_token_right_margin: .25rem;--_ui5_token_left_padding: .25rem;--_ui5_token_readonly_padding: .125rem .25rem;--_ui5_token_focus_offset: -.125rem;--_ui5_token_icon_size: .75rem;--_ui5_token_icon_padding: .375rem .375rem;--_ui5_token_outline_offset: -.125rem;--_ui5_tc_item_text: 2rem;--_ui5_tc_item_text_line_height: 1.325rem;--_ui5_tc_item_icon_size: 1rem;--_ui5_tc_item_add_text_margin_top: .3125rem;--_ui5_tc_item_height: 4rem;--_ui5_tc_header_height: var(--_ui5_tc_item_height);--_ui5_tc_item_icon_circle_size: 2rem;--_ui5_radio_button_label_side_padding: .5rem;--_ui5_radio_button_inner_size: 2rem;--_ui5_radio_button_svg_size: 1.1429em;--_ui5-responsive_popover_header_height: 2.5rem;--_ui5_slider_handle_width: 1.5rem;--_ui5_slider_tooltip_height: 1rem;--_ui5_slider_tooltip_padding: .25rem;--_ui5_slider_progress_outline_offset: -.625rem;--_ui5_slider_outer_height: 1.3125rem;--_ui5_split_button_middle_separator_height: 1.625rem;--_ui5_numeric_input_min_width: 6rem;--_ui5_numeric_input_padding_with_step_buttons: 2rem;--_ui5-tree-indent-step: .5rem;--_ui5-tree-toggle-box-width: 2rem;--_ui5-tree-toggle-box-height: 1.5rem;--_ui5-tree-toggle-icon-size: .8125rem;--_ui5_tokenizer_padding: .25rem;--_ui5-toolbar-separator-height: 1.5rem;--_ui5-toolbar-height: var(--sapElement_Compact_LineHeight);--_ui5_toolbar_overflow_padding: .1875rem .375rem;--_ui5_dynamic_page_title_actions_separator_height: var(--_ui5-toolbar-separator-height);--_ui5-shellbar-separator-height: 2rem;--_ui5_textarea_padding_top: .1875rem;--_ui5_textarea_padding_bottom: .125rem;--_ui5_checkbox_focus_position: .125rem;--_ui5_split_button_middle_separator_top: .3125rem;--_ui5_split_button_middle_separator_height: 1rem;--_ui5_slider_tooltip_height: 1.375rem;--_ui5_checkbox_wrapped_focus_inset_block: .125rem;--_ui5_color-palette-item-height: 1.25rem;--_ui5_color-palette-item-hover-height: 1.625rem;--_ui5_color-palette-item-margin: calc(((var(--_ui5_color-palette-item-hover-height) - var(--_ui5_color-palette-item-height)) / 2) + .0625rem);--_ui5_color-palette-row-width: 8.75rem;--_ui5_color-palette-swatch-container-padding: .1875rem .5rem;--_ui5_color-palette-item-hover-margin: .0625rem;--_ui5_color-palette-row-height: 7.5rem;--_ui5_color-palette-button-height: 2rem;--_ui5_color-palette-item-before-focus-inset: -.25rem;--_ui5_daypicker_selected_item_now_special_day_top: 1.5625rem;--_ui5_daypicker_specialday_focused_top: 1.3125rem;--_ui5_daypicker_selected_item_now_special_day_border_bottom_radius_alternate: .5rem;--_ui5_daypicker_specialday_focused_border_bottom: .25rem;--_ui5_daypicker_item_now_specialday_top: 1.4375rem;--_ui5_dp_two_calendar_item_secondary_text_padding_block: 0 .375rem;--_ui5_dp_two_calendar_item_secondary_text_padding: 0 .375rem;--_ui5_daypicker_two_calendar_item_selected_focus_margin_bottom: -.25rem;--_ui5_daypicker_two_calendar_item_selected_focus_padding_right: .4375rem}}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}@container style(--ui5_content_density: compact){}:dir(rtl){--_ui5_icon_transform_scale: scale(-1, 1);--_ui5_panel_toggle_btn_rotation: var(--_ui5_rotation_minus_90deg);--_ui5_popover_upward_arrow_margin: .1875rem .125rem 0 0;--_ui5_popover_right_arrow_margin: .1875rem .25rem 0 0;--_ui5_popover_downward_arrow_margin: -.4375rem .125rem 0 0;--_ui5_popover_left_arrow_margin: .1875rem -.375rem 0 0;--_ui5_dialog_resize_cursor:sw-resize;--_ui5_menu_submenu_margin_offset: 0 -.25rem;--_ui5_segmented_btn_item_border_left: .0625rem;--_ui5_segmented_btn_item_border_right: .0625rem;--_ui5_progress_indicator_bar_border_radius: .5rem;--_ui5_progress_indicator_remaining_bar_border_radius: .25rem}
|
|
88
88
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const EA=`:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;font-size:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top;box-sizing:border-box;align-items:center;justify-content:center;font-size:inherit;line-height:1}:host([mode="Interactive"]){cursor:pointer}.ui5-icon-root:not([dir=ltr])>g{transform:var(--_ui5_icon_transform_scale);transform-origin:center}
|
|
89
89
|
`;var Jr=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Op;const DA="ICON_NOT_FOUND";let Hi=Op=class extends z{constructor(){super(...arguments),this.design="Default",this.showTooltip=!1,this.mode="Decorative",this.pathData=[],this.invalid=!1}_onclick(e){if(this.mode!==Fe.Interactive){this.mode===Fe.Image&&e.stopPropagation();return}e.stopImmediatePropagation(),this.fireDecoratorEvent("click")}_onkeydown(e){this.mode===Fe.Interactive&&(ie(e)&&this.fireDecoratorEvent("click"),K(e)&&e.preventDefault())}_onkeyup(e){this.mode===Fe.Interactive&&K(e)&&this.fireDecoratorEvent("click")}get _dir(){return this.ltr?"ltr":void 0}get effectiveAriaHidden(){return this.mode===Fe.Decorative?"true":void 0}get _tabIndex(){return this.mode===Fe.Interactive?0:void 0}get effectiveAccessibleRole(){switch(this.mode){case Fe.Interactive:return"button";case Fe.Decorative:return"presentation";default:return"img"}}onEnterDOM(){se()&&this.setAttribute("desktop","")}async onBeforeRendering(){var i;if(this.fontIcon.length){this.accessibleName?this.effectiveAccessibleName=this.accessibleName:this.effectiveAccessibleName=void 0;return}const e=this.name;if(!e)return;let t=T4(e);if(t||(t=await I4(e)),!t)return this.invalid=!0,console.warn(`Required icon is not registered. Invalid icon name: ${this.name}`);if(t===DA)return this.invalid=!0,console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "@ui5/webcomponents-icons/dist/${e.replace("sap-icon://","")}.js", or setup a JSON build step and import "@ui5/webcomponents-icons/dist/AllIcons.js".`);if(this.viewBox=t.viewBox||"0 0 512 512","customTemplate"in t&&t.customTemplate&&(this.customTemplate=Ls(t.customTemplate,this)),"customTemplateAsString"in t&&(this.customTemplateAsString=t.customTemplateAsString),this.invalid=!1,"pathData"in t&&t.pathData&&(this.pathData=Array.isArray(t.pathData)?t.pathData:[t.pathData]),this.accData=t.accData,this.ltr=t.ltr,this.packageName=t.packageName,this.accessibleName)this.effectiveAccessibleName=this.accessibleName;else if(this.accData)if(this.packageName){const a=await p_(this.packageName);this.effectiveAccessibleName=a.getText(this.accData)||void 0}else this.effectiveAccessibleName=((i=this.accData)==null?void 0:i.defaultText)||void 0;else this.effectiveAccessibleName=void 0}get hasFontIcon(){return this.fontIcon.length>0}get hasIconTooltip(){return this.showTooltip&&this.effectiveAccessibleName}_getAriaTypeDescription(){switch(this.mode){case Fe.Interactive:return Op.i18nBundle.getText(AA);case Fe.Image:return Op.i18nBundle.getText(BA);default:return""}}get accessibilityInfo(){return this.mode===Fe.Decorative?{}:{role:this.effectiveAccessibleRole,type:this._getAriaTypeDescription(),description:this.effectiveAccessibleName}}};Jr([d()],Hi.prototype,"design",void 0);Jr([d()],Hi.prototype,"name",void 0);Jr([d()],Hi.prototype,"accessibleName",void 0);Jr([d({type:Boolean})],Hi.prototype,"showTooltip",void 0);Jr([d()],Hi.prototype,"mode",void 0);Jr([D({type:HTMLElement})],Hi.prototype,"fontIcon",void 0);Jr([d({type:Array,noAttribute:!0})],Hi.prototype,"pathData",void 0);Jr([d({type:Object,noAttribute:!0})],Hi.prototype,"accData",void 0);Jr([d({type:Boolean})],Hi.prototype,"invalid",void 0);Jr([d({noAttribute:!0})],Hi.prototype,"effectiveAccessibleName",void 0);Jr([V("@ui5/webcomponents")],Hi,"i18nBundle",void 0);Hi=Op=Jr([T({tag:"ui5-icon",languageAware:!0,themeAware:!0,renderer:A,template:LT,styles:EA}),x("click",{bubbles:!0})],Hi);Hi.define();const R=Hi;var Xv;(function(o){o.Top="Top",o.Bottom="Bottom"})(Xv||(Xv={}));const o7=Xv;function RA(){return g("label",{class:"ui5-label-root",onClick:this._onclick,children:[l("span",{class:"ui5-label-text-wrapper",children:l("slot",{})}),l("span",{"aria-hidden":"true",class:"ui5-label-required-colon","data-ui5-colon":this._colonSymbol})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const PA=`:host(:not([hidden])){display:inline-flex}:host{max-width:100%;color:var(--sapContent_LabelColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;cursor:text}.ui5-label-root{width:100%;cursor:inherit}:host{white-space:normal}:host([wrapping-type="None"]){white-space:nowrap}:host([wrapping-type="None"]) .ui5-label-root{display:inline-flex}:host([wrapping-type="None"]) .ui5-label-text-wrapper{text-overflow:ellipsis;overflow:hidden;display:inline-block;vertical-align:top;flex:0 1 auto;min-width:0}:host([show-colon]) .ui5-label-required-colon:before{content:attr(data-ui5-colon)}:host([required]) .ui5-label-required-colon:after{content:"*";color:var(--sapField_RequiredColor);font-size:var(--sapFontLargeSize);font-weight:700;position:relative;font-style:normal;vertical-align:middle;line-height:0}.ui5-label-text-wrapper{padding-inline-end:.075rem}:host([required][show-colon]) .ui5-label-required-colon:after{margin-inline-start:.125rem}:host([show-colon]) .ui5-label-required-colon{margin-inline-start:-.05rem;white-space:pre}
|
|
@@ -537,25 +537,25 @@ or import '@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css'`)};doc
|
|
|
537
537
|
</clipPath>
|
|
538
538
|
</defs>
|
|
539
539
|
</svg>`,x$="NoSearchResults",y$="fiori",C$="V4",w$=Zz,S$=Jz;f8(x$,{dialogSvg:v$,sceneSvg:m$,spotSvg:f$,dotSvg:b$,title:w$,subtitle:S$,set:y$,collection:C$});var Ye;(function(o){o.SingleSelect="SingleSelect",o.MultiSelect="MultiSelect",o.SingleContent="SingleContent",o.RadioGroup="RadioGroup"})(Ye||(Ye={}));var Fs;(function(o){o.None="None",o.Circle="Circle",o.Number="Number",o.Icon="Icon"})(Fs||(Fs={}));var Fh;(function(o){o.Standard="Standard",o.Large="Large"})(Fh||(Fh={}));var D1;(function(o){o.None="None",o.Success="Success",o.Warning="Warning",o.Error="Error",o.Information="Information"})(D1||(D1={}));var x7;(function(o){o.Start="Start",o.Center="Center",o.End="End",o.Nearest="Nearest"})(x7||(x7={}));const i2=o=>/^[a-zA-Z]$/.test(o),lc=o=>o.replace(/<\/?b[^>]*>/g,""),y8=(o,e)=>lc(o).toLowerCase().startsWith(e),k$=(o,e)=>{var t;return y8(((t=o._state)==null?void 0:t.label)||"",e)},T$=(o,e)=>y8((o==null?void 0:o.innerText)||"",e),C8=(o,e)=>k$(o,e)||T$(o,e),w8=(o,e)=>!((o==null?void 0:o.disabled)||!1)&&C8(o,e),I$=(o,e)=>{const t=e.findIndex(i=>w8(i,o));return t>-1?t:0},B$=(o,e,t)=>e.slice(t,e.length).findIndex(i=>w8(i,o)),A$=(o,e)=>e.map(i=>C8(i,o)?i:null).filter(i=>i).length;class S8{resetMatchingItems(){this._pressedKey="",this._pressedCount=0,this._lastFoundPosition=0}setPressedKey(e){e===this._pressedKey?this._pressedCount++:(this._pressedKey=e,this._pressedCount=1,this._lastFoundPosition=0)}getFocusItemIndex(e,t,i){let a;if(this._pressedCount<=i){const r=this._pressedCount===1?0:this._lastFoundPosition+1;a=y7(e,t,r)+this._lastFoundPosition,this._pressedCount!==1&&a++}else a=y7(e,t),this._pressedCount=1;return a}focusMatchingListItem(e){const t=A$(e,this._focusableListItems);if(t>0){this.setPressedKey(e);const i=this.getFocusItemIndex(e,this._focusableListItems,t);this._lastFoundPosition=i,this._focusableListItems[i].focus()}}}const y7=(o,e,t=0)=>t===0?I$(o,e):B$(o,e,t);function E$(){const o=this._hasHostAriaRole;return g(P,{children:[this.modeSelected&&l("div",{class:"udex-list-root",onKeyDown:this.handleKeyDown,style:{height:this.holderHeight},"onui5-item-press":this.handleItemPress,"onui5-header-press":this.handleItemPress,children:g("div",{class:"udex-list__scroll-container",children:[C7.call(this),!o&&l("span",{id:this.ariaLabelledBy,class:"udex-list__hidden-text",children:this.ariaLabelModeText}),l("div",{id:"udex-list",class:"udex-list",role:o?"none":this.effectiveAccessibleRole,"aria-labelledby":o?void 0:this.ariaLabelledBy,"aria-multiselectable":o?void 0:this._listAriaMultiSelectable,"aria-busy":o?void 0:this.ariaBusy??void 0,children:l("slot",{})})]})}),this.modeSingleContent&&g(P,{children:[C7.call(this),l("div",{id:"udex-list",class:"udex-list",role:o?"none":this.singleContentRole,"aria-label":o?void 0:this.singleContentAriaLabel,"aria-busy":o?void 0:this.ariaBusy??void 0,children:l("slot",{})})]})]})}function C7(){return this.headerText?l("header",{id:`${this._id}-mode-label`,class:"udex-list__header-text",part:"header",children:this.headerText}):null}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const D$=`.udex-list{font-family:var(--sapFontFamily, sans-serif);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px);list-style-type:none;padding:0;margin:0}.udex-list__hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.udex-list__scroll-container{overflow:auto;height:100%}.udex-list__header-text{font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px);font-weight:var(--udexTypographyFontWeightRegular, 400);padding:var(--udexSpacer8, 8px) var(--udexSpacer12, 12px);border-bottom:1px solid var(--sapList_BorderColor, #A9B4BE)}::slotted(udex-list-group-header:not(:last-child)){display:block}:host([mode="SingleContent"])::part(header){padding:var(--udexSpacer8, 8px) 0}:host([mode="RadioGroup"])::part(header),:host([mode="MultiSelect"])::part(header){padding:var(--udexSpacer8, 8px) var(--udexSpacer20, 20px)}
|
|
540
|
-
`;var Dr=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},wm;let wi=wm=class extends z{constructor(){super(...arguments),this.accessibleRole="listbox",this.accessibleName="",this.mode=Ye.SingleSelect,this.type=Fs.None,this.itemIcon="",this._focusHandler=new S8}onBeforeRendering(){if(this._hasHostAriaRole){const e=this.modeSelected?this.ariaLabelModeText:this.singleContentAriaLabel;e?this.setAttribute("aria-label",e):this.removeAttribute("aria-label")}this.prepareListItemsMode(),this._focusHandler.resetMatchingItems(),this._focusHandler._focusableListItems=this.getKeyboardNavigationItems()}handleItemPress(e){const t=e.detail.item;this.onItemPress(t)}handleKeyDown(e){Se(e)&&this.handleArrowRight(e),we(e)&&this.handleArrowLeft(e),Ne(e)&&this.handleUpArrow(e),Be(e)&&this.handleDownArrow(e),lt(e)&&this.handleHomeKey(e),Ot(e)&&this.handleEndKey(e),i2(e.key)&&this.handleLetterKey(e)}handleArrowRight(e){const t=e.target;t.isGroup&&t.hasAttribute("collapsible")&&t.collapsed&&(t.collapsed=!1,this.setCollapsedItems(!1,t),this.fireAccordionToggle(t))}handleArrowLeft(e){const t=e.target;t.isGroup&&t.hasAttribute("collapsible")&&!t.collapsed&&(t.collapsed=!0,this.setCollapsedItems(!0,t),this.fireAccordionToggle(t))}fireAccordionToggle(e){e.dispatchEvent(new CustomEvent("accordion-icon-click",{bubbles:!0,detail:{collapsed:e.collapsed}}))}handleUpArrow(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target),a=t.length-1,r=i-1<0?a:i-1,n=t[r].isGroup,s=t[r].nonInteractive&&!t[r].collapsible;if(s&&r===0){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a),this._scrollIntoView&&this.scrollToItem(t[a]),this.focusItem(t[a]);return}if(s){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,r-1),this._scrollIntoView&&this.scrollToItem(t[r-1]),this.focusItem(t[r-1]);return}if(n){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,r),this._scrollIntoView&&this.scrollToItem(t[r]),this.focusHeader(t[r]);return}this.modeRadioGroup&&(t[i].selected=!1,t[r].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,r),setTimeout(()=>{this._scrollIntoView&&this.scrollToItem(t[r]),this.focusItem(t[r])},0)}handleDownArrow(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target),a=i+1>t.length-1?0:i+1,r=t[a].isGroup;if(t[a].nonInteractive&&!t[a].collapsible){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a+1),this._scrollIntoView&&this.scrollToItem(t[a+1]),this.focusItem(t[a+1]);return}if(r){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a),this._scrollIntoView&&this.scrollToItem(t[a]),this.focusHeader(t[a]);return}this.modeRadioGroup&&(t[i].selected=!1,t[a].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a),setTimeout(()=>{this._scrollIntoView&&this.scrollToItem(t[a]),this.focusItem(t[a])},0)}handleHomeKey(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target),a=t[0],r=a.isGroup;if(a.nonInteractive&&!a.collapsible){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,1),this.focusItem(t[1]);return}if(r){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,0),this.focusHeader(t[0]);return}this.modeRadioGroup&&(t[i].selected=!1,t[0].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,0),this.focusItem(t[0])}handleEndKey(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target);this.modeRadioGroup&&(t[i].selected=!1,t[t.length-1].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,t.length-1),this.focusItem(t[t.length-1])}handleLetterKey(e){const t=e.key;e.preventDefault(),this._focusHandler.focusMatchingListItem(t)}onItemPress(e){if(this.modeSingleSelect&&!this.controlled&&(this.revertSelectedItems(this.getSelectedItems()),e.selected=!0),this.modeRadioGroup&&!this.controlled){const i=e.parentElement.getItems();this.revertSelectedItems(i),e.selected=!0}this.resetTabIndexes(),e._tabIndex="0",this.fireDecoratorEvent("selection-change",{listItems:this.getItemsFromList(),selectedItems:this.getSelectedItems(),item:e})}revertSelectedItems(e){e.forEach(t=>{t.disabled||(t.selected=!1)})}focusSelectedItem(){const e=this.items.findIndex(t=>t.selected);this.resetTabIndexes(),e!==-1&&this.modeSingleSelect&&this.setTabIndexByIndex(this.items,e)}focusHeader(e){var a,r;const t=(a=e.shadowRoot)==null?void 0:a.querySelector(".udex-list__group-header-wrap");if(!t)return;(((r=t.shadowRoot)==null?void 0:r.querySelector("[part=item]"))??t).focus()}focusItem(e){var i;(((i=e.shadowRoot)==null?void 0:i.querySelector("[part=item]"))??e).focus()}scrollToItem(e){var t;e.scrollIntoView({block:(t=this._scrollIntoView)==null?void 0:t.toLowerCase()})}unsetTabIndexByIndex(e,t){e[t]._tabIndex="-1"}setTabIndexByIndex(e,t){e[t]._tabIndex="0"}getItems(){return this.getSlottedNodes("items")}getSelectedItems(){return this.getItemsFromList().filter(e=>e.selected)}getCurrentIndex(e,t){return e.indexOf(t)}getKeyboardNavigationItems(){return this.getItemsFromList().filter(e=>{const t=e.parentElement;return!e.disabled&&(!e.isGroup||e.modeMultiSelect||e.collapsible)&&!(t!=null&&t.isGroup&&t.collapsed)})}getItemsFromList(){const e=[];return this.getItems().forEach(i=>{const a=i.isGroup?i.children:[];e.push(i,...a)}),e}prepareListItemsMode(){const e=this.modeSelected&&this._hasCollapsibleGroups;this.getItemsFromList().forEach((t,i)=>{t.mode=this.mode,t.controlled=this.controlled,t.type=this.type,t._icon=this.itemIcon,t._tabIndex=this.getTabIndex(i,t),t.isGroup?e&&!t._treeMode?(t._treeMode=!0,t.setAttribute("_list-managed-tree-mode","")):!e&&t.hasAttribute("_list-managed-tree-mode")&&(t._treeMode=!1,t.removeAttribute("_list-managed-tree-mode")):e?(t.accessibleRole="treeitem",t.setAttribute("_list-managed-role","")):t.getAttribute("_list-managed-role")!==null&&(t.accessibleRole="",t.removeAttribute("_list-managed-role"))})}getTabIndex(e,t){const i=this.modeSelected&&e===0,a=this.isGroupList&&e===1,r=t.closest("[udex-list-group-header]"),n=this.modeSingleSelect||this.modeRadioGroup,u=t.isGroup&&i&&this.modeMultiSelect&&!t.nonInteractive,c=a&&n,p=a&&this.modeMultiSelect&&(r==null?void 0:r.nonInteractive),_=t.isGroup&&t.collapsible;return u||c||p||i||_?"0":"-1"}resetTabIndexes(){this.getItemsFromList().forEach(e=>{e._tabIndex="-1"})}setCollapsedItems(e,t){t.getSlottedNodes("items").forEach(a=>{e?a.setAttribute("collapsed",""):a.removeAttribute("collapsed")})}get isGroupList(){return this.getItemsFromList().some(e=>e.isGroup)}get ariaLabelModeText(){const e=this.modeSingleSelect||this.modeRadioGroup?bE:fE;return this.accessibleName||B(wm,e)}get ariaLabelledBy(){return`${this._id}-mode-label`}get singleContentAriaLabel(){return this.accessibleName||this.headerText||void 0}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get modeMultiSelect(){return this.mode===Ye.MultiSelect}get modeSingleSelect(){return this.mode===Ye.SingleSelect}get modeSingleContent(){return this.mode===Ye.SingleContent}get modeSelected(){return[Ye.SingleSelect,Ye.MultiSelect,Ye.RadioGroup].includes(this.mode)}get holderHeight(){return this.height?this.height:"auto"}get _hasCollapsibleGroups(){return this.getItems().some(e=>e.isGroup&&e.hasAttribute("collapsible"))}get effectiveAccessibleRole(){return this._hasCollapsibleGroups?"tree":this.accessibleRole}get _hasHostAriaRole(){return["tree","listbox","list"].includes(this.getAttribute("role")||"")}get singleContentRole(){return this.accessibleRole!=="listbox"?this.accessibleRole:"list"}get _listAriaMultiSelectable(){return this.modeMultiSelect?"true":void 0}};Dr([d()],wi.prototype,"accessibleRole",void 0);Dr([d()],wi.prototype,"accessibleName",void 0);Dr([d()],wi.prototype,"mode",void 0);Dr([d()],wi.prototype,"type",void 0);Dr([d({type:String})],wi.prototype,"height",void 0);Dr([d({type:Boolean})],wi.prototype,"controlled",void 0);Dr([d({type:String})],wi.prototype,"headerText",void 0);Dr([d({type:String})],wi.prototype,"itemIcon",void 0);Dr([d({type:Boolean})],wi.prototype,"tabNavigationEnabled",void 0);Dr([D({type:HTMLElement,default:!0})],wi.prototype,"items",void 0);Dr([d()],wi.prototype,"_scrollIntoView",void 0);Dr([V("@sapudex/web-components")],wi,"i18nBundle",void 0);wi=wm=Dr([T({languageAware:!0,tag:"udex-list",renderer:A,styles:[D$,bn()],template:E$}),x("selection-change",{bubbles:!0})],wi);wi.define();const gd=wi,R$="search",P$="M15.643 14.071c.238.215.357.483.357.804 0 .321-.119.59-.357.804a1.069 1.069 0 0 1-.786.321 1.19 1.19 0 0 1-.821-.321l-4.179-4.215a6.155 6.155 0 0 1-3.571 1.107c-.857 0-1.667-.16-2.429-.482a6.215 6.215 0 0 1-2-1.339 6.462 6.462 0 0 1-1.357-2A6.08 6.08 0 0 1 0 6.286c0-.857.167-1.667.5-2.429a6.463 6.463 0 0 1 1.357-2 6.463 6.463 0 0 1 2-1.357A5.993 5.993 0 0 1 6.286 0c.857 0 1.666.167 2.428.5a6.462 6.462 0 0 1 2 1.357 6.463 6.463 0 0 1 1.357 2c.334.762.5 1.572.5 2.429a5.84 5.84 0 0 1-.303 1.893 7.776 7.776 0 0 1-.804 1.678l4.179 4.214ZM6.286 11.43A5.08 5.08 0 0 0 9.91 9.946a5.258 5.258 0 0 0 1.107-1.642c.274-.631.41-1.304.41-2.018 0-.715-.136-1.381-.41-2A5.317 5.317 0 0 0 9.91 2.66a5.315 5.315 0 0 0-1.625-1.107 4.888 4.888 0 0 0-2-.411c-.715 0-1.387.137-2.018.41A5.256 5.256 0 0 0 2.624 2.66a5.064 5.064 0 0 0-1.482 3.625c0 .714.13 1.387.393 2.018a5.015 5.015 0 0 0 1.089 1.642 5.015 5.015 0 0 0 1.643 1.09 5.21 5.21 0 0 0 2.018.393Z",L$=!0,N$=c8,M$="0 0 16 16",O$="SAP-icons-v4",F$="@ui5/webcomponents-icons";U(R$,{pathData:P$,ltr:L$,viewBox:M$,accData:N$,collection:O$,packageName:F$});const z$="search",$$="M7 1a6 6 0 0 1 4.738 9.678l3.042 3.042a.75.75 0 1 1-1.06 1.06l-3.042-3.042A6 6 0 1 1 7 1Zm0 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z",H$=!0,X$=c8,U$="0 0 16 16",j$="SAP-icons-v5",V$="@ui5/webcomponents-icons";U(z$,{pathData:$$,ltr:H$,viewBox:U$,accData:X$,collection:j$,packageName:V$});const Xp="search",G$="microphone",W$="M5 8V3c0-.875.281-1.594.844-2.156C6.406.28 7.125 0 8 0c.854 0 1.573.281 2.156.844C10.72 1.427 11 2.146 11 3v5c0 .875-.281 1.594-.844 2.156C9.594 10.72 8.875 11 8 11c-.854 0-1.563-.292-2.125-.875C5.292 9.562 5 8.855 5 8ZM2.5 6H4v2c0 .625.104 1.135.313 1.531.208.521.5.948.875 1.281a3.69 3.69 0 0 0 1.28.876A3.963 3.963 0 0 0 8 12c.563 0 1.083-.104 1.563-.313A4.015 4.015 0 0 0 12 8V6.001h1.499c.333 0 .5.167.5.5 0 .333-.167.5-.5.5H13v1c0 1.25-.37 2.307-1.11 3.172-.739.864-1.703 1.443-2.89 1.734V15h3.5c.333 0 .5.167.5.5 0 .333-.167.5-.5.5h-9c-.333 0-.5-.167-.5-.5 0-.333.167-.5.5-.5H7v-2.094a5.725 5.725 0 0 1-1.578-.672 5.401 5.401 0 0 1-1.281-1.093A4.75 4.75 0 0 1 3 8V7h-.5c-.333 0-.5-.167-.5-.5 0-.333.167-.5.5-.5ZM6 3v5c0 .542.198 1.01.594 1.406A1.92 1.92 0 0 0 8 10c.563 0 1.036-.193 1.422-.578C9.807 9.036 10 8.562 10 8V3c0-.563-.188-1.042-.563-1.438A2.014 2.014 0 0 0 8 1a1.92 1.92 0 0 0-1.406.594A1.922 1.922 0 0 0 6 3Z",q$=!1,Y$="0 0 16 16",K$="SAP-icons-v4",Z$="@ui5/webcomponents-icons";U(G$,{pathData:W$,ltr:q$,viewBox:Y$,collection:K$,packageName:Z$});const J$="microphone",Q$="M12.75 7a.75.75 0 0 1 .75.75c0 2.827-2.107 4.874-4.75 5.202v2.298a.75.75 0 0 1-1.5 0v-2.298C4.607 12.624 2.5 10.577 2.5 7.75a.75.75 0 0 1 1.5 0c0 2.157 1.737 3.75 4 3.75 2.264 0 4-1.593 4-3.75a.75.75 0 0 1 .75-.75ZM8 0a2.5 2.5 0 0 1 2.5 2.5v5a2.5 2.5 0 0 1-5 0v-5A2.5 2.5 0 0 1 8 0Zm0 1.5a1 1 0 0 0-1 1v5a1 1 0 0 0 2 0v-5a1 1 0 0 0-1-1Z",eH=!1,tH="0 0 16 16",oH="SAP-icons-v5",iH="@ui5/webcomponents-icons";U(J$,{pathData:Q$,ltr:eH,viewBox:tH,collection:oH,packageName:iH});const rH="microphone",aH=(o,e=300)=>{let t=null;const i=(...a)=>{t&&clearTimeout(t),t=setTimeout(()=>{t=null,o(...a)},e)};return i.cancel=()=>{t&&(clearTimeout(t),t=null)},i},nH=(o,e,t,i)=>new Promise((a,r)=>{let n=0;const s=()=>{n++;const u=o();u!==void 0?a(u):n<t?setTimeout(s,e):r(new Error(i))};s()}),cp=o=>o.replace(/</g,"<").replace(/>/g,">").replace(/<b>/g,"<b>").replace(/<\/b>/g,"</b>");function sH(){return g(P,{children:[g("div",{class:`udex-search__root ${this.searchClasses}`,children:[this.isShowSearchHomePrefix?dH.call(this):"",g("form",{class:`udex-search__container ${this.focusClasses} ${this.isNotEmptyClass}`,children:[this.labelAnimationDisabled?lH.call(this):uH.call(this),this.open?l("span",{"aria-live":"polite","aria-atomic":"true",id:"search-description",class:"hidden","aria-hidden":"true",children:this.suggestionsDescription}):"",g("div",{class:"udex-search__icons",children:[this.isShowHomeResetButton?l(me,{id:"reset-button",class:"udex-search__button udex-search__reset-button",size:ye.Small,design:ve.Default,tooltip:this.tooltipInfo.tooltipResetButton,"accessible-name":this.accInfo.accessibleNameResetIcon,onClick:this.onReset,onKeyDown:this.handleKeyDownReset,children:l(R,{class:"udex-search__button-icon","accessible-role":"presentation",name:Ui})}):"",this.isShowResetButton?l(Ks,{id:"reset-button",class:"udex-search__reset-button",design:Zd.Default,tooltip:this.tooltipInfo.tooltipResetButton,icon:Ui,size:ye.Large,"accessible-name":this.accInfo.accessibleNameResetIcon,onClick:this.onReset,onKeyDown:this.handleKeyDownReset}):"",this.isVoiceButton?l(me,{id:"voice-button",class:`udex-search__button udex-search__voice-button ${this.voiceActiveClass}`,design:ve.Default,size:ye.Small,icon:rH,tooltip:this.tooltipInfo.tooltipVoiceButton,onClick:this.onVoice}):"",this.showNonInteractiveButton?l(R,{class:"udex-search__icon","aria-hidden":"true","accessible-name":this.accInfo.accessibleNameSearchIcon,name:Xp}):"",this.showSubmitHomeButton?l(me,{id:"submit-button",class:`udex-search__button udex-search__submit-button ${this.searchButtonActiveClass}`,design:ve.Default,icon:Xp,size:ye.Small,"accessible-name":this.accInfo.accessibleNameSearchIcon,tooltip:this.tooltipInfo.tooltipSubmitButton,onClick:this.onSubmit}):"",this.showSubmitStandardButton?l(Ks,{id:"submit-button",class:"udex-search__submit-button",size:ye.Large,design:Zd.Default,icon:Xp,tooltip:this.tooltipInfo.tooltipSubmitButton,onClick:this.onSubmit,"accessible-name":this.accInfo.accessibleNameSearchIcon}):""]})]})]}),cH.call(this)]})}function dH(){return g("div",{class:`udex-search__prefix ${this.prefixWrapperClasses}`,children:[g("button",{type:"button",role:"combobox","aria-expanded":this._prefixDropdownExpanded,"aria-label":this.labelPrefix,"aria-haspopup":"true","aria-controls":"udex-search-prefix",class:"udex-search__prefix-button",onClick:this.handleDropdownClick,children:[l("span",{class:"udex-search__prefix-label",children:this.labelPrefix}),l(R,{class:"udex-search__prefix-icon",name:ac,mode:Fe.Decorative})]}),l(ni,{id:"udex-search-prefix",class:this.prefixPopoverClasses,"hide-arrow":!0,placement:Ro.Bottom,"horizontal-align":Fi.Start,style:this.prefixPopoverStyles,onClose:this.handleAfterClosePrefixPopover,children:l("slot",{})})]})}function k8(o=!1){return l("input",{role:"searchbox",id:"search-input",type:"search",name:"search",class:"udex-search__field",autocomplete:"off","aria-autocomplete":"list","aria-haspopup":this.getAriaHasPopup,"aria-label":this.accInfo.ariaLabel,"aria-describedby":"search-description",...o?{placeholder:this.effectivePlaceholder}:{},maxlength:this.maxlength,value:this.value,onInput:this.handleSearchChange,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onFocusOut:this.handleFocusout,onBlur:this.handleBlur,onClick:this.handleInputClick})}function lH(){return k8.call(this,!0)}function uH(){return g(P,{children:[this.label?l("label",{for:"search-input",class:this.labelClasses,children:this.label}):"",k8.call(this,!1)]})}function cH(){return l(ni,{class:`udex-search-suggestions__root ${this.homeSearchPopoverClass}`,"hide-arrow":!0,"prevent-initial-focus":!0,"prevent-focus-restore":!0,placement:Ro.Bottom,"horizontal-align":Fi.End,style:this.popoverStyles,id:this.getSuggestionsPopoverId,"aria-orientation":"vertical",onKeyDown:this.handleKeyPressSuggestionList,"accessible-name":this.suggestionsAccessibleName,children:this.showNoResultMessage?l("span",{class:"udex-search-suggestions__message",children:this.noResultMessage}):hH.call(this)})}function hH(){return g("div",{role:"tree",children:[this.isShowSuggestedList?_H.call(this):"",this.isShowRecommendedList?pH.call(this):""]})}function _H(){return g("div",{class:"udex-search-suggestions__block",role:"treeitem",children:[this.suggestedHeading?l("span",{class:"udex-search-suggestions__heading",id:"suggested-heading",children:this.suggestedHeading}):"",l("div",{class:"udex-search-suggestions__list",role:"listbox","aria-labelledby":"suggested-heading",onKeyDown:this.handleKeyDownPopover,children:this.suggestedList.map((o,e)=>l(Ft,{id:o.id,icon:o.icon,type:"Button",design:k1.Default,"accessible-name":o.suggestionDescription,class:"udex-search-suggestions__item-button",title:o.title,tabindex:-1,role:"option",onClick:o.handleSelectItem,dangerouslySetInnerHTML:{__html:o.text}},e))})]})}function pH(){return g("div",{class:"udex-search-suggestions__block",role:"treeitem",children:[this.recommendedHeading?l("span",{class:"udex-search-suggestions__heading",id:"recommended-heading",children:this.recommendedHeading}):"",l("div",{class:"udex-search-suggestions__list",role:"listbox","aria-labelledby":"recommended-heading",onKeyDown:this.handleKeyDownPopover,children:this.recommendedList.map((o,e)=>o.hasCustomIcon?w7(o,e,o.icon):w7(o,e))})]})}function w7(o,e,t=void 0){return l(Ft,{id:o.id,...t?{icon:t}:{},type:"Button",design:k1.Default,class:"udex-search-suggestions__item-button","accessible-name":o.suggestionDescription,title:o.title,tabindex:-1,role:"option",onClick:o.handleSelectItem,dangerouslySetInnerHTML:{__html:o.text}},e)}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const gH=`:host{--udex-input-color-border: var(--sapField_BorderColor, var(--udexColorGrey6));--udex-input-color-label: var(--sapField_PlaceholderTextColor, var(--udexColorGrey7));--udex-input-font-family-label: var(--sapFontFamily, sans-serif);--udex-input-font-size-label: var(--sapFontLargeSize, var(--udexTypographyBodySFontSize));--udex-input-font-weight-label: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label: var(--udexTypographyBodyLineHeight, 24px);--udex-input-background-color: var(--sapList_Hover_Background, var(--udexColorGrey1));--udex-input-font-family-label-active: var(--sapFontFamily, sans-serif);--udex-input-font-size-label-active: var(--sapFontSmallSize, var(--udexTypographyBodyXXSFontSize));--udex-input-font-weight-label-active: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label-active: var(--udexTypographyBodyLineHeight, 1.5);--udex-input-color-typed-text: var(--sapField_TextColor, var(--udexColorGrey9));--udex-input-color-background-light: var(--sapField_Background, var(--udexColorNeutralWhite));--udex-input-color-hover-border: var(--sapField_Hover_BorderColor, var(--udexColorBlue6));--udex-input-color-active-border: var(--sapField_Active_BorderColor, var(--udexColorBlue9));--udex-input-radius: var(--sapField_BorderCornerRadius, var(--udexRadiusXS));--udex-input-padding-horizontal: var(--udexSpacer12, 12px);--udex-input-padding-vertical: 8px;--udex-home-input-padding-left: var(--udexSpacer12, 12px);--udex-home-input-padding-right: var(--udexSpacer8, 8px);--udex-home-input-padding-vertical: 8px;--udex-button-size: var(--sapFontHeader2Size, 28px);--udex-button-color: var(--sapAccentColor10, var(--udexColorGrey7));--udex-button-non-interactive-icon-color: var(--sapContent_NonInteractiveIconColor, var(--udexColorGrey7));--udex-button-non-interactive-icon-size: var(--sapFontHeader5Size, 18px);--udex-dropdown-border-width: auto;--udex-search-container-padding-inline-end: var(--udexSpacer12, 12px);--udex-search-home-container-padding-inline-end: var(--udexSpacer8, 8px);--udex-search-label-inset-inline-start: var(--udexSpacer12, 12px);--udex-search-icons-column-gap: 0;--udex-search-home-icons-column-gap: var(--udexSpacer4, 4px);--udex-search-active-outline-color: var(--udexColorBlue10);--udex-search-label-width: calc( 100% - var(--udex-search-label-inset-inline-start) - var(--udex-input-padding-horizontal) - var(--udex-search-container-padding-inline-end) );--udex-search-prefix-max-width: 140px;display:block;width:100%;position:relative}:host([mode="Standard"]) .udex-search__label.udex-search__label--active{display:none}:host(:not([mode="Home Search"])) .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled,:host(:not([mode="Home Search"])) .udex-search-prefix .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled{display:block;top:var(--udexSpacer8);transform:translateY(-110%);padding:0 var(--udexSpacer4);font-family:var(--udex-input-font-family-label-active);font-size:var(--udex-input-font-size-label-active);font-weight:var(--udex-input-font-weight-label-active);line-height:var(--udex-input-line-height-label-active);background:var(--udex-input-color-background-light)}:host([mode="Home Search"]) .udex-search__root,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{--udex-input-radius: var(--udexRadiusXXL, 24px);position:relative;z-index:var(--udexZIndex1, 1)}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{display:flex;width:100%;position:relative;z-index:var(--udexZIndex1, 1)}:host([mode="Home Search"]) .udex-search-prefix .udex-search__prefix+.udex-search__container{border-start-start-radius:0;border-start-end-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:0;border-end-end-radius:var(--udexRadiusXXL, 24px);flex-grow:1}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{content:"";position:absolute;z-index:var(--udexZIndexNegative, -1);height:23px;inset-inline:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 53, 72, .3));overflow-y:hidden;bottom:-2px}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after,.udex-search__prefix--show-popover-top:after{transform:translateY(-23px)}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__container:not(:hover):not(.udex-search__container--focus),:host([mode="Home Search"]) .udex-search__container:not(:hover):not(.udex-search__container--focus) .udex-search__field{background-color:var(--udex-input-background-color)}:host([mode="Home Search"]) .udex-search__label.udex-search__label--active,:host([mode="Home Search"]) .udex-search-prefix .udex-search__label.udex-search__label--active{display:none}.udex-search__container{padding-inline-end:var(--udex-search-container-padding-inline-end);display:flex;align-items:center;position:relative;z-index:var(--udexZIndex1, 1);border:1px solid var(--udex-input-color-border);border-radius:var(--udex-input-radius);background-color:field}.udex-search-mode-home-search .udex-search__container{padding-inline-end:var(--udex-search-home-container-padding-inline-end)}.udex-search__container:not(.udex-search__container--focus):hover{border-color:var(--udex-input-color-hover-border)}.udex-search__container--focus{border-color:var(--udex-input-color-active-border)}:host(:not([_is-touched])[active]) .udex-search__root:before{content:"";position:absolute;inset:-5px;border:2px solid var(--udex-search-active-outline-color);border-radius:var(--udex-input-radius)}:host([mode="Home Search"]:not([_is-touched])[active]) .udex-search__root:before{z-index:var(--udexZIndexNegative, -1)}.udex-search__field{display:block;width:100%;color:var(--udex-input-color-typed-text);font-size:16px;font-family:var(--sapFontFamily);line-height:24px;padding:var(--udex-input-padding-vertical) var(--udex-input-padding-horizontal);box-sizing:border-box;border:0;border-radius:var(--udex-input-radius);font-weight:var(--udexTypographyFontWeightRegular, 400);background:var(--udex-input-color-background-light)}.udex-search-mode-home-search .udex-search__field{padding:var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-right) var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-left)}.udex-search__field::placeholder{color:var(--udexColorGrey7);font-family:var(--sapFontFamily, sans-serif);font-size:16px}.udex-search__field:focus{outline:none}input[type=search]::-ms-clear{display:none;width:0;height:0}input[type=search]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.udex-search__label{position:absolute;inset-inline-start:var(--udex-search-label-inset-inline-start);z-index:2;color:var(--udex-input-color-label);font-family:var(--udex-input-font-family-label);font-size:var(--udex-input-font-size-label);font-weight:var(--udex-input-font-weight-label);line-height:var(--udex-input-line-height-label);transition:transform .15s ease-out,font-size .15s ease-out;overflow:hidden;white-space:nowrap;max-width:var(--udex-search-label-width)}.udex-search__label-with-search-icon,.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size))}.udex-search__label-with-search-icon.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size) * 2 - var(--udex-search-icons-column-gap))}.udex-search__icons{display:flex;align-items:center;column-gap:var(--udex-search-icons-column-gap)}.udex-search-mode-home-search .udex-search__icons{column-gap:var(--udex-search-home-icons-column-gap)}.udex-search__icon{margin-inline:5px;background-color:transparent;border:none;color:var(--udex-button-non-interactive-icon-color);min-width:var(--udex-button-non-interactive-icon-size);height:var(--udex-button-non-interactive-icon-size);border-radius:50%;position:relative;z-index:var(--udexZIndex1, 1);overflow:visible}.udex-search__button{background-color:transparent;border:none;color:var(--udex-button-color);min-width:var(--udex-button-size);height:var(--udex-button-size);border-radius:50%;position:relative;z-index:var(--udexZIndex1, 1);overflow:visible}[udex-control-button]{--udex-control-button-large-height: 40px;--udex-control-button-large-width: 40px}:host([mode="Home Search"]) [udex-button]{--_ui5_button_pressed_focused_border_color: transparent}[udex-control-button].udex-search__reset-button{--sapButton_BorderWidth: 0px 1px 0 1px}[udex-control-button].udex-search__submit-button{margin:0px calc((var(--udex-search-container-padding-inline-end)) * -1) 0px 0;--sapButton_BorderWidth: 0 0 0 1px}[udex-button].udex-search__button::part(button):focus-visible:before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;width:28px;height:28px;border:2px solid var(--udexColorBlue9, #0040B0);border-radius:50%;box-sizing:border-box}[udex-button].udex-search__button::part(button){padding:0;width:28px;height:28px;line-height:0}[ui5-icon].udex-search__button-icon{color:inherit;width:18px;height:18px}[udex-button].udex-search__button::part(icon){width:18px;height:18px}[udex-button].udex-search__button::part(button):after{display:none}[udex-button].udex-search__button:hover{background-color:#0000001a;border:none;box-shadow:none}[udex-button][active].udex-search__button{background:var(--udexColorBlue8, #0057D2);color:var(--udexColorNeutralWhite, #FFFFFF)}[udex-button].udex-search__button:focus{outline:none}.udex-search__prefix{position:relative;z-index:var(--udexZIndex1, 1)}.udex-search__prefix--show-popover:after,.udex-search__prefix--show-popover-top:after{content:"";position:absolute;z-index:var(--udexZIndexNegative, -1);height:50%;width:50px;inset-inline-start:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 53, 72, .3));overflow-y:hidden}.udex-search__prefix-button{padding-inline:var(--udexSpacer12) var(--udexSpacer8);display:flex;align-items:center;max-width:var(--udex-search-prefix-max-width);height:100%;border:1px solid var(--udex-input-color-border);border-inline-end:0;border-start-start-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:var(--udexRadiusXXL, 24px);background-color:var(--sapShell_Navigation_Active_Background, var(--udexColorGrey1));color:var(--sapContent_LabelColor, var(--udexColorGrey7));font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodySFontSize, 16px);font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:var(--udexTypographyBodyLineHeight, 1.5);text-align:start;white-space:nowrap}.udex-search__prefix-button:focus,.udex-search__prefix-button:focus-visible,.udex-search__prefix-button:hover{cursor:pointer;background-color:var(--udexColorNeutralWhite);color:var(--udexColorBlue8)}.udex-search__prefix-button:focus,.udex-search__prefix-button:focus-visible{outline:2px solid var(--udexColorBlue10, #002A86);outline-offset:-2px}.udex-search__prefix-button--active{background-color:var(--udexColorNeutralWhite);color:var(--udexColorBlue10)}.udex-search__prefix-label{margin-inline-end:var(--udexSpacer4, 4px);max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}.udex-search__prefix-icon{width:16px;height:16px;color:inherit;flex-shrink:1}.udex-search__prefix-popover{border-start-start-radius:0;border-start-end-radius:0;border:1px solid var(--udexColorGrey6);border-block-start:0;box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34,54,73,.3));background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover-top{border-end-start-radius:0;border-end-end-radius:0;border:1px solid var(--udexColorGrey6);border-block-end:0;box-shadow:none;background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover::part(content),.udex-search__prefix-popover-top::part(content){padding:0}[udex-dropdown]{--udex-dropdown-pane-max-width: 100%}.hidden{position:absolute;width:0px;height:0px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0;padding:0}
|
|
540
|
+
`;var Dr=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},wm;let wi=wm=class extends z{constructor(){super(...arguments),this.accessibleRole="listbox",this.accessibleName="",this.mode=Ye.SingleSelect,this.type=Fs.None,this.itemIcon="",this._focusHandler=new S8}onBeforeRendering(){if(this._hasHostAriaRole){const e=this.modeSelected?this.ariaLabelModeText:this.singleContentAriaLabel;e?this.setAttribute("aria-label",e):this.removeAttribute("aria-label")}this.prepareListItemsMode(),this._focusHandler.resetMatchingItems(),this._focusHandler._focusableListItems=this.getKeyboardNavigationItems()}handleItemPress(e){const t=e.detail.item;this.onItemPress(t)}handleKeyDown(e){Se(e)&&this.handleArrowRight(e),we(e)&&this.handleArrowLeft(e),Ne(e)&&this.handleUpArrow(e),Be(e)&&this.handleDownArrow(e),lt(e)&&this.handleHomeKey(e),Ot(e)&&this.handleEndKey(e),i2(e.key)&&this.handleLetterKey(e)}handleArrowRight(e){const t=e.target;t.isGroup&&t.hasAttribute("collapsible")&&t.collapsed&&(e.preventDefault(),t.collapsed=!1,this.setCollapsedItems(!1,t),this.fireAccordionToggle(t))}handleArrowLeft(e){const t=e.target;t.isGroup&&t.hasAttribute("collapsible")&&!t.collapsed&&(e.preventDefault(),t.collapsed=!0,this.setCollapsedItems(!0,t),this.fireAccordionToggle(t))}fireAccordionToggle(e){e.fireDecoratorEvent("accordion-icon-click",{collapsed:e.collapsed})}handleUpArrow(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target),a=t.length-1,r=i-1<0?a:i-1,n=t[r].isGroup,s=t[r].nonInteractive&&!t[r].collapsible;if(s&&r===0){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a),this._scrollIntoView&&this.scrollToItem(t[a]),this.focusItem(t[a]);return}if(s){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,r-1),this._scrollIntoView&&this.scrollToItem(t[r-1]),this.focusItem(t[r-1]);return}if(n){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,r),this._scrollIntoView&&this.scrollToItem(t[r]),this.focusHeader(t[r]);return}this.modeRadioGroup&&(t[i].selected=!1,t[r].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,r),setTimeout(()=>{this._scrollIntoView&&this.scrollToItem(t[r]),this.focusItem(t[r])},0)}handleDownArrow(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target),a=i+1>t.length-1?0:i+1,r=t[a].isGroup;if(t[a].nonInteractive&&!t[a].collapsible){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a+1),this._scrollIntoView&&this.scrollToItem(t[a+1]),this.focusItem(t[a+1]);return}if(r){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a),this._scrollIntoView&&this.scrollToItem(t[a]),this.focusHeader(t[a]);return}this.modeRadioGroup&&(t[i].selected=!1,t[a].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,a),setTimeout(()=>{this._scrollIntoView&&this.scrollToItem(t[a]),this.focusItem(t[a])},0)}handleHomeKey(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target),a=t[0],r=a.isGroup;if(a.nonInteractive&&!a.collapsible){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,1),this.focusItem(t[1]);return}if(r){this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,0),this.focusHeader(t[0]);return}this.modeRadioGroup&&(t[i].selected=!1,t[0].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,0),this.focusItem(t[0])}handleEndKey(e){e.preventDefault();const t=this.getKeyboardNavigationItems(),i=this.getCurrentIndex(t,e.target);this.modeRadioGroup&&(t[i].selected=!1,t[t.length-1].selected=!0),this.unsetTabIndexByIndex(t,i),this.setTabIndexByIndex(t,t.length-1),this.focusItem(t[t.length-1])}handleLetterKey(e){const t=e.key;e.preventDefault(),this._focusHandler.focusMatchingListItem(t)}onItemPress(e){if(this.modeSingleSelect&&!this.controlled&&(this.revertSelectedItems(this.getSelectedItems()),e.selected=!0),this.modeRadioGroup&&!this.controlled){const i=e.parentElement.getItems();this.revertSelectedItems(i),e.selected=!0}this.resetTabIndexes(),e._tabIndex="0",this.fireDecoratorEvent("selection-change",{listItems:this.getItemsFromList(),selectedItems:this.getSelectedItems(),item:e})}revertSelectedItems(e){e.forEach(t=>{t.disabled||(t.selected=!1)})}focusSelectedItem(){const e=this.items.findIndex(t=>t.selected);this.resetTabIndexes(),e!==-1&&this.modeSingleSelect&&this.setTabIndexByIndex(this.items,e)}focusHeader(e){var a,r;const t=(a=e.shadowRoot)==null?void 0:a.querySelector(".udex-list__group-header-wrap");if(!t)return;(((r=t.shadowRoot)==null?void 0:r.querySelector("[part=item]"))??t).focus()}focusItem(e){var i;(((i=e.shadowRoot)==null?void 0:i.querySelector("[part=item]"))??e).focus()}scrollToItem(e){var t;e.scrollIntoView({block:(t=this._scrollIntoView)==null?void 0:t.toLowerCase()})}unsetTabIndexByIndex(e,t){e[t]._tabIndex="-1"}setTabIndexByIndex(e,t){e[t]._tabIndex="0"}getItems(){return this.getSlottedNodes("items")}getSelectedItems(){return this.getItemsFromList().filter(e=>e.selected)}getCurrentIndex(e,t){return e.indexOf(t)}getKeyboardNavigationItems(){return this.getItemsFromList().filter(e=>{const t=e.parentElement;return!e.disabled&&(!e.isGroup||e.modeMultiSelect||e.collapsible)&&!(t!=null&&t.isGroup&&t.collapsed)})}getItemsFromList(){const e=[];return this.getItems().forEach(i=>{const a=i.isGroup?i.children:[];e.push(i,...a)}),e}prepareListItemsMode(){const e=this.modeSelected&&this._hasCollapsibleGroups;this.getItemsFromList().forEach((t,i)=>{t.mode=this.mode,t.controlled=this.controlled,t.type=this.type,t._icon=this.itemIcon,t._tabIndex=this.getTabIndex(i,t),t.isGroup?e&&!t._treeMode?(t._treeMode=!0,t.setAttribute("_list-managed-tree-mode","")):!e&&t.hasAttribute("_list-managed-tree-mode")&&(t._treeMode=!1,t.removeAttribute("_list-managed-tree-mode")):e?(t.accessibleRole="treeitem",t.setAttribute("_list-managed-role","")):t.getAttribute("_list-managed-role")!==null&&(t.accessibleRole="",t.removeAttribute("_list-managed-role"))})}getTabIndex(e,t){const i=this.modeSelected&&e===0,a=this.isGroupList&&e===1,r=t.closest("[udex-list-group-header]"),n=this.modeSingleSelect||this.modeRadioGroup,u=t.isGroup&&i&&this.modeMultiSelect&&!t.nonInteractive,c=a&&n,p=a&&this.modeMultiSelect&&(r==null?void 0:r.nonInteractive),_=t.isGroup&&t.collapsible;return u||c||p||i||_?"0":"-1"}resetTabIndexes(){this.getItemsFromList().forEach(e=>{e._tabIndex="-1"})}setCollapsedItems(e,t){t.getSlottedNodes("items").forEach(a=>{e?a.setAttribute("collapsed",""):a.removeAttribute("collapsed")})}get isGroupList(){return this.getItemsFromList().some(e=>e.isGroup)}get ariaLabelModeText(){const e=this.modeSingleSelect||this.modeRadioGroup?bE:fE;return this.accessibleName||B(wm,e)}get ariaLabelledBy(){return`${this._id}-mode-label`}get singleContentAriaLabel(){return this.accessibleName||this.headerText||void 0}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get modeMultiSelect(){return this.mode===Ye.MultiSelect}get modeSingleSelect(){return this.mode===Ye.SingleSelect}get modeSingleContent(){return this.mode===Ye.SingleContent}get modeSelected(){return[Ye.SingleSelect,Ye.MultiSelect,Ye.RadioGroup].includes(this.mode)}get holderHeight(){return this.height?this.height:"auto"}get _hasCollapsibleGroups(){return this.getItems().some(e=>e.isGroup&&e.hasAttribute("collapsible"))}get effectiveAccessibleRole(){return this._hasCollapsibleGroups?"tree":this.accessibleRole}get _hasHostAriaRole(){return["tree","listbox","list"].includes(this.getAttribute("role")||"")}get singleContentRole(){return this.accessibleRole!=="listbox"?this.accessibleRole:"list"}get _listAriaMultiSelectable(){return this.modeMultiSelect?"true":void 0}};Dr([d()],wi.prototype,"accessibleRole",void 0);Dr([d()],wi.prototype,"accessibleName",void 0);Dr([d()],wi.prototype,"mode",void 0);Dr([d()],wi.prototype,"type",void 0);Dr([d({type:String})],wi.prototype,"height",void 0);Dr([d({type:Boolean})],wi.prototype,"controlled",void 0);Dr([d({type:String})],wi.prototype,"headerText",void 0);Dr([d({type:String})],wi.prototype,"itemIcon",void 0);Dr([d({type:Boolean})],wi.prototype,"tabNavigationEnabled",void 0);Dr([D({type:HTMLElement,default:!0})],wi.prototype,"items",void 0);Dr([d()],wi.prototype,"_scrollIntoView",void 0);Dr([V("@sapudex/web-components")],wi,"i18nBundle",void 0);wi=wm=Dr([T({languageAware:!0,tag:"udex-list",renderer:A,styles:[D$,bn()],template:E$}),x("selection-change",{bubbles:!0})],wi);wi.define();const gd=wi,R$="search",P$="M15.643 14.071c.238.215.357.483.357.804 0 .321-.119.59-.357.804a1.069 1.069 0 0 1-.786.321 1.19 1.19 0 0 1-.821-.321l-4.179-4.215a6.155 6.155 0 0 1-3.571 1.107c-.857 0-1.667-.16-2.429-.482a6.215 6.215 0 0 1-2-1.339 6.462 6.462 0 0 1-1.357-2A6.08 6.08 0 0 1 0 6.286c0-.857.167-1.667.5-2.429a6.463 6.463 0 0 1 1.357-2 6.463 6.463 0 0 1 2-1.357A5.993 5.993 0 0 1 6.286 0c.857 0 1.666.167 2.428.5a6.462 6.462 0 0 1 2 1.357 6.463 6.463 0 0 1 1.357 2c.334.762.5 1.572.5 2.429a5.84 5.84 0 0 1-.303 1.893 7.776 7.776 0 0 1-.804 1.678l4.179 4.214ZM6.286 11.43A5.08 5.08 0 0 0 9.91 9.946a5.258 5.258 0 0 0 1.107-1.642c.274-.631.41-1.304.41-2.018 0-.715-.136-1.381-.41-2A5.317 5.317 0 0 0 9.91 2.66a5.315 5.315 0 0 0-1.625-1.107 4.888 4.888 0 0 0-2-.411c-.715 0-1.387.137-2.018.41A5.256 5.256 0 0 0 2.624 2.66a5.064 5.064 0 0 0-1.482 3.625c0 .714.13 1.387.393 2.018a5.015 5.015 0 0 0 1.089 1.642 5.015 5.015 0 0 0 1.643 1.09 5.21 5.21 0 0 0 2.018.393Z",L$=!0,N$=c8,M$="0 0 16 16",O$="SAP-icons-v4",F$="@ui5/webcomponents-icons";U(R$,{pathData:P$,ltr:L$,viewBox:M$,accData:N$,collection:O$,packageName:F$});const z$="search",$$="M7 1a6 6 0 0 1 4.738 9.678l3.042 3.042a.75.75 0 1 1-1.06 1.06l-3.042-3.042A6 6 0 1 1 7 1Zm0 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z",H$=!0,X$=c8,U$="0 0 16 16",j$="SAP-icons-v5",V$="@ui5/webcomponents-icons";U(z$,{pathData:$$,ltr:H$,viewBox:U$,accData:X$,collection:j$,packageName:V$});const Xp="search",G$="microphone",W$="M5 8V3c0-.875.281-1.594.844-2.156C6.406.28 7.125 0 8 0c.854 0 1.573.281 2.156.844C10.72 1.427 11 2.146 11 3v5c0 .875-.281 1.594-.844 2.156C9.594 10.72 8.875 11 8 11c-.854 0-1.563-.292-2.125-.875C5.292 9.562 5 8.855 5 8ZM2.5 6H4v2c0 .625.104 1.135.313 1.531.208.521.5.948.875 1.281a3.69 3.69 0 0 0 1.28.876A3.963 3.963 0 0 0 8 12c.563 0 1.083-.104 1.563-.313A4.015 4.015 0 0 0 12 8V6.001h1.499c.333 0 .5.167.5.5 0 .333-.167.5-.5.5H13v1c0 1.25-.37 2.307-1.11 3.172-.739.864-1.703 1.443-2.89 1.734V15h3.5c.333 0 .5.167.5.5 0 .333-.167.5-.5.5h-9c-.333 0-.5-.167-.5-.5 0-.333.167-.5.5-.5H7v-2.094a5.725 5.725 0 0 1-1.578-.672 5.401 5.401 0 0 1-1.281-1.093A4.75 4.75 0 0 1 3 8V7h-.5c-.333 0-.5-.167-.5-.5 0-.333.167-.5.5-.5ZM6 3v5c0 .542.198 1.01.594 1.406A1.92 1.92 0 0 0 8 10c.563 0 1.036-.193 1.422-.578C9.807 9.036 10 8.562 10 8V3c0-.563-.188-1.042-.563-1.438A2.014 2.014 0 0 0 8 1a1.92 1.92 0 0 0-1.406.594A1.922 1.922 0 0 0 6 3Z",q$=!1,Y$="0 0 16 16",K$="SAP-icons-v4",Z$="@ui5/webcomponents-icons";U(G$,{pathData:W$,ltr:q$,viewBox:Y$,collection:K$,packageName:Z$});const J$="microphone",Q$="M12.75 7a.75.75 0 0 1 .75.75c0 2.827-2.107 4.874-4.75 5.202v2.298a.75.75 0 0 1-1.5 0v-2.298C4.607 12.624 2.5 10.577 2.5 7.75a.75.75 0 0 1 1.5 0c0 2.157 1.737 3.75 4 3.75 2.264 0 4-1.593 4-3.75a.75.75 0 0 1 .75-.75ZM8 0a2.5 2.5 0 0 1 2.5 2.5v5a2.5 2.5 0 0 1-5 0v-5A2.5 2.5 0 0 1 8 0Zm0 1.5a1 1 0 0 0-1 1v5a1 1 0 0 0 2 0v-5a1 1 0 0 0-1-1Z",eH=!1,tH="0 0 16 16",oH="SAP-icons-v5",iH="@ui5/webcomponents-icons";U(J$,{pathData:Q$,ltr:eH,viewBox:tH,collection:oH,packageName:iH});const rH="microphone",aH=(o,e=300)=>{let t=null;const i=(...a)=>{t&&clearTimeout(t),t=setTimeout(()=>{t=null,o(...a)},e)};return i.cancel=()=>{t&&(clearTimeout(t),t=null)},i},nH=(o,e,t,i)=>new Promise((a,r)=>{let n=0;const s=()=>{n++;const u=o();u!==void 0?a(u):n<t?setTimeout(s,e):r(new Error(i))};s()}),cp=o=>o.replace(/</g,"<").replace(/>/g,">").replace(/<b>/g,"<b>").replace(/<\/b>/g,"</b>");function sH(){return g(P,{children:[g("div",{class:`udex-search__root ${this.searchClasses}`,children:[this.isShowSearchHomePrefix?dH.call(this):"",g("form",{class:`udex-search__container ${this.focusClasses} ${this.isNotEmptyClass}`,children:[this.labelAnimationDisabled?lH.call(this):uH.call(this),this.open?l("span",{"aria-live":"polite","aria-atomic":"true",id:"search-description",class:"hidden","aria-hidden":"true",children:this.suggestionsDescription}):"",g("div",{class:"udex-search__icons",children:[this.isShowHomeResetButton?l(me,{id:"reset-button",class:"udex-search__button udex-search__reset-button",size:ye.Small,design:ve.Default,tooltip:this.tooltipInfo.tooltipResetButton,"accessible-name":this.accInfo.accessibleNameResetIcon,onClick:this.onReset,onKeyDown:this.handleKeyDownReset,children:l(R,{class:"udex-search__button-icon","accessible-role":"presentation",name:Ui})}):"",this.isShowResetButton?l(Ks,{id:"reset-button",class:"udex-search__reset-button",design:Zd.Default,tooltip:this.tooltipInfo.tooltipResetButton,icon:Ui,size:ye.Large,"accessible-name":this.accInfo.accessibleNameResetIcon,onClick:this.onReset,onKeyDown:this.handleKeyDownReset}):"",this.isVoiceButton?l(me,{id:"voice-button",class:`udex-search__button udex-search__voice-button ${this.voiceActiveClass}`,design:ve.Default,size:ye.Small,icon:rH,tooltip:this.tooltipInfo.tooltipVoiceButton,onClick:this.onVoice}):"",this.showNonInteractiveButton?l(R,{class:"udex-search__icon","aria-hidden":"true","accessible-name":this.accInfo.accessibleNameSearchIcon,name:Xp}):"",this.showSubmitHomeButton?l(me,{id:"submit-button",class:`udex-search__button udex-search__submit-button ${this.searchButtonActiveClass}`,design:ve.Default,icon:Xp,size:ye.Small,"accessible-name":this.accInfo.accessibleNameSearchIcon,tooltip:this.tooltipInfo.tooltipSubmitButton,onClick:this.onSubmit}):"",this.showSubmitStandardButton?l(Ks,{id:"submit-button",class:"udex-search__submit-button",size:ye.Large,design:Zd.Default,icon:Xp,tooltip:this.tooltipInfo.tooltipSubmitButton,onClick:this.onSubmit,"accessible-name":this.accInfo.accessibleNameSearchIcon}):""]})]})]}),cH.call(this)]})}function dH(){return g("div",{class:`udex-search__prefix ${this.prefixWrapperClasses}`,children:[g("button",{type:"button",role:"combobox","aria-expanded":this._prefixDropdownExpanded,"aria-label":this.labelPrefix,"aria-haspopup":"true","aria-controls":"udex-search-prefix",class:"udex-search__prefix-button",onClick:this.handleDropdownClick,children:[l("span",{class:"udex-search__prefix-label",children:this.labelPrefix}),l(R,{class:"udex-search__prefix-icon",name:ac,mode:Fe.Decorative})]}),l(ni,{id:"udex-search-prefix",class:this.prefixPopoverClasses,"hide-arrow":!0,placement:Ro.Bottom,"horizontal-align":Fi.Start,style:this.prefixPopoverStyles,onClose:this.handleAfterClosePrefixPopover,children:l("slot",{})})]})}function k8(o=!1){return l("input",{role:"searchbox",id:"search-input",type:"search",name:"search",class:"udex-search__field",autocomplete:"off","aria-autocomplete":"list","aria-haspopup":this.getAriaHasPopup,"aria-label":this.accInfo.ariaLabel,"aria-describedby":"search-description",...o?{placeholder:this.effectivePlaceholder}:{},maxlength:this.maxlength,value:this.value,onInput:this.handleSearchChange,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onFocusOut:this.handleFocusout,onBlur:this.handleBlur,onClick:this.handleInputClick})}function lH(){return k8.call(this,!0)}function uH(){return g(P,{children:[this.label?l("label",{for:"search-input",class:this.labelClasses,children:this.label}):"",k8.call(this,!1)]})}function cH(){return l(ni,{class:`udex-search-suggestions__root ${this.homeSearchPopoverClass}`,"hide-arrow":!0,"prevent-initial-focus":!0,"prevent-focus-restore":!0,placement:Ro.Bottom,"horizontal-align":Fi.End,style:this.popoverStyles,id:this.getSuggestionsPopoverId,"aria-orientation":"vertical",onKeyDown:this.handleKeyPressSuggestionList,"accessible-name":this.suggestionsAccessibleName,children:this.showNoResultMessage?l("span",{class:"udex-search-suggestions__message",children:this.noResultMessage}):hH.call(this)})}function hH(){return g("div",{role:"tree",children:[this.isShowSuggestedList?_H.call(this):"",this.isShowRecommendedList?pH.call(this):""]})}function _H(){return g("div",{class:"udex-search-suggestions__block",role:"treeitem",children:[this.suggestedHeading?l("span",{class:"udex-search-suggestions__heading",id:"suggested-heading",children:this.suggestedHeading}):"",l("div",{class:"udex-search-suggestions__list",role:"listbox","aria-labelledby":"suggested-heading",onKeyDown:this.handleKeyDownPopover,children:this.suggestedList.map((o,e)=>l(Ft,{id:o.id,icon:o.icon,type:"Button",design:k1.Default,"accessible-name":o.suggestionDescription,class:"udex-search-suggestions__item-button",title:o.title,tabindex:-1,role:"option",onClick:o.handleSelectItem,dangerouslySetInnerHTML:{__html:o.text}},e))})]})}function pH(){return g("div",{class:"udex-search-suggestions__block",role:"treeitem",children:[this.recommendedHeading?l("span",{class:"udex-search-suggestions__heading",id:"recommended-heading",children:this.recommendedHeading}):"",l("div",{class:"udex-search-suggestions__list",role:"listbox","aria-labelledby":"recommended-heading",onKeyDown:this.handleKeyDownPopover,children:this.recommendedList.map((o,e)=>o.hasCustomIcon?w7(o,e,o.icon):w7(o,e))})]})}function w7(o,e,t=void 0){return l(Ft,{id:o.id,...t?{icon:t}:{},type:"Button",design:k1.Default,class:"udex-search-suggestions__item-button","accessible-name":o.suggestionDescription,title:o.title,tabindex:-1,role:"option",onClick:o.handleSelectItem,dangerouslySetInnerHTML:{__html:o.text}},e)}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const gH=`:host{--udex-input-color-border: var(--sapField_BorderColor, var(--udexColorGrey6));--udex-input-color-label: var(--sapField_PlaceholderTextColor, var(--udexColorGrey7));--udex-input-font-family-label: var(--sapFontFamily, sans-serif);--udex-input-font-size-label: var(--sapFontLargeSize, var(--udexTypographyBodySFontSize));--udex-input-font-weight-label: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label: var(--udexTypographyBodyLineHeight, 24px);--udex-input-background-color: var(--sapList_Hover_Background, var(--udexColorGrey1));--udex-input-font-family-label-active: var(--sapFontFamily, sans-serif);--udex-input-font-size-label-active: var(--sapFontSmallSize, var(--udexTypographyBodyXXSFontSize));--udex-input-font-weight-label-active: var(--udexTypographyFontWeightRegular, 400);--udex-input-line-height-label-active: var(--udexTypographyBodyLineHeight, 1.5);--udex-input-color-typed-text: var(--sapField_TextColor, var(--udexColorGrey9));--udex-input-color-background-light: var(--sapField_Background, var(--udexColorNeutralWhite));--udex-input-color-hover-border: var(--sapField_Hover_BorderColor, var(--udexColorBlue6));--udex-input-color-active-border: var(--sapField_Active_BorderColor, var(--udexColorBlue9));--udex-input-radius: var(--sapField_BorderCornerRadius, var(--udexRadiusXS));--udex-input-padding-horizontal: var(--udexSpacer12, 12px);--udex-input-padding-vertical: 8px;--udex-home-input-padding-left: var(--udexSpacer12, 12px);--udex-home-input-padding-right: var(--udexSpacer8, 8px);--udex-home-input-padding-vertical: 8px;--udex-button-size: var(--sapFontHeader2Size, 28px);--udex-button-color: var(--sapAccentColor10, var(--udexColorGrey7));--udex-button-non-interactive-icon-color: var(--sapContent_NonInteractiveIconColor, var(--udexColorGrey7));--udex-button-non-interactive-icon-size: var(--sapFontHeader5Size, 18px);--udex-dropdown-border-width: auto;--udex-search-container-padding-inline-end: var(--udexSpacer12, 12px);--udex-search-home-container-padding-inline-end: var(--udexSpacer8, 8px);--udex-search-label-inset-inline-start: var(--udexSpacer12, 12px);--udex-search-icons-column-gap: 0;--udex-search-home-icons-column-gap: var(--udexSpacer4, 4px);--udex-search-active-outline-color: var(--udexColorBlue10);--udex-search-label-width: calc( 100% - var(--udex-search-label-inset-inline-start) - var(--udex-input-padding-horizontal) - var(--udex-search-container-padding-inline-end) );--udex-search-prefix-max-width: 140px;display:block;width:100%;position:relative}:host([mode="Standard"]) .udex-search__label.udex-search__label--active{display:none}:host(:not([mode="Home Search"])) .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled,:host(:not([mode="Home Search"])) .udex-search-prefix .udex-search__label.udex-search__label--active.udex-search__label--animation-enabled{display:block;top:var(--udexSpacer8);transform:translateY(-110%);padding:0 var(--udexSpacer4);font-family:var(--udex-input-font-family-label-active);font-size:var(--udex-input-font-size-label-active);font-weight:var(--udex-input-font-weight-label-active);line-height:var(--udex-input-line-height-label-active);background:var(--udex-input-color-background-light)}:host([mode="Home Search"]) .udex-search__root,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{--udex-input-radius: var(--udexRadiusXXL, 24px);position:relative;z-index:var(--udexZIndex1, 1)}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix{display:flex;width:100%;position:relative;z-index:var(--udexZIndex1, 1)}:host([mode="Home Search"]) .udex-search-prefix .udex-search__prefix+.udex-search__container{border-start-start-radius:0;border-start-end-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:0;border-end-end-radius:var(--udexRadiusXXL, 24px);flex-grow:1}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after,:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{content:"";position:absolute;z-index:var(--udexZIndexNegative, -1);height:23px;inset-inline:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 53, 72, .3));overflow-y:hidden;bottom:-2px}:host([mode="Home Search"]) .udex-search__root.udex-search__root--show-popover-top:after,:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after,.udex-search__prefix--show-popover-top:after{transform:translateY(-23px)}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__root.udex-search-prefix.udex-search__root--show-popover-top:after{inset-inline-start:auto;width:50px}:host([mode="Home Search"]) .udex-search__container:not(:hover):not(.udex-search__container--focus),:host([mode="Home Search"]) .udex-search__container:not(:hover):not(.udex-search__container--focus) .udex-search__field{background-color:var(--udex-input-background-color)}:host([mode="Home Search"]) .udex-search__label.udex-search__label--active,:host([mode="Home Search"]) .udex-search-prefix .udex-search__label.udex-search__label--active{display:none}.udex-search__container{padding-inline-end:var(--udex-search-container-padding-inline-end);display:flex;align-items:center;position:relative;z-index:var(--udexZIndex1, 1);border:1px solid var(--udex-input-color-border);border-radius:var(--udex-input-radius);background-color:field}.udex-search-mode-home-search .udex-search__container{padding-inline-end:var(--udex-search-home-container-padding-inline-end)}.udex-search__container:not(.udex-search__container--focus):hover{border-color:var(--udex-input-color-hover-border)}.udex-search__container--focus{border-color:var(--udex-input-color-active-border)}:host(:not([_is-touched])[active]) .udex-search__root:before{content:"";position:absolute;inset:-5px;border:2px solid var(--udex-search-active-outline-color);border-radius:var(--udex-input-radius)}:host([mode="Home Search"]:not([_is-touched])[active]) .udex-search__root:before{z-index:var(--udexZIndexNegative, -1)}.udex-search__field{display:block;width:100%;color:var(--udex-input-color-typed-text);font-size:16px;font-family:var(--sapFontFamily);line-height:24px;padding:var(--udex-input-padding-vertical) var(--udex-input-padding-horizontal);box-sizing:border-box;border:0;border-radius:var(--udex-input-radius);font-weight:var(--udexTypographyFontWeightRegular, 400);background:var(--udex-input-color-background-light)}.udex-search-mode-home-search .udex-search__field{padding:var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-right) var(--udex-home-input-padding-vertical) var(--udex-home-input-padding-left)}.udex-search__field::placeholder{color:var(--udexColorGrey7);font-family:var(--sapFontFamily, sans-serif);font-size:16px}.udex-search__field:focus{outline:none}input[type=search]::-ms-clear{display:none;width:0;height:0}input[type=search]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.udex-search__label{position:absolute;inset-inline-start:var(--udex-search-label-inset-inline-start);z-index:2;color:var(--udex-input-color-label);font-family:var(--udex-input-font-family-label);font-size:var(--udex-input-font-size-label);font-weight:var(--udex-input-font-weight-label);line-height:var(--udex-input-line-height-label);transition:transform .15s ease-out,font-size .15s ease-out;overflow:hidden;white-space:nowrap;max-width:var(--udex-search-label-width)}.udex-search__label-with-search-icon,.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size))}.udex-search__label-with-search-icon.udex-search__label-with-voice-icon{max-width:calc(var(--udex-search-label-width) - var(--udex-button-size) * 2 - var(--udex-search-icons-column-gap))}.udex-search__icons{display:flex;align-items:center;column-gap:var(--udex-search-icons-column-gap)}.udex-search-mode-home-search .udex-search__icons{column-gap:var(--udex-search-home-icons-column-gap)}.udex-search__icon{margin-inline:5px;background-color:transparent;border:none;color:var(--udex-button-non-interactive-icon-color);min-width:var(--udex-button-non-interactive-icon-size);height:var(--udex-button-non-interactive-icon-size);border-radius:50%;position:relative;z-index:var(--udexZIndex1, 1);overflow:visible}.udex-search__button{background-color:transparent;border:none;color:var(--udex-button-color);min-width:var(--udex-button-size);height:var(--udex-button-size);border-radius:50%;position:relative;z-index:var(--udexZIndex1, 1);overflow:visible}[udex-control-button]{--udex-control-button-large-height: 40px;--udex-control-button-large-width: 40px}:host([mode="Home Search"]) [udex-button]{--_ui5_button_pressed_focused_border_color: transparent}[udex-control-button].udex-search__reset-button{--sapButton_BorderWidth: 0px 1px 0 1px}[udex-control-button].udex-search__submit-button{margin:0px calc((var(--udex-search-container-padding-inline-end)) * -1) 0px 0;--sapButton_BorderWidth: 0 0 0 1px}[udex-button].udex-search__button::part(button):focus-visible:before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;width:28px;height:28px;border:2px solid var(--udexColorBlue9, #0040B0);border-radius:50%;box-sizing:border-box}[udex-button].udex-search__button::part(button){padding:0;width:28px;height:28px;line-height:0}[ui5-icon].udex-search__button-icon{color:inherit;width:18px;height:18px}[udex-button].udex-search__button::part(icon){width:18px;height:18px}[udex-button].udex-search__button::part(button):after{display:none}[udex-button].udex-search__button:hover{background-color:#0000001a;border:none;box-shadow:none}[udex-button][active].udex-search__button{background:var(--udexColorBlue8, #0057D2);color:var(--udexColorNeutralWhite, #FFFFFF)}[udex-button].udex-search__button:focus{outline:none}.udex-search__prefix{position:relative;z-index:var(--udexZIndex1, 1)}.udex-search__prefix--show-popover:after,.udex-search__prefix--show-popover-top:after{content:"";position:absolute;z-index:var(--udexZIndexNegative, -1);height:50%;width:50px;inset-inline-start:0;inset-block-end:0;background-color:var(--udexColorNeutralWhite, #fff);border-left:1px solid var(--udexColorGrey6, #5B738B);border-right:1px solid var(--udexColorGrey6, #5B738B);box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34, 53, 72, .3));overflow-y:hidden}.udex-search__prefix-button{padding-inline:var(--udexSpacer12) var(--udexSpacer8);display:flex;align-items:center;max-width:var(--udex-search-prefix-max-width);height:100%;border:1px solid var(--udex-input-color-border);border-inline-end:0;border-start-start-radius:var(--udexRadiusXXL, 24px);border-end-start-radius:var(--udexRadiusXXL, 24px);background-color:var(--sapShell_Navigation_Active_Background, var(--udexColorGrey1));color:var(--sapContent_LabelColor, var(--udexColorGrey7));font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodySFontSize, 16px);font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:var(--udexTypographyBodyLineHeight, 1.5);text-align:start;white-space:nowrap}.udex-search__prefix-button:focus,.udex-search__prefix-button:focus-visible,.udex-search__prefix-button:hover{cursor:pointer;background-color:var(--udexColorNeutralWhite);color:var(--udexColorBlue8)}.udex-search__prefix-button:focus,.udex-search__prefix-button:focus-visible{outline:2px solid var(--udexColorBlue10, #002A86);outline-offset:-2px}.udex-search__prefix-button--active{background-color:var(--udexColorNeutralWhite);color:var(--udexColorBlue10)}.udex-search__prefix-label{margin-inline-end:var(--udexSpacer4, 4px);max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}.udex-search__prefix-icon{width:16px;height:16px;color:inherit;flex-shrink:1}.udex-search__prefix-popover{border-start-start-radius:0;border-start-end-radius:0;border:1px solid var(--udexColorGrey6);border-block-start:0;box-shadow:var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34,54,73,.3));background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover-top{border-end-start-radius:0;border-end-end-radius:0;border:1px solid var(--udexColorGrey6);border-block-end:0;box-shadow:none;background-color:var(--udexColorNeutralWhite, #fff);clip-path:inset(0px -10px -10px -10px)}.udex-search__prefix-popover::part(content),.udex-search__prefix-popover-top::part(content){padding:0}[udex-dropdown]{--udex-dropdown-pane-max-width: 100%}.hidden{position:absolute;width:0px;height:0px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0;padding:0}
|
|
541
541
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const vH=`:host{--udex-popover-box-shadow: var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34,54,73,.3));--udex-popover-top-box-shadow: 0px -2px 8px 0px rgba(34,54,73,.3);--udex-popover-background-color: var(--udexColorNeutralWhite, #fff);--udex-popover-border-color: var(--udexColorGrey6, #5B738B);--udex-popover-border-radius: var(--sapPopover_BorderCornerRadius, var(--udexRadiusM));--udex-popover-border-color-divider: var(--udexColorGrey7, #475E75);--udex-block-padding-vertical: var(--udexSpacer24, 24px);--udex-heading-padding-horizontal: var(--udexSpacer12, 12px);--udex-heading-margin-vertical: var(--udexSpacer8, 8px);--udex-heading-font-family: var(--sapFontFamily, sans-serif);--udex-heading-font-size: var(--udexTypographyNavigationMediumMFontSize, 14px);--udex-heading-line-height: var(--udexTypographyHeadingLineHeight, 1.1);--udex-heading-font-weight: var(--udexTypographyFontWeightMedium, 500);--udex-button-padding-horizontal: var(--udexSpacer12, 12px);--udex-button-padding-vertical: var(--udexSpacer12, 12px);--udex-button-font-family: var(--sapFontFamily, sans-serif);--udex-button-font-size: var(--udexTypographyBodySFontSize, 16px);--udex-button-font-weight: var(--udexTypographyFontWeightRegular, 400);--udex-button-line-height: var(--udexTypographyBodyLineHeight, 24px);--udex-button-border-color: var(--udexColorBlue10, #002A86);--udex-button-icon-color: var(--sapButton_IconColor, #475E75);--udex-button-highlighted-font-family: var(--sapFontFamily, sans-serif);--udex-button-highlighted-font-size: var(--udexTypographyNavigationBoldXLFontSize, 16px);--udex-button-highlighted-font-weight: var(--udexTypographyFontWeightBold, 700);--udex-button-highlighted-line-height: var(--udexTypographyHeadingLineHeight, 1.1)}.udex-search-suggestions__root{background-color:var(--udex-popover-background-color);border:1px solid var(--udex-popover-border-color);border-radius:var(--udex-popover-border-radius);box-shadow:var(--udex-popover-box-shadow);clip-path:inset(0px -10px -10px -10px)}.udex-search-suggestions__root--home{border-top-left-radius:0;border-top-right-radius:0;border-top:0;margin-top:1px}.udex-search-suggestions__root-top--home{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0;box-shadow:none;margin-bottom:1px;margin-top:-1px}.udex-search-suggestions__root-top--home .udex-search-suggestions__block:last-child{margin-bottom:-5px}.udex-search-suggestions__root-top--home .udex-search-suggestions__block:first-child{margin-top:0}.udex-search-suggestions__root--home .udex-search-suggestions__block:first-child{margin-top:-5px}.udex-search-suggestions__root::part(content){padding:0}.udex-search-suggestions__block{padding-block-start:var(--udex-block-padding-vertical);border-block-end:1px solid var(--udex-popover-border-color-divider);font-family:var(--sapFontFamily, sans-serif)}.udex-search-suggestions__block:last-child{border-block-end:0}.udex-search-suggestions__heading,.udex-search-suggestions__message{margin-block-end:var(--udex-heading-margin-vertical);padding-inline:var(--udex-heading-padding-horizontal) var(--udex-heading-padding-horizontal);display:block;font-family:var(--udex-heading-font-family);font-size:var(--udex-heading-font-size);line-height:var(--udex-heading-line-height);font-weight:var(--udex-heading-font-weight);color:#475e75;text-transform:uppercase}.udex-search-suggestions__message{margin-block:var(--udex-heading-margin-vertical);text-align:center}.udex-search-suggestions__list{margin:0;padding:0;list-style:none}.udex-search-suggestions__list:focus{outline:2px solid var(--udex-button-border-color);outline-offset:-2px;border-radius:var(--udexRadiusXS)}[ui5-button].udex-search-suggestions__item-button{background-color:transparent;border:0;border-radius:0;width:100%;color:#223548;font-family:var(--udex-button-font-family);font-size:var(--udex-button-font-size);line-height:var(--udex-button-line-height);font-weight:var(--udex-button-font-weight);height:auto;cursor:pointer}[ui5-button].udex-search-suggestions__item-button:hover{box-shadow:none;background-color:#f5f6f7}[ui5-button].udex-search-suggestions__item-button:active,[ui5-button].udex-search-suggestions__item-button--active{background-color:#eaecee}[ui5-button].udex-search-suggestions__item-button::part(button){padding-inline:var(--udex-button-padding-vertical) var(--udex-button-padding-vertical);padding-block:var(--udex-button-padding-horizontal) var(--udex-button-padding-horizontal);justify-content:normal}.udex-search-suggestions__item-button::part(icon){color:var(--udex-button-icon-color);margin-inline-end:6px;width:18px;height:18px}.udex-search-suggestions__item-button b{font-family:var(--udex-button-highlighted-font-family);font-size:var(--udex-button-highlighted-font-size);font-weight:var(--udex-button-highlighted-font-weight);line-height:var(--udex-button-highlighted-line-height)}
|
|
542
|
-
`;var Ie=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},yr;const mH="sap-icon://search",fH="suggestions-popover";var or;(function(o){o.Standard="Standard",o.HomeSearch="Home Search"})(or||(or={}));let be=yr=class extends z{constructor(){super(),this._labelActiveClassName="udex-search__label--active",this._labelAnimationClassName="udex-search__label--animation-enabled",this._voiceActiveClassName="udex-search__voice-button--active",this._focusActiveClassName="udex-search__container--focus",this.value="",this._popoverPlacement="Bottom",this.languageVoice="en-US",this.mode=or.Standard,this.noResultText="No matches found.",this.labelActiveClass="",this.labelAnimationClass="",this.voiceActiveClass="",this.labelClasses="",this.focusClasses="",this.unsuccessfulRetryMessage="UdexSearchSuggestionsPopover couldn`t be opened",this.retryDelay=200,this.maxRetryAttempts=5,this._prefixDropdownExpanded=!1,this._openSuggestionHandled=!1,this.handleSelectItem=(e,t)=>()=>{this.value=e,this.fireDropdownItemClick(e,t),this.handleSubmitValue()},this.handleItemClick=e=>{const t=e.detail.item;this.labelPrefix=t.innerText,this.fireDecoratorEvent("prefix-item-click",{item:t}),this.onClosePrefixPopover()},this.handleDebounce=aH(()=>{this.fireDecoratorEvent("handle-value-search",{value:this.value}),this.showSuggestedPopover&&this.value.length>=2&&this.onOpenPopover(),!this.showPopoverWhenClickedIntoInput&&this.showSuggestedPopover&&this.value.length<2&&this.onClosePopover()}),this.handleKeyDown=e=>{e.stopPropagation(),this.handleEnterKey(e),this.handleTabKey(e),this.handleDownKey(e),this.handleEscapeKey(e),this.fireDecoratorEvent("search-keydown",{e})},this._handleResizeBound=this._handleResize.bind(this)}onEnterDOM(){this.isNotMozillaFirefox=!this.isMozillaFirefox("Firefox"),this.isNotMozillaFirefoxIOS=!this.isMozillaFirefox("FxiOS"),this.initSpeechRecognition(),Q.register(this,this._handleResizeBound),this._intersectionObserver=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&this.openSuggestionPopup&&(this._openSuggestionHandled=!1,this.handleOpenSuggestionPopover())})}),this._intersectionObserver.observe(this)}onExitDOM(){var e;Q.deregister(this,this._handleResizeBound),this.removeEventListener("dropdown-trigger-event",()=>{}),(e=this._intersectionObserver)==null||e.disconnect(),this._intersectionObserver=void 0}initSpeechRecognition(){try{if(this.isNotMozillaFirefox||this.isNotMozillaFirefoxIOS){const e=window.SpeechRecognition||window.webkitSpeechRecognition||window.mozSpeechRecognition||window.msSpeechRecognition;this.speechRecognition=new e,this.speechRecognition.continuous=!0,this.speechRecognition.lang=this.languageVoice,this.speechRecognition.interimResults=!1,this.speechRecognition.maxAlternatives=5}}catch(e){throw console.warn("The voice button does not work in this browser"),e}}isMozillaFirefox(e){const i=navigator.userAgent.split(" ").find(a=>a.indexOf(e)>-1);if(i){const a=i.split("/"),r=a[a.length-1];return Number(r)>=125}return!1}onInvalidation(e){this.setNewValue(e),this.setPopoverState(e),this.setNewSuggestionList(e)}setNewValue(e){e.name==="value"&&(this.value=e.newValue,this.setSuggestedRecommendedLists(this.suggestionList),this.toggleLabelActiveClass())}toggleLabelActiveClass(){this.labelActiveClass&&!this.labelAnimationDisabled&&!this.isFocusedOnTextfield&&this.handleBlur()}setPopoverState(e){e.name==="openSuggestionPopup"&&(this._openSuggestionHandled=!1,this.handlePopoverTrigger(e.newValue))}handlePopoverTrigger(e){e?this.onOpenPopover():this.onClosePopover()}setNewSuggestionList(e){e.name==="suggestionList"&&e.newValue&&this.setSuggestedRecommendedLists(e.newValue)}setSuggestedRecommendedLists(e,t=!0){if((this.showSuggestedPopover||this.openSuggestionPopup)&&e){const i=JSON.parse(e),a=this.hasDataLabel(i);this.shouldShowPopover(i,a)&&(this.setDropdownLabels(i),this.suggestedList=this.getListWithSuggestion(this.getSuggestedList(a,i),"suggested"),this.recommendedList=this.getListWithSuggestion(this.getRecommendedList(a,i),"recommended")),t&&!this.shouldShowPopover(i,a)&&(this.onClosePopover(),this.resetSuggestedRecommendedLists())}}hasDataLabel(e){return Object.values(e).some(t=>Object.prototype.hasOwnProperty.call(t,"label"))}hasSuggestedLabel(e){if(e.suggested){const t=e.suggested;return Object.prototype.hasOwnProperty.call(e.suggested,"label")?!!t.label:!1}return!1}hasRecommendedLabel(e){if(e.recommended){const t=e.recommended;return Object.prototype.hasOwnProperty.call(e.recommended,"label")?!!t.label:!1}return!1}resetSuggestedRecommendedLists(){this.suggestedList=[],this.recommendedList=[]}setDropdownLabels(e){this._suggestionLabel=this.getSuggestionLabel(e),this._recommendLabel=this.getRecommendLabel(e)}getRecommendLabel(e){return this.hasRecommendedLabel(e)?e.recommended.label||"":B(yr,aE)}getSuggestionLabel(e){return this.hasSuggestedLabel(e)?e.suggested.label||"":B(yr,JA)}getRecommendedList(e,t){return e?t.recommended.list:t.recommended}getSuggestedList(e,t){return e?t.suggested.list:t.suggested}shouldShowPopover(e,t){const i=this.hasSuggestedContent(t,e),a=this.hasRecommendedContent(t,e);return this.showPopoverWhenClickedIntoInput||i||a}hasSuggestedContent(e,t){return e?Object.prototype.hasOwnProperty.call(t.suggested,"list")&&t.suggested.list.length:t.suggested.length}hasRecommendedContent(e,t){return e?Object.prototype.hasOwnProperty.call(t.recommended,"list")&&t.recommended.list.length:t.recommended.length}getListWithSuggestion(e,t){return e==null?void 0:e.map((i,a)=>{const r=typeof i=="object",n=r?i.label:i;return{handleSelectItem:this.handleSelectItem(n,t),text:cp(this.getTextWithSuggestion(n)),title:cp(n),icon:r?i.icon:mH,hasCustomIcon:r,id:`${t}-${a}`,suggestionDescription:cp(`${n}, ${t} ${a+1} ${B(yr,lh)} ${e.length}`)}})}escapeRegExp(e){const t=/[-[\]/{}()*+?.\\^$|]/g;return e.replace(t,"\\$&")}getTextWithSuggestion(e){const t=this.escapeRegExp(this.value),i=new RegExp(t,"i");return e.replace(i,"<b>$&</b>")}fireDropdownItemClick(e,t){this.fireDecoratorEvent("dropdown-item-click",{value:cp(e),categoryName:t})}handleDropdownClick(){this.getPrefixPopover().open?this.onClosePrefixPopover():this.onOpenPrefixPopover()}getPrefixWrapper(){return this.shadowRoot.querySelector(".udex-search__prefix")}getPrefixPopover(){return this.shadowRoot.querySelector("#udex-search-prefix")}getPrefixButton(){return this.shadowRoot.querySelector(".udex-search__prefix-button")}onOpenPrefixPopover(){if(this.dropdownPrefix.length){const e=this.getPrefixWrapper(),t=this.getPrefixPopover(),i=this.getPrefixButton();this._prefixDropdownExpanded=!0,t.opener=this.getPrefixButton(),t.open=!0,t.style.width=`${i.offsetWidth+1}px`,t.classList.add(this.prefixPopoverClasses),i.classList.add("udex-search__prefix-button--active"),e.classList.add(this.prefixWrapperClasses),this.dropdownPrefix[0].addEventListener("item-press",this.handleItemClick)}}onClosePrefixPopover(){const e=this.getPrefixPopover();this.dropdownPrefix[0].removeEventListener("item-press",this.handleItemClick),e.open=!1,this.handleAfterClosePrefixPopover()}handleAfterClosePrefixPopover(){this._prefixDropdownExpanded=!1;const e=this.getPrefixWrapper(),t=this.getPrefixButton();e.classList.remove("udex-search__prefix--show-popover","udex-search__prefix--show-popover-top"),t.classList.remove("udex-search__prefix-button--active")}handleInputClick(){se()||(this._isTouched=!0),this.showPopoverWhenClickedIntoInput&&this.onOpenPopover()}onSubmit(e){e.stopPropagation(),this.handleSubmitValue()}handleSubmitValue(){this.handleDebounce.cancel(),this.onClosePopover(),this.fireDecoratorEvent("submit-search-value",{value:this.value})}handleAriaExpanded(){var t;const e=this.open.toString();(t=this.getSearchInput())==null||t.setAttribute("aria-expanded",e)}onOpenPopover(){(this.showSuggestedPopover||this.openSuggestionPopup)&&(this.Suggestion?(this.open=!0,this.Suggestion.open(),this.fireDecoratorEvent("suggestion-popover-opened")):nH(()=>this.Suggestion,this.retryDelay,this.maxRetryAttempts,this.unsuccessfulRetryMessage).then(()=>{this.Suggestion.open(),this.fireDecoratorEvent("suggestion-popover-opened")}).catch(e=>{console.warn(e.message)}),this.handleAriaExpanded())}onClosePopover(){var e;(this.showSuggestedPopover||this.open)&&((e=this.Suggestion)==null||e.close(),this.handleAriaExpanded(),this.open=!1,this.fireDecoratorEvent("suggestion-popover-closed"))}handleKeyPressSuggestionList(e){var t;(t=this.Suggestion)==null||t.handleKeyPress(e)}get rootClasses(){return this.mode===or.HomeSearch&&this.showSuggestedPopover&&this.open?this.isSuggestionPopoverTop?"udex-search__root--show-popover-top":"udex-search__root--show-popover":""}onBeforeRendering(){var e,t;if((this.showSuggestedPopover||this.openSuggestionPopup)&&(this.enableSuggestions(),this.suggestionList&&!((e=this.suggestedList)!=null&&e.length)&&!((t=this.recommendedList)!=null&&t.length)&&this.setSuggestedRecommendedLists(this.suggestionList,!1)),this.isHomeSearchWithPrefixMode&&this.dropdownPrefix.length){const i=Array.from(this.dropdownPrefix[0].children),a=i.findIndex(n=>n.selected),r=a>=0?i[a]:i[0];this.labelPrefix=r.innerText}this.showResetButton=!!this.value.length,this.value&&this.labelActiveClass===""&&(this.labelActiveClass=this._labelActiveClassName),this.mode===or.HomeSearch&&(this.labelAnimationDisabled=!0),this.labelAnimationDisabled||(this.labelAnimationClass=this._labelAnimationClassName),this.labelClasses=`udex-search__label ${this.labelActiveClass} ${this.labelAnimationClass}`,this.isVoiceButton&&(this.labelClasses+=" udex-search__label-with-voice-icon"),this.isShowSubmitButton&&(this.labelClasses+=" udex-search__label-with-search-icon")}enableSuggestions(){if(this.Suggestion)return;const e=yi("SearchInputSuggestion");if(e)this.Suggestion=new e(this);else throw new Error("You have to import '@sapudex/web-components/dist/features/SearchSuggestionsPopover.js' module to use udex-search suggestions")}_createObserver(e,t=!1){return new MutationObserver(i=>{i.forEach(a=>{const r=e==null?void 0:e.actualPlacement,n=a.oldValue;a.attributeName==="actual-placement"&&r!==n&&(this._popoverPlacement=r),a.attributeName==="open"&&r!==n&&!t&&(this.open=(e==null?void 0:e.open)||!1,e!=null&&e.open||this.fireDecoratorEvent("suggestion-popover-closed"))})})}onAfterRendering(){var e,t;if(this.showSuggestedPopover||this.openSuggestionPopup){const i=this.getPrefixPopover();if((e=this.Suggestion)!=null&&e.popover){const a=this._createObserver(this.Suggestion.popover),r=(t=this.Suggestion)==null?void 0:t.popover;a.observe(r,{attributes:!0,attributeOldValue:!0}),this.Suggestion.initLists()}if(i){const a=this._createObserver(i,!0),r=i;a.observe(r,{attributes:!0,attributeOldValue:!0})}this.setSearchWidth(),this.handleOpenSuggestionPopover()}}handleOpenSuggestionPopover(){var e;this.openSuggestionPopup&&!this._openSuggestionHandled&&(this._openSuggestionHandled=!0,(e=this.Suggestion)==null||e._getSuggestionPopover(),requestAnimationFrame(()=>{this.openSuggestionPopup&&this.handlePopoverTrigger(this.openSuggestionPopup)}))}handleBlur(){this._isTouched=!1,this.value?this.labelActiveClass=this._labelActiveClassName:this.labelActiveClass=""}handleSearchChange(e){var t;this.value=(t=e.target)==null?void 0:t.value,this.showResetButton=!!this.value.length,this.handleDebounce()}handleEnterKey(e){var t;ie(e)&&(this.open?(t=this.Suggestion)==null||t.onEnter(e):e.preventDefault(),this.handleSubmitValue())}handleTabKey(e){!this.open||this.openSuggestionPopup||(Qe(e)||pt(e))&&this.onClosePopover()}handleDownKey(e){var t;Be(e)&&this.showSuggestedPopover&&(e.preventDefault(),this.open||this.onOpenPopover(),(t=this.Suggestion)==null||t.onKeyDown(e))}handleEscapeKey(e){var t;De(e)&&this.open&&((t=this.Suggestion)==null||t.onEscape(e),this.fireDecoratorEvent("suggestion-popover-closed"))}handleKeyDownPopover(e){this.open&&(this.handleTabKeyList(e),this.handlePrevTabKeyList(e),this.handleDownKeyList(e),this.handleUpKeyList(e),this.handleEscapeKey(e))}handleTabKeyList(e){var t;Qe(e)&&((t=this.Suggestion)==null||t.onKeyTabList(e))}handlePrevTabKeyList(e){var t;pt(e)&&((t=this.Suggestion)==null||t.onPrevKeyTabList(e))}handleDownKeyList(e){var t;Be(e)&&((t=this.Suggestion)==null||t.onKeyDown(e))}handleUpKeyList(e){var t;Ne(e)&&((t=this.Suggestion)==null||t.onKeyUp(e))}handleFocus(){this.active=!0,this.isFocusedOnTextfield=!0,this.focusClasses=this._focusActiveClassName,this.labelActiveClass=this.value||!this.labelAnimationDisabled?this._labelActiveClassName:"",this.labelAnimationClass=this.labelAnimationDisabled?"":this._labelAnimationClassName}handleFocusout(){this.active=!1,this.isFocusedOnTextfield=!1,this.focusClasses=""}onReset(e){e.stopPropagation(),this.handleReset()}handleReset(){var e,t;this.value="",this.showResetButton=!1,this.onClosePopover(),this.fireDecoratorEvent("handle-value-reset"),(e=this.Suggestion)==null||e.resetFocusState(),(t=this.getSearchInput())==null||t.focus()}handleKeyDownReset(e){(ie(e)||K(e))&&(e.preventDefault(),e.stopPropagation(),this.handleReset())}getSearchInput(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector("[id='search-input']")}onVoice(e){e.stopPropagation(),this.speechRecognition&&(this.onSpeechLaunch(),this.onSpeechStart(),this.onSpeechResult(),this.onSpeechEnd())}onSpeechLaunch(){this.voiceActiveClass?this.speechRecognition.stop():this.speechRecognition.start()}get effectivePlaceholder(){return this.voiceActiveClass?`${B(yr,rE)}...`:this.label}onSpeechStart(){this.speechRecognition.onstart=()=>{var e;this.voiceActiveClass=this._voiceActiveClassName,(e=this.getSearchInput())==null||e.focus()}}onSpeechResult(){this.speechRecognition.onresult=e=>{const t=e.results.length-1;this.value=e.results[t][0].transcript,this.speechRecognition.stop()}}onSpeechEnd(){this.speechRecognition.onend=()=>{this.voiceActiveClass="",this.handleSubmitValue(),this.onShowResetButton()}}onShowResetButton(){this.value&&(this.showResetButton=!0)}_handleResize(){this.setSearchWidth()}setSearchWidth(){var t,i;const e=(t=this.shadowRoot)==null?void 0:t.querySelector(".udex-search__container");e.offsetWidth!==this._searchWidth&&(this._searchWidth=e.offsetWidth),(i=this.Suggestion)!=null&&i.popover&&this._searchWidth&&(this.Suggestion.popover.style.width=`${this._searchWidth}px`)}get popoverStyles(){return{width:this._searchWidth?`${this._searchWidth}px`:""}}get prefixPopoverStyles(){return{width:this.getPrefixButton()?`${this.getPrefixButton().offsetWidth+1}px`:""}}get isShowResetButton(){return this.showResetButton&&!!this.value.length&&this.mode===or.Standard}get isShowHomeResetButton(){return this.showResetButton&&!!this.value.length&&this.mode===or.HomeSearch}get noResultMessage(){return this.noResultText||B(yr,U0)}get showNoResultMessage(){var e,t;return!((e=this.suggestedList)!=null&&e.length)&&!((t=this.recommendedList)!=null&&t.length)}get isShowSuggestedList(){var e;return!!((e=this.suggestedList)!=null&&e.length)}get isShowRecommendedList(){var e;return!!((e=this.recommendedList)!=null&&e.length)}get hasPopoverContent(){var e,t;return!!((e=this.suggestedList)!=null&&e.length||(t=this.recommendedList)!=null&&t.length)}get getAriaHasPopup(){return this.showSuggestedPopover?"dialog":"false"}get getSuggestionsPopoverId(){return fH}get isShowSubmitButton(){return this.showSubmitButton}get suggestedHeading(){return this._suggestionLabel}get recommendedHeading(){return this._recommendLabel}get isSuggestionPopoverTop(){var t;const e=(t=this.Suggestion)==null?void 0:t.popover;return e&&e.open&&this._popoverPlacement==="Top"}get isPrefixSuggestionPopoverTop(){const e=this.getPrefixPopover();return e&&e.open&&this._popoverPlacement==="Top"}get isShowSearchHomePrefix(){return this.isHomeSearchWithPrefixMode&&!!this.dropdownPrefix.length}get isHomeSearchMode(){return this.mode===or.HomeSearch}get isHomeSearchWithPrefixMode(){return this.mode===or.HomeSearch&&!!this.dropdownPrefix.length}get searchClasses(){return`${this.classWithPrefix} ${this.rootClasses} udex-search-mode-${this.mode.toLowerCase().replace(" ","-")}`.trim()}get prefixWrapperClasses(){const e=this.getPrefixPopover();return e&&e.open?this._popoverPlacement==="Top"?"udex-search__prefix--show-popover-top":"udex-search__prefix--show-popover":""}get prefixPopoverClasses(){return this.isPrefixSuggestionPopoverTop?"udex-search__prefix-popover-top":"udex-search__prefix-popover"}get classWithPrefix(){return this.isHomeSearchWithPrefixMode?"udex-search-prefix":""}get homeSearchPopoverClass(){return this.isHomeSearchMode||this.isHomeSearchWithPrefixMode?this.isSuggestionPopoverTop?"udex-search-suggestions__root-top--home":"udex-search-suggestions__root--home":""}get homeSearchWithPrefixPopoverClass(){return this.isHomeSearchWithPrefixMode?"udex-search-suggestions__root--prefix":""}get searchButtonActiveClass(){return this.isHomeSearchMode&&this.open?"udex-search__submit-button--active":""}get isNotEmptyClass(){return this.value.length>2||this.focusClasses.length?" udex-search__container--has-value":""}get isVoiceButton(){return this.showVoiceButton&&this.isNotMozillaFirefox&&this.isNotMozillaFirefoxIOS&&this.mode===or.HomeSearch}get accInfo(){return{ariaLabel:this.accessibleName||void 0,accessibleNameResetIcon:this.accessibleNameResetIcon||B(yr,QA),accessibleNameSearchIcon:this.accessibleNameSearchIcon||B(yr,eE)}}get suggestionsDescription(){return this.showNoResultMessage?`${this.noResultMessage}`:`${this.suggestedList.length} ${this._suggestionLabel}, ${this.recommendedList.length} ${this._recommendLabel}`}get tooltipInfo(){return{tooltipResetButton:this.tooltipResetButton||B(yr,tE),tooltipVoiceButton:this.tooltipVoiceButton||B(yr,oE),tooltipSubmitButton:this.tooltipSubmitButton||B(yr,iE)}}get suggestionsAccessibleName(){return B(yr,p3)}get showNonInteractiveButton(){return this.showSubmitButton&&this.nonInteractiveSubmitButton}get showSubmitStandardButton(){return this.showSubmitButton&&!this.nonInteractiveSubmitButton&&this.mode===or.Standard}get showSubmitHomeButton(){return this.showSubmitButton&&!this.nonInteractiveSubmitButton&&this.mode===or.HomeSearch}};Ie([d({type:String})],be.prototype,"value",void 0);Ie([d({type:String})],be.prototype,"label",void 0);Ie([d({type:Boolean})],be.prototype,"labelAnimationDisabled",void 0);Ie([d({type:Boolean,noAttribute:!0})],be.prototype,"showResetButton",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"_popoverPlacement",void 0);Ie([d({type:Boolean})],be.prototype,"showSubmitButton",void 0);Ie([d({type:Boolean})],be.prototype,"nonInteractiveSubmitButton",void 0);Ie([d({type:Boolean})],be.prototype,"showVoiceButton",void 0);Ie([d({type:String})],be.prototype,"suggestionList",void 0);Ie([d({type:Number})],be.prototype,"maxlength",void 0);Ie([d({type:Number})],be.prototype,"_searchWidth",void 0);Ie([d({type:String})],be.prototype,"labelPrefix",void 0);Ie([d({type:Boolean})],be.prototype,"showSuggestedPopover",void 0);Ie([d({type:String})],be.prototype,"languageVoice",void 0);Ie([d({type:String})],be.prototype,"mode",void 0);Ie([d({type:Boolean})],be.prototype,"showPopoverWhenClickedIntoInput",void 0);Ie([d({type:Boolean})],be.prototype,"openSuggestionPopup",void 0);Ie([d()],be.prototype,"accessibleName",void 0);Ie([d({type:String})],be.prototype,"accessibleNameResetIcon",void 0);Ie([d({type:String})],be.prototype,"accessibleNameSearchIcon",void 0);Ie([d({type:String})],be.prototype,"tooltipResetButton",void 0);Ie([d({type:String})],be.prototype,"tooltipVoiceButton",void 0);Ie([d({type:String})],be.prototype,"tooltipSubmitButton",void 0);Ie([d({type:String})],be.prototype,"noResultText",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"labelActiveClass",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"labelAnimationClass",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"voiceActiveClass",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"labelClasses",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"focusClasses",void 0);Ie([d({type:Boolean,noAttribute:!0})],be.prototype,"open",void 0);Ie([d({type:String})],be.prototype,"_suggestionLabel",void 0);Ie([d({type:String})],be.prototype,"_recommendLabel",void 0);Ie([d({type:String})],be.prototype,"unsuccessfulRetryMessage",void 0);Ie([d({type:Number})],be.prototype,"retryDelay",void 0);Ie([d({type:Number})],be.prototype,"maxRetryAttempts",void 0);Ie([D({type:HTMLElement,default:!0})],be.prototype,"dropdownPrefix",void 0);Ie([d({type:Boolean,noAttribute:!0})],be.prototype,"_prefixDropdownExpanded",void 0);Ie([d({type:Boolean})],be.prototype,"active",void 0);Ie([d({type:Boolean})],be.prototype,"_isTouched",void 0);Ie([V("@sapudex/web-components")],be,"i18nBundle",void 0);be=yr=Ie([T({tag:"udex-search",renderer:A,styles:[gH,vH,bn()],template:sH,get dependencies(){const o=yi("SearchInputSuggestion");return[Ks,me,R,gd,ni].concat(o?[...o.dependencies]:[])}}),x("submit-search-value",{bubbles:!0}),x("handle-value-search",{bubbles:!0}),x("handle-value-reset",{bubbles:!0}),x("dropdown-item-click",{bubbles:!0}),x("prefix-item-click"),x("search-keydown",{bubbles:!0}),x("suggestion-popover-opened",{bubbles:!0}),x("suggestion-popover-closed",{bubbles:!0})],be);be.define();const R5=be;var Dt=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Nd;let xt=Nd=class extends z{constructor(){super(),this.ratingMax=5,this.selected=!1,this.mode=Ye.SingleSelect,this.size=Fh.Standard,this.type=Fs.None,this._icon="",this._useHostAriaRole=!1,this._tabIndex="",this._resizeHandler=this._onResize.bind(this),this.contentElement=null}onAfterRendering(){var e;this.collapsible&&(this.contentElement=(e=this.shadowRoot)==null?void 0:e.querySelector(".udex-list__group-list__content"),this.contentElement&&this.setContentHeight())}onEnterDOM(){this.contentElement&&this.collapsible&&Q.register(this.contentElement,this._resizeHandler)}onExitDOM(){this.contentElement&&this.collapsible&&Q.deregister(this.contentElement,this._resizeHandler)}setContentHeight(){var e;this.style.setProperty("--udex-list-content-max-height",`${((e=this.contentElement)==null?void 0:e.scrollHeight)||0}px`)}_onResize(){this.contentElement&&this.collapsible&&this.contentElement.scrollHeight>0&&this.setContentHeight()}_fireIconClickEvent(e){const i=e.target.getAttribute("slot");i==="firstIcon"?this.fireDecoratorEvent("first-icon-click",{originalEvent:e,item:this}):i==="secondIcon"&&this.fireDecoratorEvent("second-icon-click",{originalEvent:e,item:this})}handleCollapseIconMouseDown(e){e.stopPropagation(),this._useHostAriaRole&&e.preventDefault()}handleCollapseIconClick(e){e.stopPropagation(),e.preventDefault(),this.fireDecoratorEvent("accordion-icon-click",{collapsed:this.collapsed})}get _effectiveTabIndex(){return this.disabled?"-1":this._tabIndex}get numberOfItem(){return[...this.parentNode.children].indexOf(this)+1}get isGroup(){return!1}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get modeMultiSelect(){return this.mode===Ye.MultiSelect}get modeSingleSelect(){return this.mode===Ye.SingleSelect}get modeMultiSelectOrRadioGroup(){return this.modeMultiSelect||this.modeRadioGroup}get typeNumber(){return this.type===Fs.Number}get typeCircle(){return this.type===Fs.Circle}get typeIcon(){return this.type===Fs.Icon}get ariaControlsId(){return`udex-list-${this._id}__group-content`}get expandButtonAccessibleName(){return this.collapsed?B(Nd,B3):B(Nd,A3)}get expanded(){return!this.collapsed}get hasRating(){return!!this.rating}get ratingAriaLabel(){const e=this.ratingCount?`${B(Nd,f3)} ${this.ratingCount}`:"",t=this.totalCount?`${B(Nd,m3)} ${this.totalCount}`:"",i=B(Nd,Gv);return[...[e,t].filter(Boolean),`${i} ${this.rating} of ${this.ratingMax}`].join(", ")}};Dt([d({type:Number})],xt.prototype,"ratingMax",void 0);Dt([d({type:String})],xt.prototype,"rating",void 0);Dt([d({type:String})],xt.prototype,"ratingCount",void 0);Dt([d({type:String})],xt.prototype,"totalCount",void 0);Dt([d()],xt.prototype,"label",void 0);Dt([d({type:Boolean})],xt.prototype,"divider",void 0);Dt([d({type:Boolean})],xt.prototype,"disabled",void 0);Dt([d()],xt.prototype,"supportingText",void 0);Dt([d({type:Boolean})],xt.prototype,"selected",void 0);Dt([d({type:Boolean})],xt.prototype,"indeterminate",void 0);Dt([d({type:Boolean})],xt.prototype,"controlled",void 0);Dt([d()],xt.prototype,"mode",void 0);Dt([d()],xt.prototype,"size",void 0);Dt([d()],xt.prototype,"type",void 0);Dt([d({type:String})],xt.prototype,"_icon",void 0);Dt([d({type:Boolean})],xt.prototype,"collapsible",void 0);Dt([d({type:Boolean})],xt.prototype,"collapsed",void 0);Dt([d({type:Boolean})],xt.prototype,"_filtered",void 0);Dt([d({type:Boolean})],xt.prototype,"_useHostAriaRole",void 0);Dt([d({type:Number})],xt.prototype,"_ariaPosInSet",void 0);Dt([d({type:Number})],xt.prototype,"_ariaSetSize",void 0);Dt([d({type:String})],xt.prototype,"_tabIndex",void 0);Dt([V("@sapudex/web-components")],xt,"i18nBundle",void 0);xt=Nd=Dt([T({renderer:A}),x("first-icon-click",{bubbles:!0}),x("second-icon-click",{bubbles:!0}),x("accordion-icon-click",{bubbles:!0})],xt);const E_=xt,bH="edit",xH="M15.821 2.571c.12.167.179.31.179.429 0 .143-.06.274-.179.393L4.214 15.036c-.095.095-.19.143-.285.143L0 16l.786-3.929a.44.44 0 0 1 .143-.321L12.57.143A.531.531 0 0 1 12.964 0a.53.53 0 0 1 .393.143l2.464 2.428ZM11.5 6.107 9.857 4.5l-8 7.964L3.5 14.107l8-8Zm3.107-3.143-1.643-1.571-2.285 2.286 1.607 1.607 2.321-2.322Z",yH=!1,CH="0 0 16 16",wH="SAP-icons-v4",SH="@ui5/webcomponents-icons";U(bH,{pathData:xH,ltr:yH,viewBox:CH,collection:wH,packageName:SH});const kH="edit",TH="M11.621.515a1.75 1.75 0 0 1 2.48 0l1.383 1.388a1.752 1.752 0 0 1-.004 2.477L4.03 15.781A.751.751 0 0 1 3.5 16H.75a.75.75 0 0 1-.75-.75v-2.751a.75.75 0 0 1 .219-.53L11.62.515ZM1.808 12.498l1.691 1.692 7.936-7.9-1.743-1.712-7.884 7.92Zm11.23-10.924a.25.25 0 0 0-.354 0l-1.932 1.94 1.746 1.716 1.924-1.914a.25.25 0 0 0 0-.353l-1.384-1.389Z",IH=!1,BH="0 0 16 16",AH="SAP-icons-v5",EH="@ui5/webcomponents-icons";U(kH,{pathData:TH,ltr:IH,viewBox:BH,collection:AH,packageName:EH});const DH="edit";var Sm;(function(o){o.Warning="Warning",o.Error="Error",o.Success="Success",o.Information="Information",o.Edit="Edit"})(Sm||(Sm={}));const T8=Sm;function RH(){const o="udex-status-badge";return l("div",{className:o,title:this.ariaTitle,children:l(R,{class:`${o}__icon`,name:this.iconFieldName,accessibleName:this.badgeAccessibleName})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const PH=`:host{--udex-status-badge-icon-color-error: var(--udexColorRed8);--udex-status-badge-background-color-error: var(--udexColorRed1);--udex-status-badge-border-color-error: var(--udexColorRed6);--udex-status-badge-icon-color-success: var(--udexColorGreen8);--udex-status-badge-background-color-success: var(--udexColorGreen1);--udex-status-badge-border-color-success: var(--udexColorGreen6);--udex-status-badge-icon-color-warning: var(--udexColorMango8);--udex-status-badge-background-color-warning: var(--udexColorMango1);--udex-status-badge-border-color-warning: var(--udexColorMango6);--udex-status-badge-icon-color-information: var(--udexColorBlue8);--udex-status-badge-background-color-information: var(--udexColorBlue1);--udex-status-badge-border-color-information: var(--udexColorBlue6);--udex-status-badge-icon-color-edit: white;--udex-status-badge-background-color-edit: var(--udexColorBlue8);--udex-status-badge-size-background-xs-and-s-and-m: 18px;--udex-status-badge-size-background-l: 20px;--udex-status-badge-size-background-xl: 28px;--udex-status-badge-size-icon-xs-and-s-and-m: 12px;--udex-status-badge-size-icon-l: 14px;--udex-status-badge-size-icon-xl: 16px;display:inline-block;box-sizing:border-box;position:relative}.udex-status-badge__icon{color:inherit;display:inline-block;border-radius:50%;outline:1px solid;vertical-align:top}.udex-status-badge__icon,:host([value-state="Information"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-information);border-color:var(--udex-status-badge-border-color-information);background:var(--udex-status-badge-background-color-information)}:host([value-state="Error"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-error);border-color:var(--udex-status-badge-border-color-error);background:var(--udex-status-badge-background-color-error)}:host([value-state="Success"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-success);border-color:var(--udex-status-badge-border-color-success);background:var(--udex-status-badge-background-color-success)}:host([value-state="Warning"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-warning);border-color:var(--udex-status-badge-border-color-warning);background:var(--udex-status-badge-background-color-warning)}:host([value-state="Edit"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-edit);background:var(--udex-status-badge-background-color-edit);border:0;outline:0;cursor:pointer}.udex-status-badge__icon,:host([size="XS"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size="S"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size="M"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size="L"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-l);height:var(--udex-status-badge-size-icon-l);padding:3px}:host([size="XL"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xl);height:var(--udex-status-badge-size-icon-xl);padding:6px}.udex-status-badge,:host([size="XS"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size="S"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size="M"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size="L"]) .udex-status-badge{width:var(--udex-status-badge-size-background-l);height:var(--udex-status-badge-size-background-l)}:host([size="XL"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xl);height:var(--udex-status-badge-size-background-xl)}
|
|
542
|
+
`;var Ie=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},yr;const mH="sap-icon://search",fH="suggestions-popover";var or;(function(o){o.Standard="Standard",o.HomeSearch="Home Search"})(or||(or={}));let be=yr=class extends z{constructor(){super(),this._labelActiveClassName="udex-search__label--active",this._labelAnimationClassName="udex-search__label--animation-enabled",this._voiceActiveClassName="udex-search__voice-button--active",this._focusActiveClassName="udex-search__container--focus",this.value="",this._popoverPlacement="Bottom",this.languageVoice="en-US",this.mode=or.Standard,this.noResultText="No matches found.",this.labelActiveClass="",this.labelAnimationClass="",this.voiceActiveClass="",this.labelClasses="",this.focusClasses="",this.unsuccessfulRetryMessage="UdexSearchSuggestionsPopover couldn`t be opened",this.retryDelay=200,this.maxRetryAttempts=5,this._prefixDropdownExpanded=!1,this._openSuggestionHandled=!1,this.handleSelectItem=(e,t)=>()=>{this.value=e,this.fireDropdownItemClick(e,t),this.handleSubmitValue()},this.handleItemClick=e=>{const t=e.detail.item;this.labelPrefix=t.innerText,this.fireDecoratorEvent("prefix-item-click",{item:t}),this.onClosePrefixPopover()},this.handleDebounce=aH(()=>{this.fireDecoratorEvent("handle-value-search",{value:this.value}),this.showSuggestedPopover&&this.value.length>=2&&this.onOpenPopover(),!this.showPopoverWhenClickedIntoInput&&this.showSuggestedPopover&&this.value.length<2&&this.onClosePopover()}),this.handleKeyDown=e=>{e.stopPropagation(),this.handleEnterKey(e),this.handleTabKey(e),this.handleDownKey(e),this.handleEscapeKey(e),this.fireDecoratorEvent("search-keydown",{e})},this._handleResizeBound=this._handleResize.bind(this)}onEnterDOM(){this.isNotMozillaFirefox=!this.isMozillaFirefox("Firefox"),this.isNotMozillaFirefoxIOS=!this.isMozillaFirefox("FxiOS"),this.initSpeechRecognition(),Q.register(this,this._handleResizeBound),this._intersectionObserver=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&this.openSuggestionPopup&&(this._openSuggestionHandled=!1,this.handleOpenSuggestionPopover())})}),this._intersectionObserver.observe(this)}onExitDOM(){var e;Q.deregister(this,this._handleResizeBound),this.removeEventListener("dropdown-trigger-event",()=>{}),(e=this._intersectionObserver)==null||e.disconnect(),this._intersectionObserver=void 0}initSpeechRecognition(){try{if(this.isNotMozillaFirefox||this.isNotMozillaFirefoxIOS){const e=window.SpeechRecognition||window.webkitSpeechRecognition||window.mozSpeechRecognition||window.msSpeechRecognition;this.speechRecognition=new e,this.speechRecognition.continuous=!0,this.speechRecognition.lang=this.languageVoice,this.speechRecognition.interimResults=!1,this.speechRecognition.maxAlternatives=5}}catch(e){throw console.warn("The voice button does not work in this browser"),e}}isMozillaFirefox(e){const i=navigator.userAgent.split(" ").find(a=>a.indexOf(e)>-1);if(i){const a=i.split("/"),r=a[a.length-1];return Number(r)>=125}return!1}onInvalidation(e){this.setNewValue(e),this.setPopoverState(e),this.setNewSuggestionList(e)}setNewValue(e){e.name==="value"&&(this.value=e.newValue,this.setSuggestedRecommendedLists(this.suggestionList),this.toggleLabelActiveClass())}toggleLabelActiveClass(){this.labelActiveClass&&!this.labelAnimationDisabled&&!this.isFocusedOnTextfield&&this.handleBlur()}setPopoverState(e){e.name==="openSuggestionPopup"&&(this._openSuggestionHandled=!1,this.handlePopoverTrigger(e.newValue))}handlePopoverTrigger(e){e?this.onOpenPopover():this.onClosePopover()}setNewSuggestionList(e){e.name==="suggestionList"&&e.newValue&&this.setSuggestedRecommendedLists(e.newValue)}setSuggestedRecommendedLists(e,t=!0){if((this.showSuggestedPopover||this.openSuggestionPopup)&&e){const i=JSON.parse(e),a=this.hasDataLabel(i);this.shouldShowPopover(i,a)&&(this.setDropdownLabels(i),this.suggestedList=this.getListWithSuggestion(this.getSuggestedList(a,i),"suggested"),this.recommendedList=this.getListWithSuggestion(this.getRecommendedList(a,i),"recommended")),t&&!this.shouldShowPopover(i,a)&&(this.onClosePopover(),this.resetSuggestedRecommendedLists())}}hasDataLabel(e){return Object.values(e).some(t=>Object.prototype.hasOwnProperty.call(t,"label"))}hasSuggestedLabel(e){if(e.suggested){const t=e.suggested;return Object.prototype.hasOwnProperty.call(e.suggested,"label")?!!t.label:!1}return!1}hasRecommendedLabel(e){if(e.recommended){const t=e.recommended;return Object.prototype.hasOwnProperty.call(e.recommended,"label")?!!t.label:!1}return!1}resetSuggestedRecommendedLists(){this.suggestedList=[],this.recommendedList=[]}setDropdownLabels(e){this._suggestionLabel=this.getSuggestionLabel(e),this._recommendLabel=this.getRecommendLabel(e)}getRecommendLabel(e){return this.hasRecommendedLabel(e)?e.recommended.label||"":B(yr,aE)}getSuggestionLabel(e){return this.hasSuggestedLabel(e)?e.suggested.label||"":B(yr,JA)}getRecommendedList(e,t){return e?t.recommended.list:t.recommended}getSuggestedList(e,t){return e?t.suggested.list:t.suggested}shouldShowPopover(e,t){const i=this.hasSuggestedContent(t,e),a=this.hasRecommendedContent(t,e);return this.showPopoverWhenClickedIntoInput||i||a}hasSuggestedContent(e,t){return e?Object.prototype.hasOwnProperty.call(t.suggested,"list")&&t.suggested.list.length:t.suggested.length}hasRecommendedContent(e,t){return e?Object.prototype.hasOwnProperty.call(t.recommended,"list")&&t.recommended.list.length:t.recommended.length}getListWithSuggestion(e,t){return e==null?void 0:e.map((i,a)=>{const r=typeof i=="object",n=r?i.label:i;return{handleSelectItem:this.handleSelectItem(n,t),text:cp(this.getTextWithSuggestion(n)),title:cp(n),icon:r?i.icon:mH,hasCustomIcon:r,id:`${t}-${a}`,suggestionDescription:cp(`${n}, ${t} ${a+1} ${B(yr,lh)} ${e.length}`)}})}escapeRegExp(e){const t=/[-[\]/{}()*+?.\\^$|]/g;return e.replace(t,"\\$&")}getTextWithSuggestion(e){const t=this.escapeRegExp(this.value),i=new RegExp(t,"i");return e.replace(i,"<b>$&</b>")}fireDropdownItemClick(e,t){this.fireDecoratorEvent("dropdown-item-click",{value:cp(e),categoryName:t})}handleDropdownClick(){this.getPrefixPopover().open?this.onClosePrefixPopover():this.onOpenPrefixPopover()}getPrefixWrapper(){return this.shadowRoot.querySelector(".udex-search__prefix")}getPrefixPopover(){return this.shadowRoot.querySelector("#udex-search-prefix")}getPrefixButton(){return this.shadowRoot.querySelector(".udex-search__prefix-button")}onOpenPrefixPopover(){if(this.dropdownPrefix.length){const e=this.getPrefixWrapper(),t=this.getPrefixPopover(),i=this.getPrefixButton();this._prefixDropdownExpanded=!0,t.opener=this.getPrefixButton(),t.open=!0,t.style.width=`${i.offsetWidth+1}px`,t.classList.add(this.prefixPopoverClasses),i.classList.add("udex-search__prefix-button--active"),e.classList.add(this.prefixWrapperClasses),this.dropdownPrefix[0].addEventListener("item-press",this.handleItemClick)}}onClosePrefixPopover(){const e=this.getPrefixPopover();this.dropdownPrefix[0].removeEventListener("item-press",this.handleItemClick),e.open=!1,this.handleAfterClosePrefixPopover()}handleAfterClosePrefixPopover(){this._prefixDropdownExpanded=!1;const e=this.getPrefixWrapper(),t=this.getPrefixButton();e.classList.remove("udex-search__prefix--show-popover","udex-search__prefix--show-popover-top"),t.classList.remove("udex-search__prefix-button--active")}handleInputClick(){se()||(this._isTouched=!0),this.showPopoverWhenClickedIntoInput&&this.onOpenPopover()}onSubmit(e){e.stopPropagation(),this.handleSubmitValue()}handleSubmitValue(){this.handleDebounce.cancel(),this.onClosePopover(),this.fireDecoratorEvent("submit-search-value",{value:this.value})}handleAriaExpanded(){var t;const e=this.open.toString();(t=this.getSearchInput())==null||t.setAttribute("aria-expanded",e)}onOpenPopover(){(this.showSuggestedPopover||this.openSuggestionPopup)&&(this.Suggestion?(this.open=!0,this.Suggestion.open(),this.fireDecoratorEvent("suggestion-popover-opened")):nH(()=>this.Suggestion,this.retryDelay,this.maxRetryAttempts,this.unsuccessfulRetryMessage).then(()=>{this.Suggestion.open(),this.fireDecoratorEvent("suggestion-popover-opened")}).catch(e=>{console.warn(e.message)}),this.handleAriaExpanded())}onClosePopover(){var e;(this.showSuggestedPopover||this.open)&&((e=this.Suggestion)==null||e.close(),this.handleAriaExpanded(),this.open=!1,this.fireDecoratorEvent("suggestion-popover-closed"))}handleKeyPressSuggestionList(e){var t;(t=this.Suggestion)==null||t.handleKeyPress(e)}get rootClasses(){return this.mode===or.HomeSearch&&this.showSuggestedPopover&&this.open?this.isSuggestionPopoverTop?"udex-search__root--show-popover-top":"udex-search__root--show-popover":""}onBeforeRendering(){var e,t;if((this.showSuggestedPopover||this.openSuggestionPopup)&&(this.enableSuggestions(),this.suggestionList&&!((e=this.suggestedList)!=null&&e.length)&&!((t=this.recommendedList)!=null&&t.length)&&this.setSuggestedRecommendedLists(this.suggestionList,!1)),this.isHomeSearchWithPrefixMode&&this.dropdownPrefix.length){const i=Array.from(this.dropdownPrefix[0].children),a=i.findIndex(n=>n.selected),r=a>=0?i[a]:i[0];this.labelPrefix=r.innerText}this.showResetButton=!!this.value.length,this.value&&this.labelActiveClass===""&&(this.labelActiveClass=this._labelActiveClassName),this.mode===or.HomeSearch&&(this.labelAnimationDisabled=!0),this.labelAnimationDisabled||(this.labelAnimationClass=this._labelAnimationClassName),this.labelClasses=`udex-search__label ${this.labelActiveClass} ${this.labelAnimationClass}`,this.isVoiceButton&&(this.labelClasses+=" udex-search__label-with-voice-icon"),this.isShowSubmitButton&&(this.labelClasses+=" udex-search__label-with-search-icon")}enableSuggestions(){if(this.Suggestion)return;const e=yi("SearchInputSuggestion");if(e)this.Suggestion=new e(this);else throw new Error("You have to import '@sapudex/web-components/dist/features/SearchSuggestionsPopover.js' module to use udex-search suggestions")}_createObserver(e,t=!1){return new MutationObserver(i=>{i.forEach(a=>{const r=e==null?void 0:e.actualPlacement,n=a.oldValue;a.attributeName==="actual-placement"&&r!==n&&(this._popoverPlacement=r),a.attributeName==="open"&&r!==n&&!t&&(this.open=(e==null?void 0:e.open)||!1,e!=null&&e.open||this.fireDecoratorEvent("suggestion-popover-closed"))})})}onAfterRendering(){var e,t;if(this.showSuggestedPopover||this.openSuggestionPopup){const i=this.getPrefixPopover();if((e=this.Suggestion)!=null&&e.popover){const a=this._createObserver(this.Suggestion.popover),r=(t=this.Suggestion)==null?void 0:t.popover;a.observe(r,{attributes:!0,attributeOldValue:!0}),this.Suggestion.initLists()}if(i){const a=this._createObserver(i,!0),r=i;a.observe(r,{attributes:!0,attributeOldValue:!0})}this.setSearchWidth(),this.handleOpenSuggestionPopover()}}handleOpenSuggestionPopover(){var e;this.openSuggestionPopup&&!this._openSuggestionHandled&&(this._openSuggestionHandled=!0,(e=this.Suggestion)==null||e._getSuggestionPopover(),requestAnimationFrame(()=>{this.openSuggestionPopup&&this.handlePopoverTrigger(this.openSuggestionPopup)}))}handleBlur(){this._isTouched=!1,this.value?this.labelActiveClass=this._labelActiveClassName:this.labelActiveClass=""}handleSearchChange(e){var t;this.value=(t=e.target)==null?void 0:t.value,this.showResetButton=!!this.value.length,this.handleDebounce()}handleEnterKey(e){var t;ie(e)&&(this.open?(t=this.Suggestion)==null||t.onEnter(e):e.preventDefault(),this.handleSubmitValue())}handleTabKey(e){!this.open||this.openSuggestionPopup||(Qe(e)||pt(e))&&this.onClosePopover()}handleDownKey(e){var t;Be(e)&&this.showSuggestedPopover&&(e.preventDefault(),this.open||this.onOpenPopover(),(t=this.Suggestion)==null||t.onKeyDown(e))}handleEscapeKey(e){var t;De(e)&&this.open&&((t=this.Suggestion)==null||t.onEscape(e),this.fireDecoratorEvent("suggestion-popover-closed"))}handleKeyDownPopover(e){this.open&&(this.handleTabKeyList(e),this.handlePrevTabKeyList(e),this.handleDownKeyList(e),this.handleUpKeyList(e),this.handleEscapeKey(e))}handleTabKeyList(e){var t;Qe(e)&&((t=this.Suggestion)==null||t.onKeyTabList(e))}handlePrevTabKeyList(e){var t;pt(e)&&((t=this.Suggestion)==null||t.onPrevKeyTabList(e))}handleDownKeyList(e){var t;Be(e)&&((t=this.Suggestion)==null||t.onKeyDown(e))}handleUpKeyList(e){var t;Ne(e)&&((t=this.Suggestion)==null||t.onKeyUp(e))}handleFocus(){this.active=!0,this.isFocusedOnTextfield=!0,this.focusClasses=this._focusActiveClassName,this.labelActiveClass=this.value||!this.labelAnimationDisabled?this._labelActiveClassName:"",this.labelAnimationClass=this.labelAnimationDisabled?"":this._labelAnimationClassName}handleFocusout(){this.active=!1,this.isFocusedOnTextfield=!1,this.focusClasses=""}onReset(e){e.stopPropagation(),this.handleReset()}handleReset(){var e,t;this.value="",this.showResetButton=!1,this.onClosePopover(),this.fireDecoratorEvent("handle-value-reset"),(e=this.Suggestion)==null||e.resetFocusState(),(t=this.getSearchInput())==null||t.focus()}handleKeyDownReset(e){(ie(e)||K(e))&&(e.preventDefault(),e.stopPropagation(),this.handleReset())}getSearchInput(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector("[id='search-input']")}onVoice(e){e.stopPropagation(),this.speechRecognition&&(this.onSpeechLaunch(),this.onSpeechStart(),this.onSpeechResult(),this.onSpeechEnd())}onSpeechLaunch(){this.voiceActiveClass?this.speechRecognition.stop():this.speechRecognition.start()}get effectivePlaceholder(){return this.voiceActiveClass?`${B(yr,rE)}...`:this.label}onSpeechStart(){this.speechRecognition.onstart=()=>{var e;this.voiceActiveClass=this._voiceActiveClassName,(e=this.getSearchInput())==null||e.focus()}}onSpeechResult(){this.speechRecognition.onresult=e=>{const t=e.results.length-1;this.value=e.results[t][0].transcript,this.speechRecognition.stop()}}onSpeechEnd(){this.speechRecognition.onend=()=>{this.voiceActiveClass="",this.handleSubmitValue(),this.onShowResetButton()}}onShowResetButton(){this.value&&(this.showResetButton=!0)}_handleResize(){this.setSearchWidth()}setSearchWidth(){var t,i;const e=(t=this.shadowRoot)==null?void 0:t.querySelector(".udex-search__container");e.offsetWidth!==this._searchWidth&&(this._searchWidth=e.offsetWidth),(i=this.Suggestion)!=null&&i.popover&&this._searchWidth&&(this.Suggestion.popover.style.width=`${this._searchWidth}px`)}get popoverStyles(){return{width:this._searchWidth?`${this._searchWidth}px`:""}}get prefixPopoverStyles(){return{width:this.getPrefixButton()?`${this.getPrefixButton().offsetWidth+1}px`:""}}get isShowResetButton(){return this.showResetButton&&!!this.value.length&&this.mode===or.Standard}get isShowHomeResetButton(){return this.showResetButton&&!!this.value.length&&this.mode===or.HomeSearch}get noResultMessage(){return this.noResultText||B(yr,U0)}get showNoResultMessage(){var e,t;return!((e=this.suggestedList)!=null&&e.length)&&!((t=this.recommendedList)!=null&&t.length)}get isShowSuggestedList(){var e;return!!((e=this.suggestedList)!=null&&e.length)}get isShowRecommendedList(){var e;return!!((e=this.recommendedList)!=null&&e.length)}get hasPopoverContent(){var e,t;return!!((e=this.suggestedList)!=null&&e.length||(t=this.recommendedList)!=null&&t.length)}get getAriaHasPopup(){return this.showSuggestedPopover?"dialog":"false"}get getSuggestionsPopoverId(){return fH}get isShowSubmitButton(){return this.showSubmitButton}get suggestedHeading(){return this._suggestionLabel}get recommendedHeading(){return this._recommendLabel}get isSuggestionPopoverTop(){var t;const e=(t=this.Suggestion)==null?void 0:t.popover;return e&&e.open&&this._popoverPlacement==="Top"}get isPrefixSuggestionPopoverTop(){const e=this.getPrefixPopover();return e&&e.open&&this._popoverPlacement==="Top"}get isShowSearchHomePrefix(){return this.isHomeSearchWithPrefixMode&&!!this.dropdownPrefix.length}get isHomeSearchMode(){return this.mode===or.HomeSearch}get isHomeSearchWithPrefixMode(){return this.mode===or.HomeSearch&&!!this.dropdownPrefix.length}get searchClasses(){return`${this.classWithPrefix} ${this.rootClasses} udex-search-mode-${this.mode.toLowerCase().replace(" ","-")}`.trim()}get prefixWrapperClasses(){const e=this.getPrefixPopover();return e&&e.open?this._popoverPlacement==="Top"?"udex-search__prefix--show-popover-top":"udex-search__prefix--show-popover":""}get prefixPopoverClasses(){return this.isPrefixSuggestionPopoverTop?"udex-search__prefix-popover-top":"udex-search__prefix-popover"}get classWithPrefix(){return this.isHomeSearchWithPrefixMode?"udex-search-prefix":""}get homeSearchPopoverClass(){return this.isHomeSearchMode||this.isHomeSearchWithPrefixMode?this.isSuggestionPopoverTop?"udex-search-suggestions__root-top--home":"udex-search-suggestions__root--home":""}get homeSearchWithPrefixPopoverClass(){return this.isHomeSearchWithPrefixMode?"udex-search-suggestions__root--prefix":""}get searchButtonActiveClass(){return this.isHomeSearchMode&&this.open?"udex-search__submit-button--active":""}get isNotEmptyClass(){return this.value.length>2||this.focusClasses.length?" udex-search__container--has-value":""}get isVoiceButton(){return this.showVoiceButton&&this.isNotMozillaFirefox&&this.isNotMozillaFirefoxIOS&&this.mode===or.HomeSearch}get accInfo(){return{ariaLabel:this.accessibleName||void 0,accessibleNameResetIcon:this.accessibleNameResetIcon||B(yr,QA),accessibleNameSearchIcon:this.accessibleNameSearchIcon||B(yr,eE)}}get suggestionsDescription(){return this.showNoResultMessage?`${this.noResultMessage}`:`${this.suggestedList.length} ${this._suggestionLabel}, ${this.recommendedList.length} ${this._recommendLabel}`}get tooltipInfo(){return{tooltipResetButton:this.tooltipResetButton||B(yr,tE),tooltipVoiceButton:this.tooltipVoiceButton||B(yr,oE),tooltipSubmitButton:this.tooltipSubmitButton||B(yr,iE)}}get suggestionsAccessibleName(){return B(yr,p3)}get showNonInteractiveButton(){return this.showSubmitButton&&this.nonInteractiveSubmitButton}get showSubmitStandardButton(){return this.showSubmitButton&&!this.nonInteractiveSubmitButton&&this.mode===or.Standard}get showSubmitHomeButton(){return this.showSubmitButton&&!this.nonInteractiveSubmitButton&&this.mode===or.HomeSearch}};Ie([d({type:String})],be.prototype,"value",void 0);Ie([d({type:String})],be.prototype,"label",void 0);Ie([d({type:Boolean})],be.prototype,"labelAnimationDisabled",void 0);Ie([d({type:Boolean,noAttribute:!0})],be.prototype,"showResetButton",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"_popoverPlacement",void 0);Ie([d({type:Boolean})],be.prototype,"showSubmitButton",void 0);Ie([d({type:Boolean})],be.prototype,"nonInteractiveSubmitButton",void 0);Ie([d({type:Boolean})],be.prototype,"showVoiceButton",void 0);Ie([d({type:String})],be.prototype,"suggestionList",void 0);Ie([d({type:Number})],be.prototype,"maxlength",void 0);Ie([d({type:Number})],be.prototype,"_searchWidth",void 0);Ie([d({type:String})],be.prototype,"labelPrefix",void 0);Ie([d({type:Boolean})],be.prototype,"showSuggestedPopover",void 0);Ie([d({type:String})],be.prototype,"languageVoice",void 0);Ie([d({type:String})],be.prototype,"mode",void 0);Ie([d({type:Boolean})],be.prototype,"showPopoverWhenClickedIntoInput",void 0);Ie([d({type:Boolean})],be.prototype,"openSuggestionPopup",void 0);Ie([d()],be.prototype,"accessibleName",void 0);Ie([d({type:String})],be.prototype,"accessibleNameResetIcon",void 0);Ie([d({type:String})],be.prototype,"accessibleNameSearchIcon",void 0);Ie([d({type:String})],be.prototype,"tooltipResetButton",void 0);Ie([d({type:String})],be.prototype,"tooltipVoiceButton",void 0);Ie([d({type:String})],be.prototype,"tooltipSubmitButton",void 0);Ie([d({type:String})],be.prototype,"noResultText",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"labelActiveClass",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"labelAnimationClass",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"voiceActiveClass",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"labelClasses",void 0);Ie([d({type:String,noAttribute:!0})],be.prototype,"focusClasses",void 0);Ie([d({type:Boolean,noAttribute:!0})],be.prototype,"open",void 0);Ie([d({type:String})],be.prototype,"_suggestionLabel",void 0);Ie([d({type:String})],be.prototype,"_recommendLabel",void 0);Ie([d({type:String})],be.prototype,"unsuccessfulRetryMessage",void 0);Ie([d({type:Number})],be.prototype,"retryDelay",void 0);Ie([d({type:Number})],be.prototype,"maxRetryAttempts",void 0);Ie([D({type:HTMLElement,default:!0})],be.prototype,"dropdownPrefix",void 0);Ie([d({type:Boolean,noAttribute:!0})],be.prototype,"_prefixDropdownExpanded",void 0);Ie([d({type:Boolean})],be.prototype,"active",void 0);Ie([d({type:Boolean})],be.prototype,"_isTouched",void 0);Ie([V("@sapudex/web-components")],be,"i18nBundle",void 0);be=yr=Ie([T({tag:"udex-search",renderer:A,styles:[gH,vH,bn()],template:sH,get dependencies(){const o=yi("SearchInputSuggestion");return[Ks,me,R,gd,ni].concat(o?[...o.dependencies]:[])}}),x("submit-search-value",{bubbles:!0}),x("handle-value-search",{bubbles:!0}),x("handle-value-reset",{bubbles:!0}),x("dropdown-item-click",{bubbles:!0}),x("prefix-item-click"),x("search-keydown",{bubbles:!0}),x("suggestion-popover-opened",{bubbles:!0}),x("suggestion-popover-closed",{bubbles:!0})],be);be.define();const R5=be;var At=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Nd;let vt=Nd=class extends z{constructor(){super(),this.ratingMax=5,this.selected=!1,this.mode=Ye.SingleSelect,this.size=Fh.Standard,this.type=Fs.None,this._icon="",this._useHostAriaRole=!1,this._tabIndex="",this._resizeHandler=this._onResize.bind(this),this.contentElement=null}onAfterRendering(){var e;this.collapsible&&(this.contentElement=(e=this.shadowRoot)==null?void 0:e.querySelector(".udex-list__group-list__content"),this.contentElement&&this.setContentHeight())}onEnterDOM(){this.contentElement&&this.collapsible&&Q.register(this.contentElement,this._resizeHandler)}onExitDOM(){this.contentElement&&this.collapsible&&Q.deregister(this.contentElement,this._resizeHandler)}setContentHeight(){var e;this.style.setProperty("--udex-list-content-max-height",`${((e=this.contentElement)==null?void 0:e.scrollHeight)||0}px`)}_onResize(){this.contentElement&&this.collapsible&&this.contentElement.scrollHeight>0&&this.setContentHeight()}_fireIconClickEvent(e){const i=e.target.getAttribute("slot");i==="firstIcon"?this.fireDecoratorEvent("first-icon-click",{originalEvent:e,item:this}):i==="secondIcon"&&this.fireDecoratorEvent("second-icon-click",{originalEvent:e,item:this})}handleCollapseIconMouseDown(e){e.stopPropagation(),this._useHostAriaRole&&e.preventDefault()}handleCollapseIconClick(e){e.stopPropagation(),e.preventDefault(),this.fireDecoratorEvent("accordion-icon-click",{collapsed:this.collapsed})}get _effectiveTabIndex(){return this.disabled?"-1":this._tabIndex}get numberOfItem(){return[...this.parentNode.children].indexOf(this)+1}get isGroup(){return!1}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get modeMultiSelect(){return this.mode===Ye.MultiSelect}get modeSingleSelect(){return this.mode===Ye.SingleSelect}get modeMultiSelectOrRadioGroup(){return this.modeMultiSelect||this.modeRadioGroup}get typeNumber(){return this.type===Fs.Number}get typeCircle(){return this.type===Fs.Circle}get typeIcon(){return this.type===Fs.Icon}get ariaControlsId(){return`udex-list-${this._id}__group-content`}get expandButtonAccessibleName(){return this.collapsed?B(Nd,B3):B(Nd,A3)}get expanded(){return!this.collapsed}get hasRating(){return!!this.rating}get ratingAriaLabel(){const e=this.ratingCount?`${B(Nd,f3)} ${this.ratingCount}`:"",t=this.totalCount?`${B(Nd,m3)} ${this.totalCount}`:"",i=B(Nd,Gv);return[...[e,t].filter(Boolean),`${i} ${this.rating} of ${this.ratingMax}`].join(", ")}};At([d({type:Number})],vt.prototype,"ratingMax",void 0);At([d({type:String})],vt.prototype,"rating",void 0);At([d({type:String})],vt.prototype,"ratingCount",void 0);At([d({type:String})],vt.prototype,"totalCount",void 0);At([d()],vt.prototype,"label",void 0);At([d({type:Boolean})],vt.prototype,"divider",void 0);At([d({type:Boolean})],vt.prototype,"disabled",void 0);At([d()],vt.prototype,"supportingText",void 0);At([d({type:Boolean})],vt.prototype,"selected",void 0);At([d({type:Boolean})],vt.prototype,"indeterminate",void 0);At([d({type:Boolean})],vt.prototype,"controlled",void 0);At([d()],vt.prototype,"mode",void 0);At([d()],vt.prototype,"size",void 0);At([d()],vt.prototype,"type",void 0);At([d({type:String})],vt.prototype,"_icon",void 0);At([d({type:Boolean})],vt.prototype,"collapsible",void 0);At([d({type:Boolean})],vt.prototype,"collapsed",void 0);At([d({type:Boolean})],vt.prototype,"_filtered",void 0);At([d({type:Boolean})],vt.prototype,"_useHostAriaRole",void 0);At([d({type:Number})],vt.prototype,"_ariaPosInSet",void 0);At([d({type:Number})],vt.prototype,"_ariaSetSize",void 0);At([d({type:Number})],vt.prototype,"_ariaLevel",void 0);At([d({type:String})],vt.prototype,"_tabIndex",void 0);At([V("@sapudex/web-components")],vt,"i18nBundle",void 0);vt=Nd=At([T({renderer:A}),x("first-icon-click",{bubbles:!0}),x("second-icon-click",{bubbles:!0}),x("accordion-icon-click",{bubbles:!0})],vt);const E_=vt,bH="edit",xH="M15.821 2.571c.12.167.179.31.179.429 0 .143-.06.274-.179.393L4.214 15.036c-.095.095-.19.143-.285.143L0 16l.786-3.929a.44.44 0 0 1 .143-.321L12.57.143A.531.531 0 0 1 12.964 0a.53.53 0 0 1 .393.143l2.464 2.428ZM11.5 6.107 9.857 4.5l-8 7.964L3.5 14.107l8-8Zm3.107-3.143-1.643-1.571-2.285 2.286 1.607 1.607 2.321-2.322Z",yH=!1,CH="0 0 16 16",wH="SAP-icons-v4",SH="@ui5/webcomponents-icons";U(bH,{pathData:xH,ltr:yH,viewBox:CH,collection:wH,packageName:SH});const kH="edit",TH="M11.621.515a1.75 1.75 0 0 1 2.48 0l1.383 1.388a1.752 1.752 0 0 1-.004 2.477L4.03 15.781A.751.751 0 0 1 3.5 16H.75a.75.75 0 0 1-.75-.75v-2.751a.75.75 0 0 1 .219-.53L11.62.515ZM1.808 12.498l1.691 1.692 7.936-7.9-1.743-1.712-7.884 7.92Zm11.23-10.924a.25.25 0 0 0-.354 0l-1.932 1.94 1.746 1.716 1.924-1.914a.25.25 0 0 0 0-.353l-1.384-1.389Z",IH=!1,BH="0 0 16 16",AH="SAP-icons-v5",EH="@ui5/webcomponents-icons";U(kH,{pathData:TH,ltr:IH,viewBox:BH,collection:AH,packageName:EH});const DH="edit";var Sm;(function(o){o.Warning="Warning",o.Error="Error",o.Success="Success",o.Information="Information",o.Edit="Edit"})(Sm||(Sm={}));const T8=Sm;function RH(){const o="udex-status-badge";return l("div",{className:o,title:this.ariaTitle,children:l(R,{class:`${o}__icon`,name:this.iconFieldName,accessibleName:this.badgeAccessibleName})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const PH=`:host{--udex-status-badge-icon-color-error: var(--udexColorRed8);--udex-status-badge-background-color-error: var(--udexColorRed1);--udex-status-badge-border-color-error: var(--udexColorRed6);--udex-status-badge-icon-color-success: var(--udexColorGreen8);--udex-status-badge-background-color-success: var(--udexColorGreen1);--udex-status-badge-border-color-success: var(--udexColorGreen6);--udex-status-badge-icon-color-warning: var(--udexColorMango8);--udex-status-badge-background-color-warning: var(--udexColorMango1);--udex-status-badge-border-color-warning: var(--udexColorMango6);--udex-status-badge-icon-color-information: var(--udexColorBlue8);--udex-status-badge-background-color-information: var(--udexColorBlue1);--udex-status-badge-border-color-information: var(--udexColorBlue6);--udex-status-badge-icon-color-edit: white;--udex-status-badge-background-color-edit: var(--udexColorBlue8);--udex-status-badge-size-background-xs-and-s-and-m: 18px;--udex-status-badge-size-background-l: 20px;--udex-status-badge-size-background-xl: 28px;--udex-status-badge-size-icon-xs-and-s-and-m: 12px;--udex-status-badge-size-icon-l: 14px;--udex-status-badge-size-icon-xl: 16px;display:inline-block;box-sizing:border-box;position:relative}.udex-status-badge__icon{color:inherit;display:inline-block;border-radius:50%;outline:1px solid;vertical-align:top}.udex-status-badge__icon,:host([value-state="Information"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-information);border-color:var(--udex-status-badge-border-color-information);background:var(--udex-status-badge-background-color-information)}:host([value-state="Error"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-error);border-color:var(--udex-status-badge-border-color-error);background:var(--udex-status-badge-background-color-error)}:host([value-state="Success"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-success);border-color:var(--udex-status-badge-border-color-success);background:var(--udex-status-badge-background-color-success)}:host([value-state="Warning"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-warning);border-color:var(--udex-status-badge-border-color-warning);background:var(--udex-status-badge-background-color-warning)}:host([value-state="Edit"]) .udex-status-badge__icon{color:var(--udex-status-badge-icon-color-edit);background:var(--udex-status-badge-background-color-edit);border:0;outline:0;cursor:pointer}.udex-status-badge__icon,:host([size="XS"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size="S"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size="M"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xs-and-s-and-m);height:var(--udex-status-badge-size-icon-xs-and-s-and-m);padding:3px}:host([size="L"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-l);height:var(--udex-status-badge-size-icon-l);padding:3px}:host([size="XL"]) .udex-status-badge__icon{width:var(--udex-status-badge-size-icon-xl);height:var(--udex-status-badge-size-icon-xl);padding:6px}.udex-status-badge,:host([size="XS"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size="S"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size="M"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xs-and-s-and-m);height:var(--udex-status-badge-size-background-xs-and-s-and-m)}:host([size="L"]) .udex-status-badge{width:var(--udex-status-badge-size-background-l);height:var(--udex-status-badge-size-background-l)}:host([size="XL"]) .udex-status-badge{width:var(--udex-status-badge-size-background-xl);height:var(--udex-status-badge-size-background-xl)}
|
|
543
543
|
`;var D_=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},ws,pa;(function(o){o.Success="sys-enter-2",o.Error="error",o.Warning="alert",o.Edit="edit",o.Information="information"})(pa||(pa={}));var km;(function(o){o.XS="XS",o.S="S",o.M="M",o.L="L",o.XL="XL"})(km||(km={}));let Zs=ws=class extends z{constructor(){super(...arguments),this.valueState=T8.Information,this.size=km.S}get iconFieldName(){return pa[this.valueState]?pa[this.valueState]:pa.Information}get badgeAccessibleName(){return`${this.accessibleName?this.accessibleName:B(ws,dD)}`}get ariaTitle(){switch(pa[this.valueState]){case pa.Edit:return B(ws,lD);case pa.Information:return B(ws,uD);case pa.Success:return B(ws,_D);case pa.Error:return B(ws,hD);case pa.Warning:return B(ws,cD)}}};D_([d()],Zs.prototype,"valueState",void 0);D_([d()],Zs.prototype,"size",void 0);D_([d({type:String})],Zs.prototype,"accessibleName",void 0);D_([V("@sapudex/web-components")],Zs,"i18nBundle",void 0);Zs=ws=D_([T({tag:"udex-status-badge",renderer:A,styles:PH,template:RH,dependencies:[R]})],Zs);Zs.define();const I8=Zs,LH="favorite",NH="M11.827 9.307c-.125.084-.156.177-.094.281l2.25 6.06c.041.104.015.197-.078.28-.094.084-.193.094-.297.032L8.14 12.087c-.105-.062-.198-.062-.282 0L2.392 15.96c-.104.062-.203.052-.297-.031-.093-.084-.12-.177-.078-.281l2.25-6.06c.041-.125.01-.218-.094-.28L.112 6.433c-.105-.063-.136-.151-.094-.266.042-.114.114-.171.219-.171h5.186c.104 0 .187-.052.25-.157L7.766.156C7.807.052 7.886 0 8 0c.115 0 .193.052.234.156l2.094 5.684c.041.105.124.157.25.157h5.154c.125 0 .209.057.25.171.042.115.01.203-.094.266l-4.06 2.873Z",MH=!1,OH="0 0 16 16",FH="SAP-icons-v4",zH="@ui5/webcomponents-icons";U(LH,{pathData:NH,ltr:MH,viewBox:OH,collection:FH,packageName:zH});const $H="favorite",HH="m8.684.435 2.073 4.607 4.572.458c.607.06.89.812.474 1.258l-3.243 3.474.93 4.878c.115.605-.541 1.093-1.087.805L8 13.598l-4.403 2.317c-.546.287-1.202-.2-1.087-.805l.93-4.878L.196 6.758C-.219 6.312.064 5.56.671 5.5l4.571-.458L7.368.34c.314-.493 1.076-.44 1.316.095Z",XH=!1,UH="0 0 16 16",jH="SAP-icons-v5",VH="@ui5/webcomponents-icons";U($H,{pathData:HH,ltr:XH,viewBox:UH,collection:jH,packageName:VH});const B8="favorite",GH="unfavorite",WH="M.268 6h5.155c.125 0 .208-.052.25-.156L7.766.156C7.807.052 7.89 0 8.016 0c.104 0 .177.052.218.156l2.094 5.688c.041.104.124.156.25.156h5.186c.104 0 .177.057.218.172.042.114.01.203-.094.266l-4.06 2.875c-.084.062-.115.156-.095.28l2.25 6.063c.041.104.031.188-.032.25a.3.3 0 0 1-.218.094c-.063 0-.104-.01-.125-.031L8.14 12.094c-.021-.021-.063-.031-.125-.031-.084 0-.136.01-.157.03L2.392 15.97c-.02.02-.062.031-.125.031a.3.3 0 0 1-.218-.094c-.063-.062-.073-.146-.032-.25l2.25-6.062c.041-.125.01-.219-.094-.281L.112 6.437c-.105-.062-.136-.15-.094-.265C.06 6.057.143 6 .268 6Zm4.499 2.5c.229.167.385.38.468.64.083.261.073.527-.031.797L3.798 13.75l3.5-2.469c.207-.146.447-.219.718-.219.25 0 .479.063.687.188l3.499 2.5-1.406-3.813a1.17 1.17 0 0 1-.031-.796c.083-.26.24-.474.468-.641L13.39 7h-2.812c-.562 0-.958-.27-1.187-.813l-1.374-3.78-1.406 3.78C6.38 6.73 5.985 7 5.423 7h-2.78l2.124 1.5Z",qH=!1,YH="0 0 16 16",KH="SAP-icons-v4",ZH="@ui5/webcomponents-icons";U(GH,{pathData:WH,ltr:qH,viewBox:YH,collection:KH,packageName:ZH});const JH="unfavorite",QH="m8.683.435 2.072 4.607 4.572.458c.607.06.89.812.474 1.258l-3.243 3.474.93 4.878c.116.605-.54 1.093-1.086.805l-4.403-2.317-4.403 2.317c-.545.288-1.201-.2-1.086-.805l.929-4.878L.197 6.758C-.22 6.312.064 5.56.67 5.5l4.57-.458L7.368.34C7.68-.153 8.443-.1 8.683.435ZM6.432 6.054a.75.75 0 0 1-.61.438l-3.495.35 2.468 2.644a.751.751 0 0 1 .189.653l-.71 3.722 3.375-1.776a.752.752 0 0 1 .7 0l3.374 1.776-.709-3.722a.75.75 0 0 1 .189-.653l2.467-2.645-3.494-.349a.75.75 0 0 1-.61-.438L8 2.57 6.432 6.054Z",eX=!1,tX="0 0 16 16",oX="SAP-icons-v5",iX="@ui5/webcomponents-icons";U(JH,{pathData:QH,ltr:eX,viewBox:tX,collection:oX,packageName:iX});function rX(){return l("div",{class:"ui5-rating-indicator-root",role:"slider","aria-roledescription":this._ariaRoleDescription,"aria-valuemin":0,"aria-valuenow":this.value,"aria-valuemax":this.max,"aria-valuetext":`${this.value} of ${this.max}`,"aria-orientation":"horizontal","aria-disabled":this._ariaDisabled,"aria-readonly":this.ariaReadonly,"aria-description":this._ariaDescription,tabindex:this.effectiveTabIndex,onFocusIn:this._onfocusin,onClick:this._onclick,onKeyDown:this._onkeydown,title:this.ratingTooltip,"aria-label":this._ariaLabel,children:l("ul",{class:"ui5-rating-indicator-list","aria-hidden":"true",children:this._stars.map(o=>aX.call(this,o))})})}function aX(o){return o.selected?l("li",{"data-ui5-value":o.index,class:"ui5-rating-indicator-item ui5-rating-indicator-item-sel",children:l(R,{"data-ui5-value":o.index,name:this.ratedIcon})}):o.halfStar?g("li",{class:"ui5-rating-indicator-item ui5-rating-indicator-item-half",children:[l("div",{class:"ui5-rating-indicator-half-icon-wrapper ui5-rating-indicator-half-icon-left",children:l(R,{"data-ui5-value":o.index,name:this.ratedIcon})}),l("div",{class:"ui5-rating-indicator-half-icon-wrapper ui5-rating-indicator-half-icon-right",children:l(R,{"data-ui5-value":o.index,name:this.unratedIcon})})]}):this.readonly||this.displayOnly?l("li",{class:"ui5-rating-indicator-item ui5-rating-indicator-item-unsel",children:l(R,{"data-ui5-value":o.index,name:this.ratedIcon})}):this.disabled?l("li",{class:"ui5-rating-indicator-item ui5-rating-indicator-item-unsel",children:l(R,{"data-ui5-value":o.index,name:this.ratedIcon})}):l("li",{"data-ui5-value":o.index,class:"ui5-rating-indicator-item ui5-rating-indicator-item-unsel",children:l(R,{"data-ui5-value":o.index,name:this.unratedIcon})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const nX=`:host{vertical-align:middle}:host(:not([hidden])){display:inline-block;font-size:24px;margin:var(--_ui5_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);cursor:initial;outline:none}:host([readonly]),:host([display-only]){cursor:initial}:host([readonly]) .ui5-rating-indicator-item-unsel,:host([display-only]) .ui5-rating-indicator-item-unsel{padding-inline:var(--_ui5_rating_indicator_readonly_item_spacing);width:var(--_ui5_rating_indicator_readonly_item_width);height:var(--_ui5_rating_indicator_readonly_item_height)}:host(:not([readonly]):not([disabled]):not([display-only])) .ui5-rating-indicator-root:hover{opacity:.9}:host([desktop]:not([disabled]):not([display-only])) .ui5-rating-indicator-root:focus,:host(:not([disabled]):not([display-only])) .ui5-rating-indicator-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5_rating_indicator_outline_offset);border-radius:var(--_ui5_rating_indicator_border_radius)}:host([size="S"]) .ui5-rating-indicator-item{font-size:var(--_ui5_rating_indicator_item_size_s)}:host([size="L"]) .ui5-rating-indicator-item{font-size:var(--_ui5_rating_indicator_item_size_l)}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.ui5-rating-indicator-root{outline:none;position:relative;padding:var(--_ui5_rating_indicator_component_padding)}.ui5-rating-indicator-list{list-style-type:none;display:flex;align-items:center;margin:0;padding:0}.ui5-rating-indicator-item{position:relative;width:var(--_ui5_rating_indicator_item_width);height:var(--_ui5_rating_indicator_item_height)}:host([size="L"]) .ui5-rating-indicator-item:not(:last-child){margin-inline-end:.25rem}.ui5-rating-indicator-item:not(:last-child){margin-inline-end:.1875rem}.ui5-rating-indicator-item [ui5-icon]{width:100%;height:100%;color:inherit;user-select:none}.ui5-rating-indicator-item.ui5-rating-indicator-item-sel{color:var(--sapContent_RatedColor)}.ui5-rating-indicator-item.ui5-rating-indicator-item-unsel{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-item.ui5-rating-indicator-item-half{display:flex;flex-direction:row}.ui5-rating-indicator-half-icon-wrapper{width:50%;height:100%;overflow:hidden;position:relative}.ui5-rating-indicator-half-icon-wrapper [ui5-icon]{position:absolute;width:var(--_ui5_rating_indicator_item_width);height:var(--_ui5_rating_indicator_item_height);font-size:inherit}.ui5-rating-indicator-half-icon-left{color:var(--sapContent_RatedColor)}.ui5-rating-indicator-half-icon-left [ui5-icon]{inset-inline-start:0}.ui5-rating-indicator-half-icon-right{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-half-icon-right [ui5-icon]{inset-inline-end:0}
|
|
544
544
|
`;var Zi=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},jc;let Oo=jc=class extends z{constructor(){super(),this.value=0,this.max=5,this.size="M",this.disabled=!1,this.readonly=!1,this.displayOnly=!1,this.required=!1,this.ratedIcon="favorite",this.unratedIcon="unfavorite",this._stars=[]}onEnterDOM(){se()&&this.setAttribute("desktop","")}onBeforeRendering(){this.calcState()}calcState(){this._stars=[];for(let e=1;e<this.max+1;e++){const t=Math.round((this.value-Math.floor(this.value))*10);let i=!1,a=this.value;Math.floor(this.value)+1===e&&t>2&&t<8?i=!0:t<=2?a=Math.floor(this.value):t>=8&&(a=Math.ceil(this.value)),this._stars.push({selected:e<=a,index:e,halfStar:i})}}_onclick(e){const t=e.target;if(!(t instanceof HTMLElement)||this.disabled||this.readonly||this.displayOnly)return;const i=t.getAttribute("data-ui5-value");i!==null&&(this.value=parseInt(i),this.value===this._liveValue&&(this.value=0),this._liveValue!==this.value&&(this.fireDecoratorEvent("change"),this._liveValue=this.value))}_onkeydown(e){if(this.disabled||this.readonly||this.displayOnly){K(e)&&e.preventDefault();return}const t=Be(e)||we(e),i=Se(e)||Ne(e),a=K(e)||ie(e),r=lt(e),n=Ot(e),s=e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105;if(t||i||a||r||n||s){if(e.preventDefault(),t&&this.value>0)this.value=Math.round(this.value-1);else if(i&&this.value<this.max)this.value=Math.round(this.value+1);else if(a){const u=Math.round(this.value+1);this.value=u>this.max?0:u}else if(r)this.value=0;else if(n)this.value=this.max;else if(s){const u=parseInt(e.key);this.value=u>this.max?this.max:u}this.fireDecoratorEvent("change")}}_onfocusin(){this.disabled||this.displayOnly||(this._liveValue=this.value)}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled||this.displayOnly?-1:e?parseInt(e):0}get ratingTooltip(){return this.tooltip?this.tooltip:p5()?this.defaultTooltip:void 0}get defaultTooltip(){return jc.i18nBundle.getText(tB)}get _ariaRoleDescription(){return jc.i18nBundle.getText(oB)}get _ariaDisabled(){return this.disabled||this.displayOnly||void 0}get _ariaLabel(){return Lo(this)}get _ariaDescription(){return this.required?jc.i18nBundle.getText(iB):void 0}get ariaReadonly(){if(!this.displayOnly)return this.readonly?"true":void 0}};Zi([d({type:Number})],Oo.prototype,"value",void 0);Zi([d({type:Number})],Oo.prototype,"max",void 0);Zi([d()],Oo.prototype,"size",void 0);Zi([d({type:Boolean})],Oo.prototype,"disabled",void 0);Zi([d({type:Boolean})],Oo.prototype,"readonly",void 0);Zi([d({type:Boolean})],Oo.prototype,"displayOnly",void 0);Zi([d()],Oo.prototype,"accessibleName",void 0);Zi([d()],Oo.prototype,"accessibleNameRef",void 0);Zi([d({type:Boolean})],Oo.prototype,"required",void 0);Zi([d()],Oo.prototype,"tooltip",void 0);Zi([d()],Oo.prototype,"ratedIcon",void 0);Zi([d()],Oo.prototype,"unratedIcon",void 0);Zi([d({type:Array,noAttribute:!0})],Oo.prototype,"_stars",void 0);Zi([V("@ui5/webcomponents")],Oo,"i18nBundle",void 0);Oo=jc=Zi([T({tag:"ui5-rating-indicator",languageAware:!0,renderer:A,styles:nX,template:rX}),x("change",{bubbles:!0})],Oo);Oo.define();const Ql=Oo;function sX(){const o="udex-rating-indicator",e="ui5-rating-indicator";return g("div",{class:`${o} ${o}--${this.display.toLowerCase()} ${e}-root`,role:this.readonly?"img":"slider","aria-roledescription":this._ariaRoleDescription,"aria-valuemin":0,"aria-valuenow":this.value,"aria-valuemax":this.max,"aria-valuetext":`${this.value} of ${this.max}`,"aria-orientation":"horizontal","aria-disabled":this._ariaDisabled,"aria-readonly":this.ariaReadonly,"aria-description":this._ariaDescription,tabindex:this.effectiveTabIndex,onFocusIn:this._onfocusin,onClick:this._onclick,onKeyDown:this._onkeydown,title:this.ratingTooltip,"aria-label":this.readonly?this._readonlyAriaLabel:this._ariaLabel,children:[l("ul",{class:`${o}__list ${e}-list`,"aria-hidden":"true",children:this._stars.map(t=>l("li",{"data-ui5-value":t.index,class:{"udex-rating-indicator__item ui5-rating-indicator-item":!0,"udex-rating-indicator__item-sel ui5-rating-indicator-item-sel":t.selected,"udex-rating-indicator__item-unsel ui5-rating-indicator-item-unsel":!t.selected&&!t.halfStar,"udex-rating-indicator__item-half ui5-rating-indicator-item-half udex-rating-indicator__item-unsel":t.halfStar&&!t.selected},children:dX.call(this,t,e,o)}))}),(this.hasRatingCount||this.hasTotalCount)&&g("div",{class:`${o}__total`,children:[this.hasRatingCount&&g(P,{children:[this.ratingCount," "]}),this.hasTotalCount&&g(P,{children:["(",this.totalCount,")"]})]})]})}function dX(o,e,t){return o.selected?l(R,{"data-ui5-value":o.index,name:"favorite"}):o.halfStar?g(P,{children:[l(R,{"data-ui5-value":o.index,name:this.readonly?"favorite":"unfavorite"}),l("div",{class:`${t}__half-icon-wrapper ${e}-half-icon-wrapper`,children:l(R,{"data-ui5-value":o.index,name:"favorite",class:`${t}__half-icon ${e}-half-icon`})})]}):this.readonly?l(R,{"data-ui5-value":o.index,name:"favorite"}):l(R,{"data-ui5-value":o.index,name:"unfavorite"})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const lX=`:host{--udex_rating_indicator_readonly_item_width: 1rem;--udex_rating_indicator_readonly_item_height: 1rem;--udex_rating_indicator_item_width: 1.5rem;--udex_rating_indicator_item_height: 1.5rem;--udex_rating_indicator_mobile_item_padding: 10px;--udex_rating_indicator_disabled_opacity: .4;--udex-rating_indicator_items_gap: var(--udexSpacer8);--udex-rating_indicator_mobile_items_gap: var(--udexSpacer2);--udex-rating_indicator_rated_color: var(--sapContent_RatedColor, #E76500);--udex-rating_indicator_unrated_color: var(--sapContent_RatedColor, #E76500);--udex-rating_indicator_read-only-unrated_color: var(--udexColorGrey4 ,#A9B4BE);--udex-rating_indicator_disabled-unrated_color: var(--udexColorMango6, #E76500);--udex-rating_indicator_rated_hover_color: var(--udexColorMango7, #C35500);--udex-rating_indicator_unrated_hover_color: var(--udexColorMango7, #C35500);--udex-rating_indicator_total_count_color: var(--sapTextColor, #223548);--udex-rating_indicator_rating_font_size: 18px;--udex-rating_indicator_rating_line_height: 27px}:host(:not([hidden])){display:inline-flex;margin:0;cursor:pointer}:host([disabled]){opacity:var(--udex_rating_indicator_disabled_opacity);cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .udex-rating-indicator__item-unsel{width:var(--udex_rating_indicator_item_width);height:var(--udex_rating_indicator_item_width);padding-inline:0}:host([readonly]) .udex-rating-indicator__item-unsel{width:var(--udex_rating_indicator_readonly_item_width);height:var(--udex_rating_indicator_readonly_item_height);padding-inline:0}:host([disabled]) .udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_disabled-unrated_color)}:host([readonly]) .udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_read-only-unrated_color)}:host([desktop]:not([disabled]):not([display-only])) .ui5-rating-indicator-root:focus,:host(:not([disabled]):not([display-only])) .ui5-rating-indicator-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:.125rem;border-radius:.25rem}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.udex-rating-indicator{font-family:var(--sapFontFamily);font-size:var(--sapFontSize, 16px);padding:0;outline:none;position:relative;display:inline-flex;align-items:center}.udex-rating-indicator__total{color:var(--udex-rating_indicator_total_count_color);font-size:var(--udex-rating_indicator_rating_font_size);line-height:var(--udex-rating_indicator_rating_line_height);padding-inline-start:var(--udexSpacer12)}.udex-rating-indicator__list{list-style-type:none;display:flex;align-items:center;margin:0;padding:0}.udex-rating-indicator__item{position:relative;width:var(--udex_rating_indicator_item_width);height:var(--udex_rating_indicator_item_height)}.udex-rating-indicator__item:not(:last-child){margin-inline-end:var(--udex-rating_indicator_items_gap)}.udex-rating-indicator__item [ui5-icon]{width:100%;height:100%;color:inherit;user-select:none}.udex-rating-indicator__item.udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_unrated_color)}.udex-rating-indicator__item.udex-rating-indicator__item-sel,.udex-rating-indicator__item.udex-rating-indicator__item-half{color:var(--udex-rating_indicator_rated_color)}.udex-rating-indicator__item [ui5-icon].udex-rating-indicator__half-icon{position:absolute;inset-inline-start:50%;color:var(--udex-rating_indicator_rated_color)}:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__item-sel,:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__half-icon,:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__item-half{color:var(--udex-rating_indicator_rated_hover_color)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:1}:host(:not([readonly]):not([disabled])) .udex-rating-indicator:hover .udex-rating-indicator__item-unsel{color:var(--udex-rating_indicator_unrated_hover_color)}.udex-rating-indicator__half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden}.udex-rating-indicator--mobile .udex-rating-indicator__half-icon-wrapper{top:var(--udex_rating_indicator_mobile_item_padding)}.udex-rating-indicator--mobile .udex-rating-indicator__item [ui5-icon].udex-rating-indicator__half-icon{height:var(--udex_rating_indicator_item_height)}.udex-rating-indicator--mobile .udex-rating-indicator__item{padding:var(--udex_rating_indicator_mobile_item_padding)}:host([readonly]) .udex-rating-indicator--mobile .udex-rating-indicator__item-unsel,:host([disabled]) .udex-rating-indicator--mobile .udex-rating-indicator__item-unsel{padding-left:var(--udex_rating_indicator_mobile_item_padding);padding-right:var(--udex_rating_indicator_mobile_item_padding)}:host([readonly]) .udex-rating-indicator--mobile .udex-rating-indicator__half-icon-wrapper{top:6px;width:16px;left:2px}.udex-rating-indicator--mobile .udex-rating-indicator__item:not(:last-child){margin-inline-end:var(--udex-rating_indicator_mobile_items_gap)}
|
|
545
545
|
`;var R_=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},R1;(function(o){o.Desktop="Desktop",o.Mobile="Mobile"})(R1||(R1={}));let Js=class extends Ql{constructor(){super(...arguments),this.display=R1.Desktop}get hasTotalCount(){return!!this.totalCount||this.totalCount===0}get hasRatingCount(){return!!this.ratingCount||this.ratingCount===0}getAriaLabelParts(){return[Lo(this)||"",this.ratingCount?`${B(Ql,f3)} ${this.ratingCount}`:"",this.totalCount?`${B(Ql,m3)} ${this.totalCount}`:""]}get _ariaLabel(){return this.getAriaLabelParts().filter(Boolean).join(", ")}get _readonlyAriaLabel(){return[...this.getAriaLabelParts(),B(Ql,Gv),`${this.value} of ${this.max}`].filter(Boolean).join(", ")}get _ariaRoleDescription(){return B(Ql,this.readonly?S5:Gv)}};R_([d()],Js.prototype,"display",void 0);R_([d()],Js.prototype,"totalCount",void 0);R_([d()],Js.prototype,"ratingCount",void 0);R_([V("@sapudex/web-components")],Js,"i18nBundle",void 0);Js=R_([T({tag:"udex-rating-indicator",renderer:A,styles:[Ql.styles,lX],template:sX,dependencies:[R]})],Js);Js.define();const zh=Js;class xs{static hasGroup(e){return this.groups.has(e)}static getGroup(e){return this.groups.get(e)}static getCheckedRadioFromGroup(e){return this.checkedRadios.get(e)}static removeGroup(e){return this.checkedRadios.delete(e),this.groups.delete(e)}static addToGroup(e,t){this.hasGroup(t)?(this.enforceSingleSelection(e,t),this.getGroup(t)&&this.getGroup(t).push(e)):this.createGroup(e,t),this.updateTabOrder(t)}static removeFromGroup(e,t){const i=this.getGroup(t);if(!i)return;const a=this.getCheckedRadioFromGroup(t);i.forEach((r,n,s)=>{if(e._id===r._id)return s.splice(n,1)}),a===e&&this.checkedRadios.set(t,null),i.length||this.removeGroup(t),this.updateTabOrder(t)}static createGroup(e,t){e.checked&&this.checkedRadios.set(t,e),this.groups.set(t,[e])}static selectNextItem(e,t){const i=this.getGroup(t);if(!i)return;const a=i.length,r=i.indexOf(e);if(a<=1)return;const n=this._nextFocusable(r,i);n&&this.updateSelectionInGroup(n,t)}static updateFormValidity(e){const t=this.getGroup(e);if(!t)return;const i=t.some(r=>r.required),a=t.some(r=>r.checked);t.forEach(r=>{r._groupChecked=a,r._groupRequired=i})}static updateTabOrder(e){const t=this.getGroup(e);if(!t)return;const i=t.some(a=>a.checked);t.filter(a=>!a.disabled).forEach((a,r)=>{let n=$r();n!=null&&n.classList.contains("ui5-radio-root")&&(n=n.getRootNode(),n instanceof ShadowRoot&&(n=n.host)),i?n!=null&&n.hasAttribute("ui5-radio-button")&&n.readonly?a._tabIndex=n===a&&a.readonly?0:-1:a._tabIndex=a.checked?0:-1:a._tabIndex=r===0?0:-1})}static selectPreviousItem(e,t){const i=this.getGroup(t);if(!i)return;const a=i.length,r=i.indexOf(e);if(a<=1)return;const n=this._previousFocusable(r,i);n&&this.updateSelectionInGroup(n,t)}static selectItem(e,t){this.updateSelectionInGroup(e,t),this.updateTabOrder(t),this.updateFormValidity(t)}static updateSelectionInGroup(e,t){const i=this.getCheckedRadioFromGroup(t);i&&!e.readonly&&(this._deselectRadio(i),this.checkedRadios.set(t,e)),e&&(e.focus(),e.readonly?setTimeout(()=>{this.updateTabOrder(t)},0):this._selectRadio(e))}static _deselectRadio(e){e&&(e.checked=!1)}static _selectRadio(e){e.checked=!0,e._checked=!0,e.fireDecoratorEvent("change")}static _nextFocusable(e,t){if(!t)return null;const i=t.length;let a=null;if(e===i-1){if(t[0].disabled)return this._nextFocusable(1,t);a=t[0]}else{if(t[e+1].disabled)return this._nextFocusable(e+1,t);a=t[e+1]}return a}static _previousFocusable(e,t){const i=t.length;let a=null;if(e===0){if(t[i-1].disabled)return this._previousFocusable(i-1,t);a=t[i-1]}else{if(t[e-1].disabled)return this._previousFocusable(e-1,t);a=t[e-1]}return a}static enforceSingleSelection(e,t){const i=this.getCheckedRadioFromGroup(t);e.checked?i?e!==i&&(this._deselectRadio(i),this.checkedRadios.set(t,e)):this.checkedRadios.set(t,e):e===i&&this.checkedRadios.set(t,null),this.updateTabOrder(t),this.updateFormValidity(t)}static get groups(){return this._groups||(this._groups=new Map),this._groups}static get checkedRadios(){return this._checkedRadios||(this._checkedRadios=new Map),this._checkedRadios}}function uX(){return g("div",{role:"radio",class:"ui5-radio-root",part:"root","aria-checked":this.checked,"aria-disabled":this.effectiveAriaDisabled,"aria-describedby":this.effectiveAriaDescribedBy,"aria-label":this.ariaLabelText,"aria-labelledby":this.ariaLabelledBy,tabindex:this.effectiveTabIndex,onClick:this._onclick,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onMouseDown:this._onmousedown,onMouseUp:this._onmouseup,onFocusOut:this._onfocusout,children:[g("div",{class:{"ui5-radio-inner":!0,"ui5-radio-inner--hoverable":!this.disabled&&!this.readonly&&se()},children:[g("svg",{class:"ui5-radio-svg",focusable:"false","aria-hidden":"true",children:[l("circle",{part:"outer-ring",class:"ui5-radio-svg-outer",cx:"50%",cy:"50%",r:"50%"}),l("circle",{part:"inner-ring",class:"ui5-radio-svg-inner",cx:"50%",cy:"50%"})]}),l("input",{type:"radio",required:this.required,checked:this.checked,readonly:this.readonly,disabled:this.disabled,name:this.name,"data-sap-no-tab-ref":!0})]}),this.text&&l($0,{id:`${this._id}-label`,class:"ui5-radio-label",for:this._id,wrappingType:this.wrappingType,children:this.text}),this.hasValueState&&l("span",{id:`${this._id}-descr`,class:"ui5-hidden-text",children:this.valueStateText})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const cX=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{vertical-align:middle}:host(:not([hidden])){display:inline-flex;align-items:center}:host{min-width:var(--_ui5_radio_button_min_width);max-width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--_ui5_radio_button_color);border-radius:var(--_ui5_radio_button_border_radius);font-size:var(--sapFontSize)}:host(:not([disabled])) .ui5-radio-root{cursor:pointer}:host([checked]){color:var(--_ui5_radio_button_checked_fill)}:host([checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_inner_ring_color)}:host([checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_color)}:host([disabled]) .ui5-radio-root{color:var(--_ui5_radio_button_color);opacity:var(--sapContent_DisabledOpacity)}:host([disabled][checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_color)}:host(:not([disabled])[desktop]) .ui5-radio-root:focus:before,:host(:not([disabled])) .ui5-radio-root:focus-visible:before{content:"";display:var(--_ui5_radio_button_focus_outline);position:absolute;inset:var(--_ui5_radio_button_focus_dist);pointer-events:none;border:var(--_ui5_radio_button_border_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5_radio_button_border_radius)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_hover_color)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])[checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_checked_hover_color)}.ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer,:host([checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill)}:host([active][checked]:not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_checked_hover_color)}:host([active]:not([checked]):not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_active_color)}:host([text]) .ui5-radio-root{padding-inline-end:var(--_ui5_radio_button_border_width)}:host([text][desktop]) .ui5-radio-root:focus:before,:host([text]) .ui5-radio-root:focus-visible:before{inset-inline-end:0}:host([text]) .ui5-radio-inner{padding-inline-end:var(--_ui5_radio_button_outer_ring_padding_with_label)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_read_only_inner_ring_color)}:host([readonly]) .ui5-radio-root .ui5-radio-svg-outer{fill:var(--sapField_ReadOnly_Background);stroke:var(--sapField_ReadOnly_BorderColor);stroke-dasharray:var(--_ui5_radio_button_read_only_border_type);stroke-width:var(--_ui5_radio_button_read_only_border_width)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-svg-outer{stroke-width:var(--sapField_InvalidBorderWidth)}:host([value-state="Information"]) .ui5-radio-svg-outer{stroke-width:var(--_ui5_radio_button_information_border_width)}:host([value-state="Negative"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_error_fill)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InvalidColor);fill:var(--sapField_InvalidBackground)}:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_error)}:host([value-state="Critical"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_warning_fill)}:host([value-state="Critical"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_WarningColor);fill:var(--sapField_WarningBackground)}:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_warning)}:host([value-state="Positive"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_success_fill)}:host([value-state="Positive"]) .ui5-radio-svg-outer,:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_SuccessColor);fill:var(--sapField_SuccessBackground)}:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_success)}:host([value-state="Information"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_checked_information_fill)}:host([value-state="Information"]) .ui5-radio-svg-outer,:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InformationColor);fill:var(--sapField_InformationBackground)}:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5_radio_button_hover_fill_information)}:host([value-state="Negative"]) .ui5-radio-root,:host([value-state="Critical"]) .ui5-radio-root,:host([value-state="Information"]) .ui5-radio-root{stroke-dasharray:var(--_ui5_radio_button_warning_error_border_dash)}.ui5-radio-root{height:auto;position:relative;display:inline-flex;align-items:center;flex-wrap:nowrap;outline:none;max-width:100%;box-sizing:border-box;border:var(--_ui5_radio_button_border);border-radius:var(--_ui5_radio_button_border_radius);padding-block:var(--_ui5_radio_button_label_side_padding);padding-inline-start:var(--_ui5_radio_button_outer_ring_padding)}:host([text]) .ui5-radio-root{padding-inline-start:var(--_ui5_radio_button_outer_ring_padding_with_label)}.ui5-radio-inner{display:flex;align-items:center;align-self:start;padding-inline-end:var(--_ui5_radio_button_outer_ring_padding);flex:1;pointer-events:none}.ui5-radio-inner{outline:none}.ui5-radio-inner input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit;margin:0}[ui5-label].ui5-radio-label{display:flex;align-items:center;padding-inline-end:var(--_ui5_radio_button_label_offset);max-width:100%;pointer-events:none;color:var(--_ui5_radio_button_label_color);overflow-wrap:break-word;font-size:inherit}:host([wrapping-type="None"][text]) [ui5-label].ui5-radio-label{text-overflow:ellipsis;overflow:hidden}.ui5-radio-svg{height:var(--_ui5_radio_button_svg_size);width:var(--_ui5_radio_button_svg_size);overflow:visible;pointer-events:none}.ui5-radio-svg-outer{fill:var(--_ui5_radio_button_outer_ring_bg);stroke:currentColor;stroke-width:var(--_ui5_radio_button_outer_ring_width)}.ui5-radio-svg-inner{fill:none;r:var(--_ui5_radio_button_inner_ring_radius)}.ui5-radio-svg-outer,.ui5-radio-svg-inner{flex-shrink:0}:host(.ui5-li-singlesel-radiobtn) .ui5-radio-root .ui5-radio-inner .ui5-radio-svg-outer{fill:var(--sapList_Background)}
|
|
546
546
|
`;var di=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Md;let S7=!1,Mg,co=Md=class extends z{get formValidityMessage(){return Md.i18nBundle.getText(CA)}get formValidity(){return{valueMissing:this._groupRequired&&!this._groupChecked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value||"on":null}constructor(){super(),this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.valueState="None",this.value="",this.wrappingType="Normal",this.active=!1,this._groupChecked=!1,this._groupRequired=!1,this._name="",this._checked=!1,this._deactivate=()=>{Mg&&(Mg.active=!1)},S7||(document.addEventListener("mouseup",this._deactivate),S7=!0)}onAfterRendering(){this.syncGroup()}onEnterDOM(){se()&&this.setAttribute("desktop","")}onExitDOM(){this.syncGroup(!0)}syncGroup(e){const t=this._name,i=this.name,a=this._checked,r=this.checked;e&&xs.removeFromGroup(this,t),i!==t?(t&&xs.removeFromGroup(this,t),i&&xs.addToGroup(this,i)):i&&this.isConnected&&xs.enforceSingleSelection(this,i),this.name&&r!==a&&xs.updateTabOrder(this.name),this._name=this.name||"",this._checked=this.checked}_onclick(){return this.toggle()}_handleDown(e){const t=this.name;t&&(e.preventDefault(),xs.selectNextItem(this,t))}_handleUp(e){const t=this.name;t&&(e.preventDefault(),xs.selectPreviousItem(this,t))}_onkeydown(e){if(K(e))return this.active=!0,e.preventDefault();if(ie(e))return this.active=!0,this.toggle();const t=this.effectiveDir==="rtl";(Be(e)||!t&&Se(e)||t&&we(e))&&this._handleDown(e),(Ne(e)||!t&&we(e)||t&&Se(e))&&this._handleUp(e)}_onkeyup(e){K(e)&&this.toggle(),this.active=!1}_onmousedown(){this.active=!0,Mg=this}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}toggle(){return this.canToggle()?this.name?(xs.selectItem(this,this.name),this):(this.checked=!this.checked,this.fireDecoratorEvent("change"),this):this}canToggle(){return!(this.disabled||this.readonly||this.checked)}get effectiveAriaDisabled(){return this.disabled||this.readonly?!0:void 0}get ariaLabelText(){return Lo(this)||void 0}get ariaLabelledBy(){if(!this.ariaLabelText)return this.text?`${this._id}-label`:void 0}get effectiveAriaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==fe.None}get valueStateText(){switch(this.valueState){case fe.Negative:return Md.i18nBundle.getText(f_);case fe.Critical:return Md.i18nBundle.getText(b_);case fe.Positive:return Md.i18nBundle.getText(x_);case fe.Information:return Md.i18nBundle.getText(C5);default:return""}}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled?-1:this.name?this._tabIndex:e?parseInt(e):0}};di([d({type:Boolean})],co.prototype,"disabled",void 0);di([d({type:Boolean})],co.prototype,"readonly",void 0);di([d({type:Boolean})],co.prototype,"required",void 0);di([d({type:Boolean})],co.prototype,"checked",void 0);di([d()],co.prototype,"text",void 0);di([d()],co.prototype,"valueState",void 0);di([d()],co.prototype,"name",void 0);di([d()],co.prototype,"value",void 0);di([d()],co.prototype,"wrappingType",void 0);di([d()],co.prototype,"accessibleName",void 0);di([d()],co.prototype,"accessibleNameRef",void 0);di([d({type:Number})],co.prototype,"_tabIndex",void 0);di([d({type:Boolean})],co.prototype,"active",void 0);di([d({type:Boolean,noAttribute:!0})],co.prototype,"_groupChecked",void 0);di([d({type:Boolean,noAttribute:!0})],co.prototype,"_groupRequired",void 0);di([V("@ui5/webcomponents")],co,"i18nBundle",void 0);co=Md=di([T({tag:"ui5-radio-button",languageAware:!0,formAssociated:!0,renderer:A,template:uX,styles:cX}),x("change",{bubbles:!0})],co);co.define();const Gd=co;var Tm;(function(o){o.Error="Error",o.Information="Information",o.Success="Success",o.Warning="Warning",o.None="None"})(Tm||(Tm={}));const kc=Tm;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const hX=`:host{--udex-radio-button-group-color-display-only-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-radio-button-group-color-display-only-border: var(--sapField_TextColor, #223548);--udex-radio-button-group-color-display-only-selection: var(--sapField_TextColor, #223548);--udex-radio-button-checked-fill: var(--sapContent_Selected_ForegroundColor, #0070f2);--udex-radio-button-min-width: 42px;--udex-radio-button-min-height: var(--udexSpacer24, 24px);--udex-radio-button-color: var(--udexColorGrey6 ,#5B738B);--udex-radio-button-border-radius: var(--udexRadiusXS);--udex-radio-button-inner-size: var(--udexSpacer24, 24px);--udex-radio-button-outer-ring-padding-with-label: 0;--udex-radio-button-label-offset: var(--udexSpacer12, 12px);--udex-radio-button-label-color: var(--udexColorGrey9, #223548);--udex-radio-button-svg-size: var(--udexSpacer24, 24px);--udex-radio-button-outer-ring-color: var(--sapField_BorderColor, #5b738b);--udex-radio-button-outer-ring-bg: var(--sapField_Background, #FFF);--udex-radio-button-outer-ring-width: .063rem;--udex-radio-button-inner-ring-radius: 25%;--udex-radio-button-inner-ring-color: var(--udexColorBlue8, #0057D2);--udex-radio-button-outer-ring-checked-hover-color: var(--sapContent_Selected_ForegroundColor, #0070f2);--udex-radio-button-outer-ring-hover-color: var(--sapContent_Selected_ForegroundColor, #0070f2);--udex-radio-button-hover-fill: var(--udexColorBlue1 , #EBF8FF);--udex-radio-button-hover-fill-information: var(--sapField_Background, #FFF);--udex-radio-button-read-only-inner-ring-color: var(--udexColorGrey8, #354A5F);--udex-radio-button-label-side-padding:var(--udexSpacer8, 8px);--udex-radio-button-outer-ring-padding: var(--udexSpacer8, 8px)}:host(:not([hidden])){display:inline-flex}:host([text]) .ui5-radio-root{padding:0}.ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer,:host([checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--udex-radio-button-hover-fill)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--udex-radio-button-read-only-inner-ring-color)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])[checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--udex-radio-button-outer-ring-checked-hover-color)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--udex-radio-button-outer-ring-hover-color)}:host([checked]) .ui5-radio-svg-inner{fill:var(--udex-radio-button-inner-ring-color)}.ui5-radio-svg-inner{fill:none;r:var(--udex-radio-button-inner-ring-radius)}:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--udex-radio-button-hover-fill-information)}.ui5-radio-svg-outer{fill:var(--udex-radio-button-outer-ring-bg);stroke-width:var(--udex-radio-button-outer-ring-width)}.ui5-radio-svg{height:var(--udex-radio-button-svg-size);width:var(--udex-radio-button-svg-size)}.ui5-radio-inner{height:var(--udex-radio-button-inner-size);padding:var(--udex-radio-button-outer-ring-padding)}[ui5-label].ui5-radio-label{font-family:var(--sapFontFamily);font-size:var(--udexTypographyBodySFontSize, var(--sapFontSize, 16px));padding-inline-start:var(--udex-radio-button-label-offset);color:var(--udex-radio-button-label-color)}:host{min-width:var(--udex-radio-button-min-width);color:var(--udex-radio-button-color);border-radius:var(--udex-radio-button-border-radius);overflow:visible}:host([checked]){color:var(--udex-radio-button-checked-fill)}:host .ui5-radio-root{align-items:center;min-height:var(--udex-radio-button-min-height);padding-block:var(--udex-radio-button-label-side-padding);padding-inline-start:var(--udex-radio-button-outer-ring-padding)}:host([display-only]) .ui5-radio-root,:host([readonly]) .ui5-radio-root{cursor:default}:host([display-only]) .ui5-radio-root .ui5-radio-svg-outer{stroke-dasharray:none;fill:var(--udex-radio-button-group-color-display-only-background);stroke:var(--udex-radio-button-group-color-display-only-border)}:host([display-only][checked]) .ui5-radio-root .ui5-radio-svg-inner{fill:var(--udex-radio-button-group-color-display-only-selection)}:host([display-only][disabled]) .ui5-radio-root .ui5-radio-svg-outer{stroke:var(--sapField_BorderColor, #5B738B)}:host([display-only][checked][disabled]) .ui5-radio-root .ui5-radio-svg-inner{fill:var(--sapContent_Selected_ForegroundColor, #0070F2)}:host([value-state="Error"]) .ui5-radio-svg-outer{stroke:var(--udexColorRed6, #EE3939)}:host([value-state="Error"][checked]) .ui5-radio-svg-inner{fill:var(--udexColorRed8, #AA0808)}:host([value-state="Success"]) .ui5-radio-svg-outer{stroke:var(--udexColorGreen6, #36A41D)}:host([value-state="Success"][checked]) .ui5-radio-svg-inner{fill:var(--udexColorGreen8, #256F3A)}:host([value-state="Warning"]) .ui5-radio-svg-outer{stroke:var(--udexColorMango7, #C35500)}:host([value-state="Warning"][checked]) .ui5-radio-svg-inner{fill:var(--udexColorMango7, #C35500)}:host([value-state="Information"]:hover) .ui5-radio-root .ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--udexColorRed1, #FFEAF4)}:host([value-state="Error"]:hover) .ui5-radio-root .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--udexColorRed5, #FF5C77)!important;fill:var(--udexColorRed1, #FFEAF4)}:host([value-state="Success"]:hover) .ui5-radio-root .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--udexColorGreen5, #5DC122)!important;fill:var(--udexColorGreen1, #F5FAE5)}:host([value-state="Warning"]:hover) .ui5-radio-root .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--udexColorMango7, #C35500)!important;fill:var(--sapNeutralBackground, #FFFFFF)}:host([text]) .ui5-radio-inner{padding:var(--udex-radio-button-outer-ring-padding-with-label)}:host([text]:not([disabled])) .ui5-radio-root:focus:before,:host([text]:not([disabled])) .ui5-radio-root:focus-visible:before,:host([text]) .ui5-radio-root:focus:before,:host([text]) .ui5-radio-root:focus-visible:before{inset:-6px}
|
|
547
|
-
`;var P5=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let gl=class extends Gd{constructor(){super(...arguments),this.valueState=kc.None}onAfterRendering(){this.readonly=this.readonly||this.displayOnly,this.syncGroup()}get valueStateText(){switch(this.valueState){case kc.Error:return B(Gd,ic);case kc.Success:return B(Gd,rc);case kc.Information:return B(Gd,C3);case kc.Warning:return B(Gd,j0);default:return""}}};P5([d({type:Boolean})],gl.prototype,"displayOnly",void 0);P5([d()],gl.prototype,"valueState",void 0);P5([V("@sapudex/web-components")],gl,"i18nBundle",void 0);gl=P5([T({tag:"udex-radio-button",renderer:A,styles:[Gd.styles,hX]})],gl);gl.define();const A8=gl;function k7(){return g("div",{class:"udex-list__content-wrap",_id:this._id,"aria-labelledby":`${this._id}-invisibleText`,"aria-label":this.accessibleListItemName,children:[this.flag&&l("div",{class:"udex-list__flag-wrap",children:l("span",{class:"udex-list__flag",style:{backgroundPosition:this.flagPosition}})}),this.typeNumber&&g("span",{class:"udex-list__number",children:[this.numberOfItem,"."]}),this.typeCircle&&l("span",{class:"udex-list__circle",children:"•"}),this.typeIcon&&l(R,{name:this._icon,class:"udex-list__icon","accessible-role":"presentation","aria-hidden":"true",part:"icon"}),this.image&&g(y_,{class:"udex-list__avatar",part:"avatar",shape:this.imageShape,size:this.imageSize,children:[this.imageBadgeState&&l(I8,{slot:"badge","value-state":this.imageBadgeState,size:this.imageSize}),l("img",{src:this.image,alt:this.imageAlt})]}),g("div",{class:"udex-list__content",part:"content",children:[this.label?g(P,{children:[g("div",{class:"udex-list__text-holder",children:[l("span",{part:"title",innerHTML:this.label}),this.supportingText&&l("span",{class:"udex-list__supporting-text",part:"supporting",children:this.supportingText}),l("slot",{part:"content"}),this.hasRating&&l(zh,{"aria-label":this.ratingAriaLabel,value:this.rating!==void 0?Number(this.rating):void 0,"rating-count":this.ratingCount,"total-count":this.totalCount,max:this.ratingMax,display:this._displayRating,disabled:!0,readonly:!0})]}),this.additionalText&&l("div",{class:"udex-list__add-text",part:"additional-text",children:this.additionalText}),g("div",{class:"udex-list__btn-wrap",children:[this.hasFirstIcon&&l("slot",{name:"firstIcon",onClick:this._fireIconClickEvent}),this.hasSecondIcon&&l("slot",{name:"secondIcon",onClick:this._fireIconClickEvent})]})]}):g(P,{children:[g("div",{class:"udex-list__text-holder",children:[l("slot",{part:"content"}),this.supportingText&&l("span",{class:"udex-list__supporting-text",part:"supporting",children:this.supportingText}),this.hasRating&&l(zh,{"aria-label":this.ratingAriaLabel,value:this.rating!==void 0?Number(this.rating):void 0,"rating-count":this.ratingCount,"total-count":this.totalCount,max:this.ratingMax,display:this._displayRating,disabled:!0,readonly:!0})]}),this.additionalText&&l("div",{class:"udex-list__add-text",part:"additional-text",children:this.additionalText}),g("div",{class:"udex-list__btn-wrap",children:[this.hasFirstIcon&&l("slot",{name:"firstIcon",onClick:this._fireIconClickEvent}),this.hasSecondIcon&&l("slot",{name:"secondIcon",onClick:this._fireIconClickEvent})]})]}),this.collapsible&&l("div",{class:"udex-list__group-heading__icon-wrapper",children:l(me,{class:"udex-list__group-heading__icon",size:ye.Small,design:ve.Tertiary,onMouseDown:this.handleCollapseIconMouseDown,onClick:this.handleCollapseIconClick,tabindex:-1,"accessible-name":this.expandButtonAccessibleName,mode:"Interactive",icon:Ii})})]}),l("div",{class:"hidden",id:`${this._id}-invisibleText`,children:this.accessibleListItemName})]})}function _X(){return g(P,{children:[this.modeSelected&&g("div",{part:"item",tabIndex:this._useHostAriaRole?void 0:Number(this._effectiveTabIndex),"aria-disabled":this._useHostAriaRole?void 0:this._ariaDisabled,class:this.className,role:this.roleItem,"aria-checked":this.ariaCheckedValue,"aria-selected":this.ariaSelectedValue,"aria-expanded":this.ariaExpandedValue,"aria-posinset":this._ariaPosInSet||void 0,"aria-setsize":this._ariaSetSize||void 0,onFocusIn:this.handleFocusIn,onFocusOut:this.handleFocusOut,onClick:this.handleItemClick,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,divider:this.divider,_id:this._id,"data-selected":this.selected,children:[this.modeMultiSelect&&l(t8,{class:"udex-list__checkbox",part:"checkbox",tabindex:-1,indeterminate:this.indeterminate,"accessible-name":this._useHostAriaRole?void 0:`checkbox ${this.stateAccessibleName}`,checked:this.selected,disabled:this.disabled,"aria-hidden":"true"}),this.modeRadioGroup&&l(A8,{class:"udex-list__radio",part:"radio",tabindex:-1,"accessible-name":`radio ${this.stateAccessibleName}`,checked:this.selected,disabled:this.disabled}),k7.call(this)]}),this.modeSingleContent&&l("div",{part:"item",role:this.roleItem,"aria-selected":this.ariaSelectedValue,class:this.className,children:k7.call(this)})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const pX=`:host{--udex-list-item-padding-vertical: var(--udexSpacer12, 12px);--udex-list-item-padding-horizontal: var(--udexSpacer16, 16px);--udex-list-item-padding-top: var(--udex-list-item-padding-vertical);--udex-list-item-padding-bottom: var(--udex-list-item-padding-vertical);--udex-list-item-padding-inline-start: var(--udex-list-item-padding-horizontal);--udex-list-item-padding-inline-end: var(--udex-list-item-padding-horizontal);--udex-list-item-background-active: var(--sapList_Active_Background, #EAECEE);--udex-list-item-border-color-active: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-color-active: var(--sapList_Active_TextColor, #000);--udex-list-item-supporting-text-color-active: var(--sapContent_LabelColor, #475E75);--udex-list-item-background-selected-hover: var(--sapButton_Selected_Hover_Background, #D1EFFF);--udex-list-item-background-default: var(--sapList_Background, #FFF);--udex-list-item-color-default: var(--sapList_HeaderTextColor, #223548);--udex-list-item-supporting-text-color-default: var(--sapContent_LabelColor, #475E75);--udex-list-item-supporting-text-color-hover: var(--sapContent_LabelColor, #475E75);--udex-list-item-background-hover: var(--sapList_Hover_Background, #F5F6F7);--udex-list-item-color-hover: var(--sapList_HeaderTextColor, #223548);--udex-list-item-border-color-selected: var(--udexColorBlue8, #0057D2);--udex-list-item-background-selected: var(--sapList_SelectionBackgroundColor, #EBF8FF);--udex-list-item-color-selected: var(--sapList_HeaderTextColor, #223548);--udex-list-item-supporting-text-color-selected: var(--sapContent_LabelColor, #475E75);--udex-list-item-divider-border-color: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-divider-border-color-hover: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-outline-border-color: var(--udexColorBlue10, #002A86);--udex-list-item-disabled-opacity: var(--sapContent_DisabledOpacity, .4);--udex-list-item-additional-text-font-weight: 400;--udex-list-item-flag-border-color: var(--udexColorGrey2, #EAECEE);background:var(--udex-list-item-background-default);color:var(--udex-list-item-color-default);display:block;position:relative}:host([selected]):before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:var(--udex-list-item-border-color-selected)}:host([selected]:dir(rtl)):before{left:auto;right:0}:host([disabled]:not([mode="SingleContent"])){opacity:var(--udex-list-item-disabled-opacity);pointer-events:none}:host(:not([disabled]):not([mode="SingleContent"])){cursor:pointer}:host([active]) .udex-list__supporting-text{color:var(--udex-list-item-supporting-text-color-active)}:host([active][selected]){background:var(--udex-list-item-background-active)}:host([_aria-selected]:not([mode="SingleContent"])),:host(:not([disabled]):not([selected]):not([mode="SingleContent"]):hover){background:var(--udex-list-item-background-hover);color:var(--udex-list-item-color-hover)}:host([_aria-selected][selected]:not([mode="SingleContent"])){background:var(--udex-list-item-background-selected-hover)}:host(:not([mode="SingleContent"]):not([disabled])[desktop]) .udex-list__item:focus:before,:host(:not([mode="SingleContent"]):not([disabled])) .udex-list__item:focus-visible:before,:host(._udex-active-descendant:not([mode="SingleContent"]):not([disabled])) .udex-list__item:before{content:"";position:absolute;inset:4px 4px 4px 6px;outline:var(--udexRadiusXXS) solid var(--udex-list-item-outline-border-color);border-radius:var(--udexRadiusM, 8px);pointer-events:none}:host([active]:not([mode="SingleContent"]):not([disabled])[desktop]:focus){background:var(--udex-list-item-background-active);border-color:var(--udex-list-item-border-color-active);color:var(--udex-list-item-color-active)}:host(:not([disabled]):hover) .udex-list__supporting-text{color:var(--udex-list-item-supporting-text-color-hover)}:host([selected]:not([mode="SingleContent"])){background:var(--udex-list-item-background-selected);color:var(--udex-list-item-color-selected)}:host(:hover[selected]:not([disabled]):not([mode="SingleContent"])){background:var(--udex-list-item-background-selected-hover)}:host([selected]) .udex-list__supporting-text{color:var(--udex-list-item-supporting-text-color-selected)}:host([divider]){border-color:var(--udex-list-item-divider-border-color)}:host([divider]):hover{border-color:var(--udex-list-item-divider-border-color-hover)}:host([additional-text-state="Success"])::part(additional-text){color:var(--udexColorGreen9, #1E592F)}:host([additional-text-state="Error"])::part(additional-text){color:var(--udexColorRed9, #840606)}:host([additional-text-state="Information"])::part(additional-text){color:var(--udexColorBlue9, #0040B0)}:host([additional-text-state="Warning"])::part(additional-text){color:var(--udexColorMango9, #8D2A00)}:host::part(checkbox),:host::part(radio){padding-inline-end:var(--udexSpacer12, 12px)}:host::part(checkbox){min-width:24px}:host::part(radio){min-width:42px}:host([mode="SingleContent"])::part(item){padding:var(--udexSpacer4, 4px) 0;border:none}:host([mode="SingleContent"])::part(avatar){padding-inline-start:var(--udexSpacer12, 12px)}:host::part(additional-text){margin-inline-start:0;margin-inline-end:var(--udexSpacer12, 12px)}:host([mode="SingleContent"])::part(button){padding:0}:host(.udex-list__sticky){position:absolute;top:0;right:12px;left:0;z-index:var(--udexZIndex1, 1);border-radius:var(--udexRadiusM, 8px) 0 0}::slotted([udex-list]){padding-top:var(--udexSpacer12, 12px);display:block}::slotted(b){display:inherit}::slotted([udex-button]:hover:not([active])){background-color:var(--udex-button-color-tertiary-standard-default-background)}.udex-list__item:focus-visible{outline:none}.udex-list__item{padding-top:var(--udex-list-item-padding-top);padding-bottom:var(--udex-list-item-padding-bottom);padding-inline-start:var(--udex-list-item-padding-inline-start);padding-inline-end:var(--udex-list-item-padding-inline-end);display:flex;align-items:center}.udex-list__content-wrap{display:flex;width:100%}.udex-list__btn-wrap{display:flex;gap:var(--udexSpacer8, 8px)}.udex-list__number{margin-inline-end:var(--udexSpacer8, 8px)}.udex-list__circle{display:block;min-width:20px;height:22px;position:relative}.udex-list__supporting-text{font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyBodyLineHeight, 21px);font-weight:var(--udexTypographyFontWeightRegular, 400);color:var(--udex-list-item-supporting-text-color-default);padding-top:var(--udexSpacer2, 2px)}.udex-list__content{display:flex;align-items:center;flex:auto}.udex-list__text-holder{display:flex;flex-direction:column;flex-basis:100%}.udex-list__add-text{font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyHeadingLineHeight, 21px);padding-inline-start:var(--udexSpacer12, 12px);white-space:nowrap;font-weight:var(--udex-list-item-additional-text-font-weight)}.udex-list__icon{margin-inline-end:var(--udexSpacer8, 8px);padding-top:2px;min-width:18px;height:18px}.udex-list__avatar{display:flex;align-items:center;margin-inline-end:var(--udexSpacer8, 8px)}.udex-list__item.udex-list__sticky.udex-list__item_controlled .udex-list__checkbox,.udex-list__item.udex-searchable-list__header.udex-list__item_controlled .udex-list__checkbox,.udex-list__item .udex-list__radio,.udex-list__item .udex-list__checkbox{pointer-events:none;min-width:auto}.udex-list__item.udex-list__item_controlled .udex-list__radio,.udex-list__item.udex-list__item_controlled .udex-list__checkbox{pointer-events:auto}.udex-list__radio{--udex-radio-button-outer-ring-padding: 0}.udex-list__item_large{font-size:var(--udexTypographyBodyLFontSize, 20px);line-height:var(--udexTypographyHeadingLineHeight, 22px);font-weight:var(--udexTypographyFontWeightMedium, 500)}.udex-list__item_large .udex-list__supporting-text{font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px)}.udex-list__flag-wrap{min-width:30px;margin-inline-end:var(--udexSpacer12, 12px);position:relative}.udex-list__flag{background-image:url(https://cdn.udex.services.sap.com/dds/design-tokens/assets/country_flag_iso3166.webp);width:30px;height:20px;margin-inline-end:var(--udexSpacer12, 12px);position:absolute;top:50%;transform:translateY(-50%)}.udex-list__flag:before{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid var(--udex-list-item-flag-border-color)}.hidden{display:none}.udex-list__group-heading__icon{transform:rotate(-90deg);height:18px;width:18px;color:inherit;cursor:pointer;--udex-button-icon-s-size: 18px}.udex-list__group-heading__icon-wrapper{height:24px;width:24px;display:flex;justify-content:center;align-items:center}:host([collapsed]) .udex-list__group-heading__icon,:host(:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(90deg)}:host([collapsed]:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(-90deg)}[udex-rating-indicator]{--udex_rating_indicator_disabled_opacity: 1;pointer-events:none}
|
|
548
|
-
`;var Ao=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Vc;const hp="udex-list__item",T7="option";let Yt=Vc=class extends E_{constructor(){super(),this.accessibleName="",this.additionalTextState=D1.None,this.imageShape=Ph.Circle,this.imageSize=Cr.S,this.accessibleRole="",this._displayRating=R1.Desktop,this.deactivate=()=>{this.active&&(this.active=!1)}}onEnterDOM(){document.addEventListener("mouseup",this.deactivate),se()&&this.setAttribute("desktop","")}onExitDOM(){document.removeEventListener("mouseup",this.deactivate)}handleMouseDown(e){this._useHostAriaRole&&e.preventDefault(),this.activate()}handleMouseUp(){this.deactivate()}handleKeyUp(e){this.firstIconElement===e.target||this.secondIconElement===e.target||e.target.classList.contains("udex-list__group-heading__icon")||(e.preventDefault(),(K(e)||ie(e))&&this.deactivate())}handleKeyDown(e){this.firstIconElement===e.target||this.secondIconElement===e.target||e.target.classList.contains("udex-list__group-heading__icon")||(K(e)&&e.preventDefault(),(K(e)||ie(e))&&(this.activate(),this.handleItemClick(e)))}handleKeyDownIcon(e){e.stopPropagation()}handleItemClick(e){this.disabled||(!this.indeterminate&&!this.controlled&&(this.selected=!this.selected),this.fireItemPress(e))}handleFocusIn(){this.disabled||(this.focused=!0,this.fireDecoratorEvent("item-focus",{item:this}))}handleFocusOut(){this.disabled||(this.focused=!1,this.deactivate())}fireItemPress(e){ie(e)&&e.preventDefault(),this.fireDecoratorEvent("item-press",{selected:this.selected,item:this})}activate(){this.disabled||(this.active=!0)}get className(){const e=this==null?void 0:this.parentElement,t=this.controlled?`${hp}_controlled`:"",i=e!=null&&e.isGroup?`${hp}_group`:"",a=this.isLargeSize?`${hp}_large`:"";return`${hp} ${i} ${this._additionalClassName} ${t} ${a}`.trim()}get firstIconElement(){return this.getSlottedNodes("firstIcon")[0]}get secondIconElement(){return this.getSlottedNodes("secondIcon")[0]}get hasFirstIcon(){return!!this.firstIcon}get hasSecondIcon(){return!!this.secondIcon}get roleItem(){return this._useHostAriaRole?"presentation":this.accessibleRole?this.accessibleRole:this.modeSingleContent?"listitem":T7}get effectiveRole(){return this.accessibleRole||T7}get ariaCheckedValue(){if(this.roleItem==="treeitem"&&this.modeMultiSelect)return this.indeterminate?"mixed":this.selected?"true":"false"}get ariaSelectedValue(){if(!this.modeRadioGroup&&!(this.roleItem==="treeitem"&&this.modeMultiSelect)&&!(this.roleItem!=="treeitem"&&this.roleItem!=="option"))return this.selected?"true":"false"}get ariaExpandedValue(){if(!(this._useHostAriaRole||!this.collapsible))return this.expanded?"true":"false"}get _ariaDisabled(){return this.disabled?!0:void 0}get modeSingleContent(){return this.mode===Ye.SingleContent}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get modeSelected(){return[Ye.SingleSelect,Ye.MultiSelect,Ye.RadioGroup].includes(this.mode)}get isLargeSize(){return this.size===Fh.Large}get accessibleListItemName(){var e;return this.accessibleName||((e=this.label)==null?void 0:e.replace(/<[^>]+>/g,""))}get stateAccessibleName(){return this.indeterminate?B(Vc,X0):`${this.selected?B(Vc,H0):B(Vc,b3)} `}};Ao([d()],Yt.prototype,"imageBadgeState",void 0);Ao([d()],Yt.prototype,"accessibleName",void 0);Ao([d({type:String})],Yt.prototype,"flagPosition",void 0);Ao([d({type:Boolean})],Yt.prototype,"flag",void 0);Ao([d({type:Boolean})],Yt.prototype,"active",void 0);Ao([d({type:Boolean})],Yt.prototype,"focused",void 0);Ao([d({type:String})],Yt.prototype,"additionalText",void 0);Ao([d()],Yt.prototype,"additionalTextState",void 0);Ao([d({type:String})],Yt.prototype,"image",void 0);Ao([d({type:String})],Yt.prototype,"imageAlt",void 0);Ao([d()],Yt.prototype,"imageShape",void 0);Ao([d()],Yt.prototype,"imageSize",void 0);Ao([D({type:Node,default:!0})],Yt.prototype,"content",void 0);Ao([D({type:me})],Yt.prototype,"firstIcon",void 0);Ao([D({type:me})],Yt.prototype,"secondIcon",void 0);Ao([d({type:String})],Yt.prototype,"accessibleRole",void 0);Ao([d({type:String})],Yt.prototype,"_additionalClassName",void 0);Ao([V("@sapudex/web-components")],Yt,"i18nBundle",void 0);Yt=Vc=Ao([T({tag:"udex-list-item",languageAware:!0,renderer:A,styles:pX,template:_X,dependencies:[y_,me,A8,t8,I8,zh,R]}),x("item-press",{bubbles:!0}),x("item-focus",{bubbles:!0})],Yt);Yt.define();const za=Yt;var uc=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};const Og="udex-list__group-header";let Qs=class extends E_{constructor(){super(...arguments),this._treeMode=!1,this._groupAsListbox=!1}handleSelectionGroupState(){if(!this.isAnyEnabledOption())return;const t=this.isAllSelected(),i=this.indeterminate;t?this.processGroupDeselectAll():i?this.toggleIndeterminateGroupState():this.processGroupSelectAll()}processGroupDeselectAll(){const e=this.isAnySelectedOptionDisabled();this.setAllItems(!1),e?this.activateHeaderIndeterminate():this.deactivateHeader()}toggleIndeterminateGroupState(){this.isEachEnabledOptionSelected()?this.processGroupDeselectAll():this.processGroupSelectAll()}processGroupSelectAll(){const e=this.isAnyNotSelectedOptionDisabled();this.setAllItems(!0),e?this.activateHeaderIndeterminate():this.activateHeader()}handleHeaderState(){const e=this.isAllSelected();if(this.isAllDeselected()){this.deactivateHeader();return}if(e){this.activateHeader();return}this.activateHeaderIndeterminate()}activateHeaderIndeterminate(){this.selected=!0,this.indeterminate=!0}activateHeader(){this.indeterminate=!1,this.selected=!0}deactivateHeader(){this.selected=!1,this.indeterminate=!1}setAllItems(e){this.getItems().forEach(t=>{t.disabled||(t.selected=e)})}isAllSelected(){return this.getItems().every(({selected:e})=>e)}isAllDeselected(){return this.getItems().every(({selected:e})=>!e)}isEachEnabledOptionSelected(){return this.getItems().every(e=>e.disabled||e.selected)}isAnyNotSelectedOptionDisabled(){return this.getItems().some(e=>!e.selected&&e.disabled)}isAnySelected(){return this.getItems().some(e=>e.selected)}isAnySelectedOptionDisabled(){return this.getItems().some(({disabled:e,selected:t})=>e&&t)}isAnyEnabledOption(){return this.getItems().some(({disabled:e})=>!e)}getItems(){return this.getSlottedNodes("items")}get isGroup(){return!0}get isSelectAllHeader(){return!1}get isFilterMenuSelectAllHeader(){return!1}get isNonActiveHeader(){return this.nonInteractive||this.modeRadioGroup}get useListItemHeader(){return this.modeMultiSelectOrRadioGroup}get isTreeAccessibleRole(){return this._treeMode||this._useHostAriaRole&&this.getAttribute("role")==="treeitem"}get isSingleContentList(){return this.mode===Ye.SingleContent&&!this._treeMode&&!this._useHostAriaRole}get isPerGroupListbox(){return this._groupAsListbox&&!this._useHostAriaRole&&!this._treeMode}get singleCollapsibleHeaderRole(){return this._useHostAriaRole?"presentation":this._treeMode?"treeitem":"button"}get collapsibleHeaderLabelledBy(){return this.supportingText?"group-heading group-supporting-text":"group-heading"}get collapsibleHeaderAccessibleRole(){return this._treeMode?"treeitem":"button"}get groupWrapperRole(){return this._useHostAriaRole?"presentation":this.isSingleContentList?"listitem":this._treeMode||this.isPerGroupListbox?"none":"group"}get contentRegionRole(){return this.isSingleContentList?"list":this.isTreeAccessibleRole?"group":"region"}get nonCollapsibleContainerRole(){return"none"}get nonCollapsibleHeaderAccessibleRole(){return this._treeMode?"treeitem":void 0}get className(){const e=this.controlled?`${Og}_controlled`:"";return`${Og} ${this._additionalClassName} ${e} ${Og}-wrap`}get listItem(){return this.shadowRoot.querySelector("[udex-list-item]")}};uc([d({type:Boolean})],Qs.prototype,"nonInteractive",void 0);uc([d({type:String})],Qs.prototype,"_additionalClassName",void 0);uc([d({type:Boolean})],Qs.prototype,"_treeMode",void 0);uc([d({type:Boolean})],Qs.prototype,"_groupAsListbox",void 0);uc([D({type:E_,default:!0})],Qs.prototype,"items",void 0);Qs=uc([T({languageAware:!0,renderer:A})],Qs);const cc=Qs;function gX(){return g("div",{class:`udex-list__group-content udex-list__group-header-wrap ${this.sizeClass}`,part:"group-item",children:[this.typeNumber&&g("span",{class:"udex-list__number",children:[this.numberOfItem,"."]}),this.typeCircle&&l("span",{class:"udex-list__circle",children:"•"}),this.typeIcon&&l(R,{class:"udex-list__icon","accessible-role":"presentation","aria-hidden":"true",part:"icon",name:this._icon}),g("div",{class:"udex-list__header",children:[l("span",{id:"group-heading",class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&l("span",{class:`udex-list__supporting-text ${this.sizeClass}`,children:this.supportingText})]})]})}function vX(){return g(P,{children:[this.typeNumber&&g("span",{class:"udex-list__number",children:[this.numberOfItem,"."]}),this.typeCircle&&l("span",{class:"udex-list__circle",children:"•"}),this.typeIcon&&l(R,{name:this._icon,class:"udex-list__icon","accessible-role":"presentation","aria-hidden":"true",part:"icon"}),g("div",{class:"udex-list__header",children:[l("span",{id:"group-heading",class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&" ",this.supportingText&&l("span",{id:"group-supporting-text",class:`udex-list__supporting-text ${this.sizeClass}`,children:this.supportingText})]}),l("div",{class:"udex-list__group-heading__icon-wrapper",children:l(me,{size:"Small",design:"Tertiary",class:"udex-list__group-heading__icon",onClick:this.handleCollapseIconClick,onMouseDown:this.handleCollapseIconMouseDown,tabindex:-1,"accessible-name":this.expandButtonAccessibleName,icon:Ii,mode:"Interactive"})})]})}function mX(){const o=this._useHostAriaRole?{}:{"aria-expanded":this.expanded,"aria-controls":this.ariaControlsId,"aria-labelledby":this.collapsibleHeaderLabelledBy,"aria-owns":this.isTreeAccessibleRole?this.ariaControlsId:void 0};return l("div",{class:`udex-list__group-content udex-list__group-header-wrap ${this.sizeClass}`,part:"group-item",id:`${this._id}_group-content__focusable`,role:this.singleCollapsibleHeaderRole,tabIndex:this._useHostAriaRole?void 0:0,onMouseDown:this.handleCollapseIconMouseDown,onKeyDown:this.handleKeyDown,...o,"_tab-index":Number(this._effectiveTabIndex),children:vX.call(this)})}function fX(){return this.isNonActiveHeader?l("header",{id:"group-heading",class:"udex-list__inactive-header udex-list__group-header-wrap",children:g("div",{class:"udex-list__inactive-header-content",children:[l("span",{class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&l("span",{class:"udex-list__supporting-text",children:this.supportingText})]})}):l(za,{id:"group-heading",part:"group-item",role:"none",selected:this.selected,indeterminate:this.indeterminate,class:this.className,mode:this.mode,controlled:this.controlled,onClick:this.handleHeaderPress,onKeyDown:this.handleKeyDownPress,type:this.type,label:this.label,size:this.size,supportingText:this.supportingText,"accessible-role":this.nonCollapsibleHeaderAccessibleRole,_useHostAriaRole:this._useHostAriaRole,"_additional-class-name":this._additionalClassName,"_tab-index":Number(this._effectiveTabIndex),"_aria-pos-in-set":this._ariaPosInSet,"_aria-set-size":this._ariaSetSize,_icon:this._icon,_filtered:this._filtered})}function bX(){return this.isNonActiveHeader?g("header",{role:this._useHostAriaRole?"presentation":"button",id:"group-heading",class:"udex-list__inactive-header udex-list__group-header-wrap",tabIndex:this._useHostAriaRole?void 0:Number(this._effectiveTabIndex),"aria-expanded":this._useHostAriaRole?void 0:this.expanded,"aria-controls":this._useHostAriaRole?void 0:this.ariaControlsId,onMouseDown:this.handleCollapseIconMouseDown,children:[g("div",{class:"udex-list__inactive-header-content",children:[l("span",{class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&l("span",{class:"udex-list__supporting-text",children:this.supportingText})]}),l("div",{class:"udex-list__group-heading__icon-wrapper",children:l(me,{class:"udex-list__group-heading__icon",size:ye.Small,design:ve.Tertiary,tabindex:-1,icon:Ii,onClick:this.handleCollapseIconClick,"accessible-name":this.expandButtonAccessibleName,mode:"Interactive"})})]}):l(za,{id:"group-heading",part:"group-item",role:"none",selected:this.selected,indeterminate:this.indeterminate,collapsible:this.collapsible,collapsed:this.collapsed,class:this.className,mode:this.mode,controlled:this.controlled,onClick:this.handleHeaderPress,onKeyDown:this.handleKeyDownPress,type:this.type,label:this.label,size:this.size,supportingText:this.supportingText,"accessible-role":this.collapsibleHeaderAccessibleRole,_useHostAriaRole:this._useHostAriaRole,onAccordionIconClick:this.handleCollapseIconClick,"_additional-class-name":this._additionalClassName,"_tab-index":Number(this._effectiveTabIndex),"_aria-pos-in-set":this._ariaPosInSet,"_aria-set-size":this._ariaSetSize,_icon:this._icon,_filtered:this._filtered})}function xX(){return l("div",{part:"item",class:"udex-list__group",role:this.groupWrapperRole,"aria-labelledby":!this._useHostAriaRole&&!this.isTreeAccessibleRole&&!this.isPerGroupListbox?"group-heading":void 0,children:this.collapsible?g("div",{class:"udex-list__group-list","onui5-item-press":this.getHandleGroupItemsClick,name:"group",children:[this.useListItemHeader?bX.call(this):mX.call(this),l("div",{id:this.ariaControlsId,role:this.contentRegionRole,class:"udex-list__group-list__content",children:this.isTreeAccessibleRole||this.isSingleContentList?l("slot",{}):l("div",{role:"listbox","aria-label":"group",children:l("slot",{})})})]}):g("div",{role:this.nonCollapsibleContainerRole,class:"udex-list__group-list","onui5-item-press":this.getHandleGroupItemsClick,name:"group",children:[this.modeMultiSelectOrRadioGroup?fX.call(this):gX.call(this),this.isTreeAccessibleRole||this.isSingleContentList?l("div",{role:this.contentRegionRole,children:l("slot",{})}):this.isPerGroupListbox?l("div",{role:"listbox","aria-labelledby":"group-heading",children:l("slot",{})}):l("slot",{})]})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const E8=`:host{--udex-list-item-group-header-padding-vertical: var(--udexSpacer12, 12px);--udex-list-item-group-header-padding-horizontal: var(--udexSpacer16, 16px);--udex-list-item-group-header-supporting-text-color: var(--sapContent_LabelColor, #223548);--udex-list-item-group-header-border-color: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-group-header-outline-border-color: var(--udexColorBlue10, #002A86)}.udex-list__header{display:flex;flex-direction:column;width:100%}.hidden{display:none}.udex-list__supporting-text{font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyBodyLineHeight, 21px);font-weight:var(--udexTypographyFontWeightRegular, 400);color:var(--udex-list-item-group-header-supporting-text-color);padding-top:var(--udexSpacer2, 2px)}.udex-list__group-list{list-style-type:none;padding:0;margin:0}.udex-list__group ::slotted([udex-list-item]){padding-inline-start:calc(var(--udexSpacer24) + var(--udexSpacer16));--udex-list-item-padding-inline-start: 0}.udex-list__header,.udex-list__group-header{font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyBodySFontSize, 16px);line-height:24px;color:var(--udexColorGrey9, #223548)}.udex-list__group-list.udex-list__sticky{padding-top:59px}.udex-list__group-content{display:flex;border-top:1px solid var(--udex-list-item-group-header-border-color);padding:var(--udex-list-item-group-header-padding-vertical) var(--udex-list-item-group-header-padding-horizontal);align-items:center;position:relative}:host([mode="MultiSelect"][_no-border]) .udex-list__group-header,:host([_no-border]) .udex-list__group-content{border-top:none}.udex-list__group-content.udex-list_group-content__focusable:focus,.udex-list__group-content.udex-list_group-content__focusable:focus-visible{outline:none}.udex-list__group-content.udex-list_group-content__focusable:focus:before,.udex-list__group-content.udex-list_group-content__focusable:focus-visible:before{content:"";position:absolute;inset:0;outline:var(--udexRadiusXXS) solid var(--udex-list-item-group-header-outline-border-color);outline-offset:-4px;border-radius:var(--udexRadiusM, 8px);pointer-events:none}.udex-list__number{margin-inline-end:var(--udexSpacer8, 8px)}.udex-list__circle{display:block;min-width:20px;height:22px;position:relative}:host([mode="MultiSelect"]) .udex-list__group-header{border-top:1px solid var(--udex-list-item-group-header-border-color)}.udex-list__group_large .udex-list__header,.udex-list__group_large .udex-list__group-header{font-size:var(--udexTypographyHeadingMediumXXSFontSize, 20px);line-height:var(--udexTypographyHeadingLineHeight, 22px);font-weight:var(--udexTypographyFontWeightMedium, 500)}.udex-list__group_large.udex-list__supporting-text{font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px);font-weight:var(--udexTypographyFontWeightRegular, 400)}.udex-list__icon{margin-inline-end:var(--udexSpacer8, 8px);padding-top:2px;min-width:18px;height:18px}.udex-list__inactive-header{font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px);font-weight:var(--udexTypographyFontWeightMedium, 500);padding:var(--udexSpacer12, 12px) var(--udexSpacer16, 16px);border-bottom:1px solid var(--sapList_BorderColor, #A9B4BE);display:flex;justify-content:space-between;align-items:center}.udex-list__inactive-header-content{display:flex;flex-direction:column}.udex-list__group-heading__icon{transform:rotate(-90deg);height:18px;width:18px;color:inherit;cursor:pointer;--udex-button-icon-s-size: 18px}:host(:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(90deg)}:host([collapsed]) .udex-list__group-heading__icon{transform:rotate(90deg)}:host([collapsed]:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(-90deg)}:host([collapsible]) .udex-list__group-list__content{max-height:var(--udex-list-content-max-height);overflow:hidden;transition:max-height .2s ease-in}:host([collapsible][collapsed]) .udex-list__group-list__content{max-height:0}:host([collapsible][mode="MultiSelect"]) header,:host([collapsible][mode="RadioGroup"]) .udex-list__group-header-wrap,:host([collapsible][mode="SingleContent"]) .udex-list__group-header-wrap,:host([collapsible][mode="SingleSelect"]) .udex-list__group-header-wrap{position:relative}:host([collapsible][mode="MultiSelect"]) header:focus,:host([collapsible][mode="RadioGroup"]) .udex-list__group-header-wrap:focus,:host([collapsible][mode="SingleContent"]) .udex-list__group-header-wrap:focus,:host([collapsible][mode="SingleSelect"]) .udex-list__group-header-wrap:focus{outline:none}:host([collapsible][mode="MultiSelect"]) header:focus:before,:host([collapsible][mode="RadioGroup"]) .udex-list__group-header-wrap:focus:before,:host([collapsible][mode="SingleContent"]) .udex-list__group-header-wrap:focus:before,:host([collapsible][mode="SingleSelect"]) .udex-list__group-header-wrap:focus:before,:host(._udex-active-descendant) .udex-list__group-content:before,:host(._udex-active-descendant) .udex-list__inactive-header:before{content:"";position:absolute;inset:0;outline:var(--udexRadiusXXS) solid var(--udexColorBlue10, #002A86);outline-offset:-4px;border-radius:var(--udexRadiusM, 8px);pointer-events:none}:host(._udex-active-descendant) [part=group-item]:not(.udex-list__group-content){position:relative}:host(._udex-active-descendant) [part=group-item]:not(.udex-list__group-content):after{content:"";position:absolute;inset:4px;outline:var(--udexRadiusXXS) solid var(--udexColorBlue10, #002A86);border-radius:var(--udexRadiusM, 8px);pointer-events:none}
|
|
549
|
-
`;var yX=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};const CX="udex-list__group_large";let P1=class extends cc{handleHeaderPress(){this.controlled||this.handleSelectionGroupState(),this.fireHeaderPress()}handleKeyDownPress(e){K(e)&&e.preventDefault(),(K(e)||ie(e))&&this.handleHeaderPress()}handleKeyDown(e){if(this.mode===Ye.SingleContent&&(ie(e)||K(e))){this.handleCollapseIconClick(e);return}if(we(e)&&!this.collapsed){this.handleCollapseIconClick(e);return}Se(e)&&this.collapsed&&this.handleCollapseIconClick(e)}fireHeaderPress(){this.fireDecoratorEvent("header-press",{item:this})}getHandleGroupItemsClick(){return this.modeMultiSelect&&!this.controlled?this.handleHeaderState():void 0}setCollapsedItems(){this.getSlottedNodes("items").forEach(t=>{this.collapsed?t.setAttribute("collapsed",""):t.removeAttribute("collapsed")})}handleCollapseIconClick(e){e.stopPropagation(),e.preventDefault(),this.setContentHeight(),this.collapsed=!this.collapsed,this.setCollapsedItems(),this.fireDecoratorEvent("accordion-icon-click",{collapsed:this.collapsed})}get sizeClass(){return this.size===Fh.Large?CX:""}};P1=yX([T({tag:"udex-list-group-header",languageAware:!0,renderer:A,styles:E8,template:xX}),x("header-press",{bubbles:!0}),x("accordion-icon-click",{bubbles:!0})],P1);P1.define();const r2=P1;function wX(){return l("div",{part:"item",class:"udex-list__group",role:this._useHostAriaRole?"presentation":"group","aria-labelledby":this._useHostAriaRole?void 0:"group-select-all",children:g("div",{role:this._useHostAriaRole?"presentation":"listbox","aria-label":this._useHostAriaRole?void 0:"select-all-group",class:this.groupListClassName,"onui5-item-press":this.handleSelectAllGroupItemsPress,children:[l(za,{role:this._useHostAriaRole?"none":"group",part:"group-item","accessible-role":"option",_useHostAriaRole:this._useHostAriaRole,label:this._useHostAriaRole?this.selectAllLabel:void 0,mode:this.multiselectMode,onClick:this.handleSelectAllPress,class:this.className,selected:this.selected,"aria-current":this._useHostAriaRole?void 0:this.selected,indeterminate:this.indeterminate,controlled:this.controlled,onKeyDown:this.handleKeyDownPress,"_tab-index":Number(this._effectiveTabIndex),"_additional-class-name":this.additionalClassName,supportingText:this.supportingText,divider:!0,children:!this._useHostAriaRole&&this.selectAllLabel}),this._useHostAriaRole?l("div",{role:"group",children:l("slot",{})}):l("slot",{})]})})}var D8=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Im;const SX="udex-list__header-select-all",kX="udex-list__group-list";let $h=Im=class extends cc{handleSelectAllPress(){this.controlled||this.handleSelectionGroupState(),this.fireDecoratorEvent("select-all",{item:this})}handleSelectAllGroupItemsPress(){this.controlled||this.handleHeaderState()}handleKeyDownPress(e){K(e)&&e.preventDefault(),(K(e)||ie(e))&&this.handleSelectAllPress()}get isSelectAllHeader(){return!0}get multiselectMode(){return Ye.MultiSelect}get selectAllLabel(){var t;return this.label!=="undefined"&&((t=this.label)==null?void 0:t.length)>0?this.label:B(Im,x3)}get additionalClassName(){return`${SX} ${this._additionalClassName}`}get groupListClassName(){return kX}};D8([V("@sapudex/web-components")],$h,"i18nBundle",void 0);$h=Im=D8([T({tag:"udex-list-select-all",renderer:A,languageAware:!0,styles:E8,template:wX}),x("select-all",{bubbles:!0})],$h);$h.define();const Hh=$h;function vl(){return g(P,{children:[this.showSearch&&g(P,{children:[l(R5,{slot:"header",mode:or.Standard,class:"udex-filter-menu__search",label:this.searchPlaceholder,"label-animation-disabled":!0,"non-interactive-submit-button":!0,"show-submit-button":!0}),l("span",{"aria-live":"polite","aria-atomic":"true",class:"hidden",children:this._accSearchResultInfo})]}),this.isListEmpty?g("div",{class:"udex-no-result",children:[g(D5,{name:"NoSearchResults",design:"Dot",children:[l("div",{slot:"title"}),l("div",{slot:"subtitle"})]}),l("span",{children:this.getNoResultText})]}):this.busy?l(B5,{class:"udex-busy-indicator",size:"M",delay:this.busyDelay,active:!0}):l(gd,{id:"udex-list",role:this.roleForGroupList,...this._activeDescendantMode?{"aria-label":this.listAccessibleName,accessibleName:this.listAccessibleName}:{},accessibleRole:this._activeDescendantMode?"":this.accessibleRoleForList,...(this.isTreeStructure||this._activeDescendantMode)&&this.modeMultiSelect?{"aria-multiselectable":"true"}:{},class:"udex-filter-menu__list",controlled:this.isControlled,mode:this.mode,type:this.type,"item-icon":this.itemIcon,children:this._filteredItems.map((o,e)=>o.isGroup?TX.call(this,o,e):a2(o.item,e,"none",this.listItemRole,this.fireFirstIconClickEvent,this.fireSecondIconClickEvent,this._activeDescendantMode,this.isTreeStructure,this._activeDescendantMode?e+1:void 0,this._activeDescendantMode?this._filteredItems.length:void 0))})]})}function TX(o,e){return o.item.isSelectAllHeader?IX.call(this,o,e):BX.call(this,o,e)}function IX(o,e){const{item:t,groupItems:i}=o,a=t,r=t.label&&t.label!=="undefined"?t.label:B(Hh,x3);return l(Hh,{id:t._id,...R8.call(this,a,e,r),mode:this.mode,_treeMode:this.isTreeStructure,"_additional-class-name":this.additionalClassName,"data-token-id":t._id,label:t.label,controlled:a.controlled,"supporting-text":t.supportingText,disabled:t.disabled,selected:t.selected,indeterminate:a.indeterminate,onFirstIconClick:this.fireFirstIconClickEvent,onSecondIconClick:this.fireSecondIconClickEvent,children:i.map((n,s)=>a2(n,s,this.listItemRole,this._activeDescendantMode&&this.isTreeStructure?"treeitem":void 0,this.fireFirstIconClickEvent,this.fireSecondIconClickEvent,this._activeDescendantMode,this.isTreeStructure,this._activeDescendantMode?s+1:void 0,this._activeDescendantMode?i.length:void 0))},e)}function R8(o,e,t=o.label){return this._activeDescendantMode?{role:this.isTreeStructure?"treeitem":"option","aria-label":[t,o.supportingText].filter(Boolean).map(i=>lc(i)).join(" "),"aria-level":this.isTreeStructure?1:void 0,"aria-posinset":e+1,"aria-setsize":this._filteredItems.length,"aria-selected":this.modeSingleSelect||this.modeMultiSelect?String(o.selected&&!o.indeterminate):void 0,"aria-description":this.modeMultiSelect&&o.indeterminate?B(Hh,X0):void 0,"aria-disabled":o.disabled?"true":void 0,"aria-expanded":o.collapsible?String(o.expanded):void 0,"_use-host-aria-role":!0}:{role:"none"}}function BX(o,e){const{item:t,groupItems:i}=o,a=t,r=this.isTreeStructure?"treeitem":void 0,n=this.isTreeStructure?this._filteredItems.filter(_=>_.isGroup):[],s=n.indexOf(o)+1,u=n.length,c=!this._activeDescendantMode&&this.isTreeStructure&&this.modeMultiSelect?{"_aria-pos-in-set":s,"_aria-set-size":u}:{},p=R8.call(this,a,e);return l(r2,{id:t._id,...p,...c,_treeMode:this.isTreeStructure,_groupAsListbox:this.isPerGroupListbox,mode:this.mode,...e===0?{"_no-border":""}:{},"_additional-class-name":"udex-searchable-list__header",class:this.groupClassName,"non-interactive":a.nonInteractive,"data-token-id":t._id,label:t.label,"supporting-text":t.supportingText,controlled:a.controlled,collapsible:a.collapsible,collapsed:a.collapsed,_filtered:this._shouldFilterItems,disabled:t.disabled,selected:t.selected,onFirstIconClick:this.fireFirstIconClickEvent,onSecondIconClick:this.fireSecondIconClickEvent,onAccordionIconClick:this.handleAccordionIconClick,indeterminate:a.indeterminate,children:i.map((_,f)=>a2(_,f,"none",r,this.fireFirstIconClickEvent,this.fireSecondIconClickEvent,this._activeDescendantMode,this.isTreeStructure,f+1,i.length))},e)}function a2(o,e,t,i,a,r,n,s,u,c){var $;const p=i??(t!=="none"?t:void 0)??"option",_=o.mode!==Ye.SingleContent,f=n?p:t,b=n?{"aria-label":[o.label,o.supportingText,o.additionalText,o.hasRating?o.ratingAriaLabel:void 0].filter(Boolean).map(H=>lc(H)).join(" ")||void 0,"aria-level":s?($=o.parentElement)!=null&&$.isGroup?2:1:void 0,"aria-posinset":u,"aria-setsize":c,"aria-selected":_&&(p==="option"||p==="treeitem")?String(o.selected):void 0,"aria-disabled":o.disabled?"true":void 0,"_use-host-aria-role":!0,...i?{"accessible-role":i}:{}}:{...i?{"accessible-role":i}:{}},k=!n&&u!=null&&c!=null?{"_aria-pos-in-set":u,"_aria-set-size":c}:{};return l(za,{id:o._id,role:f,"data-token-id":o._id,controlled:o.controlled,mode:o.mode,onFirstIconClick:a,onSecondIconClick:r,"supporting-text":o.supportingText,"additional-text":o.additionalText,"additional-text-state":o.additionalTextState,divider:o.divider,disabled:o.disabled,selected:o.selected,rating:o.rating,"total-count":o.totalCount,"rating-count":o.ratingCount,"rating-max":o.ratingMax,label:o.label,image:o.image,"image-alt":o.imageAlt,"image-badge-state":o.imageBadgeState,"image-shape":o.imageShape,"image-size":o.imageSize,flag:o.flag,"flag-position":o.flagPosition,size:o.size,type:o.type,...b,...k,...o.innerHTML?{dangerouslySetInnerHTML:{__html:o.innerHTML}}:{}},e)}function P8(){return this.hideFlagImages?l(P,{}):l("span",{class:"udex-text-field__image","aria-label":this.flagAriaLabel,style:`background-position-x: ${this.selectedCountryFlagX}; background-position-y: ${this.selectedCountryFlagY}`})}var ba;(function(o){o.Header="header",o.Footer="footer",o.Content="content"})(ba||(ba={}));const AX=13;var Vo=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Gc;let ho=Gc=class extends z{constructor(){super(),this.preventPageScroll=!1,this.busyDelay=1e3,this.mode=Ye.SingleSelect,this.type=Fs.None,this.itemIcon="",this.defaultAccessibleRole="listbox",this._pendingHeightReset=!1,this._shouldFilterItems=!1,this._filteredItems=[],this._groupCollapseStateBeforeSearch=new Map}onBeforeRendering(){this._shouldFilterItems||(this._filteredItems=this.getProcessedItems())}onAfterRendering(){var e;this._pendingHeightReset&&(this._pendingHeightReset=!1,(e=this.shadowRoot)==null||e.querySelectorAll("[udex-list-group-header]").forEach(t=>{t.hasAttribute("collapsible")&&(t.style.removeProperty("--udex-list-content-max-height"),t.setContentHeight())}))}onItemPress(e){const t=this.getDataTokenId(e.detail.item);this.handleDropdownItemPress(t),this.fireSelectionChange(t)}handleDropdownItemPress(e){this.getProcessedItems().forEach(({item:t,groupItems:i,isGroup:a})=>{if(a){const r=i.find(({_id:n})=>n===e);r&&(this.handleItemClick(r),this.handleGroupHeaderState(t))}else t._id===e&&this.handleItemClick(t)}),this.syncFilteredItems()}handleItemClick(e){if(this.modeSingleSelect&&this.revertSelectedItems(this.selectedItems),this.modeRadioGroup){const t=e.parentElement;this.revertSelectedItems(t.getItems())}e.selected=!e.selected}handleGroupHeaderState(e){this.modeMultiSelect&&e.handleHeaderState()}onHeaderPress(e){const t=e.detail.item,i=this.getDataTokenId(t);this.handleGroupHeaderSelection(i),this.syncFilteredItems(),this.fireSelectionChange(i)}handleAccordionIconClick(e){var a;const t=e.target,i=this._validItems.find(r=>r._id===t.id);i&&(i.collapsed=e.detail.collapsed,(a=i.setCollapsedItems)==null||a.call(i))}onSelectAllHeaderPress(e){const t=e.detail.item,i=this.getDataTokenId(t);this.handleGroupHeaderSelection(i),this.syncFilteredItems(),this.fireDecoratorEvent("select-all")}handleGroupHeaderSelection(e){this.getProcessedItems().forEach(({item:t})=>{t._id===e&&t.handleSelectionGroupState()})}onSearch(e){const t=e,i=t!=="";i&&!this._shouldFilterItems&&this.saveGroupCollapseState(),!i&&this._shouldFilterItems&&this.restoreGroupCollapseState(),this._shouldFilterItems=i,this._filteredItems=this.filterItems(this.getProcessedItems(),t);const a=this.getFlattenItemsArray(this._filteredItems);this._accSearchResultInfo=a.length?`${a.length} ${this.resultReturnedText}`:this.noMatchesFoundText,this.fireDecoratorEvent("change-search",{value:t})}onReset(){this.revertSelectedItems(this.selectedItems)}onResetSearch(){this.resetSearch(),this.fireDecoratorEvent("reset-search")}onSubmitSearch(){this.fireDecoratorEvent("submit-search",{selectedItems:this.selectedItems})}resetSearch(){const e=this.getSearch();e.value="",this._shouldFilterItems=!1,this.restoreGroupCollapseState(),this._filteredItems=this.filterItems(this.getProcessedItems(),"")}filterItems(e,t){const i=t!=="";return e.filter(a=>{const{isGroup:r,item:n}=a;if(r){const s=this.checkAndUpdateLabel(n,t),u=this.filterItemsForLabel(a.groupItems,t);return s?a.groupItems.forEach(c=>this.checkAndUpdateLabel(c,t)):a.groupItems=u,i&&(s||a.groupItems.length>0)&&(n.collapsed=!1),!i||s||a.groupItems.length>0}return this.checkAndUpdateLabel(n,t)})}filterItemsForLabel(e,t){return e.filter(i=>this.checkAndUpdateLabel(i,t))}checkAndUpdateLabel(e,t){if(e.ratingCount)return this.isIncludes(e.ratingCount,t);if(!e.label)return console.warn("A label property is required for the item"),!1;const i=lc(e.label);return this.isIncludes(i,t)?(e.label=this.addSearchTermTag(i,t),!0):(e.label=i,!1)}addSearchTermTag(e,t){if(!t.length)return e;const i=new RegExp(`(${t})`,"i");return e.replace(i,"<b>$1</b>")}isIncludes(e,t){return e.toLowerCase().includes(t.toLowerCase())}revertSelectedItems(e){e.forEach(t=>{t.disabled||(t.selected=!1)})}syncFilteredItems(){const e=this.getSearch();this._shouldFilterItems?this._filteredItems=this.filterItems(this.getProcessedItems(),e.value):this._filteredItems=this.getProcessedItems()}saveGroupCollapseState(){this._groupCollapseStateBeforeSearch.clear(),this.items.forEach(e=>{e.isGroup&&this._groupCollapseStateBeforeSearch.set(e._id,!!e.collapsed)})}restoreGroupCollapseState(){this.items.forEach(e=>{if(e.isGroup&&this._groupCollapseStateBeforeSearch.size){const t=this._groupCollapseStateBeforeSearch.get(e._id);t!==void 0&&(e.collapsed=t)}}),this._groupCollapseStateBeforeSearch.clear(),this._pendingHeightReset=!0}getSlottedItems(e){const t=[];return e.forEach(i=>{t.push(i),i.isGroup&&t.push(...i.getItems())}),t}getItemFromList(e){let t=null;for(let i=0;i<this.items.length;i++){const a=this.items[i];if(a.isGroup){if(a._id===e){t=a;break}if(t=a.getItems().find(({_id:n})=>n===e),t)break}else if(a._id===e){t=a;break}}return t}fireSelectionChange(e){this.fireDecoratorEvent("selection-change",{selectedItems:this.selectedItems,item:this.getItemFromList(e)})}fireFirstIconClickEvent(e){this._fireIconClickEvent("first-icon-click",e)}fireSecondIconClickEvent(e){this._fireIconClickEvent("second-icon-click",e)}_dropdownScrollToTop(){var e;(e=this.getPopoverPart(ba.Content))==null||e.scrollTo({top:0})}_expandCollapsedGroupsWithSelection(){this._validItems.filter(e=>e.isGroup).forEach(e=>{var n,s,u;const t=e;if(!t.collapsible)return;const i=(n=this.shadowRoot)==null?void 0:n.querySelector(`[udex-list-group-header][id="${t._id}"]`);if(!(t.collapsed||!!(i!=null&&i.hasAttribute("collapsed"))))return;t.items.some(c=>c.selected)&&(t.collapsed=!1,(s=t.setCollapsedItems)==null||s.call(t),i&&(i.collapsed=!1,(u=i.setCollapsedItems)==null||u.call(i)))})}_dropdownScrollToSelectedItem(){var a;const e=this.getPopoverPart(ba.Content);if(!e)return;const t=this.activeItem;if(!t){this._dropdownScrollToTop();return}(a=this.shadowRoot)==null||a.querySelectorAll("[udex-list-group-header]").forEach(r=>{r.hasAttribute("collapsible")&&!r.hasAttribute("collapsed")&&(r.style.removeProperty("--udex-list-content-max-height"),r.setContentHeight())}),e.scrollTop=0;const i=t.getBoundingClientRect().top-e.getBoundingClientRect().top;e.scrollTop=i}_handleDropdownScroll(){this.modeMultiSelect||!this.activeItem?this._dropdownScrollToTop():this.modeSingleSelect&&this._dropdownScrollToSelectedItem()}focusFirstItem(){var r,n;const e=this.getList(),t=e.getKeyboardNavigationItems();if(!t.length)return;const i=(r=t[0])!=null&&r.nonInteractive&&!((n=t[0])!=null&&n.collapsible)?1:0,a=t[i];e.setTabIndexByIndex(t,i),a.isGroup?e.focusHeader(a):e.focusItem(a)}_fireIconClickEvent(e,t){const i=t.detail.item,a=this.getDataTokenId(i);this.fireDecoratorEvent(e,{originalEvent:t.detail.originalEvent,item:this.getItemFromList(a)})}getFlattenItemsArray(e){return e.flatMap(t=>t.isGroup?[t,...t.groupItems.filter(i=>!i.disabled)]:t.item.disabled?[]:[t.item])}getCurrentIndex(e){return this.getDomListItems().indexOf(e)}getList(){return this.shadowRoot.querySelector("[udex-list]")}getSearch(){return this.shadowRoot.querySelector("[udex-search]")||this.shadowRoot.querySelector(".udex-text-field__search")}getPopover(){return this.shadowRoot.querySelector("[ui5-popover]")}getDomListItems(){const e=this.shadowRoot.querySelector("[udex-list]");return e?Array.from(e.querySelectorAll("[udex-list-item]")):[]}getDataTokenId(e){return e.getAttribute("data-token-id")}getProcessedItems(){return this._validItems.map(e=>{const t=e.isGroup,i=t?e.getItems():[];return t&&this._setItemsModeAndControl(i),e.mode=this.mode,e.controlled=this.isControlled,{item:e,groupItems:i,isGroup:t}})}getPopoverPart(e){return this.getPopover().shadowRoot.querySelector(`[part=${e}]`)}_managePopupListeners(e,t){const i=this.getPopoverPart(e);i==null||i[t]("wheel",a=>a.preventDefault())}_setContentHeight(){const e=this.getPopoverPart(ba.Content);e.style.maxHeight=this.height||""}_setItemsModeAndControl(e){e.forEach(t=>{t.mode=this.mode,t.controlled=this.isControlled})}get activeItem(){return this.getDomListItems().find(({selected:e})=>e)}get _validItems(){return this.items.filter(e=>!(e instanceof HTMLElement)||"isGroup"in e)}get getNoResultText(){return this.noResultText!==void 0&&this.noResultText.length>0?this.noResultText:this.noMatchesFoundText}get noMatchesFoundText(){return B(Gc,U0)}get resultReturnedText(){return B(Gc,y3)}get startsText(){return B(Gc,w5)}get isListEmpty(){return this._filteredItems.length===0}get selectedItems(){return this.getSlottedItems(this._validItems).filter(({selected:t})=>t)}get modeMultiSelect(){return this.mode===Ye.MultiSelect}get modeSingleSelect(){return this.mode===Ye.SingleSelect}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get isControlled(){const e=this.items.some(({isGroup:t})=>t);return this.modeMultiSelect&&e}get isTreeStructure(){return!1}get _activeDescendantMode(){return!1}get additionalClassName(){return"udex-searchable-list__header"}get groupClassName(){const e="udex-searchable-list__header";return this.showSearch?`${e} udex-searchable-list__header_no-margin`:e}get showSearch(){const e=this.showSearchInput||this.isSearchActive&&!this.modeRadioGroup;return!this.hideDropdownSearch&&e}get isSearchActive(){return this.nonGroupItems.length>AX}get nonGroupItems(){return this.getSlottedItems(this._validItems).filter(e=>!e.isGroup)}get roleForGroupList(){return this._activeDescendantMode?this.accessibleRoleForList:"none"}get listAccessibleName(){return""}get accessibleRoleForList(){return this.isTreeStructure?"tree":this.mode===Ye.SingleContent?"list":this.isPerGroupListbox?"presentation":this.defaultAccessibleRole}get isPerGroupListbox(){if(this.isTreeStructure||this._activeDescendantMode||!this.modeSingleSelect)return!1;const e=this.items;return e.length>0&&e.every(t=>t.isGroup)}get listItemRole(){return this.isTreeStructure?"treeitem":this.mode===Ye.SingleContent?"listitem":this.accessibleRoleForList==="listbox"?"option":"none"}get hideDropdownSearch(){return!1}};Vo([d({type:Boolean})],ho.prototype,"tabNavigationEnabled",void 0);Vo([d({type:String})],ho.prototype,"height",void 0);Vo([d({type:Boolean})],ho.prototype,"preventPageScroll",void 0);Vo([d({type:Boolean})],ho.prototype,"busy",void 0);Vo([d({type:Boolean})],ho.prototype,"showSearchInput",void 0);Vo([d({type:Number})],ho.prototype,"busyDelay",void 0);Vo([d()],ho.prototype,"noResultText",void 0);Vo([d()],ho.prototype,"searchPlaceholder",void 0);Vo([d({type:Boolean})],ho.prototype,"selectAll",void 0);Vo([d()],ho.prototype,"selectAllLabel",void 0);Vo([d()],ho.prototype,"mode",void 0);Vo([d()],ho.prototype,"type",void 0);Vo([d({type:String})],ho.prototype,"itemIcon",void 0);Vo([D({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ho.prototype,"items",void 0);Vo([d({type:String})],ho.prototype,"defaultAccessibleRole",void 0);Vo([d({type:Object})],ho.prototype,"_filteredItems",void 0);Vo([V("@sapudex/web-components")],ho,"i18nBundle",void 0);ho=Gc=Vo([x("selection-change",{bubbles:!0}),x("select-all",{bubbles:!0}),x("submit-search",{bubbles:!0}),x("reset-search",{bubbles:!0}),x("change-search",{bubbles:!0}),x("first-icon-click",{bubbles:!0}),x("second-icon-click",{bubbles:!0})],ho);const Bm=ho;var Am;(function(o){o.None="None",o.Single="Single",o.SingleStart="SingleStart",o.SingleEnd="SingleEnd",o.SingleAuto="SingleAuto",o.Multiple="Multiple",o.Delete="Delete"})(Am||(Am={}));const Mt=Am,EX=":host{justify-content:center;align-items:center;display:flex;color:var(--sapList_TextColor);background-color:var(--sapList_Background);font-family:var(--sapFontFamily);height:var(--sapElement_LineHeight);border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);opacity:.8;position:absolute;padding:0 1rem;top:-1000px;left:-1000px}",DX={key:"DRAG_DROP_MULTIPLE_TEXT",defaultText:"{0} items"},I7=2;let n2=null;const RX=(o,e)=>{var t;n2=o,(t=e==null?void 0:e.dataTransfer)==null||t.setData("text/plain",o?o.id:"")},PX=()=>{n2=null},LX=()=>n2,NX=async o=>{const e=document.createElement("div"),t=await p_("@ui5/webcomponents-base"),i=e.attachShadow({mode:"open"}),a=new CSSStyleSheet;return a.replaceSync(EX),i.adoptedStyleSheets=[a],i.textContent=t.getText(DX,o),e},MX=async(o,e)=>{if(o<I7){console.warn(`Cannot start multiple drag with count ${o}. Minimum is ${I7}.`);return}if(!e.dataTransfer)return;const t=await NX(o);document.body.appendChild(t),e.dataTransfer.setDragImage(t,0,0),requestAnimationFrame(()=>{t.remove()})},Mu={setDraggedElement:RX,clearDraggedElement:PX,getDraggedElement:LX,startMultipleDrag:MX};function OX(o,e,t,i,a={}){const r=Mu.getDraggedElement(),n={targetReference:null,placement:null};if(!r&&!(a!=null&&a.crossDnD))return n;const s=t.placements;return n.targetReference=o.target,s.some(u=>{const c=a.originalEvent?{originalEvent:o}:{};return e.fireDecoratorEvent("move-over",{...c,source:{element:r},destination:{element:i,placement:u}})?!1:(o.preventDefault(),n.targetReference=t.element,n.placement=u,!0)})||(n.targetReference=null),n}function FX(o,e,t,i,a={}){o.preventDefault();const r=Mu.getDraggedElement();if(!r&&(a!=null&&a.crossDnD))return;const n=a.originalEvent?{originalEvent:o}:{};e.fireDecoratorEvent("move",{...n,source:{element:r},destination:{element:t,placement:i}}),r==null||r.focus()}var Co=(o=>(o.On="On",o.Before="Before",o.After="After",o))(Co||{}),rl=(o=>(o.Vertical="Vertical",o.Horizontal="Horizontal",o))(rl||{});const B7=(o,e,t,i)=>{const a=Math.abs(o-e),r=Math.abs(o-t),n=Math.abs(o-i),s=Math.min(a,r,n);let u=[];switch(s){case a:u=[Co.Before];break;case r:u=[Co.On,a<n?Co.Before:Co.After];break;case n:u=[Co.After];break}return u},zX=(o,e,t)=>{let i=Number.POSITIVE_INFINITY,a=null;for(let f=0;f<o.length;f++){const b=o[f],{left:k,width:$,top:H,height:X}=b.getBoundingClientRect();let y;t===rl.Vertical?y=H+X/2:y=k+$/2;const C=Math.abs(e-y);C<i&&(i=C,a=b)}if(!a)return null;const{width:r,height:n,left:s,right:u,top:c,bottom:p}=a.getBoundingClientRect();let _;return t===rl.Vertical?_=B7(e,c,c+n/2,p):_=B7(e,s,s+r/2,u),{element:a,placements:_}},A7=(o,e)=>(e--,e<0?[]:[{element:o[e],placement:Co.Before}]),E7=(o,e)=>(e++,e>=o.length?[]:[{element:o[e],placement:Co.After}]),L8={ArrowLeft:A7,ArrowUp:A7,ArrowRight:E7,ArrowDown:E7,Home:(o,e)=>o.slice(0,e).map(t=>({element:t,placement:Co.Before})),End:(o,e)=>o.slice(e+1,o.length).reverse().map(t=>({element:t,placement:Co.After}))},$X=(o,e,t)=>HX(t.key)?L8[t.key](o,o.indexOf(e)):[],HX=o=>o in L8;class N8{constructor(e,t){this.component=e,this.config={orientation:rl.Vertical,clientCoordinate:"clientY",...t}}ondragenter(e){e.preventDefault()}ondragleave(e){var i;if(e.relatedTarget instanceof Node&&((i=this.component.shadowRoot)!=null&&i.contains(e.relatedTarget)))return;const t=this.config.getDropIndicator();t&&(t.targetReference=null)}ondragover(e){if(!this._validateDragOver(e))return;const t=Mu.getDraggedElement(),i=this.config.getDropIndicator(),a=this._findClosestPosition(e);if(!a){i.targetReference=null;return}const r=this._transformTargetElement(a.element);if(!this._isValidDragTarget(t,r)){i.targetReference=null;return}const n=this._filterPlacements(a.placements,t,r),s=this.config.useOriginalEvent?{originalEvent:!0}:{},{targetReference:u,placement:c}=OX(e,this.component,{element:r,placements:n},r,s);i.targetReference=u,i.placement=c}ondrop(e){const t=this.config.getDropIndicator();if(!(t!=null&&t.targetReference)||!(t!=null&&t.placement)){e.preventDefault();return}const i=this.config.useOriginalEvent?{originalEvent:!0}:{};FX(e,this.component,t.targetReference,t.placement,i),t.targetReference=null}_validateDragOver(e){if(!(e.target instanceof HTMLElement))return!1;const t=Mu.getDraggedElement(),i=this.config.getDropIndicator();return!!(t&&i)}_findClosestPosition(e){const t=this.config.getItems(),i=this.config.clientCoordinate==="clientX"?e.clientX:e.clientY;return zX(t,i,this.config.orientation)}_transformTargetElement(e){return this.config.transformElement?this.config.transformElement(e):e}_isValidDragTarget(e,t){return this.config.validateDraggedElement?this.config.validateDraggedElement(e,t):!0}_filterPlacements(e,t,i){return this.config.filterPlacements?this.config.filterPlacements(e,t,i):e}}const D7=o=>{let e=o;return o.shadowRoot&&o.shadowRoot.activeElement&&(e=o.shadowRoot.activeElement),e};let _p=null;const M8=(o,e)=>{_p&&clearTimeout(_p),_p=setTimeout(()=>{_p=null,o()},e)},XX=o=>{const e=o.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)};var Em;(function(o){o.Button="Button",o.Scroll="Scroll",o.None="None"})(Em||(Em={}));const Fg=Em;var Dm;(function(o){o.List="List",o.Menu="Menu",o.Tree="Tree",o.ListBox="ListBox"})(Dm||(Dm={}));const zg=Dm;var Rm;(function(o){o.All="All",o.Inner="Inner",o.None="None"})(Rm||(Rm={}));const R7=Rm;function UX(){return l("div",{class:{"ui5-di-rect":this.placement===Co.On,"ui5-di-needle":this.placement!==Co.On}})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const jX=`:host{position:absolute;pointer-events:none;z-index:99}:host([orientation="Vertical"]) .ui5-di-needle{width:.125rem;height:100%;inset-block:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Vertical"]){margin-left:-.0625rem}:host([orientation="Horizontal"]) .ui5-di-needle{height:.125rem;width:100%;inset-inline:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Horizontal"]){margin-top:-.0625rem}:host([orientation="Horizontal"][placement="Before"][first]){margin-top:.3125rem}:host([orientation="Horizontal"][placement="After"][last]){margin-top:-.3125rem}:host([orientation="Vertical"]) .ui5-di-needle:before{left:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host([orientation="Horizontal"]) .ui5-di-needle:before{top:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host .ui5-di-rect{border:.125rem solid var(--sapContent_DragAndDropActiveColor);position:absolute;inset:0}:host .ui5-di-rect:before{content:" ";position:absolute;inset:0;background:var(--sapContent_DragAndDropActiveColor);opacity:.05}
|
|
547
|
+
`;var P5=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let gl=class extends Gd{constructor(){super(...arguments),this.valueState=kc.None}onAfterRendering(){this.readonly=this.readonly||this.displayOnly,this.syncGroup()}get valueStateText(){switch(this.valueState){case kc.Error:return B(Gd,ic);case kc.Success:return B(Gd,rc);case kc.Information:return B(Gd,C3);case kc.Warning:return B(Gd,j0);default:return""}}};P5([d({type:Boolean})],gl.prototype,"displayOnly",void 0);P5([d()],gl.prototype,"valueState",void 0);P5([V("@sapudex/web-components")],gl,"i18nBundle",void 0);gl=P5([T({tag:"udex-radio-button",renderer:A,styles:[Gd.styles,hX]})],gl);gl.define();const A8=gl;function k7(){return g("div",{class:"udex-list__content-wrap",_id:this._id,"aria-labelledby":`${this._id}-invisibleText`,"aria-label":this.accessibleListItemName,children:[this.flag&&l("div",{class:"udex-list__flag-wrap",children:l("span",{class:"udex-list__flag",style:{backgroundPosition:this.flagPosition}})}),this.typeNumber&&g("span",{class:"udex-list__number",children:[this.numberOfItem,"."]}),this.typeCircle&&l("span",{class:"udex-list__circle",children:"•"}),this.typeIcon&&l(R,{name:this._icon,class:"udex-list__icon","accessible-role":"presentation","aria-hidden":"true",part:"icon"}),this.image&&g(y_,{class:"udex-list__avatar",part:"avatar",shape:this.imageShape,size:this.imageSize,children:[this.imageBadgeState&&l(I8,{slot:"badge","value-state":this.imageBadgeState,size:this.imageSize}),l("img",{src:this.image,alt:this.imageAlt})]}),g("div",{class:"udex-list__content",part:"content",children:[this.label?g(P,{children:[g("div",{class:"udex-list__text-holder",children:[l("span",{part:"title",innerHTML:this.label}),this.supportingText&&" ",this.supportingText&&l("span",{class:"udex-list__supporting-text",part:"supporting",children:this.supportingText}),l("slot",{part:"content"}),this.hasRating&&l(zh,{"aria-label":this.ratingAriaLabel,value:this.rating!==void 0?Number(this.rating):void 0,"rating-count":this.ratingCount,"total-count":this.totalCount,max:this.ratingMax,display:this._displayRating,disabled:!0,readonly:!0})]}),this.additionalText&&" ",this.additionalText&&l("div",{class:"udex-list__add-text",part:"additional-text",children:this.additionalText}),g("div",{class:"udex-list__btn-wrap",children:[this.hasFirstIcon&&l("slot",{name:"firstIcon",onClick:this._fireIconClickEvent}),this.hasSecondIcon&&l("slot",{name:"secondIcon",onClick:this._fireIconClickEvent})]})]}):g(P,{children:[g("div",{class:"udex-list__text-holder",children:[l("slot",{part:"content"}),this.supportingText&&" ",this.supportingText&&l("span",{class:"udex-list__supporting-text",part:"supporting",children:this.supportingText}),this.hasRating&&l(zh,{"aria-label":this.ratingAriaLabel,value:this.rating!==void 0?Number(this.rating):void 0,"rating-count":this.ratingCount,"total-count":this.totalCount,max:this.ratingMax,display:this._displayRating,disabled:!0,readonly:!0})]}),this.additionalText&&" ",this.additionalText&&l("div",{class:"udex-list__add-text",part:"additional-text",children:this.additionalText}),g("div",{class:"udex-list__btn-wrap",children:[this.hasFirstIcon&&l("slot",{name:"firstIcon",onClick:this._fireIconClickEvent}),this.hasSecondIcon&&l("slot",{name:"secondIcon",onClick:this._fireIconClickEvent})]})]}),this.collapsible&&l("div",{class:"udex-list__group-heading__icon-wrapper",children:l(me,{class:"udex-list__group-heading__icon",size:ye.Small,design:ve.Tertiary,onMouseDown:this.handleCollapseIconMouseDown,onClick:this.handleCollapseIconClick,tabindex:-1,"accessible-name":this.expandButtonAccessibleName,mode:"Interactive",icon:Ii})})]}),l("div",{class:"hidden",id:`${this._id}-invisibleText`,children:this.accessibleListItemName})]})}function _X(){return g(P,{children:[this.modeSelected&&g("div",{part:"item",tabIndex:this._useHostAriaRole?void 0:Number(this._effectiveTabIndex),"aria-disabled":this._useHostAriaRole?void 0:this._ariaDisabled,class:this.className,role:this.roleItem,"aria-label":this._useHostAriaRole?void 0:this.accessibleListItemName||void 0,"aria-checked":this.ariaCheckedValue,"aria-selected":this.ariaSelectedValue,"aria-expanded":this.ariaExpandedValue,"aria-level":!this._useHostAriaRole&&this.roleItem==="treeitem"?this._ariaLevel:void 0,"aria-posinset":this._ariaPosInSet||void 0,"aria-setsize":this._ariaSetSize||void 0,onFocusIn:this.handleFocusIn,onFocusOut:this.handleFocusOut,onClick:this.handleItemClick,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,divider:this.divider,_id:this._id,"data-selected":this.selected,children:[this.modeMultiSelect&&l(t8,{class:"udex-list__checkbox",part:"checkbox",tabindex:-1,indeterminate:this.indeterminate,checked:this.selected,disabled:this.disabled,"aria-hidden":"true"}),this.modeRadioGroup&&l(A8,{class:"udex-list__radio",part:"radio",tabindex:-1,"accessible-name":`radio ${this.stateAccessibleName}`,checked:this.selected,disabled:this.disabled}),k7.call(this)]}),this.modeSingleContent&&l("div",{part:"item",role:this.roleItem,"aria-selected":this.ariaSelectedValue,class:this.className,children:k7.call(this)})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const pX=`:host{--udex-list-item-padding-vertical: var(--udexSpacer12, 12px);--udex-list-item-padding-horizontal: var(--udexSpacer16, 16px);--udex-list-item-padding-top: var(--udex-list-item-padding-vertical);--udex-list-item-padding-bottom: var(--udex-list-item-padding-vertical);--udex-list-item-padding-inline-start: var(--udex-list-item-padding-horizontal);--udex-list-item-padding-inline-end: var(--udex-list-item-padding-horizontal);--udex-list-item-background-active: var(--sapList_Active_Background, #EAECEE);--udex-list-item-border-color-active: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-color-active: var(--sapList_Active_TextColor, #000);--udex-list-item-supporting-text-color-active: var(--sapContent_LabelColor, #475E75);--udex-list-item-background-selected-hover: var(--sapButton_Selected_Hover_Background, #D1EFFF);--udex-list-item-background-default: var(--sapList_Background, #FFF);--udex-list-item-color-default: var(--sapList_HeaderTextColor, #223548);--udex-list-item-supporting-text-color-default: var(--sapContent_LabelColor, #475E75);--udex-list-item-supporting-text-color-hover: var(--sapContent_LabelColor, #475E75);--udex-list-item-background-hover: var(--sapList_Hover_Background, #F5F6F7);--udex-list-item-color-hover: var(--sapList_HeaderTextColor, #223548);--udex-list-item-border-color-selected: var(--udexColorBlue8, #0057D2);--udex-list-item-background-selected: var(--sapList_SelectionBackgroundColor, #EBF8FF);--udex-list-item-color-selected: var(--sapList_HeaderTextColor, #223548);--udex-list-item-supporting-text-color-selected: var(--sapContent_LabelColor, #475E75);--udex-list-item-divider-border-color: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-divider-border-color-hover: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-outline-border-color: var(--udexColorBlue10, #002A86);--udex-list-item-disabled-opacity: var(--sapContent_DisabledOpacity, .4);--udex-list-item-additional-text-font-weight: 400;--udex-list-item-flag-border-color: var(--udexColorGrey2, #EAECEE);background:var(--udex-list-item-background-default);color:var(--udex-list-item-color-default);display:block;position:relative}:host([selected]):before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:var(--udex-list-item-border-color-selected)}:host([selected]:dir(rtl)):before{left:auto;right:0}:host([disabled]:not([mode="SingleContent"])){opacity:var(--udex-list-item-disabled-opacity);pointer-events:none}:host(:not([disabled]):not([mode="SingleContent"])){cursor:pointer}:host([active]) .udex-list__supporting-text{color:var(--udex-list-item-supporting-text-color-active)}:host([active][selected]){background:var(--udex-list-item-background-active)}:host([_aria-selected]:not([mode="SingleContent"])),:host(:not([disabled]):not([selected]):not([mode="SingleContent"]):hover){background:var(--udex-list-item-background-hover);color:var(--udex-list-item-color-hover)}:host([_aria-selected][selected]:not([mode="SingleContent"])){background:var(--udex-list-item-background-selected-hover)}:host(:not([mode="SingleContent"]):not([disabled])[desktop]) .udex-list__item:focus:before,:host(:not([mode="SingleContent"]):not([disabled])) .udex-list__item:focus-visible:before,:host(._udex-active-descendant:not([mode="SingleContent"]):not([disabled])) .udex-list__item:before{content:"";position:absolute;inset:4px 4px 4px 6px;outline:var(--udexRadiusXXS) solid var(--udex-list-item-outline-border-color);border-radius:var(--udexRadiusM, 8px);pointer-events:none}:host([active]:not([mode="SingleContent"]):not([disabled])[desktop]:focus){background:var(--udex-list-item-background-active);border-color:var(--udex-list-item-border-color-active);color:var(--udex-list-item-color-active)}:host(:not([disabled]):hover) .udex-list__supporting-text{color:var(--udex-list-item-supporting-text-color-hover)}:host([selected]:not([mode="SingleContent"])){background:var(--udex-list-item-background-selected);color:var(--udex-list-item-color-selected)}:host(:hover[selected]:not([disabled]):not([mode="SingleContent"])){background:var(--udex-list-item-background-selected-hover)}:host([selected]) .udex-list__supporting-text{color:var(--udex-list-item-supporting-text-color-selected)}:host([divider]){border-color:var(--udex-list-item-divider-border-color)}:host([divider]):hover{border-color:var(--udex-list-item-divider-border-color-hover)}:host([additional-text-state="Success"])::part(additional-text){color:var(--udexColorGreen9, #1E592F)}:host([additional-text-state="Error"])::part(additional-text){color:var(--udexColorRed9, #840606)}:host([additional-text-state="Information"])::part(additional-text){color:var(--udexColorBlue9, #0040B0)}:host([additional-text-state="Warning"])::part(additional-text){color:var(--udexColorMango9, #8D2A00)}:host::part(checkbox),:host::part(radio){padding-inline-end:var(--udexSpacer12, 12px)}:host::part(checkbox){min-width:24px}:host::part(radio){min-width:42px}:host([mode="SingleContent"])::part(item){padding:var(--udexSpacer4, 4px) 0;border:none}:host([mode="SingleContent"])::part(avatar){padding-inline-start:var(--udexSpacer12, 12px)}:host::part(additional-text){margin-inline-start:0;margin-inline-end:var(--udexSpacer12, 12px)}:host([mode="SingleContent"])::part(button){padding:0}:host(.udex-list__sticky){position:absolute;top:0;right:12px;left:0;z-index:var(--udexZIndex1, 1);border-radius:var(--udexRadiusM, 8px) 0 0}::slotted([udex-list]){padding-top:var(--udexSpacer12, 12px);display:block}::slotted(b){display:inherit}::slotted([udex-button]:hover:not([active])){background-color:var(--udex-button-color-tertiary-standard-default-background)}.udex-list__item:focus-visible{outline:none}.udex-list__item{padding-top:var(--udex-list-item-padding-top);padding-bottom:var(--udex-list-item-padding-bottom);padding-inline-start:var(--udex-list-item-padding-inline-start);padding-inline-end:var(--udex-list-item-padding-inline-end);display:flex;align-items:center}.udex-list__content-wrap{display:flex;width:100%}.udex-list__btn-wrap{display:flex;gap:var(--udexSpacer8, 8px)}.udex-list__number{margin-inline-end:var(--udexSpacer8, 8px)}.udex-list__circle{display:block;min-width:20px;height:22px;position:relative}.udex-list__supporting-text{font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyBodyLineHeight, 21px);font-weight:var(--udexTypographyFontWeightRegular, 400);color:var(--udex-list-item-supporting-text-color-default);padding-top:var(--udexSpacer2, 2px)}.udex-list__content{display:flex;align-items:center;flex:auto}.udex-list__text-holder{display:flex;flex-direction:column;flex-basis:100%}.udex-list__add-text{font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyHeadingLineHeight, 21px);padding-inline-start:var(--udexSpacer12, 12px);white-space:nowrap;font-weight:var(--udex-list-item-additional-text-font-weight)}.udex-list__icon{margin-inline-end:var(--udexSpacer8, 8px);padding-top:2px;min-width:18px;height:18px}.udex-list__avatar{display:flex;align-items:center;margin-inline-end:var(--udexSpacer8, 8px)}.udex-list__item.udex-list__sticky.udex-list__item_controlled .udex-list__checkbox,.udex-list__item.udex-searchable-list__header.udex-list__item_controlled .udex-list__checkbox,.udex-list__item .udex-list__radio,.udex-list__item .udex-list__checkbox{pointer-events:none;min-width:auto}.udex-list__item.udex-list__item_controlled .udex-list__radio,.udex-list__item.udex-list__item_controlled .udex-list__checkbox{pointer-events:auto}.udex-list__radio{--udex-radio-button-outer-ring-padding: 0}.udex-list__item_large{font-size:var(--udexTypographyBodyLFontSize, 20px);line-height:var(--udexTypographyHeadingLineHeight, 22px);font-weight:var(--udexTypographyFontWeightMedium, 500)}.udex-list__item_large .udex-list__supporting-text{font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px)}.udex-list__flag-wrap{min-width:30px;margin-inline-end:var(--udexSpacer12, 12px);position:relative}.udex-list__flag{background-image:url(https://cdn.udex.services.sap.com/dds/design-tokens/assets/country_flag_iso3166.webp);width:30px;height:20px;margin-inline-end:var(--udexSpacer12, 12px);position:absolute;top:50%;transform:translateY(-50%)}.udex-list__flag:before{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid var(--udex-list-item-flag-border-color)}.hidden{display:none}.udex-list__group-heading__icon{transform:rotate(-90deg);height:18px;width:18px;color:inherit;cursor:pointer;--udex-button-icon-s-size: 18px}.udex-list__group-heading__icon-wrapper{height:24px;width:24px;display:flex;justify-content:center;align-items:center}:host([collapsed]) .udex-list__group-heading__icon,:host(:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(90deg)}:host([collapsed]:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(-90deg)}[udex-rating-indicator]{--udex_rating_indicator_disabled_opacity: 1;pointer-events:none}
|
|
548
|
+
`;var Ao=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Vc;const hp="udex-list__item",T7="option";let Yt=Vc=class extends E_{constructor(){super(),this.accessibleName="",this.additionalTextState=D1.None,this.imageShape=Ph.Circle,this.imageSize=Cr.S,this.accessibleRole="",this._displayRating=R1.Desktop,this.deactivate=()=>{this.active&&(this.active=!1)}}onEnterDOM(){document.addEventListener("mouseup",this.deactivate),se()&&this.setAttribute("desktop","")}onExitDOM(){document.removeEventListener("mouseup",this.deactivate)}handleMouseDown(e){this._useHostAriaRole&&e.preventDefault(),this.activate()}handleMouseUp(){this.deactivate()}handleKeyUp(e){this.firstIconElement===e.target||this.secondIconElement===e.target||e.target.classList.contains("udex-list__group-heading__icon")||(e.preventDefault(),(K(e)||ie(e))&&this.deactivate())}handleKeyDown(e){this.firstIconElement===e.target||this.secondIconElement===e.target||e.target.classList.contains("udex-list__group-heading__icon")||(K(e)&&e.preventDefault(),(K(e)||ie(e))&&(this.activate(),this.handleItemClick(e)))}handleKeyDownIcon(e){e.stopPropagation()}handleItemClick(e){this.disabled||(!this.indeterminate&&!this.controlled&&(this.selected=!this.selected),this.fireItemPress(e))}handleFocusIn(){this.disabled||(this.focused=!0,this.fireDecoratorEvent("item-focus",{item:this}))}handleFocusOut(){this.disabled||(this.focused=!1,this.deactivate())}fireItemPress(e){ie(e)&&e.preventDefault(),this.fireDecoratorEvent("item-press",{selected:this.selected,item:this})}activate(){this.disabled||(this.active=!0)}get className(){const e=this==null?void 0:this.parentElement,t=this.controlled?`${hp}_controlled`:"",i=e!=null&&e.isGroup?`${hp}_group`:"",a=this.isLargeSize?`${hp}_large`:"";return`${hp} ${i} ${this._additionalClassName} ${t} ${a}`.trim()}get firstIconElement(){return this.getSlottedNodes("firstIcon")[0]}get secondIconElement(){return this.getSlottedNodes("secondIcon")[0]}get hasFirstIcon(){return!!this.firstIcon}get hasSecondIcon(){return!!this.secondIcon}get roleItem(){return this._useHostAriaRole?"presentation":this.accessibleRole?this.accessibleRole:this.modeSingleContent?"listitem":T7}get effectiveRole(){return this.accessibleRole||T7}get ariaCheckedValue(){if(this.roleItem==="treeitem"&&this.modeMultiSelect)return this.indeterminate?"mixed":this.selected?"true":"false"}get ariaSelectedValue(){if(!this.modeRadioGroup&&!(this.roleItem==="treeitem"&&this.modeMultiSelect)&&!(this.roleItem!=="treeitem"&&this.roleItem!=="option"))return this.selected?"true":"false"}get ariaExpandedValue(){if(!(this._useHostAriaRole||!this.collapsible))return this.expanded?"true":"false"}get _ariaDisabled(){return this.disabled?!0:void 0}get modeSingleContent(){return this.mode===Ye.SingleContent}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get modeSelected(){return[Ye.SingleSelect,Ye.MultiSelect,Ye.RadioGroup].includes(this.mode)}get isLargeSize(){return this.size===Fh.Large}get accessibleListItemName(){const e=this.label?this.label.replace(/<[^>]+>/g,""):this.getSlottedNodes("content").map(t=>t.textContent||"").join(" ").replace(/\s+/g," ").trim();return this.accessibleName||[e,this.supportingText,this.additionalText,this.hasRating?this.ratingAriaLabel:void 0].filter(Boolean).join(" ")}get stateAccessibleName(){return this.indeterminate?B(Vc,X0):`${this.selected?B(Vc,H0):B(Vc,b3)} `}};Ao([d()],Yt.prototype,"imageBadgeState",void 0);Ao([d()],Yt.prototype,"accessibleName",void 0);Ao([d({type:String})],Yt.prototype,"flagPosition",void 0);Ao([d({type:Boolean})],Yt.prototype,"flag",void 0);Ao([d({type:Boolean})],Yt.prototype,"active",void 0);Ao([d({type:Boolean})],Yt.prototype,"focused",void 0);Ao([d({type:String})],Yt.prototype,"additionalText",void 0);Ao([d()],Yt.prototype,"additionalTextState",void 0);Ao([d({type:String})],Yt.prototype,"image",void 0);Ao([d({type:String})],Yt.prototype,"imageAlt",void 0);Ao([d()],Yt.prototype,"imageShape",void 0);Ao([d()],Yt.prototype,"imageSize",void 0);Ao([D({type:Node,default:!0})],Yt.prototype,"content",void 0);Ao([D({type:me})],Yt.prototype,"firstIcon",void 0);Ao([D({type:me})],Yt.prototype,"secondIcon",void 0);Ao([d({type:String})],Yt.prototype,"accessibleRole",void 0);Ao([d({type:String})],Yt.prototype,"_additionalClassName",void 0);Ao([V("@sapudex/web-components")],Yt,"i18nBundle",void 0);Yt=Vc=Ao([T({tag:"udex-list-item",languageAware:!0,renderer:A,styles:pX,template:_X,dependencies:[y_,me,A8,t8,I8,zh,R]}),x("item-press",{bubbles:!0}),x("item-focus",{bubbles:!0})],Yt);Yt.define();const za=Yt;var uc=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};const Og="udex-list__group-header";let Qs=class extends E_{constructor(){super(...arguments),this._treeMode=!1,this._groupAsListbox=!1}handleSelectionGroupState(){if(!this.isAnyEnabledOption())return;const t=this.isAllSelected(),i=this.indeterminate;t?this.processGroupDeselectAll():i?this.toggleIndeterminateGroupState():this.processGroupSelectAll()}processGroupDeselectAll(){const e=this.isAnySelectedOptionDisabled();this.setAllItems(!1),e?this.activateHeaderIndeterminate():this.deactivateHeader()}toggleIndeterminateGroupState(){this.isEachEnabledOptionSelected()?this.processGroupDeselectAll():this.processGroupSelectAll()}processGroupSelectAll(){const e=this.isAnyNotSelectedOptionDisabled();this.setAllItems(!0),e?this.activateHeaderIndeterminate():this.activateHeader()}handleHeaderState(){const e=this.isAllSelected();if(this.isAllDeselected()){this.deactivateHeader();return}if(e){this.activateHeader();return}this.activateHeaderIndeterminate()}activateHeaderIndeterminate(){this.selected=!0,this.indeterminate=!0}activateHeader(){this.indeterminate=!1,this.selected=!0}deactivateHeader(){this.selected=!1,this.indeterminate=!1}setAllItems(e){this.getItems().forEach(t=>{t.disabled||(t.selected=e)})}isAllSelected(){return this.getItems().every(({selected:e})=>e)}isAllDeselected(){return this.getItems().every(({selected:e})=>!e)}isEachEnabledOptionSelected(){return this.getItems().every(e=>e.disabled||e.selected)}isAnyNotSelectedOptionDisabled(){return this.getItems().some(e=>!e.selected&&e.disabled)}isAnySelected(){return this.getItems().some(e=>e.selected)}isAnySelectedOptionDisabled(){return this.getItems().some(({disabled:e,selected:t})=>e&&t)}isAnyEnabledOption(){return this.getItems().some(({disabled:e})=>!e)}getItems(){return this.getSlottedNodes("items")}get isGroup(){return!0}get isSelectAllHeader(){return!1}get isFilterMenuSelectAllHeader(){return!1}get isNonActiveHeader(){return this.nonInteractive||this.modeRadioGroup}get useListItemHeader(){return this.modeMultiSelectOrRadioGroup}get isTreeAccessibleRole(){return this._treeMode||this._useHostAriaRole&&this.getAttribute("role")==="treeitem"}get isSingleContentList(){return this.mode===Ye.SingleContent&&!this._treeMode&&!this._useHostAriaRole}get isPerGroupListbox(){return this._groupAsListbox&&!this._useHostAriaRole&&!this._treeMode}get singleCollapsibleHeaderRole(){return this._useHostAriaRole?"presentation":this._treeMode?"treeitem":"button"}get collapsibleHeaderLabelledBy(){return this.supportingText?"group-heading group-supporting-text":"group-heading"}get collapsibleHeaderAccessibleRole(){return this._treeMode?"treeitem":"button"}get groupWrapperRole(){return this._useHostAriaRole?"presentation":this.isSingleContentList?"listitem":this._treeMode||this.isPerGroupListbox?"none":"group"}get contentRegionRole(){return this.isSingleContentList?"list":this.isTreeAccessibleRole?"group":"region"}get nonCollapsibleContainerRole(){return"none"}get nonCollapsibleHeaderAccessibleRole(){return this._treeMode?"treeitem":void 0}get className(){const e=this.controlled?`${Og}_controlled`:"";return`${Og} ${this._additionalClassName} ${e} ${Og}-wrap`}get listItem(){return this.shadowRoot.querySelector("[udex-list-item]")}};uc([d({type:Boolean})],Qs.prototype,"nonInteractive",void 0);uc([d({type:String})],Qs.prototype,"_additionalClassName",void 0);uc([d({type:Boolean})],Qs.prototype,"_treeMode",void 0);uc([d({type:Boolean})],Qs.prototype,"_groupAsListbox",void 0);uc([D({type:E_,default:!0})],Qs.prototype,"items",void 0);Qs=uc([T({languageAware:!0,renderer:A})],Qs);const cc=Qs;function gX(){return g("div",{class:`udex-list__group-content udex-list__group-header-wrap ${this.sizeClass}`,part:"group-item",children:[this.typeNumber&&g("span",{class:"udex-list__number",children:[this.numberOfItem,"."]}),this.typeCircle&&l("span",{class:"udex-list__circle",children:"•"}),this.typeIcon&&l(R,{class:"udex-list__icon","accessible-role":"presentation","aria-hidden":"true",part:"icon",name:this._icon}),g("div",{class:"udex-list__header",children:[l("span",{id:"group-heading",class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&" ",this.supportingText&&l("span",{id:"group-supporting-text",class:`udex-list__supporting-text ${this.sizeClass}`,children:this.supportingText})]})]})}function vX(){return g(P,{children:[this.typeNumber&&g("span",{class:"udex-list__number",children:[this.numberOfItem,"."]}),this.typeCircle&&l("span",{class:"udex-list__circle",children:"•"}),this.typeIcon&&l(R,{name:this._icon,class:"udex-list__icon","accessible-role":"presentation","aria-hidden":"true",part:"icon"}),g("div",{class:"udex-list__header",children:[l("span",{id:"group-heading",class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&" ",this.supportingText&&l("span",{id:"group-supporting-text",class:`udex-list__supporting-text ${this.sizeClass}`,children:this.supportingText})]}),l("div",{class:"udex-list__group-heading__icon-wrapper",children:l(me,{size:"Small",design:"Tertiary",class:"udex-list__group-heading__icon",onClick:this.handleCollapseIconClick,onMouseDown:this.handleCollapseIconMouseDown,tabindex:-1,"accessible-name":this.expandButtonAccessibleName,icon:Ii,mode:"Interactive"})})]})}function mX(){const o=this._useHostAriaRole?{}:{"aria-expanded":this.expanded,"aria-controls":this.ariaControlsId,"aria-labelledby":this.collapsibleHeaderLabelledBy,"aria-owns":this.isTreeAccessibleRole?this.ariaControlsId:void 0};return l("div",{class:`udex-list__group-content udex-list__group-header-wrap ${this.sizeClass}`,part:"group-item",id:`${this._id}_group-content__focusable`,role:this.singleCollapsibleHeaderRole,tabIndex:this._useHostAriaRole?void 0:0,onMouseDown:this.handleCollapseIconMouseDown,onKeyDown:this.handleKeyDown,...o,"_tab-index":Number(this._effectiveTabIndex),children:vX.call(this)})}function fX(){return this.isNonActiveHeader?l("header",{id:"group-heading",class:"udex-list__inactive-header udex-list__group-header-wrap",children:g("div",{class:"udex-list__inactive-header-content",children:[l("span",{class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&" ",this.supportingText&&l("span",{class:"udex-list__supporting-text",children:this.supportingText})]})}):l(za,{id:"group-heading",part:"group-item",role:"none",selected:this.selected,indeterminate:this.indeterminate,class:this.className,mode:this.mode,controlled:this.controlled,onClick:this.handleHeaderPress,onKeyDown:this.handleKeyDownPress,type:this.type,label:this.label,size:this.size,supportingText:this.supportingText,"accessible-role":this.nonCollapsibleHeaderAccessibleRole,_useHostAriaRole:this._useHostAriaRole,"_additional-class-name":this._additionalClassName,"_tab-index":Number(this._effectiveTabIndex),_ariaLevel:!this._useHostAriaRole&&this.isTreeAccessibleRole?1:void 0,"_aria-pos-in-set":this._ariaPosInSet,"_aria-set-size":this._ariaSetSize,_icon:this._icon,_filtered:this._filtered})}function bX(){return this.isNonActiveHeader?g("header",{role:this._useHostAriaRole?"presentation":"button",id:"group-heading",class:"udex-list__inactive-header udex-list__group-header-wrap",tabIndex:this._useHostAriaRole?void 0:Number(this._effectiveTabIndex),"aria-expanded":this._useHostAriaRole?void 0:this.expanded,"aria-controls":this._useHostAriaRole?void 0:this.ariaControlsId,onMouseDown:this.handleCollapseIconMouseDown,children:[g("div",{class:"udex-list__inactive-header-content",children:[l("span",{class:"udex-list__header-title",innerHTML:this.label}),this.supportingText&&" ",this.supportingText&&l("span",{class:"udex-list__supporting-text",children:this.supportingText})]}),l("div",{class:"udex-list__group-heading__icon-wrapper",children:l(me,{class:"udex-list__group-heading__icon",size:ye.Small,design:ve.Tertiary,tabindex:-1,icon:Ii,onClick:this.handleCollapseIconClick,"accessible-name":this.expandButtonAccessibleName,mode:"Interactive"})})]}):l(za,{id:"group-heading",part:"group-item",role:"none",selected:this.selected,indeterminate:this.indeterminate,collapsible:this.collapsible,collapsed:this.collapsed,class:this.className,mode:this.mode,controlled:this.controlled,onClick:this.handleHeaderPress,onKeyDown:this.handleKeyDownPress,type:this.type,label:this.label,size:this.size,supportingText:this.supportingText,"accessible-role":this.collapsibleHeaderAccessibleRole,_useHostAriaRole:this._useHostAriaRole,onAccordionIconClick:this.handleCollapseIconClick,"_additional-class-name":this._additionalClassName,"_tab-index":Number(this._effectiveTabIndex),_ariaLevel:!this._useHostAriaRole&&this.isTreeAccessibleRole?1:void 0,"_aria-pos-in-set":this._ariaPosInSet,"_aria-set-size":this._ariaSetSize,_icon:this._icon,_filtered:this._filtered})}function xX(){return l("div",{part:"item",class:"udex-list__group",role:this.groupWrapperRole,"aria-labelledby":!this._useHostAriaRole&&!this.isTreeAccessibleRole&&!this.isPerGroupListbox?this.modeMultiSelectOrRadioGroup?"group-heading":this.collapsibleHeaderLabelledBy:void 0,children:this.collapsible?g("div",{class:"udex-list__group-list","onui5-item-press":this.getHandleGroupItemsClick,name:"group",children:[this.useListItemHeader?bX.call(this):mX.call(this),l("div",{id:this.ariaControlsId,role:this.contentRegionRole,class:"udex-list__group-list__content",children:this.isTreeAccessibleRole||this.isSingleContentList?l("slot",{}):l("div",{role:"listbox","aria-label":"group",children:l("slot",{})})})]}):g("div",{role:this.nonCollapsibleContainerRole,class:"udex-list__group-list","onui5-item-press":this.getHandleGroupItemsClick,name:"group",children:[this.modeMultiSelectOrRadioGroup?fX.call(this):gX.call(this),this.isTreeAccessibleRole||this.isSingleContentList?l("div",{role:this.contentRegionRole,children:l("slot",{})}):this.isPerGroupListbox?l("div",{role:"listbox","aria-labelledby":this.collapsibleHeaderLabelledBy,children:l("slot",{})}):l("slot",{})]})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const E8=`:host{--udex-list-item-group-header-padding-vertical: var(--udexSpacer12, 12px);--udex-list-item-group-header-padding-horizontal: var(--udexSpacer16, 16px);--udex-list-item-group-header-supporting-text-color: var(--sapContent_LabelColor, #223548);--udex-list-item-group-header-border-color: var(--sapList_BorderColor, #A9B4BE);--udex-list-item-group-header-outline-border-color: var(--udexColorBlue10, #002A86)}.udex-list__header{display:flex;flex-direction:column;width:100%}.hidden{display:none}.udex-list__supporting-text{font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyBodyLineHeight, 21px);font-weight:var(--udexTypographyFontWeightRegular, 400);color:var(--udex-list-item-group-header-supporting-text-color);padding-top:var(--udexSpacer2, 2px)}.udex-list__group-list{list-style-type:none;padding:0;margin:0}.udex-list__group ::slotted([udex-list-item]){padding-inline-start:calc(var(--udexSpacer24) + var(--udexSpacer16));--udex-list-item-padding-inline-start: 0}.udex-list__header,.udex-list__group-header{font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyBodySFontSize, 16px);line-height:24px;color:var(--udexColorGrey9, #223548)}.udex-list__group-list.udex-list__sticky{padding-top:59px}.udex-list__group-content{display:flex;border-top:1px solid var(--udex-list-item-group-header-border-color);padding:var(--udex-list-item-group-header-padding-vertical) var(--udex-list-item-group-header-padding-horizontal);align-items:center;position:relative}:host([mode="MultiSelect"][_no-border]) .udex-list__group-header,:host([_no-border]) .udex-list__group-content{border-top:none}.udex-list__group-content.udex-list_group-content__focusable:focus,.udex-list__group-content.udex-list_group-content__focusable:focus-visible{outline:none}.udex-list__group-content.udex-list_group-content__focusable:focus:before,.udex-list__group-content.udex-list_group-content__focusable:focus-visible:before{content:"";position:absolute;inset:0;outline:var(--udexRadiusXXS) solid var(--udex-list-item-group-header-outline-border-color);outline-offset:-4px;border-radius:var(--udexRadiusM, 8px);pointer-events:none}.udex-list__number{margin-inline-end:var(--udexSpacer8, 8px)}.udex-list__circle{display:block;min-width:20px;height:22px;position:relative}:host([mode="MultiSelect"]) .udex-list__group-header{border-top:1px solid var(--udex-list-item-group-header-border-color)}.udex-list__group_large .udex-list__header,.udex-list__group_large .udex-list__group-header{font-size:var(--udexTypographyHeadingMediumXXSFontSize, 20px);line-height:var(--udexTypographyHeadingLineHeight, 22px);font-weight:var(--udexTypographyFontWeightMedium, 500)}.udex-list__group_large.udex-list__supporting-text{font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px);font-weight:var(--udexTypographyFontWeightRegular, 400)}.udex-list__icon{margin-inline-end:var(--udexSpacer8, 8px);padding-top:2px;min-width:18px;height:18px}.udex-list__inactive-header{font-family:var(--sapFontFamily, sans-serif);font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 24px);font-weight:var(--udexTypographyFontWeightMedium, 500);padding:var(--udexSpacer12, 12px) var(--udexSpacer16, 16px);border-bottom:1px solid var(--sapList_BorderColor, #A9B4BE);display:flex;justify-content:space-between;align-items:center}.udex-list__inactive-header-content{display:flex;flex-direction:column}.udex-list__group-heading__icon{transform:rotate(-90deg);height:18px;width:18px;color:inherit;cursor:pointer;--udex-button-icon-s-size: 18px}:host(:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(90deg)}:host([collapsed]) .udex-list__group-heading__icon{transform:rotate(90deg)}:host([collapsed]:dir(rtl)) .udex-list__group-heading__icon{transform:rotate(-90deg)}:host([collapsible]) .udex-list__group-list__content{max-height:var(--udex-list-content-max-height);overflow:hidden;transition:max-height .2s ease-in}:host([collapsible][collapsed]) .udex-list__group-list__content{max-height:0}:host([collapsible][mode="MultiSelect"]) header,:host([collapsible][mode="RadioGroup"]) .udex-list__group-header-wrap,:host([collapsible][mode="SingleContent"]) .udex-list__group-header-wrap,:host([collapsible][mode="SingleSelect"]) .udex-list__group-header-wrap{position:relative}:host([collapsible][mode="MultiSelect"]) header:focus,:host([collapsible][mode="RadioGroup"]) .udex-list__group-header-wrap:focus,:host([collapsible][mode="SingleContent"]) .udex-list__group-header-wrap:focus,:host([collapsible][mode="SingleSelect"]) .udex-list__group-header-wrap:focus{outline:none}:host([collapsible][mode="MultiSelect"]) header:focus:before,:host([collapsible][mode="RadioGroup"]) .udex-list__group-header-wrap:focus:before,:host([collapsible][mode="SingleContent"]) .udex-list__group-header-wrap:focus:before,:host([collapsible][mode="SingleSelect"]) .udex-list__group-header-wrap:focus:before,:host(._udex-active-descendant) .udex-list__group-content:before,:host(._udex-active-descendant) .udex-list__inactive-header:before{content:"";position:absolute;inset:0;outline:var(--udexRadiusXXS) solid var(--udexColorBlue10, #002A86);outline-offset:-4px;border-radius:var(--udexRadiusM, 8px);pointer-events:none}:host(._udex-active-descendant) [part=group-item]:not(.udex-list__group-content){position:relative}:host(._udex-active-descendant) [part=group-item]:not(.udex-list__group-content):after{content:"";position:absolute;inset:4px;outline:var(--udexRadiusXXS) solid var(--udexColorBlue10, #002A86);border-radius:var(--udexRadiusM, 8px);pointer-events:none}
|
|
549
|
+
`;var yX=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};const CX="udex-list__group_large";let P1=class extends cc{handleHeaderPress(){this.controlled||this.handleSelectionGroupState(),this.fireHeaderPress()}handleKeyDownPress(e){K(e)&&e.preventDefault(),(K(e)||ie(e))&&this.handleHeaderPress()}handleKeyDown(e){if(this.mode===Ye.SingleContent&&(ie(e)||K(e))){this.handleCollapseIconClick(e);return}if(we(e)&&!this.collapsed){this.handleCollapseIconClick(e);return}Se(e)&&this.collapsed&&this.handleCollapseIconClick(e)}fireHeaderPress(){this.fireDecoratorEvent("header-press",{item:this})}getHandleGroupItemsClick(){return this.modeMultiSelect&&!this.controlled?this.handleHeaderState():void 0}setCollapsedItems(){this.getSlottedNodes("items").forEach(t=>{this.collapsed?t.setAttribute("collapsed",""):t.removeAttribute("collapsed")})}handleCollapseIconClick(e){e.stopPropagation(),e.preventDefault(),this.setContentHeight(),this.collapsed=!this.collapsed,this.setCollapsedItems(),this.fireDecoratorEvent("accordion-icon-click",{collapsed:this.collapsed})}get sizeClass(){return this.size===Fh.Large?CX:""}};P1=yX([T({tag:"udex-list-group-header",languageAware:!0,renderer:A,styles:E8,template:xX}),x("header-press",{bubbles:!0}),x("accordion-icon-click",{bubbles:!0})],P1);P1.define();const r2=P1;function wX(){return l("div",{part:"item",class:"udex-list__group",role:this._useHostAriaRole?"presentation":this._treeMode?"none":"group",children:g("div",{role:this._useHostAriaRole?"presentation":this._treeMode?"none":"listbox","aria-label":this._useHostAriaRole||this._treeMode?void 0:this.selectAllLabel,class:this.groupListClassName,"onui5-item-press":this.handleSelectAllGroupItemsPress,children:[l(za,{role:"none",part:"group-item","accessible-role":this._treeMode?"treeitem":"option",_useHostAriaRole:this._useHostAriaRole,label:this.selectAllLabel,mode:this.multiselectMode,onClick:this.handleSelectAllPress,class:this.className,selected:this.selected,indeterminate:this.indeterminate,controlled:this.controlled,onKeyDown:this.handleKeyDownPress,"_tab-index":Number(this._effectiveTabIndex),_ariaLevel:!this._useHostAriaRole&&this._treeMode?1:void 0,_ariaPosInSet:this._ariaPosInSet,_ariaSetSize:this._ariaSetSize,"_additional-class-name":this.additionalClassName,supportingText:this.supportingText,divider:!0}),this._useHostAriaRole||this._treeMode?l("div",{role:"group",children:l("slot",{})}):l("slot",{})]})})}var D8=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Im;const SX="udex-list__header-select-all",kX="udex-list__group-list";let $h=Im=class extends cc{handleSelectAllPress(){this.controlled||this.handleSelectionGroupState(),this.fireDecoratorEvent("select-all",{item:this})}handleSelectAllGroupItemsPress(){this.controlled||this.handleHeaderState()}handleKeyDownPress(e){K(e)&&e.preventDefault(),(K(e)||ie(e))&&this.handleSelectAllPress()}get isSelectAllHeader(){return!0}get multiselectMode(){return Ye.MultiSelect}get selectAllLabel(){var t;return this.label!=="undefined"&&((t=this.label)==null?void 0:t.length)>0?this.label:B(Im,x3)}get additionalClassName(){return`${SX} ${this._additionalClassName}`}get groupListClassName(){return kX}};D8([V("@sapudex/web-components")],$h,"i18nBundle",void 0);$h=Im=D8([T({tag:"udex-list-select-all",renderer:A,languageAware:!0,styles:E8,template:wX}),x("select-all",{bubbles:!0})],$h);$h.define();const Hh=$h;function vl(){return g(P,{children:[this.showSearch&&g(P,{children:[l(R5,{slot:"header",mode:or.Standard,class:"udex-filter-menu__search",label:this.searchPlaceholder,"label-animation-disabled":!0,"non-interactive-submit-button":!0,"show-submit-button":!0}),l("span",{"aria-live":"polite","aria-atomic":"true",class:"hidden",children:this._accSearchResultInfo})]}),this.isListEmpty?g("div",{class:"udex-no-result",children:[g(D5,{name:"NoSearchResults",design:"Dot",children:[l("div",{slot:"title"}),l("div",{slot:"subtitle"})]}),l("span",{children:this.getNoResultText})]}):this.busy?l(B5,{class:"udex-busy-indicator",size:"M",delay:this.busyDelay,active:!0}):l(gd,{id:"udex-list",role:this.roleForGroupList,...this._activeDescendantMode?{"aria-label":this.listAccessibleName,accessibleName:this.listAccessibleName}:{},accessibleRole:this._activeDescendantMode?"":this.accessibleRoleForList,...(this.isTreeStructure||this._activeDescendantMode)&&this.modeMultiSelect?{"aria-multiselectable":"true"}:{},class:"udex-filter-menu__list",controlled:this.isControlled,mode:this.mode,type:this.type,"item-icon":this.itemIcon,children:this._filteredItems.map((o,e)=>o.isGroup?TX.call(this,o,e):a2(o.item,e,"none",this.listItemRole,this.fireFirstIconClickEvent,this.fireSecondIconClickEvent,this._activeDescendantMode,this.isTreeStructure,this._activeDescendantMode||this.isTreeStructure?e+1:void 0,this._activeDescendantMode||this.isTreeStructure?this._filteredItems.length:void 0))})]})}function TX(o,e){return o.item.isSelectAllHeader?IX.call(this,o,e):BX.call(this,o,e)}function IX(o,e){const{item:t,groupItems:i}=o,a=t,r=t.label&&t.label!=="undefined"?t.label:B(Hh,x3);return l(Hh,{id:t._id,...R8.call(this,a,e,r),mode:this.mode,_treeMode:this.isTreeStructure,_ariaPosInSet:!this._activeDescendantMode&&this.isTreeStructure?e+1:void 0,_ariaSetSize:!this._activeDescendantMode&&this.isTreeStructure?this._filteredItems.length:void 0,"_additional-class-name":this.additionalClassName,"data-token-id":t._id,label:t.label,controlled:a.controlled,"supporting-text":t.supportingText,disabled:t.disabled,selected:t.selected,indeterminate:a.indeterminate,onFirstIconClick:this.fireFirstIconClickEvent,onSecondIconClick:this.fireSecondIconClickEvent,children:i.map((n,s)=>a2(n,s,"none",this.isTreeStructure?"treeitem":void 0,this.fireFirstIconClickEvent,this.fireSecondIconClickEvent,this._activeDescendantMode,this.isTreeStructure,s+1,i.length))},e)}function R8(o,e,t=o.label){return this._activeDescendantMode?{role:this.isTreeStructure?"treeitem":"option","aria-label":[t,o.supportingText].filter(Boolean).map(i=>lc(i)).join(" "),"aria-level":this.isTreeStructure?1:void 0,"aria-posinset":e+1,"aria-setsize":this._filteredItems.length,"aria-selected":this.modeSingleSelect||this.modeMultiSelect?String(o.selected&&!o.indeterminate):void 0,"aria-description":this.modeMultiSelect&&o.indeterminate?B(Hh,X0):void 0,"aria-disabled":o.disabled?"true":void 0,"aria-expanded":o.collapsible?String(o.expanded):void 0,"_use-host-aria-role":!0}:{role:"none"}}function BX(o,e){const{item:t,groupItems:i}=o,a=t,r=this.isTreeStructure?"treeitem":void 0,n=!this._activeDescendantMode&&this.isTreeStructure&&this.modeMultiSelect?{"_aria-pos-in-set":e+1,"_aria-set-size":this._filteredItems.length}:{},s=R8.call(this,a,e);return l(r2,{id:t._id,...s,...n,_treeMode:this.isTreeStructure,_groupAsListbox:this.isPerGroupListbox,mode:this.mode,...e===0?{"_no-border":""}:{},"_additional-class-name":"udex-searchable-list__header",class:this.groupClassName,"non-interactive":a.nonInteractive,"data-token-id":t._id,label:t.label,"supporting-text":t.supportingText,controlled:a.controlled,collapsible:a.collapsible,collapsed:a.collapsed,_filtered:this._shouldFilterItems,disabled:t.disabled,selected:t.selected,onFirstIconClick:this.fireFirstIconClickEvent,onSecondIconClick:this.fireSecondIconClickEvent,onAccordionIconClick:this.handleAccordionIconClick,indeterminate:a.indeterminate,children:i.map((u,c)=>a2(u,c,"none",r,this.fireFirstIconClickEvent,this.fireSecondIconClickEvent,this._activeDescendantMode,this.isTreeStructure,c+1,i.length))},e)}function a2(o,e,t,i,a,r,n,s,u,c){var $,H;const p=i??void 0??"option",_=o.mode!==Ye.SingleContent,f=n?p:t,b=n?{"aria-label":[o.label,o.supportingText,o.additionalText,o.hasRating?o.ratingAriaLabel:void 0].filter(Boolean).map(X=>lc(X)).join(" ")||void 0,"aria-level":s?($=o.parentElement)!=null&&$.isGroup?2:1:void 0,"aria-posinset":u,"aria-setsize":c,"aria-selected":_&&(p==="option"||p==="treeitem")?String(o.selected):void 0,"aria-disabled":o.disabled?"true":void 0,"_use-host-aria-role":!0,...i?{"accessible-role":i}:{}}:{...i?{"accessible-role":i}:{}},k=!n&&u!=null&&c!=null?{"_aria-pos-in-set":u,"_aria-set-size":c,"_aria-level":s?(H=o.parentElement)!=null&&H.isGroup?2:1:void 0}:{};return l(za,{id:o._id,role:f,"data-token-id":o._id,controlled:o.controlled,mode:o.mode,onFirstIconClick:a,onSecondIconClick:r,"supporting-text":o.supportingText,"additional-text":o.additionalText,"additional-text-state":o.additionalTextState,divider:o.divider,disabled:o.disabled,selected:o.selected,rating:o.rating,"total-count":o.totalCount,"rating-count":o.ratingCount,"rating-max":o.ratingMax,label:o.label,image:o.image,"image-alt":o.imageAlt,"image-badge-state":o.imageBadgeState,"image-shape":o.imageShape,"image-size":o.imageSize,flag:o.flag,"flag-position":o.flagPosition,size:o.size,type:o.type,...b,...k,...o.innerHTML?{dangerouslySetInnerHTML:{__html:o.innerHTML}}:{}},e)}function P8(){return this.hideFlagImages?l(P,{}):l("span",{class:"udex-text-field__image","aria-label":this.flagAriaLabel,style:`background-position-x: ${this.selectedCountryFlagX}; background-position-y: ${this.selectedCountryFlagY}`})}var ba;(function(o){o.Header="header",o.Footer="footer",o.Content="content"})(ba||(ba={}));const AX=13;var Vo=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Gc;let ho=Gc=class extends z{constructor(){super(),this.preventPageScroll=!1,this.busyDelay=1e3,this.mode=Ye.SingleSelect,this.type=Fs.None,this.itemIcon="",this.defaultAccessibleRole="listbox",this._pendingHeightReset=!1,this._shouldFilterItems=!1,this._filteredItems=[],this._groupCollapseStateBeforeSearch=new Map}onBeforeRendering(){this._shouldFilterItems||(this._filteredItems=this.getProcessedItems())}onAfterRendering(){var e;this._pendingHeightReset&&(this._pendingHeightReset=!1,(e=this.shadowRoot)==null||e.querySelectorAll("[udex-list-group-header]").forEach(t=>{t.hasAttribute("collapsible")&&(t.style.removeProperty("--udex-list-content-max-height"),t.setContentHeight())}))}onItemPress(e){const t=this.getDataTokenId(e.detail.item);this.handleDropdownItemPress(t),this.fireSelectionChange(t)}handleDropdownItemPress(e){this.getProcessedItems().forEach(({item:t,groupItems:i,isGroup:a})=>{if(a){const r=i.find(({_id:n})=>n===e);r&&(this.handleItemClick(r),this.handleGroupHeaderState(t))}else t._id===e&&this.handleItemClick(t)}),this.syncFilteredItems()}handleItemClick(e){if(this.modeSingleSelect&&this.revertSelectedItems(this.selectedItems),this.modeRadioGroup){const t=e.parentElement;this.revertSelectedItems(t.getItems())}e.selected=!e.selected}handleGroupHeaderState(e){this.modeMultiSelect&&e.handleHeaderState()}onHeaderPress(e){const t=e.detail.item,i=this.getDataTokenId(t);this.handleGroupHeaderSelection(i),this.syncFilteredItems(),this.fireSelectionChange(i)}handleAccordionIconClick(e){var a;const t=e.target,i=this._validItems.find(r=>r._id===t.id);i&&(i.collapsed=e.detail.collapsed,(a=i.setCollapsedItems)==null||a.call(i))}onSelectAllHeaderPress(e){const t=e.detail.item,i=this.getDataTokenId(t);this.handleGroupHeaderSelection(i),this.syncFilteredItems(),this.fireDecoratorEvent("select-all")}handleGroupHeaderSelection(e){this.getProcessedItems().forEach(({item:t})=>{t._id===e&&t.handleSelectionGroupState()})}onSearch(e){const t=e,i=t!=="";i&&!this._shouldFilterItems&&this.saveGroupCollapseState(),!i&&this._shouldFilterItems&&this.restoreGroupCollapseState(),this._shouldFilterItems=i,this._filteredItems=this.filterItems(this.getProcessedItems(),t);const a=this.getFlattenItemsArray(this._filteredItems);this._accSearchResultInfo=a.length?`${a.length} ${this.resultReturnedText}`:this.noMatchesFoundText,this.fireDecoratorEvent("change-search",{value:t})}onReset(){this.revertSelectedItems(this.selectedItems)}onResetSearch(){this.resetSearch(),this.fireDecoratorEvent("reset-search")}onSubmitSearch(){this.fireDecoratorEvent("submit-search",{selectedItems:this.selectedItems})}resetSearch(){const e=this.getSearch();e.value="",this._shouldFilterItems=!1,this.restoreGroupCollapseState(),this._filteredItems=this.filterItems(this.getProcessedItems(),"")}filterItems(e,t){const i=t!=="";return e.filter(a=>{const{isGroup:r,item:n}=a;if(r){const s=this.checkAndUpdateLabel(n,t),u=this.filterItemsForLabel(a.groupItems,t);return s?a.groupItems.forEach(c=>this.checkAndUpdateLabel(c,t)):a.groupItems=u,i&&(s||a.groupItems.length>0)&&(n.collapsed=!1),!i||s||a.groupItems.length>0}return this.checkAndUpdateLabel(n,t)})}filterItemsForLabel(e,t){return e.filter(i=>this.checkAndUpdateLabel(i,t))}checkAndUpdateLabel(e,t){if(e.ratingCount)return this.isIncludes(e.ratingCount,t);if(!e.label)return console.warn("A label property is required for the item"),!1;const i=lc(e.label);return this.isIncludes(i,t)?(e.label=this.addSearchTermTag(i,t),!0):(e.label=i,!1)}addSearchTermTag(e,t){if(!t.length)return e;const i=new RegExp(`(${t})`,"i");return e.replace(i,"<b>$1</b>")}isIncludes(e,t){return e.toLowerCase().includes(t.toLowerCase())}revertSelectedItems(e){e.forEach(t=>{t.disabled||(t.selected=!1)})}syncFilteredItems(){const e=this.getSearch();this._shouldFilterItems?this._filteredItems=this.filterItems(this.getProcessedItems(),e.value):this._filteredItems=this.getProcessedItems()}saveGroupCollapseState(){this._groupCollapseStateBeforeSearch.clear(),this.items.forEach(e=>{e.isGroup&&this._groupCollapseStateBeforeSearch.set(e._id,!!e.collapsed)})}restoreGroupCollapseState(){this.items.forEach(e=>{if(e.isGroup&&this._groupCollapseStateBeforeSearch.size){const t=this._groupCollapseStateBeforeSearch.get(e._id);t!==void 0&&(e.collapsed=t)}}),this._groupCollapseStateBeforeSearch.clear(),this._pendingHeightReset=!0}getSlottedItems(e){const t=[];return e.forEach(i=>{t.push(i),i.isGroup&&t.push(...i.getItems())}),t}getItemFromList(e){let t=null;for(let i=0;i<this.items.length;i++){const a=this.items[i];if(a.isGroup){if(a._id===e){t=a;break}if(t=a.getItems().find(({_id:n})=>n===e),t)break}else if(a._id===e){t=a;break}}return t}fireSelectionChange(e){this.fireDecoratorEvent("selection-change",{selectedItems:this.selectedItems,item:this.getItemFromList(e)})}fireFirstIconClickEvent(e){this._fireIconClickEvent("first-icon-click",e)}fireSecondIconClickEvent(e){this._fireIconClickEvent("second-icon-click",e)}_dropdownScrollToTop(){var e;(e=this.getPopoverPart(ba.Content))==null||e.scrollTo({top:0})}_expandCollapsedGroupsWithSelection(){this._validItems.filter(e=>e.isGroup).forEach(e=>{var n,s,u;const t=e;if(!t.collapsible)return;const i=(n=this.shadowRoot)==null?void 0:n.querySelector(`[udex-list-group-header][id="${t._id}"]`);if(!(t.collapsed||!!(i!=null&&i.hasAttribute("collapsed"))))return;t.items.some(c=>c.selected)&&(t.collapsed=!1,(s=t.setCollapsedItems)==null||s.call(t),i&&(i.collapsed=!1,(u=i.setCollapsedItems)==null||u.call(i)))})}_dropdownScrollToSelectedItem(){var a;const e=this.getPopoverPart(ba.Content);if(!e)return;const t=this.activeItem;if(!t){this._dropdownScrollToTop();return}(a=this.shadowRoot)==null||a.querySelectorAll("[udex-list-group-header]").forEach(r=>{r.hasAttribute("collapsible")&&!r.hasAttribute("collapsed")&&(r.style.removeProperty("--udex-list-content-max-height"),r.setContentHeight())}),e.scrollTop=0;const i=t.getBoundingClientRect().top-e.getBoundingClientRect().top;e.scrollTop=i}_handleDropdownScroll(){this.modeMultiSelect||!this.activeItem?this._dropdownScrollToTop():this.modeSingleSelect&&this._dropdownScrollToSelectedItem()}focusFirstItem(){var r,n;const e=this.getList(),t=e.getKeyboardNavigationItems();if(!t.length)return;const i=(r=t[0])!=null&&r.nonInteractive&&!((n=t[0])!=null&&n.collapsible)?1:0,a=t[i];e.setTabIndexByIndex(t,i),a.isGroup?e.focusHeader(a):e.focusItem(a)}_fireIconClickEvent(e,t){const i=t.detail.item,a=this.getDataTokenId(i);this.fireDecoratorEvent(e,{originalEvent:t.detail.originalEvent,item:this.getItemFromList(a)})}getFlattenItemsArray(e){return e.flatMap(t=>t.isGroup?[t,...t.groupItems.filter(i=>!i.disabled)]:t.item.disabled?[]:[t.item])}getCurrentIndex(e){return this.getDomListItems().indexOf(e)}getList(){return this.shadowRoot.querySelector("[udex-list]")}getSearch(){return this.shadowRoot.querySelector("[udex-search]")||this.shadowRoot.querySelector(".udex-text-field__search")}getPopover(){return this.shadowRoot.querySelector("[ui5-popover]")}getDomListItems(){const e=this.shadowRoot.querySelector("[udex-list]");return e?Array.from(e.querySelectorAll("[udex-list-item]")):[]}getDataTokenId(e){return e.getAttribute("data-token-id")}getProcessedItems(){return this._validItems.map(e=>{const t=e.isGroup,i=t?e.getItems():[];return t&&this._setItemsModeAndControl(i),e.mode=this.mode,e.controlled=this.isControlled,{item:e,groupItems:i,isGroup:t}})}getPopoverPart(e){return this.getPopover().shadowRoot.querySelector(`[part=${e}]`)}_managePopupListeners(e,t){const i=this.getPopoverPart(e);i==null||i[t]("wheel",a=>a.preventDefault())}_setContentHeight(){const e=this.getPopoverPart(ba.Content);e.style.maxHeight=this.height||""}_setItemsModeAndControl(e){e.forEach(t=>{t.mode=this.mode,t.controlled=this.isControlled})}get activeItem(){return this.getDomListItems().find(({selected:e})=>e)}get _validItems(){return this.items.filter(e=>!(e instanceof HTMLElement)||"isGroup"in e)}get getNoResultText(){return this.noResultText!==void 0&&this.noResultText.length>0?this.noResultText:this.noMatchesFoundText}get noMatchesFoundText(){return B(Gc,U0)}get resultReturnedText(){return B(Gc,y3)}get startsText(){return B(Gc,w5)}get isListEmpty(){return this._filteredItems.length===0}get selectedItems(){return this.getSlottedItems(this._validItems).filter(({selected:t})=>t)}get modeMultiSelect(){return this.mode===Ye.MultiSelect}get modeSingleSelect(){return this.mode===Ye.SingleSelect}get modeRadioGroup(){return this.mode===Ye.RadioGroup}get isControlled(){const e=this.items.some(({isGroup:t})=>t);return this.modeMultiSelect&&e}get isTreeStructure(){return!1}get _activeDescendantMode(){return!1}get additionalClassName(){return"udex-searchable-list__header"}get groupClassName(){const e="udex-searchable-list__header";return this.showSearch?`${e} udex-searchable-list__header_no-margin`:e}get showSearch(){const e=this.showSearchInput||this.isSearchActive&&!this.modeRadioGroup;return!this.hideDropdownSearch&&e}get isSearchActive(){return this.nonGroupItems.length>AX}get nonGroupItems(){return this.getSlottedItems(this._validItems).filter(e=>!e.isGroup)}get roleForGroupList(){return this._activeDescendantMode?this.accessibleRoleForList:"none"}get listAccessibleName(){return""}get accessibleRoleForList(){return this.isTreeStructure?"tree":this.mode===Ye.SingleContent?"list":this.isPerGroupListbox?"presentation":this.defaultAccessibleRole}get isPerGroupListbox(){if(this.isTreeStructure||this._activeDescendantMode||!this.modeSingleSelect)return!1;const e=this.items;return e.length>0&&e.every(t=>t.isGroup)}get listItemRole(){return this.isTreeStructure?"treeitem":this.mode===Ye.SingleContent?"listitem":this.accessibleRoleForList==="listbox"?"option":"none"}get hideDropdownSearch(){return!1}};Vo([d({type:Boolean})],ho.prototype,"tabNavigationEnabled",void 0);Vo([d({type:String})],ho.prototype,"height",void 0);Vo([d({type:Boolean})],ho.prototype,"preventPageScroll",void 0);Vo([d({type:Boolean})],ho.prototype,"busy",void 0);Vo([d({type:Boolean})],ho.prototype,"showSearchInput",void 0);Vo([d({type:Number})],ho.prototype,"busyDelay",void 0);Vo([d()],ho.prototype,"noResultText",void 0);Vo([d()],ho.prototype,"searchPlaceholder",void 0);Vo([d({type:Boolean})],ho.prototype,"selectAll",void 0);Vo([d()],ho.prototype,"selectAllLabel",void 0);Vo([d()],ho.prototype,"mode",void 0);Vo([d()],ho.prototype,"type",void 0);Vo([d({type:String})],ho.prototype,"itemIcon",void 0);Vo([D({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ho.prototype,"items",void 0);Vo([d({type:String})],ho.prototype,"defaultAccessibleRole",void 0);Vo([d({type:Object})],ho.prototype,"_filteredItems",void 0);Vo([V("@sapudex/web-components")],ho,"i18nBundle",void 0);ho=Gc=Vo([x("selection-change",{bubbles:!0}),x("select-all",{bubbles:!0}),x("submit-search",{bubbles:!0}),x("reset-search",{bubbles:!0}),x("change-search",{bubbles:!0}),x("first-icon-click",{bubbles:!0}),x("second-icon-click",{bubbles:!0})],ho);const Bm=ho;var Am;(function(o){o.None="None",o.Single="Single",o.SingleStart="SingleStart",o.SingleEnd="SingleEnd",o.SingleAuto="SingleAuto",o.Multiple="Multiple",o.Delete="Delete"})(Am||(Am={}));const Mt=Am,EX=":host{justify-content:center;align-items:center;display:flex;color:var(--sapList_TextColor);background-color:var(--sapList_Background);font-family:var(--sapFontFamily);height:var(--sapElement_LineHeight);border-bottom:var(--sapList_BorderWidth) solid var(--sapList_BorderColor);opacity:.8;position:absolute;padding:0 1rem;top:-1000px;left:-1000px}",DX={key:"DRAG_DROP_MULTIPLE_TEXT",defaultText:"{0} items"},I7=2;let n2=null;const RX=(o,e)=>{var t;n2=o,(t=e==null?void 0:e.dataTransfer)==null||t.setData("text/plain",o?o.id:"")},PX=()=>{n2=null},LX=()=>n2,NX=async o=>{const e=document.createElement("div"),t=await p_("@ui5/webcomponents-base"),i=e.attachShadow({mode:"open"}),a=new CSSStyleSheet;return a.replaceSync(EX),i.adoptedStyleSheets=[a],i.textContent=t.getText(DX,o),e},MX=async(o,e)=>{if(o<I7){console.warn(`Cannot start multiple drag with count ${o}. Minimum is ${I7}.`);return}if(!e.dataTransfer)return;const t=await NX(o);document.body.appendChild(t),e.dataTransfer.setDragImage(t,0,0),requestAnimationFrame(()=>{t.remove()})},Mu={setDraggedElement:RX,clearDraggedElement:PX,getDraggedElement:LX,startMultipleDrag:MX};function OX(o,e,t,i,a={}){const r=Mu.getDraggedElement(),n={targetReference:null,placement:null};if(!r&&!(a!=null&&a.crossDnD))return n;const s=t.placements;return n.targetReference=o.target,s.some(u=>{const c=a.originalEvent?{originalEvent:o}:{};return e.fireDecoratorEvent("move-over",{...c,source:{element:r},destination:{element:i,placement:u}})?!1:(o.preventDefault(),n.targetReference=t.element,n.placement=u,!0)})||(n.targetReference=null),n}function FX(o,e,t,i,a={}){o.preventDefault();const r=Mu.getDraggedElement();if(!r&&(a!=null&&a.crossDnD))return;const n=a.originalEvent?{originalEvent:o}:{};e.fireDecoratorEvent("move",{...n,source:{element:r},destination:{element:t,placement:i}}),r==null||r.focus()}var Co=(o=>(o.On="On",o.Before="Before",o.After="After",o))(Co||{}),rl=(o=>(o.Vertical="Vertical",o.Horizontal="Horizontal",o))(rl||{});const B7=(o,e,t,i)=>{const a=Math.abs(o-e),r=Math.abs(o-t),n=Math.abs(o-i),s=Math.min(a,r,n);let u=[];switch(s){case a:u=[Co.Before];break;case r:u=[Co.On,a<n?Co.Before:Co.After];break;case n:u=[Co.After];break}return u},zX=(o,e,t)=>{let i=Number.POSITIVE_INFINITY,a=null;for(let f=0;f<o.length;f++){const b=o[f],{left:k,width:$,top:H,height:X}=b.getBoundingClientRect();let y;t===rl.Vertical?y=H+X/2:y=k+$/2;const C=Math.abs(e-y);C<i&&(i=C,a=b)}if(!a)return null;const{width:r,height:n,left:s,right:u,top:c,bottom:p}=a.getBoundingClientRect();let _;return t===rl.Vertical?_=B7(e,c,c+n/2,p):_=B7(e,s,s+r/2,u),{element:a,placements:_}},A7=(o,e)=>(e--,e<0?[]:[{element:o[e],placement:Co.Before}]),E7=(o,e)=>(e++,e>=o.length?[]:[{element:o[e],placement:Co.After}]),L8={ArrowLeft:A7,ArrowUp:A7,ArrowRight:E7,ArrowDown:E7,Home:(o,e)=>o.slice(0,e).map(t=>({element:t,placement:Co.Before})),End:(o,e)=>o.slice(e+1,o.length).reverse().map(t=>({element:t,placement:Co.After}))},$X=(o,e,t)=>HX(t.key)?L8[t.key](o,o.indexOf(e)):[],HX=o=>o in L8;class N8{constructor(e,t){this.component=e,this.config={orientation:rl.Vertical,clientCoordinate:"clientY",...t}}ondragenter(e){e.preventDefault()}ondragleave(e){var i;if(e.relatedTarget instanceof Node&&((i=this.component.shadowRoot)!=null&&i.contains(e.relatedTarget)))return;const t=this.config.getDropIndicator();t&&(t.targetReference=null)}ondragover(e){if(!this._validateDragOver(e))return;const t=Mu.getDraggedElement(),i=this.config.getDropIndicator(),a=this._findClosestPosition(e);if(!a){i.targetReference=null;return}const r=this._transformTargetElement(a.element);if(!this._isValidDragTarget(t,r)){i.targetReference=null;return}const n=this._filterPlacements(a.placements,t,r),s=this.config.useOriginalEvent?{originalEvent:!0}:{},{targetReference:u,placement:c}=OX(e,this.component,{element:r,placements:n},r,s);i.targetReference=u,i.placement=c}ondrop(e){const t=this.config.getDropIndicator();if(!(t!=null&&t.targetReference)||!(t!=null&&t.placement)){e.preventDefault();return}const i=this.config.useOriginalEvent?{originalEvent:!0}:{};FX(e,this.component,t.targetReference,t.placement,i),t.targetReference=null}_validateDragOver(e){if(!(e.target instanceof HTMLElement))return!1;const t=Mu.getDraggedElement(),i=this.config.getDropIndicator();return!!(t&&i)}_findClosestPosition(e){const t=this.config.getItems(),i=this.config.clientCoordinate==="clientX"?e.clientX:e.clientY;return zX(t,i,this.config.orientation)}_transformTargetElement(e){return this.config.transformElement?this.config.transformElement(e):e}_isValidDragTarget(e,t){return this.config.validateDraggedElement?this.config.validateDraggedElement(e,t):!0}_filterPlacements(e,t,i){return this.config.filterPlacements?this.config.filterPlacements(e,t,i):e}}const D7=o=>{let e=o;return o.shadowRoot&&o.shadowRoot.activeElement&&(e=o.shadowRoot.activeElement),e};let _p=null;const M8=(o,e)=>{_p&&clearTimeout(_p),_p=setTimeout(()=>{_p=null,o()},e)},XX=o=>{const e=o.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)};var Em;(function(o){o.Button="Button",o.Scroll="Scroll",o.None="None"})(Em||(Em={}));const Fg=Em;var Dm;(function(o){o.List="List",o.Menu="Menu",o.Tree="Tree",o.ListBox="ListBox"})(Dm||(Dm={}));const zg=Dm;var Rm;(function(o){o.All="All",o.Inner="Inner",o.None="None"})(Rm||(Rm={}));const R7=Rm;function UX(){return l("div",{class:{"ui5-di-rect":this.placement===Co.On,"ui5-di-needle":this.placement!==Co.On}})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const jX=`:host{position:absolute;pointer-events:none;z-index:99}:host([orientation="Vertical"]) .ui5-di-needle{width:.125rem;height:100%;inset-block:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Vertical"]){margin-left:-.0625rem}:host([orientation="Horizontal"]) .ui5-di-needle{height:.125rem;width:100%;inset-inline:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Horizontal"]){margin-top:-.0625rem}:host([orientation="Horizontal"][placement="Before"][first]){margin-top:.3125rem}:host([orientation="Horizontal"][placement="After"][last]){margin-top:-.3125rem}:host([orientation="Vertical"]) .ui5-di-needle:before{left:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host([orientation="Horizontal"]) .ui5-di-needle:before{top:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host .ui5-di-rect{border:.125rem solid var(--sapContent_DragAndDropActiveColor);position:absolute;inset:0}:host .ui5-di-rect:before{content:" ";position:absolute;inset:0;background:var(--sapContent_DragAndDropActiveColor);opacity:.05}
|
|
550
550
|
`;var P_=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let ed=class extends z{get _positionProperty(){return this.orientation===rl.Vertical?"left":"top"}constructor(){super(),this.targetReference=null,this.ownerReference=null,this.placement="Before",this.orientation="Vertical"}onAfterRendering(){if(!this.targetReference||!this.ownerReference){Object.assign(this.style,{display:"none"});return}const{left:e,width:t,right:i,top:a,bottom:r,height:n}=this.targetReference.getBoundingClientRect(),{top:s,height:u}=this.ownerReference.getBoundingClientRect(),c={display:"",[this._positionProperty]:"",width:"",height:""};let p=0,_=!1,f=!1;if(this.orientation===rl.Vertical){switch(this.placement){case Co.Before:p=e;break;case Co.On:c.width=`${t}px`,p=e;break;case Co.After:p=i;break}c.height=`${n}px`}if(this.orientation===rl.Horizontal){switch(this.placement){case Co.Before:p=a;break;case Co.On:c.height=`${n}px`,p=a;break;case Co.After:p=r;break}c.width=`${t}px`,p-=s,p<=0&&(f=!0),p>=u&&(_=!0)}c[this._positionProperty]=`${p}px`,this.toggleAttribute("first",f),this.toggleAttribute("last",_),Object.assign(this.style,c)}};P_([d({type:Object})],ed.prototype,"targetReference",void 0);P_([d({type:Object})],ed.prototype,"ownerReference",void 0);P_([d()],ed.prototype,"placement",void 0);P_([d()],ed.prototype,"orientation",void 0);ed=P_([T({tag:"ui5-drop-indicator",renderer:A,styles:jX,template:UX})],ed);ed.define();const O8=ed;function VX(){return l("div",{class:"ui5-list-root",onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,"onui5-_close":this.onItemClose,"onui5-toggle":this.onItemToggle,"onui5-request-tabindex-change":this.onItemTabIndexChange,"onui5-_focused":this.onItemFocused,"onui5-forward-after":this.onForwardAfter,"onui5-forward-before":this.onForwardBefore,"onui5-selection-requested":this.onSelectionRequested,"onui5-focus-requested":this.onFocusRequested,"onui5-_press":this.onItemPress,children:g(cd,{id:`${this._id}-busyIndicator`,delay:this.loadingDelay,active:this.showBusyIndicatorOverlay,class:"ui5-list-busy-indicator",children:[g("div",{class:"ui5-list-container",children:[this.header.length>0&&l("slot",{name:"header"}),this.shouldRenderH1&&l("header",{id:this.headerID,class:"ui5-list-header",children:this.headerText}),g("div",{class:"ui5-list-scroll-container",children:[l("span",{tabindex:-1,"aria-hidden":"true",class:"ui5-list-start-marker"}),this.hasData&&l("div",{id:`${this._id}-before`,tabindex:0,role:"none",class:"ui5-list-focusarea"}),l("span",{id:`${this._id}-modeLabel`,class:"ui5-hidden-text",children:this.ariaLabelModeText}),g("ul",{id:`${this._id}-listUl`,class:"ui5-list-ul",role:this.listAccessibleRole,"aria-label":this.ariaLabelTxt,"aria-labelledby":this.ariaLabelledBy,"aria-description":this.ariaDescriptionText||void 0,children:[l("slot",{}),this.showNoDataText&&l("li",{tabindex:0,id:`${this._id}-nodata`,class:"ui5-list-nodata",role:this.noDataItemRole,children:l("div",{id:`${this._id}-nodata-text`,class:"ui5-list-nodata-text",children:this.noDataText})})]}),this.growsWithButton&&GX.call(this),this.footerText&&l("footer",{id:`${this._id}-footer`,class:"ui5-list-footer",children:this.footerText}),this.hasData&&l("div",{id:`${this._id}-after`,tabindex:0,role:"none",class:"ui5-list-focusarea"}),l("span",{tabindex:-1,"aria-hidden":"true",class:"ui5-list-end-marker"})]})]}),l(O8,{orientation:"Horizontal",ownerReference:this})]})})}function GX(){var o;return g("div",{class:"ui5-growing-button",part:"growing-button",children:[g("div",{id:`${this._id}-growing-btn`,role:"button",tabindex:0,part:"growing-button-inner",class:{"ui5-growing-button-inner":!0,"ui5-growing-button-inner-active":this._loadMoreActive},"aria-label":this.growingButtonAriaLabel,"aria-labelledby":this.growingButtonAriaLabelledBy,"aria-describedby":this.growingButtonAriaDescribedBy,onClick:this._onLoadMoreClick,onKeyDown:this._onLoadMoreKeydown,onKeyUp:this._onLoadMoreKeyup,onMouseDown:this._onLoadMoreMousedown,onMouseUp:this._onLoadMoreMouseup,children:[this.loading&&l(cd,{delay:this.loadingDelay,part:"growing-button-busy-indicator",class:"ui5-list-growing-button-busy-indicator",active:!0}),l("span",{id:`${this._id}-growingButton-text`,class:"ui5-growing-button-text","growing-button-text":!0,children:this._growingButtonText})]}),((o=this.accessibilityAttributes.growingButton)==null?void 0:o.description)&&l("span",{id:`${this._id}-growingButton-description`,class:"ui5-hidden-text",children:this.accessibilityAttributes.growingButton.description})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const WX=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-growing-button{display:flex;align-items:center;padding:var(--_ui5_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}.ui5-growing-button-inner{display:flex;align-items:center;justify-content:center;flex-direction:row;min-height:var(--_ui5_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5_load_more_border);border-radius:var(--_ui5_load_more_border_radius);box-sizing:border-box}.ui5-growing-button-inner:focus-visible{outline:var(--_ui5_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}.ui5-growing-button-inner:hover{background-color:var(--sapList_Hover_Background)}.ui5-growing-button-inner:active,.ui5-growing-button-inner.ui5-growing-button-inner--active{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}.ui5-growing-button-inner:active>*,.ui5-growing-button-inner.ui5-growing-button-inner--active>*{color:var(--sapList_Active_TextColor)}.ui5-growing-button-text{text-align:center;font-family:var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.ui5-growing-button-text{height:var(--_ui5_load_more_text_height);padding:.875rem 1rem 1rem;font-size:var(--_ui5_load_more_text_font_size);font-weight:700}:host([loading]) .ui5-list-growing-button-busy-indicator:not([_is-busy]){display:none}:host([loading]) .ui5-list-growing-button-busy-indicator[_is-busy]+.ui5-growing-button-text{padding-left:.5rem}:host(:not([hidden])){display:block;max-width:100%;width:100%;-webkit-tap-highlight-color:transparent}:host([indent]) .ui5-list-root{padding:2rem}:host([separators="None"]) .ui5-list-nodata{border-bottom:0}.ui5-list-root,.ui5-list-busy-indicator,.ui5-list-container{width:100%;height:100%;position:relative;box-sizing:border-box}.ui5-list-scroll-container{overflow:auto;height:100%;width:100%}.ui5-list-ul{list-style-type:none;padding:0;margin:0}.ui5-list-ul:focus{outline:none}.ui5-list-focusarea{position:fixed}.ui5-list-header{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;font-size:var(--sapFontHeader4Size);font-family:var(--sapFontFamily);color:var(--sapGroup_TitleTextColor);height:3rem;line-height:3rem;padding:0 1rem;background-color:var(--sapGroup_TitleBackground);border-bottom:1px solid var(--sapGroup_TitleBorderColor)}.ui5-list-footer{height:2rem;box-sizing:border-box;-webkit-text-size-adjust:none;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);line-height:2rem;background-color:var(--sapList_FooterBackground);color:var(--ui5_list_footer_text_color);padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui5-list-nodata{list-style-type:none;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;color:var(--sapTextColor);background-color:var(--sapList_Background);border-bottom:1px solid var(--sapList_BorderColor);padding:0 1rem!important;outline:none;min-height:var(--_ui5_list_no_data_height);font-size:var(--_ui5_list_no_data_font_size);font-family:var(--sapFontFamily);position:relative}.ui5-list-nodata:focus:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:.125rem;pointer-events:none}.ui5-list-nodata-text{overflow:hidden;text-overflow:ellipsis;white-space:normal;margin:var(--_ui5_list_item_content_vertical_offset) 0}:host([growing="Scroll"]) .ui5-list-end-marker{display:inline-block}:host([sticky-header]) ::slotted([slot="header"]),:host([sticky-header]) .ui5-list-header{position:sticky;top:0;z-index:100}
|
|
551
551
|
`;var s2=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let Xh=class extends z{get groupHeaderItem(){return this.shadowRoot.querySelector("[ui5-li-group-header]")}get isListItemGroup(){return!0}};s2([d()],Xh.prototype,"headerText",void 0);s2([D({default:!0,invalidateOnChildChange:!0,type:HTMLElement})],Xh.prototype,"items",void 0);Xh=s2([T({renderer:A})],Xh);const qX=Xh,YX=Zr("isListItemGroup"),KX=o=>(e,t)=>{const i=e.constructor;Object.prototype.hasOwnProperty.call(i,"metadata")||(i.metadata={});const a=i.metadata;a.slots||(a.slots={});const r=a.slots;if(o&&o.default&&r.default)throw new Error("Only one slot can be the default slot.");const n=o&&o.default?"default":t;o=o||{type:HTMLElement},o.type||(o.type=HTMLElement),r[n]||(r[n]=o),o.default&&(delete r.default.default,r.default.propertyName=t),i.metadata.managedSlots=!0},ZX=o=>{if(!o||o.hasAttribute("data-sap-no-tab-ref")||Lu(o))return!1;const e=o.getAttribute("tabindex");if(e!=null)return parseInt(e)>=0;const t=o.nodeName.toLowerCase();return t==="a"||/^(input|select|textarea|button|object)$/.test(t)?!o.disabled:!1},d2=o=>Pm(o.tagName==="SLOT"?[o]:[...o.children]),Pm=(o,e)=>{const t=e||[];return o&&o.forEach(i=>{if(i.nodeType===Node.TEXT_NODE||i.nodeType===Node.COMMENT_NODE)return;const a=i;if(!a.hasAttribute("data-sap-no-tab-ref"))if(ZX(a)&&t.push(a),a.tagName==="SLOT")Pm(a.assignedElements(),t);else{const r=a.shadowRoot?a.shadowRoot.children:a.children;Pm([...r],t)}}),t};m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const JX=`:host{box-sizing:border-box;height:var(--_ui5_list_item_base_height);background-color:var(--ui5-listitem-background-color);border-bottom:.0625rem solid transparent}:host(:not([hidden])){display:block}:host([disabled]){opacity:var(--_ui5-listitembase_disabled_opacity);pointer-events:none}:host([actionable]:not([disabled]):not([ui5-li-group-header])){cursor:pointer}:host([has-border]){border-bottom:var(--ui5-listitem-border-bottom)}:host([selected]){background-color:var(--sapList_SelectionBackgroundColor);border-bottom:var(--ui5-listitem-selected-border-bottom)}:host([selected]) .ui5-li-additional-text{text-shadow:var(--sapContent_TextShadow)}:host([actionable]:not([active]):not(:active):not([selected]):not([ui5-li-group-header]):hover){background-color:var(--sapList_Hover_Background)}:host([actionable]:not([active]):not(:active):not([selected]):not([ui5-li-group-header]):hover) .ui5-li-additional-text{text-shadow:var(--sapContent_TextShadow)}:host([actionable][selected]:not([active]):not(:active):not([data-moving]):hover){background-color:var(--sapList_Hover_SelectionBackground)}:host([active][actionable]:not([data-moving])),:host([active][actionable][selected]:not([data-moving])){background-color:var(--sapList_Active_Background);border-bottom-color:var(--sapList_Active_Background)}:host([desktop]:not([data-moving])) .ui5-li-root.ui5-li--focusable:focus:after,:host([desktop][focused]:not([data-moving])) .ui5-li-root.ui5-li--focusable:after,:host(:not([data-moving])) .ui5-li-root.ui5-li--focusable:focus-visible:after,:host([desktop]:not([data-moving])) .ui5-li-root .ui5-li-content:focus:after,:host([desktop][focused]:not([data-moving])) .ui5-li-root .ui5-li-content:after,:host(:not([data-moving])) .ui5-li-root .ui5-li-content:focus-visible:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:.125rem;pointer-events:none}.ui5-li-root{position:relative;display:flex;align-items:center;width:100%;height:100%;padding:var(--_ui5_list_item_base_padding);box-sizing:border-box;background-color:inherit}.ui5-li-root.ui5-li--focusable{outline:none}.ui5-li-content{display:flex;align-items:center;flex:auto;overflow:hidden;max-width:100%;font-family:var(--sapFontFamily);color:var(--sapList_TextColor)}.ui5-li-content .ui5-li-title{color:var(--sapList_TextColor);font-size:var(--_ui5_list_item_title_size)}.ui5-li-text-wrapper{display:flex;flex-direction:row;justify-content:space-between;flex:var(--_ui5_li_text_wrapper_flex, auto);min-width:1px;line-height:normal}
|
|
552
552
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const QX=`[draggable=true]{cursor:grab!important}[draggable=true][data-moving]{cursor:grabbing!important;opacity:var(--sapContent_DisabledOpacity)}
|
|
553
553
|
`;var vd=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let nn=class extends z{constructor(){super(...arguments),this.selected=!1,this.movable=!1,this.hasBorder=!1,this.disabled=!1,this.focused=!1,this.actionable=!1}onEnterDOM(){se()&&this.setAttribute("desktop","")}onBeforeRendering(){this.actionable=!0}_onfocusin(e){this.fireDecoratorEvent("request-tabindex-change",e),e.target===this.getFocusDomRef()&&this.fireDecoratorEvent("_focused",e)}_onkeydown(e){if(Qe(e))return this._handleTabNext(e);if(pt(e))return this._handleTabPrevious(e);this.getFocusDomRef().matches(":has(:focus-within)")||(this._isSpace(e)&&e.preventDefault(),this._isEnter(e)&&this.fireItemPress(e))}_onkeyup(e){this.getFocusDomRef().matches(":has(:focus-within)")||this._isSpace(e)&&this.fireItemPress(e)}_onclick(e){this.getFocusDomRef().matches(":has(:focus-within)")||this._isDisabledInteractiveContentClicked(e)||(e.stopPropagation(),this.fireItemPress(e))}_isDisabledInteractiveContentClicked(e){const t=e.composedPath(),i=this.getFocusDomRef();return t.some(a=>!(a instanceof HTMLElement)||a===this||a===i||!this._isNativeInteractiveElement(a)&&!this._isCustomInteractiveElement(a)?!1:this._isElementDisabled(a))}_isNativeInteractiveElement(e){return e.matches("button, input, select, textarea")}_isCustomInteractiveElement(e){const t=e;return e.tagName.includes("-")&&("disabled"in t||e.hasAttribute("aria-disabled"))}_isElementDisabled(e){const t=e;return typeof t.disabled=="boolean"?t.disabled:e.getAttribute("aria-disabled")==="true"}_isSpace(e){return K(e)}_isEnter(e){return ie(e)}fireItemPress(e){this.disabled||!this._pressable||(ie(e)&&e.preventDefault(),this.fireDecoratorEvent("click",{item:this,originalEvent:e}),this.fireDecoratorEvent("_press",{item:this,selected:this.selected,key:e.key}))}_handleTabNext(e){this.shouldForwardTabAfter()&&(this.fireDecoratorEvent("forward-after")||e.preventDefault())}_handleTabPrevious(e){const t=e.target;this.shouldForwardTabBefore(t)&&(this.fireDecoratorEvent("forward-before")||e.preventDefault())}shouldForwardTabAfter(){const e=d2(this.getFocusDomRef());return e.length===0||e[e.length-1]===$r()}shouldForwardTabBefore(e){return this.getFocusDomRef()===e}get classes(){return{main:{"ui5-li-root":!0,"ui5-li--focusable":this._focusable}}}get _ariaDisabled(){return this.disabled?!0:void 0}get _focusable(){return!this.disabled}get _pressable(){return!0}get hasConfigurableMode(){return!1}get _effectiveTabIndex(){return this._focusable?this.selected?0:this.forcedTabIndex?parseInt(this.forcedTabIndex):void 0:-1}get isListItemBase(){return!0}};vd([d({type:Boolean})],nn.prototype,"selected",void 0);vd([d({type:Boolean})],nn.prototype,"movable",void 0);vd([d({type:Boolean})],nn.prototype,"hasBorder",void 0);vd([d()],nn.prototype,"forcedTabIndex",void 0);vd([d({type:Boolean})],nn.prototype,"disabled",void 0);vd([d({type:Boolean})],nn.prototype,"focused",void 0);vd([d({type:Boolean})],nn.prototype,"actionable",void 0);nn=vd([T({renderer:A,styles:[JX,QX]}),x("click",{bubbles:!0}),x("request-tabindex-change",{bubbles:!0}),x("_press",{bubbles:!0}),x("_focused",{bubbles:!0}),x("forward-after",{bubbles:!0,cancelable:!0}),x("forward-before",{bubbles:!0,cancelable:!0})],nn);const L5=nn;function eU(){return g("div",{part:"native-li",role:this.effectiveAccRole,tabindex:this.forcedTabIndex?parseInt(this.forcedTabIndex):void 0,class:{"ui5-ghli-root":!0,...this.classes.main},"aria-label":this.ariaLabelText,"aria-roledescription":this.groupHeaderText,onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,children:[l("div",{id:`${this._id}-content`,class:"ui5-li-content",children:tU.call(this)}),this.hasSubItems&&l("slot",{name:"subItems"})]})}function tU(){var o;return this.wrappingType===cl.Normal?(o=this.expandableTextTemplate)==null?void 0:o.call(this,{className:"ui5-ghli-title",text:this._textContent,maxCharacters:this._maxCharacters,part:"title"}):l("span",{part:"title",class:"ui5-ghli-title",children:l("slot",{})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const oU=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{height:var(--_ui5_group_header_list_item_height);background:var(--ui5-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([wrapping-type="Normal"]){height:auto}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}:host([actionable]:not([disabled])){cursor:default}.ui5-li-root.ui5-ghli-root{padding-top:.5rem;color:currentColor;font-size:var(--sapFontHeader6Size);font-weight:400;line-height:2rem;margin:0}.ui5-ghli-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-family:var(--sapFontHeaderFamily)}.ui5-li-content{width:100%}
|
|
554
|
-
`;var Lm;(function(o){o.ListItem="ListItem",o.MenuItem="MenuItem",o.TreeItem="TreeItem",o.Option="Option",o.None="None"})(Lm||(Lm={}));const F8=Lm;var md=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Wc;const iU=100,rU=300;let Ia=Wc=class extends L5{constructor(){super(...arguments),this.accessibleRole=F8.ListItem,this.wrappingType="None",this.mediaRange="S"}get effectiveAccRole(){return ul(this.accessibleRole)}get groupItem(){return!0}get _pressable(){return!1}get groupHeaderText(){return Wc.i18nBundle.getText(wI)}get defaultSlotText(){return this.textContent}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}get hasSubItems(){return this.subItems.length>0}onBeforeRendering(){super.onBeforeRendering(),this.wrappingType==="Normal"&&(Wc.ExpandableTextTemplate?this.expandableTextTemplate=Wc.ExpandableTextTemplate:v(()=>import("./ListItemStandardExpandableTextTemplate-
|
|
554
|
+
`;var Lm;(function(o){o.ListItem="ListItem",o.MenuItem="MenuItem",o.TreeItem="TreeItem",o.Option="Option",o.None="None"})(Lm||(Lm={}));const F8=Lm;var md=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Wc;const iU=100,rU=300;let Ia=Wc=class extends L5{constructor(){super(...arguments),this.accessibleRole=F8.ListItem,this.wrappingType="None",this.mediaRange="S"}get effectiveAccRole(){return ul(this.accessibleRole)}get groupItem(){return!0}get _pressable(){return!1}get groupHeaderText(){return Wc.i18nBundle.getText(wI)}get defaultSlotText(){return this.textContent}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}get hasSubItems(){return this.subItems.length>0}onBeforeRendering(){super.onBeforeRendering(),this.wrappingType==="Normal"&&(Wc.ExpandableTextTemplate?this.expandableTextTemplate=Wc.ExpandableTextTemplate:v(()=>import("./ListItemStandardExpandableTextTemplate-hSNo3Xyr.js"),[]).then(e=>{this.expandableTextTemplate=e.default}))}get _maxCharacters(){return this.mediaRange==="S"?iU:rU}get _textContent(){return this.defaultSlotText||this.groupHeaderText||""}};md([d()],Ia.prototype,"accessibleName",void 0);md([d()],Ia.prototype,"accessibleRole",void 0);md([d()],Ia.prototype,"wrappingType",void 0);md([d()],Ia.prototype,"mediaRange",void 0);md([d({noAttribute:!0})],Ia.prototype,"expandableTextTemplate",void 0);md([D()],Ia.prototype,"subItems",void 0);md([V("@ui5/webcomponents")],Ia,"i18nBundle",void 0);Ia=Wc=md([T({tag:"ui5-li-group-header",languageAware:!0,template:eU,styles:[L5.styles,oU]})],Ia);Ia.define();const aU=Ia;function nU(){return g(P,{children:[this.hasHeader&&g(aU,{wrappingType:this.wrappingType,focused:this.focused,part:"header",exportparts:"title",accessibleRole:F8.ListItem,children:[this.hasFormattedHeader?l("slot",{name:"header"}):this.headerText,l("div",{role:"list",slot:"subItems","aria-owns":`${this._id}-content`,"aria-label":this.headerText})]}),g("div",{class:"ui5-group-li-root",onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,id:`${this._id}-content`,children:[l("slot",{}),l(O8,{orientation:"Horizontal",ownerReference:this})]})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const sU=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{height:var(--_ui5_group_header_list_item_height);background:var(--ui5-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}.ui5-group-li-root{width:100%;height:100%;position:relative;box-sizing:border-box;padding:0;margin:0;list-style-type:none}
|
|
555
555
|
`;var L_=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let td=class extends qX{constructor(){super(),this.wrappingType="None",this.focused=!1,this._dragAndDropHandler=new N8(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,filterPlacements:this._filterPlacements.bind(this)})}get hasHeader(){return!!this.headerText||this.hasFormattedHeader}get hasFormattedHeader(){return!!this.header.length}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}_filterPlacements(e,t,i){return i===t?e.filter(a=>a!==Co.On):e}getFocusDomRef(){return this.groupHeaderItem||this.items.at(0)}getGroupHeaderWrapping(){return cl.None}};L_([d()],td.prototype,"headerAccessibleName",void 0);L_([d()],td.prototype,"wrappingType",void 0);L_([d({type:Boolean})],td.prototype,"focused",void 0);L_([D()],td.prototype,"header",void 0);td=L_([T({tag:"ui5-li-group",renderer:A,languageAware:!0,template:nU,styles:[sU]}),x("move-over",{bubbles:!0,cancelable:!0}),x("move",{bubbles:!0})],td);td.define();const xde=td;var Nm;(function(o){o.None="None",o.Positive="Positive",o.Critical="Critical",o.Negative="Negative",o.Information="Information"})(Nm||(Nm={}));const dU=Nm;var Mm;(function(o){o.Inactive="Inactive",o.InactiveSelectable="InactiveSelectable",o.Active="Active",o.Detail="Detail",o.Navigation="Navigation"})(Mm||(Mm={}));const ua=Mm;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const lU=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host([navigated]) .ui5-li-root .ui5-li-navigated{width:.1875rem;position:absolute;right:0;top:0;bottom:0;background-color:var(--sapList_SelectionBorderColor)}:host([active][actionable]) .ui5-li-root .ui5-li-icon{color:var(--sapList_Active_TextColor)}:host([active][actionable]) .ui5-li-title,:host([active][actionable]) .ui5-li-desc,:host([active][actionable]) .ui5-li-additional-text{color:var(--sapList_Active_TextColor)}:host([active][actionable]) .ui5-li-additional-text{text-shadow:none}:host([additional-text-state="Critical"]) .ui5-li-additional-text{color:var(--sapCriticalTextColor)}:host([additional-text-state="Positive"]) .ui5-li-additional-text{color:var(--sapPositiveTextColor)}:host([additional-text-state="Negative"]) .ui5-li-additional-text{color:var(--sapNegativeTextColor)}:host([additional-text-state="Information"]) .ui5-li-additional-text{color:var(--sapInformativeTextColor)}:host([has-title][description]){height:5rem}:host([has-title][image]){height:5rem}:host([_has-image]){height:5rem}:host([image]) .ui5-li-content{height:3rem}::slotted(img[slot="image"]){width:var(--_ui5_list_item_img_size);height:var(--_ui5_list_item_img_size);border-radius:var(--ui5-avatar-border-radius);object-fit:contain}::slotted([ui5-icon][slot="image"]){color:var(--sapContent_NonInteractiveIconColor);min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);padding-inline-end:var(--_ui5_list_item_icon_padding-inline-end)}::slotted([ui5-avatar][slot="image"]){min-width:var(--_ui5_list_item_img_size);min-height:var(--_ui5_list_item_img_size);margin-top:var(--_ui5_list_item_img_top_margin);margin-bottom:var(--_ui5_list_item_img_bottom_margin);margin-inline-end:var(--_ui5_list_item_img_hn_margin)}:host([wrapping-type="None"][description]) .ui5-li-root{padding:1rem}:host([description]) .ui5-li-content{height:3rem}:host([has-title][description]) .ui5-li-title{padding-bottom:.5rem}.ui5-li-text-wrapper{flex-direction:column}:host([description]) .ui5-li-text-wrapper{justify-content:space-between;padding:.125rem 0}.ui5-li-description-info-wrapper{display:flex;justify-content:space-between}.ui5-li-additional-text,:host(:not([wrapping-type="Normal"])) .ui5-li-title,.ui5-li-desc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([wrapping-type="Normal"]){height:auto}:host([wrapping-type="Normal"]) .ui5-li-content{margin:var(--_ui5_list_item_content_vertical_offset) 0}.ui5-li-desc{color:var(--sapContent_LabelColor);font-size:var(--sapFontSize)}:host([description]) .ui5-li-additional-text{align-self:flex-end}.ui5-li-icon{min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);color:var(--sapContent_NonInteractiveIconColor);padding-inline-end:var(--_ui5_list_item_icon_padding-inline-end)}:host([icon-end]) .ui5-li-icon{padding-inline-start:var(--_ui5_list_item_icon_padding-inline-end)}.ui5-li-detailbtn,.ui5-li-deletebtn{display:flex;align-items:center;margin-left:var(--_ui5_list_buttons_left_space)}.ui5-li-multisel-cb,.ui5-li-singlesel-radiobtn{flex-shrink:0}:host([description]) .ui5-li-singlesel-radiobtn{align-self:flex-start;margin-top:var(--_ui5_list_item_selection_btn_margin_top)}:host([description]) .ui5-li-multisel-cb{align-self:flex-start;margin-top:var(--_ui5_list_item_selection_btn_margin_top)}:host([_selection-mode="SingleStart"][wrapping-type]) .ui5-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"][wrapping-type]) .ui5-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"][wrapping-type]) .ui5-li-root{padding-inline:1rem 0}:host [ui5-checkbox].ui5-li-singlesel-radiobtn{margin-right:var(--_ui5_list_item_cb_margin_right)}.ui5-li-highlight{position:absolute;width:.375rem;bottom:0;left:0;top:0;border-inline-end:.0625rem solid var(--ui5-listitem-background-color);box-sizing:border-box}:host([highlight="Negative"]) .ui5-li-highlight{background:var(--sapErrorBorderColor)}:host([highlight="Critical"]) .ui5-li-highlight{background:var(--sapWarningBorderColor)}:host([highlight="Positive"]) .ui5-li-highlight{background:var(--sapSuccessBorderColor)}:host([highlight="Information"]) .ui5-li-highlight{background:var(--sapInformationBorderColor)}:host([wrapping-type="Normal"][description]),:host([wrapping-type="Normal"][has-title][description]),:host([wrapping-type="Normal"][has-title][image]){height:auto;min-height:5rem}:host([wrapping-type="Normal"][description]) .ui5-li-content,:host([wrapping-type="Normal"][image]) .ui5-li-content{height:auto;min-height:3rem}:host([wrapping-type="Normal"][has-title][description]) .ui5-li-title{padding-bottom:.75rem}:host([wrapping-type="Normal"][additional-text]) .ui5-li-additional-text{padding-inline-start:.75rem}:host([wrapping-type="Normal"]) .ui5-li-description-info-wrapper{flex-direction:column}:host([wrapping-type="Normal"]) .ui5-li-description-info-wrapper .ui5-li-additional-text{white-space:normal}:host([wrapping-type="Normal"]) .ui5-li-multisel-cb,:host([wrapping-type="Normal"]) .ui5-li-singlesel-radiobtn{display:flex;align-self:flex-start}:host([wrapping-type="Normal"][description]) .ui5-li-multisel-cb,:host([wrapping-type="Normal"][description]) .ui5-li-singlesel-radiobtn{margin-top:0}:host([wrapping-type="Normal"]) .ui5-li-icon,:host([wrapping-type="Normal"]) .ui5-li-image{display:flex;align-self:flex-start}:host([wrapping-type="Normal"][icon-end]) .ui5-li-icon{margin-top:var(--_ui5_list_item_content_vertical_offset)}:host([wrapping-type="Normal"]) ::slotted([ui5-avatar][slot="image"]){margin-top:0;margin-bottom:0}:host([wrapping-type="Normal"]) .ui5-li-detailbtn,:host([wrapping-type="Normal"]) .ui5-li-deletebtn{margin-inline-start:.875rem}
|
|
556
556
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const uU=`.ui5-li-additional-text{margin:0 .25rem;color:var(--sapNeutralTextColor);font-size:var(--sapFontSize);min-width:3.75rem;text-align:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
557
557
|
`;var Ji=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Ss;let ti=Ss=class extends L5{constructor(){super(),this.type="Active",this.accessibilityAttributes={},this.navigated=!1,this.active=!1,this.highlight="None",this._selectionMode="None",this._editMode=!1,this.mediaRange="S",this.deactivateByKey=e=>{ie(e)&&this.deactivate()},this.deactivate=()=>{this.active&&(this.active=!1)}}onBeforeRendering(){super.onBeforeRendering(),this.actionable=(this.type===ua.Active||this.type===ua.Navigation)&&this._selectionMode!==Mt.Delete}onEnterDOM(){super.onEnterDOM(),document.addEventListener("mouseup",this.deactivate),document.addEventListener("touchend",this.deactivate),document.addEventListener("keyup",this.deactivateByKey)}onExitDOM(){document.removeEventListener("mouseup",this.deactivate),document.removeEventListener("keyup",this.deactivateByKey),document.removeEventListener("touchend",this.deactivate)}_onkeydown(e){const t=e.target!==this.getFocusDomRef();if((K(e)||ie(e))&&t)return;super._onkeydown(e);const i=this.type===ua.Active,a=this.typeNavigation;(K(e)||ie(e))&&(i||a)&&this.activate(),ll(e)&&this._handleF2()}_onkeyup(e){super._onkeyup(e),(K(e)||ie(e))&&this.deactivate(),this.modeDelete&&Hs(e)&&this.onDelete()}_onmousedown(){this.activate()}_onmouseup(){this.getFocusDomRef().matches(":has(:focus-within)")||this.deactivate()}_ontouchend(){this._onmouseup()}_onfocusin(e){super._onfocusin(e),e.target!==this.getFocusDomRef()&&this.deactivate()}_onfocusout(e){if(this._editMode){const t=e.relatedTarget;(!t||!(this.contains(t)||this.shadowRoot.contains(t)))&&(this._editMode=!1)}e.target===this.getFocusDomRef()&&this.deactivate()}_ondragstart(e){e.dataTransfer&&e.target===this._listItem&&(Mu.setDraggedElement(this,e),this.setAttribute("data-moving",""),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move")}_ondragend(e){e.target===this._listItem&&(Mu.clearDraggedElement(),this.removeAttribute("data-moving"))}onMultiSelectionComponentPress(e){this.isInactive||this.fireDecoratorEvent("selection-requested",{item:this,selected:e.target.checked,selectionComponentPressed:!0})}onSingleSelectionComponentPress(e){this.isInactive||this.fireDecoratorEvent("selection-requested",{item:this,selected:!e.target.checked,selectionComponentPressed:!0})}activate(){(this.type===ua.Active||this.type===ua.Navigation)&&(this.active=!0)}onDelete(){this.fireDecoratorEvent("selection-requested",{item:this,selectionComponentPressed:!1})}onDetailClick(){this.fireDecoratorEvent("detail-click",{item:this,selected:this.selected})}fireItemPress(e){this.isInactive||(super.fireItemPress(e),document.activeElement!==this&&this.focus())}get isInactive(){return this.type===ua.Inactive||this.type===ua.Detail}get isInactiveSelectable(){return this.type===ua.InactiveSelectable}get placeSelectionElementBefore(){return this._selectionMode===Mt.Multiple||this._selectionMode===Mt.SingleStart}get placeSelectionElementAfter(){return!this.placeSelectionElementBefore&&(this._selectionMode===Mt.SingleEnd||this._selectionMode===Mt.Delete)}get modeSingleSelect(){return[Mt.SingleStart,Mt.SingleEnd,Mt.Single].includes(this._selectionMode)}get modeMultiple(){return this._selectionMode===Mt.Multiple}get modeDelete(){return this._selectionMode===Mt.Delete}get typeDetail(){return this.type===ua.Detail}get typeNavigation(){return this.type===ua.Navigation}get typeActive(){return this.type===ua.Active}get _ariaSelected(){if(this.modeMultiple||this.modeSingleSelect)return this.selected}get listItemAccessibleRole(){return this._forcedAccessibleRole?this._forcedAccessibleRole:this.accessibleRole?this.accessibleRole.toLowerCase():this._inheritedAccessibleRole||"listitem"}get ariaSelectedText(){let e;return this._ariaSelected!==void 0&&(e=this._ariaSelected?Ss.i18nBundle.getText(Dh):Ss.i18nBundle.getText(a3)),e}get deleteText(){return Ss.i18nBundle.getText(gI)}get hasDeleteButtonSlot(){return!!this.deleteButton.length}get _accessibleNameRef(){return this.accessibleName?`${this._id}-invisibleText`:`${this._id}-content ${this._id}-invisibleText`}get ariaLabelledByText(){return[this._accInfo.listItemAriaLabel,this.accessibleName,this.typeActive?Ss.i18nBundle.getText(NI):void 0].filter(Boolean).join(" ")}get _ariaDescribedByIds(){return`${this._id}-invisibleText-describedby`}get _accInfo(){return{role:this.listItemAccessibleRole,ariaExpanded:void 0,ariaLevel:void 0,ariaLabel:Ss.i18nBundle.getText(FI),ariaLabelRadioButton:Ss.i18nBundle.getText(zI),ariaSelected:this._ariaSelected,ariaSelectedText:this.ariaSelectedText,ariaHaspopup:this.accessibilityAttributes.hasPopup,setsize:this.accessibilityAttributes.ariaSetsize,posinset:this.accessibilityAttributes.ariaPosinset,tooltip:this.tooltip,ariaDescribedBy:this._ariaDescribedByIds||void 0}}get _hasHighlightColor(){return this.highlight!==dU.None}get hasConfigurableMode(){return!0}get _listItem(){return this.shadowRoot.querySelector("li")}_handleF2(){const e=this.getFocusDomRef();if($r()===e){const t=this._getFocusableElements();if(!t.length)return;this._editMode=!0,t[0].focus()}else this._editMode=!1,e.focus()}_handleTabNext(e){if(this._editMode){const t=this._getFocusableElements(),i=this._indexOfActiveElement(t),a=i+1;i!==-1&&a<t.length?(e.preventDefault(),t[a].focus()):this.fireDecoratorEvent("forward-after")||e.preventDefault();return}this.fireDecoratorEvent("forward-after")||e.preventDefault()}_handleTabPrevious(e){if(this._editMode){const t=this._getFocusableElements(),i=this._indexOfActiveElement(t);i>0?(e.preventDefault(),t[i-1].focus()):this.fireDecoratorEvent("forward-before")||e.preventDefault();return}this.fireDecoratorEvent("forward-before")||e.preventDefault()}_getFocusableElements(){const e=this.getFocusDomRef();return e?d2(e):[]}_indexOfActiveElement(e){const t=$r();return e.findIndex(i=>i===t||i.shadowRoot!==null&&i.shadowRoot.contains(t))}_getFocusedElementIndex(){return this._indexOfActiveElement(this._getFocusableElements())}_hasFocusableElements(){return this._getFocusableElements().length>0}_isFocusOnInternalElement(){return this._indexOfActiveElement(this._getFocusableElements())!==-1}_focusInternalElement(e){const t=this._getFocusableElements();if(!t.length)return;const i=Math.min(e,t.length-1);return t[i].focus(),i}};Ji([d()],ti.prototype,"type",void 0);Ji([d({type:Object})],ti.prototype,"accessibilityAttributes",void 0);Ji([d({type:Boolean})],ti.prototype,"navigated",void 0);Ji([d()],ti.prototype,"tooltip",void 0);Ji([d({type:Boolean})],ti.prototype,"active",void 0);Ji([d()],ti.prototype,"highlight",void 0);Ji([d({type:Boolean})],ti.prototype,"selected",void 0);Ji([d()],ti.prototype,"accessibleRole",void 0);Ji([d()],ti.prototype,"_forcedAccessibleRole",void 0);Ji([d({noAttribute:!0})],ti.prototype,"_inheritedAccessibleRole",void 0);Ji([d()],ti.prototype,"_selectionMode",void 0);Ji([d()],ti.prototype,"mediaRange",void 0);Ji([D()],ti.prototype,"deleteButton",void 0);Ji([V("@ui5/webcomponents")],ti,"i18nBundle",void 0);ti=Ss=Ji([T({languageAware:!0,renderer:A,styles:[L5.styles,uU,lU]}),x("detail-click",{bubbles:!0}),x("selection-requested",{bubbles:!0})],ti);const N_=ti,cU={listItemPreContent:hU,listItemContent:_U,imageBegin:pU,iconBegin:gU,iconEnd:vU,selectionElement:z8};function l2(o){const e={...cU,...o};return g("li",{part:"native-li","data-sap-focus-ref":!0,tabindex:this._effectiveTabIndex,class:this.classes.main,onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onMouseUp:this._onmouseup,onMouseDown:this._onmousedown,onTouchStart:this._onmousedown,onTouchEnd:this._ontouchend,onClick:this._onclick,draggable:this.movable,onDragStart:this._ondragstart,onDragEnd:this._ondragend,role:this._accInfo.role,title:this._accInfo.tooltip,"aria-expanded":this._accInfo.ariaExpanded,"aria-level":this._accInfo.ariaLevel,"aria-haspopup":this._accInfo.ariaHaspopup,"aria-posinset":this._accInfo.posinset,"aria-setsize":this._accInfo.setsize,"aria-describedby":this._accInfo.ariaDescribedBy,"aria-labelledby":this._accessibleNameRef,"aria-disabled":this._ariaDisabled,"aria-selected":this._accInfo.ariaSelected,"aria-checked":this._accInfo.ariaChecked,"aria-owns":this._accInfo.ariaOwns,"aria-keyshortcuts":this._accInfo.ariaKeyShortcuts,children:[e.listItemPreContent.call(this),this.placeSelectionElementBefore&&z8.call(this),this._hasHighlightColor&&l("div",{class:"ui5-li-highlight"}),g("div",{part:"content",id:`${this._id}-content`,class:"ui5-li-content",children:[e.imageBegin.call(this),e.iconBegin.call(this),e.listItemContent.call(this)]}),e.iconEnd.call(this),this.typeDetail&&l("div",{class:"ui5-li-detailbtn",children:l(Ft,{part:"detail-button",design:"Transparent",onClick:this.onDetailClick,icon:DH})}),this.typeNavigation&&l(R,{name:Ii}),this.navigated&&l("div",{class:"ui5-li-navigated"}),this.placeSelectionElementAfter&&e.selectionElement.call(this),l("span",{id:`${this._id}-invisibleText`,class:"ui5-hidden-text",children:this.ariaLabelledByText}),l("span",{id:`${this._id}-invisibleText-describedby`,class:"ui5-hidden-text",children:this._accInfo.ariaSelectedText})]})}function hU(){}function _U(){}function pU(){}function gU(){}function vU(){}function z8(){switch(!0){case this.modeSingleSelect:return l(Gd,{part:"radio",disabled:this.isInactive,accessibleName:this._accInfo.ariaLabelRadioButton,tabindex:-1,id:`${this._id}-singleSelectionElement`,class:"ui5-li-singlesel-radiobtn",checked:this.selected,onChange:this.onSingleSelectionComponentPress});case this.modeMultiple:return l(Z0,{part:"checkbox",disabled:this.isInactive,indeterminate:this.indeterminate,tabindex:-1,id:`${this._id}-multiSelectionElement`,class:"ui5-li-multisel-cb",checked:this.selected,accessibleName:this._accInfo.ariaLabel,onChange:this.onMultiSelectionComponentPress});case this.modeDelete:return l("div",{class:"ui5-li-deletebtn",children:this.hasDeleteButtonSlot?l("slot",{name:"deleteButton"}):l(Ft,{part:"delete-button",id:`${this._id}-deleteSelectionElement`,design:"Transparent",icon:Ui,onClick:this.onDelete,tooltip:this.deleteText})})}}const mU={listItemContent:bU};function fU(o){const e={...mU,...o};return l2.call(this,e)}function bU(){return l("slot",{})}let P7,Pn;const Tc=()=>(P7??(P7=new w4("@ui5/webcomponents-base")),P7),xU=o=>o.checkVisibility()||getComputedStyle(o).display==="contents",L7=(o,e=[])=>{(!Pn||!Pn.isConnected)&&(Pn=document.createElement("span"),Pn.id="ui5-invisible-text",Pn.hidden=!0,document.body.appendChild(Pn));const t=[...o.ariaLabelledByElements||[]],i=t.indexOf(Pn);e=Array.isArray(e)?e.filter(Boolean).join(" . ").trim():e.trim(),Pn.textContent=e,e&&i===-1?(t.unshift(Pn),o.ariaLabelledByElements=t):!e&&i>-1&&(t.splice(i,1),o.ariaLabelledByElements=t.length?t:null)},$8=(o,e={},t=!0)=>{if(!o)return"";if(o.nodeType===Node.TEXT_NODE)return o.data.trim();if(!(o instanceof HTMLElement))return"";if(o.hasAttribute("data-ui5-acc-text"))return o.getAttribute("data-ui5-acc-text")||"";if(o.ariaHidden==="true"||!xU(o))return t?Tc().getText(Gb):"";let i=[];const a=[],r=o.accessibilityInfo,{lessDetails:n}=e;if(r){const{type:s,description:u,required:c,disabled:p,readonly:_,children:f}=r;i=f||[],s&&a.push(s),u&&a.push(u),n||(c&&a.push(Tc().getText(MT)),p&&a.push(Tc().getText(OT)),_&&a.push(Tc().getText(i3)))}else o.localName==="slot"?i=o.assignedNodes({flatten:!0}):i=o.shadowRoot?[...o.shadowRoot.childNodes]:[...o.childNodes];if(i.forEach(s=>{const u=$8(s,e,!1);u&&a.push(u)}),t){const s=a.length>0;if(!s||!n){const u=d2(o),c=[s?"":Gb,FT,zT][Math.min(u.length,2)];c&&(s&&a.push("."),a.push(Tc().getText(c)))}}return a.join(" ").trim()};m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const yU=`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5_list_item_base_height);height:auto;box-sizing:border-box}.ui5-li-root.ui5-custom-li-root{pointer-events:inherit;min-height:inherit}.ui5-li-root.ui5-custom-li-root .ui5-li-content{pointer-events:inherit}[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{display:flex;align-items:center}.ui5-li-root.ui5-custom-li-root,[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{min-width:var(--_ui5_custom_list_item_rb_min_width)}:host([_selection-mode="SingleStart"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"]) .ui5-li-root.ui5-custom-li-root{padding-inline:1rem 0}
|
|
558
|
-
`;var N5=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Om;let Ou=Om=class extends N_{constructor(){super(...arguments),this.movable=!1}get isCustomListItem(){return!0}_onkeydown(e){(this.matches(":focus")||Qe(e)||pt(e)||ll(e)||w1(e)||Ne(e)||Be(e))&&super._onkeydown(e)}_onkeyup(e){(this.matches(":focus")||Qe(e)||pt(e)||ll(e)||w1(e)||Ne(e)||Be(e))&&super._onkeyup(e)}get _accessibleNameRef(){return`${this._id}-invisibleText`}_onfocusin(e){super._onfocusin(e),!this._isDragging()&&!this.accessibleName&&this._updateInvisibleTextContent()}_onfocusout(e){super._onfocusout(e),!this._isDragging()&&!this.accessibleName&&this._clearInvisibleTextContent()}_isDragging(){return this.hasAttribute("data-moving")}_updateInvisibleTextContent(){const e=this._listItem;if(!e)return;const t=$8(this);L7(e,t)}_clearInvisibleTextContent(){const e=this._listItem;e&&L7(e,"")}_getDeleteButtonNodes(){var t;if(!this.modeDelete)return[];if(this.hasDeleteButtonSlot)return this.deleteButton;const e=(t=this.shadowRoot)==null?void 0:t.querySelector(`#${this._id}-deleteSelectionElement`);return e?[e]:[]}get classes(){const e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}get accessibilityInfo(){var a;const e=[],t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot:not([name])");if(t){const r=t.assignedNodes({flatten:!0});e.push(...r)}const i=this._getDeleteButtonNodes();return e.push(...i),{type:Om.i18nBundle.getText(cB),children:e}}};N5([d({type:Boolean})],Ou.prototype,"movable",void 0);N5([d()],Ou.prototype,"accessibleName",void 0);N5([V("@ui5/webcomponents")],Ou,"i18nBundle",void 0);Ou=Om=N5([T({tag:"ui5-li-custom",template:fU,renderer:A,styles:[N_.styles,yU]})],Ou);Ou.define();const CU=Zr("isCustomListItem");var Ct=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},ca;const wU=250,SU=10,N7={Menu:"menuitem",Tree:"treeitem",ListBox:"option"};let at=ca=class extends z{constructor(){super(),this.indent=!1,this.selectionMode="None",this.separators="All",this.growing="None",this.loading=!1,this.loadingDelay=1e3,this.stickyHeader=!1,this.accessibilityAttributes={},this.accessibleRole="List",this._inViewport=!1,this._loadMoreActive=!1,this.mediaRange="S",this._startMarkerOutOfView=!1,this._previouslyFocusedItem=null,this._forwardingFocus=!1,this._itemNavigation=new Qn(this,{skipItemsSize:SU,navigationMode:va.Vertical,getItemsCallback:()=>this.getEnabledItems()}),this.handleResizeCallback=this._handleResize.bind(this),this._groupCount=0,this._groupItemCount=0,this.onItemFocusedBound=this.onItemFocused.bind(this),this.onForwardAfterBound=this.onForwardAfter.bind(this),this.onForwardBeforeBound=this.onForwardBefore.bind(this),this.onItemTabIndexChangeBound=this.onItemTabIndexChange.bind(this),this._dragAndDropHandler=new N8(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,useOriginalEvent:!0})}get listItems(){return this.getItems()}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=m_(this),this._associatedLabelsRefTexts=dd(this)}onEnterDOM(){b5(this,this._updateAssociatedLabelsTexts.bind(this)),Q.register(this.getDomRef(),this.handleResizeCallback)}onExitDOM(){x5(this),this.unobserveListEnd(),this.unobserveListStart(),Q.deregister(this.getDomRef(),this.handleResizeCallback)}onBeforeRendering(){this.detachGroupHeaderEvents(),this.prepareListItems()}onAfterRendering(){this.attachGroupHeaderEvents(),this.growsOnScroll?(this.observeListEnd(),this.observeListStart()):(this.unobserveListEnd(),this.unobserveListStart()),this.grows&&this.checkListInViewport()}attachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.addEventListener("ui5-_focused",this.onItemFocusedBound),e.addEventListener("ui5-forward-after",this.onForwardAfterBound),e.addEventListener("ui5-forward-before",this.onForwardBeforeBound))})}detachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.removeEventListener("ui5-_focused",this.onItemFocusedBound),e.removeEventListener("ui5-forward-after",this.onForwardAfterBound),e.removeEventListener("ui5-forward-before",this.onForwardBeforeBound))})}getFocusDomRef(){return this._itemNavigation._getCurrentItem()}get shouldRenderH1(){return!this.header.length&&this.headerText}get headerID(){return`${this._id}-header`}get modeLabelID(){return`${this._id}-modeLabel`}get listEndDOM(){return this.shadowRoot.querySelector(".ui5-list-end-marker")}get listStartDOM(){return this.shadowRoot.querySelector(".ui5-list-start-marker")}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}get hasData(){return this.getItems().length!==0}get showBusyIndicatorOverlay(){return!this.growsWithButton&&this.loading}get showNoDataText(){return!this.hasData&&this.noDataText}get isDelete(){return this.selectionMode===Mt.Delete}get isSingleSelect(){return[Mt.Single,Mt.SingleStart,Mt.SingleEnd,Mt.SingleAuto].includes(this.selectionMode)}get isMultiple(){return this.selectionMode===Mt.Multiple}get ariaLabelledBy(){if(this.accessibleNameRef||this.accessibleName)return;const e=[];return(this.isMultiple||this.isSingleSelect||this.isDelete)&&e.push(this.modeLabelID),this.shouldRenderH1&&e.push(this.headerID),e.length?e.join(" "):void 0}get ariaLabelTxt(){return this._associatedLabelsRefTexts||Lo(this)}get ariaDescriptionText(){const e=[];this.accessibleRole===zg.List&&this._hasInteractiveItems&&e.push(this.defaultAriaDescriptionText);const t=this._associatedDescriptionRefTexts||tc(this);t&&e.push(t);const i=this._getDescriptionForGroups();return i&&e.push(i),e.join(" ")}get defaultAriaDescriptionText(){return ca.i18nBundle.getText(LI)}get _hasInteractiveItems(){return this.selectionMode===Mt.Delete?!0:this.getItems().some(e=>e.getAttribute("type")==="Detail"?!0:CU(e)?e._hasFocusableElements():!1)}get growingButtonAriaLabel(){var e;return(e=this.accessibilityAttributes.growingButton)==null?void 0:e.name}get growingButtonAriaLabelledBy(){var e;return(e=this.accessibilityAttributes.growingButton)!=null&&e.name?void 0:`${this._id}-growingButton-text`}get growingButtonAriaDescribedBy(){var e;return(e=this.accessibilityAttributes.growingButton)!=null&&e.description?`${this._id}-growingButton-description`:void 0}hasGrowingComponent(){return this.growsOnScroll?this._startMarkerOutOfView:this.growsWithButton}_getDescriptionForGroups(){let e="";return this._groupCount>0&&(this.accessibleRole===zg.List?e=ca.i18nBundle.getText(MI,this._groupCount,this._groupItemCount):this.accessibleRole===zg.ListBox&&(e=ca.i18nBundle.getText(OI,this._groupCount))),e}get ariaLabelModeText(){if(this.hasData){if(this.isMultiple)return ca.i18nBundle.getText(HI);if(this.isSingleSelect)return ca.i18nBundle.getText($I);if(this.isDelete)return ca.i18nBundle.getText(XI)}return""}get grows(){return this.growing!==Fg.None}get growsOnScroll(){return this.growing===Fg.Scroll}get growsWithButton(){return this.growing===Fg.Button}get _growingButtonText(){return this.growingButtonText||ca.i18nBundle.getText(sB)}get listAccessibleRole(){return ul(this.accessibleRole)}get noDataItemRole(){return N7[this.accessibleRole]||"listitem"}get classes(){return{root:{"ui5-list-root":!0}}}prepareListItems(){const e=this.getItemsForProcessing(),t=N7[this.accessibleRole];e.forEach((i,a)=>{const r=a===e.length-1,n=this.separators===R7.All||this.separators===R7.Inner&&!r;i.hasConfigurableMode&&(i._selectionMode=this.selectionMode,i._inheritedAccessibleRole=t),i.hasBorder=n,i.mediaRange=this.mediaRange})}async observeListEnd(){await He(),this.getEndIntersectionObserver().observe(this.listEndDOM)}unobserveListEnd(){this._endIntersectionObserver&&(this._endIntersectionObserver.disconnect(),this._endIntersectionObserver=null)}async observeListStart(){await He(),this.getStartIntersectionObserver().observe(this.listStartDOM)}unobserveListStart(){this._startIntersectionObserver&&(this._startIntersectionObserver.disconnect(),this._startIntersectionObserver=null)}onEndIntersection(e){e.forEach(t=>{t.isIntersecting&&M8(this.loadMore.bind(this),wU)})}onStartIntersection(e){e.forEach(t=>{this._startMarkerOutOfView=!t.isIntersecting})}onSelectionRequested(e){const t=this.getSelectedItems();let i=!1;if(this.selectionMode!==Mt.None&&this[`handle${this.selectionMode}`]&&(i=this[`handle${this.selectionMode}`](e.detail.item,!!e.detail.selected)),i){if(!this.fireDecoratorEvent("selection-change",{selectedItems:this.getSelectedItems(),previouslySelectedItems:t,selectionComponentPressed:e.detail.selectionComponentPressed,targetItem:e.detail.item,key:e.detail.key}))this._revertSelection(t);else if(this.selectionMode!==Mt.Delete){const n=e.detail.item.selected?ca.i18nBundle.getText(Dh):ca.i18nBundle.getText(a3);Us(n,"Polite")}}}handleSingle(e){return e.selected?!1:(this.deselectSelectedItems(),e.selected=!0,!0)}handleSingleStart(e){return this.handleSingle(e)}handleSingleEnd(e){return this.handleSingle(e)}handleSingleAuto(e){return this.handleSingle(e)}handleMultiple(e,t){return e.selected=t,!0}handleDelete(e){return this.fireDecoratorEvent("item-delete",{item:e}),!0}deselectSelectedItems(){this.getSelectedItems().forEach(e=>{e.selected=!1})}getSelectedItems(){return this.getItems().filter(e=>e.selected)}getEnabledItems(){return this.getItems().filter(e=>e._focusable)}getItems(){const e=[],t=this.getSlottedNodes("items");let i=0,a=0;return t.forEach(r=>{if(YX(r)){const n=[r.groupHeaderItem,...r.items.filter(s=>s.assignedSlot)].filter(Boolean);e.push(...n),i++,a+=n.length-1}else kU(r)?r.assignedSlot&&e.push(...r.listItems):r.assignedSlot&&e.push(r)}),this._groupCount=i,this._groupItemCount=a,e}getItemsForProcessing(){return this.getItems()}_revertSelection(e){this.getItems().forEach(t=>{const i=e.indexOf(t)!==-1,a=t.shadowRoot.querySelector(".ui5-li-multisel-cb"),r=t.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");t.selected=i,a?a.checked=i:r&&(r.checked=i)})}_onkeydown(e){if(Ot(e)){this._handleEnd(),e.preventDefault();return}if(lt(e)){this._handleHome();return}const t=Ne(e)||Be(e),i=this._getClosestListItem(e.target);if(i!=null&&i._isFocusOnInternalElement()&&t){const a=Ne(e)?-1:1;if(this._navigateToAdjacentItem(i,a)){e.preventDefault();return}}if(Be(e)){this._handleDown(e);return}if(uT(e)){this._moveItem(e.target,e);return}Qe(e)&&this._handleTabNext(e),w1(e)&&this._handleF7(e)}_handleF7(e){const t=this._getClosestListItem(e.target);if(!t||!t._hasFocusableElements())return;const i=t.getFocusDomRef(),a=$r();e.preventDefault(),e.stopPropagation(),a===i?(t._editMode=!0,t._focusInternalElement(this._lastFocusedElementIndex??0),this._lastFocusedElementIndex=t._getFocusedElementIndex()):(this._lastFocusedElementIndex=t._getFocusedElementIndex(),t._editMode=!1,i.focus())}_getClosestListItem(e){return e.closest("[ui5-li], [ui5-li-custom]")}_moveItem(e,t){if(!e||!e.movable)return;const i=$X(this.items,e,t);if(!i.length)return;t.preventDefault();const a=i.find(({element:r,placement:n})=>!this.fireDecoratorEvent("move-over",{originalEvent:t,source:{element:e},destination:{element:r,placement:n}}));a&&(this.fireDecoratorEvent("move",{originalEvent:t,source:{element:e},destination:{element:a.element,placement:a.placement}}),e.focus())}_onLoadMoreKeydown(e){if(K(e)&&(e.preventDefault(),this._loadMoreActive=!0),ie(e)&&(this._onLoadMoreClick(),this._loadMoreActive=!0),Qe(e)&&this.focusAfterElement(),Ne(e)){this._handleLodeMoreUp(e);return}pt(e)&&(this.getPreviouslyFocusedItem()?this.focusPreviouslyFocusedItem():this.focusFirstItem(),e.preventDefault())}_onLoadMoreKeyup(e){K(e)&&this._onLoadMoreClick(),this._loadMoreActive=!1}_onLoadMoreMousedown(){this._loadMoreActive=!0}_onLoadMoreMouseup(){this._loadMoreActive=!1}_onLoadMoreClick(){this.loadMore()}_handleLodeMoreUp(e){if(this.getGrowingButton()===e.target){const i=this.getItems(),a=i[i.length-1];this.focusItem(a),e.preventDefault(),e.stopImmediatePropagation()}}checkListInViewport(){this._inViewport=XX(this.getDomRef())}loadMore(){this.hasGrowingComponent()&&this.fireDecoratorEvent("load-more")}_handleResize(){this.checkListInViewport();const e=this.getBoundingClientRect().width;this.mediaRange=Nu.getCurrentRange(Nu.RANGESETS.RANGE_4STEPS,e)}_handleTabNext(e){D7(e.target)}_handleHome(){this.growsWithButton&&this.focusFirstItem()}_handleEnd(){this.growsWithButton&&this._shouldFocusGrowingButton()&&this.focusGrowingButton()}_handleDown(e){this._shouldFocusGrowingButton()&&(this.focusGrowingButton(),e.preventDefault())}_navigateToAdjacentItem(e,t){const i=e==null?void 0:e._getFocusedElementIndex();if(i===void 0||i===-1)return!1;const a=this.getItems().filter(u=>"hasConfigurableMode"in u&&u.hasConfigurableMode&&u._hasFocusableElements()),r=a.indexOf(e)+t,n=a[r];if(!n)return!1;n._editMode=e._editMode;const s=n._focusInternalElement(i);return s!==void 0&&(this._lastFocusedElementIndex=s),!0}_onfocusin(e){const t=D7(e.target);if(this.isForwardElement(t)){if(!this.getPreviouslyFocusedItem()){this.growsWithButton&&this.isForwardAfterElement(t)?this.focusGrowingButton():this.focusFirstItem(),e.stopImmediatePropagation();return}if(!this.getForwardingFocus()){if(this.growsWithButton&&this.isForwardAfterElement(t)){this.focusGrowingButton(),e.stopImmediatePropagation();return}this.focusPreviouslyFocusedItem()}e.stopImmediatePropagation(),this.setForwardingFocus(!1)}}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}isForwardElement(e){const t=e.id,i=this.getBeforeElement();return this._id===t||i&&i.id===t?!0:this.isForwardAfterElement(e)}isForwardAfterElement(e){const t=e.id,i=this.getAfterElement();return i&&i.id===t}onItemTabIndexChange(e){e.stopPropagation();const t=e.target;this._itemNavigation.setCurrentItem(t)}onItemFocused(e){const t=e.target;if(e.stopPropagation(),this._itemNavigation.setCurrentItem(t),this.fireDecoratorEvent("item-focused",{item:t}),this.selectionMode===Mt.SingleAuto&&!t.isInactiveSelectable){const i={item:t,selectionComponentPressed:!1,selected:!0,key:e.detail.key};this.onSelectionRequested({detail:i})}}onItemPress(e){const t=e.detail.item;if(!(!t.isInactiveSelectable&&!this.fireDecoratorEvent("item-click",{item:t}))&&this.selectionMode!==Mt.Delete){const a={item:t,selectionComponentPressed:!1,selected:!t.selected,key:e.detail.key};this.onSelectionRequested({detail:a})}}onItemClose(e){var a;const t=e.target;((t==null?void 0:t.hasAttribute("ui5-li-notification"))||(t==null?void 0:t.hasAttribute("ui5-li-notification-group")))&&this.fireDecoratorEvent("item-close",{item:(a=e.detail)==null?void 0:a.item})}onItemToggle(e){var i,a;if(!((i=e.target)!=null&&i.isListItemBase))return;const t=(a=e.detail)==null?void 0:a.item;t&&this.fireDecoratorEvent("item-toggle",{item:t})}onForwardBefore(e){const t=e.target;if(t.hasConfigurableMode&&t._editMode){const i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),a=i.indexOf(t),r=a>0?i[a-1]:void 0;if(r){r._editMode=!0;const n=r._getFocusableElements();r._focusInternalElement(n.length-1),this._lastFocusedElementIndex=n.length-1,this.setPreviouslyFocusedItem(r),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.focusBeforeElement(),e.stopPropagation()}onForwardAfter(e){const t=e.target;if(t.hasConfigurableMode&&t._editMode){const i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),a=i.indexOf(t),r=a>=0&&a<i.length-1?i[a+1]:void 0;if(r){r._editMode=!0,r._focusInternalElement(0),this._lastFocusedElementIndex=0,this.setPreviouslyFocusedItem(r),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.growsWithButton?(this.focusGrowingButton(),e.preventDefault()):this.focusAfterElement(),e.stopPropagation()}focusBeforeElement(){this.setForwardingFocus(!0),this.getBeforeElement().focus()}focusAfterElement(){this.setForwardingFocus(!0),this.getAfterElement().focus()}focusGrowingButton(){const e=this.getGrowingButton();e&&e.focus()}_shouldFocusGrowingButton(){if(!this.growsWithButton)return!1;const t=this.getItems().length-1,i=this._itemNavigation._currentIndex;return i!==-1&&i===t}getGrowingButton(){return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`)}focusFirstItem(){const e=this.getFirstItem(t=>t._focusable);e&&e.focus()}focusPreviouslyFocusedItem(){const e=this.getPreviouslyFocusedItem();e&&e.focus()}focusFirstSelectedItem(){const e=this.getFirstItem(t=>t.selected&&t._focusable);e&&e.focus()}focusItem(e){this._itemNavigation.setCurrentItem(e),e.focus()}onFocusRequested(e){setTimeout(()=>{this.setPreviouslyFocusedItem(e.target),this.focusPreviouslyFocusedItem()},0)}setForwardingFocus(e){this._forwardingFocus=e}getForwardingFocus(){return this._forwardingFocus}setPreviouslyFocusedItem(e){this._previouslyFocusedItem=e}getPreviouslyFocusedItem(){return this._previouslyFocusedItem}getFirstItem(e){const t=this.getItems();let i=null;if(!e)return t.length?t[0]:null;for(let a=0;a<t.length;a++)if(e(t[a])){i=t[a];break}return i}getAfterElement(){return this._afterElement||(this._afterElement=this.shadowRoot.querySelector(`[id="${this._id}-after"]`)),this._afterElement}getBeforeElement(){return this._beforeElement||(this._beforeElement=this.shadowRoot.querySelector(`[id="${this._id}-before"]`)),this._beforeElement}getEndIntersectionObserver(){return this._endIntersectionObserver||(this._endIntersectionObserver=new IntersectionObserver(this.onEndIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._endIntersectionObserver}getStartIntersectionObserver(){return this._startIntersectionObserver||(this._startIntersectionObserver=new IntersectionObserver(this.onStartIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._startIntersectionObserver}};Ct([d()],at.prototype,"headerText",void 0);Ct([d()],at.prototype,"footerText",void 0);Ct([d({type:Boolean})],at.prototype,"indent",void 0);Ct([d()],at.prototype,"selectionMode",void 0);Ct([d()],at.prototype,"noDataText",void 0);Ct([d()],at.prototype,"separators",void 0);Ct([d()],at.prototype,"growing",void 0);Ct([d()],at.prototype,"growingButtonText",void 0);Ct([d({type:Boolean})],at.prototype,"loading",void 0);Ct([d({type:Number})],at.prototype,"loadingDelay",void 0);Ct([d({type:Boolean})],at.prototype,"stickyHeader",void 0);Ct([d()],at.prototype,"accessibleName",void 0);Ct([d({type:Object})],at.prototype,"accessibilityAttributes",void 0);Ct([d()],at.prototype,"accessibleNameRef",void 0);Ct([d()],at.prototype,"accessibleDescription",void 0);Ct([d()],at.prototype,"accessibleDescriptionRef",void 0);Ct([d({noAttribute:!0})],at.prototype,"_associatedDescriptionRefTexts",void 0);Ct([d({noAttribute:!0})],at.prototype,"_associatedLabelsRefTexts",void 0);Ct([d()],at.prototype,"accessibleRole",void 0);Ct([d({type:Boolean})],at.prototype,"_inViewport",void 0);Ct([d({type:Boolean})],at.prototype,"_loadMoreActive",void 0);Ct([d()],at.prototype,"mediaRange",void 0);Ct([D({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],at.prototype,"items",void 0);Ct([D()],at.prototype,"header",void 0);Ct([V("@ui5/webcomponents")],at,"i18nBundle",void 0);at=ca=Ct([T({tag:"ui5-list",fastNavigation:!0,renderer:A,template:VX,styles:[WX]}),x("item-click",{bubbles:!0,cancelable:!0}),x("item-close",{bubbles:!0}),x("item-toggle",{bubbles:!0}),x("item-delete",{bubbles:!0}),x("selection-change",{bubbles:!0,cancelable:!0}),x("load-more",{bubbles:!0}),x("item-focused",{bubbles:!0}),x("move-over",{bubbles:!0,cancelable:!0}),x("move",{bubbles:!0})],at);at.define();const kU=o=>"hasListItems"in o&&o.hasListItems,M5=at,TU={imageBegin:DU,iconBegin:RU,iconEnd:PU,listItemContent:BU};function IU(o){const e={...TU,...o};return l2.call(this,e)}function BU(){return g(P,{children:[g("div",{class:"ui5-li-text-wrapper",children:[AU.call(this),EU.call(this),!this.typeActive&&!this.isInactiveSelectable&&l("span",{class:"ui5-hidden-text",children:this.type})]}),!this.description&&Fm.call(this)]})}function AU(){var o;return this.wrappingType===cl.Normal?(o=this.expandableTextTemplate)==null?void 0:o.call(this,{className:"ui5-li-title",text:this._textContent,maxCharacters:this._maxCharacters,part:"title"}):l("span",{part:"title",class:"ui5-li-title",children:this.text?this.text:l("slot",{})})}function EU(){var o;return this.description?this.wrappingType===cl.Normal?g("div",{class:"ui5-li-description-info-wrapper",children:[(o=this.expandableTextTemplate)==null?void 0:o.call(this,{className:"ui5-li-desc",text:this.description,maxCharacters:this._maxCharacters,part:"description"}),Fm.call(this)]}):g("div",{class:"ui5-li-description-info-wrapper",children:[l("span",{part:"description",class:"ui5-li-desc",children:this.description}),Fm.call(this)]}):null}function Fm(){return this.additionalText?l("span",{part:"additional-text",class:"ui5-li-additional-text",children:this.additionalText}):null}function DU(){if(this.hasImage)return l("div",{class:"ui5-li-image",children:l("slot",{name:"image"})})}function RU(){if(this.displayIconBegin)return l(R,{part:"icon",name:this.icon,class:"ui5-li-icon",mode:"Decorative"})}function PU(){if(this.displayIconEnd)return l(R,{part:"icon",name:this.icon,class:"ui5-li-icon",mode:"Decorative"})}var Qi=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Up;const LU=100,NU=300;let Fo=Up=class extends N_{constructor(){super(...arguments),this.iconEnd=!1,this.additionalTextState="None",this.movable=!1,this.wrappingType="None",this.hasTitle=!1,this._hasImage=!1}onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!(this.text||this.textContent),this._hasImage=this.hasImage,this.wrappingType==="Normal"&&(Up.ExpandableTextTemplate?this.expandableTextTemplate=Up.ExpandableTextTemplate:v(()=>import("./ListItemStandardExpandableTextTemplate-OidrwM_d.js"),[]).then(e=>{this.expandableTextTemplate=e.default}))}get _textContent(){return this.text||this.textContent||""}get _maxCharacters(){return this.mediaRange==="S"?LU:NU}get displayIconBegin(){return!!(this.icon&&!this.iconEnd)}get displayIconEnd(){return!!(this.icon&&this.iconEnd)}get hasImage(){return!!this.image.length}};Qi([d()],Fo.prototype,"text",void 0);Qi([d()],Fo.prototype,"description",void 0);Qi([d()],Fo.prototype,"icon",void 0);Qi([d({type:Boolean})],Fo.prototype,"iconEnd",void 0);Qi([d()],Fo.prototype,"additionalText",void 0);Qi([d()],Fo.prototype,"additionalTextState",void 0);Qi([d({type:Boolean})],Fo.prototype,"movable",void 0);Qi([d()],Fo.prototype,"accessibleName",void 0);Qi([d()],Fo.prototype,"wrappingType",void 0);Qi([d({type:Boolean})],Fo.prototype,"hasTitle",void 0);Qi([d({type:Boolean})],Fo.prototype,"_hasImage",void 0);Qi([d({noAttribute:!0})],Fo.prototype,"expandableTextTemplate",void 0);Qi([D({type:Node,default:!0})],Fo.prototype,"content",void 0);Qi([D()],Fo.prototype,"image",void 0);Fo=Up=Qi([T({tag:"ui5-li",renderer:A,template:IU})],Fo);Fo.define();const MU=Fo;function OU(){return g(Rl,{"tokenizer-popover":"true",open:this.open,opener:this.morePopoverOpener,style:{"min-width":this.popoverMinWidth?`${this.popoverMinWidth}px`:`${this.getBoundingClientRect().width}px`},contentOnlyOnDesktop:!0,preventFocusRestore:!0,hideArrow:this.hidePopoverArrow,placement:"Bottom",horizontalAlign:"Start",onClose:this.handleAfterClose,onBeforeClose:this.handleBeforeClose,onBeforeOpen:this.handleBeforeOpen,children:[this._isPhone&&l("div",{slot:"header",class:"ui5-responsive-popover-header",children:l("div",{class:"row",children:l(S_,{level:"H1",wrappingType:"None",class:"ui5-responsive-popover-header-text",children:this.morePopoverTitle})})}),l(M5,{class:"ui5-tokenizer-list",selectionMode:this._nMoreListMode,separators:"None",onKeyDown:this._onPopoverListKeydown,onItemDelete:this.itemDelete,children:this._tokens.map(o=>l(MU,{"data-ui5-token-ref-id":o._id,wrappingType:"Normal",text:o.text},String(o._id)))}),this._isPhone&&g("div",{slot:"footer",class:"ui5-responsive-popover-footer",children:[l(Ft,{design:"Emphasized","data-ui5-tokenizer-dialog-ok-button":!0,onClick:this.handleDialogButtonPress,children:this._okButtonText}),l(Ft,{design:"Transparent",class:"ui5-responsive-popover-close-btn",onClick:this.handleDialogButtonPress,children:this._cancelButtonText})]})]})}function FU(){return g(P,{children:[g("div",{class:"ui5-tokenizer-root",children:[g("div",{class:"ui5-tokenizer--content",onClick:this._click,onMouseDown:this._onmousedown,onKeyDown:this._onkeydown,onFocusOut:this._onfocusout,onFocusIn:this._onfocusin,"onui5-delete":this._delete,"onui5-select":this.onTokenSelect,children:[l("div",{class:"ui5-tokenizer--list",role:"listbox","aria-label":this.tokenizerLabel,"aria-description":this.tokenizerAriaDescription,"aria-disabled":this._ariaDisabled,"aria-readonly":this._ariaReadonly,children:this.tokens.map(o=>l("slot",{name:o._individualSlot}))}),this.showEffectiveClearAll&&l("span",{role:"button",class:"ui5-tokenizer--clear-all",onClick:this.handleClearAll,children:this._clearAllText})]}),this.showNMore&&l("span",{role:"button","aria-haspopup":"dialog",class:"ui5-tokenizer-more-text",part:"n-more-text",onClick:this._handleNMoreClick,children:this._nMoreText})]}),OU.call(this)]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const zU=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{display:inline-block;box-sizing:border-box;border:none;height:2.25rem}:host([multi-line]){height:auto}:host([multi-line]) .ui5-tokenizer--content{display:flex;align-content:baseline;flex-wrap:wrap;padding:.25rem;box-sizing:border-box;gap:var(--_ui5_tokenizer_gap);overflow-y:auto;overflow-x:hidden}:host([multi-line])::slotted([ui5-token]){margin:0;white-space:nowrap;text-overflow:ellipsis;max-width:100%}:host([disabled]){opacity:40%;pointer-events:none}:host(:not([expanded])) .ui5-tokenizer-root{overflow:hidden}:host([_tokens-count="0"]) .ui5-tokenizer-root{padding:0}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;box-sizing:border-box;touch-action:none;font-family:var(--sapFontFamily)}.ui5-tokenizer--token--wrapper{display:inline-flex;align-items:center;box-sizing:border-box;height:100%}:host([expanded]) .ui5-tokenizer--content{display:inline-flex;white-space:nowrap;overflow:hidden}.ui5-tokenizer--content{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;padding-inline-start:var(--_ui5_tokenizer_padding);height:100%;box-sizing:border-box}.ui5-tokenizer--list{display:contents}:host([_tokens-count="1"]) .ui5-tokenizer--content{padding-inline-end:4px;box-sizing:border-box;max-width:100%;flex:1}.ui5-tokenizer-more-text{display:inline-block;margin-inline-start:var(--_ui5_token_right_margin);cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5_tokenizer_n_more_text_color)}.ui5-tokenizer-more-text:hover{text-decoration:underline}.ui5-tokenizer-more-text:active{text-decoration:none}.ui5-tokenizer--clear-all{color:var(--sapLinkColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);cursor:pointer;outline:none}.ui5-tokenizer--clear-all:hover{color:var(--sapLink_Hover_Color);text-decoration:var(--_ui5_link_hover_text_decoration)}.ui5-tokenizer--clear-all:active{color:var(--sapLink_Active_Color);text-decoration:var(--_ui5_link_active_text_decoration)}
|
|
558
|
+
`;var N5=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Om;let Ou=Om=class extends N_{constructor(){super(...arguments),this.movable=!1}get isCustomListItem(){return!0}_onkeydown(e){(this.matches(":focus")||Qe(e)||pt(e)||ll(e)||w1(e)||Ne(e)||Be(e))&&super._onkeydown(e)}_onkeyup(e){(this.matches(":focus")||Qe(e)||pt(e)||ll(e)||w1(e)||Ne(e)||Be(e))&&super._onkeyup(e)}get _accessibleNameRef(){return`${this._id}-invisibleText`}_onfocusin(e){super._onfocusin(e),!this._isDragging()&&!this.accessibleName&&this._updateInvisibleTextContent()}_onfocusout(e){super._onfocusout(e),!this._isDragging()&&!this.accessibleName&&this._clearInvisibleTextContent()}_isDragging(){return this.hasAttribute("data-moving")}_updateInvisibleTextContent(){const e=this._listItem;if(!e)return;const t=$8(this);L7(e,t)}_clearInvisibleTextContent(){const e=this._listItem;e&&L7(e,"")}_getDeleteButtonNodes(){var t;if(!this.modeDelete)return[];if(this.hasDeleteButtonSlot)return this.deleteButton;const e=(t=this.shadowRoot)==null?void 0:t.querySelector(`#${this._id}-deleteSelectionElement`);return e?[e]:[]}get classes(){const e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}get accessibilityInfo(){var a;const e=[],t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot:not([name])");if(t){const r=t.assignedNodes({flatten:!0});e.push(...r)}const i=this._getDeleteButtonNodes();return e.push(...i),{type:Om.i18nBundle.getText(cB),children:e}}};N5([d({type:Boolean})],Ou.prototype,"movable",void 0);N5([d()],Ou.prototype,"accessibleName",void 0);N5([V("@ui5/webcomponents")],Ou,"i18nBundle",void 0);Ou=Om=N5([T({tag:"ui5-li-custom",template:fU,renderer:A,styles:[N_.styles,yU]})],Ou);Ou.define();const CU=Zr("isCustomListItem");var Ct=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},ca;const wU=250,SU=10,N7={Menu:"menuitem",Tree:"treeitem",ListBox:"option"};let at=ca=class extends z{constructor(){super(),this.indent=!1,this.selectionMode="None",this.separators="All",this.growing="None",this.loading=!1,this.loadingDelay=1e3,this.stickyHeader=!1,this.accessibilityAttributes={},this.accessibleRole="List",this._inViewport=!1,this._loadMoreActive=!1,this.mediaRange="S",this._startMarkerOutOfView=!1,this._previouslyFocusedItem=null,this._forwardingFocus=!1,this._itemNavigation=new Qn(this,{skipItemsSize:SU,navigationMode:va.Vertical,getItemsCallback:()=>this.getEnabledItems()}),this.handleResizeCallback=this._handleResize.bind(this),this._groupCount=0,this._groupItemCount=0,this.onItemFocusedBound=this.onItemFocused.bind(this),this.onForwardAfterBound=this.onForwardAfter.bind(this),this.onForwardBeforeBound=this.onForwardBefore.bind(this),this.onItemTabIndexChangeBound=this.onItemTabIndexChange.bind(this),this._dragAndDropHandler=new N8(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,useOriginalEvent:!0})}get listItems(){return this.getItems()}_updateAssociatedLabelsTexts(){this._associatedDescriptionRefTexts=m_(this),this._associatedLabelsRefTexts=dd(this)}onEnterDOM(){b5(this,this._updateAssociatedLabelsTexts.bind(this)),Q.register(this.getDomRef(),this.handleResizeCallback)}onExitDOM(){x5(this),this.unobserveListEnd(),this.unobserveListStart(),Q.deregister(this.getDomRef(),this.handleResizeCallback)}onBeforeRendering(){this.detachGroupHeaderEvents(),this.prepareListItems()}onAfterRendering(){this.attachGroupHeaderEvents(),this.growsOnScroll?(this.observeListEnd(),this.observeListStart()):(this.unobserveListEnd(),this.unobserveListStart()),this.grows&&this.checkListInViewport()}attachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.addEventListener("ui5-_focused",this.onItemFocusedBound),e.addEventListener("ui5-forward-after",this.onForwardAfterBound),e.addEventListener("ui5-forward-before",this.onForwardBeforeBound))})}detachGroupHeaderEvents(){this.getItems().forEach(e=>{e.hasAttribute("ui5-li-group-header")&&(e.removeEventListener("ui5-_focused",this.onItemFocusedBound),e.removeEventListener("ui5-forward-after",this.onForwardAfterBound),e.removeEventListener("ui5-forward-before",this.onForwardBeforeBound))})}getFocusDomRef(){return this._itemNavigation._getCurrentItem()}get shouldRenderH1(){return!this.header.length&&this.headerText}get headerID(){return`${this._id}-header`}get modeLabelID(){return`${this._id}-modeLabel`}get listEndDOM(){return this.shadowRoot.querySelector(".ui5-list-end-marker")}get listStartDOM(){return this.shadowRoot.querySelector(".ui5-list-start-marker")}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}get hasData(){return this.getItems().length!==0}get showBusyIndicatorOverlay(){return!this.growsWithButton&&this.loading}get showNoDataText(){return!this.hasData&&this.noDataText}get isDelete(){return this.selectionMode===Mt.Delete}get isSingleSelect(){return[Mt.Single,Mt.SingleStart,Mt.SingleEnd,Mt.SingleAuto].includes(this.selectionMode)}get isMultiple(){return this.selectionMode===Mt.Multiple}get ariaLabelledBy(){if(this.accessibleNameRef||this.accessibleName)return;const e=[];return(this.isMultiple||this.isSingleSelect||this.isDelete)&&e.push(this.modeLabelID),this.shouldRenderH1&&e.push(this.headerID),e.length?e.join(" "):void 0}get ariaLabelTxt(){return this._associatedLabelsRefTexts||Lo(this)}get ariaDescriptionText(){const e=[];this.accessibleRole===zg.List&&this._hasInteractiveItems&&e.push(this.defaultAriaDescriptionText);const t=this._associatedDescriptionRefTexts||tc(this);t&&e.push(t);const i=this._getDescriptionForGroups();return i&&e.push(i),e.join(" ")}get defaultAriaDescriptionText(){return ca.i18nBundle.getText(LI)}get _hasInteractiveItems(){return this.selectionMode===Mt.Delete?!0:this.getItems().some(e=>e.getAttribute("type")==="Detail"?!0:CU(e)?e._hasFocusableElements():!1)}get growingButtonAriaLabel(){var e;return(e=this.accessibilityAttributes.growingButton)==null?void 0:e.name}get growingButtonAriaLabelledBy(){var e;return(e=this.accessibilityAttributes.growingButton)!=null&&e.name?void 0:`${this._id}-growingButton-text`}get growingButtonAriaDescribedBy(){var e;return(e=this.accessibilityAttributes.growingButton)!=null&&e.description?`${this._id}-growingButton-description`:void 0}hasGrowingComponent(){return this.growsOnScroll?this._startMarkerOutOfView:this.growsWithButton}_getDescriptionForGroups(){let e="";return this._groupCount>0&&(this.accessibleRole===zg.List?e=ca.i18nBundle.getText(MI,this._groupCount,this._groupItemCount):this.accessibleRole===zg.ListBox&&(e=ca.i18nBundle.getText(OI,this._groupCount))),e}get ariaLabelModeText(){if(this.hasData){if(this.isMultiple)return ca.i18nBundle.getText(HI);if(this.isSingleSelect)return ca.i18nBundle.getText($I);if(this.isDelete)return ca.i18nBundle.getText(XI)}return""}get grows(){return this.growing!==Fg.None}get growsOnScroll(){return this.growing===Fg.Scroll}get growsWithButton(){return this.growing===Fg.Button}get _growingButtonText(){return this.growingButtonText||ca.i18nBundle.getText(sB)}get listAccessibleRole(){return ul(this.accessibleRole)}get noDataItemRole(){return N7[this.accessibleRole]||"listitem"}get classes(){return{root:{"ui5-list-root":!0}}}prepareListItems(){const e=this.getItemsForProcessing(),t=N7[this.accessibleRole];e.forEach((i,a)=>{const r=a===e.length-1,n=this.separators===R7.All||this.separators===R7.Inner&&!r;i.hasConfigurableMode&&(i._selectionMode=this.selectionMode,i._inheritedAccessibleRole=t),i.hasBorder=n,i.mediaRange=this.mediaRange})}async observeListEnd(){await He(),this.getEndIntersectionObserver().observe(this.listEndDOM)}unobserveListEnd(){this._endIntersectionObserver&&(this._endIntersectionObserver.disconnect(),this._endIntersectionObserver=null)}async observeListStart(){await He(),this.getStartIntersectionObserver().observe(this.listStartDOM)}unobserveListStart(){this._startIntersectionObserver&&(this._startIntersectionObserver.disconnect(),this._startIntersectionObserver=null)}onEndIntersection(e){e.forEach(t=>{t.isIntersecting&&M8(this.loadMore.bind(this),wU)})}onStartIntersection(e){e.forEach(t=>{this._startMarkerOutOfView=!t.isIntersecting})}onSelectionRequested(e){const t=this.getSelectedItems();let i=!1;if(this.selectionMode!==Mt.None&&this[`handle${this.selectionMode}`]&&(i=this[`handle${this.selectionMode}`](e.detail.item,!!e.detail.selected)),i){if(!this.fireDecoratorEvent("selection-change",{selectedItems:this.getSelectedItems(),previouslySelectedItems:t,selectionComponentPressed:e.detail.selectionComponentPressed,targetItem:e.detail.item,key:e.detail.key}))this._revertSelection(t);else if(this.selectionMode!==Mt.Delete){const n=e.detail.item.selected?ca.i18nBundle.getText(Dh):ca.i18nBundle.getText(a3);Us(n,"Polite")}}}handleSingle(e){return e.selected?!1:(this.deselectSelectedItems(),e.selected=!0,!0)}handleSingleStart(e){return this.handleSingle(e)}handleSingleEnd(e){return this.handleSingle(e)}handleSingleAuto(e){return this.handleSingle(e)}handleMultiple(e,t){return e.selected=t,!0}handleDelete(e){return this.fireDecoratorEvent("item-delete",{item:e}),!0}deselectSelectedItems(){this.getSelectedItems().forEach(e=>{e.selected=!1})}getSelectedItems(){return this.getItems().filter(e=>e.selected)}getEnabledItems(){return this.getItems().filter(e=>e._focusable)}getItems(){const e=[],t=this.getSlottedNodes("items");let i=0,a=0;return t.forEach(r=>{if(YX(r)){const n=[r.groupHeaderItem,...r.items.filter(s=>s.assignedSlot)].filter(Boolean);e.push(...n),i++,a+=n.length-1}else kU(r)?r.assignedSlot&&e.push(...r.listItems):r.assignedSlot&&e.push(r)}),this._groupCount=i,this._groupItemCount=a,e}getItemsForProcessing(){return this.getItems()}_revertSelection(e){this.getItems().forEach(t=>{const i=e.indexOf(t)!==-1,a=t.shadowRoot.querySelector(".ui5-li-multisel-cb"),r=t.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");t.selected=i,a?a.checked=i:r&&(r.checked=i)})}_onkeydown(e){if(Ot(e)){this._handleEnd(),e.preventDefault();return}if(lt(e)){this._handleHome();return}const t=Ne(e)||Be(e),i=this._getClosestListItem(e.target);if(i!=null&&i._isFocusOnInternalElement()&&t){const a=Ne(e)?-1:1;if(this._navigateToAdjacentItem(i,a)){e.preventDefault();return}}if(Be(e)){this._handleDown(e);return}if(uT(e)){this._moveItem(e.target,e);return}Qe(e)&&this._handleTabNext(e),w1(e)&&this._handleF7(e)}_handleF7(e){const t=this._getClosestListItem(e.target);if(!t||!t._hasFocusableElements())return;const i=t.getFocusDomRef(),a=$r();e.preventDefault(),e.stopPropagation(),a===i?(t._editMode=!0,t._focusInternalElement(this._lastFocusedElementIndex??0),this._lastFocusedElementIndex=t._getFocusedElementIndex()):(this._lastFocusedElementIndex=t._getFocusedElementIndex(),t._editMode=!1,i.focus())}_getClosestListItem(e){return e.closest("[ui5-li], [ui5-li-custom]")}_moveItem(e,t){if(!e||!e.movable)return;const i=$X(this.items,e,t);if(!i.length)return;t.preventDefault();const a=i.find(({element:r,placement:n})=>!this.fireDecoratorEvent("move-over",{originalEvent:t,source:{element:e},destination:{element:r,placement:n}}));a&&(this.fireDecoratorEvent("move",{originalEvent:t,source:{element:e},destination:{element:a.element,placement:a.placement}}),e.focus())}_onLoadMoreKeydown(e){if(K(e)&&(e.preventDefault(),this._loadMoreActive=!0),ie(e)&&(this._onLoadMoreClick(),this._loadMoreActive=!0),Qe(e)&&this.focusAfterElement(),Ne(e)){this._handleLodeMoreUp(e);return}pt(e)&&(this.getPreviouslyFocusedItem()?this.focusPreviouslyFocusedItem():this.focusFirstItem(),e.preventDefault())}_onLoadMoreKeyup(e){K(e)&&this._onLoadMoreClick(),this._loadMoreActive=!1}_onLoadMoreMousedown(){this._loadMoreActive=!0}_onLoadMoreMouseup(){this._loadMoreActive=!1}_onLoadMoreClick(){this.loadMore()}_handleLodeMoreUp(e){if(this.getGrowingButton()===e.target){const i=this.getItems(),a=i[i.length-1];this.focusItem(a),e.preventDefault(),e.stopImmediatePropagation()}}checkListInViewport(){this._inViewport=XX(this.getDomRef())}loadMore(){this.hasGrowingComponent()&&this.fireDecoratorEvent("load-more")}_handleResize(){this.checkListInViewport();const e=this.getBoundingClientRect().width;this.mediaRange=Nu.getCurrentRange(Nu.RANGESETS.RANGE_4STEPS,e)}_handleTabNext(e){D7(e.target)}_handleHome(){this.growsWithButton&&this.focusFirstItem()}_handleEnd(){this.growsWithButton&&this._shouldFocusGrowingButton()&&this.focusGrowingButton()}_handleDown(e){this._shouldFocusGrowingButton()&&(this.focusGrowingButton(),e.preventDefault())}_navigateToAdjacentItem(e,t){const i=e==null?void 0:e._getFocusedElementIndex();if(i===void 0||i===-1)return!1;const a=this.getItems().filter(u=>"hasConfigurableMode"in u&&u.hasConfigurableMode&&u._hasFocusableElements()),r=a.indexOf(e)+t,n=a[r];if(!n)return!1;n._editMode=e._editMode;const s=n._focusInternalElement(i);return s!==void 0&&(this._lastFocusedElementIndex=s),!0}_onfocusin(e){const t=D7(e.target);if(this.isForwardElement(t)){if(!this.getPreviouslyFocusedItem()){this.growsWithButton&&this.isForwardAfterElement(t)?this.focusGrowingButton():this.focusFirstItem(),e.stopImmediatePropagation();return}if(!this.getForwardingFocus()){if(this.growsWithButton&&this.isForwardAfterElement(t)){this.focusGrowingButton(),e.stopImmediatePropagation();return}this.focusPreviouslyFocusedItem()}e.stopImmediatePropagation(),this.setForwardingFocus(!1)}}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}isForwardElement(e){const t=e.id,i=this.getBeforeElement();return this._id===t||i&&i.id===t?!0:this.isForwardAfterElement(e)}isForwardAfterElement(e){const t=e.id,i=this.getAfterElement();return i&&i.id===t}onItemTabIndexChange(e){e.stopPropagation();const t=e.target;this._itemNavigation.setCurrentItem(t)}onItemFocused(e){const t=e.target;if(e.stopPropagation(),this._itemNavigation.setCurrentItem(t),this.fireDecoratorEvent("item-focused",{item:t}),this.selectionMode===Mt.SingleAuto&&!t.isInactiveSelectable){const i={item:t,selectionComponentPressed:!1,selected:!0,key:e.detail.key};this.onSelectionRequested({detail:i})}}onItemPress(e){const t=e.detail.item;if(!(!t.isInactiveSelectable&&!this.fireDecoratorEvent("item-click",{item:t}))&&this.selectionMode!==Mt.Delete){const a={item:t,selectionComponentPressed:!1,selected:!t.selected,key:e.detail.key};this.onSelectionRequested({detail:a})}}onItemClose(e){var a;const t=e.target;((t==null?void 0:t.hasAttribute("ui5-li-notification"))||(t==null?void 0:t.hasAttribute("ui5-li-notification-group")))&&this.fireDecoratorEvent("item-close",{item:(a=e.detail)==null?void 0:a.item})}onItemToggle(e){var i,a;if(!((i=e.target)!=null&&i.isListItemBase))return;const t=(a=e.detail)==null?void 0:a.item;t&&this.fireDecoratorEvent("item-toggle",{item:t})}onForwardBefore(e){const t=e.target;if(t.hasConfigurableMode&&t._editMode){const i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),a=i.indexOf(t),r=a>0?i[a-1]:void 0;if(r){r._editMode=!0;const n=r._getFocusableElements();r._focusInternalElement(n.length-1),this._lastFocusedElementIndex=n.length-1,this.setPreviouslyFocusedItem(r),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.focusBeforeElement(),e.stopPropagation()}onForwardAfter(e){const t=e.target;if(t.hasConfigurableMode&&t._editMode){const i=this.getItems().filter(n=>"hasConfigurableMode"in n&&n.hasConfigurableMode&&n._hasFocusableElements()),a=i.indexOf(t),r=a>=0&&a<i.length-1?i[a+1]:void 0;if(r){r._editMode=!0,r._focusInternalElement(0),this._lastFocusedElementIndex=0,this.setPreviouslyFocusedItem(r),e.preventDefault(),e.stopPropagation();return}t._editMode=!1}this.setPreviouslyFocusedItem(t),this.growsWithButton?(this.focusGrowingButton(),e.preventDefault()):this.focusAfterElement(),e.stopPropagation()}focusBeforeElement(){this.setForwardingFocus(!0),this.getBeforeElement().focus()}focusAfterElement(){this.setForwardingFocus(!0),this.getAfterElement().focus()}focusGrowingButton(){const e=this.getGrowingButton();e&&e.focus()}_shouldFocusGrowingButton(){if(!this.growsWithButton)return!1;const t=this.getItems().length-1,i=this._itemNavigation._currentIndex;return i!==-1&&i===t}getGrowingButton(){return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`)}focusFirstItem(){const e=this.getFirstItem(t=>t._focusable);e&&e.focus()}focusPreviouslyFocusedItem(){const e=this.getPreviouslyFocusedItem();e&&e.focus()}focusFirstSelectedItem(){const e=this.getFirstItem(t=>t.selected&&t._focusable);e&&e.focus()}focusItem(e){this._itemNavigation.setCurrentItem(e),e.focus()}onFocusRequested(e){setTimeout(()=>{this.setPreviouslyFocusedItem(e.target),this.focusPreviouslyFocusedItem()},0)}setForwardingFocus(e){this._forwardingFocus=e}getForwardingFocus(){return this._forwardingFocus}setPreviouslyFocusedItem(e){this._previouslyFocusedItem=e}getPreviouslyFocusedItem(){return this._previouslyFocusedItem}getFirstItem(e){const t=this.getItems();let i=null;if(!e)return t.length?t[0]:null;for(let a=0;a<t.length;a++)if(e(t[a])){i=t[a];break}return i}getAfterElement(){return this._afterElement||(this._afterElement=this.shadowRoot.querySelector(`[id="${this._id}-after"]`)),this._afterElement}getBeforeElement(){return this._beforeElement||(this._beforeElement=this.shadowRoot.querySelector(`[id="${this._id}-before"]`)),this._beforeElement}getEndIntersectionObserver(){return this._endIntersectionObserver||(this._endIntersectionObserver=new IntersectionObserver(this.onEndIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._endIntersectionObserver}getStartIntersectionObserver(){return this._startIntersectionObserver||(this._startIntersectionObserver=new IntersectionObserver(this.onStartIntersection.bind(this),{root:null,rootMargin:"0px",threshold:1})),this._startIntersectionObserver}};Ct([d()],at.prototype,"headerText",void 0);Ct([d()],at.prototype,"footerText",void 0);Ct([d({type:Boolean})],at.prototype,"indent",void 0);Ct([d()],at.prototype,"selectionMode",void 0);Ct([d()],at.prototype,"noDataText",void 0);Ct([d()],at.prototype,"separators",void 0);Ct([d()],at.prototype,"growing",void 0);Ct([d()],at.prototype,"growingButtonText",void 0);Ct([d({type:Boolean})],at.prototype,"loading",void 0);Ct([d({type:Number})],at.prototype,"loadingDelay",void 0);Ct([d({type:Boolean})],at.prototype,"stickyHeader",void 0);Ct([d()],at.prototype,"accessibleName",void 0);Ct([d({type:Object})],at.prototype,"accessibilityAttributes",void 0);Ct([d()],at.prototype,"accessibleNameRef",void 0);Ct([d()],at.prototype,"accessibleDescription",void 0);Ct([d()],at.prototype,"accessibleDescriptionRef",void 0);Ct([d({noAttribute:!0})],at.prototype,"_associatedDescriptionRefTexts",void 0);Ct([d({noAttribute:!0})],at.prototype,"_associatedLabelsRefTexts",void 0);Ct([d()],at.prototype,"accessibleRole",void 0);Ct([d({type:Boolean})],at.prototype,"_inViewport",void 0);Ct([d({type:Boolean})],at.prototype,"_loadMoreActive",void 0);Ct([d()],at.prototype,"mediaRange",void 0);Ct([D({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],at.prototype,"items",void 0);Ct([D()],at.prototype,"header",void 0);Ct([V("@ui5/webcomponents")],at,"i18nBundle",void 0);at=ca=Ct([T({tag:"ui5-list",fastNavigation:!0,renderer:A,template:VX,styles:[WX]}),x("item-click",{bubbles:!0,cancelable:!0}),x("item-close",{bubbles:!0}),x("item-toggle",{bubbles:!0}),x("item-delete",{bubbles:!0}),x("selection-change",{bubbles:!0,cancelable:!0}),x("load-more",{bubbles:!0}),x("item-focused",{bubbles:!0}),x("move-over",{bubbles:!0,cancelable:!0}),x("move",{bubbles:!0})],at);at.define();const kU=o=>"hasListItems"in o&&o.hasListItems,M5=at,TU={imageBegin:DU,iconBegin:RU,iconEnd:PU,listItemContent:BU};function IU(o){const e={...TU,...o};return l2.call(this,e)}function BU(){return g(P,{children:[g("div",{class:"ui5-li-text-wrapper",children:[AU.call(this),EU.call(this),!this.typeActive&&!this.isInactiveSelectable&&l("span",{class:"ui5-hidden-text",children:this.type})]}),!this.description&&Fm.call(this)]})}function AU(){var o;return this.wrappingType===cl.Normal?(o=this.expandableTextTemplate)==null?void 0:o.call(this,{className:"ui5-li-title",text:this._textContent,maxCharacters:this._maxCharacters,part:"title"}):l("span",{part:"title",class:"ui5-li-title",children:this.text?this.text:l("slot",{})})}function EU(){var o;return this.description?this.wrappingType===cl.Normal?g("div",{class:"ui5-li-description-info-wrapper",children:[(o=this.expandableTextTemplate)==null?void 0:o.call(this,{className:"ui5-li-desc",text:this.description,maxCharacters:this._maxCharacters,part:"description"}),Fm.call(this)]}):g("div",{class:"ui5-li-description-info-wrapper",children:[l("span",{part:"description",class:"ui5-li-desc",children:this.description}),Fm.call(this)]}):null}function Fm(){return this.additionalText?l("span",{part:"additional-text",class:"ui5-li-additional-text",children:this.additionalText}):null}function DU(){if(this.hasImage)return l("div",{class:"ui5-li-image",children:l("slot",{name:"image"})})}function RU(){if(this.displayIconBegin)return l(R,{part:"icon",name:this.icon,class:"ui5-li-icon",mode:"Decorative"})}function PU(){if(this.displayIconEnd)return l(R,{part:"icon",name:this.icon,class:"ui5-li-icon",mode:"Decorative"})}var Qi=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Up;const LU=100,NU=300;let Fo=Up=class extends N_{constructor(){super(...arguments),this.iconEnd=!1,this.additionalTextState="None",this.movable=!1,this.wrappingType="None",this.hasTitle=!1,this._hasImage=!1}onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!(this.text||this.textContent),this._hasImage=this.hasImage,this.wrappingType==="Normal"&&(Up.ExpandableTextTemplate?this.expandableTextTemplate=Up.ExpandableTextTemplate:v(()=>import("./ListItemStandardExpandableTextTemplate-hSNo3Xyr.js"),[]).then(e=>{this.expandableTextTemplate=e.default}))}get _textContent(){return this.text||this.textContent||""}get _maxCharacters(){return this.mediaRange==="S"?LU:NU}get displayIconBegin(){return!!(this.icon&&!this.iconEnd)}get displayIconEnd(){return!!(this.icon&&this.iconEnd)}get hasImage(){return!!this.image.length}};Qi([d()],Fo.prototype,"text",void 0);Qi([d()],Fo.prototype,"description",void 0);Qi([d()],Fo.prototype,"icon",void 0);Qi([d({type:Boolean})],Fo.prototype,"iconEnd",void 0);Qi([d()],Fo.prototype,"additionalText",void 0);Qi([d()],Fo.prototype,"additionalTextState",void 0);Qi([d({type:Boolean})],Fo.prototype,"movable",void 0);Qi([d()],Fo.prototype,"accessibleName",void 0);Qi([d()],Fo.prototype,"wrappingType",void 0);Qi([d({type:Boolean})],Fo.prototype,"hasTitle",void 0);Qi([d({type:Boolean})],Fo.prototype,"_hasImage",void 0);Qi([d({noAttribute:!0})],Fo.prototype,"expandableTextTemplate",void 0);Qi([D({type:Node,default:!0})],Fo.prototype,"content",void 0);Qi([D()],Fo.prototype,"image",void 0);Fo=Up=Qi([T({tag:"ui5-li",renderer:A,template:IU})],Fo);Fo.define();const MU=Fo;function OU(){return g(Rl,{"tokenizer-popover":"true",open:this.open,opener:this.morePopoverOpener,style:{"min-width":this.popoverMinWidth?`${this.popoverMinWidth}px`:`${this.getBoundingClientRect().width}px`},contentOnlyOnDesktop:!0,preventFocusRestore:!0,hideArrow:this.hidePopoverArrow,placement:"Bottom",horizontalAlign:"Start",onClose:this.handleAfterClose,onBeforeClose:this.handleBeforeClose,onBeforeOpen:this.handleBeforeOpen,children:[this._isPhone&&l("div",{slot:"header",class:"ui5-responsive-popover-header",children:l("div",{class:"row",children:l(S_,{level:"H1",wrappingType:"None",class:"ui5-responsive-popover-header-text",children:this.morePopoverTitle})})}),l(M5,{class:"ui5-tokenizer-list",selectionMode:this._nMoreListMode,separators:"None",onKeyDown:this._onPopoverListKeydown,onItemDelete:this.itemDelete,children:this._tokens.map(o=>l(MU,{"data-ui5-token-ref-id":o._id,wrappingType:"Normal",text:o.text},String(o._id)))}),this._isPhone&&g("div",{slot:"footer",class:"ui5-responsive-popover-footer",children:[l(Ft,{design:"Emphasized","data-ui5-tokenizer-dialog-ok-button":!0,onClick:this.handleDialogButtonPress,children:this._okButtonText}),l(Ft,{design:"Transparent",class:"ui5-responsive-popover-close-btn",onClick:this.handleDialogButtonPress,children:this._cancelButtonText})]})]})}function FU(){return g(P,{children:[g("div",{class:"ui5-tokenizer-root",children:[g("div",{class:"ui5-tokenizer--content",onClick:this._click,onMouseDown:this._onmousedown,onKeyDown:this._onkeydown,onFocusOut:this._onfocusout,onFocusIn:this._onfocusin,"onui5-delete":this._delete,"onui5-select":this.onTokenSelect,children:[l("div",{class:"ui5-tokenizer--list",role:"listbox","aria-label":this.tokenizerLabel,"aria-description":this.tokenizerAriaDescription,"aria-disabled":this._ariaDisabled,"aria-readonly":this._ariaReadonly,children:this.tokens.map(o=>l("slot",{name:o._individualSlot}))}),this.showEffectiveClearAll&&l("span",{role:"button",class:"ui5-tokenizer--clear-all",onClick:this.handleClearAll,children:this._clearAllText})]}),this.showNMore&&l("span",{role:"button","aria-haspopup":"dialog",class:"ui5-tokenizer-more-text",part:"n-more-text",onClick:this._handleNMoreClick,children:this._nMoreText})]}),OU.call(this)]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const zU=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{display:inline-block;box-sizing:border-box;border:none;height:2.25rem}:host([multi-line]){height:auto}:host([multi-line]) .ui5-tokenizer--content{display:flex;align-content:baseline;flex-wrap:wrap;padding:.25rem;box-sizing:border-box;gap:var(--_ui5_tokenizer_gap);overflow-y:auto;overflow-x:hidden}:host([multi-line])::slotted([ui5-token]){margin:0;white-space:nowrap;text-overflow:ellipsis;max-width:100%}:host([disabled]){opacity:40%;pointer-events:none}:host(:not([expanded])) .ui5-tokenizer-root{overflow:hidden}:host([_tokens-count="0"]) .ui5-tokenizer-root{padding:0}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;box-sizing:border-box;touch-action:none;font-family:var(--sapFontFamily)}.ui5-tokenizer--token--wrapper{display:inline-flex;align-items:center;box-sizing:border-box;height:100%}:host([expanded]) .ui5-tokenizer--content{display:inline-flex;white-space:nowrap;overflow:hidden}.ui5-tokenizer--content{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;padding-inline-start:var(--_ui5_tokenizer_padding);height:100%;box-sizing:border-box}.ui5-tokenizer--list{display:contents}:host([_tokens-count="1"]) .ui5-tokenizer--content{padding-inline-end:4px;box-sizing:border-box;max-width:100%;flex:1}.ui5-tokenizer-more-text{display:inline-block;margin-inline-start:var(--_ui5_token_right_margin);cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5_tokenizer_n_more_text_color)}.ui5-tokenizer-more-text:hover{text-decoration:underline}.ui5-tokenizer-more-text:active{text-decoration:none}.ui5-tokenizer--clear-all{color:var(--sapLinkColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);cursor:pointer;outline:none}.ui5-tokenizer--clear-all:hover{color:var(--sapLink_Hover_Color);text-decoration:var(--_ui5_link_hover_text_decoration)}.ui5-tokenizer--clear-all:active{color:var(--sapLink_Active_Color);text-decoration:var(--_ui5_link_active_text_decoration)}
|
|
559
559
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const $U=`[ui5-responsive-popover]::part(header),[ui5-responsive-popover]::part(content){padding:0}[ui5-responsive-popover] .ui5-responsive-popover-header{min-height:2rem}[ui5-responsive-popover] .ui5-responsive-popover-header .row{justify-content:left}[ui5-responsive-popover] [ui5-button]{height:100%;min-width:4rem}[ui5-responsive-popover]{margin-top:var(--_ui5_tokenizer-popover_offset);margin-inline-start:calc(-1 * var(--_ui5_tokenizer_padding))}
|
|
560
560
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const u2=`.input-root-phone{flex:1;position:relative;height:var(--_ui5_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5_input_background_color);border:var(--_ui5-input-border);border-radius:var(--_ui5_input_border_radius);box-sizing:border-box}.input-root-phone [inner-input]{padding:0 .5rem;width:100%;height:100%}.input-root-phone [inner-input]:focus{background-color:var(--sapField_Focus_Background)}.input-root-phone:focus-within:before{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}.input-root-phone [value-state=Negative] .inputIcon[data-ui5-compact-size],.input-root-phone [value-state=Positive] .inputIcon[data-ui5-compact-size],.input-root-phone [value-state=Critical] .inputIcon[data-ui5-compact-size]{padding:.1875rem .5rem}[inner-input]{background:transparent;color:inherit;border:none;font-style:normal;-webkit-appearance:none;-moz-appearance:textfield;line-height:normal;padding:var(--_ui5_input_inner_padding);box-sizing:border-box;min-width:3rem;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;border-radius:var(--_ui5_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:var(--_ui5_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:var(--_ui5_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5_input_state_border_width)}.input-root-phone[value-state=Negative] [inner-input],.input-root-phone[value-state=Critical] [inner-input]{font-style:var(--_ui5_input_error_warning_font_style)}.input-root-phone[value-state=Negative] [inner-input]{font-weight:var(--_ui5_input_error_font_weight)}.input-root-phone[value-state=Negative]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5_input_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_error_background);border-color:var(--_ui5_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]):focus-within:before{border-color:var(--_ui5_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Negative]:not([readonly]):not([disabled]),.input-root-phone[value-state=Critical]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5_input_error_warning_border_style)}.input-root-phone[value-state=Critical]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5_input_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_warning_background);border-color:var(--_ui5_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]):focus-within:before{border-color:var(--_ui5_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Positive]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5_input_value_state_success_border_color);border-width:var(--_ui5_input_value_state_success_border_width)}.input-root-phone[value-state=Positive]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_success_background);border-color:var(--_ui5_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Positive]:not([readonly]):focus-within:before{border-color:var(--_ui5_input_focused_value_state_success_focus_outline_color)}.input-root-phone[value-state=Information]:not([readonly]){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5_input_value_state_information_border_color);border-width:var(--_ui5_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5_input_focused_value_state_information_background);border-color:var(--_ui5_input_focused_value_state_information_border_color)}.ui5-multi-combobox-toggle-button{margin-left:.5rem}.ui5-responsive-popover-header{width:100%;min-height:2.5rem;display:flex;flex-direction:column}.ui5-responsive-popover-header-text{width:100%}.ui5-responsive-popover-header .row{box-sizing:border-box;padding:.25rem 1rem;min-height:2.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontHeader5Size)}.ui5-responsive-popover-footer{display:flex;justify-content:flex-end;align-items:center;width:100%;box-sizing:border-box}.ui5-responsive-popover-footer .ui5-responsive-popover-close-btn,.ui5-responsive-popover-footer .ui5-responsive-popover-footer-btn{margin-left:.5rem}.ui5-responsive-popover-header .ui5-responsive-popover-close-btn{position:absolute;right:1rem}.ui5-responsive-popover-footer .ui5-responsive-popover-footer-btn{width:4.5rem}
|
|
561
561
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const H8=`.ui5-suggestions-popover{box-shadow:var(--sapContent_Shadow1)}.ui5-suggestions-popover::part(header),.ui5-suggestions-popover::part(content){padding:0}.ui5-suggestions-popover::part(footer){padding:0 1rem}.input-root-phone.native-input-wrapper{display:contents}.input-root-phone.native-input-wrapper:before{display:none}.native-input-wrapper .ui5-input-inner-phone{margin:0}.native-input-wrapper .ui5-multi-input-mobile-dialog-button{margin-inline-start:.5rem}
|
|
@@ -674,8 +674,8 @@ or import '@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css'`)};doc
|
|
|
674
674
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
675
675
|
*/var qg;const H1=window,$u=H1.trustedTypes,r6=$u?$u.createPolicy("lit-html",{createHTML:o=>o}):void 0,Jm="$lit$",Rs=`lit$${(Math.random()+"").slice(9)}$`,m9="?"+Rs,oG=`<${m9}>`,fl=document,Gh=()=>fl.createComment(""),Wh=o=>o===null||typeof o!="object"&&typeof o!="function",f9=Array.isArray,iG=o=>f9(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Yg=`[
|
|
676
676
|
\f\r]`,Dc=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,a6=/-->/g,n6=/>/g,Dd=RegExp(`>|${Yg}(?:([^\\s"'>=/]+)(${Yg}*=${Yg}*(?:[^
|
|
677
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),s6=/'/g,d6=/"/g,b9=/^(?:script|style|textarea|title)$/i,x9=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),y9=x9(1),rG=x9(2),qh=Symbol.for("lit-noChange"),Po=Symbol.for("lit-nothing"),l6=new WeakMap,Qd=fl.createTreeWalker(fl,129,null,!1);function C9(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return r6!==void 0?r6.createHTML(e):e}const aG=(o,e)=>{const t=o.length-1,i=[];let a,r=e===2?"<svg>":"",n=Dc;for(let s=0;s<t;s++){const u=o[s];let c,p,_=-1,f=0;for(;f<u.length&&(n.lastIndex=f,p=n.exec(u),p!==null);)f=n.lastIndex,n===Dc?p[1]==="!--"?n=a6:p[1]!==void 0?n=n6:p[2]!==void 0?(b9.test(p[2])&&(a=RegExp("</"+p[2],"g")),n=Dd):p[3]!==void 0&&(n=Dd):n===Dd?p[0]===">"?(n=a??Dc,_=-1):p[1]===void 0?_=-2:(_=n.lastIndex-p[2].length,c=p[1],n=p[3]===void 0?Dd:p[3]==='"'?d6:s6):n===d6||n===s6?n=Dd:n===a6||n===n6?n=Dc:(n=Dd,a=void 0);const b=n===Dd&&o[s+1].startsWith("/>")?" ":"";r+=n===Dc?u+oG:_>=0?(i.push(c),u.slice(0,_)+Jm+u.slice(_)+Rs+b):u+Rs+(_===-2?(i.push(void 0),s):b)}return[C9(o,r+(o[t]||"<?>")+(e===2?"</svg>":"")),i]};class Yh{constructor({strings:e,_$litType$:t},i){let a;this.parts=[];let r=0,n=0;const s=e.length-1,u=this.parts,[c,p]=aG(e,t);if(this.el=Yh.createElement(c,i),Qd.currentNode=this.el.content,t===2){const _=this.el.content,f=_.firstChild;f.remove(),_.append(...f.childNodes)}for(;(a=Qd.nextNode())!==null&&u.length<s;){if(a.nodeType===1){if(a.hasAttributes()){const _=[];for(const f of a.getAttributeNames())if(f.endsWith(Jm)||f.startsWith(Rs)){const b=p[n++];if(_.push(f),b!==void 0){const k=a.getAttribute(b.toLowerCase()+Jm).split(Rs),$=/([.?@])?(.*)/.exec(b);u.push({type:1,index:r,name:$[2],strings:k,ctor:$[1]==="."?sG:$[1]==="?"?lG:$[1]==="@"?uG:z5})}else u.push({type:6,index:r})}for(const f of _)a.removeAttribute(f)}if(b9.test(a.tagName)){const _=a.textContent.split(Rs),f=_.length-1;if(f>0){a.textContent=$u?$u.emptyScript:"";for(let b=0;b<f;b++)a.append(_[b],Gh()),Qd.nextNode(),u.push({type:2,index:++r});a.append(_[f],Gh())}}}else if(a.nodeType===8)if(a.data===m9)u.push({type:2,index:r});else{let _=-1;for(;(_=a.data.indexOf(Rs,_+1))!==-1;)u.push({type:7,index:r}),_+=Rs.length-1}r++}}static createElement(e,t){const i=fl.createElement("template");return i.innerHTML=e,i}}function Hu(o,e,t=o,i){var a,r,n,s;if(e===qh)return e;let u=i!==void 0?(a=t._$Co)===null||a===void 0?void 0:a[i]:t._$Cl;const c=Wh(e)?void 0:e._$litDirective$;return(u==null?void 0:u.constructor)!==c&&((r=u==null?void 0:u._$AO)===null||r===void 0||r.call(u,!1),c===void 0?u=void 0:(u=new c(o),u._$AT(o,t,i)),i!==void 0?((n=(s=t)._$Co)!==null&&n!==void 0?n:s._$Co=[])[i]=u:t._$Cl=u),u!==void 0&&(e=Hu(o,u._$AS(o,e.values),u,i)),e}class nG{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:i},parts:a}=this._$AD,r=((t=e==null?void 0:e.creationScope)!==null&&t!==void 0?t:fl).importNode(i,!0);Qd.currentNode=r;let n=Qd.nextNode(),s=0,u=0,c=a[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new X_(n,n.nextSibling,this,e):c.type===1?p=new c.ctor(n,c.name,c.strings,this,e):c.type===6&&(p=new cG(n,this,e)),this._$AV.push(p),c=a[++u]}s!==(c==null?void 0:c.index)&&(n=Qd.nextNode(),s++)}return Qd.currentNode=fl,r}v(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class X_{constructor(e,t,i,a){var r;this.type=2,this._$AH=Po,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=a,this._$Cp=(r=a==null?void 0:a.isConnected)===null||r===void 0||r}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Hu(this,e,t),Wh(e)?e===Po||e==null||e===""?(this._$AH!==Po&&this._$AR(),this._$AH=Po):e!==this._$AH&&e!==qh&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):iG(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Po&&Wh(this._$AH)?this._$AA.nextSibling.data=e:this.$(fl.createTextNode(e)),this._$AH=e}g(e){var t;const{values:i,_$litType$:a}=e,r=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=Yh.createElement(C9(a.h,a.h[0]),this.options)),a);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===r)this._$AH.v(i);else{const n=new nG(r,this),s=n.u(this.options);n.v(i),this.$(s),this._$AH=n}}_$AC(e){let t=l6.get(e.strings);return t===void 0&&l6.set(e.strings,t=new Yh(e)),t}T(e){f9(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,a=0;for(const r of e)a===t.length?t.push(i=new X_(this.k(Gh()),this.k(Gh()),this,this.options)):i=t[a],i._$AI(r),a++;a<t.length&&(this._$AR(i&&i._$AB.nextSibling,a),t.length=a)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,t);e&&e!==this._$AB;){const a=e.nextSibling;e.remove(),e=a}}setConnected(e){var t;this._$AM===void 0&&(this._$Cp=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}}class z5{constructor(e,t,i,a,r){this.type=1,this._$AH=Po,this._$AN=void 0,this.element=e,this.name=t,this._$AM=a,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Po}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,a){const r=this.strings;let n=!1;if(r===void 0)e=Hu(this,e,t,0),n=!Wh(e)||e!==this._$AH&&e!==qh,n&&(this._$AH=e);else{const s=e;let u,c;for(e=r[0],u=0;u<r.length-1;u++)c=Hu(this,s[i+u],t,u),c===qh&&(c=this._$AH[u]),n||(n=!Wh(c)||c!==this._$AH[u]),c===Po?e=Po:e!==Po&&(e+=(c??"")+r[u+1]),this._$AH[u]=c}n&&!a&&this.j(e)}j(e){e===Po?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class sG extends z5{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Po?void 0:e}}const dG=$u?$u.emptyScript:"";class lG extends z5{constructor(){super(...arguments),this.type=4}j(e){e&&e!==Po?this.element.setAttribute(this.name,dG):this.element.removeAttribute(this.name)}}class uG extends z5{constructor(e,t,i,a,r){super(e,t,i,a,r),this.type=5}_$AI(e,t=this){var i;if((e=(i=Hu(this,e,t,0))!==null&&i!==void 0?i:Po)===qh)return;const a=this._$AH,r=e===Po&&a!==Po||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,n=e!==Po&&(a===Po||r);r&&this.element.removeEventListener(this.name,this,a),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&i!==void 0?i:this.element,e):this._$AH.handleEvent(e)}}class cG{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Hu(this,e)}}const u6=H1.litHtmlPolyfillSupport;u6==null||u6(Yh,X_),((qg=H1.litHtmlVersions)!==null&&qg!==void 0?qg:H1.litHtmlVersions=[]).push("2.8.0");const hG=(o,e,t)=>{var i,a;const r=(i=t==null?void 0:t.renderBefore)!==null&&i!==void 0?i:e;let n=r._$litPart$;if(n===void 0){const s=(a=t==null?void 0:t.renderBefore)!==null&&a!==void 0?a:null;r._$litPart$=n=new X_(e.insertBefore(Gh(),s),s,void 0,t??{})}return n._$AI(o),n},_G=(o,...e)=>{const t=yi("LitStatic");return(t?t.html:y9)(o,...e)},Ll=(o,e)=>{let t=o.render();const i=yi("OpenUI5Enablement");i&&(t=i.wrapTemplateResultInBusyMarkup(_G,o,t)),hG(t,e,{host:o})};var w9=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let Kh=class extends E_{};w9([d({type:Boolean})],Kh.prototype,"_isFilterSelectAllItem",void 0);Kh=w9([T({tag:"udex-filter-menu-item",renderer:Ll})],Kh);Kh.define();const S9=Kh;var k9=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let Zh=class extends cc{getItems(){return this.getSlottedNodes("items")}};k9([D({type:S9,default:!0})],Zh.prototype,"items",void 0);Zh=k9([T({tag:"udex-filter-menu-group-header",renderer:Ll})],Zh);Zh.define();const pG=Zh;var gG=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let X1=class extends cc{get isSelectAllHeader(){return!0}};X1=gG([T({tag:"udex-filter-menu-select-all",renderer:Ll})],X1);X1.define();const vG=X1;function mG(){return g("div",{children:[g("button",{id:"filterMenuTrigger",onClick:this.handleTriggerClick,onKeyDown:this.handleTriggerKeydown,"aria-label":this.triggerButtonAccessibleName,"aria-labelledby":this.accessibleNameRef,"aria-expanded":this._open,"aria-haspopup":"dialog",role:this.triggerAccessibleRole,"aria-controls":`${this._id}_udex-filter-menu-dropdown`,disabled:this.disabled,class:"udex-filter-menu__trigger",tabindex:0,children:[this.hasFilterNamePrefix&&l("span",{class:"udex-filter-menu__trigger-prefix",children:this.filterNamePrefix}),g("span",{class:"udex-filter-menu__trigger-wrap",...this.disabled?{disabled:""}:{},children:[l("span",{class:"udex-filter-menu__trigger-name",children:this.filterName}),!!this.badgeValue&&l(Xs,{class:"udex-filter-menu__badge",type:zr.Number,design:_t.Information,size:"Small",children:this.badgeValue}),l(R,{class:"udex-filter-menu__trigger-icon",name:"navigation-down-arrow",mode:"Decorative","accessible-name":this._iconAccessibleNameText})]})]}),g(ni,{id:`${this._id}_udex-filter-menu-dropdown`,"hide-arrow":!0,"allow-target-overlap":this.disableAllowTargetOverlap,"accessible-role":this.accessibleRole,placement:this.placement,"horizontal-align":this.horizontalAlign,onKeyDown:this.handleKeyDownList,onBeforeOpen:this._dropdownBeforeOpen,onOpen:this._dropdownAfterOpen,onBeforeClose:this._dropdownBeforeClose,onClose:this._dropdownAfterClose,onItemPress:this.handleItemPress,onHeaderPress:this.handleHeaderPress,onSelectAll:this.handleSelectAll,onSearchKeydown:this.handleKeyDownSearch,onSubmitSearchValue:this.handleSubmitSearch,onHandleValueSearch:this.handleValueSearch,onHandleValueReset:this.handleResetSearch,children:[vl.call(this),this.modeMultiSelect&&fG.call(this)]})]})}function fG(){return this.hideActionBar?null:g("div",{class:"udex-filter-menu__footer",slot:"footer",name:"footer",children:[!this.hideResultBtn&&l(me,{class:"udex-filter-menu__result-btn",size:ye.Medium,design:ve.Primary,onKeyDown:this.handleKeyDownResultBtn,onClick:this.handleResult,children:this.getResultLabelText}),!this.hideResetBtn&&l(me,{class:"udex-filter-menu__reset-btn",size:ye.Medium,design:ve.Tertiary,onKeyDown:this.handleKeyDownResetBtn,onClick:this.handleReset,children:this.getResetLabelText})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const bG=`:host{--udex-filter-menu-trigger-color-default: var(--sapTextColor, #223548);--udex-filter-menu-trigger-color-hover: var(--sapHoverColor, #0070f2);--udex-filter-menu-trigger-color-active: var(--sapShell_Active_TextColor, #0040b0);--udex-filter-menu-trigger-color-disabled: var(--sapTextColor, #223548);--udex-filter-menu-trigger-icon-default: var(--sapContent_IconColor, #223548);--udex-filter-menu-trigger-icon-hover: var(--sapHoverColor, #0070f2);--udex-filter-menu-trigger-icon-active: var(--sapSelectedColor, #0040b0);--udex-filter-menu-trigger-icon-disabled: var(--sapContent_IconColor, #223548);--udex-filter-menu-trigger-prefix-color-default: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-prefix-color-hover: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-prefix-color-active: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-prefix-color-disabled: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-selection-bar-background: var(--udexColorBlue8, #0057D2);--udex-filter-menu-trigger-outline-border-color: var(--udexColorBlue10, #002A86);--udex-filter-menu-popover-left-offset: 0px;--udex-filter-menu-popover-min-width-xs: calc(100% - var(--udex-filter-menu-popover-left-offset));--udex-filter-menu-popover-max-width-xs: 100%;--udex-filter-menu-popover-width: fit-content;--udex-filter-menu-popover-min-width: 320px;--udex-filter-menu-popover-max-width: 640px;--udex-filter-menu-popover-shadow: var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34,54,73,.3));--udex-filter-menu-popover-border-color: var(--sapField_BorderColor, var(--udexColorGrey6));--udex-filter-menu-popover-border-width: var(--sapElement_BorderWidth, 1px);--udex-filter-menu-popover-border-radius: var(--udexRadiusM, 8px);display:inline-block}:host([desktop]) .udex-filter-menu__trigger:focus,.udex-filter-menu__trigger:focus-visible{outline:2px solid var(--udex-filter-menu-trigger-outline-border-color);outline-offset:var(--udexSpacer2, 2px);border-radius:var(--udexRadiusM, 8px)}.udex-filter-menu__trigger{font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyBodyLineHeight, 1.5);display:inline-flex;align-items:center;padding:5px 0;position:relative;background:none;border:none}.udex-filter-menu__trigger-wrap{cursor:pointer;display:inline-flex;align-items:center}.udex-filter-menu__trigger-wrap[disabled]{pointer-events:none}.udex-filter-menu__trigger-wrap[disabled]:hover .udex-filter-menu__trigger-name,.udex-filter-menu__trigger-wrap[disabled] .udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-disabled);opacity:var(--sapContent_DisabledOpacity, .4)}.udex-filter-menu__trigger-wrap[disabled] .udex-filter-menu__trigger-prefix{color:var(--udex-filter-menu-trigger-prefix-color-disabled)}.udex-filter-menu__trigger-wrap[disabled]:hover .udex-filter-menu__trigger-icon,.udex-filter-menu__trigger-wrap[disabled] .udex-filter-menu__trigger-icon{color:var(--udex-filter-menu-trigger-icon-disabled);opacity:var(--sapContent_DisabledOpacity, .4)}.udex-filter-menu__trigger-prefix{margin-inline-end:var(--udexSpacer8, 8px);color:var(--udex-filter-menu-trigger-prefix-color-default)}.udex-filter-menu__trigger-wrap:hover .udex-filter-menu__trigger-prefix{color:var(--udex-filter-menu-trigger-prefix-color-hover)}.udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-default)}.udex-filter-menu__trigger:before{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:2px 2px 0;background:var(--udex-filter-menu-trigger-selection-bar-background);opacity:0}.udex-filter-menu__trigger-active .udex-filter-menu__trigger-prefix{color:var(--udex-filter-menu-trigger-prefix-color-active)}.udex-filter-menu__trigger-active:before{opacity:1}.udex-filter-menu__trigger-icon{width:16px;height:16px;margin-inline-start:var(--udexSpacer8, 8px);color:var(--udex-filter-menu-trigger-icon-default)}.udex-filter-menu__trigger-wrap:hover .udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-hover)}.udex-filter-menu__trigger-wrap:hover .udex-filter-menu__trigger-icon{color:var(--udex-filter-menu-trigger-icon-hover)}.udex-filter-menu__trigger-active .udex-filter-menu__trigger-icon{transform:rotate(180deg);color:var(--udex-filter-menu-trigger-icon-active)}.udex-filter-menu__trigger-active .udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-active)}.udex-filter-menu__search{width:100%}.udex-filter-menu__footer{height:auto;width:100%;display:flex;gap:var(--udexSpacer8, 8px)}.udex-filter-menu__badge{margin-inline-start:var(--udexSpacer4, 4px)}[ui5-popover]{border:var(--udex-filter-menu-popover-border-width) solid var(--udex-filter-menu-popover-border-color);border-radius:var(--udex-filter-menu-popover-border-radius);box-shadow:var(--udex-filter-menu-popover-shadow);min-width:var(--udex-filter-menu-popover-min-width);max-width:var(--udex-filter-menu-popover-max-width);width:var(--udex-filter-menu-popover-width)}[ui5-popover]::part(content){padding:0;overflow:auto}[ui5-popover]::part(header),[ui5-popover]::part(footer){padding:var(--udexSpacer12, 12px)}[ui5-popover]::part(footer){justify-content:flex-start;border-color:var(--sapField_BorderColor, var(--udexColorGrey6));box-shadow:var(--sapContent_Shadow1, 0 2px 8px 0 rgba(34,54,73,.3))}::slotted([slot="header"]){width:100%}:host .udex-no-result{padding:0 var(--udexSpacer12, 12px) var(--udexSpacer16, 16px)}[udex-search]+.hidden+[udex-busy-indicator]{padding:var(--udexSpacer16, 16px) 0 var(--udexSpacer32, 32px)}@media (width < 640px){[ui5-popover]{min-width:var(--udex-filter-menu-popover-min-width-xs);max-width:var(--udex-filter-menu-popover-max-width-xs)}}
|
|
678
|
-
`;var xo=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},ru;let Kt=ru=class extends Bm{constructor(){super(...arguments),this.placement=Ro.Bottom,this.horizontalAlign=Fi.Start,this.mode=Ye.SingleSelect,this.disabled=!1,this._open=!1,this.hideResultBtn=!1,this.hideResetBtn=!1,this.accessibleRole=js.None,this.triggerAccessibleRole="button",this._shouldApplyFilter=!1,this._requestRender=!1,this._breakpointSizeXS=640,this._initialState=[]}onEnterDOM(){se()&&this.setAttribute("desktop","")}onBeforeRendering(){super.onBeforeRendering()}onAfterRendering(){this._search=this.getSearch(),this._popover=this.getPopover(),this._trigger=this.getTriggerButton(),this._list=this.getList()}handleSelectAll(e){this.onSelectAllHeaderPress(e)}handleItemPress(e){this.onItemPress(e),this.modeSingleSelect&&this.onDropdownClose()}handleHeaderPress(e){this.onHeaderPress(e)}handleValueSearch(e){this.onSearch(e.detail.value)}handleSubmitSearch(){this.onDropdownClose(),this.onSubmitSearch()}handleResetSearch(){this.onResetSearch()}handleReset(){this.onDropdownClose(),this.fireDecoratorEvent("reset-click",{restoredItems:this.selectedItems}),this.onReset()}handleResult(){this._shouldApplyFilter=!0,this.onDropdownClose(),this.fireDecoratorEvent("result-click",{selectedItems:this.selectedItems})}handleKeyDownList(e){const t=Qe(e)&&!this.hasFooterButtons,i=pt(e)&&!this._search,r=e.target===this._search;(t&&(!r||this.isListEmpty)||i)&&this.onDropdownClose(e)}handleKeyDownSearch(e){const{detail:{e:t}}=e;(pt(t)||De(t))&&this.onDropdownClose(t)}handleKeyDownResultBtn(e){e.stopPropagation(),(De(e)||Qe(e)&&!this.hasResetBtn)&&this.onDropdownClose(e)}handleKeyDownResetBtn(e){e.stopPropagation(),(De(e)||Qe(e))&&this.onDropdownClose(e)}handleTriggerClick(){this.toggleDropdown()}handleTriggerKeydown(e){(K(e)||ie(e))&&(e.preventDefault(),this.toggleDropdown())}toggleDropdown(){this._open=!this._open,this._open?(this._trigger.classList.add("udex-filter-menu__trigger-active"),this._popover.opener=this._trigger,this._popover.open=!0):this.onDropdownClose()}onDropdownClose(e){this._popover.open&&(e&&(pt(e)||De(e))?(e.preventDefault(),this._popover.open=!1):this._popover.open=!1)}_dropdownBeforeOpen(){this.preventPageScroll&&(this._managePopupListeners(ba.Header,"addEventListener"),this._managePopupListeners(ba.Footer,"addEventListener")),this.height&&this._setContentHeight(),this._initialState=this._getInitialState(this.items),this.fireDecoratorEvent("before-open")}_dropdownAfterOpen(){var t;const e=+this._popover.style.left.split("px")[0];this._popover.offsetWidth+e<this._breakpointSizeXS&&this.style.setProperty("--udex-filter-menu-popover-left-offset",`${this._popover.style.left}`),this.modeMultiSelect&&this._focusFirstInteractiveElement(),this.modeSingleSelect&&!this._search&&((t=this.activeItem)==null||t.focus()),this._expandCollapsedGroupsWithSelection(),He().then(()=>{this._handleDropdownScroll()}).catch(()=>{}),this.fireDecoratorEvent("after-open")}_focusFirstInteractiveElement(){if(this.showSearch&&this._search){this._focusSearchInput();return}this.focusFirstItem()}_focusSearchInput(){var t;((t=this._search.shadowRoot)==null?void 0:t.querySelector("[id='search-input']")).focus()}_getInitialState(e){return e.flatMap(t=>{if(t.isGroup){const i={id:t._id,selected:t.selected,indeterminate:t.indeterminate,collapsed:t.collapsed,_filtered:t._filtered},a=t.getItems().map(r=>({id:r._id,selected:r.selected}));return[i,...a]}return{id:t._id,selected:t.selected}})}_setInitialListState(){this.getSlottedItems(this.items).forEach((e,t)=>{const i=this._initialState[t];e._id===(i==null?void 0:i.id)&&(e.selected=i.selected,e.isGroup&&(e.indeterminate=i.indeterminate))})}_setInitialState(){this._setInitialListState(),this._requestRender=!0}_dropdownBeforeClose(){this.fireDecoratorEvent("before-close")}_dropdownAfterClose(){this.preventPageScroll&&(this._managePopupListeners(ba.Header,"removeEventListener"),this._managePopupListeners(ba.Footer,"removeEventListener")),!this._shouldApplyFilter&&this.modeMultiSelect&&!this.modeSelectAll&&this._setInitialState(),this._shouldApplyFilter=!1,this._open=!1,this._trigger.classList.remove("udex-filter-menu__trigger-active"),this.fireDecoratorEvent("after-close")}close(){this.onDropdownClose()}get disableAllowTargetOverlap(){return!this.disableTargetOverlap}get hasFilterNamePrefix(){var e;return!!((e=this.filterNamePrefix)!=null&&e.length)}get getResultLabelText(){return this.resultBtnLabel!==void 0&&this.resultBtnLabel.length>0&&this.resultBtnLabel?this.resultBtnLabel:B(ru,AE)}get getResetLabelText(){return this.resetBtnLabel!==void 0&&this.resetBtnLabel.length>0?this.resetBtnLabel:B(ru,EE)}get _iconAccessibleNameText(){return B(ru,s7)}get isTreeStructure(){const e=this._filteredItems.filter(t=>t.isGroup
|
|
677
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),s6=/'/g,d6=/"/g,b9=/^(?:script|style|textarea|title)$/i,x9=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),y9=x9(1),rG=x9(2),qh=Symbol.for("lit-noChange"),Po=Symbol.for("lit-nothing"),l6=new WeakMap,Qd=fl.createTreeWalker(fl,129,null,!1);function C9(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return r6!==void 0?r6.createHTML(e):e}const aG=(o,e)=>{const t=o.length-1,i=[];let a,r=e===2?"<svg>":"",n=Dc;for(let s=0;s<t;s++){const u=o[s];let c,p,_=-1,f=0;for(;f<u.length&&(n.lastIndex=f,p=n.exec(u),p!==null);)f=n.lastIndex,n===Dc?p[1]==="!--"?n=a6:p[1]!==void 0?n=n6:p[2]!==void 0?(b9.test(p[2])&&(a=RegExp("</"+p[2],"g")),n=Dd):p[3]!==void 0&&(n=Dd):n===Dd?p[0]===">"?(n=a??Dc,_=-1):p[1]===void 0?_=-2:(_=n.lastIndex-p[2].length,c=p[1],n=p[3]===void 0?Dd:p[3]==='"'?d6:s6):n===d6||n===s6?n=Dd:n===a6||n===n6?n=Dc:(n=Dd,a=void 0);const b=n===Dd&&o[s+1].startsWith("/>")?" ":"";r+=n===Dc?u+oG:_>=0?(i.push(c),u.slice(0,_)+Jm+u.slice(_)+Rs+b):u+Rs+(_===-2?(i.push(void 0),s):b)}return[C9(o,r+(o[t]||"<?>")+(e===2?"</svg>":"")),i]};class Yh{constructor({strings:e,_$litType$:t},i){let a;this.parts=[];let r=0,n=0;const s=e.length-1,u=this.parts,[c,p]=aG(e,t);if(this.el=Yh.createElement(c,i),Qd.currentNode=this.el.content,t===2){const _=this.el.content,f=_.firstChild;f.remove(),_.append(...f.childNodes)}for(;(a=Qd.nextNode())!==null&&u.length<s;){if(a.nodeType===1){if(a.hasAttributes()){const _=[];for(const f of a.getAttributeNames())if(f.endsWith(Jm)||f.startsWith(Rs)){const b=p[n++];if(_.push(f),b!==void 0){const k=a.getAttribute(b.toLowerCase()+Jm).split(Rs),$=/([.?@])?(.*)/.exec(b);u.push({type:1,index:r,name:$[2],strings:k,ctor:$[1]==="."?sG:$[1]==="?"?lG:$[1]==="@"?uG:z5})}else u.push({type:6,index:r})}for(const f of _)a.removeAttribute(f)}if(b9.test(a.tagName)){const _=a.textContent.split(Rs),f=_.length-1;if(f>0){a.textContent=$u?$u.emptyScript:"";for(let b=0;b<f;b++)a.append(_[b],Gh()),Qd.nextNode(),u.push({type:2,index:++r});a.append(_[f],Gh())}}}else if(a.nodeType===8)if(a.data===m9)u.push({type:2,index:r});else{let _=-1;for(;(_=a.data.indexOf(Rs,_+1))!==-1;)u.push({type:7,index:r}),_+=Rs.length-1}r++}}static createElement(e,t){const i=fl.createElement("template");return i.innerHTML=e,i}}function Hu(o,e,t=o,i){var a,r,n,s;if(e===qh)return e;let u=i!==void 0?(a=t._$Co)===null||a===void 0?void 0:a[i]:t._$Cl;const c=Wh(e)?void 0:e._$litDirective$;return(u==null?void 0:u.constructor)!==c&&((r=u==null?void 0:u._$AO)===null||r===void 0||r.call(u,!1),c===void 0?u=void 0:(u=new c(o),u._$AT(o,t,i)),i!==void 0?((n=(s=t)._$Co)!==null&&n!==void 0?n:s._$Co=[])[i]=u:t._$Cl=u),u!==void 0&&(e=Hu(o,u._$AS(o,e.values),u,i)),e}class nG{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:i},parts:a}=this._$AD,r=((t=e==null?void 0:e.creationScope)!==null&&t!==void 0?t:fl).importNode(i,!0);Qd.currentNode=r;let n=Qd.nextNode(),s=0,u=0,c=a[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new X_(n,n.nextSibling,this,e):c.type===1?p=new c.ctor(n,c.name,c.strings,this,e):c.type===6&&(p=new cG(n,this,e)),this._$AV.push(p),c=a[++u]}s!==(c==null?void 0:c.index)&&(n=Qd.nextNode(),s++)}return Qd.currentNode=fl,r}v(e){let t=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class X_{constructor(e,t,i,a){var r;this.type=2,this._$AH=Po,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=a,this._$Cp=(r=a==null?void 0:a.isConnected)===null||r===void 0||r}get _$AU(){var e,t;return(t=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&t!==void 0?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Hu(this,e,t),Wh(e)?e===Po||e==null||e===""?(this._$AH!==Po&&this._$AR(),this._$AH=Po):e!==this._$AH&&e!==qh&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):iG(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Po&&Wh(this._$AH)?this._$AA.nextSibling.data=e:this.$(fl.createTextNode(e)),this._$AH=e}g(e){var t;const{values:i,_$litType$:a}=e,r=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=Yh.createElement(C9(a.h,a.h[0]),this.options)),a);if(((t=this._$AH)===null||t===void 0?void 0:t._$AD)===r)this._$AH.v(i);else{const n=new nG(r,this),s=n.u(this.options);n.v(i),this.$(s),this._$AH=n}}_$AC(e){let t=l6.get(e.strings);return t===void 0&&l6.set(e.strings,t=new Yh(e)),t}T(e){f9(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,a=0;for(const r of e)a===t.length?t.push(i=new X_(this.k(Gh()),this.k(Gh()),this,this.options)):i=t[a],i._$AI(r),a++;a<t.length&&(this._$AR(i&&i._$AB.nextSibling,a),t.length=a)}_$AR(e=this._$AA.nextSibling,t){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,t);e&&e!==this._$AB;){const a=e.nextSibling;e.remove(),e=a}}setConnected(e){var t;this._$AM===void 0&&(this._$Cp=e,(t=this._$AP)===null||t===void 0||t.call(this,e))}}class z5{constructor(e,t,i,a,r){this.type=1,this._$AH=Po,this._$AN=void 0,this.element=e,this.name=t,this._$AM=a,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Po}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,a){const r=this.strings;let n=!1;if(r===void 0)e=Hu(this,e,t,0),n=!Wh(e)||e!==this._$AH&&e!==qh,n&&(this._$AH=e);else{const s=e;let u,c;for(e=r[0],u=0;u<r.length-1;u++)c=Hu(this,s[i+u],t,u),c===qh&&(c=this._$AH[u]),n||(n=!Wh(c)||c!==this._$AH[u]),c===Po?e=Po:e!==Po&&(e+=(c??"")+r[u+1]),this._$AH[u]=c}n&&!a&&this.j(e)}j(e){e===Po?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class sG extends z5{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Po?void 0:e}}const dG=$u?$u.emptyScript:"";class lG extends z5{constructor(){super(...arguments),this.type=4}j(e){e&&e!==Po?this.element.setAttribute(this.name,dG):this.element.removeAttribute(this.name)}}class uG extends z5{constructor(e,t,i,a,r){super(e,t,i,a,r),this.type=5}_$AI(e,t=this){var i;if((e=(i=Hu(this,e,t,0))!==null&&i!==void 0?i:Po)===qh)return;const a=this._$AH,r=e===Po&&a!==Po||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,n=e!==Po&&(a===Po||r);r&&this.element.removeEventListener(this.name,this,a),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)===null||t===void 0?void 0:t.host)!==null&&i!==void 0?i:this.element,e):this._$AH.handleEvent(e)}}class cG{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Hu(this,e)}}const u6=H1.litHtmlPolyfillSupport;u6==null||u6(Yh,X_),((qg=H1.litHtmlVersions)!==null&&qg!==void 0?qg:H1.litHtmlVersions=[]).push("2.8.0");const hG=(o,e,t)=>{var i,a;const r=(i=t==null?void 0:t.renderBefore)!==null&&i!==void 0?i:e;let n=r._$litPart$;if(n===void 0){const s=(a=t==null?void 0:t.renderBefore)!==null&&a!==void 0?a:null;r._$litPart$=n=new X_(e.insertBefore(Gh(),s),s,void 0,t??{})}return n._$AI(o),n},_G=(o,...e)=>{const t=yi("LitStatic");return(t?t.html:y9)(o,...e)},Ll=(o,e)=>{let t=o.render();const i=yi("OpenUI5Enablement");i&&(t=i.wrapTemplateResultInBusyMarkup(_G,o,t)),hG(t,e,{host:o})};var w9=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let Kh=class extends E_{};w9([d({type:Boolean})],Kh.prototype,"_isFilterSelectAllItem",void 0);Kh=w9([T({tag:"udex-filter-menu-item",renderer:Ll})],Kh);Kh.define();const S9=Kh;var k9=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let Zh=class extends cc{getItems(){return this.getSlottedNodes("items")}};k9([D({type:S9,default:!0})],Zh.prototype,"items",void 0);Zh=k9([T({tag:"udex-filter-menu-group-header",renderer:Ll})],Zh);Zh.define();const pG=Zh;var gG=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let X1=class extends cc{get isSelectAllHeader(){return!0}};X1=gG([T({tag:"udex-filter-menu-select-all",renderer:Ll})],X1);X1.define();const vG=X1;function mG(){return g("div",{children:[g("button",{id:"filterMenuTrigger",onClick:this.handleTriggerClick,onKeyDown:this.handleTriggerKeydown,"aria-label":this.triggerButtonAccessibleName,"aria-labelledby":this.accessibleNameRef,"aria-expanded":this._open,"aria-haspopup":"dialog",role:this.triggerAccessibleRole,"aria-controls":`${this._id}_udex-filter-menu-dropdown`,disabled:this.disabled,class:"udex-filter-menu__trigger",tabindex:0,children:[this.hasFilterNamePrefix&&g(P,{children:[l("span",{class:"udex-filter-menu__trigger-prefix",children:this.filterNamePrefix})," "]}),g("span",{class:"udex-filter-menu__trigger-wrap",...this.disabled?{disabled:""}:{},children:[l("span",{class:"udex-filter-menu__trigger-name",children:this.filterName}),!!this.badgeValue&&g(P,{children:[" ",l(Xs,{class:"udex-filter-menu__badge",type:zr.Number,design:_t.Information,size:"Small",children:this.badgeValue})]}),l(R,{class:"udex-filter-menu__trigger-icon",name:"navigation-down-arrow",mode:"Decorative","accessible-name":this._iconAccessibleNameText})]})]}),g(ni,{id:`${this._id}_udex-filter-menu-dropdown`,"hide-arrow":!0,"allow-target-overlap":this.disableAllowTargetOverlap,"accessible-role":this.accessibleRole,placement:this.placement,"horizontal-align":this.horizontalAlign,onKeyDown:this.handleKeyDownList,onBeforeOpen:this._dropdownBeforeOpen,onOpen:this._dropdownAfterOpen,onBeforeClose:this._dropdownBeforeClose,onClose:this._dropdownAfterClose,onItemPress:this.handleItemPress,onHeaderPress:this.handleHeaderPress,onSelectAll:this.handleSelectAll,onSearchKeydown:this.handleKeyDownSearch,onSubmitSearchValue:this.handleSubmitSearch,onHandleValueSearch:this.handleValueSearch,onHandleValueReset:this.handleResetSearch,children:[vl.call(this),this.modeMultiSelect&&fG.call(this)]})]})}function fG(){return this.hideActionBar?null:g("div",{class:"udex-filter-menu__footer",slot:"footer",name:"footer",children:[!this.hideResultBtn&&l(me,{class:"udex-filter-menu__result-btn",size:ye.Medium,design:ve.Primary,onKeyDown:this.handleKeyDownResultBtn,onClick:this.handleResult,children:this.getResultLabelText}),!this.hideResetBtn&&l(me,{class:"udex-filter-menu__reset-btn",size:ye.Medium,design:ve.Tertiary,onKeyDown:this.handleKeyDownResetBtn,onClick:this.handleReset,children:this.getResetLabelText})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const bG=`:host{--udex-filter-menu-trigger-color-default: var(--sapTextColor, #223548);--udex-filter-menu-trigger-color-hover: var(--sapHoverColor, #0070f2);--udex-filter-menu-trigger-color-active: var(--sapShell_Active_TextColor, #0040b0);--udex-filter-menu-trigger-color-disabled: var(--sapTextColor, #223548);--udex-filter-menu-trigger-icon-default: var(--sapContent_IconColor, #223548);--udex-filter-menu-trigger-icon-hover: var(--sapHoverColor, #0070f2);--udex-filter-menu-trigger-icon-active: var(--sapSelectedColor, #0040b0);--udex-filter-menu-trigger-icon-disabled: var(--sapContent_IconColor, #223548);--udex-filter-menu-trigger-prefix-color-default: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-prefix-color-hover: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-prefix-color-active: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-prefix-color-disabled: var(--sapShell_NeutralColor, #475e75);--udex-filter-menu-trigger-selection-bar-background: var(--udexColorBlue8, #0057D2);--udex-filter-menu-trigger-outline-border-color: var(--udexColorBlue10, #002A86);--udex-filter-menu-popover-left-offset: 0px;--udex-filter-menu-popover-min-width-xs: calc(100% - var(--udex-filter-menu-popover-left-offset));--udex-filter-menu-popover-max-width-xs: 100%;--udex-filter-menu-popover-width: fit-content;--udex-filter-menu-popover-min-width: 320px;--udex-filter-menu-popover-max-width: 640px;--udex-filter-menu-popover-shadow: var(--sapContent_Shadow1, 0px 2px 8px 0px rgba(34,54,73,.3));--udex-filter-menu-popover-border-color: var(--sapField_BorderColor, var(--udexColorGrey6));--udex-filter-menu-popover-border-width: var(--sapElement_BorderWidth, 1px);--udex-filter-menu-popover-border-radius: var(--udexRadiusM, 8px);display:inline-block}:host([desktop]) .udex-filter-menu__trigger:focus,.udex-filter-menu__trigger:focus-visible{outline:2px solid var(--udex-filter-menu-trigger-outline-border-color);outline-offset:var(--udexSpacer2, 2px);border-radius:var(--udexRadiusM, 8px)}.udex-filter-menu__trigger{font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyBodyLineHeight, 1.5);display:inline-flex;align-items:center;padding:5px 0;position:relative;background:none;border:none}.udex-filter-menu__trigger-wrap{cursor:pointer;display:inline-flex;align-items:center}.udex-filter-menu__trigger-wrap[disabled]{pointer-events:none}.udex-filter-menu__trigger-wrap[disabled]:hover .udex-filter-menu__trigger-name,.udex-filter-menu__trigger-wrap[disabled] .udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-disabled);opacity:var(--sapContent_DisabledOpacity, .4)}.udex-filter-menu__trigger-wrap[disabled] .udex-filter-menu__trigger-prefix{color:var(--udex-filter-menu-trigger-prefix-color-disabled)}.udex-filter-menu__trigger-wrap[disabled]:hover .udex-filter-menu__trigger-icon,.udex-filter-menu__trigger-wrap[disabled] .udex-filter-menu__trigger-icon{color:var(--udex-filter-menu-trigger-icon-disabled);opacity:var(--sapContent_DisabledOpacity, .4)}.udex-filter-menu__trigger-prefix{margin-inline-end:var(--udexSpacer8, 8px);color:var(--udex-filter-menu-trigger-prefix-color-default)}.udex-filter-menu__trigger-wrap:hover .udex-filter-menu__trigger-prefix{color:var(--udex-filter-menu-trigger-prefix-color-hover)}.udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-default)}.udex-filter-menu__trigger:before{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:2px 2px 0;background:var(--udex-filter-menu-trigger-selection-bar-background);opacity:0}.udex-filter-menu__trigger-active .udex-filter-menu__trigger-prefix{color:var(--udex-filter-menu-trigger-prefix-color-active)}.udex-filter-menu__trigger-active:before{opacity:1}.udex-filter-menu__trigger-icon{width:16px;height:16px;margin-inline-start:var(--udexSpacer8, 8px);color:var(--udex-filter-menu-trigger-icon-default)}.udex-filter-menu__trigger-wrap:hover .udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-hover)}.udex-filter-menu__trigger-wrap:hover .udex-filter-menu__trigger-icon{color:var(--udex-filter-menu-trigger-icon-hover)}.udex-filter-menu__trigger-active .udex-filter-menu__trigger-icon{transform:rotate(180deg);color:var(--udex-filter-menu-trigger-icon-active)}.udex-filter-menu__trigger-active .udex-filter-menu__trigger-name{color:var(--udex-filter-menu-trigger-color-active)}.udex-filter-menu__search{width:100%}.udex-filter-menu__footer{height:auto;width:100%;display:flex;gap:var(--udexSpacer8, 8px)}.udex-filter-menu__badge{margin-inline-start:var(--udexSpacer4, 4px)}[ui5-popover]{border:var(--udex-filter-menu-popover-border-width) solid var(--udex-filter-menu-popover-border-color);border-radius:var(--udex-filter-menu-popover-border-radius);box-shadow:var(--udex-filter-menu-popover-shadow);min-width:var(--udex-filter-menu-popover-min-width);max-width:var(--udex-filter-menu-popover-max-width);width:var(--udex-filter-menu-popover-width)}[ui5-popover]::part(content){padding:0;overflow:auto}[ui5-popover]::part(header),[ui5-popover]::part(footer){padding:var(--udexSpacer12, 12px)}[ui5-popover]::part(footer){justify-content:flex-start;border-color:var(--sapField_BorderColor, var(--udexColorGrey6));box-shadow:var(--sapContent_Shadow1, 0 2px 8px 0 rgba(34,54,73,.3))}::slotted([slot="header"]){width:100%}:host .udex-no-result{padding:0 var(--udexSpacer12, 12px) var(--udexSpacer16, 16px)}[udex-search]+.hidden+[udex-busy-indicator]{padding:var(--udexSpacer16, 16px) 0 var(--udexSpacer32, 32px)}@media (width < 640px){[ui5-popover]{min-width:var(--udex-filter-menu-popover-min-width-xs);max-width:var(--udex-filter-menu-popover-max-width-xs)}}
|
|
678
|
+
`;var xo=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},ru;let Kt=ru=class extends Bm{constructor(){super(...arguments),this.placement=Ro.Bottom,this.horizontalAlign=Fi.Start,this.mode=Ye.SingleSelect,this.disabled=!1,this._open=!1,this.hideResultBtn=!1,this.hideResetBtn=!1,this.accessibleRole=js.None,this.triggerAccessibleRole="button",this._shouldApplyFilter=!1,this._requestRender=!1,this._breakpointSizeXS=640,this._initialState=[]}onEnterDOM(){se()&&this.setAttribute("desktop","")}onBeforeRendering(){super.onBeforeRendering()}onAfterRendering(){this._search=this.getSearch(),this._popover=this.getPopover(),this._trigger=this.getTriggerButton(),this._list=this.getList()}handleSelectAll(e){this.onSelectAllHeaderPress(e)}handleItemPress(e){this.onItemPress(e),this.modeSingleSelect&&this.onDropdownClose()}handleHeaderPress(e){this.onHeaderPress(e)}handleValueSearch(e){this.onSearch(e.detail.value)}handleSubmitSearch(){this.onDropdownClose(),this.onSubmitSearch()}handleResetSearch(){this.onResetSearch()}handleReset(){this.onDropdownClose(),this.fireDecoratorEvent("reset-click",{restoredItems:this.selectedItems}),this.onReset()}handleResult(){this._shouldApplyFilter=!0,this.onDropdownClose(),this.fireDecoratorEvent("result-click",{selectedItems:this.selectedItems})}handleKeyDownList(e){const t=Qe(e)&&!this.hasFooterButtons,i=pt(e)&&!this._search,r=e.target===this._search;(t&&(!r||this.isListEmpty)||i)&&this.onDropdownClose(e)}handleKeyDownSearch(e){const{detail:{e:t}}=e;(pt(t)||De(t))&&this.onDropdownClose(t)}handleKeyDownResultBtn(e){e.stopPropagation(),(De(e)||Qe(e)&&!this.hasResetBtn)&&this.onDropdownClose(e)}handleKeyDownResetBtn(e){e.stopPropagation(),(De(e)||Qe(e))&&this.onDropdownClose(e)}handleTriggerClick(){this.toggleDropdown()}handleTriggerKeydown(e){(K(e)||ie(e))&&(e.preventDefault(),this.toggleDropdown())}toggleDropdown(){this._open=!this._open,this._open?(this._trigger.classList.add("udex-filter-menu__trigger-active"),this._popover.opener=this._trigger,this._popover.open=!0):this.onDropdownClose()}onDropdownClose(e){this._popover.open&&(e&&(pt(e)||De(e))?(e.preventDefault(),this._popover.open=!1):this._popover.open=!1)}_dropdownBeforeOpen(){this.preventPageScroll&&(this._managePopupListeners(ba.Header,"addEventListener"),this._managePopupListeners(ba.Footer,"addEventListener")),this.height&&this._setContentHeight(),this._initialState=this._getInitialState(this.items),this.fireDecoratorEvent("before-open")}_dropdownAfterOpen(){var t;const e=+this._popover.style.left.split("px")[0];this._popover.offsetWidth+e<this._breakpointSizeXS&&this.style.setProperty("--udex-filter-menu-popover-left-offset",`${this._popover.style.left}`),this.modeMultiSelect&&this._focusFirstInteractiveElement(),this.modeSingleSelect&&!this._search&&((t=this.activeItem)==null||t.focus()),this._expandCollapsedGroupsWithSelection(),He().then(()=>{this._handleDropdownScroll()}).catch(()=>{}),this.fireDecoratorEvent("after-open")}_focusFirstInteractiveElement(){if(this.showSearch&&this._search){this._focusSearchInput();return}this.focusFirstItem()}_focusSearchInput(){var t;((t=this._search.shadowRoot)==null?void 0:t.querySelector("[id='search-input']")).focus()}_getInitialState(e){return e.flatMap(t=>{if(t.isGroup){const i={id:t._id,selected:t.selected,indeterminate:t.indeterminate,collapsed:t.collapsed,_filtered:t._filtered},a=t.getItems().map(r=>({id:r._id,selected:r.selected}));return[i,...a]}return{id:t._id,selected:t.selected}})}_setInitialListState(){this.getSlottedItems(this.items).forEach((e,t)=>{const i=this._initialState[t];e._id===(i==null?void 0:i.id)&&(e.selected=i.selected,e.isGroup&&(e.indeterminate=i.indeterminate))})}_setInitialState(){this._setInitialListState(),this._requestRender=!0}_dropdownBeforeClose(){this.fireDecoratorEvent("before-close")}_dropdownAfterClose(){this.preventPageScroll&&(this._managePopupListeners(ba.Header,"removeEventListener"),this._managePopupListeners(ba.Footer,"removeEventListener")),!this._shouldApplyFilter&&this.modeMultiSelect&&!this.modeSelectAll&&this._setInitialState(),this._shouldApplyFilter=!1,this._open=!1,this._trigger.classList.remove("udex-filter-menu__trigger-active"),this.fireDecoratorEvent("after-close")}close(){this.onDropdownClose()}get disableAllowTargetOverlap(){return!this.disableTargetOverlap}get hasFilterNamePrefix(){var e;return!!((e=this.filterNamePrefix)!=null&&e.length)}get getResultLabelText(){return this.resultBtnLabel!==void 0&&this.resultBtnLabel.length>0&&this.resultBtnLabel?this.resultBtnLabel:B(ru,AE)}get getResetLabelText(){return this.resetBtnLabel!==void 0&&this.resetBtnLabel.length>0?this.resetBtnLabel:B(ru,EE)}get _iconAccessibleNameText(){return B(ru,s7)}get isTreeStructure(){const e=this._filteredItems.filter(t=>t.isGroup);return e.length?this.modeMultiSelect?!0:this.modeSingleSelect&&e.some(t=>t.item.collapsible):!1}get triggerButtonAccessibleName(){const e=[this.filterNamePrefix,this.filterName,this.badgeValue||void 0].filter(Boolean).join(" ").trim();return this.accessibleName||e||B(ru,s7)}get searchableList(){return vl.call(this)}static get searchableListBaseTemplate(){return vl}get hideActionBar(){return this.hideResultBtn&&this.hideResetBtn}get hasFooterButtons(){return!!this.shadowRoot.querySelector("[udex-button]")}get hasResetBtn(){return!this.hideResetBtn}get modeSelectAll(){return!!this.querySelector("[udex-filter-menu-select-all]")}getTriggerButton(){return this.shadowRoot.querySelector("#filterMenuTrigger")}getItems(){return this.getSlottedNodes("items")}};xo([d({type:Number})],Kt.prototype,"badgeValue",void 0);xo([d({type:Boolean})],Kt.prototype,"disableTargetOverlap",void 0);xo([d()],Kt.prototype,"placement",void 0);xo([d()],Kt.prototype,"horizontalAlign",void 0);xo([d()],Kt.prototype,"mode",void 0);xo([d()],Kt.prototype,"resetBtnLabel",void 0);xo([d()],Kt.prototype,"resultBtnLabel",void 0);xo([d()],Kt.prototype,"filterName",void 0);xo([d()],Kt.prototype,"filterNamePrefix",void 0);xo([d({type:Boolean})],Kt.prototype,"disabled",void 0);xo([d({type:Boolean})],Kt.prototype,"_open",void 0);xo([d({type:Boolean})],Kt.prototype,"hideResultBtn",void 0);xo([d({type:Boolean})],Kt.prototype,"hideResetBtn",void 0);xo([d()],Kt.prototype,"accessibleName",void 0);xo([d()],Kt.prototype,"accessibleNameRef",void 0);xo([d()],Kt.prototype,"accessibleRole",void 0);xo([d({type:String})],Kt.prototype,"triggerAccessibleRole",void 0);xo([d({type:Boolean})],Kt.prototype,"_shouldApplyFilter",void 0);xo([d({type:Boolean,noAttribute:!0})],Kt.prototype,"_requestRender",void 0);Kt=ru=xo([T({tag:"udex-filter-menu",renderer:A,styles:[bG,_2,bn()],template:mG,dependencies:[D5,ni,R,B5,S9,pG,vG,gd,Hh,za,r2,Xs,R5,me]}),x("reset-click",{bubbles:!0}),x("result-click",{bubbles:!0}),x("select-all",{bubbles:!0}),x("before-open",{bubbles:!0}),x("after-open",{bubbles:!0}),x("before-close",{bubbles:!0}),x("after-close",{bubbles:!0})],Kt);Kt.define();var Qm;(function(o){o.Contrast="Contrast",o.Critical="Critical",o.Default="Default",o.Information="Information",o.Negative="Negative",o.Neutral="Neutral",o.NonInteractive="NonInteractive",o.Positive="Positive"})(Qm||(Qm={}));const Yc=Qm;function xG(){var e;const o="udex-feed-item";return g("div",{class:o,children:[this._showAvatar&&l("slot",{name:"avatar",slot:"avatar","aria-hidden":"true"}),this._showIcon&&l(R,{class:`${o}__icon`,name:(e=this.icon)==null?void 0:e.toLowerCase(),mode:Fe.Decorative,accessibleName:this.iconAccessibleName}),this._showDate&&g("div",{class:`${o}__date`,"aria-label":this.date,children:[l("span",{class:`${o}__month`,children:this._date.month}),l("span",{class:`${o}__day`,children:this._date.day})]}),(this.text||this.details||this.location)&&g("div",{class:`${o}__content`,children:[l(ei,{class:`${o}__link`,accessibleName:this.accessibleName,href:this.href,target:this.target,onClick:this.handleLinkClick,children:this.text}),this.details&&l("p",{class:`${o}__details`,children:this.details}),this.location&&g("p",{class:`${o}__location`,children:[l(R,{name:"map",mode:Fe.Decorative,design:Yc.Neutral,accessibleName:this.locationIconLabel}),this.location]})]})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const yG=`:host{--udex-feed-item-icon-width: var(--udexSpacer24, 24px);--udex-feed-item-icon-height: var(--udexSpacer24, 24px)}.udex-feed-item{font-family:var(--sapFontFamily);display:flex;gap:var(--udexSpacer8, 8px);margin-block-start:var(--udexSpacer16, 16px)}.udex-feed-item__content{color:var(--udexColorGrey7, #475E75);font-size:var(--udexTypographyBodyXSFontSize, 14px);line-height:var(--udexTypographyBodyLineHeight, 1.5)}.udex-feed-item__details{margin:var(--udexSpacer4, 4px) 0 0}.udex-feed-item__location{display:flex;gap:var(--udexSpacer4, 4px);margin:0;align-items:center}.udex-feed-item__location ui5-icon{max-width:14px;max-height:14px}.udex-feed-item__icon{width:var(--udex-feed-item-icon-width);height:var(--udex-feed-item-icon-height);flex-shrink:0}.udex-feed-item__date{display:flex;flex-direction:column;align-items:center;margin-block-start:3px;margin-inline-end:var(--udexSpacer8, 8px)}.udex-feed-item__month{font-size:var(--udexTypographyBodyXXSFontSize, 12px);line-height:var(--udexTypographyBodyLineHeight, 1.5)}.udex-feed-item__day{font-size:var(--udexTypographyBodyLFontSize, 20px);line-height:var(--udexTypographyHeadingLineHeight, 1.1)}.hidden-text{display:none}
|
|
679
679
|
`;var ta=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},ef;let Gi=ef=class extends z{constructor(){super(...arguments),this.target=$i._self}get _date(){return this.formatDate(this.date)}get _showAvatar(){return!!this.avatar.length}get _showIcon(){return!!this.icon&&!this._showAvatar}get _showDate(){return!!this.date&&!this._showAvatar&&!this._showIcon}get locationIconLabel(){return B(ef,DE)}formatDate(e){if(!e)return{day:"",month:""};const t=new Date(e),i=t.toLocaleString("default",{day:"2-digit"});let a=t.toLocaleString("default",{month:"short"});return a=a.charAt(0).toUpperCase()+a.slice(1),{day:i,month:a}}handleLinkClick(e){this.fireDecoratorEvent("item-click",{item:this,originalEvent:e})}};ta([d({type:String})],Gi.prototype,"text",void 0);ta([d({type:String})],Gi.prototype,"href",void 0);ta([d()],Gi.prototype,"target",void 0);ta([d({type:String})],Gi.prototype,"details",void 0);ta([d()],Gi.prototype,"accessibleName",void 0);ta([d({type:String})],Gi.prototype,"date",void 0);ta([d({type:String})],Gi.prototype,"location",void 0);ta([d({type:String})],Gi.prototype,"icon",void 0);ta([d({type:String})],Gi.prototype,"iconAccessibleName",void 0);ta([D({type:HTMLElement})],Gi.prototype,"avatar",void 0);ta([V("@sapudex/web-components")],Gi,"i18nBundle",void 0);Gi=ef=ta([T({tag:"udex-feed-item",renderer:A,styles:yG,template:xG}),x("item-click",{bubbles:!0,cancelable:!0})],Gi);Gi.define();const CG=Gi;function wG(){var e;const o="udex-feed";return g("div",{role:"region",class:`${o}__container`,"aria-label":this.accessibleName,children:[this._showPictogram&&g("div",{part:"image",class:`${o}__pictogram`,title:this._imageLabel,children:[this.icon&&l(R,{class:`${o}__icon`,name:(e=this.icon)==null?void 0:e.toLowerCase(),mode:Fe.Decorative,accessibleName:this._imageLabel,dir:"ltr"}),this._showImage&&l("img",{src:this.imageUrl,class:`${o}__icon`,"aria-label":this._imageLabel,alt:this._imageLabel})]}),g("div",{part:"content",class:`${o}__content`,children:[this.header&&l("h3",{part:"header",class:`${o}__header`,children:this.header}),this.items.length>0&&l("div",{class:`${o}__items`,children:this.items.map(t=>l("slot",{name:t._individualSlot}))}),!!this.button&&SG.call(this,o)]})]})}function SG(o){return l(P,{children:l("div",{part:"footer",class:`${o}__footer`,children:l(me,{class:`${o}__btn`,size:ye.Large,design:this.buttonDesign,onClick:this.handleCTAButtonClick,accessibleRole:k5.Button,children:this.button})})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const kG=`:host{--udex-feed-pictogram-width: 140px;--udex-feed-pictogram-height: 140px;--udex-feed-pictogram-width-medium: var(--udexSpacer120);--udex-feed-pictogram-height-medium: var(--udexSpacer120);--udex-feed-pictogram-width-small: 100px;--udex-feed-pictogram-height-small: 100px}.udex-feed__container{font-family:var(--sapFontFamily)}.udex-feed__pictogram{width:var(--udex-feed-pictogram-width);height:var(--udex-feed-pictogram-height);margin-block-end:var(--udexSpacer24, 24px)}.udex-feed__pictogram [ui5-icon],.udex-feed__pictogram img{width:100%;height:100%;object-fit:cover}[ui5-icon]{--_ui5_icon_transform_scale: none}.udex-feed__header{font-size:var(--udexTypographyHeadingMediumXXSFontSize, 20px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);font-weight:var(--udexTypographyFontWeightMedium, 500);overflow-wrap:break-word;margin:0}.udex-feed__footer{margin-block-start:var(--udexSpacer24)}@media (width < 1280px){.udex-feed__pictogram{max-width:var(--udex-feed-pictogram-width-medium);max-height:var(--udex-feed-pictogram-height-medium)}}@media (width < 980px){.udex-feed__pictogram{max-width:var(--udex-feed-pictogram-width-small);max-height:var(--udex-feed-pictogram-height-small)}}
|
|
680
680
|
`;var hs=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let Ea=class extends z{constructor(){super(...arguments),this.buttonDesign=ve.Secondary}get _showPictogram(){return!!this.icon||!!this.imageUrl}get _showImage(){return!this.icon&&!!this.imageUrl}get _imageLabel(){return this.imageLabel||""}handleCTAButtonClick(){this.fireDecoratorEvent("button-click")}};hs([D({type:HTMLElement,individualSlots:!0})],Ea.prototype,"items",void 0);hs([d({type:String})],Ea.prototype,"icon",void 0);hs([d({type:String})],Ea.prototype,"imageUrl",void 0);hs([d({type:String})],Ea.prototype,"imageLabel",void 0);hs([d({type:String})],Ea.prototype,"header",void 0);hs([d({type:String})],Ea.prototype,"button",void 0);hs([d()],Ea.prototype,"buttonDesign",void 0);hs([d()],Ea.prototype,"accessibleName",void 0);Ea=hs([T({tag:"udex-feed",renderer:A,styles:kG,template:wG,dependencies:[CG]}),x("button-click",{cancelable:!0,bubbles:!0})],Ea);Ea.define();function TG(){return l("div",{class:"udex-social-media-button-wrapper",children:g(ei,{href:this.url,target:this.target,"accessible-name":this.buttonAccessibleName,onClick:this.fireLinkClickEvent,children:[l("div",{class:`udex-social-media-button udex-social-media-button-${this.type}`,title:this.buttonAccessibleName,children:this.imageSlot&&l("slot",{})}),l("div",{class:"hidden",children:this.buttonAccessibleName})]})})}var tf;(function(o){o.facebook="facebook",o.instagram="instagram",o.linkedin="linkedin",o.email="email",o.youtube="youtube",o.x="x"})(tf||(tf={}));const IG=tf;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const BG=`:host{--udex-social-media-button-width: var(--udexSpacer32, 32px);--udex-social-media-button-height: var(--udexSpacer32, 32px);--udex-social-media-button-image-width: var(--udexSpacer16, 16px);--udex-social-media-button-image-height: var(--udexSpacer16, 16px);--udex-social-media-button-border-width: var(--udexButtonBorder, 1px);--udex-social-media-button-border-color: var(--sapButton_Neutral_Selected_Background, #FFFFFF);--udex-social-media-button-border-radius: var(--udexRadiusXS, 4px);--udex-social-media-button-background-color: var(--sapButton_Neutral_Background, #FFFFFF);--udex-social-media-button-hover-border-color: var(--sapButton_Neutral_Hover_BorderColor, #A9B4BE);--udex-social-media-button-hover-background-color: var(--sapButton_Neutral_Selected_Background, #FFFFFF);--udex-social-media-button-hover-icon-color: var(--sapButton_Hover_TextColor, #0040B0);--udex-social-media-button-selected-border-color: var(--sapButton_Neutral_Selected_BorderColor, #0040B0);--udex-social-media-button-selected-background-color: var(--sapButton_Neutral_Selected_Background, #FFFFFF);--udexLinkOutlineOffset: calc(-1 * var(--udexRadiusXS, 4px));--udexLinkOutlineRadius: calc(var(--udexRadiusXS, 4px) + 2px)}.udex-social-media-button{width:calc(var(--udex-social-media-button-width) - 2 * var(--udex-social-media-button-border-width));height:calc(var(--udex-social-media-button-height) - 2 * var(--udex-social-media-button-border-width));text-align:center;border-radius:var(--udex-social-media-button-border-radius);background:var(--udex-social-media-button-background-color);border:var(--udex-social-media-button-border-width) solid var(--udex-social-media-button-border-color);display:flex;justify-content:center;align-items:center}.udex-social-media-button svg{max-height:var(--udex-social-media-button-image-height);max-width:var(--udex-social-media-button-image-width)}.udex-social-media-button:hover{background-color:var(--udex-social-media-button-hover-background-color);border-color:var(--udex-social-media-button-hover-border-color)}.udex-social-media-button:hover:not(:active) svg path{fill:var(--udex-social-media-button-hover-icon-color)}.udex-social-media-button:active{background-color:var(--udex-social-media-button-selected-background-color);border-color:var(--udex-social-media-button-selected-border-color)}.hidden{display:none}
|
|
681
681
|
`;var Nl=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},of;const AG="https://cdn.udex.services.sap.com/dds/design-tokens/assets/icons/";let dn=of=class extends z{constructor(){super(...arguments),this.type=IG.email,this.target=$i._blank,this.svgLoaded=!1}fireLinkClickEvent(e){this.fireDecoratorEvent("click",e.detail)||e.preventDefault()}onAfterRendering(){this.imageSlot||this.fetchIconSvg()}async fetchIconSvg(){if(!this.svgLoaded)try{const e=await fetch(`${AG}${this.type}.svg`);if(!e.ok){console.warn("Failed to fetch SVG",e.statusText);return}const t=await e.text();this.updateSvgContent(t)}catch(e){console.warn("Failed to fetch SVG",e)}}updateSvgContent(e){var i;const t=(i=this.shadowRoot)==null?void 0:i.querySelector(".udex-social-media-button");t&&(t.innerHTML=e,this.svgLoaded=!0)}get buttonAccessibleName(){return this.accessibleName||B(of,kD)}get imageSlot(){return!!this.image.length}};Nl([D({type:HTMLElement,default:!0})],dn.prototype,"image",void 0);Nl([d()],dn.prototype,"type",void 0);Nl([d({type:String})],dn.prototype,"url",void 0);Nl([d({type:String})],dn.prototype,"target",void 0);Nl([d({type:String})],dn.prototype,"accessibleName",void 0);Nl([V("@sapudex/web-components")],dn,"i18nBundle",void 0);dn=of=Nl([T({tag:"udex-social-media-button",renderer:A,styles:BG,template:TG}),x("click",{cancelable:!0,bubbles:!0})],dn);dn.define();const T9=dn;var rf;(function(o){o.Start="start",o.End="end"})(rf||(rf={}));const af=rf,EG="back-to-top",DG="M15 0c.292 0 .531.099.719.297A.988.988 0 0 1 16 1a.973.973 0 0 1-.281.719A.974.974 0 0 1 15 2H1a.973.973 0 0 1-.719-.281A.973.973 0 0 1 0 1C0 .73.094.495.281.297A.947.947 0 0 1 1 0h14Zm-3.063 7.469c.25.229.25.468 0 .718-.25.23-.49.23-.718 0L8.5 5.47V15.5c0 .333-.167.5-.5.5-.333 0-.5-.167-.5-.5V5.531L4.844 8.188a.478.478 0 0 1-.344.156.478.478 0 0 1-.344-.156c-.25-.23-.25-.47 0-.72l3.188-3.155c.208-.188.442-.287.703-.297.26-.01.495.088.703.296l3.188 3.157Z",RG=!1,PG=i8,LG="0 0 16 16",NG="SAP-icons-v4",MG="@ui5/webcomponents-icons";U(EG,{pathData:DG,ltr:RG,viewBox:LG,accData:PG,collection:NG,packageName:MG});const OG="back-to-top",FG="m8.547 4.24 3.253 3.5a.75.75 0 0 1-1.1 1.02L8.75 6.663v8.588a.75.75 0 0 1-1.5 0V6.657L5.3 8.76a.75.75 0 0 1-1.1-1.02l3.248-3.5a.757.757 0 0 1 1.099 0ZM14.25 0a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5h12.5Z",zG=!1,$G=i8,HG="0 0 16 16",XG="SAP-icons-v5",UG="@ui5/webcomponents-icons";U(OG,{pathData:FG,ltr:zG,viewBox:HG,accData:$G,collection:XG,packageName:UG});const jG="back-to-top",VG="da",GG="M1.125 5.094 8 14.625l6.906-9.563L12.125 1H4.281L1.125 5.094ZM8 16a.478.478 0 0 1-.406-.219L.094 5.375A.603.603 0 0 1 0 5.062a.45.45 0 0 1 .094-.28L3.656.187A.473.473 0 0 1 4.031 0h8.344c.188 0 .323.073.406.219l3.125 4.562a.457.457 0 0 1 .094.282.603.603 0 0 1-.094.312l-7.5 10.406A.478.478 0 0 1 8 16Zm3.75-10.188c-.542.188-.953.422-1.234.704-.282.28-.506.692-.672 1.234-.063.167-.177.25-.344.25-.167 0-.281-.083-.344-.25-.166-.542-.39-.953-.672-1.234-.28-.282-.692-.516-1.234-.704C7.083 5.771 7 5.668 7 5.5s.083-.281.25-.344c.542-.187.953-.422 1.234-.703.282-.281.506-.693.672-1.234C9.22 3.073 9.333 3 9.5 3c.167 0 .281.073.344.219.166.541.39.953.672 1.234.28.281.692.516 1.234.703.167.063.25.177.25.344a.415.415 0 0 1-.047.188c-.031.062-.099.104-.203.125Z",WG=!0,qG="0 0 16 16",YG="SAP-icons-v4",KG="@ui5/webcomponents-icons";U(VG,{pathData:GG,ltr:WG,viewBox:qG,collection:YG,packageName:KG});const ZG="da",JG="M12 0a.75.75 0 0 1 .62.326l3.25 4.752a.75.75 0 0 1-.018.871l-7.25 9.753a.756.756 0 0 1-1.204 0L.148 5.95a.75.75 0 0 1-.017-.871L3.437.254A.75.75 0 0 1 4 0h8ZM1.67 5.484 8 13.998l6.328-8.514L11.605 1.5h-7.21L1.671 5.484Zm7.5-2.25a.35.35 0 0 1 .66 0c.37 1.084.85 1.575 1.93 1.937.32.11.32.562 0 .662-1.08.371-1.57.853-1.93 1.936a.35.35 0 0 1-.66 0c-.37-1.083-.85-1.575-1.93-1.936-.32-.11-.32-.562 0-.662 1.08-.372 1.57-.853 1.93-1.937Z",QG=!0,eW="0 0 16 16",tW="SAP-icons-v5",oW="@ui5/webcomponents-icons";U(ZG,{pathData:JG,ltr:QG,viewBox:eW,collection:tW,packageName:oW});const iW="da";function rW(){const o="udex-footer";return g("footer",{className:o,children:[g("div",{className:`${o}__content`,children:[g("div",{className:`${o}__contact-social`,children:[this.hasLogo&&g("div",{className:`${o}__logo`,children:[this.hasLogoLink?l("a",{href:this.logoHref,onClick:this._onLogoClick,title:this.logoTitle,"aria-label":this.logoAriaLabel,children:l("img",{id:`${o}__logo-image`,src:this.currentLogoUrl,className:this.logoClass,alt:this.logoAlt})}):l("img",{id:`${o}__logo-image`,src:this.currentLogoUrl,className:this.logoClass,alt:this.logoAlt}),this.hasTagline&&l("img",{id:`${o}__tagline-image`,src:this.currentTaglineUrl,className:this.taglineClass,alt:this.taglineAlt})]}),this.isContactContainerVisible&&g("div",{className:`${o}__contact`,children:[this.askJouleLink&&this.askJoulePosition===af.Start&&c6.call(this,o),this.contactNumbersArray.length>0&&g("div",{className:`${o}__numbers`,children:[l("div",{className:`${o}__icon-container`,children:l(R,{class:`${o}__icon`,name:UF,mode:Fe.Decorative})}),g("div",{children:[l("div",{className:`${o}__numbers-wrapper`,children:this.contactNumbersArray.map((e,t)=>g("div",{children:[l("span",{className:"hidden","aria-hidden":!0,id:`${o}__${t}_phone-label`,children:`${this.phoneNumberAccessibleName} ${e.country} : ${e.number}`}),l("p",{className:`${o}__country`,children:e.country}),l("a",{href:`tel:${e.number}`,className:`${o}__number`,onClick:this._onContactPhoneClick,"aria-labelledby":`${o}__${t}_phone-label`,children:e.number})]},t))}),this.localCountryNumbersLink&&g("p",{className:`${o}__remark`,children:[this.completeListTitle,g(ei,{class:`${o}__remark-link`,onClick:this._onContactPhoneLocalNumbersClick,href:this.localCountryNumbersLink,design:Lh.Subtle,children:[this.localCountryTitle,"."]})]})]})]}),this.contactUsLink&&g("div",{className:`${o}__contact-us`,children:[l("div",{className:`${o}__icon-container`,children:l(R,{class:`${o}__icon`,name:oz,mode:Fe.Decorative})}),l("span",{className:"hidden","aria-hidden":!0,id:`${o}__contact-us-label`,children:this.contactUsAccessibleLabel}),l("a",{href:this.contactUsLink,className:`${o}__contact-us-link`,"aria-labelledby":`${o}__contact-us-label`,onClick:this._onContactEmailClick,children:this.contactUsAccessibleName})]}),this.chatWithUsLink&&g("div",{className:`${o}__chat-with-us`,children:[l("div",{className:`${o}__icon-container`,children:l(R,{class:`${o}__icon`,name:CF,mode:Fe.Decorative})}),l("a",{href:this.chatWithUsLink,className:`${o}__chat-with-us-link`,onClick:this._onContactChatClick,children:this.chatWithUsAccessibleName})]}),this.askJouleLink&&this.askJoulePosition===af.End&&c6.call(this,o)]})]}),l(hl,{class:`${o}__divider`,accessibleRole:"none"}),this._shouldRenderMobileMenu?aW.call(this,o):nW.call(this,o),l(hl,{class:`${o}__divider`,accessibleRole:"none"}),g("div",{className:`${o}__copyright`,children:[this.isChineseLang&&g("span",{className:`${o}__copyright-chinese-text`,children:[l(ei,{href:this.chineseIcpNumberLink,title:this.chineseICPNumberText,design:"Subtle",class:`${o}__copyright-chinese-link`,target:"_blank",children:this.chineseICPNumberText}),this.chineseSecurityNetworkNumberText]}),l("span",{className:`${o}__copyright-text`,children:this.copyrightText})]}),(this.socialLinksArray.length>0||this.hasSocialLinksSlot)&&g("ul",{className:`${o}__social-container`,children:[this.socialLinksArray.map((e,t)=>l(T9,{role:"listitem",type:e.name,url:e.url,target:e.target,"accessible-name":e.accessibleName,"data-name":e.name,"data-id":e.id,"onui5-click":this._onSocialMediaLinkClick},t)),this.hasSocialLinksSlot&&l(P,{children:this.customSocialLinks.map(e=>l("slot",{name:e._individualSlot}))})]})]}),l(me,{class:`${o}__back-to-top-button`,icon:jG,onClick:this.onBackToTopClick,design:ve.Tertiary,size:ye.Large,tooltip:this.backToTopTitle})]})}function aW(o){return g(P3,{class:`${o}__accordion`,children:[this.quickLinksArray.length>0&&l(P,{children:g(Fc,{onAccordionItemClick:this.handleAccordionItemClick,label:this._quickLinksTitle,class:`${o}__action-item`,children:[l("ul",{className:`${o}__links-list udex-footer__links-list--mobile`,children:this.quickLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,href:e.url,"data-id":e.id,onClick:this._onQuickLinksClick,...e.role?{role:e.role}:{},children:e.title})},t))}),l("h6",{className:`${o}__links-item hidden`,"aria-hidden":"true",id:`${o}__quick-links`,children:this._quickLinksTitle})]})}),this.trendingLinksArray.length>0&&l(P,{children:g(Fc,{onAccordionItemClick:this.handleAccordionItemClick,label:this._trendingTitle,class:`${o}__action-item`,children:[l("ul",{className:`${o}__links-list ${o}__links-list--mobile`,children:this.trendingLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,href:e.url,"data-id":e.id,onClick:this._onTrendingClick,...e.role?{role:e.role}:{},children:e.title})},t))}),l("h6",{className:`${o}__links-item hidden`,"aria-hidden":"true",id:`${o}__trending`,children:this._trendingTitle})]})}),this.aboutLinksArray.length>0&&l(P,{children:g(Fc,{onAccordionItemClick:this.handleAccordionItemClick,label:this._aboutSapTitle,class:`${o}__action-item`,children:[l("ul",{className:`${o}__links-list ${o}__links-list--mobile`,children:this.aboutLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,href:e.url,"data-id":e.id,onClick:this._onAboutSapClick,...e.role?{role:e.role}:{},children:e.title})},t))}),l("h6",{className:`${o}__links-item hidden`,"aria-hidden":"true",id:`${o}__about`,children:this._aboutSapTitle})]})}),this.siteInformationLinksArray.length>0&&l(P,{children:g(Fc,{onAccordionItemClick:this.handleAccordionItemClick,label:this._siteInformationTitle,class:`${o}__action-item`,children:[l("ul",{className:`${o}__links-list rootClass__links-list--mobile`,children:this.siteInformationLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,href:e.url,"data-id":e.id,onClick:this._onSiteInformationClick,...e.role?{role:e.role}:{},children:e.title})},t))}),l("h6",{className:`${o}__links-item hidden`,"aria-hidden":"true",id:`${o}__site-information`,children:this._siteInformationTitle})]})})]})}function nW(o){return g("div",{className:`${o}__links`,children:[this.quickLinksArray.length>0&&g("div",{className:`${o}__links-group ${o}__quick-links`,children:[l("h6",{className:`${o}__links-item`,id:`${o}__quick-links`,children:this._quickLinksTitle}),l("nav",{children:l("ul",{"aria-labelledby":`${o}__quick-links`,className:`${o}__links-list ${o}__links-list--desktop`,children:this.quickLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,"data-id":e.id,href:e.url,onClick:this._onQuickLinksClick,...e.role?{role:e.role}:{},children:l("span",{className:"udex-footer__nav-link-text",children:e.title})})},t))})})]}),this.trendingLinksArray.length>0&&g("div",{className:`${o}__links-group ${o}__trending-links`,children:[l("h6",{className:`${o}__links-item`,id:`${o}__trending`,children:this._trendingTitle}),l("nav",{children:l("ul",{"aria-labelledby":`${o}__trending`,className:`${o}__links-list ${o}__links-list--desktop`,children:this.trendingLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,"data-id":e.id,href:e.url,onClick:this._onTrendingClick,...e.role?{role:e.role}:{},children:l("span",{className:"udex-footer__nav-link-text",children:e.title})})},t))})})]}),this.aboutLinksArray.length>0&&g("div",{className:`${o}__links-group ${o}__about-links`,children:[l("h6",{className:`${o}__links-item`,id:`${o}__about`,children:this._aboutSapTitle}),l("nav",{children:l("ul",{"aria-labelledby":`${o}__about`,className:`${o}__links-list ${o}__links-list--desktop`,children:this.aboutLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,"data-id":e.id,href:e.url,onClick:this._onAboutSapClick,...e.role?{role:e.role}:{},children:l("span",{className:"udex-footer__nav-link-text",children:e.title})})},t))})})]}),this.siteInformationLinksArray.length>0&&g("div",{className:`${o}__links-group ${o}__site-information-links`,children:[l("h6",{className:`${o}__links-item`,id:`${o}__site-information`,children:this._siteInformationTitle}),l("nav",{children:l("ul",{"aria-labelledby":`${o}__site-information`,className:`${o}__links-list ${o}__links-list--desktop`,children:this.siteInformationLinksArray.map((e,t)=>l("li",{children:l("a",{target:e.target,"data-id":e.id,href:e.url,onClick:this._onSiteInformationClick,...e.role?{role:e.role}:{},children:l("span",{className:"udex-footer__nav-link-text",children:e.title})})},t))})})]})]})}function c6(o){return g("div",{className:`${o}__ask-joule`,children:[l("div",{className:`${o}__icon-container`,children:l(R,{class:`${o}__icon`,name:iW,mode:Fe.Decorative})}),l("a",{href:this.askJouleLink,className:`${o}__ask-joule-link`,onClick:this._onAskJouleClick,children:this.askJouleAccessibleName})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const sW=`:host{--udex-footer-container-xl-max-width: 1432px;--udex-footer-container-l-max-width: 1456px;--udex-footer-background-color: var(--udexColorGrey2, #EAECEE);--udex-footer-icon-color: var(--udexColorGrey9, #223548);--udex-footer-text-color: var(--sapShell_NeutralColor, #475E75);--udex-footer-expandable-link-text-color: var(--sapTitleColor, #000);--udex-footer-expandable-link-underline-border: var(--sapNeutralBorderColor, #A9B4BE);--udex-footer-link-color-heading: var(--sapShell_GroupTitleTextColor, #354A5F);--udex-footer-link-color: var(--sapShell_InteractiveTextColor, #354A5F);--udex-footer-tagline-max-width: 235px;--udex-footer-tagline-chinese-max-width: 93px;--udex-footer-logo-max-width: 66px;--udex-footer-logo-chinese-max-width: 139px;display:block;container-type:inline-size;width:100%}:host a{text-decoration:none;color:var(--udex-footer-link-color)}:host a:hover{text-decoration:underline}.udex-footer{background:var(--udex-footer-background-color);padding:var(--udexSpacer72) var(--udexSpacer84);font-family:var(--sapFontFamily);color:var(--udex-footer-text-color);position:relative}.udex-footer__content{display:flex;flex-wrap:wrap;position:relative;justify-content:space-between;margin:0 auto;max-width:var(--udex-footer-container-xl-max-width);column-gap:var(--udexSpacer48)}.udex-footer__contact-social{position:relative;flex:1 0 24.8%}.udex-footer__back-to-top-button{position:absolute;top:var(--udexSpacer48);right:var(--udexSpacer24);left:auto;bottom:auto}.udex-footer__back-to-top-button:dir(rtl){left:var(--udexSpacer24);right:auto}.udex-footer__logo{display:flex;align-items:start;margin-bottom:var(--udexSpacer48)}.udex-footer__logo a{display:inline-flex}.udex-footer__logo-image{height:32px;max-width:var(--udex-footer-logo-max-width)}.udex-footer__logo-image-chinese{width:var(--udex-footer-logo-chinese-max-width)}.udex-footer__contact-social,.udex-footer__numbers-wrapper,.udex-footer__contact{display:flex;flex-direction:column}.udex-footer__contact>div{display:flex;margin-bottom:var(--udexSpacer20)}.udex-footer__numbers-wrapper{gap:var(--udexSpacer20)}.udex-footer__icon-container{box-sizing:border-box;display:flex;justify-content:center;align-items:center;width:26px;height:26px;padding:var(--udexSpacer4);margin-inline-end:var(--udexSpacer16)}.udex-footer__contact .udex-footer__icon{width:18px;height:18px;color:var(--udex-footer-icon-color)}.udex-footer__country,.udex-footer__chat-with-us-link,.udex-footer__contact-us-link,.udex-footer__ask-joule{font-size:var(--udexTypographyBodyXSFontSize);line-height:21px}.udex-footer__ask-joule{align-items:center}.udex-footer__number{font-size:var(--udexTypographyHeadingMediumXXSFontSize);font-weight:var(--udexTypographyFontWeightMedium);line-height:22px}.udex-footer__remark,.udex-footer__remark-link{font-size:var(--udexTypographyBodyXXSFontSize);line-height:18px}.udex-footer__country{margin:0 0 var(--udexSpacer2)}.udex-footer__remark,.udex-footer__number{margin:var(--udexSpacer2) 0 0}.hidden,.udex-footer__divider,.udex-footer__action-item,.udex-footer__accordion::part(head){display:none}.udex-footer__social-container{display:flex;flex-wrap:wrap;width:100%;list-style-type:none;margin-block:0;padding-inline-start:0;padding-top:var(--udexSpacer20);row-gap:var(--udexSpacer12);column-gap:var(--udexSpacer12)}.udex-footer__links{display:flex;gap:var(--udexSpacer48);flex:1 1 59%}.udex-footer__links-group{flex-basis:21.5%}.udex-footer__links>div{margin:0}.udex-footer__links-list{list-style:none;margin:0;padding:0}.udex-footer__links-item{font-size:var(--udexTypographyNavigationMediumXLFontSize);line-height:18px;font-weight:var(--udexTypographyFontWeightMedium);color:var(--udex-footer-link-color-heading);margin:0 0 var(--udexSpacer20)}.udex-footer__links-list li a{padding:var(--udexSpacer8) 0;font-size:var(--udexTypographyBodyXSFontSize);line-height:var(--udexTypographyBodyLineHeight, 1.5);display:inline-block;box-sizing:border-box;position:relative}:host([desktop]) .udex-footer a:focus,.udex-footer a:focus-visible{outline:solid var(--udexSpacer2, 2px) var(--sapContent_FocusColor, #0040B0);border-radius:var(--udexRadiusXXS, 2px)}.udex-footer__contact-us,.udex-footer__chat-with-us{align-items:center}.udex-footer__copyright{display:flex;flex-direction:column;font-size:var(--udexTypographyBodyXSFontSize);line-height:var(--udexTypographyBodyLineHeight);padding-top:var(--udexSpacer32)}:host .udex-footer__copyright-chinese-link{--udex-link-font-size: inherit;--udex-link-subtle-color: var(--udex-footer-text-color)}.udex-footer__tagline-image,.udex-footer__tagline-image-chinese{margin-inline-start:var(--udexSpacer4);width:100%}.udex-footer__tagline-image-chinese{max-width:var(--udex-footer-tagline-chinese-max-width)}.udex-footer__tagline-image{max-width:var(--udex-footer-tagline-max-width)}.udex-footer__links-list--desktop li a:hover{text-decoration:none}.udex-footer__nav-link-text{background-image:linear-gradient(currentColor,currentColor);background-size:0% 1px;background-repeat:no-repeat;background-position:0% 100%;transition:background-size .3s linear}.udex-footer__nav-link-text:dir(rtl){background-position:100% 100%}.udex-footer__links-list--desktop li a:not(:focus-visible):hover .udex-footer__nav-link-text,.udex-footer__links-list--desktop li a:focus-visible .udex-footer__nav-link-text{background-size:100% 1px}:host([desktop]) .udex-footer__links-list--desktop li a:not(:focus):hover .udex-footer__nav-link-text,:host([desktop]) .udex-footer__links-list--desktop li a:focus .udex-footer__nav-link-text{background-size:100% 1px}.udex-footer__number,.udex-footer__contact-us-link,.udex-footer__chat-with-us-link,.udex-footer__ask-joule-link{position:relative}:host .udex-footer__number:hover,:host .udex-footer__contact-us-link:hover,:host .udex-footer__chat-with-us-link:hover,:host .udex-footer__ask-joule-link:hover{text-decoration:none}.udex-footer__number:after,.udex-footer__contact-us-link:after,.udex-footer__chat-with-us-link:after,.udex-footer__ask-joule-link:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background-color:var(--udex-footer-link-color);transform:scaleX(0);transform-origin:left center;transition:transform .3s linear;pointer-events:none}.udex-footer__number:after{height:2px}.udex-footer__number:dir(rtl):after,.udex-footer__contact-us-link:dir(rtl):after,.udex-footer__chat-with-us-link:dir(rtl):after,.udex-footer__ask-joule-link:dir(rtl):after{transform-origin:right center}.udex-footer__number:not(:focus-visible):hover:after,.udex-footer__contact-us-link:not(:focus-visible):hover:after,.udex-footer__chat-with-us-link:not(:focus-visible):hover:after,.udex-footer__ask-joule-link:not(:focus-visible):hover:after,:host([desktop]) .udex-footer__number:not(:focus):hover:after,:host([desktop]) .udex-footer__contact-us-link:not(:focus):hover:after,:host([desktop]) .udex-footer__chat-with-us-link:not(:focus):hover:after,:host([desktop]) .udex-footer__ask-joule-link:not(:focus):hover:after{transform:scaleX(1)}@media (prefers-reduced-motion: reduce){.udex-footer__nav-link-text,.udex-footer__number:after,.udex-footer__contact-us-link:after,.udex-footer__chat-with-us-link:after,.udex-footer__ask-joule-link:after{transition:none}}@media (width < 1600px){.udex-footer{padding:var(--udexSpacer72)}.udex-footer__content{max-width:var(--udex-footer-container-l-max-width)}}@media (width < 1280px){.udex-footer__action-item{--udex-accordion-item-header-padding: var(--udexSpacer16) var(--udexSpacer12) var(--udexSpacer16) var(--udexSpacer8);--udex-accordion-item-content-padding: var(--udexSpacer12) var(--udexSpacer16) var(--udexSpacer12) var(--udexSpacer8)}.udex-footer__links-list li:not(:last-child){margin-bottom:var(--udexSpacer8)}.udex-footer__back-to-top-button{top:var(--udexSpacer40)}.udex-footer{padding:var(--udexSpacer40) var(--udexSpacer84)}.udex-footer__copyright{padding:0}.udex-footer__content{flex-direction:column;flex-wrap:nowrap;gap:var(--udexSpacer20)}.udex-footer__logo{margin-bottom:var(--udexSpacer32)}.udex-footer__logo:only-child{margin-bottom:0}.udex-footer__contact-us,.udex-footer__chat-with-us,.udex-footer__contact>div{margin-bottom:auto}.udex-footer__social-container{padding-top:0}.udex-footer__back-to-top-button{right:var(--udexSpacer16)}.udex-footer__back-to-top-button:dir(rtl){left:var(--udexSpacer16)}.udex-footer__contact{gap:var(--udexSpacer48);flex-direction:row}.udex-footer__divider{display:block}.udex-footer__contact>div,.udex-footer__links-group{flex:1}.udex-footer__links{flex:1 1 auto}}@media (width < 980px){.udex-footer{padding:var(--udexSpacer40) var(--udexSpacer48) var(--udexSpacer120) var(--udexSpacer48)}.udex-footer__back-to-top-button{bottom:38px;left:var(--udexSpacer48);top:auto;right:auto}.udex-footer__back-to-top-button:dir(rtl){bottom:38px;right:var(--udexSpacer48);top:auto;left:auto}.udex-footer__content{gap:var(--udexSpacer20)}.udex-footer__contact{gap:var(--udexSpacer20);flex-direction:column}.udex-footer__action-item{--udex-accordion-border-width: 1px;--udex-accordion-item-title-font-weight: var(--udexTypographyFontWeightRegular);--udex-accordion-item-headline-font-size: var(--udexTypographyHeadingRegularXXXXSFontSize);--udex-accordion-item-headline-color: var(--udex-footer-expandable-link-text-color);--udex-accordion-item-border-color: var(--udex-footer-expandable-link-underline-border);display:block;width:100%}.udex-footer__links,.udex-footer__divider{display:none}.udex-footer__accordion{padding:var(--udexSpacer12) 0}}@media (width < 640px){.udex-footer{padding:var(--udexSpacer40) var(--udexSpacer24) var(--udexSpacer120)}.udex-footer__back-to-top-button{left:var(--udexSpacer24)}.udex-footer__back-to-top-button:dir(rtl){right:var(--udexSpacer24)}}
|
|
@@ -706,12 +706,12 @@ or import '@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css'`)};doc
|
|
|
706
706
|
`;var Ei=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},df,Qa;(function(o){o.Heading="Heading",o.Button="Button",o.Link="Link"})(Qa||(Qa={}));let So=df=class extends z{constructor(){super(...arguments),this.type=Qa.Link,this.target=$i._self}onEnterDOM(){se()&&this.setAttribute("desktop","")}get rootClass(){const e="udex-masthead-menu-item",t=this.badge?`${e}_badge`:"";return`${this.isHeadingType?`${e}_is-header`:`${e}_is-list`} ${t}`}get labelClass(){const e="udex-masthead-menu-item__label";return this.externalLink?`${e} ${e}__label_with-icon`:`${e}`}get isHeadingType(){return this.type===Qa.Heading}get isButtonType(){return this.type===Qa.Button}get isActive(){return!!this.url&&!this.isButtonType}get targetLink(){return this.externalLink?this.externalLink?$i._blank:$i._self:this.target}get lastWordOfLabel(){return this.label.split(" ").pop()}get leadingWordsOfLabel(){return`${this.label.split(" ").slice(0,-1).join(" ")} `}get openInNewWindowText(){return B(df,w3)}get ariaDescribedby(){return this.externalLink?"new-win-desc":null}get accessibleRoleText(){return this.accessibleRole?this.accessibleRole:"menuitem"}get partAttr(){return this.badge?"menu-item-link-badge":"menu-item-link"}};Ei([d()],So.prototype,"type",void 0);Ei([d({type:String})],So.prototype,"accessibleRole",void 0);Ei([d()],So.prototype,"label",void 0);Ei([d()],So.prototype,"url",void 0);Ei([d()],So.prototype,"badge",void 0);Ei([d({type:Boolean})],So.prototype,"externalLink",void 0);Ei([d({type:Boolean})],So.prototype,"hasBorder",void 0);Ei([d({type:Boolean})],So.prototype,"iconStart",void 0);Ei([d({type:Boolean})],So.prototype,"iconEnd",void 0);Ei([d({type:Number})],So.prototype,"index",void 0);Ei([d({type:String})],So.prototype,"ariaHasPopup",void 0);Ei([d()],So.prototype,"target",void 0);Ei([d()],So.prototype,"_accessibleName",void 0);Ei([d({type:String})],So.prototype,"_tabIndex",void 0);Ei([V("@sapudex/web-components")],So,"i18nBundle",void 0);So=df=Ei([T({tag:"udex-masthead-menu-item",languageAware:!0,renderer:A,styles:KW,template:VW,dependencies:[R]})],So);So.define();const it=So;function ZW(){return l("div",{class:"udex-masthead-country-selector",children:this._isActiveRegionOpen?JW.call(this):QW.call(this)})}function JW(){var o;return g(P,{children:[l("span",{class:"udex-masthead-country-selector__title",children:this.countryTitle}),!this.isSingleMode&&l(it,{class:"udex-masthead-country-selector__region-back-item","accessible-role":"button",onClick:this.backToRegions,label:(o=this._activeRegion)==null?void 0:o.title,type:"Button",part:"menu-item","icon-start":!0,"_accessible-name":this.backToRegionListAccessibleName,"is-back":""}),!this.hideSearch&&g(P,{children:[l(R5,{class:"udex-masthead-country-selector__search","onui5-handle-value-search":this.handleSearch,"onui5-handle-value-reset":this.handleSearchReset,"onui5-submit-search-value":this.handleSearch,"language-voice":this.languageVoice,label:this.searchLabel,"accessible-name":this.accessibleNameSearch,"accessible-name-reset-icon":this.accessibleNameSearchResetIcon,mode:this.homeSearchMode,"show-voice-button":this.showSearchVoiceButton,"non-interactive-submit-button":!0,"show-submit-button":!0}),l("span",{"aria-live":"polite","aria-atomic":"true",class:"hidden",children:this._accSearchResultInfo})]}),l("div",{class:"udex-masthead-country-selector__list-container",children:l("div",{class:"udex-masthead-country-selector__list-wrap",onScroll:this.handleCountryListShadowVisible,children:l("ul",{class:"udex-masthead-country-selector__list udex-masthead-country-selector__list_countries",children:this._activeCountries.map((e,t)=>l("li",{children:l(it,{class:"udex-masthead-country-selector__item udex-masthead-country-selector__item_countries",onClick:this.handleCountryClick,"accessible-role":"link",url:e.url,label:e.displayTitle,index:t,part:"menu-item","_country-code":e.countryCode,"is-nav-item":"",...e.active?{"_is-active-country":""}:{}})},t))})})})]})}function QW(){return g(P,{children:[l("span",{class:"udex-masthead-country-selector__title",children:this.regionTitle}),l("ul",{class:"udex-masthead-country-selector__list",children:this.regionsData.map((o,e)=>l("li",{children:l(it,{onClick:this.handleRegionClick,index:e,"accessible-role":"button",class:"udex-masthead-country-selector__item udex-masthead-country-selector__item_region","aria-haspopup":"true",type:"Button",part:"menu-item","has-border":!0,"icon-end":!0,label:o.title,"is-nav-item":""})},e))})]})}var lf;(function(o){o.Header="header",o.HeaderSub="header-sub"})(lf||(lf={}));const Jo=lf;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const eq=`:host{--udex-masthead-country-selector-desktop-max-height: 375px;--udex-masthead-country-selector-title-border-color: var(--udexColorGrey2, #EAECEE);--udex-masthead-country-selector-title-color: var(--udexColorNeutralBlack, #000000)}.udex-masthead-country-selector__title{font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightMedium);font-size:var(--udexTypographyBodyXSFontSize);line-height:var(--udexTypographyHeadingLineHeight);color:var(--sapTitleColor);padding:var(--udexSpacer16) 0;display:block;text-align:center}:host(:not([_is-active-region-open])) .udex-masthead-country-selector__title{border-bottom:1px solid var(--udex-masthead-country-selector-title-border-color)}.udex-masthead-country-selector__list{list-style:none;margin:0;padding:0}.udex-masthead-country-selector__search{margin:var(--udexSpacer2) 0 var(--udexSpacer16)}.udex-masthead-country-selector__region-back-item::part(menu-item-button){font-weight:var(--udexTypographyFontWeightMedium, 500);color:var(--udex-masthead-country-selector-title-color);justify-content:space-between}.udex-masthead-country-selector__region-back-item::part(left){margin-inline-end:var(--udexSpacer4);margin-inline-start:0}.udex-masthead-country-selector__region-back-item::part(menu-item-button):after{content:""}.udex-masthead-country-selector__region-back-item,.udex-masthead-country-selector__item{--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12)}.udex-masthead-country-selector__item::part(menu-item-link),.udex-masthead-country-selector__item_countries{--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer8);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12)}.udex-masthead-country-selector__item::part(menu-item-link){width:100%}[_is-active-country].udex-masthead-country-selector__item::part(menu-item-link){font-weight:var(--udexTypographyFontWeightMedium, 500)}.udex-masthead-country-selector__list-wrap{max-height:var(--udex-masthead-country-selector-desktop-max-height);overflow:auto}:host([_is-mobile-mode]) .udex-masthead-country-selector__list-wrap{max-height:initial}.hidden{position:absolute;width:0;height:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0;padding:0}:host([_is-mobile-mode]) .udex-masthead-country-selector__item::part(menu-item-link){--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12)}:host([_is-mobile-mode]) .udex-masthead-country-selector__list-container{height:100%;overflow:auto}:host([_is-mobile-mode]) .udex-masthead-country-selector__list-wrap{height:100%;overflow:auto;max-height:initial}:host([_is-mobile-mode]) .udex-masthead-country-selector{height:100%;box-sizing:border-box;display:flex;flex-direction:column;padding-bottom:var(--udexSpacer24)}:host([_is-mobile-mode]) .udex-masthead-country-selector__item_countries{--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12);border-bottom:1px solid var(--udex-masthead-menu-item-border-color);max-height:initial;overflow:initial}:host([_is-mobile-mode]) .udex-masthead-country-selector{min-height:100%;box-sizing:border-box}.udex-masthead-country-selector__list-container{position:relative}:host(:dir(rtl)) .udex-masthead-country-selector__list-wrap_scrollable:before{left:0;right:0}.udex-masthead-country-selector__list-wrap_scrollable:before{content:"";position:absolute;left:0;right:0;bottom:0;height:40px;z-index:var(--udexZIndex1, 1);background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#FFFFFF 100%)}:host([desktop]) .udex-masthead-country-selector__list-wrap_scrollable:before{right:15px}:host([desktop]:dir(rtl)) .udex-masthead-country-selector__list-wrap_scrollable:before{left:15px;right:0}@media (width < 1280px){.udex-masthead-country-selector__list-wrap{height:100%;overflow:auto;max-height:initial}.udex-masthead-country-selector{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.udex-masthead-country-selector__item_countries{--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12);border-bottom:1px solid var(--udex-masthead-menu-item-border-color)}.udex-masthead-country-selector__list-container{height:100%;overflow:auto;padding-bottom:var(--udexSpacer24)}.udex-masthead-country-selector__list-wrap_scrollable:before{bottom:24px}}@media (max-height: 550px){.udex-masthead-country-selector__list-container{min-height:100px}}
|
|
707
707
|
`;var Di=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Kc;let zo=Kc=class extends z{constructor(){super(),this._requestRender=!1,this._countriesListHolderClassName="udex-masthead-country-selector__list-wrap",this._itemClassName="udex-masthead-country-selector__item",this._activeCountries=[],this._boundHandleActiveRegionClose=this.handleActiveRegionClose.bind(this)}onEnterDOM(){var e;se()&&this.setAttribute("desktop",""),(e=this.closest("[udex-masthead-item]"))==null||e.addEventListener("dropdown-closed",this._boundHandleActiveRegionClose)}onExitDOM(){var e;(e=this.closest("[udex-masthead-item]"))==null||e.removeEventListener("dropdown-closed",this._boundHandleActiveRegionClose)}onAfterRendering(){this._mastheadShell=this.mastheadShell,this.handleFocusItem(),this.handleOutsideClick(),this.isSingleMode&&this.handleSingleRegionMode(),this._activeCountries&&this.checkScrollableCountriesList()}handleActiveRegionClose(){this.isSingleMode||(this.handleSearchReset(),this._isActiveRegionOpen=!1,this.setActiveRegion(null))}handleRegionClick(e){this.openCountriesByRegion(e),this.fireEventRegionItemClick(e)}handleCountryClick(e){this.fireEventCountryItemClick(e),this._mastheadShell&&this.isMobile&&this.closeMenu()}handleSearch(e){const t=e.detail.value.toLowerCase().trim();if(!this._activeRegion||!this._activeRegion.countries){this.setActiveCountries([]);return}t?this.setActiveCountries(this._activeRegion.countries.filter(i=>i.displayTitle.toLowerCase().includes(t))):this.setActiveCountries([...this._activeRegion.countries]),this._accSearchResultInfo=this._activeCountries.length?`${this._activeCountries.length} ${this.resultReturnedText}`:this.noMatchesFoundText,this._shouldFocusBackBtn=!1,this.fireDecoratorEvent("country-selector-search",{value:e.detail.value,analyticsName:Jo.Header}),this.refreshRendering()}handleSearchReset(){var e;this.setActiveCountries([...((e=this._activeRegion)==null?void 0:e.countries)||[]]),this.refreshRendering()}handleFocusItem(){this._shouldFocusBackBtn&&this.focusBackBtn(),this._shouldFocusRegionByIndex&&this.focusRegionByIndex()}refreshRendering(){this._requestRender=!this._requestRender}handleOutsideClick(){document.addEventListener("mousedown",e=>{e.target!==this&&!this.isMobile&&this.handleActiveRegionClose()})}openCountriesByRegion(e){const t=e.target,i=this.regionsData[t.index];this.setActiveRegion(i),this.setActiveCountries(i.countries),this._isActiveRegionOpen=!0,this._activeRegionIndex=t.index,this._shouldFocusBackBtn=!0,this._shouldFocusRegionByIndex=!1}backToRegions(){this._isActiveRegionOpen=!1,this.setActiveRegion(null),this._shouldFocusRegionByIndex=!0}focusNextItem(e){const t=e.index,i=t+1,a=this.items[i];this.items[t]._tabIndex="-1",a._tabIndex="0",a.scrollIntoView({block:"center"}),a.focus({preventScroll:!0})}focusPreviousItem(e){const t=e.index,i=t-1,a=this.items[i];this.items[t]._tabIndex="-1",a._tabIndex="0",a.scrollIntoView({block:"center"}),a.focus({preventScroll:!0})}focusFirstItem(){const e=this.items[0];e._tabIndex="0",e.focus()}handleSingleRegionMode(){this.setActiveRegion(this.regionsData[0]),this.setActiveCountries([...this.regionsData[0].countries]),this._isActiveRegionOpen=!0}focusBackBtn(){var t;const e=((t=this.shadowRoot)==null?void 0:t.querySelector(".udex-masthead-country-selector__region-back-item"))||null;e==null||e.focus()}focusRegionByIndex(){var t;(((t=this.shadowRoot)==null?void 0:t.querySelectorAll(".udex-masthead-country-selector__item_region"))||[])[this._activeRegionIndex].focus()}fireEventRegionItemClick(e){var i,a;const t=e.target;this.fireDecoratorEvent("region-item-click",{item:{title:t.label,countries:((i=this._activeRegion)==null?void 0:i.countries)||[]},originalEvent:e,analyticsName:Jo.Header,sourceNode:(a=t.shadowRoot)==null?void 0:a.querySelector(".udex-masthead-menu-item")})}fireEventCountryItemClick(e){var r;const t=e.target,{label:i,url:a}=t;this.fireDecoratorEvent("country-item-click",{item:{displayTitle:i,countryCode:t.getAttribute("_country-code")||"",url:a||""},originalEvent:e,analyticsName:Jo.Header,sourceNode:(r=t.shadowRoot)==null?void 0:r.querySelector(".udex-masthead-menu-item")})}setActiveRegion(e){this._activeRegion=e}setActiveCountries(e){this._activeCountries=e}closeMenu(){var e;this._mastheadShell.closeMobileMenu(),(e=this._mastheadShell.mobileBtn)==null||e.focus()}checkScrollableCountriesList(){this.countryListHolder&&requestAnimationFrame(()=>{this.isScrollableCountriesList?this.addScrollableClassToCountryList():this.removeScrollableClassInCountryList()})}handleCountryListShadowVisible(){this.scrollBottomCountriesList<=1?this.removeScrollableClassInCountryList():this.addScrollableClassToCountryList()}addScrollableClassToCountryList(){this.countryListHolder.classList.add(`${this._countriesListHolderClassName}_scrollable`)}removeScrollableClassInCountryList(){this.countryListHolder.classList.remove(`${this._countriesListHolderClassName}_scrollable`)}isActiveCountry(e,t){var r,n;const i=((r=this.activeCountryUrl)==null?void 0:r.toUpperCase())===t.toUpperCase(),a=((n=this.activeCountryCode)==null?void 0:n.toUpperCase())===e.toUpperCase();return i&&a}get scrollBottomCountriesList(){const e=this.countryListHolder;return e.scrollHeight-e.scrollTop-e.clientHeight}get isScrollableCountriesList(){const e=this.countryListHolder;return e?e.scrollHeight>e.clientHeight:!1}get countryListHolder(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(`.${this._countriesListHolderClassName}`)}get noMatchesFoundText(){return B(Kc,U0)}get resultReturnedText(){return B(Kc,y3)}get items(){var t;const e=(t=this.shadowRoot)==null?void 0:t.querySelectorAll(`.${this._itemClassName}`);return e?Array.from(e):[]}get regionsData(){return(this.regions?JSON.parse(this.regions):[]).map(t=>({...t,countries:t.countries.map(i=>({...i,active:this.isActiveCountry(i.countryCode,i.url)}))}))}get homeSearchMode(){return or.HomeSearch}get isSingleMode(){return this.regionsData.length===1}get isMobile(){var e;return io.isAtMost("M")||((e=this.mastheadShell)==null?void 0:e._isMobileMode)}get mastheadShell(){return document.querySelector("[udex-masthead-shell]")}get backToRegionListAccessibleName(){var e;return`${(e=this._activeRegion)==null?void 0:e.title} ${B(Kc,OE)}`}};Di([d({type:String})],zo.prototype,"activeCountryCode",void 0);Di([d({type:String})],zo.prototype,"activeCountryUrl",void 0);Di([d({type:String})],zo.prototype,"regionTitle",void 0);Di([d({type:String})],zo.prototype,"countryTitle",void 0);Di([d()],zo.prototype,"regions",void 0);Di([d()],zo.prototype,"searchLabel",void 0);Di([d({type:Boolean})],zo.prototype,"showSearchVoiceButton",void 0);Di([d({type:Boolean})],zo.prototype,"hideSearch",void 0);Di([d()],zo.prototype,"languageVoice",void 0);Di([d()],zo.prototype,"accessibleNameSearch",void 0);Di([d()],zo.prototype,"accessibleNameSearchResetIcon",void 0);Di([d({type:Boolean})],zo.prototype,"_isActiveRegionOpen",void 0);Di([d({type:Boolean})],zo.prototype,"_isMobileMode",void 0);Di([d({type:Boolean,noAttribute:!0})],zo.prototype,"_requestRender",void 0);Di([V("@sapudex/web-components")],zo,"i18nBundle",void 0);zo=Kc=Di([T({tag:"udex-masthead-country-selector",renderer:A,styles:eq,template:ZW,dependencies:[R,it]}),x("region-item-click",{bubbles:!0}),x("country-item-click",{bubbles:!0}),x("country-selector-search",{bubbles:!0})],zo);zo.define();function tq(){return g("div",{class:`udex-masthead-menu ${this.oneRowClass}`,part:"menu",onKeyDown:this.handleKeyDown,children:[this.menuTitle&&l("div",{class:"udex-masthead-menu__title",children:this.menuTitle}),this.itemsList.map((o,e)=>l("div",{class:"udex-masthead-menu__row",children:o.subMenuLinkItems.map(t=>g("div",{class:"udex-masthead-menu__column",part:"column",children:[t.category&&oq.call(this,t),iq.call(this,t)]},t.categoryId))},e))]})}function oq(o){return l("div",{class:"udex-masthead-menu__header",children:o.url?this._isMobileMode?g(P,{children:[l(it,{id:`category-${o.categoryId}`,type:"Heading",part:"menu-item",exportparts:"menu-item",label:o.category,"has-border":!0}),l(it,{part:"menu-item","accessible-role":"link",exportparts:"menu-item",label:this.overviewHeaderLinkText,url:o.url,"has-border":!0})]}):l(it,{id:`category-${o.categoryId}`,type:"Heading",part:"menu-item",exportparts:"menu-item","accessible-role":"link",onClick:this.handleMenuItemClick,url:o.url,label:o.category,"icon-end":!0,"has-border":!0}):l(it,{id:`category-${o.categoryId}`,type:"Heading",part:"menu-item",exportparts:"menu-item",label:o.category,"has-border":!0})})}function iq(o){return l("ul",{class:"udex-masthead-menu__list","aria-labelledby":`category-${o.categoryId}`,category:o.category,children:o.items.map((e,t)=>l("li",{children:e.isDivider?l(hl,{class:"udex-masthead-menu__item-divider"}):e.subItems?g(P,{children:[e.url?l(it,{part:"menu-item","accessible-role":"link",exportparts:"menu-item",onClick:this.handleMenuItemClick,url:e.url,label:e.title,class:"udex-masthead-menu__sub-category"}):l("span",{class:"udex-masthead-menu__sub-category",children:e.title}),l("ul",{class:"udex-masthead-menu__sub-list","aria-label":e.title,children:e.subItems.map((i,a)=>l("li",{children:i.isDivider?l(hl,{class:"udex-masthead-menu__item-divider"}):l(it,{part:"menu-item","accessible-role":"link",exportparts:"badge",onClick:this.handleMenuItemClick,badge:i.badge,"external-link":i.externalLink,url:i.url,label:i.title})},a))})]}):l(it,{part:"menu-item","accessible-role":"link",exportparts:"badge",onClick:this.handleMenuItemClick,badge:e.badge,"external-link":e.externalLink,url:e.url,label:e.title})},t))})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const rq=`:host{--udex-masthead-menu-column_gap: 52px;--udex-masthead-menu-column-width:15rem;--udex-masthead-menu-row-margin: var(--udexSpacer32, 32px);--udex-masthead-menu-title-font-family: var(--sapFontFamily, sans-serif);--udex-masthead-menu-title-font-size-desktop: var(--udexTypographyHeadingRegularMFontSize, 32px);--udex-masthead-menu-title-font-size-mobile: var(--udexTypographyHeadingRegularXSFontSize, 24px);--udex-masthead-menu-title-margin-bottom: var(--udexSpacer32, 32px);--udex-masthead-menu-mobile-column-gap: var(--udexSpacer56, 56px);--udex-masthead-menu-item-mobile-border-color: var(--udexColorGrey2, #EAECEE);--udex-masthead-menu-grid-template-columns: auto;--udex-masthead-menu-justify-content: flex-start;--udex-masthead-menu-sub-category-font-size: var(--udexTypographyBodyXSFontSize, 14px);--udex-masthead-menu-sub-category-color: var(--udexColorGrey9, #223548);--udex-masthead-menu-sub-category-text-transform: none;--udex-masthead-menu-sub-category-font-weight: var(--udexTypographyFontWeightRegular, 400);--udex-masthead-menu-sub-category-line-height: var(--udexTypographyHeadingLineHeight, 1.1);--udex-masthead-menu-sub-category-padding-block: var(--udexSpacer8);--udex-masthead-menu-sub-category-padding-inline: var(--udexSpacer8) var(--udexSpacer12);--udex-masthead-menu-sub-list-item-spacing: var(--udexSpacer4);--udex-masthead-menu-sub-list-indent: var(--udexSpacer12, 12px)}.udex-masthead-menu{display:inline-block;position:relative;box-sizing:border-box;width:100%}.udex-masthead-menu__row{column-gap:var(--udex-masthead-menu-column_gap, 52px);margin-bottom:var(--udex-masthead-menu-row-margin);grid-template-columns:var(--udex-masthead-menu-grid-template-columns);justify-content:var(--udex-masthead-menu-justify-content);display:grid}.udex-masthead-menu_with-one-column .udex-masthead-menu__row{display:block}.udex-masthead-menu_with-one-column .udex-masthead-menu__header,.udex-masthead-menu_with-one-column .udex-masthead-menu__list{width:auto}.udex-masthead-menu_with-one-column .udex-masthead-menu__column{display:block;min-width:240px;max-width:240px}.udex-masthead-menu__row:last-child{margin-bottom:0}.udex-masthead-menu__column{display:contents}.udex-masthead-menu__column:nth-child(1) .udex-masthead-menu__header{grid-row:1;grid-column:1}.udex-masthead-menu__column:nth-child(2) .udex-masthead-menu__header{grid-row:1;grid-column:2}.udex-masthead-menu__column:nth-child(3) .udex-masthead-menu__header{grid-row:1;grid-column:3}.udex-masthead-menu__column:nth-child(4) .udex-masthead-menu__header{grid-row:1;grid-column:4}.udex-masthead-menu__column:nth-child(1) .udex-masthead-menu__list{grid-row:2;grid-column:1}.udex-masthead-menu__column:nth-child(2) .udex-masthead-menu__list{grid-row:2;grid-column:2}.udex-masthead-menu__column:nth-child(3) .udex-masthead-menu__list{grid-row:2;grid-column:3}.udex-masthead-menu__column:nth-child(4) .udex-masthead-menu__list{grid-row:2;grid-column:4}.udex-masthead-menu__list{width:var(--udex-masthead-menu-column-width);flex-grow:1;list-style:none;margin:0;padding:0}.udex-masthead-menu__list li{margin-bottom:var(--udexSpacer4)}.udex-masthead-menu__header{width:var(--udex-masthead-menu-column-width);margin-bottom:var(--udexSpacer12);display:flex;flex-direction:column;justify-content:flex-end}.udex-masthead-menu__title{font-family:var(--udex-masthead-menu-title-font-family);font-size:var(--udex-masthead-menu-title-font-size-desktop);line-height:var(--udexTypographyHeadingLineHeight, 1.1);font-weight:var(--udexTypographyFontWeightMedium, 500);margin-bottom:var(--udex-masthead-menu-title-margin-bottom);text-align:center}:host([_is-mobile-mode]) [udex-masthead-menu-item]::part(menu-item-link-badge),:host([_is-mobile-mode]) [udex-masthead-menu-item]::part(menu-item-link){border-bottom:1px solid var(--udex-masthead-menu-item-mobile-border-color);padding-block:var(--udex-masthead-menu-item-header-padding-block-mobile);padding-inline:var(--udex-masthead-menu-item-header-padding-inline-mobile);display:flex;align-items:center;justify-content:space-between;width:100%}:host([_is-mobile-mode]) [udex-masthead-menu-item]::part(menu-item-link-badge){padding-block-start:var(--udex-masthead-menu-item-padding-mobile-with-badge-vertical);padding-inline-end:var(--udex-masthead-menu-item-padding-mobile-end-with-badge);padding-inline-start:var(--udex-masthead-menu-item-padding-mobile-start-with-badge)}:host([_is-mobile-mode]) [udex-masthead-menu-item]::part(menu-item){padding-block:var(--udex-masthead-menu-item-header-padding-block-mobile);padding-inline:var(--udex-masthead-menu-item-header-padding-inline-mobile);justify-content:center}:host([_is-mobile-mode]) [udex-masthead-menu-item]::part(badge){position:absolute;top:50%;right:var(--udexSpacer16);transform:translateY(-50%);margin-inline-start:0;pointer-events:none}:host([_is-mobile-mode]) [udex-masthead-menu-item]::part(badge):dir(rtl){right:auto;left:var(--udexSpacer16)}:host([_is-mobile-mode]) .udex-masthead-menu__list li{margin:0}:host([_is-mobile-mode]) .udex-masthead-menu__title{font-size:var(--udex-masthead-menu-title-font-size-mobile)}:host([_is-mobile-mode]) .udex-masthead-menu__row{gap:var(--udex-masthead-menu-mobile-column-gap, 56px);display:flex;flex-direction:column}:host([_is-mobile-mode]) .udex-masthead-menu__header{margin:0;width:auto}:host([_is-mobile-mode]) .udex-masthead-menu__list{width:auto}:host([_is-mobile-mode]) .udex-masthead-menu__column{width:100%}:host([_is-mobile-mode]) .udex-masthead-menu,:host([_is-mobile-mode]) .udex-masthead-menu__column{display:block}.udex-masthead-menu__item-divider{padding:var(--udexSpacer4) 0;width:33%;display:block}.udex-masthead-menu__sub-category{display:block;font-family:var(--sapFontFamily, sans-serif);font-size:var(--udex-masthead-menu-sub-category-font-size);line-height:var(--udex-masthead-menu-sub-category-line-height);font-weight:var(--udex-masthead-menu-sub-category-font-weight);text-transform:var(--udex-masthead-menu-sub-category-text-transform);color:var(--udex-masthead-menu-sub-category-color);padding-block:var(--udex-masthead-menu-sub-category-padding-block);padding-inline:var(--udex-masthead-menu-sub-category-padding-inline);box-sizing:border-box}[udex-masthead-menu-item].udex-masthead-menu__sub-category{--udex-masthead-menu-item-color: var(--udex-masthead-menu-sub-category-color);--udex-masthead-menu-item-font-size: var(--udex-masthead-menu-sub-category-font-size);--udex-masthead-menu-item-line-height: var(--udex-masthead-menu-sub-category-line-height);--udex-masthead-menu-item-font-weight: var(--udex-masthead-menu-sub-category-font-weight);text-transform:var(--udex-masthead-menu-sub-category-text-transform);padding:0}.udex-masthead-menu__sub-list{list-style:none;margin:0;padding:0;padding-inline-start:var(--udex-masthead-menu-sub-list-indent)}.udex-masthead-menu__sub-list [udex-masthead-menu-item]{--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer12)}.udex-masthead-menu__sub-list li{margin-bottom:var(--udex-masthead-menu-sub-list-item-spacing)}@media (width < 1280px){[udex-masthead-menu-item]::part(menu-item-link-badge){border-bottom:1px solid var(--udex-masthead-menu-item-mobile-border-color)}[udex-masthead-menu-item]::part(menu-item){justify-content:center}.udex-masthead-menu__list li{margin:0}.udex-masthead-menu__title{font-size:var(--udex-masthead-menu-title-font-size-mobile)}.udex-masthead-menu__row{gap:var(--udex-masthead-menu-mobile-column-gap, 56px);display:flex;flex-direction:column}.udex-masthead-menu__header{margin:0;width:auto}.udex-masthead-menu__list{width:auto}.udex-masthead-menu__column{width:100%}.udex-masthead-menu,.udex-masthead-menu__column{display:block}}
|
|
708
708
|
`;var hc=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},uf;const aq="udex-masthead-menu_with-one-column";let ts=uf=class extends z{constructor(){super(...arguments),this.menuTitle="",this.subItems="[]"}handleKeyDown(e){const t=e.target===this.links[0],i=e.target===this.links[this.links.length-1];pt(e)&&!t&&this.handlePreviousItemFocus(e),Qe(e)&&!i&&this.handleNextItemFocus(e),lt(e)&&this.handleHomeKey(e),Ot(e)&&this.handleEndKey(e)}handleHomeKey(e){e.preventDefault(),this.focusInnerElement(this.links[0])}handleEndKey(e){e.preventDefault(),this.focusInnerElement(this.links[this.links.length-1])}handlePreviousItemFocus(e){e.preventDefault();const t=e.target;this.focusPreviousItem(t)}handleNextItemFocus(e){e.preventDefault();const t=e.target;this.focusNextItem(t)}handleMenuItemClick(e){var u,c;const t=e.target;if(!((u=t.url)!=null&&u.length))return;const i=this.closest("[udex-masthead-item]"),a=t.closest(".udex-masthead-menu__list"),r=(c=t.shadowRoot)==null?void 0:c.querySelector(".udex-masthead-menu-item"),n=(a==null?void 0:a.getAttribute("category"))||"",s={analyticsPath:[i==null?void 0:i.label,n,t.label].filter(Boolean),analyticsName:Jo.Header,originalEvent:e,item:t,sourceNode:r,...t.type!==Qa.Heading&&{category:n}};this.fireDecoratorEvent("menu-item-click",s)}focusPreviousItem(e){const t=this.getCurrentIndex(e),i=this.links.length-1,a=t-1<0?i:t-1;this._scrollIntoView&&this.scrollToItem(this.links[a]),this.focusInnerElement(this.links[a])}focusNextItem(e){const t=this.getCurrentIndex(e),i=t+1>this.links.length-1?0:t+1;this._scrollIntoView&&this.scrollToItem(this.links[i]),this.focusInnerElement(this.links[i])}getCurrentIndex(e){return this.links.indexOf(e)}focusFirstItem(){const e=this.links[0];e&&this.focusInnerElement(e)}focusInnerElement(e){var t,i;(i=(t=e.shadowRoot)==null?void 0:t.querySelector(".udex-masthead-menu-item"))==null||i.focus()}scrollToItem(e){var t;e.scrollIntoView({block:(t=this._scrollIntoView)==null?void 0:t.toLowerCase()})}get links(){return Array.from(this.shadowRoot.querySelectorAll("[udex-masthead-menu-item]")).filter(({url:t})=>t&&t.length>0)}get itemsList(){let e=1;return Mr(this.subItems).map(i=>(i.subMenuLinkItems=i.subMenuLinkItems.map(a=>(a.categoryId=`${e++}`,a.items=a.items?a.items.map(r=>({...r,...r.title==="-"&&{isDivider:!0}})):[],a)),i))}get oneRowClass(){return this.itemsList.length===1&&this.itemsList[0].subMenuLinkItems.length===1?aq:""}get overviewHeaderLinkText(){return B(uf,k3)}get hasFourColumns(){return this.itemsList.some(e=>e.subMenuLinkItems.length===4)}};hc([d({type:String})],ts.prototype,"menuTitle",void 0);hc([d({type:String})],ts.prototype,"subItems",void 0);hc([d({type:Boolean})],ts.prototype,"_isMobileMode",void 0);hc([d()],ts.prototype,"_scrollIntoView",void 0);hc([V("@sapudex/web-components")],ts,"i18nBundle",void 0);ts=uf=hc([T({tag:"udex-masthead-menu",renderer:A,styles:rq,template:tq,dependencies:[R,it]}),x("menu-item-click",{bubbles:!0})],ts);ts.define();const V_=ts,nq="world",sq="M8 0c1.104 0 2.146.208 3.125.625.98.417 1.828.984 2.547 1.703a7.979 7.979 0 0 1 1.703 2.547c.417.98.625 2.02.625 3.125 0 1.104-.208 2.14-.625 3.11a8.217 8.217 0 0 1-1.703 2.546 7.853 7.853 0 0 1-2.547 1.719c-.98.417-2.02.625-3.125.625a7.785 7.785 0 0 1-3.11-.625 8.081 8.081 0 0 1-2.546-1.719A8.08 8.08 0 0 1 .625 11.11 7.786 7.786 0 0 1 0 8c0-1.104.208-2.146.625-3.125.417-.98.99-1.828 1.719-2.547A8.214 8.214 0 0 1 4.89.625 7.785 7.785 0 0 1 8 0ZM5 8c0 .354.02.693.063 1.016.041.323.093.65.156.984h5.593a10.83 10.83 0 0 0 0-4H5.22c-.063.313-.115.635-.157.969A8.31 8.31 0 0 0 5 8Zm5.563-3c-.271-.833-.626-1.557-1.063-2.172-.438-.614-.938-1.078-1.5-1.39-.542.312-1.036.776-1.484 1.39-.448.615-.797 1.339-1.047 2.172h5.093Zm-5.094 6c.25.813.599 1.531 1.047 2.156.448.625.942 1.094 1.484 1.406.563-.312 1.063-.78 1.5-1.406A8.326 8.326 0 0 0 10.563 11H5.468ZM1 8c0 .938.104 1.604.313 2h2.875A10.83 10.83 0 0 1 4 8c0-.354.02-.698.063-1.031.041-.334.083-.657.125-.969H1.313C1.103 6.396 1 7.063 1 8Zm13.719 2A6.926 6.926 0 0 0 15 8c0-.708-.094-1.375-.281-2h-2.906a10.83 10.83 0 0 1 0 4h2.906ZM4.438 5c.458-1.646 1.218-2.938 2.28-3.875a6.777 6.777 0 0 0-3 1.344A7.057 7.057 0 0 0 1.689 5h2.75ZM9.28 1.125C10.344 2 11.115 3.292 11.594 5h2.719a7.056 7.056 0 0 0-2.032-2.531 6.776 6.776 0 0 0-3-1.344Zm-2.56 13.75c-1.063-.938-1.834-2.23-2.313-3.875H1.688a6.932 6.932 0 0 0 2.03 2.516 7.17 7.17 0 0 0 3 1.359ZM14.312 11h-2.718c-.48 1.667-1.24 2.958-2.281 3.875a7.05 7.05 0 0 0 2.984-1.36A6.985 6.985 0 0 0 14.312 11Z",dq=!1,lq="0 0 16 16",uq="SAP-icons-v4",cq="@ui5/webcomponents-icons";U(nq,{pathData:sq,ltr:dq,viewBox:lq,collection:uq,packageName:cq});const hq="world",_q="M4.14 6.535H1.666a6.785 6.785 0 0 0 0 2.93h2.476a10.104 10.104 0 0 1 0-2.93Zm1.91 4.43c.574 1.675 1.496 3 1.907 3.533h.085c.41-.533 1.334-1.858 1.907-3.533H6.051Zm-3.844 0a6.456 6.456 0 0 0 3.707 3.196 13.702 13.702 0 0 1-1.436-3.196H2.206Zm9.317 0a13.695 13.695 0 0 1-1.437 3.196 6.455 6.455 0 0 0 3.708-3.196h-2.27Zm-1.437-9.127a13.697 13.697 0 0 1 1.437 3.197h2.27a6.456 6.456 0 0 0-3.707-3.197ZM7.957 1.5c-.41.533-1.332 1.858-1.906 3.534h3.898C9.375 3.36 8.453 2.033 8.042 1.501h-.085Zm-2.044.337a6.456 6.456 0 0 0-3.707 3.197h2.27a13.704 13.704 0 0 1 1.437-3.197ZM5.66 9.465h4.68a8.639 8.639 0 0 0 0-2.93H5.66a8.64 8.64 0 0 0 0 2.93Zm6.2 0h2.475a6.787 6.787 0 0 0 0-2.93h-2.476a10.06 10.06 0 0 1 0 2.93ZM16 8a7.964 7.964 0 0 1-7.41 7.976 7.64 7.64 0 0 1-1.182 0A7.964 7.964 0 0 1 0 8 7.964 7.964 0 0 1 7.408.024a7.903 7.903 0 0 1 1.183 0A7.964 7.964 0 0 1 16 8Z",pq=!1,gq="0 0 16 16",vq="SAP-icons-v5",mq="@ui5/webcomponents-icons";U(hq,{pathData:_q,ltr:pq,viewBox:gq,collection:vq,packageName:mq});const fq="world";function bq(){return this.hasHref?xq.call(this):this.isProfileBtn?yq.call(this):Cq.call(this)}function xq(){return g(P,{children:[g("a",{id:this._id,class:this.additionalClass,role:this.accessibleRoleName,"aria-label":this.accessibleLabel,target:this.target,href:this.href,"aria-describedby":this.ariaDescribedBy,onClick:this.handleItemClick,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,tabindex:0,children:[S2.call(this),k2.call(this)]}),this.isTargetBlank&&l("span",{id:"new-win-desc",class:"udex-masthead-hidden-text",children:this.openInNewWindowText})]})}function yq(){return g(P,{children:[g("button",{class:`udex-masthead-item__btn udex-masthead-item__profile-btn ${this.additionalClass}`,id:this._id,tabindex:0,"aria-expanded":this.buttonAriaExpanded,"aria-describedby":this.ariaDescribedBy,"aria-controls":`${this._id}_dropdown`,"aria-label":this.accessibleLabel,onKeyDown:this.handleKeyDown,onClick:this.handleItemClick,"onclick-default":this.handleItemClick,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,children:[S2.call(this),k2.call(this)]}),A9.call(this)]})}function Cq(){return g(P,{children:[g("button",{role:this.accessibleRoleName,id:this._id,class:`udex-masthead-item__btn ${this.additionalClass}`,tabindex:0,"aria-expanded":this.buttonAriaExpanded,"aria-controls":`${this._id}_dropdown`,"aria-describedby":this.ariaDescribedBy,"aria-label":this.accessibleLabel,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.handleItemClick,children:[S2.call(this),k2.call(this)]}),A9.call(this)]})}function S2(){return this.icon?l(R,{class:"udex-masthead-item__icon",name:this.icon,"show-tooltip":this.iconAltText,"accessible-name":this.iconAltText,mode:Fe.Decorative}):this.image?g(P,{children:[this.imageLoadError?l(R,{class:"udex-masthead-item__icon",name:fq,mode:Fe.Decorative}):l("div",{class:"udex-masthead-item__image-wrap",children:l("img",{class:"udex-masthead-item__image",id:`${this._id}_image-alt`,src:this.image,"aria-hidden":this.isCountrySelectorBtn,alt:this.imageAlt,onError:this.handleImageError})}),this.imageAlt&&l("span",{id:"image-desc",class:"udex-masthead-hidden-text",children:this.imageAlt})]}):g("span",{class:"udex-masthead-item__text",children:[l("slot",{}),this.hasArrowDown&&l(R,{class:"udex-masthead-item__dropdown-icon",name:ac,mode:Fe.Decorative})]})}function A9(){return this.isDropdownOpened?l("div",{class:"udex-masthead-item__dropdown",id:`${this._id}_dropdown`,onKeyDown:this.handleKeyDown,onFocusOut:this.handleFocusout,children:l("div",{class:"udex-masthead-item__dropdown-holder",children:l("slot",{name:"dropdown"})})}):l("div",{id:`${this._id}_dropdown`})}function k2(){return this.numberBadge?l(Xs,{class:"udex-masthead-item__badge",type:zr.Number,numberDesign:Ca.Red,size:an.Small,children:this.numberBadge}):void 0}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const wq=`:host{--udex-masthead-item-background: none;--udex-masthead-item-border: none;--udex-masthead-item-padding: 1.35rem 0;--udex-masthead-item-font-size: var(--udexTypographyNavigationRegularMFontSize, 14px);--udex-masthead-item-line-height: var(--udexTypographyEyebrowLineHeight, 1.1);--udex-masthead-item-color: var(--udexColorGrey9, #223548);--udex-masthead-item-font-family: var(--sapFontFamily);--udex-masthead-item-color-hover: var(--udexColorBlue8, #0057D2);--udex-masthead-item-color-active: var(--udexColorBlue9, #0040B0);--udex-masthead-item-border-color: var(--udexColorBlue8, #0057D2);--udex-masthead-item-country-border-color-hover: var(--udexColorBlue8, #0057D2);--udex-masthead-item-border-radius: var(--udexRadiusXXS) var(--udexRadiusXXS) 0 0;--udex-masthead-item-border-width: .188rem;--udex-masthead-item-align-content: center;--udex-masthead-item-justify-content: center;--udex-masthead-item-display: inline-flex;--udex-masthead-item-icon-size: 1.125rem;--udex-masthead-item-icon-container-size: 2rem;--udex-masthead-item-outline-border-color: var(--udexColorBlue10, #002A86);--udex-masthead-item-dropdown-box-shadow: var(--sapContent_Shadow2, 0 10px 30px 0 #22364940);--udex-masthead-item-dropdown-position-left: -52px;--udex-masthead-item-dropdown-position-right: -52px;--udex-masthead-item-dropdown-min-width: 344px;--udex-masthead-item-dropdown-max-width: 400px;--udex-masthead-item-dropdown-mobile-min-width: 360px;--udex-masthead-item-dropdown-select-box-min-width: 397px;--udex-masthead-item-dropdown-position: absolute;--udex-masthead-item-dropdown-mobile-height: var(--udex-masthead-shell-mobile-menu-height, 100%);--udex-masthead-item-dropdown-box-shadow-mobile: none;--udex-masthead-item-dropdown-zindex: var(--udexZIndex100, 100);--udex-masthead-item-button-icon-size: 32px;--udex-masthead-item-arrow-icon-size: 16px;--udex-masthead-item-arrow-margin-inline-start: var(--udexSpacer4);--udex-masthead-item-profile-padding-l: var(--udexSpacer64) var(--udexSpacer48) 80px var(--udexSpacer48);--udex-masthead-item-padding-l: var(--udexSpacer32) 52px 52px;--udex-masthead-item-padding-m: var(--udexSpacer24) var(--udexSpacer24) 0;--udex-masthead-item-padding-s: var(--udexSpacer24) var(--udexSpacer48) 0 var(--udexSpacer48);--udex-masthead-item-padding-xs: var(--udexSpacer24) var(--udexSpacer24) 0;--udex-masthead-item-dropdown-background: #FFF;display:var(--udex-masthead-item-display);align-items:var(--udex-masthead-item-align-content);justify-content:var(--udex-masthead-item-justify-content);position:relative;font-family:var(--udex-masthead-item-font-family);font-size:var(--udex-masthead-item-font-size);line-height:var(--udex-masthead-item-line-height)}.udex-masthead-item__dropdown{position:absolute;top:100%;left:var(--udex-masthead-item-dropdown-position-left);z-index:var(--udex-masthead-item-dropdown-zindex);box-shadow:var(--udex-masthead-item-dropdown-box-shadow);background:var(--udex-masthead-item-dropdown-background)}.udex-masthead-item__button--icon+.udex-masthead-item__dropdown{top:46px;left:auto;right:var(--udex-masthead-item-dropdown-position-right);min-width:var(--udex-masthead-item-dropdown-min-width);max-width:var(--udex-masthead-item-dropdown-max-width)}.udex-masthead-item__button--profile+.udex-masthead-item__dropdown{max-width:inherit}.udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown,.udex-masthead-item__button--profile+.udex-masthead-item__dropdown{min-width:var(--udex-masthead-item-dropdown-mobile-min-width)}.udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown{min-width:var(--udex-masthead-item-dropdown-select-box-min-width)}.udex-masthead-item__image-wrap{position:relative;display:flex}:host([desktop]) .udex-masthead-item__button--country-selector:hover .udex-masthead-item__image-wrap:after{content:"";position:absolute;inset:0;border:1px solid var(--udex-masthead-item-country-border-color-hover);border-radius:50%;box-sizing:border-box}.udex-masthead-item__button--explore+.udex-masthead-item__dropdown{top:60px;left:50%;transform:translate(-50%);box-sizing:border-box;width:100cqw}.udex-masthead-item__button--explore+.udex-masthead-item__dropdown-holder{padding:0}:host([_has-four-columns-menu]),:host([slot="exploreSAP"]){position:inherit}:host([_has-four-columns-menu]) .udex-masthead-item__dropdown{inset-inline-start:0;box-sizing:border-box;inline-size:100%}:host([_has-four-columns-menu]) .udex-masthead-item__dropdown-holder{padding:var(--udexSpacer32) var(--udexSpacer84)}:host([_has-four-columns-menu]) ::slotted([slot="dropdown"]),:host([slot="exploreSAP"]) ::slotted([slot="dropdown"]){--udex-masthead-menu-column-width: auto;--udex-masthead-menu-grid-template-columns: repeat(4, calc(25% - var(--udex-masthead-menu-column_gap)*3/4))}:host([slot="exploreSAP"]) .udex-masthead-item__dropdown-holder{padding:var(--udexSpacer32) 0;max-width:var(--udex-masthead-shell-container-xl-max-width, 1432px);margin:0 auto}.udex-masthead-item{font-size:inherit;line-height:inherit;font-family:inherit;color:var(--udex-masthead-item-color);background:var(--udex-masthead-item-background);border:var(--udex-masthead-item-border);padding:var(--udex-masthead-item-padding);cursor:pointer;text-decoration:none;white-space:nowrap;position:relative}.udex-masthead-item__button--icon{display:flex;align-items:center;justify-content:center;width:var(--udex-masthead-item-button-icon-size);height:var(--udex-masthead-item-button-icon-size)}.udex-masthead-item.udex-masthead-item__button--profile,.udex-masthead-item.udex-masthead-item__button--icon{padding:0}.udex-masthead-item:focus{outline:none}.udex-masthead-item__text{display:flex;align-items:center}:host([desktop]) .udex-masthead-item:focus .udex-masthead-item__text,:host([desktop]) .udex-masthead-item:focus .udex-masthead-item__image,:host([desktop]) .udex-masthead-item:focus .udex-masthead-item__icon,.udex-masthead-item:focus-visible .udex-masthead-item__image,.udex-masthead-item:focus-visible .udex-masthead-item__text,.udex-masthead-item:focus-visible .udex-masthead-item__icon{outline:var(--udexRadiusXXS) solid var(--udex-masthead-item-outline-border-color);outline-offset:2px;border-radius:var(--udexRadiusXXS)}:host([desktop]) .udex-masthead-item__profile-btn:focus .udex-masthead-item__text,.udex-masthead-item__profile-btn:focus-visible .udex-masthead-item__text{border-radius:50%}:host([desktop]) .udex-masthead-item:focus .udex-masthead-item__image,:host([desktop]) .udex-masthead-item:focus .udex-masthead-item__icon,.udex-masthead-item:focus .udex-masthead-item__image,.udex-masthead-item:focus .udex-masthead-item__icon{outline-offset:6px}.udex-masthead-item.udex-masthead-item__button--profile:focus .udex-masthead-item__text{border-radius:50%}:host([desktop]) .udex-masthead-item__profile-btn:hover ::slotted([udex-avatar]){--udex-avatar-blue-default-border-color: var(--udex-avatar-blue-hover-border-color);--udex-avatar-mango-default-border-color: var(--udex-avatar-mango-hover-border-color);--udex-avatar-red-default-border-color: var(--udex-avatar-red-hover-border-color);--udex-avatar-raspberry-default-border-color: var(--udex-avatar-raspberry-hover-border-color);--udex-avatar-pink-default-border-color: var(--udex-avatar-pink-hover-border-color);--udex-avatar-indigo-default-border-color: var(--udex-avatar-indigo-hover-border-color);--udex-avatar-teal-default-border-color: var(--udex-avatar-teal-hover-border-color);--udex-avatar-green-default-border-color: var(--udex-avatar-green-hover-border-color);--udex-avatar-grey-default-border-color: var(--udex-avatar-grey-hover-border-color);--udex-avatar-transparent-default-border-color: var(--udex-avatar-transparent-hover-border-color);--udex-avatar-neutral-default-border-color: var(--udex-avatar-neutral-hover-border-color);--udex-avatar-image-default-border-color: var(--udex-avatar-image-hover-border-color)}:host([desktop]) .udex-masthead-item__profile-btn:active ::slotted([udex-avatar]){--udex-avatar-blue-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-blue-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-blue-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-mango-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-mango-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-mango-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-red-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-red-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-red-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-raspberry-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-raspberry-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-raspberry-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-pink-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-pink-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-pink-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-indigo-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-indigo-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-indigo-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-teal-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-teal-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-teal-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-green-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-green-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-green-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-grey-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-grey-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-grey-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-transparent-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-transparent-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-transparent-default-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-neutral-default-border-color: var(--udex-avatar-neutral-active-border-color);--udex-avatar-neutral-default-background-color: var(--udex-avatar-neutral-active-background-color);--udex-avatar-neutral-default-icon-color: var(--udex-avatar-neutral-active-icon-color);--udex-avatar-image-default-border-color: var(--udex-avatar-neutral-active-border-color)}.udex-masthead-item__dropdown-icon{width:var(--udex-masthead-item-arrow-icon-size);height:var(--udex-masthead-item-arrow-icon-size);margin-inline-start:var(--udex-masthead-item-arrow-margin-inline-start)}:host(:hover) .udex-masthead-item,:host(:hover) .udex-masthead-item__image,:host(:hover) .udex-masthead-item__icon,:host(:hover) .udex-masthead-item__dropdown-icon{color:var(--udex-masthead-item-color-hover)}:host(:active) .udex-masthead-item,:host([selected]) .udex-masthead-item,:host(:active) .udex-masthead-item-icon,:host([selected]) .udex-masthead-item-icon,:host(:active) .udex-masthead-item__dropdown-icon,:host([selected]) .udex-masthead-item__dropdown-icon{color:var(--udex-masthead-item-color-active)}:host(:active) .udex-masthead-item__dropdown-icon,:host([selected]) .udex-masthead-item__dropdown-icon{transform:rotate(180deg)}:host(:active):not([hide-active-border]) .udex-masthead-item:after,:host([selected]:not([hide-active-border])) .udex-masthead-item:after{content:"";position:absolute;bottom:0;left:0;right:0;height:var(--udex-masthead-item-border-width);background-color:var(--udex-masthead-item-border-color);border-radius:var(--udex-masthead-item-border-radius)}:host(:active) .udex-masthead-item.udex-masthead-item__button--icon:after,:host([selected]) .udex-masthead-item.udex-masthead-item__button--icon:after,:host(:active) .udex-masthead-item.udex-masthead-item__button--profile:after,:host([selected]) .udex-masthead-item.udex-masthead-item__button--profile:after{bottom:-14px;left:0;right:0}:host([selected]) .udex-masthead-item__image,:host(:active) .udex-masthead-item__image,:host([selected]) .udex-masthead-item__icon,:host(:active) .udex-masthead-item__icon{color:var(--udex-masthead-item-color-active)}.udex-masthead-item__image,.udex-masthead-item__icon{width:var(--udex-masthead-item-icon-size);height:var(--udex-masthead-item-icon-size);color:var(--udex-masthead-item-color)}.udex-masthead-item__avatar-container{display:flex;align-items:center;justify-content:center;width:auto;height:auto}:host(:dir(rtl)) .udex-masthead-item__button--icon+.udex-masthead-item__dropdown{right:auto;left:var(--udex-masthead-item-dropdown-position-right)}:host(:dir(rtl)) .udex-masthead-item__dropdown{right:var(--udex-masthead-item-dropdown-position-right);left:auto}:host([_has-four-columns-menu]:dir(rtl)) .udex-masthead-item__dropdown,:host(:dir(rtl)) .udex-masthead-item__button--explore+.udex-masthead-item__dropdown{right:50%;transform:translate(50%)}:host([slot="countrySelector"]) ::slotted([slot="dropdown"]),:host([slot="profile"]) ::slotted([slot="dropdown"]){width:100%;display:flex;flex-direction:column}:host([slot="countrySelector"][_is-mobile-mode]) ::slotted([slot="dropdown"]),:host([slot="profile"][_is-mobile-mode]) ::slotted([slot="dropdown"]){display:initial}:host([_is-mobile-mode]) .udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown,:host([part="menu-open-btn"]) .udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown{min-width:var(--udex-masthead-item-dropdown-mobile-min-width)}:host([part="menu-open-btn"]:dir(rtl)) .udex-masthead-item__dropdown,:host([_is-mobile-mode]:dir(rtl)) .udex-masthead-item__dropdown{right:auto;left:0}:host([_is-mobile-mode]) .udex-masthead-item__dropdown,:host([part="menu-open-btn"]) .udex-masthead-item__dropdown{position:var(--udex-masthead-item-dropdown-position);height:var(--udex-masthead-item-dropdown-mobile-height);width:var(--udex-masthead-item-dropdown-mobile-min-width);top:60px;right:0;left:auto}:host([_is-mobile-mode]) .udex-masthead-item__dropdown-holder,:host([part="menu-open-btn"]) .udex-masthead-item__dropdown-holder{height:100%;box-shadow:none}:host([_is-mobile-mode]) .udex-masthead-item__dropdown-holder{overflow:auto}:host([_is-mobile-mode]) .udex-masthead-item__dropdown:after,:host([part="menu-open-btn"]) .udex-masthead-item__dropdown:after{box-shadow:var(--udex-masthead-shell-dropdown-shadow);pointer-events:none;content:"";position:absolute;inset:-60px 0 0}:host([_is-mobile-mode]),:host([part="menu-open-btn"]){position:initial}:host([_is-menu-open-btn]) .udex-masthead-item__dropdown-holder{padding:0}.udex-masthead-hidden-text{display:none}.udex-masthead-item__dropdown-holder{padding:var(--udex-masthead-item-padding-l);box-sizing:border-box;position:relative}.udex-masthead-item__button--profile+.udex-masthead-item__dropdown .udex-masthead-item__dropdown-holder{padding:var(--udex-masthead-item-profile-padding-l)}:host([_is-mobile-mode]) .udex-masthead-item__dropdown-holder{padding:var(--udex-masthead-item-padding-m)}:host([_is-mobile-mode]) ::slotted([slot="dropdown"]){margin-bottom:var(--udexSpacer24)}.udex-masthead-item__badge{position:absolute;right:-4px;top:-5px}@media (width < 1600px){:host([slot="exploreSAP"]) .udex-masthead-item__dropdown-holder{max-width:var(--udex-masthead-shell-container-l-max-width, 1456px);padding:var(--udexSpacer32) var(--udexSpacer72);box-sizing:content-box}:host([_has-four-columns-menu]) .udex-masthead-item__dropdown-holder{padding:var(--udexSpacer32) var(--udexSpacer72)}}@media (width < 1280px){:host{position:initial}:host([slot="countrySelector"]) ::slotted([slot="dropdown"]),:host([slot="profile"]) ::slotted([slot="dropdown"]){display:initial}.udex-masthead-item__button--profile+.udex-masthead-item__dropdown .udex-masthead-item__dropdown-holder,:host .udex-masthead-item__dropdown-holder{padding:var(--udex-masthead-item-padding-m)}.udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown{min-width:var(--udex-masthead-item-dropdown-mobile-min-width)}.udex-masthead-item__button--icon+.udex-masthead-item__dropdown,.udex-masthead-item__dropdown{top:60px;right:0}:host(:dir(rtl)) .udex-masthead-item__button--icon+.udex-masthead-item__dropdown{left:0}.udex-masthead-item__button--icon+.udex-masthead-item__dropdown{right:0}:host(:dir(rtl)) .udex-masthead-item__dropdown{left:0;right:auto}.udex-masthead-item__dropdown{position:var(--udex-masthead-item-dropdown-position);height:var(--udex-masthead-item-dropdown-mobile-height);width:var(--udex-masthead-item-dropdown-mobile-min-width);box-shadow:var(--udex-masthead-item-dropdown-box-shadow-mobile);top:60px}.udex-masthead-item__dropdown-holder{height:100%;overflow:auto}.udex-masthead-item__dropdown:after{box-shadow:var(--udex-masthead-shell-dropdown-shadow);pointer-events:none;content:"";position:absolute;inset:-60px 0 0}::slotted([slot="dropdown"]){margin-bottom:var(--udexSpacer24)}}@media (width < 980px){:host([_is-mobile-mode]) .udex-masthead-item__dropdown,:host([part="menu-open-btn"]) .udex-masthead-item__dropdown,.udex-masthead-item__dropdown{width:100%}.udex-masthead-item__button--country-selector+.udex-masthead-item__dropdown,.udex-masthead-item__button--profile+.udex-masthead-item__dropdown{min-width:auto}.udex-masthead-item__button--profile+.udex-masthead-item__dropdown .udex-masthead-item__dropdown-holder,:host .udex-masthead-item__dropdown-holder{padding:var(--udex-masthead-item-padding-s)}.udex-masthead-item__button--icon+.udex-masthead-item__dropdown{max-width:100%}}@media (width < 640px){.udex-masthead-item__button--profile+.udex-masthead-item__dropdown .udex-masthead-item__dropdown-holder,:host .udex-masthead-item__dropdown-holder{padding:var(--udex-masthead-item-padding-xs)}}
|
|
709
|
-
`;var At=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Fn,el;(function(o){o.Open="Open",o.Close="Close",o.ClickOutside="Click Outside"})(el||(el={}));let ut=Fn=class extends z{constructor(){super(...arguments),this.subItems="",this.menuTitle="",this.icon="",this.target=$i._self,this.iconAlt="",this._imageLoadError=!1,this._hasFourColumnsMenu=!1}onEnterDOM(){se()&&this.setAttribute("desktop","")}onBeforeRendering(){this.label=this.eventItemTitle,this.hasFourColumnsMenu&&!this.isExploreBtn&&(this._hasFourColumnsMenu=!0)}onAfterRendering(){this._profileAvatar=this.profileAvatar,this._mastheadShell=this.mastheadShell,this.handleDirection(),this.selected&&this.hasDropdownSlot&&!this.isMobile&&!this.isExploreBtn&&!this.hasFourColumnsMenu&&this.setDropdownInsetStart(),this.handleOutsideClick()}onInvalidation({name:e,newValue:t}){e==="selected"&&!t&&this.isMobile&&this.dropdownScrollToTop()}handleOutsideClick(){document.addEventListener("click",e=>{e.target.closest("[udex-masthead-item]")!==this&&!this.isMobile&&this.selected&&(this.isDropdownOpened&&this.fireDropdownCloseEvent(this.eventItemTitle,el.ClickOutside),this.selected=!1)})}handleMouseDown(){this._preventFocusOut=!0}handleMouseUp(){this._preventFocusOut=!1}handleFocusout(e){this.isFocusOutPrevented(e)||this.handleFocusOutForDropdowns(e)}handleFocusOutForDropdowns(e){e.relatedTarget.closest("[udex-masthead-item]")!==this&&this.closeDropdown()}handleKeyDown(e){if(De(e)&&this.hasDropdownSlot&&(this.isMobile?this.handleKeyEscapeMobile():this.handleKeyEscape()),Qe(e)&&this.isDropdownOpened){const t=this.getDomElement(".udex-masthead-item__btn, .udex-masthead-item__profile-btn");t&&e.currentTarget===t&&this.handleTabIntoDropdown(e)}}handleTabIntoDropdown(e){const t=this.getSlottedNodes("dropdown")[0];t&&typeof t.focusFirstItem=="function"&&(e.preventDefault(),t.focusFirstItem())}handleKeyEscape(){this.closeDropdown(),this.isProfileBtn?this._profileAvatar.focus():this.focus()}handleKeyEscapeMobile(){var e;this.fireDropdownCloseEvent(this.eventItemTitle,el.Close),this._mastheadShell.closeMobileMenu(),(e=this._mastheadShell.mobileBtn)==null||e.focus()}handleItemClick(e){this.isProfileBtn&&this.handleProfileButtonClick(),this.handleSelectedChange(),this.fireItemClickEvent(e),this.fireDropdownEvents()}handleSelectedChange(){this.selected=this.isMobile?!0:!this.selected}handleProfileButtonClick(){const e=this.profileSlot;e&&(e.closeIdentitiesPanel(),e.scrollToTopProfileMenu(),e._requestRender=!0)}handleImageError(){this._imageLoadError=!0}fireDropdownEvents(){if(this.hasDropdownSlot){const{Open:e,Close:t}=el,i=this.selected?e:t;this.selected?this.fireDropdownOpenEvent(this.eventItemTitle,i):this.fireDropdownCloseEvent(this.eventItemTitle,i)}}fireDropdownCloseEvent(e,t){this.fireDecoratorEvent("dropdown-closed",{title:e,action:t,analyticsName:Jo.Header})}fireDropdownOpenEvent(e,t){this.fireDecoratorEvent("dropdown-opened",{title:e,action:t,analyticsName:Jo.Header})}fireItemClickEvent(e){this.fireDecoratorEvent("item-click",{item:this,originalEvent:e,analyticsName:Jo.Header,sourceNode:e.currentTarget})}dropdownScrollToTop(){if(this.isMobileMenuOpenBtn)this.getSlottedNodes("dropdown")[0].mobileMenuScrollToTop();else{const e=this.getDomElement(".udex-masthead-item__dropdown-holder");e==null||e.scrollTo({top:0})}}setDropdownInsetStart(){const e=this.dropdownHolder;if(e){const t=e.getBoundingClientRect(),i=this.calculateMarginInlineStart(t);i!==null&&(e.style.marginInlineStart=`${i-3}px`)}}recalculateDropdownPosition(){const e=this.dropdownHolder;e&&!this.hasFourColumnsMenu&&(e.style.marginInlineStart="",this.setDropdownInsetStart())}calculateMarginInlineStart(e){const{left:t,right:i}=e,a=document.documentElement.clientWidth;return this.isLtrDirection&&t<0?t*-1+15:this.isRtlDirection&&t<0?t-15:this.isRtlDirection&&i>a?i-a+15:this.isLtrDirection&&i>a?a-i-15:null}handleDirection(){const e=window.getComputedStyle(this).getPropertyValue("direction");e?this._direction=e:this._direction="ltr"}closeDropdown(){this.selected=!1,this.fireDropdownCloseEvent(this.accessibleName||this.eventItemTitle,el.Close)}getDomElement(e){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector(`${e}`)}getSubItems(){return Mr(this.subItems)}isFocusOutPrevented(e){return this.isMobile||e.relatedTarget===null||this._preventFocusOut}get dropdownHolder(){return this.getDomElement(".udex-masthead-item__dropdown")}get mastheadShell(){return document.querySelector("[udex-masthead-shell]")}get additionalClass(){const e=this.icon||this.image||this.isProfileBtn?"udex-masthead-item__button--icon":"",t=this.isProfileBtn?"udex-masthead-item__button--profile":"",i=this.isExploreBtn?"udex-masthead-item__button--explore":"",a=this.isSupportBtn?"udex-masthead-item__button--support":"",r=this.isCountrySelectorBtn?"udex-masthead-item__button--country-selector":"";return`udex-masthead-item ${e} ${t} ${i} ${r} ${a}`.trim()}get profileAvatar(){return this.querySelector("[udex-avatar]")}get iconAltText(){return this._isMenuCloseBtn?this.accessibleName||this.icon:this.iconAlt}get isRtlDirection(){return this._direction==="rtl"}get isLtrDirection(){return this._direction==="ltr"}get hasHref(){var e;return!!((e=this.href)!=null&&e.length)}get accessibleRoleName(){return this.accessibleRole?this.accessibleRole:"button"}get selectedClass(){return this.selected?" udex-masthead-item__button--active":""}get ariaDescribedBy(){const e=[];return this.isTargetBlank&&e.push("new-win-desc"),this.imageAlt&&e.push("image-desc"),e.length?e.join(" ").trim():void 0}get isDropdownOpened(){return this.hasDropdownSlot&&this.selected}get isMobileMenuOpenBtn(){return this.hasAttribute("_is-menu-open-btn")}get hasDropdownSlot(){return!!this.getSlottedNodes("dropdown").length}get hasArrowDown(){return this.hasDropdownSlot&&!this.isProfileBtn&&!this.icon.length&&!this.hideArrowIcon}get isProfileBtn(){return this.getAttribute("slot")==="profile"}get isExploreBtn(){return this.getAttribute("slot")==="exploreSAP"}get isCountrySelectorBtn(){return this.getAttribute("slot")==="countrySelector"}get isCartBtn(){return this.getAttribute("slot")==="cart"}get isSearchBtn(){return this.icon==="search"}get isSupportBtn(){return this.getAttribute("slot")==="support"}get accessibleLabel(){return this.accessibleName||this.innerText||(this.isProfileBtn?B(Fn,d7):"")}get profileSlot(){return this.getSlottedNodes("dropdown")[0]}get isMobile(){var e;return io.isAtMost("M")||((e=this.mastheadShell)==null?void 0:e._isMobileMode)}get isTargetBlank(){return this.target===$i._blank}get openInNewWindowText(){return B(Fn,w3)}get eventItemTitle(){var e,t;return this.isSearchBtn?B(Fn,T3):this.isCartBtn?B(Fn,UE):this.isProfileBtn?B(Fn,d7):this.isCountrySelectorBtn?B(Fn,jE):this.isSupportBtn?B(Fn,VE):((t=(e=this.firstChild)==null?void 0:e.nodeValue)==null?void 0:t.trim())||""}get buttonAriaExpanded(){if(this.hasDropdownSlot)return this.selected||!1}get imageLoadError(){return this._imageLoadError&&this.isCountrySelectorBtn}get dropdownMenu(){return this.getSlottedNodes("dropdown").find(e=>e instanceof V_)}get hasFourColumnsMenu(){var e;return!!((e=this.dropdownMenu)!=null&&e.hasFourColumns)}};At([d({type:String})],ut.prototype,"subItems",void 0);At([d({type:String})],ut.prototype,"menuTitle",void 0);At([d({type:Boolean})],ut.prototype,"selected",void 0);At([d({type:Boolean})],ut.prototype,"hideArrowIcon",void 0);At([d({type:String})],ut.prototype,"icon",void 0);At([d({type:String})],ut.prototype,"image",void 0);At([d({type:String})],ut.prototype,"imageAlt",void 0);At([d({type:String})],ut.prototype,"href",void 0);At([d()],ut.prototype,"target",void 0);At([d({type:String})],ut.prototype,"accessibleName",void 0);At([d({type:String})],ut.prototype,"accessibleRole",void 0);At([d({type:String})],ut.prototype,"iconAlt",void 0);At([d({type:Boolean})],ut.prototype,"hideActiveBorder",void 0);At([d({type:String})],ut.prototype,"_direction",void 0);At([d({type:Boolean})],ut.prototype,"_isMobileMode",void 0);At([d({type:String})],ut.prototype,"label",void 0);At([d({type:String})],ut.prototype,"numberBadge",void 0);At([D({type:HTMLElement})],ut.prototype,"dropdown",void 0);At([D({type:HTMLElement,default:!0})],ut.prototype,"content",void 0);At([d({type:Boolean})],ut.prototype,"_preventFocusOut",void 0);At([d({type:Boolean})],ut.prototype,"_isMenuCloseBtn",void 0);At([d({type:Boolean})],ut.prototype,"_imageLoadError",void 0);At([d({type:Boolean})],ut.prototype,"_hasFourColumnsMenu",void 0);At([V("@sapudex/web-components")],ut,"i18nBundle",void 0);ut=Fn=At([T({tag:"udex-masthead-item",renderer:A,languageAware:!0,styles:wq,template:bq,dependencies:[V_,R]}),x("item-click",{bubbles:!0}),x("dropdown-closed",{bubbles:!0}),x("dropdown-opened",{bubbles:!0})],ut);ut.define();const qp=ut;function Sq(){return g("nav",{class:"udex-masthead-mobile-menu",children:[g("div",{class:"udex-masthead-mobile-menu__nav-holder",children:[this.hasSearchSlot&&l("div",{class:"udex-masthead-mobile-menu__list-search",children:l("slot",{name:"search"})}),g("ul",{class:"udex-masthead-mobile-menu__list",role:"menu",onKeyDown:this.handlePressKey,children:[this.showNavigation&&kq.call(this),this._showCategories&&g(P,{children:[l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:this._hideExploreSapBtn?l(it,{class:"udex-masthead-mobile-menu__back-item",part:"menu-item",type:"Button",onClick:this.handleExploreBackToMenuItems,label:this._clickedItem.innerText,"has-border":!0,"icon-start":!0,"is-back":"","is-explore-back":""}):this.isNotMultipleMode?l(it,{class:"udex-masthead-mobile-menu__heading",part:"menu-item",type:"Heading",label:this._clickedItem.innerText,"has-border":!0}):l(it,{class:"udex-masthead-mobile-menu__back-item",part:"menu-item","aria-haspopup":"true",type:"Button",onClick:this.handleBackToMenuItems,label:this._clickedItem.innerText,"has-border":!0,"icon-start":!0,"is-back":"","is-back-to-nav":""})}),Tq.call(this)]}),this._showCategoryItems&&g(P,{children:[l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{class:"udex-masthead-mobile-menu__back-item",part:"menu-item",type:"Button","aria-haspopup":"true",onClick:this.handleBackToCategories,label:this._category.category,"has-border":!0,"icon-start":!0,"is-back":"","is-back-to-categories":""})}),Bq.call(this)]})]})]}),this.showExploreBtn&&l(it,{class:"udex-masthead-mobile-menu__explore-btn",part:"menu-item",type:"Button","aria-haspopup":"true",id:this.exploreItem._id,onClick:this.handleExploreSapClick,"icon-end":!0,label:this.exploreItem.innerText,"accessible-role-text":"button","first-level-btn":"","first-level":"","is-explore":""})]})}function kq(){return this.items.map((o,e)=>l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:o.subItems?l(it,{part:"menu-item",type:"Button","aria-haspopup":"true",onClick:this.handleMenuItemClick,label:o.innerText,id:o._id,"has-border":!0,"icon-end":!0,"first-level-btn":"","first-level":""}):l(it,{part:"menu-item",onClick:this.handleMobileItemEvent,url:o.href,label:o.innerText,target:o.target,"has-border":!0,"first-level":""})},e))}function Tq(){return g(P,{children:[this._clickedItem.href&&l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",url:this._clickedItem.href,label:this.overviewLinkText,onClick:this.handleMobileItemEvent,"has-border":!0,"second-level":""})}),this._categories.map((o,e)=>Iq.call(this,o,e))]})}function Iq(o,e){return o.items.length?o.category?l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMenuCategoryClick,id:`${e}`,label:o.category,"aria-haspopup":"true",type:"Button","has-border":!0,"icon-end":!0,"second-level-btn":"","second-level":""})},e):o.items.map((t,i)=>l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileItemEvent,url:t.url,label:t.title,"has-border":!0,"second-level":""})},`${e}-${i}`)):l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:o.url?l(it,{id:`${e}`,onClick:this.handleMobileItemEvent,label:o.category,url:o.url,part:"menu-item",type:"Link","has-border":!0,"second-level":""}):l(it,{id:`${e}`,onClick:this.handleMobileItemEvent,label:o.category,part:"menu-item",type:"Button","has-border":!0,"second-level":""})},e)}function Bq(){return g(P,{children:[this._category.url&&l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileCategoryItemEvent,url:this._category.url,label:this.overviewLinkText,"has-border":!0,"third-level":""})}),this._category.items.map((o,e)=>Aq.call(this,o,e))]})}function Aq(o,e){return o.subItems?g("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:[o.url?l(it,{class:"udex-masthead-mobile-menu__sub-category",part:"menu-item",onClick:this.handleMobileCategoryItemEvent,label:o.title,url:o.url,"third-level":""}):l("span",{class:"udex-masthead-mobile-menu__sub-category",children:o.title}),l("ul",{class:"udex-masthead-mobile-menu__sub-list","aria-label":o.title,children:o.subItems.map((t,i)=>t.url?l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileCategoryItemEvent,label:t.title,url:t.url,"third-level":""})},`${e}-${i}`):void 0)})]},e):o.url?l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileCategoryItemEvent,label:o.title,url:o.url,"has-border":!0,"third-level":""})},e):void 0}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Eq=`:host{--udex-masthead-mobile-menu-padding-m: var(--udexSpacer24);--udex-masthead-mobile-menu-padding-s: var(--udexSpacer24) var(--udexSpacer48);--udex-masthead-mobile-menu-padding-xs: var(--udexSpacer24);--udex-masthead-mobile-menu-background: var(--sapShell_Navigation_Background, #FFF);--udex-masthead-mobile-search-margin-bottom: var(--udexSpacer16, 16);--udex-masthead-mobile-explore-btn-position: sticky;--udex-masthead-menu-sub-category-font-size: var(--udexTypographyBodyXSFontSize, 14px);--udex-masthead-menu-sub-category-color: var(--udexColorGrey9, #223548);--udex-masthead-menu-sub-category-text-transform: none;--udex-masthead-menu-sub-category-font-weight: var(--udexTypographyFontWeightRegular, 400);--udex-masthead-menu-sub-category-line-height: var(--udexTypographyHeadingLineHeight, 1.1);--udex-masthead-menu-sub-category-padding-block: var(--udexSpacer16);--udex-masthead-menu-sub-category-padding-inline: var(--udexSpacer8) var(--udexSpacer12);--udex-masthead-menu-sub-list-item-spacing: 0;--udex-masthead-menu-sub-list-indent: var(--udexSpacer12, 12px)}.udex-masthead-mobile-menu__list-search{margin-bottom:var(--udex-masthead-mobile-search-margin-bottom)}.udex-masthead-mobile-menu{background:var(--udex-masthead-mobile-menu-background);box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;height:100%}.udex-masthead-mobile-menu__nav-holder{padding:var(--udex-masthead-mobile-menu-padding-m);height:100%;overflow:auto}.udex-masthead-mobile-menu__explore-btn{--udex-masthead-menu-item-font-weight: var(--udexTypographyFontWeightMedium, 500);position:var(--udex-masthead-mobile-explore-btn-position);margin-block-start:auto;inset-block-end:0;inline-size:100%}.udex-masthead-mobile-menu__list{margin:0;padding:0;list-style:none}[udex-masthead-menu-item]{--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12)}[udex-masthead-menu-item]::part(menu-item),[udex-masthead-menu-item]::part(menu-item-link){width:100%}.udex-masthead-mobile-menu__back-item::part(menu-item-button){font-weight:var(--udexTypographyFontWeightMedium, 500);justify-content:space-between}.udex-masthead-mobile-menu__heading::part(menu-item){justify-content:center}.udex-masthead-mobile-menu__back-item::part(menu-item-button):after{content:""}.udex-masthead-mobile-menu__back-item::part(left){margin-inline-end:var(--udexSpacer4);margin-inline-start:0}span.udex-masthead-mobile-menu__sub-category{display:block;font-family:var(--sapFontFamily, sans-serif);font-size:var(--udex-masthead-menu-sub-category-font-size);line-height:var(--udex-masthead-menu-sub-category-line-height);font-weight:var(--udex-masthead-menu-sub-category-font-weight);text-transform:var(--udex-masthead-menu-sub-category-text-transform);color:var(--udex-masthead-menu-sub-category-color);padding-block:var(--udex-masthead-menu-sub-category-padding-block);padding-inline:var(--udex-masthead-menu-sub-category-padding-inline);box-sizing:border-box;width:100%}[udex-masthead-menu-item].udex-masthead-mobile-menu__sub-category{--udex-masthead-menu-item-color: var(--udex-masthead-menu-sub-category-color);--udex-masthead-menu-item-font-size: var(--udex-masthead-menu-sub-category-font-size);--udex-masthead-menu-item-line-height: var(--udex-masthead-menu-sub-category-line-height);--udex-masthead-menu-item-font-weight: var(--udex-masthead-menu-sub-category-font-weight);text-transform:var(--udex-masthead-menu-sub-category-text-transform)}.udex-masthead-mobile-menu__sub-list{list-style:none;margin:0;padding:0;padding-inline-start:var(--udex-masthead-menu-sub-list-indent)}.udex-masthead-mobile-menu__sub-list [udex-masthead-menu-item]{--udex-masthead-menu-item-padding-block-mobile: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-mobile: var(--udexSpacer12)}.udex-masthead-mobile-menu__sub-list li{margin-bottom:var(--udex-masthead-menu-sub-list-item-spacing)}@media (width < 980px){.udex-masthead-mobile-menu__nav-holder{padding:var(--udex-masthead-mobile-menu-padding-s)}}@media (width < 640px){.udex-masthead-mobile-menu__nav-holder{padding:var(--udex-masthead-mobile-menu-padding-xs)}}
|
|
709
|
+
`;var Et=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Fn,el;(function(o){o.Open="Open",o.Close="Close",o.ClickOutside="Click Outside"})(el||(el={}));let ut=Fn=class extends z{constructor(){super(...arguments),this.subItems="",this.menuTitle="",this.icon="",this.target=$i._self,this.iconAlt="",this._imageLoadError=!1,this._hasFourColumnsMenu=!1}onEnterDOM(){se()&&this.setAttribute("desktop","")}onBeforeRendering(){this.label=this.eventItemTitle,this.hasFourColumnsMenu&&!this.isExploreBtn&&(this._hasFourColumnsMenu=!0)}onAfterRendering(){this._profileAvatar=this.profileAvatar,this._mastheadShell=this.mastheadShell,this.handleDirection(),this.selected&&this.hasDropdownSlot&&!this.isMobile&&!this.isExploreBtn&&!this.hasFourColumnsMenu&&this.setDropdownInsetStart(),this.handleOutsideClick()}onInvalidation({name:e,newValue:t}){e==="selected"&&!t&&this.isMobile&&this.dropdownScrollToTop()}handleOutsideClick(){document.addEventListener("click",e=>{e.target.closest("[udex-masthead-item]")!==this&&!this.isMobile&&this.selected&&(this.isDropdownOpened&&this.fireDropdownCloseEvent(this.eventItemTitle,el.ClickOutside),this.selected=!1)})}handleMouseDown(){this._preventFocusOut=!0}handleMouseUp(){this._preventFocusOut=!1}handleFocusout(e){this.isFocusOutPrevented(e)||this.handleFocusOutForDropdowns(e)}handleFocusOutForDropdowns(e){e.relatedTarget.closest("[udex-masthead-item]")!==this&&this.closeDropdown()}handleKeyDown(e){if(De(e)&&this.hasDropdownSlot&&(this.isMobile?this.handleKeyEscapeMobile():this.handleKeyEscape()),Qe(e)&&this.isDropdownOpened){const t=this.getDomElement(".udex-masthead-item__btn, .udex-masthead-item__profile-btn");t&&e.currentTarget===t&&this.handleTabIntoDropdown(e)}}handleTabIntoDropdown(e){const t=this.getSlottedNodes("dropdown")[0];t&&typeof t.focusFirstItem=="function"&&(e.preventDefault(),t.focusFirstItem())}handleKeyEscape(){this.closeDropdown(),this.isProfileBtn?this._profileAvatar.focus():this.focus()}handleKeyEscapeMobile(){var e;this.fireDropdownCloseEvent(this.eventItemTitle,el.Close),this._mastheadShell.closeMobileMenu(),(e=this._mastheadShell.mobileBtn)==null||e.focus()}handleItemClick(e){this.isProfileBtn&&this.handleProfileButtonClick(),this.handleSelectedChange(),this.fireItemClickEvent(e),this.fireDropdownEvents()}handleSelectedChange(){this.selected=this.isMobile?!0:!this.selected}handleProfileButtonClick(){const e=this.profileSlot;e&&(e.closeIdentitiesPanel(),e.scrollToTopProfileMenu(),e._requestRender=!0)}handleImageError(){this._imageLoadError=!0}fireDropdownEvents(){if(this.hasDropdownSlot){const{Open:e,Close:t}=el,i=this.selected?e:t;this.selected?this.fireDropdownOpenEvent(this.eventItemTitle,i):this.fireDropdownCloseEvent(this.eventItemTitle,i)}}fireDropdownCloseEvent(e,t){this.fireDecoratorEvent("dropdown-closed",{title:e,action:t,analyticsName:Jo.Header})}fireDropdownOpenEvent(e,t){this.fireDecoratorEvent("dropdown-opened",{title:e,action:t,analyticsName:Jo.Header})}fireItemClickEvent(e){this.fireDecoratorEvent("item-click",{item:this,originalEvent:e,analyticsName:Jo.Header,sourceNode:e.currentTarget})}dropdownScrollToTop(){if(this.isMobileMenuOpenBtn)this.getSlottedNodes("dropdown")[0].mobileMenuScrollToTop();else{const e=this.getDomElement(".udex-masthead-item__dropdown-holder");e==null||e.scrollTo({top:0})}}setDropdownInsetStart(){const e=this.dropdownHolder;if(e){const t=e.getBoundingClientRect(),i=this.calculateMarginInlineStart(t);i!==null&&(e.style.marginInlineStart=`${i-3}px`)}}recalculateDropdownPosition(){const e=this.dropdownHolder;e&&!this.hasFourColumnsMenu&&(e.style.marginInlineStart="",this.setDropdownInsetStart())}calculateMarginInlineStart(e){const{left:t,right:i}=e,a=document.documentElement.clientWidth;return this.isLtrDirection&&t<0?t*-1+15:this.isRtlDirection&&t<0?t-15:this.isRtlDirection&&i>a?i-a+15:this.isLtrDirection&&i>a?a-i-15:null}handleDirection(){const e=window.getComputedStyle(this).getPropertyValue("direction");e?this._direction=e:this._direction="ltr"}closeDropdown(){this.selected=!1,this.fireDropdownCloseEvent(this.accessibleName||this.eventItemTitle,el.Close)}getDomElement(e){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector(`${e}`)}getSubItems(){return Mr(this.subItems)}isFocusOutPrevented(e){return this.isMobile||e.relatedTarget===null||this._preventFocusOut}get dropdownHolder(){return this.getDomElement(".udex-masthead-item__dropdown")}get mastheadShell(){return document.querySelector("[udex-masthead-shell]")}get additionalClass(){const e=this.icon||this.image||this.isProfileBtn?"udex-masthead-item__button--icon":"",t=this.isProfileBtn?"udex-masthead-item__button--profile":"",i=this.isExploreBtn?"udex-masthead-item__button--explore":"",a=this.isSupportBtn?"udex-masthead-item__button--support":"",r=this.isCountrySelectorBtn?"udex-masthead-item__button--country-selector":"";return`udex-masthead-item ${e} ${t} ${i} ${r} ${a}`.trim()}get profileAvatar(){return this.querySelector("[udex-avatar]")}get iconAltText(){return this._isMenuCloseBtn?this.accessibleName||this.icon:this.iconAlt}get isRtlDirection(){return this._direction==="rtl"}get isLtrDirection(){return this._direction==="ltr"}get hasHref(){var e;return!!((e=this.href)!=null&&e.length)}get accessibleRoleName(){return this.accessibleRole?this.accessibleRole:"button"}get selectedClass(){return this.selected?" udex-masthead-item__button--active":""}get ariaDescribedBy(){const e=[];return this.isTargetBlank&&e.push("new-win-desc"),this.imageAlt&&e.push("image-desc"),e.length?e.join(" ").trim():void 0}get isDropdownOpened(){return this.hasDropdownSlot&&this.selected}get isMobileMenuOpenBtn(){return this.hasAttribute("_is-menu-open-btn")}get hasDropdownSlot(){return!!this.getSlottedNodes("dropdown").length}get hasArrowDown(){return this.hasDropdownSlot&&!this.isProfileBtn&&!this.icon.length&&!this.hideArrowIcon}get isProfileBtn(){return this.getAttribute("slot")==="profile"}get isExploreBtn(){return this.getAttribute("slot")==="exploreSAP"}get isCountrySelectorBtn(){return this.getAttribute("slot")==="countrySelector"}get isCartBtn(){return this.getAttribute("slot")==="cart"}get isSearchBtn(){return this.icon==="search"}get isSupportBtn(){return this.getAttribute("slot")==="support"}get accessibleLabel(){return this.accessibleName||this.innerText||(this.isProfileBtn?B(Fn,d7):"")}get profileSlot(){return this.getSlottedNodes("dropdown")[0]}get isMobile(){var e;return io.isAtMost("M")||((e=this.mastheadShell)==null?void 0:e._isMobileMode)}get isTargetBlank(){return this.target===$i._blank}get openInNewWindowText(){return B(Fn,w3)}get eventItemTitle(){var e,t;return this.isSearchBtn?B(Fn,T3):this.isCartBtn?B(Fn,UE):this.isProfileBtn?B(Fn,d7):this.isCountrySelectorBtn?B(Fn,jE):this.isSupportBtn?B(Fn,VE):((t=(e=this.firstChild)==null?void 0:e.nodeValue)==null?void 0:t.trim())||""}get buttonAriaExpanded(){if(this.hasDropdownSlot)return this.selected||!1}get imageLoadError(){return this._imageLoadError&&this.isCountrySelectorBtn}get dropdownMenu(){return this.getSlottedNodes("dropdown").find(e=>e instanceof V_)}get hasFourColumnsMenu(){var e;return!!((e=this.dropdownMenu)!=null&&e.hasFourColumns)}};Et([d({type:String})],ut.prototype,"subItems",void 0);Et([d({type:String})],ut.prototype,"menuTitle",void 0);Et([d({type:Boolean})],ut.prototype,"selected",void 0);Et([d({type:Boolean})],ut.prototype,"hideArrowIcon",void 0);Et([d({type:String})],ut.prototype,"icon",void 0);Et([d({type:String})],ut.prototype,"image",void 0);Et([d({type:String})],ut.prototype,"imageAlt",void 0);Et([d({type:String})],ut.prototype,"href",void 0);Et([d()],ut.prototype,"target",void 0);Et([d({type:String})],ut.prototype,"accessibleName",void 0);Et([d({type:String})],ut.prototype,"accessibleRole",void 0);Et([d({type:String})],ut.prototype,"iconAlt",void 0);Et([d({type:Boolean})],ut.prototype,"hideActiveBorder",void 0);Et([d({type:String})],ut.prototype,"_direction",void 0);Et([d({type:Boolean})],ut.prototype,"_isMobileMode",void 0);Et([d({type:String})],ut.prototype,"label",void 0);Et([d({type:String})],ut.prototype,"numberBadge",void 0);Et([D({type:HTMLElement})],ut.prototype,"dropdown",void 0);Et([D({type:HTMLElement,default:!0})],ut.prototype,"content",void 0);Et([d({type:Boolean})],ut.prototype,"_preventFocusOut",void 0);Et([d({type:Boolean})],ut.prototype,"_isMenuCloseBtn",void 0);Et([d({type:Boolean})],ut.prototype,"_imageLoadError",void 0);Et([d({type:Boolean})],ut.prototype,"_hasFourColumnsMenu",void 0);Et([V("@sapudex/web-components")],ut,"i18nBundle",void 0);ut=Fn=Et([T({tag:"udex-masthead-item",renderer:A,languageAware:!0,styles:wq,template:bq,dependencies:[V_,R]}),x("item-click",{bubbles:!0}),x("dropdown-closed",{bubbles:!0}),x("dropdown-opened",{bubbles:!0})],ut);ut.define();const qp=ut;function Sq(){return g("nav",{class:"udex-masthead-mobile-menu",children:[g("div",{class:"udex-masthead-mobile-menu__nav-holder",children:[this.hasSearchSlot&&l("div",{class:"udex-masthead-mobile-menu__list-search",children:l("slot",{name:"search"})}),g("ul",{class:"udex-masthead-mobile-menu__list",role:"menu",onKeyDown:this.handlePressKey,children:[this.showNavigation&&kq.call(this),this._showCategories&&g(P,{children:[l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:this._hideExploreSapBtn?l(it,{class:"udex-masthead-mobile-menu__back-item",part:"menu-item",type:"Button",onClick:this.handleExploreBackToMenuItems,label:this._clickedItem.innerText,"has-border":!0,"icon-start":!0,"is-back":"","is-explore-back":""}):this.isNotMultipleMode?l(it,{class:"udex-masthead-mobile-menu__heading",part:"menu-item",type:"Heading",label:this._clickedItem.innerText,"has-border":!0}):l(it,{class:"udex-masthead-mobile-menu__back-item",part:"menu-item","aria-haspopup":"true",type:"Button",onClick:this.handleBackToMenuItems,label:this._clickedItem.innerText,"has-border":!0,"icon-start":!0,"is-back":"","is-back-to-nav":""})}),Tq.call(this)]}),this._showCategoryItems&&g(P,{children:[l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{class:"udex-masthead-mobile-menu__back-item",part:"menu-item",type:"Button","aria-haspopup":"true",onClick:this.handleBackToCategories,label:this._category.category,"has-border":!0,"icon-start":!0,"is-back":"","is-back-to-categories":""})}),Bq.call(this)]})]})]}),this.showExploreBtn&&l(it,{class:"udex-masthead-mobile-menu__explore-btn",part:"menu-item",type:"Button","aria-haspopup":"true",id:this.exploreItem._id,onClick:this.handleExploreSapClick,"icon-end":!0,label:this.exploreItem.innerText,"accessible-role-text":"button","first-level-btn":"","first-level":"","is-explore":""})]})}function kq(){return this.items.map((o,e)=>l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:o.subItems?l(it,{part:"menu-item",type:"Button","aria-haspopup":"true",onClick:this.handleMenuItemClick,label:o.innerText,id:o._id,"has-border":!0,"icon-end":!0,"first-level-btn":"","first-level":""}):l(it,{part:"menu-item",onClick:this.handleMobileItemEvent,url:o.href,label:o.innerText,target:o.target,"has-border":!0,"first-level":""})},e))}function Tq(){return g(P,{children:[this._clickedItem.href&&l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",url:this._clickedItem.href,label:this.overviewLinkText,onClick:this.handleMobileItemEvent,"has-border":!0,"second-level":""})}),this._categories.map((o,e)=>Iq.call(this,o,e))]})}function Iq(o,e){return o.items.length?o.category?l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMenuCategoryClick,id:`${e}`,label:o.category,"aria-haspopup":"true",type:"Button","has-border":!0,"icon-end":!0,"second-level-btn":"","second-level":""})},e):o.items.map((t,i)=>l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileItemEvent,url:t.url,label:t.title,"has-border":!0,"second-level":""})},`${e}-${i}`)):l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:o.url?l(it,{id:`${e}`,onClick:this.handleMobileItemEvent,label:o.category,url:o.url,part:"menu-item",type:"Link","has-border":!0,"second-level":""}):l(it,{id:`${e}`,onClick:this.handleMobileItemEvent,label:o.category,part:"menu-item",type:"Button","has-border":!0,"second-level":""})},e)}function Bq(){return g(P,{children:[this._category.url&&l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileCategoryItemEvent,url:this._category.url,label:this.overviewLinkText,"has-border":!0,"third-level":""})}),this._category.items.map((o,e)=>Aq.call(this,o,e))]})}function Aq(o,e){return o.subItems?g("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:[o.url?l(it,{class:"udex-masthead-mobile-menu__sub-category",part:"menu-item",onClick:this.handleMobileCategoryItemEvent,label:o.title,url:o.url,"third-level":""}):l("span",{class:"udex-masthead-mobile-menu__sub-category",children:o.title}),l("ul",{class:"udex-masthead-mobile-menu__sub-list","aria-label":o.title,children:o.subItems.map((t,i)=>t.url?l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileCategoryItemEvent,label:t.title,url:t.url,"third-level":""})},`${e}-${i}`):void 0)})]},e):o.url?l("li",{class:"udex-masthead-mobile-menu__list-item",role:"none",children:l(it,{part:"menu-item",onClick:this.handleMobileCategoryItemEvent,label:o.title,url:o.url,"has-border":!0,"third-level":""})},e):void 0}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Eq=`:host{--udex-masthead-mobile-menu-padding-m: var(--udexSpacer24);--udex-masthead-mobile-menu-padding-s: var(--udexSpacer24) var(--udexSpacer48);--udex-masthead-mobile-menu-padding-xs: var(--udexSpacer24);--udex-masthead-mobile-menu-background: var(--sapShell_Navigation_Background, #FFF);--udex-masthead-mobile-search-margin-bottom: var(--udexSpacer16, 16);--udex-masthead-mobile-explore-btn-position: sticky;--udex-masthead-menu-sub-category-font-size: var(--udexTypographyBodyXSFontSize, 14px);--udex-masthead-menu-sub-category-color: var(--udexColorGrey9, #223548);--udex-masthead-menu-sub-category-text-transform: none;--udex-masthead-menu-sub-category-font-weight: var(--udexTypographyFontWeightRegular, 400);--udex-masthead-menu-sub-category-line-height: var(--udexTypographyHeadingLineHeight, 1.1);--udex-masthead-menu-sub-category-padding-block: var(--udexSpacer16);--udex-masthead-menu-sub-category-padding-inline: var(--udexSpacer8) var(--udexSpacer12);--udex-masthead-menu-sub-list-item-spacing: 0;--udex-masthead-menu-sub-list-indent: var(--udexSpacer12, 12px)}.udex-masthead-mobile-menu__list-search{margin-bottom:var(--udex-masthead-mobile-search-margin-bottom)}.udex-masthead-mobile-menu{background:var(--udex-masthead-mobile-menu-background);box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;height:100%}.udex-masthead-mobile-menu__nav-holder{padding:var(--udex-masthead-mobile-menu-padding-m);height:100%;overflow:auto}.udex-masthead-mobile-menu__explore-btn{--udex-masthead-menu-item-font-weight: var(--udexTypographyFontWeightMedium, 500);position:var(--udex-masthead-mobile-explore-btn-position);margin-block-start:auto;inset-block-end:0;inline-size:100%}.udex-masthead-mobile-menu__list{margin:0;padding:0;list-style:none}[udex-masthead-menu-item]{--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12)}[udex-masthead-menu-item]::part(menu-item),[udex-masthead-menu-item]::part(menu-item-link){width:100%}.udex-masthead-mobile-menu__back-item::part(menu-item-button){font-weight:var(--udexTypographyFontWeightMedium, 500);justify-content:space-between}.udex-masthead-mobile-menu__heading::part(menu-item){justify-content:center}.udex-masthead-mobile-menu__back-item::part(menu-item-button):after{content:""}.udex-masthead-mobile-menu__back-item::part(left){margin-inline-end:var(--udexSpacer4);margin-inline-start:0}span.udex-masthead-mobile-menu__sub-category{display:block;font-family:var(--sapFontFamily, sans-serif);font-size:var(--udex-masthead-menu-sub-category-font-size);line-height:var(--udex-masthead-menu-sub-category-line-height);font-weight:var(--udex-masthead-menu-sub-category-font-weight);text-transform:var(--udex-masthead-menu-sub-category-text-transform);color:var(--udex-masthead-menu-sub-category-color);padding-block:var(--udex-masthead-menu-sub-category-padding-block);padding-inline:var(--udex-masthead-menu-sub-category-padding-inline);box-sizing:border-box;width:100%}[udex-masthead-menu-item].udex-masthead-mobile-menu__sub-category{--udex-masthead-menu-item-color: var(--udex-masthead-menu-sub-category-color);--udex-masthead-menu-item-font-size: var(--udex-masthead-menu-sub-category-font-size);--udex-masthead-menu-item-line-height: var(--udex-masthead-menu-sub-category-line-height);--udex-masthead-menu-item-font-weight: var(--udex-masthead-menu-sub-category-font-weight);text-transform:var(--udex-masthead-menu-sub-category-text-transform)}.udex-masthead-mobile-menu__sub-list{list-style:none;margin:0;padding:0;padding-inline-start:var(--udex-masthead-menu-sub-list-indent)}.udex-masthead-mobile-menu__sub-list [udex-masthead-menu-item]{--udex-masthead-menu-item-padding-block-mobile: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-mobile: var(--udexSpacer12)}.udex-masthead-mobile-menu__sub-list li{margin-bottom:var(--udex-masthead-menu-sub-list-item-spacing)}@media (width < 980px){.udex-masthead-mobile-menu__nav-holder{padding:var(--udex-masthead-mobile-menu-padding-s)}}@media (width < 640px){.udex-masthead-mobile-menu__nav-holder{padding:var(--udex-masthead-mobile-menu-padding-xs)}}
|
|
710
710
|
`;var yd=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},cf;const Dq=2,Rq=1;let Da=cf=class extends z{onAfterRendering(){this._mastheadShell=this.mastheadShell,this.handleMenuMode(),this.setTabIndexForItems(),this.handleFocusItem()}handleMenuItemClick(e){e.preventDefault(),e.stopPropagation();const t=this.getClickedItem(e.target);this.openCategories(t),this.setFocusItemByIndex(0),this.fireMobileItemEvent(e)}handleMenuCategoryClick(e){e.preventDefault(),e.stopPropagation(),this.openCategoryItems(e),this.setFocusItemByIndex(0),this.fireMobileItemEvent(e)}handleExploreSapClick(e){e.preventDefault(),this.openExploreSapMenu(e),this.setFocusItemByIndex(0),this.fireExploreSapMobileButton(e)}handleBackToMenuItems(e){e.stopPropagation(),this.showFirstLevelMenu(),this.setFocusItemByIndex(this.items.indexOf(this._clickedItem)),this.fireMobileItemEvent(e)}handleBackToCategories(e){e.stopPropagation(),this.showCategories(),this.setFocusItemByIndex(this._category.index),this.fireMobileItemEvent(e)}handleExploreBackToMenuItems(e){e.stopPropagation(),this.showFirstLevelMenu(),this.setFocusExploreBtn(),this.fireMobileItemEvent(e)}handlePressKey(e){const t=e.target,i=this.navigationItems,a=t===i[0],r=t===i[i.length-1];Qe(e)&&!r&&(e.preventDefault(),this.focusNextItem(t)),pt(e)&&!a&&(e.preventDefault(),this.focusPreviousItem(t)),this.handleHomeKey(e),this.handleEndKey(e)}focusNextItem(e){const t=this.getCurrentIndex(e),i=t+1,a=this.getListItemByIndex(t);let r=this.getListItemByIndex(i);r.type===Qa.Heading&&(r=this.getListItemByIndex(i+1)),a._tabIndex="-1",r._tabIndex="0",r.focus()}focusPreviousItem(e){const t=this.getCurrentIndex(e),i=t-1,a=this.getListItemByIndex(t);let r=this.getListItemByIndex(i);r.type===Qa.Heading&&(r=this.getListItemByIndex(this.navigationItems.length-1)),a._tabIndex="-1",r._tabIndex="0",r.focus()}handleMobileItemEvent(e){e.stopPropagation(),this.fireMobileItemEvent(e)}handleMobileCategoryItemEvent(e){e.stopPropagation(),this.fireMobileItemEvent(e,this._category.category)}handleMenuMode(){this.isNoMenuItemsMode&&this.hasExploreBtnSlot&&this.openCategories(this.exploreItem),this.isSingleMenuMode&&!this._hideExploreSapBtn&&this.openCategories(this.items[0])}handleFocusItem(){this._shouldFocusItemByIndex&&this.focusItemByIndex(this._focusedItemIndex),this._shouldFocusExploreBtn&&this.focusExploreBtn()}focusItemByIndex(e){var t;(t=this.getListItemByIndex(e))==null||t.focus(),this._shouldFocusItemByIndex=!1}focusExploreBtn(){this.exploreBtnMenu.focus(),this._shouldFocusExploreBtn=!1}handleEndKey(e){if(Ot(e)){e.preventDefault();const t=this.getCurrentIndex(e.target),i=this.navigationItems.length-1,a=this.getListItemByIndex(t),r=this.getListItemByIndex(i);a._tabIndex="-1",r._tabIndex="0",r.focus()}}handleHomeKey(e){if(lt(e)){e.preventDefault();const t=this.getCurrentIndex(e.target),i=this.getListItemByIndex(t),r=this.getListItemByIndex(0).type===Qa.Heading?1:0;i._tabIndex="-1",this.getListItemByIndex(r)._tabIndex="0",this.getListItemByIndex(r).focus()}}openExploreSapMenu(e){const t=this.getClickedItem(e.target);this._hideExploreSapBtn=!0,this._showCategoryItems=!1,this.openCategories(t)}openCategories(e){this._clickedItem=e,this._categories=this.getCategories(e.getSubItems()),this._showCategories=!0}openCategoryItems(e){const t=e.target,i=this._clickedItem.href?Dq:Rq,a=Number(t.getAttribute("id"));this._category={...this._categories[a],index:a+i},this._showCategories=!1,this._showCategoryItems=!0}showFirstLevelMenu(){this._showCategories=!1,this._showCategoryItems=!1,this._hideExploreSapBtn=!1}showCategories(){this._showCategories=!0,this._showCategoryItems=!1}fireMobileItemEvent(e,t){var n;const i=e.target,a=i.hasAttribute("is-back"),r={...t&&{category:t},item:i,isMobile:!0,isBack:a,analyticsPath:this.buildAnalyticsPath(i),originalEvent:e,analyticsName:Jo.Header,sourceNode:(n=i.shadowRoot)==null?void 0:n.querySelector(".udex-masthead-menu-item")};this.fireDecoratorEvent("item-click",r),i.url&&this._mastheadShell&&this.closeMenu()}fireExploreSapMobileButton(e){var t;this.fireDecoratorEvent("explorer-menu-click",{originalEvent:e,analyticsName:Jo.Header,sourceNode:(t=e.target.shadowRoot)==null?void 0:t.querySelector(".udex-masthead-menu-item")})}mobileMenuScrollToTop(){var e,t;(t=(e=this.shadowRoot)==null?void 0:e.querySelector(".udex-masthead-mobile-menu__nav-holder"))==null||t.scrollTo({top:0})}setFocusItemByIndex(e){this._shouldFocusItemByIndex=!0,this._focusedItemIndex=e}setFocusExploreBtn(){this._shouldFocusExploreBtn=!0}getClickedItem(e){return[...this.items,this.hasExploreBtnSlot?this.exploreItem:[]].find(i=>i._id===e.getAttribute("id"))}getCategories(e){const t=[];return e==null||e.forEach(i=>{i.subMenuLinkItems.forEach(a=>{t.push(a)})}),t}getCurrentIndex(e){return this.navigationItems.indexOf(e)}getListItemByIndex(e){return this.navigationItems[e]}setTabIndexForItems(){this.navigationItems.forEach((e,t)=>{var a;if(this._focusedItemIndex>0){e._tabIndex=t===this._focusedItemIndex?"0":"-1";return}const i=((a=this.navigationItems[t-1])==null?void 0:a.type)===Qa.Heading;e._tabIndex=i||t===0?"0":"-1"})}buildAnalyticsPath(e){const t=this.getListItemByIndex(0).label.trim(),i=e.hasAttribute("first-level"),a=e.hasAttribute("second-level"),r=e.hasAttribute("third-level"),n=e.hasAttribute("is-back-to-categories"),s=e.hasAttribute("is-back-to-nav")||this._hideExploreSapBtn,u=!this.showExploreBtn&&!!this.items.length,c=e.label.trim(),p=[];return s&&(this._navItem=void 0,p.length=0),i?(this._navItem=e,p.push(c)):a?p.push(...this._navItem?[t,c]:[c]):r?p.push(...this._navItem?[this._navItem.label.trim(),t,c]:[t,c]):n&&this._navItem&&p.push(this._navItem.label.trim()),u&&this.hasExploreBtnSlot&&p.unshift(this.exploreItem.label),p}resetSearch(){const e=this.search[0];e&&e.value&&(e.value="")}closeMenu(){var e;this._mastheadShell.closeMobileMenu(),(e=this._mastheadShell.mobileBtn)==null||e.focus()}get mastheadShell(){return document.querySelector("[udex-masthead-shell]")}get exploreBtnMenu(){return this.shadowRoot.querySelector(".udex-masthead-mobile-menu__explore-btn")}get navigationItems(){return Array.from(this.shadowRoot.querySelectorAll("ul [udex-masthead-menu-item]"))}get showNavigation(){return!this._showCategories&&!this._showCategoryItems}get overviewLinkText(){return B(cf,k3)}get exploreItem(){return this.getSlottedNodes("exploreSapMobileButton")[0]}get showExploreBtn(){return this.hasExploreBtnSlot&&!this._hideExploreSapBtn&&!!this.items.length}get hasExploreBtnSlot(){return!!this.getSlottedNodes("exploreSapMobileButton").length}get hasSearchSlot(){return!!this.search.length}get isCategoriesOpen(){return!this._showCategoryItems}get isSingleMenuMode(){return this.items.length===1&&this.isCategoriesOpen}get isNoMenuItemsMode(){return this.items.length===0&&this.isCategoriesOpen}get isNotMultipleMode(){return this.isSingleMenuMode||this.isNoMenuItemsMode}};yd([D({type:Node})],Da.prototype,"search",void 0);yd([D({type:HTMLElement,default:!0})],Da.prototype,"items",void 0);yd([D({type:HTMLElement})],Da.prototype,"exploreSapMobileButton",void 0);yd([d({type:Boolean})],Da.prototype,"_showCategories",void 0);yd([d({type:Boolean})],Da.prototype,"_hideExploreSapBtn",void 0);yd([d({type:Boolean})],Da.prototype,"_showCategoryItems",void 0);yd([V("@sapudex/web-components")],Da,"i18nBundle",void 0);Da=cf=yd([T({tag:"udex-masthead-mobile-menu",renderer:A,styles:Eq,template:Sq,dependencies:[it]}),x("item-click",{cancelable:!0,bubbles:!1}),x("explorer-menu-click",{bubbles:!0})],Da);Da.define();const Pq=Da;function Lq(){return l("div",{onKeyDown:this.handleKeydown,class:this.rootClass,children:this._openIdentities?Mq.call(this):Nq.call(this)})}function Nq(){return g(P,{children:[this.hasUserData&&g("div",{class:"udex-masthead-profile-menu__header",children:[l(y_,{"aria-hidden":"true",size:Cr.L,initials:this.userData.avatarInitials,"fallback-icon":this.userData.fallbackIcon,children:this.userData.avatarUrl&&l("img",{src:this.userData.avatarUrl,alt:"avatar"})}),g("div",{children:[l("p",{class:"udex-profile-menu__account-name",children:this.userData.name}),l("p",{class:"udex-profile-menu__account-email",children:this.userData.email}),this.hasIdentities&&l(me,{onClick:this.handleSwitcherClick,class:"udex-masthead-profile-menu__btn-switcher",size:ye.Large,"end-icon":Ii,design:ve.Invisible,children:this.switcherAccountText})]})]}),this.messageAvailable&&l("div",{class:"udex-masthead-profile-menu__message",children:l("slot",{name:"message"})}),l("div",{class:"udex-masthead-profile-menu__content",children:l("div",{class:"udex-masthead-profile-menu__links",onScroll:this.handleProfileMenuShadowVisible,children:l(V_,{exportparts:"badge, menu-item",part:"menu","sub-items":this.linksList,"onui5-menu-item-click":this.handleProfileMenuItemClick,"_scroll-into-view":"Center"})})}),this.hasActionButton&&l("div",{class:"udex-masthead-profile-menu__actions",children:this.hasLogoutButton?l("div",{class:"udex-masthead-profile-menu__btn",children:l("slot",{name:"logoutButton"})}):l(ei,{"accessible-role":"Link",onClick:this.handleUserLogoutClick,"end-icon":y2,design:Lh.Default,href:this.logoutUrl,children:this.logoutText})})]})}function Mq(){return g(P,{children:[g("div",{class:"udex-masthead-profile-menu__header-wrap back-btn",children:[l(it,{type:"Button",class:"udex-masthead-profile-menu__btn-back",onClick:this.handleSwitcherClick,label:this.btnBackText,"icon-start":!0}),l("span",{class:"udex-masthead-profile-menu__switcher-title",children:this.switcherAccountText})]}),l("span",{class:"udex-masthead-profile-menu__identities-list-title",children:this.listTitleText}),l("div",{class:"udex-masthead-profile-menu__identities-list-wrap",children:this.identitiesList.length>0&&l(gd,{class:"udex-masthead-profile-menu__identities-list",mode:Ye.SingleSelect,"accessible-name":this.listTitleText,onScroll:this.handleIdentitiesListShadowVisible,controlled:!0,"_scroll-into-view":"Center",children:this.identitiesList.map((o,e)=>l(za,{id:o.idsUser,class:"udex-masthead-profile-menu__identities-list-item","onui5-item-press":this.fireEventIdentityItemClick,"image-badge-state":o.statusBadge,image:o.avatarUrl,"image-alt":o.name,"supporting-text":o.supportingText,children:o.email},e))})}),l(me,{onClick:this.fireEventAddOrRemoveAccountClick,class:"udex-masthead-profile-menu__add-remove-btn",design:ve.Primary,"end-icon":y2,size:ye.Large,children:this.addOrRemoveAccountText})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Oq=`:host{--udex-masthead-profile-menu-color: var(--udexColorNeutralBlack, #000);--udex-masthead-profile-menu-login-border-color: var(--udexColorGrey2, #EAECEE);--udex-masthead-profile-menu-username-color: inherit;--udex-masthead-profile-account-color: var(--udexColorGrey9, #223548);--udex-masthead-profile-menu-email-color: var(--udexColorGrey9, #223548);--udex-masthead-profile-menu-header-border-color: var(--udexColorGrey2, #EAECEE);--udex-masthead-profile-menu-identities-list-height: 430px}[udex-masthead-menu]{--udex-masthead-menu-padding-desktop: 0;--udex-masthead-menu-padding-mobile: 0;--udex-masthead-menu-row-margin: 0;--udex-masthead-menu-header-border-color: var(--udex-masthead-profile-menu-header-border-color)}[udex-masthead-menu]::part(column){max-width:initial}.udex-masthead-profile-menu{color:var(--udex-masthead-profile-menu-color);font-family:var(--sapFontFamily);display:inline-flex;flex-direction:column;align-items:stretch;box-sizing:border-box}.udex-masthead-profile-menu__message,.udex-masthead-profile-menu__header{margin-bottom:var(--udexSpacer48)}.udex-masthead-profile-menu__header{display:flex;flex-direction:column;align-items:center;gap:var(--udexSpacer24)}.udex-masthead-profile-menu__header>div{display:flex;flex-direction:column;align-items:center;gap:var(--udexSpacer4)}.udex-profile-menu__account-name{color:var(--udex-masthead-profile-menu-username-color);font-size:20px;font-weight:500;line-height:22px;margin:0}.udex-profile-menu__account-email{color:var(--udex-masthead-profile-account-color);font-size:14px;line-height:21px;margin:0}.udex-masthead-profile-menu__message{width:100%}:host([_is-mobile-mode]) .udex-masthead-profile-menu{box-sizing:border-box;width:100%;height:100%}.udex-masthead-profile-menu__identities-list-wrap{overflow:auto;height:100%;position:relative}.udex-masthead-profile-menu__btn-back{--udex-button-color-tertiary-standard-default-text-and-icon: var(--udexColorNeutralBlack, #000);--udex-masthead-menu-item-padding-block-desktop: var(--udexSpacer16);--udex-masthead-menu-item-padding-inline-desktop: var(--udexSpacer8) var(--udexSpacer12)}.udex-masthead-profile-menu__btn-back::part(menu-item-button){font-weight:var(--udexTypographyFontWeightMedium);justify-content:flex-start}.udex-masthead-profile-menu__btn-back::part(left){margin-inline-end:var(--udexSpacer4);margin-inline-start:0}.udex-masthead-profile-menu__switcher-title{font-size:var(--udexTypographyHeadingBoldXXSFontSize);line-height:var(--udexTypographyHeadingLineHeight);font-weight:var(--udexTypographyFontWeightMedium);text-align:center;padding:5px}.udex-masthead-profile-menu__identities-list-title{padding:var(--udexSpacer8) var(--udexSpacer12) var(--udexSpacer12) var(--udexSpacer8);font-size:var(--udexTypographyBodyXSFontSize);line-height:var(--udexTypographyHeadingLineHeight);font-weight:var(--udexTypographyFontWeightMedium);border-bottom:1px solid var(--udex-masthead-profile-menu-login-border-color);margin-bottom:var(--udexSpacer4);margin-top:var(--udexSpacer32);display:block}.udex-masthead-profile-menu__add-remove-btn{margin-inline-end:auto;margin-top:var(--udexSpacer32);display:block;min-height:42px}.udex-masthead-profile-menu__header-wrap{display:flex;flex-direction:column}:host([_is-mobile-mode]) .udex-masthead-profile-menu__identities-list{max-height:100%}:host([_is-mobile-mode]) .udex-masthead-profile-menu.udex-masthead-profile-menu_switcher,.udex-masthead-profile-menu.udex-masthead-profile-menu_switcher{gap:0}.udex-masthead-profile-menu__identities-list{max-height:var(--udex-masthead-profile-menu-identities-list-height);overflow:auto;display:block}.udex-masthead-profile-menu__content{position:relative;overflow:auto}:host([_is-mobile-mode]) .udex-masthead-profile-menu__add-remove-btn{margin-top:0}.udex-masthead-profile-menu__links{height:100%;overflow:auto;max-height:100%}.udex-masthead-profile-menu__content{position:relative}:host([_is-mobile-mode]) .udex-masthead-profile-menu__links_scrollable:before,.udex-masthead-profile-menu__identities-list_scrollable:before{content:"";position:absolute;left:0;right:0;bottom:0;height:40px;z-index:var(--udexZIndex1, 1);background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#FFFFFF 100%)}:host([desktop][_is-mobile-mode]) .udex-masthead-profile-menu__links_scrollable:before,:host([desktop]) .udex-masthead-profile-menu__identities-list_scrollable:before{right:15px}:host([desktop][_is-mobile-mode]:dir(rtl)) .udex-masthead-profile-menu__links_scrollable:before,:host([desktop]:dir(rtl)) .udex-masthead-profile-menu__identities-list_scrollable:before{right:0;left:15px}:host([_is-mobile-mode]) .udex-masthead-profile-menu__switcher-title{display:none}.udex-masthead-profile-menu__identities-list-item::part(supporting){word-break:break-all}:host([_is-mobile-mode]) .udex-masthead-profile-menu__actions [udex-link]{padding:var(--udexSpacer16) var(--udexSpacer8);margin:0;display:block}.udex-masthead-profile-menu__actions [udex-link]{font-family:var(--udex-masthead-menu-item-font-family, sans-serif);font-size:var(--udex-masthead-menu-item-font-size, 14px);line-height:var(--udex-masthead-menu-item-line-height, 1.1);font-weight:var(--udex-masthead-menu-item-font-weight, 500);margin:var(--udexSpacer8) var(--udexSpacer12) var(--udexSpacer8) var(--udexSpacer8);color:var(--sapList_TextColor, #000);--udex-link-icon-width: 14px;--udex-link-icon-height: 14px}.udex-masthead-profile-menu__btn{padding-top:var(--udexSpacer32)}@media (width < 1280px){.udex-masthead-profile-menu__actions [udex-link]{padding:var(--udexSpacer16) var(--udexSpacer8);margin:0;display:block}.udex-masthead-profile-menu__btn-back::part(menu-item-button){justify-content:space-between}.udex-masthead-profile-menu__btn-back::part(menu-item-button):after{content:""}.udex-masthead-profile-menu__switcher-title{display:none}.udex-masthead-profile-menu{box-sizing:border-box;width:100%;min-height:100%}.udex-masthead-profile-menu__identities-list-wrap,.udex-masthead-profile-menu__add-remove-btn,.udex-masthead-profile-menu__btn,.udex-masthead-profile-menu__content,:host([_is-mobile-mode]) .udex-masthead-profile-menu__message,:host([_is-mobile-mode]) .udex-masthead-profile-menu__header{margin-bottom:var(--udexSpacer32)}.udex-masthead-profile-menu__actions{border-top:0;margin-top:auto}udex-masthead-menu-item::part(menu-item){justify-content:center}.udex-masthead-profile-menu__btn{padding-top:0}}@media (max-height: 550px){.udex-masthead-profile-menu__identities-list-wrap,.udex-masthead-profile-menu__content{min-height:100px}}
|
|
711
|
-
`;var Ha=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Od;let kr=Od=class extends z{constructor(){super(),this._openIdentities=!1,this._requestRender=!1,this._identitiesListClassName="udex-masthead-profile-menu__identities-list",this._profileMenuLinksClassName="udex-masthead-profile-menu__links",this._handleResizeBound=this.handleResize.bind(this)}onAfterRendering(){this._mastheadShell=this.mastheadShell,this.updateFocusState(this._shouldFocusBackBtn,this.focusBackBtn.bind(this)),this.updateFocusState(this._shouldFocusSwitchBtn,this.focusSwitchBtn.bind(this)),this.setMenuItemsMobileMode(),this.checkScrollableElements()}onEnterDOM(){Q.register(this,this._handleResizeBound),se()&&this.setAttribute("desktop","")}onExitDOM(){Q.deregister(this,this._handleResizeBound)}handleResize(){this._isMobileMode=this.isMobile,this.profileMenuLinks&&(this.profileMenuLinks._isMobileMode=this.isMobile),this.checkScrollableElements()}handleSwitcherClick(){this._openIdentities=!this._openIdentities,this._shouldFocusBackBtn=this._openIdentities,this._shouldFocusSwitchBtn=!this._openIdentities}handleUserLogoutClick(e){this.fireLogoutClick(e),this._isMobileMode&&this.closeMenu()}handleProfileMenuItemClick(e){this.fireMenuItemClick(e),this._isMobileMode&&this.closeMenu()}updateFocusState(e,t){e&&(t(),t===this.focusBackBtn?this._shouldFocusBackBtn=!1:t===this.focusSwitchBtn&&(this._shouldFocusSwitchBtn=!1))}handleKeydown(e){De(e)&&this._openIdentities&&this.closeIdentitiesPanel()}focusSwitchBtn(){this.focusElement(".udex-masthead-profile-menu__btn-switcher")}focusBackBtn(){this.focusElement(".udex-masthead-profile-menu__btn-back")}focusElement(e){var i;const t=(i=this.shadowRoot)==null?void 0:i.querySelector(e);t==null||t.focus()}fireEventIdentityItemClick(e){const{item:t}=e.detail,i=this.identitiesList.find(({idsUser:r})=>r===t.id);!this.fireDecoratorEvent("identity-item-click",{item:i,analyticsName:Jo.Header})&&e.preventDefault(),this._isMobileMode&&this.closeMenu()}fireEventAddOrRemoveAccountClick(e){!this.fireDecoratorEvent("add-or-remove-account-click",{analyticsName:Jo.Header})&&e.preventDefault()}fireLogoutClick(e){var a;const t=e.target;this.fireDecoratorEvent("logout",{item:t,sourceNode:(a=t.shadowRoot)==null?void 0:a.querySelector("a"),originalEvent:e,analyticsName:Jo.Header})||e.preventDefault()}fireMenuItemClick(e){const{item:t,originalEvent:i}=e.detail;this.fireDecoratorEvent("profile-item-click",{item:t,originalEvent:i,analyticsName:Jo.Header,sourceNode:t.shadowRoot.querySelector(".udex-masthead-menu-item")})}checkScrollableElements(){this._openIdentities&&this.checkScrollableElement(this.identitiesHTMLElement,this._identitiesListClassName),this.isMobile&&this.checkScrollableElement(this.profileMenuHTMLElement,this._profileMenuLinksClassName)}checkScrollableElement(e,t){e&&requestAnimationFrame(()=>{this.isScrollableElement(e)&&e.classList.add(`${t}_scrollable`)})}scrollToTopProfileMenu(){setTimeout(()=>{this.profileMenuHTMLElement.scrollTop=0},0)}isScrollableElement(e){return e.scrollHeight>e.clientHeight}handleProfileMenuShadowVisible(){this.toggleScrollableClass(this.profileMenuHTMLElement,this._profileMenuLinksClassName,this.scrollBottomProfileMenu)}handleIdentitiesListShadowVisible(){this.toggleScrollableClass(this.identitiesHTMLElement,this._identitiesListClassName,this.scrollBottomIdentitiesList)}toggleScrollableClass(e,t,i){i<=1?e.classList.remove(`${t}_scrollable`):e.classList.add(`${t}_scrollable`)}calculateScrollBottom(e){return e.scrollHeight-e.scrollTop-e.clientHeight}getElementByClassName(e){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector(`.${e}`)}closeMenu(){var e;this._mastheadShell.closeMobileMenu(),(e=this._mastheadShell.mobileBtn)==null||e.focus()}closeIdentitiesPanel(){this._openIdentities=!1}setMenuItemsMobileMode(){this._isMobileMode&&this.profileMenuLinks&&(this.profileMenuLinks._isMobileMode=!0)}get scrollBottomIdentitiesList(){return this.calculateScrollBottom(this.identitiesHTMLElement)}get scrollBottomProfileMenu(){return this.calculateScrollBottom(this.profileMenuHTMLElement)}get profileMenuHTMLElement(){return this.getElementByClassName(this._profileMenuLinksClassName)}get identitiesHTMLElement(){return this.getElementByClassName(this._identitiesListClassName)}get linksList(){return this.links?JSON.stringify([{subMenuLinkItems:JSON.parse(this.links)}]):""}get hasIdentities(){var e;return!!((e=this.identities)!=null&&e.length)}get userData(){return Mr(this.loggedInUser)}get hasUserData(){return typeof this.userData=="object"&&this.userData!==null&&!Array.isArray(this.userData)}get identitiesList(){return Mr(this.identities).map(e=>({...e,statusBadge:e.isLogged?"":T8.Warning,supportingText:[e.name,e.idsUser].filter(Boolean).join(", ")}))}get messageAvailable(){return!!this.message.length}get hasLogoutButton(){return!!this.logoutButton.length}get logoutLink(){var e;return!!((e=this.logoutUrl)!=null&&e.length)}get rootClass(){const e="udex-masthead-profile-menu";return this._openIdentities?`${e} ${e}_switcher`:e}get mastheadShell(){return document.querySelector("[udex-masthead-shell]")}get profileMenuLinks(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector("[udex-masthead-menu]")}get btnBackText(){return this._isMobileMode?this.switcherAccountText:B(Od,$E)}get listTitleText(){return`${B(Od,HE)} (${this.identitiesList.length})`}get addOrRemoveAccountText(){return B(Od,XE)}get switcherAccountText(){return B(Od,zE)}get logoutText(){return B(Od,FE)}get isAtMostBreakpointSizeM(){return io.isAtMost("M")}get isMobile(){var e;return this.isAtMostBreakpointSizeM||((e=this.mastheadShell)==null?void 0:e.isMobileMenuMode)}get hasActionButton(){return this.logoutLink||this.hasLogoutButton}};Ha([d()],kr.prototype,"identities",void 0);Ha([d()],kr.prototype,"links",void 0);Ha([d()],kr.prototype,"loggedInUser",void 0);Ha([d()],kr.prototype,"logoutUrl",void 0);Ha([d({type:Boolean})],kr.prototype,"_isMobileMode",void 0);Ha([d({type:Boolean})],kr.prototype,"_openIdentities",void 0);Ha([d({type:Boolean,noAttribute:!0})],kr.prototype,"_requestRender",void 0);Ha([D({type:Node,default:!1})],kr.prototype,"message",void 0);Ha([D({type:HTMLElement})],kr.prototype,"logoutButton",void 0);Ha([V("@sapudex/web-components")],kr,"i18nBundle",void 0);kr=Od=Ha([T({tag:"udex-masthead-profile-menu",renderer:A,styles:[V_.styles,Oq],template:Lq}),x("logout",{cancelable:!0,bubbles:!0}),x("profile-item-click",{cancelable:!0,bubbles:!0}),x("add-or-remove-account-click",{cancelable:!0,bubbles:!0}),x("identity-item-click",{cancelable:!0,bubbles:!0})],kr);kr.define();const Fq="menu2",zq="M1 4.01a.96.96 0 0 1-.703-.298A.969.969 0 0 1 0 3.005c0-.293.099-.534.297-.722A.985.985 0 0 1 1 2h14a.97.97 0 0 1 .719.283.981.981 0 0 1 .281.722.996.996 0 0 1-.281.707.944.944 0 0 1-.719.298H1Zm0 4.995c-.27 0-.505-.1-.703-.298A.969.969 0 0 1 0 8c0-.293.099-.534.297-.723A.985.985 0 0 1 1 6.995h14a.97.97 0 0 1 .719.282c.187.189.281.43.281.723a.996.996 0 0 1-.281.707.944.944 0 0 1-.719.298H1ZM1 14c-.27 0-.505-.1-.703-.298A.969.969 0 0 1 0 12.995c0-.293.099-.534.297-.723A.986.986 0 0 1 1 11.99h14c.292 0 .531.095.719.283.187.189.281.43.281.723a.996.996 0 0 1-.281.707A.945.945 0 0 1 15 14H1Z",$q=!1,Hq="0 0 16 16",Xq="SAP-icons-v4",Uq="@ui5/webcomponents-icons";U(Fq,{pathData:zq,ltr:$q,viewBox:Hq,collection:Xq,packageName:Uq});const jq="menu2",Vq="M15.25 12.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Zm0-5.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Zm0-5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Z",Gq=!1,Wq="0 0 16 16",qq="SAP-icons-v5",Yq="@ui5/webcomponents-icons";U(jq,{pathData:Vq,ltr:Gq,viewBox:Wq,collection:qq,packageName:Yq});const Kq="menu2";function Zq(){return g("header",{className:this.mainClass,onKeyDown:this.handleKeyDown,children:[g("div",{className:"udex-masthead-shell__main-content",children:[g("div",{className:"udex-masthead-shell__landing-wrap",children:[this.logoUrl&&Jq.call(this),this.siteLabel&&Qq.call(this),this.coBrandImage&&eY.call(this)]}),this.isMainMenuVisible&&l("nav",{className:"udex-masthead-shell__nav","aria-label":this.mainNavigationAriaLabel,children:l("ul",{className:"udex-masthead-shell__main-menu","aria-label":this.mainNavigationAriaLabel,children:this.menuItems.map(o=>l("li",{className:"udex-masthead-shell__item","onui5-item-click":this.setSelectedItem,children:l("slot",{name:o._individualSlot})},o._id))})})]}),this.isSearchVisible&&g(P,{children:[l("div",{className:"udex-masthead-shell__search-container","onui5-search-keydown":this.handleSearchKeyDown,children:l("slot",{name:"search"})}),this._isSearchOpened&&l("div",{className:"udex-masthead-shell__btn-holder",children:l(Ks,{class:"udex-masthead-shell__close-search-btn",part:"search-close-button",size:ye.Small,icon:Ui,tooltip:this.closeButtonAccessibleName,"accessible-name":this.closeButtonAccessibleName,onClick:this.handleCloseSearch})})]}),g("div",{className:this.rightMenuClass,children:[this.hasExploreSAP&&l("div",{className:"udex-masthead-shell__explore","onui5-item-click":this.setSelectedItem,children:l("slot",{name:"exploreSAP"})}),this.hasSearch&&l("div",{className:"udex-masthead-shell__search-icon udex-masthead-shell__item_icon",children:l(qp,{class:"udex-masthead-shell__search-btn",part:"search-button",icon:Xp,onClick:this.handleSearchClick,"accessible-name":this.openSearchButtonAccessibleNameText,"icon-alt":this.openSearchButtonAccessibleNameText})}),this.hasJoule&&l("div",{className:"udex-masthead-shell__joule udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleJouleClick,children:l("slot",{name:"joule"})}),this.hasCart&&l("div",{className:"udex-masthead-shell__cart udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleCartClick,children:l("slot",{name:"cart"})}),this.hasSupport&&l("div",{className:"udex-masthead-shell__support udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleSupportClick,children:l("slot",{name:"support"})}),this.hasProfile&&l("div",{className:"udex-masthead-shell__profile udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,"onclick-default":this.handleProfileClick,children:l("slot",{name:"profile"})}),this.hasCountrySelector&&l("div",{className:"udex-masthead-shell__country-selector udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleCountrySelectorClick,children:l("slot",{name:"countrySelector"})}),this.hasMobileMenuButtons&&g(P,{children:[l(qp,{class:"udex-masthead-shell__menu-btn","accessible-role":"button",part:"menu-open-btn","accessible-name":"menu",icon:Kq,"onui5-item-click":this.handleOpenMobileMenu,"_is-menu-open-btn":"",children:l("slot",{slot:"dropdown",name:"mobileMenu"})}),l(qp,{class:"udex-masthead-shell__close-btn","accessible-role":"button",part:"menu-close-btn",onKeyDown:this.handleEnterAndSpaceOnCloseBtn,"onui5-item-click":this.closeMobileMenu,icon:Ui,"accessible-name":this.mobileCloseButtonAccessibleName,"hide-active-border":!0,"_is-menu-close-btn":""})]})]})]})}function Jq(){return this.homeUrl?l("a",{className:"udex-masthead-shell__logo udex-masthead-shell__logo--link",target:"_self",role:"link",tabindex:0,onClick:this.handleLogoClick,href:this.homeUrl,title:this.logoTitle,"aria-label":this.homepageAriaLabel,children:l("img",{className:"udex-masthead-shell__logo-image",src:this.logoUrl,alt:this.logoAlt})}):l("div",{className:"udex-masthead-shell__logo",children:l("img",{className:"udex-masthead-shell__logo-image",src:this.logoUrl,alt:this.logoAlt})})}function Qq(){return this.siteLabelUrl?l("a",{className:"udex-masthead-shell__site-label udex-masthead-shell__site-label--link",role:"link",target:"_self",onClick:this.handleSiteLabelClick,href:this.siteLabelUrl,tabindex:0,title:this.siteLabelTitle,"aria-label":this.siteLabelAriaLabel,children:this.siteLabel}):l("div",{className:"udex-masthead-shell__site-label",children:this.siteLabel})}function eY(){return this.coBrandUrl?l("div",{className:"udex-masthead-shell__co-brand",children:l("a",{className:"udex-masthead-shell__co-brand-link",target:"_self",role:"link",onClick:this.handleCoBrandClick,href:this.coBrandUrl,tabindex:0,title:this.coBrandTitle,"aria-label":this.coBrandAriaLabel,children:l("img",{className:"udex-masthead-shell__co-brand-image",src:this.coBrandImage,alt:this.coBrandAlt})})}):l("div",{className:"udex-masthead-shell__co-brand",children:l("img",{className:"udex-masthead-shell__co-brand-image",src:this.coBrandImage,alt:this.coBrandAlt})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const tY=`:host{--udex-masthead-shell-logo-width: 64px;--udex-masthead-shell-co-brand-width: 135px;--udex-masthead-shell-height: 60px;--udex-masthead-shell-background: var(--udexColorGrey1, #F5F6F7);--udex-masthead-shell-dropdown-shadow: var(--sapContent_Shadow2, 0 10px 30px 0 #22364940);--udex-masthead-shell-site-label-font-size: var(--udexTypographyNavigationRegularXLFontSize, 16px);--udex-masthead-shell-site-label-max-width-desktop: 250px;--udex-masthead-shell-site-label-max-width-mobile: auto;--udex-masthead-shell-site-label-line-height: 24px;--udex-masthead-shell-site-label-font-weight: var(--udexTypographyFontWeightBold, 700);--udex-masthead-shell-site-label-text-decoration: none;--udex-masthead-shell-site-label-color: var(--udexColorGrey8, #354A5F);--udex-masthead-shell-site-label-color-hover: var(--udexColorBlue7, #0070F2);--udex-masthead-shell-item-gap: var(--udexSpacer24);--udex-masthead-shell-item-icon-gap: var(--udexSpacer8);--udex-grid-gutter: 3rem;--udex-grid-margin-m: 4.5rem;--udex-grid-margin-l: 4.5rem;--udex-grid-margin-xl: 5.25rem;--udex-column-width-l: calc((100% - 2 * var(--udex-grid-margin-l) - 11 * var(--udex-grid-gutter)) / 12);--udex-column-width-xl: calc((100% - 2 * var(--udex-grid-margin-xl) - 11 * var(--udex-grid-gutter)) / 12);--udex-masthead-shell-search-container-width-xl: calc(8 * var(--udex-column-width-xl) + 7 * var(--udex-grid-gutter));--udex-masthead-shell-close-button-divider-color: var(--udexColorGrey3, #D5DADD);--udex-masthead-shell-z-index: 10;--udex-masthead-shell-container-xl-max-width: 1432px;--udex-masthead-shell-container-l-max-width: 1456px;--udex-masthead-mobile-menu-buttons-width: 360px;--udex-masthead-right-menu-padding: var(--udexSpacer64);--udex-masthead-shell-explore-margin: var(--udexSpacer12);--udex-masthead-shell-mobile-menu-height: 100%}:host{position:relative;display:block;width:100%;container-type:inline-size;background:var(--udex-masthead-shell-background);z-index:var(--udex-masthead-shell-z-index)}:host([sticky-position]){position:sticky;top:0}:host([show-search-by-default]) .udex-masthead-shell__right-menu,:host([show-search-by-default]) .udex-masthead-shell__main-content,:host([_is-search-opened]) .udex-masthead-shell__main-content{width:30%}:host([show-search-by-default]) .udex-masthead-shell__search-container,:host([_is-search-opened]) .udex-masthead-shell__search-container{width:40%}.udex-masthead-shell__search-container{background:var(--udex-masthead-shell-background)}.udex-masthead-shell__btn-holder{display:flex;justify-content:flex-end;width:30%}.udex-masthead-shell__close-search-btn{--udex-control-button-small-height: 32px;--udex-control-button-small-width: 32px;--udex-control-button-small-icon-size: 18px}.udex-masthead-shell{display:flex;justify-content:space-between;align-items:center;position:relative;padding:0 var(--udexSpacer84);max-width:var(--udex-masthead-shell-container-xl-max-width);margin:0 auto;height:var(--udex-masthead-shell-height)}.udex-masthead-shell__logo{margin-inline-end:var(--udexSpacer16);width:var(--udex-masthead-shell-logo-width);min-width:var(--udex-masthead-shell-logo-width)}.udex-masthead-shell__co-brand{width:var(--udex-masthead-shell-co-brand-width);margin-inline-end:var(--udexSpacer24);padding-inline-start:var(--udexSpacer16);border-inline-start:1px solid var(--udexColorGrey3, #D5DADD)}.udex-masthead-shell__co-brand,.udex-masthead-shell__co-brand-link{display:flex}.udex-masthead-shell__co-brand-image,.udex-masthead-shell__logo-image{width:100%}.udex-masthead-shell__logo--link{cursor:pointer;display:flex}.udex-masthead-shell__co-brand-link:focus,.udex-masthead-shell__co-brand-link:focus-visible,.udex-masthead-shell__logo--link:focus,.udex-masthead-shell__site-label--link:focus{outline:none}:host([desktop]) .udex-masthead-shell__site-label--link:focus,:host([desktop]) .udex-masthead-shell__logo--link:focus,.udex-masthead-shell__logo--link:focus-visible,.udex-masthead-shell__site-label--link:focus-visible{outline:var(--udexRadiusXXS) solid var(--udexColorBlue10);outline-offset:var(--udexSpacer2);border-radius:var(--udexRadiusXXS)}.udex-masthead-shell__site-label{font-family:var(--sapFontFamily);font-size:var(--udex-masthead-shell-site-label-font-size);line-height:var(--udex-masthead-shell-site-label-line-height);color:var(--udex-masthead-shell-site-label-color);font-weight:var(--udex-masthead-shell-site-label-font-weight);text-decoration:var(--udex-masthead-shell-site-label-text-decoration);margin-inline-end:var(--udexSpacer24);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:var(--udex-masthead-shell-site-label-max-width-desktop)}.udex-masthead-shell__site-label--link:hover{color:var(--udex-masthead-shell-site-label-color-hover)}.udex-masthead-shell__main-content{display:flex;align-items:center;box-sizing:border-box}.udex-masthead-shell__main-menu{display:flex;align-items:center;gap:var(--udex-masthead-shell-item-gap);max-width:100%;margin:0;padding:0;list-style:none}.udex-masthead-shell__landing-wrap{display:flex;align-items:center}.udex-masthead-shell__right-menu{display:flex;align-items:center;justify-content:flex-end;gap:var(--udex-masthead-shell-item-icon-gap);padding-inline-start:var(--udex-masthead-right-menu-padding);box-sizing:border-box}.udex-masthead-shell__right-menu_simple-explore .udex-masthead-shell__explore{margin-inline-end:0}.udex-masthead-shell__explore{white-space:nowrap;margin-inline-end:var(--udex-masthead-shell-explore-margin)}.udex-masthead-shell__item_icon{display:flex;align-items:center}.udex-masthead-shell__menu-btn{height:18px}.udex-masthead-shell__close-btn{position:relative;margin-inline-start:var(--udexSpacer12)}.udex-masthead-shell__close-btn:before{content:"";position:absolute;left:-12px;top:0;bottom:0;height:32px;border-radius:var(--udexRadiusXXS);width:1px;background:var(--udex-masthead-shell-close-button-divider-color)}:dir(rtl) .udex-masthead-shell__close-btn:before{left:auto;right:-12px}:dir(rtl) .udex-masthead-mobile-wrap{right:auto;left:0}.udex-masthead-shell__close-btn:hover{color:var(--udex-masthead-shell-site-label-color-hover)}:host([show-search-by-default]) .udex-masthead-shell__search-icon,:host([_is-search-opened]) .udex-masthead-shell__right-menu,:host([_is-mobile-mode]) .udex-masthead-shell__item_icon,:host([_is-mobile-mode]) .udex-masthead-shell__explore,:host([_is-mobile-mode]) .udex-masthead-shell__nav,.udex-masthead-shell__right-menu:empty,.udex-masthead-shell__close-btn,.udex-masthead-shell__menu-btn{display:none}:host([_is-mobile-mode]) .udex-masthead-shell__menu-btn,:host([_is-mobile-menu-open]) .udex-masthead-shell__country-selector,:host([_is-mobile-menu-open]) .udex-masthead-shell__cart,:host([_is-mobile-menu-open]) .udex-masthead-shell__joule,:host([_is-mobile-menu-open]) .udex-masthead-shell__profile,:host([_is-mobile-mode][_is-mobile-menu-open]) .udex-masthead-shell__close-btn{display:flex}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{width:var(--udex-masthead-mobile-menu-buttons-width);background:var(--udex-masthead-shell-background);padding-inline-end:var(--udexSpacer84);padding-inline-start:var(--udexSpacer32);gap:var(--udexSpacer12);position:absolute;top:0;bottom:0;right:0;z-index:var(--udexZIndex1, 1)}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu:dir(rtl){right:auto;left:0}.udex-masthead-shell_co-brand-without-nav .udex-masthead-shell__main-content,.udex-masthead-shell_co-brand-without-nav .udex-masthead-shell__landing-wrap{flex:auto}.udex-masthead-shell_co-brand-without-nav .udex-masthead-shell__co-brand{border:none;margin-inline-start:auto;margin-inline-end:0;padding:0}@media (width < 1600px){.udex-masthead-shell{padding-left:var(--udexSpacer72);padding-right:var(--udexSpacer72);max-width:var(--udex-masthead-shell-container-l-max-width)}.udex-masthead-shell__search-container{right:var(--udexSpacer72)}.udex-masthead-shell__search-container:dir(rtl){left:var(--udexSpacer72);right:auto}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{padding-inline-end:var(--udexSpacer72)}}@media (width < 1280px){:host([_is-mobile-menu-open][show-search-by-default]) .udex-masthead-shell__right-menu{width:var(--udex-masthead-mobile-menu-buttons-width)}:host([show-search-by-default]) .udex-masthead-shell__search-container,:host([show-search-by-default]) .udex-masthead-shell__main-content,:host([show-search-by-default]) .udex-masthead-shell__right-menu{width:auto}:host([show-search-by-default]) .udex-masthead-shell__search-container{flex:auto}:host([show-search-by-default]) .udex-masthead-shell__site-label{margin:0}:host([show-search-by-default]) .udex-masthead-shell__main-content{padding-inline-end:var(--udexSpacer32)}.udex-masthead-shell__item_icon,.udex-masthead-shell__explore,.udex-masthead-shell__nav{display:none}:host([_is-mobile-menu-open]) .udex-masthead-shell__close-btn,.udex-masthead-shell__menu-btn{display:flex}.udex-masthead-shell__right-menu{padding-inline-start:var(--udexSpacer32);gap:var(--udexSpacer12)}.udex-masthead-shell__site-label{font-size:var(--udexTypographyNavigationBoldMFontSize, 14px)}:host([_is-mobile-mode]) .udex-masthead-shell__site-label,.udex-masthead-shell__site-label{max-width:var(--udex-masthead-shell-site-label-max-width-mobile)}}@media (width < 980px){:host([_is-mobile-menu-open][show-search-by-default]) .udex-masthead-shell__right-menu{width:100%}:host([_is-search-opened][show-search-by-default]) .udex-masthead-shell__search-container,:host([show-search-by-default]) .udex-masthead-shell__search-icon{display:block}:host([_is-search-opened]) .udex-masthead-shell__right-menu,:host([show-search-by-default]) .udex-masthead-shell__search-container,:host([_is-mobile-menu-open][show-search-by-default]) .udex-masthead-shell__search-icon,:host([_is-mobile-menu-open]) .udex-masthead-shell__site-label,:host([_is-mobile-menu-open]) .udex-masthead-shell__logo{display:none}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{padding-inline-end:var(--udexSpacer48);width:auto;left:0}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu:dir(rtl){right:0}.udex-masthead-shell{padding:0 var(--udexSpacer48)}.udex-masthead-shell__btn-holder{padding-inline-start:var(--udexSpacer32);width:auto}}@media (width < 640px){:host([_is-search-opened]) .udex-masthead-shell__main-content{display:none}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{padding-inline-end:var(--udexSpacer24)}.udex-masthead-shell{padding:0 var(--udexSpacer24)}.udex-masthead-shell__btn-holder{padding-inline-start:var(--udexSpacer8)}}
|
|
711
|
+
`;var Ha=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Od;let kr=Od=class extends z{constructor(){super(),this._openIdentities=!1,this._requestRender=!1,this._identitiesListClassName="udex-masthead-profile-menu__identities-list",this._profileMenuLinksClassName="udex-masthead-profile-menu__links",this._handleResizeBound=this.handleResize.bind(this)}onAfterRendering(){this._mastheadShell=this.mastheadShell,this.updateFocusState(this._shouldFocusBackBtn,this.focusBackBtn.bind(this)),this.updateFocusState(this._shouldFocusSwitchBtn,this.focusSwitchBtn.bind(this)),this.setMenuItemsMobileMode(),this.checkScrollableElements()}onEnterDOM(){Q.register(this,this._handleResizeBound),se()&&this.setAttribute("desktop","")}onExitDOM(){Q.deregister(this,this._handleResizeBound)}handleResize(){this._isMobileMode=this.isMobile,this.profileMenuLinks&&(this.profileMenuLinks._isMobileMode=this.isMobile),this.checkScrollableElements()}handleSwitcherClick(){this._openIdentities=!this._openIdentities,this._shouldFocusBackBtn=this._openIdentities,this._shouldFocusSwitchBtn=!this._openIdentities}handleUserLogoutClick(e){this.fireLogoutClick(e),this._isMobileMode&&this.closeMenu()}handleProfileMenuItemClick(e){this.fireMenuItemClick(e),this._isMobileMode&&this.closeMenu()}updateFocusState(e,t){e&&(t(),t===this.focusBackBtn?this._shouldFocusBackBtn=!1:t===this.focusSwitchBtn&&(this._shouldFocusSwitchBtn=!1))}handleKeydown(e){De(e)&&this._openIdentities&&this.closeIdentitiesPanel()}focusSwitchBtn(){this.focusElement(".udex-masthead-profile-menu__btn-switcher")}focusBackBtn(){this.focusElement(".udex-masthead-profile-menu__btn-back")}focusElement(e){var i;const t=(i=this.shadowRoot)==null?void 0:i.querySelector(e);t==null||t.focus()}fireEventIdentityItemClick(e){const{item:t}=e.detail,i=this.identitiesList.find(({idsUser:r})=>r===t.id);!this.fireDecoratorEvent("identity-item-click",{item:i,analyticsName:Jo.Header})&&e.preventDefault(),this._isMobileMode&&this.closeMenu()}fireEventAddOrRemoveAccountClick(e){!this.fireDecoratorEvent("add-or-remove-account-click",{analyticsName:Jo.Header})&&e.preventDefault()}fireLogoutClick(e){var a;const t=e.target;this.fireDecoratorEvent("logout",{item:t,sourceNode:(a=t.shadowRoot)==null?void 0:a.querySelector("a"),originalEvent:e,analyticsName:Jo.Header})||e.preventDefault()}fireMenuItemClick(e){const{item:t,originalEvent:i}=e.detail;this.fireDecoratorEvent("profile-item-click",{item:t,originalEvent:i,analyticsName:Jo.Header,sourceNode:t.shadowRoot.querySelector(".udex-masthead-menu-item")})}checkScrollableElements(){this._openIdentities&&this.checkScrollableElement(this.identitiesHTMLElement,this._identitiesListClassName),this.isMobile&&this.checkScrollableElement(this.profileMenuHTMLElement,this._profileMenuLinksClassName)}checkScrollableElement(e,t){e&&requestAnimationFrame(()=>{this.isScrollableElement(e)&&e.classList.add(`${t}_scrollable`)})}scrollToTopProfileMenu(){setTimeout(()=>{this.profileMenuHTMLElement.scrollTop=0},0)}isScrollableElement(e){return e.scrollHeight>e.clientHeight}handleProfileMenuShadowVisible(){this.toggleScrollableClass(this.profileMenuHTMLElement,this._profileMenuLinksClassName,this.scrollBottomProfileMenu)}handleIdentitiesListShadowVisible(){this.toggleScrollableClass(this.identitiesHTMLElement,this._identitiesListClassName,this.scrollBottomIdentitiesList)}toggleScrollableClass(e,t,i){i<=1?e.classList.remove(`${t}_scrollable`):e.classList.add(`${t}_scrollable`)}calculateScrollBottom(e){return e.scrollHeight-e.scrollTop-e.clientHeight}getElementByClassName(e){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector(`.${e}`)}closeMenu(){var e;this._mastheadShell.closeMobileMenu(),(e=this._mastheadShell.mobileBtn)==null||e.focus()}closeIdentitiesPanel(){this._openIdentities=!1}setMenuItemsMobileMode(){this._isMobileMode&&this.profileMenuLinks&&(this.profileMenuLinks._isMobileMode=!0)}get scrollBottomIdentitiesList(){return this.calculateScrollBottom(this.identitiesHTMLElement)}get scrollBottomProfileMenu(){return this.calculateScrollBottom(this.profileMenuHTMLElement)}get profileMenuHTMLElement(){return this.getElementByClassName(this._profileMenuLinksClassName)}get identitiesHTMLElement(){return this.getElementByClassName(this._identitiesListClassName)}get linksList(){return this.links?JSON.stringify([{subMenuLinkItems:JSON.parse(this.links)}]):""}get hasIdentities(){var e;return!!((e=this.identities)!=null&&e.length)}get userData(){return Mr(this.loggedInUser)}get hasUserData(){return typeof this.userData=="object"&&this.userData!==null&&!Array.isArray(this.userData)}get identitiesList(){return Mr(this.identities).map(e=>({...e,statusBadge:e.isLogged?"":T8.Warning,supportingText:[e.name,e.idsUser].filter(Boolean).join(", ")}))}get messageAvailable(){return!!this.message.length}get hasLogoutButton(){return!!this.logoutButton.length}get logoutLink(){var e;return!!((e=this.logoutUrl)!=null&&e.length)}get rootClass(){const e="udex-masthead-profile-menu";return this._openIdentities?`${e} ${e}_switcher`:e}get mastheadShell(){return document.querySelector("[udex-masthead-shell]")}get profileMenuLinks(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector("[udex-masthead-menu]")}get btnBackText(){return this._isMobileMode?this.switcherAccountText:B(Od,$E)}get listTitleText(){return`${B(Od,HE)} (${this.identitiesList.length})`}get addOrRemoveAccountText(){return B(Od,XE)}get switcherAccountText(){return B(Od,zE)}get logoutText(){return B(Od,FE)}get isAtMostBreakpointSizeM(){return io.isAtMost("M")}get isMobile(){var e;return this.isAtMostBreakpointSizeM||((e=this.mastheadShell)==null?void 0:e.isMobileMenuMode)}get hasActionButton(){return this.logoutLink||this.hasLogoutButton}};Ha([d()],kr.prototype,"identities",void 0);Ha([d()],kr.prototype,"links",void 0);Ha([d()],kr.prototype,"loggedInUser",void 0);Ha([d()],kr.prototype,"logoutUrl",void 0);Ha([d({type:Boolean})],kr.prototype,"_isMobileMode",void 0);Ha([d({type:Boolean})],kr.prototype,"_openIdentities",void 0);Ha([d({type:Boolean,noAttribute:!0})],kr.prototype,"_requestRender",void 0);Ha([D({type:Node,default:!1})],kr.prototype,"message",void 0);Ha([D({type:HTMLElement})],kr.prototype,"logoutButton",void 0);Ha([V("@sapudex/web-components")],kr,"i18nBundle",void 0);kr=Od=Ha([T({tag:"udex-masthead-profile-menu",renderer:A,styles:[V_.styles,Oq],template:Lq}),x("logout",{cancelable:!0,bubbles:!0}),x("profile-item-click",{cancelable:!0,bubbles:!0}),x("add-or-remove-account-click",{cancelable:!0,bubbles:!0}),x("identity-item-click",{cancelable:!0,bubbles:!0})],kr);kr.define();const Fq="menu2",zq="M1 4.01a.96.96 0 0 1-.703-.298A.969.969 0 0 1 0 3.005c0-.293.099-.534.297-.722A.985.985 0 0 1 1 2h14a.97.97 0 0 1 .719.283.981.981 0 0 1 .281.722.996.996 0 0 1-.281.707.944.944 0 0 1-.719.298H1Zm0 4.995c-.27 0-.505-.1-.703-.298A.969.969 0 0 1 0 8c0-.293.099-.534.297-.723A.985.985 0 0 1 1 6.995h14a.97.97 0 0 1 .719.282c.187.189.281.43.281.723a.996.996 0 0 1-.281.707.944.944 0 0 1-.719.298H1ZM1 14c-.27 0-.505-.1-.703-.298A.969.969 0 0 1 0 12.995c0-.293.099-.534.297-.723A.986.986 0 0 1 1 11.99h14c.292 0 .531.095.719.283.187.189.281.43.281.723a.996.996 0 0 1-.281.707A.945.945 0 0 1 15 14H1Z",$q=!1,Hq="0 0 16 16",Xq="SAP-icons-v4",Uq="@ui5/webcomponents-icons";U(Fq,{pathData:zq,ltr:$q,viewBox:Hq,collection:Xq,packageName:Uq});const jq="menu2",Vq="M15.25 12.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Zm0-5.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Zm0-5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5h14.5Z",Gq=!1,Wq="0 0 16 16",qq="SAP-icons-v5",Yq="@ui5/webcomponents-icons";U(jq,{pathData:Vq,ltr:Gq,viewBox:Wq,collection:qq,packageName:Yq});const Kq="menu2";function Zq(){return g("header",{className:this.mainClass,onKeyDown:this.handleKeyDown,children:[g("div",{className:"udex-masthead-shell__main-content",children:[g("div",{className:"udex-masthead-shell__landing-wrap",children:[this.logoUrl&&Jq.call(this),this.siteLabel&&Qq.call(this),this.coBrandImage&&eY.call(this)]}),this.isMainMenuVisible&&l("nav",{className:"udex-masthead-shell__nav","aria-label":this.mainNavigationAriaLabel,children:l("ul",{className:"udex-masthead-shell__main-menu","aria-label":this.mainNavigationAriaLabel,children:this.menuItems.map(o=>l("li",{className:"udex-masthead-shell__item","onui5-item-click":this.setSelectedItem,children:l("slot",{name:o._individualSlot})},o._id))})})]}),this.isSearchVisible&&g(P,{children:[l("div",{className:"udex-masthead-shell__search-container","onui5-search-keydown":this.handleSearchKeyDown,children:l("slot",{name:"search"})}),this._isSearchOpened&&l("div",{className:"udex-masthead-shell__btn-holder",children:l(Ks,{class:"udex-masthead-shell__close-search-btn",part:"search-close-button",size:ye.Small,icon:Ui,tooltip:this.closeButtonAccessibleName,"accessible-name":this.closeButtonAccessibleName,onClick:this.handleCloseSearch})})]}),g("div",{className:this.rightMenuClass,children:[this.hasExploreSAP&&l("div",{className:"udex-masthead-shell__explore","onui5-item-click":this.setSelectedItem,children:l("slot",{name:"exploreSAP"})}),this.hasSearch&&l("div",{className:"udex-masthead-shell__search-icon udex-masthead-shell__item_icon",children:l(qp,{class:"udex-masthead-shell__search-btn",part:"search-button",icon:Xp,onClick:this.handleSearchClick,"accessible-name":this.openSearchButtonAccessibleNameText,"icon-alt":this.openSearchButtonAccessibleNameText})}),this.hasJoule&&l("div",{className:"udex-masthead-shell__joule udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleJouleClick,children:l("slot",{name:"joule"})}),this.hasCart&&l("div",{className:"udex-masthead-shell__cart udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleCartClick,children:l("slot",{name:"cart"})}),this.hasSupport&&l("div",{className:"udex-masthead-shell__support udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleSupportClick,children:l("slot",{name:"support"})}),this.hasProfile&&l("div",{className:"udex-masthead-shell__profile udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,"onclick-default":this.handleProfileClick,children:l("slot",{name:"profile"})}),this.hasCountrySelector&&l("div",{className:"udex-masthead-shell__country-selector udex-masthead-shell__item_icon","onui5-item-click":this.setSelectedItem,onClick:this.handleCountrySelectorClick,children:l("slot",{name:"countrySelector"})}),this.hasMobileMenuButtons&&g(P,{children:[l(qp,{class:"udex-masthead-shell__menu-btn","accessible-role":"button",part:"menu-open-btn","accessible-name":"menu",icon:Kq,"onui5-item-click":this.handleOpenMobileMenu,"_is-menu-open-btn":"",children:l("slot",{slot:"dropdown",name:"mobileMenu"})}),l(qp,{class:"udex-masthead-shell__close-btn","accessible-role":"button",part:"menu-close-btn",onKeyDown:this.handleEnterAndSpaceOnCloseBtn,"onui5-item-click":this.closeMobileMenu,icon:Ui,"accessible-name":this.mobileCloseButtonAccessibleName,"hide-active-border":!0,"_is-menu-close-btn":""})]})]})]})}function Jq(){return this.homeUrl?l("a",{className:"udex-masthead-shell__logo udex-masthead-shell__logo--link",target:"_self",role:"link",tabindex:0,onClick:this.handleLogoClick,href:this.homeUrl,title:this.logoTitle,"aria-label":this.homepageAriaLabel,children:l("img",{className:"udex-masthead-shell__logo-image",src:this.logoUrl,alt:this.logoAlt})}):l("div",{className:"udex-masthead-shell__logo",children:l("img",{className:"udex-masthead-shell__logo-image",src:this.logoUrl,alt:this.logoAlt})})}function Qq(){return this.siteLabelUrl?l("a",{className:"udex-masthead-shell__site-label udex-masthead-shell__site-label--link",role:"link",target:"_self",onClick:this.handleSiteLabelClick,href:this.siteLabelUrl,tabindex:0,title:this.siteLabelTitle,"aria-label":this.siteLabelAriaLabel,children:this.siteLabel}):l("div",{className:"udex-masthead-shell__site-label",children:this.siteLabel})}function eY(){return this.coBrandUrl?l("div",{className:"udex-masthead-shell__co-brand",children:l("a",{className:"udex-masthead-shell__co-brand-link",target:"_self",role:"link",onClick:this.handleCoBrandClick,href:this.coBrandUrl,tabindex:0,title:this.coBrandTitle,"aria-label":this.coBrandAriaLabel,children:l("img",{className:"udex-masthead-shell__co-brand-image",src:this.coBrandImage,alt:this.coBrandAlt})})}):l("div",{className:"udex-masthead-shell__co-brand",children:l("img",{className:"udex-masthead-shell__co-brand-image",src:this.coBrandImage,alt:this.coBrandAlt})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const tY=`:host{--udex-masthead-shell-logo-width: 64px;--udex-masthead-shell-co-brand-width: 135px;--udex-masthead-shell-height: 60px;--udex-masthead-shell-background: var(--udexColorGrey1, #F5F6F7);--udex-masthead-shell-dropdown-shadow: var(--sapContent_Shadow2, 0 10px 30px 0 #22364940);--udex-masthead-shell-site-label-font-size: var(--udexTypographyNavigationRegularXLFontSize, 16px);--udex-masthead-shell-site-label-max-width-desktop: 250px;--udex-masthead-shell-site-label-max-width-mobile: auto;--udex-masthead-shell-site-label-line-height: 24px;--udex-masthead-shell-site-label-font-weight: var(--udexTypographyFontWeightBold, 700);--udex-masthead-shell-site-label-text-decoration: none;--udex-masthead-shell-site-label-color: var(--udexColorGrey8, #354A5F);--udex-masthead-shell-site-label-color-hover: var(--udexColorBlue7, #0070F2);--udex-masthead-shell-item-gap: var(--udexSpacer24);--udex-masthead-shell-item-icon-gap: var(--udexSpacer8);--udex-grid-gutter: 3rem;--udex-grid-margin-m: 4.5rem;--udex-grid-margin-l: 4.5rem;--udex-grid-margin-xl: 5.25rem;--udex-column-width-l: calc((100% - 2 * var(--udex-grid-margin-l) - 11 * var(--udex-grid-gutter)) / 12);--udex-column-width-xl: calc((100% - 2 * var(--udex-grid-margin-xl) - 11 * var(--udex-grid-gutter)) / 12);--udex-masthead-shell-search-container-width-xl: calc(8 * var(--udex-column-width-xl) + 7 * var(--udex-grid-gutter));--udex-masthead-shell-close-button-divider-color: var(--udexColorGrey3, #D5DADD);--udex-masthead-shell-z-index: 101;--udex-masthead-shell-container-xl-max-width: 1432px;--udex-masthead-shell-container-l-max-width: 1456px;--udex-masthead-mobile-menu-buttons-width: 360px;--udex-masthead-right-menu-padding: var(--udexSpacer64);--udex-masthead-shell-explore-margin: var(--udexSpacer12);--udex-masthead-shell-mobile-menu-height: 100%}:host{position:relative;display:block;width:100%;container-type:inline-size;background:var(--udex-masthead-shell-background);z-index:var(--udex-masthead-shell-z-index)}:host([sticky-position]){position:sticky;top:0}:host([show-search-by-default]) .udex-masthead-shell__right-menu,:host([show-search-by-default]) .udex-masthead-shell__main-content,:host([_is-search-opened]) .udex-masthead-shell__main-content{width:30%}:host([show-search-by-default]) .udex-masthead-shell__search-container,:host([_is-search-opened]) .udex-masthead-shell__search-container{width:40%}.udex-masthead-shell__search-container{background:var(--udex-masthead-shell-background)}.udex-masthead-shell__btn-holder{display:flex;justify-content:flex-end;width:30%}.udex-masthead-shell__close-search-btn{--udex-control-button-small-height: 32px;--udex-control-button-small-width: 32px;--udex-control-button-small-icon-size: 18px}.udex-masthead-shell{display:flex;justify-content:space-between;align-items:center;position:relative;padding:0 var(--udexSpacer84);max-width:var(--udex-masthead-shell-container-xl-max-width);margin:0 auto;height:var(--udex-masthead-shell-height)}.udex-masthead-shell__logo{margin-inline-end:var(--udexSpacer16);width:var(--udex-masthead-shell-logo-width);min-width:var(--udex-masthead-shell-logo-width)}.udex-masthead-shell__co-brand{width:var(--udex-masthead-shell-co-brand-width);margin-inline-end:var(--udexSpacer24);padding-inline-start:var(--udexSpacer16);border-inline-start:1px solid var(--udexColorGrey3, #D5DADD)}.udex-masthead-shell__co-brand,.udex-masthead-shell__co-brand-link{display:flex}.udex-masthead-shell__co-brand-image,.udex-masthead-shell__logo-image{width:100%}.udex-masthead-shell__logo--link{cursor:pointer;display:flex}.udex-masthead-shell__co-brand-link:focus,.udex-masthead-shell__co-brand-link:focus-visible,.udex-masthead-shell__logo--link:focus,.udex-masthead-shell__site-label--link:focus{outline:none}:host([desktop]) .udex-masthead-shell__site-label--link:focus,:host([desktop]) .udex-masthead-shell__logo--link:focus,.udex-masthead-shell__logo--link:focus-visible,.udex-masthead-shell__site-label--link:focus-visible{outline:var(--udexRadiusXXS) solid var(--udexColorBlue10);outline-offset:var(--udexSpacer2);border-radius:var(--udexRadiusXXS)}.udex-masthead-shell__site-label{font-family:var(--sapFontFamily);font-size:var(--udex-masthead-shell-site-label-font-size);line-height:var(--udex-masthead-shell-site-label-line-height);color:var(--udex-masthead-shell-site-label-color);font-weight:var(--udex-masthead-shell-site-label-font-weight);text-decoration:var(--udex-masthead-shell-site-label-text-decoration);margin-inline-end:var(--udexSpacer24);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:var(--udex-masthead-shell-site-label-max-width-desktop)}.udex-masthead-shell__site-label--link:hover{color:var(--udex-masthead-shell-site-label-color-hover)}.udex-masthead-shell__main-content{display:flex;align-items:center;box-sizing:border-box}.udex-masthead-shell__main-menu{display:flex;align-items:center;gap:var(--udex-masthead-shell-item-gap);max-width:100%;margin:0;padding:0;list-style:none}.udex-masthead-shell__landing-wrap{display:flex;align-items:center}.udex-masthead-shell__right-menu{display:flex;align-items:center;justify-content:flex-end;gap:var(--udex-masthead-shell-item-icon-gap);padding-inline-start:var(--udex-masthead-right-menu-padding);box-sizing:border-box}.udex-masthead-shell__right-menu_simple-explore .udex-masthead-shell__explore{margin-inline-end:0}.udex-masthead-shell__explore{white-space:nowrap;margin-inline-end:var(--udex-masthead-shell-explore-margin)}.udex-masthead-shell__item_icon{display:flex;align-items:center}.udex-masthead-shell__menu-btn{height:18px}.udex-masthead-shell__close-btn{position:relative;margin-inline-start:var(--udexSpacer12)}.udex-masthead-shell__close-btn:before{content:"";position:absolute;left:-12px;top:0;bottom:0;height:32px;border-radius:var(--udexRadiusXXS);width:1px;background:var(--udex-masthead-shell-close-button-divider-color)}:dir(rtl) .udex-masthead-shell__close-btn:before{left:auto;right:-12px}:dir(rtl) .udex-masthead-mobile-wrap{right:auto;left:0}.udex-masthead-shell__close-btn:hover{color:var(--udex-masthead-shell-site-label-color-hover)}:host([show-search-by-default]) .udex-masthead-shell__search-icon,:host([_is-search-opened]) .udex-masthead-shell__right-menu,:host([_is-mobile-mode]) .udex-masthead-shell__item_icon,:host([_is-mobile-mode]) .udex-masthead-shell__explore,:host([_is-mobile-mode]) .udex-masthead-shell__nav,.udex-masthead-shell__right-menu:empty,.udex-masthead-shell__close-btn,.udex-masthead-shell__menu-btn{display:none}:host([_is-mobile-mode]) .udex-masthead-shell__menu-btn,:host([_is-mobile-menu-open]) .udex-masthead-shell__country-selector,:host([_is-mobile-menu-open]) .udex-masthead-shell__cart,:host([_is-mobile-menu-open]) .udex-masthead-shell__joule,:host([_is-mobile-menu-open]) .udex-masthead-shell__profile,:host([_is-mobile-mode][_is-mobile-menu-open]) .udex-masthead-shell__close-btn{display:flex}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{width:var(--udex-masthead-mobile-menu-buttons-width);background:var(--udex-masthead-shell-background);padding-inline-end:var(--udexSpacer84);padding-inline-start:var(--udexSpacer32);gap:var(--udexSpacer12);position:absolute;top:0;bottom:0;right:0;z-index:var(--udexZIndex1, 1)}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu:dir(rtl){right:auto;left:0}.udex-masthead-shell_co-brand-without-nav .udex-masthead-shell__main-content,.udex-masthead-shell_co-brand-without-nav .udex-masthead-shell__landing-wrap{flex:auto}.udex-masthead-shell_co-brand-without-nav .udex-masthead-shell__co-brand{border:none;margin-inline-start:auto;margin-inline-end:0;padding:0}@media (width < 1600px){.udex-masthead-shell{padding-left:var(--udexSpacer72);padding-right:var(--udexSpacer72);max-width:var(--udex-masthead-shell-container-l-max-width)}.udex-masthead-shell__search-container{right:var(--udexSpacer72)}.udex-masthead-shell__search-container:dir(rtl){left:var(--udexSpacer72);right:auto}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{padding-inline-end:var(--udexSpacer72)}}@media (width < 1280px){:host([_is-mobile-menu-open][show-search-by-default]) .udex-masthead-shell__right-menu{width:var(--udex-masthead-mobile-menu-buttons-width)}:host([show-search-by-default]) .udex-masthead-shell__search-container,:host([show-search-by-default]) .udex-masthead-shell__main-content,:host([show-search-by-default]) .udex-masthead-shell__right-menu{width:auto}:host([show-search-by-default]) .udex-masthead-shell__search-container{flex:auto}:host([show-search-by-default]) .udex-masthead-shell__site-label{margin:0}:host([show-search-by-default]) .udex-masthead-shell__main-content{padding-inline-end:var(--udexSpacer32)}.udex-masthead-shell__item_icon,.udex-masthead-shell__explore,.udex-masthead-shell__nav{display:none}:host([_is-mobile-menu-open]) .udex-masthead-shell__close-btn,.udex-masthead-shell__menu-btn{display:flex}.udex-masthead-shell__right-menu{padding-inline-start:var(--udexSpacer32);gap:var(--udexSpacer12)}.udex-masthead-shell__site-label{font-size:var(--udexTypographyNavigationBoldMFontSize, 14px)}:host([_is-mobile-mode]) .udex-masthead-shell__site-label,.udex-masthead-shell__site-label{max-width:var(--udex-masthead-shell-site-label-max-width-mobile)}}@media (width < 980px){:host([_is-mobile-menu-open][show-search-by-default]) .udex-masthead-shell__right-menu{width:100%}:host([_is-search-opened][show-search-by-default]) .udex-masthead-shell__search-container,:host([show-search-by-default]) .udex-masthead-shell__search-icon{display:block}:host([_is-search-opened]) .udex-masthead-shell__right-menu,:host([show-search-by-default]) .udex-masthead-shell__search-container,:host([_is-mobile-menu-open][show-search-by-default]) .udex-masthead-shell__search-icon,:host([_is-mobile-menu-open]) .udex-masthead-shell__site-label,:host([_is-mobile-menu-open]) .udex-masthead-shell__logo{display:none}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{padding-inline-end:var(--udexSpacer48);width:auto;left:0}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu:dir(rtl){right:0}.udex-masthead-shell{padding:0 var(--udexSpacer48)}.udex-masthead-shell__btn-holder{padding-inline-start:var(--udexSpacer32);width:auto}}@media (width < 640px){:host([_is-search-opened]) .udex-masthead-shell__main-content{display:none}:host([_is-mobile-menu-open]) .udex-masthead-shell__right-menu{padding-inline-end:var(--udexSpacer24)}.udex-masthead-shell{padding:0 var(--udexSpacer24)}.udex-masthead-shell__btn-holder{padding-inline-start:var(--udexSpacer8)}}
|
|
712
712
|
`;var ze=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Yp;const oY="14px '72 Brand Variable'";var ga;(function(o){o.itemArrowIconMarginInlineStart="--udex-masthead-item-arrow-margin-inline-start",o.mobileMenuHeight="--udex-masthead-shell-mobile-menu-height",o.itemButtonIconSize="--udex-masthead-item-button-icon-size",o.itemArrowIconSize="--udex-masthead-item-arrow-icon-size",o.rightMenuPadding="--udex-masthead-right-menu-padding",o.exploreMargin="--udex-masthead-shell-explore-margin",o.itemIconGap="--udex-masthead-shell-item-icon-gap",o.mastheadHeight="--udex-masthead-shell-height",o.itemGap="--udex-masthead-shell-item-gap"})(ga||(ga={}));let Re=Yp=class extends z{constructor(){super(),this._bodyBackdropEl=null,this._handleResizeBound=this._handleResize.bind(this),this._handleWindowResizeBound=this._handleWindowResize.bind(this),this._handleSuggestionOpenedBound=this._showSearchBackdrop.bind(this),this._handleSuggestionClosedBound=this._hideSearchBackdrop.bind(this)}onBeforeRendering(){this.isMobileMenuMode&&this.setMobileMenuHeight()}onAfterRendering(){this._rootHolder=this.mastheadHolder,this._searchOpener=this.searchOpener,this._desktopSearch=this.desktopSearchSlot,this._mobileMenu=this.mastheadMobileMenu,this._isSearchOpened&&this._desktopSearch&&this.focusSearchInput(),this._closeBtnClicked&&this.focusSearchBtn(),this.shouldHandleMobileView&&this.updateVisibility()}onEnterDOM(){Q.register(this,this._handleResizeBound),window.addEventListener("resize",this._handleWindowResizeBound),this.addEventListener("suggestion-popover-opened",this._handleSuggestionOpenedBound),this.addEventListener("suggestion-popover-closed",this._handleSuggestionClosedBound),se()&&this.setAttribute("desktop","")}onExitDOM(){var e;Q.deregister(this,this._handleResizeBound),window.removeEventListener("resize",this._handleWindowResizeBound),this.removeEventListener("suggestion-popover-opened",this._handleSuggestionOpenedBound),this.removeEventListener("suggestion-popover-closed",this._handleSuggestionClosedBound),(e=this._bodyBackdropEl)==null||e.remove(),this._bodyBackdropEl=null}_handleWindowResize(){this.isMobileMenuMode&&this.setMobileMenuHeight()}onInvalidation({name:e}){e==="default"&&this.shouldHandleMobileView&&this.handleMobileMode()}_handleResize(){if(this.shouldHandleMobileView&&this.handleMobileMode(),this.isAtMostBreakpointSizeM&&(this._isSearchOpened=!1),this._shouldHandleResize&&this._isMobileMenuOpen){this.closeMobileMenu(),this.resetSelectedItems();return}this.isMobileMenuMode&&(this.setMobileMenuHeight(),this.setProfileMobileMode()),this.recalculateOpenDropdownPosition(),this._shouldHandleResize=!0}recalculateOpenDropdownPosition(){this.getSelectedItems().filter(e=>e.hasDropdownSlot&&!e.isMobile&&!e.isExploreBtn).forEach(e=>e.recalculateDropdownPosition())}handleMobileMode(){const e=this.getDomRef();if(e){const t=this.getRootHolderWidth(e),i=this.getLandingHolderWidth(),a=this.getRightMenuWidth(),r=this.getMainMenuWidth(),n=t-a-i;r>=n?this.setMobileMode():this.removeMobileMode(),this._isVisible=!0}}handleKeyDown(e){e.stopPropagation()}handleSearchKeyDown(e){e.stopPropagation();const t=e.detail.e;if(De(t)){if(this.showSearchByDefault&&this.isAtLeastBreakpointSizeM)return;this.closeSearch(),this.focusSearchBtn()}}handleLogoClick(e){this.fireMastheadEvent("logo-click",e)}handleSiteLabelClick(e){this.fireMastheadEvent("site-label-click",e)}handleCoBrandClick(e){this.fireMastheadEvent("co-brand-click",e)}handleSearchClick(e){e.stopPropagation(),this.fireMastheadEvent("search-click",e),this.openSearch()}handleCartClick(e){e.stopPropagation(),this.fireMastheadEvent("cart-click",e),this.mobileMenuReset()}handleJouleClick(e){e.stopPropagation(),this.fireMastheadEvent("joule-click",e),this.mobileMenuReset()}handleProfileClick(e){e.stopPropagation(),this.fireMastheadEvent("profile-click",e),this.mobileMenuReset()}handleSupportClick(e){e.stopPropagation(),this.fireMastheadEvent("support-click",e)}handleCountrySelectorClick(e){e.stopPropagation(),this.fireMastheadEvent("country-selector-click",e),this.mobileMenuReset()}handleOpenMobileMenu(){const e=this.mobileBtn;e&&(this.resetSelectedItems(e._id),this._isMobileMenuOpen=!0,this.bodyOverflow&&this.setOverflowBody(),this.fireMastheadEvent("mobile-menu-open"))}handleCloseSearch(e){this._closeBtnClicked=!0,this.fireMastheadEvent("search-close-click",e),this.closeSearch(),this.resetSearch()}handleEnterAndSpaceOnCloseBtn(e){var t;(K(e)||ie(e))&&(e.preventDefault(),this.closeMobileMenu(),(t=this.mobileBtn)==null||t.focus())}focusSearchInput(){var t;const e=(t=this._desktopSearch)==null?void 0:t.shadowRoot.querySelector("input");e==null||e.focus()}resetSelectedItems(e){this.getSelectedItems().forEach(t=>{t._id!==e&&t.selected&&(t.hasDropdownSlot&&t.fireDropdownCloseEvent(t.eventItemTitle,el.ClickOutside),t.selected=!1)})}resetSearch(){this._desktopSearch&&(this._desktopSearch.value="")}setSelectedItem(e){const t=e.detail.item;t&&this.resetSelectedItems(t._id)}focusSearchBtn(){this._searchOpener&&(this._searchOpener.focus(),this._closeBtnClicked=!1)}getSelectedItems(){return[...this.menuItems,...this.exploreSAP,...this.joule,...this.cart,...this.support,...this.profile,...this.countrySelector,...this.mobileBtn&&this.closeBtn?[this.mobileBtn,this.closeBtn]:[]].filter(({selected:t})=>t)}getRootHolderWidth(e){const t=parseInt(window.getComputedStyle(e).getPropertyValue("padding-left"))*2,i=window.innerWidth-document.documentElement.clientWidth;return this.getDomRef().clientWidth+i-t}getLandingHolderWidth(){const e=this.getDomElement(".udex-masthead-shell__landing-wrap");return(e==null?void 0:e.offsetWidth)||0}getRightMenuWidth(){const e=[...this.shadowRoot.querySelectorAll(".udex-masthead-shell__item_icon")],t=e.length*this.getItemIconWidth(),i=e.length*this.getItemIconGap(),a=this.exploreSAP[0],n=(a==null?void 0:a.hasArrowDown)&&!(a!=null&&a.hideArrowIcon)?this.getItemArrowIconWidth():0,s=this.hasExploreSAP?this.getItemWidth(a):0,u=this.getRightMenuGap()+this.getExploreSapBtnGap()+i;return s+n+t+u}getItemIconSize(e){const t=this.querySelector("[udex-masthead-item]");if(!t)return 0;const a=window.getComputedStyle(t).getPropertyValue(e);return parseInt(a)}getItemIconWidth(){return this.getItemIconSize(ga.itemButtonIconSize)}getItemArrowIconWidth(){const e=this.getItemIconSize(ga.itemArrowIconSize),t=this.getItemIconSize(ga.itemArrowIconMarginInlineStart);return e+t}getMainMenuWidth(){const e=this.getSlottedNodes("menuItems"),t=this.getRootVar(ga.itemGap);return e.reduce((i,a,r)=>{const n=a,u=n.hasArrowDown&&!n.hideArrowIcon?this.getItemArrowIconWidth():0;return i+this.getItemWidth(n)+(r&&parseInt(t))+u},0)}getDomElement(e){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector(`${e}`)}getItemWidth(e){const t=this.getCanvasContext();return t.font=oY,Math.ceil(t.measureText(e.innerText.trim()).width)}getCanvasContext(){return document.createElement("canvas").getContext("2d")}getItemIconGap(){const e=this.getRootVar(ga.itemIconGap);return parseInt(e)}getExploreSapBtnGap(){const e=this.getRootVar(ga.exploreMargin);return this.hasExploreSAP?parseInt(e):0}getRightMenuGap(){const e=this.getRootVar(ga.rightMenuPadding);return parseInt(e)}getRootVar(e){return window.getComputedStyle(this.getDomRef()).getPropertyValue(`${e}`)}setOverflowBody(){const{body:{style:e}}=document;this._shouldHandleResize=!1,e.overflow="hidden"}removeOverflowBody(){const{body:{style:e}}=document;e.removeProperty("overflow")}setMobileMode(){this._isMobileMode=!0,this.slottedItems.forEach(e=>{e&&(e._isMobileMode=!0)})}setMobileMenuHeight(){const e=parseInt(window.getComputedStyle(this).getPropertyValue(ga.mastheadHeight)),t=this.getBoundingClientRect().top,i=`${window.innerHeight-e-t}px`;this.style.setProperty(ga.mobileMenuHeight,i)}setProfileMobileMode(){this.profileMenu&&(this.profileMenu._isMobileMode=this.isMobileMenuMode)}removeMobileMode(){this._isMobileMode=!1,this.slottedItems.forEach(e=>{e==null||e.removeAttribute("_is-mobile-mode")})}updateVisibility(){this.style.opacity=this.isVisible?"1":"0"}fireMastheadEvent(e,t){const i={analyticsName:Jo.Header,...t&&{originalEvent:t},...t&&{sourceNode:t.currentTarget}};this.fireDecoratorEvent(e,i)}mobileMenuReset(){var e,t;this._isMobileMenuOpen&&((e=this._mobileMenu)==null||e.showFirstLevelMenu(),(t=this._mobileMenu)==null||t.resetSearch())}closeSearch(){this._isSearchOpened=!1,this.fireMastheadEvent("search-closed")}openSearch(){this._isSearchOpened||this.isAtMostBreakpointSizeM&&!this.showSearchByDefault||this._isMobileMode||this.isAtLeastBreakpointSizeM&&this.showSearchByDefault||(this._isSearchOpened=!0,this.resetSelectedItems(),this._searchOpener&&(this._searchOpener.selected=!1),this.fireMastheadEvent("search-opened"))}_getBackdropEl(){if(!this._bodyBackdropEl){I9(this.ownerDocument);const e=this.ownerDocument.createElement("div");e.className="udex-search-backdrop",e.addEventListener("click",()=>this.handleBackdropClick()),this.ownerDocument.body.appendChild(e),this._bodyBackdropEl=e}return this._bodyBackdropEl}_showSearchBackdrop(){if(!this.showSearchByDefault&&this.isMobileMenuMode)return;const e=this._getBackdropEl(),t=this.getBoundingClientRect().bottom;e.style.top=`${t}px`,e.style.display="block"}_hideSearchBackdrop(){this._bodyBackdropEl&&(this._bodyBackdropEl.style.display="none")}handleBackdropClick(){var e;(e=this._desktopSearch)==null||e.onClosePopover()}openMobileMenu(){var e;!this._isMobileMenuOpen&&this.isMobileMenuMode&&((e=this.mobileBtn)==null||e.handleSelectedChange(),this.handleOpenMobileMenu())}closeMobileMenu(){this._isMobileMenuOpen&&(this.mobileBtn.selected=!1,this.mobileMenuReset(),this._isMobileMenuOpen=!1,this.bodyOverflow&&this.removeOverflowBody(),this.fireMastheadEvent("mobile-menu-close"))}get slottedItems(){return[this.profileItem,this.profileMenu,this.cartItem,this.supportItem,this.profileMenuLinks,this.countrySelectorItem,this.countrySelectorMenu]}get desktopSearchSlot(){return this.querySelector("[udex-search]")}get searchOpener(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(".udex-masthead-shell__search-btn")}get mastheadHolder(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(".udex-masthead-shell")}get mastheadMobileMenu(){return this.querySelector("[udex-masthead-mobile-menu]")}get mobileBtn(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(".udex-masthead-shell__menu-btn")}get closeBtn(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(".udex-masthead-shell__close-btn")}get profileItem(){return this.getSlottedNodes("profile")[0]}get countrySelectorItem(){return this.getSlottedNodes("countrySelector")[0]}get cartItem(){return this.getSlottedNodes("cart")[0]}get supportItem(){return this.getSlottedNodes("support")[0]}get profileMenu(){return this.querySelector("[udex-masthead-profile-menu]")}get countrySelectorMenu(){return this.querySelector("[udex-masthead-country-selector]")}get profileMenuLinks(){var e,t;return(t=(e=this.profileMenu)==null?void 0:e.shadowRoot)==null?void 0:t.querySelector("[udex-masthead-menu]")}get hasProfile(){return!!this.profile.length}get hasCart(){return!!this.cart.length}get hasSearch(){return!!this.search.length}get hasExploreSAP(){return!!this.exploreSAP.length}get hasJoule(){return!!this.joule.length}get hasCountrySelector(){return!!this.countrySelector.length}get hasSupport(){return!!this.support.length}get hasMobileMenuButtons(){return!!this.mobileMenu.length}get isAtMostBreakpointSizeM(){return io.isAtMost("M")}get isAtLeastBreakpointSizeM(){return io.isAtLeast("M")}get isMobileMenuMode(){return this._isMobileMode||this.isAtMostBreakpointSizeM}get isMainMenuVisible(){return!this.showSearchByDefault&&!this._isSearchOpened&&!!this.menuItems.length}get isSearchVisible(){return this.showSearchByDefault||this._isSearchOpened}get isVisible(){return this.isMobileMenuMode||!this.menuItems.length||this._isVisible}get shouldHandleMobileView(){return!this.isAtMostBreakpointSizeM&&this.isMainMenuVisible}get openSearchButtonAccessibleNameText(){return this.openSearchButtonAccessibleName||B(Yp,T3)}get mainNavigationAriaLabel(){return B(Yp,ME)}get isSimpleExploreMode(){return!this.hasSearch&&!this.hasProfile&&!this.hasCart&&!this.hasSupport&&!this.hasCountrySelector}get rightMenuClass(){const e="udex-masthead-shell__right-menu",t=this.isSimpleExploreMode?`${e}_simple-explore`:"";return`${e} ${t}`.trim()}get mainClass(){const e="udex-masthead-shell",t=this.coBrandImage&&!this.menuItems.length?`${e}_co-brand-without-nav`:"";return`${e} ${t}`.trim()}};ze([D({type:Node})],Re.prototype,"countrySelector",void 0);ze([D({type:HTMLElement})],Re.prototype,"mobileMenu",void 0);ze([D({type:HTMLElement,individualSlots:!0,default:!0})],Re.prototype,"menuItems",void 0);ze([D({type:Node})],Re.prototype,"search",void 0);ze([D({type:HTMLElement})],Re.prototype,"exploreSAP",void 0);ze([D({type:HTMLElement})],Re.prototype,"cart",void 0);ze([D({type:HTMLElement})],Re.prototype,"joule",void 0);ze([D({type:HTMLElement})],Re.prototype,"profile",void 0);ze([D({type:HTMLElement})],Re.prototype,"support",void 0);ze([d()],Re.prototype,"homeUrl",void 0);ze([d()],Re.prototype,"siteLabelUrl",void 0);ze([d({type:Boolean})],Re.prototype,"bodyOverflow",void 0);ze([d({type:Boolean})],Re.prototype,"showSearchByDefault",void 0);ze([d({type:Boolean})],Re.prototype,"stickyPosition",void 0);ze([d()],Re.prototype,"coBrandImage",void 0);ze([d({type:String})],Re.prototype,"coBrandAlt",void 0);ze([d()],Re.prototype,"coBrandUrl",void 0);ze([d()],Re.prototype,"coBrandTitle",void 0);ze([d()],Re.prototype,"coBrandAriaLabel",void 0);ze([d()],Re.prototype,"logoUrl",void 0);ze([d()],Re.prototype,"logoTitle",void 0);ze([d()],Re.prototype,"siteLabelTitle",void 0);ze([d()],Re.prototype,"siteLabel",void 0);ze([d()],Re.prototype,"logoAlt",void 0);ze([d()],Re.prototype,"closeButtonAccessibleName",void 0);ze([d()],Re.prototype,"openSearchButtonAccessibleName",void 0);ze([d()],Re.prototype,"mobileCloseButtonAccessibleName",void 0);ze([d()],Re.prototype,"homepageAriaLabel",void 0);ze([d()],Re.prototype,"siteLabelAriaLabel",void 0);ze([d({type:Boolean})],Re.prototype,"_isSearchOpened",void 0);ze([d({type:Boolean})],Re.prototype,"_isMobileMenuOpen",void 0);ze([d({type:Boolean})],Re.prototype,"_isMobileMode",void 0);ze([d({type:Boolean})],Re.prototype,"_closeBtnClicked",void 0);ze([V("@sapudex/web-components")],Re,"i18nBundle",void 0);Re=Yp=ze([T({tag:"udex-masthead-shell",languageAware:!0,renderer:A,styles:tY,template:Zq,dependencies:[Pq,qp,V_,R]}),x("mobile-menu-open",{bubbles:!0}),x("mobile-menu-close",{bubbles:!0}),x("search-click",{bubbles:!0}),x("search-close-click",{bubbles:!0}),x("search-opened",{bubbles:!0}),x("search-closed",{bubbles:!0}),x("joule-click",{bubbles:!0}),x("cart-click",{bubbles:!0}),x("support-click",{bubbles:!0}),x("profile-click",{bubbles:!0}),x("country-selector-click",{bubbles:!0}),x("logo-click",{bubbles:!0}),x("site-label-click",{bubbles:!0}),x("co-brand-click",{bubbles:!0})],Re);Re.define();const iY=o=>{switch(o){case"ar":return v(()=>import("./ar-CTZA5thq.js"),[]);case"az":return v(()=>import("./az-v9sl8ib6.js"),[]);case"ba":return v(()=>import("./ba-DisscYZm.js"),[]);case"bg":return v(()=>import("./bg-hMoIXmwx.js"),[]);case"bn":return v(()=>import("./bn-9WIHzDQT.js"),[]);case"ca":return v(()=>import("./ca-BdAvEnzO.js"),[]);case"cs":return v(()=>import("./cs-BTZOJ7RY.js"),[]);case"cy":return v(()=>import("./cy-CkqsAazR.js"),[]);case"da":return v(()=>import("./da-CyYzq03-.js"),[]);case"de":return v(()=>import("./de-Kxrz3LQu.js"),[]);case"el":return v(()=>import("./el-DtD9tvBZ.js"),[]);case"en":return v(()=>import("./en-BSDBMYja.js"),[]);case"en-GB":return v(()=>import("./en-GB-eZDJGL6o.js"),[]);case"es":return v(()=>import("./es-B2uFHLOM.js"),[]);case"et":return v(()=>import("./et-BZYU6uC4.js"),[]);case"eu":return v(()=>import("./eu-4kpIM3qq.js"),[]);case"fa":return v(()=>import("./fa-DE6uNAMy.js"),[]);case"fi":return v(()=>import("./fi-BGPAljj_.js"),[]);case"fr":return v(()=>import("./fr-BiXSRyHq.js"),[]);case"gd":return v(()=>import("./gd-BnHQAAnq.js"),[]);case"gl":return v(()=>import("./gl-DqaooM6m.js"),[]);case"he":return v(()=>import("./he-BCby_1s8.js"),[]);case"hi":return v(()=>import("./hi-CTSA-lZK.js"),[]);case"hr":return v(()=>import("./hr-DisscYZm.js"),[]);case"hu":return v(()=>import("./hu-CtXVLPoZ.js"),[]);case"it":return v(()=>import("./it-CNhkO2LS.js"),[]);case"ja":return v(()=>import("./ja-DQLMLaVj.js"),[]);case"ko":return v(()=>import("./ko-QXeXKT3c.js"),[]);case"lv":return v(()=>import("./lv-C7KueJFp.js"),[]);case"mr":return v(()=>import("./mr-Bh6aKPLD.js"),[]);case"nb":return v(()=>import("./nb-2X2Lg6iq.js"),[]);case"nl":return v(()=>import("./nl-CeYDhQxA.js"),[]);case"nn":return v(()=>import("./nn-B0E7C1S9.js"),[]);case"np":return v(()=>import("./np-CiDCnKgc.js"),[]);case"oc":return v(()=>import("./oc-BWAm6rBf.js"),[]);case"pl":return v(()=>import("./pl-Cp7zgo_d.js"),[]);case"pt-BR":return v(()=>import("./pt-BR-Bc7Ikyiv.js"),[]);case"pt-PT":return v(()=>import("./pt-PT-BvieYtCa.js"),[]);case"ro":return v(()=>import("./ro-C9fEZsPq.js"),[]);case"ru":return v(()=>import("./ru-CvIUT83o.js"),[]);case"sk":return v(()=>import("./sk-DmH_P1yQ.js"),[]);case"sl":return v(()=>import("./sl-B6qRualr.js"),[]);case"sr":return v(()=>import("./sr-Czh2gIc8.js"),[]);case"sv":return v(()=>import("./sv-DI2thI3C.js"),[]);case"te":return v(()=>import("./te-BAfQUXMK.js"),[]);case"th":return v(()=>import("./th-DKW3w-LY.js"),[]);case"tr":return v(()=>import("./tr-D2131HpF.js"),[]);case"uk":return v(()=>import("./uk-Bg3gZBVy.js"),[]);case"vi":return v(()=>import("./vi-B6k4Eer1.js"),[]);case"zh-CN":return v(()=>import("./zh-CN-B_WgppuI.js"),[]);case"zh-Hans":return v(()=>import("./zh-Hans-BEUw6d5l.js"),[]);case"zh-Hant":return v(()=>import("./zh-Hant-BMM21JpX.js"),[]);case"zh-TW":return v(()=>import("./zh-TW-vJ8rSmFo.js"),[]);default:return v(()=>import("./en-BSDBMYja.js"),[])}};function rY(){return l("div",{id:"player",class:`udex-media-player__video udex-media-player__video-embed ${this.fluidModeClass}`})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const aY=`.udex-media-player__video-embed.udex-media-player__fluid{position:absolute;top:0;left:0;width:100%;height:100%}
|
|
713
713
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const T2=`:host{--udex-media-player-background-color: #000000;--udex-media-player-height: 500px;--udex-media-player-width: 100%;--udex-media-player-mobile-height: 150px;--udex-media-player-mobile-width: 100%;--udex-media-player-controls-bar-height: 48px;--udex-media-player-controls-bar-small-height: 34px;--udex-media-player-poster-object-fit: cover;--udex-media-player-base-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M423.5 49h-335c-13 0-24 12-24 27v329c0 15 11 27 24 27h335c13 0 24-12 24-27V76c0-15-11-27-24-27zm0 431h-335c-40 0-72-33-72-75V76c0-41 32-75 72-75h335c40 0 72 34 72 75v329c0 42-32 75-72 75z"></path></svg>');--udex-media-player-pause-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M358 480h-33q-11 0-18.5-7.5T299 454V58q0-11 7.5-18.5T325 32h33q11 0 18.5 7.5T384 58v396q0 11-7.5 18.5T358 480zm-171 0h-33q-11 0-18.5-7.5T128 454V58q0-11 7.5-18.5T154 32h33q11 0 18.5 7.5T213 58v396q0 11-7.5 18.5T187 480z"></path></svg>');--udex-media-player-play-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M122 480q-11 0-18.5-7.5T96 454V58q0-11 7.5-18.5T122 32q7 0 15 5l269 198q10 8 10 21t-10 21L137 475q-8 5-15 5zm25-372v296l200-148z"></path></svg>');--udex-media-player-skip-forward-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M503 236q9 7 9 20 0 12-9 20L298 442q-7 6-16 6-11 0-18.5-7.5T256 422V90q0-11 7.5-18.5T282 64q9 0 16 6zm-256 0q9 7 9 20 0 12-9 20L42 442q-7 6-16 6-11 0-18.5-7.5T0 422V90q0-11 7.5-18.5T26 64q9 0 16 6zm199 20L307 143v226zm-256 0L51 143v226z"></path></svg>');--udex-media-player-skip-backward-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M10 276q-10-8-10-20t10-20L214 70q8-6 16-6 11 0 18.5 7.5T256 90v332q0 11-7.5 18.5T230 448q-8 0-16-6zm256 0q-10-8-10-20t10-20L470 70q8-6 16-6 11 0 18.5 7.5T512 90v332q0 11-7.5 18.5T486 448q-8 0-16-6zM66 256l139 113V143zm256 0 139 113V143z"></path></svg>');--udex-media-player-volume-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M427 63q40 38 62.5 88T512 256t-22.5 105-62.5 88q-9 7-17 7-11 0-18.5-7.5T384 430t8-19q32-30 50.5-70t18.5-85-18.5-85-50.5-70q-8-8-8-19t7.5-18.5T410 56q8 0 17 7zm-179 6q5-5 14-5 11 0 18.5 7t7.5 19v332q0 11-7.5 18.5T262 448q-7 0-14-5l-128-91H26q-11 0-18.5-7.5T0 326V186q0-11 7.5-18.5T26 160h94zm92 49q17 0 30.5 16.5t24 39 16 46T416 256t-5.5 36-16 45.5-24 39T340 393q-11 0-18.5-6.5T314 370q0-14 15-27 15-14 25.5-37.5T365 256t-10.5-49.5T329 169t-15-27q0-10 7.5-17t18.5-7zm-103 21-94 67q-5 5-15 5H51v90h77q10 0 15 5l94 67V139z"></path></svg>');--udex-media-player-volume-muted-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M262 64q11 0 18.5 7.5T288 90v332q0 11-7.5 18.5T262 448q-7 0-14-5l-128-91H26q-11 0-18.5-7.5T0 326V186q0-11 7.5-18.5T26 160h94l128-91q7-5 14-5zm-25 75-94 67q-7 5-15 5H51v90h77q10 0 15 5l94 67V139zm268 172q7 7 7 17 0 11-7.5 18.5T486 354q-10 0-18-8l-51-53-53 55q-8 8-18 8-11 0-18.5-7.5T320 330q0-10 7-17l55-57-55-57q-7-7-7-17 0-11 7.5-18.5T346 156q10 0 18 8l53 55 51-53q8-8 18-8 11 0 18.5 7.5T512 184q0 10-7 17l-53 55z"></path></svg>');--udex-media-player-fullscreen-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M486 0q11 0 18.5 7.5T512 26v108q0 11-7.5 18.5T486 160t-18-7.5-7-18.5V87l-97 97q-8 8-18 8-11 0-18.5-7.5T320 166q0-10 8-18l97-97h-47q-11 0-18.5-7T352 26t7.5-18.5T378 0h108zM230 32q11 0 18.5 7.5T256 58t-7.5 18-18.5 7H90q-7 0-7 7v140q0 11-7 18.5T58 256t-18.5-7.5T32 230V90q0-24 17-41t41-17h140zm224 224q11 0 18.5 7.5T480 282v140q0 24-17 41t-41 17H282q-11 0-18.5-7.5T256 454t7.5-18 18.5-7h140q7 0 7-7V282q0-11 7-18.5t18-7.5zm-306 71q7-7 18-7t18.5 7.5T192 346t-7 18l-98 97h47q11 0 18.5 7t7.5 18-7.5 18.5T134 512H26q-11 0-18.5-7.5T0 486V378q0-11 7.5-18.5T26 352t18 7.5 7 18.5v47z"></path></svg>');--udex-media-player-exit-fullscreen-icon: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M8.53125 14.1562C8.875 14.1562 9.15625 14.2812 9.375 14.5312C9.625 14.75 9.75 15.0312 9.75 15.375V21.375C9.75 21.7188 9.625 22 9.375 22.2188C9.15625 22.4375 8.875 22.5469 8.53125 22.5469C8.1875 22.5469 7.90625 22.4375 7.6875 22.2188C7.46875 22 7.35938 21.7188 7.35938 21.375V18.2812L4.03125 21.5625C3.8125 21.7812 3.53125 21.8906 3.1875 21.8906C2.84375 21.8906 2.5625 21.7812 2.34375 21.5625C2.09375 21.3125 1.96875 21.0312 1.96875 20.7188C1.96875 20.4062 2.09375 20.125 2.34375 19.875L5.625 16.5938H2.53125C2.1875 16.5938 1.90625 16.4844 1.6875 16.2656C1.46875 16.0156 1.35938 15.7188 1.35938 15.375C1.35938 15.0312 1.46875 14.75 1.6875 14.5312C1.90625 14.2812 2.1875 14.1562 2.53125 14.1562H8.53125ZM21.7031 6.98438C22.0469 6.98438 22.3281 7.10938 22.5469 7.35938C22.7969 7.57812 22.9219 7.85938 22.9219 8.20312C22.9219 8.54688 22.7969 8.82812 22.5469 9.04688C22.3281 9.26562 22.0469 9.375 21.7031 9.375H15.75C15.4062 9.375 15.1094 9.26562 14.8594 9.04688C14.6406 8.82812 14.5312 8.54688 14.5312 8.20312V2.20312C14.5312 1.85938 14.6406 1.57812 14.8594 1.35938C15.1094 1.10937 15.4062 0.984375 15.75 0.984375C16.0938 0.984375 16.375 1.10937 16.5938 1.35938C16.8125 1.57812 16.9219 1.85938 16.9219 2.20312V5.29688L20.2031 2.01562C20.4531 1.76562 20.7344 1.64062 21.0469 1.64062C21.3906 1.64062 21.6875 1.76562 21.9375 2.01562C22.1562 2.26562 22.2656 2.54688 22.2656 2.85938C22.2656 3.17188 22.1562 3.45312 21.9375 3.70312L18.6094 6.98438H21.7031ZM4.92188 10.5C4.54688 10.5 4.23438 10.3906 3.98438 10.1719C3.76562 9.95312 3.65625 9.65625 3.65625 9.28125V6.75C3.65625 5.6875 4.01562 4.79688 4.73438 4.07812C5.45312 3.35938 6.34375 3 7.40625 3H9.89062C10.2656 3 10.5625 3.125 10.7812 3.375C11.0312 3.59375 11.1562 3.89062 11.1562 4.26562C11.1562 4.64062 11.0312 4.95312 10.7812 5.20312C10.5625 5.42188 10.2656 5.53125 9.89062 5.53125H7.40625C6.59375 5.53125 6.1875 5.9375 6.1875 6.75V9.28125C6.1875 9.65625 6.0625 9.95312 5.8125 10.1719C5.59375 10.3906 5.29688 10.5 4.92188 10.5ZM20.5312 13.4531C20.9062 13.4531 21.2031 13.5781 21.4219 13.8281C21.6406 14.0469 21.75 14.3438 21.75 14.7188V17.2031C21.75 18.2656 21.3906 19.1562 20.6719 19.875C19.9844 20.5938 19.0938 20.9531 18 20.9531H15.5156C15.1406 20.9531 14.8438 20.8438 14.625 20.625C14.4062 20.375 14.2969 20.0625 14.2969 19.6875C14.2969 19.3125 14.4062 19.0156 14.625 18.7969C14.8438 18.5469 15.1406 18.4219 15.5156 18.4219H18.0469C18.3906 18.4219 18.6719 18.3125 18.8906 18.0938C19.1406 17.875 19.2656 17.5781 19.2656 17.2031V14.6719C19.2656 14.2969 19.375 14 19.5938 13.7812C19.8438 13.5625 20.1562 13.4531 20.5312 13.4531Z" fill="white"/></svg>');--udex-media-player-close-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="m292 256 117 116q7 7 7 18 0 12-7.5 19t-18.5 7q-10 0-18-8L256 292 140 408q-8 8-18 8-11 0-18.5-7.5T96 390q0-10 8-18l116-116-116-116q-8-8-8-18 0-11 7.5-18.5T122 96t18 7l116 117 116-117q7-7 18-7t18.5 7.5T416 122t-7 18z"></path></svg>');--udex-media-player-big-play-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M256 0q53 0 100 20t81.5 54.5T492 156t20 100-20 100-54.5 81.5T356 492t-100 20-100-20-81.5-54.5T20 356 0 256t20-100 54.5-81.5T156 20 256 0zm0 461q43 0 80.5-16t65-44 43.5-65 16-80-16-80.5-43.5-65-65-43.5T256 51t-80 16-65 43.5-44 65T51 256t16 80 44 65 65 44 80 16zm85-226q11 8 11 21t-11 21l-109 77q-7 5-14 5-11 0-18.5-7.5T192 333V179q0-11 7.5-18.5T218 153q7 0 14 5z"></path></svg>');--udex-media-player-border-radius: var(--udexRadiusL, 12px)}.video-js{border-radius:var(--udex-media-player-border-radius);overflow:hidden}.video-js.vjs-fullscreen .vjs-control-bar,.video-js.vjs-fullscreen{border-radius:0}.udex-media-player__container{display:flex;align-items:center;justify-content:center}.video-js:not(.udex-media-player__video-embed):not(.udex-media-player__iframe-poster):not(.udex-media-player__fluid){width:var(--udex-media-player-width);height:var(--udex-media-player-height)}.vjs-svg-icon{fill:currentColor;background-position:50%;background-repeat:no-repeat;display:inline-block;height:1.8em;width:1.8em}.vjs-svg-icon:before{content:none!important}.vjs-control:focus .vjs-svg-icon,.vjs-svg-icon:hover{filter:drop-shadow(0 0 .25em #fff)}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-modal-dialog,.vjs-button>.vjs-icon-placeholder:before,.vjs-modal-dialog .vjs-modal-dialog-content{height:100%;left:0;position:absolute;top:0;width:100%}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.vjs-button>.vjs-icon-placeholder:before{text-align:center}.video-js{background-color:var(--udex-media-player-background-color);box-sizing:border-box;color:#fff;display:inline-block;font-family:var(--sapFontFamily);font-size:10px;font-style:normal;font-weight:400;line-height:1;padding:0;position:relative;vertical-align:top;word-break:normal;--sapContent_IconColor: #fff}.video-js:-webkit-full-screen{height:100%!important;width:100%!important}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js.vjs-1-1:not(.vjs-audio),.video-js.vjs-16-9:not(.vjs-audio),.video-js.vjs-4-3:not(.vjs-audio),.video-js.vjs-9-16:not(.vjs-audio),.video-js.vjs-fluid:not(.vjs-audio){height:0}.video-js.vjs-16-9:not(.vjs-audio){padding-top:56.25%}.video-js.vjs-4-3:not(.vjs-audio){padding-top:75%}.video-js.vjs-9-16:not(.vjs-audio){padding-top:177.7777777778%}.video-js.vjs-1-1:not(.vjs-audio){padding-top:100%}.video-js .vjs-tech,.video-js.vjs-fill:not(.vjs-audio){height:100%;width:100%}.vjs-lock-showing{display:block!important;opacity:1!important;visibility:visible!important}.vjs-no-js{background-color:#000;color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:18px;height:150px;margin:0 auto;padding:20px;text-align:center;width:300px}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.vjs-big-play-button .vjs-svg-icon{height:1em;left:50%;line-height:1;position:absolute;top:50%;transform:translate(-50%,-50%);width:1em}.vjs-has-started.vjs-paused:not(.vjs-audio):not(.vjs-controls-disabled) .vjs-big-play-button,.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause:not(.vjs-seeking,.vjs-scrubbing,.vjs-error) .vjs-big-play-button{display:block}.js-focus-visible .vjs-menu :not(.vjs-selected):focus:not(.focus-visible),.video-js .vjs-menu :not(.vjs-selected):focus:not(:focus-visible){background:none}.vjs-audio .vjs-control-bar,.vjs-has-started .vjs-control-bar{display:flex;opacity:1;transition:visibility .1s,opacity .1s;visibility:visible}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js .vjs-control:focus,.video-js .vjs-control:focus-visible,.video-js .vjs-control:focus-visible:before,.video-js .vjs-control:focus:before,.video-js .vjs-volume-bar.vjs-slider-horizontal:focus-visible,.video-js .vjs-progress-control .vjs-progress-holder:focus-visible,.video-js .vjs-control>button:focus-visible{outline-color:var(--udexColorBlue9)}@keyframes vjs-spinner-show{to{visibility:visible}}@keyframes vjs-spinner-spin{to{transform:rotate(1turn)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@supports (display: grid){.vjs-text-track-settings .vjs-modal-dialog-content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;padding:20px 24px 0}.vjs-track-settings-controls .vjs-default-button{margin-bottom:20px}.vjs-text-track-settings .vjs-track-settings-controls{grid-column:1/-1}.vjs-layout-small .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-tiny .vjs-text-track-settings .vjs-modal-dialog-content,.vjs-layout-x-small .vjs-text-track-settings .vjs-modal-dialog-content{grid-template-columns:1fr}}@media print{.video-js>:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}.vjs-mouse.vjs-playlist{font-size:15px}.vjs-mouse.vjs-playlist .vjs-playlist-description{height:30px;line-height:23px}@media (min-width: 600px){.vjs-mouse.vjs-playlist{font-size:17px}.vjs-mouse.vjs-playlist .vjs-playlist-description{height:34px;line-height:26px}.vjs-playlist .vjs-playlist-name{line-height:22px}}@media (max-width: 520px){.vjs-mouse.vjs-playlist .vjs-selected .vjs-playlist-now-playing-text,.vjs-mouse.vjs-playlist .vjs-up-next .vjs-up-next-text,.vjs-playlist .vjs-selected .vjs-playlist-now-playing-text,.vjs-playlist .vjs-up-next .vjs-up-next-text{display:none}}@media (min-width: 521px){.vjs-playlist img{min-height:85px}}@media (max-width: 750px){.vjs-playlist .vjs-playlist-duration{display:none}}.vjs-modal-dialog .vjs-modal-dialog-content,.video-js .vjs-modal-dialog{position:absolute;top:0;left:0;width:100%;height:100%}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js[tabindex="-1"]{outline:none}.video-js *,.video-js *:before,.video-js *:after{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-fluid,.video-js.vjs-16-9,.video-js.vjs-4-3,.video-js.vjs-9-16,.video-js.vjs-1-1{width:100%;max-width:100%}.video-js.vjs-1-1,.video-js.vjs-16-9,.video-js.vjs-4-3,.video-js.vjs-9-16,.video-js.vjs-fluid{max-width:100%;width:100%}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}body.vjs-full-window,body.vjs-pip-window{padding:0;margin:0;height:100%}.vjs-full-window .video-js.vjs-fullscreen,body.vjs-pip-window .video-js{position:fixed;overflow:hidden;z-index:1000;inset:0}.video-js.vjs-fullscreen:not(.vjs-ios-native-fs),body.vjs-pip-window .video-js{width:100%!important;height:100%!important;padding-top:0!important;display:block}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-pip-container .vjs-pip-text{position:absolute;bottom:10%;font-size:2em;background-color:#000000b3;padding:.5em;text-align:center;width:100%}.vjs-layout-tiny.vjs-pip-container .vjs-pip-text,.vjs-layout-x-small.vjs-pip-container .vjs-pip-text,.vjs-layout-small.vjs-pip-container .vjs-pip-text{bottom:0;font-size:1.4em}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.video-js .vjs-big-play-button:focus,.video-js .vjs-big-play-button:focus-within,.video-js .vjs-big-play-button:focus-visible{box-shadow:0 0 0 3px var(--udexColorBlue10);outline-width:2px;outline-color:var(--udexColorNeutralWhite);outline-offset:3px;outline-style:solid}.video-js .vjs-big-play-button{height:20%;max-height:100px;max-width:100px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:0;cursor:pointer;opacity:1;background-color:#0006;border-radius:50%;transition:all .4s}.video-js .vjs-big-play-button .vjs-icon-placeholder{width:100%;height:100%;display:block;border-radius:50%;position:absolute;inset:0}.video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:var(--udex-media-player-big-play-icon);border-radius:50%;right:0;bottom:0;display:block;text-align:inherit}.video-js .vjs-big-play-button [ui5-icon]{width:100%;height:100%}.video-js.vjs-16-9 .vjs-big-play-button{width:calc(20% / 1.778)}.video-js.vjs-4-3 .vjs-big-play-button{width:calc(20% / 1.333)}.video-js.vjs-1-1 .vjs-big-play-button{width:20%}.video-js.vjs-9-16 .vjs-big-play-button{width:calc(20% / .5625)}.video-js:hover .vjs-big-play-button,.video-js .vjs-big-play-button:focus{transition:all 0s}.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause:not(.vjs-seeking,.vjs-scrubbing,.vjs-error) .vjs-big-play-button{display:block}.video-js button{background:none;border:none;color:inherit;display:inline-block;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vjs-control .vjs-button{width:100%;height:100%}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:linear-gradient(180deg,rgba(0,0,0,.8),rgba(255,255,255,0));overflow:auto}.video-js .vjs-modal-dialog>*{box-sizing:border-box}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:var(--udexZIndex1, 1)}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;overflow:auto}.vjs-menu .vjs-menu-content>*{box-sizing:border-box}.vjs-menu li{display:flex;justify-content:center;list-style:none;margin:0;padding:3px 6px;line-height:18px;font-size:12px;text-align:center}.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover,.js-focus-visible .vjs-menu li.vjs-menu-item:hover{background-color:var(--udexColorGrey7, #475E75);color:#fff}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover,.js-focus-visible .vjs-menu li.vjs-selected:hover{background-color:var(--udexColorGrey2, #EAECEE);color:var(--udexColorGrey9, #223548)}.video-js .vjs-menu *:not(.vjs-selected):focus:not(:focus-visible),.js-focus-visible .vjs-menu *:not(.vjs-selected):focus:not(.focus-visible){background:none}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;min-width:105px;left:-3em;height:0em;border-top-color:#2b333fb3}.vjs-pip-window .vjs-menu-button-popup .vjs-menu{left:unset;right:1em}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:var(--udexColorGrey10, #1A2733);position:absolute;width:100%;bottom:var(--udex-media-player-controls-bar-height);max-height:15em;text-transform:capitalize}.vjs-subs-caps-button .vjs-menu .vjs-menu-content{min-width:105px}.vjs-layout-tiny .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:5em}.vjs-layout-small .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:10em}.vjs-layout-medium .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:14em}.vjs-layout-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-x-large .vjs-menu-button-popup .vjs-menu .vjs-menu-content,.vjs-layout-huge .vjs-menu-button-popup .vjs-menu .vjs-menu-content{max-height:25em}.vjs-workinghover .vjs-menu-button-popup.vjs-hover .vjs-menu,.vjs-menu-button-popup .vjs-menu.vjs-lock-showing{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline:hover,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline.vjs-slider-active{width:12em}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline:hover .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline.vjs-slider-active .vjs-menu{display:block;opacity:1}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:var(--udex-media-player-controls-bar-height);background-color:var(--udexColorGrey10, #1A2733);border-bottom-left-radius:var(--udex-media-player-border-radius);border-bottom-right-radius:var(--udex-media-player-border-radius)}.video-js:not(.vjs-controls-disabled,.vjs-using-native-controls,.vjs-error) .vjs-control-bar.vjs-lock-showing{display:flex!important}.vjs-has-started .vjs-control-bar{display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;pointer-events:none;transition:visibility 1s,opacity 1s}.vjs-controls-disabled .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar,.vjs-error .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible;pointer-events:auto}.video-js .vjs-control{position:relative;text-align:center;margin:0 16px 0 0;padding:0;height:100%;width:24px;flex:none}.video-js .vjs-control.vjs-fullscreen-control{margin-right:12px}.video-js .vjs-control.vjs-play-control{margin-left:12px}.video-js .vjs-control.vjs-remaining-time{margin:0}.video-js .vjs-control.vjs-progress-control,.video-js .vjs-control.vjs-time-control{margin:0 16px 0 0}.video-js .vjs-control.vjs-visible-text{width:auto;padding-left:1em;padding-right:1em}.vjs-button>.vjs-icon-placeholder:before{content:"";background-image:var(--udex-media-player-base-icon);font-size:1.8em;line-height:var(--udex-media-player-controls-bar-height);display:block;height:var(--udex-media-player-controls-bar-height);width:100%;background-size:24px 24px;background-repeat:no-repeat;background-position:center}.vjs-play-control>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-play-icon)}.vjs-skip-forward-5>.vjs-icon-placeholder:before,.vjs-skip-forward-10>.vjs-icon-placeholder:before,.vjs-skip-forward-30>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-skip-forward-icon)}.vjs-skip-backward-5>.vjs-icon-placeholder:before,.vjs-skip-backward-10>.vjs-icon-placeholder:before,.vjs-skip-backward-30>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-skip-backward-icon)}.vjs-play-control.vjs-playing>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-pause-icon)}.vjs-play-control.vjs-paused>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-play-icon)}.vjs-mute-control>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-volume-icon)}.vjs-mute-control.vjs-vol-0>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-volume-muted-icon)}.vjs-subs-caps-button>.vjs-icon-placeholder:before{content:"CC";background-image:none;font-family:var(--sapFontFamily);font-size:14px;font-weight:700}.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-enter:before{background-image:var(--udex-media-player-fullscreen-icon)}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-exit:before{background-image:var(--udex-media-player-exit-fullscreen-icon)}.vjs-close-button>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-close-icon)}body.vjs-full-window.vjs-fullscreen .vjs-fullscreen-control>.vjs-icon-placeholder:before{background-image:var(--udex-media-player-close-icon)}.vjs-button>.vjs-icon-placeholder{display:block}.vjs-button>.vjs-svg-icon{display:inline-block}.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before,.video-js .vjs-control:focus{text-shadow:0em 0em 1em white}.video-js *:not(.vjs-visible-text)>.vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.video-js .vjs-progress-control{cursor:pointer;flex:auto;display:flex;align-items:center;min-width:4em;touch-action:none}.video-js .vjs-progress-control.disabled{cursor:default}.vjs-liveui .vjs-progress-control{display:flex;align-items:center}.video-js .vjs-progress-holder{flex:auto;transition:all .2s;height:4px}.video-js .vjs-progress-control .vjs-progress-holder{margin:0}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666667em}.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled{font-size:1em}.video-js .vjs-progress-holder .vjs-play-progress,.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div{position:absolute;display:block;height:100%;margin:0;padding:0;width:0}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-volume-level:before,.video-js .vjs-play-progress:before{content:"";position:absolute;right:-4px;line-height:8px;z-index:var(--udexZIndex1, 1);height:8px;width:8px;background-color:#fff;border-radius:8px;bottom:-2px}.vjs-svg-icons-enabled .vjs-play-progress:before{content:none!important}.vjs-play-progress .vjs-svg-icon{position:absolute;top:-.35em;right:-.4em;width:.9em;height:.9em;pointer-events:none;line-height:.15em;z-index:var(--udexZIndex1, 1)}.video-js .vjs-load-progress,.video-js .vjs-load-progress div{background:var(--udexColorGrey4 ,#A9B4BE)}.video-js .vjs-time-tooltip{background-color:#fffc;border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:var(--udexZIndex1, 1)}.video-js .vjs-progress-control:hover .vjs-time-tooltip,.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip{display:block;font-size:.6em;visibility:visible}.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip{font-size:1em}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:var(--udexZIndex1, 1)}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:#000c}.video-js .vjs-slider{position:relative;cursor:pointer;padding:0;margin:0 .45em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--udexColorGrey6,#5B738B)}.video-js .vjs-slider.disabled{cursor:default}.video-js .vjs-slider:focus{text-shadow:0em 0em 1em white;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control{cursor:pointer;flex:none}.video-js .vjs-volume-control{cursor:pointer;margin-right:1em;display:flex;align-items:center}.video-js .vjs-volume-control.vjs-volume-horizontal{width:5em}.video-js .vjs-volume-panel .vjs-volume-control{visibility:visible;opacity:0;width:1px;height:1px;margin-left:-1px}.video-js .vjs-volume-panel{transition:width 1s}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control,.video-js .vjs-volume-panel:active .vjs-volume-control,.video-js .vjs-volume-panel:focus .vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control:active,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active{visibility:visible;opacity:1;position:relative;transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal{width:60px;height:3em;margin-right:0}.video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-vertical,.video-js .vjs-volume-panel.vjs-hover .vjs-mute-control~.vjs-volume-control.vjs-volume-vertical,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-vertical{left:-3.5em;transition:left 0s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active{width:100px;transition:width .1s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only{width:4em}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{height:8em;width:3em;left:-3000em;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel{display:flex;align-items:center}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:4px}.vjs-volume-bar.vjs-slider-vertical{width:4px;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em;z-index:var(--udexZIndex1, 1)}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em;z-index:var(--udexZIndex1, 1)}.vjs-svg-icons-enabled .vjs-volume-level:before{content:none}.vjs-volume-level .vjs-svg-icon{position:absolute;width:.9em;height:.9em;pointer-events:none;z-index:var(--udexZIndex1, 1)}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{line-height:.35em;right:-.5em}.vjs-slider-horizontal .vjs-volume-level .vjs-svg-icon{right:-.3em;transform:translateY(-50%)}.vjs-slider-vertical .vjs-volume-level .vjs-svg-icon{top:-.55em;transform:translate(-50%)}.video-js .vjs-volume-panel.vjs-volume-panel-vertical{width:4em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.video-js .vjs-volume-vertical{width:3em;height:8em;bottom:8em;background-color:#a9b4be}.video-js .vjs-volume-horizontal .vjs-menu{left:-2em}.video-js .vjs-volume-tooltip{background-color:#fff;background-color:#fffc;border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:var(--udexZIndex1, 1)}.video-js .vjs-volume-control:hover .vjs-volume-tooltip,.video-js .vjs-volume-control:hover .vjs-progress-holder:focus .vjs-volume-tooltip{display:block;font-size:1em;visibility:visible}.video-js .vjs-volume-vertical:hover .vjs-volume-tooltip,.video-js .vjs-volume-vertical:hover .vjs-progress-holder:focus .vjs-volume-tooltip{left:1em;top:-12px}.video-js .vjs-volume-control.disabled:hover .vjs-volume-tooltip{font-size:1em}.video-js .vjs-volume-control .vjs-mouse-display{display:none;position:absolute;width:100%;height:1px;background-color:#000;z-index:var(--udexZIndex1, 1)}.video-js .vjs-volume-horizontal .vjs-mouse-display{width:1px;height:100%}.video-js .vjs-volume-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-volume-control .vjs-mouse-display{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.vjs-mouse-display .vjs-volume-tooltip{color:#fff;background-color:#000;background-color:#000c}.vjs-poster{display:inline-block;vertical-align:middle;cursor:pointer;margin:0;padding:0;position:absolute;inset:0;height:100%}.vjs-audio.vjs-has-started .vjs-poster,.vjs-has-started.vjs-audio-poster-mode .vjs-poster,.vjs-pip-container.vjs-has-started .vjs-poster{display:block}.vjs-poster img{width:100%;height:100%;-o-object-fit:var(--udex-media-player-poster-object-fit);object-fit:var(--udex-media-player-poster-object-fit)}.video-js .vjs-live-control{display:flex;align-items:flex-start;flex:auto;font-size:1em;line-height:3em}.video-js .vjs-seek-to-live-control{align-items:center;cursor:pointer;flex:none;display:inline-flex;height:100%;padding-left:.5em;padding-right:.5em;font-size:1em;line-height:3em;width:auto;min-width:4em}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge{cursor:auto}.vjs-seek-to-live-control .vjs-icon-placeholder{margin-right:.5em;color:#888}.vjs-svg-icons-enabled .vjs-seek-to-live-control{line-height:0}.vjs-seek-to-live-control .vjs-svg-icon{width:1em;height:1em;pointer-events:none;fill:#888}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder{color:red}.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-svg-icon{fill:red}.video-js .vjs-time-control{flex:none;font-size:var(--udexTypographyBodyXXSFontSize, 12px);line-height:var(--udex-media-player-controls-bar-height);min-width:2em;width:auto}.vjs-time-divider{display:none;line-height:3em}.video-js .vjs-play-control{cursor:pointer}.video-js .vjs-play-control .vjs-icon-placeholder{flex:none}.vjs-text-track-display{position:absolute;bottom:var(--udex-media-player-controls-bar-height);left:0;right:0;top:0;pointer-events:none}.video-js.vjs-controls-disabled .vjs-text-track-display,.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:var(--udex-media-player-controls-bar-height)}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{transform:translateY(-3em)}.video-js.vjs-controls-disabled video::-webkit-media-text-track-display,.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{transform:translateY(-1.5em)}.video-js .vjs-picture-in-picture-control,.video-js .vjs-fullscreen-control{cursor:pointer;flex:none}.vjs-playback-rate>.vjs-menu-button,.vjs-playback-rate .vjs-playback-rate-value{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-playback-rate .vjs-playback-rate-value{pointer-events:none;font-size:14px;font-weight:700;line-height:var(--udex-media-player-controls-bar-height);text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:-2.7rem}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-loading-spinner{box-sizing:border-box;display:none;position:absolute;inset:0;visibility:hidden;background:color-mix(in oklch,transparent,var(--sapBlockLayer_Background) 60%);align-items:center;justify-content:center}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{animation:vjs-spinner-show 0s linear .3s forwards;display:flex}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:none}.vjs-chapters-button .vjs-menu ul{width:24em}.vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-svg-icon{width:1.5em;height:1.5em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-audio-button+.vjs-menu .vjs-description-menu-item .vjs-menu-item-text .vjs-icon-placeholder,.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-x-small .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:hover,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js.vjs-layout-tiny .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover{width:auto;width:initial}.video-js.vjs-layout-x-small .vjs-custom-control-spacer{flex:auto;display:block}.vjs-modal-dialog.vjs-text-track-settings{background-color:#2b333f;background-color:#2b333fbf;color:#fff;height:70%}.vjs-text-track-settings .vjs-modal-dialog-content{display:table}.vjs-text-track-settings .vjs-track-settings-colors,.vjs-text-track-settings .vjs-track-settings-font,.vjs-text-track-settings .vjs-track-settings-controls{display:table-cell}.vjs-text-track-settings .vjs-track-settings-controls{text-align:right;vertical-align:bottom}.vjs-text-track-settings select{font-size:inherit}.vjs-track-setting>select{margin-right:1em;margin-bottom:.5em}.vjs-text-track-settings fieldset{margin:10px;border:none}.vjs-text-track-settings fieldset span{display:inline-block;padding:0 .6em .8em}.vjs-text-track-settings fieldset span>select{max-width:7.3em;margin-bottom:.5em}.vjs-text-track-settings legend{color:#fff;font-weight:700;font-size:1.2em}.vjs-text-track-settings .vjs-label{margin:0 .5em .5em 0}.vjs-track-settings-controls button:focus,.vjs-track-settings-controls button:active{outline-style:solid;outline-width:medium;background-image:linear-gradient(0deg,#fff 88%,#73859f 100%)}.vjs-track-settings-controls button:hover{color:#2b333fbf}.vjs-track-settings-controls button{background-color:#fff;background-image:linear-gradient(-180deg,#fff 88%,#73859f 100%);color:#2b333f;cursor:pointer;border-radius:2px;margin-bottom:var(--udexSpacer16)}.vjs-track-settings-controls .vjs-default-button{margin-right:1em}.vjs-title-bar{background:rgba(0,0,0,.9);background:linear-gradient(180deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.7) 60%,rgba(0,0,0,0) 100%);font-size:1.2em;line-height:1.5;transition:opacity .1s;padding:.666em 1.333em 4em;pointer-events:none;position:absolute;top:0;width:100%}.vjs-title-bar-title,.vjs-title-bar-description{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vjs-title-bar-title{font-weight:700;margin-bottom:.333em}.vjs-playing.vjs-user-inactive .vjs-title-bar{opacity:0;transition:opacity 1s}.video-js .vjs-skip-forward-5,.video-js .vjs-skip-forward-10,.video-js .vjs-skip-forward-30,.video-js .vjs-skip-backward-5,.video-js .vjs-skip-backward-10,.video-js .vjs-skip-backward-30{cursor:pointer}.vjs-resize-manager{position:absolute;top:0;left:0;width:100%;height:100%;border:none;z-index:-1000}.vjs-audio .vjs-control-bar{display:flex}.udex-media-player__fluid .udex-media-player__vjs-poster>picture>img,.udex-media-player__fluid .udex-media-player__vjs-poster>picture,.video-js.udex-media-player__video.udex-media-player__fluid>iframe{position:absolute;top:0;left:0;width:100%;height:100%}.udex-media-player__iframe-poster .udex-media-player__vjs-poster{display:inline-block;vertical-align:middle;margin:0;padding:0;inset:0}.udex-media-player__iframe-poster .udex-media-player__vjs-poster .vjs-big-play-button{cursor:pointer}.udex-media-player__iframe-poster .udex-media-player__vjs-poster .vjs-big-play-button:before{content:""}.vjs-modal-dialog.vjs-text-track-settings{background-color:#00000080;container-type:inline-size;container-name:settings}.vjs-modal-dialog.vjs-text-track-settings .vjs-modal-dialog-content{padding:var(--udexSpacer24) var(--udexSpacer32);display:flex;flex-wrap:wrap}.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-colors,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-font,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls{display:flex;flex-direction:column;margin:0 0 var(--udexSpacer24) 0;flex-grow:1;gap:var(--udexSpacer24);min-width:250px}.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls{justify-content:flex-end;align-items:flex-end;gap:var(--udexSpacer16);flex-direction:row}.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button{margin:0;margin-bottom:var(--udexSpacer16)}.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button{position:relative}.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button:focus-within,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button:focus,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button:focus-within,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button:focus{outline:none;border-radius:var(--udexRadiusXS, 4px)}.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button:focus-within:after,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button:focus:after,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button:focus-within:after,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button:focus:after{content:"";position:absolute;box-sizing:border-box;inset:2px;border:.125rem solid var(--udexColorBlue9);border-radius:var(--udexRadiusXS, 4px)}.vjs-modal-dialog.vjs-text-track-settings .vjs-close-button.vjs-control.vjs-button{height:24px;right:var(--udexSpacer32);top:var(--udexSpacer24);margin:0}.vjs-modal-dialog.vjs-text-track-settings .vjs-close-button.vjs-control.vjs-button .vjs-icon-placeholder:before{height:24px}.vjs-modal-dialog.vjs-track-setting>select{margin:0}.vjs-modal-dialog.vjs-text-track-settings fieldset select:focus,.vjs-modal-dialog.vjs-text-track-settings fieldset select:focus-within{outline-color:var(--udexColorBlue9)}.vjs-modal-dialog.vjs-text-track-settings fieldset{margin:0;padding:0}.vjs-modal-dialog.vjs-text-track-settings legend{margin-bottom:var(--udexSpacer16);font-weight:500;font-size:1rem}.vjs-modal-dialog.vjs-text-track-settings .vjs-label{margin:0 var(--udexSpacer8) var(--udexSpacer8) 0}.vjs-modal-dialog.vjs-text-track-settings fieldset span{padding:0 var(--udexSpacer16) 0 0}.video-js .vjs-control.vjs-playback-rate{width:auto}.vjs-playback-rate .vjs-playback-rate-value{position:relative}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu,.vjs-playback-rate>.vjs-icon-placeholder:before,.video-js .vjs-custom-control-spacer,.vjs-live .vjs-progress-control,.video-js .vjs-progress-holder:focus .vjs-time-tooltip,.vjs-has-started .vjs-poster,.vjs-using-native-controls .vjs-poster,.video-js:not(.vjs-live) .vjs-live-control,.video-js.vjs-liveui .vjs-live-control,.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,.video-js:not(.vjs-live) .vjs-seek-to-live-control,.vjs-live .vjs-time-control,.vjs-live .vjs-time-divider,.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-error .vjs-text-track-display,.vjs-pip-window .vjs-picture-in-picture-control,.vjs-pip-window .vjs-fullscreen-control,.vjs-error .vjs-loading-spinner,.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu,.vjs-seeking.vjs-paused .vjs-loading-spinner,.vjs-waiting.vjs-paused .vjs-loading-spinner,.vjs-paused .vjs-loading-spinner,.video-js.vjs-layout-small .vjs-current-time,.video-js.vjs-layout-small .vjs-time-divider,.video-js.vjs-layout-small .vjs-duration,.video-js.vjs-layout-small .vjs-remaining-time,.video-js.vjs-layout-small .vjs-playback-rate,.video-js.vjs-layout-small .vjs-volume-control,.video-js.vjs-layout-x-small .vjs-current-time,.video-js.vjs-layout-x-small .vjs-time-divider,.video-js.vjs-layout-x-small .vjs-duration,.video-js.vjs-layout-x-small .vjs-remaining-time,.video-js.vjs-layout-x-small .vjs-playback-rate,.video-js.vjs-layout-x-small .vjs-volume-control,.video-js.vjs-layout-tiny .vjs-current-time,.video-js.vjs-layout-tiny .vjs-time-divider,.video-js.vjs-layout-tiny .vjs-duration,.video-js.vjs-layout-tiny .vjs-remaining-time,.video-js.vjs-layout-tiny .vjs-playback-rate,.video-js.vjs-layout-tiny .vjs-volume-control,.video-js.vjs-layout-x-small .vjs-progress-control,.video-js.vjs-layout-tiny .vjs-progress-control,.vjs-error .vjs-text-track-settings,.vjs-error .vjs-title-bar,.vjs-audio .vjs-big-play-button,.video-js.vjs-audio .vjs-tech,.vjs-controls-disabled .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button,.video-js.vjs-audio .vjs-descriptions-button,.video-js.vjs-audio .vjs-captions-button,.vjs-error .vjs-big-play-button{display:none}@media (width < 680px){.vjs-modal-dialog.vjs-text-track-settings .vjs-modal-dialog-content{padding:var(--udexSpacer16) var(--udexSpacer24)}.vjs-modal-dialog.vjs-text-track-settings .vjs-close-button.vjs-control.vjs-button{right:var(--udexSpacer24);top:var(--udexSpacer16)}.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-colors,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-font,.vjs-modal-dialog.vjs-text-track-settings .vjs-track-settings-controls{gap:var(--udexSpacer8)}.vjs-modal-dialog.vjs-text-track-settings legend{margin-bottom:var(--udexSpacer8)}}@media (max-width: 980px){.video-js .vjs-control{width:18px}.vjs-button>.vjs-icon-placeholder:before{background-size:18px 18px}.vjs-button>.vjs-icon-placeholder:before{line-height:var(--udex-media-player-controls-bar-small-height);height:var(--udex-media-player-controls-bar-small-height)}.video-js .vjs-control-bar{height:var(--udex-media-player-controls-bar-small-height)}.vjs-text-track-display,.vjs-menu-button-popup .vjs-menu .vjs-menu-content{bottom:var(--udex-media-player-controls-bar-small-height)}.vjs-playback-rate .vjs-playback-rate-value,.video-js .vjs-time-control{line-height:var(--udex-media-player-controls-bar-small-height)}.video-js.vjs-controls-disabled .vjs-text-track-display,.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:var(--udex-media-player-controls-bar-small-height)}.video-js:not(.udex-media-player__video-embed):not(.udex-media-player__iframe-poster):not(.udex-media-player__fluid){height:var(--udex-media-player-mobile-height);width:var(--udex-media-player-mobile-width)}}
|
|
714
|
-
`;var _c=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};const nY=/youtube-nocookie\.com/,sY=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,dY="https://www.youtube-nocookie.com",lY="https://www.youtube.com/iframe_api",uY="onYouTubeIframeAPIReady",cY=1e3,hY=/[?&#](?:start|t)=([0-9hms]+)/,_Y=/[?&#]end=([0-9hms]+)/,Kg=/(\d+)(h|m|s)/g,pY=/^\d+$/;let os=class extends z{constructor(){super(...arguments),this.source="",this.width="",this.height="",this.aspectRatio="16:9",this.videoDuration=0,this._hasStarted=!1,this._replayPending=!1,this.setupYoutubeAPI=()=>{if(!window.YT){const e=document.createElement("script");e.src=lY;const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}window[uY]=()=>this.onYouTubeIframeAPIReady(),window.YT&&window.YT.Player&&this.onYouTubeIframeAPIReady()},this.onYouTubeIframeAPIReady=()=>{var e;this.youtubePlayer=new YT.Player((e=this.shadowRoot)==null?void 0:e.querySelector("#player"),{height:this.height,width:this.width,videoId:this.videoId,playerVars:{autoplay:this.autoplay?1:0,mute:this.muted?1:0,playsinline:this.playsinline?1:0,origin:window.location.origin,start:this.parseStartTime(this.source),end:this.parseEndTime(this.source)},host:nY.test(this.source)?dY:void 0,events:{onReady:this.onPlayerReady,onStateChange:this.onPlayerStateChange}})},this.onPlayerReady=e=>{this.videoDuration=e.target.getDuration(),this.fireDecoratorEvent("ready")},this.onPlayerStateChange=e=>{const{data:t}=e,{PLAYING:i,PAUSED:a,ENDED:r}=window.YT.PlayerState;t===i?((!this._hasStarted||this._replayPending)&&(this.fireDecoratorEvent("videoStart"),this._hasStarted=!0,this._replayPending=!1),this.checkInterval||(this.checkInterval=window.setInterval(()=>{this.checkVideoProgress()},cY))):this.checkInterval&&(clearInterval(this.checkInterval),this.checkInterval=void 0),t===r&&(this._replayPending=!0,this.fireDecoratorEvent("ended",{ytevent:e})),t===a&&this.fireDecoratorEvent("pause",{ytevent:e})}}get videoId(){if(!this.source)return"";const e=this.source.match(sY);return e?e[1]:""}get url(){return new URL(this.source)}get autoplay(){const e=this.url.searchParams.get("autoplay");return e?parseInt(e):void 0}get muted(){const e=this.url.searchParams.get("mute");return e?parseInt(e):void 0}get playsinline(){const e=this.url.searchParams.get("playsinline");return e?parseInt(e):void 0}checkVideoProgress(){var i;const t=(((i=this.youtubePlayer)==null?void 0:i.getCurrentTime())||0)/this.videoDuration*100;this.fireDecoratorEvent("playing",{percentPlayed:t})}parseTimeParam(e,t){if(e instanceof Array)return;const i=e.match(t);if(i){const a=i[1];if(a.match(Kg))return this.parseTimeString(a);if(pY.test(a))return parseInt(a)}}parseTimeString(e){let t=0,i=Kg.exec(e);for(;i!==null;){const[,a,r]=i;r==="h"&&(t+=parseInt(a)*60*60),r==="m"&&(t+=parseInt(a)*60),r==="s"&&(t+=parseInt(a)),i=Kg.exec(e)}return t}parseStartTime(e){return this.parseTimeParam(e,hY)}parseEndTime(e){return this.parseTimeParam(e,_Y)}onEnterDOM(){this.setupYoutubeAPI()}onExitDOM(){this.checkInterval&&(clearInterval(this.checkInterval),this.checkInterval=void 0)}getPlayer(){return this.youtubePlayer||null}get fluidModeClass(){return this.fluidMode?"udex-media-player__fluid":""}};_c([d({type:String})],os.prototype,"source",void 0);_c([d({type:String})],os.prototype,"width",void 0);_c([d({type:String})],os.prototype,"height",void 0);_c([d()],os.prototype,"aspectRatio",void 0);_c([d({type:Boolean})],os.prototype,"fluidMode",void 0);os=_c([T({tag:"udex-media-player-youtube",renderer:A,styles:[T2,aY],template:rY}),x("videoStart",{bubbles:!0}),x("ready",{bubbles:!0}),x("ended",{bubbles:!0}),x("pause",{bubbles:!0}),x("playing",{bubbles:!0})],os);os.define();const gY=os;/*! @vimeo/player v2.24.0 | (c) 2024 Vimeo | MIT License | https://github.com/vimeo/player.js */function p6(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),t.push.apply(t,i)}return t}function g6(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?p6(Object(t),!0).forEach(function(i){Kp(o,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):p6(Object(t)).forEach(function(i){Object.defineProperty(o,i,Object.getOwnPropertyDescriptor(t,i))})}return o}function Oi(){Oi=function(){return o};var o={},e=Object.prototype,t=e.hasOwnProperty,i=Object.defineProperty||function(w,S,E){w[S]=E.value},a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",n=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(w,S,E){return Object.defineProperty(w,S,{value:E,enumerable:!0,configurable:!0,writable:!0}),w[S]}try{u({},"")}catch{u=function(S,E,F){return S[E]=F}}function c(w,S,E,F){var M=S&&S.prototype instanceof f?S:f,ee=Object.create(M.prototype),pe=new W(F||[]);return i(ee,"_invoke",{value:G(w,E,pe)}),ee}function p(w,S,E){try{return{type:"normal",arg:w.call(S,E)}}catch(F){return{type:"throw",arg:F}}}o.wrap=c;var _={};function f(){}function b(){}function k(){}var $={};u($,r,function(){return this});var H=Object.getPrototypeOf,X=H&&H(H(L([])));X&&X!==e&&t.call(X,r)&&($=X);var y=k.prototype=f.prototype=Object.create($);function C(w){["next","throw","return"].forEach(function(S){u(w,S,function(E){return this._invoke(S,E)})})}function h(w,S){function E(M,ee,pe,Ge){var Ze=p(w[M],w,ee);if(Ze.type!=="throw"){var ft=Ze.arg,le=ft.value;return le&&typeof le=="object"&&t.call(le,"__await")?S.resolve(le.__await).then(function(ht){E("next",ht,pe,Ge)},function(ht){E("throw",ht,pe,Ge)}):S.resolve(le).then(function(ht){ft.value=ht,pe(ft)},function(ht){return E("throw",ht,pe,Ge)})}Ge(Ze.arg)}var F;i(this,"_invoke",{value:function(M,ee){function pe(){return new S(function(Ge,Ze){E(M,ee,Ge,Ze)})}return F=F?F.then(pe,pe):pe()}})}function G(w,S,E){var F="suspendedStart";return function(M,ee){if(F==="executing")throw new Error("Generator is already running");if(F==="completed"){if(M==="throw")throw ee;return N()}for(E.method=M,E.arg=ee;;){var pe=E.delegate;if(pe){var Ge=Z(pe,E);if(Ge){if(Ge===_)continue;return Ge}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(F==="suspendedStart")throw F="completed",E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);F="executing";var Ze=p(w,S,E);if(Ze.type==="normal"){if(F=E.done?"completed":"suspendedYield",Ze.arg===_)continue;return{value:Ze.arg,done:E.done}}Ze.type==="throw"&&(F="completed",E.method="throw",E.arg=Ze.arg)}}}function Z(w,S){var E=S.method,F=w.iterator[E];if(F===void 0)return S.delegate=null,E==="throw"&&w.iterator.return&&(S.method="return",S.arg=void 0,Z(w,S),S.method==="throw")||E!=="return"&&(S.method="throw",S.arg=new TypeError("The iterator does not provide a '"+E+"' method")),_;var M=p(F,w.iterator,S.arg);if(M.type==="throw")return S.method="throw",S.arg=M.arg,S.delegate=null,_;var ee=M.arg;return ee?ee.done?(S[w.resultName]=ee.value,S.next=w.nextLoc,S.method!=="return"&&(S.method="next",S.arg=void 0),S.delegate=null,_):ee:(S.method="throw",S.arg=new TypeError("iterator result is not an object"),S.delegate=null,_)}function re(w){var S={tryLoc:w[0]};1 in w&&(S.catchLoc=w[1]),2 in w&&(S.finallyLoc=w[2],S.afterLoc=w[3]),this.tryEntries.push(S)}function Y(w){var S=w.completion||{};S.type="normal",delete S.arg,w.completion=S}function W(w){this.tryEntries=[{tryLoc:"root"}],w.forEach(re,this),this.reset(!0)}function L(w){if(w){var S=w[r];if(S)return S.call(w);if(typeof w.next=="function")return w;if(!isNaN(w.length)){var E=-1,F=function M(){for(;++E<w.length;)if(t.call(w,E))return M.value=w[E],M.done=!1,M;return M.value=void 0,M.done=!0,M};return F.next=F}}return{next:N}}function N(){return{value:void 0,done:!0}}return b.prototype=k,i(y,"constructor",{value:k,configurable:!0}),i(k,"constructor",{value:b,configurable:!0}),b.displayName=u(k,s,"GeneratorFunction"),o.isGeneratorFunction=function(w){var S=typeof w=="function"&&w.constructor;return!!S&&(S===b||(S.displayName||S.name)==="GeneratorFunction")},o.mark=function(w){return Object.setPrototypeOf?Object.setPrototypeOf(w,k):(w.__proto__=k,u(w,s,"GeneratorFunction")),w.prototype=Object.create(y),w},o.awrap=function(w){return{__await:w}},C(h.prototype),u(h.prototype,n,function(){return this}),o.AsyncIterator=h,o.async=function(w,S,E,F,M){M===void 0&&(M=Promise);var ee=new h(c(w,S,E,F),M);return o.isGeneratorFunction(S)?ee:ee.next().then(function(pe){return pe.done?pe.value:ee.next()})},C(y),u(y,s,"Generator"),u(y,r,function(){return this}),u(y,"toString",function(){return"[object Generator]"}),o.keys=function(w){var S=Object(w),E=[];for(var F in S)E.push(F);return E.reverse(),function M(){for(;E.length;){var ee=E.pop();if(ee in S)return M.value=ee,M.done=!1,M}return M.done=!0,M}},o.values=L,W.prototype={constructor:W,reset:function(w){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Y),!w)for(var S in this)S.charAt(0)==="t"&&t.call(this,S)&&!isNaN(+S.slice(1))&&(this[S]=void 0)},stop:function(){this.done=!0;var w=this.tryEntries[0].completion;if(w.type==="throw")throw w.arg;return this.rval},dispatchException:function(w){if(this.done)throw w;var S=this;function E(Ze,ft){return ee.type="throw",ee.arg=w,S.next=Ze,ft&&(S.method="next",S.arg=void 0),!!ft}for(var F=this.tryEntries.length-1;F>=0;--F){var M=this.tryEntries[F],ee=M.completion;if(M.tryLoc==="root")return E("end");if(M.tryLoc<=this.prev){var pe=t.call(M,"catchLoc"),Ge=t.call(M,"finallyLoc");if(pe&&Ge){if(this.prev<M.catchLoc)return E(M.catchLoc,!0);if(this.prev<M.finallyLoc)return E(M.finallyLoc)}else if(pe){if(this.prev<M.catchLoc)return E(M.catchLoc,!0)}else{if(!Ge)throw new Error("try statement without catch or finally");if(this.prev<M.finallyLoc)return E(M.finallyLoc)}}}},abrupt:function(w,S){for(var E=this.tryEntries.length-1;E>=0;--E){var F=this.tryEntries[E];if(F.tryLoc<=this.prev&&t.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var M=F;break}}M&&(w==="break"||w==="continue")&&M.tryLoc<=S&&S<=M.finallyLoc&&(M=null);var ee=M?M.completion:{};return ee.type=w,ee.arg=S,M?(this.method="next",this.next=M.finallyLoc,_):this.complete(ee)},complete:function(w,S){if(w.type==="throw")throw w.arg;return w.type==="break"||w.type==="continue"?this.next=w.arg:w.type==="return"?(this.rval=this.arg=w.arg,this.method="return",this.next="end"):w.type==="normal"&&S&&(this.next=S),_},finish:function(w){for(var S=this.tryEntries.length-1;S>=0;--S){var E=this.tryEntries[S];if(E.finallyLoc===w)return this.complete(E.completion,E.afterLoc),Y(E),_}},catch:function(w){for(var S=this.tryEntries.length-1;S>=0;--S){var E=this.tryEntries[S];if(E.tryLoc===w){var F=E.completion;if(F.type==="throw"){var M=F.arg;Y(E)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(w,S,E){return this.delegate={iterator:L(w),resultName:S,nextLoc:E},this.method==="next"&&(this.arg=void 0),_}},o}function v6(o,e,t,i,a,r,n){try{var s=o[r](n),u=s.value}catch(c){t(c);return}s.done?e(u):Promise.resolve(u).then(i,a)}function Fd(o){return function(){var e=this,t=arguments;return new Promise(function(i,a){var r=o.apply(e,t);function n(u){v6(r,i,a,n,s,"next",u)}function s(u){v6(r,i,a,n,s,"throw",u)}n(void 0)})}}function E9(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}function vY(o,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(o,P9(i.key),i)}}function D9(o,e,t){return e&&vY(o.prototype,e),Object.defineProperty(o,"prototype",{writable:!1}),o}function Kp(o,e,t){return e=P9(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function mY(o,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&e_(o,e)}function Qh(o){return Qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qh(o)}function e_(o,e){return e_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},e_(o,e)}function R9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zp(o,e,t){return R9()?Zp=Reflect.construct.bind():Zp=function(a,r,n){var s=[null];s.push.apply(s,r);var u=Function.bind.apply(a,s),c=new u;return n&&e_(c,n.prototype),c},Zp.apply(null,arguments)}function fY(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function hf(o){var e=typeof Map=="function"?new Map:void 0;return hf=function(i){if(i===null||!fY(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(i))return e.get(i);e.set(i,a)}function a(){return Zp(i,arguments,Qh(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e_(a,i)},hf(o)}function Jp(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function bY(o,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jp(o)}function xY(o){var e=R9();return function(){var i=Qh(o),a;if(e){var r=Qh(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return bY(this,a)}}function yY(o,e){if(typeof o!="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var i=t.call(o,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}function P9(o){var e=yY(o,"string");return typeof e=="symbol"?e:String(e)}var L9=typeof global<"u"&&{}.toString.call(global)==="[object global]";function m6(o,e){return o.indexOf(e.toLowerCase())===0?o:"".concat(e.toLowerCase()).concat(o.substr(0,1).toUpperCase()).concat(o.substr(1))}function CY(o){return!!(o&&o.nodeType===1&&"nodeName"in o&&o.ownerDocument&&o.ownerDocument.defaultView)}function wY(o){return!isNaN(parseFloat(o))&&isFinite(o)&&Math.floor(o)==o}function xl(o){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(o)}function N9(o){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(o)}function SY(o){for(var e=(o||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),i=[".videoji.hk",".vimeo.work",".videoji.cn"],a=0,r=i;a<r.length;a++){var n=r[a];if(t.endsWith(n))return t}return"vimeo.com"}function M9(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=o.id,t=o.url,i=e||t;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(wY(i))return"https://vimeo.com/".concat(i);if(xl(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var f6=function(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",n=typeof t=="string"?[t]:t;return n.forEach(function(s){e[a](s,i)}),{cancel:function(){return n.forEach(function(u){return e[r](u,i)})}}},kY=typeof Array.prototype.indexOf<"u",TY=typeof window<"u"&&typeof window.postMessage<"u";if(!L9&&(!kY||!TY))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Su=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function IY(o,e){return e={exports:{}},o(e,e.exports),e.exports}/*!
|
|
714
|
+
`;var _c=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};const nY=/youtube-nocookie\.com/,sY=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,dY="https://www.youtube-nocookie.com",lY="https://www.youtube.com/iframe_api",uY="onYouTubeIframeAPIReady",cY=1e3,hY=/[?&#](?:start|t)=([0-9hms]+)/,_Y=/[?&#]end=([0-9hms]+)/,Kg=/(\d+)(h|m|s)/g,pY=/^\d+$/;let os=class extends z{constructor(){super(...arguments),this.source="",this.width="",this.height="",this.aspectRatio="16:9",this.videoDuration=0,this._hasStarted=!1,this._replayPending=!1,this.setupYoutubeAPI=()=>{if(!window.YT){const e=document.createElement("script");e.src=lY;const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}window[uY]=()=>this.onYouTubeIframeAPIReady(),window.YT&&window.YT.Player&&this.onYouTubeIframeAPIReady()},this.onYouTubeIframeAPIReady=()=>{var e;this.youtubePlayer=new YT.Player((e=this.shadowRoot)==null?void 0:e.querySelector("#player"),{height:this.height,width:this.width,videoId:this.videoId,playerVars:{autoplay:this.autoplay?1:0,mute:this.muted?1:0,playsinline:this.playsinline?1:0,origin:window.location.origin,start:this.parseStartTime(this.source),end:this.parseEndTime(this.source)},host:nY.test(this.source)?dY:void 0,events:{onReady:this.onPlayerReady,onStateChange:this.onPlayerStateChange}})},this.onPlayerReady=e=>{this.videoDuration=e.target.getDuration(),this.fireDecoratorEvent("ready")},this.onPlayerStateChange=e=>{const{data:t}=e,{PLAYING:i,PAUSED:a,ENDED:r}=window.YT.PlayerState;t===i?((!this._hasStarted||this._replayPending)&&(this.fireDecoratorEvent("videoStart"),this._hasStarted=!0,this._replayPending=!1),this.checkInterval||(this.checkInterval=window.setInterval(()=>{this.checkVideoProgress()},cY))):this.checkInterval&&(clearInterval(this.checkInterval),this.checkInterval=void 0),t===r&&(this._replayPending=!0,this.fireDecoratorEvent("ended",{ytevent:e})),t===a&&this.fireDecoratorEvent("pause",{ytevent:e})}}get videoId(){if(!this.source)return"";const e=this.source.match(sY);return e?e[1]:""}get url(){return new URL(this.source)}get autoplay(){const e=this.url.searchParams.get("autoplay");return e?parseInt(e):void 0}get muted(){const e=this.url.searchParams.get("mute");return e?parseInt(e):void 0}get playsinline(){const e=this.url.searchParams.get("playsinline");return e?parseInt(e):void 0}checkVideoProgress(){var i;const t=(((i=this.youtubePlayer)==null?void 0:i.getCurrentTime())||0)/this.videoDuration*100;this.fireDecoratorEvent("playing",{percentPlayed:t})}parseTimeParam(e,t){if(e instanceof Array)return;const i=e.match(t);if(i){const a=i[1];if(a.match(Kg))return this.parseTimeString(a);if(pY.test(a))return parseInt(a)}}parseTimeString(e){let t=0,i=Kg.exec(e);for(;i!==null;){const[,a,r]=i;r==="h"&&(t+=parseInt(a)*60*60),r==="m"&&(t+=parseInt(a)*60),r==="s"&&(t+=parseInt(a)),i=Kg.exec(e)}return t}parseStartTime(e){return this.parseTimeParam(e,hY)}parseEndTime(e){return this.parseTimeParam(e,_Y)}onEnterDOM(){this.setupYoutubeAPI()}onExitDOM(){this.checkInterval&&(clearInterval(this.checkInterval),this.checkInterval=void 0)}getPlayer(){return this.youtubePlayer||null}get fluidModeClass(){return this.fluidMode?"udex-media-player__fluid":""}};_c([d({type:String})],os.prototype,"source",void 0);_c([d({type:String})],os.prototype,"width",void 0);_c([d({type:String})],os.prototype,"height",void 0);_c([d()],os.prototype,"aspectRatio",void 0);_c([d({type:Boolean})],os.prototype,"fluidMode",void 0);os=_c([T({tag:"udex-media-player-youtube",renderer:A,styles:[T2,aY],template:rY}),x("videoStart",{bubbles:!0}),x("ready",{bubbles:!0}),x("ended",{bubbles:!0}),x("pause",{bubbles:!0}),x("playing",{bubbles:!0})],os);os.define();const gY=os;/*! @vimeo/player v2.24.0 | (c) 2024 Vimeo | MIT License | https://github.com/vimeo/player.js */function p6(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),t.push.apply(t,i)}return t}function g6(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?p6(Object(t),!0).forEach(function(i){Kp(o,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):p6(Object(t)).forEach(function(i){Object.defineProperty(o,i,Object.getOwnPropertyDescriptor(t,i))})}return o}function Oi(){Oi=function(){return o};var o={},e=Object.prototype,t=e.hasOwnProperty,i=Object.defineProperty||function(w,S,E){w[S]=E.value},a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",n=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(w,S,E){return Object.defineProperty(w,S,{value:E,enumerable:!0,configurable:!0,writable:!0}),w[S]}try{u({},"")}catch{u=function(S,E,F){return S[E]=F}}function c(w,S,E,F){var M=S&&S.prototype instanceof f?S:f,ee=Object.create(M.prototype),pe=new W(F||[]);return i(ee,"_invoke",{value:G(w,E,pe)}),ee}function p(w,S,E){try{return{type:"normal",arg:w.call(S,E)}}catch(F){return{type:"throw",arg:F}}}o.wrap=c;var _={};function f(){}function b(){}function k(){}var $={};u($,r,function(){return this});var H=Object.getPrototypeOf,X=H&&H(H(L([])));X&&X!==e&&t.call(X,r)&&($=X);var y=k.prototype=f.prototype=Object.create($);function C(w){["next","throw","return"].forEach(function(S){u(w,S,function(E){return this._invoke(S,E)})})}function h(w,S){function E(M,ee,pe,Ge){var Ze=p(w[M],w,ee);if(Ze.type!=="throw"){var bt=Ze.arg,le=bt.value;return le&&typeof le=="object"&&t.call(le,"__await")?S.resolve(le.__await).then(function(ht){E("next",ht,pe,Ge)},function(ht){E("throw",ht,pe,Ge)}):S.resolve(le).then(function(ht){bt.value=ht,pe(bt)},function(ht){return E("throw",ht,pe,Ge)})}Ge(Ze.arg)}var F;i(this,"_invoke",{value:function(M,ee){function pe(){return new S(function(Ge,Ze){E(M,ee,Ge,Ze)})}return F=F?F.then(pe,pe):pe()}})}function G(w,S,E){var F="suspendedStart";return function(M,ee){if(F==="executing")throw new Error("Generator is already running");if(F==="completed"){if(M==="throw")throw ee;return N()}for(E.method=M,E.arg=ee;;){var pe=E.delegate;if(pe){var Ge=Z(pe,E);if(Ge){if(Ge===_)continue;return Ge}}if(E.method==="next")E.sent=E._sent=E.arg;else if(E.method==="throw"){if(F==="suspendedStart")throw F="completed",E.arg;E.dispatchException(E.arg)}else E.method==="return"&&E.abrupt("return",E.arg);F="executing";var Ze=p(w,S,E);if(Ze.type==="normal"){if(F=E.done?"completed":"suspendedYield",Ze.arg===_)continue;return{value:Ze.arg,done:E.done}}Ze.type==="throw"&&(F="completed",E.method="throw",E.arg=Ze.arg)}}}function Z(w,S){var E=S.method,F=w.iterator[E];if(F===void 0)return S.delegate=null,E==="throw"&&w.iterator.return&&(S.method="return",S.arg=void 0,Z(w,S),S.method==="throw")||E!=="return"&&(S.method="throw",S.arg=new TypeError("The iterator does not provide a '"+E+"' method")),_;var M=p(F,w.iterator,S.arg);if(M.type==="throw")return S.method="throw",S.arg=M.arg,S.delegate=null,_;var ee=M.arg;return ee?ee.done?(S[w.resultName]=ee.value,S.next=w.nextLoc,S.method!=="return"&&(S.method="next",S.arg=void 0),S.delegate=null,_):ee:(S.method="throw",S.arg=new TypeError("iterator result is not an object"),S.delegate=null,_)}function re(w){var S={tryLoc:w[0]};1 in w&&(S.catchLoc=w[1]),2 in w&&(S.finallyLoc=w[2],S.afterLoc=w[3]),this.tryEntries.push(S)}function Y(w){var S=w.completion||{};S.type="normal",delete S.arg,w.completion=S}function W(w){this.tryEntries=[{tryLoc:"root"}],w.forEach(re,this),this.reset(!0)}function L(w){if(w){var S=w[r];if(S)return S.call(w);if(typeof w.next=="function")return w;if(!isNaN(w.length)){var E=-1,F=function M(){for(;++E<w.length;)if(t.call(w,E))return M.value=w[E],M.done=!1,M;return M.value=void 0,M.done=!0,M};return F.next=F}}return{next:N}}function N(){return{value:void 0,done:!0}}return b.prototype=k,i(y,"constructor",{value:k,configurable:!0}),i(k,"constructor",{value:b,configurable:!0}),b.displayName=u(k,s,"GeneratorFunction"),o.isGeneratorFunction=function(w){var S=typeof w=="function"&&w.constructor;return!!S&&(S===b||(S.displayName||S.name)==="GeneratorFunction")},o.mark=function(w){return Object.setPrototypeOf?Object.setPrototypeOf(w,k):(w.__proto__=k,u(w,s,"GeneratorFunction")),w.prototype=Object.create(y),w},o.awrap=function(w){return{__await:w}},C(h.prototype),u(h.prototype,n,function(){return this}),o.AsyncIterator=h,o.async=function(w,S,E,F,M){M===void 0&&(M=Promise);var ee=new h(c(w,S,E,F),M);return o.isGeneratorFunction(S)?ee:ee.next().then(function(pe){return pe.done?pe.value:ee.next()})},C(y),u(y,s,"Generator"),u(y,r,function(){return this}),u(y,"toString",function(){return"[object Generator]"}),o.keys=function(w){var S=Object(w),E=[];for(var F in S)E.push(F);return E.reverse(),function M(){for(;E.length;){var ee=E.pop();if(ee in S)return M.value=ee,M.done=!1,M}return M.done=!0,M}},o.values=L,W.prototype={constructor:W,reset:function(w){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(Y),!w)for(var S in this)S.charAt(0)==="t"&&t.call(this,S)&&!isNaN(+S.slice(1))&&(this[S]=void 0)},stop:function(){this.done=!0;var w=this.tryEntries[0].completion;if(w.type==="throw")throw w.arg;return this.rval},dispatchException:function(w){if(this.done)throw w;var S=this;function E(Ze,bt){return ee.type="throw",ee.arg=w,S.next=Ze,bt&&(S.method="next",S.arg=void 0),!!bt}for(var F=this.tryEntries.length-1;F>=0;--F){var M=this.tryEntries[F],ee=M.completion;if(M.tryLoc==="root")return E("end");if(M.tryLoc<=this.prev){var pe=t.call(M,"catchLoc"),Ge=t.call(M,"finallyLoc");if(pe&&Ge){if(this.prev<M.catchLoc)return E(M.catchLoc,!0);if(this.prev<M.finallyLoc)return E(M.finallyLoc)}else if(pe){if(this.prev<M.catchLoc)return E(M.catchLoc,!0)}else{if(!Ge)throw new Error("try statement without catch or finally");if(this.prev<M.finallyLoc)return E(M.finallyLoc)}}}},abrupt:function(w,S){for(var E=this.tryEntries.length-1;E>=0;--E){var F=this.tryEntries[E];if(F.tryLoc<=this.prev&&t.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var M=F;break}}M&&(w==="break"||w==="continue")&&M.tryLoc<=S&&S<=M.finallyLoc&&(M=null);var ee=M?M.completion:{};return ee.type=w,ee.arg=S,M?(this.method="next",this.next=M.finallyLoc,_):this.complete(ee)},complete:function(w,S){if(w.type==="throw")throw w.arg;return w.type==="break"||w.type==="continue"?this.next=w.arg:w.type==="return"?(this.rval=this.arg=w.arg,this.method="return",this.next="end"):w.type==="normal"&&S&&(this.next=S),_},finish:function(w){for(var S=this.tryEntries.length-1;S>=0;--S){var E=this.tryEntries[S];if(E.finallyLoc===w)return this.complete(E.completion,E.afterLoc),Y(E),_}},catch:function(w){for(var S=this.tryEntries.length-1;S>=0;--S){var E=this.tryEntries[S];if(E.tryLoc===w){var F=E.completion;if(F.type==="throw"){var M=F.arg;Y(E)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(w,S,E){return this.delegate={iterator:L(w),resultName:S,nextLoc:E},this.method==="next"&&(this.arg=void 0),_}},o}function v6(o,e,t,i,a,r,n){try{var s=o[r](n),u=s.value}catch(c){t(c);return}s.done?e(u):Promise.resolve(u).then(i,a)}function Fd(o){return function(){var e=this,t=arguments;return new Promise(function(i,a){var r=o.apply(e,t);function n(u){v6(r,i,a,n,s,"next",u)}function s(u){v6(r,i,a,n,s,"throw",u)}n(void 0)})}}function E9(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}function vY(o,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(o,P9(i.key),i)}}function D9(o,e,t){return e&&vY(o.prototype,e),Object.defineProperty(o,"prototype",{writable:!1}),o}function Kp(o,e,t){return e=P9(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function mY(o,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&e_(o,e)}function Qh(o){return Qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qh(o)}function e_(o,e){return e_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},e_(o,e)}function R9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zp(o,e,t){return R9()?Zp=Reflect.construct.bind():Zp=function(a,r,n){var s=[null];s.push.apply(s,r);var u=Function.bind.apply(a,s),c=new u;return n&&e_(c,n.prototype),c},Zp.apply(null,arguments)}function fY(o){return Function.toString.call(o).indexOf("[native code]")!==-1}function hf(o){var e=typeof Map=="function"?new Map:void 0;return hf=function(i){if(i===null||!fY(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(i))return e.get(i);e.set(i,a)}function a(){return Zp(i,arguments,Qh(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e_(a,i)},hf(o)}function Jp(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function bY(o,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jp(o)}function xY(o){var e=R9();return function(){var i=Qh(o),a;if(e){var r=Qh(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return bY(this,a)}}function yY(o,e){if(typeof o!="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var i=t.call(o,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}function P9(o){var e=yY(o,"string");return typeof e=="symbol"?e:String(e)}var L9=typeof global<"u"&&{}.toString.call(global)==="[object global]";function m6(o,e){return o.indexOf(e.toLowerCase())===0?o:"".concat(e.toLowerCase()).concat(o.substr(0,1).toUpperCase()).concat(o.substr(1))}function CY(o){return!!(o&&o.nodeType===1&&"nodeName"in o&&o.ownerDocument&&o.ownerDocument.defaultView)}function wY(o){return!isNaN(parseFloat(o))&&isFinite(o)&&Math.floor(o)==o}function xl(o){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(o)}function N9(o){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(o)}function SY(o){for(var e=(o||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),i=[".videoji.hk",".vimeo.work",".videoji.cn"],a=0,r=i;a<r.length;a++){var n=r[a];if(t.endsWith(n))return t}return"vimeo.com"}function M9(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=o.id,t=o.url,i=e||t;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(wY(i))return"https://vimeo.com/".concat(i);if(xl(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var f6=function(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",n=typeof t=="string"?[t]:t;return n.forEach(function(s){e[a](s,i)}),{cancel:function(){return n.forEach(function(u){return e[r](u,i)})}}},kY=typeof Array.prototype.indexOf<"u",TY=typeof window<"u"&&typeof window.postMessage<"u";if(!L9&&(!kY||!TY))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Su=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function IY(o,e){return e={exports:{}},o(e,e.exports),e.exports}/*!
|
|
715
715
|
* weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
|
|
716
716
|
* https://github.com/polygonplanet/weakmap-polyfill
|
|
717
717
|
* Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
@@ -728,7 +728,7 @@ or import '@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css'`)};doc
|
|
|
728
728
|
${this.pageAccessibleName} ${e+1} ${B(qo,lh)} ${this.pages}`}onPageClick(e){e.preventDefault();const t=e.target,i=t!==e.currentTarget?t.parentNode:t;i.getAttribute("active")===null&&(this.setActive(i),this.emitChangeEvent())}emitChangeEvent(){this.fireDecoratorEvent("change",{currentPage:this.currentPageIndex+1})}focusActivePage(){var t;const e=(t=this.shadowRoot)==null?void 0:t.querySelector(`.udex-pagination__page[data-index="${this.currentPageIndex}"]`);e==null||e.focus()}focusActiveArrow(){var t,i,a;const e=(t=this.shadowRoot)==null?void 0:t.querySelector(`.udex-pagination__arrow--${this.currentPageIndex===0?"next":"prev"}`);(a=(i=e==null?void 0:e.shadowRoot)==null?void 0:i.querySelector("button"))==null||a.focus()}onAfterRendering(){var i;if(this._pageFocusedManually&&(this._pageFocusedManually=!1,this.focusActivePage()),this.type===vu.full)return;const e=(i=this.shadowRoot)==null?void 0:i.querySelector(".udex-pagination__item--short");if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("direction");t?this._direction=t:this._direction="ltr"}};Tn([d({type:Number})],Gr.prototype,"pages",void 0);Tn([d()],Gr.prototype,"type",void 0);Tn([d()],Gr.prototype,"display",void 0);Tn([d({type:Number})],Gr.prototype,"currentPageIndex",void 0);Tn([d({type:String})],Gr.prototype,"_direction",void 0);Tn([d({noAttribute:!0})],Gr.prototype,"_effectiveDisplay",void 0);Tn([d({type:Boolean})],Gr.prototype,"_nextButtonPseudoDisabled",void 0);Tn([d({type:Boolean})],Gr.prototype,"_prevButtonPseudoDisabled",void 0);Tn([V("@sapudex/web-components")],Gr,"i18nBundle",void 0);Gr=qo=Tn([T({tag:"udex-pagination",renderer:A,styles:TK,template:wK,dependencies:[me]}),x("change",{bubbles:!0})],Gr);Gr.define();const IK="hide",BK="M.719 0 16 15.313l-.688.687L0 .719.719 0ZM5.53 3.406a11.15 11.15 0 0 1 1.235-.297A6.976 6.976 0 0 1 8 3a8.776 8.776 0 0 1 4.453 1.25c.698.417 1.354.932 1.969 1.547A8.885 8.885 0 0 1 16 7.969a9.25 9.25 0 0 1-1.219 1.781c-.458.52-.958.99-1.5 1.406l-.719-.719a11.21 11.21 0 0 0 1.25-1.109c.396-.406.74-.86 1.032-1.36-.771-1.25-1.76-2.223-2.969-2.921A7.622 7.622 0 0 0 8 4c-.292 0-.573.02-.844.063-.27.041-.541.093-.812.156l-.813-.813ZM2.72 4.844l.719.718C2.562 6.188 1.802 7 1.155 8c.792 1.25 1.782 2.23 2.969 2.938A7.373 7.373 0 0 0 7.969 12a5.7 5.7 0 0 0 .86-.063c.28-.041.556-.093.827-.156l.813.813a11.13 11.13 0 0 1-1.235.297A7.051 7.051 0 0 1 8 13h-.031c-.75 0-1.5-.104-2.25-.313a8.838 8.838 0 0 1-2.172-.937 9.466 9.466 0 0 1-1.953-1.563A10.191 10.191 0 0 1 0 8c.73-1.292 1.635-2.344 2.719-3.156ZM5.125 7.25l3.656 3.656A3.21 3.21 0 0 1 8 11a2.893 2.893 0 0 1-2.125-.875A2.893 2.893 0 0 1 5 8c0-.354.042-.604.125-.75ZM7.25 5.125C7.396 5.042 7.646 5 8 5c.833 0 1.542.292 2.125.875S11 7.167 11 8c0 .27-.031.531-.094.781L9.562 7.47c.292-.167.438-.396.438-.688a.761.761 0 0 0-.219-.562A.723.723 0 0 0 9.25 6c-.292 0-.52.146-.688.438L7.25 5.125Z",AK=!1,EK=d8,DK="0 0 16 16",RK="SAP-icons-v4",PK="@ui5/webcomponents-icons";U(IK,{pathData:BK,ltr:AK,viewBox:DK,accData:EK,collection:RK,packageName:PK});const LK="hide",NK="M.22.22a.75.75 0 0 1 1.06 0l14.5 14.5a.75.75 0 1 1-1.06 1.06l-3.025-3.024C10.656 13.372 9.438 14 8 14 4.737 14 2.105 11.866.1 8.373a.75.75 0 0 1 .033-.799c1.19-1.725 2.154-2.8 2.917-3.464L.22 1.28a.75.75 0 0 1 0-1.06Zm3.893 4.954c-.589.497-1.406 1.367-2.469 2.86C3.468 11.025 5.61 12.5 8 12.5c.899 0 1.718-.348 2.597-.843l-1.074-1.073a3 3 0 0 1-4.106-4.106L4.113 5.174ZM8 2c3.288 0 5.868 1.975 7.905 5.635a.752.752 0 0 1-.018.762c-.648 1.039-1.155 1.836-1.556 2.328a.75.75 0 0 1-1.162-.95c.286-.35.666-.933 1.204-1.79C12.536 4.861 10.443 3.5 8 3.5c-.493 0-1.246.041-1.612.11a.75.75 0 0 1-.276-1.475C6.617 2.04 7.482 2 8 2ZM6.552 7.612c-.286 1.07.743 2.125 1.835 1.835L6.552 7.612Z",MK=!1,OK=d8,FK="0 0 16 16",zK="SAP-icons-v5",$K="@ui5/webcomponents-icons";U(LK,{pathData:NK,ltr:MK,viewBox:FK,accData:OK,collection:zK,packageName:$K});const HK="show",XK="M8 3a8.776 8.776 0 0 1 4.453 1.25 9.738 9.738 0 0 1 1.953 1.547A9.835 9.835 0 0 1 16 7.969a10.19 10.19 0 0 1-1.594 2.187 9.917 9.917 0 0 1-1.953 1.578A8.545 8.545 0 0 1 8 13h-.031a8.774 8.774 0 0 1-4.453-1.25A9.428 9.428 0 0 1 0 8a10.19 10.19 0 0 1 1.594-2.187A9.28 9.28 0 0 1 3.562 4.25a9.118 9.118 0 0 1 2.188-.938C6.5 3.104 7.25 3 8 3Zm-.031 9c1.375 0 2.666-.36 3.875-1.078 1.208-.719 2.208-1.703 3-2.953-.771-1.25-1.76-2.224-2.969-2.922A7.622 7.622 0 0 0 8 4a7.537 7.537 0 0 0-3.875 1.063C2.917 5.77 1.927 6.75 1.156 8c.771 1.25 1.755 2.23 2.953 2.938A7.455 7.455 0 0 0 7.97 12ZM8 5c.833 0 1.542.292 2.125.875S11 7.167 11 8s-.292 1.542-.875 2.125A2.893 2.893 0 0 1 8 11a2.893 2.893 0 0 1-2.125-.875A2.893 2.893 0 0 1 5 8c0-.833.292-1.542.875-2.125A2.893 2.893 0 0 1 8 5Zm1.219 2.531a.764.764 0 0 0 .562-.218A.723.723 0 0 0 10 6.78a.761.761 0 0 0-.219-.562A.761.761 0 0 0 9.22 6a.723.723 0 0 0-.531.219.761.761 0 0 0-.22.562c0 .209.074.386.22.532a.723.723 0 0 0 .53.218Z",UK=!1,jK=h8,VK="0 0 16 16",GK="SAP-icons-v4",WK="@ui5/webcomponents-icons";U(HK,{pathData:XK,ltr:UK,viewBox:VK,accData:jK,collection:GK,packageName:WK});const qK="show",YK="M8.004 2c3.12 0 5.67 2.323 7.35 4.754.178.259.646.908.646 1.25 0 .341-.468.983-.646 1.242-1.68 2.43-4.23 4.754-7.35 4.754-3.12 0-5.67-2.323-7.35-4.754C.477 8.988 0 8.324 0 7.996c0-.331.476-.984.655-1.242C2.334 4.324 4.884 2 8.005 2Zm0 1.5c-1.87 0-3.5 1.136-4.719 2.396C2.686 6.516 1.628 8 1.628 8s1.058 1.484 1.657 2.104c1.219 1.26 2.848 2.396 4.72 2.396 1.87 0 3.5-1.136 4.718-2.396C13.68 9.045 14.38 8 14.38 8s-.564-.938-1.656-2.104C11.504 4.636 9.875 3.5 8.004 3.5Zm0 1.5a3.001 3.001 0 1 1 .001 6.002 3.001 3.001 0 0 1 0-6.002Zm0 1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",KK=!1,ZK=h8,JK="0 0 16 16",QK="SAP-icons-v5",eZ="@ui5/webcomponents-icons";U(qK,{pathData:YK,ltr:KK,viewBox:JK,accData:ZK,collection:QK,packageName:eZ});function tZ(){return l(P,{children:l(F_,{type:this.type,value:this.value,label:this.passwordLabel,autocomplete:this.autocomplete,disabled:this.disabled,readonly:this.readonly,displayonly:this.displayonly,maxlength:this.maxlength,"value-state":this.valueState,"supporting-text":this.supportingText,"accessible-name":this.accessibleName,"accessible-name-ref":this.accessibleNameRef,"accessible-icon-name":this.activeButtonTooltip,"button-tooltip":this.activeButtonTooltip,"onui5-input":this.handleInput,"onui5-change":this.handleChange,"onui5-blur":this.handleBlur,"onui5-keydown":this.handleKeydown,"onui5-click-icon":this.handleShowPassword,icon:this.iconButton})})}var yo=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Qp,_h;(function(o){o.Password="Password",o.Text="Text"})(_h||(_h={}));var ph;(function(o){o.Hide="hide",o.Show="show"})(ph||(ph={}));var b6;(function(o){o.On="on",o.Off="off",o.NewPassword="new-password",o.CurrentPassword="current-password"})(b6||(b6={}));let Zt=Qp=class extends z{constructor(){super(...arguments),this.type=_h.Password,this.autocomplete="off",this.valueState=St.Standard,this.passwordVisible=!1,this.icon=ph.Show,this.handleInput=e=>{this.value=e.target.value,this.fireDecoratorEvent("input")},this.handleChange=e=>{this.fireDecoratorEvent("change",{originalEvent:e.detail.originalEvent})},this.handleBlur=e=>{this.fireDecoratorEvent("blur",{originalEvent:e.detail.originalEvent})},this.handleKeydown=e=>{this.fireDecoratorEvent("keydown",{keyboardEvent:e.detail.keyboardEvent})}}onBeforeRendering(){this.type=this.passwordVisible?_h.Text:_h.Password,this.icon=this.passwordVisible?ph.Hide:ph.Show}handleShowPassword(){this.passwordVisible=!this.passwordVisible,this.fireDecoratorEvent("click-icon")}get passwordLabel(){return`${this.label} ${this.showAsterisk?"*":""}`}get renderShowButton(){return!this.disabled&&!this.readonly&&!this.displayonly&&this.showButtonEnabled}get iconButton(){return this.renderShowButton?this.icon:void 0}get activeButtonTooltip(){return this.passwordVisible?this.hideButtonTooltipText:this.showButtonTooltipText}get hideButtonTooltipText(){return this.hideButtonTooltip||B(Qp,WE)}get showButtonTooltipText(){return this.showButtonTooltip||B(Qp,GE)}};yo([d({type:String,noAttribute:!0})],Zt.prototype,"type",void 0);yo([d({type:String})],Zt.prototype,"autocomplete",void 0);yo([d({type:Boolean})],Zt.prototype,"disabled",void 0);yo([d({type:String})],Zt.prototype,"value",void 0);yo([d({type:Number})],Zt.prototype,"maxlength",void 0);yo([d({type:String})],Zt.prototype,"label",void 0);yo([d({type:Boolean})],Zt.prototype,"showAsterisk",void 0);yo([d()],Zt.prototype,"valueState",void 0);yo([d({type:String})],Zt.prototype,"supportingText",void 0);yo([d({type:Boolean})],Zt.prototype,"showButtonEnabled",void 0);yo([d({type:Boolean})],Zt.prototype,"passwordVisible",void 0);yo([d({type:String,noAttribute:!0})],Zt.prototype,"icon",void 0);yo([d({type:String})],Zt.prototype,"showButtonTooltip",void 0);yo([d({type:String})],Zt.prototype,"hideButtonTooltip",void 0);yo([d({type:Boolean})],Zt.prototype,"readonly",void 0);yo([d({type:Boolean})],Zt.prototype,"displayonly",void 0);yo([d({type:String})],Zt.prototype,"accessibleName",void 0);yo([d({type:String})],Zt.prototype,"accessibleNameRef",void 0);yo([V("@sapudex/web-components")],Zt,"i18nBundle",void 0);Zt=Qp=yo([T({tag:"udex-password-field",renderer:A,template:tZ,dependencies:[F_]}),x("input",{bubbles:!0}),x("change",{bubbles:!0}),x("blur",{bubbles:!0}),x("click-icon",{bubbles:!0}),x("keydown",{bubbles:!0})],Zt);Zt.define();const oZ="slim-arrow-up",iZ="M2.87 10.822c-.228.237-.466.237-.715 0A.445.445 0 0 1 2 10.495c0-.119.052-.228.155-.327l5.13-4.9C7.492 5.088 7.731 5 8 5c.27 0 .497.09.684.267l5.16 4.901a.46.46 0 0 1 .156.342.46.46 0 0 1-.155.341.503.503 0 0 1-.716 0L8.155 6.1c-.103-.119-.217-.119-.342 0L2.87 10.822Z",rZ=!1,aZ="0 0 16 16",nZ="SAP-icons-v4",sZ="@ui5/webcomponents-icons";U(oZ,{pathData:iZ,ltr:rZ,viewBox:aZ,collection:nZ,packageName:sZ});const dZ="slim-arrow-up",lZ="M12.83 9.727a.75.75 0 0 0-.104-1.056L8.48 5.17a.75.75 0 0 0-.954 0l-4.252 3.5a.75.75 0 0 0 .954 1.158l3.775-3.107 3.771 3.107a.75.75 0 0 0 1.056-.102Z",uZ=!1,cZ="0 0 16 16",hZ="SAP-icons-v5",_Z="@ui5/webcomponents-icons";U(dZ,{pathData:lZ,ltr:uZ,viewBox:cZ,collection:hZ,packageName:_Z});function pZ(){return g(P,{children:[g("div",{class:"udex-phone-number-field","onui5-selection-change":this.handleSelect,children:[this.label&&g("label",{id:"udex-phone-number-field__label",class:"udex-phone-number-field__label",htmlFor:`${this._id}-phone`,children:[this.label,this.required&&" *"]}),l(nc,{class:"udex-phone-number-field__dropdown",opener:`udex-${this._id}-phone-number__opener`,id:`${this._id}_dropdown-menu`,"onui5-before-open":this.dropdownBeforeOpen,"onui5-before-close":this.dropdownBeforeClose,horizontalAlign:"Start",height:this.height,children:l(gd,{children:this.countriesList.map(o=>l(za,{id:o.iso,selected:o.selected,children:g("div",{class:"udex-phone-number-field__dropdown-list-item",children:[l("div",{class:"udex-phone-number-field__flag",style:{backgroundPositionX:o.flagX,backgroundPositionY:o.flagY}}),g("span",{class:"udex-phone-number-field__country-name",children:[o.countryName,o.localName&&` (${o.localName})`," ",o.phonePrefix]})]})}))})}),g("div",{class:"udex-phone-number-field__input-wrapper",children:[!this.displayonly&&g(me,{id:`udex-${this._id}-phone-number__opener`,class:"udex-phone-number-field__open-button",role:"combobox","aria-haspopup":"true",design:ve.Tertiary,size:ye.Large,endIcon:this.buttonIcon,disabled:this.isButtonDisabled,accessibleNameRef:`${this._id}-countrySelectorAriaLabel ${this.ariaDescribedById}`,"aria-label":this.countrySelectorAriaLabel,"aria-expanded":this._dropdownExpanded,"aria-controls":`${this._id}_dropdown-menu`,onClick:this.openDropdown,children:[g("div",{class:"udex-phone-number-field__open-button-text",children:[this.selectedCountryName," ",this.selectedPhonePrefix]}),l("div",{class:"udex-phone-number-field__button-content",children:l("span",{class:"udex-phone-number-field__flag","aria-label":this.selectedCountryName,style:{backgroundPositionX:this.selectedFlagBackgroundPosition.x,backgroundPositionY:this.selectedFlagBackgroundPosition.y}})})]}),l("input",{id:`${this._id}-phone`,class:"udex-phone-number-field__input",type:"tel",value:this.value,placeholder:this.phoneFormat,maxLength:this.maxlength,disabled:this.disabled,readonly:this.isInputReadonly,required:this.required,autoComplete:"tel","aria-label":this.accessibleName,"aria-labelledby":this.accessibleName,"aria-required":this.required,"aria-readonly":this.isInputReadonly,"aria-disabled":this.disabled,"aria-invalid":this.ariaInvalid??void 0,"aria-describedby":this.ariaDescribedById,onInput:this.handleInput,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,tabIndex:this.inputTabIndex})]})]}),this.supportingText&&l(yn,{disabled:this.disabled,supportingText:this.supportingText,valueState:this.valueState}),this.supportingText&&l("span",{id:`${this._id}-supportingTextDesc`,class:"hidden-text",children:this.supportingText}),this.hasValueState&&l("span",{id:`${this._id}-valueStateDesc`,class:"hidden-text",children:this.valueStateText}),this.readonly&&l("span",{id:`${this._id}-stateReadOnlyDesc`,class:"hidden-text",children:this.readOnlyStateText}),l("span",{id:`${this._id}-countrySelectorAriaLabel`,class:"hidden-text",children:this.countrySelectorAriaLabel})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const gZ=`:host{--udex-phone-number-field-color-standard-default-background: var(--sapField_Background, #fff);--udex-phone-number-field-color-standard-default-border: var(--sapField_BorderColor, #5b738b);--udex-phone-number-field-color-standard-default-text: var(--sapField_TextColor, #223548);--udex-phone-number-field-color-standard-default-icon: var(--sapField_PlaceholderTextColor, #475e75);--udex-phone-number-field-color-standard-default-placeholder: var(--sapField_PlaceholderTextColor, #475e75);--udex-phone-number-field-color-standard-default-label: var(--sapField_PlaceholderTextColor, #475e75);--udex-phone-number-field-color-standard-default-control-button-border: var(--udexColorBlue4, #89d1ff);--udex-phone-number-field-color-standard-hover-border: var(--sapField_Hover_BorderColor, #1b90ff);--udex-phone-number-field-color-standard-active-border: var(--sapField_Active_BorderColor, #0040b0);--udex-phone-number-field-color-standard-active-icon: var(--sapSelectedColor, #0040b0);--udex-phone-number-field-color-error-default-background: var(--sapField_InvalidBackground, #fff);--udex-phone-number-field-color-error-default-border: var(--udexColorRed6, #ee3939);--udex-phone-number-field-color-error-default-control-button-border: var(--udexColorRed4, #ff8cb2);--udex-phone-number-field-color-error-hover-border: var(--sapField_InvalidColor, #d20a0a);--udex-phone-number-field-color-error-active-border: var(--udexColorRed9, #840606);--udex-phone-number-field-color-error-active-icon: var(--udexColorRed9, #840606);--udex-phone-number-field-color-success-default-background: var(--sapField_SuccessBackground, #fff);--udex-phone-number-field-color-success-default-border: var(--udexColorGreen6, #36a41d);--udex-phone-number-field-color-success-default-control-button-border: var(--udexColorGreen6, #36a41d);--udex-phone-number-field-color-success-hover-border: var(--sapField_SuccessColor, #188918);--udex-phone-number-field-color-success-active-border: var(--sapSuccessColor, #1e592f);--udex-phone-number-field-color-success-active-icon: var(--sapSuccessColor, #1e592f);--udex-phone-number-field-color-disabled-default-background: var(--sapField_Background, #fff);--udex-phone-number-field-color-disabled-default-border: var(--sapNeutralElementColor, #5b738b);--udex-phone-number-field-color-readonly-default-background: var(--sapField_ReadOnly_Background, #eaecee);--udex-phone-number-field-color-readonly-default-border: var(--sapNeutralElementColor, #5b738b);--udex-phone-number-field-lable-font-size: var(--sapFontSmallSize, 12px);--udex-phone-number-field-color-label-background: var(--sapField_Background, #fff);--udex-phone-number-field-height: 42px;--udex-phone-number-field-paddings: 9px var(--udexSpacer12, 12px);--udex-phone-number-field-button-margins-vertical: -10px;--udex-phone-number-field-button-margins-horizontal: -12px 8px;--udex-phone-number-field-radius: var(--udexRadiusXS, 4px);--udex-phone-number-field-flag-background: var(--udexColorGrey4, #A9B4BE);--udex-phone-number-field-flag-width: 30px;--udex-phone-number-field-flag-height: 20px;--udex-phone-number-field-button-border: var(--udexColorGrey4, #A9B4BE);--udex-phone-number-field-button-color-tertiary-standard-hover-border: var(--udexColorGrey4, #A9B4BE);--udex-phone-number-field-max-width: 100%;--udex-phone-number-field-flag-border-color: var(--udexColorGrey2, #EAECEE);display:block;font-family:var(--sapFontFamily, sans-serif);font-size:var(--sapFontSize, 16px);color:var(--udex-phone-number-field-color-standard-default-text)}.udex-phone-number-field{position:relative;padding:var(--udex-phone-number-field-paddings);height:var(--udex-phone-number-field-height);box-sizing:border-box;background:var(--udex-phone-number-field-color-standard-default-background);border-radius:var(--udex-phone-number-field-radius);border:1px solid var(--udex-phone-number-field-color-standard-default-border);max-width:var(--udex-phone-number-field-max-width);width:100%}:host(:not([_is-touched])[active]) .udex-phone-number-field:before{content:"";position:absolute;z-index:var(--udexZIndexNegative, -1);inset:-5px;border:2px solid var(--udexColorBlue10);border-radius:var(--udexRadiusS, 6px)}.udex-phone-number-field__label{position:absolute;margin-inline-start:-3px;padding:0 var(--udexSpacer4, 4px);color:var(--udex-phone-number-field-color-standard-default-label);top:-12px;font-size:var(--udex-phone-number-field-lable-font-size);font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:1.5;z-index:2;background:linear-gradient(var(--udex-phone-number-field-color-label-background) 60%,var(--udex-phone-number-field-color-standard-default-background) 60%)}.udex-phone-number-field__button-content{display:flex;align-items:center;font-size:var(--sapFontSize, 16px);font-weight:400}.udex-phone-number-field__open-button::part(icon){margin-inline-start:var(--udexSpacer8, 8px)}.udex-phone-number-field__input-wrapper{display:flex;max-height:22px}.udex-phone-number-field__open-button{--udex-button-padding-large: 12px;--udex-button-color-tertiary-standard-default-text-and-icon: var(--udex-phone-number-field-color-standard-default-icon);--udex-button-color-tertiary-standard-hover-text-and-icon: var(--udex-phone-number-field-color-standard-default-icon);--udex-button-color-tertiary-standard-hover-background: transparent;--udex-button-color-tertiary-standard-hover-border: var(--udex-phone-number-field-button-border);--udex-button-color-tertiary-standard-active-text-and-icon: var(--udex-phone-number-field-color-standard-active-icon);--udex-button-color-tertiary-standard-active-border: transparent;--udex-button-color-tertiary-standard-active-background: transparent;--udex-button-icon-text-spacing-large-size: 0;min-width:fit-content;margin-block:var(--udex-phone-number-field-button-margins-vertical);margin-inline:var(--udex-phone-number-field-button-margins-horizontal);border-radius:var(--udex-phone-number-field-radius);border-right:1px solid transparent;padding:var(--udexSpacer2, 2px) 0;z-index:3}.udex-phone-number-field__open-button[focused]:not([active])::part(button):after,.udex-phone-number-field__open-button[focused][active]::part(button):before{inset:3px;border-radius:var(--udexRadiusXS, 4px)}.udex-phone-number-field__open-button::part(button){padding:11px}:host([value-state="Success"]) .udex-phone-number-field__open-button{--udex-button-color-tertiary-standard-active-text-and-icon: var(--udex-phone-number-field-color-success-active-icon);--udex-button-color-tertiary-standard-active-border: transparent;--udex-button-color-tertiary-standard-active-background: transparent}:host([value-state="Error"]) .udex-phone-number-field__open-button{--udex-button-color-tertiary-standard-active-text-and-icon: var(--udex-phone-number-field-color-error-active-icon);--udex-button-color-tertiary-standard-active-border: transparent}.udex-phone-number-field__dropdown[open]+.udex-phone-number-field__input-wrapper .udex-phone-number-field__open-button{--udex-button-color-tertiary-standard-default-text-and-icon: var(--udex-phone-number-field-color-standard-active-icon);--udex-button-color-tertiary-standard-hover-text-and-icon: var(--udex-phone-number-field-color-standard-active-icon);--udex-button-color-tertiary-standard-active-text-and-icon: var(--udex-phone-number-field-color-standard-active-icon);--udex-button-color-tertiary-standard-hover-border: transparent;--udex-button-color-tertiary-standard-default-border: transparent;--udex-button-color-tertiary-standard-active-border: transparent;border-right:1px solid var(--udex-phone-number-field-color-standard-default-control-button-border)}.udex-phone-number-field__dropdown[open]+.udex-phone-number-field__input-wrapper .udex-phone-number-field__open-button:dir(rtl){border-right:transparent;border-left:1px solid var(--udex-phone-number-field-color-standard-default-control-button-border)}:host([value-state="Success"]) .udex-phone-number-field__dropdown[open]+.udex-phone-number-field__input-wrapper .udex-phone-number-field__open-button{--udex-button-color-tertiary-standard-default-text-and-icon: var(--udex-phone-number-field-color-success-active-icon);--udex-button-color-tertiary-standard-hover-text-and-icon: var(--udex-phone-number-field-color-success-active-icon);--udex-button-color-tertiary-standard-active-text-and-icon: var(--udex-phone-number-field-color-success-active-icon);border-right:1px solid var(--udex-phone-number-field-color-success-default-control-button-border)}:host([value-state="Success"]) .udex-phone-number-field__dropdown[open]+.udex-phone-number-field__input-wrapper .udex-phone-number-field__open-button:dir(rtl){border-right:transparent;border-left:1px solid var(--udex-phone-number-field-color-success-default-control-button-border)}:host([value-state="Error"]) .udex-phone-number-field__dropdown[open]+.udex-phone-number-field__input-wrapper .udex-phone-number-field__open-button{--udex-button-color-tertiary-standard-default-text-and-icon: var(--udex-phone-number-field-color-error-active-icon);--udex-button-color-tertiary-standard-hover-text-and-icon: var(--udex-phone-number-field-color-error-active-icon);--udex-button-color-tertiary-standard-active-text-and-icon: var(--udex-phone-number-field-color-error-active-icon);border-right:1px solid var(--udex-phone-number-field-color-error-default-control-button-border)}:host([value-state="Error"]) .udex-phone-number-field__dropdown[open]+.udex-phone-number-field__input-wrapper .udex-phone-number-field__open-button:dir(rtl){border-right:transparent;border-left:1px solid var(--udex-phone-number-field-color-error-default-control-button-border)}.udex-phone-number-field__initial-dialing-code{padding-inline-start:var(--udexSpacer8, 8px)}.udex-phone-number-field__open-button-text{display:none}.udex-phone-number-field udex-list-item::part(item){padding:var(--udexSpacer12, 12px)}.udex-phone-number-field__dropdown-list-item{display:flex;align-items:center;pointer-events:none}.udex-phone-number-field__country-name{padding-inline-end:3px}.udex-phone-number-field__input{font-weight:var(--udexTypographyFontWeightRegular, 400);width:100%;box-sizing:border-box;padding:0;margin:0;border:0;outline:none;color:inherit;font-size:inherit;font-family:inherit;font-style:inherit;line-height:24px;letter-spacing:inherit;word-spacing:inherit}.udex-phone-number-field__input::-ms-input-placeholder{color:var(--udex-phone-number-field-color-standard-default-placeholder)}.udex-phone-number-field__input::placeholder{color:var(--udex-phone-number-field-color-standard-default-placeholder)}.udex-phone-number-field__input:-webkit-autofill,.udex-phone-number-field__input:-webkit-autofill:focus{box-shadow:0 0 0 var(--udex-phone-number-field-height) var(--udex-phone-number-field-color-standard-default-background) inset}.udex-phone-number-field:hover{border-color:var(--udex-phone-number-field-color-standard-hover-border)}.udex-phone-number-field:focus-within{border-color:var(--udex-phone-number-field-color-standard-active-border)}:host([value-state="Error"]) .udex-phone-number-field{background-color:var(--udex-phone-number-field-color-error-default-background);border-color:var(--udex-phone-number-field-color-error-default-border)}:host([value-state="Error"]) .udex-phone-number-field__label{background:linear-gradient(var(--udex-phone-number-field-color-label-background) 60%,var(--udex-phone-number-field-color-error-default-background) 60%)}:host([value-state="Error"]) .udex-phone-number-field:hover{border-color:var(--udex-phone-number-field-color-error-hover-border)}:host([value-state="Error"]) .udex-phone-number-field:focus-within{border-color:var(--udex-phone-number-field-color-error-active-border)}:host([value-state="Success"]) .udex-phone-number-field{background-color:var(--udex-phone-number-field-color-success-default-background);border-color:var(--udex-phone-number-field-color-success-default-border)}:host([value-state="Success"]) .udex-phone-number-field__label{background:linear-gradient(var(--udex-phone-number-field-color-label-background) 60%,var(--udex-phone-number-field-color-success-default-background) 60%)}:host([value-state="Success"]) .udex-phone-number-field:hover{border-color:var(--udex-phone-number-field-color-success-hover-border)}:host([value-state="Success"]) .udex-phone-number-field:focus-within{border-color:var(--udex-phone-number-field-color-success-active-border)}:host([disabled]) .udex-phone-number-field{opacity:.4}:host([disabled]) .udex-phone-number-field,:host([disabled]) .udex-phone-number-field:hover,:host([disabled]) .udex-phone-number-field__input{background-color:var(--udex-phone-number-field-color-disabled-default-background);border-color:var(--udex-phone-number-field-color-disabled-default-border)}:host([disabled]) .udex-phone-number-field__label{background:linear-gradient(var(--udex-phone-number-field-color-label-background) 60%,var(--udex-phone-number-field-color-disabled-default-background) 60%)}:host([readonly]) .udex-phone-number-field,:host([displayonly]) .udex-phone-number-field{opacity:1}:host([readonly]){--sapContent_DisabledOpacity: 1}:host([readonly]) .udex-phone-number-field,:host([readonly]) .udex-phone-number-field:hover,:host([readonly]) .udex-phone-number-field:focus-within,:host([readonly]) .udex-phone-number-field__input{background-color:var(--udex-phone-number-field-color-readonly-default-background);border-color:var(--udex-phone-number-field-color-readonly-default-border)}:host([readonly]) .udex-phone-number-field__label{background:linear-gradient(var(--udex-phone-number-field-color-label-background) 60%,var(--udex-phone-number-field-color-readonly-default-background) 60%)}:host([displayonly]) .udex-phone-number-field,:host([displayonly]) .udex-phone-number-field:hover,:host([displayonly]) .udex-phone-number-field:focus-within,:host([displayonly]) .udex-phone-number-field__input{background-color:transparent;border-color:transparent}:host([displayonly]) .udex-phone-number-field__label{background:transparent}.udex-phone-number-field__flag{background-color:var(--udex-phone-number-field-flag-background);background-image:url(https://cdn.udex.services.sap.com/dds/design-tokens/assets/country_flag_iso3166.webp);background-position:1000px 0;background-repeat:no-repeat;width:var(--udex-phone-number-field-flag-width);height:var(--udex-phone-number-field-flag-height);min-width:var(--udex-phone-number-field-flag-width);margin-right:var(--udexSpacer6, 6px);position:relative}.udex-phone-number-field__flag:before{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid var(--udex-phone-number-field-flag-border-color)}.udex-phone-number-field__dropdown-list-item .udex-phone-number-field__flag{margin-inline-end:var(--udexSpacer12, 12px)}.udex-phone-number-field__open-button:hover{--udex-button-color-tertiary-standard-hover-border: transparent;border-right:1px solid var(--udex-phone-number-field-button-color-tertiary-standard-hover-border)}.udex-phone-number-field__open-button:hover:dir(rtl){border-left:1px solid var(--udex-phone-number-field-button-color-tertiary-standard-hover-border);border-right:1px solid transparent}.hidden-text{display:none}[udex-dropdown]{--udex-dropdown-pane-min-width: var(--udex-phone-number-field-popover-min-width)}@media (width < 640px){[udex-dropdown]{--udex-dropdown-pane-min-width-xs: var(--udex-phone-number-field-popover-min-width)}}
|
|
729
729
|
`;var Rt=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},au,gh;(function(o){o.iconUp="slim-arrow-up",o.iconDown="slim-arrow-down"})(gh||(gh={}));var mu;(function(o){o.Standard="Standard",o.Error="Error",o.Success="Success"})(mu||(mu={}));const Jg="+X XXX-XXX-XXXX",vZ=15;let yt=au=class extends z{constructor(){super(),this.label="",this.valueState=mu.Standard,this.supportingText="",this.selectedIso="",this.autoSelectedIso="",this.value="",this.buttonIcon=gh.iconDown,this._dropdownExpanded=!1,this.phoneFormat=Jg,this.accessibleNameRef="",this.allowedKeys=["Backspace","Delete","ArrowLeft","ArrowRight","Tab","Enter","Home","End","Escape"],this.countriesList=m8,this.handleKeyDown=e=>{e.key&&(e.key.match(/\d/)||this.allowedKeys.includes(e.key)||e.metaKey||e.ctrlKey)||e.preventDefault(),ie(e)&&this.fireDecoratorEvent("change"),e.stopPropagation(),this.previousKey=e.key},this._handleResizeBound=this._handleResize.bind(this)}onEnterDOM(){Q.register(this,this._handleResizeBound)}onExitDOM(){Q.deregister(this,this._handleResizeBound)}onBeforeRendering(){var e;if((e=this.blockedCountryCodes)!=null&&e.length){const t=this.blockedCountryCodes.split(",").map(i=>i.trim().toUpperCase());this.countriesList=this.countriesList.filter(i=>!(t!=null&&t.includes(i.iso.toUpperCase())))}this.value&&(this.selectedIso&&!this.value.startsWith(this.selectedPhonePrefix)&&(this.selectedIso=""),this.selectedIso||this.autoSelectCountry(this.value)),this.applyPlaceholder()}onAfterRendering(){this._dropdown=this.getDropdown(),this._dropdownList=this.getDropdownList(),this.countryIso&&this._dropdownList.focusSelectedItem()}_handleResize(){this._dropdown.style.setProperty("--udex-dropdown-pane-width",`${this.offsetWidth}px`)}handleInput(e){var t;this.value=(t=e.target)==null?void 0:t.value.trim(),this.applyPhoneMask(),this.value.startsWith(this.selectedPhonePrefix)||(this.selectedIso=""),(this.value.length===0||this.value==="+")&&(this.autoSelectedIso="",this.selectedIso="")}openDropdown(){this.isButtonDisabled||(this._dropdown.open=!this._dropdown.open)}handleKeyUp(){this.isInputReadonly||(this.value=this.value.replace(/[^\d+ ()-]/g,"").trim(),this.applyPhoneMask())}handleFocus(){this.active=!this.displayonly,this.countryIso.length===0&&(this.phoneFormat=Jg),(this.value.length===0||this.value==="+")&&!this.isInputReadonly&&(this.value=this.selectedPhonePrefix)}handleClick(){se()||(this._isTouched=!0)}handleBlur(){this.active=!1,this._isTouched=!1,this.applyPlaceholder();const e=this.selectedPhonePrefix.length,i=this.value.substring(0,e)!==this.selectedPhonePrefix;(!this.countryIso||this.value.length<=e||i)&&(this.value=""),this.isInputReadonly||this.fireDecoratorEvent("change")}handleSelect(e){this._dropdown.open=!1,this.selectedIso=e.detail.item.id,this.value=this.selectedPhonePrefix,this.maxlength=this.calculateMaxLength(this.selectedPhonePrefix,this.selectedPlaceholder),this.getInputField().focus(),this.fireDecoratorEvent("change")}dropdownBeforeOpen(){this.buttonIcon=gh.iconUp,this._dropdownExpanded=!0}dropdownBeforeClose(){this.buttonIcon=gh.iconDown,this._dropdownExpanded=!1}calculateMaxLength(e,t){const i=e.replace(/[\d]/g,"").length,a=t.replace(/X/g,"").length;return vZ+i+a}autoSelectCountry(e){const t=this.updatedCountriesList.find(i=>{const a=e.substring(0,i.phonePrefix.length);return i.phonePrefix===a});t&&(this.autoSelectedIso=t.iso),this.selectedPhonePrefix&&this.selectedPlaceholder&&(this.maxlength=this.calculateMaxLength(this.selectedPhonePrefix,this.selectedPlaceholder))}applyPhoneMask(){const e=this.value.substring(0,this.selectedPhonePrefix.length)!==this.selectedPhonePrefix;if(this.value.split("")[0]!=="+"&&(this.value=`+${this.value}`),this.autoSelectCountry(this.value),e)return;const t=this.selectedPhonePrefix.length+this.selectedPlaceholder.length,i=this.selectedPhonePrefix+this.selectedPlaceholder,a=[" ","-","(",")"],r=this.value.split("").map((n,s)=>a.includes(n)&&n===i[s]?n:a.includes(n)&&n!==i[s]?"":a.includes(i[s])&&n!==i[s]?`${i[s]}${n}`:n).join("");this.value.length>=t||(this.value=r,this.value.length>this.maxlength&&(this.value=this.value.substring(0,this.maxlength)))}applyPlaceholder(){this.phoneFormat=this.countryIso.length>0?this.selectedPhonePrefix+this.selectedPlaceholder:Jg}getDropdownList(){return this.shadowRoot.querySelector("[udex-list]")}getDropdown(){return this.shadowRoot.querySelector("[udex-dropdown]")}getButton(){return this.shadowRoot.querySelector("[udex-button]")}getInputField(){return this.shadowRoot.querySelector("input")}get inputTabIndex(){return this.displayonly||this.disabled?-1:void 0}get selectedPhonePrefix(){var e,t;return this.countryIso?((e=this.updatedCountriesList.filter(i=>i.iso===this.countryIso)[0])==null?void 0:e.phonePrefix)||((t=this.updatedCountriesList[0])==null?void 0:t.phonePrefix):""}get selectedPlaceholder(){var e,t;return this.countryIso?((e=this.updatedCountriesList.filter(i=>i.iso===this.countryIso)[0])==null?void 0:e.phoneFmt)||((t=this.updatedCountriesList[0])==null?void 0:t.phoneFmt):""}get selectedCountryName(){var e,t;return this.countryIso?((e=this.updatedCountriesList.filter(i=>i.iso===this.countryIso)[0])==null?void 0:e.countryName)||((t=this.updatedCountriesList[0])==null?void 0:t.countryName):"None"}get selectedFlagBackgroundPosition(){if(!this.countryIso)return{};const e=this.updatedCountriesList.filter(t=>t.iso===this.countryIso)[0];return e?{x:e==null?void 0:e.flagX,y:e==null?void 0:e.flagY}:{}}get ariaInvalid(){return this.valueState===mu.Error?"true":null}get isInputReadonly(){return this.readonly||this.displayonly}get isButtonDisabled(){return this.disabled||this.isInputReadonly}get updatedCountriesList(){return this.countriesList.map(e=>(e.selected&&delete e.selected,e.iso===this.countryIso&&(e.selected=!0),e))}get valueStateTypeMappings(){return{Success:B(au,rc),Standard:"",Error:B(au,ic)}}get hasValueState(){return this.valueState!==mu.Standard}get valueStateText(){return this.valueState!==mu.Standard?this.valueStateTypeMappings[this.valueState]:void 0}get readOnlyStateText(){return B(au,S5)}get ariaDescribedById(){return`${this.supportingTextId} ${this.valueStateTextId} ${this.readOnlyStateTextId}`.trim()}get supportingTextId(){return this.supportingText?`${this._id}-supportingTextDesc`:""}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:""}get readOnlyStateTextId(){return this.readonly?`${this._id}-stateReadOnlyDesc`:""}get countrySelectorAriaLabel(){return this.accessibleName||`${B(au,S3)} ${this.label}`.trim()}get countryIso(){return this.selectedIso||this.autoSelectedIso}};Rt([d({type:String})],yt.prototype,"label",void 0);Rt([d()],yt.prototype,"valueState",void 0);Rt([d({type:String})],yt.prototype,"supportingText",void 0);Rt([d({type:Boolean})],yt.prototype,"required",void 0);Rt([d({type:Boolean})],yt.prototype,"disabled",void 0);Rt([d({type:Boolean})],yt.prototype,"readonly",void 0);Rt([d({type:Boolean})],yt.prototype,"displayonly",void 0);Rt([d({type:String})],yt.prototype,"selectedIso",void 0);Rt([d({type:String,noAttribute:!0})],yt.prototype,"autoSelectedIso",void 0);Rt([d({type:String})],yt.prototype,"blockedCountryCodes",void 0);Rt([d({type:String})],yt.prototype,"height",void 0);Rt([d({type:String})],yt.prototype,"value",void 0);Rt([d({type:String,noAttribute:!0})],yt.prototype,"buttonIcon",void 0);Rt([d({type:Boolean,noAttribute:!0})],yt.prototype,"_dropdownExpanded",void 0);Rt([d({type:String,noAttribute:!0})],yt.prototype,"phoneFormat",void 0);Rt([d({type:Number})],yt.prototype,"maxlength",void 0);Rt([d()],yt.prototype,"accessibleName",void 0);Rt([d()],yt.prototype,"accessibleNameRef",void 0);Rt([d({type:String,noAttribute:!0})],yt.prototype,"allowedKeys",void 0);Rt([d({type:String,noAttribute:!0})],yt.prototype,"previousKey",void 0);Rt([d({type:Boolean})],yt.prototype,"active",void 0);Rt([d({type:Boolean})],yt.prototype,"_isTouched",void 0);Rt([V("@sapudex/web-components")],yt,"i18nBundle",void 0);yt=au=Rt([T({tag:"udex-phone-number-field",renderer:A,styles:gZ,template:pZ}),x("input",{bubbles:!0}),x("change",{bubbles:!0})],yt);yt.define();const mZ="status-negative",fZ="M16 8a7.731 7.731 0 0 1-.64 3.125c-.428.98-1 1.828-1.72 2.547a8.025 8.025 0 0 1-2.53 1.703A7.785 7.785 0 0 1 8 16a7.73 7.73 0 0 1-3.125-.64c-.98-.428-1.828-1-2.547-1.72a7.977 7.977 0 0 1-1.703-2.546A7.82 7.82 0 0 1 0 8a7.864 7.864 0 0 1 2.344-5.672A8.214 8.214 0 0 1 4.89.625 7.785 7.785 0 0 1 8 0c1.104 0 2.14.208 3.11.625a8.08 8.08 0 0 1 2.546 1.719 8.081 8.081 0 0 1 1.719 2.547C15.792 5.859 16 6.896 16 8Zm-3.531 3.375c.125-.125.125-.25 0-.375L9.78 8.312c-.125-.124-.125-.25 0-.374l2.531-2.532c.126-.125.126-.25 0-.375l-1.156-1.156c-.041-.042-.104-.063-.187-.063-.084 0-.146.021-.188.063L8.187 6.438c-.02.062-.083.093-.187.093-.063 0-.125-.031-.188-.093L5.188 3.844c-.02-.042-.083-.063-.187-.063-.083 0-.146.021-.188.063L3.657 5c-.125.125-.125.25 0 .375L6.25 7.938c.125.125.125.25 0 .375l-2.594 2.562a.312.312 0 0 0-.078.188c-.01.083.016.145.078.187l1.125 1.156a.48.48 0 0 0 .188.063c.083 0 .146-.021.187-.063l2.657-2.625c.041-.041.104-.062.187-.062s.146.02.188.062l2.75 2.75a.479.479 0 0 0 .187.063.48.48 0 0 0 .188-.063l1.156-1.156Z",bZ=!1,xZ="0 0 16 16",yZ="SAP-icons-v4",CZ="@ui5/webcomponents-icons";U(mZ,{pathData:fZ,ltr:bZ,viewBox:xZ,collection:yZ,packageName:CZ});const wZ="status-negative",SZ="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm3.707 4.293a1 1 0 0 0-1.414 0L8 6.586 5.707 4.293a1 1 0 1 0-1.414 1.414L6.586 8l-2.293 2.293a1 1 0 1 0 1.414 1.414L8 9.414l2.293 2.293a1 1 0 1 0 1.414-1.414L9.414 8l2.293-2.293a1 1 0 0 0 0-1.414Z",kZ=!1,TZ="0 0 16 16",IZ="SAP-icons-v5",BZ="@ui5/webcomponents-icons";U(wZ,{pathData:SZ,ltr:kZ,viewBox:TZ,collection:IZ,packageName:BZ});const $9="status-negative",AZ="status-positive",EZ="M16 8a7.863 7.863 0 0 1-.625 3.14 8.026 8.026 0 0 1-1.703 2.532 7.979 7.979 0 0 1-2.547 1.703c-.98.417-2.02.625-3.125.625a7.863 7.863 0 0 1-5.672-2.344A8.215 8.215 0 0 1 .625 11.11 7.786 7.786 0 0 1 0 8c0-1.104.214-2.146.64-3.125.428-.98 1-1.828 1.72-2.547A7.977 7.977 0 0 1 4.905.625 7.82 7.82 0 0 1 8 0c1.104 0 2.146.208 3.125.625.98.417 1.828.984 2.547 1.703a7.979 7.979 0 0 1 1.703 2.547c.417.98.625 2.02.625 3.125Zm-3.688-2.719c.084-.166.073-.302-.03-.406L11.155 3.75a.297.297 0 0 0-.25-.125c-.104 0-.187.052-.25.156l-3.25 5.406c-.062.021-.104.021-.125 0L5.094 7.563c-.084-.063-.157-.094-.219-.094-.063 0-.11.02-.14.062a.917.917 0 0 1-.079.094L3.75 8.906c-.125.167-.104.313.063.438l3.53 2.969c.042.041.115.062.22.062a.297.297 0 0 0 .25-.125l4.5-6.969Z",DZ=!1,RZ="0 0 16 16",PZ="SAP-icons-v4",LZ="@ui5/webcomponents-icons";U(AZ,{pathData:EZ,ltr:DZ,viewBox:RZ,collection:PZ,packageName:LZ});const NZ="status-positive",MZ="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0Zm3.707 5.793a1 1 0 0 0-1.414 0L7.5 8.586 6.207 7.293a1 1 0 1 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l3.5-3.5a1 1 0 0 0 0-1.414Z",OZ=!1,FZ="0 0 16 16",zZ="SAP-icons-v5",$Z="@ui5/webcomponents-icons";U(NZ,{pathData:MZ,ltr:OZ,viewBox:FZ,collection:zZ,packageName:$Z});const H9="status-positive",HZ="status-critical",XZ="M15.656 11.688c.104.208.182.411.235.609.052.198.088.39.109.578v.156c0 .646-.24 1.136-.719 1.469-.479.333-1 .5-1.562.5H2.313c-.271 0-.542-.042-.813-.125a2.332 2.332 0 0 1-.734-.375 1.932 1.932 0 0 1-.532-.625A2.033 2.033 0 0 1 0 13.031c0-.27.042-.505.125-.703.083-.198.177-.411.281-.64l5.782-10.5C6.625.395 7.26 0 8.094 0 8.885 0 9.5.396 9.938 1.188l5.718 10.5Zm-7.625-7.72c-.27 0-.515.084-.734.25-.219.167-.328.438-.328.813.02.146.041.271.062.375.063.521.11 1.021.14 1.5.032.48.069 1.115.11 1.907 0 .229.078.395.235.5a.91.91 0 0 0 .515.156c.459 0 .698-.219.719-.656l.063-1.126.28-2.656c0-.375-.109-.646-.327-.812a1.182 1.182 0 0 0-.735-.25Zm0 9.345c.417 0 .745-.126.985-.376s.359-.583.359-1c0-.395-.12-.718-.36-.968-.239-.25-.567-.375-.984-.375-.416 0-.745.125-.984.375-.24.25-.36.573-.36.969 0 .416.12.75.36 1s.568.374.984.374Z",UZ=!1,jZ="0 0 16 16",VZ="SAP-icons-v4",GZ="@ui5/webcomponents-icons";U(HZ,{pathData:XZ,ltr:UZ,viewBox:jZ,collection:VZ,packageName:GZ});const WZ="status-critical",qZ="M6.492 1.855a1.75 1.75 0 0 1 3.008 0l6.25 10.503c.693 1.167-.148 2.645-1.505 2.645H1.752c-1.357 0-2.197-1.478-1.504-2.645L6.492 1.855Zm1.503 9.138a1 1 0 1 0 0 2.002 1 1 0 0 0 0-2.002Zm0-7a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0v-4a1 1 0 0 0-1-1Z",YZ=!1,KZ="0 0 16 16",ZZ="SAP-icons-v5",JZ="@ui5/webcomponents-icons";U(WZ,{pathData:qZ,ltr:YZ,viewBox:KZ,collection:ZZ,packageName:JZ});const X9="status-critical",QZ={Negative:$9,Critical:X9,Positive:H9,Information:I_};function eJ(){return g("div",{class:{"ui5-progress-indicator-root":!0,"ui5-progress-indicator-max-value":this.validatedValue===100,"ui5-progress-indicator-min-value":this.validatedValue===0},role:"progressbar","aria-valuemin":0,"aria-valuenow":this.validatedValue,"aria-valuemax":100,"aria-valuetext":this.valueStateText,"aria-label":this.accessibleName,children:[l("div",{class:"ui5-progress-indicator-bar",part:"bar",style:{width:`${this.validatedValue}%`,"transition-duration":this.shouldAnimate?`${this._transitionDuration}ms`:"none"},children:!this.showValueInRemainingBar&&x6.call(this)}),l("div",{class:"ui5-progress-indicator-remaining-bar",part:"remaining-bar",children:this.showValueInRemainingBar&&x6.call(this)})]})}function x6(){return g(P,{children:[this.showIcon&&l(R,{name:tJ.call(this),class:"ui5-progress-indicator-icon"}),!this.hideValue&&g("span",{class:"ui5-progress-indicator-value",children:[" ",this.displayValue?this.displayValue:`${this.validatedValue}%`]})]})}function tJ(){return QZ[this.valueState]}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const oJ=`:host(:not([hidden])){display:inline-block;min-height:var(_ui5_progress_indicator_host_min_height);min-width:4rem;width:100%;height:var(--_ui5_progress_indicator_host_height);overflow:hidden;box-sizing:var(--_ui5_progress_indicator_host_box_sizing);padding:var(--_ui5_progress_indicator_padding);padding-inline-end:var(--_ui5_progress_indicator_padding_end)}:host(:not([hidden])[hide-value]){padding-top:var(--_ui5_progress_indicator_padding_novalue);padding-bottom:var(--_ui5_progress_indicator_padding_novalue)}.ui5-progress-indicator-root{display:flex;align-items:center;background:var(--_ui5_progress_indicator_background_none);border-radius:var(--_ui5_progress_indicator_root_border_radius);overflow:var(--_ui5_progress_indicator_root_overflow);min-height:var(--_ui5_progress_indicator_root_min_height);height:var(--_ui5_progress_indicator_root_height);width:100%;font-size:var(--sapProgress_FontSize);font-family:var(--sapFontFamily);position:var(--_ui5_progress_indicator_root_position);box-sizing:border-box}.ui5-progress-indicator-bar{background:var(--_ui5_progress_indicator_value_state_none);justify-content:flex-end;height:var(--_ui5_progress_indicator_bar_height);display:flex;align-items:center;flex-direction:row;color:var(--_ui5_progress_indicator_bar_color);transition-property:width;transition-timing-function:linear;box-sizing:border-box;border:var(--_ui5_progress_indicator_bar_border_max);border-radius:var(--_ui5_progress_indicator_bar_border_radius);z-index:1}.ui5-progress-indicator-min-value .ui5-progress-indicator-bar,.ui5-progress-indicator-max-value .ui5-progress-indicator-remaining-bar{border:none}.ui5-progress-indicator-max-value .ui5-progress-indicator-bar{border-radius:.5rem}.ui5-progress-indicator-min-value .ui5-progress-indicator-remaining-bar{border-inline-start:var(--_ui5_progress_indicator_border);border-radius:.5rem}.ui5-progress-indicator-remaining-bar{justify-content:flex-start;width:var(--_ui5_progress_indicator_remaining_bar_width);height:100%;display:flex;align-items:center;flex-direction:row;flex-grow:1;flex-basis:0;border:var(--_ui5_progress_indicator_border);border-inline-start:none;border-radius:var(--_ui5_progress_indicator_remaining_bar_border_radius);box-sizing:border-box;color:var(--_ui5_progress_indicator_color);overflow:var(--_ui5_progress_indicator_remaining_bar_overflow);position:var(--_ui5_progress_indicator_remaining_bar_position)}.ui5-progress-indicator-value{margin:var(--_ui5_progress_indicator_value_margin);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;position:var(--_ui5_progress_indicator_value_position);top:var(--_ui5_progress_indicator_value_top_position);inset-inline-start:var(--_ui5_progress_indicator_value_left_position)}.ui5-progress-indicator-icon{margin-inline-start:.375rem;width:var(--_ui5_progress_indicator_icon_size);height:var(--_ui5_progress_indicator_icon_size);display:var(--_ui5_progress_indicator_icon_visibility);position:var(--_ui5_progress_indicator_icon_position);inset-inline-end:var(--_ui5_progress_indicator_icon_right_position)}:host([value-state="Negative"]) .ui5-progress-indicator-icon{color:var(--_ui5_progress_indicator_value_state_error_icon_color)}:host([value-state="Critical"]) .ui5-progress-indicator-icon{color:var(--_ui5_progress_indicator_value_state_warning_icon_color)}:host([value-state="Positive"]) .ui5-progress-indicator-icon{color:var(--_ui5_progress_indicator_value_state_success_icon_color)}:host([value-state="Information"]) .ui5-progress-indicator-icon{color:var(--_ui5_progress_indicator_value_state_information_icon_color)}:host([value-state="Negative"]) .ui5-progress-indicator-bar{background:var(--_ui5_progress_indicator_value_state_error)}:host([value-state="Critical"]) .ui5-progress-indicator-bar{background:var(--_ui5_progress_indicator_value_state_warning)}:host([value-state="Positive"]) .ui5-progress-indicator-bar{background:var(--_ui5_progress_indicator_value_state_success)}:host([value-state="Information"]) .ui5-progress-indicator-bar{background:var(--_ui5_progress_indicator_value_state_information)}:host([value-state="Negative"]) .ui5-progress-indicator-root{background:var(--_ui5_progress_indicator_background_error)}:host([value-state="Critical"]) .ui5-progress-indicator-root{background:var(--_ui5_progress_indicator_background_warning)}:host([value-state="Positive"]) .ui5-progress-indicator-root{background:var(--_ui5_progress_indicator_background_success)}:host([value-state="Information"]) .ui5-progress-indicator-root{background:var(--_ui5_progress_indicator_background_information)}:host([value-state="Negative"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5_progress_indicator_border_color_error)}:host([value-state="Critical"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5_progress_indicator_border_color_warning)}:host([value-state="Positive"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5_progress_indicator_border_color_success)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5_progress_indicator_border_color_information)}.ui5-progress-indicator-remaining-bar:before,.ui5-progress-indicator-remaining-bar:after{content:"";display:block;width:.25rem;height:.25rem;position:absolute;border-radius:50%;display:var(--_ui5_progress_indicator_side_points_visibility);background:var(--_ui5_progress_indicator_value_state_none)}.ui5-progress-indicator-remaining-bar:before{left:.0625rem}.ui5-progress-indicator-remaining-bar:after{right:.0625rem}:host([value-state="Negative"]) .ui5-progress-indicator-remaining-bar:before,:host([value-state="Negative"]) .ui5-progress-indicator-remaining-bar:after{background:var(--sapProgress_Value_NegativeBackground)}:host([value-state="Critical"]) .ui5-progress-indicator-remaining-bar:before,:host([value-state="Critical"]) .ui5-progress-indicator-remaining-bar:after{background:var(--sapProgress_Value_CriticalBackground)}:host([value-state="Positive"]) .ui5-progress-indicator-remaining-bar:before,:host([value-state="Positive"]) .ui5-progress-indicator-remaining-bar:after{background:var(--sapProgress_Value_PositiveBackground)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar:before,:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar:after{background:var(--sapProgress_Value_InformationBackground)}
|
|
730
730
|
`;var $l=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},nu;let _n=nu=class extends z{constructor(){super(),this.hideValue=!1,this.value=0,this.valueState="None",this._previousValue=0,this._transitionDuration=0}onBeforeRendering(){this._transitionDuration=Math.abs(this._previousValue-this.validatedValue)*20,this._previousValue=this.validatedValue}valueStateTextMappings(){return{Negative:nu.i18nBundle.getText(f_),Critical:nu.i18nBundle.getText(b_),Positive:nu.i18nBundle.getText(x_),Information:nu.i18nBundle.getText(C5)}}get validatedValue(){return this.value<0?0:this.value>100?100:this.value}get showValueInRemainingBar(){return this.value<=50}get shouldAnimate(){return h_()!==s5.None}get valueStateText(){const e=`${this.validatedValue}%`,t=this.valueStateTextMappings()[this.valueState];return t?`${e} ${t}`:e}get showIcon(){return this.valueState!==fe.None}};$l([d()],_n.prototype,"accessibleName",void 0);$l([d({type:Boolean})],_n.prototype,"hideValue",void 0);$l([d({type:Number})],_n.prototype,"value",void 0);$l([d()],_n.prototype,"displayValue",void 0);$l([d()],_n.prototype,"valueState",void 0);$l([V("@ui5/webcomponents")],_n,"i18nBundle",void 0);_n=nu=$l([T({tag:"ui5-progress-indicator",renderer:A,styles:oJ,template:eJ})],_n);_n.define();const U9=_n;var mf;(function(o){o.Warning="Warning",o.Error="Error",o.Success="Success",o.Information="Information",o.None="None"})(mf||(mf={}));const jn=mf;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const iJ=`:host{--udex-progress-bar-point-size: .375rem;--udex-progress-bar-padding-end: 24px;--udex-progress-bar-root-height: .5rem;--udex-progress-bar-height: .75rem;--udex-progress-bar-border-radius: var(--udexRadiusS, 6px);--udex-progress-bar-icon-size: 1.125rem;--udex-progress-bar-icon-right-position: -24px}:host([value-state="Information"]) .ui5-progress-indicator-bar{background-color:var(--udexColorBlue7)}.ui5-progress-indicator-icon{width:var(--udex-progress-bar-icon-size);height:var(--udex-progress-bar-icon-size);inset-inline-end:var(--udex-progress-bar-icon-right-position)}.ui5-progress-indicator-bar{height:var(--udex-progress-bar-height);border-radius:var(--udex-progress-bar-border-radius)}.ui5-progress-indicator-root{height:var(--udex-progress-bar-root-height)}:host(:not([hidden])){padding-inline-end:var(--udex-progress-bar-padding-end)}.ui5-progress-indicator-remaining-bar:before,.ui5-progress-indicator-remaining-bar:after{width:var(--udex-progress-bar-point-size, .375rem);height:var(--udex-progress-bar-point-size, .375rem)}:host([value-state="Error"]) .ui5-progress-indicator-root{background:var(--sapProgress_NegativeBackground, #FFB2D2)}:host([value-state="Error"]) .ui5-progress-indicator-bar,:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar:before,:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar:after{background:var(--sapProgress_Value_NegativeBackground, #D20A0A)}:host([value-state="Error"]) .ui5-progress-indicator-icon{color:var(--sapProgress_Value_NegativeBackground, #D20A0A)}:host([value-state="Success"]) .ui5-progress-indicator-root{background:var(--sapProgress_PositiveBackground, #BDE986)}:host([value-state="Success"]) .ui5-progress-indicator-bar,:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar:before,:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar:after{background:var(--sapProgress_Value_PositiveBackground, #188918)}:host([value-state="Success"]) .ui5-progress-indicator-icon{color:var(--sapProgress_Value_PositiveBackground, #188918)}:host([value-state="Warning"]) .ui5-progress-indicator-root{background:var(--sapProgress_CriticalBackground, #FFDF72)}:host([value-state="Warning"]) .ui5-progress-indicator-bar,:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar:before,:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar:after{background:var(--sapProgress_Value_CriticalBackground, #C35500)}:host([value-state="Warning"]) .ui5-progress-indicator-icon{color:var(--sapProgress_Value_CriticalBackground, #C35500)}:host([disabled]) .ui5-progress-indicator-root{opacity:var(--sapContent_DisabledOpacity, .4)}.ui5-progress-indicator-bar{border-radius:var(--udexRadiusS, 6px)}
|
|
731
|
-
`,rJ={[jn.Error]:$9,[jn.Warning]:X9,[jn.Success]:H9,[jn.Information]:I_};function aJ(){return g("div",{class:{"ui5-progress-indicator-root":!0,"ui5-progress-indicator-max-value":this.validatedValue===100,"ui5-progress-indicator-min-value":this.validatedValue===0},role:"progressbar","aria-valuemin":0,"aria-valuenow":this.validatedValue,"aria-valuemax":100,"aria-valuetext":this.valueStateText,"aria-label":this.accessibleName,children:[l("div",{class:"ui5-progress-indicator-bar",part:"bar",style:{width:`${this.validatedValue}%`,"transition-duration":this.shouldAnimate?`${this._transitionDuration}ms`:"none"},children:!this.showValueInRemainingBar&&y6.call(this)}),l("div",{class:"ui5-progress-indicator-remaining-bar",part:"remaining-bar",children:this.showValueInRemainingBar&&y6.call(this)})]})}function y6(){return g(P,{children:[this.showIcon&&l(R,{name:nJ.call(this),class:"ui5-progress-indicator-icon",mode:Fe.Decorative}),!this.hideValue&&l("span",{class:"ui5-progress-indicator-value",children:this.displayValue?this.displayValue:`${this.validatedValue}%`})]})}function nJ(){return rJ[this.valueState]}var A2=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},su;let Vu=su=class extends U9{constructor(){super(...arguments),this.valueState=jn.None}valueStateTextMappings(){return{[jn.Error]:B(su,ic),[jn.Warning]:B(su,j0),[jn.Success]:B(su,rc),[jn.Information]:B(su,C3)}}};A2([d()],Vu.prototype,"valueState",void 0);A2([V("@sapudex/web-components")],Vu,"i18nBundle",void 0);Vu=su=A2([T({tag:"udex-progress-bar",renderer:A,styles:[U9.styles,iJ],template:aJ})],Vu);Vu.define();const sJ=Vu;function dJ(){var e,t,i;const o="udex-promo-tile";return g("div",{role:"region",class:`${o}__container ${o}--${(e=this.orientation)==null?void 0:e.toLowerCase()} ${o}--${this._colorMode}`,"aria-label":this.promoTileContainerText,style:this.backgroundGradient?{backgroundImage:this.backgroundGradient,backgroundColor:this._defaultBackgroundColor}:void 0,children:[this._showPictogram&&l("div",{part:"image",class:{"udex-promo-tile__pictogram":!0,"udex-promo-tile__pictogram--logo":this.logoUrl&&!((t=this.pictogram)!=null&&t.length)},title:this._imageLabel,children:g("slot",{slot:"pictogram",name:"pictogram",children:[this.icon&&l(R,{class:`${o}__icon`,name:(i=this.icon)==null?void 0:i.toLowerCase(),mode:Fe.Decorative,accessibleName:this._imageLabel,dir:"ltr"}),this._showLogo&&l("img",{src:this.logoUrl,class:`${o}__icon`,"aria-label":this._imageLabel,alt:this._imageLabel})]})}),g("div",{part:"content",class:`${o}__content`,children:[g("div",{class:`${o}__text`,children:[this.eyebrow&&l("div",{class:`${o}__eyebrow eyebrow--l`,children:this.eyebrow}),this.header&&l("div",{part:"header",class:`${o}__header`,children:this.header}),l("slot",{})]}),!!this.button&&lJ.call(this,o)]})]})}function lJ(o){return l(P,{children:l("div",{part:"footer",class:`${o}__footer`,children:l(me,{class:`${o}__btn`,size:ye.Large,design:this.buttonDesign,onClick:this.handleCTAButtonClick,accessibleRole:k5.Button,children:this.button})})})}var ff;(function(o){o.Grey1="Grey1",o.Grey2="Grey2",o.Grey7="Grey7",o.Grey8="Grey8",o.Grey9="Grey9",o.Grey10="Grey10",o.Blue1="Blue1",o.Blue2="Blue2",o.Blue7="Blue7",o.Blue8="Blue8",o.Blue9="Blue9",o.Blue10="Blue10",o.Teal1="Teal1",o.Teal2="Teal2",o.Teal7="Teal7",o.Teal8="Teal8",o.Teal9="Teal9",o.Teal10="Teal10",o.Green1="Green1",o.Green2="Green2",o.Green7="Green7",o.Green8="Green8",o.Green9="Green9",o.Green10="Green10",o.Mango1="Mango1",o.Mango2="Mango2",o.Mango7="Mango7",o.Mango8="Mango8",o.Mango9="Mango9",o.Mango10="Mango10",o.Red1="Red1",o.Red2="Red2",o.Red7="Red7",o.Red8="Red8",o.Red9="Red9",o.Red10="Red10",o.Raspberry1="Raspberry1",o.Raspberry2="Raspberry2",o.Raspberry7="Raspberry7",o.Raspberry8="Raspberry8",o.Raspberry9="Raspberry9",o.Raspberry10="Raspberry10",o.Pink1="Pink1",o.Pink2="Pink2",o.Pink7="Pink7",o.Pink8="Pink8",o.Pink9="Pink9",o.Pink10="Pink10",o.Indigo1="Indigo1",o.Indigo2="Indigo2",o.Indigo7="Indigo7",o.Indigo8="Indigo8",o.Indigo9="Indigo9",o.Indigo10="Indigo10"})(ff||(ff={}));var fu;(function(o){o.dark="dark",o.light="light"})(fu||(fu={}));m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const uJ=`:host{width:100%;max-height:100%;overflow:hidden;--udex-promo-tile-background: var(--udexColorBlue1, #EBF8FF);--udex-promo-tile-border-radius: var(--udexRadiusXL, 16px);--udex-promo-tile-border-width: var(--sapElement_BorderWidth, 1px);--udex-promo-tile-border-color: var(--udex-promo-tile-background);--udex-promo-tile-pictogram-width: var(--udexSpacer120, 120px);--udex-promo-tile-pictogram-height: var(--udexSpacer120, 120px);--udex-promo-tile-logo-width: 200px;--udex-promo-tile-logo-height: 100px;--udex-promo-tile-icon-width: 100%;--udex-promo-tile-icon-height: 100%;--udex-promo-tile-icon-fill-color: inherit;--udex-promo-tile-eyebrow-color: var(--udexColorBlue8, #0057D2);--udex-promo-tile-header-color-light: var(--udexColorNeutralWhite, #FFFFFF);--udex-promo-tile-header-color-dark: var(--udexColorNeutralBlack, #000000);--udex-promo-tile-text-color-light: var(--udexColorNeutralWhite, #FFFFFF);--udex-promo-tile-text-color-dark: var(--udexColorGrey9, #223548);--udex-promo-tile-image-object-fit: contain}:host ::slotted([slot="pictogram"]){width:100%}.udex-promo-tile__container{width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;border-radius:var(--udex-promo-tile-border-radius);background:var(--udex-promo-tile-background);padding:var(--udexSpacer32, 32px);gap:var(--udexSpacer16, 16px);border:var(--udex-promo-tile-border-width) solid var(--udex-promo-tile-border-color)}.udex-promo-tile--horizontal{flex-direction:row;padding:var(--udexSpacer32, 32px);gap:var(--udexSpacer32, 32px)}.udex-promo-tile__pictogram{width:var(--udex-promo-tile-pictogram-width);height:var(--udex-promo-tile-pictogram-height);max-width:100%;display:flex;justify-content:center;align-items:center;flex-grow:0;flex-shrink:0;overflow:hidden}.udex-promo-tile__pictogram.udex-promo-tile__pictogram--logo{width:var(--udex-promo-tile-logo-width);height:var(--udex-promo-tile-logo-height)}.udex-promo-tile__pictogram img{width:100%;height:100%;object-fit:var(--udex-promo-tile-image-object-fit)}.udex-promo-tile--horizontal .udex-promo-tile__pictogram,.udex-promo-tile--horizontal .udex-promo-tile__footer{flex-shrink:0;flex-grow:0}.udex-promo-tile__pictogram [ui5-icon]{width:var(--udex-promo-tile-icon-width);height:var(--udex-promo-tile-icon-height);fill:var(--udex-promo-tile-icon-fill-color);--_ui5_icon_transform_scale: none}.udex-promo-tile__content{display:flex;flex-grow:1;flex-direction:column;justify-content:space-between;gap:var(--udexSpacer32, 32px);font-family:var(--sapFontFamily);font-size:var(--udexTypographyBodySFontSize, 16px);font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:var(--udexTypographyBodyLineHeight, 1.5);color:var(--udex-promo-tile-text-color-dark)}.udex-promo-tile--horizontal .udex-promo-tile__content{flex-grow:1;flex-direction:row}.udex-promo-tile--dark .udex-promo-tile__content{color:var(--udex-promo-tile-text-color-light)}.udex-promo-tile__eyebrow{font-size:var(--udexTypographyEyebrowLFontSize, 16px);line-height:var(--udexTypographyEyebrowLineHeight, 1.1);font-weight:var(--udexTypographyFontWeightMedium, 500);text-transform:uppercase;letter-spacing:.5px;color:var(--udex-promo-tile-eyebrow-color);margin-block-end:var(--udexSpacer8, 8px)}.udex-promo-tile__header{font-size:var(--udexTypographyHeadingMediumSFontSize, 28px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);font-weight:var(--udexTypographyFontWeightMedium, 500);margin-block-end:var(--udexSpacer16, 16px);color:var(--udex-promo-tile-header-color-dark)}.udex-promo-tile--dark .udex-promo-tile__header{color:var(--udex-promo-tile-header-color-light)}.udex-promo-tile--horizontal .udex-promo-tile__header{margin-block-end:var(--udexSpacer8, 8px)}.udex-promo-tile__footer{display:flex;align-items:center}@media (width < 1280px){.udex-promo-tile--horizontal{padding:var(--udexSpacer24, 24px);gap:var(--udexSpacer24, 24px)}.udex-promo-tile--horizontal .udex-promo-tile__content{flex-direction:column;gap:var(--udexSpacer24, 24px)}.udex-promo-tile__header{font-size:var(--udexTypographyHeadingMediumXSFontSize, 24px)}}@media (width < 980px){.udex-promo-tile--horizontal{flex-direction:column}}.udex-promo-tile--dark [udex-button]{--udex-button-focus-border-color: var(--udexColorNeutralWhite, #FFFFFF);--sapContent_FocusColor: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-default-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-default-border-color: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-default-text-and-icon: var(--udexColorBlue8, #0057D2);--udex-button-color-primary-standard-hover-background: var(--udexColorGrey4, #A9B4BE);--udex-button-color-primary-standard-hover-border-color: var(--udexColorGrey3, #D5DADD);--udex-button-color-primary-standard-hover-text-and-icon: var(--udexColorBlue10, #002A86);--udex-button-color-primary-standard-active-background: var(--udexColorNeutralBlack70, #000000B3);--udex-button-color-primary-standard-active-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-standard-active-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-standard-disabled-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-disabled-text-and-icon: var(--udexColorBlue8, #0057D2);--udex-button-color-primary-standard-focus-border: var(--udexColorBlue10, #002A86);--udex-button-color-primary-toggled-default-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-primary-toggled-default-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-default-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-hover-background: var(--udexColorBlue10, #002A86);--udex-button-color-primary-toggled-hover-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-hover-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-disabled-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-primary-toggled-disabled-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-disabled-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-secondary-standard-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-standard-default-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-standard-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-standard-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-secondary-standard-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-secondary-standard-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-secondary-standard-active-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-secondary-standard-active-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-secondary-standard-active-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-secondary-standard-disabled-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-standard-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-standard-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-toggled-default-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-secondary-toggled-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-secondary-toggled-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-secondary-toggled-disabled-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-toggled-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-standard-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-standard-default-border: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-standard-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-standard-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-tertiary-standard-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-tertiary-standard-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-tertiary-standard-active-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-tertiary-standard-active-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-tertiary-standard-active-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-tertiary-standard-disabled-background: var(--udexColorNeutralBlack, #000000);--udex-button-color-tertiary-standard-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-standard-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-toggled-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-toggled-default-border: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-toggled-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-toggled-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-tertiary-toggled-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-tertiary-toggled-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-tertiary-toggled-disabled-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-toggled-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-toggled-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-invisible-standard-default-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-invisible-standard-hover-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-invisible-standard-active-text-and-icon: var(--udexColorBlue5, #4DB1FF);--udex-button-color-invisible-standard-disabled-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-positive-standard-default-background: var(--udexColorGreen8, #256F3A);--udex-button-color-positive-standard-default-border: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-default-text-and-icon: var(--udexColorGreen2, #EBF5CB);--udex-button-color-positive-standard-hover-background: var(--udexColorGreen10, #164323);--udex-button-color-positive-standard-hover-border: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-hover-text-and-icon: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-active-background: var(--udexColorGrey11, #12171C);--udex-button-color-positive-standard-active-border: var(--udexColorGreen4, #97DD40);--udex-button-color-positive-standard-active-text-and-icon: var(--udexColorGreen4, #97DD40);--udex-button-color-positive-standard-disabled-background: var(--udexColorGreen8, #256F3A);--udex-button-color-positive-standard-disabled-border: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-disabled-text-and-icon: var(--udexColorGreen2, #EBF5CB);--udex-button-color-positive-toggled-default-background: var(--udexColorGrey11, #12171C);--udex-button-color-positive-toggled-default-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-default-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-hover-background: var(--udexColorBlue10, #002A86);--udex-button-color-positive-toggled-hover-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-hover-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-disabled-background: var(--udexColorGrey11, #12171C);--udex-button-color-positive-toggled-disabled-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-disabled-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-negative-standard-default-background: var(--udexColorRed8, #AA0808);--udex-button-color-negative-standard-default-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-default-text-and-icon: var(--udexColorRed2, #FFD5EA);--udex-button-color-negative-standard-hover-background: var(--udexColorRed10, #5A0404);--udex-button-color-negative-standard-hover-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-hover-text-and-icon: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-active-background: var(--udexColorGrey11, #12171C);--udex-button-color-negative-standard-active-border: var(--udexColorRed4, #FF8CB2);--udex-button-color-negative-standard-active-text-and-icon: var(--udexColorRed4, #FF8CB2);--udex-button-color-negative-standard-disabled-background: var(--udexColorRed8, #AA0808);--udex-button-color-negative-standard-disabled-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-disabled-text-and-icon: var(--udexColorRed2, #FFD5EA);--udex-button-color-negative-toggled-default-background: var(--udexColorGrey11, #12171C);--udex-button-color-negative-toggled-default-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-toggled-default-text-and-icon: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-toggled-hover-background: var(--udexColorMango4, #FFC933);--udex-button-color-negative-toggled-hover-border: var(--udexColorNeutralBlack, #000000);--udex-button-color-negative-toggled-hover-text-and-icon: var(--udexColorNeutralBlack, #000000);--udex-button-color-negative-toggled-disabled-background: var(--udexColorBlue4, #89D1FF);--udex-button-color-negative-toggled-disabled-border: var(--udexColorNeutralBlack, #000000);--udex-button-color-negative-toggled-disabled-text-and-icon: var(--udexColorNeutralBlack, #000000);--udex-button-color-warning-standard-default-background: var(--udexColorMango8, #A93E00);--udex-button-color-warning-standard-default-border: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-default-text-and-icon: var(--udexColorMango2, #FFF3B8);--udex-button-color-warning-standard-hover-background: var(--udexColorMango10, #6D1900);--udex-button-color-warning-standard-hover-border: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-hover-text-and-icon: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-active-background: var(--udexColorGrey11, #12171C);--udex-button-color-warning-standard-active-border: var(--udexColorMango4, #FFC933);--udex-button-color-warning-standard-active-text-and-icon: var(--udexColorMango4, #FFC933);--udex-button-color-warning-standard-disabled-background: var(--udexColorMango8, #A93E00);--udex-button-color-warning-standard-disabled-border: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-disabled-text-and-icon: var(--udexColorMango2, #FFF3B8);--udex-button-color-warning-toggled-default-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-warning-toggled-default-border: var(--udexColorMango10, #6D1900);--udex-button-color-warning-toggled-default-text-and-icon: var(--udexColorMango10, #6D1900);--udex-button-color-warning-toggled-hover-background: var(--udexColorMango2, #FFF3B8);--udex-button-color-warning-toggled-hover-border: var(--udexColorMango8, #A93E00);--udex-button-color-warning-toggled-hover-text-and-icon: var(--udexColorMango8, #A93E00);--udex-button-color-warning-toggled-disabled-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-warning-toggled-disabled-border: var(--udexColorMango10, #6D1900);--udex-button-color-warning-toggled-disabled-text-and-icon: var(--udexColorMango10, #6D1900)}
|
|
731
|
+
`,rJ={[jn.Error]:$9,[jn.Warning]:X9,[jn.Success]:H9,[jn.Information]:I_};function aJ(){return g("div",{class:{"ui5-progress-indicator-root":!0,"ui5-progress-indicator-max-value":this.validatedValue===100,"ui5-progress-indicator-min-value":this.validatedValue===0},role:"progressbar","aria-valuemin":0,"aria-valuenow":this.validatedValue,"aria-valuemax":100,"aria-valuetext":this.valueStateText,"aria-label":this.accessibleName,children:[l("div",{class:"ui5-progress-indicator-bar",part:"bar",style:{width:`${this.validatedValue}%`,"transition-duration":this.shouldAnimate?`${this._transitionDuration}ms`:"none"},children:!this.showValueInRemainingBar&&y6.call(this)}),l("div",{class:"ui5-progress-indicator-remaining-bar",part:"remaining-bar",children:this.showValueInRemainingBar&&y6.call(this)})]})}function y6(){return g(P,{children:[this.showIcon&&l(R,{name:nJ.call(this),class:"ui5-progress-indicator-icon",mode:Fe.Decorative}),!this.hideValue&&l("span",{class:"ui5-progress-indicator-value",children:this.displayValue?this.displayValue:`${this.validatedValue}%`})]})}function nJ(){return rJ[this.valueState]}var A2=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},su;let Vu=su=class extends U9{constructor(){super(...arguments),this.valueState=jn.None}valueStateTextMappings(){return{[jn.Error]:B(su,ic),[jn.Warning]:B(su,j0),[jn.Success]:B(su,rc),[jn.Information]:B(su,C3)}}};A2([d()],Vu.prototype,"valueState",void 0);A2([V("@sapudex/web-components")],Vu,"i18nBundle",void 0);Vu=su=A2([T({tag:"udex-progress-bar",renderer:A,styles:[U9.styles,iJ],template:aJ})],Vu);Vu.define();const sJ=Vu;function dJ(){var e,t,i;const o="udex-promo-tile";return g("div",{role:"region",class:`${o}__container ${o}--${(e=this.orientation)==null?void 0:e.toLowerCase()} ${o}--${this._colorMode}`,"aria-label":this.promoTileContainerText,style:this.backgroundGradient?{backgroundImage:this.backgroundGradient,backgroundColor:this._defaultBackgroundColor}:void 0,children:[this._showPictogram&&l("div",{part:"image",class:{"udex-promo-tile__pictogram":!0,"udex-promo-tile__pictogram--logo":this.logoUrl&&!((t=this.pictogram)!=null&&t.length)},title:this._imageLabel,children:g("slot",{slot:"pictogram",name:"pictogram",children:[this.icon&&l(R,{class:`${o}__icon`,name:(i=this.icon)==null?void 0:i.toLowerCase(),mode:Fe.Decorative,accessibleName:this._imageLabel,dir:"ltr"}),this._showLogo&&l("img",{src:this.logoUrl,class:`${o}__icon`,"aria-label":this._imageLabel,alt:this._imageLabel})]})}),g("div",{part:"content",class:`${o}__content`,children:[g("div",{class:`${o}__text`,children:[this.eyebrow&&l("div",{class:`${o}__eyebrow eyebrow--l`,children:this.eyebrow}),this.header&&l("div",{part:"header",class:`${o}__header`,children:this.header}),l("slot",{})]}),!!this.button&&lJ.call(this,o)]})]})}function lJ(o){return l(P,{children:l("div",{part:"footer",class:`${o}__footer`,children:l(me,{class:`${o}__btn`,size:ye.Large,design:this.buttonDesign,onClick:this.handleCTAButtonClick,accessibleRole:k5.Button,children:this.button})})})}var ff;(function(o){o.Grey1="Grey1",o.Grey2="Grey2",o.Grey7="Grey7",o.Grey8="Grey8",o.Grey9="Grey9",o.Grey10="Grey10",o.Blue1="Blue1",o.Blue2="Blue2",o.Blue7="Blue7",o.Blue8="Blue8",o.Blue9="Blue9",o.Blue10="Blue10",o.Teal1="Teal1",o.Teal2="Teal2",o.Teal7="Teal7",o.Teal8="Teal8",o.Teal9="Teal9",o.Teal10="Teal10",o.Green1="Green1",o.Green2="Green2",o.Green7="Green7",o.Green8="Green8",o.Green9="Green9",o.Green10="Green10",o.Mango1="Mango1",o.Mango2="Mango2",o.Mango7="Mango7",o.Mango8="Mango8",o.Mango9="Mango9",o.Mango10="Mango10",o.Red1="Red1",o.Red2="Red2",o.Red7="Red7",o.Red8="Red8",o.Red9="Red9",o.Red10="Red10",o.Raspberry1="Raspberry1",o.Raspberry2="Raspberry2",o.Raspberry7="Raspberry7",o.Raspberry8="Raspberry8",o.Raspberry9="Raspberry9",o.Raspberry10="Raspberry10",o.Pink1="Pink1",o.Pink2="Pink2",o.Pink7="Pink7",o.Pink8="Pink8",o.Pink9="Pink9",o.Pink10="Pink10",o.Indigo1="Indigo1",o.Indigo2="Indigo2",o.Indigo7="Indigo7",o.Indigo8="Indigo8",o.Indigo9="Indigo9",o.Indigo10="Indigo10"})(ff||(ff={}));var fu;(function(o){o.dark="dark",o.light="light"})(fu||(fu={}));m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const uJ=`:host{width:100%;max-height:100%;overflow:hidden;--udex-promo-tile-background: var(--udexColorBlue1, #EBF8FF);--udex-promo-tile-border-radius: var(--udexRadiusXL, 16px);--udex-promo-tile-border-width: var(--sapElement_BorderWidth, 1px);--udex-promo-tile-border-color: var(--udex-promo-tile-background);--udex-promo-tile-pictogram-width: var(--udexSpacer120, 120px);--udex-promo-tile-pictogram-height: var(--udexSpacer120, 120px);--udex-promo-tile-logo-width: 200px;--udex-promo-tile-logo-height: 100px;--udex-promo-tile-icon-width: 100%;--udex-promo-tile-icon-height: 100%;--udex-promo-tile-icon-fill-color: inherit;--udex-promo-tile-eyebrow-color: var(--udexColorBlue8, #0057D2);--udex-promo-tile-header-color-light: var(--udexColorNeutralWhite, #FFFFFF);--udex-promo-tile-header-color-dark: var(--udexColorNeutralBlack, #000000);--udex-promo-tile-text-color-light: var(--udexColorNeutralWhite, #FFFFFF);--udex-promo-tile-text-color-dark: var(--udexColorGrey9, #223548);--udex-promo-tile-image-object-fit: contain}:host ::slotted([slot="pictogram"]){width:100%}.udex-promo-tile__container{width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;border-radius:var(--udex-promo-tile-border-radius);background:var(--udex-promo-tile-background);padding:var(--udexSpacer32, 32px);gap:var(--udexSpacer16, 16px);border:var(--udex-promo-tile-border-width) solid var(--udex-promo-tile-border-color)}.udex-promo-tile--horizontal{flex-direction:row;padding:var(--udexSpacer32, 32px);gap:var(--udexSpacer32, 32px)}.udex-promo-tile__pictogram{width:var(--udex-promo-tile-pictogram-width);height:var(--udex-promo-tile-pictogram-height);max-width:100%;display:flex;justify-content:center;align-items:center;flex-grow:0;flex-shrink:0;overflow:hidden;align-self:center}.udex-promo-tile__pictogram.udex-promo-tile__pictogram--logo{width:var(--udex-promo-tile-logo-width);height:var(--udex-promo-tile-logo-height)}.udex-promo-tile__pictogram img{width:100%;height:100%;object-fit:var(--udex-promo-tile-image-object-fit)}.udex-promo-tile--horizontal .udex-promo-tile__pictogram,.udex-promo-tile--horizontal .udex-promo-tile__footer{flex-shrink:0;flex-grow:0}.udex-promo-tile__pictogram [ui5-icon]{width:var(--udex-promo-tile-icon-width);height:var(--udex-promo-tile-icon-height);fill:var(--udex-promo-tile-icon-fill-color);--_ui5_icon_transform_scale: none}.udex-promo-tile__content{display:flex;flex-grow:1;flex-direction:column;justify-content:space-between;gap:var(--udexSpacer32, 32px);font-family:var(--sapFontFamily);font-size:var(--udexTypographyBodySFontSize, 16px);font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:var(--udexTypographyBodyLineHeight, 1.5);color:var(--udex-promo-tile-text-color-dark)}.udex-promo-tile--horizontal .udex-promo-tile__content{flex-grow:1;flex-direction:row}.udex-promo-tile--dark .udex-promo-tile__content{color:var(--udex-promo-tile-text-color-light)}.udex-promo-tile__eyebrow{font-size:var(--udexTypographyEyebrowLFontSize, 16px);line-height:var(--udexTypographyEyebrowLineHeight, 1.1);font-weight:var(--udexTypographyFontWeightMedium, 500);text-transform:uppercase;letter-spacing:.5px;color:var(--udex-promo-tile-eyebrow-color);margin-block-end:var(--udexSpacer8, 8px)}.udex-promo-tile__header{font-size:var(--udexTypographyHeadingMediumSFontSize, 28px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);font-weight:var(--udexTypographyFontWeightMedium, 500);margin-block-end:var(--udexSpacer16, 16px);color:var(--udex-promo-tile-header-color-dark)}.udex-promo-tile--dark .udex-promo-tile__header{color:var(--udex-promo-tile-header-color-light)}.udex-promo-tile--horizontal .udex-promo-tile__header{margin-block-end:var(--udexSpacer8, 8px)}.udex-promo-tile__footer{display:flex;align-items:center}@media (width < 1280px){.udex-promo-tile--horizontal{padding:var(--udexSpacer24, 24px);gap:var(--udexSpacer24, 24px)}.udex-promo-tile__pictogram{align-self:flex-start}.udex-promo-tile--horizontal .udex-promo-tile__content{flex-direction:column;gap:var(--udexSpacer24, 24px)}.udex-promo-tile__header{font-size:var(--udexTypographyHeadingMediumXSFontSize, 24px)}}@media (width < 980px){.udex-promo-tile--horizontal{flex-direction:column}}.udex-promo-tile--dark [udex-button]{--udex-button-focus-border-color: var(--udexColorNeutralWhite, #FFFFFF);--sapContent_FocusColor: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-default-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-default-border-color: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-default-text-and-icon: var(--udexColorBlue8, #0057D2);--udex-button-color-primary-standard-hover-background: var(--udexColorGrey4, #A9B4BE);--udex-button-color-primary-standard-hover-border-color: var(--udexColorGrey3, #D5DADD);--udex-button-color-primary-standard-hover-text-and-icon: var(--udexColorBlue10, #002A86);--udex-button-color-primary-standard-active-background: var(--udexColorNeutralBlack70, #000000B3);--udex-button-color-primary-standard-active-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-standard-active-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-standard-disabled-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-primary-standard-disabled-text-and-icon: var(--udexColorBlue8, #0057D2);--udex-button-color-primary-standard-focus-border: var(--udexColorBlue10, #002A86);--udex-button-color-primary-toggled-default-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-primary-toggled-default-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-default-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-hover-background: var(--udexColorBlue10, #002A86);--udex-button-color-primary-toggled-hover-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-hover-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-disabled-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-primary-toggled-disabled-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-primary-toggled-disabled-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-secondary-standard-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-standard-default-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-standard-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-standard-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-secondary-standard-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-secondary-standard-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-secondary-standard-active-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-secondary-standard-active-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-secondary-standard-active-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-secondary-standard-disabled-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-standard-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-standard-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-toggled-default-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-secondary-toggled-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-secondary-toggled-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-secondary-toggled-disabled-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-secondary-toggled-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-secondary-toggled-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-standard-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-standard-default-border: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-standard-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-standard-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-tertiary-standard-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-tertiary-standard-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-tertiary-standard-active-background: var(--udexColorNeutralBlack40, #00000066);--udex-button-color-tertiary-standard-active-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-tertiary-standard-active-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-tertiary-standard-disabled-background: var(--udexColorNeutralBlack, #000000);--udex-button-color-tertiary-standard-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-standard-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-toggled-default-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-toggled-default-border: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-toggled-default-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-toggled-hover-background: var(--udexColorNeutralBlack10, #0000001A);--udex-button-color-tertiary-toggled-hover-border: var(--udexColorGrey5, #8396A8);--udex-button-color-tertiary-toggled-hover-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-tertiary-toggled-disabled-background: var(--udexColorNeutralWhite0, #FFFFFF00);--udex-button-color-tertiary-toggled-disabled-border: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-tertiary-toggled-disabled-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-invisible-standard-default-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-invisible-standard-hover-text-and-icon: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-invisible-standard-active-text-and-icon: var(--udexColorBlue5, #4DB1FF);--udex-button-color-invisible-standard-disabled-text-and-icon: var(--udexColorBlue3, #A6E0FF);--udex-button-color-positive-standard-default-background: var(--udexColorGreen8, #256F3A);--udex-button-color-positive-standard-default-border: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-default-text-and-icon: var(--udexColorGreen2, #EBF5CB);--udex-button-color-positive-standard-hover-background: var(--udexColorGreen10, #164323);--udex-button-color-positive-standard-hover-border: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-hover-text-and-icon: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-active-background: var(--udexColorGrey11, #12171C);--udex-button-color-positive-standard-active-border: var(--udexColorGreen4, #97DD40);--udex-button-color-positive-standard-active-text-and-icon: var(--udexColorGreen4, #97DD40);--udex-button-color-positive-standard-disabled-background: var(--udexColorGreen8, #256F3A);--udex-button-color-positive-standard-disabled-border: var(--udexColorGreen3, #BDE986);--udex-button-color-positive-standard-disabled-text-and-icon: var(--udexColorGreen2, #EBF5CB);--udex-button-color-positive-toggled-default-background: var(--udexColorGrey11, #12171C);--udex-button-color-positive-toggled-default-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-default-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-hover-background: var(--udexColorBlue10, #002A86);--udex-button-color-positive-toggled-hover-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-hover-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-disabled-background: var(--udexColorGrey11, #12171C);--udex-button-color-positive-toggled-disabled-border: var(--udexColorBlue4, #89D1FF);--udex-button-color-positive-toggled-disabled-text-and-icon: var(--udexColorBlue4, #89D1FF);--udex-button-color-negative-standard-default-background: var(--udexColorRed8, #AA0808);--udex-button-color-negative-standard-default-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-default-text-and-icon: var(--udexColorRed2, #FFD5EA);--udex-button-color-negative-standard-hover-background: var(--udexColorRed10, #5A0404);--udex-button-color-negative-standard-hover-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-hover-text-and-icon: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-active-background: var(--udexColorGrey11, #12171C);--udex-button-color-negative-standard-active-border: var(--udexColorRed4, #FF8CB2);--udex-button-color-negative-standard-active-text-and-icon: var(--udexColorRed4, #FF8CB2);--udex-button-color-negative-standard-disabled-background: var(--udexColorRed8, #AA0808);--udex-button-color-negative-standard-disabled-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-standard-disabled-text-and-icon: var(--udexColorRed2, #FFD5EA);--udex-button-color-negative-toggled-default-background: var(--udexColorGrey11, #12171C);--udex-button-color-negative-toggled-default-border: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-toggled-default-text-and-icon: var(--udexColorRed3, #FFB2D2);--udex-button-color-negative-toggled-hover-background: var(--udexColorMango4, #FFC933);--udex-button-color-negative-toggled-hover-border: var(--udexColorNeutralBlack, #000000);--udex-button-color-negative-toggled-hover-text-and-icon: var(--udexColorNeutralBlack, #000000);--udex-button-color-negative-toggled-disabled-background: var(--udexColorBlue4, #89D1FF);--udex-button-color-negative-toggled-disabled-border: var(--udexColorNeutralBlack, #000000);--udex-button-color-negative-toggled-disabled-text-and-icon: var(--udexColorNeutralBlack, #000000);--udex-button-color-warning-standard-default-background: var(--udexColorMango8, #A93E00);--udex-button-color-warning-standard-default-border: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-default-text-and-icon: var(--udexColorMango2, #FFF3B8);--udex-button-color-warning-standard-hover-background: var(--udexColorMango10, #6D1900);--udex-button-color-warning-standard-hover-border: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-hover-text-and-icon: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-active-background: var(--udexColorGrey11, #12171C);--udex-button-color-warning-standard-active-border: var(--udexColorMango4, #FFC933);--udex-button-color-warning-standard-active-text-and-icon: var(--udexColorMango4, #FFC933);--udex-button-color-warning-standard-disabled-background: var(--udexColorMango8, #A93E00);--udex-button-color-warning-standard-disabled-border: var(--udexColorMango3, #FFDF72);--udex-button-color-warning-standard-disabled-text-and-icon: var(--udexColorMango2, #FFF3B8);--udex-button-color-warning-toggled-default-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-warning-toggled-default-border: var(--udexColorMango10, #6D1900);--udex-button-color-warning-toggled-default-text-and-icon: var(--udexColorMango10, #6D1900);--udex-button-color-warning-toggled-hover-background: var(--udexColorMango2, #FFF3B8);--udex-button-color-warning-toggled-hover-border: var(--udexColorMango8, #A93E00);--udex-button-color-warning-toggled-hover-text-and-icon: var(--udexColorMango8, #A93E00);--udex-button-color-warning-toggled-disabled-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-color-warning-toggled-disabled-border: var(--udexColorMango10, #6D1900);--udex-button-color-warning-toggled-disabled-text-and-icon: var(--udexColorMango10, #6D1900)}
|
|
732
732
|
`;var Ri=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},e1,bf;(function(o){o.Vertical="Vertical",o.Horizontal="Horizontal"})(bf||(bf={}));let $o=e1=class extends z{constructor(){super(),this.orientation=bf.Vertical,this._colorMode=fu.light,this._lightModeColors=[1,2],this._darkModeColors=[7,8,9,10],this._defaultBackgroundColor="#FFF",this._handleResizeBound=this._handleResize.bind(this)}onEnterDOM(){se()&&this.setAttribute("desktop",""),Q.register(this,this._handleResizeBound)}onExitDOM(){Q.deregister(this,this._handleResizeBound)}onAfterRendering(){this._button=this.getButton(),this.applyColorScheme()}_handleResize(){this._button&&(this._button.size=this.isMobile?ye.Medium:ye.Large)}getButton(){return this.shadowRoot.querySelector("[udex-button]")}applyColorScheme(){if(!this.colorScheme)return;this._colorMode=this.checkColorMode(this.colorScheme);const e=this.checkEyebrowColor(this.colorScheme),t=this._colorMode===fu.dark,i=t?ve.Secondary:ve.Primary,a=t?"var(--udexColorNeutralWhite)":"inherit";this._button&&(this._button.design=this.buttonDesign||i),this.style.setProperty("--udex-promo-tile-icon-fill-color",a),this.style.setProperty("--udex-promo-tile-background",`var(--udexColor${this.colorScheme})`),this.style.setProperty("--udex-promo-tile-eyebrow-color",`var(--udexColor${e})`)}getColorNumber(e){const t=e.match(/\d+/);return t?parseInt(t[0]):0}checkColorMode(e){const t=this.getColorNumber(e);return t&&this._darkModeColors.includes(t)?fu.dark:fu.light}checkEyebrowColor(e){const t=this.getColorNumber(e);let i=ff.Blue8;return t===7?i="NeutralWhite":this._darkModeColors.includes(t)?i=e.replace(`${t}`,`${t-7}`):this._lightModeColors.includes(t)&&(i=e.replace(`${t}`,`${t+7}`)),i}handleCTAButtonClick(e){e.preventDefault(),this.fireDecoratorEvent("button-click")}get isMobile(){return io.isAtMost("S")}get promoTileContainerText(){return this.accessibleName||this.header||B(e1,TD)}get _showPictogram(){var e;return!!this.icon||!!this.logoUrl||!!((e=this.pictogram)!=null&&e.length)}get _showLogo(){return!this.icon&&!!this.logoUrl}get _imageLabel(){return this.imageLabel||B(e1,ID)}};Ri([D({type:HTMLElement,default:!0})],$o.prototype,"content",void 0);Ri([D({type:HTMLElement})],$o.prototype,"pictogram",void 0);Ri([d({type:String})],$o.prototype,"backgroundGradient",void 0);Ri([d()],$o.prototype,"orientation",void 0);Ri([d({type:String})],$o.prototype,"icon",void 0);Ri([d({type:String})],$o.prototype,"imageLabel",void 0);Ri([d({type:String})],$o.prototype,"logoUrl",void 0);Ri([d({type:String})],$o.prototype,"header",void 0);Ri([d({type:String})],$o.prototype,"eyebrow",void 0);Ri([d({type:String})],$o.prototype,"button",void 0);Ri([d()],$o.prototype,"buttonDesign",void 0);Ri([d()],$o.prototype,"colorScheme",void 0);Ri([d({type:String})],$o.prototype,"accessibleName",void 0);Ri([d({type:String})],$o.prototype,"_colorMode",void 0);Ri([V("@sapudex/web-components")],$o,"i18nBundle",void 0);$o=e1=Ri([T({tag:"udex-promo-tile",renderer:A,styles:uJ,template:dJ}),x("button-click",{cancelable:!0,bubbles:!0})],$o);$o.define();function cJ(){var e,t;const o="udex-quote";return g("div",{class:`${o}__container`,children:[((e=this.image)==null?void 0:e.length)>0&&!this.isImagePlacementRight&&C6.call(this,o),g("div",{class:`${o}__content-container`,children:[l("blockquote",{class:`${o}__text-container`,children:l("p",{class:`${o}__text`,children:l("slot",{})})}),this.author&&l("slot",{slot:"author",name:"author"}),this.link&&l("slot",{slot:"link",name:"link"})]}),((t=this.image)==null?void 0:t.length)>0&&this.isImagePlacementRight&&C6.call(this,o)]})}function C6(o){return l("div",{class:`${o}__image-container`,children:l("slot",{name:"image",slot:"image"})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const hJ=`:host{display:block;width:100%;container-type:inline-size}.udex-quote__container{display:flex;flex-direction:row;width:100%;text-align:left;gap:var(--udexSpacer24)}.udex-quote__container:dir(rtl){text-align:right}:host([image-size="small"]) .udex-quote__container,:host([text-size="small"]) .udex-quote__container{gap:var(--udexSpacer16)}.udex-quote__text,::slotted([slot="author"]),::slotted([slot="link"]){padding:0 50px}::slotted([slot="image"]){display:block;width:120px;height:120px}:host([mask="rectangle"]) ::slotted([slot="image"]){display:block;width:200px;height:100px;background-color:transparent;object-fit:contain}:host([image-size="small"]) ::slotted([slot="image"]){width:var(--udexSpacer64);height:var(--udexSpacer64)}:host([image-size="small"][mask="rectangle"]) ::slotted([slot="image"]){width:160px;height:80px}.udex-quote__text-container{quotes:"\\201c""\\201d";position:relative;margin:0}.udex-quote__text{margin:0 0 var(--udexSpacer24);font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyBodyXLFontSize, 24px);line-height:var(--udexTypographyBodyLineHeight, 1.5);color:var(--udexColorGrey8, #354A5F)}.udex-quote__text ::slotted(*){margin:0}.udex-quote__text-container:before,.udex-quote__text-container:after{font-family:"72 Brand Variable",Arial,Helvetica,"sans-serif";font-weight:var(--udexTypographyFontWeightMedium, 500);text-align:center;position:absolute;display:inline-block;font-size:84px;line-height:84px;height:58px;width:34px;color:var(--udexColorGrey8, #354A5F);margin-top:-9px}.udex-quote__text-container:before{content:open-quote;top:0;left:0}.udex-quote__text-container:after{content:close-quote;top:0;right:0}:host([text-size="small"]) .udex-quote__text-container:after,:host([text-size="small"]) .udex-quote__text-container:before{font-size:72px;line-height:72px;font-weight:var(--udexTypographyFontWeightRegular, 400);height:50px;width:26px;margin-top:-12px}::slotted([slot="author"]){display:block;margin-bottom:var(--udexSpacer24);font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyHeadingRegularXXSFontSize, 20px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);color:var(--udexColorGrey8, #354A5F)}:host([text-size="small"]) .udex-quote__text{font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 1.5);padding-inline:34px}:host([text-size="small"]) ::slotted([slot="author"]){font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyNavigationRegularMFontSize, 14px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);padding-inline:34px}:host([text-size="small"]) ::slotted([slot="link"]){padding-inline:34px}@media screen and (width < 1280px){.udex-quote__container{gap:var(--udexSpacer16)}::slotted([slot="author"]){font-size:var(--udexTypographyNavigationRegularMFontSize, 14px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);padding:0 34px}::slotted([slot="link"]){padding:0 34px}::slotted([slot="image"]){width:var(--udexSpacer64);height:var(--udexSpacer64)}:host([mask="rectangle"]) ::slotted([slot="image"]){width:160px;height:80px}.udex-quote__text-container:after,.udex-quote__text-container:before{font-size:72px;font-weight:var(--udexTypographyFontWeightRegular, 400);line-height:72px;height:50px;width:26px}.udex-quote__text{font-size:var(--udexTypographyBodySFontSize, 16px);line-height:var(--udexTypographyBodyLineHeight, 1.5);padding:0 34px}}@media (width < 640px){.udex-quote__container{flex-direction:column;gap:var(--udexSpacer16)}:host([image-placement="right"]) .udex-quote__container{flex-direction:column-reverse;gap:var(--udexSpacer16)}::slotted([slot="image"]){margin:0 auto}}
|
|
733
733
|
`;var _s=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},q1;(function(o){o.small="small",o.large="large"})(q1||(q1={}));var xf;(function(o){o.avatar="avatar",o.rectangle="rectangle"})(xf||(xf={}));var Y1;(function(o){o.left="left",o.right="right"})(Y1||(Y1={}));let Ra=class extends z{constructor(){super(...arguments),this.imageSize=q1.large,this.textSize=q1.large,this.mask=xf.avatar,this.imagePlacement=Y1.left}get isImagePlacementRight(){return this.imagePlacement===Y1.right}};_s([D({type:HTMLElement,default:!0})],Ra.prototype,"content",void 0);_s([D()],Ra.prototype,"link",void 0);_s([D()],Ra.prototype,"author",void 0);_s([D()],Ra.prototype,"image",void 0);_s([d()],Ra.prototype,"imageSize",void 0);_s([d()],Ra.prototype,"textSize",void 0);_s([d()],Ra.prototype,"mask",void 0);_s([d()],Ra.prototype,"imagePlacement",void 0);Ra=_s([T({tag:"udex-quote",renderer:A,styles:hJ,template:cJ})],Ra);Ra.define();const _J="direction-arrows",pJ="M14.863 8.172c.091.091.137.2.137.328 0 .11-.046.21-.137.3l-3.09 3.063a.448.448 0 0 1-.328.137.418.418 0 0 1-.3-.137.418.418 0 0 1-.137-.3V5.436c0-.218.091-.355.273-.41A.38.38 0 0 1 11.445 5c.146 0 .255.036.328.11l3.09 3.062ZM4.691 5.027c.183.055.274.192.274.41v6.125a.44.44 0 0 1-.123.301.404.404 0 0 1-.315.137.418.418 0 0 1-.3-.137l-3.09-3.062A.418.418 0 0 1 1 8.5c0-.128.046-.237.137-.328l3.09-3.063a.406.406 0 0 1 .3-.109.38.38 0 0 1 .164.027Z",gJ=!1,vJ="0 0 16 16",mJ="SAP-icons-v4",fJ="@ui5/webcomponents-icons";U(_J,{pathData:pJ,ltr:gJ,viewBox:vJ,collection:mJ,packageName:fJ});const bJ="direction-arrows",xJ="M3.737 4.2A.751.751 0 0 1 5 4.75v6.5a.75.75 0 0 1-1.262.55L.236 8.55a.758.758 0 0 1 0-1.1L3.737 4.2Zm7.715-.137a.751.751 0 0 1 .81.137l3.502 3.25a.758.758 0 0 1 0 1.1l-3.502 3.25a.751.751 0 0 1-1.26-.55v-6.5a.75.75 0 0 1 .45-.687Z",yJ=!1,CJ="0 0 16 16",wJ="SAP-icons-v5",SJ="@ui5/webcomponents-icons";U(bJ,{pathData:xJ,ltr:yJ,viewBox:CJ,collection:wJ,packageName:SJ});const kJ="direction-arrows";function TJ(){return l("div",{class:{"ui5-slider-handle-container":!0,"ui5-slider-handle":!0,"ui5-slider-handle--start":this.handleType===rd.Start,"ui5-slider-handle--end":this.handleType===rd.End},children:l(R,{name:kJ,mode:"Decorative",part:"icon","slider-icon":!0})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const IJ=`:host{background:var(--_ui5_slider_handle_background);border:var(--_ui5_slider_handle_border);border-radius:var(--_ui5_slider_handle_border_radius);position:absolute;outline:none;height:var(--_ui5_slider_handle_height);width:var(--_ui5_slider_handle_width);box-sizing:var(--_ui5_slider_handle_box_sizing);display:flex;justify-content:center;align-items:center;z-index:5;cursor:pointer;margin-inline-start:calc(var(--_ui5_slider_handle_width) / -2);top:50%;transform:translateY(-50%)}:host([desktop]:focus),:host(:focus-visible){outline:var(--ui5_slider_handle_outline);outline-offset:var(--ui5_slider_handle_outline_offset);z-index:6}:host([desktop]:hover),:host([hovered]){background:var(--_ui5_slider_handle_hover_background);border:var(--_ui5_slider_handle_hover_border)}.ui5-slider-handle-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;outline:none}[slider-icon]{display:var(--_ui5_slider_handle_icon_display);color:var(--sapContent_Selected_ForegroundColor);width:var(--_ui5_slider_handle_icon_size);height:var(--_ui5_slider_handle_icon_size)}:host([desktop]:focus),:host(:focus-visible),:host([active]),:host(:active){background-color:var(--_ui5_slider_handle_background_focus);border:var(--_ui5_slider_handle_focus_border)}:host([desktop]:focus) [slider-icon],:host(:focus-visible) [slider-icon],:host([active]) [slider-icon],:host(:active) [slider-icon]{display:none}:host([orientation="Vertical"]){transform:rotate(90deg)}
|
|
734
734
|
`;var ps=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},rd;(function(o){o.Start="Start",o.End="End",o.Single="Single"})(rd||(rd={}));let Wr=class extends z{constructor(){super(...arguments),this.value=0,this.min=0,this.max=100,this.active=!1,this.desktop=!1,this.hovered=!1,this.orientation="Horizontal",this.handleType="Single"}getFocusDomRef(){return this}};ps([d({type:Number})],Wr.prototype,"value",void 0);ps([d({type:Number})],Wr.prototype,"min",void 0);ps([d({type:Number})],Wr.prototype,"max",void 0);ps([d({type:Boolean})],Wr.prototype,"active",void 0);ps([d({type:Boolean})],Wr.prototype,"desktop",void 0);ps([d({type:Boolean})],Wr.prototype,"hovered",void 0);ps([d()],Wr.prototype,"orientation",void 0);ps([d()],Wr.prototype,"handleType",void 0);Wr=ps([T({tag:"ui5-slider-handle",renderer:A,template:TJ,styles:IJ})],Wr);Wr.define();const E2=Wr;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const BJ=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{vertical-align:middle}
|
|
@@ -742,13 +742,13 @@ or import '@sapudex/design-tokens/dist/themes/sap_glow/css_variables.css'`)};doc
|
|
|
742
742
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
743
743
|
*/var EJ=/[\x00-\x2b\x2f\x3a-\x40\x5b-\x5e\x60\x7b-\xff\u2028\u2029]/g,DJ=/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f-\x9f]/,w6={"<":"<",">":">","&":"&",'"':"""},RJ=function(o){var e=w6[o];return e||(DJ.test(o)?e="�":e="&#x"+AJ(o.charCodeAt(0))+";",w6[o]=e),e},Zc=function(o){return o.replace(EJ,RJ)};const PJ=(o,e,t,i)=>{Qe(o)&&(t!==e.length-1?(o.stopImmediatePropagation(),o.preventDefault(),e[t+1].focus()):(i.closeValueState(),i.focusInput())),pt(o)&&(o.preventDefault(),o.stopImmediatePropagation(),t>0?e[t-1].focus():i.focusInput()),Ne(o)&&(o.preventDefault(),o.stopImmediatePropagation(),i.isPopoverOpen()&&i.focusInput()),Be(o)&&(o.preventDefault(),o.stopImmediatePropagation(),i.navigateToItem()),De(o)&&(o.preventDefault(),o.stopImmediatePropagation())},LJ=o=>{let e=0;return(o.selectionStart||o.selectionStart===0)&&(e=o.selectionDirection==="backward"?o.selectionStart:o.selectionEnd),e},NJ=(o,e)=>{o.selectionStart?(o.focus(),o.setSelectionRange(e,e)):o.focus()};var yf;(function(o){o.Text="Text",o.Email="Email",o.Number="Number",o.Password="Password",o.Tel="Tel",o.URL="URL",o.Search="Search"})(yf||(yf={}));const MJ=yf;function OJ(o){var i;const e=o==null?void 0:o.suggestionsList,t=o==null?void 0:o.mobileHeader;return g(P,{children:[this._effectiveShowSuggestions&&((i=this.Suggestions)==null?void 0:i.template.call(this,{suggestionsList:e,mobileHeader:t,valueStateMessage:S6,valueStateMessageInputIcon:k6})),this.hasValueStateMessage&&l(ni,{preventInitialFocus:!0,preventFocusRestore:!0,hideArrow:!0,accessibleRole:"None",class:"ui5-valuestatemessage-popover",placement:"Bottom",tabindex:-1,horizontalAlign:Fi.Start,opener:this,open:this.valueStateOpen,onClose:this._handleValueStatePopoverAfterClose,children:g("div",{slot:"header",class:this.classes.popoverValueState,children:[l(R,{class:"ui5-input-value-state-message-icon",name:k6.call(this)}),this.valueStateOpen&&S6.call(this)]})})]})}function S6(){return l(P,{children:this.shouldDisplayDefaultValueStateMessage?this.valueStateText:l("slot",{name:"valueStateMessage"})})}function k6(){const o={Negative:J0,Critical:Q0,Positive:e2,Information:I_};return this.valueState!==fe.None?o[this.valueState]:""}function FJ(o){const e=o==null?void 0:o.suggestionsList,t=o==null?void 0:o.mobileHeader,i=(o==null?void 0:o.preContent)||zJ,a=(o==null?void 0:o.postContent)||$J;return g(P,{children:[l("div",{class:"ui5-input-root ui5-input-focusable-element",part:"root",onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,children:g("div",{class:"ui5-input-content",children:[i.call(this),l("input",{id:"inner",part:"input",class:"ui5-input-inner",style:this.styles.innerInput,type:this.inputNativeType,"inner-input":!0,"inner-input-with-icon":this.iconsCount>0,disabled:this.disabled,readonly:this._readonly,value:this.value,required:this.required,placeholder:this._placeholder,maxlength:this.maxlength,role:this.accInfo.role,enterkeyhint:this.hint,"aria-controls":this.accInfo.ariaControls,"aria-invalid":this.accInfo.ariaInvalid,"aria-haspopup":this.accInfo.ariaHasPopup,"aria-describedby":this.accInfo.ariaDescribedBy,"aria-roledescription":this.accInfo.ariaRoledescription,"aria-autocomplete":this.accInfo.ariaAutoComplete,"aria-expanded":this.accInfo.ariaExpanded,"aria-label":this.accInfo.ariaLabel,"aria-required":this.required,autocomplete:"off","data-sap-focus-ref":!0,step:this.nativeInputAttributes.step,min:this.nativeInputAttributes.min,max:this.nativeInputAttributes.max,onInput:this._handleNativeInput,onChange:this._handleChange,onSelect:this._handleSelect,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._click,onFocusIn:this.innerFocusIn}),this._effectiveShowClearIcon&&l("div",{tabindex:-1,class:"ui5-input-clear-icon-wrapper inputIcon",part:"clear-icon-wrapper",onClick:this._clear,onMouseDown:this._iconMouseDown,children:l(R,{part:"clear-icon",class:"ui5-input-clear-icon",name:Ui,tabindex:-1,accessibleName:this.clearIconAccessibleName})}),this.icon.length>0&&l("div",{class:"ui5-input-icon-root",tabindex:-1,children:l("slot",{name:"icon"})}),l("div",{class:"ui5-input-value-state-icon",children:this._valueStateInputIcon}),a.call(this),this._effectiveShowSuggestions&&g(P,{children:[l("span",{id:"suggestionsText",class:"ui5-hidden-text",children:this.suggestionsText}),l("span",{id:"selectionText",class:"ui5-hidden-text","aria-live":"polite",role:"status"}),l("span",{id:"suggestionsCount",class:"ui5-hidden-text","aria-live":"polite",children:this.availableSuggestionsCount})]}),this.accInfo.ariaDescription&&l("span",{id:"descr",class:"ui5-hidden-text",children:this.accInfo.ariaDescription}),this.accInfo.accessibleDescription&&l("span",{id:"accessibleDescription",class:"ui5-hidden-text",children:this.accInfo.accessibleDescription}),this.linksInAriaValueStateHiddenText.length>0&&l("span",{id:"hiddenText-value-state-link-shortcut",class:"ui5-hidden-text",children:this.valueStateLinksShortcutsTextAcc}),this.hasValueState&&l("span",{id:"valueStateDesc",class:"ui5-hidden-text",children:this.ariaValueStateHiddenText})]})}),OJ.call(this,{suggestionsList:e,mobileHeader:t})]})}function zJ(){}function $J(){}const HJ=/[[\]{}()*+?.\\^$|]/g,XJ=o=>o.replace(HJ,"\\$&"),UJ=(o,e,t)=>{const i=new RegExp(`(^|\\s)${XJ(o.toLowerCase())}.*`,"g");return e.filter(a=>{const r=a[t];return i.lastIndex=0,i.test((r??"").toLowerCase())})},j9=(o,e,t)=>e.filter(i=>(i[t]||"").toLowerCase().startsWith(o.toLowerCase())),jJ=(o,e,t)=>e.filter(i=>(i[t]||"").toLowerCase().includes(o.toLowerCase())),VJ=(o,e)=>e,T6=Object.freeze(Object.defineProperty({__proto__:null,Contains:jJ,None:VJ,StartsWith:j9,StartsWithPerTerm:UJ},Symbol.toStringTag,{value:"Module"}));m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const GJ=`:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-input-icon-root{height:100%;box-sizing:border-box}.inputIcon{color:var(--_ui5_input_icon_color);cursor:var(--_ui5_input_icon_state_cursor, pointer);opacity:var(--_ui5_input_icon_state_opacity, 1);pointer-events:var(--_ui5_input_icon_state_pointer_events, auto);outline:none;padding:var(--_ui5_input_icon_state_padding, var(--_ui5_input_icon_padding));border-inline-start:var(--_ui5_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5_input_icon_border_radius);display:flex;align-items:center;justify-content:center}.inputIcon:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_icon_state_focus_outline_color, var(--sapContent_FocusColor));outline-offset:-.125rem}.inputIcon.inputIcon--pressed{background:var(--_ui5_input_icon_pressed_bg);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow));border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_state_pressed_color, var(--_ui5_input_icon_pressed_color))}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow));border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_state_pressed_color, var(--_ui5_input_icon_pressed_color))}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5_input_icon_hover_bg);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow))}.inputIcon:hover{border-inline-start:var(--_ui5_select_hover_icon_left_border);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow))}.ui5-input-icon-inner{display:flex;width:1rem;height:1rem;color:inherit;pointer-events:none;flex-shrink:0}.inputIcon.inputIcon--focused{outline-color:var(--_ui5_input_icon_state_focus_outline_color, var(--sapContent_FocusColor));border-inline-start-color:var(--_ui5_input_icon_state_focus_outline_color)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5_input_width);min-width:calc(var(--_ui5_input_min_width) + (var(--_ui5-input-icons-count)*var(--_ui5_input_icon_width)));margin:var(--_ui5_input_margin_top_bottom) 0;height:var(--_ui5_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-input-border);border-radius:var(--_ui5_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_focus_outline_color);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5_input_readonly_focus_offset);bottom:var(--_ui5_input_readonly_focus_offset);left:var(--_ui5_input_readonly_focus_offset);right:var(--_ui5_input_readonly_focus_offset);border-radius:var(--_ui5_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5_input_bottom_border_height);transition:var(--_ui5_input_transition);background-color:var(--_ui5_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-input_disabled_background);border-color:var(--_ui5_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5_input_hover_border);border-color:var(--_ui5_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"]):not([value-state="Positive"]):not([value-state="Information"])){border-width:var(--_ui5_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5_input_error_warning_font_style);text-indent:var(--_ui5_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_error_background);border-color:var(--_ui5_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_warning_background);border-color:var(--_ui5_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5_input_value_state_success_border_color);border-width:var(--_ui5_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_success_background);border-color:var(--_ui5_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5_input_value_state_information_border_color);border-width:var(--_ui5_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_information_background);border-color:var(--_ui5_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}::slotted([ui5-input-icon]){height:100%}.ui5-input-icon-root{min-width:var(--_ui5_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_error_icon_box_shadow);color:var(--_ui5_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_warning_icon_box_shadow);color:var(--_ui5_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_information_icon_box_shadow);color:var(--_ui5_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_success_icon_box_shadow);color:var(--_ui5_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_height);padding:0;width:var(--_ui5_input_icon_width);min-width:var(--_ui5_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}[ui5-responsive-popover] [ui5-input]{width:100%}:host([value-state="Negative"]),:host([value-state="Critical"]){--_ui5_input_icon_state_padding: var(--_ui5_input_error_warning_icon_padding)}:host([value-state="Information"]){--_ui5_input_icon_state_padding: var(--_ui5_input_information_icon_padding)}:host([value-state="Negative"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_error_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_error_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Critical"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_warning_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_warning_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Information"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_information_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_information_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--sapContent_FocusColor)}:host([value-state="Positive"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_success_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_success_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([disabled]){--_ui5_input_icon_state_opacity: var(--sapContent_DisabledOpacity);--_ui5_input_icon_state_pointer_events: none;--_ui5_input_icon_state_cursor: default}:host([readonly]:not([disabled])){--_ui5_input_icon_state_pointer_events: none;--_ui5_input_icon_state_cursor: default}
|
|
744
744
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const V9=`.ui5-valuestatemessage-popover{border-radius:var(--_ui5_value_state_message_popover_border_radius);box-shadow:var(--_ui5_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5_value_state_message_icon_width);height:var(--_ui5_value_state_message_icon_height);display:var(--_ui5_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5_input_value_state_icon_offset)}.ui5-input-value-state-message-icon[name=error]{color:var(--sapNegativeElementColor)}.ui5-input-value-state-message-icon[name=alert]{color:var(--sapCriticalElementColor)}.ui5-input-value-state-message-icon[name=success]{color:var(--sapPositiveElementColor)}.ui5-input-value-state-message-icon[name=information]{color:var(--sapInformativeElementColor)}.ui5-valuestatemessage-root{box-sizing:border-box;display:inline-block;color:var(--sapTextColor);font-size:var(--sapFontSmallSize);font-family:var(--sapFontFamily);height:auto;padding:var(--_ui5_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5_value_state_message_border);line-height:var(--_ui5_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:var(--_ui5_value_state_message_popover_header_min_height);min-width:var(--_ui5_value_state_message_popover_header_min_width);max-width:var(--_ui5_value_state_message_popover_header_max_width);width:var(--_ui5_value_state_message_popover_header_width)}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5_value_state_header_padding);border:var(--_ui5_value_state_header_border);border-bottom:var(--_ui5_value_state_header_border_bottom);flex-grow:1;position:relative}.ui5-valuestatemessage--success{background:var(--sapSuccessBackground)}.ui5-valuestatemessage--warning{background:var(--sapWarningBackground)}.ui5-valuestatemessage--error{background:var(--sapErrorBackground)}.ui5-valuestatemessage--information{background:var(--sapInformationBackground)}.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5_value_state_header_offset);outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-valuestatemessage-popover::part(header),.ui5-valuestatemessage-popover::part(content){padding:0}.ui5-valuestatemessage-popover::part(header),.ui5-valuestatemessage-popover::part(footer){min-height:0}.ui5-valuestatemessage-popover::part(header),.ui5-popover-with-value-state-header::part(header),.ui5-popover-with-value-state-header-phone::part(header){margin-bottom:0}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-root{padding:var(--_ui5_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0;max-width:100%}.ui5-popover-with-value-state-header-phone::part(content){padding:0;overflow:hidden;display:flex;flex-direction:column}.ui5-popover-with-value-state-header-phone [ui5-list]{overflow:auto}[ui5-responsive-popover] .ui5-valuestatemessage--error{box-shadow:var(--_ui5_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5_value_state_header_box_shadow_warning)}[ui5-responsive-popover].ui5-popover-with-value-state-header .ui5-valuestatemessage-root:has(+[ui5-list]:empty){box-shadow:none}
|
|
745
|
-
`;var Cf;(function(o){o.StartsWithPerTerm="StartsWithPerTerm",o.StartsWith="StartsWith",o.Contains="Contains",o.None="None"})(Cf||(Cf={}));const I6=Cf;var Ee=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},We,Hn;(function(o){o.CHANGE="change",o.INPUT="input",o.SELECTION_CHANGE="selection-change"})(Hn||(Hn={}));var K1;(function(o){o.ACTION_ENTER="enter",o.ACTION_USER_INPUT="input"})(K1||(K1={}));let ke=We=class extends z{get formValidityMessage(){var e;return(e=this.nativeInput)==null?void 0:e.validationMessage}get _effectiveShowSuggestions(){return!!(this.showSuggestions&&this.Suggestions)}get formValidity(){var e,t,i;return{valueMissing:(e=this.nativeInput)==null?void 0:e.validity.valueMissing,typeMismatch:this.required&&((t=this.nativeInput)==null?void 0:t.validity.typeMismatch),patternMismatch:(i=this.nativeInput)==null?void 0:i.validity.patternMismatch}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.value}constructor(){super(),this.disabled=!1,this.highlight=!1,this.readonly=!1,this.required=!1,this.noTypeahead=!1,this.type="Text",this.value="",this.valueState="None",this.showSuggestions=!1,this.showClearIcon=!1,this.open=!1,this.filter=I6.None,this._effectiveShowClearIcon=!1,this.focused=!1,this.valueStateOpen=!1,this._inputAccInfo={},this._nativeInputAttributes={},this._inputIconFocused=!1,this._linksListenersArray=[],this._isComposing=!1,this._handleLinkNavigation=!1,this.hasSuggestionItemSelected=!1,this.valueBeforeItemSelection="",this.valueBeforeSelectionStart="",this.previousValue="",this.firstRendering=!0,this.typedInValue="",this.lastConfirmedValue="",this.isTyping=!1,this._isLatestValueFromSuggestions=!1,this._isChangeTriggeredBySuggestion=!1,this._indexOfSelectedItem=-1,this._handleResizeBound=this._handleResize.bind(this),this._focusedAfterClear=!1,this._valueStateLinks=[]}onEnterDOM(){Q.register(this,this._handleResizeBound),b5(this,this._updateAssociatedLabelsTexts.bind(this)),this._enableComposition()}onExitDOM(){var e;Q.deregister(this,this._handleResizeBound),x5(this),this._removeLinksEventListeners(),(e=this._composition)==null||e.removeEventListeners()}_highlightSuggestionItem(e){var t;e.markupText=this.typedInValue?(t=this.Suggestions)==null?void 0:t.hightlightInput(e.text||"",this.typedInValue):Zc(e.text||"")}_isGroupItem(e){return e.hasAttribute("ui5-suggestion-item-group")}onBeforeRendering(){this.showSuggestions&&(this.enableSuggestions(),this._flattenItems.forEach(c=>{var p;c.hasAttribute("ui5-suggestion-item")?this._highlightSuggestionItem(c):this._isGroupItem(c)&&((p=c.items)==null||p.forEach(_=>{this._highlightSuggestionItem(_)}))})),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.style.setProperty("--_ui5-input-icons-count",`${this.iconsCount}`);const e=!!this._flattenItems.length,t=!!this.value,i=this.shadowRoot.querySelector("input")===$r(),a=this.disabled||this.readonly,r=!a&&!this._isPhone&&e&&(this.open||t&&i&&this.isTyping);a?this.open=!1:this._isPhone||(this.open=e&&(this.open||t&&i&&this.isTyping)),this.shouldDisplayOnlyValueStateMessage&&!r?this.openValueStatePopover():this.closeValueStatePopover();const n=this.value,s=this.getInputDOMRefSync();if(!s||!n)return;this.filter!==I6.None&&this._filterItems(this.typedInValue);const u=s.selectionEnd-s.selectionStart;if(this._shouldAutocomplete&&!Vw()&&!u&&!this._isKeyNavigation){const c=this._getFirstMatchingItem(n);c?(this._isComposing||this._handleTypeAhead(c),this._selectMatchingItem(c)):this._matchedSuggestionItem=void 0}}onAfterRendering(){var e;this.showSuggestions&&((e=this.Suggestions)!=null&&e._getPicker())&&(this._listWidth=this.Suggestions._getListWidth(),this.Suggestions._getList()._itemNavigation._getItems=()=>[]),this._performTextSelection&&(this.typedInValue.length&&this.value.length&&this._adjustSelectionRange(),this.fireDecoratorEvent("type-ahead")),this._performTextSelection=!1,E4(this._valueStateLinks,this.linksInAriaValueStateHiddenText)||(this._removeLinksEventListeners(),this._addLinksEventListeners(),this._valueStateLinks=this.linksInAriaValueStateHiddenText)}_adjustSelectionRange(){var r,n;const e=this.getInputDOMRefSync(),t=(r=this.Suggestions)==null?void 0:r._getItems().filter(s=>!s.hidden),i=t==null?void 0:t.find(s=>s.selected||s.focused),a=this._flattenItems.filter(s=>this._isGroupItem(s));i&&!a.includes(i)?((n=i==null?void 0:i.text)==null?void 0:n.toLowerCase().startsWith(this.typedInValue.toLowerCase()))?e.setSelectionRange(this.typedInValue.length,this.value.length):e.setSelectionRange(0,this.value.length):e.setSelectionRange(this.typedInValue.length,this.value.length)}_onkeydown(e){if(this._isKeyNavigation=!0,this._shouldAutocomplete=!this.noTypeahead&&!(dh(e)||Hs(e)||De(e)),Ne(e))return this._handleUp(e);if(Be(e))return this._handleDown(e);if(K(e))return this._handleSpace(e);if(Qe(e))return this._handleTab();if(ie(e)){const t=this.previousValue===this.getInputDOMRefSync().value;if(this._enterKeyDown=!0,t){this.fireDecoratorEvent("_request-submit"),Ev(this);return}return this._handleEnter(e)}if(fa(e))return this._handlePageUp(e);if(Zn(e))return this._handlePageDown(e);if(lt(e))return this._handleHome(e);if(Ot(e))return this._handleEnd(e);if(De(e))return this._handleEscape();if(wT(e))return this._handleCtrlAltF8();this.showSuggestions&&this._clearPopoverFocusAndSelection(),this._isKeyNavigation=!1}_onkeyup(e){Hs(e)&&(this.value=e.target.value),this._enterKeyDown=!1}get currentItemIndex(){var r;const t=((r=this.Suggestions)==null?void 0:r._getItems()).filter(n=>!n.hidden),i=t.find(n=>n.selected||n.focused);return i?t.indexOf(i):-1}_handleUp(e){var t;(t=this.Suggestions)!=null&&t.isOpened()&&this.Suggestions.onUp(e,this.currentItemIndex)}_handleDown(e){var t;(t=this.Suggestions)!=null&&t.isOpened()&&this.Suggestions.onDown(e,this.currentItemIndex)}_handleSpace(e){this.Suggestions&&this.Suggestions.onSpace(e)}_handleTab(){this.Suggestions&&this.previousValue!==this.value&&this.Suggestions.onTab()}_handleCtrlAltF8(){this._handleLinkNavigation=!0;const e=this.linksInAriaValueStateHiddenText;e.length&&e[0].focus()}_addLinksEventListeners(){const e=this.linksInAriaValueStateHiddenText;e.forEach((t,i)=>{this._linksListenersArray.push(a=>{PJ(a,e,i,{closeValueState:()=>{var r,n;(r=this.Suggestions)!=null&&r.isOpened()&&((n=this.Suggestions)==null||n.close()),this.valueStateOpen&&this.closeValueStatePopover()},focusInput:()=>{this._handleLinkNavigation=!1,this.getInputDOMRef().focus()},navigateToItem:()=>{var r;this._handleLinkNavigation?(this._handleLinkNavigation=!1,(r=this.Suggestions)!=null&&r.isOpened()&&(this.innerFocusIn(),this.getInputDOMRef().focus(),this.Suggestions.onDown(a,this.currentItemIndex))):this._handleDown(a)},isPopoverOpen:()=>{var r;return this.Suggestions&&((r=this.Suggestions)==null?void 0:r.isOpened())||!1}})}),t.addEventListener("keydown",this._linksListenersArray[i])})}_removeLinksEventListeners(){this.linksInAriaValueStateHiddenText.forEach((t,i)=>{t.removeEventListener("keydown",this._linksListenersArray[i])}),this._linksListenersArray=[],this._handleLinkNavigation=!1}_handleEnter(e){var r;const t=!!((r=this.Suggestions)!=null&&r.onEnter(e)),i=this.getInputDOMRefSync();let a=this._matchedSuggestionItem;if(a||(a=this._selectableItems.find(n=>{var s;return((s=n.text)==null?void 0:s.toLowerCase())===this.value.toLowerCase()})),a){const n=a.text||"";i.setSelectionRange(n.length,n.length),t||(this.fireSelectionChange(a,!0),this.acceptSuggestion(a,!0),this.open=!1)}if(this._isPhone&&!this._flattenItems.length&&!this.isTypeNumber&&i.setSelectionRange(this.value.length,this.value.length),!t){this.lastConfirmedValue=this.value;return}this.focused=!0}_handlePageUp(e){var t;this._isSuggestionsFocused?(t=this.Suggestions)==null||t.onPageUp(e):e.preventDefault()}_handlePageDown(e){var t;this._isSuggestionsFocused?(t=this.Suggestions)==null||t.onPageDown(e):e.preventDefault()}_handleHome(e){var t;this._isSuggestionsFocused&&((t=this.Suggestions)==null||t.onHome(e))}_handleEnd(e){var t;this._isSuggestionsFocused&&((t=this.Suggestions)==null||t.onEnd(e))}_handleEscape(){var r;const t=this.showSuggestions&&!!this.Suggestions&&this.open,i=this.getInputDOMRefSync(),a=i.selectionEnd-i.selectionStart>0;if(this.isTyping=!1,this._matchedSuggestionItem=void 0,this.value!==this.previousValue&&this.value!==this.lastConfirmedValue&&!this.open){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue,this.fireDecoratorEvent(Hn.INPUT,{inputType:""});return}if(!t){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue;return}if(t&&((r=this.Suggestions)!=null&&r._isItemOnTarget())){this.value=this.typedInValue||this.valueBeforeSelectionStart,this.focused=!0;return}a&&(this.value=this.typedInValue),this.focused=!0}_onfocusin(e){this.focused=!0,this._focusedAfterClear||(this.previousValue=this.value),this.valueBeforeSelectionStart=this.value,this._inputIconFocused=!!e.target&&e.target===this.querySelector("[ui5-icon]"),this._focusedAfterClear=!1}innerFocusIn(){}_onfocusout(e){var i,a;const t=e.relatedTarget;(a=(i=this.Suggestions)==null?void 0:i._getPicker())!=null&&a.contains(t)||this.contains(t)||this.getSlottedNodes("valueStateMessage").some(r=>r.contains(t))||(this.focused=!1,this._isChangeTriggeredBySuggestion=!1,this.showClearIcon&&!this._effectiveShowClearIcon&&(this._clearIconClicked=!1,this._handleChange()),this.open=!1,this._clearPopoverFocusAndSelection(),this._clearIconClicked||(this.previousValue=""),this.lastConfirmedValue="",this.isTyping=!1,this.value!==this.previousValue&&this.showClearIcon&&(this._clearIconClicked=!1))}_clearPopoverFocusAndSelection(){var e,t;!this.showSuggestions||!this.Suggestions||(this.hasSuggestionItemSelected=!1,(e=this.Suggestions)==null||e._deselectItems(),(t=this.Suggestions)==null||t._clearItemFocus())}_click(){rt()&&!this.readonly&&this.Suggestions&&(this.blur(),this.open=!0)}_handleChange(){var t,i;if(this._clearIconClicked){this._clearIconClicked=!1;return}const e=()=>{this._isChangeTriggeredBySuggestion||this.fireDecoratorEvent(Hn.CHANGE),this.previousValue=this.value,this.typedInValue=this.value,this._isChangeTriggeredBySuggestion=!1};this.previousValue!==this.getInputDOMRefSync().value&&((i=(t=this.Suggestions)==null?void 0:t._getPicker())!=null&&i.open&&this._flattenItems.some(a=>a.hasAttribute("ui5-suggestion-item")&&a.selected)?this._changeToBeFired=!0:(e(),this._enterKeyDown&&(this.fireDecoratorEvent("_request-submit"),Ev(this))))}_clear(){const e=this.value;if(this.value="",!this.fireDecoratorEvent(Hn.INPUT,{inputType:""})){this.value=e;return}this.typedInValue="",this._isPhone||(this.fireResetSelectionChange(),this.focus(),this._focusedAfterClear=!0)}_iconMouseDown(){this._clearIconClicked=!0}_scroll(e){this.fireDecoratorEvent("suggestion-scroll",{scrollTop:e.detail.scrollTop,scrollContainer:e.detail.targetRef})}_handleSelect(){this.fireDecoratorEvent("select")}_handleInput(e){const t=e.detail&&e.detail.inputType||"";this._input(e,t)}_handleNativeInput(e){const t=e.inputType||"";this._input(e,t)}_input(e,t){const i=this.getInputDOMRefSync(),a=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];this._shouldAutocomplete=!a.includes(t)&&!this.noTypeahead,e.target===i&&(this.focused=!0,e.stopImmediatePropagation()),this.fireEventByAction(K1.ACTION_ENTER,e),this.hasSuggestionItemSelected=!1,this.Suggestions&&this.Suggestions.updateSelectedItemPosition(-1),this.filter&&e.target.value===""&&(this.open=!1),this.isTyping=!0}_startsWithMatchingItems(e){return j9(e,this._selectableItems,"text")}_getFirstMatchingItem(e){if(!this._flattenItems.length)return;const t=this._startsWithMatchingItems(e).filter(i=>!this._isGroupItem(i));if(t.length)return t[0]}_handleSelectionChange(e){var t;(t=this.Suggestions)==null||t.onItemPress(e)}_selectMatchingItem(e){e.selected=!0,this._matchedSuggestionItem=e}_filterItems(e){let t=[];const i=this._flattenItems.filter(a=>this._isGroupItem(a));this._resetItemVisibility(),i.length?t=this._filterGroups(this.filter,i):t=T6[this.filter](e,this._selectableItems,"text"),this._selectableItems.forEach(a=>{a.hidden=!t.includes(a)}),t.length===0&&(this.open=!1)}_filterGroups(e,t){const i=[];return t.forEach(a=>{const r=T6[e](this.typedInValue,a.items??[],"text");i.push(...r),r.length===0?a.hidden=!0:a.hidden=!1}),i}_resetItemVisibility(){this._flattenItems.forEach(e=>{var t;if(this._isGroupItem(e)){(t=e.items)==null||t.forEach(i=>{i.hidden=!1});return}e.hidden=!1})}_handleTypeAhead(e){const t=e.text?e.text:"",i=this.typedInValue;t.toLowerCase().startsWith(i.toLowerCase())&&(this.value=i+t.substring(i.length)),this._performTextSelection=!0,this._shouldAutocomplete=!1}_handleResize(){this._inputWidth=this.offsetWidth}_updateAssociatedLabelsTexts(){this._associatedLabelsTexts=ld(this),this._accessibleLabelsRefTexts=dd(this),this._associatedDescriptionRefTexts=m_(this)}_closePicker(){this.open=!1}_confirmMobileValue(){this._closePicker(),this._handleChange()}_cancelMobileValue(){this.value=this.previousValue,this._closePicker()}_afterOpenPicker(){var e;rt()&&(this.previousValue=this.value,this.getInputDOMRef().focus(),(e=this._composition)==null||e.addEventListeners()),this._handlePickerAfterOpen()}_afterClosePicker(){rt()&&(this.blur(),this.focused=!1),this._changeToBeFired&&!this._isChangeTriggeredBySuggestion?(this.previousValue=this.value,this.fireDecoratorEvent(Hn.CHANGE)):this._isChangeTriggeredBySuggestion=!1,this._changeToBeFired=!1,this.open=!1,this.isTyping=!1,this.hasSuggestionItemSelected&&this.focus();const e=this.shadowRoot.querySelector("#selectionText");e&&(e.textContent=""),this._handlePickerAfterClose()}_handlePickerAfterOpen(){this.fireDecoratorEvent("open")}_handlePickerAfterClose(){var e;(e=this.Suggestions)==null||e._onClose(),this.fireDecoratorEvent("close")}openValueStatePopover(){this.valueStateOpen=!0}closeValueStatePopover(){this.valueStateOpen=!1}_handleValueStatePopoverAfterClose(){this.valueStateOpen=!1,this._handleLinkNavigation=!1}_getValueStatePopover(){return this.shadowRoot.querySelector("[ui5-popover]")}enableSuggestions(){if(this.Suggestions)return;const e=t=>{t.i18nBundle=We.i18nBundle,this.Suggestions=new t(this,"suggestionItems",!0,!1)};We.SuggestionsClass?e(We.SuggestionsClass):v(()=>import("./InputSuggestions-6S5UueXO.js"),[]).then(t=>{e(t.default)})}_enableComposition(){if(this._composition)return;const e=t=>{this._composition=new t({getInputEl:()=>this.getInputDOMRefSync(),updateCompositionState:i=>{this._isComposing=i}}),this._composition.addEventListeners()};We.composition?e(We.composition):v(()=>import("./InputComposition-DoqxipV9.js"),[]).then(t=>{We.composition=t.default,e(t.default)})}acceptSuggestion(e,t){var n,s;if(this._isGroupItem(e))return;let i=e;if(this._matchedSuggestionItem){const u=((n=this._matchedSuggestionItem.text)==null?void 0:n.toLowerCase())||"",c=((s=e.text)==null?void 0:s.toLowerCase())||"";(t||u===c)&&(i=this._matchedSuggestionItem)}const a=i.text||"",r=t?this.valueBeforeItemSelection!==a:this.previousValue!==a;this.hasSuggestionItemSelected=!0,this.value=a,r&&this.previousValue!==a&&(this.valueBeforeItemSelection=a,this.lastConfirmedValue=a,this._performTextSelection=!0,this.fireDecoratorEvent(Hn.CHANGE),this._isChangeTriggeredBySuggestion=!0,this.typedInValue=this.value,this.previousValue=this.value),this.valueBeforeSelectionStart="",this._matchedSuggestionItem=void 0,this.isTyping=!1,this.open=!1}updateValueOnSelect(e){const t=this._isGroupItem(e)?this.valueBeforeSelectionStart:e.text;this.value=t||"",this._performTextSelection=!0,this._isGroupItem(e)||(this._matchedSuggestionItem=e)}fireEventByAction(e,t){const i=this.value,a=this.getInputDOMRefSync();if(this.disabled||this.readonly)return;const r=this.getInputValue(),n=e===K1.ACTION_ENTER;this.value=r,this.typedInValue=r,this.valueBeforeSelectionStart=r;const s=this.value;if(n){const u=t.inputType||"";!this.fireDecoratorEvent(Hn.INPUT,{inputType:u})&&(s===this.value&&(this.value=i),a&&(a.value=this.value)),this.fireResetSelectionChange()}}getInputValue(){return this.getDomRef()?this.getInputDOMRef().value:""}getInputDOMRef(){if(rt()&&this.Suggestions){const e=this.Suggestions._getPicker();if(e)return e.querySelector(".ui5-input-inner-phone")}return this.nativeInput}getInputDOMRefSync(){if(rt()&&this.Suggestions){const e=this.Suggestions._getPicker();if(e)return e.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input")}return this.nativeInput}getArrowNavState(){var u;const e=this.getInputDOMRefSync();if(!e)return;const t=$r();if(!(!!t&&(t===e||e.contains(t))))return;const a=e.selectionStart??0,r=e.selectionEnd??a,n=((u=e.value)==null?void 0:u.length)??0,s=a===r;return{atLeftEnd:s&&a===0,atRightEnd:s&&r>=n}}get nativeInput(){const e=this.getDomRef();return e?e.querySelector("input"):null}get nativeInputWidth(){return this.nativeInput?this.nativeInput.offsetWidth:0}isSuggestionsScrollable(){var e;return this.Suggestions?(e=this.Suggestions)==null?void 0:e._isScrollable():Promise.resolve(!1)}onItemMouseDown(e){e.preventDefault()}onItemSelected(e,t){!t&&!(e!=null&&e.focused)&&this.valueBeforeItemSelection!==e.text&&this.fireSelectionChange(e,!0),this.acceptSuggestion(e,t)}_handleSuggestionItemPress(e){var t;(t=this.Suggestions)==null||t.onItemPress(e)}onItemSelect(e){this.valueBeforeItemSelection=this.value,this.updateValueOnSelect(e),this.announceSelectedItem(),this.fireSelectionChange(e,!0)}get _flattenItems(){return this.getSlottedNodes("suggestionItems").flatMap(e=>this._isGroupItem(e)?[e,...e.items]:[e])}get _selectableItems(){return this._flattenItems.filter(e=>!this._isGroupItem(e))}get valueStateTypeMappings(){return{Positive:We.i18nBundle.getText(d3),Information:We.i18nBundle.getText(l3),Negative:We.i18nBundle.getText(n3),Critical:We.i18nBundle.getText(s3)}}valueStateTextMappings(){return{Positive:We.i18nBundle.getText(x_),Information:We.i18nBundle.getText(C5),Negative:We.i18nBundle.getText(f_),Critical:We.i18nBundle.getText(b_)}}announceSelectedItem(){const e=this.shadowRoot.querySelector("#selectionText");e&&(e.textContent=this.itemSelectionAnnounce)}fireSelectionChange(e,t){this.Suggestions&&(this.fireDecoratorEvent(Hn.SELECTION_CHANGE,{item:e}),this._isLatestValueFromSuggestions=t)}fireResetSelectionChange(){this._isLatestValueFromSuggestions&&(this.fireSelectionChange(null,!1),this.valueBeforeItemSelection=this.value)}get _readonly(){return this.readonly&&!this.disabled}get _headerTitleText(){return this._associatedLabelsTexts||We.i18nBundle.getText(r3)}get _suggestionsOkButtonText(){return We.i18nBundle.getText(EI)}get _suggestionsCancelButtonText(){return We.i18nBundle.getText(DI)}get clearIconAccessibleName(){return We.i18nBundle.getText(AI)}get _popupLabel(){return We.i18nBundle.getText(JI)}get inputType(){return this.type}get inputNativeType(){return this.type.toLowerCase()}get isTypeNumber(){return this.type===MJ.Number}get suggestionsTextId(){return this.showSuggestions?"suggestionsText":""}get valueStateTextId(){return this.hasValueState?"valueStateDesc":""}get _accInfoAriaDescription(){return this._inputAccInfo&&this._inputAccInfo.ariaDescription||""}get _accInfoAriaDescriptionId(){return this._accInfoAriaDescription!==""?"descr":""}get ariaDescriptionText(){return this._associatedDescriptionRefTexts||tc(this)}get ariaDescriptionTextId(){return this.ariaDescriptionText?"accessibleDescription":""}get ariaDescribedByIds(){return[this.suggestionsTextId,this.valueStateTextId,this._valueStateLinksShortcutsTextAccId,this._inputAccInfo.ariaDescribedBy,this._accInfoAriaDescriptionId,this.ariaDescriptionTextId].filter(Boolean).join(" ")}get accInfo(){const e=this.showSuggestions?"dialog":void 0,t=this.showSuggestions?"list":void 0;return{ariaRoledescription:this._inputAccInfo&&(this._inputAccInfo.ariaRoledescription||void 0),ariaDescribedBy:this.ariaDescribedByIds||void 0,ariaInvalid:this.valueState===fe.Negative?!0:void 0,ariaHasPopup:this._inputAccInfo.ariaHasPopup?this._inputAccInfo.ariaHasPopup:e,ariaAutoComplete:this._inputAccInfo.ariaAutoComplete?this._inputAccInfo.ariaAutoComplete:t,role:this._inputAccInfo&&this._inputAccInfo.role,ariaControls:this._inputAccInfo&&this._inputAccInfo.ariaControls,ariaExpanded:this._inputAccInfo&&this._inputAccInfo.ariaExpanded,ariaDescription:this._accInfoAriaDescription,accessibleDescription:this.ariaDescriptionText,ariaLabel:this._inputAccInfo&&this._inputAccInfo.ariaLabel||this._accessibleLabelsRefTexts||this.accessibleName||this._associatedLabelsTexts||void 0}}get nativeInputAttributes(){return{min:this.isTypeNumber?this._nativeInputAttributes.min:void 0,max:this.isTypeNumber?this._nativeInputAttributes.max:void 0,step:this.isTypeNumber?this._nativeInputAttributes.step||"any":void 0}}get ariaValueStateHiddenText(){if(!this.hasValueState)return;const e=this.valueState!==fe.None?this.valueStateTypeMappings[this.valueState]:"";return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:this.valueStateMessage.length?`${e} ${this.valueStateMessage.map(t=>t.textContent).join(" ")}`:e}get itemSelectionAnnounce(){return this.Suggestions?this.Suggestions.itemSelectionAnnounce:""}get linksInAriaValueStateHiddenText(){const e=[];return this.valueStateMessage&&this.valueStateMessage.forEach(t=>{t.children.length&&t.querySelectorAll("ui5-link").forEach(i=>{e.push(i)})}),e}get valueStateLinksShortcutsTextAcc(){const e=this.linksInAriaValueStateHiddenText;return e.length?t4()?e.length===1?We.i18nBundle.getText(CB):We.i18nBundle.getText(SB):e.length===1?We.i18nBundle.getText(yB):We.i18nBundle.getText(wB):""}get _valueStateLinksShortcutsTextAccId(){return this.linksInAriaValueStateHiddenText.length>0?"hiddenText-value-state-link-shortcut":""}get iconsCount(){const e=this.icon?this.icon.length:0,t=Number(this._effectiveShowClearIcon)??0;return e+t}get classes(){return{popover:{"ui5-suggestions-popover":this.showSuggestions,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.showSuggestions&&this.hasValueStateMessage,"ui5-popover-with-value-state-header":!this._isPhone&&this.showSuggestions&&this.hasValueStateMessage},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===fe.Positive,"ui5-valuestatemessage--error":this.valueState===fe.Negative,"ui5-valuestatemessage--warning":this.valueState===fe.Critical,"ui5-valuestatemessage--information":this.valueState===fe.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:this._listWidth?`${this._listWidth}px`:"","max-width":"inherit"},suggestionsPopover:{"min-width":this._inputWidth?`${this._inputWidth}px`:"","max-width":this._inputWidth&&this._inputWidth/e>40?`${this._inputWidth}px`:"40rem"},innerInput:{padding:""}}}get suggestionSeparators(){return"None"}get shouldDisplayOnlyValueStateMessage(){return this.hasValueStateMessage&&!this.readonly&&!this.open&&this.focused}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get hasValueState(){return this.valueState!==fe.None}get hasValueStateMessage(){return this.hasValueState&&this.valueState!==fe.Positive&&(!this._inputIconFocused||!!(this._isPhone&&this.Suggestions))}get valueStateText(){return this.valueState!==fe.None?this.valueStateTextMappings()[this.valueState]:void 0}get suggestionsText(){return We.i18nBundle.getText(SI)}get availableSuggestionsCount(){var e,t;if(this.showSuggestions&&(this.value||(e=this.Suggestions)!=null&&e.isOpened())){const i=this._selectableItems,r=((t=this.Suggestions)==null?void 0:t.isOpened())?We.i18nBundle.getText(BI):We.i18nBundle.getText(qb);switch(i.length){case 0:return`${We.i18nBundle.getText(II)} ${r}`;case 1:return`${We.i18nBundle.getText(kI)} ${r}`;default:return`${We.i18nBundle.getText(TI,i.length)} ${r}`}}return this.showSuggestions?We.i18nBundle.getText(qb):void 0}get step(){return this.isTypeNumber?"any":void 0}get _isPhone(){return rt()}get _isSuggestionsFocused(){var e;return!this.focused&&((e=this.Suggestions)==null?void 0:e.isOpened())}get _placeholder(){return this.placeholder}get _valueStateInputIcon(){const e={Negative:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20ZM7.70711 13.7071C7.31658 14.0976 6.68342 14.0976 6.29289 13.7071C5.90237 13.3166 5.90237 12.6834 6.29289 12.2929L8.58579 10L6.29289 7.70711C5.90237 7.31658 5.90237 6.68342 6.29289 6.29289C6.68342 5.90237 7.31658 5.90237 7.70711 6.29289L10 8.58579L12.2929 6.29289C12.6834 5.90237 13.3166 5.90237 13.7071 6.29289C14.0976 6.68342 14.0976 7.31658 13.7071 7.70711L11.4142 10L13.7071 12.2929C14.0976 12.6834 14.0976 13.3166 13.7071 13.7071C13.3166 14.0976 12.6834 14.0976 12.2929 13.7071L10 11.4142L7.70711 13.7071Z" fill="#EE3939"/>',Critical:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M11.8619 0.49298C11.6823 0.187541 11.3544 0 11 0C10.6456 0 10.3177 0.187541 10.1381 0.49298L0.138066 17.493C-0.0438112 17.8022 -0.0461447 18.1851 0.13195 18.4965C0.310046 18.8079 0.641283 19 1 19H21C21.3587 19 21.69 18.8079 21.868 18.4965C22.0461 18.1851 22.0438 17.8022 21.8619 17.493L11.8619 0.49298ZM11 6C11.5523 6 12 6.44772 12 7V10C12 10.5523 11.5523 11 11 11C10.4477 11 10 10.5523 10 10V7C10 6.44772 10.4477 6 11 6ZM11 16C11.8284 16 12.5 15.3284 12.5 14.5C12.5 13.6716 11.8284 13 11 13C10.1716 13 9.5 13.6716 9.5 14.5C9.5 15.3284 10.1716 16 11 16Z" fill="#F58B00"/>',Positive:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10ZM14.7071 6.29289C14.3166 5.90237 13.6834 5.90237 13.2929 6.29289L8 11.5858L6.70711 10.2929C6.31658 9.90237 5.68342 9.90237 5.29289 10.2929C4.90237 10.6834 4.90237 11.3166 5.29289 11.7071L7.29289 13.7071C7.68342 14.0976 8.31658 14.0976 8.70711 13.7071L14.7071 7.70711C15.0976 7.31658 15.0976 6.68342 14.7071 6.29289Z" fill="#36A41D"/>',Information:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M3 0C1.34315 0 0 1.34315 0 3V15C0 16.6569 1.34315 18 3 18H15C16.6569 18 18 16.6569 18 15V3C18 1.34315 16.6569 0 15 0H3ZM9 6.5C9.82843 6.5 10.5 5.82843 10.5 5C10.5 4.17157 9.82843 3.5 9 3.5C8.17157 3.5 7.5 4.17157 7.5 5C7.5 5.82843 8.17157 6.5 9 6.5ZM9 8.5C9.55228 8.5 10 8.94772 10 9.5V13.5C10 14.0523 9.55228 14.5 9 14.5C8.44771 14.5 8 14.0523 8 13.5V9.5C8 8.94772 8.44771 8.5 9 8.5Z" fill="#1B90FF"/>'};return this.valueState!==fe.None?`
|
|
745
|
+
`;var Cf;(function(o){o.StartsWithPerTerm="StartsWithPerTerm",o.StartsWith="StartsWith",o.Contains="Contains",o.None="None"})(Cf||(Cf={}));const I6=Cf;var Ee=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},We,Hn;(function(o){o.CHANGE="change",o.INPUT="input",o.SELECTION_CHANGE="selection-change"})(Hn||(Hn={}));var K1;(function(o){o.ACTION_ENTER="enter",o.ACTION_USER_INPUT="input"})(K1||(K1={}));let ke=We=class extends z{get formValidityMessage(){var e;return(e=this.nativeInput)==null?void 0:e.validationMessage}get _effectiveShowSuggestions(){return!!(this.showSuggestions&&this.Suggestions)}get formValidity(){var e,t,i;return{valueMissing:(e=this.nativeInput)==null?void 0:e.validity.valueMissing,typeMismatch:this.required&&((t=this.nativeInput)==null?void 0:t.validity.typeMismatch),patternMismatch:(i=this.nativeInput)==null?void 0:i.validity.patternMismatch}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.value}constructor(){super(),this.disabled=!1,this.highlight=!1,this.readonly=!1,this.required=!1,this.noTypeahead=!1,this.type="Text",this.value="",this.valueState="None",this.showSuggestions=!1,this.showClearIcon=!1,this.open=!1,this.filter=I6.None,this._effectiveShowClearIcon=!1,this.focused=!1,this.valueStateOpen=!1,this._inputAccInfo={},this._nativeInputAttributes={},this._inputIconFocused=!1,this._linksListenersArray=[],this._isComposing=!1,this._handleLinkNavigation=!1,this.hasSuggestionItemSelected=!1,this.valueBeforeItemSelection="",this.valueBeforeSelectionStart="",this.previousValue="",this.firstRendering=!0,this.typedInValue="",this.lastConfirmedValue="",this.isTyping=!1,this._isLatestValueFromSuggestions=!1,this._isChangeTriggeredBySuggestion=!1,this._indexOfSelectedItem=-1,this._handleResizeBound=this._handleResize.bind(this),this._focusedAfterClear=!1,this._valueStateLinks=[]}onEnterDOM(){Q.register(this,this._handleResizeBound),b5(this,this._updateAssociatedLabelsTexts.bind(this)),this._enableComposition()}onExitDOM(){var e;Q.deregister(this,this._handleResizeBound),x5(this),this._removeLinksEventListeners(),(e=this._composition)==null||e.removeEventListeners()}_highlightSuggestionItem(e){var t;e.markupText=this.typedInValue?(t=this.Suggestions)==null?void 0:t.hightlightInput(e.text||"",this.typedInValue):Zc(e.text||"")}_isGroupItem(e){return e.hasAttribute("ui5-suggestion-item-group")}onBeforeRendering(){this.showSuggestions&&(this.enableSuggestions(),this._flattenItems.forEach(c=>{var p;c.hasAttribute("ui5-suggestion-item")?this._highlightSuggestionItem(c):this._isGroupItem(c)&&((p=c.items)==null||p.forEach(_=>{this._highlightSuggestionItem(_)}))})),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.style.setProperty("--_ui5-input-icons-count",`${this.iconsCount}`);const e=!!this._flattenItems.length,t=!!this.value,i=this.shadowRoot.querySelector("input")===$r(),a=this.disabled||this.readonly,r=!a&&!this._isPhone&&e&&(this.open||t&&i&&this.isTyping);a?this.open=!1:this._isPhone||(this.open=e&&(this.open||t&&i&&this.isTyping)),this.shouldDisplayOnlyValueStateMessage&&!r?this.openValueStatePopover():this.closeValueStatePopover();const n=this.value,s=this.getInputDOMRefSync();if(!s||!n)return;this.filter!==I6.None&&this._filterItems(this.typedInValue);const u=s.selectionEnd-s.selectionStart;if(this._shouldAutocomplete&&!Vw()&&!u&&!this._isKeyNavigation){const c=this._getFirstMatchingItem(n);c?(this._isComposing||this._handleTypeAhead(c),this._selectMatchingItem(c)):this._matchedSuggestionItem=void 0}}onAfterRendering(){var e;this.showSuggestions&&((e=this.Suggestions)!=null&&e._getPicker())&&(this._listWidth=this.Suggestions._getListWidth(),this.Suggestions._getList()._itemNavigation._getItems=()=>[]),this._performTextSelection&&(this.typedInValue.length&&this.value.length&&this._adjustSelectionRange(),this.fireDecoratorEvent("type-ahead")),this._performTextSelection=!1,E4(this._valueStateLinks,this.linksInAriaValueStateHiddenText)||(this._removeLinksEventListeners(),this._addLinksEventListeners(),this._valueStateLinks=this.linksInAriaValueStateHiddenText)}_adjustSelectionRange(){var r,n;const e=this.getInputDOMRefSync(),t=(r=this.Suggestions)==null?void 0:r._getItems().filter(s=>!s.hidden),i=t==null?void 0:t.find(s=>s.selected||s.focused),a=this._flattenItems.filter(s=>this._isGroupItem(s));i&&!a.includes(i)?((n=i==null?void 0:i.text)==null?void 0:n.toLowerCase().startsWith(this.typedInValue.toLowerCase()))?e.setSelectionRange(this.typedInValue.length,this.value.length):e.setSelectionRange(0,this.value.length):e.setSelectionRange(this.typedInValue.length,this.value.length)}_onkeydown(e){if(this._isKeyNavigation=!0,this._shouldAutocomplete=!this.noTypeahead&&!(dh(e)||Hs(e)||De(e)),Ne(e))return this._handleUp(e);if(Be(e))return this._handleDown(e);if(K(e))return this._handleSpace(e);if(Qe(e))return this._handleTab();if(ie(e)){const t=this.previousValue===this.getInputDOMRefSync().value;if(this._enterKeyDown=!0,t){this.fireDecoratorEvent("_request-submit"),Ev(this);return}return this._handleEnter(e)}if(fa(e))return this._handlePageUp(e);if(Zn(e))return this._handlePageDown(e);if(lt(e))return this._handleHome(e);if(Ot(e))return this._handleEnd(e);if(De(e))return this._handleEscape();if(wT(e))return this._handleCtrlAltF8();this.showSuggestions&&this._clearPopoverFocusAndSelection(),this._isKeyNavigation=!1}_onkeyup(e){Hs(e)&&(this.value=e.target.value),this._enterKeyDown=!1}get currentItemIndex(){var r;const t=((r=this.Suggestions)==null?void 0:r._getItems()).filter(n=>!n.hidden),i=t.find(n=>n.selected||n.focused);return i?t.indexOf(i):-1}_handleUp(e){var t;(t=this.Suggestions)!=null&&t.isOpened()&&this.Suggestions.onUp(e,this.currentItemIndex)}_handleDown(e){var t;(t=this.Suggestions)!=null&&t.isOpened()&&this.Suggestions.onDown(e,this.currentItemIndex)}_handleSpace(e){this.Suggestions&&this.Suggestions.onSpace(e)}_handleTab(){this.Suggestions&&this.previousValue!==this.value&&this.Suggestions.onTab()}_handleCtrlAltF8(){this._handleLinkNavigation=!0;const e=this.linksInAriaValueStateHiddenText;e.length&&e[0].focus()}_addLinksEventListeners(){const e=this.linksInAriaValueStateHiddenText;e.forEach((t,i)=>{this._linksListenersArray.push(a=>{PJ(a,e,i,{closeValueState:()=>{var r,n;(r=this.Suggestions)!=null&&r.isOpened()&&((n=this.Suggestions)==null||n.close()),this.valueStateOpen&&this.closeValueStatePopover()},focusInput:()=>{this._handleLinkNavigation=!1,this.getInputDOMRef().focus()},navigateToItem:()=>{var r;this._handleLinkNavigation?(this._handleLinkNavigation=!1,(r=this.Suggestions)!=null&&r.isOpened()&&(this.innerFocusIn(),this.getInputDOMRef().focus(),this.Suggestions.onDown(a,this.currentItemIndex))):this._handleDown(a)},isPopoverOpen:()=>{var r;return this.Suggestions&&((r=this.Suggestions)==null?void 0:r.isOpened())||!1}})}),t.addEventListener("keydown",this._linksListenersArray[i])})}_removeLinksEventListeners(){this.linksInAriaValueStateHiddenText.forEach((t,i)=>{t.removeEventListener("keydown",this._linksListenersArray[i])}),this._linksListenersArray=[],this._handleLinkNavigation=!1}_handleEnter(e){var r;const t=!!((r=this.Suggestions)!=null&&r.onEnter(e)),i=this.getInputDOMRefSync();let a=this._matchedSuggestionItem;if(a||(a=this._selectableItems.find(n=>{var s;return((s=n.text)==null?void 0:s.toLowerCase())===this.value.toLowerCase()})),a){const n=a.text||"";i.setSelectionRange(n.length,n.length),t||(this.fireSelectionChange(a,!0),this.acceptSuggestion(a,!0),this.open=!1)}if(this._isPhone&&!this._flattenItems.length&&!this.isTypeNumber&&i.setSelectionRange(this.value.length,this.value.length),!t){this.lastConfirmedValue=this.value;return}this.focused=!0}_handlePageUp(e){var t;this._isSuggestionsFocused?(t=this.Suggestions)==null||t.onPageUp(e):e.preventDefault()}_handlePageDown(e){var t;this._isSuggestionsFocused?(t=this.Suggestions)==null||t.onPageDown(e):e.preventDefault()}_handleHome(e){var t;this._isSuggestionsFocused&&((t=this.Suggestions)==null||t.onHome(e))}_handleEnd(e){var t;this._isSuggestionsFocused&&((t=this.Suggestions)==null||t.onEnd(e))}_handleEscape(){var r;const t=this.showSuggestions&&!!this.Suggestions&&this.open,i=this.getInputDOMRefSync(),a=i.selectionEnd-i.selectionStart>0;if(this.isTyping=!1,this._matchedSuggestionItem=void 0,this.value!==this.previousValue&&this.value!==this.lastConfirmedValue&&!this.open){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue,this.fireDecoratorEvent(Hn.INPUT,{inputType:""});return}if(!t){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue;return}if(t&&((r=this.Suggestions)!=null&&r._isItemOnTarget())){this.value=this.typedInValue||this.valueBeforeSelectionStart,this.focused=!0;return}a&&(this.value=this.typedInValue),this.focused=!0}_onfocusin(e){this.focused=!0,this._focusedAfterClear||(this.previousValue=this.value),this.valueBeforeSelectionStart=this.value,this._inputIconFocused=!!e.target&&e.target===this.querySelector("[ui5-icon]"),this._focusedAfterClear=!1}innerFocusIn(){}_onfocusout(e){var i,a;const t=e.relatedTarget;(a=(i=this.Suggestions)==null?void 0:i._getPicker())!=null&&a.contains(t)||this.contains(t)||this.getSlottedNodes("valueStateMessage").some(r=>r.contains(t))||(this.focused=!1,this._isChangeTriggeredBySuggestion=!1,this.showClearIcon&&!this._effectiveShowClearIcon&&(this._clearIconClicked=!1,this._handleChange()),this.open=!1,this._clearPopoverFocusAndSelection(),this._clearIconClicked||(this.previousValue=""),this.lastConfirmedValue="",this.isTyping=!1,this.value!==this.previousValue&&this.showClearIcon&&(this._clearIconClicked=!1))}_clearPopoverFocusAndSelection(){var e,t;!this.showSuggestions||!this.Suggestions||(this.hasSuggestionItemSelected=!1,(e=this.Suggestions)==null||e._deselectItems(),(t=this.Suggestions)==null||t._clearItemFocus())}_click(){rt()&&!this.readonly&&this.Suggestions&&(this.blur(),this.open=!0)}_handleChange(){var t,i;if(this._clearIconClicked){this._clearIconClicked=!1;return}const e=()=>{this._isChangeTriggeredBySuggestion||this.fireDecoratorEvent(Hn.CHANGE),this.previousValue=this.value,this.typedInValue=this.value,this._isChangeTriggeredBySuggestion=!1};this.previousValue!==this.getInputDOMRefSync().value&&((i=(t=this.Suggestions)==null?void 0:t._getPicker())!=null&&i.open&&this._flattenItems.some(a=>a.hasAttribute("ui5-suggestion-item")&&a.selected)?this._changeToBeFired=!0:(e(),this._enterKeyDown&&(this.fireDecoratorEvent("_request-submit"),Ev(this))))}_clear(){const e=this.value;if(this.value="",!this.fireDecoratorEvent(Hn.INPUT,{inputType:""})){this.value=e;return}this.typedInValue="",this._isPhone||(this.fireResetSelectionChange(),this.focus(),this._focusedAfterClear=!0)}_iconMouseDown(){this._clearIconClicked=!0}_scroll(e){this.fireDecoratorEvent("suggestion-scroll",{scrollTop:e.detail.scrollTop,scrollContainer:e.detail.targetRef})}_handleSelect(){this.fireDecoratorEvent("select")}_handleInput(e){const t=e.detail&&e.detail.inputType||"";this._input(e,t)}_handleNativeInput(e){const t=e.inputType||"";this._input(e,t)}_input(e,t){const i=this.getInputDOMRefSync(),a=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];this._shouldAutocomplete=!a.includes(t)&&!this.noTypeahead,e.target===i&&(this.focused=!0,e.stopImmediatePropagation()),this.fireEventByAction(K1.ACTION_ENTER,e),this.hasSuggestionItemSelected=!1,this.Suggestions&&this.Suggestions.updateSelectedItemPosition(-1),this.filter&&e.target.value===""&&(this.open=!1),this.isTyping=!0}_startsWithMatchingItems(e){return j9(e,this._selectableItems,"text")}_getFirstMatchingItem(e){if(!this._flattenItems.length)return;const t=this._startsWithMatchingItems(e).filter(i=>!this._isGroupItem(i));if(t.length)return t[0]}_handleSelectionChange(e){var t;(t=this.Suggestions)==null||t.onItemPress(e)}_selectMatchingItem(e){e.selected=!0,this._matchedSuggestionItem=e}_filterItems(e){let t=[];const i=this._flattenItems.filter(a=>this._isGroupItem(a));this._resetItemVisibility(),i.length?t=this._filterGroups(this.filter,i):t=T6[this.filter](e,this._selectableItems,"text"),this._selectableItems.forEach(a=>{a.hidden=!t.includes(a)}),t.length===0&&(this.open=!1)}_filterGroups(e,t){const i=[];return t.forEach(a=>{const r=T6[e](this.typedInValue,a.items??[],"text");i.push(...r),r.length===0?a.hidden=!0:a.hidden=!1}),i}_resetItemVisibility(){this._flattenItems.forEach(e=>{var t;if(this._isGroupItem(e)){(t=e.items)==null||t.forEach(i=>{i.hidden=!1});return}e.hidden=!1})}_handleTypeAhead(e){const t=e.text?e.text:"",i=this.typedInValue;t.toLowerCase().startsWith(i.toLowerCase())&&(this.value=i+t.substring(i.length)),this._performTextSelection=!0,this._shouldAutocomplete=!1}_handleResize(){this._inputWidth=this.offsetWidth}_updateAssociatedLabelsTexts(){this._associatedLabelsTexts=ld(this),this._accessibleLabelsRefTexts=dd(this),this._associatedDescriptionRefTexts=m_(this)}_closePicker(){this.open=!1}_confirmMobileValue(){this._closePicker(),this._handleChange()}_cancelMobileValue(){this.value=this.previousValue,this._closePicker()}_afterOpenPicker(){var e;rt()&&(this.previousValue=this.value,this.getInputDOMRef().focus(),(e=this._composition)==null||e.addEventListeners()),this._handlePickerAfterOpen()}_afterClosePicker(){rt()&&(this.blur(),this.focused=!1),this._changeToBeFired&&!this._isChangeTriggeredBySuggestion?(this.previousValue=this.value,this.fireDecoratorEvent(Hn.CHANGE)):this._isChangeTriggeredBySuggestion=!1,this._changeToBeFired=!1,this.open=!1,this.isTyping=!1,this.hasSuggestionItemSelected&&this.focus();const e=this.shadowRoot.querySelector("#selectionText");e&&(e.textContent=""),this._handlePickerAfterClose()}_handlePickerAfterOpen(){this.fireDecoratorEvent("open")}_handlePickerAfterClose(){var e;(e=this.Suggestions)==null||e._onClose(),this.fireDecoratorEvent("close")}openValueStatePopover(){this.valueStateOpen=!0}closeValueStatePopover(){this.valueStateOpen=!1}_handleValueStatePopoverAfterClose(){this.valueStateOpen=!1,this._handleLinkNavigation=!1}_getValueStatePopover(){return this.shadowRoot.querySelector("[ui5-popover]")}enableSuggestions(){if(this.Suggestions)return;const e=t=>{t.i18nBundle=We.i18nBundle,this.Suggestions=new t(this,"suggestionItems",!0,!1)};We.SuggestionsClass?e(We.SuggestionsClass):v(()=>import("./InputSuggestions-DSPGFWZq.js"),[]).then(t=>{e(t.default)})}_enableComposition(){if(this._composition)return;const e=t=>{this._composition=new t({getInputEl:()=>this.getInputDOMRefSync(),updateCompositionState:i=>{this._isComposing=i}}),this._composition.addEventListeners()};We.composition?e(We.composition):v(()=>import("./InputComposition-DoqxipV9.js"),[]).then(t=>{We.composition=t.default,e(t.default)})}acceptSuggestion(e,t){var n,s;if(this._isGroupItem(e))return;let i=e;if(this._matchedSuggestionItem){const u=((n=this._matchedSuggestionItem.text)==null?void 0:n.toLowerCase())||"",c=((s=e.text)==null?void 0:s.toLowerCase())||"";(t||u===c)&&(i=this._matchedSuggestionItem)}const a=i.text||"",r=t?this.valueBeforeItemSelection!==a:this.previousValue!==a;this.hasSuggestionItemSelected=!0,this.value=a,r&&this.previousValue!==a&&(this.valueBeforeItemSelection=a,this.lastConfirmedValue=a,this._performTextSelection=!0,this.fireDecoratorEvent(Hn.CHANGE),this._isChangeTriggeredBySuggestion=!0,this.typedInValue=this.value,this.previousValue=this.value),this.valueBeforeSelectionStart="",this._matchedSuggestionItem=void 0,this.isTyping=!1,this.open=!1}updateValueOnSelect(e){const t=this._isGroupItem(e)?this.valueBeforeSelectionStart:e.text;this.value=t||"",this._performTextSelection=!0,this._isGroupItem(e)||(this._matchedSuggestionItem=e)}fireEventByAction(e,t){const i=this.value,a=this.getInputDOMRefSync();if(this.disabled||this.readonly)return;const r=this.getInputValue(),n=e===K1.ACTION_ENTER;this.value=r,this.typedInValue=r,this.valueBeforeSelectionStart=r;const s=this.value;if(n){const u=t.inputType||"";!this.fireDecoratorEvent(Hn.INPUT,{inputType:u})&&(s===this.value&&(this.value=i),a&&(a.value=this.value)),this.fireResetSelectionChange()}}getInputValue(){return this.getDomRef()?this.getInputDOMRef().value:""}getInputDOMRef(){if(rt()&&this.Suggestions){const e=this.Suggestions._getPicker();if(e)return e.querySelector(".ui5-input-inner-phone")}return this.nativeInput}getInputDOMRefSync(){if(rt()&&this.Suggestions){const e=this.Suggestions._getPicker();if(e)return e.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input")}return this.nativeInput}getArrowNavState(){var u;const e=this.getInputDOMRefSync();if(!e)return;const t=$r();if(!(!!t&&(t===e||e.contains(t))))return;const a=e.selectionStart??0,r=e.selectionEnd??a,n=((u=e.value)==null?void 0:u.length)??0,s=a===r;return{atLeftEnd:s&&a===0,atRightEnd:s&&r>=n}}get nativeInput(){const e=this.getDomRef();return e?e.querySelector("input"):null}get nativeInputWidth(){return this.nativeInput?this.nativeInput.offsetWidth:0}isSuggestionsScrollable(){var e;return this.Suggestions?(e=this.Suggestions)==null?void 0:e._isScrollable():Promise.resolve(!1)}onItemMouseDown(e){e.preventDefault()}onItemSelected(e,t){!t&&!(e!=null&&e.focused)&&this.valueBeforeItemSelection!==e.text&&this.fireSelectionChange(e,!0),this.acceptSuggestion(e,t)}_handleSuggestionItemPress(e){var t;(t=this.Suggestions)==null||t.onItemPress(e)}onItemSelect(e){this.valueBeforeItemSelection=this.value,this.updateValueOnSelect(e),this.announceSelectedItem(),this.fireSelectionChange(e,!0)}get _flattenItems(){return this.getSlottedNodes("suggestionItems").flatMap(e=>this._isGroupItem(e)?[e,...e.items]:[e])}get _selectableItems(){return this._flattenItems.filter(e=>!this._isGroupItem(e))}get valueStateTypeMappings(){return{Positive:We.i18nBundle.getText(d3),Information:We.i18nBundle.getText(l3),Negative:We.i18nBundle.getText(n3),Critical:We.i18nBundle.getText(s3)}}valueStateTextMappings(){return{Positive:We.i18nBundle.getText(x_),Information:We.i18nBundle.getText(C5),Negative:We.i18nBundle.getText(f_),Critical:We.i18nBundle.getText(b_)}}announceSelectedItem(){const e=this.shadowRoot.querySelector("#selectionText");e&&(e.textContent=this.itemSelectionAnnounce)}fireSelectionChange(e,t){this.Suggestions&&(this.fireDecoratorEvent(Hn.SELECTION_CHANGE,{item:e}),this._isLatestValueFromSuggestions=t)}fireResetSelectionChange(){this._isLatestValueFromSuggestions&&(this.fireSelectionChange(null,!1),this.valueBeforeItemSelection=this.value)}get _readonly(){return this.readonly&&!this.disabled}get _headerTitleText(){return this._associatedLabelsTexts||We.i18nBundle.getText(r3)}get _suggestionsOkButtonText(){return We.i18nBundle.getText(EI)}get _suggestionsCancelButtonText(){return We.i18nBundle.getText(DI)}get clearIconAccessibleName(){return We.i18nBundle.getText(AI)}get _popupLabel(){return We.i18nBundle.getText(JI)}get inputType(){return this.type}get inputNativeType(){return this.type.toLowerCase()}get isTypeNumber(){return this.type===MJ.Number}get suggestionsTextId(){return this.showSuggestions?"suggestionsText":""}get valueStateTextId(){return this.hasValueState?"valueStateDesc":""}get _accInfoAriaDescription(){return this._inputAccInfo&&this._inputAccInfo.ariaDescription||""}get _accInfoAriaDescriptionId(){return this._accInfoAriaDescription!==""?"descr":""}get ariaDescriptionText(){return this._associatedDescriptionRefTexts||tc(this)}get ariaDescriptionTextId(){return this.ariaDescriptionText?"accessibleDescription":""}get ariaDescribedByIds(){return[this.suggestionsTextId,this.valueStateTextId,this._valueStateLinksShortcutsTextAccId,this._inputAccInfo.ariaDescribedBy,this._accInfoAriaDescriptionId,this.ariaDescriptionTextId].filter(Boolean).join(" ")}get accInfo(){const e=this.showSuggestions?"dialog":void 0,t=this.showSuggestions?"list":void 0;return{ariaRoledescription:this._inputAccInfo&&(this._inputAccInfo.ariaRoledescription||void 0),ariaDescribedBy:this.ariaDescribedByIds||void 0,ariaInvalid:this.valueState===fe.Negative?!0:void 0,ariaHasPopup:this._inputAccInfo.ariaHasPopup?this._inputAccInfo.ariaHasPopup:e,ariaAutoComplete:this._inputAccInfo.ariaAutoComplete?this._inputAccInfo.ariaAutoComplete:t,role:this._inputAccInfo&&this._inputAccInfo.role,ariaControls:this._inputAccInfo&&this._inputAccInfo.ariaControls,ariaExpanded:this._inputAccInfo&&this._inputAccInfo.ariaExpanded,ariaDescription:this._accInfoAriaDescription,accessibleDescription:this.ariaDescriptionText,ariaLabel:this._inputAccInfo&&this._inputAccInfo.ariaLabel||this._accessibleLabelsRefTexts||this.accessibleName||this._associatedLabelsTexts||void 0}}get nativeInputAttributes(){return{min:this.isTypeNumber?this._nativeInputAttributes.min:void 0,max:this.isTypeNumber?this._nativeInputAttributes.max:void 0,step:this.isTypeNumber?this._nativeInputAttributes.step||"any":void 0}}get ariaValueStateHiddenText(){if(!this.hasValueState)return;const e=this.valueState!==fe.None?this.valueStateTypeMappings[this.valueState]:"";return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:this.valueStateMessage.length?`${e} ${this.valueStateMessage.map(t=>t.textContent).join(" ")}`:e}get itemSelectionAnnounce(){return this.Suggestions?this.Suggestions.itemSelectionAnnounce:""}get linksInAriaValueStateHiddenText(){const e=[];return this.valueStateMessage&&this.valueStateMessage.forEach(t=>{t.children.length&&t.querySelectorAll("ui5-link").forEach(i=>{e.push(i)})}),e}get valueStateLinksShortcutsTextAcc(){const e=this.linksInAriaValueStateHiddenText;return e.length?t4()?e.length===1?We.i18nBundle.getText(CB):We.i18nBundle.getText(SB):e.length===1?We.i18nBundle.getText(yB):We.i18nBundle.getText(wB):""}get _valueStateLinksShortcutsTextAccId(){return this.linksInAriaValueStateHiddenText.length>0?"hiddenText-value-state-link-shortcut":""}get iconsCount(){const e=this.icon?this.icon.length:0,t=Number(this._effectiveShowClearIcon)??0;return e+t}get classes(){return{popover:{"ui5-suggestions-popover":this.showSuggestions,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.showSuggestions&&this.hasValueStateMessage,"ui5-popover-with-value-state-header":!this._isPhone&&this.showSuggestions&&this.hasValueStateMessage},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===fe.Positive,"ui5-valuestatemessage--error":this.valueState===fe.Negative,"ui5-valuestatemessage--warning":this.valueState===fe.Critical,"ui5-valuestatemessage--information":this.valueState===fe.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:this._listWidth?`${this._listWidth}px`:"","max-width":"inherit"},suggestionsPopover:{"min-width":this._inputWidth?`${this._inputWidth}px`:"","max-width":this._inputWidth&&this._inputWidth/e>40?`${this._inputWidth}px`:"40rem"},innerInput:{padding:""}}}get suggestionSeparators(){return"None"}get shouldDisplayOnlyValueStateMessage(){return this.hasValueStateMessage&&!this.readonly&&!this.open&&this.focused}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get hasValueState(){return this.valueState!==fe.None}get hasValueStateMessage(){return this.hasValueState&&this.valueState!==fe.Positive&&(!this._inputIconFocused||!!(this._isPhone&&this.Suggestions))}get valueStateText(){return this.valueState!==fe.None?this.valueStateTextMappings()[this.valueState]:void 0}get suggestionsText(){return We.i18nBundle.getText(SI)}get availableSuggestionsCount(){var e,t;if(this.showSuggestions&&(this.value||(e=this.Suggestions)!=null&&e.isOpened())){const i=this._selectableItems,r=((t=this.Suggestions)==null?void 0:t.isOpened())?We.i18nBundle.getText(BI):We.i18nBundle.getText(qb);switch(i.length){case 0:return`${We.i18nBundle.getText(II)} ${r}`;case 1:return`${We.i18nBundle.getText(kI)} ${r}`;default:return`${We.i18nBundle.getText(TI,i.length)} ${r}`}}return this.showSuggestions?We.i18nBundle.getText(qb):void 0}get step(){return this.isTypeNumber?"any":void 0}get _isPhone(){return rt()}get _isSuggestionsFocused(){var e;return!this.focused&&((e=this.Suggestions)==null?void 0:e.isOpened())}get _placeholder(){return this.placeholder}get _valueStateInputIcon(){const e={Negative:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20ZM7.70711 13.7071C7.31658 14.0976 6.68342 14.0976 6.29289 13.7071C5.90237 13.3166 5.90237 12.6834 6.29289 12.2929L8.58579 10L6.29289 7.70711C5.90237 7.31658 5.90237 6.68342 6.29289 6.29289C6.68342 5.90237 7.31658 5.90237 7.70711 6.29289L10 8.58579L12.2929 6.29289C12.6834 5.90237 13.3166 5.90237 13.7071 6.29289C14.0976 6.68342 14.0976 7.31658 13.7071 7.70711L11.4142 10L13.7071 12.2929C14.0976 12.6834 14.0976 13.3166 13.7071 13.7071C13.3166 14.0976 12.6834 14.0976 12.2929 13.7071L10 11.4142L7.70711 13.7071Z" fill="#EE3939"/>',Critical:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M11.8619 0.49298C11.6823 0.187541 11.3544 0 11 0C10.6456 0 10.3177 0.187541 10.1381 0.49298L0.138066 17.493C-0.0438112 17.8022 -0.0461447 18.1851 0.13195 18.4965C0.310046 18.8079 0.641283 19 1 19H21C21.3587 19 21.69 18.8079 21.868 18.4965C22.0461 18.1851 22.0438 17.8022 21.8619 17.493L11.8619 0.49298ZM11 6C11.5523 6 12 6.44772 12 7V10C12 10.5523 11.5523 11 11 11C10.4477 11 10 10.5523 10 10V7C10 6.44772 10.4477 6 11 6ZM11 16C11.8284 16 12.5 15.3284 12.5 14.5C12.5 13.6716 11.8284 13 11 13C10.1716 13 9.5 13.6716 9.5 14.5C9.5 15.3284 10.1716 16 11 16Z" fill="#F58B00"/>',Positive:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10ZM14.7071 6.29289C14.3166 5.90237 13.6834 5.90237 13.2929 6.29289L8 11.5858L6.70711 10.2929C6.31658 9.90237 5.68342 9.90237 5.29289 10.2929C4.90237 10.6834 4.90237 11.3166 5.29289 11.7071L7.29289 13.7071C7.68342 14.0976 8.31658 14.0976 8.70711 13.7071L14.7071 7.70711C15.0976 7.31658 15.0976 6.68342 14.7071 6.29289Z" fill="#36A41D"/>',Information:'<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M3 0C1.34315 0 0 1.34315 0 3V15C0 16.6569 1.34315 18 3 18H15C16.6569 18 18 16.6569 18 15V3C18 1.34315 16.6569 0 15 0H3ZM9 6.5C9.82843 6.5 10.5 5.82843 10.5 5C10.5 4.17157 9.82843 3.5 9 3.5C8.17157 3.5 7.5 4.17157 7.5 5C7.5 5.82843 8.17157 6.5 9 6.5ZM9 8.5C9.55228 8.5 10 8.94772 10 9.5V13.5C10 14.0523 9.55228 14.5 9 14.5C8.44771 14.5 8 14.0523 8 13.5V9.5C8 8.94772 8.44771 8.5 9 8.5Z" fill="#1B90FF"/>'};return this.valueState!==fe.None?`
|
|
746
746
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="20" viewBox="0 0 20 20" fill="none">
|
|
747
747
|
${e[this.valueState]};
|
|
748
748
|
</svg>
|
|
749
749
|
`:""}get _valueStateMessageInputIcon(){const e={Negative:"error",Critical:"alert",Positive:"sys-enter-2",Information:"information"};return this.valueState!==fe.None?e[this.valueState]:""}getCaretPosition(){return LJ(this.nativeInput)}setCaretPosition(e){NJ(this.nativeInput,e)}removeFractionalPart(e){return e.includes(".")?e.slice(0,e.indexOf(".")):e.includes(",")?e.slice(0,e.indexOf(",")):e}};Ee([d({type:Boolean})],ke.prototype,"disabled",void 0);Ee([d({type:Boolean})],ke.prototype,"highlight",void 0);Ee([d()],ke.prototype,"placeholder",void 0);Ee([d({type:Boolean})],ke.prototype,"readonly",void 0);Ee([d({type:Boolean})],ke.prototype,"required",void 0);Ee([d({type:Boolean})],ke.prototype,"noTypeahead",void 0);Ee([d()],ke.prototype,"type",void 0);Ee([d()],ke.prototype,"value",void 0);Ee([d()],ke.prototype,"valueState",void 0);Ee([d()],ke.prototype,"name",void 0);Ee([d({type:Boolean})],ke.prototype,"showSuggestions",void 0);Ee([d({type:Number})],ke.prototype,"maxlength",void 0);Ee([d()],ke.prototype,"accessibleName",void 0);Ee([d()],ke.prototype,"accessibleNameRef",void 0);Ee([d()],ke.prototype,"accessibleDescription",void 0);Ee([d()],ke.prototype,"accessibleDescriptionRef",void 0);Ee([d({type:Boolean})],ke.prototype,"showClearIcon",void 0);Ee([d({type:Boolean})],ke.prototype,"open",void 0);Ee([d()],ke.prototype,"filter",void 0);Ee([d({type:Boolean})],ke.prototype,"_effectiveShowClearIcon",void 0);Ee([d({type:Boolean})],ke.prototype,"focused",void 0);Ee([d()],ke.prototype,"hint",void 0);Ee([d({type:Boolean})],ke.prototype,"valueStateOpen",void 0);Ee([d({type:Object})],ke.prototype,"_inputAccInfo",void 0);Ee([d({type:Object})],ke.prototype,"_nativeInputAttributes",void 0);Ee([d({type:Number})],ke.prototype,"_inputWidth",void 0);Ee([d({type:Number})],ke.prototype,"_listWidth",void 0);Ee([d({type:Boolean,noAttribute:!0})],ke.prototype,"_inputIconFocused",void 0);Ee([d({noAttribute:!0})],ke.prototype,"_associatedLabelsTexts",void 0);Ee([d({noAttribute:!0})],ke.prototype,"_accessibleLabelsRefTexts",void 0);Ee([d({noAttribute:!0})],ke.prototype,"_associatedDescriptionRefTexts",void 0);Ee([d({type:Object})],ke.prototype,"Suggestions",void 0);Ee([d({type:Array,noAttribute:!0})],ke.prototype,"_linksListenersArray",void 0);Ee([d({type:Boolean,noAttribute:!0})],ke.prototype,"_isComposing",void 0);Ee([D({type:HTMLElement,default:!0})],ke.prototype,"suggestionItems",void 0);Ee([D()],ke.prototype,"icon",void 0);Ee([D({type:HTMLElement,invalidateOnChildChange:!0})],ke.prototype,"valueStateMessage",void 0);Ee([V("@ui5/webcomponents")],ke,"i18nBundle",void 0);ke=We=Ee([T({tag:"ui5-input",languageAware:!0,formAssociated:!0,renderer:A,template:FJ,styles:[GJ,u2,V9,H8]}),x("change",{bubbles:!0}),x("_request-submit",{bubbles:!0}),x("input",{bubbles:!0,cancelable:!0}),x("select",{bubbles:!0}),x("selection-change",{bubbles:!0}),x("type-ahead",{bubbles:!0}),x("suggestion-scroll",{bubbles:!0}),x("open",{bubbles:!0}),x("close")],ke);ke.define();const WJ=ke;function qJ(){return g("div",{class:"ui5-slider-tooltip-root",children:[this.editable?l(WJ,{value:this.value,type:"Number",accessibleNameRef:"ui5-slider-InputLabel",onFocusIn:this._onInputFocusin,onFocusOut:this._onInputFocusOut,onKeyDown:this._onInputKeydown,onInput:this._onInputInput,tabIndex:-1,"data-sap-focus-ref":!0,valueState:this.valueState}):l("span",{class:"ui5-slider-tooltip-value",children:this.value}),this.editable&&l(P,{children:l("span",{id:"ui5-slider-InputLabel",class:"ui5-hidden-text",children:this._ariaLabelledByInputText})})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const YJ=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:popover-open){margin:-28px 0 0;display:inline-block;height:1rem;background:var(--sapBackgroundColor);border:none;box-shadow:var(--sapContent_Shadow1);border-radius:.0625rem;padding:0 .5rem;font-family:var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTextColor);display:flex;justify-content:center;align-items:center;overflow:hidden}:host([editable]:popover-open){cursor:pointer;height:fit-content;border:none;padding:0;margin-top:-3.375rem;box-shadow:none}:host([editable]:popover-open) [ui5-input]{width:min-content;text-align:center}
|
|
750
750
|
`;var gs=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},wf;let qr=wf=class extends z{constructor(){super(),this.value="",this.open=!1,this.min=0,this.max=100,this.editable=!1,this.valueState="None",this._open=!1,this._repositionTooltipBound=this.repositionTooltip.bind(this)}onBeforeRendering(){this.open!==this._open&&this.fireDecoratorEvent("open"),this._open=this.open}onAfterRendering(){this.hasAttribute("popover")||this.setAttribute("popover","manual"),this.isConnected&&(this.open?(this.showPopover(),this.repositionTooltip(),this.attachGlobalScrollHandler()):(this.hidePopover(),this.detachGlobalScrollHandler()))}repositionTooltip(){var n;const e=(n=this.followRef)==null?void 0:n.getBoundingClientRect();if(!e)return;this.style.top=`${e.top}px`;const t=this.offsetWidth,i=e.width,a=t/2,r=i/2;this.style.left=`${e.left+r-a}px`,this.style.right="auto"}attachGlobalScrollHandler(){document.addEventListener("scroll",this._repositionTooltipBound,{capture:!0})}detachGlobalScrollHandler(){document.removeEventListener("scroll",this._repositionTooltipBound,{capture:!0})}_onInputFocusin(){requestAnimationFrame(()=>{this.hidePopover(),this.showPopover()})}_onInputKeydown(e){ie(e)&&this.fireDecoratorEvent("change",{value:e.target.value})}_onInputInput(){var e;this.fireDecoratorEvent("input",{value:(e=this.inputRef)==null?void 0:e.value})}_onInputFocusOut(e){var i;const t=e.relatedTarget;(i=this.parentElement)!=null&&i.contains(t)||this.hidePopover(),this.fireDecoratorEvent("change",{value:e.target.value}),this.fireDecoratorEvent("focus-change")}get _ariaLabelledByInputText(){return wf.i18nBundle.getText(z0)}get inputRef(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector("[ui5-input]")}};gs([d()],qr.prototype,"value",void 0);gs([d({type:Boolean})],qr.prototype,"open",void 0);gs([d({type:Number})],qr.prototype,"min",void 0);gs([d({type:Number})],qr.prototype,"max",void 0);gs([d({type:Boolean})],qr.prototype,"editable",void 0);gs([d()],qr.prototype,"valueState",void 0);gs([d({type:Object})],qr.prototype,"followRef",void 0);gs([V("@ui5/webcomponents")],qr,"i18nBundle",void 0);qr=wf=gs([T({tag:"ui5-slider-tooltip",renderer:A,template:qJ,styles:YJ}),x("change"),x("input"),x("open"),x("focus-change")],qr);qr.define();const D2=qr;function KJ(){return g("div",{class:"ui5-slider-scale-root",part:"inner",children:[this._tickmarks.length>0&&l("div",{class:"ui5-slider-scale-tickmarks-container",children:this._tickmarks.map(o=>l("div",{class:{"ui5-slider-scale-tickmark":!0,"ui5-slider-scale-tickmark-in-range":o.isInRange},style:{insetInlineStart:`${this.orientation==="Horizontal"?o.position:"50"}%`,bottom:`${this.orientation==="Vertical"?o.position:"auto"}%`},children:o.label&&o.showLabel&&l("span",{class:"ui5-slider-scale-tickmark-label",children:o.label})}))}),l("div",{class:{"ui5-slider-scale-progress":!0,"ui5-slider-progress":!0,"ui5-slider-progress--focused":this.desktop&&(this.progressFocused||this.progressPressed)},part:"progress",style:this._progressStyle,tabIndex:this.progressTabIndex,role:this.progressRole,"aria-orientation":this.progressRole?"horizontal":void 0,"aria-valuemin":this.progressRole?this.min:void 0,"aria-valuemax":this.progressRole?this.max:void 0,"aria-valuenow":this.progressRole?this.progressAriaValueNow:void 0,"aria-valuetext":this.progressRole?this.progressAriaValueText:void 0,"aria-label":this.progressRole?this.progressAriaLabel:void 0,"aria-disabled":this.progressRole?this.progressAriaDisabled:void 0,onMouseEnter:this._onProgressMouseEnter,onMouseLeave:this._onProgressMouseLeave}),l("div",{class:"ui5-slider-scale-progress-hover-area",style:this._progressStyle,onMouseEnter:this._onProgressMouseEnter,onMouseLeave:this._onProgressMouseLeave}),l("slot",{})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const ZJ=`:host{height:2rem;position:relative;width:100%;box-sizing:border-box;user-select:none;cursor:pointer}.ui5-slider-scale-root{height:.25rem;top:50%;transform:translateY(-50%);box-sizing:var(--_ui5_slider_scale_root_box_sizing);border-radius:.25rem;width:100%;position:relative;background:var(--_ui5_slider_scale_background);border:var(--_ui5_slider_scale_border)}.ui5-slider-scale-tickmarks-container{position:absolute;width:100%;height:100%;top:0;z-index:5;display:flex;justify-content:center;align-items:center}.ui5-slider-scale-tickmark{position:absolute;height:var(--_ui5_slider_scale_tickmark_height);border-left:.0625rem solid var(--sapField_BorderColor)}.ui5-slider-scale-tickmark-in-range{border-left-color:var(--sapSlider_Selected_BorderColor)}.ui5-slider-scale-tickmark-label{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:.875rem;font-size:var(--sapFontSmallSize);color:var(--sapContent_LabelColor);white-space:nowrap}.ui5-slider-scale-progress{position:absolute;top:var(--_ui5_slider_scale_progress_top);height:var(--_ui5_slider_scale_progress_height);background-color:var(--_ui5_slider_scale_progress_background);border:var(--_ui5_slider_scale_progress_border);border-left:none;box-sizing:border-box;z-index:4;border-radius:var(--_ui5_slider_scale_progress_border_radius)}.ui5-slider-scale-progress-hover-area{position:absolute;top:50%;transform:translateY(-50%);height:2rem;z-index:3;cursor:pointer}.ui5-slider-scale-progress:focus{outline:none}:host([desktop]) .ui5-slider-scale-progress:focus:after,.ui5-slider-scale-progress:focus-visible:after,.ui5-slider-scale-progress.ui5-slider-progress--focused:after{border:var(--_ui5_range_slider_progress_focus_border);border-radius:var(--_ui5_range_slider_progress_focus_border_radius, .5rem);content:"";display:var(--_ui5_range_slider_progress_focus_display);position:absolute;top:var(--_ui5_range_slider_progress_focus_top);left:var(--_ui5_range_slider_progress_focus_left);right:var(--_ui5_range_slider_progress_focus_right);padding:var(--_ui5_range_slider_progress_focus_padding);height:var(--_ui5_range_slider_progress_focus_height);box-sizing:border-box}:host([desktop]) .ui5-slider-scale-progress:focus:before,.ui5-slider-scale-progress:focus-visible:before,.ui5-slider-scale-progress.ui5-slider-progress--focused:before{display:var(--_ui5_range_slider_legacy_progress_focus_display);content:"";position:absolute;width:var(--_ui5_range_slider_focus_outline_width);border:var(--_ui5_slider_progress_outline);border-radius:var(--_ui5_range_slider_focus_outline_radius);top:var(--_ui5_slider_progress_outline_offset);height:var(--_ui5_slider_outer_height);box-sizing:border-box;left:var(--_ui5_slider_progress_outline_offset_left)}.ui5-slider-scale-root:before{content:"";position:absolute;width:.5rem;height:.5rem;background-color:var(--sapSlider_Selected_Background);border:solid .0625rem var(--sapContent_Selected_MeasureIndicatorColor);box-sizing:border-box;border-radius:50%;inset-inline-start:var(--_ui5_slider_scale_dots_distance);top:50%;transform:translateY(-50%);display:var(--_ui5_slider_scale_dots_display)}.ui5-slider-scale-root:after{content:"";position:absolute;inset-inline-end:0;width:.5rem;height:.5rem;background-color:var(--sapContent_MeasureIndicatorColor);border-radius:50%;border:solid .0625rem var(--sapContent_MeasureIndicatorColor);box-sizing:border-box;inset-inline-end:var(--_ui5_slider_scale_dots_distance);top:50%;transform:translateY(-50%);display:var(--_ui5_slider_scale_dots_display)}:host([orientation="Vertical"]){width:2rem;height:100%;.ui5-slider-scale-root{box-sizing:border-box;height:100%;width:.25rem;background-color:var(--sapSlider_Background);position:relative}.ui5-slider-scale-progress{width:100%;height:auto}.ui5-slider-scale-root:before{left:50%;top:-1rem;right:auto;transform:translate(-50%)}.ui5-slider-scale-root:after{left:50%;right:auto;top:auto;bottom:-1rem;transform:translate(-50%)}.ui5-slider-scale-tickmark-label{margin-top:0;margin-left:14px;top:50%;left:100%;transform:translateY(-50%)}.ui5-slider-scale-tickmark{height:auto;width:.5rem;margin-top:0;margin-left:0;border-left:none;border-top:.0625rem solid var(--sapField_BorderColor)}}
|
|
751
|
-
`;var Pt=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Sf,vh;(function(o){o.Horizontal="Horizontal",o.Vertical="Vertical"})(vh||(vh={}));let
|
|
751
|
+
`;var Pt=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Sf,vh;(function(o){o.Horizontal="Horizontal",o.Vertical="Vertical"})(vh||(vh={}));let mt=Sf=class extends z{static get MIN_LABEL_DISTANCE(){return 16}static get MIN_SPACE_BETWEEN_TICKMARKS(){return 8}constructor(){super(),this.startValue=0,this.endValue=100,this.min=0,this.max=100,this.step=1,this.showTickmarks=!1,this.orientation="Horizontal",this.tickmarks=[],this.labelInterval=0,this.progressTabIndex=-1,this.progressPressed=!1,this.progressFocused=!1,this.desktop=!1,this.progressHovered=!1,this._labelInterval=1,this._labelsOverlapping=!1,this._hiddenTickmarks=!1,this._notResized=!0,this._resizeHandler=this._handleResize.bind(this)}onEnterDOM(){Q.register(this,this._resizeHandler)}onExitDOM(){Q.deregister(this,this._resizeHandler)}onAfterRendering(){this._notResized&&this._handleResize()}_handleResize(){if(!this.showTickmarks){this._hiddenTickmarks=!1,this._labelsOverlapping=!1;return}this._notResized=!1;const e=this.orientation===vh.Horizontal?this.getBoundingClientRect().width:this.getBoundingClientRect().height,t=this._tickmarksCount;if(t>1){const i=e/t;this._hiddenTickmarks=i<Sf.MIN_SPACE_BETWEEN_TICKMARKS}else this._hiddenTickmarks=!1;if(this.labelInterval<=0||this._hiddenTickmarks)this._labelsOverlapping=!0;else{const r=(Math.ceil((t-1)/this.labelInterval)+1)*32;this._labelsOverlapping=e<r}}_spaceBetweenTickmarks(){const e=this._tickmarksCount;return e<=1?0:(this.orientation===vh.Horizontal?this.getBoundingClientRect().width:this.getBoundingClientRect().height)/e}_onProgressMouseEnter(){this.desktop&&(this.progressHovered=!0,this.handles.forEach(e=>{e.active||(e.hovered=!0)}))}_onProgressMouseLeave(){this.desktop&&(this.progressHovered=!1,this.handles.forEach(e=>{e.hovered=!1}))}get _tickmarksCount(){return this.tickmarks.length>0?this.tickmarks.length-1:this.step===0?0:(this.max-this.min)/this.step}get _visibleLabels(){return this._tickmarks.filter(e=>e.showLabel)}get _progressStyle(){const e=this.max-this.min,t=Math.max(this.min,Math.min(this.startValue,this.max)),i=Math.max(this.min,Math.min(this.endValue,this.max)),a=(t-this.min)/e*100,r=(i-this.min)/e*100;return this.orientation===vh.Vertical?{top:"auto",bottom:`${a}%`,height:`${r-a}%`}:{insetInlineStart:`${a}%`,width:`${r-a}%`}}get _allTickmarks(){if(this.tickmarks.length>0)return this.tickmarks;if(!this.showTickmarks)return[];if(this.step===0)return[];const e=[];for(let t=this.min;t<=this.max;t+=this.step)e.push({value:t});return e}get _tickmarks(){const e=this._allTickmarks,t=al._getDecimalPrecisionOfNumber(this.step),i=t>0?t:0;return e.length===0?[]:e.map((a,r)=>{const n=a.value,s=r===0||r===e.length-1,u=(n-this.min)/(this.max-this.min)*100,c=this._hiddenTickmarks?s:!0;let p=!1;return c&&!this._labelsOverlapping?this.labelInterval>0?p=r%this.labelInterval===0:p=!0:c&&this._labelsOverlapping&&this.labelInterval>0&&(p=s),{value:n,label:a.label||n.toFixed(i),isInRange:n>=this.startValue&&n<=this.endValue,position:u,showLabel:p,visible:c}}).filter(a=>a.visible)}};Pt([d({type:Number})],mt.prototype,"startValue",void 0);Pt([d({type:Number})],mt.prototype,"endValue",void 0);Pt([d({type:Number})],mt.prototype,"min",void 0);Pt([d({type:Number})],mt.prototype,"max",void 0);Pt([d({type:Number})],mt.prototype,"step",void 0);Pt([d({type:Boolean})],mt.prototype,"showTickmarks",void 0);Pt([d()],mt.prototype,"orientation",void 0);Pt([d({type:Array})],mt.prototype,"tickmarks",void 0);Pt([d({type:Number})],mt.prototype,"labelInterval",void 0);Pt([d({type:Number})],mt.prototype,"progressTabIndex",void 0);Pt([d()],mt.prototype,"progressRole",void 0);Pt([d({type:Number})],mt.prototype,"progressAriaValueNow",void 0);Pt([d()],mt.prototype,"progressAriaValueText",void 0);Pt([d()],mt.prototype,"progressAriaLabel",void 0);Pt([d({type:Boolean})],mt.prototype,"progressAriaDisabled",void 0);Pt([d({type:Boolean})],mt.prototype,"progressPressed",void 0);Pt([d({type:Boolean})],mt.prototype,"progressFocused",void 0);Pt([d({type:Boolean})],mt.prototype,"desktop",void 0);Pt([d({type:Boolean})],mt.prototype,"progressHovered",void 0);Pt([d({type:Number})],mt.prototype,"_labelInterval",void 0);Pt([d({type:Boolean})],mt.prototype,"_labelsOverlapping",void 0);Pt([d({type:Boolean})],mt.prototype,"_hiddenTickmarks",void 0);Pt([KX({type:HTMLElement,default:!0})],mt.prototype,"handles",void 0);mt=Sf=Pt([T({tag:"ui5-slider-scale",renderer:A,styles:ZJ,template:KJ})],mt);mt.define();const G9=mt,W9=(o,e,t)=>{const i=e-o;return(t-o)/i*100},JJ=o=>{const e=W9(o.min,o.max,o.startValue);return g(P,{children:[l(E2,{value:o.startValue,min:o.min,max:o.max,tabIndex:o._tabIndex,active:o.rangePressed,desktop:o._isDesktop,handleType:rd.Start,"aria-orientation":"horizontal",part:"handle",exportparts:"icon: handle-icon",role:"slider","aria-valuemin":o.min,"aria-valuemax":o.max,"aria-valuenow":o.startValue,"aria-valuetext":o._ariaValueTextStart,"aria-label":o._ariaLabelStartHandle,"aria-disabled":o._ariaDisabled,"aria-describedby":o._ariaDescribedByHandleText,onFocusIn:o._onfocusin,onFocusOut:o._onfocusout,style:{"inset-inline-start":`clamp(0%, ${e}%, 100%)`}}),eQ(o)]})},QJ=o=>{const e=W9(o.min,o.max,o.endValue);return g(P,{children:[l(E2,{value:o.endValue,min:o.min,max:o.max,tabIndex:o._tabIndex,active:o.rangePressed,desktop:o._isDesktop,handleType:rd.End,"aria-orientation":"horizontal",part:"handle",exportparts:"icon: handle-icon",role:"slider","aria-valuemin":o.min,"aria-valuemax":o.max,"aria-valuenow":o.endValue,"aria-valuetext":o._ariaValueTextEnd,"aria-label":o._ariaLabelEndHandle,"aria-disabled":o._ariaDisabled,"aria-describedby":o._ariaDescribedByHandleText,onFocusIn:o._onfocusin,onFocusOut:o._onfocusout,style:{"inset-inline-start":`clamp(0%, ${e}%, 100%)`}}),tQ(o)]})},eQ=o=>l(D2,{open:o._isStartTooltipVisible,value:o.tooltipStartValue,valueState:o.tooltipStartValueState,min:o.min,max:o.max,"data-sap-ui-start-value":!0,editable:o.editableTooltip,followRef:o._startHandle,onChange:o._onTooltipChange,onKeyDown:o._onTooltipKeydown,onFocusChange:o._onTooltipFocusChange,onOpen:o._onTooltipOpen,onInput:o._onTooltipInput}),tQ=o=>l(D2,{open:o._isEndTooltipVisible,value:o.tooltipEndValue,valueState:o.tooltipEndValueState,min:o.min,max:o.max,"data-sap-ui-end-value":!0,editable:o.editableTooltip,followRef:o._endHandle,onChange:o._onTooltipChange,onKeyDown:o._onTooltipKeydown,onFocusChange:o._onTooltipFocusChange,onOpen:o._onTooltipOpen,onInput:o._onTooltipInput});function oQ(){return l(P,{children:l("div",{class:"ui5-slider-evo-root",part:"root-container",onMouseDown:this._onmousedown,onTouchStart:this._onmousedown,onMouseOver:this._onmouseover,onMouseOut:this._onmouseout,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,children:g(G9,{startValue:this.startValue,endValue:this.endValue,min:this.min,max:this.max,step:this._effectiveStep,showTickmarks:this.showTickmarks||this._hasCustomTickmarks,labelInterval:this._hasCustomTickmarks?1:this.labelInterval,tickmarks:this.tickmarks,progressTabIndex:this._tabIndex,progressRole:this._progressRole,progressAriaValueNow:this._ariaValueNow,progressAriaValueText:`From ${this.startValue} to ${this.endValue}`,progressAriaLabel:this._ariaLabel,progressAriaDisabled:this._ariaDisabled,progressPressed:this.rangePressed,progressFocused:this._progressFocused,desktop:this._isDesktop,onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,part:"scale",exportparts:"inner: scale-inner, progress: progress-bar",children:[JJ(this),QJ(this),this.editableTooltip&&l(P,{children:l("span",{id:"ui5-slider-InputDesc",class:"ui5-hidden-text",children:this._ariaDescribedByInputText})})]})})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const iQ=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{vertical-align:middle}:host{display:inline-block;height:var(--_ui5_slider_height, 2.75rem);width:100%}:host([label-interval]:not([label-interval="0"])){height:3.75rem;align-items:flex-start}.ui5-slider-evo-root{width:100%;height:100%;display:flex;align-items:center;padding:var(--_ui5_slider_root_side_padding);box-sizing:border-box;min-width:var(--_ui5_slider_inner_min_width)}:host([disabled]){opacity:var(--_ui5_slider_disabled_opacity);cursor:default;pointer-events:none}
|
|
752
752
|
`;var ia=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},zn;let Wi=zn=class extends al{set startValue(e){this._startValue=e,this.tooltipStartValue=this._getCustomLabel(e)||((e==null?void 0:e.toString())??"")}get startValue(){return this._startValue}set endValue(e){this._endValue=e,this.tooltipEndValue=this._getCustomLabel(e)||((e==null?void 0:e.toString())??"")}get endValue(){return this._endValue}get formFormattedValue(){const e=new FormData;return this.name&&(e.append(this.name,this.startValue.toString()),e.append(this.name,this.endValue.toString())),e}constructor(){super(),this.tooltipStartValue="",this.tooltipEndValue="",this.tooltipStartValueState="None",this.tooltipEndValueState="None",this.rangePressed=!1,this._progressFocused=!1,this._isStartValueValid=!1,this._isEndValueValid=!1,this._startValue=0,this._endValue=100,this._isPressInCurrentRange=!1,this._handeIsPressed=!1,this._reversedValues=!1,this._areInputValuesSwapped=!1,this._stateStorage.startValue=void 0,this._stateStorage.endValue=void 0,this._lastValidStartValue=this.min.toString(),this._lastValidEndValue=this.max.toString(),this._onDocumentClickBound=this._onDocumentClick.bind(this)}onEnterDOM(){document.addEventListener("mousedown",this._onDocumentClickBound,!0)}onExitDOM(){document.removeEventListener("mousedown",this._onDocumentClickBound,!0)}_onDocumentClick(e){e.composedPath().includes(this)||this._tooltipsOpen&&(this._tooltipsOpen=!1)}get _ariaDisabled(){return this.disabled||void 0}get _isStartTooltipVisible(){return this._tooltipsOpen?this._hasCustomTickmarks?this._getCustomLabel(this.startValue)!==void 0:!0:!1}get _isEndTooltipVisible(){return this._tooltipsOpen?this._hasCustomTickmarks?this._getCustomLabel(this.endValue)!==void 0:!0:!1}get _ariaValueTextStart(){return this._getCustomLabel(this.startValue)}get _ariaValueTextEnd(){return this._getCustomLabel(this.endValue)}get _ariaLabelledByText(){return zn.i18nBundle.getText(eB)}get _ariaHandlesText(){const e=this.effectiveDir==="rtl",t=this._areValuesReversed(),i={};return e&&!t||!e&&t?(i.startHandleText=zn.i18nBundle.getText(Jb),i.endHandleText=zn.i18nBundle.getText(Zb)):(i.startHandleText=zn.i18nBundle.getText(Zb),i.endHandleText=zn.i18nBundle.getText(Jb)),i}get _ariaValueNow(){return Math.abs(this.endValue-this.startValue)}get _progressRole(){return"slider"}onBeforeRendering(){if(this.startValue>this.endValue){const e=this._valueAffected==="startValue"?"endValue":"startValue";this._swapValues(),this._setAffectedValue(e),this.update(e,this.startValue,this.endValue)}this.isCurrentStateOutdated()&&(this.notResized=!0,this.syncUIAndState(),this._updateHandlesAndRange(0),this.update(this._valueAffected,this.startValue,this.endValue))}onAfterRendering(){super.onAfterRendering(),[...this.getDomRef().querySelectorAll("[ui5-slider-tooltip]")].forEach(e=>{e.repositionTooltip()})}syncUIAndState(){if(this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","startValue","endValue")){this.storePropertyState("min","max");const e=al.clipValue(this.startValue,this._effectiveMin,this._effectiveMax);this.startValue=e,this.updateStateStorageAndFireInputEvent("startValue"),this.storePropertyState("startValue");const t=al.clipValue(this.endValue,this._effectiveMin,this._effectiveMax);this.endValue=t,this.updateStateStorageAndFireInputEvent("endValue"),this.storePropertyState("endValue")}this.labelInterval&&this.showTickmarks&&this._createLabels(),this.isPropertyUpdated("labelInterval")&&this.storePropertyState("labelInterval")}_onfocusin(){this._endValueInitial||(this._startValueInitial=this.startValue,this._endValueInitial=this.endValue),this._tooltipsOpen=this.showTooltip}_onfocusout(e){var t;if(this._isFocusing()){this._preventFocusOut();return}this._setAffectedValue(void 0),this._startValueInitial=void 0,this._endValueInitial=void 0,this._progressFocused=!1,this.showTooltip&&!((t=e.relatedTarget)!=null&&t.hasAttribute("ui5-slider-tooltip"))&&(this._tooltipsOpen=!1)}_onkeyup(e){super._onKeyupBase(),ie(e)||this._setAffectedValue(void 0),(this.startValue!==this._startValueAtBeginningOfAction||this.endValue!==this._endValueAtBeginningOfAction)&&this.fireDecoratorEvent("change"),this._startValueAtBeginningOfAction=void 0,this._endValueAtBeginningOfAction=void 0}_handleActionKeyPress(e){if(this._startValueAtBeginningOfAction=this.startValue,this._endValueAtBeginningOfAction=this.endValue,De(e)){this._startValueInitial!==void 0&&this._endValueInitial!==void 0&&this.update(void 0,this._startValueInitial,this._endValueInitial);return}this._setAffectedValueByFocusedElement();const t=this._effectiveMin,i=this._effectiveMax,a=this._valueAffected;if((Ot(e)||lt(e))&&!a){this._homeEndForSelectedRange(e,lt(e)?"startValue":"endValue",t,i);return}const r=this._handleActionKeyPressBase(e,a);if(!r)return;const n=this.constructor,s=n._getDecimalPrecisionOfNumber(this._effectiveStep);if(a&&!this._isPressInCurrentRange){const u=this[a],c=Number(n.clipValue(r+u,t,i).toFixed(s));this.update(a,c,void 0)}else if(r<0&&this.startValue>t||r>0&&this.endValue<i){const u=Number(n.clipValue(r+this.startValue,t,i).toFixed(s)),c=Number(n.clipValue(r+this.endValue,t,i).toFixed(s));this.update(a,u,c)}this.tooltipStartValue=this._getCustomLabel(this.startValue)||this.startValue.toString(),this.tooltipEndValue=this._getCustomLabel(this.endValue)||this.endValue.toString()}_setAffectedValueByFocusedElement(){var t;this.shadowRoot.activeElement===this._startHandle&&this._setAffectedValue("startValue"),this.shadowRoot.activeElement===this._endHandle&&this._setAffectedValue("endValue");const e=this.shadowRoot.querySelector("[ui5-slider-scale]");((t=e==null?void 0:e.shadowRoot)==null?void 0:t.activeElement)===this._progressBar&&this._setAffectedValue(void 0),this._setIsPressInCurrentRange(!this._valueAffected)}_homeEndForSelectedRange(e,t,i,a){const r=this._handleActionKeyPressBase(e,t),n=this.constructor,s=n._getDecimalPrecisionOfNumber(this._effectiveStep),u=Number(n.clipValue(r+this.startValue,i,a).toFixed(s)),c=Number(n.clipValue(r+this.endValue,i,a).toFixed(s));this.update(void 0,u,c)}update(e,t,i){if(!e)this.startValue=t,this.updateStateStorageAndFireInputEvent("startValue"),this.endValue=i,this.updateStateStorageAndFireInputEvent("endValue"),this._updateHandlesAndRange(0);else{const a=i&&e==="endValue"?i:t;this._updateHandlesAndRange(a||0),e==="startValue"&&(this.startValue=a,this.updateStateStorageAndFireInputEvent("startValue")),e==="endValue"&&(this.endValue=a,this.updateStateStorageAndFireInputEvent("endValue"))}}_onmousedown(e){if(this._isNonPrimaryClick(e)||this.disabled||this._effectiveStep===0||e.target.hasAttribute("ui5-slider-tooltip"))return;const t=this.constructor,i=t.getPageXValueFromEvent(e),a=t.getValueFromInteraction(e,this._effectiveStep,this._effectiveMin,this._effectiveMax,this.getBoundingClientRect(),this.directionStart),r=a>=this.startValue&&a<=this.endValue,n=this._startHandle,s=this._endHandle,u=n&&i>=n.getBoundingClientRect().left&&i<=n.getBoundingClientRect().right,c=s&&i>=s.getBoundingClientRect().left&&i<=s.getBoundingClientRect().right,p=this.handleDownBase(e);if(r&&!u&&!c?(this._setIsPressInCurrentRange(!0),this._progressFocused=!0,this.rangePressed=!0):(this._progressFocused=!1,this.rangePressed=!1),this._saveInteractionStartData(e,p),this._isPressInCurrentRange||this._handeIsPressed){this._handeIsPressed=!1;return}this.update(this._valueAffected,p,void 0)}_saveInteractionStartData(e,t){var r;const i=(r=this._progressBar)==null?void 0:r.getBoundingClientRect();this._startValueAtBeginningOfAction=this.startValue,this._endValueAtBeginningOfAction=this.endValue;const a=this.constructor;this._initialPageXPosition=a.getPageXValueFromEvent(e),this._pressTargetAndAffectedValue(this._initialPageXPosition,t),i&&(this._initialStartHandlePageX=this.directionStart==="left"?i.left:i.right)}_handleMove(e){if(e.preventDefault(),!(this.disabled||this._effectiveStep===0)){if(!this._isPressInCurrentRange){this._updateValueOnHandleDrag(e);return}this._updateValueOnRangeDrag(e),this.tooltipStartValue=this._getCustomLabel(this.startValue)||this.startValue.toString(),this.tooltipEndValue=this._getCustomLabel(this.endValue)||this.endValue.toString()}}_updateValueOnHandleDrag(e){const i=this.constructor.getValueFromInteraction(e,this._effectiveStep,this._effectiveMin,this._effectiveMax,this.getBoundingClientRect(),this.directionStart);this.update(this._valueAffected,i,void 0)}_updateValueOnRangeDrag(e){const i=this.constructor.getPageXValueFromEvent(e),a=this._calculateRangeOffset(i,this._initialStartHandlePageX);this._setAffectedValue(void 0),this.update(void 0,a[0],a[1])}_handleUp(){this._setAffectedValueByFocusedElement(),this._setAffectedValue(void 0),(this.startValue!==this._startValueAtBeginningOfAction||this.endValue!==this._endValueAtBeginningOfAction)&&this.fireDecoratorEvent("change"),this._setIsPressInCurrentRange(!1),this.handleUpBase(),this.rangePressed=!1,this._startValueAtBeginningOfAction=void 0,this._endValueAtBeginningOfAction=void 0}_pressTargetAndAffectedValue(e,t){const i=this._startHandle,a=this._endHandle,r=i.getBoundingClientRect(),n=a.getBoundingClientRect(),s=e>=r.left&&e<=r.right,u=e>=n.left&&e<=n.right;(u||s)&&(this._handeIsPressed=!0),(u||t>this.endValue)&&this._setAffectedValue("endValue"),(s||t<this.startValue)&&this._setAffectedValue("startValue");const c=this._startValueAtBeginningOfAction!==void 0&&this._endValueAtBeginningOfAction!==void 0&&t>=this._startValueAtBeginningOfAction&&t<=this._endValueAtBeginningOfAction;this._setIsPressInCurrentRange(this._valueAffected||this._handeIsPressed?!1:c)}_setAffectedValue(e){this._valueAffected=e,this._areValuesReversed()&&this._setValuesAreReversed()}_setIsPressInCurrentRange(e){this._isPressInCurrentRange=e}focusInnerElement(){var i,a,r;const e=this._areValuesReversed(),t=this._valueAffected;(this._isPressInCurrentRange||!t)&&((i=this._progressBar)==null||i.focus({focusVisible:se()})),(t==="startValue"&&!e||t==="endValue"&&e)&&((a=this._startHandle)==null||a.focus({focusVisible:se()}),this.bringToFrontTooltip("start")),(t==="endValue"&&!e||t==="startValue"&&e)&&((r=this._endHandle)==null||r.focus({focusVisible:se()}),this.bringToFrontTooltip("end"))}_calculateRangeOffset(e,t){if(this._initialPageXPosition===e)return[this.startValue,this.endValue];const i=this._effectiveMin,a=this._effectiveMax,r=this.endValue-this.startValue;let n=this._calculateStartValueByOffset(e,t);const s=this.constructor;n=s.clipValue(n,i,a-r);const u=s._getDecimalPrecisionOfNumber(this._effectiveStep),c=Number((n+r).toFixed(u));return n=Number(n.toFixed(u)),[n,c]}_calculateStartValueByOffset(e,t){const i=this._effectiveMin,a=this._effectiveMax,r=this._effectiveStep,n=this.getBoundingClientRect();let s,u,c;const p=this.constructor;return e>this._initialPageXPosition?(c=e-this._initialPageXPosition,u=t+c,s=p.computedValueFromPageX(u,i,a,n,this.directionStart),s=p.getSteppedValue(s,r,i)):(c=this._initialPageXPosition-e,u=t-c,s=p.computedValueFromPageX(u,i,a,n,this.directionStart),s=p.getSteppedValue(s,r,i)),s}_updateHandlesAndRange(e){const t=this._effectiveMax,i=this._effectiveMin,a=this.getStoredPropertyState("startValue")||0,r=this.getStoredPropertyState("endValue")||0,n=this._valueAffected;n==="startValue"?(this._selectedRange=(r-e)/(t-i),this._firstHandlePositionFromStart=(e-i)/(t-i)*100):n==="endValue"?(this._selectedRange=(e-a)/(t-i),this._secondHandlePositionFromStart=(e-i)/(t-i)*100):(this._selectedRange=(this.endValue-this.startValue)/(t-i),this._firstHandlePositionFromStart=(this.startValue-i)/(t-i)*100,this._secondHandlePositionFromStart=(this.endValue-i)/(t-i)*100)}bringToFrontTooltip(e){const t=e==="start"?"[data-sap-ui-start-value]":"[data-sap-ui-end-value]",i=this.shadowRoot.querySelector(t);if(i!=null&&i.hidePopover&&(i!=null&&i.showPopover)){const a=requestAnimationFrame(()=>{var r;if(((r=i.getDomRef())==null?void 0:r.offsetParent)===null){cancelAnimationFrame(a);return}i.hidePopover(),i.showPopover()})}}_onTooltopForwardFocus(e){var i;(i=e.target.followRef)==null||i.focus()}_onTooltipChange(e){if(this._areInputValuesSwapped){this._areInputValuesSwapped=!1;return}const i=e.target.hasAttribute("data-sap-ui-start-value"),a=parseFloat(e.detail.value);if(a>this._effectiveMax||a<this._effectiveMin){i?(this.tooltipStartValueState=fe.Negative,this.tooltipStartValue=e.detail.value):(this.tooltipEndValueState=fe.Negative,this.tooltipEndValue=e.detail.value);return}const n=Math.min(this.max,Math.max(this.min,a));if(i?(this.tooltipStartValueState=fe.None,this.startValue=n,this._lastValidStartValue=n.toString()):(this.tooltipEndValueState=fe.None,this.endValue=n,this._lastValidEndValue=n.toString()),this.startValue>this.endValue){this._areInputValuesSwapped=!0;const s=this.startValue;this.startValue=this.endValue,this.endValue=s;const u=this._lastValidStartValue;this._lastValidStartValue=this._lastValidEndValue,this._lastValidEndValue=u;const c=i?"[data-sap-ui-end-value]":"[data-sap-ui-start-value]",p=this.shadowRoot.querySelector(c);p==null||p.focus()}this.bringToFrontTooltip(i?"start":"end"),this.update("value",this.startValue,this.endValue),this.fireDecoratorEvent("change")}_onTooltipFocusChange(e){const i=e.target.hasAttribute("data-sap-ui-start-value"),a=i?this.tooltipStartValue:this.tooltipEndValue;(parseFloat(a)>this._effectiveMax||parseFloat(a)<this._effectiveMin)&&(i?(this.tooltipStartValueState=fe.None,this.tooltipStartValue=this.startValue.toString()):(this.tooltipEndValueState=fe.None,this.tooltipEndValue=this.endValue.toString()))}_onTooltipOpen(){!this.startValue||!this.endValue||(this.tooltipStartValue=this._getCustomLabel(this.startValue)||this.startValue.toString(),this.tooltipEndValue=this._getCustomLabel(this.endValue)||this.endValue.toString())}_onTooltipInput(e){e.target.hasAttribute("data-sap-ui-start-value")?this.tooltipStartValue=e.detail.value:this.tooltipEndValue=e.detail.value}_onTooltipKeydown(e){var t;ll(e)&&(e.preventDefault(),(t=e.target.followRef)==null||t.focus())}_getFormattedValue(e){const t=parseFloat(e),a=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return t.toFixed(a).toString()}_swapValues(){const e=this._valueAffected;if(e){if(e==="startValue"&&this.startValue>this.endValue){const t=this.endValue;this.endValue=this.startValue,this.startValue=t}if(e==="endValue"&&this.endValue<this.startValue){const t=this.startValue;this.startValue=this.endValue,this.endValue=t}this._setValuesAreReversed(),this._updateHandlesAndRange(this[e]),this._areInputValuesSwapped||this.focusInnerElement(),this.syncUIAndState(),this._areInputValuesSwapped=!1}}_setValuesAreReversed(){this._reversedValues=!this._reversedValues}_areValuesReversed(){return this._reversedValues}get tickmarksObject(){const e=this._tickmarksCount,t=[];if(this._hiddenTickmarks)return[!1,!1];for(let i=0;i<=e;i++){const a=this._effectiveMin+i*this.step>=this.startValue,r=this._effectiveMin+i*this.step<=this.endValue;t.push(a&&r)}return t}get _startHandle(){return this.shadowRoot.querySelector("[ui5-slider-handle][handle-type='Start']")}get _endHandle(){return this.shadowRoot.querySelector("[ui5-slider-handle][handle-type='End']")}get _progressBar(){var t;const e=this.shadowRoot.querySelector("[ui5-slider-scale]");return((t=e==null?void 0:e.shadowRoot)==null?void 0:t.querySelector(".ui5-slider-progress"))??null}get _ariaLabelledByStartHandleText(){return this.accessibleName?["ui5-slider-accName","ui5-slider-startHandleDesc"].join(" ").trim():"ui5-slider-startHandleDesc"}get _ariaLabelledByEndHandleText(){return this.accessibleName?["ui5-slider-accName","ui5-slider-endHandleDesc"].join(" ").trim():"ui5-slider-endHandleDesc"}get _ariaLabelStartHandle(){return this._getAriaLabelHandle(this._ariaHandlesText.startHandleText||"")}get _ariaLabelEndHandle(){return this._getAriaLabelHandle(this._ariaHandlesText.endHandleText||"")}_getAriaLabelHandle(e){const t=ld(this),i=!!this.accessibleName;let a=i?`${this.accessibleName} ${e}`:e;return!i&&t&&(a=`${t} ${a}`),a}get _ariaLabelledByInputText(){return zn.i18nBundle.getText(z0)}get _ariaDescribedByInputText(){return zn.i18nBundle.getText(u3)}get styles(){return{progress:{width:`${this._selectedRange*100}%`,"transform-origin":`${this.directionStart} top`,[this.directionStart]:`calc(${this._firstHandlePositionFromStart}% + var(--_ui5_slider_active_progress_left))`},startHandle:{[this.directionStart]:`${this._firstHandlePositionFromStart}%`},endHandle:{[this.directionStart]:`${this._secondHandlePositionFromStart}%`}}}};ia([d({type:Number})],Wi.prototype,"startValue",null);ia([d({type:Number})],Wi.prototype,"endValue",null);ia([d()],Wi.prototype,"tooltipStartValue",void 0);ia([d()],Wi.prototype,"tooltipEndValue",void 0);ia([d()],Wi.prototype,"tooltipStartValueState",void 0);ia([d()],Wi.prototype,"tooltipEndValueState",void 0);ia([d({type:Boolean})],Wi.prototype,"rangePressed",void 0);ia([d({type:Boolean})],Wi.prototype,"_progressFocused",void 0);ia([d({type:Boolean})],Wi.prototype,"_isStartValueValid",void 0);ia([d({type:Boolean})],Wi.prototype,"_isEndValueValid",void 0);ia([V("@ui5/webcomponents")],Wi,"i18nBundle",void 0);Wi=zn=ia([T({tag:"ui5-range-slider",languageAware:!0,formAssociated:!0,template:oQ,styles:[iQ]})],Wi);Wi.define();const q9=Wi;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Y9=`:host{--udex-slider-color-track-start-point: var(--sapSlider_Selected_Background, #0070f2);--udex-slider-color-track-active: var(--sapSlider_Selected_Background, #0070f2);--udex-slider-color-handle-focus-range: var(--sapSlider_Selected_BorderColor, #0070f2);--udex-slider-color-handle-active-background: var(--sapSlider_Active_HandleBackground, #ffffff);--udex-slider-color-handle-default-icon: var(--sapContent_Selected_ForegroundColor, #0040b0);--udex-slider-radius-range-size: var(--udexRadiusM, 8px);--udex-slider-handle-width: 2.75rem;--udex-slider-handle-top: -.875rem;--udex-slider-handle-height: var(--udexSpacer32, 2rem);--udex-slider-start-end-point-left: -1rem;--udex-slider-start-end-point-right: -1rem;--udex-slider-progress-after-background: var(--sapContent_MeasureIndicatorColor, #5b738b);--udex-slider-handle-icon-size: var(--udexSpacer20, 1.25rem);--udex-slider-tooltip-bottom: 2.5rem;--udex-slider-tooltip-border: 1px solid var(--udexColorGrey4, #A9B4BE);--udex-slider-tooltip-border-radius: var(--udexSpacer4, .25rem);--udex-slider-tooltip-font-size: var(--udexTypographyNavigationRegularMFontSize, 14px);--udex-slider-tooltip-color: var(--udexColorGrey9, #223548);--udex-slider-tooltip-background: var(--sapBaseColor, #ffffff);--udex-slider-tooltip-height: var(--udexSpacer32, 2rem);--udex-slider-tooltip-min-width: 2.75rem;--udex-slider-tickmark-in-range-bg: var(--sapSlider_Selected_BorderColor, #0070f2);--udex-slider-tickmark-bg: var(--sapContent_MeasureIndicatorColor, #5b738b);--udex-slider-label-color: var(--sapContent_MeasureIndicatorColor, #5b738b);--udex-slider-handle-focus-border: 2px solid var(--sapSlider_Active_HandleBorderColor);--udex-slider-root-padding: 1rem 1.0625rem}:host{font-family:var(--sapFontFamily);font-weight:var(--udexTypographyFontWeightRegular, 400);font-size:var(--udexTypographyNavigationRegularMFontSize, 14px);line-height:var(--udexTypographyHeadingLineHeight, 1.1);color:var(--sapContent_MeasureIndicatorColor, #5b738b);height:74px;padding:var(--udex-slider-root-padding)}[ui5-slider-handle]{--_ui5_slider_handle_width: var(--udex-slider-handle-width);--_ui5_slider_handle_height: var(--udex-slider-handle-height);width:var(--udex-slider-handle-width);height:var(--udex-slider-handle-height);border-radius:var(--udex-slider-radius-range-size);z-index:5}[ui5-slider-handle]:focus{border:var(--udex-slider-handle-focus-border)}[ui5-slider-handle]::part(icon){width:var(--udex-slider-handle-icon-size);height:var(--udex-slider-handle-icon-size);color:var(--udex-slider-color-handle-default-icon)}.ui5-slider-progress-container:before{background-color:var(--udex-slider-color-track-start-point);inset-inline-start:var(--udex-slider-start-end-point-left)}.ui5-slider-progress-container:after{background-color:var(--udex-slider-progress-after-background);inset-inline-end:var(--udex-slider-start-end-point-right)}.ui5-slider-progress{background-color:var(--udex-slider-color-track-active)}[ui5-slider-scale]::part(progress):focus:after{content:"";display:block;position:absolute;box-sizing:border-box;border:var(--_ui5_range_slider_progress_focus_border);border-radius:var(--_ui5_range_slider_progress_focus_border_radius);top:var(--_ui5_range_slider_progress_focus_top);height:var(--_ui5_range_slider_progress_focus_height);inset-inline-start:var(--_ui5_range_slider_progress_focus_left);inset-inline-end:var(--_ui5_range_slider_progress_focus_right)}:host([desktop]) [ui5-slider-handle]:focus,[ui5-slider-handle]:focus-visible{background-color:var(--_ui5_range_slider_handle_background_focus)}.ui5-slider-root:focus .ui5-slider-inner [ui5-slider-handle],[ui5-slider-handle]:focus{border:var(--udex-slider-handle-focus-border)}.ui5-slider-handle-container{margin-inline-start:calc(-1 * var(--udex-slider-handle-width) / 2);top:var(--udex-slider-handle-top)}.ui5-slider-handle{height:var(--udex-slider-handle-height);width:var(--udex-slider-handle-width);border-radius:var(--udex-slider-radius-range-size)}:host([desktop]) .ui5-slider-handle:focus,.ui5-slider-handle:focus-visible{background-color:var(--_ui5_range_slider_handle_background_focus)}.ui5-slider-root:focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-handle:focus{border:var(--udex-slider-handle-focus-border)}[slider-icon]{color:var(--udex-slider-color-handle-default-icon);width:var(--udex-slider-handle-icon-size);height:var(--udex-slider-handle-icon-size)}:host .ui5-slider-inner .ui5-slider-labels li,.ui5-slider-labels li{height:1.375rem;font-family:var(--sapFontFamily);font-size:var(--udexTypographyNavigationRegularMFontSize, 14px);color:var(--udex-slider-label-color)}.ui5-slider-tickmarks li{border-inline-start:1px solid var(--udex-slider-tickmark-bg)}.ui5-slider-tickmarks li.ui5-slider-tickmark-in-range{border-inline-start:1px solid var(--udex-slider-tickmark-in-range-bg)}.ui5-slider-evo-root{padding:0 14px}[ui5-slider-scale]{--sapFontSmallSize: var(--udexTypographyNavigationRegularMFontSize, 14px);--_ui5_slider_handle_height: var(--udex-slider-handle-height);--_ui5_slider_handle_width: var(--udex-slider-handle-width);--_ui5_range_slider_progress_focus_border: 2px solid var(--udex-slider-color-handle-focus-range);--_ui5_range_slider_progress_focus_border_radius: var(--udex-slider-radius-range-size);--_ui5_range_slider_progress_focus_top: -1.12rem;--_ui5_range_slider_progress_focus_height: calc(var(--udex-slider-handle-height) + 8px);--_ui5_range_slider_progress_focus_left: calc(-1 * (var(--udex-slider-handle-width) / 2) - 5px);--_ui5_range_slider_progress_focus_right: calc(-1 * (var(--udex-slider-handle-width) / 2) - 5px);--_ui5_slider_scale_dots_distance: -14px}[ui5-slider-scale]::part(inner):before{border:0}:host(:not([hidden])) .ui5-slider-handle-container [ui5-slider-tooltip],[ui5-slider-tooltip]{box-sizing:border-box;height:var(--udex-slider-tooltip-height);min-width:var(--udex-slider-tooltip-min-width);border:var(--udex-slider-tooltip-border);box-shadow:var(--sapContent_Shadow0, 0px 2px 4px 0px rgba(34, 53, 72, .2));border-radius:var(--udex-slider-tooltip-border-radius);font-size:var(--udex-slider-tooltip-font-size);color:var(--udex-slider-tooltip-color);background-color:var(--udex-slider-tooltip-background);padding:8px 12px;margin-top:calc(-1 * var(--udex-slider-tooltip-bottom))}
|
|
753
753
|
`;var rQ=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let kf=class extends q9{onEnterDOM(){se()&&this.setAttribute("desktop","")}};kf=rQ([T({tag:"udex-range-slider",renderer:A,styles:[q9.styles,Y9]})],kf);kf.define();function aQ(){const o="udex-rating-bar";return g("div",{className:`${o}__container`,children:[l("div",{"aria-hidden":"true",className:`${o}__rating`,children:this.validatedRating}),l(R,{"aria-labelledby":"ratingDescription",role:"img",name:B8,class:`${o}__icon`}),l("div",{className:`${o}__track`,children:l("div",{className:`${o}__progress`})}),this.showPercentage&&l("div",{role:"note",className:`${o}__percentage`,"aria-label":this.validatedPercentage,children:this.validatedPercentage}),l("span",{id:"ratingDescription",className:"hidden-text",children:this._ratingDescription})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const nQ=`:host{--udex-rating-bar-progress-color: var(--udexColorMango6, #E76500);--udex-rating-bar-progress-track-color: var(--udexColorGrey1, #F5F6F7);--udex-rating-bar-text-color: var(--udexColorGrey9, #223548);--udex-rating-bar-text-percentage-color: var(--udexColorGrey7, #475E75);--udex-rating-bar-container-height: 1.5rem;--udex-rating-bar-progress: 100%;--udex-rating-bar-track-height: .75rem;--udex-rating-bar-progress-radius: var(--udexRadiusM, .5rem)}.udex-rating-bar__container{display:flex;flex-direction:row;align-items:center;gap:var(--udexSpacer4);height:var(--udex-rating-bar-container-height);font-family:var(--sapFontFamily, sans-serif)}.udex-rating-bar__percentage,.udex-rating-bar__rating{font-size:var(--udexTypographyBodySFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight)}.udex-rating-bar__rating{color:var(--udex-rating-bar-text-color)}.udex-rating-bar__percentage{color:var(--udex-rating-bar-text-percentage-color)}.udex-rating-bar__track{width:100%;height:var(--udex-rating-bar-track-height);background-color:var(--udex-rating-bar-progress-track-color);border:none;overflow:hidden;border-radius:var(--udex-rating-bar-progress-radius)}.udex-rating-bar__progress{width:var(--udex-rating-bar-progress);height:100%;background-color:var(--udex-rating-bar-progress-color);border:none;border-radius:var(--udex-rating-bar-progress-radius)}.udex-rating-bar__icon{height:.875rem;width:.875rem;color:var(--udexColorMango6)}.hidden-text{display:none}
|
|
754
754
|
`;var G_=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Tf;let Cl=Tf=class extends z{constructor(){super(...arguments),this.rating=0,this.percentage=0,this._minRating=0,this._maxRating=5,this._minPercentage=0,this._maxPercentage=100}onBeforeRendering(){this.style.setProperty("--udex-rating-bar-progress",`${this.percentage}%`)}get validatedRating(){return this.rating>this._maxRating?(console.warn("UDEx RatingBar: The rating shouldn't be more than 5."),this._maxRating):this.rating<this._minRating?(console.warn("UDEx RatingBar: The rating shouldn't be less than 0."),this._minRating):this.rating}get validatedPercentage(){return this.percentage>this._maxPercentage?(console.warn("UDEx RatingBar: The percentage shouldn't be more than 100."),`${this._maxPercentage}%`):this.percentage<this._minPercentage?(console.warn("UDEx RatingBar: The percentage shouldn't be less than 0."),`${this._minPercentage}%`):`${this.percentage}%`}get _ratingDescription(){return`${this.validatedRating} ${B(Tf,w5)}`}};G_([d({type:Number})],Cl.prototype,"rating",void 0);G_([d({type:Number})],Cl.prototype,"percentage",void 0);G_([d({type:Boolean})],Cl.prototype,"showPercentage",void 0);G_([V("@sapudex/web-components")],Cl,"i18nBundle",void 0);Cl=Tf=G_([T({tag:"udex-rating-bar",renderer:A,styles:nQ,template:aQ,dependencies:[R]})],Cl);Cl.define();function sQ(){const o="udex-review";return this.isEmpty?g("div",{className:`${o}__empty-container`,children:[l("slot",{className:`${o}__default-text`,name:"defaultText"}),l("slot",{name:"reviewButton"})]}):this.withoutBreakdown?g("div",{className:`${o}__container-without-breakdown`,children:[g("div",{className:`${o}__content-without-breakdown`,children:[l("div",{className:`${o}__rating`,"aria-level":2,role:"heading","aria-hidden":"true",children:this.validatedRating}),g("div",{className:`${o}__rating-info-without-breakdown`,children:[l(zh,{value:this.validatedRating,max:this._maxRating,readonly:!0}),l("div",{className:`${o}__reviews-text`,children:this.reviewsText})]})]}),g("div",{className:`${o}__additional-content-without-breakdown`,children:[l("slot",{className:`${o}__default-text`,name:"defaultText"}),l("slot",{name:"reviewButton"})]})]}):g("div",{className:`${o}__container`,children:[g("div",{className:`${o}__content`,children:[g("div",{className:`${o}__rating-info`,children:[l("div",{className:`${o}__rating`,"aria-level":2,role:"heading","aria-hidden":"true",children:this.validatedRating}),l(R,{"aria-labelledby":"ratingDescription",role:"img",name:B8,class:`${o}__icon`})]}),l("div",{className:`${o}__reviews-text`,children:this.reviewsText}),l("slot",{name:"reviewButton"})]}),l("div",{className:`${o}__additional-content`,children:this.validatedRatingBars.map(e=>l("slot",{name:e._individualSlot}))}),l("span",{id:"ratingDescription",class:"hidden-text",children:this._ratingDescription})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const dQ=`:host{--udex-review-color: var(--udexColorGrey9, #223548);--udex-review-rating-color: var(--udexColorNeutralBlack, #000000);--udex-review-container-inline-padding: 0;--udex-review-container-vertical-padding: var(--udexSpacer32);--udex-review-container-vertical-padding-xs: var(--udexSpacer24);--udex-review-xs-gutter: var(--udexSpacer40);color:var(--udex-review-color)}.udex-review__container{width:100%;display:flex;flex-direction:row;align-items:center;padding:var(--udex-review-container-vertical-padding) var(--udex-review-container-inline-padding);font-family:var(--sapFontFamily, sans-serif);box-sizing:border-box}.udex-review__container-without-breakdown{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--udex-review-container-vertical-padding) var(--udex-review-container-inline-padding);font-family:var(--sapFontFamily, sans-serif);box-sizing:border-box}.udex-review__empty-container{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--udexSpacer12);padding:var(--udex-review-container-vertical-padding) 0;font-family:var(--sapFontFamily, sans-serif);box-sizing:border-box}.udex-review__rating{font-size:var(--udexTypographyDisplayBoldMFontSize);font-weight:var(--udexTypographyFontWeightBold);color:var(--udex-review-rating-color)}.udex-review__content{font-size:var(--udexTypographyDisplayBoldMFontSize);font-weight:var(--udexTypographyFontWeightBold);display:flex;flex-direction:column;justify-content:center;align-items:center;margin-inline-end:var(--udexGridXLGutters)}.udex-review__content-without-breakdown{font-size:var(--udexTypographyDisplayBoldMFontSize);font-weight:var(--udexTypographyFontWeightBold);display:flex;flex-direction:row;align-items:center;margin-bottom:0}.udex-review__additional-content{display:flex;flex-direction:column;gap:var(--udexSpacer8);width:100%}.udex-review__additional-content-without-breakdown{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--udexSpacer12);margin-bottom:0}.udex-review__rating-info{display:flex;flex-direction:row;align-items:center;gap:var(--udexSpacer8)}.udex-review__rating-info-without-breakdown{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-inline-start:var(--udexSpacer16);.udex-review__reviews-text{margin-bottom:0}}.udex-review__default-text{font-size:var(--udexTypographyBodySFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight);margin-bottom:var(--udexSpacer12);text-align:center}.udex-review__reviews-text{font-size:var(--udexTypographyBodyXSFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight);color:var(--udexColorGrey7);margin-top:var(--udexSpacer8);margin-bottom:var(--udexSpacer12)}@media (width < 980px){.udex-review__rating{font-size:var(--udexTypographyDisplayBoldSFontSize)}.udex-review__container-without-breakdown{flex-direction:column;align-items:center}.udex-review__container{padding:var(--udex-review-container-vertical-padding) var(--udex-review-container-inline-padding)}.udex-review__content{margin-inline-end:var(--udexGridSGutters)}.udex-review__default-text{font-size:var(--udexTypographyBodyXSFontSize)}.udex-review__content-without-breakdown{margin-bottom:var(--udexSpacer16)}.udex-review__additional-content-without-breakdown{justify-content:space-between;gap:var(--udexSpacer16)}}@media (width < 640px){.udex-review__rating{font-size:var(--udexTypographyDisplayBoldXSFontSize)}.udex-review__container,.udex-review__container-without-breakdown{padding:var(--udex-review-container-vertical-padding-xs) var(--udex-review-container-inline-padding)}.udex-review__container{flex-direction:column;align-items:center}.udex-review__empty-container{padding:var(--udex-review-container-vertical-padding-xs) 0}.udex-review__content{margin-bottom:var(--udex-review-xs-gutter);margin-inline-end:0}}.udex-review__icon{height:1.5rem;width:1.5rem;color:var(--udexColorMango6)}.hidden-text{display:none}
|
|
@@ -825,16 +825,16 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
825
825
|
@font-face{font-family:"72Mono-Bold";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.36.4/content/Base/baseLib/baseTheme/fonts/72Mono-Bold.woff2) format("woff2"),local("72Mono-Bold");unicode-range:U+00,U+0D,U+20-7E,U+A0-FF,U+131,U+152-153,U+161,U+178,U+17D-17E,U+192,U+237,U+2C6,U+2DC,U+3BC,U+1E9E,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20AC,U+2122}
|
|
826
826
|
@font-face{font-family:"72Mono-Boldfull";src:url(https://cdn.jsdelivr.net/npm/@sap-theming/theming-base-content@11.36.4/content/Base/baseLib/baseTheme/fonts/72Mono-Bold-full.woff2) format("woff2")}`,Doe=()=>{const o=La("OpenUI5Support");(!o||!o.isOpenUI5Detected())&&Roe()},Roe=()=>{const o=document.querySelector("head>style[data-ui5-font-face]");!ky()||o||mc(Eoe,"data-ui5-font-face")},Poe=":root{--_ui5-cozy-size:var(--_ui5-f2d95f8);--_ui5-compact-size: ;--ui5_content_density:cozy}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5-cozy-size: ;--_ui5-compact-size:var(--_ui5-f2d95f8);--ui5_content_density:compact}",Loe=()=>{mc(Poe,"data-ui5-system-css-vars")},Noe="html:not(.ui5-content-native-scrollbars){scrollbar-color:var(--sapScrollBar_FaceColor) var(--sapScrollBar_TrackColor)}",Moe=()=>{mc(Noe,"data-ui5-scrollbar-styles")},Ooe=new pn,Foe="themeRegistered",zoe=o=>{Ooe.attachEvent(Foe,o)},X6=new Map,$oe=new Map,Hoe=new Map,Xoe=new Map,Yf=new Set,Ny=async(o,e,t)=>{const i=`${o}_${e}_${t||""}`,a=X6.get(i);if(a!==void 0)return a;if(!Yf.has(e)){const u=[...Yf.values()].join(", ");return console.warn(`You have requested a non-registered theme ${e} - falling back to ${Q1}. Registered themes are: ${u}`),nv(o,Q1)}const[r,n]=await Promise.all([nv(o,e),t?nv(o,t,!0):void 0]),s=Vie(r,n);return s&&X6.set(i,s),s},nv=async(o,e,t=!1)=>{const a=(t?Hoe:$oe).get(`${o}/${e}`);if(!a){t||console.error(`Theme [${e}] not registered for package [${o}]`);return}let r;try{r=await a(e)}catch(n){console.error(o,n.message);return}return r},My=()=>Xoe,Uoe=o=>Yf.has(o),bu=new Set,joe=()=>{let o=document.querySelector(".sapThemeMetaData-Base-baseLib")||document.querySelector(".sapThemeMetaData-UI5-sap-ui-core");if(o)return getComputedStyle(o).backgroundImage;o=document.createElement("span"),o.style.display="none",o.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(o);let e=getComputedStyle(o).backgroundImage;return e==="none"&&(o.classList.add("sapThemeMetaData-UI5-sap-ui-core"),e=getComputedStyle(o).backgroundImage),document.body.removeChild(o),e},Voe=o=>{const e=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(o);if(e&&e.length>=2){let t=e[1];if(t=t.replace(/\\"/g,'"'),t.charAt(0)!=="{"&&t.charAt(t.length-1)!=="}")try{t=decodeURIComponent(t)}catch{bu.has("decode")||(console.warn("Malformed theme metadata string, unable to decodeURIComponent"),bu.add("decode"));return}try{return JSON.parse(t)}catch{bu.has("parse")||(console.warn("Malformed theme metadata string, unable to parse JSON"),bu.add("parse"))}}},Goe=o=>{let e,t;try{const i=o.Path.split(".");e=i.length===4?i[2]:getComputedStyle(document.body).getPropertyValue("--sapSapThemeId"),t=o.Extends[0]}catch{bu.has("object")||(console.warn("Malformed theme metadata Object",o),bu.add("object"));return}return{themeName:e,baseThemeName:t}},U6=()=>{const o=joe();if(!o||o==="none")return;const e=Voe(o);if(e)return Goe(e)},Woe=new pn,qoe="themeLoaded",Yoe=o=>Woe.fireEvent(qoe,o),Koe=(o,e)=>{const t=document.createElement("link");return t.type="text/css",t.rel="stylesheet",e&&Object.entries(e).forEach(i=>t.setAttribute(...i)),t.href=o,document.head.appendChild(t),new Promise(i=>{t.addEventListener("load",i),t.addEventListener("error",i)})},j6=o=>{const e=document.querySelector(`META[name="${o}"]`);return e&&e.getAttribute("content")},Zoe=(o,e=!1)=>{const t=j6("sap-allowed-theme-origins")??j6("sap-allowedThemeOrigins");return t?e?!0:t.split(",").some(i=>i==="*"||o===i.trim()):!1},Joe=o=>{let e,t=!1;try{if(o.startsWith(".")||o.startsWith("/")&&!o.startsWith("//"))e=new URL(o,tv()).toString(),t=!0;else{const i=o.startsWith("//")?new URL(o,tv()):new URL(o),a=i.origin,r=new URL(tv()).origin;if(t=a===r,a&&Zoe(a,t))e=i.toString();else return}return e.endsWith("/")||(e=`${e}/`),`${e}UI5/`}catch{return}};let d1;fs(()=>{d1=void 0});const X2=()=>(d1===void 0&&(d1=$te()),d1),Qoe=(o,e)=>`${e}Base/baseLib/${o}/css_variables.css`,eie=async o=>{const e=document.querySelector(`[sap-ui-webcomponents-theme="${o}"]`);e&&document.head.removeChild(e);const t=X2();if(!t)return;const i=Joe(t);if(!i){console.warn(`The ${t} is not valid. Check the allowed origins as suggested in the "setThemeRoot" description.`);return}await Koe(Qoe(o,i),{"sap-ui-webcomponents-theme":o})},tie="@container style(--_ui5-animation-mode:none){*{transition-duration:0s!important;animation-duration:0s!important}}",t5=new Map;t5.set("ui5-common-component-styles",tie);let bp;const Oy=()=>(bp||(bp=new CSSStyleSheet,bp.replaceSync(Array.from(t5.values()).join(`
|
|
827
827
|
`))),bp),oie=(o,e)=>{t5.set(o,e);const t=Array.from(t5.values()).join(`
|
|
828
|
-
`);Oy().replaceSync(t)};let iie="ui5",rie="webcomponents-theming";const r_="@"+iie+"/"+rie,aie=()=>My().has(r_),nie=async o=>{if(!aie())return;const e=await Ny(r_,o);e&&mc(e,"data-ui5-theme-properties",r_,o)},sie=()=>{jie("data-ui5-theme-properties",r_)},die=async(o,e)=>{const i=[...My().entries()].map(async([a,{cssVariablesTarget:r}])=>{if(a===r_)return;const n=await Ny(a,o,e);n&&(r==="root"?mc(n,`data-ui5-component-properties-${vc()}`,a):r==="host"&&oie(a,n))});return Promise.all(i)},lie=async o=>{var i;const e=U6();if(e)return e;const t=La("OpenUI5Support");if(t&&t.isOpenUI5Detected()){if(t.cssVariablesLoaded())return{themeName:(i=t.getConfigurationSettingsObject())==null?void 0:i.theme,baseThemeName:""}}else if(X2())return await eie(o),U6()},U2=async o=>{const e=await lie(o);!e||o!==e.themeName?await nie(o):sie();const t=e&&e.themeName===o?o:void 0,i=e&&e.baseThemeName,a=Uoe(o)?o:i||Q1;await die(a,t),pie(i),Yoe(o)},uie=()=>Cd("ConfigChange.eventProvider",new pn),cie=()=>Cd("ConfigChange.values",{}),hie="configChange",_ie=new Set,Fy=(o,e)=>{uie().attachEvent(hie,t=>{t.name===o&&!_ie.has(o)&&e(t.value)})},zy=o=>cie()[o];let Iu,$y;fs(()=>{Iu=void 0});Fy("theme",o=>{Iu=o,Uy()&&U2(Iu).then(()=>H2({themeAware:!0}))});const j2=()=>(Iu===void 0&&(Iu=zy("theme")??zte()),Iu),Hy=()=>$y,pie=o=>{$y=o},fi=typeof document>"u",ot={get userAgent(){return fi?"":navigator.userAgent},get touch(){return fi?!1:"ontouchstart"in window||navigator.maxTouchPoints>0},get chrome(){return fi?!1:/(Chrome|CriOS)/.test(ot.userAgent)},get firefox(){return fi?!1:/Firefox/.test(ot.userAgent)},get safari(){return fi?!1:!ot.chrome&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(ot.userAgent)},get webkit(){return fi?!1:/webkit/.test(ot.userAgent)},get windows(){return fi?!1:navigator.platform.indexOf("Win")!==-1},get macOS(){return fi?!1:!!navigator.userAgent.match(/Macintosh|Mac OS X/i)},get iOS(){return fi?!1:!!navigator.platform.match(/iPhone|iPad|iPod/)||!!(ot.userAgent.match(/Mac/)&&"ontouchend"in document)},get android(){return fi?!1:!ot.windows&&/Android/.test(ot.userAgent)},get androidPhone(){return fi?!1:ot.android&&/(?=android)(?=.*mobile)/i.test(ot.userAgent)},get ipad(){return fi?!1:/ipad/i.test(ot.userAgent)||/Macintosh/i.test(ot.userAgent)&&"ontouchend"in document},_isPhone(){return Xy(),ot.touch&&!Ds}};let sv,dv,Ds;const V2=()=>{if(fi||!ot.windows)return!1;if(sv===void 0){const o=ot.userAgent.match(/Windows NT (\d+).(\d)/);sv=o?parseFloat(o[1]):0}return sv>=8},gie=()=>{if(fi||!ot.webkit)return!1;if(dv===void 0){const o=ot.userAgent.match(/(webkit)[ /]([\w.]+)/);dv=o?parseFloat(o[1]):0}return dv>=537.1},Xy=()=>{if(fi)return!1;if(Ds===void 0){if(ot.ipad){Ds=!0;return}if(ot.touch){if(V2()){Ds=!0;return}if(ot.chrome&&ot.android){Ds=!/Mobile Safari\/[.0-9]+/.test(ot.userAgent);return}let o=window.devicePixelRatio?window.devicePixelRatio:1;ot.android&&gie()&&(o=1),Ds=Math.min(window.screen.width/o,window.screen.height/o)>=600;return}Ds=ot.userAgent.indexOf("Touch")!==-1||ot.android&&!ot.androidPhone}},vie=()=>ot.safari,mie=()=>(Xy(),(ot.touch||V2())&&Ds),fie=()=>ot._isPhone(),bie=()=>fi?!1:!mie()&&!fie()||V2(),xie=()=>ot.iOS;let V6=!1;const yie=()=>{vie()&&xie()&&!V6&&(document.body.addEventListener("touchstart",()=>{}),V6=!0)};let G2=!1,xp,G6=!1;const Cie=new pn,Uy=()=>G2,wie=async()=>{const o=La("OpenUI5Support"),e=o?o.isOpenUI5Detected():!1,t=La("F6Navigation");o&&(t&&t.destroy(),await o.init()),t&&!e&&t.init()},Sie=()=>{if(G6)return;const o=La("OpenUI5Support");o&&(G6=o.attachListeners())},kie=async()=>{if(xp!==void 0)return xp;const o=async e=>{if(Mie(),typeof document>"u"){e();return}zoe(Tie),await wie(),await Aoe(),await U2(j2()),Sie(),Doe(),Loe(),Moe(),yie(),e(),G2=!0,Cie.fireEvent("boot")};return xp=new Promise(o),xp},Tie=o=>{if(!G2)return;const e=j2(),t=Hy();(o===e||o===t)&&U2(e)};let mh,l1;fs(()=>{mh=void 0,l1=void 0});let u1=null;const Iie=o=>{const e=foe(o).then(()=>{if(u1===e&&(u1=null,Uy()))return H2({languageAware:!0})});return u1=e,e};Fy("language",o=>{mh=o,Iie(o)});const Kf=()=>u1,jy=()=>(mh===void 0&&(mh=zy("language")??Hte()),mh),Vy=()=>(l1===void 0&&(l1=Xte()),l1),Bie=["value-changed","click"];let c1;fs(()=>{c1=void 0});const Aie=o=>Bie.includes(o),Eie=o=>{const e=W2();return!(typeof e!="boolean"&&e.events&&e.events.includes&&e.events.includes(o))},W2=()=>(c1===void 0&&(c1=Ute()),c1),Die=o=>{const e=W2();return Aie(o)?!1:e===!0?!0:!Eie(o)};let h1;fs(()=>{h1=void 0});const Rie=()=>(h1===void 0&&(h1=Yte()),h1);let lv;const Pie=()=>(lv===void 0&&(lv=Vte()),lv);let uv;const Lie=()=>(uv===void 0&&(uv=Gte()),uv);let _1,Nie="";const cv=new Map,a_=Cd("Runtimes",[]),Mie=()=>{if(_1===void 0){_1=a_.length;const o=loe;a_.push({...o,get scopingSuffix(){return Sy()},get registeredTags(){return wy()},get registeredFeatures(){return Rte()},get configuration(){return{theme:j2(),themeRoot:X2(),baseTheme:Hy(),language:jy(),fetchDefaultLanguage:Vy(),timezone:Rie(),animationMode:Wie(),calendarType:_oe(),secondaryCalendarType:poe(),noConflict:W2(),defaultFontLoading:ky(),enableDefaultTooltips:Pie(),firstDayOfWeek:goe(),legacyDateCalendarCustomizing:moe(),ignoreUrlParams:Lie()}},get scopingRules(){return coe()},get openUI5Detected(){var e;return((e=La("OpenUI5Support"))==null?void 0:e.isOpenUI5Detected())??!1},get openUI5LoadedFirst(){const e=La("OpenUI5Support");return e?e.isOpenUI5LoadedFirst():void 0},alias:Nie,description:`Runtime ${_1} - ver ${o.version}`,importMetaUrl:import.meta.url})}},vc=()=>_1,Oie=(o,e)=>{if(o.isNext||e.isNext)return o.buildTime-e.buildTime;const t=o.major-e.major;if(t)return t;const i=o.minor-e.minor;if(i)return i;const a=o.patch-e.patch;return a||new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(o.suffix,e.suffix)},Gy=(o,e)=>{const t=`${o},${e}`;if(cv.has(t))return cv.get(t);const i=a_[o],a=a_[e];if(!i||!a)throw new Error("Invalid runtime index supplied");const r=Oie(i,a);return cv.set(t,r),r},Fie=()=>a_,Wy=typeof document>"u",zie=new Map,n_=(o,e)=>e?`${o}|${e}`:o,$ie=o=>o===void 0?!0:Gy(vc(),parseInt(o))>=1,Hie=(o,e,t="",i)=>{const a=vc(),r=new CSSStyleSheet;r.replaceSync(o),r._ui5StyleId=n_(e,t),zie.set(n_(e,t),r),i&&(r._ui5RuntimeIndex=a,r._ui5Theme=i),document.adoptedStyleSheets=[...document.adoptedStyleSheets,r]},Xie=(o,e,t="",i)=>{if(Wy)return;const a=vc(),r=document.adoptedStyleSheets.find(n=>n._ui5StyleId===n_(e,t));if(r)if(!i)r.replaceSync(o||"");else{const n=r._ui5RuntimeIndex;(r._ui5Theme!==i||$ie(n))&&(r.replaceSync(o||""),r._ui5RuntimeIndex=String(a),r._ui5Theme=i)}},Uie=(o,e="")=>Wy?!0:!!document.adoptedStyleSheets.find(t=>t._ui5StyleId===n_(o,e)),jie=(o,e="")=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter(t=>t._ui5StyleId!==n_(o,e))},mc=(o,e,t="",i)=>{Uie(e,t)?Xie(o,e,t,i):Hie(o,e,t,i)},Vie=(o,e)=>o===void 0?e:e===void 0?o:`${o} ${e}`;let eh;const Gie=o=>{mc(`:root { --_ui5-animation-mode: ${o}; }`,"data-ui5-animation-mode")};fs(()=>{eh=void 0});const Wie=()=>(eh===void 0&&(eh=Fte(),Gie(eh)),eh);var nd;(function(o){o.SAPIconsV4="SAP-icons-v4",o.SAPIconsV5="SAP-icons-v5",o.SAPIconsTNTV2="tnt-v2",o.SAPIconsTNTV3="tnt-v3",o.SAPBSIconsV1="business-suite-v1",o.SAPBSIconsV2="business-suite-v2"})(nd||(nd={}));const q2=new Map;q2.set("SAP-icons",{legacy:nd.SAPIconsV4,sap_horizon:nd.SAPIconsV5});q2.set("tnt",{legacy:nd.SAPIconsTNTV2,sap_horizon:nd.SAPIconsTNTV3});q2.set("business-suite",{legacy:nd.SAPBSIconsV1,sap_horizon:nd.SAPBSIconsV2});var W6;(function(o){o["SAP-icons"]="SAP-icons-v4",o.horizon="SAP-icons-v5",o["SAP-icons-TNT"]="tnt",o.BusinessSuiteInAppSymbols="business-suite"})(W6||(W6={}));const qie=typeof document>"u",Yie=()=>{if(qie)return i_;const o=navigator.languages,e=()=>navigator.language;return o&&o[0]||e()||i_},Kie=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class qy{constructor(e){const t=Kie.exec(e.replace(/_/g,"-"));if(t===null)throw new Error(`The given language ${e} does not adhere to BCP-47.`);this.sLocaleId=e,this.sLanguage=t[1]||i_,this.sScript=t[2]||"",this.sRegion=t[3]||"",this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,i=>i.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(e){return this.getPrivateUseSubtags().indexOf(e)>=0}toString(){const e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")}}const hv=new Map,Yy=o=>(hv.has(o)||hv.set(o,new qy(o)),hv.get(o)),Zie=o=>{try{if(o&&typeof o=="string")return Yy(o)}catch{}return new qy(Kn)},nl=o=>{const e=jy();return e?Yy(e):Zie(Yie())},Jie=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,q6=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,Qie={he:"iw",yi:"ji",nb:"no",sr:"sh"},ere=o=>{let e;if(!o)return Kn;if(typeof o=="string"&&(e=Jie.exec(o.replace(/_/g,"-")))){let t=e[1].toLowerCase(),i=e[3]?e[3].toUpperCase():void 0;const a=e[2]?e[2].toLowerCase():void 0,r=e[4]?e[4].slice(1):void 0,n=e[6];return t=Qie[t]||t,n&&(e=q6.exec(n))||r&&(e=q6.exec(r))?`en_US_${e[1].toLowerCase()}`:(t==="zh"&&!i&&(a==="hans"?i="CN":a==="hant"&&(i="TW")),t+(i?"_"+i+(r?"_"+r.replace("-","_"):""):""))}return Kn},Y6={zh_HK:"zh_TW",in:"id"},tre=o=>{if(!o)return Kn;if(Y6[o])return Y6[o];const e=o.lastIndexOf("_");return e>=0?o.slice(0,e):o!==Kn?Kn:""},K6=new Set,Z6=new Set,Y2=new Map,_v=new Map,Ky=new Map,J6=(o,e)=>{Y2.set(o,e)},ore=o=>Y2.get(o),Zy=(o,e)=>{const t=`${o}/${e}`;return Ky.has(t)},ire=(o,e)=>{const t=`${o}/${e}`,i=Ky.get(t);return i&&!_v.get(t)&&_v.set(t,i(e)),_v.get(t)},rre=o=>{K6.has(o)||(console.warn(`[${o}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${o}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),K6.add(o))},Q6=(o,e)=>e!==i_&&!Zy(o,e),Jy=async o=>{const e=nl().getLanguage(),t=nl().getRegion(),i=nl().getVariant();let a=e+(t?`-${t}`:"")+(i?`-${i}`:"");if(Q6(o,a))for(a=ere(a);Q6(o,a);)a=tre(a);const r=Vy();if(a===i_&&!r){J6(o,null);return}if(!Zy(o,a)){rre(o);return}try{const n=await ire(o,a);J6(o,n)}catch(n){const s=n;Z6.has(s.message)||(Z6.add(s.message),console.error(s.message))}};Ay(o=>{const e=[...Y2.keys()];return Promise.all(e.map(Jy))});const are=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,nre=(o,e)=>(e=e||[],o.replace(are,(t,i,a,r,n)=>{if(i)return"'";if(a)return a.replace(/''/g,"'");if(r){const s=typeof r=="string"?parseInt(r):r;return String(e[s])}throw new Error(`[i18n]: pattern syntax error at pos ${n}`)})),pv=new Map;class sre{constructor(e){this.packageName=e}getText(e,...t){if(typeof e=="string"&&(e={key:e,defaultText:e}),!e||!e.key)return"";const i=ore(this.packageName);i&&!i[e.key]&&console.warn(`Key ${e.key} not found in the i18n bundle, the default text will be used`);const a=i&&i[e.key]?i[e.key]:e.defaultText||e.key;return nre(a,t)}}const dre=o=>{if(pv.has(o))return pv.get(o);const e=new sre(o);return pv.set(o,e),e},lre=async o=>(await Jy(o),dre(o));var ex;(function(o){o.Auto="Auto",o.Vertical="Vertical",o.Horizontal="Horizontal",o.Paging="Paging"})(ex||(ex={}));var tx;(function(o){o.Static="Static",o.Cyclic="Cyclic"})(tx||(tx={}));const ox=o=>{if(!(o instanceof HTMLElement))return"default";const e=o.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"},Qy=o=>o instanceof HTMLSlotElement?o.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[o],ix=o=>o.reduce((e,t)=>e.concat(Qy(t)),[]);class ure{constructor(e){this.metadata=e}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const e={};if(this.slotsAreManaged()){const i=this.getSlots();for(const[a,r]of Object.entries(i)){const n=r.propertyName||a;e[n]=[],e[jd(n)]=e[n]}}return this._initialState=e,e}static validateSlotValue(e,t){return cre(e,t)}getPureTag(){return this.metadata.tag||""}getTag(){const e=this.metadata.tag;if(!e)return"";const t=hoe(e);return t?`${e}-${t}`:e}hasAttribute(e){return!this.getProperties()[e].noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute.bind(this)).map(M0)}canSlotText(){var e;return((e=this.getSlots().default)==null?void 0:e.type)===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.values(this.getSlots()).some(e=>e.individualSlots)}slotsAreManaged(){return!!this.metadata.managedSlots}supportsF6FastNavigation(){return!!this.metadata.fastNavigation}getProperties(){return this.metadata.properties||(this.metadata.properties={}),this.metadata.properties}getEvents(){return this.metadata.events||(this.metadata.events={}),this.metadata.events}getSlots(){return this.metadata.slots||(this.metadata.slots={}),this.metadata.slots}isLanguageAware(){return!!this.metadata.languageAware}isThemeAware(){return!!this.metadata.themeAware}needsCLDR(){return!!this.metadata.cldr}getShadowRootOptions(){return this.metadata.shadowRootOptions||{}}isFormAssociated(){return!!this.metadata.formAssociated}shouldInvalidateOnChildChange(e,t,i){const a=this.getSlots()[e].invalidateOnChildChange;if(a===void 0)return!1;if(typeof a=="boolean")return a;if(typeof a=="object"){if(t==="property"){if(a.properties===void 0)return!1;if(typeof a.properties=="boolean")return a.properties;if(Array.isArray(a.properties))return a.properties.includes(i);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if(t==="slot"){if(a.slots===void 0)return!1;if(typeof a.slots=="boolean")return a.slots;if(Array.isArray(a.slots))return a.slots.includes(i);throw new Error("Wrong format for invalidateOnChildChange.slots: boolean or array is expected")}}throw new Error("Wrong format for invalidateOnChildChange: boolean or object is expected")}getI18n(){return this.metadata.i18n||(this.metadata.i18n={}),this.metadata.i18n}}const cre=(o,e)=>(o&&Qy(o).forEach(t=>{if(!(t instanceof e.type))throw new Error(`The element is not of type ${e.type.toString()}`)}),o),hre=()=>Cd("CustomStyle.eventProvider",new pn),_re="CustomCSSChange",K2=o=>{hre().attachEvent(_re,o)},pre=()=>Cd("CustomStyle.customCSSFor",{});K2(o=>{H2({tag:o})});const gre=o=>{const e=pre();return e[o]?e[o].join(""):""},vre=10,rx=o=>Array.isArray(o)?o.filter(e=>!!e).flat(vre).join(" "):o,p1=new Map;K2(o=>{p1.delete(`${o}_normal`)});const mre=o=>{const e=o.getMetadata().getTag(),t=`${e}_normal`,i=La("OpenUI5Enablement");if(!p1.has(t)){let a="";i&&(a=rx(i.getBusyIndicatorStyles()));const r=gre(e)||"",s=`${rx(o.styles)} ${r} ${a}`;p1.set(t,s)}return p1.get(t)},g1=new Map;K2(o=>{g1.delete(`${o}_normal`)});const fre=o=>{const t=`${o.getMetadata().getTag()}_normal`;if(!g1.has(t)){const i=mre(o),a=new CSSStyleSheet;a.replaceSync(i),g1.set(t,[a])}return g1.get(t)},bre=o=>{const e=o.constructor,t=o.shadowRoot;if(!t){console.warn("There is no shadow root to update");return}t.adoptedStyleSheets=[Oy(),...fre(e)],e.renderer(o,t)},xre=[],yre=o=>xre.some(e=>o.startsWith(e)),Zf=new WeakMap,Cre=(o,e,t)=>{const i=new MutationObserver(e);Zf.set(o,i),i.observe(o,t)},wre=o=>{const e=Zf.get(o);e&&(e.disconnect(),Zf.delete(o))},Sre=o=>o.matches(":dir(rtl)")?"rtl":"ltr",kre=["disabled","title","hidden","role","draggable"],ax=o=>kre.includes(o)||o.startsWith("aria")?!0:![HTMLElement,Element,Node].some(t=>t.prototype.hasOwnProperty(o)),Tre=(o,e)=>{if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(o[t]!==e[t])return!1;return!0},Ire=(o,e)=>o.call(e),Bre=o=>{Ere(o)&&Jf(o)},Jf=o=>{var e,t;if((e=o._internals)!=null&&e.form){if(Are(o),!o.name){(t=o._internals)==null||t.setFormValue(null);return}o._internals.setFormValue(o.formFormattedValue)}},Are=async o=>{var e,t;if(!(!o.isUI5Element||!((e=o._internals)!=null&&e.form)))if(o._internals.setValidity({customError:!0}," "),await o.definePromise,o.formValidity&&Object.keys(o.formValidity).some(i=>i)){const i=await((t=o.formElementAnchor)==null?void 0:t.call(o));o._internals.setValidity(o.formValidity,o.formValidityMessage,i)}else o._internals.setValidity({})},Ere=o=>"formFormattedValue"in o&&"name"in o,Dre=new Map,o5=new Map,gv=new Map,nx=new Set;let sx=!1;const Rre={iw:"he",ji:"yi",in:"id"},dx=o=>{sx||(console.warn(`[LocaleData] Supported locale "${o}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),sx=!0)},Pre=(o,e,t)=>{o=o&&Rre[o]||o,o==="no"&&(o="nb"),o==="zh"&&!e&&(t==="Hans"?e="CN":t==="Hant"&&(e="TW")),(o==="sh"||o==="sr"&&t==="Latn")&&(o="sr",e="Latn");let i=`${o}_${e}`;return F6.includes(i)||(i=o,F6.includes(i))?o5.has(i)?i:(dx(i),Kn):Kn},lx=(o,e)=>{Dre.set(o,e)},Lre=o=>{if(!gv.get(o)){const e=o5.get(o);if(!e)throw new Error(`CLDR data for locale ${o} is not loaded!`);gv.set(o,e(o))}return gv.get(o)},eC=async(o,e,t)=>{const i=Pre(o,e,t),a=La("OpenUI5Support");if(a){const r=a.getLocaleDataObject();if(r){lx(i,r);return}}try{const r=await Lre(i);lx(i,r)}catch(r){const n=r;nx.has(n.message)||(nx.add(n.message),console.error(n.message))}},Nre=(o,e)=>{o5.set(o,e)};Nre("en",async()=>(console.warn('[LocaleData] Falling back to loading "en" locale data from CDN.','For production usage, please configure locale data loading via the "Assets.js" module of the webcomponents package you are using.'),(await fetch("https://cdn.jsdelivr.net/npm/@openui5/sap.ui.core@1.120.17/src/sap/ui/core/cldr/en.json")).json()));Ay(()=>{const o=nl();return eC(o.getLanguage(),o.getRegion(),o.getScript())});function Mre(o){return e=>e!=null&&o in e&&e[o]===!0}let Ore=0;const ux=new Map,vv=new Map,cx={fromAttribute(o,e){if(e===Boolean)return o!==null;if(e===Number)return o===null?void 0:parseFloat(o);if(e===Object||e===Array)try{return JSON.parse(o)}catch{return o}return o},toAttribute(o,e){return e===Boolean?o?"":null:e===Object||e===Array||o==null?null:String(o)}};function Lc(o){this._suppressInvalidation||this.constructor.getMetadata().isLanguageAware()&&Kf()||(this.onInvalidation(o),this._changedState.push(o),Dy(this),this._invalidationEventProvider.fireEvent("invalidate",{...o,target:this}))}function Fre(o,e){do{const t=Object.getOwnPropertyDescriptor(o,e);if(t)return t;o=Object.getPrototypeOf(o)}while(o&&o!==HTMLElement.prototype)}class Y_ extends HTMLElement{constructor(){super(),this.__shouldHydrate=!1,this._rendered=!1;const e=this.constructor;this._changedState=[],this._suppressInvalidation=!0,this._inDOM=!1,this._fullyConnected=!1,this._childChangeListeners=new Map,this._slotChangeListeners=new Map,this._invalidationEventProvider=new pn,this._componentStateFinalizedEventProvider=new pn;let t;this._domRefReadyPromise=new Promise(a=>{t=a}),this._domRefReadyPromise._deferredResolve=t,this._doNotSyncAttributes=new Set,this._slotsAssignedNodes=new WeakMap,this._state={...e.getMetadata().getInitialState()},this.initializedProperties=new Map,this.constructor.getMetadata().getPropertiesList().forEach(a=>{if(this.hasOwnProperty(a)){const r=this[a];this.initializedProperties.set(a,r)}}),this._internals=this.attachInternals(),this._initShadowRoot()}_initShadowRoot(){const e=this.constructor;if(e._needsShadowDOM()){const t={mode:"open"};this.shadowRoot?this.__shouldHydrate=!0:this.attachShadow({...t,...e.getMetadata().getShadowRootOptions()}),e.getMetadata().slotsAreManaged()&&this.shadowRoot.addEventListener("slotchange",this._onShadowRootSlotChange.bind(this))}}_onShadowRootSlotChange(e){var i;((i=e.target)==null?void 0:i.getRootNode())===this.shadowRoot&&this._processChildren()}get _id(){return this.__id||(this.__id=`ui5wc_${++Ore}`),this.__id}render(){const e=this.constructor.template;return Ire(e,this)}async connectedCallback(){{const a=this.constructor.getMetadata().getProperties();for(const[r,n]of Object.entries(a))Object.hasOwn(this,r)&&!this.initializedProperties.has(r)&&console.error(`[UI5-FWK] ${this.constructor.getMetadata().getTag()} has a property [${r}] that is shadowed by the instance. Updates to this property will not invalidate the component. Possible reason is TS target ES2022 or TS useDefineForClassFields`)}const e=this.constructor;Ry(this),this.setAttribute(e.getMetadata().getPureTag(),""),e.getMetadata().supportsF6FastNavigation()&&!this.hasAttribute("data-sap-ui-fastnavgroup")&&this.setAttribute("data-sap-ui-fastnavgroup","true");const t=e.getMetadata().slotsAreManaged();this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),Object.prototype.hasOwnProperty.call(e,"asyncFinished")||await e._definePromise;const i=Kf();e.getMetadata().isLanguageAware()&&i&&await i,this._inDOM&&(this._rendered||Ly(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,this.onEnterDOM(),this.hasAttribute("autofocus")&&requestAnimationFrame(()=>{this.focus()}))}get definePromise(){const e=this.constructor;return!Object.prototype.hasOwnProperty.call(e,"asyncFinished")&&e._definePromise?e._definePromise:Promise.resolve()}disconnectedCallback(){const t=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,t&&this._stopObservingDOMChildren(),this._fullyConnected&&(this.onExitDOM(),this._fullyConnected=!1),this._domRefReadyPromise._deferredResolve(),woe(this),Py(this)}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}_startObservingDOMChildren(){const t=this.constructor.getMetadata();if(!t.hasSlots())return;const a=t.canSlotText(),r={childList:!0,subtree:a,characterData:a};Cre(this,this._processChildren.bind(this),r)}_stopObservingDOMChildren(){wre(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor,t=e.getMetadata().getSlots(),i=e.getMetadata().canSlotText(),a=Array.from(i?this.childNodes:this.children),r=new Map,n=new Map;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;n.set(b,_),r.set(b,[...this._state[b]]),this._clearSlot(_,f)}const s=new Map,u=new Map;a.forEach((_,f)=>{const b=ox(_),k=t[b];if(k===void 0){if(b!=="default"){const H=Object.keys(t).join(", ");console.warn(`Unknown slotName: ${b}, ignoring`,_,`Valid values are: ${H}`)}return}const $=k.propertyName||b;u.has($)?u.get($).push({child:_,idx:f}):u.set($,[{child:_,idx:f}])}),u.forEach((_,f)=>{this._state[f]=_.sort((b,k)=>b.idx-k.idx).map(b=>b.child),this._state[jd(f)]=this._state[f]});const c=a.map(async _=>{const f=ox(_),b=t[f];if(b!==void 0){if(b.individualSlots){const k=(s.get(f)||0)+1;s.set(f,k),_._individualSlot=`${f}-${k}`}if(_ instanceof HTMLElement){const k=_.localName;if(k.includes("-")&&!yre(k)){if(!customElements.get(k)){const X=customElements.whenDefined(k);let y=ux.get(k);y||(y=new Promise(C=>setTimeout(C,1e3)),ux.set(k,y)),await Promise.race([X,y])}customElements.upgrade(_)}}if(_=e.getMetadata().constructor.validateSlotValue(_,b),yp(_)&&b.invalidateOnChildChange){const k=this._getChildChangeListener(f);_.attachInvalidate.call(_,k)}_ instanceof HTMLSlotElement&&this._attachSlotChange(_,f,!!b.invalidateOnChildChange)}});await Promise.all(c);let p=!1;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;Tre(r.get(b),this._state[b])||(Lc.call(this,{type:"slot",name:n.get(b),reason:"children"}),p=!0,e.getMetadata().isFormAssociated()&&Jf(this))}p||Lc.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(e,t){const i=t.propertyName||e;this._state[i].forEach(r=>{if(yp(r)){const n=this._getChildChangeListener(e);r.detachInvalidate.call(r,n)}r instanceof HTMLSlotElement&&this._detachSlotChange(r,e)}),this._state[i]=[],this._state[jd(i)]=this._state[i]}attachInvalidate(e){this._invalidationEventProvider.attachEvent("invalidate",e)}detachInvalidate(e){this._invalidationEventProvider.detachEvent("invalidate",e)}_onChildChange(e,t){this.constructor.getMetadata().shouldInvalidateOnChildChange(e,t.type,t.name)&&Lc.call(this,{type:"slot",name:e,reason:"childchange",child:t.target})}attributeChangedCallback(e,t,i){let a;if(this._doNotSyncAttributes.has(e))return;const r=this.constructor.getMetadata().getProperties(),n=e.replace(/^ui5-/,""),s=jd(n);if(r.hasOwnProperty(s)){const u=r[s];a=(u.converter??cx).fromAttribute(i,u.type),this[s]=a}}formAssociatedCallback(){this.constructor.getMetadata().isFormAssociated()&&Bre(this)}static get formAssociated(){return this.getMetadata().isFormAssociated()}_updateAttribute(e,t){const i=this.constructor;if(!i.getMetadata().hasAttribute(e))return;const r=i.getMetadata().getProperties()[e];if(r.type===Object||r.type===Array)return;const n=M0(e),s=r.converter||cx;{const c=this.constructor.getMetadata().getTag();typeof t=="boolean"&&r.type!==Boolean&&console.error(`[UI5-FWK] boolean value for property [${e}] of component [${c}] is missing "{ type: Boolean }" in its property decorator. Attribute conversion will treat it as a string. If this is intended, pass the value converted to string, otherwise add the type to the property decorator`),typeof t=="number"&&r.type!==Number&&console.error(`[UI5-FWK] numeric value for property [${e}] of component [${c}] is missing "{ type: Number }" in its property decorator. Attribute conversion will treat it as a string. If this is intended, pass the value converted to string, otherwise add the type to the property decorator`),typeof t=="string"&&r.type&&r.type!==String&&console.error(`[UI5-FWK] string value for property [${e}] of component [${c}] which has a non-string type [${r.type}] in its property decorator. Attribute conversion will stop and keep the string value in the property.`)}const u=s.toAttribute(t,r.type);this._doNotSyncAttributes.add(n),u==null?this.removeAttribute(n):this.setAttribute(n,u),this._doNotSyncAttributes.delete(n)}_getChildChangeListener(e){return this._childChangeListeners.has(e)||this._childChangeListeners.set(e,this._onChildChange.bind(this,e)),this._childChangeListeners.get(e)}_getSlotChangeListener(e){return this._slotChangeListeners.has(e)||this._slotChangeListeners.set(e,this._onSlotChange.bind(this,e)),this._slotChangeListeners.get(e)}_attachSlotChange(e,t,i){const a=this._getSlotChangeListener(t);e.addEventListener("slotchange",r=>{if(a.call(e,r),i){const n=this._slotsAssignedNodes.get(e);n&&n.forEach(u=>{if(yp(u)){const c=this._getChildChangeListener(t);u.detachInvalidate.call(u,c)}});const s=ix([e]);this._slotsAssignedNodes.set(e,s),s.forEach(u=>{if(yp(u)){const c=this._getChildChangeListener(t);u.attachInvalidate.call(u,c)}})}})}_detachSlotChange(e,t){e.removeEventListener("slotchange",this._getSlotChangeListener(t))}_onSlotChange(e){Lc.call(this,{type:"slot",name:e,reason:"slotchange"})}onInvalidation(e){}updateAttributes(){const t=this.constructor.getMetadata().getProperties();for(const[i,a]of Object.entries(t))this._updateAttribute(i,this[i])}_render(){const e=this.constructor;if(e.getMetadata().isLanguageAware()&&Kf())return;const t=e.getMetadata().hasIndividualSlots();this.initializedProperties.size>0&&(Array.from(this.initializedProperties.entries()).forEach(([i,a])=>{delete this[i],this[i]=a}),this.initializedProperties.clear()),this._suppressInvalidation=!0;try{this.onBeforeRendering(),this._rendered||this.updateAttributes(),this._componentStateFinalizedEventProvider.fireEvent("componentStateFinalized")}finally{this._suppressInvalidation=!1}this._changedState=[],e._needsShadowDOM()&&bre(this),this._rendered=!0,t&&this._assignIndividualSlotsToChildren(),this.onAfterRendering()}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(t=>{t._individualSlot&&t.setAttribute("slot",t._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(typeof this._getRealDomRef=="function")return this._getRealDomRef();if(!(!this.shadowRoot||this.shadowRoot.children.length===0))return this.shadowRoot.children[0]}getFocusDomRef(){const e=this.getDomRef();if(e)return e.querySelector("[data-sap-focus-ref]")||e}async getFocusDomRefAsync(){return await this._waitForDomRef(),this.getFocusDomRef()}async focus(e){await this._waitForDomRef();const t=this.getFocusDomRef();t===this||!this.isConnected?HTMLElement.prototype.focus.call(this,e):t&&typeof t.focus=="function"&&t.focus(e)}fireEvent(e,t,i=!1,a=!0){const r=this._fireEvent(e,t,i,a),n=Ub(e);return n!==e?r&&this._fireEvent(n,t,i,a):r}fireDecoratorEvent(e,t){const i=this.getEventData(e),a=i?i.cancelable:!1,r=i?i.bubbles:!1,n=this._fireEvent(e,t,a,r),s=Ub(e);return s!==e?n&&this._fireEvent(s,t,a,r):n}_fireEvent(e,t,i=!1,a=!0){const r=new CustomEvent(`ui5-${e}`,{detail:t,composed:!1,bubbles:a,cancelable:i}),n=this.dispatchEvent(r);if(Die(e))return n;const s=new CustomEvent(e,{detail:t,composed:!1,bubbles:a,cancelable:i});return this.dispatchEvent(s)&&n}getEventData(e){return this.constructor.getMetadata().getEvents()[e]}getSlottedNodes(e){return ix(this._state[e]||[])}attachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.attachEvent("componentStateFinalized",e)}detachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.detachEvent("componentStateFinalized",e)}get effectiveDir(){return xoe(this.constructor),Sre(this)}get isUI5Element(){return!0}get isUI5AbstractElement(){return!this.constructor._needsShadowDOM()}get classes(){return{}}get accessibilityInfo(){}static get observedAttributes(){return this.getMetadata().getAttributesList()}static get tagsToScope(){const e=this.getMetadata().getPureTag(),t=this.getUniqueDependencies().map(i=>i.getMetadata().getPureTag()).filter(Gf);return Gf(e)&&t.push(e),t}static _needsShadowDOM(){return!!this.template||Object.prototype.hasOwnProperty.call(this.prototype,"render")}static _generateAccessors(){const e=this.prototype,t=this.getMetadata().slotsAreManaged(),i=this.getMetadata().getProperties();for(const[a,r]of Object.entries(i)){ax(a)||console.warn(`"${a}" is not a valid property name. Use a name that does not collide with DOM APIs`);const n=Fre(e,a);let s;n!=null&&n.set&&(s=n.set);let u;n!=null&&n.get&&(u=n.get),Object.defineProperty(e,a,{get(){return u?u.call(this):this._state[a]},set(c){const p=this.constructor,_=u?u.call(this):this._state[a];if(_!==c){if(s?s.call(this,c):this._state[a]=c,Lc.call(this,{type:"property",name:a,newValue:c,oldValue:_}),this._rendered){const b=u?u.call(this):this._state[a];this._updateAttribute(a,b)}p.getMetadata().isFormAssociated()&&Jf(this)}}})}if(t){const a=this.getMetadata().getSlots();for(const[r,n]of Object.entries(a)){ax(r)||console.warn(`"${r}" is not a valid property name. Use a name that does not collide with DOM APIs`);const s=n.propertyName||r;if(Object.getOwnPropertyDescriptor(e,s))continue;const u={get(){return this._state[s]!==void 0?this._state[s]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}};Object.defineProperty(e,s,u),s!==jd(s)&&Object.defineProperty(e,jd(s),u)}}}static get dependencies(){return[]}static cacheUniqueDependencies(){const e=this.dependencies.filter((t,i,a)=>a.indexOf(t)===i);vv.set(this,e)}static getUniqueDependencies(){return vv.has(this)||this.cacheUniqueDependencies(),vv.get(this)||[]}static async onDefine(){return Promise.resolve()}static fetchI18nBundles(){return Promise.all(Object.entries(this.getMetadata().getI18n()).map(e=>{const{bundleName:t}=e[1];return lre(t)}))}static fetchCLDR(){return this.getMetadata().needsCLDR()?eC(nl().getLanguage(),nl().getRegion(),nl().getScript()):Promise.resolve()}static get i18nBundles(){return this.i18nBundleStorage}static define(){const e=async()=>{await kie();const r=await Promise.all([this.fetchI18nBundles(),this.fetchCLDR(),this.onDefine()]),[n]=r;Object.entries(this.getMetadata().getI18n()).forEach((s,u)=>{const c=s[1].bundleName;this.i18nBundleStorage[c]=n[u]}),this.asyncFinished=!0};this._definePromise=e();const t=this.getMetadata().getTag(),i=noe(t),a=customElements.get(t);return a&&!i?soe(t):a||(this._generateAccessors(),aoe(t),customElements.define(t,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let t=this;for(;t!==Y_;)t=Object.getPrototypeOf(t),e.unshift(t.metadata);const i=O2({},...e);return this._metadata=new ure(i),this._metadata}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}}Y_.metadata={};Y_.styles="";Y_.i18nBundleStorage={};const yp=Mre("isUI5Element");(function(){var o=1,e=2,t=4,i=8,a=16,r=64,n=128,s=function(){var y=["rgb(?:\\(\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)|a\\(\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0(?:\\.\\d+)?|\\.\\d+|1(?:\\.0+)?|0|\\d+(?:\\.\\d+)?%)) *\\)"],C=[/^ *$/i,RegExp("^ *(?:\\s*"+y[0]+"|(?:\\s*"+y[0]+")?)+ *$","i"),RegExp("^ *\\s*"+y[0]+" *$","i"),RegExp("^ *\\s*"+y[0]+"\\s*"+y[0]+" *$","i")],h=[["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],["all-scroll","col-resize","crosshair","default","e-resize","hand","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],["-moz-inline-box","-moz-inline-stack","block","inline","inline-block","inline-table","list-item","run-in","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],["armenian","circle","decimal","decimal-leading-zero","disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","square","upper-alpha","upper-latin","upper-roman"],["100","200","300","400","500","600","700","800","900","bold","bolder","lighter"],["condensed","expanded","extra-condensed","extra-expanded","narrower","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded","wider"],["behind","center-left","center-right","far-left","far-right","left-side","leftwards","right-side","rightwards"],["large","larger","small","smaller","x-large","x-small","xx-large","xx-small"],["-moz-pre-wrap","-o-pre-wrap","-pre-wrap","nowrap","pre","pre-line","pre-wrap"],["dashed","dotted","double","groove","outset","ridge","solid"],["baseline","middle","sub","super","text-bottom","text-top"],["caption","icon","menu","message-box","small-caption","status-bar"],["fast","faster","slow","slower","x-fast","x-slow"],["above","below","higher","level","lower"],["border-box","contain","content-box","cover","padding-box"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y","round","space"],["blink","line-through","overline","underline"],["high","low","x-high","x-low"],["absolute","relative","static"],["capitalize","lowercase","uppercase"],["child","female","male"],["bidi-override","embed"],["bottom","top"],["clip","ellipsis"],["continuous","digits"],["hide","show"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["code"],["collapse"],["fixed"],["hidden"],["inherit"],["inset"],["invert"],["justify"],["local"],["medium"],["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["transparent"],["visible"],["flex","inline-flex","grid","inline-grid","flow-root","contents"],["initial","revert","revert-layer","unset"]];return{"-moz-border-radius":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[36]]},"-moz-border-radius-bottomleft":{cssExtra:C[0],cssPropBits:5},"-moz-border-radius-bottomright":{cssExtra:C[0],cssPropBits:5},"-moz-border-radius-topleft":{cssExtra:C[0],cssPropBits:5},"-moz-border-radius-topright":{cssExtra:C[0],cssPropBits:5},"-moz-box-shadow":{cssExtra:C[1],cssAlternates:["boxShadow"],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},"-moz-opacity":{cssPropBits:1,cssLitGroup:[h[47]]},"-moz-outline":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[49],h[52],h[54]]},"-moz-outline-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[49]]},"-moz-outline-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"-moz-outline-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"-o-text-overflow":{cssPropBits:0,cssLitGroup:[h[25]]},"-webkit-border-bottom-left-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-border-bottom-right-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[36]]},"-webkit-border-radius-bottom-left":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius-bottom-right":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius-top-left":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius-top-right":{cssExtra:C[0],cssPropBits:5},"-webkit-border-top-left-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-border-top-right-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-box-shadow":{cssExtra:C[1],cssAlternates:["boxShadow"],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},azimuth:{cssPropBits:5,cssLitGroup:[h[6],h[30],h[42],h[47]]},background:{cssExtra:RegExp("^ *(?:\\s*"+y[0]+"){0,2} *$","i"),cssPropBits:23,cssLitGroup:[h[0],h[14],h[17],h[24],h[30],h[35],h[36],h[38],h[42],h[45],h[47],h[51],h[54],h[57],h[58],h[62]]},"background-attachment":{cssExtra:C[0],cssPropBits:0,cssLitGroup:[h[35],h[45],h[51],h[58]]},"background-color":{cssExtra:C[2],cssPropBits:130,cssLitGroup:[h[0],h[47],h[62]]},"background-image":{cssExtra:C[0],cssPropBits:16,cssLitGroup:[h[35],h[54]]},"background-position":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[24],h[30],h[35],h[42]]},"background-repeat":{cssExtra:C[0],cssPropBits:0,cssLitGroup:[h[17],h[35],h[57]]},border:{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-bottom":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-bottom-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-bottom-left-radius":{cssExtra:C[0],cssPropBits:5},"border-bottom-right-radius":{cssExtra:C[0],cssPropBits:5},"border-bottom-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-bottom-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-collapse":{cssPropBits:0,cssLitGroup:[h[44],h[47],h[59]]},"border-color":{cssExtra:RegExp("^ *(?:\\s*"+y[0]+"){1,4} *$","i"),cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-left":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-left-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-left-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-left-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-radius":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[36]]},"border-right":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-right-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-right-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-right-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-spacing":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[47]]},"border-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-top":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-top-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-top-left-radius":{cssExtra:C[0],cssPropBits:5},"border-top-right-radius":{cssExtra:C[0],cssPropBits:5},"border-top-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-top-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},bottom:{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"box-shadow":{cssExtra:C[1],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},"caption-side":{cssPropBits:0,cssLitGroup:[h[24],h[47]]},clear:{cssPropBits:0,cssLitGroup:[h[30],h[40],h[47],h[54]]},clip:{cssExtra:/^ *\s*rect\(\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\s*,\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\s*,\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\s*,\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto) *\) *$/i,cssPropBits:0,cssLitGroup:[h[38],h[47]]},color:{cssExtra:C[2],cssPropBits:130,cssLitGroup:[h[0],h[47]]},content:{cssPropBits:0},"counter-increment":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[47],h[54]]},"counter-reset":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[47],h[54]]},cue:{cssPropBits:16,cssLitGroup:[h[47],h[54]]},"cue-after":{cssPropBits:16,cssLitGroup:[h[47],h[54]]},"cue-before":{cssPropBits:16,cssLitGroup:[h[47],h[54]]},cursor:{cssExtra:C[0],cssPropBits:144,cssLitGroup:[h[1],h[35],h[38],h[47]]},direction:{cssPropBits:0,cssLitGroup:[h[31],h[47]]},display:{cssPropBits:32,cssLitGroup:[h[2],h[47],h[54],h[64],h[65]]},elevation:{cssPropBits:5,cssLitGroup:[h[13],h[47]]},"empty-cells":{cssPropBits:0,cssLitGroup:[h[27],h[47]]},filter:{cssExtra:/^ *(?:\s*alpha\(\s*opacity\s*=\s*(?:0|\d+(?:\.\d+)?%|[+\-]?\d+(?:\.\d+)?) *\))+ *$/i,cssPropBits:32},float:{cssAlternates:["cssFloat","styleFloat"],cssPropBits:32,cssLitGroup:[h[30],h[47],h[54]]},font:{cssExtra:C[0],cssPropBits:9,cssLitGroup:[h[4],h[7],h[11],h[15],h[29],h[35],h[36],h[47],h[52],h[55],h[60]]},"font-family":{cssExtra:C[0],cssPropBits:8,cssLitGroup:[h[15],h[35],h[47]]},"font-size":{cssPropBits:1,cssLitGroup:[h[7],h[47],h[52]]},"font-stretch":{cssPropBits:0,cssLitGroup:[h[5],h[55]]},"font-style":{cssPropBits:0,cssLitGroup:[h[29],h[47],h[55]]},"font-variant":{cssPropBits:0,cssLitGroup:[h[47],h[55],h[60]]},"font-weight":{cssPropBits:0,cssLitGroup:[h[4],h[47],h[55]],cssLitNumeric:!0},height:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},left:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},"letter-spacing":{cssPropBits:5,cssLitGroup:[h[47],h[55]]},"line-height":{cssPropBits:1,cssLitGroup:[h[47],h[55]]},"list-style":{cssPropBits:16,cssLitGroup:[h[3],h[28],h[47],h[54]]},"list-style-image":{cssPropBits:16,cssLitGroup:[h[47],h[54]]},"list-style-position":{cssPropBits:0,cssLitGroup:[h[28],h[47]]},"list-style-type":{cssPropBits:0,cssLitGroup:[h[3],h[47],h[54]]},margin:{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-bottom":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-left":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-right":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-top":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"max-height":{cssPropBits:1,cssLitGroup:[h[38],h[47],h[54]]},"max-width":{cssPropBits:1,cssLitGroup:[h[38],h[47],h[54]]},"min-height":{cssPropBits:1,cssLitGroup:[h[38],h[47]]},"min-width":{cssPropBits:1,cssLitGroup:[h[38],h[47]]},opacity:{cssPropBits:33,cssLitGroup:[h[47]]},outline:{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[49],h[52],h[54]]},"outline-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[49]]},"outline-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"outline-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},overflow:{cssPropBits:32,cssLitGroup:[h[38],h[46],h[47],h[58],h[63]]},"overflow-x":{cssPropBits:0,cssLitGroup:[h[32],h[38],h[46],h[58],h[63]]},"overflow-y":{cssPropBits:0,cssLitGroup:[h[32],h[38],h[46],h[58],h[63]]},padding:{cssPropBits:1,cssLitGroup:[h[47]]},"padding-bottom":{cssPropBits:33,cssLitGroup:[h[47]]},"padding-left":{cssPropBits:33,cssLitGroup:[h[47]]},"padding-right":{cssPropBits:33,cssLitGroup:[h[47]]},"padding-top":{cssPropBits:33,cssLitGroup:[h[47]]},"page-break-after":{cssPropBits:0,cssLitGroup:[h[30],h[37],h[38],h[39],h[47]]},"page-break-before":{cssPropBits:0,cssLitGroup:[h[30],h[37],h[38],h[39],h[47]]},"page-break-inside":{cssPropBits:0,cssLitGroup:[h[38],h[39],h[47]]},pause:{cssPropBits:5,cssLitGroup:[h[47]]},"pause-after":{cssPropBits:5,cssLitGroup:[h[47]]},"pause-before":{cssPropBits:5,cssLitGroup:[h[47]]},pitch:{cssPropBits:5,cssLitGroup:[h[19],h[47],h[52]]},"pitch-range":{cssPropBits:5,cssLitGroup:[h[47]]},"play-during":{cssExtra:C[0],cssPropBits:16,cssLitGroup:[h[38],h[47],h[53],h[54],h[57]]},position:{cssPropBits:32,cssLitGroup:[h[20],h[47]]},quotes:{cssExtra:C[0],cssPropBits:0,cssLitGroup:[h[47],h[54]]},richness:{cssPropBits:5,cssLitGroup:[h[47]]},right:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},speak:{cssPropBits:0,cssLitGroup:[h[47],h[54],h[55],h[61]]},"speak-header":{cssPropBits:0,cssLitGroup:[h[37],h[47],h[56]]},"speak-numeral":{cssPropBits:0,cssLitGroup:[h[26],h[47]]},"speak-punctuation":{cssPropBits:0,cssLitGroup:[h[43],h[47],h[54]]},"speech-rate":{cssPropBits:5,cssLitGroup:[h[12],h[47],h[52]]},stress:{cssPropBits:5,cssLitGroup:[h[47]]},"table-layout":{cssPropBits:0,cssLitGroup:[h[38],h[45],h[47]]},"text-align":{cssPropBits:0,cssLitGroup:[h[30],h[42],h[47],h[50]]},"text-decoration":{cssPropBits:0,cssLitGroup:[h[18],h[47],h[54]]},"text-decoration-line":{cssPropBits:0,cssLitGroup:[h[18],h[47],h[54]]},"text-indent":{cssPropBits:5,cssLitGroup:[h[47]]},"text-overflow":{cssPropBits:0,cssLitGroup:[h[25]]},"text-shadow":{cssExtra:C[1],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},"text-transform":{cssPropBits:0,cssLitGroup:[h[21],h[47],h[54]]},"text-wrap":{cssPropBits:0,cssLitGroup:[h[33],h[54],h[55]]},top:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},"unicode-bidi":{cssPropBits:0,cssLitGroup:[h[23],h[47],h[55]]},"vertical-align":{cssPropBits:5,cssLitGroup:[h[10],h[24],h[47]]},visibility:{cssPropBits:32,cssLitGroup:[h[44],h[46],h[47],h[63]]},"voice-family":{cssExtra:C[0],cssPropBits:8,cssLitGroup:[h[22],h[35],h[47]]},volume:{cssPropBits:1,cssLitGroup:[h[16],h[47],h[52]]},"white-space":{cssPropBits:0,cssLitGroup:[h[8],h[47],h[55]]},width:{cssPropBits:33,cssLitGroup:[h[38],h[47]]},"word-spacing":{cssPropBits:5,cssLitGroup:[h[47],h[55]]},"word-wrap":{cssPropBits:0,cssLitGroup:[h[41],h[55]]},"z-index":{cssPropBits:69,cssLitGroup:[h[38],h[47]]},zoom:{cssPropBits:1,cssLitGroup:[h[55]]}}}();typeof window<"u"&&(window.cssSchema=s);var u,c;(function(){function y(Lt){var Do=parseInt(Lt.substring(1),16);return Do>65535?(Do-=65536,String.fromCharCode(55296+(Do>>10),56320+(Do&1023))):Do==Do?String.fromCharCode(Do):Lt[1]<" "?"":Lt[1]}function C(Lt,Do){return'"'+Lt.replace(/[\u0000-\u001f\\\"<>]/g,Do)+'"'}function h(Lt){return Z[Lt]||(Z[Lt]="\\"+Lt.charCodeAt(0).toString(16)+" ")}function G(Lt){return re[Lt]||(re[Lt]=(Lt<""?"%0":"%")+Lt.charCodeAt(0).toString(16))}var Z={"\\":"\\\\"},re={"\\":"%5c"},Y="[\\t\\n\\f ]",W=Y+"*",L="[\\n\\f]",N="[\\ud800-\\udbff][\\udc00-\\udfff]",w="[\\u0080-\\ud7ff\\ue000-\\ufffd]|"+N,S="[0-9a-fA-F]{1,6}"+Y+"?",E="(?:"+S+"|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|"+N+")",F="\\\\"+E,M="(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|"+w+"|"+F+")",ee=`[^'"\\n\\f\\\\]|\\\\[\\s\\S]`,pe=`"(?:'|`+ee+`)*"|'(?:"|`+ee+")*'",Ge="[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)",Ze="(?:[a-zA-Z_]|"+w+"|"+F+")",ft="(?:[a-zA-Z0-9_-]|"+w+"|"+F+")",le="-?"+Ze+ft+"*",ht="(?:@?-?"+Ze+"|#)"+ft+"*",la=Ge+"(?:%|"+le+")?",mr="url[(]"+W+"(?:"+pe+"|"+M+"*)"+W+"[)]",_i="U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?",fr="<!--",Te="-->",Ua=Y+"+",Qt="/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)",Q_="(?!url[(])(?=("+le+"))\\1[(]",eg="[~|^$*]=",tg=`[^"'\\\\/]|/(?![/*])`,og="\\uFEFF",xc=new RegExp([og,_i,mr,Q_,ht,pe,la,fr,Te,Ua,Qt,eg,tg].join("|"),"gi");c=function(Lt){return Lt.replace(new RegExp("\\\\(?:"+E+"|"+L+")","g"),y)},u=function(Lt){Lt=""+Lt;for(var Do=Lt.replace(/\r\n?/g,`
|
|
829
|
-
`).match(xc)||[],ep=0,yc=" ",Cc=0,ig=Do.length;Cc<ig;++Cc){var pi=c(Do[Cc]),wc=pi.length,Sd=pi.charCodeAt(0);pi=Sd==34||Sd==39?C(pi.substring(1,wc-1),h):Sd==47&&wc>1||pi=="\\"||pi==Te||pi==fr||pi=="\uFEFF"||Sd<=32?" ":/url\(/i.test(pi)?"url("+C(pi.replace(new RegExp("^url\\("+W+`["']?|["']?`+W+"\\)$","gi"),""),G)+")":pi,(yc!=pi||pi!=" ")&&(Do[ep++]=yc=pi)}return Do.length=ep,Do}})(),typeof window<"u"&&(window.lexCss=u,window.decodeCss=c);var p=function(){var y='url("about:blank")',C=/[\n\f\r\"\'()*<>]/g,h={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29","*":"%2a","<":"%3c",">":"%3e"};function G(S){return typeof S=="string"?'url("'+S.replace(C,Z)+'")':y}function Z(S){return h[S]}var re=new RegExp("^(?:([^:/?# ]+):)?"),Y=/^(?:https?|mailto)$/i;function W(S,E,F){if(!F)return null;var M=(""+S).match(re);return M&&(!M[1]||Y.test(M[1]))?F(S,E):null}function L(S){for(var E={},F=S.length;--F>=0;)for(var M=S[F],ee=M.length;--ee>=0;)E[M[ee]]=w;return E}function N(S,E){for(var F=1,M=E+1,ee=S.length;M<ee&&F;){var pe=S[M++];F+=pe==="("?1:pe===")"?-1:0}return M}var w={};return function(S,E,F,M){for(var ee=E.cssPropBits,pe=ee&(i|a),Ge=NaN,Ze=0,
|
|
828
|
+
`);Oy().replaceSync(t)};let iie="ui5",rie="webcomponents-theming";const r_="@"+iie+"/"+rie,aie=()=>My().has(r_),nie=async o=>{if(!aie())return;const e=await Ny(r_,o);e&&mc(e,"data-ui5-theme-properties",r_,o)},sie=()=>{jie("data-ui5-theme-properties",r_)},die=async(o,e)=>{const i=[...My().entries()].map(async([a,{cssVariablesTarget:r}])=>{if(a===r_)return;const n=await Ny(a,o,e);n&&(r==="root"?mc(n,`data-ui5-component-properties-${vc()}`,a):r==="host"&&oie(a,n))});return Promise.all(i)},lie=async o=>{var i;const e=U6();if(e)return e;const t=La("OpenUI5Support");if(t&&t.isOpenUI5Detected()){if(t.cssVariablesLoaded())return{themeName:(i=t.getConfigurationSettingsObject())==null?void 0:i.theme,baseThemeName:""}}else if(X2())return await eie(o),U6()},U2=async o=>{const e=await lie(o);!e||o!==e.themeName?await nie(o):sie();const t=e&&e.themeName===o?o:void 0,i=e&&e.baseThemeName,a=Uoe(o)?o:i||Q1;await die(a,t),pie(i),Yoe(o)},uie=()=>Cd("ConfigChange.eventProvider",new pn),cie=()=>Cd("ConfigChange.values",{}),hie="configChange",_ie=new Set,Fy=(o,e)=>{uie().attachEvent(hie,t=>{t.name===o&&!_ie.has(o)&&e(t.value)})},zy=o=>cie()[o];let Iu,$y;fs(()=>{Iu=void 0});Fy("theme",o=>{Iu=o,Uy()&&U2(Iu).then(()=>H2({themeAware:!0}))});const j2=()=>(Iu===void 0&&(Iu=zy("theme")??zte()),Iu),Hy=()=>$y,pie=o=>{$y=o},fi=typeof document>"u",ot={get userAgent(){return fi?"":navigator.userAgent},get touch(){return fi?!1:"ontouchstart"in window||navigator.maxTouchPoints>0},get chrome(){return fi?!1:/(Chrome|CriOS)/.test(ot.userAgent)},get firefox(){return fi?!1:/Firefox/.test(ot.userAgent)},get safari(){return fi?!1:!ot.chrome&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(ot.userAgent)},get webkit(){return fi?!1:/webkit/.test(ot.userAgent)},get windows(){return fi?!1:navigator.platform.indexOf("Win")!==-1},get macOS(){return fi?!1:!!navigator.userAgent.match(/Macintosh|Mac OS X/i)},get iOS(){return fi?!1:!!navigator.platform.match(/iPhone|iPad|iPod/)||!!(ot.userAgent.match(/Mac/)&&"ontouchend"in document)},get android(){return fi?!1:!ot.windows&&/Android/.test(ot.userAgent)},get androidPhone(){return fi?!1:ot.android&&/(?=android)(?=.*mobile)/i.test(ot.userAgent)},get ipad(){return fi?!1:/ipad/i.test(ot.userAgent)||/Macintosh/i.test(ot.userAgent)&&"ontouchend"in document},_isPhone(){return Xy(),ot.touch&&!Ds}};let sv,dv,Ds;const V2=()=>{if(fi||!ot.windows)return!1;if(sv===void 0){const o=ot.userAgent.match(/Windows NT (\d+).(\d)/);sv=o?parseFloat(o[1]):0}return sv>=8},gie=()=>{if(fi||!ot.webkit)return!1;if(dv===void 0){const o=ot.userAgent.match(/(webkit)[ /]([\w.]+)/);dv=o?parseFloat(o[1]):0}return dv>=537.1},Xy=()=>{if(fi)return!1;if(Ds===void 0){if(ot.ipad){Ds=!0;return}if(ot.touch){if(V2()){Ds=!0;return}if(ot.chrome&&ot.android){Ds=!/Mobile Safari\/[.0-9]+/.test(ot.userAgent);return}let o=window.devicePixelRatio?window.devicePixelRatio:1;ot.android&&gie()&&(o=1),Ds=Math.min(window.screen.width/o,window.screen.height/o)>=600;return}Ds=ot.userAgent.indexOf("Touch")!==-1||ot.android&&!ot.androidPhone}},vie=()=>ot.safari,mie=()=>(Xy(),(ot.touch||V2())&&Ds),fie=()=>ot._isPhone(),bie=()=>fi?!1:!mie()&&!fie()||V2(),xie=()=>ot.iOS;let V6=!1;const yie=()=>{vie()&&xie()&&!V6&&(document.body.addEventListener("touchstart",()=>{}),V6=!0)};let G2=!1,xp,G6=!1;const Cie=new pn,Uy=()=>G2,wie=async()=>{const o=La("OpenUI5Support"),e=o?o.isOpenUI5Detected():!1,t=La("F6Navigation");o&&(t&&t.destroy(),await o.init()),t&&!e&&t.init()},Sie=()=>{if(G6)return;const o=La("OpenUI5Support");o&&(G6=o.attachListeners())},kie=async()=>{if(xp!==void 0)return xp;const o=async e=>{if(Mie(),typeof document>"u"){e();return}zoe(Tie),await wie(),await Aoe(),await U2(j2()),Sie(),Doe(),Loe(),Moe(),yie(),e(),G2=!0,Cie.fireEvent("boot")};return xp=new Promise(o),xp},Tie=o=>{if(!G2)return;const e=j2(),t=Hy();(o===e||o===t)&&U2(e)};let mh,l1;fs(()=>{mh=void 0,l1=void 0});let u1=null;const Iie=o=>{const e=foe(o).then(()=>{if(u1===e&&(u1=null,Uy()))return H2({languageAware:!0})});return u1=e,e};Fy("language",o=>{mh=o,Iie(o)});const Kf=()=>u1,jy=()=>(mh===void 0&&(mh=zy("language")??Hte()),mh),Vy=()=>(l1===void 0&&(l1=Xte()),l1),Bie=["value-changed","click"];let c1;fs(()=>{c1=void 0});const Aie=o=>Bie.includes(o),Eie=o=>{const e=W2();return!(typeof e!="boolean"&&e.events&&e.events.includes&&e.events.includes(o))},W2=()=>(c1===void 0&&(c1=Ute()),c1),Die=o=>{const e=W2();return Aie(o)?!1:e===!0?!0:!Eie(o)};let h1;fs(()=>{h1=void 0});const Rie=()=>(h1===void 0&&(h1=Yte()),h1);let lv;const Pie=()=>(lv===void 0&&(lv=Vte()),lv);let uv;const Lie=()=>(uv===void 0&&(uv=Gte()),uv);let _1,Nie="";const cv=new Map,a_=Cd("Runtimes",[]),Mie=()=>{if(_1===void 0){_1=a_.length;const o=loe;a_.push({...o,get scopingSuffix(){return Sy()},get registeredTags(){return wy()},get registeredFeatures(){return Rte()},get configuration(){return{theme:j2(),themeRoot:X2(),baseTheme:Hy(),language:jy(),fetchDefaultLanguage:Vy(),timezone:Rie(),animationMode:Wie(),calendarType:_oe(),secondaryCalendarType:poe(),noConflict:W2(),defaultFontLoading:ky(),enableDefaultTooltips:Pie(),firstDayOfWeek:goe(),legacyDateCalendarCustomizing:moe(),ignoreUrlParams:Lie()}},get scopingRules(){return coe()},get openUI5Detected(){var e;return((e=La("OpenUI5Support"))==null?void 0:e.isOpenUI5Detected())??!1},get openUI5LoadedFirst(){const e=La("OpenUI5Support");return e?e.isOpenUI5LoadedFirst():void 0},alias:Nie,description:`Runtime ${_1} - ver ${o.version}`,importMetaUrl:import.meta.url})}},vc=()=>_1,Oie=(o,e)=>{if(o.isNext||e.isNext)return o.buildTime-e.buildTime;const t=o.major-e.major;if(t)return t;const i=o.minor-e.minor;if(i)return i;const a=o.patch-e.patch;return a||new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(o.suffix,e.suffix)},Gy=(o,e)=>{const t=`${o},${e}`;if(cv.has(t))return cv.get(t);const i=a_[o],a=a_[e];if(!i||!a)throw new Error("Invalid runtime index supplied");const r=Oie(i,a);return cv.set(t,r),r},Fie=()=>a_,Wy=typeof document>"u",zie=new Map,n_=(o,e)=>e?`${o}|${e}`:o,$ie=o=>o===void 0?!0:Gy(vc(),parseInt(o))>=1,Hie=(o,e,t="",i)=>{const a=vc(),r=new CSSStyleSheet;r.replaceSync(o),r._ui5StyleId=n_(e,t),zie.set(n_(e,t),r),i&&(r._ui5RuntimeIndex=a,r._ui5Theme=i),document.adoptedStyleSheets=[...document.adoptedStyleSheets,r]},Xie=(o,e,t="",i)=>{if(Wy)return;const a=vc(),r=document.adoptedStyleSheets.find(n=>n._ui5StyleId===n_(e,t));if(r)if(!i)r.replaceSync(o||"");else{const n=r._ui5RuntimeIndex;(r._ui5Theme!==i||$ie(n))&&(r.replaceSync(o||""),r._ui5RuntimeIndex=String(a),r._ui5Theme=i)}},Uie=(o,e="")=>Wy?!0:!!document.adoptedStyleSheets.find(t=>t._ui5StyleId===n_(o,e)),jie=(o,e="")=>{document.adoptedStyleSheets=document.adoptedStyleSheets.filter(t=>t._ui5StyleId!==n_(o,e))},mc=(o,e,t="",i)=>{Uie(e,t)?Xie(o,e,t,i):Hie(o,e,t,i)},Vie=(o,e)=>o===void 0?e:e===void 0?o:`${o} ${e}`;let eh;const Gie=o=>{mc(`:root { --_ui5-animation-mode: ${o}; }`,"data-ui5-animation-mode")};fs(()=>{eh=void 0});const Wie=()=>(eh===void 0&&(eh=Fte(),Gie(eh)),eh);var nd;(function(o){o.SAPIconsV4="SAP-icons-v4",o.SAPIconsV5="SAP-icons-v5",o.SAPIconsTNTV2="tnt-v2",o.SAPIconsTNTV3="tnt-v3",o.SAPBSIconsV1="business-suite-v1",o.SAPBSIconsV2="business-suite-v2"})(nd||(nd={}));const q2=new Map;q2.set("SAP-icons",{legacy:nd.SAPIconsV4,sap_horizon:nd.SAPIconsV5});q2.set("tnt",{legacy:nd.SAPIconsTNTV2,sap_horizon:nd.SAPIconsTNTV3});q2.set("business-suite",{legacy:nd.SAPBSIconsV1,sap_horizon:nd.SAPBSIconsV2});var W6;(function(o){o["SAP-icons"]="SAP-icons-v4",o.horizon="SAP-icons-v5",o["SAP-icons-TNT"]="tnt",o.BusinessSuiteInAppSymbols="business-suite"})(W6||(W6={}));const qie=typeof document>"u",Yie=()=>{if(qie)return i_;const o=navigator.languages,e=()=>navigator.language;return o&&o[0]||e()||i_},Kie=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class qy{constructor(e){const t=Kie.exec(e.replace(/_/g,"-"));if(t===null)throw new Error(`The given language ${e} does not adhere to BCP-47.`);this.sLocaleId=e,this.sLanguage=t[1]||i_,this.sScript=t[2]||"",this.sRegion=t[3]||"",this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,i=>i.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(e){return this.getPrivateUseSubtags().indexOf(e)>=0}toString(){const e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")}}const hv=new Map,Yy=o=>(hv.has(o)||hv.set(o,new qy(o)),hv.get(o)),Zie=o=>{try{if(o&&typeof o=="string")return Yy(o)}catch{}return new qy(Kn)},nl=o=>{const e=jy();return e?Yy(e):Zie(Yie())},Jie=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,q6=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,Qie={he:"iw",yi:"ji",nb:"no",sr:"sh"},ere=o=>{let e;if(!o)return Kn;if(typeof o=="string"&&(e=Jie.exec(o.replace(/_/g,"-")))){let t=e[1].toLowerCase(),i=e[3]?e[3].toUpperCase():void 0;const a=e[2]?e[2].toLowerCase():void 0,r=e[4]?e[4].slice(1):void 0,n=e[6];return t=Qie[t]||t,n&&(e=q6.exec(n))||r&&(e=q6.exec(r))?`en_US_${e[1].toLowerCase()}`:(t==="zh"&&!i&&(a==="hans"?i="CN":a==="hant"&&(i="TW")),t+(i?"_"+i+(r?"_"+r.replace("-","_"):""):""))}return Kn},Y6={zh_HK:"zh_TW",in:"id"},tre=o=>{if(!o)return Kn;if(Y6[o])return Y6[o];const e=o.lastIndexOf("_");return e>=0?o.slice(0,e):o!==Kn?Kn:""},K6=new Set,Z6=new Set,Y2=new Map,_v=new Map,Ky=new Map,J6=(o,e)=>{Y2.set(o,e)},ore=o=>Y2.get(o),Zy=(o,e)=>{const t=`${o}/${e}`;return Ky.has(t)},ire=(o,e)=>{const t=`${o}/${e}`,i=Ky.get(t);return i&&!_v.get(t)&&_v.set(t,i(e)),_v.get(t)},rre=o=>{K6.has(o)||(console.warn(`[${o}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${o}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),K6.add(o))},Q6=(o,e)=>e!==i_&&!Zy(o,e),Jy=async o=>{const e=nl().getLanguage(),t=nl().getRegion(),i=nl().getVariant();let a=e+(t?`-${t}`:"")+(i?`-${i}`:"");if(Q6(o,a))for(a=ere(a);Q6(o,a);)a=tre(a);const r=Vy();if(a===i_&&!r){J6(o,null);return}if(!Zy(o,a)){rre(o);return}try{const n=await ire(o,a);J6(o,n)}catch(n){const s=n;Z6.has(s.message)||(Z6.add(s.message),console.error(s.message))}};Ay(o=>{const e=[...Y2.keys()];return Promise.all(e.map(Jy))});const are=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,nre=(o,e)=>(e=e||[],o.replace(are,(t,i,a,r,n)=>{if(i)return"'";if(a)return a.replace(/''/g,"'");if(r){const s=typeof r=="string"?parseInt(r):r;return String(e[s])}throw new Error(`[i18n]: pattern syntax error at pos ${n}`)})),pv=new Map;class sre{constructor(e){this.packageName=e}getText(e,...t){if(typeof e=="string"&&(e={key:e,defaultText:e}),!e||!e.key)return"";const i=ore(this.packageName);i&&!i[e.key]&&console.warn(`Key ${e.key} not found in the i18n bundle, the default text will be used`);const a=i&&i[e.key]?i[e.key]:e.defaultText||e.key;return nre(a,t)}}const dre=o=>{if(pv.has(o))return pv.get(o);const e=new sre(o);return pv.set(o,e),e},lre=async o=>(await Jy(o),dre(o));var ex;(function(o){o.Auto="Auto",o.Vertical="Vertical",o.Horizontal="Horizontal",o.Paging="Paging"})(ex||(ex={}));var tx;(function(o){o.Static="Static",o.Cyclic="Cyclic"})(tx||(tx={}));const ox=o=>{if(!(o instanceof HTMLElement))return"default";const e=o.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"},Qy=o=>o instanceof HTMLSlotElement?o.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[o],ix=o=>o.reduce((e,t)=>e.concat(Qy(t)),[]);class ure{constructor(e){this.metadata=e}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const e={};if(this.slotsAreManaged()){const i=this.getSlots();for(const[a,r]of Object.entries(i)){const n=r.propertyName||a;e[n]=[],e[jd(n)]=e[n]}}return this._initialState=e,e}static validateSlotValue(e,t){return cre(e,t)}getPureTag(){return this.metadata.tag||""}getTag(){const e=this.metadata.tag;if(!e)return"";const t=hoe(e);return t?`${e}-${t}`:e}hasAttribute(e){return!this.getProperties()[e].noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute.bind(this)).map(M0)}canSlotText(){var e;return((e=this.getSlots().default)==null?void 0:e.type)===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.values(this.getSlots()).some(e=>e.individualSlots)}slotsAreManaged(){return!!this.metadata.managedSlots}supportsF6FastNavigation(){return!!this.metadata.fastNavigation}getProperties(){return this.metadata.properties||(this.metadata.properties={}),this.metadata.properties}getEvents(){return this.metadata.events||(this.metadata.events={}),this.metadata.events}getSlots(){return this.metadata.slots||(this.metadata.slots={}),this.metadata.slots}isLanguageAware(){return!!this.metadata.languageAware}isThemeAware(){return!!this.metadata.themeAware}needsCLDR(){return!!this.metadata.cldr}getShadowRootOptions(){return this.metadata.shadowRootOptions||{}}isFormAssociated(){return!!this.metadata.formAssociated}shouldInvalidateOnChildChange(e,t,i){const a=this.getSlots()[e].invalidateOnChildChange;if(a===void 0)return!1;if(typeof a=="boolean")return a;if(typeof a=="object"){if(t==="property"){if(a.properties===void 0)return!1;if(typeof a.properties=="boolean")return a.properties;if(Array.isArray(a.properties))return a.properties.includes(i);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if(t==="slot"){if(a.slots===void 0)return!1;if(typeof a.slots=="boolean")return a.slots;if(Array.isArray(a.slots))return a.slots.includes(i);throw new Error("Wrong format for invalidateOnChildChange.slots: boolean or array is expected")}}throw new Error("Wrong format for invalidateOnChildChange: boolean or object is expected")}getI18n(){return this.metadata.i18n||(this.metadata.i18n={}),this.metadata.i18n}}const cre=(o,e)=>(o&&Qy(o).forEach(t=>{if(!(t instanceof e.type))throw new Error(`The element is not of type ${e.type.toString()}`)}),o),hre=()=>Cd("CustomStyle.eventProvider",new pn),_re="CustomCSSChange",K2=o=>{hre().attachEvent(_re,o)},pre=()=>Cd("CustomStyle.customCSSFor",{});K2(o=>{H2({tag:o})});const gre=o=>{const e=pre();return e[o]?e[o].join(""):""},vre=10,rx=o=>Array.isArray(o)?o.filter(e=>!!e).flat(vre).join(" "):o,p1=new Map;K2(o=>{p1.delete(`${o}_normal`)});const mre=o=>{const e=o.getMetadata().getTag(),t=`${e}_normal`,i=La("OpenUI5Enablement");if(!p1.has(t)){let a="";i&&(a=rx(i.getBusyIndicatorStyles()));const r=gre(e)||"",s=`${rx(o.styles)} ${r} ${a}`;p1.set(t,s)}return p1.get(t)},g1=new Map;K2(o=>{g1.delete(`${o}_normal`)});const fre=o=>{const t=`${o.getMetadata().getTag()}_normal`;if(!g1.has(t)){const i=mre(o),a=new CSSStyleSheet;a.replaceSync(i),g1.set(t,[a])}return g1.get(t)},bre=o=>{const e=o.constructor,t=o.shadowRoot;if(!t){console.warn("There is no shadow root to update");return}t.adoptedStyleSheets=[Oy(),...fre(e)],e.renderer(o,t)},xre=[],yre=o=>xre.some(e=>o.startsWith(e)),Zf=new WeakMap,Cre=(o,e,t)=>{const i=new MutationObserver(e);Zf.set(o,i),i.observe(o,t)},wre=o=>{const e=Zf.get(o);e&&(e.disconnect(),Zf.delete(o))},Sre=o=>o.matches(":dir(rtl)")?"rtl":"ltr",kre=["disabled","title","hidden","role","draggable"],ax=o=>kre.includes(o)||o.startsWith("aria")?!0:![HTMLElement,Element,Node].some(t=>t.prototype.hasOwnProperty(o)),Tre=(o,e)=>{if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(o[t]!==e[t])return!1;return!0},Ire=(o,e)=>o.call(e),Bre=o=>{Ere(o)&&Jf(o)},Jf=o=>{var e,t;if((e=o._internals)!=null&&e.form){if(Are(o),!o.name){(t=o._internals)==null||t.setFormValue(null);return}o._internals.setFormValue(o.formFormattedValue)}},Are=async o=>{var e,t;if(!(!o.isUI5Element||!((e=o._internals)!=null&&e.form)))if(o._internals.setValidity({customError:!0}," "),await o.definePromise,o.formValidity&&Object.keys(o.formValidity).some(i=>i)){const i=await((t=o.formElementAnchor)==null?void 0:t.call(o));o._internals.setValidity(o.formValidity,o.formValidityMessage,i)}else o._internals.setValidity({})},Ere=o=>"formFormattedValue"in o&&"name"in o,Dre=new Map,o5=new Map,gv=new Map,nx=new Set;let sx=!1;const Rre={iw:"he",ji:"yi",in:"id"},dx=o=>{sx||(console.warn(`[LocaleData] Supported locale "${o}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),sx=!0)},Pre=(o,e,t)=>{o=o&&Rre[o]||o,o==="no"&&(o="nb"),o==="zh"&&!e&&(t==="Hans"?e="CN":t==="Hant"&&(e="TW")),(o==="sh"||o==="sr"&&t==="Latn")&&(o="sr",e="Latn");let i=`${o}_${e}`;return F6.includes(i)||(i=o,F6.includes(i))?o5.has(i)?i:(dx(i),Kn):Kn},lx=(o,e)=>{Dre.set(o,e)},Lre=o=>{if(!gv.get(o)){const e=o5.get(o);if(!e)throw new Error(`CLDR data for locale ${o} is not loaded!`);gv.set(o,e(o))}return gv.get(o)},eC=async(o,e,t)=>{const i=Pre(o,e,t),a=La("OpenUI5Support");if(a){const r=a.getLocaleDataObject();if(r){lx(i,r);return}}try{const r=await Lre(i);lx(i,r)}catch(r){const n=r;nx.has(n.message)||(nx.add(n.message),console.error(n.message))}},Nre=(o,e)=>{o5.set(o,e)};Nre("en",async()=>(console.warn('[LocaleData] Falling back to loading "en" locale data from CDN.','For production usage, please configure locale data loading via the "Assets.js" module of the webcomponents package you are using.'),(await fetch("https://cdn.jsdelivr.net/npm/@openui5/sap.ui.core@1.120.17/src/sap/ui/core/cldr/en.json")).json()));Ay(()=>{const o=nl();return eC(o.getLanguage(),o.getRegion(),o.getScript())});function Mre(o){return e=>e!=null&&o in e&&e[o]===!0}let Ore=0;const ux=new Map,vv=new Map,cx={fromAttribute(o,e){if(e===Boolean)return o!==null;if(e===Number)return o===null?void 0:parseFloat(o);if(e===Object||e===Array)try{return JSON.parse(o)}catch{return o}return o},toAttribute(o,e){return e===Boolean?o?"":null:e===Object||e===Array||o==null?null:String(o)}};function Lc(o){this._suppressInvalidation||this.constructor.getMetadata().isLanguageAware()&&Kf()||(this.onInvalidation(o),this._changedState.push(o),Dy(this),this._invalidationEventProvider.fireEvent("invalidate",{...o,target:this}))}function Fre(o,e){do{const t=Object.getOwnPropertyDescriptor(o,e);if(t)return t;o=Object.getPrototypeOf(o)}while(o&&o!==HTMLElement.prototype)}class Y_ extends HTMLElement{constructor(){super(),this.__shouldHydrate=!1,this._rendered=!1;const e=this.constructor;this._changedState=[],this._suppressInvalidation=!0,this._inDOM=!1,this._fullyConnected=!1,this._childChangeListeners=new Map,this._slotChangeListeners=new Map,this._invalidationEventProvider=new pn,this._componentStateFinalizedEventProvider=new pn;let t;this._domRefReadyPromise=new Promise(a=>{t=a}),this._domRefReadyPromise._deferredResolve=t,this._doNotSyncAttributes=new Set,this._slotsAssignedNodes=new WeakMap,this._state={...e.getMetadata().getInitialState()},this.initializedProperties=new Map,this.constructor.getMetadata().getPropertiesList().forEach(a=>{if(this.hasOwnProperty(a)){const r=this[a];this.initializedProperties.set(a,r)}}),this._internals=this.attachInternals(),this._initShadowRoot()}_initShadowRoot(){const e=this.constructor;if(e._needsShadowDOM()){const t={mode:"open"};this.shadowRoot?this.__shouldHydrate=!0:this.attachShadow({...t,...e.getMetadata().getShadowRootOptions()}),e.getMetadata().slotsAreManaged()&&this.shadowRoot.addEventListener("slotchange",this._onShadowRootSlotChange.bind(this))}}_onShadowRootSlotChange(e){var i;((i=e.target)==null?void 0:i.getRootNode())===this.shadowRoot&&this._processChildren()}get _id(){return this.__id||(this.__id=`ui5wc_${++Ore}`),this.__id}render(){const e=this.constructor.template;return Ire(e,this)}async connectedCallback(){{const a=this.constructor.getMetadata().getProperties();for(const[r,n]of Object.entries(a))Object.hasOwn(this,r)&&!this.initializedProperties.has(r)&&console.error(`[UI5-FWK] ${this.constructor.getMetadata().getTag()} has a property [${r}] that is shadowed by the instance. Updates to this property will not invalidate the component. Possible reason is TS target ES2022 or TS useDefineForClassFields`)}const e=this.constructor;Ry(this),this.setAttribute(e.getMetadata().getPureTag(),""),e.getMetadata().supportsF6FastNavigation()&&!this.hasAttribute("data-sap-ui-fastnavgroup")&&this.setAttribute("data-sap-ui-fastnavgroup","true");const t=e.getMetadata().slotsAreManaged();this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),Object.prototype.hasOwnProperty.call(e,"asyncFinished")||await e._definePromise;const i=Kf();e.getMetadata().isLanguageAware()&&i&&await i,this._inDOM&&(this._rendered||Ly(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,this.onEnterDOM(),this.hasAttribute("autofocus")&&requestAnimationFrame(()=>{this.focus()}))}get definePromise(){const e=this.constructor;return!Object.prototype.hasOwnProperty.call(e,"asyncFinished")&&e._definePromise?e._definePromise:Promise.resolve()}disconnectedCallback(){const t=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,t&&this._stopObservingDOMChildren(),this._fullyConnected&&(this.onExitDOM(),this._fullyConnected=!1),this._domRefReadyPromise._deferredResolve(),woe(this),Py(this)}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}_startObservingDOMChildren(){const t=this.constructor.getMetadata();if(!t.hasSlots())return;const a=t.canSlotText(),r={childList:!0,subtree:a,characterData:a};Cre(this,this._processChildren.bind(this),r)}_stopObservingDOMChildren(){wre(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor,t=e.getMetadata().getSlots(),i=e.getMetadata().canSlotText(),a=Array.from(i?this.childNodes:this.children),r=new Map,n=new Map;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;n.set(b,_),r.set(b,[...this._state[b]]),this._clearSlot(_,f)}const s=new Map,u=new Map;a.forEach((_,f)=>{const b=ox(_),k=t[b];if(k===void 0){if(b!=="default"){const H=Object.keys(t).join(", ");console.warn(`Unknown slotName: ${b}, ignoring`,_,`Valid values are: ${H}`)}return}const $=k.propertyName||b;u.has($)?u.get($).push({child:_,idx:f}):u.set($,[{child:_,idx:f}])}),u.forEach((_,f)=>{this._state[f]=_.sort((b,k)=>b.idx-k.idx).map(b=>b.child),this._state[jd(f)]=this._state[f]});const c=a.map(async _=>{const f=ox(_),b=t[f];if(b!==void 0){if(b.individualSlots){const k=(s.get(f)||0)+1;s.set(f,k),_._individualSlot=`${f}-${k}`}if(_ instanceof HTMLElement){const k=_.localName;if(k.includes("-")&&!yre(k)){if(!customElements.get(k)){const X=customElements.whenDefined(k);let y=ux.get(k);y||(y=new Promise(C=>setTimeout(C,1e3)),ux.set(k,y)),await Promise.race([X,y])}customElements.upgrade(_)}}if(_=e.getMetadata().constructor.validateSlotValue(_,b),yp(_)&&b.invalidateOnChildChange){const k=this._getChildChangeListener(f);_.attachInvalidate.call(_,k)}_ instanceof HTMLSlotElement&&this._attachSlotChange(_,f,!!b.invalidateOnChildChange)}});await Promise.all(c);let p=!1;for(const[_,f]of Object.entries(t)){const b=f.propertyName||_;Tre(r.get(b),this._state[b])||(Lc.call(this,{type:"slot",name:n.get(b),reason:"children"}),p=!0,e.getMetadata().isFormAssociated()&&Jf(this))}p||Lc.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(e,t){const i=t.propertyName||e;this._state[i].forEach(r=>{if(yp(r)){const n=this._getChildChangeListener(e);r.detachInvalidate.call(r,n)}r instanceof HTMLSlotElement&&this._detachSlotChange(r,e)}),this._state[i]=[],this._state[jd(i)]=this._state[i]}attachInvalidate(e){this._invalidationEventProvider.attachEvent("invalidate",e)}detachInvalidate(e){this._invalidationEventProvider.detachEvent("invalidate",e)}_onChildChange(e,t){this.constructor.getMetadata().shouldInvalidateOnChildChange(e,t.type,t.name)&&Lc.call(this,{type:"slot",name:e,reason:"childchange",child:t.target})}attributeChangedCallback(e,t,i){let a;if(this._doNotSyncAttributes.has(e))return;const r=this.constructor.getMetadata().getProperties(),n=e.replace(/^ui5-/,""),s=jd(n);if(r.hasOwnProperty(s)){const u=r[s];a=(u.converter??cx).fromAttribute(i,u.type),this[s]=a}}formAssociatedCallback(){this.constructor.getMetadata().isFormAssociated()&&Bre(this)}static get formAssociated(){return this.getMetadata().isFormAssociated()}_updateAttribute(e,t){const i=this.constructor;if(!i.getMetadata().hasAttribute(e))return;const r=i.getMetadata().getProperties()[e];if(r.type===Object||r.type===Array)return;const n=M0(e),s=r.converter||cx;{const c=this.constructor.getMetadata().getTag();typeof t=="boolean"&&r.type!==Boolean&&console.error(`[UI5-FWK] boolean value for property [${e}] of component [${c}] is missing "{ type: Boolean }" in its property decorator. Attribute conversion will treat it as a string. If this is intended, pass the value converted to string, otherwise add the type to the property decorator`),typeof t=="number"&&r.type!==Number&&console.error(`[UI5-FWK] numeric value for property [${e}] of component [${c}] is missing "{ type: Number }" in its property decorator. Attribute conversion will treat it as a string. If this is intended, pass the value converted to string, otherwise add the type to the property decorator`),typeof t=="string"&&r.type&&r.type!==String&&console.error(`[UI5-FWK] string value for property [${e}] of component [${c}] which has a non-string type [${r.type}] in its property decorator. Attribute conversion will stop and keep the string value in the property.`)}const u=s.toAttribute(t,r.type);this._doNotSyncAttributes.add(n),u==null?this.removeAttribute(n):this.setAttribute(n,u),this._doNotSyncAttributes.delete(n)}_getChildChangeListener(e){return this._childChangeListeners.has(e)||this._childChangeListeners.set(e,this._onChildChange.bind(this,e)),this._childChangeListeners.get(e)}_getSlotChangeListener(e){return this._slotChangeListeners.has(e)||this._slotChangeListeners.set(e,this._onSlotChange.bind(this,e)),this._slotChangeListeners.get(e)}_attachSlotChange(e,t,i){const a=this._getSlotChangeListener(t);e.addEventListener("slotchange",r=>{if(a.call(e,r),i){const n=this._slotsAssignedNodes.get(e);n&&n.forEach(u=>{if(yp(u)){const c=this._getChildChangeListener(t);u.detachInvalidate.call(u,c)}});const s=ix([e]);this._slotsAssignedNodes.set(e,s),s.forEach(u=>{if(yp(u)){const c=this._getChildChangeListener(t);u.attachInvalidate.call(u,c)}})}})}_detachSlotChange(e,t){e.removeEventListener("slotchange",this._getSlotChangeListener(t))}_onSlotChange(e){Lc.call(this,{type:"slot",name:e,reason:"slotchange"})}onInvalidation(e){}updateAttributes(){const t=this.constructor.getMetadata().getProperties();for(const[i,a]of Object.entries(t))this._updateAttribute(i,this[i])}_render(){const e=this.constructor;if(e.getMetadata().isLanguageAware()&&Kf())return;const t=e.getMetadata().hasIndividualSlots();this.initializedProperties.size>0&&(Array.from(this.initializedProperties.entries()).forEach(([i,a])=>{delete this[i],this[i]=a}),this.initializedProperties.clear()),this._suppressInvalidation=!0;try{this.onBeforeRendering(),this._rendered||this.updateAttributes(),this._componentStateFinalizedEventProvider.fireEvent("componentStateFinalized")}finally{this._suppressInvalidation=!1}this._changedState=[],e._needsShadowDOM()&&bre(this),this._rendered=!0,t&&this._assignIndividualSlotsToChildren(),this.onAfterRendering()}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(t=>{t._individualSlot&&t.setAttribute("slot",t._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(typeof this._getRealDomRef=="function")return this._getRealDomRef();if(!(!this.shadowRoot||this.shadowRoot.children.length===0))return this.shadowRoot.children[0]}getFocusDomRef(){const e=this.getDomRef();if(e)return e.querySelector("[data-sap-focus-ref]")||e}async getFocusDomRefAsync(){return await this._waitForDomRef(),this.getFocusDomRef()}async focus(e){await this._waitForDomRef();const t=this.getFocusDomRef();t===this||!this.isConnected?HTMLElement.prototype.focus.call(this,e):t&&typeof t.focus=="function"&&t.focus(e)}fireEvent(e,t,i=!1,a=!0){const r=this._fireEvent(e,t,i,a),n=Ub(e);return n!==e?r&&this._fireEvent(n,t,i,a):r}fireDecoratorEvent(e,t){const i=this.getEventData(e),a=i?i.cancelable:!1,r=i?i.bubbles:!1,n=this._fireEvent(e,t,a,r),s=Ub(e);return s!==e?n&&this._fireEvent(s,t,a,r):n}_fireEvent(e,t,i=!1,a=!0){const r=new CustomEvent(`ui5-${e}`,{detail:t,composed:!1,bubbles:a,cancelable:i}),n=this.dispatchEvent(r);if(Die(e))return n;const s=new CustomEvent(e,{detail:t,composed:!1,bubbles:a,cancelable:i});return this.dispatchEvent(s)&&n}getEventData(e){return this.constructor.getMetadata().getEvents()[e]}getSlottedNodes(e){return ix(this._state[e]||[])}attachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.attachEvent("componentStateFinalized",e)}detachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.detachEvent("componentStateFinalized",e)}get effectiveDir(){return xoe(this.constructor),Sre(this)}get isUI5Element(){return!0}get isUI5AbstractElement(){return!this.constructor._needsShadowDOM()}get classes(){return{}}get accessibilityInfo(){}static get observedAttributes(){return this.getMetadata().getAttributesList()}static get tagsToScope(){const e=this.getMetadata().getPureTag(),t=this.getUniqueDependencies().map(i=>i.getMetadata().getPureTag()).filter(Gf);return Gf(e)&&t.push(e),t}static _needsShadowDOM(){return!!this.template||Object.prototype.hasOwnProperty.call(this.prototype,"render")}static _generateAccessors(){const e=this.prototype,t=this.getMetadata().slotsAreManaged(),i=this.getMetadata().getProperties();for(const[a,r]of Object.entries(i)){ax(a)||console.warn(`"${a}" is not a valid property name. Use a name that does not collide with DOM APIs`);const n=Fre(e,a);let s;n!=null&&n.set&&(s=n.set);let u;n!=null&&n.get&&(u=n.get),Object.defineProperty(e,a,{get(){return u?u.call(this):this._state[a]},set(c){const p=this.constructor,_=u?u.call(this):this._state[a];if(_!==c){if(s?s.call(this,c):this._state[a]=c,Lc.call(this,{type:"property",name:a,newValue:c,oldValue:_}),this._rendered){const b=u?u.call(this):this._state[a];this._updateAttribute(a,b)}p.getMetadata().isFormAssociated()&&Jf(this)}}})}if(t){const a=this.getMetadata().getSlots();for(const[r,n]of Object.entries(a)){ax(r)||console.warn(`"${r}" is not a valid property name. Use a name that does not collide with DOM APIs`);const s=n.propertyName||r;if(Object.getOwnPropertyDescriptor(e,s))continue;const u={get(){return this._state[s]!==void 0?this._state[s]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}};Object.defineProperty(e,s,u),s!==jd(s)&&Object.defineProperty(e,jd(s),u)}}}static get dependencies(){return[]}static cacheUniqueDependencies(){const e=this.dependencies.filter((t,i,a)=>a.indexOf(t)===i);vv.set(this,e)}static getUniqueDependencies(){return vv.has(this)||this.cacheUniqueDependencies(),vv.get(this)||[]}static async onDefine(){return Promise.resolve()}static fetchI18nBundles(){return Promise.all(Object.entries(this.getMetadata().getI18n()).map(e=>{const{bundleName:t}=e[1];return lre(t)}))}static fetchCLDR(){return this.getMetadata().needsCLDR()?eC(nl().getLanguage(),nl().getRegion(),nl().getScript()):Promise.resolve()}static get i18nBundles(){return this.i18nBundleStorage}static define(){const e=async()=>{await kie();const r=await Promise.all([this.fetchI18nBundles(),this.fetchCLDR(),this.onDefine()]),[n]=r;Object.entries(this.getMetadata().getI18n()).forEach((s,u)=>{const c=s[1].bundleName;this.i18nBundleStorage[c]=n[u]}),this.asyncFinished=!0};this._definePromise=e();const t=this.getMetadata().getTag(),i=noe(t),a=customElements.get(t);return a&&!i?soe(t):a||(this._generateAccessors(),aoe(t),customElements.define(t,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let t=this;for(;t!==Y_;)t=Object.getPrototypeOf(t),e.unshift(t.metadata);const i=O2({},...e);return this._metadata=new ure(i),this._metadata}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}checkValidity(){return this._internals.checkValidity()}reportValidity(){return this._internals.reportValidity()}}Y_.metadata={};Y_.styles="";Y_.i18nBundleStorage={};const yp=Mre("isUI5Element");(function(){var o=1,e=2,t=4,i=8,a=16,r=64,n=128,s=function(){var y=["rgb(?:\\(\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)|a\\(\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0|\\d+(?:\\.\\d+)?%)\\s*,\\s*(?:\\d+|0(?:\\.\\d+)?|\\.\\d+|1(?:\\.0+)?|0|\\d+(?:\\.\\d+)?%)) *\\)"],C=[/^ *$/i,RegExp("^ *(?:\\s*"+y[0]+"|(?:\\s*"+y[0]+")?)+ *$","i"),RegExp("^ *\\s*"+y[0]+" *$","i"),RegExp("^ *\\s*"+y[0]+"\\s*"+y[0]+" *$","i")],h=[["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],["all-scroll","col-resize","crosshair","default","e-resize","hand","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],["-moz-inline-box","-moz-inline-stack","block","inline","inline-block","inline-table","list-item","run-in","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],["armenian","circle","decimal","decimal-leading-zero","disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","square","upper-alpha","upper-latin","upper-roman"],["100","200","300","400","500","600","700","800","900","bold","bolder","lighter"],["condensed","expanded","extra-condensed","extra-expanded","narrower","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded","wider"],["behind","center-left","center-right","far-left","far-right","left-side","leftwards","right-side","rightwards"],["large","larger","small","smaller","x-large","x-small","xx-large","xx-small"],["-moz-pre-wrap","-o-pre-wrap","-pre-wrap","nowrap","pre","pre-line","pre-wrap"],["dashed","dotted","double","groove","outset","ridge","solid"],["baseline","middle","sub","super","text-bottom","text-top"],["caption","icon","menu","message-box","small-caption","status-bar"],["fast","faster","slow","slower","x-fast","x-slow"],["above","below","higher","level","lower"],["border-box","contain","content-box","cover","padding-box"],["cursive","fantasy","monospace","sans-serif","serif"],["loud","silent","soft","x-loud","x-soft"],["no-repeat","repeat-x","repeat-y","round","space"],["blink","line-through","overline","underline"],["high","low","x-high","x-low"],["absolute","relative","static"],["capitalize","lowercase","uppercase"],["child","female","male"],["bidi-override","embed"],["bottom","top"],["clip","ellipsis"],["continuous","digits"],["hide","show"],["inside","outside"],["italic","oblique"],["left","right"],["ltr","rtl"],["no-content","no-display"],["suppress","unrestricted"],["thick","thin"],[","],["/"],["always"],["auto"],["avoid"],["both"],["break-word"],["center"],["code"],["collapse"],["fixed"],["hidden"],["inherit"],["inset"],["invert"],["justify"],["local"],["medium"],["mix"],["none"],["normal"],["once"],["repeat"],["scroll"],["separate"],["small-caps"],["spell-out"],["transparent"],["visible"],["flex","inline-flex","grid","inline-grid","flow-root","contents"],["initial","revert","revert-layer","unset"]];return{"-moz-border-radius":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[36]]},"-moz-border-radius-bottomleft":{cssExtra:C[0],cssPropBits:5},"-moz-border-radius-bottomright":{cssExtra:C[0],cssPropBits:5},"-moz-border-radius-topleft":{cssExtra:C[0],cssPropBits:5},"-moz-border-radius-topright":{cssExtra:C[0],cssPropBits:5},"-moz-box-shadow":{cssExtra:C[1],cssAlternates:["boxShadow"],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},"-moz-opacity":{cssPropBits:1,cssLitGroup:[h[47]]},"-moz-outline":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[49],h[52],h[54]]},"-moz-outline-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[49]]},"-moz-outline-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"-moz-outline-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"-o-text-overflow":{cssPropBits:0,cssLitGroup:[h[25]]},"-webkit-border-bottom-left-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-border-bottom-right-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[36]]},"-webkit-border-radius-bottom-left":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius-bottom-right":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius-top-left":{cssExtra:C[0],cssPropBits:5},"-webkit-border-radius-top-right":{cssExtra:C[0],cssPropBits:5},"-webkit-border-top-left-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-border-top-right-radius":{cssExtra:C[0],cssPropBits:5},"-webkit-box-shadow":{cssExtra:C[1],cssAlternates:["boxShadow"],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},azimuth:{cssPropBits:5,cssLitGroup:[h[6],h[30],h[42],h[47]]},background:{cssExtra:RegExp("^ *(?:\\s*"+y[0]+"){0,2} *$","i"),cssPropBits:23,cssLitGroup:[h[0],h[14],h[17],h[24],h[30],h[35],h[36],h[38],h[42],h[45],h[47],h[51],h[54],h[57],h[58],h[62]]},"background-attachment":{cssExtra:C[0],cssPropBits:0,cssLitGroup:[h[35],h[45],h[51],h[58]]},"background-color":{cssExtra:C[2],cssPropBits:130,cssLitGroup:[h[0],h[47],h[62]]},"background-image":{cssExtra:C[0],cssPropBits:16,cssLitGroup:[h[35],h[54]]},"background-position":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[24],h[30],h[35],h[42]]},"background-repeat":{cssExtra:C[0],cssPropBits:0,cssLitGroup:[h[17],h[35],h[57]]},border:{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-bottom":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-bottom-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-bottom-left-radius":{cssExtra:C[0],cssPropBits:5},"border-bottom-right-radius":{cssExtra:C[0],cssPropBits:5},"border-bottom-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-bottom-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-collapse":{cssPropBits:0,cssLitGroup:[h[44],h[47],h[59]]},"border-color":{cssExtra:RegExp("^ *(?:\\s*"+y[0]+"){1,4} *$","i"),cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-left":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-left-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-left-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-left-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-radius":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[36]]},"border-right":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-right-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-right-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-right-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-spacing":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[47]]},"border-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-top":{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[52],h[54],h[62]]},"border-top-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[62]]},"border-top-left-radius":{cssExtra:C[0],cssPropBits:5},"border-top-right-radius":{cssExtra:C[0],cssPropBits:5},"border-top-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"border-top-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},"border-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},bottom:{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"box-shadow":{cssExtra:C[1],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},"caption-side":{cssPropBits:0,cssLitGroup:[h[24],h[47]]},clear:{cssPropBits:0,cssLitGroup:[h[30],h[40],h[47],h[54]]},clip:{cssExtra:/^ *\s*rect\(\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\s*,\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\s*,\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto)\s*,\s*(?:0|[+\-]?\d+(?:\.\d+)?(?:[cem]m|ex|in|p[ctx])|auto) *\) *$/i,cssPropBits:0,cssLitGroup:[h[38],h[47]]},color:{cssExtra:C[2],cssPropBits:130,cssLitGroup:[h[0],h[47]]},content:{cssPropBits:0},"counter-increment":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[47],h[54]]},"counter-reset":{cssExtra:C[0],cssPropBits:5,cssLitGroup:[h[47],h[54]]},cue:{cssPropBits:16,cssLitGroup:[h[47],h[54]]},"cue-after":{cssPropBits:16,cssLitGroup:[h[47],h[54]]},"cue-before":{cssPropBits:16,cssLitGroup:[h[47],h[54]]},cursor:{cssExtra:C[0],cssPropBits:144,cssLitGroup:[h[1],h[35],h[38],h[47]]},direction:{cssPropBits:0,cssLitGroup:[h[31],h[47]]},display:{cssPropBits:32,cssLitGroup:[h[2],h[47],h[54],h[64],h[65]]},elevation:{cssPropBits:5,cssLitGroup:[h[13],h[47]]},"empty-cells":{cssPropBits:0,cssLitGroup:[h[27],h[47]]},filter:{cssExtra:/^ *(?:\s*alpha\(\s*opacity\s*=\s*(?:0|\d+(?:\.\d+)?%|[+\-]?\d+(?:\.\d+)?) *\))+ *$/i,cssPropBits:32},float:{cssAlternates:["cssFloat","styleFloat"],cssPropBits:32,cssLitGroup:[h[30],h[47],h[54]]},font:{cssExtra:C[0],cssPropBits:9,cssLitGroup:[h[4],h[7],h[11],h[15],h[29],h[35],h[36],h[47],h[52],h[55],h[60]]},"font-family":{cssExtra:C[0],cssPropBits:8,cssLitGroup:[h[15],h[35],h[47]]},"font-size":{cssPropBits:1,cssLitGroup:[h[7],h[47],h[52]]},"font-stretch":{cssPropBits:0,cssLitGroup:[h[5],h[55]]},"font-style":{cssPropBits:0,cssLitGroup:[h[29],h[47],h[55]]},"font-variant":{cssPropBits:0,cssLitGroup:[h[47],h[55],h[60]]},"font-weight":{cssPropBits:0,cssLitGroup:[h[4],h[47],h[55]],cssLitNumeric:!0},height:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},left:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},"letter-spacing":{cssPropBits:5,cssLitGroup:[h[47],h[55]]},"line-height":{cssPropBits:1,cssLitGroup:[h[47],h[55]]},"list-style":{cssPropBits:16,cssLitGroup:[h[3],h[28],h[47],h[54]]},"list-style-image":{cssPropBits:16,cssLitGroup:[h[47],h[54]]},"list-style-position":{cssPropBits:0,cssLitGroup:[h[28],h[47]]},"list-style-type":{cssPropBits:0,cssLitGroup:[h[3],h[47],h[54]]},margin:{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-bottom":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-left":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-right":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"margin-top":{cssPropBits:5,cssLitGroup:[h[38],h[47]]},"max-height":{cssPropBits:1,cssLitGroup:[h[38],h[47],h[54]]},"max-width":{cssPropBits:1,cssLitGroup:[h[38],h[47],h[54]]},"min-height":{cssPropBits:1,cssLitGroup:[h[38],h[47]]},"min-width":{cssPropBits:1,cssLitGroup:[h[38],h[47]]},opacity:{cssPropBits:33,cssLitGroup:[h[47]]},outline:{cssExtra:C[3],cssPropBits:7,cssLitGroup:[h[0],h[9],h[34],h[46],h[47],h[48],h[49],h[52],h[54]]},"outline-color":{cssExtra:C[2],cssPropBits:2,cssLitGroup:[h[0],h[47],h[49]]},"outline-style":{cssPropBits:0,cssLitGroup:[h[9],h[46],h[47],h[48],h[54]]},"outline-width":{cssPropBits:5,cssLitGroup:[h[34],h[47],h[52]]},overflow:{cssPropBits:32,cssLitGroup:[h[38],h[46],h[47],h[58],h[63]]},"overflow-x":{cssPropBits:0,cssLitGroup:[h[32],h[38],h[46],h[58],h[63]]},"overflow-y":{cssPropBits:0,cssLitGroup:[h[32],h[38],h[46],h[58],h[63]]},padding:{cssPropBits:1,cssLitGroup:[h[47]]},"padding-bottom":{cssPropBits:33,cssLitGroup:[h[47]]},"padding-left":{cssPropBits:33,cssLitGroup:[h[47]]},"padding-right":{cssPropBits:33,cssLitGroup:[h[47]]},"padding-top":{cssPropBits:33,cssLitGroup:[h[47]]},"page-break-after":{cssPropBits:0,cssLitGroup:[h[30],h[37],h[38],h[39],h[47]]},"page-break-before":{cssPropBits:0,cssLitGroup:[h[30],h[37],h[38],h[39],h[47]]},"page-break-inside":{cssPropBits:0,cssLitGroup:[h[38],h[39],h[47]]},pause:{cssPropBits:5,cssLitGroup:[h[47]]},"pause-after":{cssPropBits:5,cssLitGroup:[h[47]]},"pause-before":{cssPropBits:5,cssLitGroup:[h[47]]},pitch:{cssPropBits:5,cssLitGroup:[h[19],h[47],h[52]]},"pitch-range":{cssPropBits:5,cssLitGroup:[h[47]]},"play-during":{cssExtra:C[0],cssPropBits:16,cssLitGroup:[h[38],h[47],h[53],h[54],h[57]]},position:{cssPropBits:32,cssLitGroup:[h[20],h[47]]},quotes:{cssExtra:C[0],cssPropBits:0,cssLitGroup:[h[47],h[54]]},richness:{cssPropBits:5,cssLitGroup:[h[47]]},right:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},speak:{cssPropBits:0,cssLitGroup:[h[47],h[54],h[55],h[61]]},"speak-header":{cssPropBits:0,cssLitGroup:[h[37],h[47],h[56]]},"speak-numeral":{cssPropBits:0,cssLitGroup:[h[26],h[47]]},"speak-punctuation":{cssPropBits:0,cssLitGroup:[h[43],h[47],h[54]]},"speech-rate":{cssPropBits:5,cssLitGroup:[h[12],h[47],h[52]]},stress:{cssPropBits:5,cssLitGroup:[h[47]]},"table-layout":{cssPropBits:0,cssLitGroup:[h[38],h[45],h[47]]},"text-align":{cssPropBits:0,cssLitGroup:[h[30],h[42],h[47],h[50]]},"text-decoration":{cssPropBits:0,cssLitGroup:[h[18],h[47],h[54]]},"text-decoration-line":{cssPropBits:0,cssLitGroup:[h[18],h[47],h[54]]},"text-indent":{cssPropBits:5,cssLitGroup:[h[47]]},"text-overflow":{cssPropBits:0,cssLitGroup:[h[25]]},"text-shadow":{cssExtra:C[1],cssPropBits:7,cssLitGroup:[h[0],h[35],h[48],h[54]]},"text-transform":{cssPropBits:0,cssLitGroup:[h[21],h[47],h[54]]},"text-wrap":{cssPropBits:0,cssLitGroup:[h[33],h[54],h[55]]},top:{cssPropBits:37,cssLitGroup:[h[38],h[47]]},"unicode-bidi":{cssPropBits:0,cssLitGroup:[h[23],h[47],h[55]]},"vertical-align":{cssPropBits:5,cssLitGroup:[h[10],h[24],h[47]]},visibility:{cssPropBits:32,cssLitGroup:[h[44],h[46],h[47],h[63]]},"voice-family":{cssExtra:C[0],cssPropBits:8,cssLitGroup:[h[22],h[35],h[47]]},volume:{cssPropBits:1,cssLitGroup:[h[16],h[47],h[52]]},"white-space":{cssPropBits:0,cssLitGroup:[h[8],h[47],h[55]]},width:{cssPropBits:33,cssLitGroup:[h[38],h[47]]},"word-spacing":{cssPropBits:5,cssLitGroup:[h[47],h[55]]},"word-wrap":{cssPropBits:0,cssLitGroup:[h[41],h[55]]},"z-index":{cssPropBits:69,cssLitGroup:[h[38],h[47]]},zoom:{cssPropBits:1,cssLitGroup:[h[55]]}}}();typeof window<"u"&&(window.cssSchema=s);var u,c;(function(){function y(Lt){var Do=parseInt(Lt.substring(1),16);return Do>65535?(Do-=65536,String.fromCharCode(55296+(Do>>10),56320+(Do&1023))):Do==Do?String.fromCharCode(Do):Lt[1]<" "?"":Lt[1]}function C(Lt,Do){return'"'+Lt.replace(/[\u0000-\u001f\\\"<>]/g,Do)+'"'}function h(Lt){return Z[Lt]||(Z[Lt]="\\"+Lt.charCodeAt(0).toString(16)+" ")}function G(Lt){return re[Lt]||(re[Lt]=(Lt<""?"%0":"%")+Lt.charCodeAt(0).toString(16))}var Z={"\\":"\\\\"},re={"\\":"%5c"},Y="[\\t\\n\\f ]",W=Y+"*",L="[\\n\\f]",N="[\\ud800-\\udbff][\\udc00-\\udfff]",w="[\\u0080-\\ud7ff\\ue000-\\ufffd]|"+N,S="[0-9a-fA-F]{1,6}"+Y+"?",E="(?:"+S+"|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|"+N+")",F="\\\\"+E,M="(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|"+w+"|"+F+")",ee=`[^'"\\n\\f\\\\]|\\\\[\\s\\S]`,pe=`"(?:'|`+ee+`)*"|'(?:"|`+ee+")*'",Ge="[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)",Ze="(?:[a-zA-Z_]|"+w+"|"+F+")",bt="(?:[a-zA-Z0-9_-]|"+w+"|"+F+")",le="-?"+Ze+bt+"*",ht="(?:@?-?"+Ze+"|#)"+bt+"*",la=Ge+"(?:%|"+le+")?",mr="url[(]"+W+"(?:"+pe+"|"+M+"*)"+W+"[)]",_i="U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?",fr="<!--",Te="-->",Ua=Y+"+",Qt="/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)",Q_="(?!url[(])(?=("+le+"))\\1[(]",eg="[~|^$*]=",tg=`[^"'\\\\/]|/(?![/*])`,og="\\uFEFF",xc=new RegExp([og,_i,mr,Q_,ht,pe,la,fr,Te,Ua,Qt,eg,tg].join("|"),"gi");c=function(Lt){return Lt.replace(new RegExp("\\\\(?:"+E+"|"+L+")","g"),y)},u=function(Lt){Lt=""+Lt;for(var Do=Lt.replace(/\r\n?/g,`
|
|
829
|
+
`).match(xc)||[],ep=0,yc=" ",Cc=0,ig=Do.length;Cc<ig;++Cc){var pi=c(Do[Cc]),wc=pi.length,Sd=pi.charCodeAt(0);pi=Sd==34||Sd==39?C(pi.substring(1,wc-1),h):Sd==47&&wc>1||pi=="\\"||pi==Te||pi==fr||pi=="\uFEFF"||Sd<=32?" ":/url\(/i.test(pi)?"url("+C(pi.replace(new RegExp("^url\\("+W+`["']?|["']?`+W+"\\)$","gi"),""),G)+")":pi,(yc!=pi||pi!=" ")&&(Do[ep++]=yc=pi)}return Do.length=ep,Do}})(),typeof window<"u"&&(window.lexCss=u,window.decodeCss=c);var p=function(){var y='url("about:blank")',C=/[\n\f\r\"\'()*<>]/g,h={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29","*":"%2a","<":"%3c",">":"%3e"};function G(S){return typeof S=="string"?'url("'+S.replace(C,Z)+'")':y}function Z(S){return h[S]}var re=new RegExp("^(?:([^:/?# ]+):)?"),Y=/^(?:https?|mailto)$/i;function W(S,E,F){if(!F)return null;var M=(""+S).match(re);return M&&(!M[1]||Y.test(M[1]))?F(S,E):null}function L(S){for(var E={},F=S.length;--F>=0;)for(var M=S[F],ee=M.length;--ee>=0;)E[M[ee]]=w;return E}function N(S,E){for(var F=1,M=E+1,ee=S.length;M<ee&&F;){var pe=S[M++];F+=pe==="("?1:pe===")"?-1:0}return M}var w={};return function(S,E,F,M){for(var ee=E.cssPropBits,pe=ee&(i|a),Ge=NaN,Ze=0,bt=0;Ze<F.length;++Ze){var le=F[Ze].toLowerCase(),ht=le.charCodeAt(0),la,mr,_i,fr,Te,Ua,Qt;le=ht===32?"":ht===34?pe===a&&M?G(W(c(F[Ze].substring(1,le.length-1)),S,M)):pe===i?le:"":ht===35&&/^#(?:[0-9a-f]{3}){1,2}$/.test(le)?ee&e?le:"":48<=ht&&ht<=57&&!E.cssLitNumeric?ee&o?ee&r?le.match(/^\d{1,7}$/)?le:"":le:"":(la=le.charCodeAt(1),mr=le.charCodeAt(2),_i=48<=la&&la<=57,fr=48<=mr&&mr<=57,ht===43&&(_i||la===46&&fr)?ee&o?ee&r?le.match(/^\+\d{1,7}$/)?le:"":(_i?"":"0")+le.substring(1):"":ht===45&&(_i||la===46&&fr)?ee&t?ee&r?le.match(/^\-\d{1,7}$/)?le:"":(_i?"-":"-0")+le.substring(1):ee&o?"0":"":ht===46&&_i?ee&o?"0"+le:"":le.substring(0,4)==="url("?M&&pe&a?G(W(F[Ze].substring(5,le.length-2),S,M)):"":(le.charAt(le.length-1)==="("&&(Te=N(F,Ze),F.splice(Ze,Te-Ze,le=F.slice(Ze,Te).join(" "))),Ua=E.cssLitGroup,Qt=Ua?E.cssLitMap||(E.cssLitMap=L(Ua)):w,Qt[le]===w||E.cssExtra&&E.cssExtra.test(le)?le:/^\w+$/.test(le)&&pe===i?Ge+1===bt?(F[Ge]=F[Ge].substring(0,F[Ge].length-1)+" "+le+'"',le=""):(Ge=bt,'"'+le+'"'):"")),le&&(F[bt++]=le)}bt===1&&F[0]===y&&(bt=0),F.length=bt}}();function _(y,C){var h=[],G=[],Z=0,re;for(re=0;re<y.length;++re)y[re]==" "&&(y[re-1]==">"||y[re+1]==">")||(y[Z++]=y[re]);y.length=Z;var Y=y.length,W=0;for(re=0;re<Y;++re)y[re]==","&&(L(W,re),W=re+1);L(W,Y);function L(N,w){var S=!1;y[N]===" "&&++N,w-1!==N&&y[w]===" "&&--w;for(var E=[],F=N,M="",ee=N;ee<w;++ee){var pe=y[ee],Ge=pe===">";if(Ge||pe===" "){if(M=Ze(F,ee,!1),!M||Ge&&/^html/i.test(M))return;F=ee+1,E.push(M,Ge?" > ":" ")}}if(M=Ze(F,w,!0),!M)return;E.push(M);function Ze(le,ht,la){var mr,_i,fr,Te,Ua;for(mr="",le<ht&&(Te=y[le].toLowerCase(),(Te==="*"||Te==="body"&&le+1!==ht&&!la||typeof(Ua=$.ELEMENTS[Te])=="number"&&!(Ua&$.eflags.UNSAFE))&&(++le,mr=Te)),_i="";le<ht;){if(Te=y[le],Te.charAt(0)==="#"){if(/^#_|__$|[^#0-9A-Za-z:_\-]/.test(Te))return null;_i+=Te+"-"+C}else if(Te===".")if(++le<ht&&/^[0-9A-Za-z:_\-]+$/.test(Te=y[le])&&!/^_|__$/.test(Te))_i+="."+Te;else return null;else break;++le}if(fr="",le<ht&&y[le]===":"&&(Te=y[++le],Te==="visited"||Te==="link")){if(!/^[a*]?$/.test(mr))return null;S=!0,fr=":"+Te,mr="a",++le}return le===ht?mr+_i+fr:null}var bt=E.join("");/^body\b/.test(bt)?bt=".vdoc-body___."+C+bt.substring(4):bt="."+C+" "+bt,(S?h:G).push(bt)}return[G,h]}var f=function(){var y={},C={braille:y,embossed:y,handheld:y,print:y,projection:y,screen:y,speech:y,tty:y,tv:y};function h(G){for(var Z=!1,re=0,Y=G.length;re<Y-1;++re){var W=G[re];G[re+1]===":"&&(Z=!(s[W].cssPropBits&n)),Z&&(G[re]=""),W===";"&&(Z=!1)}return G.join("")}return function(G,Z,re){var Y=void 0,W=[],L=!1;b(G,{startStylesheet:function(){Y=[]},endStylesheet:function(){},startAtrule:function(w,S){L?w=null:w==="@media"?(S=S.filter(function(E){return C[E]==y}),S.length?Y.push(w,S.join(","),"{"):w=null):(w==="@import"&&window.console&&window.console.log("@import "+S.join(" ")+" elided"),w=null),L=!w,W.push(w)},endAtrule:function(){W.pop(),L||Y.push(";"),N()},startBlock:function(){L||Y.push("{")},endBlock:function(){L||(Y.push("}"),L=!0)},startRuleset:function(w){var S=void 0,E=!1;if(!L){var F=_(w,Z),M=F[0];if(S=F[1],!M.length&&!S.length)L=!0;else{var ee=M.join(", ");ee||(ee="head > html",E=!0),Y.push(ee,"{")}}W.push(L?null:{historySensitiveSelectors:S,endOfSelectors:Y.length-1,removeHistoryInsensitiveSelectors:E})},endRuleset:function(){var w=W.pop(),S=Y.length;if(!L&&(Y.push("}"),w)){var E=w.historySensitiveSelectors;if(E.length){var F=Y.slice(w.endOfSelectors);Y.push(E.join(", "),h(F))}}w&&w.removeHistoryInsensitiveSelectors&&Y.splice(w.endOfSelectors-1,S+1),N()},declaration:function(w,S){if(!L){var E=s[w];E&&(p(w,E,S,re),S.length&&Y.push(w,":",S.join(" "),";"))}}});function N(){L=W.length!==0&&W[W.length-1]!==null}return Y.join("")}}();typeof window<"u"&&(window.sanitizeCssProperty=p,window.sanitizeCssSelectors=_,window.sanitizeStylesheet=f);var b,k;(function(){b=function(W,L){var N=u(W);L.startStylesheet&&L.startStylesheet();for(var w=0,S=N.length;w<S;)w=N[w]===" "?w+1:y(N,w,S,L);L.endStylesheet&&L.endStylesheet()};function y(W,L,N,w){if(L<N){var S=W[L];return S.charAt(0)==="@"?C(W,L,N,w,!0):G(W,L,N,w)}else return L}function C(W,L,N,w,S){for(var E=L++;L<N&&W[L]!=="{"&&W[L]!==";";)++L;if(L<N&&(S||W[L]===";")){var F=E+1,M=L;F<N&&W[F]===" "&&++F,M>F&&W[M-1]===" "&&--M,w.startAtrule&&w.startAtrule(W[E].toLowerCase(),W.slice(F,M)),L=W[L]==="{"?h(W,L,N,w):L+1,w.endAtrule&&w.endAtrule()}return L}function h(W,L,N,w){for(++L,w.startBlock&&w.startBlock();L<N;){var S=W[L].charAt(0);if(S=="}"){++L;break}S===" "||S===";"?L=L+1:S==="@"?L=C(W,L,N,w,!1):S==="{"?L=h(W,L,N,w):L=G(W,L,N,w)}return w.endBlock&&w.endBlock(),L}function G(W,L,N,w){var S=L,E=Z(W,L,N,!0);if(E<0)return E=~E,L===E?E+1:E;L=E,E>S&&W[E-1]===" "&&--E;var F=W[L];if(++L,F!=="{")return L;for(w.startRuleset&&w.startRuleset(W.slice(S,E));L<N;){if(F=W[L],F==="}"){++L;break}F===" "?L=L+1:L=Y(W,L,N,w)}return w.endRuleset&&w.endRuleset(),L<N?L+1:L}function Z(W,L,N,w){for(var S,E=[],F=-1;L<N;++L)if(S=W[L].charAt(0),S==="["||S==="(")E[++F]=S;else if(S==="]"&&E[F]==="["||S===")"&&E[F]==="(")--F;else if(S==="{"||S==="}"||S===";"||S==="@"||S===":"&&!w)break;return F>=0&&(L=~(L+1)),L}var re=/^-?[a-z]/i;function Y(W,L,N,w){var S=W[L++];if(!re.test(S))return L+1;var E;if(L<N&&W[L]===" "&&++L,L==N||W[L]!==":"){for(;L<N&&(E=W[L])!==";"&&E!=="}";)++L;return L}++L,L<N&&W[L]===" "&&++L;var F=L,M=Z(W,L,N,!1);if(M<0)M=~M;else{for(var ee=[],pe=0,Ge=F;Ge<M;++Ge)E=W[Ge],E!==" "&&(ee[pe++]=E);if(M<N){do{if(E=W[M],E===";"||E==="}")break;pe=0}while(++M<N);E===";"&&++M}pe&&w.declaration&&w.declaration(S.toLowerCase(),ee)}return M}k=function(W,L){for(var N=u(W),w=0,S=N.length;w<S;)w=N[w]!==" "?Y(N,w,S,L):w+1}})(),typeof window<"u"&&(window.parseCssStylesheet=b,window.parseCssDeclarations=k);/*!
|
|
830
830
|
* OpenUI5
|
|
831
831
|
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
832
832
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
833
|
-
*/var $={};$.atype={NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10},$.ATTRIBS={"*::accesskey":0,"*::class":9,"*::contenteditable":0,"*::contextmenu":0,"*::dir":0,"*::draggable":0,"*::dropzone":0,"*::hidden":0,"*::id":4,"*::lang":0,"*::onabort":2,"*::onblur":2,"*::oncanplay":2,"*::oncanplaythrough":2,"*::onchange":2,"*::onclick":2,"*::oncontextmenu":2,"*::oncuechange":2,"*::ondblclick":2,"*::ondrag":2,"*::ondragend":2,"*::ondragenter":2,"*::ondragleave":2,"*::ondragover":2,"*::ondragstart":2,"*::ondrop":2,"*::ondurationchange":2,"*::onemptied":2,"*::onended":2,"*::onerror":2,"*::onfocus":2,"*::oninput":2,"*::oninvalid":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onloadeddata":2,"*::onloadedmetadata":2,"*::onloadstart":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onmousewheel":2,"*::onpause":2,"*::onplay":2,"*::onplaying":2,"*::onprogress":2,"*::onratechange":2,"*::onreadystatechange":2,"*::onreset":2,"*::onscroll":2,"*::onseeked":2,"*::onseeking":2,"*::onselect":2,"*::onshow":2,"*::onstalled":2,"*::onsubmit":2,"*::onsuspend":2,"*::ontimeupdate":2,"*::onvolumechange":2,"*::onwaiting":2,"*::spellcheck":0,"*::style":3,"*::tabindex":0,"*::title":0,"a::href":1,"a::hreflang":0,"a::media":0,"a::rel":0,"a::target":0,"a::type":0,"area::alt":0,"area::coords":0,"area::href":1,"area::hreflang":0,"area::media":0,"area::rel":0,"area::shape":0,"area::target":10,"area::type":0,"audio::autoplay":0,"audio::controls":0,"audio::loop":0,"audio::mediagroup":0,"audio::preload":0,"audio::src":1,"base::href":1,"base::target":10,"blockquote::cite":1,"body::onafterprint":2,"body::onbeforeprint":2,"body::onbeforeunload":2,"body::onblur":2,"body::onerror":2,"body::onfocus":2,"body::onhashchange":2,"body::onload":2,"body::onmessage":2,"body::onoffline":2,"body::ononline":2,"body::onpagehide":2,"body::onpageshow":2,"body::onpopstate":2,"body::onredo":2,"body::onresize":2,"body::onscroll":2,"body::onstorage":2,"body::onundo":2,"body::onunload":2,"button::autofocus":0,"button::disabled":0,"button::form":0,"button::formaction":1,"button::formenctype":0,"button::formmethod":0,"button::formnovalidate":0,"button::formtarget":10,"button::name":8,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"col::span":0,"colgroup::span":0,"command::checked":0,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"del::cite":1,"del::datetime":0,"details::open":0,"embed::height":0,"embed::src":1,"embed::type":0,"embed::width":0,"fieldset::disabled":0,"fieldset::form":0,"fieldset::name":8,"form::accept-charset":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::target":10,"html:: manifest":1,"iframe::height":0,"iframe::name":7,"iframe::sandbox":0,"iframe::seamless":0,"iframe::src":1,"iframe::srcdoc":10,"iframe::width":0,"img::alt":0,"img::height":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::width":0,"input::accept":0,"input::alt":0,"input::autocomplete":0,"input::autofocus":0,"input::checked":0,"input::dirname":0,"input::disabled":0,"input::form":0,"input::formaction":1,"input::formenctype":0,"input::formmethod":0,"input::formnovalidate":0,"input::formtarget":10,"input::height":0,"input::list":0,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::pattern":0,"input::placeholder":0,"input::readonly":0,"input::required":0,"input::step":0,"input::size":0,"input::src":1,"input::type":0,"input::value":0,"input::width":0,"ins::cite":1,"ins::datetime":0,"keygen::autofocus":0,"keygen::challenge":0,"keygen::disabled":0,"keygen::form":0,"keygen::keytype":0,"keygen::name":8,"label::for":5,"label::form":0,"link::href":1,"link::hreflang":0,"link::media":0,"link::rel":0,"link::sizes":0,"link::type":0,"li::value":0,"map::name":7,"menu::label":0,"menu::type":0,"meta::charset":0,"meta::content":0,"meta::http-equiv":0,"meta::name":7,"meter::form":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::optimum":0,"meter::value":0,"object::data":1,"object::form":0,"object::height":0,"object::name":8,"object::type":0,"object::usemap":11,"object::width":0,"ol::reversed":0,"ol::start":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":5,"output::form":0,"output::name":8,"param::name":8,"param::value":0,"progress::form":0,"progress::max":0,"progress::value":0,"q::cite":1,"script::async":0,"script::charset":0,"script::defer":0,"script::src":1,"script::type":0,"select::autofocus":0,"select::disabled":0,"select::form":0,"select::multiple":0,"select::name":8,"select::required":0,"select::size":0,"source::media":0,"source::src":1,"source::type":0,"style::media":0,"style::scoped":0,"style::type":0,"table::border":0,"td::colspan":0,"td::headers":6,"td::rowspan":0,"textarea::autofocus":0,"textarea::cols":0,"textarea::disabled":0,"textarea::form":0,"textarea::maxlength":0,"textarea::name":8,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,"textarea::rows":0,"textarea::wrap":0,"th::colspan":0,"th::headers":6,"th::rowspan":0,"th::scope":0,"time::datetime":0,"time::pubdate":0,"track::default":0,"track::kind":0,"track::label":0,"track::src":1,"track::srclang":0,"video::autoplay":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":0,"video::poster":1,"video::preload":0,"video::src":1,"video::width":0},$.eflags={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128},$.ELEMENTS={a:0,abbr:0,address:0,area:2,article:0,aside:0,audio:0,b:0,base:18,bdi:0,bdo:0,blockquote:0,body:49,br:2,button:0,canvas:0,caption:0,cite:0,code:0,col:2,colgroup:1,command:2,datalist:0,dd:1,del:0,details:0,dfn:0,div:0,dl:0,dt:1,em:0,embed:18,fieldset:0,figcaption:0,figure:0,footer:0,form:0,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:49,header:0,hgroup:0,hr:2,html:49,i:0,iframe:0,img:2,input:2,ins:0,kbd:0,keygen:2,label:0,legend:0,li:1,link:18,map:0,mark:0,menu:0,meta:18,meter:0,nav:0,noscript:20,object:16,ol:0,optgroup:1,option:1,output:0,p:1,param:18,pre:0,progress:0,q:0,rp:1,rt:1,ruby:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:24,tr:1,track:2,u:0,ul:0,var:0,video:0,wbr:2},$.ueffects={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2},$.URIEFFECTS={"a::href":2,"area::href":2,"audio::src":1,"base::href":2,"blockquote::cite":0,"button::formaction":2,"command::icon":1,"del::cite":0,"embed::src":1,"form::action":2,"html:: manifest":1,"iframe::src":1,"img::src":1,"input::formaction":2,"input::src":1,"ins::cite":0,"link::href":2,"object::data":1,"q::cite":0,"script::src":1,"source::src":1,"track::src":1,"video::poster":1,"video::src":1},$.ltypes={UNSANDBOXED:2,SANDBOXED:1,DATA:0},$.LOADERTYPES={"a::href":2,"area::href":2,"audio::src":1,"base::href":2,"blockquote::cite":2,"button::formaction":2,"command::icon":1,"del::cite":2,"embed::src":1,"form::action":2,"html:: manifest":1,"iframe::src":1,"img::src":1,"input::formaction":2,"input::src":1,"ins::cite":2,"link::href":2,"object::data":0,"q::cite":2,"script::src":1,"source::src":1,"track::src":1,"video::poster":1,"video::src":1},typeof window<"u"&&(window.html4=$);var H=function(y){var C,h,G;typeof window<"u"&&(C=window.parseCssDeclarations,h=window.sanitizeCssProperty,G=window.cssSchema);var Z;"SCRIPT".toLowerCase()==="script"?Z=function(O){return O.toLowerCase()}:Z=function(O){return O.replace(/[A-Z]/g,function(q){return String.fromCharCode(q.charCodeAt(0)|32)})};var re={lt:"<",gt:">",amp:"&",nbsp:" ",quot:'"',apos:"'"},Y=/^#(\d+)$/,W=/^#x([0-9A-Fa-f]+)$/;function L(O){if(O=Z(O),re.hasOwnProperty(O))return re[O];var q=O.match(Y);return q?String.fromCharCode(parseInt(q[1],10)):(q=O.match(W))?String.fromCharCode(parseInt(q[1],16)):""}function N(O,q){return L(q)}var w=/\0/g;function S(O){return O.replace(w,"")}var E=/&(#\d+|#x[0-9A-Fa-f]+|\w+);/g;function F(O){return O.replace(E,N)}var M=/&/g,ee=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,pe=/[<]/g,Ge=/>/g,Ze=/\"/g;function ft(O){return(""+O).replace(M,"&").replace(pe,"<").replace(Ge,">").replace(Ze,""")}function le(O){return O.replace(ee,"&$1").replace(pe,"<").replace(Ge,">")}var ht=new RegExp(`^\\s*([a-z][a-z-]*)(?:\\s*(=)\\s*((")[^"]*("|$)|(')[^']*('|$)|(?=[a-z][a-z-]*\\s*=)|[^"'\\s]*))?`,"i"),la=/^(#[0-9]+|#x[0-9a-f]+|\w+);/i,mr="a,b".split(/(,)/).length===3,_i=y.eflags.CDATA|y.eflags.RCDATA;function fr(O){return function(q,ae){return Ua(q,O,ae)}}var Te={};function Ua(O,q,ae){var ne=eg(O),J={noMoreGT:!1,noMoreEndComments:!1};Q_(q,ne,0,J,ae)}function Qt(O,q,ae,ne,J){return function(){Q_(O,q,ae,ne,J)}}function Q_(O,q,ae,ne,J){try{O.startDoc&&ae==0&&O.startDoc(J);for(var xe,oe,Je,ce=ae,tt=q.length;ce<tt;){var br=q[ce++],Go=q[ce];switch(br){case"&":la.test(Go)?(O.pcdata&&O.pcdata("&"+Go,J,Te,Qt(O,q,ce,ne,J)),ce++):O.pcdata&&O.pcdata("&",J,Te,Qt(O,q,ce,ne,J));break;case"</":(xe=/^(\w+)[^\'\"]*/.exec(Go))?xe[0].length===Go.length&&q[ce+1]===">"?(ce+=2,Je=Z(xe[1]),y.ELEMENTS.hasOwnProperty(Je)&&O.endTag&&O.endTag(Je,J,Te,Qt(O,q,ce,ne,J))):ce=tg(q,ce,O,J,Te,ne):O.pcdata&&O.pcdata("</",J,Te,Qt(O,q,ce,ne,J));break;case"<":if(xe=/^(\w+)\s*\/?/.exec(Go))if(xe[0].length===Go.length&&q[ce+1]===">"){if(ce+=2,Je=Z(xe[1]),y.ELEMENTS.hasOwnProperty(Je)){O.startTag&&O.startTag(Je,[],J,Te,Qt(O,q,ce,ne,J));var kd=y.ELEMENTS[Je];if(kd&_i){var tp={name:Je,next:ce,eflags:kd};ce=Lt(q,tp,O,J,Te,ne)}}}else ce=og(q,ce,O,J,Te,ne);else O.pcdata&&O.pcdata("<",J,Te,Qt(O,q,ce,ne,J));break;case"<!--":if(!ne.noMoreEndComments){for(oe=ce+1;oe<tt&&!(q[oe]===">"&&/--$/.test(q[oe-1]));oe++);oe<tt?ce=oe+1:ne.noMoreEndComments=!0}ne.noMoreEndComments&&O.pcdata&&O.pcdata("<!--",J,Te,Qt(O,q,ce,ne,J));break;case"<!":if(!/^\w/.test(Go))O.pcdata&&O.pcdata("<!",J,Te,Qt(O,q,ce,ne,J));else{if(!ne.noMoreGT){for(oe=ce+1;oe<tt&&q[oe]!==">";oe++);oe<tt?ce=oe+1:ne.noMoreGT=!0}ne.noMoreGT&&O.pcdata&&O.pcdata("<!",J,Te,Qt(O,q,ce,ne,J))}break;case"<?":if(!ne.noMoreGT){for(oe=ce+1;oe<tt&&q[oe]!==">";oe++);oe<tt?ce=oe+1:ne.noMoreGT=!0}ne.noMoreGT&&O.pcdata&&O.pcdata("<?",J,Te,Qt(O,q,ce,ne,J));break;case">":O.pcdata&&O.pcdata(">",J,Te,Qt(O,q,ce,ne,J));break;case"":break;default:O.pcdata&&O.pcdata(br,J,Te,Qt(O,q,ce,ne,J));break}}O.endDoc&&O.endDoc(J)}catch(eb){if(eb!==Te)throw eb}}function eg(O){var q=/(<\/|<\!--|<[!?]|[&<>])/g;if(O+="",mr)return O.split(q);for(var ae=[],ne=0,J;(J=q.exec(O))!==null;)ae.push(O.substring(ne,J.index)),ae.push(J[0]),ne=J.index+J[0].length;return ae.push(O.substring(ne)),ae}function tg(O,q,ae,ne,J,xe){var oe=Do(O,q);return oe?(oe.eflags!==void 0&&ae.endTag&&ae.endTag(oe.name,ne,J,Qt(ae,O,q,xe,ne)),oe.next):O.length}function og(O,q,ae,ne,J,xe){var oe=Do(O,q);return oe?oe.eflags!==void 0&&(ae.startTag&&ae.startTag(oe.name,oe.attrs,ne,J,Qt(ae,O,oe.next,xe,ne)),oe.eflags&_i)?Lt(O,oe,ae,ne,J,xe):oe.next:O.length}var xc={};function Lt(O,q,ae,ne,J,xe){var oe=O.length;xc.hasOwnProperty(q.name)||(xc[q.name]=new RegExp("^"+q.name+"(?:[\\s\\/]|$)","i"));for(var Je=xc[q.name],ce=q.next,tt=q.next+1;tt<oe&&!(O[tt-1]==="</"&&Je.test(O[tt]));tt++);tt<oe&&(tt-=1);var br=O.slice(ce,tt).join("");if(q.eflags&y.eflags.CDATA)ae.cdata&&ae.cdata(br,ne,J,Qt(ae,O,tt,xe,ne));else if(q.eflags&y.eflags.RCDATA)ae.rcdata&&ae.rcdata(le(br),ne,J,Qt(ae,O,tt,xe,ne));else throw new Error("bug");return tt}function Do(O,q){var ae=/^(\w+)/.exec(O[q]),ne={name:Z(ae[1])};y.ELEMENTS.hasOwnProperty(ne.name)?ne.eflags=y.ELEMENTS[ne.name]:ne.eflags=void 0;for(var J=O[q].substr(ae[0].length),xe=q+1,oe=O.length;xe<oe&&O[xe]!==">";xe++)J+=O[xe];if(!(oe<=xe)){for(var Je=[];J!=="";)if(ae=ht.exec(J),!ae)J=J.replace(/^[\s\S][^a-z\s]*/,"");else if(ae[4]&&!ae[5]||ae[6]&&!ae[7]){for(var ce=ae[4]||ae[6],tt=!1,br=[J,O[xe++]];xe<oe;xe++){if(tt){if(O[xe]===">")break}else 0<=O[xe].indexOf(ce)&&(tt=!0);br.push(O[xe])}if(oe<=xe)break;J=br.join("");continue}else{var Go=Z(ae[1]),kd=ae[2]?ep(ae[3]):Go;Je.push(Go,kd),J=J.substr(ae[0].length)}return ne.attrs=Je,ne.next=xe+1,ne}}function ep(O){var q=O.charCodeAt(0);return(q===34||q===39)&&(O=O.substr(1,O.length-2)),F(S(O))}function yc(O){var q,ae,ne=function(J,xe){ae||xe.push(J)};return fr({startDoc:function(J){q=[],ae=!1},startTag:function(J,xe,oe){if(!ae&&y.ELEMENTS.hasOwnProperty(J)){var Je=y.ELEMENTS[J];if(!(Je&y.eflags.FOLDABLE)){if(xe=O(J,xe),!xe){ae=!(Je&y.eflags.EMPTY);return}Je&y.eflags.EMPTY||q.push(J),oe.push("<",J);for(var ce=0,tt=xe.length;ce<tt;ce+=2){var br=xe[ce],Go=xe[ce+1];Go!=null&&oe.push(" ",br,'="',ft(Go),'"')}oe.push(">")}}},endTag:function(J,xe){if(ae){ae=!1;return}if(y.ELEMENTS.hasOwnProperty(J)){var oe=y.ELEMENTS[J];if(!(oe&(y.eflags.EMPTY|y.eflags.FOLDABLE))){var Je;if(oe&y.eflags.OPTIONAL_ENDTAG)for(Je=q.length;--Je>=0;){var ce=q[Je];if(ce===J)break;if(!(y.ELEMENTS[ce]&y.eflags.OPTIONAL_ENDTAG))return}else for(Je=q.length;--Je>=0&&q[Je]!==J;);if(Je<0)return;for(var tt=q.length;--tt>Je;){var ce=q[tt];y.ELEMENTS[ce]&y.eflags.OPTIONAL_ENDTAG||xe.push("</",ce,">")}q.length=Je,xe.push("</",J,">")}}},pcdata:ne,rcdata:ne,cdata:ne,endDoc:function(J){for(;q.length;q.length--)J.push("</",q[q.length-1],">")}})}var Cc=new RegExp("^(?:([^:/?# ]+):)?"),ig=/^(?:https?|mailto)$/i;function pi(O,q){if(!q)return null;var ae=(""+O).match(Cc);return ae&&(!ae[1]||ig.test(ae[1]))?q(O):null}function wc(O,q,ae,ne){for(var J=0;J<q.length;J+=2){var xe=q[J],oe=q[J+1],Je=null,ce;if(ce=O+"::"+xe,(y.ATTRIBS.hasOwnProperty(ce)||(ce="*::"+xe,y.ATTRIBS.hasOwnProperty(ce)))&&(Je=y.ATTRIBS[ce]),Je!==null)switch(Je){case y.atype.NONE:break;case y.atype.SCRIPT:oe=null;break;case y.atype.STYLE:if(typeof C>"u"){oe=null;break}var tt=[];C(oe,{declaration:function(br,Go){var kd=br.toLowerCase(),tp=G[kd];tp&&(h(kd,tp,Go,ae),tt.push(br+": "+Go.join(" ")))}}),oe=tt.length>0?tt.join(" ; "):null;break;case y.atype.ID:case y.atype.IDREF:case y.atype.IDREFS:case y.atype.GLOBAL_NAME:case y.atype.LOCAL_NAME:case y.atype.CLASSES:oe=ne?ne(oe):oe;break;case y.atype.URI:oe=pi(oe,ae);break;case y.atype.URI_FRAGMENT:oe&&oe.charAt(0)==="#"?(oe=oe.substring(1),oe=ne?ne(oe):oe,oe!=null&&(oe="#"+oe)):oe=null;break;default:oe=null;break}else oe=null;q[J+1]=oe}return q}function Sd(O,q){return function(ae,ne){if(!(y.ELEMENTS[ae]&y.eflags.UNSAFE))return wc(ae,ne,O,q)}}function Q2(O,q){var ae=[];return yc(q)(O,ae),ae.join("")}function lC(O,q,ae){var ne=Sd(q,ae);return Q2(O,ne)}return{escapeAttrib:ft,makeHtmlSanitizer:yc,makeSaxParser:fr,makeTagPolicy:Sd,normalizeRCData:le,sanitize:lC,sanitizeAttribs:wc,sanitizeWithPolicy:Q2,unescapeEntities:F}}($),X=H.sanitize;typeof window<"u"&&(window.html=H,window.html_sanitize=X)})();Cd("SVGIcons.registry",new Map);Cd("SVGIcons.promises",new Map);class W5{}W5.html=iy;W5.svg=ry;W5.unsafeStatic=ty;fy("LitStatic",W5);const Qf=new Map,K_=new Map;K_.set("S",[0,599]);K_.set("M",[600,1023]);K_.set("L",[1024,1439]);K_.set("XL",[1440,1/0]);var i5;(function(o){o.RANGE_4STEPS="4Step"})(i5||(i5={}));const zre=(o,e)=>{Qf.set(o,e)},$re=(o,e=window.innerWidth)=>{let t=Qf.get(o);t||(t=Qf.get(i5.RANGE_4STEPS));let i;const a=Math.floor(e);return t.forEach((r,n)=>{a>=r[0]&&a<=r[1]&&(i=n)}),i||[...t.keys()][0]},hx={RANGESETS:i5,initRangeSet:zre,getCurrentRange:$re};hx.initRangeSet(hx.RANGESETS.RANGE_4STEPS,K_);var Hre=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let e0=class extends t_{constructor(){super(...arguments),this._initialExpandDone=!1}get _selected(){return this.sideNavCollapsed?this.selected||this.items.some(e=>e.selected):this.selected}get focusableItems(){return!this.sideNavCollapsed&&this.expanded?[this,...this.items.reduce((e,t)=>e.concat(t.focusableItems||[t]),new Array)]:super.focusableItems}get selectableItems(){return this.items.reduce((e,t)=>e.concat(t.selectableItems||[t]),new Array(this))}get allItems(){return this.items.reduce((e,t)=>e.concat(t.allItems||[t]),new Array(this))}onBeforeRendering(){super.onBeforeRendering(),this._initialExpandDone||(this._initialExpandDone=!0,!this.sideNavCollapsed&&!this.expanded&&this.items.some(e=>e.selected)&&(this.expanded=!0))}_onclick(e){if(this.hasSubItems&&!this.sideNavCollapsed){e.preventDefault(),e.stopPropagation(),this.expanded=!this.expanded;return}super._onclick(e)}_onToggleClick(e){e.preventDefault(),super._onToggleClick(e)}onEnterDOM(){this.setAttribute("id",this._id),bie()&&this.setAttribute("desktop",""),this.items.map(e=>(this.icon&&e.setAttribute("with-icon","true"),e))}};e0=Hre([T({tag:"udex-side-navigation-item",renderer:A,template:Bte,styles:[t_.styles,_y]})],e0);e0.define();function Xre(){return g(P,{children:[g("div",{id:`udex-${this._id}-side-navigation-mobile__opener`,class:"udex-side-navigation-mobile__trigger","aria-haspopup":"true",tabindex:0,onKeyDown:this.handleKeydown,onClick:this.handleTriggerClick,"accessible-role":"button",active:this._dropdownOpened||void 0,children:[l("div",{class:"udex-side-navigation-mobile__selected-item",children:this._selectedItem?g(P,{children:[this._selectedItem.icon?l(R,{class:"udex-side-navigation-mobile__selected-item-icon",name:this._selectedItem.icon}):void 0,l("span",{children:this._selectedItem.text})]}):void 0}),l(R,{class:"udex-side-navigation-mobile__trigger-toggle-icon",name:ac})]}),l(nc,{id:`udex-${this._id}-side-navigation-mobile__popover`,class:"udex-side-navigation-mobile__popover",placement:qe.Bottom,onOpen:this._afterDropdownOpen,onClose:this._afterDropdownClose,horizontalAlign:eo.Stretch,height:this._dropdownHeight,opener:`udex-${this._id}-side-navigation-mobile__opener`,"disable-target-overlap":"true",children:l(kte,{ref:this._setNavItems,onSelectionChange:this._handleSelectionChanged,"in-mobile":""})})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Ure=`:host{--udex-side-navigation-item-bottom-margin: var(--udexSpacer8, 8px);--udex-side-navigation-icon-size: 20px;--udex-side-navigation-item-padding-left: var(--udexSpacer16, 16px);--udex-side-navigation-mobile-trigger-icon-padding-inline-start: var(--udexSpacer16, 16px);--udex-side-navigation-selected-item-text-weight: var(--udexTypographyFontWeightMedium);--udex-side-navigation-mobile-trigger-shadow: var(--sapContent_Shadow1, 0 2px 8px 0 #2236494D);--udex-side-navigation-mobile-trigger-padding: 10px var(--udexSpacer16, 16px);--udex-side-navigation-mobile-active-trigger-border-color: var(--udexColorBlue8, #0057D2);--udex-side-navigation-mobile-icon-color: var(--udexColorGrey7, #475E75);--udex-side-navigation-mobile-item-label-color: var(--udexColorGrey9, #223548);width:100%;font-size:var(--udexTypographyNavigationMediumMFontSize);font-family:var(--sapFontFamily);position:relative;z-index:106}.udex-side-navigation-mobile__trigger{display:flex;justify-content:space-between;align-items:center;box-shadow:var(--udex-side-navigation-mobile-trigger-shadow);height:var(--udex-side-navigation-item-height);padding:var(--udex-side-navigation-mobile-trigger-padding);cursor:pointer;position:relative}.udex-side-navigation-mobile__trigger:focus-visible{outline:var(--udexRadiusXXS) solid var(--udexColorBlue10);border-radius:var(--udexRadiusXXS)}.udex-side-navigation-mobile__selected-item{display:flex;align-items:center;font-weight:var(--udex-side-navigation-selected-item-text-weight);color:var(--udex-side-navigation-mobile-item-label-color)}.udex-side-navigation-mobile__selected-item-icon{width:var(--udex-side-navigation-icon-size);height:var(--udex-side-navigation-icon-size);min-width:var(--udex-side-navigation-icon-size);color:var(--udex-side-navigation-mobile-icon-color);padding-inline-end:calc(var(--udexSpacer48) - var(--udex-side-navigation-icon-size) - var(--udex-side-navigation-item-padding-left))}.udex-side-navigation-mobile__trigger-toggle-icon{height:1rem;width:1rem;min-width:1rem;color:var(--udex-side-navigation-mobile-icon-color);padding-inline-start:var(--udex-side-navigation-mobile-trigger-icon-padding-inline-start)}.udex-side-navigation-mobile__trigger[active]{box-shadow:var(--udex-side-navigation-mobile-trigger-shadow);position:relative}.udex-side-navigation-mobile__trigger[active]:before{content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;background-color:var(--udex-side-navigation-mobile-active-trigger-border-color)}.udex-side-navigation-mobile__popover{--udex-dropdown-vertical-distance: 0;--udex-dropdown-border-radius: 0;--udex-dropdown-border-width: 0;--udex-dropdown-pane-max-width: 100%;--udex-dropdown-pane-overflow: auto;margin-top:1px}.udex-side-navigation-mobile__popover:before{content:"";width:100%;height:40px;bottom:100%;position:absolute;box-shadow:var(--udex-side-navigation-mobile-trigger-shadow)}[udex-side-navigation]{--udex-side-navigation-max-width: 100%;--udex-side-navigation-additinal-content-padding: var(--udexSpacer24, 24px) var(--udexSpacer16, 16px) var(--udexSpacer8, 8px);padding-block:var(--udexSpacer16)}[udex-side-navigation-item]{--udex-side-navigation-item-padding-inline-start: var(--udexSpacer16, 16px);--udex-side-navigation-item-padding-inline-end: var(--udexSpacer16, 16px);--udex-side-navigation-item-icon-padding-inline-start: var(--udex-side-navigation-mobile-trigger-icon-padding-inline-start)}[udex-side-navigation-sub-item]{--udex-side-navigation-sub-item-padding-inline-start: 44px}
|
|
833
|
+
*/var $={};$.atype={NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10},$.ATTRIBS={"*::accesskey":0,"*::class":9,"*::contenteditable":0,"*::contextmenu":0,"*::dir":0,"*::draggable":0,"*::dropzone":0,"*::hidden":0,"*::id":4,"*::lang":0,"*::onabort":2,"*::onblur":2,"*::oncanplay":2,"*::oncanplaythrough":2,"*::onchange":2,"*::onclick":2,"*::oncontextmenu":2,"*::oncuechange":2,"*::ondblclick":2,"*::ondrag":2,"*::ondragend":2,"*::ondragenter":2,"*::ondragleave":2,"*::ondragover":2,"*::ondragstart":2,"*::ondrop":2,"*::ondurationchange":2,"*::onemptied":2,"*::onended":2,"*::onerror":2,"*::onfocus":2,"*::oninput":2,"*::oninvalid":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onloadeddata":2,"*::onloadedmetadata":2,"*::onloadstart":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onmousewheel":2,"*::onpause":2,"*::onplay":2,"*::onplaying":2,"*::onprogress":2,"*::onratechange":2,"*::onreadystatechange":2,"*::onreset":2,"*::onscroll":2,"*::onseeked":2,"*::onseeking":2,"*::onselect":2,"*::onshow":2,"*::onstalled":2,"*::onsubmit":2,"*::onsuspend":2,"*::ontimeupdate":2,"*::onvolumechange":2,"*::onwaiting":2,"*::spellcheck":0,"*::style":3,"*::tabindex":0,"*::title":0,"a::href":1,"a::hreflang":0,"a::media":0,"a::rel":0,"a::target":0,"a::type":0,"area::alt":0,"area::coords":0,"area::href":1,"area::hreflang":0,"area::media":0,"area::rel":0,"area::shape":0,"area::target":10,"area::type":0,"audio::autoplay":0,"audio::controls":0,"audio::loop":0,"audio::mediagroup":0,"audio::preload":0,"audio::src":1,"base::href":1,"base::target":10,"blockquote::cite":1,"body::onafterprint":2,"body::onbeforeprint":2,"body::onbeforeunload":2,"body::onblur":2,"body::onerror":2,"body::onfocus":2,"body::onhashchange":2,"body::onload":2,"body::onmessage":2,"body::onoffline":2,"body::ononline":2,"body::onpagehide":2,"body::onpageshow":2,"body::onpopstate":2,"body::onredo":2,"body::onresize":2,"body::onscroll":2,"body::onstorage":2,"body::onundo":2,"body::onunload":2,"button::autofocus":0,"button::disabled":0,"button::form":0,"button::formaction":1,"button::formenctype":0,"button::formmethod":0,"button::formnovalidate":0,"button::formtarget":10,"button::name":8,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"col::span":0,"colgroup::span":0,"command::checked":0,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"del::cite":1,"del::datetime":0,"details::open":0,"embed::height":0,"embed::src":1,"embed::type":0,"embed::width":0,"fieldset::disabled":0,"fieldset::form":0,"fieldset::name":8,"form::accept-charset":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::target":10,"html:: manifest":1,"iframe::height":0,"iframe::name":7,"iframe::sandbox":0,"iframe::seamless":0,"iframe::src":1,"iframe::srcdoc":10,"iframe::width":0,"img::alt":0,"img::height":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::width":0,"input::accept":0,"input::alt":0,"input::autocomplete":0,"input::autofocus":0,"input::checked":0,"input::dirname":0,"input::disabled":0,"input::form":0,"input::formaction":1,"input::formenctype":0,"input::formmethod":0,"input::formnovalidate":0,"input::formtarget":10,"input::height":0,"input::list":0,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::pattern":0,"input::placeholder":0,"input::readonly":0,"input::required":0,"input::step":0,"input::size":0,"input::src":1,"input::type":0,"input::value":0,"input::width":0,"ins::cite":1,"ins::datetime":0,"keygen::autofocus":0,"keygen::challenge":0,"keygen::disabled":0,"keygen::form":0,"keygen::keytype":0,"keygen::name":8,"label::for":5,"label::form":0,"link::href":1,"link::hreflang":0,"link::media":0,"link::rel":0,"link::sizes":0,"link::type":0,"li::value":0,"map::name":7,"menu::label":0,"menu::type":0,"meta::charset":0,"meta::content":0,"meta::http-equiv":0,"meta::name":7,"meter::form":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::optimum":0,"meter::value":0,"object::data":1,"object::form":0,"object::height":0,"object::name":8,"object::type":0,"object::usemap":11,"object::width":0,"ol::reversed":0,"ol::start":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":5,"output::form":0,"output::name":8,"param::name":8,"param::value":0,"progress::form":0,"progress::max":0,"progress::value":0,"q::cite":1,"script::async":0,"script::charset":0,"script::defer":0,"script::src":1,"script::type":0,"select::autofocus":0,"select::disabled":0,"select::form":0,"select::multiple":0,"select::name":8,"select::required":0,"select::size":0,"source::media":0,"source::src":1,"source::type":0,"style::media":0,"style::scoped":0,"style::type":0,"table::border":0,"td::colspan":0,"td::headers":6,"td::rowspan":0,"textarea::autofocus":0,"textarea::cols":0,"textarea::disabled":0,"textarea::form":0,"textarea::maxlength":0,"textarea::name":8,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,"textarea::rows":0,"textarea::wrap":0,"th::colspan":0,"th::headers":6,"th::rowspan":0,"th::scope":0,"time::datetime":0,"time::pubdate":0,"track::default":0,"track::kind":0,"track::label":0,"track::src":1,"track::srclang":0,"video::autoplay":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":0,"video::poster":1,"video::preload":0,"video::src":1,"video::width":0},$.eflags={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128},$.ELEMENTS={a:0,abbr:0,address:0,area:2,article:0,aside:0,audio:0,b:0,base:18,bdi:0,bdo:0,blockquote:0,body:49,br:2,button:0,canvas:0,caption:0,cite:0,code:0,col:2,colgroup:1,command:2,datalist:0,dd:1,del:0,details:0,dfn:0,div:0,dl:0,dt:1,em:0,embed:18,fieldset:0,figcaption:0,figure:0,footer:0,form:0,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:49,header:0,hgroup:0,hr:2,html:49,i:0,iframe:0,img:2,input:2,ins:0,kbd:0,keygen:2,label:0,legend:0,li:1,link:18,map:0,mark:0,menu:0,meta:18,meter:0,nav:0,noscript:20,object:16,ol:0,optgroup:1,option:1,output:0,p:1,param:18,pre:0,progress:0,q:0,rp:1,rt:1,ruby:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:24,tr:1,track:2,u:0,ul:0,var:0,video:0,wbr:2},$.ueffects={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2},$.URIEFFECTS={"a::href":2,"area::href":2,"audio::src":1,"base::href":2,"blockquote::cite":0,"button::formaction":2,"command::icon":1,"del::cite":0,"embed::src":1,"form::action":2,"html:: manifest":1,"iframe::src":1,"img::src":1,"input::formaction":2,"input::src":1,"ins::cite":0,"link::href":2,"object::data":1,"q::cite":0,"script::src":1,"source::src":1,"track::src":1,"video::poster":1,"video::src":1},$.ltypes={UNSANDBOXED:2,SANDBOXED:1,DATA:0},$.LOADERTYPES={"a::href":2,"area::href":2,"audio::src":1,"base::href":2,"blockquote::cite":2,"button::formaction":2,"command::icon":1,"del::cite":2,"embed::src":1,"form::action":2,"html:: manifest":1,"iframe::src":1,"img::src":1,"input::formaction":2,"input::src":1,"ins::cite":2,"link::href":2,"object::data":0,"q::cite":2,"script::src":1,"source::src":1,"track::src":1,"video::poster":1,"video::src":1},typeof window<"u"&&(window.html4=$);var H=function(y){var C,h,G;typeof window<"u"&&(C=window.parseCssDeclarations,h=window.sanitizeCssProperty,G=window.cssSchema);var Z;"SCRIPT".toLowerCase()==="script"?Z=function(O){return O.toLowerCase()}:Z=function(O){return O.replace(/[A-Z]/g,function(q){return String.fromCharCode(q.charCodeAt(0)|32)})};var re={lt:"<",gt:">",amp:"&",nbsp:" ",quot:'"',apos:"'"},Y=/^#(\d+)$/,W=/^#x([0-9A-Fa-f]+)$/;function L(O){if(O=Z(O),re.hasOwnProperty(O))return re[O];var q=O.match(Y);return q?String.fromCharCode(parseInt(q[1],10)):(q=O.match(W))?String.fromCharCode(parseInt(q[1],16)):""}function N(O,q){return L(q)}var w=/\0/g;function S(O){return O.replace(w,"")}var E=/&(#\d+|#x[0-9A-Fa-f]+|\w+);/g;function F(O){return O.replace(E,N)}var M=/&/g,ee=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,pe=/[<]/g,Ge=/>/g,Ze=/\"/g;function bt(O){return(""+O).replace(M,"&").replace(pe,"<").replace(Ge,">").replace(Ze,""")}function le(O){return O.replace(ee,"&$1").replace(pe,"<").replace(Ge,">")}var ht=new RegExp(`^\\s*([a-z][a-z-]*)(?:\\s*(=)\\s*((")[^"]*("|$)|(')[^']*('|$)|(?=[a-z][a-z-]*\\s*=)|[^"'\\s]*))?`,"i"),la=/^(#[0-9]+|#x[0-9a-f]+|\w+);/i,mr="a,b".split(/(,)/).length===3,_i=y.eflags.CDATA|y.eflags.RCDATA;function fr(O){return function(q,ae){return Ua(q,O,ae)}}var Te={};function Ua(O,q,ae){var ne=eg(O),J={noMoreGT:!1,noMoreEndComments:!1};Q_(q,ne,0,J,ae)}function Qt(O,q,ae,ne,J){return function(){Q_(O,q,ae,ne,J)}}function Q_(O,q,ae,ne,J){try{O.startDoc&&ae==0&&O.startDoc(J);for(var xe,oe,Je,ce=ae,tt=q.length;ce<tt;){var br=q[ce++],Go=q[ce];switch(br){case"&":la.test(Go)?(O.pcdata&&O.pcdata("&"+Go,J,Te,Qt(O,q,ce,ne,J)),ce++):O.pcdata&&O.pcdata("&",J,Te,Qt(O,q,ce,ne,J));break;case"</":(xe=/^(\w+)[^\'\"]*/.exec(Go))?xe[0].length===Go.length&&q[ce+1]===">"?(ce+=2,Je=Z(xe[1]),y.ELEMENTS.hasOwnProperty(Je)&&O.endTag&&O.endTag(Je,J,Te,Qt(O,q,ce,ne,J))):ce=tg(q,ce,O,J,Te,ne):O.pcdata&&O.pcdata("</",J,Te,Qt(O,q,ce,ne,J));break;case"<":if(xe=/^(\w+)\s*\/?/.exec(Go))if(xe[0].length===Go.length&&q[ce+1]===">"){if(ce+=2,Je=Z(xe[1]),y.ELEMENTS.hasOwnProperty(Je)){O.startTag&&O.startTag(Je,[],J,Te,Qt(O,q,ce,ne,J));var kd=y.ELEMENTS[Je];if(kd&_i){var tp={name:Je,next:ce,eflags:kd};ce=Lt(q,tp,O,J,Te,ne)}}}else ce=og(q,ce,O,J,Te,ne);else O.pcdata&&O.pcdata("<",J,Te,Qt(O,q,ce,ne,J));break;case"<!--":if(!ne.noMoreEndComments){for(oe=ce+1;oe<tt&&!(q[oe]===">"&&/--$/.test(q[oe-1]));oe++);oe<tt?ce=oe+1:ne.noMoreEndComments=!0}ne.noMoreEndComments&&O.pcdata&&O.pcdata("<!--",J,Te,Qt(O,q,ce,ne,J));break;case"<!":if(!/^\w/.test(Go))O.pcdata&&O.pcdata("<!",J,Te,Qt(O,q,ce,ne,J));else{if(!ne.noMoreGT){for(oe=ce+1;oe<tt&&q[oe]!==">";oe++);oe<tt?ce=oe+1:ne.noMoreGT=!0}ne.noMoreGT&&O.pcdata&&O.pcdata("<!",J,Te,Qt(O,q,ce,ne,J))}break;case"<?":if(!ne.noMoreGT){for(oe=ce+1;oe<tt&&q[oe]!==">";oe++);oe<tt?ce=oe+1:ne.noMoreGT=!0}ne.noMoreGT&&O.pcdata&&O.pcdata("<?",J,Te,Qt(O,q,ce,ne,J));break;case">":O.pcdata&&O.pcdata(">",J,Te,Qt(O,q,ce,ne,J));break;case"":break;default:O.pcdata&&O.pcdata(br,J,Te,Qt(O,q,ce,ne,J));break}}O.endDoc&&O.endDoc(J)}catch(eb){if(eb!==Te)throw eb}}function eg(O){var q=/(<\/|<\!--|<[!?]|[&<>])/g;if(O+="",mr)return O.split(q);for(var ae=[],ne=0,J;(J=q.exec(O))!==null;)ae.push(O.substring(ne,J.index)),ae.push(J[0]),ne=J.index+J[0].length;return ae.push(O.substring(ne)),ae}function tg(O,q,ae,ne,J,xe){var oe=Do(O,q);return oe?(oe.eflags!==void 0&&ae.endTag&&ae.endTag(oe.name,ne,J,Qt(ae,O,q,xe,ne)),oe.next):O.length}function og(O,q,ae,ne,J,xe){var oe=Do(O,q);return oe?oe.eflags!==void 0&&(ae.startTag&&ae.startTag(oe.name,oe.attrs,ne,J,Qt(ae,O,oe.next,xe,ne)),oe.eflags&_i)?Lt(O,oe,ae,ne,J,xe):oe.next:O.length}var xc={};function Lt(O,q,ae,ne,J,xe){var oe=O.length;xc.hasOwnProperty(q.name)||(xc[q.name]=new RegExp("^"+q.name+"(?:[\\s\\/]|$)","i"));for(var Je=xc[q.name],ce=q.next,tt=q.next+1;tt<oe&&!(O[tt-1]==="</"&&Je.test(O[tt]));tt++);tt<oe&&(tt-=1);var br=O.slice(ce,tt).join("");if(q.eflags&y.eflags.CDATA)ae.cdata&&ae.cdata(br,ne,J,Qt(ae,O,tt,xe,ne));else if(q.eflags&y.eflags.RCDATA)ae.rcdata&&ae.rcdata(le(br),ne,J,Qt(ae,O,tt,xe,ne));else throw new Error("bug");return tt}function Do(O,q){var ae=/^(\w+)/.exec(O[q]),ne={name:Z(ae[1])};y.ELEMENTS.hasOwnProperty(ne.name)?ne.eflags=y.ELEMENTS[ne.name]:ne.eflags=void 0;for(var J=O[q].substr(ae[0].length),xe=q+1,oe=O.length;xe<oe&&O[xe]!==">";xe++)J+=O[xe];if(!(oe<=xe)){for(var Je=[];J!=="";)if(ae=ht.exec(J),!ae)J=J.replace(/^[\s\S][^a-z\s]*/,"");else if(ae[4]&&!ae[5]||ae[6]&&!ae[7]){for(var ce=ae[4]||ae[6],tt=!1,br=[J,O[xe++]];xe<oe;xe++){if(tt){if(O[xe]===">")break}else 0<=O[xe].indexOf(ce)&&(tt=!0);br.push(O[xe])}if(oe<=xe)break;J=br.join("");continue}else{var Go=Z(ae[1]),kd=ae[2]?ep(ae[3]):Go;Je.push(Go,kd),J=J.substr(ae[0].length)}return ne.attrs=Je,ne.next=xe+1,ne}}function ep(O){var q=O.charCodeAt(0);return(q===34||q===39)&&(O=O.substr(1,O.length-2)),F(S(O))}function yc(O){var q,ae,ne=function(J,xe){ae||xe.push(J)};return fr({startDoc:function(J){q=[],ae=!1},startTag:function(J,xe,oe){if(!ae&&y.ELEMENTS.hasOwnProperty(J)){var Je=y.ELEMENTS[J];if(!(Je&y.eflags.FOLDABLE)){if(xe=O(J,xe),!xe){ae=!(Je&y.eflags.EMPTY);return}Je&y.eflags.EMPTY||q.push(J),oe.push("<",J);for(var ce=0,tt=xe.length;ce<tt;ce+=2){var br=xe[ce],Go=xe[ce+1];Go!=null&&oe.push(" ",br,'="',bt(Go),'"')}oe.push(">")}}},endTag:function(J,xe){if(ae){ae=!1;return}if(y.ELEMENTS.hasOwnProperty(J)){var oe=y.ELEMENTS[J];if(!(oe&(y.eflags.EMPTY|y.eflags.FOLDABLE))){var Je;if(oe&y.eflags.OPTIONAL_ENDTAG)for(Je=q.length;--Je>=0;){var ce=q[Je];if(ce===J)break;if(!(y.ELEMENTS[ce]&y.eflags.OPTIONAL_ENDTAG))return}else for(Je=q.length;--Je>=0&&q[Je]!==J;);if(Je<0)return;for(var tt=q.length;--tt>Je;){var ce=q[tt];y.ELEMENTS[ce]&y.eflags.OPTIONAL_ENDTAG||xe.push("</",ce,">")}q.length=Je,xe.push("</",J,">")}}},pcdata:ne,rcdata:ne,cdata:ne,endDoc:function(J){for(;q.length;q.length--)J.push("</",q[q.length-1],">")}})}var Cc=new RegExp("^(?:([^:/?# ]+):)?"),ig=/^(?:https?|mailto)$/i;function pi(O,q){if(!q)return null;var ae=(""+O).match(Cc);return ae&&(!ae[1]||ig.test(ae[1]))?q(O):null}function wc(O,q,ae,ne){for(var J=0;J<q.length;J+=2){var xe=q[J],oe=q[J+1],Je=null,ce;if(ce=O+"::"+xe,(y.ATTRIBS.hasOwnProperty(ce)||(ce="*::"+xe,y.ATTRIBS.hasOwnProperty(ce)))&&(Je=y.ATTRIBS[ce]),Je!==null)switch(Je){case y.atype.NONE:break;case y.atype.SCRIPT:oe=null;break;case y.atype.STYLE:if(typeof C>"u"){oe=null;break}var tt=[];C(oe,{declaration:function(br,Go){var kd=br.toLowerCase(),tp=G[kd];tp&&(h(kd,tp,Go,ae),tt.push(br+": "+Go.join(" ")))}}),oe=tt.length>0?tt.join(" ; "):null;break;case y.atype.ID:case y.atype.IDREF:case y.atype.IDREFS:case y.atype.GLOBAL_NAME:case y.atype.LOCAL_NAME:case y.atype.CLASSES:oe=ne?ne(oe):oe;break;case y.atype.URI:oe=pi(oe,ae);break;case y.atype.URI_FRAGMENT:oe&&oe.charAt(0)==="#"?(oe=oe.substring(1),oe=ne?ne(oe):oe,oe!=null&&(oe="#"+oe)):oe=null;break;default:oe=null;break}else oe=null;q[J+1]=oe}return q}function Sd(O,q){return function(ae,ne){if(!(y.ELEMENTS[ae]&y.eflags.UNSAFE))return wc(ae,ne,O,q)}}function Q2(O,q){var ae=[];return yc(q)(O,ae),ae.join("")}function lC(O,q,ae){var ne=Sd(q,ae);return Q2(O,ne)}return{escapeAttrib:bt,makeHtmlSanitizer:yc,makeSaxParser:fr,makeTagPolicy:Sd,normalizeRCData:le,sanitize:lC,sanitizeAttribs:wc,sanitizeWithPolicy:Q2,unescapeEntities:F}}($),X=H.sanitize;typeof window<"u"&&(window.html=H,window.html_sanitize=X)})();Cd("SVGIcons.registry",new Map);Cd("SVGIcons.promises",new Map);class W5{}W5.html=iy;W5.svg=ry;W5.unsafeStatic=ty;fy("LitStatic",W5);const Qf=new Map,K_=new Map;K_.set("S",[0,599]);K_.set("M",[600,1023]);K_.set("L",[1024,1439]);K_.set("XL",[1440,1/0]);var i5;(function(o){o.RANGE_4STEPS="4Step"})(i5||(i5={}));const zre=(o,e)=>{Qf.set(o,e)},$re=(o,e=window.innerWidth)=>{let t=Qf.get(o);t||(t=Qf.get(i5.RANGE_4STEPS));let i;const a=Math.floor(e);return t.forEach((r,n)=>{a>=r[0]&&a<=r[1]&&(i=n)}),i||[...t.keys()][0]},hx={RANGESETS:i5,initRangeSet:zre,getCurrentRange:$re};hx.initRangeSet(hx.RANGESETS.RANGE_4STEPS,K_);var Hre=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let e0=class extends t_{constructor(){super(...arguments),this._initialExpandDone=!1}get _selected(){return this.sideNavCollapsed?this.selected||this.items.some(e=>e.selected):this.selected}get focusableItems(){return!this.sideNavCollapsed&&this.expanded?[this,...this.items.reduce((e,t)=>e.concat(t.focusableItems||[t]),new Array)]:super.focusableItems}get selectableItems(){return this.items.reduce((e,t)=>e.concat(t.selectableItems||[t]),new Array(this))}get allItems(){return this.items.reduce((e,t)=>e.concat(t.allItems||[t]),new Array(this))}onBeforeRendering(){super.onBeforeRendering(),this._initialExpandDone||(this._initialExpandDone=!0,!this.sideNavCollapsed&&!this.expanded&&this.items.some(e=>e.selected)&&(this.expanded=!0))}_onclick(e){if(this.hasSubItems&&!this.sideNavCollapsed){e.preventDefault(),e.stopPropagation(),this.expanded=!this.expanded;return}super._onclick(e)}_onToggleClick(e){e.preventDefault(),super._onToggleClick(e)}onEnterDOM(){this.setAttribute("id",this._id),bie()&&this.setAttribute("desktop",""),this.items.map(e=>(this.icon&&e.setAttribute("with-icon","true"),e))}};e0=Hre([T({tag:"udex-side-navigation-item",renderer:A,template:Bte,styles:[t_.styles,_y]})],e0);e0.define();function Xre(){return g(P,{children:[g("div",{id:`udex-${this._id}-side-navigation-mobile__opener`,class:"udex-side-navigation-mobile__trigger","aria-haspopup":"true",tabindex:0,onKeyDown:this.handleKeydown,onClick:this.handleTriggerClick,"accessible-role":"button",active:this._dropdownOpened||void 0,children:[l("div",{class:"udex-side-navigation-mobile__selected-item",children:this._selectedItem?g(P,{children:[this._selectedItem.icon?l(R,{class:"udex-side-navigation-mobile__selected-item-icon",name:this._selectedItem.icon}):void 0,l("span",{children:this._selectedItem.text})]}):void 0}),l(R,{class:"udex-side-navigation-mobile__trigger-toggle-icon",name:ac})]}),l(nc,{id:`udex-${this._id}-side-navigation-mobile__popover`,class:"udex-side-navigation-mobile__popover",placement:qe.Bottom,onOpen:this._afterDropdownOpen,onClose:this._afterDropdownClose,horizontalAlign:eo.Stretch,height:this._dropdownHeight,opener:`udex-${this._id}-side-navigation-mobile__opener`,"disable-target-overlap":"true",children:l(kte,{ref:this._setNavItems,onSelectionChange:this._handleSelectionChanged,"in-mobile":""})})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Ure=`:host{--udex-side-navigation-item-bottom-margin: var(--udexSpacer8, 8px);--udex-side-navigation-icon-size: 20px;--udex-side-navigation-item-padding-left: var(--udexSpacer16, 16px);--udex-side-navigation-mobile-trigger-icon-padding-inline-start: var(--udexSpacer16, 16px);--udex-side-navigation-selected-item-text-weight: var(--udexTypographyFontWeightMedium);--udex-side-navigation-mobile-trigger-shadow: var(--sapContent_Shadow1, 0 2px 8px 0 #2236494D);--udex-side-navigation-mobile-trigger-padding: 10px var(--udexSpacer16, 16px);--udex-side-navigation-mobile-active-trigger-border-color: var(--udexColorBlue8, #0057D2);--udex-side-navigation-mobile-icon-color: var(--udexColorGrey7, #475E75);--udex-side-navigation-mobile-item-label-color: var(--udexColorGrey9, #223548);width:100%;font-size:var(--udexTypographyNavigationMediumMFontSize);font-family:var(--sapFontFamily);position:relative;z-index:106}.udex-side-navigation-mobile__trigger{display:flex;justify-content:space-between;align-items:center;box-shadow:var(--udex-side-navigation-mobile-trigger-shadow);height:var(--udex-side-navigation-item-height);padding:var(--udex-side-navigation-mobile-trigger-padding);cursor:pointer;position:relative}.udex-side-navigation-mobile__trigger:focus-visible{outline:var(--udexRadiusXXS) solid var(--udexColorBlue10);border-radius:var(--udexRadiusXXS)}.udex-side-navigation-mobile__selected-item{display:flex;align-items:center;font-weight:var(--udex-side-navigation-selected-item-text-weight);color:var(--udex-side-navigation-mobile-item-label-color)}.udex-side-navigation-mobile__selected-item-icon{width:var(--udex-side-navigation-icon-size);height:var(--udex-side-navigation-icon-size);min-width:var(--udex-side-navigation-icon-size);color:var(--udex-side-navigation-mobile-icon-color);padding-inline-end:calc(var(--udexSpacer48) - var(--udex-side-navigation-icon-size) - var(--udex-side-navigation-item-padding-left))}.udex-side-navigation-mobile__trigger-toggle-icon{height:1rem;width:1rem;min-width:1rem;color:var(--udex-side-navigation-mobile-icon-color);padding-inline-start:var(--udex-side-navigation-mobile-trigger-icon-padding-inline-start)}.udex-side-navigation-mobile__trigger[active]{box-shadow:var(--udex-side-navigation-mobile-trigger-shadow);position:relative}.udex-side-navigation-mobile__trigger[active]:before{content:"";position:absolute;bottom:-1px;left:0;right:0;height:1px;background-color:var(--udex-side-navigation-mobile-active-trigger-border-color)}.udex-side-navigation-mobile__popover{--udex-dropdown-vertical-distance: 0;--udex-dropdown-border-radius: 0;--udex-dropdown-border-width: 0;--udex-dropdown-pane-max-width: 100%;--udex-dropdown-pane-overflow: auto;margin-top:1px}.udex-side-navigation-mobile__popover:before{content:"";width:100%;height:40px;bottom:100%;position:absolute;box-shadow:var(--udex-side-navigation-mobile-trigger-shadow)}[udex-side-navigation]{--udex-side-navigation-max-width: 100%;--udex-side-navigation-additinal-content-padding: var(--udexSpacer24, 24px) var(--udexSpacer16, 16px) var(--udexSpacer8, 8px);padding-block:var(--udexSpacer16)}[udex-side-navigation-item]{--udex-side-navigation-item-padding-inline-start: var(--udexSpacer16, 16px);--udex-side-navigation-item-padding-inline-end: var(--udexSpacer16, 16px);--udex-side-navigation-item-icon-padding-inline-start: var(--udex-side-navigation-mobile-trigger-icon-padding-inline-start)}[udex-side-navigation-sub-item]{--udex-side-navigation-sub-item-padding-inline-start: 44px}
|
|
834
834
|
`;var Xl=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};const jre=24;let ns=class extends z{constructor(){super(),this._setNavItems=e=>{var t,i;e&&((t=this._navItems)==null||t.forEach(a=>{a.parentElement!==e&&e.appendChild(a)}),(i=this._additionalContentNodes)==null||i.forEach(a=>{a.parentElement!==e&&e.appendChild(a)}))},this._boundUpdateDropdownHeight=this._updateDropdownHeight.bind(this)}onExitDOM(){window.removeEventListener("resize",this._boundUpdateDropdownHeight)}onBeforeRendering(){var a;const e=this.getSlottedNodes("navItems"),t=this.getSlottedNodes("fixedItems"),i=e.concat(t);i.length>0&&(this._navItems=i),!this._selectedItem&&((a=this._navItems)!=null&&a.length)&&(this._selectedItem=this.getSelectedItem()||null),this._additionalContentNodes=this.getSlottedNodes("additionalContent")}onAfterRendering(){this._dropdown=this._getResponsePopover()}_getResponsePopover(){return this.shadowRoot.querySelector("[udex-dropdown]")}_afterDropdownOpen(){this._dropdownOpened=!0,window.addEventListener("resize",this._boundUpdateDropdownHeight)}_afterDropdownClose(){this._dropdownOpened=!1,window.removeEventListener("resize",this._boundUpdateDropdownHeight)}handleTriggerClick(){this._dropdown.open||this._updateDropdownHeight(),this._dropdown.open=!this._dropdown.open}_updateDropdownHeight(){const e=this.shadowRoot.querySelector(".udex-side-navigation-mobile__trigger");if(!e)return;const{bottom:t}=e.getBoundingClientRect();this._dropdownHeight=`${window.innerHeight-t-jre}px`}handleKeydown(e){(e.key==="Enter"||e.key===" ")&&this.handleTriggerClick()}_handleSelectionChanged(e){this._dropdown=this._getResponsePopover(),this._dropdown.open=!1,this._selectedItem=e.detail.item}getSelectedItem(){return this._navItems.reduce((t,i)=>t.concat(i.allItems||[]),new Array).find(t=>t==null?void 0:t._selected)}};Xl([d({noAttribute:!0,type:Boolean})],ns.prototype,"_dropdownOpened",void 0);Xl([d({noAttribute:!0})],ns.prototype,"_dropdownHeight",void 0);Xl([D({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],ns.prototype,"navItems",void 0);Xl([D({type:HTMLElement,invalidateOnChildChange:!0})],ns.prototype,"fixedItems",void 0);Xl([D({type:HTMLElement,invalidateOnChildChange:!0})],ns.prototype,"additionalContent",void 0);Xl([d({noAttribute:!0,type:Object})],ns.prototype,"_selectedItem",void 0);ns=Xl([T({tag:"udex-side-navigation-mobile",renderer:A,template:Xre,styles:[Ure]})],ns);ns.define();function Vre(){const o=this._effectiveTag;return g("li",{id:this._id,class:"ui5-sn-list-li",role:"none",children:[g(o,{id:this._id,"data-sap-focus-ref":!0,class:`ui5-sn-item ui5-sn-item-level2 ${this._classes}`,role:this.ariaRole,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,onFocusIn:this._onfocusin,tabIndex:this.effectiveTabIndex,"aria-current":this._ariaCurrent,"aria-selected":this._ariaSelected,"aria-label":this.accessibleName||void 0,title:this._tooltip,"aria-disabled":this.effectiveDisabled,href:this._href,target:this._target,"aria-haspopup":this._ariaHasPopup,"aria-describedby":this._describedBy,"aria-expanded":this._subExpanded,"aria-owns":this._subGroupId,children:[this.icon&&l(R,{class:"ui5-sn-item-icon",name:this.icon}),l("div",{class:"ui5-sn-item-text",id:this._textId,children:this.text}),this.hasTag&&l("div",{id:this._tagId,class:"ui5-sn-item-tag-slot",children:l("slot",{name:"tag"})}),this.hasSubItems&&l("div",{class:"ui5-sn-item-toggle-icon-wrap",children:l(R,{class:"ui5-sn-item-toggle-icon",name:yl,accessibleName:this._arrowTooltip,showTooltip:!0,onClick:e=>this._onToggleClick(e)})}),this.isExternalLink&&l(R,{class:"ui5-sn-item-external-link-icon",name:W_})]}),this.hasSubItems&&l("ul",{id:this._subGroupId,class:"ui5-sn-item-ul","aria-label":this.accessibleName||this.text,role:"group",children:l("slot",{})})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Gre=`:host{--udex-side-navigation-sub-item-padding-inline-start: var(--udexSpacer40, 40px);--udex-side-navigation-sub-item-nested-padding-inline-start: var(--udexSpacer56, 56px);--udex-side-navigation-sub-item-margin-block-end: var(--udexSpacer4, 4px);--udex-side-navigation-sub-item-padding-block: var(--udexSpacer8, 8px);--udex-side-navigation-sub-item-padding-inline: var(--udexSpacer40, 40px) var(--udexSpacer12, 12px)}.ui5-sn-item .ui5-sn-item-text{font-weight:400}:host([variant="Content"]) .ui5-sn-item{padding-block:var(--udex-side-navigation-sub-item-padding-block);padding-inline:var(--udex-side-navigation-sub-item-padding-inline)}:host([variant="Content"][nested]) .ui5-sn-item,:host([nested]) .ui5-sn-item-level2{padding-inline-start:var(--udex-side-navigation-sub-item-nested-padding-inline-start)}:host([with-icon]) .ui5-sn-item-level2,.ui5-sn-item-level2{margin-block-end:var(--udex-side-navigation-sub-item-margin-block-end)}.ui5-sn-item-level2:not(.ui5-sn-item-has-icon),.ui5-sn-item-level2{padding-inline-start:var(--udex-side-navigation-sub-item-padding-inline-start)}
|
|
835
835
|
`;var q5=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},v1;let sl=v1=class extends N2{constructor(){super(...arguments),this.expanded=!1}onBeforeRendering(){super.onBeforeRendering(),this.subItems.forEach(e=>{e.hasAttribute("nested")||e.setAttribute("nested","")})}get hasSubItems(){return this.subItems.length>0}get focusableItems(){return this.hasSubItems&&this.expanded?[this,...this.subItems]:[this]}get selectableItems(){return this.hasSubItems?[this,...this.subItems]:[this]}get allItems(){return this.hasSubItems?[this,...this.subItems]:[this]}get _arrowTooltip(){return this.expanded?v1.i18nBundle.getText(A3):v1.i18nBundle.getText(B3)}get _subGroupId(){return this.hasSubItems?`${this._id}-group`:void 0}get _subExpanded(){return this.hasSubItems?this.expanded:void 0}_onToggleClick(e){e.stopPropagation(),e.preventDefault(),this.expanded=!this.expanded}_onkeydown(e){if(this.hasSubItems&&!this.sideNavCollapsed){const t=this.effectiveDir==="rtl";if(we(e)){e.preventDefault(),this.expanded=t;return}if(Se(e)){e.preventDefault(),this.expanded=!t;return}if(m5(e)){e.preventDefault(),this.expanded=!1;return}if(xu(e)){e.preventDefault(),this.expanded=!0;return}}super._onkeydown(e)}_onclick(e){this.hasSubItems?(e.preventDefault(),e.stopPropagation(),this.expanded=!this.expanded):super._onclick(e)}};q5([d({type:Boolean})],sl.prototype,"expanded",void 0);q5([D({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],sl.prototype,"subItems",void 0);q5([V("@sapudex/web-components")],sl,"i18nBundle",void 0);sl=v1=q5([T({tag:"udex-side-navigation-sub-item",renderer:A,template:Vre,styles:[N2.styles,_y,Gre],dependencies:[sl]})],sl);sl.define();const Wre=(o,e,t)=>{const i=e-o;return(t-o)/i*100},qre=o=>{const e=Wre(o.min,o.max,o.value);return g(P,{children:[l(E2,{"data-sap-focus-ref":!0,value:o.value,min:o.min,max:o.max,tabIndex:o.disabled?-1:0,desktop:o._isDesktop,"aria-orientation":"horizontal",part:"handle",exportparts:"icon: handle-icon",role:"slider","aria-valuemin":o.min,"aria-valuemax":o.max,"aria-valuenow":o.value,"aria-valuetext":o._ariaValueText,"aria-label":o._ariaLabel,"aria-disabled":o._ariaDisabled,"aria-describedby":o._ariaDescribedByHandleText,style:{"inset-inline-start":`clamp(0%, ${e}%, 100%)`}}),Yre(o)]})},Yre=o=>{var e;return l(D2,{open:o._isTooltipVisible,value:o.tooltipValue,min:o.min,max:o.max,editable:o.editableTooltip,followRef:(e=o.shadowRoot)==null?void 0:e.querySelector("[ui5-slider-handle]"),valueState:o.tooltipValueState,onChange:o._onTooltipChange,onKeyDown:o._onTooltipKeydown,onFocusChange:o._onTooltipFocusChange,onOpen:o._onTooltipOpen,onInput:o._onTooltipInput})};function Kre(){return l(P,{children:l("div",{class:"ui5-slider-evo-root",part:"root-container",onMouseDown:this._onmousedown,onTouchStart:this._onmousedown,onMouseOver:this._onmouseover,onMouseOut:this._onmouseout,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,children:g(G9,{endValue:this.value,min:this.min,max:this.max,step:this.step,startValue:this.min,progressAriaValueNow:this.value,showTickmarks:this.showTickmarks||this._hasCustomTickmarks,labelInterval:this._hasCustomTickmarks?1:this.labelInterval,tickmarks:this.tickmarks,onFocusOut:this._onfocusout,onFocusIn:this._onfocusin,part:"scale",exportparts:"inner: scale-inner, progress: progress",children:[qre(this),this.editableTooltip&&l(P,{children:l("span",{id:"ui5-slider-InputDesc",class:"ui5-hidden-text",children:this._ariaDescribedByInputText})})]})})})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const Zre=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{vertical-align:middle}:host{display:inline-block;height:var(--_ui5_slider_height, 2.75rem);width:100%}:host([label-interval]:not([label-interval="0"])){height:3.75rem;align-items:flex-start}.ui5-slider-evo-root{width:100%;height:100%;display:flex;align-items:center;padding:var(--_ui5_slider_root_side_padding);box-sizing:border-box;min-width:var(--_ui5_slider_inner_min_width)}:host([disabled]){opacity:var(--_ui5_slider_disabled_opacity);cursor:default;pointer-events:none}
|
|
836
836
|
`;var fc=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},th;let ss=th=class extends al{get formFormattedValue(){return this.value.toString()}get _isTooltipVisible(){return this._tooltipsOpen?this._hasCustomTickmarks?this._getCustomLabel(this.value)!==void 0:!0:!1}get _ariaValueText(){return this._getCustomLabel(this.value)}constructor(){super(),this.value=0,this.step=1,this.tooltipValueState="None",this.tooltipValue="",this._progressPercentage=0,this._handlePositionFromStart=0,this._lastValidInputValue=this.min.toString()}onBeforeRendering(){const t=this.constructor.clipValue(this.value,this.min,this.max);this._updateHandleAndProgress(t)}onAfterRendering(){var e;super.onAfterRendering(),(e=this.tooltip)==null||e.repositionTooltip()}_onmousedown(e){if(this._isNonPrimaryClick(e)||this.disabled||this.step===0||e.target.hasAttribute("ui5-slider-tooltip"))return;const t=this.handleDownBase(e);this._valueOnInteractionStart=this.value,this._valueInitial===void 0&&(this._valueInitial=this.value);const i=this.constructor;if(!this._isHandlePressed(i.getPageXValueFromEvent(e))){const a=i._getDecimalPrecisionOfNumber(this.step);this._updateHandleAndProgress(t),this.value=t,this.tooltipValue=this._getCustomLabel(t)||t.toFixed(a),this.updateStateStorageAndFireInputEvent("value")}}_onfocusin(){this._valueInitial===void 0&&(this._valueInitial=this.value),this.showTooltip&&(this._tooltipsOpen=!0)}_onfocusout(e){var t;if(this._isFocusing()){this._preventFocusOut();return}this._valueInitial=void 0,this.showTooltip&&!((t=e.relatedTarget)!=null&&t.hasAttribute("ui5-slider-tooltip"))&&(this._tooltipsOpen=!1)}_onTooltipChange(e){const t=parseFloat(e.detail.value);if(t<this.min||t>this.max||Number.isNaN(t)){this.tooltipValueState="Negative",this.tooltipValue=`${t}`;return}this.tooltipValueState="None",this.value=t,this.fireDecoratorEvent("change")}_onTooltipFocusChange(){const e=parseFloat(this.tooltipValue);(e<this.min||e>this.max||Number.isNaN(e))&&(this.tooltipValueState="None",this.tooltipValue=this.value.toString())}_onTooltipKeydown(e){ll(e)&&(e.preventDefault(),this._sliderHandle.focus())}_onTooltipOpen(){const e=this._getCustomLabel(this.value);if(e){this.tooltipValue=e;return}const i=this.constructor._getDecimalPrecisionOfNumber(this.step);this.tooltipValue=this.value.toFixed(i)}_onTooltipInput(e){this.tooltipValue=e.detail.value}_handleMove(e){e.preventDefault();const t=this.constructor,i=t.getValueFromInteraction(e,this.step,this.min,this.max,this.getBoundingClientRect(),this.directionStart),a=t._getDecimalPrecisionOfNumber(this.step);this._updateHandleAndProgress(i),this.value=i,this.tooltipValue=this._getCustomLabel(i)||i.toFixed(a),this.updateStateStorageAndFireInputEvent("value")}_handleUp(){this._valueOnInteractionStart!==this.value&&this.fireDecoratorEvent("change"),this.handleUpBase(),this._valueOnInteractionStart=void 0}_onkeyup(e){const t=al._isActionKey(e);this._onKeyupBase(),t&&this._valueOnInteractionStart!==this.value&&this.fireDecoratorEvent("change"),this._valueOnInteractionStart=this.value}_isHandlePressed(e){const t=this._sliderHandle.getBoundingClientRect();return e>=t.left&&e<=t.right}_updateHandleAndProgress(e){const t=this.max,i=this.min;this._progressPercentage=(e-i)/(t-i),this._handlePositionFromStart=this._progressPercentage*100}_handleActionKeyPress(e){const t=this.min,i=this.max,a=this.value,r=this.constructor,n=De(e)?this._valueInitial:r.clipValue(this._handleActionKeyPressBase(e,"value")+a,t,i);if(n!==a){const s=r._getDecimalPrecisionOfNumber(this.step);this._updateHandleAndProgress(n),this.value=n,this.tooltipValue=this._getCustomLabel(n)||this.value.toFixed(s),this.updateStateStorageAndFireInputEvent("value")}}_onTooltopForwardFocus(e){var i;(i=e.target.followRef)==null||i.focus()}get inputValue(){return this.value.toString()}get tooltip(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector("[ui5-slider-tooltip]")}focusInnerElement(){this._sliderHandle.focus({focusVisible:se()})}get _sliderHandle(){return this.shadowRoot.querySelector("[ui5-slider-handle]")}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return th.i18nBundle.getText(nB)}get tickmarksObject(){const e=this._tickmarksCount,t=[];if(this._hiddenTickmarks)return[!1,!1];for(let i=0;i<=e;i++){const a=this._effectiveMin+i*this.step;t.push(a<=this.value)}return t}get _ariaDescribedByInputText(){return th.i18nBundle.getText(u3)}get _ariaLabelledByInputText(){return th.i18nBundle.getText(z0)}_onkeydown(e){const t=e.target;ll(e)&&t.hasAttribute("ui5-slider-handle")&&t.parentNode.querySelector("[ui5-slider-tooltip]").focus(),al._isActionKey(e)&&t&&!t.hasAttribute("ui5-slider-tooltip")&&(e.preventDefault(),this._isUserInteraction=!0,this._handleActionKeyPress(e))}};fc([d({type:Number})],ss.prototype,"value",void 0);fc([d({type:Number})],ss.prototype,"step",void 0);fc([d()],ss.prototype,"tooltipValueState",void 0);fc([d()],ss.prototype,"tooltipValue",void 0);fc([V("@ui5/webcomponents")],ss,"i18nBundle",void 0);ss=th=fc([T({tag:"ui5-slider",languageAware:!0,formAssociated:!0,styles:[Zre],template:Kre})],ss);ss.define();const tC=ss;var Jre=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let t0=class extends tC{onEnterDOM(){se()&&this.setAttribute("desktop","")}};t0=Jre([T({tag:"udex-slider",renderer:A,styles:[tC.styles,Y9]})],t0);t0.define();const Qre="less",eae="M14.5 7c.333 0 .5.167.5.5v1c0 .333-.167.5-.5.5h-13a.503.503 0 0 1-.344-.14A.462.462 0 0 1 1 8.5v-1c0-.146.052-.266.156-.36A.503.503 0 0 1 1.5 7h13Z",tae=!1,oae="0 0 16 16",iae="SAP-icons-v4",rae="@ui5/webcomponents-icons";U(Qre,{pathData:eae,ltr:tae,viewBox:oae,collection:iae,packageName:rae});const aae="less",nae="M14.25 7a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5h12.5Z",sae=!1,dae="0 0 16 16",lae="SAP-icons-v5",uae="@ui5/webcomponents-icons";U(aae,{pathData:nae,ltr:sae,viewBox:dae,collection:lae,packageName:uae});const cae="less",hae="add",_ae="M0 7.429c0-.167.06-.304.179-.411a.575.575 0 0 1 .392-.16h6.286V.57c0-.166.06-.303.179-.41A.575.575 0 0 1 7.429 0H8.57c.381 0 .572.19.572.571v6.286h6.286c.38 0 .571.19.571.572V8.57c0 .381-.19.572-.571.572H9.143v6.286c0 .38-.19.571-.572.571H7.43a.575.575 0 0 1-.393-.16.528.528 0 0 1-.179-.411V9.143H.571a.575.575 0 0 1-.392-.16A.528.528 0 0 1 0 8.57V7.43Z",pae=!1,gae=o8,vae="0 0 16 16",mae="SAP-icons-v4",fae="@ui5/webcomponents-icons";U(hae,{pathData:_ae,ltr:pae,viewBox:vae,accData:gae,collection:mae,packageName:fae});const bae="add",xae="M8 1a.75.75 0 0 1 .75.75v5.5h5.5a.75.75 0 0 1 0 1.5h-5.5v5.5a.75.75 0 0 1-1.5 0v-5.5h-5.5a.75.75 0 0 1 0-1.5h5.5v-5.5A.75.75 0 0 1 8 1Z",yae=!1,Cae=o8,wae="0 0 16 16",Sae="SAP-icons-v5",kae="@ui5/webcomponents-icons";U(bae,{pathData:xae,ltr:yae,viewBox:wae,accData:Cae,collection:Sae,packageName:kae});function Tae(){return g("div",{class:"udex-step-input__root",children:[l(F_,{type:"Number",label:this.label,"supporting-text":this.supportingText,value:this._valuePrecisioned,"accessible-name":this.accInfo.ariaLabel,onFocusIn:this._onInputFocusIn,onFocusOut:this._onInputFocusOut,onKeydown:this._onkeydown,disabled:this.disabled,readonly:this.readonly,required:this.required,displayonly:this.displayonly,"value-state":this.valueState,min:this.min,max:this.max,step:this.step}),!this.displayonly&&g(P,{children:[l(Ks,{class:"udex-step-input__button udex-step-input__button_dec",title:this.decIconTitle,accessibleName:this.decIconTitle,tooltip:this.decIconTitle,icon:"less",iconOnly:!0,size:"Large",design:this.controlButtonDesign,onClick:this._decValue,onMouseDown:this._decSpin,onMouseUp:this._resetSpin,onMouseOut:this._resetSpinOut,disabled:this._decIconInactive,active:this.decIconActive,readonly:this.readonly}),l(Ks,{class:"udex-step-input__button udex-step-input__button_inc",title:this.incIconTitle,accessibleName:this.incIconTitle,tooltip:this.incIconTitle,icon:"add",iconOnly:!0,size:"Large",design:this.controlButtonDesign,onClick:this._incValue,onMouseDown:this._incSpin,onMouseUp:this._resetSpin,onMouseOut:this._resetSpinOut,disabled:this._incIconInactive,active:this.incIconActive,readonly:this.readonly})]}),l("div",{class:"hidden","aria-live":"polite",children:this._liveRegionText})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Iae=`:host{--udex-step-input-button-size: 42px;--udex-step-input-input-horizontal-padding: var(--udexSpacer8, 8px);--udex-step-input-color-standard-hover-border: var(--sapField_Hover_BorderColor, var(--udexColorBlue6));--udex-step-input-color-standard-active-border: var(--sapField_Active_BorderColor, var(--udexColorBlue9));--udex-step-input-color-error-hover-border: var(--sapField_InvalidColor, var(--udexColorRed7));--udex-step-input-color-error-active-border: var(--udexColorRed9, #840606);--udex-step-input-color-warning-hover-border: var(--sapField_WarningColor, var(--udexColorMango7));--udex-step-input-color-warning-active-border: var(--udexColorMango9, #8D2A00);--udex-step-input-color-success-hover-border: var(--sapField_SuccessColor, var(--udexColorGreen7));--udex-step-input-color-success-active-border: var(--udexColorGreen9, #1E592F)}:host [udex-text-field]{--udex-input-color-standard-hover-border: var(--udex-step-input-color-standard-hover-border);--udex-input-color-standard-active-border: var(--udex-step-input-color-standard-active-border);--udex-input-color-error-hover-border: var(--udex-step-input-color-error-hover-border);--udex-input-color-error-active-border: var(--udex-step-input-color-error-active-border);--udex-input-color-warning-hover-border: var(--udex-step-input-color-warning-hover-border);--udex-input-color-warning-active-border: var(--udex-step-input-color-warning-active-border);--udex-input-color-success-hover-border: var(--udex-step-input-color-success-hover-border);--udex-input-color-success-active-border: var(--udex-step-input-color-success-active-border)}:host(:not([displayonly])) .udex-step-input__root{display:flex;align-items:flex-start}:host .udex-step-input__button{--udex-control-button-large-height: var(--udex-step-input-button-size);--udex-control-button-large-width: var(--udex-step-input-button-size);position:relative;padding:var(--udexSpacer4, 4px);width:38px;z-index:3;background:none;flex-shrink:0}:host .udex-step-input__root .udex-step-input__button_inc:not(:disabled):dir(ltr),:host .udex-step-input__root .udex-step-input__button_dec:not(:disabled):dir(rtl){border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}:host .udex-step-input__root .udex-step-input__button_inc:not(:disabled):dir(rtl),:host .udex-step-input__root .udex-step-input__button_dec:not(:disabled):dir(ltr){border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}:host([readonly]) .udex-step-input__button{opacity:1}:host(:not([disabled]):not([readonly]):not([displayonly]):hover) ::part(textfield-input){border-color:var(--udex-step-input-color-standard-hover-border)}:host([value-state="Success"]:not([disabled]):not([readonly]):not([displayonly]):hover) ::part(textfield-input){border-color:var(--udex-step-input-color-success-hover-border)}:host([value-state="Warning"]:not([disabled]):not([readonly]):not([displayonly]):hover) ::part(textfield-input){border-color:var(--udex-step-input-color-warning-hover-border)}:host([value-state="Error"]:not([disabled]):not([readonly]):not([displayonly]):hover) ::part(textfield-input){border-color:var(--udex-step-input-color-error-hover-border)}:host(:not([disabled]):not([readonly]):not([displayonly]):focus-within) ::part(textfield-input){border-color:var(--udex-step-input-color-standard-active-border)}:host([value-state="Success"]:not([disabled]):not([readonly]):not([displayonly]):focus-within) ::part(textfield-input){border-color:var(--udex-step-input-color-success-active-border)}:host([value-state="Warning"]:not([disabled]):not([readonly]):not([displayonly]):focus-within) ::part(textfield-input){border-color:var(--udex-step-input-color-warning-active-border)}:host([value-state="Error"]:not([disabled]):not([readonly]):not([displayonly]):focus-within) ::part(textfield-input){border-color:var(--udex-step-input-color-error-active-border)}:host(:not([displayonly])) [udex-text-field]::part(textfield-input){padding-right:calc(var(--udex-step-input-button-size) + var(--udex-step-input-input-horizontal-padding));padding-left:calc(var(--udex-step-input-button-size) + var(--udex-step-input-input-horizontal-padding))}:host(:not([displayonly])) [udex-text-field]{margin-right:calc(var(--udex-step-input-button-size) * -1);margin-left:calc(var(--udex-step-input-button-size) * -1);width:100%}:host(:not([displayonly])) [udex-text-field]::part(textfield-input){text-align:end}:host .udex-step-input__button_dec{order:1}:host [udex-text-field]{order:2}:host .udex-step-input__button_inc{order:3}.udex-step-input__root{position:relative}.hidden{position:absolute;z-index:var(--udexZIndexNegative, -1);color:transparent}
|
|
837
|
-
`;var mt=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},oh;const _x=500,Bae=.8,px=50,gx=120;let nt=oh=class extends z{static async onDefine(){oh.i18nBundle=await p_("@sapudex/web-components")}constructor(){super(),this.value=0,this.step=1,this.valueState=St.Standard,this.valuePrecision=0,this.label="",this.supportingText="",this.accessibleNameRef="",this._initialValue=0,this._previousValue=0,this._waitTimeout=_x,this._speed=gx,this._skipLiveAnnouncement=!1}get accInfo(){return{ariaLabel:dd(this)||this.accessibleName||void 0}}get controlButtonDesign(){return g8[this.valueState]}get decIconTitle(){var t;const e=(t=B(oh,NE))==null?void 0:t.split(" ");return[e[0],this.accessibleName||this.label,e[1]||"",this.step.toFixed(this._getNumberPrecision(this.step))].join(" ")}get incIconTitle(){var t;const e=(t=B(oh,LE))==null?void 0:t.split(" ");return[e[0],this.accessibleName||this.label,e[1]||"",this.step.toFixed(this._getNumberPrecision(this.step))].join(" ")}get _decIconInactive(){return this._decIconDisabled||this.readonly||this.disabled}get _incIconInactive(){return this._incIconDisabled||this.readonly||this.disabled}get _valuePrecisioned(){return this.value.toFixed(this.valuePrecision)}onBeforeRendering(){this._setButtonState()}onAfterRendering(){this._skipLiveAnnouncement=!1}get _liveRegionText(){return this._skipLiveAnnouncement?"":this._valuePrecisioned}get input(){return this.inputOuter.shadowRoot.querySelector("input")}get inputOuter(){return this.shadowRoot.querySelector("[udex-text-field]")}_onInputFocusIn(){this.value!==this._previousValue&&(this._previousValue=this.value)}_onInputFocusOut(){this._onInputChange()}_setButtonState(){this._decIconDisabled=this.min!==void 0&&this.value<=this.min,this._incIconDisabled=this.max!==void 0&&this.value>=this.max}setIncButtonActiveState(){this.incIconActive=!0}setDecButtonActiveState(){this.decIconActive=!0}unsetButtonsActiveState(){this.decIconActive=!1,this.incIconActive=!1}_validate(){this._initialValueState===void 0&&(this._initialValueState=this.valueState),this._updateValueState()}_updateValueState(){const e=!(this.min!==void 0&&this.value<this.min||this.max!==void 0&&this.value>this.max),t=this.valueState;this.valueState=e?this._initialValueState:St.Error,!this.fireDecoratorEvent("value-state-change",{valueState:this.valueState,valid:e})&&(this.valueState=t)}_getNumberPrecision(e){if(!Number.isFinite(e))return 0;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}_preciseValue(e){const t=10**this.valuePrecision;return Math.round(e*t)/t}_fireChangeEvent(){this._previousValue!==this.value&&(this._previousValue=this.value,this.fireDecoratorEvent("change",{value:this.value}))}_modifyValue(e,t=!1){let i;this.value=this._preciseValue(parseFloat(this.input.value)),i=this.value+e,this.min!==void 0&&i<this.min&&(i=this.min),this.max!==void 0&&i>this.max&&(i=this.max),i=this._preciseValue(i),i!==this.value&&(this.value=i,this._validate(),this._setButtonState(),t&&this._fireChangeEvent())}_incValue(){this._incIconInactive||(this._modifyValue(this.step,!0),this._previousValue=this.value,this._incIconDisabled&&(this._skipLiveAnnouncement=!0,this.input.focus()))}_decValue(){this._decIconInactive||(this._modifyValue(-this.step,!0),this._previousValue=this.value,this._decIconDisabled&&(this._skipLiveAnnouncement=!0,this.input.focus()))}_onInputChange(){if(Number.isNaN(Number(this.input.value))||this.input.value.trim()===""){const t=this._initialValue.toFixed(this.valuePrecision);this.inputOuter.setAttribute("value",t),this.input.value=t}const e=this._preciseValue(parseFloat(this.input.value));(this.value!==this._previousValue||this.value!==e)&&(this.value=e,this._validate(),this._setButtonState(),this._fireChangeEvent())}_onkeydown(e){const{detail:{keyboardEvent:t}}=e;let i=!0;if(!(this.disabled||this.readonly)){if(ie(t)){this._onInputChange();return}Ne(t)?this._modifyValue(this.step):Be(t)?this._modifyValue(-this.step):De(t)?(this.value=this._previousValue,this.input.value=this.value.toFixed(this.valuePrecision)):this.max!==void 0&&(L0(t)||hT(t))?this._modifyValue(this.max-this.value,!0):this.min!==void 0&&(N0(t)||_T(t))?this._modifyValue(this.min-this.value,!0):!_u(t)&&!Ih(t)&&!Du(t)&&!dl(t)&&(i=!1),i&&e.preventDefault()}}_decSpin(){this._decIconDisabled||(this._spinValue(!1,!0),this.setDecButtonActiveState())}_incSpin(){this._incIconDisabled||(this._spinValue(!0,!0),this.setIncButtonActiveState())}_calcWaitTimeout(){return this._speed*=Bae,this._waitTimeout=this._waitTimeout-this._speed<px?px:this._waitTimeout-this._speed,this._waitTimeout}_spinValue(e,t=!1){t&&(this._waitTimeout=_x,this._speed=gx,this._btnDown=!0),this._spinTimeoutId=setTimeout(()=>{this._btnDown&&(this._spinStarted=!0,this._modifyValue(e?this.step:-this.step),this._setButtonState(),!this._incIconDisabled&&e||!this._decIconDisabled&&!e?this._spinValue(e):(this._resetSpin(),this._fireChangeEvent()))},this._calcWaitTimeout())}_resetSpin(){clearTimeout(this._spinTimeoutId),this._btnDown=!1,this._spinStarted=!1,this.unsetButtonsActiveState()}_resetSpinOut(){this._btnDown&&(this._resetSpin(),this._fireChangeEvent(),this.unsetButtonsActiveState())}onEnterDOM(){if(this.min!==void 0&&this.max!==void 0&&this.min>this.max){const e=this.min;this.min=this.max,this.max=e}this.valuePrecision=Math.max(this.valuePrecision?this.valuePrecision:0,this._getNumberPrecision(this.step),this._getNumberPrecision(this.min?this.min:0),this._getNumberPrecision(this.max?this.max:0),this._getNumberPrecision(this.value)),this._initialValue=Math.min(Math.max(this.value,this.min?this.min:0),this.max?this.max:1/0),this.value=this._initialValue,this._previousValue=this.value}};mt([d({type:Number})],nt.prototype,"value",void 0);mt([d({type:Number})],nt.prototype,"min",void 0);mt([d({type:Number})],nt.prototype,"max",void 0);mt([d({type:Number})],nt.prototype,"step",void 0);mt([d()],nt.prototype,"valueState",void 0);mt([d({type:Boolean})],nt.prototype,"required",void 0);mt([d({type:Boolean})],nt.prototype,"disabled",void 0);mt([d({type:Boolean})],nt.prototype,"readonly",void 0);mt([d({type:Boolean})],nt.prototype,"displayonly",void 0);mt([d({type:Number})],nt.prototype,"valuePrecision",void 0);mt([d({type:String})],nt.prototype,"label",void 0);mt([d({type:String})],nt.prototype,"supportingText",void 0);mt([d()],nt.prototype,"accessibleName",void 0);mt([d()],nt.prototype,"accessibleNameRef",void 0);mt([d({type:Boolean,noAttribute:!0})],nt.prototype,"_decIconDisabled",void 0);mt([d({type:Boolean,noAttribute:!0})],nt.prototype,"_incIconDisabled",void 0);mt([d({type:Boolean,noAttribute:!0})],nt.prototype,"incIconActive",void 0);mt([d({type:Boolean,noAttribute:!0})],nt.prototype,"decIconActive",void 0);mt([d({type:Number,noAttribute:!0})],nt.prototype,"_initialValue",void 0);mt([d({type:Number,noAttribute:!0})],nt.prototype,"_previousValue",void 0);mt([d({type:Number,noAttribute:!0})],nt.prototype,"_waitTimeout",void 0);mt([d({type:Number,noAttribute:!0})],nt.prototype,"_speed",void 0);mt([d({type:Boolean,noAttribute:!0})],nt.prototype,"_btnDown",void 0);mt([d({type:Number,noAttribute:!0})],nt.prototype,"_spinTimeoutId",void 0);mt([d({type:Boolean,noAttribute:!0})],nt.prototype,"_spinStarted",void 0);mt([d({noAttribute:!0})],nt.prototype,"_initialValueState",void 0);nt=oh=mt([T({tag:"udex-step-input",renderer:A,styles:Iae,template:Tae}),x("change",{bubbles:!0}),x("value-state-change",{bubbles:!0})],nt);nt.define();var o0;(function(o){o.Textual="Textual",o.Graphical="Graphical"})(o0||(o0={}));const Aae=o0;function Eae(){return g("div",{class:{"ui5-switch-root":!0,"ui5-switch--desktop":se(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!(this.graphical||this.textOn||this.textOff),"ui5-switch--safari":u5()},role:"switch","aria-label":this.ariaLabelText,"aria-checked":this.checked,"aria-disabled":this.effectiveAriaDisabled,"aria-readonly":this.effectiveAriaReadonly,"aria-required":this.required,"aria-describedby":this.ariaDescribedBy,onClick:this._onclick,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onFocusIn:this._onfocusin,tabindex:this.effectiveTabIndex,title:this.tooltip,children:[l("div",{class:"ui5-switch-inner",children:l("div",{class:"ui5-switch-track",part:"slider",children:g("div",{class:"ui5-switch-slider",children:[this.graphical?g(P,{children:[l("span",{class:"ui5-switch-text ui5-switch-text--on",children:l(R,{name:A5,class:"ui5-switch-icon-on"})}),l("span",{class:"ui5-switch-text ui5-switch-text--off",children:l(R,{name:Ui,class:"ui5-switch-icon-off"})})]}):l(P,{children:this.hasNoLabel?g(P,{children:[l("span",{class:"ui5-switch-text ui5-switch-text--on ui5-switch-no-label-icon",part:"text-on",children:l(R,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-on"})}),l("span",{class:"ui5-switch-text ui5-switch-text--off ui5-switch-no-label-icon",part:"text-off",children:l(R,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-off"})})]}):g(P,{children:[l("span",{class:"ui5-switch-text ui5-switch-text--on",part:"text-on","aria-hidden":this._textAriaHidden,children:this._textOn}),l("span",{class:"ui5-switch-text ui5-switch-text--off",part:"text-off","aria-hidden":this._textAriaHidden,children:this._textOff})]})}),this.readonly&&l("span",{class:"ui5-switch-text ui5-switch-text--readonly",id:this.ariaDescribedBy,"aria-hidden":this._textAriaHidden,children:this.ariaDescribedByText}),l("span",{class:"ui5-switch-handle",part:"handle"})]})})}),l("input",{type:"checkbox",checked:this.checked,class:"ui5-switch-input","data-sap-no-tab-ref":!0})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const Dae=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host{vertical-align:middle}:host(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5_switch_width);height:var(--_ui5_switch_height);min-width:var(--_ui5_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5_switch_with_label_width);height:var(--_ui5_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5_switch_width)}.ui5-switch-inner{display:flex;align-items:center;justify-content:center;height:100%;width:100%;min-width:inherit;overflow:hidden;pointer-events:none;will-change:transform}:host([checked]) .ui5-switch-inner{border-radius:6.25rem;box-shadow:var(--_ui5-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5_switch_track_height);width:var(--_ui5_switch_track_width);border:var(--_ui5-switch-track-border);border-radius:var(--_ui5_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5_switch_track_with_label_height);width:var(--_ui5_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5_switch_handle_width);height:var(--_ui5_switch_handle_height);border:var(--_ui5_switch_handle_border);border-radius:var(--_ui5_switch_handle_border_radius);box-sizing:border-box}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-handle{height:var(--_ui5_switch_handle_with_label_height);width:var(--_ui5_switch_handle_with_label_width)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5_switch_text_z_index);min-width:var(--_ui5_switch_text_min_width);font-size:var(--_ui5_switch_text_font_size);font-family:var(--_ui5-switch-text_font_family);text-transform:uppercase;text-align:center;white-space:nowrap;user-select:none;-webkit-user-select:none}.ui5-switch-handle,.ui5-switch-text{inset-inline-start:var(--_ui5_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-root:focus-visible:after,.ui5-switch--desktop.ui5-switch-root:focus-within:after{content:"";position:absolute;inset-inline-start:var(--_ui5_switch_root_outline_left);inset-inline-end:var(--_ui5_switch_root_outline_right);top:var(--_ui5_switch_root_outline_top);bottom:var(--_ui5_switch_root_outline_bottom);border:var(--_ui5_switch_focus_outline);border-radius:var(--_ui5_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5_switch_track_transition);outline:var(--_ui5_switch_root_after_outline)}.ui5-switch-root .ui5-switch-input{position:absolute;inset-inline-start:0;width:0;height:0;margin:0;visibility:hidden;appearance:none;-webkit-appearance:none}.ui5-switch-root.ui5-switch--disabled{opacity:var(--_ui5_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off,.ui5-switch-root.ui5-switch--checked .ui5-switch-text--readonly{visibility:var(--_ui5_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on,.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--readonly{visibility:var(--_ui5_switch_text_hidden)}.ui5-switch-root.ui5-switch--checked.ui5-switch--semantic .ui5-switch-text--on,.ui5-switch-root.ui5-switch--checked.ui5-switch--desktop.ui5-switch--no-label .ui5-switch-text--on{inset-inline-start:var(--_ui5_switch_text_active_left)}.ui5-switch-root:not(.ui5-switch--checked).ui5-switch--semantic .ui5-switch-text--off,.ui5-switch-root:not(.ui5-switch--checked).ui5-switch--desktop.ui5-switch--no-label .ui5-switch-text--off{inset-inline-start:var(--_ui5_switch_text_inactive_left);inset-inline-end:var(--_ui5_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5_switch_handle_active_background_color);border-color:var(--_ui5_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5_switch_handle_inactive_background_color);border-color:var(--_ui5_switch_handle_inactive_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_hover_active_background_color);border-color:var(--_ui5_switch_handle_hover_active_border_color)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled):not(.ui5-switch--checked):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_hover_inactive_background_color);border-color:var(--_ui5_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_accept_background_color);border-color:var(--_ui5_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_reject_background_color);border-color:var(--_ui5_switch_handle_semantic_reject_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5_switch_handle_semantic_hover_accept_border_color)}.ui5-switch--desktop.ui5-switch--semantic.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5_switch_track_active_background_color);border-color:var(--_ui5_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5_switch_track_inactive_background_color);border-color:var(--_ui5_switch_track_inactive_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_hover_active_background_color);border-color:var(--_ui5_switch_track_hover_active_border_color)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_hover_inactive_background_color);border-color:var(--_ui5_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5_switch_track_semantic_accept_background_color);border-color:var(--_ui5_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5_switch_track_semantic_reject_background_color);border-color:var(--_ui5_switch_track_semantic_reject_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5_switch_track_semantic_hover_accept_border_color)}.ui5-switch--desktop.ui5-switch--semantic.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5_switch_track_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-slider{transform:var(--_ui5_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5_switch_transform)}.ui5-switch-text .ui5-switch-text--on .ui5-switch-no-label-icon,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text,.ui5-switch-root.ui5-switch--no-label .ui5-switch-text{display:flex;justify-content:center}.ui5-switch--no-label .ui5-switch-no-label-icon-on,.ui5-switch--no-label .ui5-switch-no-label-icon-off{width:var(--_ui5_switch_icon_width);height:var(--_ui5_switch_icon_height);display:var(--_ui5_switch_track_icon_display)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off{width:var(--_ui5_switch_icon_width);height:var(--_ui5_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5_switch_text_font_family);font-size:var(--_ui5_switch_text_font_size);width:var(--_ui5_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5_switch_text_with_label_font_family);font-size:var(--_ui5_switch_text_with_label_font_size);width:var(--_ui5_switch_text_with_label_width)}:host([active]) .ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var(--_ui5-switch_track-off-active-background)}:host([active]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5-switch_track-on-active-background)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_off_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_on_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_semantic_off_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_semantic_on_hover_box_shadow)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text--on{color:var(--_ui5_switch_text_semantic_accept_color)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text--off{color:var(--_ui5_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5_switch_text_active_color);overflow:var(--_ui5_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5_switch_text_inactive_color);overflow:var(--_ui5_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5_switch_text_inactive_right_alternate)}.ui5-switch-root.ui5-switch--safari .ui5-switch-text--on.ui5-switch-no-label-icon,.ui5-switch-root.ui5-switch--safari .ui5-switch-text--off.ui5-switch-no-label-icon{inset-inline-start:.1875rem}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5_switch_text_inactive_color)}:dir(rtl).ui5-switch-root.ui5-switch--checked:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-slider{transform:var(--_ui5_switch_rtl_transform_with_label)}:dir(rtl).ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5_switch_rtl_transform)}:host([readonly]) .ui5-switch-root{cursor:default}:host([readonly]) .ui5-switch-track,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-track{background:var(--sapField_ReadOnly_Background);border:.0625rem var(--_ui5_switch_readonly_track_border_style) var(--sapField_ReadOnly_BorderColor)}:host([readonly]) .ui5-switch-handle,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-handle{background:var(--sapField_ReadOnly_Background);border:.0625rem var(--_ui5_switch_readonly_handle_border_style) var(--sapField_ReadOnly_BorderColor)}:host([readonly]) .ui5-switch-text--on,:host([readonly]) .ui5-switch-text--off,:host([readonly]) .ui5-switch-no-label-icon-on,:host([readonly]) .ui5-switch-no-label-icon-off,:host([readonly]) .ui5-switch-icon-on,:host([readonly]) .ui5-switch-icon-off,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-text--on,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-text--off{color:var(--sapButton_Handle_TextColor)}:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:hover .ui5-switch-handle{box-shadow:none}:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-track,:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-track,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-handle{background:var(--sapField_ReadOnly_Background);border-color:var(--sapField_ReadOnly_BorderColor)}
|
|
837
|
+
`;var ft=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},oh;const _x=500,Bae=.8,px=50,gx=120;let nt=oh=class extends z{static async onDefine(){oh.i18nBundle=await p_("@sapudex/web-components")}constructor(){super(),this.value=0,this.step=1,this.valueState=St.Standard,this.valuePrecision=0,this.label="",this.supportingText="",this.accessibleNameRef="",this._initialValue=0,this._previousValue=0,this._waitTimeout=_x,this._speed=gx,this._skipLiveAnnouncement=!1}get accInfo(){return{ariaLabel:dd(this)||this.accessibleName||void 0}}get controlButtonDesign(){return g8[this.valueState]}get decIconTitle(){var t;const e=(t=B(oh,NE))==null?void 0:t.split(" ");return[e[0],this.accessibleName||this.label,e[1]||"",this.step.toFixed(this._getNumberPrecision(this.step))].join(" ")}get incIconTitle(){var t;const e=(t=B(oh,LE))==null?void 0:t.split(" ");return[e[0],this.accessibleName||this.label,e[1]||"",this.step.toFixed(this._getNumberPrecision(this.step))].join(" ")}get _decIconInactive(){return this._decIconDisabled||this.readonly||this.disabled}get _incIconInactive(){return this._incIconDisabled||this.readonly||this.disabled}get _valuePrecisioned(){return this.value.toFixed(this.valuePrecision)}onBeforeRendering(){this._setButtonState()}onAfterRendering(){this._skipLiveAnnouncement=!1}get _liveRegionText(){return this._skipLiveAnnouncement?"":this._valuePrecisioned}get input(){return this.inputOuter.shadowRoot.querySelector("input")}get inputOuter(){return this.shadowRoot.querySelector("[udex-text-field]")}_onInputFocusIn(){this.value!==this._previousValue&&(this._previousValue=this.value)}_onInputFocusOut(){this._onInputChange()}_setButtonState(){this._decIconDisabled=this.min!==void 0&&this.value<=this.min,this._incIconDisabled=this.max!==void 0&&this.value>=this.max}setIncButtonActiveState(){this.incIconActive=!0}setDecButtonActiveState(){this.decIconActive=!0}unsetButtonsActiveState(){this.decIconActive=!1,this.incIconActive=!1}_validate(){this._initialValueState===void 0&&(this._initialValueState=this.valueState),this._updateValueState()}_updateValueState(){const e=!(this.min!==void 0&&this.value<this.min||this.max!==void 0&&this.value>this.max),t=this.valueState;this.valueState=e?this._initialValueState:St.Error,!this.fireDecoratorEvent("value-state-change",{valueState:this.valueState,valid:e})&&(this.valueState=t)}_getNumberPrecision(e){if(!Number.isFinite(e))return 0;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}_preciseValue(e){const t=10**this.valuePrecision;return Math.round(e*t)/t}_fireChangeEvent(){this._previousValue!==this.value&&(this._previousValue=this.value,this.fireDecoratorEvent("change",{value:this.value}))}_modifyValue(e,t=!1){let i;this.value=this._preciseValue(parseFloat(this.input.value)),i=this.value+e,this.min!==void 0&&i<this.min&&(i=this.min),this.max!==void 0&&i>this.max&&(i=this.max),i=this._preciseValue(i),i!==this.value&&(this.value=i,this._validate(),this._setButtonState(),t&&this._fireChangeEvent())}_incValue(){this._incIconInactive||(this._modifyValue(this.step,!0),this._previousValue=this.value,this._incIconDisabled&&(this._skipLiveAnnouncement=!0,this.input.focus()))}_decValue(){this._decIconInactive||(this._modifyValue(-this.step,!0),this._previousValue=this.value,this._decIconDisabled&&(this._skipLiveAnnouncement=!0,this.input.focus()))}_onInputChange(){if(Number.isNaN(Number(this.input.value))||this.input.value.trim()===""){const t=this._initialValue.toFixed(this.valuePrecision);this.inputOuter.setAttribute("value",t),this.input.value=t}const e=this._preciseValue(parseFloat(this.input.value));(this.value!==this._previousValue||this.value!==e)&&(this.value=e,this._validate(),this._setButtonState(),this._fireChangeEvent())}_onkeydown(e){const{detail:{keyboardEvent:t}}=e;let i=!0;if(!(this.disabled||this.readonly)){if(ie(t)){this._onInputChange();return}Ne(t)?this._modifyValue(this.step):Be(t)?this._modifyValue(-this.step):De(t)?(this.value=this._previousValue,this.input.value=this.value.toFixed(this.valuePrecision)):this.max!==void 0&&(L0(t)||hT(t))?this._modifyValue(this.max-this.value,!0):this.min!==void 0&&(N0(t)||_T(t))?this._modifyValue(this.min-this.value,!0):!_u(t)&&!Ih(t)&&!Du(t)&&!dl(t)&&(i=!1),i&&e.preventDefault()}}_decSpin(){this._decIconDisabled||(this._spinValue(!1,!0),this.setDecButtonActiveState())}_incSpin(){this._incIconDisabled||(this._spinValue(!0,!0),this.setIncButtonActiveState())}_calcWaitTimeout(){return this._speed*=Bae,this._waitTimeout=this._waitTimeout-this._speed<px?px:this._waitTimeout-this._speed,this._waitTimeout}_spinValue(e,t=!1){t&&(this._waitTimeout=_x,this._speed=gx,this._btnDown=!0),this._spinTimeoutId=setTimeout(()=>{this._btnDown&&(this._spinStarted=!0,this._modifyValue(e?this.step:-this.step),this._setButtonState(),!this._incIconDisabled&&e||!this._decIconDisabled&&!e?this._spinValue(e):(this._resetSpin(),this._fireChangeEvent()))},this._calcWaitTimeout())}_resetSpin(){clearTimeout(this._spinTimeoutId),this._btnDown=!1,this._spinStarted=!1,this.unsetButtonsActiveState()}_resetSpinOut(){this._btnDown&&(this._resetSpin(),this._fireChangeEvent(),this.unsetButtonsActiveState())}onEnterDOM(){if(this.min!==void 0&&this.max!==void 0&&this.min>this.max){const e=this.min;this.min=this.max,this.max=e}this.valuePrecision=Math.max(this.valuePrecision?this.valuePrecision:0,this._getNumberPrecision(this.step),this._getNumberPrecision(this.min?this.min:0),this._getNumberPrecision(this.max?this.max:0),this._getNumberPrecision(this.value)),this._initialValue=Math.min(Math.max(this.value,this.min?this.min:0),this.max?this.max:1/0),this.value=this._initialValue,this._previousValue=this.value}};ft([d({type:Number})],nt.prototype,"value",void 0);ft([d({type:Number})],nt.prototype,"min",void 0);ft([d({type:Number})],nt.prototype,"max",void 0);ft([d({type:Number})],nt.prototype,"step",void 0);ft([d()],nt.prototype,"valueState",void 0);ft([d({type:Boolean})],nt.prototype,"required",void 0);ft([d({type:Boolean})],nt.prototype,"disabled",void 0);ft([d({type:Boolean})],nt.prototype,"readonly",void 0);ft([d({type:Boolean})],nt.prototype,"displayonly",void 0);ft([d({type:Number})],nt.prototype,"valuePrecision",void 0);ft([d({type:String})],nt.prototype,"label",void 0);ft([d({type:String})],nt.prototype,"supportingText",void 0);ft([d()],nt.prototype,"accessibleName",void 0);ft([d()],nt.prototype,"accessibleNameRef",void 0);ft([d({type:Boolean,noAttribute:!0})],nt.prototype,"_decIconDisabled",void 0);ft([d({type:Boolean,noAttribute:!0})],nt.prototype,"_incIconDisabled",void 0);ft([d({type:Boolean,noAttribute:!0})],nt.prototype,"incIconActive",void 0);ft([d({type:Boolean,noAttribute:!0})],nt.prototype,"decIconActive",void 0);ft([d({type:Number,noAttribute:!0})],nt.prototype,"_initialValue",void 0);ft([d({type:Number,noAttribute:!0})],nt.prototype,"_previousValue",void 0);ft([d({type:Number,noAttribute:!0})],nt.prototype,"_waitTimeout",void 0);ft([d({type:Number,noAttribute:!0})],nt.prototype,"_speed",void 0);ft([d({type:Boolean,noAttribute:!0})],nt.prototype,"_btnDown",void 0);ft([d({type:Number,noAttribute:!0})],nt.prototype,"_spinTimeoutId",void 0);ft([d({type:Boolean,noAttribute:!0})],nt.prototype,"_spinStarted",void 0);ft([d({noAttribute:!0})],nt.prototype,"_initialValueState",void 0);nt=oh=ft([T({tag:"udex-step-input",renderer:A,styles:Iae,template:Tae}),x("change",{bubbles:!0}),x("value-state-change",{bubbles:!0})],nt);nt.define();var o0;(function(o){o.Textual="Textual",o.Graphical="Graphical"})(o0||(o0={}));const Aae=o0;function Eae(){return g("div",{class:{"ui5-switch-root":!0,"ui5-switch--desktop":se(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!(this.graphical||this.textOn||this.textOff),"ui5-switch--safari":u5()},role:"switch","aria-label":this.ariaLabelText,"aria-checked":this.checked,"aria-disabled":this.effectiveAriaDisabled,"aria-readonly":this.effectiveAriaReadonly,"aria-required":this.required,"aria-describedby":this.ariaDescribedBy,onClick:this._onclick,onKeyUp:this._onkeyup,onKeyDown:this._onkeydown,onFocusIn:this._onfocusin,tabindex:this.effectiveTabIndex,title:this.tooltip,children:[l("div",{class:"ui5-switch-inner",children:l("div",{class:"ui5-switch-track",part:"slider",children:g("div",{class:"ui5-switch-slider",children:[this.graphical?g(P,{children:[l("span",{class:"ui5-switch-text ui5-switch-text--on",children:l(R,{name:A5,class:"ui5-switch-icon-on"})}),l("span",{class:"ui5-switch-text ui5-switch-text--off",children:l(R,{name:Ui,class:"ui5-switch-icon-off"})})]}):l(P,{children:this.hasNoLabel?g(P,{children:[l("span",{class:"ui5-switch-text ui5-switch-text--on ui5-switch-no-label-icon",part:"text-on",children:l(R,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-on"})}),l("span",{class:"ui5-switch-text ui5-switch-text--off ui5-switch-no-label-icon",part:"text-off",children:l(R,{name:this.sapNextIcon,class:"ui5-switch-no-label-icon-off"})})]}):g(P,{children:[l("span",{class:"ui5-switch-text ui5-switch-text--on",part:"text-on","aria-hidden":this._textAriaHidden,children:this._textOn}),l("span",{class:"ui5-switch-text ui5-switch-text--off",part:"text-off","aria-hidden":this._textAriaHidden,children:this._textOff})]})}),this.readonly&&l("span",{class:"ui5-switch-text ui5-switch-text--readonly",id:this.ariaDescribedBy,"aria-hidden":this._textAriaHidden,children:this.ariaDescribedByText}),l("span",{class:"ui5-switch-handle",part:"handle"})]})})}),l("input",{type:"checkbox",checked:this.checked,class:"ui5-switch-input","data-sap-no-tab-ref":!0})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const Dae=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host{vertical-align:middle}:host(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5_switch_width);height:var(--_ui5_switch_height);min-width:var(--_ui5_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5_switch_with_label_width);height:var(--_ui5_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5_switch_width)}.ui5-switch-inner{display:flex;align-items:center;justify-content:center;height:100%;width:100%;min-width:inherit;overflow:hidden;pointer-events:none;will-change:transform}:host([checked]) .ui5-switch-inner{border-radius:6.25rem;box-shadow:var(--_ui5-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5_switch_track_height);width:var(--_ui5_switch_track_width);border:var(--_ui5-switch-track-border);border-radius:var(--_ui5_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5_switch_track_with_label_height);width:var(--_ui5_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5_switch_handle_width);height:var(--_ui5_switch_handle_height);border:var(--_ui5_switch_handle_border);border-radius:var(--_ui5_switch_handle_border_radius);box-sizing:border-box}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-handle{height:var(--_ui5_switch_handle_with_label_height);width:var(--_ui5_switch_handle_with_label_width)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5_switch_text_z_index);min-width:var(--_ui5_switch_text_min_width);font-size:var(--_ui5_switch_text_font_size);font-family:var(--_ui5-switch-text_font_family);text-transform:uppercase;text-align:center;white-space:nowrap;user-select:none;-webkit-user-select:none}.ui5-switch-handle,.ui5-switch-text{inset-inline-start:var(--_ui5_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-root:focus-visible:after,.ui5-switch--desktop.ui5-switch-root:focus-within:after{content:"";position:absolute;inset-inline-start:var(--_ui5_switch_root_outline_left);inset-inline-end:var(--_ui5_switch_root_outline_right);top:var(--_ui5_switch_root_outline_top);bottom:var(--_ui5_switch_root_outline_bottom);border:var(--_ui5_switch_focus_outline);border-radius:var(--_ui5_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5_switch_track_transition);outline:var(--_ui5_switch_root_after_outline)}.ui5-switch-root .ui5-switch-input{position:absolute;inset-inline-start:0;width:0;height:0;margin:0;visibility:hidden;appearance:none;-webkit-appearance:none}.ui5-switch-root.ui5-switch--disabled{opacity:var(--_ui5_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off,.ui5-switch-root.ui5-switch--checked .ui5-switch-text--readonly{visibility:var(--_ui5_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on,.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--readonly{visibility:var(--_ui5_switch_text_hidden)}.ui5-switch-root.ui5-switch--checked.ui5-switch--semantic .ui5-switch-text--on,.ui5-switch-root.ui5-switch--checked.ui5-switch--desktop.ui5-switch--no-label .ui5-switch-text--on{inset-inline-start:var(--_ui5_switch_text_active_left)}.ui5-switch-root:not(.ui5-switch--checked).ui5-switch--semantic .ui5-switch-text--off,.ui5-switch-root:not(.ui5-switch--checked).ui5-switch--desktop.ui5-switch--no-label .ui5-switch-text--off{inset-inline-start:var(--_ui5_switch_text_inactive_left);inset-inline-end:var(--_ui5_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5_switch_handle_active_background_color);border-color:var(--_ui5_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5_switch_handle_inactive_background_color);border-color:var(--_ui5_switch_handle_inactive_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_hover_active_background_color);border-color:var(--_ui5_switch_handle_hover_active_border_color)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled):not(.ui5-switch--checked):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_hover_inactive_background_color);border-color:var(--_ui5_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_accept_background_color);border-color:var(--_ui5_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_reject_background_color);border-color:var(--_ui5_switch_handle_semantic_reject_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5_switch_handle_semantic_hover_accept_border_color)}.ui5-switch--desktop.ui5-switch--semantic.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-handle{background:var(--_ui5_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5_switch_track_active_background_color);border-color:var(--_ui5_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5_switch_track_inactive_background_color);border-color:var(--_ui5_switch_track_inactive_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_hover_active_background_color);border-color:var(--_ui5_switch_track_hover_active_border_color)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_hover_inactive_background_color);border-color:var(--_ui5_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5_switch_track_semantic_accept_background_color);border-color:var(--_ui5_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5_switch_track_semantic_reject_background_color);border-color:var(--_ui5_switch_track_semantic_reject_border_color)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5_switch_track_semantic_hover_accept_border_color)}.ui5-switch--desktop.ui5-switch--semantic.ui5-switch-root:not(.ui5-switch--checked):not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5_switch_track_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-slider{transform:var(--_ui5_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5_switch_transform)}.ui5-switch-text .ui5-switch-text--on .ui5-switch-no-label-icon,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text,.ui5-switch-root.ui5-switch--no-label .ui5-switch-text{display:flex;justify-content:center}.ui5-switch--no-label .ui5-switch-no-label-icon-on,.ui5-switch--no-label .ui5-switch-no-label-icon-off{width:var(--_ui5_switch_icon_width);height:var(--_ui5_switch_icon_height);display:var(--_ui5_switch_track_icon_display)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off{width:var(--_ui5_switch_icon_width);height:var(--_ui5_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5_switch_text_font_family);font-size:var(--_ui5_switch_text_font_size);width:var(--_ui5_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5_switch_text_with_label_font_family);font-size:var(--_ui5_switch_text_with_label_font_size);width:var(--_ui5_switch_text_with_label_width)}:host([active]) .ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var(--_ui5-switch_track-off-active-background)}:host([active]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-track{background:var(--_ui5-switch_track-on-active-background)}.ui5-switch--desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_off_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_on_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_semantic_off_hover_box_shadow)}.ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5_switch_handle_semantic_on_hover_box_shadow)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text--on{color:var(--_ui5_switch_text_semantic_accept_color)}.ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off,.ui5-switch-root.ui5-switch--semantic .ui5-switch-text--off{color:var(--_ui5_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5_switch_text_active_color);overflow:var(--_ui5_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5_switch_text_inactive_color);overflow:var(--_ui5_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5_switch_text_inactive_right_alternate)}.ui5-switch-root.ui5-switch--safari .ui5-switch-text--on.ui5-switch-no-label-icon,.ui5-switch-root.ui5-switch--safari .ui5-switch-text--off.ui5-switch-no-label-icon{inset-inline-start:.1875rem}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5_switch_text_inactive_color)}:dir(rtl).ui5-switch-root.ui5-switch--checked:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-slider{transform:var(--_ui5_switch_rtl_transform_with_label)}:dir(rtl).ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5_switch_rtl_transform)}:host([readonly]) .ui5-switch-root{cursor:default}:host([readonly]) .ui5-switch-track,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-track{background:var(--sapField_ReadOnly_Background);border:.0625rem var(--_ui5_switch_readonly_track_border_style) var(--sapField_ReadOnly_BorderColor)}:host([readonly]) .ui5-switch-handle,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-handle{background:var(--sapField_ReadOnly_Background);border:.0625rem var(--_ui5_switch_readonly_handle_border_style) var(--sapField_ReadOnly_BorderColor)}:host([readonly]) .ui5-switch-text--on,:host([readonly]) .ui5-switch-text--off,:host([readonly]) .ui5-switch-no-label-icon-on,:host([readonly]) .ui5-switch-no-label-icon-off,:host([readonly]) .ui5-switch-icon-on,:host([readonly]) .ui5-switch-icon-off,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-on,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-icon-off,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-text--on,:host([readonly]) .ui5-switch-root.ui5-switch--semantic .ui5-switch-text--off{color:var(--sapButton_Handle_TextColor)}:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--checked:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked:hover .ui5-switch-handle{box-shadow:none}:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-track,:host([readonly]) .ui5-switch--desktop.ui5-switch-root:hover .ui5-switch-handle,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-track,:host([readonly]) .ui5-switch--desktop.ui5-switch-root.ui5-switch--semantic:hover .ui5-switch-handle{background:var(--sapField_ReadOnly_Background);border-color:var(--sapField_ReadOnly_BorderColor)}
|
|
838
838
|
`;var Mi=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},cu;let Uo=cu=class extends z{constructor(){super(...arguments),this.design="Textual",this.readonly=!1,this.checked=!1,this.disabled=!1,this.required=!1,this.value="",this._cancelAction=!1,this._isSpacePressed=!1}get formValidityMessage(){return cu.i18nBundle.getText(_3)}get formValidity(){return{valueMissing:this.required&&!this.checked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value||"on":null}get sapNextIcon(){return this.checked?"accept":"less"}_onfocusin(){this._cancelAction=!1,this._isSpacePressed=!1}_onclick(){this.readonly||this.toggle()}_onkeydown(e){K(e)&&e.preventDefault(),!this.readonly&&(K(e)?this._isSpacePressed=!0:(on(e)||De(e))&&(this._cancelAction=!0),ie(e)&&this._onclick())}_onkeyup(e){if(this.readonly)return;const t=K(e),i=on(e)||De(e);if(t||ya(e)){if(this._cancelAction){this._cancelAction=!1,this._isSpacePressed=!1,e.preventDefault();return}this._isSpacePressed=!1}else i&&!this._isSpacePressed&&(this._cancelAction=!1);t&&this._onclick()}toggle(){if(!this.disabled&&!this.readonly){this.checked=!this.checked;const e=!this.fireDecoratorEvent("change"),t=!this.fireDecoratorEvent("value-changed");(e||t)&&(this.checked=!this.checked)}}get graphical(){return this.design===Aae.Graphical}get hasNoLabel(){return!(this.graphical||this.textOn||this.textOff)}get _textOn(){return this.graphical?"":this.textOn}get _textOff(){return this.graphical?"":this.textOff}get _textAriaHidden(){var r,n;const e=(r=this.textOn)==null?void 0:r.toLowerCase(),t=(n=this.textOff)==null?void 0:n.toLowerCase(),i=cu.i18nBundle.getText(TA).toLowerCase(),a=cu.i18nBundle.getText(IA).toLowerCase();return e===i&&t===a||void 0}get effectiveTabIndex(){return this.disabled?void 0:0}get effectiveAriaReadonly(){return this.readonly?"true":void 0}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get ariaLabelText(){return Lo(this)||ld(this)||void 0}get ariaDescribedBy(){return this.readonly?`${this._id}-readonly-desc`:void 0}get ariaDescribedByText(){return this.readonly?cu.i18nBundle.getText(i3):""}};Mi([d()],Uo.prototype,"design",void 0);Mi([d({type:Boolean})],Uo.prototype,"readonly",void 0);Mi([d({type:Boolean})],Uo.prototype,"checked",void 0);Mi([d({type:Boolean})],Uo.prototype,"disabled",void 0);Mi([d()],Uo.prototype,"textOn",void 0);Mi([d()],Uo.prototype,"textOff",void 0);Mi([d()],Uo.prototype,"accessibleName",void 0);Mi([d()],Uo.prototype,"accessibleNameRef",void 0);Mi([d()],Uo.prototype,"tooltip",void 0);Mi([d({type:Boolean})],Uo.prototype,"required",void 0);Mi([d()],Uo.prototype,"name",void 0);Mi([d()],Uo.prototype,"value",void 0);Mi([d({type:Boolean,noAttribute:!0})],Uo.prototype,"_cancelAction",void 0);Mi([d({type:Boolean,noAttribute:!0})],Uo.prototype,"_isSpacePressed",void 0);Mi([V("@ui5/webcomponents")],Uo,"i18nBundle",void 0);Uo=cu=Mi([T({tag:"ui5-switch",formAssociated:!0,languageAware:!0,styles:Dae,renderer:A,template:Eae}),x("change",{bubbles:!0,cancelable:!0}),x("value-changed",{bubbles:!0,cancelable:!0})],Uo);Uo.define();function Rae(){const o="udex-switch",e=`${this._id}-switch`;return g("div",{class:`${o}`,children:[this.label&&l("label",{id:`${e}__label`,for:`${e}__input`,class:`${o}__label`,part:"label",children:this.label}),g("div",{class:`${o}__container`,role:"switch","aria-label":this.accessibleName,"aria-labelledby":this.ariaLabeledBy,"aria-checked":this.checked,"aria-disabled":this.disabled,tabindex:this.switchTabIndex,title:this.tooltip,onClick:this.handleSwitchClick,onKeyDown:this.handleKeyDown,children:[l("div",{class:`${o}__track ${this.isActiveTrackClass}`,children:l("div",{class:`${o}__handle`,children:l(R,{class:`${o}__icon`,name:this.checked?A5:this.isSemanticColor?Ui:cae,mode:Fe.Decorative})})}),l("input",{id:`${e}__input`,class:`${o}__input`,type:"checkbox",checked:this.checked})]})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Pae=`:host{--udex-switch-color-standard-default-inactive-handle-background: var(--sapButton_Handle_Background, var(--udexColorNeutralWhite));--udex-switch-color-standard-default-inactive-icon: var(--sapButton_Handle_TextColor, var(--udexColorGrey9));--udex-switch-color-standard-default-inactive-track-background: var(--sapButton_Track_Background, var(--udexColorGrey5));--udex-switch-color-standard-hover-inactive-handle-background: var(--sapButton_Handle_Hover_Background, var(--udexColorNeutralWhite));--udex-switch-color-standard-hover-inactive-handle-border: var(--sapButton_Handle_Hover_BorderColor, var(--udexColorNeutralWhite40));--udex-switch-color-standard-hover-inactive-icon: var(--sapButton_Handle_TextColor, var(--udexColorGrey9));--udex-switch-color-standard-hover-inactive-track-background: var(--sapButton_Track_Hover_Background, var(--udexColorGrey6));--udex-switch-color-standard-default-active-handle-background: var(--sapButton_Handle_Selected_Background, var(--udexColorNeutralWhite));--udex-switch-color-standard-default-active-icon: var(--udexColorBlue8, #0057D2);--udex-switch-color-standard-default-active-track-background: var(--udexColorBlue8, #0057D2);--udex-switch-color-standard-hover-active-handle-background: var(--sapButton_Handle_Selected_Background, var(--udexColorNeutralWhite));--udex-switch-color-standard-hover-active-handle-border: var(--sapButton_Handle_Selected_Hover_BorderColor, var(--udexColorNeutralWhite40));--udex-switch-color-standard-hover-active-icon: var(--udexColorBlue9, #0040b0);--udex-switch-color-standard-hover-active-track-background: var(--sapButton_Track_Selected_Hover_Background, var(--udexColorBlue9));--udex-switch-color-reject-default-handle-background: var(--sapButton_Handle_Negative_Background, var(--udexColorNeutralWhite));--udex-switch-color-reject-default-icon: var(--sapButton_Handle_Negative_TextColor, var(--udexColorRed8));--udex-switch-color-reject-default-track-background: var(--sapButton_Track_Negative_Background, var(--udexColorRed6));--udex-switch-color-reject-hover-handle-background: var(--sapButton_Handle_Negative_Hover_Background, var(--udexColorNeutralWhite));--udex-switch-color-reject-hover-handle-border: var(--sapButton_Handle_Negative_Hover_BorderColor, var(--udexColorNeutralWhite40));--udex-switch-color-reject-hover-icon: var(--sapButton_Track_Negative_TextColor, var(--udexColorRed8));--udex-switch-color-reject-hover-track-background: var(--sapButton_Track_Negative_Hover_Background, var(--udexColorRed7));--udex-switch-color-accept-default-handle-background: var(--sapButton_Handle_Positive_Background, var(--udexColorNeutralWhite));--udex-switch-color-accept-default-icon: var(--sapButton_Handle_Positive_TextColor, var(--udexColorGreen8));--udex-switch-color-accept-default-track-background: var(--sapButton_Track_Positive_Background, var(--udexColorGreen7));--udex-switch-color-accept-hover-handle-background: var(--sapButton_Handle_Positive_Hover_Background, var(--udexColorNeutralWhite));--udex-switch-color-accept-hover-handle-border: var(--sapButton_Handle_Positive_Hover_BorderColor, var(--udexColorNeutralWhite40));--udex-switch-color-accept-hover-icon: var(--sapButton_Handle_Positive_TextColor, var(--udexColorGreen8));--udex-switch-color-accept-hover-track-background: var(--sapButton_Track_Positive_Hover_Background, var(--udexColorGreen8))}:host{display:inline-block}.udex-switch{display:flex;flex-direction:row;align-items:center;font-family:var(--sapFontFamily);gap:var(--udexSpacer12, 12px);color:var(--udexColorGrey9, #223548)}:host([desktop]) .udex-switch__container:focus,.udex-switch__container:focus-visible{outline:var(--udexSpacer2, 2px) solid var(--udexColorBlue9, #0040B0);outline-offset:var(--udexSpacer2, 2px);border-radius:var(--udexSwitchRadius, 100px)}:host([disabled]) .udex-switch{opacity:.4}.udex-switch__label{font-size:var(--udexTypographyBodySFontSize, 16px);line-height:24px;font-weight:400}.udex-switch__container{width:40px;height:24px}:host(:not([disabled])) .udex-switch__container{cursor:pointer}.udex-switch__track{border-radius:var(--udexSwitchRadius, 100px);height:inherit;padding:var(--udexSpacer2, 2px);box-sizing:border-box;container-type:inline-size}.udex-switch__handle{padding:var(--udexSpacer2, 2px) var(--udexSpacer4, 4px);width:24px;height:20px;border-radius:var(--udexSwitchRadius, 100px);box-sizing:border-box;transition:transform .3s ease}:host(:not([checked])) .udex-switch__track .udex-switch__handle{transform:translate(0)}:host([checked]:dir(ltr)) .udex-switch__track .udex-switch__handle{transform:translate(calc(100cqw - 100%))}:host([checked]:dir(rtl)) .udex-switch__track .udex-switch__handle{transform:translate(calc(-100cqw + 100%))}.udex-switch__icon{display:block;width:16px;height:16px}.udex-switch__track--inactive.udex-switch__track,:host([color=Non-Semantic]) .udex-switch__track--inactive.udex-switch__track{background-color:var(--udex-switch-color-standard-default-inactive-track-background)}.udex-switch__track--inactive .udex-switch__handle,:host([color=Non-Semantic]) .udex-switch__track--inactive .udex-switch__handle{background-color:var(--udex-switch-color-standard-default-inactive-handle-background)}.udex-switch__track--inactive .udex-switch__icon,:host([color=Non-Semantic]) .udex-switch__track--inactive .udex-switch__icon{color:var(--udex-switch-color-standard-default-inactive-icon)}.udex-switch__container:hover .udex-switch__track--inactive.udex-switch__track,:host([color=Non-Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--inactive.udex-switch__track{background-color:var(--udex-switch-color-standard-hover-inactive-track-background)}.udex-switch__container:hover .udex-switch__track--inactive .udex-switch__handle,:host([color=Non-Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--inactive .udex-switch__handle{background-color:var(--udex-switch-color-standard-hover-inactive-handle-background);box-shadow:0 0 0 2px var(--udex-switch-color-standard-hover-inactive-handle-border)}.udex-switch__container:hover .udex-switch__track--inactive .udex-switch__icon,:host([color=Non-Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--inactive .udex-switch__icon{color:var(--udex-switch-color-standard-hover-inactive-icon)}.udex-switch__track--active.udex-switch__track,:host([color=Non-Semantic]) .udex-switch__track--active.udex-switch__track{background-color:var(--udex-switch-color-standard-default-active-track-background)}.udex-switch__track--active .udex-switch__handle,:host([color=Non-Semantic]) .udex-switch__track--active .udex-switch__handle{background-color:var(--udex-switch-color-standard-default-active-handle-background)}.udex-switch__track--active .udex-switch__icon,:host([color=Non-Semantic]) .udex-switch__track--active .udex-switch__icon{color:var(--udex-switch-color-standard-default-active-icon)}.udex-switch__container:hover .udex-switch__track--active.udex-switch__track,:host([color=Non-Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--active.udex-switch__track{background-color:var(--udex-switch-color-standard-hover-active-track-background)}.udex-switch__container:hover .udex-switch__track--active .udex-switch__handle,:host([color=Non-Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--active .udex-switch__handle{background-color:var(--udex-switch-color-standard-hover-active-handle-background);box-shadow:0 0 0 2px var(--udex-switch-color-standard-hover-active-handle-border)}.udex-switch__container:hover .udex-switch__track--active .udex-switch__icon,:host([color=Non-Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--active .udex-switch__icon{color:var(--udex-switch-color-standard-hover-active-icon)}:host([color=Semantic]) .udex-switch__track--inactive.udex-switch__track{background-color:var(--udex-switch-color-reject-default-track-background)}:host([color=Semantic]) .udex-switch__track--inactive .udex-switch__handle{background-color:var(--udex-switch-color-reject-default-handle-background)}:host([color=Semantic]) .udex-switch__track--inactive .udex-switch__icon{color:var(--udex-switch-color-reject-default-icon)}:host([color=Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--inactive.udex-switch__track{background-color:var(--udex-switch-color-reject-hover-track-background)}:host([color=Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--inactive .udex-switch__handle{background-color:var(--udex-switch-color-reject-hover-handle-background);box-shadow:0 0 0 2px var(--udex-switch-color-reject-hover-handle-border)}:host([color=Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--inactive .udex-switch__icon{color:var(--udex-switch-color-reject-hover-icon)}:host([color=Semantic]) .udex-switch__track--active.udex-switch__track{background-color:var(--udex-switch-color-accept-default-track-background)}:host([color=Semantic]) .udex-switch__track--active .udex-switch__handle{background-color:var(--udex-switch-color-accept-default-handle-background)}:host([color=Semantic]) .udex-switch__track--active .udex-switch__icon{color:var(--udex-switch-color-accept-default-icon)}:host([color=Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--active.udex-switch__track{background-color:var(--udex-switch-color-accept-hover-track-background)}:host([color=Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--active .udex-switch__handle{background-color:var(--udex-switch-color-accept-hover-handle-background);box-shadow:0 0 0 2px var(--udex-switch-color-accept-hover-handle-border)}:host([color=Semantic]:not([disabled])) .udex-switch__container:hover .udex-switch__track--active .udex-switch__icon{color:var(--udex-switch-color-accept-hover-icon)}.udex-switch__input{position:absolute;inset-inline-start:0;width:0;height:0;margin:0;visibility:hidden;appearance:none}
|
|
839
839
|
`;var wd=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},r5;(function(o){o.NonSemantic="Non-Semantic",o.Semantic="Semantic"})(r5||(r5={}));let gn=class extends z{constructor(){super(...arguments),this.color=r5.NonSemantic,this.accessibleName="",this.checked=!1,this.tooltip=""}onEnterDOM(){se()&&this.setAttribute("desktop","")}handleSwitchClick(){this.disabled||(this.checked=!this.checked,this.fireDecoratorEvent("change"))}handleKeyDown(e){!this.disabled&&(ie(e)||K(e))&&(e.preventDefault(),this.handleSwitchClick())}get switchTabIndex(){return this.disabled?void 0:0}get isActiveTrackClass(){return this.checked?"udex-switch__track--active":"udex-switch__track--inactive"}get isSemanticColor(){return this.color===r5.Semantic}get ariaLabeledBy(){return this.accessibleNameRef||this.label?`${this._id}-switch__label`:""}};wd([d({type:String})],gn.prototype,"label",void 0);wd([d()],gn.prototype,"color",void 0);wd([d({type:String})],gn.prototype,"accessibleName",void 0);wd([d()],gn.prototype,"accessibleNameRef",void 0);wd([d({type:Boolean})],gn.prototype,"checked",void 0);wd([d({type:Boolean})],gn.prototype,"disabled",void 0);wd([d({type:String})],gn.prototype,"tooltip",void 0);gn=wd([T({tag:"udex-switch",renderer:A,styles:Pae,template:Rae,dependencies:[R]}),x("change",{cancelable:!0,bubbles:!0})],gn);gn.define();function Lae(){const o=this;return this.hasNotHref?g("button",{id:this._id,class:"udex-tab-overflow__button",role:"tab","aria-selected":this.effectiveSelected,"aria-disabled":this.ariaDisabled?"true":void 0,disabled:!!this.ariaDisabled,tabindex:Number(o._tabIndex),children:[this.hasIcon&&g("span",{class:"udex-tab-overflow__button-icon",role:"presentation","aria-hidden":"true",children:[l(R,{name:this.icon}),this.showAttentionBadge&&l("span",{class:"udex-tab-overflow__button-badge"})]}),this.text,this.hasNotIcon&&l("span",{class:"udex-tab-overflow__button-badge",role:"presentation","aria-hidden":"true"})]}):g("a",{id:this._id,href:this.ariaDisabled?void 0:this.href,target:this.target,class:"udex-tab-overflow__button",role:"tab","aria-selected":this.effectiveSelected,"aria-disabled":this.ariaDisabled?"true":void 0,tabindex:Number(o._tabIndex),children:[this.hasIcon&&g("span",{class:"udex-tab-overflow__button-icon",role:"presentation","aria-hidden":"true",children:[l(R,{name:this.icon}),this.showAttentionBadge&&l("span",{class:"udex-tab-overflow__button-badge"})]}),this.text,this.hasNotIcon&&l("span",{class:"udex-tab-overflow__button-badge",role:"presentation","aria-hidden":"true"})]})}function Nae(){return l(ni,{id:`${this._id}-overflow-popover`,"aria-orientation":"vertical","horizontal-align":Fi.End,placement:Ro.Bottom,"onui5-open":this.onFocusFirstItemPopover,"hide-arrow":!0,_hideHeader:!0,children:l("div",{class:"tab-navigation-popover",onClick:this.handleOverflowItemClick,onKeyDown:this.handleFocusPopover,role:"tablist",children:this._overflowItems.map(o=>Lae.call(o))})})}function Mae(){const o=this;return this.hasBodyTextOrLink?g("div",{class:"udex-tab-navigation__tab-wrapper",role:"presentation",style:this.widthStyle||void 0,children:[this.hasNotHref?g("button",{id:this._id,type:"button",role:"tab",class:`udex-tab-navigation__button-tab ${this.selectedClass} ${this.classWithIconWithoutBackground} ${this.buttonClassWithIcon} ${this.processTabClass}`,tabindex:Number(this._tabIndex),"aria-posinset":o._posinset,"aria-setsize":o._setsize,"aria-controls":o._contentId,"aria-selected":this.effectiveSelected,"aria-disabled":this.ariaDisabled?"true":void 0,children:[Cp.call(this),this.ariaDescribedByBodyText&&l("span",{class:"visually-hidden",children:this.bodyText})]}):g("a",{id:this._id,role:"tab",class:`udex-tab-navigation__button-tab ${this.selectedClass} ${this.classWithIconWithoutBackground} ${this.buttonClassWithIcon} ${this.processTabClass}`,href:this.href,target:this.target,tabindex:Number(this.linkTabIndex),"aria-posinset":o._posinset,"aria-setsize":o._setsize,"aria-disabled":this.ariaDisabled?"true":void 0,children:[Cp.call(this),this.ariaDescribedByBodyText&&l("span",{class:"visually-hidden",children:this.bodyText})]}),this.hasBodyText&&l("p",{class:"udex-tab-navigation__button-body-text",children:this.bodyText}),this.hasLinkSlot&&l("div",{class:"udex-tab-navigation__button-links",innerHTML:this.linkSlotHtml})]}):this.hasNotHref?l("button",{id:this._id,type:"button",role:"tab",class:`udex-tab-navigation__button-tab ${this.selectedClass} ${this.classWithIconWithoutBackground} ${this.buttonClassWithIcon} ${this.processTabClass}`,tabindex:Number(this._tabIndex),"aria-describedby":`udex-tab-navigation__${this._id}__accessible-name`,"aria-posinset":o._posinset,"aria-setsize":o._setsize,"aria-controls":o._contentId,"aria-selected":this.effectiveSelected,"aria-disabled":this.ariaDisabled?"true":void 0,style:this.widthStyle||void 0,children:Cp.call(this)}):l("a",{id:this._id,role:"tab",class:`udex-tab-navigation__button-tab ${this.selectedClass} ${this.classWithIconWithoutBackground} ${this.buttonClassWithIcon} ${this.processTabClass}`,tabindex:Number(this.linkTabIndex),"aria-posinset":o._posinset,"aria-setsize":o._setsize,href:this.href,target:this.target,"aria-disabled":this.ariaDisabled?"true":void 0,style:this.widthStyle||void 0,children:Cp.call(this)})}function Cp(){return g(P,{children:[this.hasIcon&&g("span",{class:"udex-tab-navigation__button-icon-outer",role:"presentation","aria-hidden":"true",children:[l(R,{class:"udex-tab-navigation__button-icon",name:this.icon}),this.showAttentionBadge&&l("span",{class:"udex-tab-navigation__button-badge"})]}),this._isProcessTab?g("span",{class:"udex-tab-navigation__button-text-block",children:[l("span",{class:"udex-tab-navigation__button-item-count",children:this.effectiveItemCountText}),g("p",{class:`udex-tab-navigation__button-text ${this.classWithIcon}`,children:[this.text,this.numberBadge&&l(Xs,{class:"udex-tab-navigation__badge",type:zr.Number,"number-design":Ca.Blue,size:an.Medium,children:this.numberBadge}),this.hasNotIcon&&l("span",{class:"udex-tab-navigation__button-badge"})]})]}):g("p",{class:`udex-tab-navigation__button-text ${this.classWithIcon}`,children:[this.text,this.numberBadge&&l(Xs,{class:"udex-tab-navigation__badge",type:zr.Number,"number-design":Ca.Blue,size:an.Medium,children:this.numberBadge}),this.hasNotIcon&&l("span",{class:"udex-tab-navigation__button-badge"})]}),l("span",{class:"visually-hidden",id:`udex-tab-navigation__${this._id}__accessible-name`,children:this.accessibleNameText})]})}function Oae(){return g("div",{className:"udex-tab-navigation__root",children:[g("div",{id:`${this._id}-header`,className:"udex-tab-navigation__header",part:"tab-navigation-header",children:[this.showPlayButton&&l(me,{class:"udex-tab-navigation__play-button",design:ve.Tertiary,size:ye.Large,icon:this.playBtnIcon,tooltip:this.playBtnTooltipText,onClick:this.onPlayButtonClick}),l("div",{id:`${this._id}-header-tabs`,className:"udex-tab-navigation__header-tabs",role:"tablist","aria-label":this.tablistAriaLabel,"aria-orientation":this.ariaOrientationValue,part:"tab-navigation-header-tabs",onClick:this.onTabClick,onKeyDown:this.handleKeyDown,children:this.items.map(o=>g(P,{children:[Mae.call(o),o.isMobileVertical&&o.selected&&l("div",{className:"udex-tab-navigation__content",part:"tab-navigation-content",children:l("div",{className:"udex-tab-navigation__content-item",id:`${o._contentId}-mobile`,role:"tabpanel","aria-labelledby":o._id,children:l("slot",{name:o._slotName})})})]}))}),l(me,{class:"udex-tab-navigation__button-more","end-icon":"navigation-down-arrow","aria-haspopup":"menu",design:ve.Tertiary,size:this.sizeMoreButton,onClick:this.handleMoreButton,onKeyDown:this.handleFocusMoreButton,"aria-expanded":this._isExpanded,hidden:!0,children:this.moreButtonText}),!!this._overflowItems.length&&Nae.call(this),this.showFooterSlot&&l("div",{className:"udex-tab-navigation__footer",part:"tab-navigation-footer",children:l("slot",{name:"footer"})})]}),l("div",{className:"udex-tab-navigation__content",id:`udex-${this._id}-content`,part:"tab-navigation-content",children:this.items.map(o=>o.selected?l("div",{className:"udex-tab-navigation__content-item",id:o._contentId,"aria-hidden":o.isMobile,role:"tabpanel","aria-labelledby":o._id,children:l("slot",{name:o._slotName})}):l("div",{className:"udex-tab-navigation__content-item",id:o._contentId,children:l("slot",{name:o._slotName})}))})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Fae=`:host{--udex-header-background-color: transparent;--udex-button-tab-vertical-gap: var(--udexSpacer32, 32px);--udex-button-tab-text-transform-first-letter: uppercase;--udex-button-tab-text-transform: none;--udex-button-tab-text-color-default: var(--sapShell_Navigation_TextColor, var(--udexColorGrey9));--udex-button-tab-text-color-hover: var(--udexColorBlue8);--udex-button-tab-text-color-active: var(--udexColorBlue8);--udex-button-tab-border-color-active: var(--udexColorBlue8);--udex-button-tab-font-size-default: var(--sapFontSize, var(--udexTypographyNavigationBoldXLFontSize));--udex-button-tab-font-family: var(--sapFontFamily, sans-serif);--udex-button-tab-font-weight: var(--sapButton_Emphasized_FontWeight, var(--udexTypographyFontWeightBold));--udex-button-tab-line-height: 1.1;--udex-button-tab-padding-vertical: var(--udexSpacer12, 12px);--udex-button-tab-padding-horizontal: var(--udexSpacer4, 4px);--udex-button-tab-with-icon-without-background-border-color-active: transparent;--udex-button-tab-with-icon-background: var(--udexColorNeutralWhite, #FFFFFF);--udex-button-tab-with-icon-background-hover: var(--udexColorBlue2, #D1EFFF);--udex-button-tab-with-icon-color: var(--udexColorGrey7, #475E75);--udex-button-tab-with-icon-color-hover: var(--udexColorGrey9, #223548);--udex-button-tab-with-icon-margin-bottom: var(--udexSpacer8, 8px);--udex-button-tab-with-icon-background-active: var(--udexColorBlue8, #0057D2);--udex-button-tab-with-icon-color-active: var(--sapBackgroundColor, var(--udexColorNeutralWhite));--udex-button-tab-with-icon-border-color: var(--udexColorGrey3, #D5DADD);--udex-button-tab-with-icon-without-background-color: var(--sapShell_Navigation_TextColor, var(--udexColorGrey9));--udex-button-tab-with-icon-without-background-color-active: var(--sapHighlightColor, var(--udexColorBlue7));--udex-button-tab-with-icon-without-background-margin-bottom: var(--udexSpacer16, 16px);--udex-button-tab-with-icon-font-weight: var(--udexTypographyFontWeightMedium, 500);--udex-button-tab-with-icon-text-color-active: var(--sapTextColor, --udexColorGrey9);--udex-tab-navigation-tab-with-icon-without-background-color: transparent;--udex-tab-navigation-tab-with-icon-without-background-color-active: transparent;--udex-button-more-margin-inline-end: 0;--udex-tab-navigation-content-padding-vertical-desktop: var(--udexSpacer40, 40px);--udex-tab-navigation-content-padding-vertical-mobile: var(--udexSpacer32, 32px);--udex-tab-navigation-content-font-family: var(--sapFontFamily, sans-serif);--udex-tab-navigation-content-font-size: var(--udexTypographyNavigationRegularMFontSize, 14px);--udex-tab-navigation-content-font-weight: var(--udexTypographyFontWeightRegular, 400);--udex-tab-navigation-content-line-height: var(--udexTypographyBodyLineHeight, 1.5);--udex-tab-header-width: 428px}:host([icon-without-background]) .udex-tab-navigation__button-icon-outer{margin-bottom:var(--udex-button-tab-with-icon-without-background-margin-bottom);background-color:var(--udex-tab-navigation-tab-with-icon-without-background-color);color:var(--udex-button-tab-with-icon-without-background-color)}:host([icon-without-background]) .udex-tab-navigation__button-tab--active .udex-tab-navigation__button-icon-outer{background-color:var(--udex-tab-navigation-tab-with-icon-without-background-color-active)}:host([icon-without-background]) .udex-tab-navigation__button-icon{color:var(--udex-button-tab-with-icon-without-background-color)}:host([icon-without-background]) .udex-tab-navigation__button-tab--active .udex-tab-navigation__button-icon{color:var(--udex-button-tab-with-icon-without-background-color-active)}:host([icon-without-background]) .udex-tab-navigation__button-tab--active:before{background-color:var(--udex-button-tab-with-icon-without-background-border-color-active)}:host([mode="Dark"]){--udex-header-background-color: var(--sapList_GroupHeaderTextColor, var(--udexColorGrey10));--udex-button-tab-text-color-default: var(--sapList_GroupHeaderBackground, var(--udexColorNeutralWhite));--udex-button-tab-text-color-active: var(--sapProgress_InformationBorderColor, var(--udexColorBlue3));--udex-button-tab-border-color-active: transparent;--udex-button-tab-with-icon-background: transparent;--udex-button-tab-with-icon-color: var(--sapProgress_InformationBorderColor, var(--udexColorBlue3));--udex-button-tab-with-icon-color-active: var(--sapProgress_InformationBorderColor, var(--udexColorBlue3));--udex-button-tab-with-icon-background-active: transparent;--udex-button-tab-with-icon-margin-bottom: var(--udexSpacer8, 8px)}:host([mode="Dark"]) .udex-tab-navigation__button-icon-outer .udex-tab-navigation__button-badge,:host([icon-without-background]) .udex-tab-navigation__button-icon-outer .udex-tab-navigation__button-badge{inset-inline-end:-9px}:host([icon-without-background]) .udex-tab-navigation__button-icon-outer,:host([icon-without-background]) .udex-tab-navigation__button-icon{width:24px;height:24px}:host([icon-without-background]) .udex-tab-navigation__button-tab--with-icon{padding-block-end:var(--udex-button-tab-padding-vertical)}:host([icon-without-background]) .udex-tabs-navigation__button-tab{padding-bottom:var(--udex-button-tab-padding-vertical)}:host(:not([icon-without-background])) .udex-tab-navigation__button-tab--active .udex-tab-navigation__button-text.udex-tab-navigation__button-text--icon{color:var(--udex-button-tab-with-icon-text-color-active)}:host([mode="Dark"]) .udex-tab-navigation__button-icon-outer,:host([mode="Dark"]) .udex-tab-navigation__button-icon{width:32px;height:32px}:host([desktop]) .udex-tab-navigation__button-tab:focus .udex-tab-navigation__button-text,.udex-tab-navigation__button-tab:focus-visible .udex-tab-navigation__button-text{outline:2px solid var(--udex-button-tab-text-color-active);border-radius:var(--udexRadiusXXS, 2px)}.udex-tab-navigation__root{width:100%}.udex-tab-navigation__header{background-color:var(--udex-header-background-color);min-height:43px;display:flex;align-items:center;position:relative}.udex-tab-navigation__header:before{content:"";position:absolute;left:0;right:0;bottom:0;z-index:var(--udexZIndexNegative, -1);border-bottom:1px solid var(--udexColorGrey3, #D5DADD)}.udex-tab-navigation__header-tabs{display:flex;flex:1 1 0%;overflow:hidden;white-space:nowrap}.udex-tab-navigation__button-tab{padding:0;display:block;background:none;border:0;border-radius:0;cursor:pointer}.udex-tab-navigation__button-tab{padding:var(--udex-button-tab-padding-vertical) var(--udex-button-tab-padding-horizontal) calc(var(--udex-button-tab-padding-vertical) + 3px);position:relative;z-index:var(--udexZIndex0, 0);display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--udex-button-tab-text-color-default);font-size:var(--udex-button-tab-font-size-default);font-family:var(--udex-button-tab-font-family);font-weight:var(--udex-button-tab-font-weight);line-height:var(--udex-button-tab-line-height);text-decoration:none;text-align:center;text-transform:var(--udex-button-tab-text-transform);white-space:normal}.udex-tab-navigation__button-text{margin:0}.udex-tab-navigation__button-text:first-letter{text-transform:var(--udex-button-tab-text-transform-first-letter)}.udex-tab-navigation__button-tab.udex-tab-navigation__button-tab--icon{justify-content:start}.udex-tab-navigation__button-tab:not(.udex-tab-navigation__button-tab--icon-tab):hover{color:var(--udex-button-tab-text-color-hover)}.udex-tab-navigation__button-text.udex-tab-navigation__button-text--icon{font-weight:var(--udex-button-tab-with-icon-font-weight)}.udex-tab-navigation__button-tab:focus-visible{outline:none}.udex-tab-navigation__button-tab[hidden]{display:none}.udex-tab-navigation__button-tab:not(:last-child){margin-inline-end:var(--udex-button-tab-vertical-gap)}.udex-tab-navigation__button-tab--with-icon{padding-block-end:calc(var(--udex-button-tab-padding-vertical) + 2px)}.udex-tab-navigation__button-tab--active{color:var(--udex-button-tab-text-color-active)}.udex-tab-navigation__button-tab--active:before{content:"";position:absolute;inset-block-end:0;inset-inline:0 0;z-index:var(--udexZIndex1, 1);height:3px;background-color:var(--udex-button-tab-border-color-active);border-radius:2px 2px 0 0}.udex-tab-navigation__button-badge{position:absolute;inset-block-start:var(--udexSpacer12);inset-inline-end:-6px;z-index:var(--udexZIndex1, 1);width:6px;height:6px;border:1px solid #fff;border-radius:50%;background-color:var(--udexColorRed7)}.udex-tab-navigation__button-more{margin-inline-start:auto;flex:0 0 auto;margin-inline-end:var(--udex-button-more-margin-inline-end);margin-bottom:3px}.udex-tab-navigation__button-more[hidden]{display:none}.udex-tab-navigation__button-icon-outer{margin-left:auto;margin-right:auto;margin-bottom:var(--udex-button-tab-with-icon-margin-bottom);display:flex;align-items:center;justify-content:center;align-self:center;width:32px;height:32px;border-radius:50%;background-color:var(--udex-button-tab-with-icon-background);color:var(--udex-button-tab-with-icon-color);box-shadow:inset 0 0 0 1px var(--udex-button-tab-with-icon-border-color);position:relative;z-index:var(--udexZIndex0, 0)}.udex-tab-navigation__button-icon{width:16px;height:16px;color:var(--udex-button-tab-with-icon-color)}.udex-tab-navigation__button-icon-outer .udex-tab-navigation__button-badge{inset-block-start:1px;inset-inline-end:1px}.udex-tab-navigation__button-tab--active .udex-tab-navigation__button-icon-outer{background-color:var(--udex-button-tab-with-icon-background-active);box-shadow:none}.udex-tab-navigation__button-tab--active .udex-tab-navigation__button-icon{color:var(--udex-button-tab-with-icon-color-active)}.udex-tab-navigation__button-tab.udex-tab-navigation__button-tab--icon-tab:not(.udex-tab-navigation__button-tab--active):hover .udex-tab-navigation__button-icon-outer{background-color:var(--udex-button-tab-with-icon-background-hover);box-shadow:none}.udex-tab-navigation__button-tab.udex-tab-navigation__button-tab--icon-tab:not(.udex-tab-navigation__button-tab--active):hover .udex-tab-navigation__button-icon{color:var(--udex-button-tab-with-icon-color-hover)}.udex-tab-navigation__content{padding-block-start:var(--udex-tab-navigation-content-padding-vertical-desktop);font-family:var(--udex-tab-navigation-content-font-family);font-size:var(--udex-tab-navigation-content-font-size);font-weight:var(--udex-tab-navigation-content-font-weight);line-height:var(--udex-tab-navigation-content-line-height)}.udex-tab-navigation__content-item:focus,.udex-tab-navigation__content-item:focus-visible{outline-offset:2px;outline:2px solid var(--udex-button-tab-text-color-active);border-radius:var(--udexRadiusXXS, 2px)}.hidden{display:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.udex-tab-navigation__badge{margin-inline-start:var(--udexSpacer4);display:inline-flex}.udex-tab-navigation__button-body-text,.udex-tab-navigation__button-link{display:none}@media screen and (width < 980px){.udex-tab-navigation__content{padding-block-start:var(--udex-tab-navigation-content-padding-vertical-mobile)}:host([orientation="Vertical"]) .udex-tab-navigation__root{flex-direction:column}:host([orientation="Vertical"]) .udex-tab-navigation__header{flex:0 0 100%}:host([orientation="Vertical"]) .udex-tab-navigation__content{flex:0 0 100%;padding-inline-start:0}:host([orientation="Vertical"])>.udex-tab-navigation__root>.udex-tab-navigation__content{display:none}}:host([orientation="Vertical"]) .udex-tab-navigation__root{display:flex;gap:var(--udexSpacer24, 24px)}:host([orientation="Vertical"]) .udex-tab-navigation__header{flex-direction:column;align-items:stretch;min-height:auto;height:auto;flex:0 0 25%;width:100%;max-height:none;align-self:var(--udex-tab-navigation-header-alignment, flex-start)}:host([orientation="Vertical"][vertical-alignment="Center"]){--udex-tab-navigation-header-alignment: center}:host([orientation="Vertical"]) .udex-tab-navigation__header:before{display:none}:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs{flex-direction:column;gap:var(--udexSpacer16, 16px);overflow:visible;white-space:normal;max-height:none;border-inline-start:1px solid var(--udexColorGrey3, #D5DADD)}@media screen and (width < 980px){:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs{gap:var(--udexSpacer16, 16px)}:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs>.udex-tab-navigation__button-tab:not(:last-child):not(:has(+.udex-tab-navigation__content)),:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs>.udex-tab-navigation__tab-wrapper:not(:last-child):not(:has(+.udex-tab-navigation__content)),:host([orientation="Vertical"]) .udex-tab-navigation__header-tabs>.udex-tab-navigation__button-link:not(:last-child):not(:has(+.udex-tab-navigation__content)){margin-block-end:var(--udexSpacer8, 8px)}}:host([orientation="Vertical"]) .udex-tab-navigation__button-tab{padding:var(--udexSpacer16, 16px);align-items:flex-start;width:100%;height:auto;min-height:auto;margin-inline-end:0;transition:all .2s ease-in}:host([orientation="Vertical"]) .udex-tab-navigation__button-tab:not(:last-child){margin-inline-end:0}:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active{padding:var(--udexSpacer16, 16px)}:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active:before{content:"";position:absolute;inset-inline-start:-1px;inset-block:0;z-index:var(--udexZIndex1, 1);width:3px;height:100%;background-color:var(--udex-button-tab-border-color-active);border-start-start-radius:0;border-start-end-radius:2px;border-end-start-radius:0;border-end-end-radius:2px}:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper{position:relative;display:flex;flex-direction:column;gap:var(--udexSpacer16, 16px);padding:var(--udexSpacer16, 16px);transition:all .2s ease-in}:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper:has(.udex-tab-navigation__button-tab--active){padding:var(--udexSpacer16, 16px)}:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper:has(.udex-tab-navigation__button-tab--active):before{content:"";position:absolute;inset-inline-start:-1px;inset-block:0;z-index:var(--udexZIndex1, 1);width:3px;height:100%;background-color:var(--udex-button-tab-border-color-active);border-start-start-radius:0;border-start-end-radius:2px;border-end-start-radius:0;border-end-end-radius:2px}:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper>.udex-tab-navigation__button-tab{padding:0}:host([orientation="Vertical"]) .udex-tab-navigation__tab-wrapper>.udex-tab-navigation__button-tab--active:before{display:none}:host([orientation="Vertical"]) .udex-tab-navigation__button-badge{inset-block-start:0;inset-inline-end:-10px}:host([orientation="Vertical"]) .udex-tab-navigation__button-text{position:relative;font-size:var(--udexTypographyHeadingRegularXXSFontSize, 20px);line-height:1.1;font-weight:var(--udexTypographyFontWeightMedium);text-align:start}:host([orientation="Vertical"]) .udex-tab-navigation__button-body-text{display:none;margin:0;font-family:var(--udex-button-tab-font-family);font-size:var(--udexTypographyBodyXSFontSize, 14px);font-weight:var(--udexTypographyFontWeightRegular, 400);color:var(--udexColorGrey7);line-height:var(--udex-tab-navigation-content-line-height);text-align:start}:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active~.udex-tab-navigation__button-body-text{display:block}:host([orientation="Vertical"]) .udex-tab-navigation__button-links{display:none;flex-direction:column;gap:var(--udexSpacer2, 2px)}:host([orientation="Vertical"]) .udex-tab-navigation__button-tab--active~.udex-tab-navigation__button-links{display:flex}:host([orientation="Vertical"]) .udex-tab-navigation__content{flex:1 1 75%;padding-block-start:0;padding-inline-start:var(--udexSpacer16, 16px)}:host([orientation="Vertical"][placement="End"]) .udex-tab-navigation__header{order:1}:host([orientation="Vertical"]) .udex-tab-navigation__play-button{margin-block-end:var(--udexSpacer16, 16px)}:host([orientation="Vertical"]) .udex-tab-navigation__footer{margin-block-start:var(--udex-tab-navigation-footer-spacing, var(--udexSpacer20, 20px));padding-inline-start:var(--udexSpacer16, 16px)}:host([process-tab]){--udex-button-tab-process-item-count-font-size: var(--udexTypographyNavigationRegularXSFontSize, 12px);--udex-button-tab-process-item-count-font-weight: var(--udexTypographyFontWeightRegular, 400)}.udex-tab-navigation__button-tab[aria-disabled=true]{opacity:var(--sapContent_DisabledOpacity, .4);pointer-events:none;cursor:default}:host([process-tab]) .udex-tab-navigation__button-tab--process{flex-direction:row;align-items:flex-start;padding:var(--udexSpacer12, 12px) 0 calc(var(--udexSpacer12, 12px) + 3px);gap:var(--udexSpacer8, 8px)}:host([process-tab]) .udex-tab-navigation__button-tab--process:not(:last-child){margin-inline-end:var(--udexSpacer32, 32px)}:host([process-tab]) .udex-tab-navigation__button-tab--process .udex-tab-navigation__button-icon-outer{flex-shrink:0;margin:0;align-self:center}:host([process-tab]) .udex-tab-navigation__button-text-block{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--udexSpacer4, 4px)}:host([process-tab]) .udex-tab-navigation__button-item-count{display:block;font-size:var(--udex-button-tab-process-item-count-font-size);font-weight:var(--udex-button-tab-process-item-count-font-weight);line-height:1.1;color:var(--udexColorGrey7, #475E75)}:host([process-tab]) .udex-tab-navigation__button-text-block .udex-tab-navigation__button-text{text-align:start;font-weight:var(--udex-button-tab-font-weight);font-size:var(--udex-button-tab-font-size-default)}
|
|
840
840
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const oC=`:host{--udex-tab-overflow-button-font-size: var(--sapFontSize, var(--udexTypographyNavigationRegularXLFontSize));--udex-tab-overflow-button-font-weight: var(--udexTypographyFontWeightRegular, 400);--udex-tab-overflow-button-badge-background: var(--sapAccentColor2, var(--udexColorRed7));--udex-tab-overflow-button-font-family: var(--sapFontFamily, sans-serif);--udex-tab-overflow-button-line-height: var(--sapContent_LineHeight, var(--udexTypographyBodyLineHeight))}[ui5-popover]{margin-top:1px;box-shadow:0 2px 8px #2235484d;border:1px solid var(--udexColorGrey6)}[ui5-popover]::part(content){padding:0}.tab-navigation-popover{display:flex;flex-direction:column;min-width:150px}.udex-tab-overflow__button{padding:var(--udexSpacer8) var(--udexSpacer12);display:flex;background:none;border:0;border-radius:0;cursor:pointer;text-align:start;color:var(--udexColorGrey9);font-family:var(--udex-tab-overflow-button-font-family);font-size:var(--udex-tab-overflow-button-font-size);font-weight:var(--udex-tab-overflow-button-font-weight);line-height:var(--udex-tab-overflow-button-line-height);text-decoration:none;text-transform:capitalize}.udex-tab-overflow__button:not([aria-disabled=true]):hover{background-color:var(--udexColorGrey1)}.udex-tab-overflow__button:not([aria-disabled=true]):focus{outline:var(--udexSpacer2, 2px) solid var(--udexColorBlue7, #0070F2);outline-offset:-2px}.udex-tab-overflow__button:not([aria-disabled=true]):active{background-color:var(--udexColorGrey2)}.udex-tab-overflow__button[aria-disabled=true]{opacity:var(--sapContent_DisabledOpacity, .4);cursor:default}.udex-tab-overflow__button-icon{margin-inline-end:var(--udexSpacer8);position:relative;z-index:var(--udexZIndex0, 0)}.udex-tab-overflow__button-badge{margin-block-start:-2px;margin-inline-start:2px;display:inline-flex;width:6px;height:6px;border:1px solid #fff;border-radius:50%;background-color:var(--udex-tab-overflow-button-badge-background)}.udex-tab-overflow__button-icon .udex-tab-overflow__button-badge{margin-block-start:0;margin-inline-start:0;position:absolute;z-index:var(--udexZIndex1, 1);inset-block-start:-4px;inset-inline-end:-6px}
|
|
@@ -850,7 +850,7 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
850
850
|
`;var J_=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},l0,Za;(function(o){o.Action="Action",o.Success="Success",o.Warning="Warning",o.Error="Error"})(Za||(Za={}));let Bl=l0=class extends iC{constructor(){super(...arguments),this.valueState=Za.Action,this.open=!1}onEnterDOM(){super.onEnterDOM(),se()&&this.setAttribute("desktop","")}get withIcon(){return this.valueState!==Za.Action}get iconName(){switch(this.valueState){case Za.Success:return"sys-enter-2";case Za.Error:return"error";case Za.Warning:return"alert";default:return""}}get iconDesign(){switch(this.valueState){case Za.Success:return Yc.Positive;case Za.Error:return Yc.Negative;case Za.Warning:return Yc.Critical;default:return Yc.Default}}closeToast(){this.open=!1,this.fireDecoratorEvent("close")}get closeAccessibleName(){return B(l0,BD)}};J_([d()],Bl.prototype,"valueState",void 0);J_([d({type:Boolean})],Bl.prototype,"showCloseIcon",void 0);J_([d({type:Boolean})],Bl.prototype,"open",void 0);J_([V("@sapudex/web-components")],Bl,"i18nBundle",void 0);Bl=l0=J_([T({tag:"udex-toast",renderer:A,styles:[iC.styles,pne],template:_ne})],Bl);Bl.define();function gne(){const o="udex-truncated-text";return g("p",{className:o,children:[l("span",{className:`${o}__visible-text`,children:this.visibleText}),l(me,{id:"toggleButton",class:`${o}__toggle-button`,design:ve.Tertiary,size:ye.Small,onClick:this.onToggleClick,children:this.buttonLabel})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const vne=`:host{--udex-truncated-text-font-size: var(--udexTypographyBodySFontSize, 16px);--udex-truncated-text-line-height: var(--udexTypographyBodyLineHeight, 24px)}.udex-truncated-text{font-family:var(--sapFontFamily);font-size:var(--udex-truncated-text-font-size);line-height:var(--udex-truncated-text-line-height);font-weight:var(--udexTypographyFontWeightRegular)}.udex-truncated-text__visible-text{vertical-align:middle}.udex-truncated-text__toggle-button{--udex-button-color-tertiary-standard-hover-background: transparent;--udex-button-color-tertiary-standard-hover-border: transparent;--udex-button-color-tertiary-standard-default-text-and-icon: var(--udexColorBlue7);--udex-button-color-tertiary-standard-active-border: transparent;--udex-button-color-tertiary-standard-default-border: transparent;--udex-button-padding-small: 0 3px;--udexTypographyFontWeightMedium: 400;display:inline-block}
|
|
851
851
|
`;var bc=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},m1,u0;(function(o){o.charLimit="char-limit"})(u0||(u0={}));const mne="...",fne=new RegExp(/($)|([,.]+)$|([,.]+)?\s+(\S*)$/);let sd=m1=class extends z{constructor(){super(...arguments),this.charLimit=150}get visibleText(){return this.initiallyExpanded?`${this.text} `:this.truncatedText}get truncatedText(){return this.text.substring(0,this.cropAfter()).replace(fne,mne)}get buttonLabel(){return this.initiallyExpanded?B(m1,uE):B(m1,lE)}get validatedCharLimit(){return Number(this.charLimit)<0?0:this.charLimit}onBeforeRendering(){this.validateVariables(u0.charLimit,Number(this.charLimit))}cropAfter(){return this.text.substring(0,Number(this.validatedCharLimit)).trim().length}validateVariables(e,t){t<0&&console.warn(`The variable ${e} cannot take a negative value`)}onToggleClick(){this.initiallyExpanded=!this.initiallyExpanded}};bc([d({type:Boolean})],sd.prototype,"initiallyExpanded",void 0);bc([d({type:String})],sd.prototype,"_direction",void 0);bc([d({type:String})],sd.prototype,"text",void 0);bc([d({type:Number})],sd.prototype,"charLimit",void 0);bc([V("@sapudex/web-components")],sd,"i18nBundle",void 0);sd=m1=bc([T({tag:"udex-truncated-text",renderer:A,styles:vne,template:gne,dependencies:[me]})],sd);sd.define();function bne(){const o="udex-upload-item";return g("div",{className:`${o}__wrapper`,children:[g("div",{className:`${o}__info ${this.uploadItemClasses}`,children:[g("div",{children:[this.fileInteractive?l(ei,{href:this.fileLink,target:this.fileTarget,children:this.fileName}):l("p",{className:`${o}__name`,children:this.fileName}),l("div",{className:this.additionalInfoClasses,children:l("slot",{})})]}),this._breakpointM&&xx.call(this)]}),g("div",{className:`${o}__progress-info-wrapper`,children:[this.showUploadProgress&&g("div",{className:`${o}__progress-info`,children:[l(sJ,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.uploadPercentage,value:this.uploadPercentage,"value-state":this.uploadProgressState,"hide-value":!0}),l("p",{className:`${o}__progress-status`,children:this.uploadStatus})]}),this._breakpointL&&xx.call(this)]})]})}function xx(){return l(me,{"accessible-name":this.removeButtonAccessibleName,onKeyDown:this.handleButtonKeydown,onClick:this.handleButtonClick,size:this._buttonSize,design:ve.Tertiary,icon:Ui})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const xne=`:host{--udex-upload-item-progress-bar-width: 124px;--udex-upload-item-progress-bar-min-width: 124px;--udex-upload-item-progress-bar-max-width: 200px;--udex-upload-item-progress-bar-width-m: 100%;--udex-upload-item-progress-bar-min-width-m: 100%;--udex-upload-item-progress-bar-max-width-m: 100%;--udex-upload-item-progress-bar-padding: 5px 0;font-family:var(--sapFontFamily, sans-serif)}.udex-upload-item__wrapper{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-block:var(--udexSpacer8, 8px);box-sizing:border-box;border-bottom:1px solid var(--udexColorGrey3)}.udex-upload-item__info{display:flex;flex-direction:column}[udex-link]{--udex-link-text-decoration: none}.udex-upload-item__name{padding:0;margin:0;color:var(--sapTitleColor, var(--udexColorNeutralBlack));font-size:var(--sapFontSize)}.udex-upload-item__info{padding:0;margin:0;color:var(--udexColorGrey7);font-size:var(--udexTypographyBodyXXSFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight)}.udex-upload-item__error{color:var(--udexColorRed7)}.udex-upload-item__progress-info-wrapper{display:flex;flex-direction:row;align-items:center;margin-inline-start:var(--udexSpacer32, 32px)}.udex-upload-item__progress-info{display:flex;flex-direction:column;align-items:flex-start}.udex-upload-item__progress-status{padding:0;margin:0;color:var(--udexColorGrey7);font-size:var(--udexTypographyBodyXXSFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight)}[udex-progress-bar]{max-width:var(--udex-upload-item-progress-bar-max-width);min-width:var(--udex-upload-item-progress-bar-min-width);width:var(--udex-upload-item-progress-bar-width);overflow:hidden;padding:var(--udex-upload-item-progress-bar-padding)}[udex-link]{margin-bottom:var(--udexSpacer4, 4px)}[udex-button]{margin-inline-start:var(--udexSpacer24, 24px)}@media (width < 1280px){.udex-upload-item__wrapper{flex-direction:column;align-items:flex-start}.udex-upload-item__info{margin-bottom:var(--udexSpacer4, 4px);flex-direction:row;justify-content:space-between;align-items:center;width:100%}.udex-upload-item__progress-info-wrapper{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin:0}.udex-upload-item__progress-info{display:flex;flex-direction:column;align-items:flex-start;width:100%}.udex-upload-item__name{margin-bottom:var(--udexSpacer4, 4px)}[udex-progress-bar]{max-width:var(--udex-upload-item-progress-bar-max-width-m);min-width:var(--udex-upload-item-progress-bar-min-width-m);width:var(--udex-upload-item-progress-bar-width-m)}}.udex-upload-item__info-uploaded{margin-bottom:0}
|
|
852
852
|
`;var c0;(function(o){o.Uploading="Uploading",o.Uploaded="Uploaded",o.Error="Error"})(c0||(c0={}));const ys=c0;var Xa=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},rh;let ur=rh=class extends za{constructor(){super(),this.fileTarget=$i._self,this.uploadState=ys.Uploaded,this._handleResizeBound=this._handleResize.bind(this)}onEnterDOM(){Q.register(this,this._handleResizeBound),this.fireDecoratorEvent("item-press",{selected:!1,item:this})}onExitDOM(){Q.deregister(this,this._handleResizeBound)}onAfterRendering(){const e=this.fileLinkComponent;e&&e._setCustomAttributes([{attribute:"download",value:"true"}])}handleButtonClick(e){e.stopImmediatePropagation(),this.fireDecoratorEvent("request-delete")}handleButtonKeydown(e){(ie(e)||K(e))&&(e.stopImmediatePropagation(),this.fireDecoratorEvent("request-delete"))}_handleResize(){this._buttonSize=io.isAtMost("S")?ye.Medium:ye.Large,this._breakpointL=io.isAtLeast("L"),this._breakpointM=this._breakpointL?!this._breakpointL&&this.uploadState===ys.Uploaded:!0}get fileLinkComponent(){return this.shadowRoot.querySelector("[udex-link]")}get removeButtonAccessibleName(){return B(rh,yD)}get showUploadProgress(){return this.uploadState===ys.Error||this.uploadState===ys.Uploading}get uploadProgressState(){return this.uploadState===ys.Uploading?fe.Information:fe.Negative}get uploadStatus(){return this.uploadState===ys.Uploading?`${B(rh,bD)} ${this.uploadPercentage}%`:`${B(rh,xD)} ${this.uploadPercentage}%`}get fileInteractive(){return this.uploadState===ys.Uploaded}get additionalInfoClasses(){return`udex-upload-item__info ${this.uploadState===ys.Error?"udex-upload-item__error":""}`}get uploadItemClasses(){return this.uploadState==="Uploaded"?"udex-upload-item__info-uploaded":""}};Xa([d({type:String})],ur.prototype,"fileName",void 0);Xa([d({type:String})],ur.prototype,"fileLink",void 0);Xa([d({type:String})],ur.prototype,"fileTarget",void 0);Xa([d({type:Number})],ur.prototype,"uploadPercentage",void 0);Xa([d()],ur.prototype,"uploadState",void 0);Xa([D({type:HTMLElement,default:!0})],ur.prototype,"uploadInfo",void 0);Xa([d()],ur.prototype,"_buttonSize",void 0);Xa([d({type:Boolean})],ur.prototype,"_breakpointM",void 0);Xa([d({type:Boolean})],ur.prototype,"_breakpointL",void 0);Xa([V("@sapudex/web-components")],ur,"i18nBundle",void 0);ur=rh=Xa([T({tag:"udex-upload-item",renderer:A,styles:xne,template:bne,dependencies:[za]}),x("request-delete",{bubbles:!0})],ur);ur.define();const yne=ur,Cne="browse-folder",wne="M0 2a.99.99 0 0 1 .125-.5 1.01 1.01 0 0 1 .297-.344C.557 1.052.75 1 1 1h5.625c.146 0 .27.052.375.156L7.75 2H15c.23 0 .417.052.563.156.145.104.25.219.312.344A.99.99 0 0 1 16 3v4h-1V4a1.399 1.399 0 0 0-.313-.703C14.521 3.099 14.293 3 14 3H7.219a.511.511 0 0 1-.375-.156l-.688-.688A.511.511 0 0 0 5.781 2H2c-.25 0-.443.052-.578.156a1.01 1.01 0 0 0-.297.344A.99.99 0 0 0 1 3v10c0 .27.052.469.156.594.104.125.219.219.344.281A.99.99 0 0 0 2 14h5v1H1a.99.99 0 0 1-.5-.125 1.01 1.01 0 0 1-.344-.297C.052 14.443 0 14.25 0 14V2Zm11 6c.833 0 1.542.292 2.125.875S14 10.167 14 11c0 .604-.188 1.177-.563 1.719L16 15.28l-.688.719-2.562-2.563A2.924 2.924 0 0 1 11 14a2.893 2.893 0 0 1-2.125-.875A2.893 2.893 0 0 1 8 11c0-.833.292-1.542.875-2.125A2.893 2.893 0 0 1 11 8Zm-2 3c0 .542.198 1.01.594 1.406A1.92 1.92 0 0 0 11 13a1.92 1.92 0 0 0 1.406-.594A1.92 1.92 0 0 0 13 11c0-.563-.198-1.036-.594-1.422A1.948 1.948 0 0 0 11 9c-.542 0-1.01.193-1.406.578C9.198 9.964 9 10.438 9 11Z",Sne=!1,kne="0 0 16 16",Tne="SAP-icons-v4",Ine="@ui5/webcomponents-icons";U(Cne,{pathData:wne,ltr:Sne,viewBox:kne,collection:Tne,packageName:Ine});const Bne="browse-folder",Ane="M10.346 7a3.347 3.347 0 0 1 2.836 5.121l.003.003 2.596 2.596a.752.752 0 0 1-1.061 1.061l-2.596-2.596-.003-.003A3.347 3.347 0 1 1 10.346 7ZM6.5 1c.199 0 .39.08.53.22L8.31 2.5h4.94A2.75 2.75 0 0 1 16 5.25a.75.75 0 0 1-1.5 0c0-.69-.56-1.25-1.25-1.25H8a.75.75 0 0 1-.53-.22L6.19 2.5H2.75c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h2.5a.75.75 0 0 1 0 1.5h-2.5A2.75 2.75 0 0 1 0 12.25v-8.5A2.75 2.75 0 0 1 2.75 1H6.5Zm3.846 7.5a1.846 1.846 0 1 0 0 3.692 1.846 1.846 0 0 0 0-3.692Z",Ene=!1,Dne="0 0 16 16",Rne="SAP-icons-v5",Pne="@ui5/webcomponents-icons";U(Bne,{pathData:Ane,ltr:Ene,viewBox:Dne,collection:Rne,packageName:Pne});const Lne="browse-folder";function Nne(){return l(ni,{preventInitialFocus:!0,preventFocusRestore:!0,hideArrow:!0,placement:"Bottom",horizontalAlign:"Start",class:"ui5-valuestatemessage-popover",children:g("div",{slot:"header",class:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===fe.Positive,"ui5-valuestatemessage--error":this.valueState===fe.Negative,"ui5-valuestatemessage--warning":this.valueState===fe.Critical,"ui5-valuestatemessage--information":this.valueState===fe.Information},style:{width:`${this._formWidth}px`},children:[this._valueStateMessageInputIcon&&l(R,{class:"ui5-input-value-state-message-icon",name:this._valueStateMessageInputIcon}),Mne.call(this)]})})}function Mne(){return l(P,{children:this.shouldDisplayDefaultValueStateMessage?this.valueStateText:l("slot",{name:"valueStateMessage"})})}function One(){return g(P,{children:[g("div",{class:"ui5-file-uploader-root",onFocusIn:this._onfocusin,onFocusOut:this._onfocusout,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,onMouseDown:this._onmousedown,onDragOver:this._ondrag,onDrop:this._ondrop,children:[g("div",{class:"ui5-file-uploader-form",children:[l("input",{type:"file",class:"ui5-file-uploader-native-input",name:this.name,multiple:this.multiple,accept:this.accept,disabled:this.disabled,required:this.required,title:this.inputTitle,"aria-roledescription":this.accInfo.ariaRoledescription,"aria-haspopup":this.accInfo.ariaHasPopup,"aria-label":this.accInfo.ariaLabel,"aria-description":this.accInfo.ariaDescription,"aria-invalid":this.accInfo.ariaInvalid,"aria-describedby":this.accInfo.ariaDescribedBy,onClick:this._onNativeInputClick,onChange:this._onChange,"data-sap-focus-ref":!0}),this.hasValueState&&l("span",{id:"valueStateDesc",class:"ui5-hidden-text",children:this.ariaValueStateHiddenText})]}),this.hideInput?l("slot",{}):g("div",{class:"ui5-file-uploader-display-container",children:[g("div",{class:"ui5-file-uploader-display-elements",children:[this._selectedFilesNames.length>0?g(P,{children:[l(M_,{class:"ui5-file-uploader-tokenizer",expanded:this._tokenizerExpanded,open:this._tokenizerOpen,popoverMinWidth:this._formWidth,onClick:this._onTokenizerClick,onMouseDown:this._onTokenizerMouseDown,onKeyDown:this._onTokenizerKeyDown,onKeyUp:this._onTokenizerKeyUp,preventInitialFocus:!0,readonly:!0,children:this._selectedFilesNames.map(o=>l(h2,{text:o}))}),l(R,{name:Ui,class:"ui5-file-uploader-clear-icon inputIcon",onClick:this._onClearIconClick,title:this.clearIconTitle})]}):l("input",{class:"ui5-file-uploader-display-input",tabindex:-1,"aria-hidden":"true",title:this.inputTitle,placeholder:this.resolvedPlaceholder,"inner-input":!0,readonly:!0}),l(R,{name:Lne,class:"ui5-file-uploader-value-help-icon inputIcon",title:this.valueHelpTitle})]}),l("slot",{})]})]}),Nne.call(this)]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents","sap_horizon",async()=>de,"host");const Fne=`:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5_input_width);min-width:calc(var(--_ui5_input_min_width) + (var(--_ui5-input-icons-count)*var(--_ui5_input_icon_width)));margin:var(--_ui5_input_margin_top_bottom) 0;height:var(--_ui5_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-input-border);border-radius:var(--_ui5_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_focus_outline_color);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5_input_readonly_focus_offset);bottom:var(--_ui5_input_readonly_focus_offset);left:var(--_ui5_input_readonly_focus_offset);right:var(--_ui5_input_readonly_focus_offset);border-radius:var(--_ui5_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5_input_bottom_border_height);transition:var(--_ui5_input_transition);background-color:var(--_ui5_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-input_disabled_background);border-color:var(--_ui5_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5_input_placeholder_style);color:var(--_ui5_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-input_error_placeholder_color);font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5_input_hover_border);border-color:var(--_ui5_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"]):not([value-state="Positive"]):not([value-state="Information"])){border-width:var(--_ui5_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5_input_error_warning_font_style);text-indent:var(--_ui5_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_error_background);border-color:var(--_ui5_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_warning_background);border-color:var(--_ui5_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5_input_value_state_success_border_color);border-width:var(--_ui5_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_success_background);border-color:var(--_ui5_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5_input_value_state_information_border_color);border-width:var(--_ui5_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5_input_focused_value_state_information_background);border-color:var(--_ui5_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}::slotted([ui5-input-icon]){height:100%}.ui5-input-icon-root{min-width:var(--_ui5_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_error_icon_box_shadow);color:var(--_ui5_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_warning_icon_box_shadow);color:var(--_ui5_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_information_icon_box_shadow);color:var(--_ui5_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5_input_success_icon_box_shadow);color:var(--_ui5_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_height);padding:0;width:var(--_ui5_input_icon_width);min-width:var(--_ui5_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}[ui5-responsive-popover] [ui5-input]{width:100%}:host([value-state="Negative"]),:host([value-state="Critical"]){--_ui5_input_icon_state_padding: var(--_ui5_input_error_warning_icon_padding)}:host([value-state="Information"]){--_ui5_input_icon_state_padding: var(--_ui5_input_information_icon_padding)}:host([value-state="Negative"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_error_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_error_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Critical"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_warning_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_warning_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Information"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_information_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_information_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--sapContent_FocusColor)}:host([value-state="Positive"]){--_ui5_input_icon_state_pressed_shadow: var(--_ui5_input_success_icon_box_shadow);--_ui5_input_icon_state_pressed_color: var(--_ui5_input_icon_success_pressed_color);--_ui5_input_icon_state_focus_outline_color: var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([disabled]){--_ui5_input_icon_state_opacity: var(--sapContent_DisabledOpacity);--_ui5_input_icon_state_pointer_events: none;--_ui5_input_icon_state_cursor: default}:host([readonly]:not([disabled])){--_ui5_input_icon_state_pointer_events: none;--_ui5_input_icon_state_cursor: default}.ui5-input-icon-root{height:100%;box-sizing:border-box}.inputIcon{color:var(--_ui5_input_icon_color);cursor:var(--_ui5_input_icon_state_cursor, pointer);opacity:var(--_ui5_input_icon_state_opacity, 1);pointer-events:var(--_ui5_input_icon_state_pointer_events, auto);outline:none;padding:var(--_ui5_input_icon_state_padding, var(--_ui5_input_icon_padding));border-inline-start:var(--_ui5_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5_input_icon_border_radius);display:flex;align-items:center;justify-content:center}.inputIcon:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_icon_state_focus_outline_color, var(--sapContent_FocusColor));outline-offset:-.125rem}.inputIcon.inputIcon--pressed{background:var(--_ui5_input_icon_pressed_bg);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow));border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_state_pressed_color, var(--_ui5_input_icon_pressed_color))}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow));border-inline-start:var(--_ui5_select_hover_icon_left_border);color:var(--_ui5_input_icon_state_pressed_color, var(--_ui5_input_icon_pressed_color))}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5_input_icon_hover_bg);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow))}.inputIcon:hover{border-inline-start:var(--_ui5_select_hover_icon_left_border);box-shadow:var(--_ui5_input_icon_state_pressed_shadow, var(--_ui5_input_icon_box_shadow))}.ui5-input-icon-inner{display:flex;width:1rem;height:1rem;color:inherit;pointer-events:none;flex-shrink:0}.inputIcon.inputIcon--focused{outline-color:var(--_ui5_input_icon_state_focus_outline_color, var(--sapContent_FocusColor));border-inline-start-color:var(--_ui5_input_icon_state_focus_outline_color)}:host([value-state="Negative"]:not([readonly]):not([disabled])){--ui5_value_state-background: var(--sapField_InvalidBackgroundStyle);--ui5_value_state-background-color: var(--sapField_InvalidBackground);--ui5_value_state-box-shadow: var(--sapField_InvalidShadow);--ui5_value_state-focus-outline: var(--_ui5_input_focused_value_state_error_focus_outline_color)}:host([value-state="Critical"]:not([readonly]):not([disabled])){--ui5_value_state-background: var(--sapField_WarningBackgroundStyle);--ui5_value_state-background-color: var(--sapField_WarningBackground);--ui5_value_state-box-shadow: var(--sapField_WarningShadow);--ui5_value_state-focus-outline: var(--_ui5_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Positive"]:not([readonly]):not([disabled])){--ui5_value_state-background: var(--sapField_SuccessBackgroundStyle);--ui5_value_state-background-color: var(--sapField_SuccessBackground);--ui5_value_state-box-shadow: var(--sapField_SuccessShadow);--ui5_value_state-focus-outline: var(--_ui5_input_focused_value_state_success_focus_outline_color)}:host([value-state="Information"]:not([readonly]):not([disabled])){--ui5_value_state-background: var(--sapField_InformationBackgroundStyle);--ui5_value_state-background-color: var(--sapField_InformationBackground);--ui5_value_state-box-shadow: var(--sapField_InformationShadow);--ui5_value_state-focus-outline: var(--_ui5_input_focused_value_state_information_focus_outline_color)}:host{display:inline-block}:host([hide-input]){width:max-content;height:max-content}:host([hide-input]) .ui5-file-uploader-form{position:absolute;top:0;left:0;width:100%;height:100%;display:block}.ui5-file-uploader-root,.ui5-file-uploader-form{position:relative;width:inherit;height:inherit}.ui5-file-uploader-root .ui5-file-uploader-native-input{position:relative;display:block;width:inherit;height:inherit;opacity:0;font-size:0}.ui5-file-uploader-display-container{position:absolute;top:0;inset-inline-start:0;width:inherit;height:inherit;display:flex;column-gap:.5rem;align-items:center}.ui5-file-uploader-display-elements{height:inherit;flex:1;display:flex;position:relative;box-sizing:border-box}.ui5-file-uploader-tokenizer,.ui5-file-uploader-display-input{position:absolute;top:0;inset-inline-start:0;height:100%;border:none;outline:none;cursor:pointer}.ui5-file-uploader-clear-icon,.ui5-file-uploader-value-help-icon{position:absolute;cursor:pointer}.ui5-file-uploader-tokenizer{max-width:var(--_ui5_file_uploader_tokenizer_width)}.ui5-file-uploader-display-input{width:var(--_ui5_file_uploader_display_input_width)}.ui5-file-uploader-clear-icon{inset-inline-end:var(--_ui5_input_icon_width)}.ui5-file-uploader-value-help-icon{inset-inline-end:0rem}:host(:not([readonly])),:host([readonly][disabled]),:host([focused]:not([opened])),:host([value-state="None"]:not([readonly]):hover),:host([value-state="Negative"][focused]:not([opened]):not([readonly])),:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover),:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"][focused]:not([opened]):not([readonly])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover),:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"][focused]:not([opened]):not([readonly])),:host([value-state="Positive"]:not([readonly]):not([disabled])),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover),:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Information"][focused]:not([opened]):not([readonly])),:host([value-state="Information"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly])[focused][opened]:hover),:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host(:not([value-state]):not([readonly]):hover){box-shadow:none;background:none;border:none}:host(:not([readonly])) .ui5-file-uploader-display-elements,:host([readonly][disabled]) .ui5-file-uploader-display-elements{box-shadow:var(--sapField_Shadow);border:var(--_ui5-input-border);border-radius:var(--_ui5_input_border_radius);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5_input_background_color)}:host([value-state="Negative"]:not([readonly]):not([disabled])) .ui5-file-uploader-display-elements,:host([value-state="Critical"]:not([readonly]):not([disabled])) .ui5-file-uploader-display-elements,:host([value-state="Positive"]:not([readonly]):not([disabled])) .ui5-file-uploader-display-elements,:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-file-uploader-display-elements{box-shadow:var(--ui5_value_state-box-shadow);background:var(--ui5_value_state-background);background-color:var(--ui5_value_state-background-color)}:host([value-state="None"]:not([readonly]):hover) .ui5-file-uploader-display-elements,:host(:not([value-state]):not([readonly]):hover) .ui5-file-uploader-display-elements{box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover) .ui5-file-uploader-display-elements,:host([value-state="Negative"]:not([readonly])[focused][opened]:hover) .ui5-file-uploader-display-elements{background-color:var(--_ui5_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-file-uploader-display-elements,:host([value-state="Positive"]:not([readonly]):not([focused]):hover) .ui5-file-uploader-display-elements,:host([value-state="Positive"]:not([readonly])[focused][opened]:hover) .ui5-file-uploader-display-elements,:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-file-uploader-display-elements,:host([value-state="Critical"]:not([readonly]):not([focused]):hover) .ui5-file-uploader-display-elements,:host([value-state="Critical"]:not([readonly])[focused][opened]:hover) .ui5-file-uploader-display-elements,:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-file-uploader-display-elements,:host([value-state="Information"]:not([readonly]):not([focused]):hover) .ui5-file-uploader-display-elements,:host([value-state="Information"]:not([readonly])[focused][opened]:hover) .ui5-file-uploader-display-elements,:host([value-state="Information"][focused]:not([opened]):not([readonly])) .ui5-file-uploader-display-elements{background-color:var(--sapField_Hover_Background)}:host([focused][hide-input]) .ui5-file-uploader-root:has(.ui5-file-uploader-native-input:focus):after,:host([focused]) .ui5-file-uploader-root:has(.ui5-file-uploader-native-input:focus) .ui5-file-uploader-display-elements:after{content:var(--ui5_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5_input_focus_outline_color);border-radius:var(--_ui5_input_focus_border_radius);top:var(--_ui5_input_focus_offset);bottom:var(--_ui5_input_focus_offset);left:var(--_ui5_input_focus_offset);right:var(--_ui5_input_focus_offset)}:host([focused]:not([opened]):not([readonly]):not([hide-input])) .ui5-file-uploader-root:has(.ui5-file-uploader-native-input:focus) .ui5-file-uploader-display-elements:after{border-color:var(--ui5_value_state-focus-outline, var(--_ui5_input_focus_outline_color))}
|
|
853
|
-
`;var Et=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Yo;const zne=o=>o/1024/1024;let ct=Yo=class extends z{constructor(){super(...arguments),this.hideInput=!1,this.disabled=!1,this.multiple=!1,this.value="",this.valueState="None",this.required=!1,this.focused=!1,this._selectedFilesNames=[],this._tokenizerOpen=!1}get formValidityMessage(){return this.formValidity.valueMissing?Yo.i18nBundle.getText(CI):""}get formValidity(){return{valueMissing:this.required&&(!this.files||this.files.length===0)}}async formElementAnchor(){return this.getFocusDomRefAsync()}getFocusDomRef(){return this._input}get formFormattedValue(){if(this.files&&this.name){const e=new FormData;for(let t=0;t<this.files.length;t++)e.append(this.name,this.files[t]);return e}return null}_onclick(){var e;(e=this.getFocusDomRef())!=null&&e.matches(":focus-within")&&this._openFileBrowser()}_onNativeInputClick(e){e.stopPropagation()}_onmousedown(e){e.preventDefault(),this._input.focus()}_onkeydown(e){var r;const t=(r=this._tokenizer)==null?void 0:r.tokens.find(n=>!n.hasAttribute("overflows")),i=e.target.hasAttribute("ui5-token"),a=this.effectiveDir==="ltr"?Se(e):we(e);this.hideInput||(ie(e)&&(e.preventDefault(),this._openFileBrowser()),K(e)&&e.preventDefault(),a&&!i&&(e.preventDefault(),t==null||t.focus()))}_onkeyup(e){this.hideInput||(K(e)||f5(e)||Y4(e)||K4(e)?this._openFileBrowser():Hs(e)&&this._clearFileSelection())}_ondrag(e){e.preventDefault(),e.stopPropagation()}_ondrop(e){var a;e.preventDefault(),e.stopPropagation();const t=(a=e.dataTransfer)==null?void 0:a.files;if(!t)return;const i=this._validateFiles(t);!this.value&&!i.length||(this._input.files=i,this._selectedFilesNames=this._fileNamesList(t),this.value=this.computedValue,this.fireDecoratorEvent("change",{files:i}))}_onfocusin(){this.focused=!0,this._tokenizer&&(this._tokenizer.expanded=!0)}_onfocusout(){this.matches(":focus-within")||(this.focused=!1,this._tokenizer&&(this._tokenizer.expanded=this._tokenizer.open))}get _tokenizerExpanded(){return this._tokenizer?this._tokenizer.expanded:!0}_onTokenizerKeyUp(e){(K(e)||Hs(e))&&e.stopPropagation()}_onTokenizerKeyDown(e){var a;const t=(a=this._tokenizer)==null?void 0:a.tokens.find(r=>!r.hasAttribute("overflows")),i=this.effectiveDir==="ltr"?we(e):Se(e);ie(e)&&e.stopPropagation(),e.target===t&&i&&(this._input.focus(),e.preventDefault())}_onTokenizerClick(e){e.stopPropagation()}_onTokenizerMouseDown(e){e.stopPropagation()}_onClearIconClick(e){e.stopPropagation(),this._clearFileSelection()}_openFileBrowser(){this._input.click()}_clearFileSelection(){this._selectedFilesNames=[],this.value="",this._input.files=new DataTransfer().files,this.fireDecoratorEvent("change",{files:this.files})}get files(){return this._input?this._input.files:null}onAfterRendering(){this.value||(this._input.value=""),this._tokenizerOpen=this._tokenizer?this._tokenizer.open:!1,this.hideInput&&this.content.length>0&&this.content.forEach(e=>{e.setAttribute("tabindex","-1")}),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover)}get computedValue(){return this._selectedFilesNames.join(" ")}get _formWidth(){return this._form?this._form.offsetWidth:0}_onChange(e){let t=e.target.files;t&&(t=this._validateFiles(t)),!(!this.value&&!(t!=null&&t.length))&&(this._selectedFilesNames=this._fileNamesList(t),this.value=this.computedValue,this.fireDecoratorEvent("change",{files:t}))}_fileNamesList(e){return Array.from(e).map(t=>t.name).sort((t,i)=>t.length-i.length)}_validateFiles(e){const t=this.maxFileSize?this._getExceededFiles(e):[];return t.length&&(this.fireDecoratorEvent("file-size-exceed",{filesData:t}),e=new DataTransfer().files),e}_getExceededFiles(e){const t=Array.from(e),i=[];for(let a=0;a<t.length;a++){const r=zne(t[a].size);r>this.maxFileSize&&i.push({fileName:t[a].name,fileSize:r})}return i}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}openValueStatePopover(){this._messagePopover&&(this._messagePopover.opener=this,this._messagePopover.open=!0)}closeValueStatePopover(){this._messagePopover&&(this._messagePopover.open=!1)}get accInfo(){return{ariaRoledescription:Yo.i18nBundle.getText(vI),ariaInvalid:this.valueState===fe.Negative,ariaHasPopup:"dialog",ariaLabel:dd(this)||Lo(this)||ld(this)||void 0,ariaDescription:m_(this)||tc(this)||void 0,ariaDescribedBy:this.hasValueState?"valueStateDesc":void 0}}get valueStateTypeMappings(){return{Positive:Yo.i18nBundle.getText(d3),Information:Yo.i18nBundle.getText(l3),Negative:Yo.i18nBundle.getText(n3),Critical:Yo.i18nBundle.getText(s3)}}get ariaValueStateHiddenText(){if(!this.hasValueState)return;const e=this.valueStateTypeMappings[this.valueState];return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:this.valueStateMessage.length?`${e} ${this.valueStateMessage.map(t=>t.textContent).join(" ")}`:e}get inputTitle(){return Yo.i18nBundle.getText(bI)}get valueHelpTitle(){return Yo.i18nBundle.getText(xI)}get clearIconTitle(){return Yo.i18nBundle.getText(yI)}get resolvedPlaceholder(){const e=Yo.i18nBundle.getText(mI),t=Yo.i18nBundle.getText(fI);return this.placeholder??(this.multiple?t:e)}get valueStateTextMappings(){return{Positive:Yo.i18nBundle.getText(x_),Information:Yo.i18nBundle.getText(C5),Negative:Yo.i18nBundle.getText(f_),Critical:Yo.i18nBundle.getText(b_)}}get valueStateText(){return this.valueStateTextMappings[this.valueState]}get hasValueState(){return this.valueState!==fe.None}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueState}get shouldOpenValueStateMessagePopover(){var e;return this.focused&&this.hasValueState&&!this.hideInput&&!((e=this._tokenizer)!=null&&e.open)}get _valueStateMessageInputIcon(){const e={Negative:"error",Critical:"alert",Positive:"sys-enter-2",Information:"information"};return this.valueState!==fe.None?e[this.valueState]:""}};Et([d()],ct.prototype,"accept",void 0);Et([d({type:Boolean})],ct.prototype,"hideInput",void 0);Et([d({type:Boolean})],ct.prototype,"disabled",void 0);Et([d({type:Boolean})],ct.prototype,"multiple",void 0);Et([d()],ct.prototype,"name",void 0);Et([d()],ct.prototype,"placeholder",void 0);Et([d()],ct.prototype,"value",void 0);Et([d({type:Number})],ct.prototype,"maxFileSize",void 0);Et([d()],ct.prototype,"valueState",void 0);Et([d({type:Boolean})],ct.prototype,"required",void 0);Et([d()],ct.prototype,"accessibleName",void 0);Et([d()],ct.prototype,"accessibleNameRef",void 0);Et([d()],ct.prototype,"accessibleDescription",void 0);Et([d()],ct.prototype,"accessibleDescriptionRef",void 0);Et([d({type:Boolean})],ct.prototype,"focused",void 0);Et([D({type:HTMLElement,default:!0})],ct.prototype,"content",void 0);Et([D()],ct.prototype,"valueStateMessage",void 0);Et([H_(".ui5-file-uploader-form")],ct.prototype,"_form",void 0);Et([H_("input[type=file]")],ct.prototype,"_input",void 0);Et([H_("[ui5-tokenizer]")],ct.prototype,"_tokenizer",void 0);Et([H_(".ui5-valuestatemessage-popover")],ct.prototype,"_messagePopover",void 0);Et([d({type:Array,noAttribute:!0})],ct.prototype,"_selectedFilesNames",void 0);Et([d({type:Boolean,noAttribute:!0})],ct.prototype,"_tokenizerOpen",void 0);Et([V("@ui5/webcomponents")],ct,"i18nBundle",void 0);ct=Yo=Et([T({tag:"ui5-file-uploader",languageAware:!0,formAssociated:!0,renderer:A,styles:[Fne,u2,V9],template:One}),x("change",{bubbles:!0}),x("file-size-exceed",{bubbles:!0})],ct);ct.define();const $ne=ct;function Hne(){const o="udex-upload";return g("div",{className:`${o}__wrapper`,"onui5-request-delete":this.handleRemoveFile,children:[this.uploadTitle&&l("h1",{className:`${o}__title`,children:this.uploadTitle}),this.additionalText&&l("p",{className:`${o}__additional-text`,children:this.additionalText}),g("div",{className:`${o}__upload-button-container`,children:[l($ne,{id:"fileUploader",disabled:this.disabled,accept:this.accept,multiple:this.multiple,onChange:this.handleUploadFile,onClick:this.handleUploadClick,"hide-input":!0,children:l(me,{"aria-label":this.uploadButtonAriaLabel,disabled:this.disabled,"aria-disabled":this.disabled,design:ve.Secondary,size:this._buttonSize,children:this.uploadButtonText})}),this.showSupportingText&&l("p",{className:this.supportingTextClasses,children:this.supportingText})]}),l("div",{className:`${o}__files-wrapper`,children:l(gd,{mode:Ye.MultiSelect,"aria-busy":this.listBusy,"onui5-selection-change":this.handleSelectionChange,children:l("slot",{})})})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Xne=`:host{font-family:var(--sapFontFamily, sans-serif)}.udex-upload__title{line-height:var(--udexTypographyHeadingLineHeight);font-size:var(--udexTypographyHeadingRegularXXSFontSize);font-weight:var(--udexTypographyFontWeightMedium);margin:0;padding:0}.udex-upload__additional-text{padding:0;margin:0;margin-top:var(--udexSpacer8);margin-bottom:var(--udexSpacer24);color:var(--udexColorGrey7);font-size:var(--udexTypographyBodyXXSFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight)}.udex-upload__files-wrapper{display:flex;flex-direction:column;margin-top:var(--udexSpacer24, 24px)}.udex-upload__upload-button-container{display:flex;gap:var(--udexSpacer16);align-items:center}.udex-upload__upload-button-container #fileUploader{flex-shrink:0}#fileUploader{--_ui5_input_focus_offset: 2px;--_ui5_input_focus_border_radius: 6px}.udex-upload__upload-button input{display:none}.udex-upload__supporting-error-text,.udex-upload__supporting-text{padding:0;margin:0;font-size:var(--udexTypographyBodyXSFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight)}.udex-upload__supporting-text{color:var(--sapNeutralTextColor, var(--udexColorGrey7))}.udex-upload__supporting-error-text{color:var(--sapNegativeColor, var(--udexColorRed7))}:host([required]) .udex-upload__title:after{content:"*";color:var(--udexColorGrey7);line-height:var(--udexTypographyHeadingLineHeight);font-size:var(--udexTypographyHeadingRegularXXSFontSize);font-weight:var(--udexTypographyFontWeightMedium)}@media (width < 980px){.udex-upload__title,:host([required]) .udex-upload__title:after{line-height:var(--udexTypographyHeadingLineHeight);font-size:var(--udexTypographyHeadingRegularXXXSFontSize);font-weight:var(--udexTypographyFontWeightMedium)}}
|
|
853
|
+
`;var Dt=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},Yo;const zne=o=>o/1024/1024;let ct=Yo=class extends z{constructor(){super(...arguments),this.hideInput=!1,this.disabled=!1,this.multiple=!1,this.value="",this.valueState="None",this.required=!1,this.focused=!1,this._selectedFilesNames=[],this._tokenizerOpen=!1}get formValidityMessage(){return this.formValidity.valueMissing?Yo.i18nBundle.getText(CI):""}get formValidity(){return{valueMissing:this.required&&(!this.files||this.files.length===0)}}async formElementAnchor(){return this.getFocusDomRefAsync()}getFocusDomRef(){return this._input}get formFormattedValue(){if(this.files&&this.name){const e=new FormData;for(let t=0;t<this.files.length;t++)e.append(this.name,this.files[t]);return e}return null}_onclick(){var e;(e=this.getFocusDomRef())!=null&&e.matches(":focus-within")&&this._openFileBrowser()}_onNativeInputClick(e){e.stopPropagation()}_onmousedown(e){e.preventDefault(),this._input.focus()}_onkeydown(e){var r;const t=(r=this._tokenizer)==null?void 0:r.tokens.find(n=>!n.hasAttribute("overflows")),i=e.target.hasAttribute("ui5-token"),a=this.effectiveDir==="ltr"?Se(e):we(e);this.hideInput||(ie(e)&&(e.preventDefault(),this._openFileBrowser()),K(e)&&e.preventDefault(),a&&!i&&(e.preventDefault(),t==null||t.focus()))}_onkeyup(e){this.hideInput||(K(e)||f5(e)||Y4(e)||K4(e)?this._openFileBrowser():Hs(e)&&this._clearFileSelection())}_ondrag(e){e.preventDefault(),e.stopPropagation()}_ondrop(e){var a;e.preventDefault(),e.stopPropagation();const t=(a=e.dataTransfer)==null?void 0:a.files;if(!t)return;const i=this._validateFiles(t);!this.value&&!i.length||(this._input.files=i,this._selectedFilesNames=this._fileNamesList(t),this.value=this.computedValue,this.fireDecoratorEvent("change",{files:i}))}_onfocusin(){this.focused=!0,this._tokenizer&&(this._tokenizer.expanded=!0)}_onfocusout(){this.matches(":focus-within")||(this.focused=!1,this._tokenizer&&(this._tokenizer.expanded=this._tokenizer.open))}get _tokenizerExpanded(){return this._tokenizer?this._tokenizer.expanded:!0}_onTokenizerKeyUp(e){(K(e)||Hs(e))&&e.stopPropagation()}_onTokenizerKeyDown(e){var a;const t=(a=this._tokenizer)==null?void 0:a.tokens.find(r=>!r.hasAttribute("overflows")),i=this.effectiveDir==="ltr"?we(e):Se(e);ie(e)&&e.stopPropagation(),e.target===t&&i&&(this._input.focus(),e.preventDefault())}_onTokenizerClick(e){e.stopPropagation()}_onTokenizerMouseDown(e){e.stopPropagation()}_onClearIconClick(e){e.stopPropagation(),this._clearFileSelection()}_openFileBrowser(){this._input.click()}_clearFileSelection(){this._selectedFilesNames=[],this.value="",this._input.files=new DataTransfer().files,this.fireDecoratorEvent("change",{files:this.files})}get files(){return this._input?this._input.files:null}onAfterRendering(){this.value||(this._input.value=""),this._tokenizerOpen=this._tokenizer?this._tokenizer.open:!1,this.hideInput&&this.content.length>0&&this.content.forEach(e=>{e.setAttribute("tabindex","-1")}),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover)}get computedValue(){return this._selectedFilesNames.join(" ")}get _formWidth(){return this._form?this._form.offsetWidth:0}_onChange(e){let t=e.target.files;t&&(t=this._validateFiles(t)),!(!this.value&&!(t!=null&&t.length))&&(this._selectedFilesNames=this._fileNamesList(t),this.value=this.computedValue,this.fireDecoratorEvent("change",{files:t}))}_fileNamesList(e){return Array.from(e).map(t=>t.name).sort((t,i)=>t.length-i.length)}_validateFiles(e){const t=this.maxFileSize?this._getExceededFiles(e):[];return t.length&&(this.fireDecoratorEvent("file-size-exceed",{filesData:t}),e=new DataTransfer().files),e}_getExceededFiles(e){const t=Array.from(e),i=[];for(let a=0;a<t.length;a++){const r=zne(t[a].size);r>this.maxFileSize&&i.push({fileName:t[a].name,fileSize:r})}return i}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}openValueStatePopover(){this._messagePopover&&(this._messagePopover.opener=this,this._messagePopover.open=!0)}closeValueStatePopover(){this._messagePopover&&(this._messagePopover.open=!1)}get accInfo(){return{ariaRoledescription:Yo.i18nBundle.getText(vI),ariaInvalid:this.valueState===fe.Negative,ariaHasPopup:"dialog",ariaLabel:dd(this)||Lo(this)||ld(this)||void 0,ariaDescription:m_(this)||tc(this)||void 0,ariaDescribedBy:this.hasValueState?"valueStateDesc":void 0}}get valueStateTypeMappings(){return{Positive:Yo.i18nBundle.getText(d3),Information:Yo.i18nBundle.getText(l3),Negative:Yo.i18nBundle.getText(n3),Critical:Yo.i18nBundle.getText(s3)}}get ariaValueStateHiddenText(){if(!this.hasValueState)return;const e=this.valueStateTypeMappings[this.valueState];return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:this.valueStateMessage.length?`${e} ${this.valueStateMessage.map(t=>t.textContent).join(" ")}`:e}get inputTitle(){return Yo.i18nBundle.getText(bI)}get valueHelpTitle(){return Yo.i18nBundle.getText(xI)}get clearIconTitle(){return Yo.i18nBundle.getText(yI)}get resolvedPlaceholder(){const e=Yo.i18nBundle.getText(mI),t=Yo.i18nBundle.getText(fI);return this.placeholder??(this.multiple?t:e)}get valueStateTextMappings(){return{Positive:Yo.i18nBundle.getText(x_),Information:Yo.i18nBundle.getText(C5),Negative:Yo.i18nBundle.getText(f_),Critical:Yo.i18nBundle.getText(b_)}}get valueStateText(){return this.valueStateTextMappings[this.valueState]}get hasValueState(){return this.valueState!==fe.None}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueState}get shouldOpenValueStateMessagePopover(){var e;return this.focused&&this.hasValueState&&!this.hideInput&&!((e=this._tokenizer)!=null&&e.open)}get _valueStateMessageInputIcon(){const e={Negative:"error",Critical:"alert",Positive:"sys-enter-2",Information:"information"};return this.valueState!==fe.None?e[this.valueState]:""}};Dt([d()],ct.prototype,"accept",void 0);Dt([d({type:Boolean})],ct.prototype,"hideInput",void 0);Dt([d({type:Boolean})],ct.prototype,"disabled",void 0);Dt([d({type:Boolean})],ct.prototype,"multiple",void 0);Dt([d()],ct.prototype,"name",void 0);Dt([d()],ct.prototype,"placeholder",void 0);Dt([d()],ct.prototype,"value",void 0);Dt([d({type:Number})],ct.prototype,"maxFileSize",void 0);Dt([d()],ct.prototype,"valueState",void 0);Dt([d({type:Boolean})],ct.prototype,"required",void 0);Dt([d()],ct.prototype,"accessibleName",void 0);Dt([d()],ct.prototype,"accessibleNameRef",void 0);Dt([d()],ct.prototype,"accessibleDescription",void 0);Dt([d()],ct.prototype,"accessibleDescriptionRef",void 0);Dt([d({type:Boolean})],ct.prototype,"focused",void 0);Dt([D({type:HTMLElement,default:!0})],ct.prototype,"content",void 0);Dt([D()],ct.prototype,"valueStateMessage",void 0);Dt([H_(".ui5-file-uploader-form")],ct.prototype,"_form",void 0);Dt([H_("input[type=file]")],ct.prototype,"_input",void 0);Dt([H_("[ui5-tokenizer]")],ct.prototype,"_tokenizer",void 0);Dt([H_(".ui5-valuestatemessage-popover")],ct.prototype,"_messagePopover",void 0);Dt([d({type:Array,noAttribute:!0})],ct.prototype,"_selectedFilesNames",void 0);Dt([d({type:Boolean,noAttribute:!0})],ct.prototype,"_tokenizerOpen",void 0);Dt([V("@ui5/webcomponents")],ct,"i18nBundle",void 0);ct=Yo=Dt([T({tag:"ui5-file-uploader",languageAware:!0,formAssociated:!0,renderer:A,styles:[Fne,u2,V9],template:One}),x("change",{bubbles:!0}),x("file-size-exceed",{bubbles:!0})],ct);ct.define();const $ne=ct;function Hne(){const o="udex-upload";return g("div",{className:`${o}__wrapper`,"onui5-request-delete":this.handleRemoveFile,children:[this.uploadTitle&&l("h1",{className:`${o}__title`,children:this.uploadTitle}),this.additionalText&&l("p",{className:`${o}__additional-text`,children:this.additionalText}),g("div",{className:`${o}__upload-button-container`,children:[l($ne,{id:"fileUploader",disabled:this.disabled,accept:this.accept,multiple:this.multiple,onChange:this.handleUploadFile,onClick:this.handleUploadClick,"hide-input":!0,children:l(me,{"aria-label":this.uploadButtonAriaLabel,disabled:this.disabled,"aria-disabled":this.disabled,design:ve.Secondary,size:this._buttonSize,children:this.uploadButtonText})}),this.showSupportingText&&l("p",{className:this.supportingTextClasses,children:this.supportingText})]}),l("div",{className:`${o}__files-wrapper`,children:l(gd,{mode:Ye.MultiSelect,"aria-busy":this.listBusy,"onui5-selection-change":this.handleSelectionChange,children:l("slot",{})})})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@sapudex/web-components","sap_horizon",async()=>j,"host");const Xne=`:host{font-family:var(--sapFontFamily, sans-serif)}.udex-upload__title{line-height:var(--udexTypographyHeadingLineHeight);font-size:var(--udexTypographyHeadingRegularXXSFontSize);font-weight:var(--udexTypographyFontWeightMedium);margin:0;padding:0}.udex-upload__additional-text{padding:0;margin:0;margin-top:var(--udexSpacer8);margin-bottom:var(--udexSpacer24);color:var(--udexColorGrey7);font-size:var(--udexTypographyBodyXXSFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight)}.udex-upload__files-wrapper{display:flex;flex-direction:column;margin-top:var(--udexSpacer24, 24px)}.udex-upload__upload-button-container{display:flex;gap:var(--udexSpacer16);align-items:center}.udex-upload__upload-button-container #fileUploader{flex-shrink:0}#fileUploader{--_ui5_input_focus_offset: 2px;--_ui5_input_focus_border_radius: 6px}.udex-upload__upload-button input{display:none}.udex-upload__supporting-error-text,.udex-upload__supporting-text{padding:0;margin:0;font-size:var(--udexTypographyBodyXSFontSize);font-weight:var(--udexTypographyFontWeightRegular);line-height:var(--udexTypographyBodyLineHeight)}.udex-upload__supporting-text{color:var(--sapNeutralTextColor, var(--udexColorGrey7))}.udex-upload__supporting-error-text{color:var(--sapNegativeColor, var(--udexColorRed7))}:host([required]) .udex-upload__title:after{content:"*";color:var(--udexColorGrey7);line-height:var(--udexTypographyHeadingLineHeight);font-size:var(--udexTypographyHeadingRegularXXSFontSize);font-weight:var(--udexTypographyFontWeightMedium)}@media (width < 980px){.udex-upload__title,:host([required]) .udex-upload__title:after{line-height:var(--udexTypographyHeadingLineHeight);font-size:var(--udexTypographyHeadingRegularXXXSFontSize);font-weight:var(--udexTypographyFontWeightMedium)}}
|
|
854
854
|
`;var vr=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r},h0;const yx=o=>o/1024/1024;let Ti=h0=class extends z{constructor(){super(),this.required=!1,this.disabled=!1,this._filesFull=!1,this._buttonSize=ye.Large,this._uploadedFiles=[],this._handleResizeBound=this._handleResize.bind(this)}onEnterDOM(){Q.register(this,this._handleResizeBound)}onExitDOM(){Q.deregister(this,this._handleResizeBound)}onAfterRendering(){this._filesFull&&(this._filesFull=this.fileNumberExceeded)}handleUploadClick(e){this._filesFull=this.fileNumberExceeded,this.fileNumberExceeded&&e.preventDefault()}handleUploadFile(e){const{files:t}=e.target;(!(t!=null&&t.length)||this.fileNumberExceeded)&&e.stopPropagation();const i=this._getDuplicateFiles(t);if(i.length){e.stopPropagation(),this.fireDecoratorEvent("file-duplicate",{files:i}),this.fileUploader.value="";return}const a=Array.from(t).map(n=>({fileName:n.name,fileSize:n.size}));this._uploadedFiles=[...this._uploadedFiles,...a];const r=this.maxFileSize?this._getExceededFiles(t):[];if(r.length){e.stopPropagation(),this.fireDecoratorEvent("file-size-exceed",{files:r});return}this.fireEvent("change",{files:t})}handleSelectionChange(e){const t=e.detail.listItems;this.fireDecoratorEvent("file-change",{files:t}),this.fileUploader.value=""}_handleResize(){this._buttonSize=io.isAtMost("S")?ye.Medium:ye.Large}handleRemoveFile(e){const t=e.target;this.fireDecoratorEvent("file-delete",{file:t}),this._uploadedFiles=this._uploadedFiles.filter(i=>i.fileName!==t.fileName),this.fileUploader.value=""}_isDuplicateFile(e){return this._uploadedFiles.some(t=>t.fileName===e)}_getExceededFiles(e){const t=Array.from(e),i=[];for(let a=0;a<t.length;a++){const r=yx(t[a].size);r>this.maxFileSize&&i.push({fileName:t[a].name,fileSize:r})}return i}_getDuplicateFiles(e){const t=Array.from(e),i=[];for(let a=0;a<t.length;a++){const r=yx(t[a].size),{name:n}=t[a],s={fileSize:r,fileName:n};this._isDuplicateFile(s.fileName)&&i.push(s)}return i}get showSupportingText(){return this.disabled||this._filesFull}get supportingTextClasses(){return this.disabled&&this.supportingText?"udex-upload__supporting-text":"udex-upload__supporting-error-text"}get fileUploader(){return this.shadowRoot.querySelector("[ui5-file-uploader]").shadowRoot.querySelector("input")}get uploadButtonAriaLabel(){return B(h0,CD)}get listBusy(){return!this.items.length}get fileNumberExceeded(){return!this.multiple&&this.items.length>=1}};vr([d({type:String})],Ti.prototype,"uploadTitle",void 0);vr([d({type:String})],Ti.prototype,"supportingText",void 0);vr([d({type:Boolean})],Ti.prototype,"required",void 0);vr([d({type:Boolean})],Ti.prototype,"disabled",void 0);vr([d({type:Boolean})],Ti.prototype,"multiple",void 0);vr([d({type:String})],Ti.prototype,"accept",void 0);vr([d({type:Number})],Ti.prototype,"maxFileSize",void 0);vr([d({type:String})],Ti.prototype,"additionalText",void 0);vr([d({type:String})],Ti.prototype,"uploadButtonText",void 0);vr([d({type:Boolean})],Ti.prototype,"_filesFull",void 0);vr([D({type:HTMLElement,default:!0})],Ti.prototype,"items",void 0);vr([d({type:String})],Ti.prototype,"_buttonSize",void 0);vr([V("@sapudex/web-components")],Ti,"i18nBundle",void 0);Ti=h0=vr([T({tag:"udex-upload",renderer:A,styles:Xne,template:Hne,dependencies:[yne]}),x("file-size-exceed",{bubbles:!0}),x("file-delete",{bubbles:!0}),x("file-change",{bubbles:!0}),x("file-duplicate",{bubbles:!0}),x("change",{bubbles:!0})],Ti);Ti.define();var Vl=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let fn=class extends z{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.branching=!1}};Vl([d()],fn.prototype,"titleText",void 0);Vl([d()],fn.prototype,"subtitleText",void 0);Vl([d()],fn.prototype,"icon",void 0);Vl([d({type:Boolean})],fn.prototype,"disabled",void 0);Vl([d({type:Boolean})],fn.prototype,"selected",void 0);Vl([d({type:Boolean})],fn.prototype,"branching",void 0);fn=Vl([T("ui5-wizard-step")],fn);fn.define();const Une=fn;function jne(){return g("div",{class:"ui5-wiz-step-root",role:"listitem",tabIndex:this.effectiveTabIndex,"aria-current":this.accInfo.ariaCurrent,"aria-setsize":this.accInfo.ariaSetsize,"aria-posinset":this.accInfo.ariaPosinset,"aria-label":this.accInfo.ariaLabel,onClick:this._onclick,onKeyUp:this._onkeyup,onFocusIn:this._onfocusin,children:[g("div",{class:"ui5-wiz-step-main",children:[l("div",{class:"ui5-wiz-step-icon-circle",children:this.icon?l(R,{class:"ui5-wiz-step-icon",mode:"Decorative",name:this.icon}):l("span",{class:"ui5-wiz-step-number",children:this.number})}),this.hasTexts&&g("div",{class:"ui5-wiz-step-texts",children:[l("div",{class:"ui5-wiz-step-title-text",children:this.titleText}),this.subtitleText&&l("div",{class:"ui5-wiz-step-subtitle-text",children:this.subtitleText})]})]}),!this.hideSeparator&&l("div",{class:"ui5-wiz-step-hr"})]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents-fiori","sap_horizon",async()=>Fa,"host");const rC=`:host(:not([hidden])){min-width:1px}:host([selected]:not([disabled])) .ui5-wiz-step-icon-circle{background:var(--_ui5_wiz_tab_selected_bg)}:host([selected]:not([disabled])) .ui5-wiz-step-title-text{color:var(--sapContent_Selected_ForegroundColor)}:host([selected]:not([disabled])) .ui5-wiz-step-icon-circle:after{content:"";position:absolute;border-bottom:.25rem solid var(--_ui5_wiz_tab_selection_line);border-top-left-radius:.1875rem;border-top-right-radius:.1875rem;left:0;right:0;bottom:-1rem}:host([selected]:not([disabled])) .ui5-wiz-step-icon{color:var(--sapContent_ContrastIconColor)}:host([selected]:not([disabled])) .ui5-wiz-step-number{color:var(--sapContent_ContrastTextColor)}:host([disabled]) .ui5-wiz-step-icon-circle{border-color:var(--sapList_BorderColor);background:var(--sapObjectHeader_Background)}:host([disabled]) .ui5-wiz-step-title-text{color:var(--sapContent_LabelColor)}:host([disabled]) .ui5-wiz-step-icon{color:var(--sapContent_LabelColor)}:host([disabled]) .ui5-wiz-step-number{color:var(--sapContent_LabelColor)}.ui5-wiz-step-root{display:flex;align-items:center;flex-direction:row;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);outline:none}.ui5-wiz-step-main{max-width:100%;text-align:center;white-space:nowrap}:host(:not([disabled])) .ui5-wiz-step-main{cursor:pointer}:host([desktop]) .ui5-wiz-step-root:focus .ui5-wiz-step-main,.ui5-wiz-step-root:focus-visible .ui5-wiz-step-main{outline:var(--_ui5_wiz_tab_focus_outline);outline-offset:1px;border-radius:var(--_ui5_wiz_tab_focus_border_radius)}.ui5-wiz-step-icon-circle{display:inline-flex;box-sizing:border-box;vertical-align:middle;justify-content:center;align-items:center;text-align:center;width:2rem;height:2rem;margin:0 .1875rem;line-height:1.875rem;border-radius:50%;background:var(--sapObjectHeader_Background);border:var(--_ui5_wiz_tab_border);position:relative}.ui5-wiz-step-icon{width:1rem;height:1rem;color:var(--_ui5_wiz_tab_icon_color);pointer-events:none}.ui5-wiz-step-number{color:var(--_ui5_wiz_tab_icon_color)}.ui5-wiz-step-texts{display:inline-block;max-width:calc(100% - 3rem);vertical-align:middle;text-align:left;padding:0 .5rem 0 .1875rem;max-height:3rem;overflow:hidden;background:var(--sapObjectHeader_Background)}.ui5-wiz-step-title-text,.ui5-wiz-step-subtitle-text{color:var(--_ui5_wiz_tab_title_color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ui5-wiz-step-title-text{font-family:var(--_ui5_wiz_tab_title_font_family);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host([subtitle-text]:not([subtitle-text=""])) .ui5-wiz-step-title-text{-webkit-line-clamp:1}:host([data-ui5-wizard-expanded-tab-prev="true"]) .ui5-wiz-step-title-text,:host([data-ui5-wizard-expanded-tab-prev="true"]) .ui5-wiz-step-subtitle-text,:host([data-ui5-wizard-expanded-tab="false"]) .ui5-wiz-step-texts,:host([data-ui5-wizard-expanded-tab="false"]) .ui5-wiz-step-title-text,:host([data-ui5-wizard-expanded-tab="false"]) .ui5-wiz-step-subtitle-text{display:none}.ui5-wiz-step-subtitle-text{margin-top:.125rem;font-family:var(--sapFontFamily);color:var(--sapContent_LabelColor);font-size:var(--sapFontSmallSize)}.ui5-wiz-step-hr{display:inline-block;border-bottom-color:var(--sapList_BorderColor);border-bottom-width:1px;border-bottom-style:solid;height:1px;flex-grow:1;margin-right:.25rem;min-width:.5rem}:host([active-separator]) .ui5-wiz-step-hr{border-bottom-color:var(--_ui5_wiz_tab_active_separator_color)}:host([branching-separator]) .ui5-wiz-step-hr{border-bottom-style:dashed}:host([data-ui5-wizard-expanded-tab="false"]) .ui5-wiz-step-root{display:inline;position:absolute;top:0}:host([data-ui5-wizard-after-current-tab="true"]) .ui5-wiz-step-root{right:0}:host([data-ui5-wizard-expanded-tab="false"]) .ui5-wiz-step-hr{display:none}
|
|
855
855
|
`;var da=function(o,e,t,i){var a=arguments.length,r=a<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,t,i);else for(var s=o.length-1;s>=0;s--)(n=o[s])&&(r=(a<3?n(r):a>3?n(e,t,r):n(e,t))||r);return a>3&&r&&Object.defineProperty(e,t,r),r};let Yi=class extends z{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.hideSeparator=!1,this.activeSeparator=!1,this.branchingSeparator=!1}onEnterDOM(){se()&&this.setAttribute("desktop","")}_onclick(){this.disabled||this.fireDecoratorEvent("selection-change-requested")}_onkeyup(e){this.disabled||(K(e)||ie(e))&&!ya(e)&&(e.preventDefault(),this.fireDecoratorEvent("selection-change-requested"))}get effectiveTabIndex(){if(!this.disabled)return this.selected||this.forcedTabIndex==="0"?0:-1}_onfocusin(){this.fireDecoratorEvent("focused")}get hasTexts(){return this.titleText||this.subtitleText}get accInfo(){return{ariaSetsize:this._wizardTabAccInfo&&this._wizardTabAccInfo.ariaSetsize,ariaPosinset:this._wizardTabAccInfo&&this._wizardTabAccInfo.ariaPosinset,ariaLabel:this._wizardTabAccInfo&&this._wizardTabAccInfo.ariaLabel,ariaCurrent:this.selected?"step":void 0}}};da([d()],Yi.prototype,"icon",void 0);da([d()],Yi.prototype,"titleText",void 0);da([d()],Yi.prototype,"subtitleText",void 0);da([d()],Yi.prototype,"number",void 0);da([d({type:Boolean})],Yi.prototype,"disabled",void 0);da([d({type:Boolean})],Yi.prototype,"selected",void 0);da([d({type:Boolean})],Yi.prototype,"hideSeparator",void 0);da([d({type:Boolean})],Yi.prototype,"activeSeparator",void 0);da([d({type:Boolean})],Yi.prototype,"branchingSeparator",void 0);da([d()],Yi.prototype,"forcedTabIndex",void 0);da([d({type:Object})],Yi.prototype,"_wizardTabAccInfo",void 0);Yi=da([T({tag:"ui5-wizard-tab",renderer:A,styles:rC,template:jne}),x("focused",{bubbles:!0}),x("selection-change-requested",{bubbles:!0})],Yi);Yi.define();const aC=Yi;function Vne(){return g(Rl,{horizontalAlign:"Center",placement:"Bottom","aria-label":this.actionSheetStepsText,class:{"ui5-wizard-responsive-popover":!0,"ui5-wizard-popover":!rt(),"ui5-wizard-dialog":rt()},contentOnlyOnDesktop:!0,preventFocusRestore:!0,_hideHeader:!0,children:[l("ul",{class:"ui5-wizard-responsive-popover-list",children:this._groupedTabs.map(o=>l("li",{children:l(Ft,{icon:o.icon,disabled:o.disabled,design:"Transparent","data-ui5-header-tab-ref-id":o.accInfo.ariaPosinset,onClick:this._onOverflowStepButtonClick,children:o.titleText})}))}),l("div",{slot:"footer",class:"ui5-responsive-popover-footer",children:l(Ft,{design:"Transparent",onClick:this._closeRespPopover,children:this._dialogCancelButtonText})})]})}function Gne(){return g(P,{children:[g("div",{class:"ui5-wiz-root","aria-label":this.ariaLabelText,role:"region",children:[l("nav",{class:"ui5-wiz-nav",part:"navigator","aria-label":this.navAriaLabelText,tabIndex:-1,children:l("div",{class:"ui5-wiz-nav-list",role:"list","aria-label":this.listAriaLabelText,"aria-describedby":"wiz-nav-descr","aria-controls":`${this._id}-wiz-content`,children:this._stepsInHeader.map(o=>l(aC,{titleText:o.titleText,subtitleText:o.subtitleText,icon:o.icon,number:String(o.number),disabled:o.disabled,selected:o.selected,hideSeparator:o.hideSeparator,activeSeparator:o.activeSeparator,branchingSeparator:o.branchingSeparator,_wizardTabAccInfo:o.accInfo,"data-ui5-content-ref-id":o.refStepId,"data-ui5-index":o.pos,onSelectionChangeRequested:this.onSelectionChangeRequested,onFocused:this.onStepInHeaderFocused,onClick:this._onGroupedTabClick,style:o.styles}))})}),l("span",{id:"wiz-nav-descr",class:"ui5-hidden-text","aria-hidden":"true",children:this.navAriaDescribedbyText}),l("div",{id:`${this._id}-wiz-content`,class:"ui5-wiz-content",onScroll:this.onScroll,children:this._steps.map(o=>l("div",{class:{"ui5-wiz-content-item":!0,"ui5-wiz-content-item-stretch":o.stretch,"ui5-wiz-content-item-selected":o.selected},hidden:o.disabled,part:"step-content","aria-label":o.stepContentAriaLabel,role:"region","data-ui5-content-item-ref-id":o._id,children:l("div",{class:"ui5-wiz-content-item-wrapper",children:l("slot",{name:o._individualSlot})})}))})]}),Vne.call(this)]})}m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents-fiori","sap_horizon",async()=>Fa,"host");const nC=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block;height:100%;width:100%;overflow:auto;container-type:inline-size}@container (max-width: 599px){:host::part(navigator),:host::part(step-content){padding-left:1rem;padding-right:1rem}}@container (min-width: 600px) and (max-width: 1023px){:host::part(navigator),:host::part(step-content){padding-left:2rem;padding-right:2rem}}@container (min-width: 1024px) and (max-width: 1439px){:host::part(navigator),:host::part(step-content){padding-left:2rem;padding-right:2rem}}@container (min-width: 1440px){:host::part(navigator),:host::part(step-content){padding-left:3rem;padding-right:3rem}}.ui5-wiz-root{height:100%;width:100%;position:relative}.ui5-wiz-content{position:relative;overflow:auto;height:calc(100% - 4rem);box-sizing:border-box;background:var(--sapBackgroundColor)}.ui5-wiz-content-item{display:block;box-sizing:border-box;padding-top:1rem;padding-bottom:1rem}:host([content-layout="SingleStep"]) .ui5-wiz-content-item:not(.ui5-wiz-content-item-selected){display:none}.ui5-wiz-content-item-wrapper{display:block;padding:var(--_ui5_wiz_content_item_wrapper_padding);background-color:var(--_ui5_wiz_content_item_wrapper_bg);border-radius:var(--sapElement_BorderCornerRadius)}.ui5-wiz-content-item[hidden]{display:none}.ui5-wiz-content-item.ui5-wiz-content-item-stretch{min-height:100%}[ui5-wizard-tab][data-ui5-wizard-expanded-tab=true]+[ui5-wizard-tab][data-ui5-wizard-expanded-tab=false]{width:2rem;padding-left:.5rem}[ui5-wizard-tab][data-ui5-wizard-expanded-tab=false]{width:.25rem;padding:0}.ui5-wiz-nav-list{display:table;table-layout:fixed;position:relative;list-style:none;margin:0;box-sizing:border-box;width:100%;height:2rem;padding:0}[ui5-wizard-tab]{display:table-cell;position:relative}.ui5-wiz-nav{box-sizing:border-box;height:4rem;padding-top:1rem;padding-bottom:1rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--sapObjectHeader_Background);font-size:.875rem;box-shadow:var(--sapContent_HeaderShadow);outline:none;display:flex;align-items:center;transform:scale(1)}[ui5-wizard-tab][data-ui5-wizard-expanded-tab=false]+[ui5-wizard-tab][data-ui5-wizard-expanded-tab=false]{width:.25rem}[ui5-wizard-tab][data-ui5-wizard-expanded-tab-prev=true],[ui5-wizard-tab][data-ui5-wizard-expanded-tab=false]+[ui5-wizard-tab][data-ui5-wizard-expanded-tab-prev=true]{width:2rem;padding-right:.75rem}
|
|
856
856
|
`;m("@ui5/webcomponents-theming","sap_horizon",async()=>I);m("@ui5/webcomponents-fiori","sap_horizon",async()=>Fa,"host");const Wne=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-wizard-responsive-popover{box-shadow:var(--sapContent_Shadow1)}.ui5-wizard-responsive-popover-list{list-style:none;margin:0;padding:0}.ui5-responsive-popover-footer{display:flex;justify-content:flex-end;padding:.25rem 0;width:100%}.ui5-wizard-popover .ui5-wizard-responsive-popover-list [ui5-button]{width:200px}.ui5-wizard-dialog .ui5-wizard-responsive-popover-list [ui5-button]{width:100%}
|